Add .gbs.conf needed to submit from tizen_ivi_genivi branch
[profile/ivi/gst-ffmpeg0.10.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for GStreamer FFMpeg 0.10.11.
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 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
238 $0: have one."
239   fi
240   exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258   { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267   return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275   set +e
276   as_fn_set_status $1
277   exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286   case $as_dir in #(
287   -*) as_dir=./$as_dir;;
288   esac
289   test -d "$as_dir" || eval $as_mkdir_p || {
290     as_dirs=
291     while :; do
292       case $as_dir in #(
293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294       *) as_qdir=$as_dir;;
295       esac
296       as_dirs="'$as_qdir' $as_dirs"
297       as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299          X"$as_dir" : 'X\(//\)[^/]' \| \
300          X"$as_dir" : 'X\(//\)$' \| \
301          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)[^/].*/{
308             s//\1/
309             q
310           }
311           /^X\(\/\/\)$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\).*/{
316             s//\1/
317             q
318           }
319           s/.*/./; q'`
320       test -d "$as_dir" && break
321     done
322     test -z "$as_dirs" || eval "mkdir $as_dirs"
323   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334   eval 'as_fn_append ()
335   {
336     eval $1+=\$2
337   }'
338 else
339   as_fn_append ()
340   {
341     eval $1=\$$1\$2
342   }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351   eval 'as_fn_arith ()
352   {
353     as_val=$(( $* ))
354   }'
355 else
356   as_fn_arith ()
357   {
358     as_val=`expr "$@" || test $? -eq 1`
359   }
360 fi # as_fn_arith
361
362
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
368 as_fn_error ()
369 {
370   as_status=$1; test $as_status -eq 0 && as_status=1
371   if test "$4"; then
372     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374   fi
375   $as_echo "$as_me: error: $2" >&2
376   as_fn_exit $as_status
377 } # as_fn_error
378
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
381   as_expr=expr
382 else
383   as_expr=false
384 fi
385
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387   as_basename=basename
388 else
389   as_basename=false
390 fi
391
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393   as_dirname=dirname
394 else
395   as_dirname=false
396 fi
397
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400          X"$0" : 'X\(//\)$' \| \
401          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
403     sed '/^.*\/\([^/][^/]*\)\/*$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\/\)$/{
408             s//\1/
409             q
410           }
411           /^X\/\(\/\).*/{
412             s//\1/
413             q
414           }
415           s/.*/./; q'`
416
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
430   sed -n '
431     p
432     /[$]LINENO/=
433   ' <$as_myself |
434     sed '
435       s/[$]LINENO.*/&-/
436       t lineno
437       b
438       :lineno
439       N
440       :loop
441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442       t loop
443       s/-\n.*//
444     ' >$as_me.lineno &&
445   chmod +x "$as_me.lineno" ||
446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448   # Don't try to exec as it changes $[0], causing all sort of problems
449   # (the dirname of $[0] is not the place where we might find the
450   # original and so on.  Autoconf is especially sensitive to this).
451   . "./$as_me.lineno"
452   # Exit status is that of the last command.
453   exit
454 }
455
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
458 -n*)
459   case `echo 'xy\c'` in
460   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
461   xy)  ECHO_C='\c';;
462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
463        ECHO_T=' ';;
464   esac;;
465 *)
466   ECHO_N='-n';;
467 esac
468
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471   rm -f conf$$.dir/conf$$.file
472 else
473   rm -f conf$$.dir
474   mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477   if ln -s conf$$.file conf$$ 2>/dev/null; then
478     as_ln_s='ln -s'
479     # ... but there are two gotchas:
480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482     # In both cases, we have to default to `cp -p'.
483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484       as_ln_s='cp -p'
485   elif ln conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s=ln
487   else
488     as_ln_s='cp -p'
489   fi
490 else
491   as_ln_s='cp -p'
492 fi
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
495
496 if mkdir -p . 2>/dev/null; then
497   as_mkdir_p='mkdir -p "$as_dir"'
498 else
499   test -d ./-p && rmdir ./-p
500   as_mkdir_p=false
501 fi
502
503 if test -x / >/dev/null 2>&1; then
504   as_test_x='test -x'
505 else
506   if ls -dL / >/dev/null 2>&1; then
507     as_ls_L_option=L
508   else
509     as_ls_L_option=
510   fi
511   as_test_x='
512     eval sh -c '\''
513       if test -d "$1"; then
514         test -d "$1/.";
515       else
516         case $1 in #(
517         -*)set "./$1";;
518         esac;
519         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520         ???[sx]*):;;*)false;;esac;fi
521     '\'' sh
522   '
523 fi
524 as_executable_p=$as_test_x
525
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
536
537 case X$lt_ECHO in
538 X*--fallback-echo)
539   # Remove one level of quotation (which was required for Make).
540   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541   ;;
542 esac
543
544 ECHO=${lt_ECHO-echo}
545 if test "X$1" = X--no-reexec; then
546   # Discard the --no-reexec flag, and continue.
547   shift
548 elif test "X$1" = X--fallback-echo; then
549   # Avoid inline document here, it may be left over
550   :
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552   # Yippee, $ECHO works!
553   :
554 else
555   # Restart under the correct shell.
556   exec $SHELL "$0" --no-reexec ${1+"$@"}
557 fi
558
559 if test "X$1" = X--fallback-echo; then
560   # used as fallback echo
561   shift
562   cat <<_LT_EOF
563 $*
564 _LT_EOF
565   exit 0
566 fi
567
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 # if CDPATH is set.
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
572 if test -z "$lt_ECHO"; then
573   if test "X${echo_test_string+set}" != Xset; then
574     # find a string as large as possible, as long as the shell can cope with it
575     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579       then
580         break
581       fi
582     done
583   fi
584
585   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587      test "X$echo_testing_string" = "X$echo_test_string"; then
588     :
589   else
590     # The Solaris, AIX, and Digital Unix default echo programs unquote
591     # backslashes.  This makes it impossible to quote backslashes using
592     #   echo "$something" | sed 's/\\/\\\\/g'
593     #
594     # So, first we look for a working echo in the user's PATH.
595
596     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597     for dir in $PATH /usr/ucb; do
598       IFS="$lt_save_ifs"
599       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602          test "X$echo_testing_string" = "X$echo_test_string"; then
603         ECHO="$dir/echo"
604         break
605       fi
606     done
607     IFS="$lt_save_ifs"
608
609     if test "X$ECHO" = Xecho; then
610       # We didn't find a better echo, so look for alternatives.
611       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613          test "X$echo_testing_string" = "X$echo_test_string"; then
614         # This shell has a builtin print -r that does the trick.
615         ECHO='print -r'
616       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617            test "X$CONFIG_SHELL" != X/bin/ksh; then
618         # If we have ksh, try running configure again with it.
619         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620         export ORIGINAL_CONFIG_SHELL
621         CONFIG_SHELL=/bin/ksh
622         export CONFIG_SHELL
623         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624       else
625         # Try using printf.
626         ECHO='printf %s\n'
627         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629            test "X$echo_testing_string" = "X$echo_test_string"; then
630           # Cool, printf works
631           :
632         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633              test "X$echo_testing_string" = 'X\t' &&
634              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635              test "X$echo_testing_string" = "X$echo_test_string"; then
636           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637           export CONFIG_SHELL
638           SHELL="$CONFIG_SHELL"
639           export SHELL
640           ECHO="$CONFIG_SHELL $0 --fallback-echo"
641         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642              test "X$echo_testing_string" = 'X\t' &&
643              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644              test "X$echo_testing_string" = "X$echo_test_string"; then
645           ECHO="$CONFIG_SHELL $0 --fallback-echo"
646         else
647           # maybe with a smaller string...
648           prev=:
649
650           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652             then
653               break
654             fi
655             prev="$cmd"
656           done
657
658           if test "$prev" != 'sed 50q "$0"'; then
659             echo_test_string=`eval $prev`
660             export echo_test_string
661             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662           else
663             # Oops.  We lost completely, so just stick with echo.
664             ECHO=echo
665           fi
666         fi
667       fi
668     fi
669   fi
670 fi
671
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
674 lt_ECHO=$ECHO
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677 fi
678
679
680
681
682 test -n "$DJDIR" || exec 7<&0 </dev/null
683 exec 6>&1
684
685 # Name of the host.
686 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
690 #
691 # Initializations.
692 #
693 ac_default_prefix=/usr/local
694 ac_clean_files=
695 ac_config_libobj_dir=.
696 LIBOBJS=
697 cross_compiling=no
698 subdirs=
699 MFLAGS=
700 MAKEFLAGS=
701
702 # Identity of this package.
703 PACKAGE_NAME='GStreamer FFMpeg'
704 PACKAGE_TARNAME='gst-ffmpeg'
705 PACKAGE_VERSION='0.10.11'
706 PACKAGE_STRING='GStreamer FFMpeg 0.10.11'
707 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
708 PACKAGE_URL=''
709
710 ac_unique_file="ext/ffmpeg/gstffmpeg.c"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
713 #include <stdio.h>
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
716 #endif
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
719 #endif
720 #ifdef STDC_HEADERS
721 # include <stdlib.h>
722 # include <stddef.h>
723 #else
724 # ifdef HAVE_STDLIB_H
725 #  include <stdlib.h>
726 # endif
727 #endif
728 #ifdef HAVE_STRING_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #  include <memory.h>
731 # endif
732 # include <string.h>
733 #endif
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
736 #endif
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
739 #endif
740 #ifdef HAVE_STDINT_H
741 # include <stdint.h>
742 #endif
743 #ifdef HAVE_UNISTD_H
744 # include <unistd.h>
745 #endif"
746
747 ac_subst_vars='am__EXEEXT_FALSE
748 am__EXEEXT_TRUE
749 LTLIBOBJS
750 LIBOBJS
751 HAVE_FFMPEG_UNINSTALLED_FALSE
752 HAVE_FFMPEG_UNINSTALLED_TRUE
753 WIN32_LIBS
754 FFMPEG_SUBDIRS
755 FFMPEG_EXTERNALS_REVISION
756 FFMPEG_REVISION
757 FFMPEG_SVN
758 FFMPEG_CO_DIR
759 SWSCALE_LIBS
760 SWSCALE_CFLAGS
761 POSTPROC_LIBS
762 POSTPROC_CFLAGS
763 FFMPEG_LIBS
764 FFMPEG_CFLAGS
765 HAVE_BZ2_FALSE
766 HAVE_BZ2_TRUE
767 HAVE_BZ2
768 DARWIN_LDFLAGS
769 GST_PLUGIN_LDFLAGS
770 GST_ALL_LDFLAGS
771 GST_OPTION_CFLAGS
772 DEPRECATED_CFLAGS
773 PROFILE_CFLAGS
774 GST_LEVEL_DEFAULT
775 ERROR_CFLAGS
776 WARNING_CFLAGS
777 plugindir
778 PLUGINDIR
779 HAVE_ORC_FALSE
780 HAVE_ORC_TRUE
781 ORCC
782 ORC_LIBS
783 ORC_CFLAGS
784 HAVE_GST_CHECK_FALSE
785 HAVE_GST_CHECK_TRUE
786 GST_CHECK_LIBS
787 GST_CHECK_CFLAGS
788 GSTPB_PLUGINS_DIR
789 GST_PLUGINS_BASE_LIBS
790 GST_PLUGINS_BASE_CFLAGS
791 GST_BASE_LIBS
792 GST_BASE_CFLAGS
793 GST_PLUGINS_DIR
794 GST_TOOLS_DIR
795 GST_LIBS
796 GST_CFLAGS
797 LIBM
798 ENABLE_PLUGIN_DOCS_FALSE
799 ENABLE_PLUGIN_DOCS_TRUE
800 pkgpyexecdir
801 pyexecdir
802 pkgpythondir
803 pythondir
804 PYTHON_PLATFORM
805 PYTHON_EXEC_PREFIX
806 PYTHON_PREFIX
807 PYTHON_VERSION
808 PYTHON
809 GTK_DOC_USE_LIBTOOL_FALSE
810 GTK_DOC_USE_LIBTOOL_TRUE
811 ENABLE_GTK_DOC_FALSE
812 ENABLE_GTK_DOC_TRUE
813 GTKDOC_CHECK
814 HTML_DIR
815 DOC_PS_FALSE
816 DOC_PS_TRUE
817 DOC_PDF_FALSE
818 DOC_PDF_TRUE
819 DOC_HTML_FALSE
820 DOC_HTML_TRUE
821 ENABLE_DOCBOOK_FALSE
822 ENABLE_DOCBOOK_TRUE
823 HAVE_EPSTOPDF
824 HAVE_PNMTOPS
825 HAVE_PNGTOPNM
826 HAVE_FIG2DEV
827 HAVE_XMLLINT
828 HAVE_DVIPS
829 CAT_ENTRY_END
830 CAT_ENTRY_START
831 DOCBOOK_ROOT
832 XSLTPROC_FLAGS
833 XML_CATALOG
834 XSLTPROC
835 HAVE_PS2PDF
836 HAVE_JADETEX
837 HAVE_DOCBOOK2HTML
838 HAVE_DOCBOOK2PS
839 HAVE_VALGRIND_FALSE
840 HAVE_VALGRIND_TRUE
841 VALGRIND_PATH
842 HAVE_CPU_CRISV32_FALSE
843 HAVE_CPU_CRISV32_TRUE
844 HAVE_CPU_CRIS_FALSE
845 HAVE_CPU_CRIS_TRUE
846 HAVE_CPU_X86_64_FALSE
847 HAVE_CPU_X86_64_TRUE
848 HAVE_CPU_M68K_FALSE
849 HAVE_CPU_M68K_TRUE
850 HAVE_CPU_IA64_FALSE
851 HAVE_CPU_IA64_TRUE
852 HAVE_CPU_S390_FALSE
853 HAVE_CPU_S390_TRUE
854 HAVE_CPU_MIPS_FALSE
855 HAVE_CPU_MIPS_TRUE
856 HAVE_CPU_HPPA_FALSE
857 HAVE_CPU_HPPA_TRUE
858 HAVE_CPU_SPARC_FALSE
859 HAVE_CPU_SPARC_TRUE
860 HAVE_CPU_ARM_FALSE
861 HAVE_CPU_ARM_TRUE
862 HAVE_CPU_ALPHA_FALSE
863 HAVE_CPU_ALPHA_TRUE
864 HAVE_CPU_PPC64_FALSE
865 HAVE_CPU_PPC64_TRUE
866 HAVE_CPU_PPC_FALSE
867 HAVE_CPU_PPC_TRUE
868 HAVE_CPU_I386_FALSE
869 HAVE_CPU_I386_TRUE
870 VALGRIND_LIBS
871 VALGRIND_CFLAGS
872 PKG_CONFIG
873 GST_PACKAGE_ORIGIN
874 GST_PACKAGE_NAME
875 ACLOCAL_AMFLAGS
876 CPP
877 OTOOL64
878 OTOOL
879 LIPO
880 NMEDIT
881 DSYMUTIL
882 lt_ECHO
883 RANLIB
884 AR
885 LN_S
886 NM
887 ac_ct_DUMPBIN
888 DUMPBIN
889 LD
890 FGREP
891 EGREP
892 GREP
893 SED
894 am__fastdepCC_FALSE
895 am__fastdepCC_TRUE
896 CCDEPMODE
897 AMDEPBACKSLASH
898 AMDEP_FALSE
899 AMDEP_TRUE
900 am__quote
901 am__include
902 DEPDIR
903 OBJEXT
904 EXEEXT
905 ac_ct_CC
906 CPPFLAGS
907 LDFLAGS
908 CFLAGS
909 CC
910 LIBTOOL
911 OBJDUMP
912 DLLTOOL
913 AS
914 GST_MAJORMINOR
915 AM_BACKSLASH
916 AM_DEFAULT_VERBOSITY
917 host_os
918 host_vendor
919 host_cpu
920 host
921 build_os
922 build_vendor
923 build_cpu
924 build
925 MAINT
926 MAINTAINER_MODE_FALSE
927 MAINTAINER_MODE_TRUE
928 PACKAGE_VERSION_RELEASE
929 PACKAGE_VERSION_NANO
930 PACKAGE_VERSION_MICRO
931 PACKAGE_VERSION_MINOR
932 PACKAGE_VERSION_MAJOR
933 am__untar
934 am__tar
935 AMTAR
936 am__leading_dot
937 SET_MAKE
938 AWK
939 mkdir_p
940 MKDIR_P
941 INSTALL_STRIP_PROGRAM
942 STRIP
943 install_sh
944 MAKEINFO
945 AUTOHEADER
946 AUTOMAKE
947 AUTOCONF
948 ACLOCAL
949 VERSION
950 PACKAGE
951 CYGPATH_W
952 am__isrc
953 INSTALL_DATA
954 INSTALL_SCRIPT
955 INSTALL_PROGRAM
956 target_alias
957 host_alias
958 build_alias
959 LIBS
960 ECHO_T
961 ECHO_N
962 ECHO_C
963 DEFS
964 mandir
965 localedir
966 libdir
967 psdir
968 pdfdir
969 dvidir
970 htmldir
971 infodir
972 docdir
973 oldincludedir
974 includedir
975 localstatedir
976 sharedstatedir
977 sysconfdir
978 datadir
979 datarootdir
980 libexecdir
981 sbindir
982 bindir
983 program_transform_name
984 prefix
985 exec_prefix
986 PACKAGE_URL
987 PACKAGE_BUGREPORT
988 PACKAGE_STRING
989 PACKAGE_VERSION
990 PACKAGE_TARNAME
991 PACKAGE_NAME
992 PATH_SEPARATOR
993 SHELL'
994 ac_subst_files=''
995 ac_user_opts='
996 enable_option_checking
997 enable_maintainer_mode
998 enable_silent_rules
999 enable_shared
1000 enable_static
1001 with_pic
1002 enable_fast_install
1003 enable_dependency_tracking
1004 with_gnu_ld
1005 enable_libtool_lock
1006 with_autoconf
1007 with_autoheader
1008 with_automake
1009 with_aclocal
1010 with_pkg_config_path
1011 with_package_name
1012 with_package_origin
1013 enable_valgrind
1014 enable_docbook
1015 with_html_dir
1016 enable_gtk_doc
1017 enable_orc
1018 with_system_ffmpeg
1019 with_ffmpeg_extra_configure
1020 '
1021       ac_precious_vars='build_alias
1022 host_alias
1023 target_alias
1024 CC
1025 CFLAGS
1026 LDFLAGS
1027 LIBS
1028 CPPFLAGS
1029 CPP
1030 PKG_CONFIG
1031 VALGRIND_CFLAGS
1032 VALGRIND_LIBS
1033 GST_CFLAGS
1034 GST_LIBS
1035 GST_BASE_CFLAGS
1036 GST_BASE_LIBS
1037 GST_PLUGINS_BASE_CFLAGS
1038 GST_PLUGINS_BASE_LIBS
1039 GST_CHECK_CFLAGS
1040 GST_CHECK_LIBS
1041 ORC_CFLAGS
1042 ORC_LIBS
1043 FFMPEG_CFLAGS
1044 FFMPEG_LIBS
1045 POSTPROC_CFLAGS
1046 POSTPROC_LIBS
1047 SWSCALE_CFLAGS
1048 SWSCALE_LIBS'
1049
1050
1051 # Initialize some variables set by options.
1052 ac_init_help=
1053 ac_init_version=false
1054 ac_unrecognized_opts=
1055 ac_unrecognized_sep=
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file=/dev/null
1059 exec_prefix=NONE
1060 no_create=
1061 no_recursion=
1062 prefix=NONE
1063 program_prefix=NONE
1064 program_suffix=NONE
1065 program_transform_name=s,x,x,
1066 silent=
1067 site=
1068 srcdir=
1069 verbose=
1070 x_includes=NONE
1071 x_libraries=NONE
1072
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir='${exec_prefix}/bin'
1080 sbindir='${exec_prefix}/sbin'
1081 libexecdir='${exec_prefix}/libexec'
1082 datarootdir='${prefix}/share'
1083 datadir='${datarootdir}'
1084 sysconfdir='${prefix}/etc'
1085 sharedstatedir='${prefix}/com'
1086 localstatedir='${prefix}/var'
1087 includedir='${prefix}/include'
1088 oldincludedir='/usr/include'
1089 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir='${datarootdir}/info'
1091 htmldir='${docdir}'
1092 dvidir='${docdir}'
1093 pdfdir='${docdir}'
1094 psdir='${docdir}'
1095 libdir='${exec_prefix}/lib'
1096 localedir='${datarootdir}/locale'
1097 mandir='${datarootdir}/man'
1098
1099 ac_prev=
1100 ac_dashdash=
1101 for ac_option
1102 do
1103   # If the previous option needs an argument, assign it.
1104   if test -n "$ac_prev"; then
1105     eval $ac_prev=\$ac_option
1106     ac_prev=
1107     continue
1108   fi
1109
1110   case $ac_option in
1111   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1112   *=)   ac_optarg= ;;
1113   *)    ac_optarg=yes ;;
1114   esac
1115
1116   # Accept the important Cygnus configure options, so we can diagnose typos.
1117
1118   case $ac_dashdash$ac_option in
1119   --)
1120     ac_dashdash=yes ;;
1121
1122   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1123     ac_prev=bindir ;;
1124   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1125     bindir=$ac_optarg ;;
1126
1127   -build | --build | --buil | --bui | --bu)
1128     ac_prev=build_alias ;;
1129   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1130     build_alias=$ac_optarg ;;
1131
1132   -cache-file | --cache-file | --cache-fil | --cache-fi \
1133   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1134     ac_prev=cache_file ;;
1135   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1136   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1137     cache_file=$ac_optarg ;;
1138
1139   --config-cache | -C)
1140     cache_file=config.cache ;;
1141
1142   -datadir | --datadir | --datadi | --datad)
1143     ac_prev=datadir ;;
1144   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1145     datadir=$ac_optarg ;;
1146
1147   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1148   | --dataroo | --dataro | --datar)
1149     ac_prev=datarootdir ;;
1150   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1151   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1152     datarootdir=$ac_optarg ;;
1153
1154   -disable-* | --disable-*)
1155     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1156     # Reject names that are not valid shell variable names.
1157     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158       as_fn_error $? "invalid feature name: $ac_useropt"
1159     ac_useropt_orig=$ac_useropt
1160     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161     case $ac_user_opts in
1162       *"
1163 "enable_$ac_useropt"
1164 "*) ;;
1165       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1166          ac_unrecognized_sep=', ';;
1167     esac
1168     eval enable_$ac_useropt=no ;;
1169
1170   -docdir | --docdir | --docdi | --doc | --do)
1171     ac_prev=docdir ;;
1172   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1173     docdir=$ac_optarg ;;
1174
1175   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1176     ac_prev=dvidir ;;
1177   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1178     dvidir=$ac_optarg ;;
1179
1180   -enable-* | --enable-*)
1181     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1182     # Reject names that are not valid shell variable names.
1183     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184       as_fn_error $? "invalid feature name: $ac_useropt"
1185     ac_useropt_orig=$ac_useropt
1186     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187     case $ac_user_opts in
1188       *"
1189 "enable_$ac_useropt"
1190 "*) ;;
1191       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1192          ac_unrecognized_sep=', ';;
1193     esac
1194     eval enable_$ac_useropt=\$ac_optarg ;;
1195
1196   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1197   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1198   | --exec | --exe | --ex)
1199     ac_prev=exec_prefix ;;
1200   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1201   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1202   | --exec=* | --exe=* | --ex=*)
1203     exec_prefix=$ac_optarg ;;
1204
1205   -gas | --gas | --ga | --g)
1206     # Obsolete; use --with-gas.
1207     with_gas=yes ;;
1208
1209   -help | --help | --hel | --he | -h)
1210     ac_init_help=long ;;
1211   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1212     ac_init_help=recursive ;;
1213   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1214     ac_init_help=short ;;
1215
1216   -host | --host | --hos | --ho)
1217     ac_prev=host_alias ;;
1218   -host=* | --host=* | --hos=* | --ho=*)
1219     host_alias=$ac_optarg ;;
1220
1221   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1222     ac_prev=htmldir ;;
1223   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1224   | --ht=*)
1225     htmldir=$ac_optarg ;;
1226
1227   -includedir | --includedir | --includedi | --included | --include \
1228   | --includ | --inclu | --incl | --inc)
1229     ac_prev=includedir ;;
1230   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1231   | --includ=* | --inclu=* | --incl=* | --inc=*)
1232     includedir=$ac_optarg ;;
1233
1234   -infodir | --infodir | --infodi | --infod | --info | --inf)
1235     ac_prev=infodir ;;
1236   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1237     infodir=$ac_optarg ;;
1238
1239   -libdir | --libdir | --libdi | --libd)
1240     ac_prev=libdir ;;
1241   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1242     libdir=$ac_optarg ;;
1243
1244   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1245   | --libexe | --libex | --libe)
1246     ac_prev=libexecdir ;;
1247   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1248   | --libexe=* | --libex=* | --libe=*)
1249     libexecdir=$ac_optarg ;;
1250
1251   -localedir | --localedir | --localedi | --localed | --locale)
1252     ac_prev=localedir ;;
1253   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1254     localedir=$ac_optarg ;;
1255
1256   -localstatedir | --localstatedir | --localstatedi | --localstated \
1257   | --localstate | --localstat | --localsta | --localst | --locals)
1258     ac_prev=localstatedir ;;
1259   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1260   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1261     localstatedir=$ac_optarg ;;
1262
1263   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1264     ac_prev=mandir ;;
1265   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1266     mandir=$ac_optarg ;;
1267
1268   -nfp | --nfp | --nf)
1269     # Obsolete; use --without-fp.
1270     with_fp=no ;;
1271
1272   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1273   | --no-cr | --no-c | -n)
1274     no_create=yes ;;
1275
1276   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1277   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1278     no_recursion=yes ;;
1279
1280   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1281   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1282   | --oldin | --oldi | --old | --ol | --o)
1283     ac_prev=oldincludedir ;;
1284   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1285   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1286   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1287     oldincludedir=$ac_optarg ;;
1288
1289   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1290     ac_prev=prefix ;;
1291   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1292     prefix=$ac_optarg ;;
1293
1294   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1295   | --program-pre | --program-pr | --program-p)
1296     ac_prev=program_prefix ;;
1297   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1298   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1299     program_prefix=$ac_optarg ;;
1300
1301   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1302   | --program-suf | --program-su | --program-s)
1303     ac_prev=program_suffix ;;
1304   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1305   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1306     program_suffix=$ac_optarg ;;
1307
1308   -program-transform-name | --program-transform-name \
1309   | --program-transform-nam | --program-transform-na \
1310   | --program-transform-n | --program-transform- \
1311   | --program-transform | --program-transfor \
1312   | --program-transfo | --program-transf \
1313   | --program-trans | --program-tran \
1314   | --progr-tra | --program-tr | --program-t)
1315     ac_prev=program_transform_name ;;
1316   -program-transform-name=* | --program-transform-name=* \
1317   | --program-transform-nam=* | --program-transform-na=* \
1318   | --program-transform-n=* | --program-transform-=* \
1319   | --program-transform=* | --program-transfor=* \
1320   | --program-transfo=* | --program-transf=* \
1321   | --program-trans=* | --program-tran=* \
1322   | --progr-tra=* | --program-tr=* | --program-t=*)
1323     program_transform_name=$ac_optarg ;;
1324
1325   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1326     ac_prev=pdfdir ;;
1327   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1328     pdfdir=$ac_optarg ;;
1329
1330   -psdir | --psdir | --psdi | --psd | --ps)
1331     ac_prev=psdir ;;
1332   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1333     psdir=$ac_optarg ;;
1334
1335   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1336   | -silent | --silent | --silen | --sile | --sil)
1337     silent=yes ;;
1338
1339   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1340     ac_prev=sbindir ;;
1341   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1342   | --sbi=* | --sb=*)
1343     sbindir=$ac_optarg ;;
1344
1345   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1346   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1347   | --sharedst | --shareds | --shared | --share | --shar \
1348   | --sha | --sh)
1349     ac_prev=sharedstatedir ;;
1350   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1351   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1352   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1353   | --sha=* | --sh=*)
1354     sharedstatedir=$ac_optarg ;;
1355
1356   -site | --site | --sit)
1357     ac_prev=site ;;
1358   -site=* | --site=* | --sit=*)
1359     site=$ac_optarg ;;
1360
1361   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1362     ac_prev=srcdir ;;
1363   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1364     srcdir=$ac_optarg ;;
1365
1366   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1367   | --syscon | --sysco | --sysc | --sys | --sy)
1368     ac_prev=sysconfdir ;;
1369   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1370   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1371     sysconfdir=$ac_optarg ;;
1372
1373   -target | --target | --targe | --targ | --tar | --ta | --t)
1374     ac_prev=target_alias ;;
1375   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1376     target_alias=$ac_optarg ;;
1377
1378   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1379     verbose=yes ;;
1380
1381   -version | --version | --versio | --versi | --vers | -V)
1382     ac_init_version=: ;;
1383
1384   -with-* | --with-*)
1385     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1386     # Reject names that are not valid shell variable names.
1387     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1388       as_fn_error $? "invalid package name: $ac_useropt"
1389     ac_useropt_orig=$ac_useropt
1390     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1391     case $ac_user_opts in
1392       *"
1393 "with_$ac_useropt"
1394 "*) ;;
1395       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1396          ac_unrecognized_sep=', ';;
1397     esac
1398     eval with_$ac_useropt=\$ac_optarg ;;
1399
1400   -without-* | --without-*)
1401     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1402     # Reject names that are not valid shell variable names.
1403     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1404       as_fn_error $? "invalid package name: $ac_useropt"
1405     ac_useropt_orig=$ac_useropt
1406     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1407     case $ac_user_opts in
1408       *"
1409 "with_$ac_useropt"
1410 "*) ;;
1411       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1412          ac_unrecognized_sep=', ';;
1413     esac
1414     eval with_$ac_useropt=no ;;
1415
1416   --x)
1417     # Obsolete; use --with-x.
1418     with_x=yes ;;
1419
1420   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1421   | --x-incl | --x-inc | --x-in | --x-i)
1422     ac_prev=x_includes ;;
1423   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1424   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1425     x_includes=$ac_optarg ;;
1426
1427   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1428   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1429     ac_prev=x_libraries ;;
1430   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1431   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1432     x_libraries=$ac_optarg ;;
1433
1434   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1435 Try \`$0 --help' for more information"
1436     ;;
1437
1438   *=*)
1439     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1440     # Reject names that are not valid shell variable names.
1441     case $ac_envvar in #(
1442       '' | [0-9]* | *[!_$as_cr_alnum]* )
1443       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1444     esac
1445     eval $ac_envvar=\$ac_optarg
1446     export $ac_envvar ;;
1447
1448   *)
1449     # FIXME: should be removed in autoconf 3.0.
1450     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1451     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1452       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1453     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1454     ;;
1455
1456   esac
1457 done
1458
1459 if test -n "$ac_prev"; then
1460   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1461   as_fn_error $? "missing argument to $ac_option"
1462 fi
1463
1464 if test -n "$ac_unrecognized_opts"; then
1465   case $enable_option_checking in
1466     no) ;;
1467     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1468     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1469   esac
1470 fi
1471
1472 # Check all directory arguments for consistency.
1473 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1474                 datadir sysconfdir sharedstatedir localstatedir includedir \
1475                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1476                 libdir localedir mandir
1477 do
1478   eval ac_val=\$$ac_var
1479   # Remove trailing slashes.
1480   case $ac_val in
1481     */ )
1482       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1483       eval $ac_var=\$ac_val;;
1484   esac
1485   # Be sure to have absolute directory names.
1486   case $ac_val in
1487     [\\/$]* | ?:[\\/]* )  continue;;
1488     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1489   esac
1490   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1491 done
1492
1493 # There might be people who depend on the old broken behavior: `$host'
1494 # used to hold the argument of --host etc.
1495 # FIXME: To remove some day.
1496 build=$build_alias
1497 host=$host_alias
1498 target=$target_alias
1499
1500 # FIXME: To remove some day.
1501 if test "x$host_alias" != x; then
1502   if test "x$build_alias" = x; then
1503     cross_compiling=maybe
1504     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1505     If a cross compiler is detected then cross compile mode will be used" >&2
1506   elif test "x$build_alias" != "x$host_alias"; then
1507     cross_compiling=yes
1508   fi
1509 fi
1510
1511 ac_tool_prefix=
1512 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1513
1514 test "$silent" = yes && exec 6>/dev/null
1515
1516
1517 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1518 ac_ls_di=`ls -di .` &&
1519 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1520   as_fn_error $? "working directory cannot be determined"
1521 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1522   as_fn_error $? "pwd does not report name of working directory"
1523
1524
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527   ac_srcdir_defaulted=yes
1528   # Try the directory containing this script, then the parent directory.
1529   ac_confdir=`$as_dirname -- "$as_myself" ||
1530 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531          X"$as_myself" : 'X\(//\)[^/]' \| \
1532          X"$as_myself" : 'X\(//\)$' \| \
1533          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1534 $as_echo X"$as_myself" |
1535     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1536             s//\1/
1537             q
1538           }
1539           /^X\(\/\/\)[^/].*/{
1540             s//\1/
1541             q
1542           }
1543           /^X\(\/\/\)$/{
1544             s//\1/
1545             q
1546           }
1547           /^X\(\/\).*/{
1548             s//\1/
1549             q
1550           }
1551           s/.*/./; q'`
1552   srcdir=$ac_confdir
1553   if test ! -r "$srcdir/$ac_unique_file"; then
1554     srcdir=..
1555   fi
1556 else
1557   ac_srcdir_defaulted=no
1558 fi
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1561   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1562 fi
1563 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1564 ac_abs_confdir=`(
1565         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1566         pwd)`
1567 # When building in place, set srcdir=.
1568 if test "$ac_abs_confdir" = "$ac_pwd"; then
1569   srcdir=.
1570 fi
1571 # Remove unnecessary trailing slashes from srcdir.
1572 # Double slashes in file names in object file debugging info
1573 # mess up M-x gdb in Emacs.
1574 case $srcdir in
1575 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1576 esac
1577 for ac_var in $ac_precious_vars; do
1578   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1579   eval ac_env_${ac_var}_value=\$${ac_var}
1580   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1581   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1582 done
1583
1584 #
1585 # Report the --help message.
1586 #
1587 if test "$ac_init_help" = "long"; then
1588   # Omit some internal or obsolete options to make the list less imposing.
1589   # This message is too long to be a string in the A/UX 3.1 sh.
1590   cat <<_ACEOF
1591 \`configure' configures GStreamer FFMpeg 0.10.11 to adapt to many kinds of systems.
1592
1593 Usage: $0 [OPTION]... [VAR=VALUE]...
1594
1595 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1596 VAR=VALUE.  See below for descriptions of some of the useful variables.
1597
1598 Defaults for the options are specified in brackets.
1599
1600 Configuration:
1601   -h, --help              display this help and exit
1602       --help=short        display options specific to this package
1603       --help=recursive    display the short help of all the included packages
1604   -V, --version           display version information and exit
1605   -q, --quiet, --silent   do not print \`checking ...' messages
1606       --cache-file=FILE   cache test results in FILE [disabled]
1607   -C, --config-cache      alias for \`--cache-file=config.cache'
1608   -n, --no-create         do not create output files
1609       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1610
1611 Installation directories:
1612   --prefix=PREFIX         install architecture-independent files in PREFIX
1613                           [$ac_default_prefix]
1614   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1615                           [PREFIX]
1616
1617 By default, \`make install' will install all the files in
1618 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1619 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1620 for instance \`--prefix=\$HOME'.
1621
1622 For better control, use the options below.
1623
1624 Fine tuning of the installation directories:
1625   --bindir=DIR            user executables [EPREFIX/bin]
1626   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1627   --libexecdir=DIR        program executables [EPREFIX/libexec]
1628   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1629   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1630   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1631   --libdir=DIR            object code libraries [EPREFIX/lib]
1632   --includedir=DIR        C header files [PREFIX/include]
1633   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1634   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1635   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1636   --infodir=DIR           info documentation [DATAROOTDIR/info]
1637   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1638   --mandir=DIR            man documentation [DATAROOTDIR/man]
1639   --docdir=DIR            documentation root [DATAROOTDIR/doc/gst-ffmpeg]
1640   --htmldir=DIR           html documentation [DOCDIR]
1641   --dvidir=DIR            dvi documentation [DOCDIR]
1642   --pdfdir=DIR            pdf documentation [DOCDIR]
1643   --psdir=DIR             ps documentation [DOCDIR]
1644 _ACEOF
1645
1646   cat <<\_ACEOF
1647
1648 Program names:
1649   --program-prefix=PREFIX            prepend PREFIX to installed program names
1650   --program-suffix=SUFFIX            append SUFFIX to installed program names
1651   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1652
1653 System types:
1654   --build=BUILD     configure for building on BUILD [guessed]
1655   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1656 _ACEOF
1657 fi
1658
1659 if test -n "$ac_init_help"; then
1660   case $ac_init_help in
1661      short | recursive ) echo "Configuration of GStreamer FFMpeg 0.10.11:";;
1662    esac
1663   cat <<\_ACEOF
1664
1665 Optional Features:
1666   --disable-option-checking  ignore unrecognized --enable/--with options
1667   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1668   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1669   --enable-maintainer-mode  enable make rules and dependencies not useful
1670                           (and sometimes confusing) to the casual installer
1671   --enable-silent-rules          less verbose build output (undo: `make V=1')
1672   --disable-silent-rules         verbose build output (undo: `make V=0')
1673   --enable-shared[=PKGS]  build shared libraries [default=yes]
1674   --enable-static[=PKGS]  build static libraries [default=yes]
1675   --enable-fast-install[=PKGS]
1676                           optimize for fast installation [default=yes]
1677   --disable-dependency-tracking  speeds up one-time build
1678   --enable-dependency-tracking   do not reject slow dependency extractors
1679   --disable-libtool-lock  avoid locking (might break parallel builds)
1680   --disable-valgrind      disable run-time valgrind detection
1681   --enable-docbook        use docbook to build documentation [default=no]
1682   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1683   --enable-orc            use Orc if installed
1684
1685 Optional Packages:
1686   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1687   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1688   --with-pic              try to use only PIC/non-PIC objects [default=use
1689                           both]
1690   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1691   --with-autoconf         use a different autoconf for regeneration of
1692                           Makefiles
1693   --with-autoheader       use a different autoheader for regeneration of
1694                           Makefiles
1695   --with-automake         use a different automake for regeneration of
1696                           Makefiles
1697   --with-aclocal          use a different aclocal for regeneration of
1698                           Makefiles
1699   --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
1700   --with-package-name     specify package name to use in plugins
1701   --with-package-origin   specify package origin URL to use in plugins
1702   --with-html-dir=PATH    path to installed docs
1703   --with-system-ffmpeg    use system FFmpeg libraries
1704   --with-ffmpeg-extra-configure="xxx"
1705                           extra configure options for internal ffmpeg
1706                           ./configure script
1707
1708 Some influential environment variables:
1709   CC          C compiler command
1710   CFLAGS      C compiler flags
1711   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1712               nonstandard directory <lib dir>
1713   LIBS        libraries to pass to the linker, e.g. -l<library>
1714   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1715               you have headers in a nonstandard directory <include dir>
1716   CPP         C preprocessor
1717   PKG_CONFIG  path to pkg-config utility
1718   VALGRIND_CFLAGS
1719               C compiler flags for VALGRIND, overriding pkg-config
1720   VALGRIND_LIBS
1721               linker flags for VALGRIND, overriding pkg-config
1722   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
1723   GST_LIBS    linker flags for GST, overriding pkg-config
1724   GST_BASE_CFLAGS
1725               C compiler flags for GST_BASE, overriding pkg-config
1726   GST_BASE_LIBS
1727               linker flags for GST_BASE, overriding pkg-config
1728   GST_PLUGINS_BASE_CFLAGS
1729               C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1730   GST_PLUGINS_BASE_LIBS
1731               linker flags for GST_PLUGINS_BASE, overriding pkg-config
1732   GST_CHECK_CFLAGS
1733               C compiler flags for GST_CHECK, overriding pkg-config
1734   GST_CHECK_LIBS
1735               linker flags for GST_CHECK, overriding pkg-config
1736   ORC_CFLAGS  C compiler flags for ORC, overriding pkg-config
1737   ORC_LIBS    linker flags for ORC, overriding pkg-config
1738   FFMPEG_CFLAGS
1739               C compiler flags for FFMPEG, overriding pkg-config
1740   FFMPEG_LIBS linker flags for FFMPEG, overriding pkg-config
1741   POSTPROC_CFLAGS
1742               C compiler flags for POSTPROC, overriding pkg-config
1743   POSTPROC_LIBS
1744               linker flags for POSTPROC, overriding pkg-config
1745   SWSCALE_CFLAGS
1746               C compiler flags for SWSCALE, overriding pkg-config
1747   SWSCALE_LIBS
1748               linker flags for SWSCALE, overriding pkg-config
1749
1750 Use these variables to override the choices made by `configure' or to help
1751 it to find libraries and programs with nonstandard names/locations.
1752
1753 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1754 _ACEOF
1755 ac_status=$?
1756 fi
1757
1758 if test "$ac_init_help" = "recursive"; then
1759   # If there are subdirs, report their specific --help.
1760   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1761     test -d "$ac_dir" ||
1762       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1763       continue
1764     ac_builddir=.
1765
1766 case "$ac_dir" in
1767 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1768 *)
1769   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1770   # A ".." for each directory in $ac_dir_suffix.
1771   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1772   case $ac_top_builddir_sub in
1773   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1774   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1775   esac ;;
1776 esac
1777 ac_abs_top_builddir=$ac_pwd
1778 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1779 # for backward compatibility:
1780 ac_top_builddir=$ac_top_build_prefix
1781
1782 case $srcdir in
1783   .)  # We are building in place.
1784     ac_srcdir=.
1785     ac_top_srcdir=$ac_top_builddir_sub
1786     ac_abs_top_srcdir=$ac_pwd ;;
1787   [\\/]* | ?:[\\/]* )  # Absolute name.
1788     ac_srcdir=$srcdir$ac_dir_suffix;
1789     ac_top_srcdir=$srcdir
1790     ac_abs_top_srcdir=$srcdir ;;
1791   *) # Relative name.
1792     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1793     ac_top_srcdir=$ac_top_build_prefix$srcdir
1794     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1795 esac
1796 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1797
1798     cd "$ac_dir" || { ac_status=$?; continue; }
1799     # Check for guested configure.
1800     if test -f "$ac_srcdir/configure.gnu"; then
1801       echo &&
1802       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1803     elif test -f "$ac_srcdir/configure"; then
1804       echo &&
1805       $SHELL "$ac_srcdir/configure" --help=recursive
1806     else
1807       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1808     fi || ac_status=$?
1809     cd "$ac_pwd" || { ac_status=$?; break; }
1810   done
1811 fi
1812
1813 test -n "$ac_init_help" && exit $ac_status
1814 if $ac_init_version; then
1815   cat <<\_ACEOF
1816 GStreamer FFMpeg configure 0.10.11
1817 generated by GNU Autoconf 2.67
1818
1819 Copyright (C) 2010 Free Software Foundation, Inc.
1820 This configure script is free software; the Free Software Foundation
1821 gives unlimited permission to copy, distribute and modify it.
1822 _ACEOF
1823   exit
1824 fi
1825
1826 ## ------------------------ ##
1827 ## Autoconf initialization. ##
1828 ## ------------------------ ##
1829
1830 # ac_fn_c_try_compile LINENO
1831 # --------------------------
1832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1833 ac_fn_c_try_compile ()
1834 {
1835   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836   rm -f conftest.$ac_objext
1837   if { { ac_try="$ac_compile"
1838 case "(($ac_try" in
1839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840   *) ac_try_echo=$ac_try;;
1841 esac
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844   (eval "$ac_compile") 2>conftest.err
1845   ac_status=$?
1846   if test -s conftest.err; then
1847     grep -v '^ *+' conftest.err >conftest.er1
1848     cat conftest.er1 >&5
1849     mv -f conftest.er1 conftest.err
1850   fi
1851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852   test $ac_status = 0; } && {
1853          test -z "$ac_c_werror_flag" ||
1854          test ! -s conftest.err
1855        } && test -s conftest.$ac_objext; then :
1856   ac_retval=0
1857 else
1858   $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1860
1861         ac_retval=1
1862 fi
1863   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864   as_fn_set_status $ac_retval
1865
1866 } # ac_fn_c_try_compile
1867
1868 # ac_fn_c_try_link LINENO
1869 # -----------------------
1870 # Try to link conftest.$ac_ext, and return whether this succeeded.
1871 ac_fn_c_try_link ()
1872 {
1873   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874   rm -f conftest.$ac_objext conftest$ac_exeext
1875   if { { ac_try="$ac_link"
1876 case "(($ac_try" in
1877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1878   *) ac_try_echo=$ac_try;;
1879 esac
1880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881 $as_echo "$ac_try_echo"; } >&5
1882   (eval "$ac_link") 2>conftest.err
1883   ac_status=$?
1884   if test -s conftest.err; then
1885     grep -v '^ *+' conftest.err >conftest.er1
1886     cat conftest.er1 >&5
1887     mv -f conftest.er1 conftest.err
1888   fi
1889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890   test $ac_status = 0; } && {
1891          test -z "$ac_c_werror_flag" ||
1892          test ! -s conftest.err
1893        } && test -s conftest$ac_exeext && {
1894          test "$cross_compiling" = yes ||
1895          $as_test_x conftest$ac_exeext
1896        }; then :
1897   ac_retval=0
1898 else
1899   $as_echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.$ac_ext >&5
1901
1902         ac_retval=1
1903 fi
1904   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1905   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1906   # interfere with the next link command; also delete a directory that is
1907   # left behind by Apple's compiler.  We do this before executing the actions.
1908   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910   as_fn_set_status $ac_retval
1911
1912 } # ac_fn_c_try_link
1913
1914 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1915 # -------------------------------------------------------
1916 # Tests whether HEADER exists and can be compiled using the include files in
1917 # INCLUDES, setting the cache variable VAR accordingly.
1918 ac_fn_c_check_header_compile ()
1919 {
1920   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1922 $as_echo_n "checking for $2... " >&6; }
1923 if eval "test \"\${$3+set}\"" = set; then :
1924   $as_echo_n "(cached) " >&6
1925 else
1926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h.  */
1928 $4
1929 #include <$2>
1930 _ACEOF
1931 if ac_fn_c_try_compile "$LINENO"; then :
1932   eval "$3=yes"
1933 else
1934   eval "$3=no"
1935 fi
1936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1937 fi
1938 eval ac_res=\$$3
1939                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940 $as_echo "$ac_res" >&6; }
1941   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942
1943 } # ac_fn_c_check_header_compile
1944
1945 # ac_fn_c_try_cpp LINENO
1946 # ----------------------
1947 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1948 ac_fn_c_try_cpp ()
1949 {
1950   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951   if { { ac_try="$ac_cpp conftest.$ac_ext"
1952 case "(($ac_try" in
1953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954   *) ac_try_echo=$ac_try;;
1955 esac
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1959   ac_status=$?
1960   if test -s conftest.err; then
1961     grep -v '^ *+' conftest.err >conftest.er1
1962     cat conftest.er1 >&5
1963     mv -f conftest.er1 conftest.err
1964   fi
1965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966   test $ac_status = 0; } > conftest.i && {
1967          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1968          test ! -s conftest.err
1969        }; then :
1970   ac_retval=0
1971 else
1972   $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1974
1975     ac_retval=1
1976 fi
1977   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978   as_fn_set_status $ac_retval
1979
1980 } # ac_fn_c_try_cpp
1981
1982 # ac_fn_c_try_run LINENO
1983 # ----------------------
1984 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1985 # that executables *can* be run.
1986 ac_fn_c_try_run ()
1987 {
1988   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989   if { { ac_try="$ac_link"
1990 case "(($ac_try" in
1991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992   *) ac_try_echo=$ac_try;;
1993 esac
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996   (eval "$ac_link") 2>&5
1997   ac_status=$?
1998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1999   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2000   { { case "(($ac_try" in
2001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002   *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006   (eval "$ac_try") 2>&5
2007   ac_status=$?
2008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009   test $ac_status = 0; }; }; then :
2010   ac_retval=0
2011 else
2012   $as_echo "$as_me: program exited with status $ac_status" >&5
2013        $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2015
2016        ac_retval=$ac_status
2017 fi
2018   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2019   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2020   as_fn_set_status $ac_retval
2021
2022 } # ac_fn_c_try_run
2023
2024 # ac_fn_c_check_func LINENO FUNC VAR
2025 # ----------------------------------
2026 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2027 ac_fn_c_check_func ()
2028 {
2029   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2031 $as_echo_n "checking for $2... " >&6; }
2032 if eval "test \"\${$3+set}\"" = set; then :
2033   $as_echo_n "(cached) " >&6
2034 else
2035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h.  */
2037 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2038    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2039 #define $2 innocuous_$2
2040
2041 /* System header to define __stub macros and hopefully few prototypes,
2042     which can conflict with char $2 (); below.
2043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2044     <limits.h> exists even on freestanding compilers.  */
2045
2046 #ifdef __STDC__
2047 # include <limits.h>
2048 #else
2049 # include <assert.h>
2050 #endif
2051
2052 #undef $2
2053
2054 /* Override any GCC internal prototype to avoid an error.
2055    Use char because int might match the return type of a GCC
2056    builtin and then its argument prototype would still apply.  */
2057 #ifdef __cplusplus
2058 extern "C"
2059 #endif
2060 char $2 ();
2061 /* The GNU C library defines this for functions which it implements
2062     to always fail with ENOSYS.  Some functions are actually named
2063     something starting with __ and the normal name is an alias.  */
2064 #if defined __stub_$2 || defined __stub___$2
2065 choke me
2066 #endif
2067
2068 int
2069 main ()
2070 {
2071 return $2 ();
2072   ;
2073   return 0;
2074 }
2075 _ACEOF
2076 if ac_fn_c_try_link "$LINENO"; then :
2077   eval "$3=yes"
2078 else
2079   eval "$3=no"
2080 fi
2081 rm -f core conftest.err conftest.$ac_objext \
2082     conftest$ac_exeext conftest.$ac_ext
2083 fi
2084 eval ac_res=\$$3
2085                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086 $as_echo "$ac_res" >&6; }
2087   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2088
2089 } # ac_fn_c_check_func
2090
2091 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2092 # ---------------------------------------------
2093 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2094 # accordingly.
2095 ac_fn_c_check_decl ()
2096 {
2097   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2098   as_decl_name=`echo $2|sed 's/ *(.*//'`
2099   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2101 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2102 if eval "test \"\${$3+set}\"" = set; then :
2103   $as_echo_n "(cached) " >&6
2104 else
2105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h.  */
2107 $4
2108 int
2109 main ()
2110 {
2111 #ifndef $as_decl_name
2112 #ifdef __cplusplus
2113   (void) $as_decl_use;
2114 #else
2115   (void) $as_decl_name;
2116 #endif
2117 #endif
2118
2119   ;
2120   return 0;
2121 }
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124   eval "$3=yes"
2125 else
2126   eval "$3=no"
2127 fi
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 fi
2130 eval ac_res=\$$3
2131                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2133   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2134
2135 } # ac_fn_c_check_decl
2136
2137 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2138 # -------------------------------------------------------
2139 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2140 # the include files in INCLUDES and setting the cache variable VAR
2141 # accordingly.
2142 ac_fn_c_check_header_mongrel ()
2143 {
2144   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2145   if eval "test \"\${$3+set}\"" = set; then :
2146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2147 $as_echo_n "checking for $2... " >&6; }
2148 if eval "test \"\${$3+set}\"" = set; then :
2149   $as_echo_n "(cached) " >&6
2150 fi
2151 eval ac_res=\$$3
2152                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2153 $as_echo "$ac_res" >&6; }
2154 else
2155   # Is the header compilable?
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2157 $as_echo_n "checking $2 usability... " >&6; }
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h.  */
2160 $4
2161 #include <$2>
2162 _ACEOF
2163 if ac_fn_c_try_compile "$LINENO"; then :
2164   ac_header_compiler=yes
2165 else
2166   ac_header_compiler=no
2167 fi
2168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2170 $as_echo "$ac_header_compiler" >&6; }
2171
2172 # Is the header present?
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2174 $as_echo_n "checking $2 presence... " >&6; }
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h.  */
2177 #include <$2>
2178 _ACEOF
2179 if ac_fn_c_try_cpp "$LINENO"; then :
2180   ac_header_preproc=yes
2181 else
2182   ac_header_preproc=no
2183 fi
2184 rm -f conftest.err conftest.i conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2186 $as_echo "$ac_header_preproc" >&6; }
2187
2188 # So?  What about this header?
2189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2190   yes:no: )
2191     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2192 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2193     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2194 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2195     ;;
2196   no:yes:* )
2197     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2198 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2199     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2200 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2201     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2202 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2203     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2204 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2205     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2206 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2207 ( $as_echo "## ------------------------------------------------------------------------ ##
2208 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2209 ## ------------------------------------------------------------------------ ##"
2210      ) | sed "s/^/$as_me: WARNING:     /" >&2
2211     ;;
2212 esac
2213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2214 $as_echo_n "checking for $2... " >&6; }
2215 if eval "test \"\${$3+set}\"" = set; then :
2216   $as_echo_n "(cached) " >&6
2217 else
2218   eval "$3=\$ac_header_compiler"
2219 fi
2220 eval ac_res=\$$3
2221                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2223 fi
2224   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2225
2226 } # ac_fn_c_check_header_mongrel
2227 cat >config.log <<_ACEOF
2228 This file contains any messages produced by compilers while
2229 running configure, to aid debugging if configure makes a mistake.
2230
2231 It was created by GStreamer FFMpeg $as_me 0.10.11, which was
2232 generated by GNU Autoconf 2.67.  Invocation command line was
2233
2234   $ $0 $@
2235
2236 _ACEOF
2237 exec 5>>config.log
2238 {
2239 cat <<_ASUNAME
2240 ## --------- ##
2241 ## Platform. ##
2242 ## --------- ##
2243
2244 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2245 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2246 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2247 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2248 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2249
2250 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2251 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2252
2253 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2254 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2255 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2256 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2257 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2258 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2259 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2260
2261 _ASUNAME
2262
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 for as_dir in $PATH
2265 do
2266   IFS=$as_save_IFS
2267   test -z "$as_dir" && as_dir=.
2268     $as_echo "PATH: $as_dir"
2269   done
2270 IFS=$as_save_IFS
2271
2272 } >&5
2273
2274 cat >&5 <<_ACEOF
2275
2276
2277 ## ----------- ##
2278 ## Core tests. ##
2279 ## ----------- ##
2280
2281 _ACEOF
2282
2283
2284 # Keep a trace of the command line.
2285 # Strip out --no-create and --no-recursion so they do not pile up.
2286 # Strip out --silent because we don't want to record it for future runs.
2287 # Also quote any args containing shell meta-characters.
2288 # Make two passes to allow for proper duplicate-argument suppression.
2289 ac_configure_args=
2290 ac_configure_args0=
2291 ac_configure_args1=
2292 ac_must_keep_next=false
2293 for ac_pass in 1 2
2294 do
2295   for ac_arg
2296   do
2297     case $ac_arg in
2298     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2299     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2300     | -silent | --silent | --silen | --sile | --sil)
2301       continue ;;
2302     *\'*)
2303       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2304     esac
2305     case $ac_pass in
2306     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2307     2)
2308       as_fn_append ac_configure_args1 " '$ac_arg'"
2309       if test $ac_must_keep_next = true; then
2310         ac_must_keep_next=false # Got value, back to normal.
2311       else
2312         case $ac_arg in
2313           *=* | --config-cache | -C | -disable-* | --disable-* \
2314           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2315           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2316           | -with-* | --with-* | -without-* | --without-* | --x)
2317             case "$ac_configure_args0 " in
2318               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2319             esac
2320             ;;
2321           -* ) ac_must_keep_next=true ;;
2322         esac
2323       fi
2324       as_fn_append ac_configure_args " '$ac_arg'"
2325       ;;
2326     esac
2327   done
2328 done
2329 { ac_configure_args0=; unset ac_configure_args0;}
2330 { ac_configure_args1=; unset ac_configure_args1;}
2331
2332 # When interrupted or exit'd, cleanup temporary files, and complete
2333 # config.log.  We remove comments because anyway the quotes in there
2334 # would cause problems or look ugly.
2335 # WARNING: Use '\'' to represent an apostrophe within the trap.
2336 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2337 trap 'exit_status=$?
2338   # Save into config.log some information that might help in debugging.
2339   {
2340     echo
2341
2342     $as_echo "## ---------------- ##
2343 ## Cache variables. ##
2344 ## ---------------- ##"
2345     echo
2346     # The following way of writing the cache mishandles newlines in values,
2347 (
2348   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2349     eval ac_val=\$$ac_var
2350     case $ac_val in #(
2351     *${as_nl}*)
2352       case $ac_var in #(
2353       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2354 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2355       esac
2356       case $ac_var in #(
2357       _ | IFS | as_nl) ;; #(
2358       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2359       *) { eval $ac_var=; unset $ac_var;} ;;
2360       esac ;;
2361     esac
2362   done
2363   (set) 2>&1 |
2364     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2365     *${as_nl}ac_space=\ *)
2366       sed -n \
2367         "s/'\''/'\''\\\\'\'''\''/g;
2368           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2369       ;; #(
2370     *)
2371       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2372       ;;
2373     esac |
2374     sort
2375 )
2376     echo
2377
2378     $as_echo "## ----------------- ##
2379 ## Output variables. ##
2380 ## ----------------- ##"
2381     echo
2382     for ac_var in $ac_subst_vars
2383     do
2384       eval ac_val=\$$ac_var
2385       case $ac_val in
2386       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2387       esac
2388       $as_echo "$ac_var='\''$ac_val'\''"
2389     done | sort
2390     echo
2391
2392     if test -n "$ac_subst_files"; then
2393       $as_echo "## ------------------- ##
2394 ## File substitutions. ##
2395 ## ------------------- ##"
2396       echo
2397       for ac_var in $ac_subst_files
2398       do
2399         eval ac_val=\$$ac_var
2400         case $ac_val in
2401         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2402         esac
2403         $as_echo "$ac_var='\''$ac_val'\''"
2404       done | sort
2405       echo
2406     fi
2407
2408     if test -s confdefs.h; then
2409       $as_echo "## ----------- ##
2410 ## confdefs.h. ##
2411 ## ----------- ##"
2412       echo
2413       cat confdefs.h
2414       echo
2415     fi
2416     test "$ac_signal" != 0 &&
2417       $as_echo "$as_me: caught signal $ac_signal"
2418     $as_echo "$as_me: exit $exit_status"
2419   } >&5
2420   rm -f core *.core core.conftest.* &&
2421     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2422     exit $exit_status
2423 ' 0
2424 for ac_signal in 1 2 13 15; do
2425   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2426 done
2427 ac_signal=0
2428
2429 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2430 rm -f -r conftest* confdefs.h
2431
2432 $as_echo "/* confdefs.h */" > confdefs.h
2433
2434 # Predefined preprocessor variables.
2435
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_NAME "$PACKAGE_NAME"
2438 _ACEOF
2439
2440 cat >>confdefs.h <<_ACEOF
2441 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2442 _ACEOF
2443
2444 cat >>confdefs.h <<_ACEOF
2445 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2446 _ACEOF
2447
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_STRING "$PACKAGE_STRING"
2450 _ACEOF
2451
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2454 _ACEOF
2455
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_URL "$PACKAGE_URL"
2458 _ACEOF
2459
2460
2461 # Let the site file select an alternate cache file if it wants to.
2462 # Prefer an explicitly selected file to automatically selected ones.
2463 ac_site_file1=NONE
2464 ac_site_file2=NONE
2465 if test -n "$CONFIG_SITE"; then
2466   # We do not want a PATH search for config.site.
2467   case $CONFIG_SITE in #((
2468     -*)  ac_site_file1=./$CONFIG_SITE;;
2469     */*) ac_site_file1=$CONFIG_SITE;;
2470     *)   ac_site_file1=./$CONFIG_SITE;;
2471   esac
2472 elif test "x$prefix" != xNONE; then
2473   ac_site_file1=$prefix/share/config.site
2474   ac_site_file2=$prefix/etc/config.site
2475 else
2476   ac_site_file1=$ac_default_prefix/share/config.site
2477   ac_site_file2=$ac_default_prefix/etc/config.site
2478 fi
2479 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2480 do
2481   test "x$ac_site_file" = xNONE && continue
2482   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2483     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2484 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2485     sed 's/^/| /' "$ac_site_file" >&5
2486     . "$ac_site_file" \
2487       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2489 as_fn_error $? "failed to load site script $ac_site_file
2490 See \`config.log' for more details" "$LINENO" 5 ; }
2491   fi
2492 done
2493
2494 if test -r "$cache_file"; then
2495   # Some versions of bash will fail to source /dev/null (special files
2496   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2497   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2498     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2499 $as_echo "$as_me: loading cache $cache_file" >&6;}
2500     case $cache_file in
2501       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2502       *)                      . "./$cache_file";;
2503     esac
2504   fi
2505 else
2506   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2507 $as_echo "$as_me: creating cache $cache_file" >&6;}
2508   >$cache_file
2509 fi
2510
2511 # Check that the precious variables saved in the cache have kept the same
2512 # value.
2513 ac_cache_corrupted=false
2514 for ac_var in $ac_precious_vars; do
2515   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2516   eval ac_new_set=\$ac_env_${ac_var}_set
2517   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2518   eval ac_new_val=\$ac_env_${ac_var}_value
2519   case $ac_old_set,$ac_new_set in
2520     set,)
2521       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2523       ac_cache_corrupted=: ;;
2524     ,set)
2525       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2526 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2527       ac_cache_corrupted=: ;;
2528     ,);;
2529     *)
2530       if test "x$ac_old_val" != "x$ac_new_val"; then
2531         # differences in whitespace do not lead to failure.
2532         ac_old_val_w=`echo x $ac_old_val`
2533         ac_new_val_w=`echo x $ac_new_val`
2534         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2535           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2536 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2537           ac_cache_corrupted=:
2538         else
2539           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2540 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2541           eval $ac_var=\$ac_old_val
2542         fi
2543         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2544 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2545         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2546 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2547       fi;;
2548   esac
2549   # Pass precious variables to config.status.
2550   if test "$ac_new_set" = set; then
2551     case $ac_new_val in
2552     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2553     *) ac_arg=$ac_var=$ac_new_val ;;
2554     esac
2555     case " $ac_configure_args " in
2556       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2557       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2558     esac
2559   fi
2560 done
2561 if $ac_cache_corrupted; then
2562   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2564   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2565 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2566   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2567 fi
2568 ## -------------------- ##
2569 ## Main body of script. ##
2570 ## -------------------- ##
2571
2572 ac_ext=c
2573 ac_cpp='$CPP $CPPFLAGS'
2574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2577
2578
2579
2580
2581
2582
2583
2584 am__api_version='1.11'
2585
2586 ac_aux_dir=
2587 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2588   if test -f "$ac_dir/install-sh"; then
2589     ac_aux_dir=$ac_dir
2590     ac_install_sh="$ac_aux_dir/install-sh -c"
2591     break
2592   elif test -f "$ac_dir/install.sh"; then
2593     ac_aux_dir=$ac_dir
2594     ac_install_sh="$ac_aux_dir/install.sh -c"
2595     break
2596   elif test -f "$ac_dir/shtool"; then
2597     ac_aux_dir=$ac_dir
2598     ac_install_sh="$ac_aux_dir/shtool install -c"
2599     break
2600   fi
2601 done
2602 if test -z "$ac_aux_dir"; then
2603   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2604 fi
2605
2606 # These three variables are undocumented and unsupported,
2607 # and are intended to be withdrawn in a future Autoconf release.
2608 # They can cause serious problems if a builder's source tree is in a directory
2609 # whose full name contains unusual characters.
2610 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2611 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2612 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2613
2614
2615 # Find a good install program.  We prefer a C program (faster),
2616 # so one script is as good as another.  But avoid the broken or
2617 # incompatible versions:
2618 # SysV /etc/install, /usr/sbin/install
2619 # SunOS /usr/etc/install
2620 # IRIX /sbin/install
2621 # AIX /bin/install
2622 # AmigaOS /C/install, which installs bootblocks on floppy discs
2623 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2624 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2625 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2626 # OS/2's system install, which has a completely different semantic
2627 # ./install, which can be erroneously created by make from ./install.sh.
2628 # Reject install programs that cannot install multiple files.
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2630 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2631 if test -z "$INSTALL"; then
2632 if test "${ac_cv_path_install+set}" = set; then :
2633   $as_echo_n "(cached) " >&6
2634 else
2635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 for as_dir in $PATH
2637 do
2638   IFS=$as_save_IFS
2639   test -z "$as_dir" && as_dir=.
2640     # Account for people who put trailing slashes in PATH elements.
2641 case $as_dir/ in #((
2642   ./ | .// | /[cC]/* | \
2643   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2644   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2645   /usr/ucb/* ) ;;
2646   *)
2647     # OSF1 and SCO ODT 3.0 have their own names for install.
2648     # Don't use installbsd from OSF since it installs stuff as root
2649     # by default.
2650     for ac_prog in ginstall scoinst install; do
2651       for ac_exec_ext in '' $ac_executable_extensions; do
2652         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2653           if test $ac_prog = install &&
2654             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2655             # AIX install.  It has an incompatible calling convention.
2656             :
2657           elif test $ac_prog = install &&
2658             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2659             # program-specific install script used by HP pwplus--don't use.
2660             :
2661           else
2662             rm -rf conftest.one conftest.two conftest.dir
2663             echo one > conftest.one
2664             echo two > conftest.two
2665             mkdir conftest.dir
2666             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2667               test -s conftest.one && test -s conftest.two &&
2668               test -s conftest.dir/conftest.one &&
2669               test -s conftest.dir/conftest.two
2670             then
2671               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2672               break 3
2673             fi
2674           fi
2675         fi
2676       done
2677     done
2678     ;;
2679 esac
2680
2681   done
2682 IFS=$as_save_IFS
2683
2684 rm -rf conftest.one conftest.two conftest.dir
2685
2686 fi
2687   if test "${ac_cv_path_install+set}" = set; then
2688     INSTALL=$ac_cv_path_install
2689   else
2690     # As a last resort, use the slow shell script.  Don't cache a
2691     # value for INSTALL within a source directory, because that will
2692     # break other packages using the cache if that directory is
2693     # removed, or if the value is a relative name.
2694     INSTALL=$ac_install_sh
2695   fi
2696 fi
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2698 $as_echo "$INSTALL" >&6; }
2699
2700 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2701 # It thinks the first close brace ends the variable substitution.
2702 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2703
2704 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2705
2706 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2707
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2709 $as_echo_n "checking whether build environment is sane... " >&6; }
2710 # Just in case
2711 sleep 1
2712 echo timestamp > conftest.file
2713 # Reject unsafe characters in $srcdir or the absolute working directory
2714 # name.  Accept space and tab only in the latter.
2715 am_lf='
2716 '
2717 case `pwd` in
2718   *[\\\"\#\$\&\'\`$am_lf]*)
2719     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2720 esac
2721 case $srcdir in
2722   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2723     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2724 esac
2725
2726 # Do `set' in a subshell so we don't clobber the current shell's
2727 # arguments.  Must try -L first in case configure is actually a
2728 # symlink; some systems play weird games with the mod time of symlinks
2729 # (eg FreeBSD returns the mod time of the symlink's containing
2730 # directory).
2731 if (
2732    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2733    if test "$*" = "X"; then
2734       # -L didn't work.
2735       set X `ls -t "$srcdir/configure" conftest.file`
2736    fi
2737    rm -f conftest.file
2738    if test "$*" != "X $srcdir/configure conftest.file" \
2739       && test "$*" != "X conftest.file $srcdir/configure"; then
2740
2741       # If neither matched, then we have a broken ls.  This can happen
2742       # if, for instance, CONFIG_SHELL is bash and it inherits a
2743       # broken ls alias from the environment.  This has actually
2744       # happened.  Such a system could not be considered "sane".
2745       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2746 alias in your environment" "$LINENO" 5
2747    fi
2748
2749    test "$2" = conftest.file
2750    )
2751 then
2752    # Ok.
2753    :
2754 else
2755    as_fn_error $? "newly created file is older than distributed files!
2756 Check your system clock" "$LINENO" 5
2757 fi
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2759 $as_echo "yes" >&6; }
2760 test "$program_prefix" != NONE &&
2761   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2762 # Use a double $ so make ignores it.
2763 test "$program_suffix" != NONE &&
2764   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2765 # Double any \ or $.
2766 # By default was `s,x,x', remove it if useless.
2767 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2768 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2769
2770 # expand $ac_aux_dir to an absolute path
2771 am_aux_dir=`cd $ac_aux_dir && pwd`
2772
2773 if test x"${MISSING+set}" != xset; then
2774   case $am_aux_dir in
2775   *\ * | *\     *)
2776     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2777   *)
2778     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2779   esac
2780 fi
2781 # Use eval to expand $SHELL
2782 if eval "$MISSING --run true"; then
2783   am_missing_run="$MISSING --run "
2784 else
2785   am_missing_run=
2786   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2787 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2788 fi
2789
2790 if test x"${install_sh}" != xset; then
2791   case $am_aux_dir in
2792   *\ * | *\     *)
2793     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2794   *)
2795     install_sh="\${SHELL} $am_aux_dir/install-sh"
2796   esac
2797 fi
2798
2799 # Installed binaries are usually stripped using `strip' when the user
2800 # run `make install-strip'.  However `strip' might not be the right
2801 # tool to use in cross-compilation environments, therefore Automake
2802 # will honor the `STRIP' environment variable to overrule this program.
2803 if test "$cross_compiling" != no; then
2804   if test -n "$ac_tool_prefix"; then
2805   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2806 set dummy ${ac_tool_prefix}strip; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_STRIP+set}" = set; then :
2810   $as_echo_n "(cached) " >&6
2811 else
2812   if test -n "$STRIP"; then
2813   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2814 else
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 for as_dir in $PATH
2817 do
2818   IFS=$as_save_IFS
2819   test -z "$as_dir" && as_dir=.
2820     for ac_exec_ext in '' $ac_executable_extensions; do
2821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824     break 2
2825   fi
2826 done
2827   done
2828 IFS=$as_save_IFS
2829
2830 fi
2831 fi
2832 STRIP=$ac_cv_prog_STRIP
2833 if test -n "$STRIP"; then
2834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2835 $as_echo "$STRIP" >&6; }
2836 else
2837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2839 fi
2840
2841
2842 fi
2843 if test -z "$ac_cv_prog_STRIP"; then
2844   ac_ct_STRIP=$STRIP
2845   # Extract the first word of "strip", so it can be a program name with args.
2846 set dummy strip; ac_word=$2
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848 $as_echo_n "checking for $ac_word... " >&6; }
2849 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2850   $as_echo_n "(cached) " >&6
2851 else
2852   if test -n "$ac_ct_STRIP"; then
2853   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2854 else
2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 for as_dir in $PATH
2857 do
2858   IFS=$as_save_IFS
2859   test -z "$as_dir" && as_dir=.
2860     for ac_exec_ext in '' $ac_executable_extensions; do
2861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2862     ac_cv_prog_ac_ct_STRIP="strip"
2863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864     break 2
2865   fi
2866 done
2867   done
2868 IFS=$as_save_IFS
2869
2870 fi
2871 fi
2872 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2873 if test -n "$ac_ct_STRIP"; then
2874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2875 $as_echo "$ac_ct_STRIP" >&6; }
2876 else
2877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878 $as_echo "no" >&6; }
2879 fi
2880
2881   if test "x$ac_ct_STRIP" = x; then
2882     STRIP=":"
2883   else
2884     case $cross_compiling:$ac_tool_warned in
2885 yes:)
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2888 ac_tool_warned=yes ;;
2889 esac
2890     STRIP=$ac_ct_STRIP
2891   fi
2892 else
2893   STRIP="$ac_cv_prog_STRIP"
2894 fi
2895
2896 fi
2897 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2898
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2900 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2901 if test -z "$MKDIR_P"; then
2902   if test "${ac_cv_path_mkdir+set}" = set; then :
2903   $as_echo_n "(cached) " >&6
2904 else
2905   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2907 do
2908   IFS=$as_save_IFS
2909   test -z "$as_dir" && as_dir=.
2910     for ac_prog in mkdir gmkdir; do
2911          for ac_exec_ext in '' $ac_executable_extensions; do
2912            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2913            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2914              'mkdir (GNU coreutils) '* | \
2915              'mkdir (coreutils) '* | \
2916              'mkdir (fileutils) '4.1*)
2917                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2918                break 3;;
2919            esac
2920          done
2921        done
2922   done
2923 IFS=$as_save_IFS
2924
2925 fi
2926
2927   test -d ./--version && rmdir ./--version
2928   if test "${ac_cv_path_mkdir+set}" = set; then
2929     MKDIR_P="$ac_cv_path_mkdir -p"
2930   else
2931     # As a last resort, use the slow shell script.  Don't cache a
2932     # value for MKDIR_P within a source directory, because that will
2933     # break other packages using the cache if that directory is
2934     # removed, or if the value is a relative name.
2935     MKDIR_P="$ac_install_sh -d"
2936   fi
2937 fi
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2939 $as_echo "$MKDIR_P" >&6; }
2940
2941 mkdir_p="$MKDIR_P"
2942 case $mkdir_p in
2943   [\\/$]* | ?:[\\/]*) ;;
2944   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2945 esac
2946
2947 for ac_prog in gawk mawk nawk awk
2948 do
2949   # Extract the first word of "$ac_prog", so it can be a program name with args.
2950 set dummy $ac_prog; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if test "${ac_cv_prog_AWK+set}" = set; then :
2954   $as_echo_n "(cached) " >&6
2955 else
2956   if test -n "$AWK"; then
2957   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2958 else
2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2960 for as_dir in $PATH
2961 do
2962   IFS=$as_save_IFS
2963   test -z "$as_dir" && as_dir=.
2964     for ac_exec_ext in '' $ac_executable_extensions; do
2965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966     ac_cv_prog_AWK="$ac_prog"
2967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968     break 2
2969   fi
2970 done
2971   done
2972 IFS=$as_save_IFS
2973
2974 fi
2975 fi
2976 AWK=$ac_cv_prog_AWK
2977 if test -n "$AWK"; then
2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2979 $as_echo "$AWK" >&6; }
2980 else
2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2983 fi
2984
2985
2986   test -n "$AWK" && break
2987 done
2988
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2990 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2991 set x ${MAKE-make}
2992 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2993 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2994   $as_echo_n "(cached) " >&6
2995 else
2996   cat >conftest.make <<\_ACEOF
2997 SHELL = /bin/sh
2998 all:
2999         @echo '@@@%%%=$(MAKE)=@@@%%%'
3000 _ACEOF
3001 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3002 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3003   *@@@%%%=?*=@@@%%%*)
3004     eval ac_cv_prog_make_${ac_make}_set=yes;;
3005   *)
3006     eval ac_cv_prog_make_${ac_make}_set=no;;
3007 esac
3008 rm -f conftest.make
3009 fi
3010 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3012 $as_echo "yes" >&6; }
3013   SET_MAKE=
3014 else
3015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016 $as_echo "no" >&6; }
3017   SET_MAKE="MAKE=${MAKE-make}"
3018 fi
3019
3020 rm -rf .tst 2>/dev/null
3021 mkdir .tst 2>/dev/null
3022 if test -d .tst; then
3023   am__leading_dot=.
3024 else
3025   am__leading_dot=_
3026 fi
3027 rmdir .tst 2>/dev/null
3028
3029 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3030   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3031   # is not polluted with repeated "-I."
3032   am__isrc=' -I$(srcdir)'
3033   # test to see if srcdir already configured
3034   if test -f $srcdir/config.status; then
3035     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3036   fi
3037 fi
3038
3039 # test whether we have cygpath
3040 if test -z "$CYGPATH_W"; then
3041   if (cygpath --version) >/dev/null 2>/dev/null; then
3042     CYGPATH_W='cygpath -w'
3043   else
3044     CYGPATH_W=echo
3045   fi
3046 fi
3047
3048
3049 # Define the identity of the package.
3050  PACKAGE='gst-ffmpeg'
3051  VERSION='0.10.11'
3052
3053
3054 cat >>confdefs.h <<_ACEOF
3055 #define PACKAGE "$PACKAGE"
3056 _ACEOF
3057
3058
3059 cat >>confdefs.h <<_ACEOF
3060 #define VERSION "$VERSION"
3061 _ACEOF
3062
3063 # Some tools Automake needs.
3064
3065 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3066
3067
3068 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3069
3070
3071 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3072
3073
3074 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3075
3076
3077 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3078
3079 # We need awk for the "check" target.  The system "awk" is bad on
3080 # some platforms.
3081 # Always define AMTAR for backward compatibility.
3082
3083 AMTAR=${AMTAR-"${am_missing_run}tar"}
3084
3085 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3086
3087
3088
3089
3090
3091
3092
3093   PACKAGE_VERSION_MAJOR=$(echo 0.10.11 | cut -d'.' -f1)
3094   PACKAGE_VERSION_MINOR=$(echo 0.10.11 | cut -d'.' -f2)
3095   PACKAGE_VERSION_MICRO=$(echo 0.10.11 | cut -d'.' -f3)
3096
3097
3098
3099
3100
3101
3102
3103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3104 $as_echo_n "checking nano version... " >&6; }
3105
3106   NANO=$(echo 0.10.11 | cut -d'.' -f4)
3107
3108   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3109     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3110 $as_echo "0 (release)" >&6; }
3111     NANO=0
3112     PACKAGE_VERSION_RELEASE=1
3113     GST_GIT="no"
3114   else
3115     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3116 $as_echo "$NANO" >&6; }
3117     PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3118     if test "x$NANO" != "x1" ; then
3119        GST_GIT="no"
3120     else
3121        GST_GIT="yes"
3122     fi
3123   fi
3124   PACKAGE_VERSION_NANO=$NANO
3125
3126
3127
3128
3129
3130
3131 ac_config_headers="$ac_config_headers config.h"
3132
3133
3134
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3136 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3137     # Check whether --enable-maintainer-mode was given.
3138 if test "${enable_maintainer_mode+set}" = set; then :
3139   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3140 else
3141   USE_MAINTAINER_MODE=no
3142 fi
3143
3144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3145 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3146    if test $USE_MAINTAINER_MODE = yes; then
3147   MAINTAINER_MODE_TRUE=
3148   MAINTAINER_MODE_FALSE='#'
3149 else
3150   MAINTAINER_MODE_TRUE='#'
3151   MAINTAINER_MODE_FALSE=
3152 fi
3153
3154   MAINT=$MAINTAINER_MODE_TRUE
3155
3156
3157
3158 # Make sure we can run config.sub.
3159 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3160   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3161
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3163 $as_echo_n "checking build system type... " >&6; }
3164 if test "${ac_cv_build+set}" = set; then :
3165   $as_echo_n "(cached) " >&6
3166 else
3167   ac_build_alias=$build_alias
3168 test "x$ac_build_alias" = x &&
3169   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3170 test "x$ac_build_alias" = x &&
3171   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3172 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3173   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3174
3175 fi
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3177 $as_echo "$ac_cv_build" >&6; }
3178 case $ac_cv_build in
3179 *-*-*) ;;
3180 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3181 esac
3182 build=$ac_cv_build
3183 ac_save_IFS=$IFS; IFS='-'
3184 set x $ac_cv_build
3185 shift
3186 build_cpu=$1
3187 build_vendor=$2
3188 shift; shift
3189 # Remember, the first character of IFS is used to create $*,
3190 # except with old shells:
3191 build_os=$*
3192 IFS=$ac_save_IFS
3193 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3194
3195
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3197 $as_echo_n "checking host system type... " >&6; }
3198 if test "${ac_cv_host+set}" = set; then :
3199   $as_echo_n "(cached) " >&6
3200 else
3201   if test "x$host_alias" = x; then
3202   ac_cv_host=$ac_cv_build
3203 else
3204   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3205     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3206 fi
3207
3208 fi
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3210 $as_echo "$ac_cv_host" >&6; }
3211 case $ac_cv_host in
3212 *-*-*) ;;
3213 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3214 esac
3215 host=$ac_cv_host
3216 ac_save_IFS=$IFS; IFS='-'
3217 set x $ac_cv_host
3218 shift
3219 host_cpu=$1
3220 host_vendor=$2
3221 shift; shift
3222 # Remember, the first character of IFS is used to create $*,
3223 # except with old shells:
3224 host_os=$*
3225 IFS=$ac_save_IFS
3226 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3227
3228
3229
3230 # Check whether --enable-silent-rules was given.
3231 if test "${enable_silent_rules+set}" = set; then :
3232   enableval=$enable_silent_rules;
3233 fi
3234
3235 case $enable_silent_rules in
3236 yes) AM_DEFAULT_VERBOSITY=0;;
3237 no)  AM_DEFAULT_VERBOSITY=1;;
3238 *)   AM_DEFAULT_VERBOSITY=0;;
3239 esac
3240 AM_BACKSLASH='\'
3241
3242
3243 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3244 GST_MAJORMINOR=0.10
3245
3246
3247 enable_win32_dll=yes
3248
3249 case $host in
3250 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3251   if test -n "$ac_tool_prefix"; then
3252   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}as; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if test "${ac_cv_prog_AS+set}" = set; then :
3257   $as_echo_n "(cached) " >&6
3258 else
3259   if test -n "$AS"; then
3260   ac_cv_prog_AS="$AS" # Let the user override the test.
3261 else
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 for as_dir in $PATH
3264 do
3265   IFS=$as_save_IFS
3266   test -z "$as_dir" && as_dir=.
3267     for ac_exec_ext in '' $ac_executable_extensions; do
3268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269     ac_cv_prog_AS="${ac_tool_prefix}as"
3270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271     break 2
3272   fi
3273 done
3274   done
3275 IFS=$as_save_IFS
3276
3277 fi
3278 fi
3279 AS=$ac_cv_prog_AS
3280 if test -n "$AS"; then
3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3282 $as_echo "$AS" >&6; }
3283 else
3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3286 fi
3287
3288
3289 fi
3290 if test -z "$ac_cv_prog_AS"; then
3291   ac_ct_AS=$AS
3292   # Extract the first word of "as", so it can be a program name with args.
3293 set dummy as; ac_word=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3297   $as_echo_n "(cached) " >&6
3298 else
3299   if test -n "$ac_ct_AS"; then
3300   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3301 else
3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 for as_dir in $PATH
3304 do
3305   IFS=$as_save_IFS
3306   test -z "$as_dir" && as_dir=.
3307     for ac_exec_ext in '' $ac_executable_extensions; do
3308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309     ac_cv_prog_ac_ct_AS="as"
3310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311     break 2
3312   fi
3313 done
3314   done
3315 IFS=$as_save_IFS
3316
3317 fi
3318 fi
3319 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3320 if test -n "$ac_ct_AS"; then
3321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3322 $as_echo "$ac_ct_AS" >&6; }
3323 else
3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3326 fi
3327
3328   if test "x$ac_ct_AS" = x; then
3329     AS="false"
3330   else
3331     case $cross_compiling:$ac_tool_warned in
3332 yes:)
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned=yes ;;
3336 esac
3337     AS=$ac_ct_AS
3338   fi
3339 else
3340   AS="$ac_cv_prog_AS"
3341 fi
3342
3343   if test -n "$ac_tool_prefix"; then
3344   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3349   $as_echo_n "(cached) " >&6
3350 else
3351   if test -n "$DLLTOOL"; then
3352   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3356 do
3357   IFS=$as_save_IFS
3358   test -z "$as_dir" && as_dir=.
3359     for ac_exec_ext in '' $ac_executable_extensions; do
3360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363     break 2
3364   fi
3365 done
3366   done
3367 IFS=$as_save_IFS
3368
3369 fi
3370 fi
3371 DLLTOOL=$ac_cv_prog_DLLTOOL
3372 if test -n "$DLLTOOL"; then
3373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3374 $as_echo "$DLLTOOL" >&6; }
3375 else
3376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3378 fi
3379
3380
3381 fi
3382 if test -z "$ac_cv_prog_DLLTOOL"; then
3383   ac_ct_DLLTOOL=$DLLTOOL
3384   # Extract the first word of "dlltool", so it can be a program name with args.
3385 set dummy dlltool; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3389   $as_echo_n "(cached) " >&6
3390 else
3391   if test -n "$ac_ct_DLLTOOL"; then
3392   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3393 else
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3396 do
3397   IFS=$as_save_IFS
3398   test -z "$as_dir" && as_dir=.
3399     for ac_exec_ext in '' $ac_executable_extensions; do
3400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403     break 2
3404   fi
3405 done
3406   done
3407 IFS=$as_save_IFS
3408
3409 fi
3410 fi
3411 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3412 if test -n "$ac_ct_DLLTOOL"; then
3413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3414 $as_echo "$ac_ct_DLLTOOL" >&6; }
3415 else
3416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3418 fi
3419
3420   if test "x$ac_ct_DLLTOOL" = x; then
3421     DLLTOOL="false"
3422   else
3423     case $cross_compiling:$ac_tool_warned in
3424 yes:)
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3428 esac
3429     DLLTOOL=$ac_ct_DLLTOOL
3430   fi
3431 else
3432   DLLTOOL="$ac_cv_prog_DLLTOOL"
3433 fi
3434
3435   if test -n "$ac_tool_prefix"; then
3436   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3437 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439 $as_echo_n "checking for $ac_word... " >&6; }
3440 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3441   $as_echo_n "(cached) " >&6
3442 else
3443   if test -n "$OBJDUMP"; then
3444   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3445 else
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447 for as_dir in $PATH
3448 do
3449   IFS=$as_save_IFS
3450   test -z "$as_dir" && as_dir=.
3451     for ac_exec_ext in '' $ac_executable_extensions; do
3452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3453     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455     break 2
3456   fi
3457 done
3458   done
3459 IFS=$as_save_IFS
3460
3461 fi
3462 fi
3463 OBJDUMP=$ac_cv_prog_OBJDUMP
3464 if test -n "$OBJDUMP"; then
3465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3466 $as_echo "$OBJDUMP" >&6; }
3467 else
3468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469 $as_echo "no" >&6; }
3470 fi
3471
3472
3473 fi
3474 if test -z "$ac_cv_prog_OBJDUMP"; then
3475   ac_ct_OBJDUMP=$OBJDUMP
3476   # Extract the first word of "objdump", so it can be a program name with args.
3477 set dummy objdump; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3481   $as_echo_n "(cached) " >&6
3482 else
3483   if test -n "$ac_ct_OBJDUMP"; then
3484   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3485 else
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487 for as_dir in $PATH
3488 do
3489   IFS=$as_save_IFS
3490   test -z "$as_dir" && as_dir=.
3491     for ac_exec_ext in '' $ac_executable_extensions; do
3492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3493     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495     break 2
3496   fi
3497 done
3498   done
3499 IFS=$as_save_IFS
3500
3501 fi
3502 fi
3503 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3504 if test -n "$ac_ct_OBJDUMP"; then
3505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3506 $as_echo "$ac_ct_OBJDUMP" >&6; }
3507 else
3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3510 fi
3511
3512   if test "x$ac_ct_OBJDUMP" = x; then
3513     OBJDUMP="false"
3514   else
3515     case $cross_compiling:$ac_tool_warned in
3516 yes:)
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3519 ac_tool_warned=yes ;;
3520 esac
3521     OBJDUMP=$ac_ct_OBJDUMP
3522   fi
3523 else
3524   OBJDUMP="$ac_cv_prog_OBJDUMP"
3525 fi
3526
3527   ;;
3528 esac
3529
3530 test -z "$AS" && AS=as
3531
3532
3533
3534
3535
3536 test -z "$DLLTOOL" && DLLTOOL=dlltool
3537
3538
3539
3540
3541
3542 test -z "$OBJDUMP" && OBJDUMP=objdump
3543
3544
3545
3546
3547
3548
3549
3550 case `pwd` in
3551   *\ * | *\     *)
3552     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3553 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3554 esac
3555
3556
3557
3558 macro_version='2.2.6b'
3559 macro_revision='1.3017'
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573 ltmain="$ac_aux_dir/ltmain.sh"
3574
3575 DEPDIR="${am__leading_dot}deps"
3576
3577 ac_config_commands="$ac_config_commands depfiles"
3578
3579
3580 am_make=${MAKE-make}
3581 cat > confinc << 'END'
3582 am__doit:
3583         @echo this is the am__doit target
3584 .PHONY: am__doit
3585 END
3586 # If we don't find an include directive, just comment out the code.
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3588 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3589 am__include="#"
3590 am__quote=
3591 _am_result=none
3592 # First try GNU make style include.
3593 echo "include confinc" > confmf
3594 # Ignore all kinds of additional output from `make'.
3595 case `$am_make -s -f confmf 2> /dev/null` in #(
3596 *the\ am__doit\ target*)
3597   am__include=include
3598   am__quote=
3599   _am_result=GNU
3600   ;;
3601 esac
3602 # Now try BSD make style include.
3603 if test "$am__include" = "#"; then
3604    echo '.include "confinc"' > confmf
3605    case `$am_make -s -f confmf 2> /dev/null` in #(
3606    *the\ am__doit\ target*)
3607      am__include=.include
3608      am__quote="\""
3609      _am_result=BSD
3610      ;;
3611    esac
3612 fi
3613
3614
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3616 $as_echo "$_am_result" >&6; }
3617 rm -f confinc confmf
3618
3619 # Check whether --enable-dependency-tracking was given.
3620 if test "${enable_dependency_tracking+set}" = set; then :
3621   enableval=$enable_dependency_tracking;
3622 fi
3623
3624 if test "x$enable_dependency_tracking" != xno; then
3625   am_depcomp="$ac_aux_dir/depcomp"
3626   AMDEPBACKSLASH='\'
3627 fi
3628  if test "x$enable_dependency_tracking" != xno; then
3629   AMDEP_TRUE=
3630   AMDEP_FALSE='#'
3631 else
3632   AMDEP_TRUE='#'
3633   AMDEP_FALSE=
3634 fi
3635
3636
3637 ac_ext=c
3638 ac_cpp='$CPP $CPPFLAGS'
3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3642 if test -n "$ac_tool_prefix"; then
3643   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648   $as_echo_n "(cached) " >&6
3649 else
3650   if test -n "$CC"; then
3651   ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3655 do
3656   IFS=$as_save_IFS
3657   test -z "$as_dir" && as_dir=.
3658     for ac_exec_ext in '' $ac_executable_extensions; do
3659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662     break 2
3663   fi
3664 done
3665   done
3666 IFS=$as_save_IFS
3667
3668 fi
3669 fi
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3677 fi
3678
3679
3680 fi
3681 if test -z "$ac_cv_prog_CC"; then
3682   ac_ct_CC=$CC
3683   # Extract the first word of "gcc", so it can be a program name with args.
3684 set dummy gcc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3688   $as_echo_n "(cached) " >&6
3689 else
3690   if test -n "$ac_ct_CC"; then
3691   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3692 else
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3694 for as_dir in $PATH
3695 do
3696   IFS=$as_save_IFS
3697   test -z "$as_dir" && as_dir=.
3698     for ac_exec_ext in '' $ac_executable_extensions; do
3699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3700     ac_cv_prog_ac_ct_CC="gcc"
3701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702     break 2
3703   fi
3704 done
3705   done
3706 IFS=$as_save_IFS
3707
3708 fi
3709 fi
3710 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3711 if test -n "$ac_ct_CC"; then
3712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3713 $as_echo "$ac_ct_CC" >&6; }
3714 else
3715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3717 fi
3718
3719   if test "x$ac_ct_CC" = x; then
3720     CC=""
3721   else
3722     case $cross_compiling:$ac_tool_warned in
3723 yes:)
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3726 ac_tool_warned=yes ;;
3727 esac
3728     CC=$ac_ct_CC
3729   fi
3730 else
3731   CC="$ac_cv_prog_CC"
3732 fi
3733
3734 if test -z "$CC"; then
3735           if test -n "$ac_tool_prefix"; then
3736     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3737 set dummy ${ac_tool_prefix}cc; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_CC+set}" = set; then :
3741   $as_echo_n "(cached) " >&6
3742 else
3743   if test -n "$CC"; then
3744   ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3748 do
3749   IFS=$as_save_IFS
3750   test -z "$as_dir" && as_dir=.
3751     for ac_exec_ext in '' $ac_executable_extensions; do
3752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753     ac_cv_prog_CC="${ac_tool_prefix}cc"
3754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755     break 2
3756   fi
3757 done
3758   done
3759 IFS=$as_save_IFS
3760
3761 fi
3762 fi
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3770 fi
3771
3772
3773   fi
3774 fi
3775 if test -z "$CC"; then
3776   # Extract the first word of "cc", so it can be a program name with args.
3777 set dummy cc; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_CC+set}" = set; then :
3781   $as_echo_n "(cached) " >&6
3782 else
3783   if test -n "$CC"; then
3784   ac_cv_prog_CC="$CC" # Let the user override the test.
3785 else
3786   ac_prog_rejected=no
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3789 do
3790   IFS=$as_save_IFS
3791   test -z "$as_dir" && as_dir=.
3792     for ac_exec_ext in '' $ac_executable_extensions; do
3793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3795        ac_prog_rejected=yes
3796        continue
3797      fi
3798     ac_cv_prog_CC="cc"
3799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800     break 2
3801   fi
3802 done
3803   done
3804 IFS=$as_save_IFS
3805
3806 if test $ac_prog_rejected = yes; then
3807   # We found a bogon in the path, so make sure we never use it.
3808   set dummy $ac_cv_prog_CC
3809   shift
3810   if test $# != 0; then
3811     # We chose a different compiler from the bogus one.
3812     # However, it has the same basename, so the bogon will be chosen
3813     # first if we set CC to just the basename; use the full file name.
3814     shift
3815     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3816   fi
3817 fi
3818 fi
3819 fi
3820 CC=$ac_cv_prog_CC
3821 if test -n "$CC"; then
3822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3823 $as_echo "$CC" >&6; }
3824 else
3825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 fi
3828
3829
3830 fi
3831 if test -z "$CC"; then
3832   if test -n "$ac_tool_prefix"; then
3833   for ac_prog in cl.exe
3834   do
3835     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if test "${ac_cv_prog_CC+set}" = set; then :
3840   $as_echo_n "(cached) " >&6
3841 else
3842   if test -n "$CC"; then
3843   ac_cv_prog_CC="$CC" # Let the user override the test.
3844 else
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH
3847 do
3848   IFS=$as_save_IFS
3849   test -z "$as_dir" && as_dir=.
3850     for ac_exec_ext in '' $ac_executable_extensions; do
3851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3853     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854     break 2
3855   fi
3856 done
3857   done
3858 IFS=$as_save_IFS
3859
3860 fi
3861 fi
3862 CC=$ac_cv_prog_CC
3863 if test -n "$CC"; then
3864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3865 $as_echo "$CC" >&6; }
3866 else
3867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3869 fi
3870
3871
3872     test -n "$CC" && break
3873   done
3874 fi
3875 if test -z "$CC"; then
3876   ac_ct_CC=$CC
3877   for ac_prog in cl.exe
3878 do
3879   # Extract the first word of "$ac_prog", so it can be a program name with args.
3880 set dummy $ac_prog; ac_word=$2
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3882 $as_echo_n "checking for $ac_word... " >&6; }
3883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3884   $as_echo_n "(cached) " >&6
3885 else
3886   if test -n "$ac_ct_CC"; then
3887   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3888 else
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 for as_dir in $PATH
3891 do
3892   IFS=$as_save_IFS
3893   test -z "$as_dir" && as_dir=.
3894     for ac_exec_ext in '' $ac_executable_extensions; do
3895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3896     ac_cv_prog_ac_ct_CC="$ac_prog"
3897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3898     break 2
3899   fi
3900 done
3901   done
3902 IFS=$as_save_IFS
3903
3904 fi
3905 fi
3906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3907 if test -n "$ac_ct_CC"; then
3908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3909 $as_echo "$ac_ct_CC" >&6; }
3910 else
3911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 $as_echo "no" >&6; }
3913 fi
3914
3915
3916   test -n "$ac_ct_CC" && break
3917 done
3918
3919   if test "x$ac_ct_CC" = x; then
3920     CC=""
3921   else
3922     case $cross_compiling:$ac_tool_warned in
3923 yes:)
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3926 ac_tool_warned=yes ;;
3927 esac
3928     CC=$ac_ct_CC
3929   fi
3930 fi
3931
3932 fi
3933
3934
3935 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3937 as_fn_error $? "no acceptable C compiler found in \$PATH
3938 See \`config.log' for more details" "$LINENO" 5 ; }
3939
3940 # Provide some information about the compiler.
3941 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3942 set X $ac_compile
3943 ac_compiler=$2
3944 for ac_option in --version -v -V -qversion; do
3945   { { ac_try="$ac_compiler $ac_option >&5"
3946 case "(($ac_try" in
3947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948   *) ac_try_echo=$ac_try;;
3949 esac
3950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3951 $as_echo "$ac_try_echo"; } >&5
3952   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3953   ac_status=$?
3954   if test -s conftest.err; then
3955     sed '10a\
3956 ... rest of stderr output deleted ...
3957          10q' conftest.err >conftest.er1
3958     cat conftest.er1 >&5
3959   fi
3960   rm -f conftest.er1 conftest.err
3961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962   test $ac_status = 0; }
3963 done
3964
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h.  */
3967
3968 int
3969 main ()
3970 {
3971
3972   ;
3973   return 0;
3974 }
3975 _ACEOF
3976 ac_clean_files_save=$ac_clean_files
3977 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3978 # Try to create an executable without -o first, disregard a.out.
3979 # It will help us diagnose broken compilers, and finding out an intuition
3980 # of exeext.
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3982 $as_echo_n "checking whether the C compiler works... " >&6; }
3983 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3984
3985 # The possible output files:
3986 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3987
3988 ac_rmfiles=
3989 for ac_file in $ac_files
3990 do
3991   case $ac_file in
3992     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3993     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3994   esac
3995 done
3996 rm -f $ac_rmfiles
3997
3998 if { { ac_try="$ac_link_default"
3999 case "(($ac_try" in
4000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001   *) ac_try_echo=$ac_try;;
4002 esac
4003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4004 $as_echo "$ac_try_echo"; } >&5
4005   (eval "$ac_link_default") 2>&5
4006   ac_status=$?
4007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008   test $ac_status = 0; }; then :
4009   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4010 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4011 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4012 # so that the user can short-circuit this test for compilers unknown to
4013 # Autoconf.
4014 for ac_file in $ac_files ''
4015 do
4016   test -f "$ac_file" || continue
4017   case $ac_file in
4018     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4019         ;;
4020     [ab].out )
4021         # We found the default executable, but exeext='' is most
4022         # certainly right.
4023         break;;
4024     *.* )
4025         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4026         then :; else
4027            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4028         fi
4029         # We set ac_cv_exeext here because the later test for it is not
4030         # safe: cross compilers may not add the suffix if given an `-o'
4031         # argument, so we may need to know it at that point already.
4032         # Even if this section looks crufty: it has the advantage of
4033         # actually working.
4034         break;;
4035     * )
4036         break;;
4037   esac
4038 done
4039 test "$ac_cv_exeext" = no && ac_cv_exeext=
4040
4041 else
4042   ac_file=''
4043 fi
4044 if test -z "$ac_file"; then :
4045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4046 $as_echo "no" >&6; }
4047 $as_echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.$ac_ext >&5
4049
4050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4052 as_fn_error 77 "C compiler cannot create executables
4053 See \`config.log' for more details" "$LINENO" 5 ; }
4054 else
4055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4056 $as_echo "yes" >&6; }
4057 fi
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4059 $as_echo_n "checking for C compiler default output file name... " >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4061 $as_echo "$ac_file" >&6; }
4062 ac_exeext=$ac_cv_exeext
4063
4064 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4065 ac_clean_files=$ac_clean_files_save
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4067 $as_echo_n "checking for suffix of executables... " >&6; }
4068 if { { ac_try="$ac_link"
4069 case "(($ac_try" in
4070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071   *) ac_try_echo=$ac_try;;
4072 esac
4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075   (eval "$ac_link") 2>&5
4076   ac_status=$?
4077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078   test $ac_status = 0; }; then :
4079   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4080 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4081 # work properly (i.e., refer to `conftest.exe'), while it won't with
4082 # `rm'.
4083 for ac_file in conftest.exe conftest conftest.*; do
4084   test -f "$ac_file" || continue
4085   case $ac_file in
4086     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4087     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4088           break;;
4089     * ) break;;
4090   esac
4091 done
4092 else
4093   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4095 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4096 See \`config.log' for more details" "$LINENO" 5 ; }
4097 fi
4098 rm -f conftest conftest$ac_cv_exeext
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4100 $as_echo "$ac_cv_exeext" >&6; }
4101
4102 rm -f conftest.$ac_ext
4103 EXEEXT=$ac_cv_exeext
4104 ac_exeext=$EXEEXT
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h.  */
4107 #include <stdio.h>
4108 int
4109 main ()
4110 {
4111 FILE *f = fopen ("conftest.out", "w");
4112  return ferror (f) || fclose (f) != 0;
4113
4114   ;
4115   return 0;
4116 }
4117 _ACEOF
4118 ac_clean_files="$ac_clean_files conftest.out"
4119 # Check that the compiler produces executables we can run.  If not, either
4120 # the compiler is broken, or we cross compile.
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4122 $as_echo_n "checking whether we are cross compiling... " >&6; }
4123 if test "$cross_compiling" != yes; then
4124   { { ac_try="$ac_link"
4125 case "(($ac_try" in
4126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127   *) ac_try_echo=$ac_try;;
4128 esac
4129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4130 $as_echo "$ac_try_echo"; } >&5
4131   (eval "$ac_link") 2>&5
4132   ac_status=$?
4133   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4134   test $ac_status = 0; }
4135   if { ac_try='./conftest$ac_cv_exeext'
4136   { { case "(($ac_try" in
4137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138   *) ac_try_echo=$ac_try;;
4139 esac
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142   (eval "$ac_try") 2>&5
4143   ac_status=$?
4144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145   test $ac_status = 0; }; }; then
4146     cross_compiling=no
4147   else
4148     if test "$cross_compiling" = maybe; then
4149         cross_compiling=yes
4150     else
4151         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4153 as_fn_error $? "cannot run C compiled programs.
4154 If you meant to cross compile, use \`--host'.
4155 See \`config.log' for more details" "$LINENO" 5 ; }
4156     fi
4157   fi
4158 fi
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4160 $as_echo "$cross_compiling" >&6; }
4161
4162 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4163 ac_clean_files=$ac_clean_files_save
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4165 $as_echo_n "checking for suffix of object files... " >&6; }
4166 if test "${ac_cv_objext+set}" = set; then :
4167   $as_echo_n "(cached) " >&6
4168 else
4169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h.  */
4171
4172 int
4173 main ()
4174 {
4175
4176   ;
4177   return 0;
4178 }
4179 _ACEOF
4180 rm -f conftest.o conftest.obj
4181 if { { ac_try="$ac_compile"
4182 case "(($ac_try" in
4183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184   *) ac_try_echo=$ac_try;;
4185 esac
4186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187 $as_echo "$ac_try_echo"; } >&5
4188   (eval "$ac_compile") 2>&5
4189   ac_status=$?
4190   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191   test $ac_status = 0; }; then :
4192   for ac_file in conftest.o conftest.obj conftest.*; do
4193   test -f "$ac_file" || continue;
4194   case $ac_file in
4195     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4196     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4197        break;;
4198   esac
4199 done
4200 else
4201   $as_echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4203
4204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4206 as_fn_error $? "cannot compute suffix of object files: cannot compile
4207 See \`config.log' for more details" "$LINENO" 5 ; }
4208 fi
4209 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4210 fi
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4212 $as_echo "$ac_cv_objext" >&6; }
4213 OBJEXT=$ac_cv_objext
4214 ac_objext=$OBJEXT
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4216 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4217 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4218   $as_echo_n "(cached) " >&6
4219 else
4220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h.  */
4222
4223 int
4224 main ()
4225 {
4226 #ifndef __GNUC__
4227        choke me
4228 #endif
4229
4230   ;
4231   return 0;
4232 }
4233 _ACEOF
4234 if ac_fn_c_try_compile "$LINENO"; then :
4235   ac_compiler_gnu=yes
4236 else
4237   ac_compiler_gnu=no
4238 fi
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4241
4242 fi
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4244 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4245 if test $ac_compiler_gnu = yes; then
4246   GCC=yes
4247 else
4248   GCC=
4249 fi
4250 ac_test_CFLAGS=${CFLAGS+set}
4251 ac_save_CFLAGS=$CFLAGS
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4253 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4254 if test "${ac_cv_prog_cc_g+set}" = set; then :
4255   $as_echo_n "(cached) " >&6
4256 else
4257   ac_save_c_werror_flag=$ac_c_werror_flag
4258    ac_c_werror_flag=yes
4259    ac_cv_prog_cc_g=no
4260    CFLAGS="-g"
4261    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h.  */
4263
4264 int
4265 main ()
4266 {
4267
4268   ;
4269   return 0;
4270 }
4271 _ACEOF
4272 if ac_fn_c_try_compile "$LINENO"; then :
4273   ac_cv_prog_cc_g=yes
4274 else
4275   CFLAGS=""
4276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h.  */
4278
4279 int
4280 main ()
4281 {
4282
4283   ;
4284   return 0;
4285 }
4286 _ACEOF
4287 if ac_fn_c_try_compile "$LINENO"; then :
4288
4289 else
4290   ac_c_werror_flag=$ac_save_c_werror_flag
4291          CFLAGS="-g"
4292          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h.  */
4294
4295 int
4296 main ()
4297 {
4298
4299   ;
4300   return 0;
4301 }
4302 _ACEOF
4303 if ac_fn_c_try_compile "$LINENO"; then :
4304   ac_cv_prog_cc_g=yes
4305 fi
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 fi
4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4309 fi
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4311    ac_c_werror_flag=$ac_save_c_werror_flag
4312 fi
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4314 $as_echo "$ac_cv_prog_cc_g" >&6; }
4315 if test "$ac_test_CFLAGS" = set; then
4316   CFLAGS=$ac_save_CFLAGS
4317 elif test $ac_cv_prog_cc_g = yes; then
4318   if test "$GCC" = yes; then
4319     CFLAGS="-g -O2"
4320   else
4321     CFLAGS="-g"
4322   fi
4323 else
4324   if test "$GCC" = yes; then
4325     CFLAGS="-O2"
4326   else
4327     CFLAGS=
4328   fi
4329 fi
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4331 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4332 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4333   $as_echo_n "(cached) " >&6
4334 else
4335   ac_cv_prog_cc_c89=no
4336 ac_save_CC=$CC
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h.  */
4339 #include <stdarg.h>
4340 #include <stdio.h>
4341 #include <sys/types.h>
4342 #include <sys/stat.h>
4343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4344 struct buf { int x; };
4345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4346 static char *e (p, i)
4347      char **p;
4348      int i;
4349 {
4350   return p[i];
4351 }
4352 static char *f (char * (*g) (char **, int), char **p, ...)
4353 {
4354   char *s;
4355   va_list v;
4356   va_start (v,p);
4357   s = g (p, va_arg (v,int));
4358   va_end (v);
4359   return s;
4360 }
4361
4362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4363    function prototypes and stuff, but not '\xHH' hex character constants.
4364    These don't provoke an error unfortunately, instead are silently treated
4365    as 'x'.  The following induces an error, until -std is added to get
4366    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4367    array size at least.  It's necessary to write '\x00'==0 to get something
4368    that's true only with -std.  */
4369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4370
4371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4372    inside strings and character constants.  */
4373 #define FOO(x) 'x'
4374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4375
4376 int test (int i, double x);
4377 struct s1 {int (*f) (int a);};
4378 struct s2 {int (*f) (double a);};
4379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4380 int argc;
4381 char **argv;
4382 int
4383 main ()
4384 {
4385 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4386   ;
4387   return 0;
4388 }
4389 _ACEOF
4390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4391         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4392 do
4393   CC="$ac_save_CC $ac_arg"
4394   if ac_fn_c_try_compile "$LINENO"; then :
4395   ac_cv_prog_cc_c89=$ac_arg
4396 fi
4397 rm -f core conftest.err conftest.$ac_objext
4398   test "x$ac_cv_prog_cc_c89" != "xno" && break
4399 done
4400 rm -f conftest.$ac_ext
4401 CC=$ac_save_CC
4402
4403 fi
4404 # AC_CACHE_VAL
4405 case "x$ac_cv_prog_cc_c89" in
4406   x)
4407     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4408 $as_echo "none needed" >&6; } ;;
4409   xno)
4410     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4411 $as_echo "unsupported" >&6; } ;;
4412   *)
4413     CC="$CC $ac_cv_prog_cc_c89"
4414     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4416 esac
4417 if test "x$ac_cv_prog_cc_c89" != xno; then :
4418
4419 fi
4420
4421 ac_ext=c
4422 ac_cpp='$CPP $CPPFLAGS'
4423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4426
4427 depcc="$CC"   am_compiler_list=
4428
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4430 $as_echo_n "checking dependency style of $depcc... " >&6; }
4431 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4432   $as_echo_n "(cached) " >&6
4433 else
4434   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4435   # We make a subdir and do the tests there.  Otherwise we can end up
4436   # making bogus files that we don't know about and never remove.  For
4437   # instance it was reported that on HP-UX the gcc test will end up
4438   # making a dummy file named `D' -- because `-MD' means `put the output
4439   # in D'.
4440   mkdir conftest.dir
4441   # Copy depcomp to subdir because otherwise we won't find it if we're
4442   # using a relative directory.
4443   cp "$am_depcomp" conftest.dir
4444   cd conftest.dir
4445   # We will build objects and dependencies in a subdirectory because
4446   # it helps to detect inapplicable dependency modes.  For instance
4447   # both Tru64's cc and ICC support -MD to output dependencies as a
4448   # side effect of compilation, but ICC will put the dependencies in
4449   # the current directory while Tru64 will put them in the object
4450   # directory.
4451   mkdir sub
4452
4453   am_cv_CC_dependencies_compiler_type=none
4454   if test "$am_compiler_list" = ""; then
4455      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4456   fi
4457   am__universal=false
4458   case " $depcc " in #(
4459      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4460      esac
4461
4462   for depmode in $am_compiler_list; do
4463     # Setup a source with many dependencies, because some compilers
4464     # like to wrap large dependency lists on column 80 (with \), and
4465     # we should not choose a depcomp mode which is confused by this.
4466     #
4467     # We need to recreate these files for each test, as the compiler may
4468     # overwrite some of them when testing with obscure command lines.
4469     # This happens at least with the AIX C compiler.
4470     : > sub/conftest.c
4471     for i in 1 2 3 4 5 6; do
4472       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4473       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4474       # Solaris 8's {/usr,}/bin/sh.
4475       touch sub/conftst$i.h
4476     done
4477     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4478
4479     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4480     # mode.  It turns out that the SunPro C++ compiler does not properly
4481     # handle `-M -o', and we need to detect this.  Also, some Intel
4482     # versions had trouble with output in subdirs
4483     am__obj=sub/conftest.${OBJEXT-o}
4484     am__minus_obj="-o $am__obj"
4485     case $depmode in
4486     gcc)
4487       # This depmode causes a compiler race in universal mode.
4488       test "$am__universal" = false || continue
4489       ;;
4490     nosideeffect)
4491       # after this tag, mechanisms are not by side-effect, so they'll
4492       # only be used when explicitly requested
4493       if test "x$enable_dependency_tracking" = xyes; then
4494         continue
4495       else
4496         break
4497       fi
4498       ;;
4499     msvisualcpp | msvcmsys)
4500       # This compiler won't grok `-c -o', but also, the minuso test has
4501       # not run yet.  These depmodes are late enough in the game, and
4502       # so weak that their functioning should not be impacted.
4503       am__obj=conftest.${OBJEXT-o}
4504       am__minus_obj=
4505       ;;
4506     none) break ;;
4507     esac
4508     if depmode=$depmode \
4509        source=sub/conftest.c object=$am__obj \
4510        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4511        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4512          >/dev/null 2>conftest.err &&
4513        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4514        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4515        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4516        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4517       # icc doesn't choke on unknown options, it will just issue warnings
4518       # or remarks (even with -Werror).  So we grep stderr for any message
4519       # that says an option was ignored or not supported.
4520       # When given -MP, icc 7.0 and 7.1 complain thusly:
4521       #   icc: Command line warning: ignoring option '-M'; no argument required
4522       # The diagnosis changed in icc 8.0:
4523       #   icc: Command line remark: option '-MP' not supported
4524       if (grep 'ignoring option' conftest.err ||
4525           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4526         am_cv_CC_dependencies_compiler_type=$depmode
4527         break
4528       fi
4529     fi
4530   done
4531
4532   cd ..
4533   rm -rf conftest.dir
4534 else
4535   am_cv_CC_dependencies_compiler_type=none
4536 fi
4537
4538 fi
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4540 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4541 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4542
4543  if
4544   test "x$enable_dependency_tracking" != xno \
4545   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4546   am__fastdepCC_TRUE=
4547   am__fastdepCC_FALSE='#'
4548 else
4549   am__fastdepCC_TRUE='#'
4550   am__fastdepCC_FALSE=
4551 fi
4552
4553
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4555 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4556 if test "${ac_cv_path_SED+set}" = set; then :
4557   $as_echo_n "(cached) " >&6
4558 else
4559             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4560      for ac_i in 1 2 3 4 5 6 7; do
4561        ac_script="$ac_script$as_nl$ac_script"
4562      done
4563      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4564      { ac_script=; unset ac_script;}
4565      if test -z "$SED"; then
4566   ac_path_SED_found=false
4567   # Loop through the user's path and test for each of PROGNAME-LIST
4568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH
4570 do
4571   IFS=$as_save_IFS
4572   test -z "$as_dir" && as_dir=.
4573     for ac_prog in sed gsed; do
4574     for ac_exec_ext in '' $ac_executable_extensions; do
4575       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4576       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4577 # Check for GNU ac_path_SED and select it if it is found.
4578   # Check for GNU $ac_path_SED
4579 case `"$ac_path_SED" --version 2>&1` in
4580 *GNU*)
4581   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4582 *)
4583   ac_count=0
4584   $as_echo_n 0123456789 >"conftest.in"
4585   while :
4586   do
4587     cat "conftest.in" "conftest.in" >"conftest.tmp"
4588     mv "conftest.tmp" "conftest.in"
4589     cp "conftest.in" "conftest.nl"
4590     $as_echo '' >> "conftest.nl"
4591     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4592     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4593     as_fn_arith $ac_count + 1 && ac_count=$as_val
4594     if test $ac_count -gt ${ac_path_SED_max-0}; then
4595       # Best one so far, save it but keep looking for a better one
4596       ac_cv_path_SED="$ac_path_SED"
4597       ac_path_SED_max=$ac_count
4598     fi
4599     # 10*(2^10) chars as input seems more than enough
4600     test $ac_count -gt 10 && break
4601   done
4602   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4603 esac
4604
4605       $ac_path_SED_found && break 3
4606     done
4607   done
4608   done
4609 IFS=$as_save_IFS
4610   if test -z "$ac_cv_path_SED"; then
4611     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4612   fi
4613 else
4614   ac_cv_path_SED=$SED
4615 fi
4616
4617 fi
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4619 $as_echo "$ac_cv_path_SED" >&6; }
4620  SED="$ac_cv_path_SED"
4621   rm -f conftest.sed
4622
4623 test -z "$SED" && SED=sed
4624 Xsed="$SED -e 1s/^X//"
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4637 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4638 if test "${ac_cv_path_GREP+set}" = set; then :
4639   $as_echo_n "(cached) " >&6
4640 else
4641   if test -z "$GREP"; then
4642   ac_path_GREP_found=false
4643   # Loop through the user's path and test for each of PROGNAME-LIST
4644   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4645 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4646 do
4647   IFS=$as_save_IFS
4648   test -z "$as_dir" && as_dir=.
4649     for ac_prog in grep ggrep; do
4650     for ac_exec_ext in '' $ac_executable_extensions; do
4651       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4652       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4653 # Check for GNU ac_path_GREP and select it if it is found.
4654   # Check for GNU $ac_path_GREP
4655 case `"$ac_path_GREP" --version 2>&1` in
4656 *GNU*)
4657   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4658 *)
4659   ac_count=0
4660   $as_echo_n 0123456789 >"conftest.in"
4661   while :
4662   do
4663     cat "conftest.in" "conftest.in" >"conftest.tmp"
4664     mv "conftest.tmp" "conftest.in"
4665     cp "conftest.in" "conftest.nl"
4666     $as_echo 'GREP' >> "conftest.nl"
4667     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4668     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4669     as_fn_arith $ac_count + 1 && ac_count=$as_val
4670     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4671       # Best one so far, save it but keep looking for a better one
4672       ac_cv_path_GREP="$ac_path_GREP"
4673       ac_path_GREP_max=$ac_count
4674     fi
4675     # 10*(2^10) chars as input seems more than enough
4676     test $ac_count -gt 10 && break
4677   done
4678   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4679 esac
4680
4681       $ac_path_GREP_found && break 3
4682     done
4683   done
4684   done
4685 IFS=$as_save_IFS
4686   if test -z "$ac_cv_path_GREP"; then
4687     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4688   fi
4689 else
4690   ac_cv_path_GREP=$GREP
4691 fi
4692
4693 fi
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4695 $as_echo "$ac_cv_path_GREP" >&6; }
4696  GREP="$ac_cv_path_GREP"
4697
4698
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4700 $as_echo_n "checking for egrep... " >&6; }
4701 if test "${ac_cv_path_EGREP+set}" = set; then :
4702   $as_echo_n "(cached) " >&6
4703 else
4704   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4705    then ac_cv_path_EGREP="$GREP -E"
4706    else
4707      if test -z "$EGREP"; then
4708   ac_path_EGREP_found=false
4709   # Loop through the user's path and test for each of PROGNAME-LIST
4710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4712 do
4713   IFS=$as_save_IFS
4714   test -z "$as_dir" && as_dir=.
4715     for ac_prog in egrep; do
4716     for ac_exec_ext in '' $ac_executable_extensions; do
4717       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4718       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4719 # Check for GNU ac_path_EGREP and select it if it is found.
4720   # Check for GNU $ac_path_EGREP
4721 case `"$ac_path_EGREP" --version 2>&1` in
4722 *GNU*)
4723   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4724 *)
4725   ac_count=0
4726   $as_echo_n 0123456789 >"conftest.in"
4727   while :
4728   do
4729     cat "conftest.in" "conftest.in" >"conftest.tmp"
4730     mv "conftest.tmp" "conftest.in"
4731     cp "conftest.in" "conftest.nl"
4732     $as_echo 'EGREP' >> "conftest.nl"
4733     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4734     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4735     as_fn_arith $ac_count + 1 && ac_count=$as_val
4736     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4737       # Best one so far, save it but keep looking for a better one
4738       ac_cv_path_EGREP="$ac_path_EGREP"
4739       ac_path_EGREP_max=$ac_count
4740     fi
4741     # 10*(2^10) chars as input seems more than enough
4742     test $ac_count -gt 10 && break
4743   done
4744   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4745 esac
4746
4747       $ac_path_EGREP_found && break 3
4748     done
4749   done
4750   done
4751 IFS=$as_save_IFS
4752   if test -z "$ac_cv_path_EGREP"; then
4753     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4754   fi
4755 else
4756   ac_cv_path_EGREP=$EGREP
4757 fi
4758
4759    fi
4760 fi
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4762 $as_echo "$ac_cv_path_EGREP" >&6; }
4763  EGREP="$ac_cv_path_EGREP"
4764
4765
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4767 $as_echo_n "checking for fgrep... " >&6; }
4768 if test "${ac_cv_path_FGREP+set}" = set; then :
4769   $as_echo_n "(cached) " >&6
4770 else
4771   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4772    then ac_cv_path_FGREP="$GREP -F"
4773    else
4774      if test -z "$FGREP"; then
4775   ac_path_FGREP_found=false
4776   # Loop through the user's path and test for each of PROGNAME-LIST
4777   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4779 do
4780   IFS=$as_save_IFS
4781   test -z "$as_dir" && as_dir=.
4782     for ac_prog in fgrep; do
4783     for ac_exec_ext in '' $ac_executable_extensions; do
4784       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4785       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4786 # Check for GNU ac_path_FGREP and select it if it is found.
4787   # Check for GNU $ac_path_FGREP
4788 case `"$ac_path_FGREP" --version 2>&1` in
4789 *GNU*)
4790   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4791 *)
4792   ac_count=0
4793   $as_echo_n 0123456789 >"conftest.in"
4794   while :
4795   do
4796     cat "conftest.in" "conftest.in" >"conftest.tmp"
4797     mv "conftest.tmp" "conftest.in"
4798     cp "conftest.in" "conftest.nl"
4799     $as_echo 'FGREP' >> "conftest.nl"
4800     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4801     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4802     as_fn_arith $ac_count + 1 && ac_count=$as_val
4803     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4804       # Best one so far, save it but keep looking for a better one
4805       ac_cv_path_FGREP="$ac_path_FGREP"
4806       ac_path_FGREP_max=$ac_count
4807     fi
4808     # 10*(2^10) chars as input seems more than enough
4809     test $ac_count -gt 10 && break
4810   done
4811   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4812 esac
4813
4814       $ac_path_FGREP_found && break 3
4815     done
4816   done
4817   done
4818 IFS=$as_save_IFS
4819   if test -z "$ac_cv_path_FGREP"; then
4820     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4821   fi
4822 else
4823   ac_cv_path_FGREP=$FGREP
4824 fi
4825
4826    fi
4827 fi
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4829 $as_echo "$ac_cv_path_FGREP" >&6; }
4830  FGREP="$ac_cv_path_FGREP"
4831
4832
4833 test -z "$GREP" && GREP=grep
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853 # Check whether --with-gnu-ld was given.
4854 if test "${with_gnu_ld+set}" = set; then :
4855   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4856 else
4857   with_gnu_ld=no
4858 fi
4859
4860 ac_prog=ld
4861 if test "$GCC" = yes; then
4862   # Check if gcc -print-prog-name=ld gives a path.
4863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4864 $as_echo_n "checking for ld used by $CC... " >&6; }
4865   case $host in
4866   *-*-mingw*)
4867     # gcc leaves a trailing carriage return which upsets mingw
4868     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4869   *)
4870     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4871   esac
4872   case $ac_prog in
4873     # Accept absolute paths.
4874     [\\/]* | ?:[\\/]*)
4875       re_direlt='/[^/][^/]*/\.\./'
4876       # Canonicalize the pathname of ld
4877       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4878       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4879         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4880       done
4881       test -z "$LD" && LD="$ac_prog"
4882       ;;
4883   "")
4884     # If it fails, then pretend we aren't using GCC.
4885     ac_prog=ld
4886     ;;
4887   *)
4888     # If it is relative, then search for the first ld in PATH.
4889     with_gnu_ld=unknown
4890     ;;
4891   esac
4892 elif test "$with_gnu_ld" = yes; then
4893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4894 $as_echo_n "checking for GNU ld... " >&6; }
4895 else
4896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4897 $as_echo_n "checking for non-GNU ld... " >&6; }
4898 fi
4899 if test "${lt_cv_path_LD+set}" = set; then :
4900   $as_echo_n "(cached) " >&6
4901 else
4902   if test -z "$LD"; then
4903   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4904   for ac_dir in $PATH; do
4905     IFS="$lt_save_ifs"
4906     test -z "$ac_dir" && ac_dir=.
4907     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4908       lt_cv_path_LD="$ac_dir/$ac_prog"
4909       # Check to see if the program is GNU ld.  I'd rather use --version,
4910       # but apparently some variants of GNU ld only accept -v.
4911       # Break only if it was the GNU/non-GNU ld that we prefer.
4912       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4913       *GNU* | *'with BFD'*)
4914         test "$with_gnu_ld" != no && break
4915         ;;
4916       *)
4917         test "$with_gnu_ld" != yes && break
4918         ;;
4919       esac
4920     fi
4921   done
4922   IFS="$lt_save_ifs"
4923 else
4924   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4925 fi
4926 fi
4927
4928 LD="$lt_cv_path_LD"
4929 if test -n "$LD"; then
4930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4931 $as_echo "$LD" >&6; }
4932 else
4933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935 fi
4936 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4938 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4939 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4940   $as_echo_n "(cached) " >&6
4941 else
4942   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4943 case `$LD -v 2>&1 </dev/null` in
4944 *GNU* | *'with BFD'*)
4945   lt_cv_prog_gnu_ld=yes
4946   ;;
4947 *)
4948   lt_cv_prog_gnu_ld=no
4949   ;;
4950 esac
4951 fi
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4953 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4954 with_gnu_ld=$lt_cv_prog_gnu_ld
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4965 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4966 if test "${lt_cv_path_NM+set}" = set; then :
4967   $as_echo_n "(cached) " >&6
4968 else
4969   if test -n "$NM"; then
4970   # Let the user override the test.
4971   lt_cv_path_NM="$NM"
4972 else
4973   lt_nm_to_check="${ac_tool_prefix}nm"
4974   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4975     lt_nm_to_check="$lt_nm_to_check nm"
4976   fi
4977   for lt_tmp_nm in $lt_nm_to_check; do
4978     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4979     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4980       IFS="$lt_save_ifs"
4981       test -z "$ac_dir" && ac_dir=.
4982       tmp_nm="$ac_dir/$lt_tmp_nm"
4983       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4984         # Check to see if the nm accepts a BSD-compat flag.
4985         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4986         #   nm: unknown option "B" ignored
4987         # Tru64's nm complains that /dev/null is an invalid object file
4988         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4989         */dev/null* | *'Invalid file or object type'*)
4990           lt_cv_path_NM="$tmp_nm -B"
4991           break
4992           ;;
4993         *)
4994           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4995           */dev/null*)
4996             lt_cv_path_NM="$tmp_nm -p"
4997             break
4998             ;;
4999           *)
5000             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5001             continue # so that we can try to find one that supports BSD flags
5002             ;;
5003           esac
5004           ;;
5005         esac
5006       fi
5007     done
5008     IFS="$lt_save_ifs"
5009   done
5010   : ${lt_cv_path_NM=no}
5011 fi
5012 fi
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5014 $as_echo "$lt_cv_path_NM" >&6; }
5015 if test "$lt_cv_path_NM" != "no"; then
5016   NM="$lt_cv_path_NM"
5017 else
5018   # Didn't find any BSD compatible name lister, look for dumpbin.
5019   if test -n "$ac_tool_prefix"; then
5020   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5021   do
5022     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5027   $as_echo_n "(cached) " >&6
5028 else
5029   if test -n "$DUMPBIN"; then
5030   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5034 do
5035   IFS=$as_save_IFS
5036   test -z "$as_dir" && as_dir=.
5037     for ac_exec_ext in '' $ac_executable_extensions; do
5038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041     break 2
5042   fi
5043 done
5044   done
5045 IFS=$as_save_IFS
5046
5047 fi
5048 fi
5049 DUMPBIN=$ac_cv_prog_DUMPBIN
5050 if test -n "$DUMPBIN"; then
5051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5052 $as_echo "$DUMPBIN" >&6; }
5053 else
5054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5056 fi
5057
5058
5059     test -n "$DUMPBIN" && break
5060   done
5061 fi
5062 if test -z "$DUMPBIN"; then
5063   ac_ct_DUMPBIN=$DUMPBIN
5064   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5065 do
5066   # Extract the first word of "$ac_prog", so it can be a program name with args.
5067 set dummy $ac_prog; ac_word=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5071   $as_echo_n "(cached) " >&6
5072 else
5073   if test -n "$ac_ct_DUMPBIN"; then
5074   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5075 else
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 for as_dir in $PATH
5078 do
5079   IFS=$as_save_IFS
5080   test -z "$as_dir" && as_dir=.
5081     for ac_exec_ext in '' $ac_executable_extensions; do
5082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085     break 2
5086   fi
5087 done
5088   done
5089 IFS=$as_save_IFS
5090
5091 fi
5092 fi
5093 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5094 if test -n "$ac_ct_DUMPBIN"; then
5095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5096 $as_echo "$ac_ct_DUMPBIN" >&6; }
5097 else
5098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5100 fi
5101
5102
5103   test -n "$ac_ct_DUMPBIN" && break
5104 done
5105
5106   if test "x$ac_ct_DUMPBIN" = x; then
5107     DUMPBIN=":"
5108   else
5109     case $cross_compiling:$ac_tool_warned in
5110 yes:)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5113 ac_tool_warned=yes ;;
5114 esac
5115     DUMPBIN=$ac_ct_DUMPBIN
5116   fi
5117 fi
5118
5119
5120   if test "$DUMPBIN" != ":"; then
5121     NM="$DUMPBIN"
5122   fi
5123 fi
5124 test -z "$NM" && NM=nm
5125
5126
5127
5128
5129
5130
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5132 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5133 if test "${lt_cv_nm_interface+set}" = set; then :
5134   $as_echo_n "(cached) " >&6
5135 else
5136   lt_cv_nm_interface="BSD nm"
5137   echo "int some_variable = 0;" > conftest.$ac_ext
5138   (eval echo "\"\$as_me:5138: $ac_compile\"" >&5)
5139   (eval "$ac_compile" 2>conftest.err)
5140   cat conftest.err >&5
5141   (eval echo "\"\$as_me:5141: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5142   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5143   cat conftest.err >&5
5144   (eval echo "\"\$as_me:5144: output\"" >&5)
5145   cat conftest.out >&5
5146   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5147     lt_cv_nm_interface="MS dumpbin"
5148   fi
5149   rm -f conftest*
5150 fi
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5152 $as_echo "$lt_cv_nm_interface" >&6; }
5153
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5155 $as_echo_n "checking whether ln -s works... " >&6; }
5156 LN_S=$as_ln_s
5157 if test "$LN_S" = "ln -s"; then
5158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5159 $as_echo "yes" >&6; }
5160 else
5161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5162 $as_echo "no, using $LN_S" >&6; }
5163 fi
5164
5165 # find the maximum length of command line arguments
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5167 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5168 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5169   $as_echo_n "(cached) " >&6
5170 else
5171     i=0
5172   teststring="ABCD"
5173
5174   case $build_os in
5175   msdosdjgpp*)
5176     # On DJGPP, this test can blow up pretty badly due to problems in libc
5177     # (any single argument exceeding 2000 bytes causes a buffer overrun
5178     # during glob expansion).  Even if it were fixed, the result of this
5179     # check would be larger than it should be.
5180     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5181     ;;
5182
5183   gnu*)
5184     # Under GNU Hurd, this test is not required because there is
5185     # no limit to the length of command line arguments.
5186     # Libtool will interpret -1 as no limit whatsoever
5187     lt_cv_sys_max_cmd_len=-1;
5188     ;;
5189
5190   cygwin* | mingw* | cegcc*)
5191     # On Win9x/ME, this test blows up -- it succeeds, but takes
5192     # about 5 minutes as the teststring grows exponentially.
5193     # Worse, since 9x/ME are not pre-emptively multitasking,
5194     # you end up with a "frozen" computer, even though with patience
5195     # the test eventually succeeds (with a max line length of 256k).
5196     # Instead, let's just punt: use the minimum linelength reported by
5197     # all of the supported platforms: 8192 (on NT/2K/XP).
5198     lt_cv_sys_max_cmd_len=8192;
5199     ;;
5200
5201   amigaos*)
5202     # On AmigaOS with pdksh, this test takes hours, literally.
5203     # So we just punt and use a minimum line length of 8192.
5204     lt_cv_sys_max_cmd_len=8192;
5205     ;;
5206
5207   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5208     # This has been around since 386BSD, at least.  Likely further.
5209     if test -x /sbin/sysctl; then
5210       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5211     elif test -x /usr/sbin/sysctl; then
5212       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5213     else
5214       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5215     fi
5216     # And add a safety zone
5217     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5218     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5219     ;;
5220
5221   interix*)
5222     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5223     lt_cv_sys_max_cmd_len=196608
5224     ;;
5225
5226   osf*)
5227     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5228     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5229     # nice to cause kernel panics so lets avoid the loop below.
5230     # First set a reasonable default.
5231     lt_cv_sys_max_cmd_len=16384
5232     #
5233     if test -x /sbin/sysconfig; then
5234       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5235         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5236       esac
5237     fi
5238     ;;
5239   sco3.2v5*)
5240     lt_cv_sys_max_cmd_len=102400
5241     ;;
5242   sysv5* | sco5v6* | sysv4.2uw2*)
5243     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5244     if test -n "$kargmax"; then
5245       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5246     else
5247       lt_cv_sys_max_cmd_len=32768
5248     fi
5249     ;;
5250   *)
5251     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5252     if test -n "$lt_cv_sys_max_cmd_len"; then
5253       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5254       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5255     else
5256       # Make teststring a little bigger before we do anything with it.
5257       # a 1K string should be a reasonable start.
5258       for i in 1 2 3 4 5 6 7 8 ; do
5259         teststring=$teststring$teststring
5260       done
5261       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5262       # If test is not a shell built-in, we'll probably end up computing a
5263       # maximum length that is only half of the actual maximum length, but
5264       # we can't tell.
5265       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5266                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5267               test $i != 17 # 1/2 MB should be enough
5268       do
5269         i=`expr $i + 1`
5270         teststring=$teststring$teststring
5271       done
5272       # Only check the string length outside the loop.
5273       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5274       teststring=
5275       # Add a significant safety factor because C++ compilers can tack on
5276       # massive amounts of additional arguments before passing them to the
5277       # linker.  It appears as though 1/2 is a usable value.
5278       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5279     fi
5280     ;;
5281   esac
5282
5283 fi
5284
5285 if test -n $lt_cv_sys_max_cmd_len ; then
5286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5287 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5288 else
5289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5290 $as_echo "none" >&6; }
5291 fi
5292 max_cmd_len=$lt_cv_sys_max_cmd_len
5293
5294
5295
5296
5297
5298
5299 : ${CP="cp -f"}
5300 : ${MV="mv -f"}
5301 : ${RM="rm -f"}
5302
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5304 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5305 # Try some XSI features
5306 xsi_shell=no
5307 ( _lt_dummy="a/b/c"
5308   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5309       = c,a/b,, \
5310     && eval 'test $(( 1 + 1 )) -eq 2 \
5311     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5312   && xsi_shell=yes
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5314 $as_echo "$xsi_shell" >&6; }
5315
5316
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5318 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5319 lt_shell_append=no
5320 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5321     >/dev/null 2>&1 \
5322   && lt_shell_append=yes
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5324 $as_echo "$lt_shell_append" >&6; }
5325
5326
5327 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5328   lt_unset=unset
5329 else
5330   lt_unset=false
5331 fi
5332
5333
5334
5335
5336
5337 # test EBCDIC or ASCII
5338 case `echo X|tr X '\101'` in
5339  A) # ASCII based system
5340     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5341   lt_SP2NL='tr \040 \012'
5342   lt_NL2SP='tr \015\012 \040\040'
5343   ;;
5344  *) # EBCDIC based system
5345   lt_SP2NL='tr \100 \n'
5346   lt_NL2SP='tr \r\n \100\100'
5347   ;;
5348 esac
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5359 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5360 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5361   $as_echo_n "(cached) " >&6
5362 else
5363   lt_cv_ld_reload_flag='-r'
5364 fi
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5366 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5367 reload_flag=$lt_cv_ld_reload_flag
5368 case $reload_flag in
5369 "" | " "*) ;;
5370 *) reload_flag=" $reload_flag" ;;
5371 esac
5372 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5373 case $host_os in
5374   darwin*)
5375     if test "$GCC" = yes; then
5376       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5377     else
5378       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5379     fi
5380     ;;
5381 esac
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391 if test -n "$ac_tool_prefix"; then
5392   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5397   $as_echo_n "(cached) " >&6
5398 else
5399   if test -n "$OBJDUMP"; then
5400   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5404 do
5405   IFS=$as_save_IFS
5406   test -z "$as_dir" && as_dir=.
5407     for ac_exec_ext in '' $ac_executable_extensions; do
5408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411     break 2
5412   fi
5413 done
5414   done
5415 IFS=$as_save_IFS
5416
5417 fi
5418 fi
5419 OBJDUMP=$ac_cv_prog_OBJDUMP
5420 if test -n "$OBJDUMP"; then
5421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5422 $as_echo "$OBJDUMP" >&6; }
5423 else
5424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5426 fi
5427
5428
5429 fi
5430 if test -z "$ac_cv_prog_OBJDUMP"; then
5431   ac_ct_OBJDUMP=$OBJDUMP
5432   # Extract the first word of "objdump", so it can be a program name with args.
5433 set dummy objdump; ac_word=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5437   $as_echo_n "(cached) " >&6
5438 else
5439   if test -n "$ac_ct_OBJDUMP"; then
5440   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5444 do
5445   IFS=$as_save_IFS
5446   test -z "$as_dir" && as_dir=.
5447     for ac_exec_ext in '' $ac_executable_extensions; do
5448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5451     break 2
5452   fi
5453 done
5454   done
5455 IFS=$as_save_IFS
5456
5457 fi
5458 fi
5459 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5460 if test -n "$ac_ct_OBJDUMP"; then
5461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5462 $as_echo "$ac_ct_OBJDUMP" >&6; }
5463 else
5464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5466 fi
5467
5468   if test "x$ac_ct_OBJDUMP" = x; then
5469     OBJDUMP="false"
5470   else
5471     case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5475 ac_tool_warned=yes ;;
5476 esac
5477     OBJDUMP=$ac_ct_OBJDUMP
5478   fi
5479 else
5480   OBJDUMP="$ac_cv_prog_OBJDUMP"
5481 fi
5482
5483 test -z "$OBJDUMP" && OBJDUMP=objdump
5484
5485
5486
5487
5488
5489
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5491 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5492 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5493   $as_echo_n "(cached) " >&6
5494 else
5495   lt_cv_file_magic_cmd='$MAGIC_CMD'
5496 lt_cv_file_magic_test_file=
5497 lt_cv_deplibs_check_method='unknown'
5498 # Need to set the preceding variable on all platforms that support
5499 # interlibrary dependencies.
5500 # 'none' -- dependencies not supported.
5501 # `unknown' -- same as none, but documents that we really don't know.
5502 # 'pass_all' -- all dependencies passed with no checks.
5503 # 'test_compile' -- check by making test program.
5504 # 'file_magic [[regex]]' -- check by looking for files in library path
5505 # which responds to the $file_magic_cmd with a given extended regex.
5506 # If you have `file' or equivalent on your system and you're not sure
5507 # whether `pass_all' will *always* work, you probably want this one.
5508
5509 case $host_os in
5510 aix[4-9]*)
5511   lt_cv_deplibs_check_method=pass_all
5512   ;;
5513
5514 beos*)
5515   lt_cv_deplibs_check_method=pass_all
5516   ;;
5517
5518 bsdi[45]*)
5519   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5520   lt_cv_file_magic_cmd='/usr/bin/file -L'
5521   lt_cv_file_magic_test_file=/shlib/libc.so
5522   ;;
5523
5524 cygwin*)
5525   # func_win32_libid is a shell function defined in ltmain.sh
5526   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5527   lt_cv_file_magic_cmd='func_win32_libid'
5528   ;;
5529
5530 mingw* | pw32*)
5531   # Base MSYS/MinGW do not provide the 'file' command needed by
5532   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5533   # unless we find 'file', for example because we are cross-compiling.
5534   if ( file / ) >/dev/null 2>&1; then
5535     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5536     lt_cv_file_magic_cmd='func_win32_libid'
5537   else
5538     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5539     lt_cv_file_magic_cmd='$OBJDUMP -f'
5540   fi
5541   ;;
5542
5543 cegcc)
5544   # use the weaker test based on 'objdump'. See mingw*.
5545   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5546   lt_cv_file_magic_cmd='$OBJDUMP -f'
5547   ;;
5548
5549 darwin* | rhapsody*)
5550   lt_cv_deplibs_check_method=pass_all
5551   ;;
5552
5553 freebsd* | dragonfly*)
5554   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5555     case $host_cpu in
5556     i*86 )
5557       # Not sure whether the presence of OpenBSD here was a mistake.
5558       # Let's accept both of them until this is cleared up.
5559       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5560       lt_cv_file_magic_cmd=/usr/bin/file
5561       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5562       ;;
5563     esac
5564   else
5565     lt_cv_deplibs_check_method=pass_all
5566   fi
5567   ;;
5568
5569 gnu*)
5570   lt_cv_deplibs_check_method=pass_all
5571   ;;
5572
5573 hpux10.20* | hpux11*)
5574   lt_cv_file_magic_cmd=/usr/bin/file
5575   case $host_cpu in
5576   ia64*)
5577     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5578     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5579     ;;
5580   hppa*64*)
5581     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5582     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5583     ;;
5584   *)
5585     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5586     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5587     ;;
5588   esac
5589   ;;
5590
5591 interix[3-9]*)
5592   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5593   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5594   ;;
5595
5596 irix5* | irix6* | nonstopux*)
5597   case $LD in
5598   *-32|*"-32 ") libmagic=32-bit;;
5599   *-n32|*"-n32 ") libmagic=N32;;
5600   *-64|*"-64 ") libmagic=64-bit;;
5601   *) libmagic=never-match;;
5602   esac
5603   lt_cv_deplibs_check_method=pass_all
5604   ;;
5605
5606 # This must be Linux ELF.
5607 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5608   lt_cv_deplibs_check_method=pass_all
5609   ;;
5610
5611 netbsd* | netbsdelf*-gnu)
5612   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5613     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5614   else
5615     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5616   fi
5617   ;;
5618
5619 newos6*)
5620   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5621   lt_cv_file_magic_cmd=/usr/bin/file
5622   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5623   ;;
5624
5625 *nto* | *qnx*)
5626   lt_cv_deplibs_check_method=pass_all
5627   ;;
5628
5629 openbsd*)
5630   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5631     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5632   else
5633     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5634   fi
5635   ;;
5636
5637 osf3* | osf4* | osf5*)
5638   lt_cv_deplibs_check_method=pass_all
5639   ;;
5640
5641 rdos*)
5642   lt_cv_deplibs_check_method=pass_all
5643   ;;
5644
5645 solaris*)
5646   lt_cv_deplibs_check_method=pass_all
5647   ;;
5648
5649 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5650   lt_cv_deplibs_check_method=pass_all
5651   ;;
5652
5653 sysv4 | sysv4.3*)
5654   case $host_vendor in
5655   motorola)
5656     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]'
5657     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5658     ;;
5659   ncr)
5660     lt_cv_deplibs_check_method=pass_all
5661     ;;
5662   sequent)
5663     lt_cv_file_magic_cmd='/bin/file'
5664     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5665     ;;
5666   sni)
5667     lt_cv_file_magic_cmd='/bin/file'
5668     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5669     lt_cv_file_magic_test_file=/lib/libc.so
5670     ;;
5671   siemens)
5672     lt_cv_deplibs_check_method=pass_all
5673     ;;
5674   pc)
5675     lt_cv_deplibs_check_method=pass_all
5676     ;;
5677   esac
5678   ;;
5679
5680 tpf*)
5681   lt_cv_deplibs_check_method=pass_all
5682   ;;
5683 esac
5684
5685 fi
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5687 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5688 file_magic_cmd=$lt_cv_file_magic_cmd
5689 deplibs_check_method=$lt_cv_deplibs_check_method
5690 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703 if test -n "$ac_tool_prefix"; then
5704   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5705 set dummy ${ac_tool_prefix}ar; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if test "${ac_cv_prog_AR+set}" = set; then :
5709   $as_echo_n "(cached) " >&6
5710 else
5711   if test -n "$AR"; then
5712   ac_cv_prog_AR="$AR" # Let the user override the test.
5713 else
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 for as_dir in $PATH
5716 do
5717   IFS=$as_save_IFS
5718   test -z "$as_dir" && as_dir=.
5719     for ac_exec_ext in '' $ac_executable_extensions; do
5720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5721     ac_cv_prog_AR="${ac_tool_prefix}ar"
5722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723     break 2
5724   fi
5725 done
5726   done
5727 IFS=$as_save_IFS
5728
5729 fi
5730 fi
5731 AR=$ac_cv_prog_AR
5732 if test -n "$AR"; then
5733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5734 $as_echo "$AR" >&6; }
5735 else
5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5738 fi
5739
5740
5741 fi
5742 if test -z "$ac_cv_prog_AR"; then
5743   ac_ct_AR=$AR
5744   # Extract the first word of "ar", so it can be a program name with args.
5745 set dummy ar; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5749   $as_echo_n "(cached) " >&6
5750 else
5751   if test -n "$ac_ct_AR"; then
5752   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5753 else
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 for as_dir in $PATH
5756 do
5757   IFS=$as_save_IFS
5758   test -z "$as_dir" && as_dir=.
5759     for ac_exec_ext in '' $ac_executable_extensions; do
5760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5761     ac_cv_prog_ac_ct_AR="ar"
5762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763     break 2
5764   fi
5765 done
5766   done
5767 IFS=$as_save_IFS
5768
5769 fi
5770 fi
5771 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5772 if test -n "$ac_ct_AR"; then
5773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5774 $as_echo "$ac_ct_AR" >&6; }
5775 else
5776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5778 fi
5779
5780   if test "x$ac_ct_AR" = x; then
5781     AR="false"
5782   else
5783     case $cross_compiling:$ac_tool_warned in
5784 yes:)
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5787 ac_tool_warned=yes ;;
5788 esac
5789     AR=$ac_ct_AR
5790   fi
5791 else
5792   AR="$ac_cv_prog_AR"
5793 fi
5794
5795 test -z "$AR" && AR=ar
5796 test -z "$AR_FLAGS" && AR_FLAGS=cru
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808 if test -n "$ac_tool_prefix"; then
5809   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5810 set dummy ${ac_tool_prefix}strip; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_STRIP+set}" = set; then :
5814   $as_echo_n "(cached) " >&6
5815 else
5816   if test -n "$STRIP"; then
5817   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5821 do
5822   IFS=$as_save_IFS
5823   test -z "$as_dir" && as_dir=.
5824     for ac_exec_ext in '' $ac_executable_extensions; do
5825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828     break 2
5829   fi
5830 done
5831   done
5832 IFS=$as_save_IFS
5833
5834 fi
5835 fi
5836 STRIP=$ac_cv_prog_STRIP
5837 if test -n "$STRIP"; then
5838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5839 $as_echo "$STRIP" >&6; }
5840 else
5841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5843 fi
5844
5845
5846 fi
5847 if test -z "$ac_cv_prog_STRIP"; then
5848   ac_ct_STRIP=$STRIP
5849   # Extract the first word of "strip", so it can be a program name with args.
5850 set dummy strip; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5854   $as_echo_n "(cached) " >&6
5855 else
5856   if test -n "$ac_ct_STRIP"; then
5857   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5858 else
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 for as_dir in $PATH
5861 do
5862   IFS=$as_save_IFS
5863   test -z "$as_dir" && as_dir=.
5864     for ac_exec_ext in '' $ac_executable_extensions; do
5865   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866     ac_cv_prog_ac_ct_STRIP="strip"
5867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868     break 2
5869   fi
5870 done
5871   done
5872 IFS=$as_save_IFS
5873
5874 fi
5875 fi
5876 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5877 if test -n "$ac_ct_STRIP"; then
5878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5879 $as_echo "$ac_ct_STRIP" >&6; }
5880 else
5881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5883 fi
5884
5885   if test "x$ac_ct_STRIP" = x; then
5886     STRIP=":"
5887   else
5888     case $cross_compiling:$ac_tool_warned in
5889 yes:)
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892 ac_tool_warned=yes ;;
5893 esac
5894     STRIP=$ac_ct_STRIP
5895   fi
5896 else
5897   STRIP="$ac_cv_prog_STRIP"
5898 fi
5899
5900 test -z "$STRIP" && STRIP=:
5901
5902
5903
5904
5905
5906
5907 if test -n "$ac_tool_prefix"; then
5908   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5909 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5913   $as_echo_n "(cached) " >&6
5914 else
5915   if test -n "$RANLIB"; then
5916   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5917 else
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5919 for as_dir in $PATH
5920 do
5921   IFS=$as_save_IFS
5922   test -z "$as_dir" && as_dir=.
5923     for ac_exec_ext in '' $ac_executable_extensions; do
5924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5925     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5927     break 2
5928   fi
5929 done
5930   done
5931 IFS=$as_save_IFS
5932
5933 fi
5934 fi
5935 RANLIB=$ac_cv_prog_RANLIB
5936 if test -n "$RANLIB"; then
5937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5938 $as_echo "$RANLIB" >&6; }
5939 else
5940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5942 fi
5943
5944
5945 fi
5946 if test -z "$ac_cv_prog_RANLIB"; then
5947   ac_ct_RANLIB=$RANLIB
5948   # Extract the first word of "ranlib", so it can be a program name with args.
5949 set dummy ranlib; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5953   $as_echo_n "(cached) " >&6
5954 else
5955   if test -n "$ac_ct_RANLIB"; then
5956   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5957 else
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 for as_dir in $PATH
5960 do
5961   IFS=$as_save_IFS
5962   test -z "$as_dir" && as_dir=.
5963     for ac_exec_ext in '' $ac_executable_extensions; do
5964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5965     ac_cv_prog_ac_ct_RANLIB="ranlib"
5966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5967     break 2
5968   fi
5969 done
5970   done
5971 IFS=$as_save_IFS
5972
5973 fi
5974 fi
5975 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5976 if test -n "$ac_ct_RANLIB"; then
5977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5978 $as_echo "$ac_ct_RANLIB" >&6; }
5979 else
5980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5982 fi
5983
5984   if test "x$ac_ct_RANLIB" = x; then
5985     RANLIB=":"
5986   else
5987     case $cross_compiling:$ac_tool_warned in
5988 yes:)
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5991 ac_tool_warned=yes ;;
5992 esac
5993     RANLIB=$ac_ct_RANLIB
5994   fi
5995 else
5996   RANLIB="$ac_cv_prog_RANLIB"
5997 fi
5998
5999 test -z "$RANLIB" && RANLIB=:
6000
6001
6002
6003
6004
6005
6006 # Determine commands to create old-style static archives.
6007 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6008 old_postinstall_cmds='chmod 644 $oldlib'
6009 old_postuninstall_cmds=
6010
6011 if test -n "$RANLIB"; then
6012   case $host_os in
6013   openbsd*)
6014     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6015     ;;
6016   *)
6017     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6018     ;;
6019   esac
6020   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6021 fi
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056 # If no C compiler was specified, use CC.
6057 LTCC=${LTCC-"$CC"}
6058
6059 # If no C compiler flags were specified, use CFLAGS.
6060 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6061
6062 # Allow CC to be a program name with arguments.
6063 compiler=$CC
6064
6065
6066 # Check for command to grab the raw symbol name followed by C symbol from nm.
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6068 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6069 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6070   $as_echo_n "(cached) " >&6
6071 else
6072
6073 # These are sane defaults that work on at least a few old systems.
6074 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6075
6076 # Character class describing NM global symbol codes.
6077 symcode='[BCDEGRST]'
6078
6079 # Regexp to match symbols that can be accessed directly from C.
6080 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6081
6082 # Define system-specific variables.
6083 case $host_os in
6084 aix*)
6085   symcode='[BCDT]'
6086   ;;
6087 cygwin* | mingw* | pw32* | cegcc*)
6088   symcode='[ABCDGISTW]'
6089   ;;
6090 hpux*)
6091   if test "$host_cpu" = ia64; then
6092     symcode='[ABCDEGRST]'
6093   fi
6094   ;;
6095 irix* | nonstopux*)
6096   symcode='[BCDEGRST]'
6097   ;;
6098 osf*)
6099   symcode='[BCDEGQRST]'
6100   ;;
6101 solaris*)
6102   symcode='[BDRT]'
6103   ;;
6104 sco3.2v5*)
6105   symcode='[DT]'
6106   ;;
6107 sysv4.2uw2*)
6108   symcode='[DT]'
6109   ;;
6110 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6111   symcode='[ABDT]'
6112   ;;
6113 sysv4)
6114   symcode='[DFNSTU]'
6115   ;;
6116 esac
6117
6118 # If we're using GNU nm, then use its standard symbol codes.
6119 case `$NM -V 2>&1` in
6120 *GNU* | *'with BFD'*)
6121   symcode='[ABCDGIRSTW]' ;;
6122 esac
6123
6124 # Transform an extracted symbol line into a proper C declaration.
6125 # Some systems (esp. on ia64) link data and code symbols differently,
6126 # so use this general approach.
6127 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6128
6129 # Transform an extracted symbol line into symbol name and symbol address
6130 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6131 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'"
6132
6133 # Handle CRLF in mingw tool chain
6134 opt_cr=
6135 case $build_os in
6136 mingw*)
6137   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6138   ;;
6139 esac
6140
6141 # Try without a prefix underscore, then with it.
6142 for ac_symprfx in "" "_"; do
6143
6144   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6145   symxfrm="\\1 $ac_symprfx\\2 \\2"
6146
6147   # Write the raw and C identifiers.
6148   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6149     # Fake it for dumpbin and say T for any non-static function
6150     # and D for any global variable.
6151     # Also find C++ and __fastcall symbols from MSVC++,
6152     # which start with @ or ?.
6153     lt_cv_sys_global_symbol_pipe="$AWK '"\
6154 "     {last_section=section; section=\$ 3};"\
6155 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6156 "     \$ 0!~/External *\|/{next};"\
6157 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6158 "     {if(hide[section]) next};"\
6159 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6160 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6161 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6162 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6163 "     ' prfx=^$ac_symprfx"
6164   else
6165     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6166   fi
6167
6168   # Check to see that the pipe works correctly.
6169   pipe_works=no
6170
6171   rm -f conftest*
6172   cat > conftest.$ac_ext <<_LT_EOF
6173 #ifdef __cplusplus
6174 extern "C" {
6175 #endif
6176 char nm_test_var;
6177 void nm_test_func(void);
6178 void nm_test_func(void){}
6179 #ifdef __cplusplus
6180 }
6181 #endif
6182 int main(){nm_test_var='a';nm_test_func();return(0);}
6183 _LT_EOF
6184
6185   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6186   (eval $ac_compile) 2>&5
6187   ac_status=$?
6188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6189   test $ac_status = 0; }; then
6190     # Now try to grab the symbols.
6191     nlist=conftest.nm
6192     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6193   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6194   ac_status=$?
6195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6196   test $ac_status = 0; } && test -s "$nlist"; then
6197       # Try sorting and uniquifying the output.
6198       if sort "$nlist" | uniq > "$nlist"T; then
6199         mv -f "$nlist"T "$nlist"
6200       else
6201         rm -f "$nlist"T
6202       fi
6203
6204       # Make sure that we snagged all the symbols we need.
6205       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6206         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6207           cat <<_LT_EOF > conftest.$ac_ext
6208 #ifdef __cplusplus
6209 extern "C" {
6210 #endif
6211
6212 _LT_EOF
6213           # Now generate the symbol file.
6214           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6215
6216           cat <<_LT_EOF >> conftest.$ac_ext
6217
6218 /* The mapping between symbol names and symbols.  */
6219 const struct {
6220   const char *name;
6221   void       *address;
6222 }
6223 lt__PROGRAM__LTX_preloaded_symbols[] =
6224 {
6225   { "@PROGRAM@", (void *) 0 },
6226 _LT_EOF
6227           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6228           cat <<\_LT_EOF >> conftest.$ac_ext
6229   {0, (void *) 0}
6230 };
6231
6232 /* This works around a problem in FreeBSD linker */
6233 #ifdef FREEBSD_WORKAROUND
6234 static const void *lt_preloaded_setup() {
6235   return lt__PROGRAM__LTX_preloaded_symbols;
6236 }
6237 #endif
6238
6239 #ifdef __cplusplus
6240 }
6241 #endif
6242 _LT_EOF
6243           # Now try linking the two files.
6244           mv conftest.$ac_objext conftstm.$ac_objext
6245           lt_save_LIBS="$LIBS"
6246           lt_save_CFLAGS="$CFLAGS"
6247           LIBS="conftstm.$ac_objext"
6248           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6249           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6250   (eval $ac_link) 2>&5
6251   ac_status=$?
6252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6253   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6254             pipe_works=yes
6255           fi
6256           LIBS="$lt_save_LIBS"
6257           CFLAGS="$lt_save_CFLAGS"
6258         else
6259           echo "cannot find nm_test_func in $nlist" >&5
6260         fi
6261       else
6262         echo "cannot find nm_test_var in $nlist" >&5
6263       fi
6264     else
6265       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6266     fi
6267   else
6268     echo "$progname: failed program was:" >&5
6269     cat conftest.$ac_ext >&5
6270   fi
6271   rm -rf conftest* conftst*
6272
6273   # Do not use the global_symbol_pipe unless it works.
6274   if test "$pipe_works" = yes; then
6275     break
6276   else
6277     lt_cv_sys_global_symbol_pipe=
6278   fi
6279 done
6280
6281 fi
6282
6283 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6284   lt_cv_sys_global_symbol_to_cdecl=
6285 fi
6286 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6288 $as_echo "failed" >&6; }
6289 else
6290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6291 $as_echo "ok" >&6; }
6292 fi
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316 # Check whether --enable-libtool-lock was given.
6317 if test "${enable_libtool_lock+set}" = set; then :
6318   enableval=$enable_libtool_lock;
6319 fi
6320
6321 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6322
6323 # Some flags need to be propagated to the compiler or linker for good
6324 # libtool support.
6325 case $host in
6326 ia64-*-hpux*)
6327   # Find out which ABI we are using.
6328   echo 'int i;' > conftest.$ac_ext
6329   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6330   (eval $ac_compile) 2>&5
6331   ac_status=$?
6332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6333   test $ac_status = 0; }; then
6334     case `/usr/bin/file conftest.$ac_objext` in
6335       *ELF-32*)
6336         HPUX_IA64_MODE="32"
6337         ;;
6338       *ELF-64*)
6339         HPUX_IA64_MODE="64"
6340         ;;
6341     esac
6342   fi
6343   rm -rf conftest*
6344   ;;
6345 *-*-irix6*)
6346   # Find out which ABI we are using.
6347   echo '#line 6347 "configure"' > conftest.$ac_ext
6348   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6349   (eval $ac_compile) 2>&5
6350   ac_status=$?
6351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6352   test $ac_status = 0; }; then
6353     if test "$lt_cv_prog_gnu_ld" = yes; then
6354       case `/usr/bin/file conftest.$ac_objext` in
6355         *32-bit*)
6356           LD="${LD-ld} -melf32bsmip"
6357           ;;
6358         *N32*)
6359           LD="${LD-ld} -melf32bmipn32"
6360           ;;
6361         *64-bit*)
6362           LD="${LD-ld} -melf64bmip"
6363         ;;
6364       esac
6365     else
6366       case `/usr/bin/file conftest.$ac_objext` in
6367         *32-bit*)
6368           LD="${LD-ld} -32"
6369           ;;
6370         *N32*)
6371           LD="${LD-ld} -n32"
6372           ;;
6373         *64-bit*)
6374           LD="${LD-ld} -64"
6375           ;;
6376       esac
6377     fi
6378   fi
6379   rm -rf conftest*
6380   ;;
6381
6382 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6383 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6384   # Find out which ABI we are using.
6385   echo 'int i;' > conftest.$ac_ext
6386   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6387   (eval $ac_compile) 2>&5
6388   ac_status=$?
6389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6390   test $ac_status = 0; }; then
6391     case `/usr/bin/file conftest.o` in
6392       *32-bit*)
6393         case $host in
6394           x86_64-*kfreebsd*-gnu)
6395             LD="${LD-ld} -m elf_i386_fbsd"
6396             ;;
6397           x86_64-*linux*)
6398             LD="${LD-ld} -m elf_i386"
6399             ;;
6400           ppc64-*linux*|powerpc64-*linux*)
6401             LD="${LD-ld} -m elf32ppclinux"
6402             ;;
6403           s390x-*linux*)
6404             LD="${LD-ld} -m elf_s390"
6405             ;;
6406           sparc64-*linux*)
6407             LD="${LD-ld} -m elf32_sparc"
6408             ;;
6409         esac
6410         ;;
6411       *64-bit*)
6412         case $host in
6413           x86_64-*kfreebsd*-gnu)
6414             LD="${LD-ld} -m elf_x86_64_fbsd"
6415             ;;
6416           x86_64-*linux*)
6417             LD="${LD-ld} -m elf_x86_64"
6418             ;;
6419           ppc*-*linux*|powerpc*-*linux*)
6420             LD="${LD-ld} -m elf64ppc"
6421             ;;
6422           s390*-*linux*|s390*-*tpf*)
6423             LD="${LD-ld} -m elf64_s390"
6424             ;;
6425           sparc*-*linux*)
6426             LD="${LD-ld} -m elf64_sparc"
6427             ;;
6428         esac
6429         ;;
6430     esac
6431   fi
6432   rm -rf conftest*
6433   ;;
6434
6435 *-*-sco3.2v5*)
6436   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6437   SAVE_CFLAGS="$CFLAGS"
6438   CFLAGS="$CFLAGS -belf"
6439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6440 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6441 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6442   $as_echo_n "(cached) " >&6
6443 else
6444   ac_ext=c
6445 ac_cpp='$CPP $CPPFLAGS'
6446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6449
6450      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6451 /* end confdefs.h.  */
6452
6453 int
6454 main ()
6455 {
6456
6457   ;
6458   return 0;
6459 }
6460 _ACEOF
6461 if ac_fn_c_try_link "$LINENO"; then :
6462   lt_cv_cc_needs_belf=yes
6463 else
6464   lt_cv_cc_needs_belf=no
6465 fi
6466 rm -f core conftest.err conftest.$ac_objext \
6467     conftest$ac_exeext conftest.$ac_ext
6468      ac_ext=c
6469 ac_cpp='$CPP $CPPFLAGS'
6470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6473
6474 fi
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6476 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6477   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6478     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6479     CFLAGS="$SAVE_CFLAGS"
6480   fi
6481   ;;
6482 sparc*-*solaris*)
6483   # Find out which ABI we are using.
6484   echo 'int i;' > conftest.$ac_ext
6485   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6486   (eval $ac_compile) 2>&5
6487   ac_status=$?
6488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6489   test $ac_status = 0; }; then
6490     case `/usr/bin/file conftest.o` in
6491     *64-bit*)
6492       case $lt_cv_prog_gnu_ld in
6493       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6494       *)
6495         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6496           LD="${LD-ld} -64"
6497         fi
6498         ;;
6499       esac
6500       ;;
6501     esac
6502   fi
6503   rm -rf conftest*
6504   ;;
6505 esac
6506
6507 need_locks="$enable_libtool_lock"
6508
6509
6510   case $host_os in
6511     rhapsody* | darwin*)
6512     if test -n "$ac_tool_prefix"; then
6513   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6518   $as_echo_n "(cached) " >&6
6519 else
6520   if test -n "$DSYMUTIL"; then
6521   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6525 do
6526   IFS=$as_save_IFS
6527   test -z "$as_dir" && as_dir=.
6528     for ac_exec_ext in '' $ac_executable_extensions; do
6529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532     break 2
6533   fi
6534 done
6535   done
6536 IFS=$as_save_IFS
6537
6538 fi
6539 fi
6540 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6541 if test -n "$DSYMUTIL"; then
6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6543 $as_echo "$DSYMUTIL" >&6; }
6544 else
6545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6547 fi
6548
6549
6550 fi
6551 if test -z "$ac_cv_prog_DSYMUTIL"; then
6552   ac_ct_DSYMUTIL=$DSYMUTIL
6553   # Extract the first word of "dsymutil", so it can be a program name with args.
6554 set dummy dsymutil; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6558   $as_echo_n "(cached) " >&6
6559 else
6560   if test -n "$ac_ct_DSYMUTIL"; then
6561   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6565 do
6566   IFS=$as_save_IFS
6567   test -z "$as_dir" && as_dir=.
6568     for ac_exec_ext in '' $ac_executable_extensions; do
6569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572     break 2
6573   fi
6574 done
6575   done
6576 IFS=$as_save_IFS
6577
6578 fi
6579 fi
6580 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6581 if test -n "$ac_ct_DSYMUTIL"; then
6582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6583 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6584 else
6585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6587 fi
6588
6589   if test "x$ac_ct_DSYMUTIL" = x; then
6590     DSYMUTIL=":"
6591   else
6592     case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598     DSYMUTIL=$ac_ct_DSYMUTIL
6599   fi
6600 else
6601   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6602 fi
6603
6604     if test -n "$ac_tool_prefix"; then
6605   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6610   $as_echo_n "(cached) " >&6
6611 else
6612   if test -n "$NMEDIT"; then
6613   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6617 do
6618   IFS=$as_save_IFS
6619   test -z "$as_dir" && as_dir=.
6620     for ac_exec_ext in '' $ac_executable_extensions; do
6621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624     break 2
6625   fi
6626 done
6627   done
6628 IFS=$as_save_IFS
6629
6630 fi
6631 fi
6632 NMEDIT=$ac_cv_prog_NMEDIT
6633 if test -n "$NMEDIT"; then
6634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6635 $as_echo "$NMEDIT" >&6; }
6636 else
6637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6639 fi
6640
6641
6642 fi
6643 if test -z "$ac_cv_prog_NMEDIT"; then
6644   ac_ct_NMEDIT=$NMEDIT
6645   # Extract the first word of "nmedit", so it can be a program name with args.
6646 set dummy nmedit; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6650   $as_echo_n "(cached) " >&6
6651 else
6652   if test -n "$ac_ct_NMEDIT"; then
6653   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6657 do
6658   IFS=$as_save_IFS
6659   test -z "$as_dir" && as_dir=.
6660     for ac_exec_ext in '' $ac_executable_extensions; do
6661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664     break 2
6665   fi
6666 done
6667   done
6668 IFS=$as_save_IFS
6669
6670 fi
6671 fi
6672 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6673 if test -n "$ac_ct_NMEDIT"; then
6674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6675 $as_echo "$ac_ct_NMEDIT" >&6; }
6676 else
6677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6679 fi
6680
6681   if test "x$ac_ct_NMEDIT" = x; then
6682     NMEDIT=":"
6683   else
6684     case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690     NMEDIT=$ac_ct_NMEDIT
6691   fi
6692 else
6693   NMEDIT="$ac_cv_prog_NMEDIT"
6694 fi
6695
6696     if test -n "$ac_tool_prefix"; then
6697   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6698 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if test "${ac_cv_prog_LIPO+set}" = set; then :
6702   $as_echo_n "(cached) " >&6
6703 else
6704   if test -n "$LIPO"; then
6705   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6706 else
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 for as_dir in $PATH
6709 do
6710   IFS=$as_save_IFS
6711   test -z "$as_dir" && as_dir=.
6712     for ac_exec_ext in '' $ac_executable_extensions; do
6713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6714     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716     break 2
6717   fi
6718 done
6719   done
6720 IFS=$as_save_IFS
6721
6722 fi
6723 fi
6724 LIPO=$ac_cv_prog_LIPO
6725 if test -n "$LIPO"; then
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6727 $as_echo "$LIPO" >&6; }
6728 else
6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6731 fi
6732
6733
6734 fi
6735 if test -z "$ac_cv_prog_LIPO"; then
6736   ac_ct_LIPO=$LIPO
6737   # Extract the first word of "lipo", so it can be a program name with args.
6738 set dummy lipo; ac_word=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740 $as_echo_n "checking for $ac_word... " >&6; }
6741 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6742   $as_echo_n "(cached) " >&6
6743 else
6744   if test -n "$ac_ct_LIPO"; then
6745   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6746 else
6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748 for as_dir in $PATH
6749 do
6750   IFS=$as_save_IFS
6751   test -z "$as_dir" && as_dir=.
6752     for ac_exec_ext in '' $ac_executable_extensions; do
6753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6754     ac_cv_prog_ac_ct_LIPO="lipo"
6755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6756     break 2
6757   fi
6758 done
6759   done
6760 IFS=$as_save_IFS
6761
6762 fi
6763 fi
6764 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6765 if test -n "$ac_ct_LIPO"; then
6766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6767 $as_echo "$ac_ct_LIPO" >&6; }
6768 else
6769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 $as_echo "no" >&6; }
6771 fi
6772
6773   if test "x$ac_ct_LIPO" = x; then
6774     LIPO=":"
6775   else
6776     case $cross_compiling:$ac_tool_warned in
6777 yes:)
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6780 ac_tool_warned=yes ;;
6781 esac
6782     LIPO=$ac_ct_LIPO
6783   fi
6784 else
6785   LIPO="$ac_cv_prog_LIPO"
6786 fi
6787
6788     if test -n "$ac_tool_prefix"; then
6789   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6790 set dummy ${ac_tool_prefix}otool; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6794   $as_echo_n "(cached) " >&6
6795 else
6796   if test -n "$OTOOL"; then
6797   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6798 else
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6801 do
6802   IFS=$as_save_IFS
6803   test -z "$as_dir" && as_dir=.
6804     for ac_exec_ext in '' $ac_executable_extensions; do
6805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6806     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6808     break 2
6809   fi
6810 done
6811   done
6812 IFS=$as_save_IFS
6813
6814 fi
6815 fi
6816 OTOOL=$ac_cv_prog_OTOOL
6817 if test -n "$OTOOL"; then
6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6819 $as_echo "$OTOOL" >&6; }
6820 else
6821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6823 fi
6824
6825
6826 fi
6827 if test -z "$ac_cv_prog_OTOOL"; then
6828   ac_ct_OTOOL=$OTOOL
6829   # Extract the first word of "otool", so it can be a program name with args.
6830 set dummy otool; ac_word=$2
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 $as_echo_n "checking for $ac_word... " >&6; }
6833 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6834   $as_echo_n "(cached) " >&6
6835 else
6836   if test -n "$ac_ct_OTOOL"; then
6837   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6838 else
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 for as_dir in $PATH
6841 do
6842   IFS=$as_save_IFS
6843   test -z "$as_dir" && as_dir=.
6844     for ac_exec_ext in '' $ac_executable_extensions; do
6845   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6846     ac_cv_prog_ac_ct_OTOOL="otool"
6847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6848     break 2
6849   fi
6850 done
6851   done
6852 IFS=$as_save_IFS
6853
6854 fi
6855 fi
6856 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6857 if test -n "$ac_ct_OTOOL"; then
6858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6859 $as_echo "$ac_ct_OTOOL" >&6; }
6860 else
6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 $as_echo "no" >&6; }
6863 fi
6864
6865   if test "x$ac_ct_OTOOL" = x; then
6866     OTOOL=":"
6867   else
6868     case $cross_compiling:$ac_tool_warned in
6869 yes:)
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6872 ac_tool_warned=yes ;;
6873 esac
6874     OTOOL=$ac_ct_OTOOL
6875   fi
6876 else
6877   OTOOL="$ac_cv_prog_OTOOL"
6878 fi
6879
6880     if test -n "$ac_tool_prefix"; then
6881   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6882 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 $as_echo_n "checking for $ac_word... " >&6; }
6885 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6886   $as_echo_n "(cached) " >&6
6887 else
6888   if test -n "$OTOOL64"; then
6889   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6893 do
6894   IFS=$as_save_IFS
6895   test -z "$as_dir" && as_dir=.
6896     for ac_exec_ext in '' $ac_executable_extensions; do
6897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6898     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900     break 2
6901   fi
6902 done
6903   done
6904 IFS=$as_save_IFS
6905
6906 fi
6907 fi
6908 OTOOL64=$ac_cv_prog_OTOOL64
6909 if test -n "$OTOOL64"; then
6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6911 $as_echo "$OTOOL64" >&6; }
6912 else
6913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6915 fi
6916
6917
6918 fi
6919 if test -z "$ac_cv_prog_OTOOL64"; then
6920   ac_ct_OTOOL64=$OTOOL64
6921   # Extract the first word of "otool64", so it can be a program name with args.
6922 set dummy otool64; ac_word=$2
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6924 $as_echo_n "checking for $ac_word... " >&6; }
6925 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6926   $as_echo_n "(cached) " >&6
6927 else
6928   if test -n "$ac_ct_OTOOL64"; then
6929   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6930 else
6931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 for as_dir in $PATH
6933 do
6934   IFS=$as_save_IFS
6935   test -z "$as_dir" && as_dir=.
6936     for ac_exec_ext in '' $ac_executable_extensions; do
6937   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6938     ac_cv_prog_ac_ct_OTOOL64="otool64"
6939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6940     break 2
6941   fi
6942 done
6943   done
6944 IFS=$as_save_IFS
6945
6946 fi
6947 fi
6948 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6949 if test -n "$ac_ct_OTOOL64"; then
6950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6951 $as_echo "$ac_ct_OTOOL64" >&6; }
6952 else
6953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6955 fi
6956
6957   if test "x$ac_ct_OTOOL64" = x; then
6958     OTOOL64=":"
6959   else
6960     case $cross_compiling:$ac_tool_warned in
6961 yes:)
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6964 ac_tool_warned=yes ;;
6965 esac
6966     OTOOL64=$ac_ct_OTOOL64
6967   fi
6968 else
6969   OTOOL64="$ac_cv_prog_OTOOL64"
6970 fi
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6999 $as_echo_n "checking for -single_module linker flag... " >&6; }
7000 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7001   $as_echo_n "(cached) " >&6
7002 else
7003   lt_cv_apple_cc_single_mod=no
7004       if test -z "${LT_MULTI_MODULE}"; then
7005         # By default we will add the -single_module flag. You can override
7006         # by either setting the environment variable LT_MULTI_MODULE
7007         # non-empty at configure time, or by adding -multi_module to the
7008         # link flags.
7009         rm -rf libconftest.dylib*
7010         echo "int foo(void){return 1;}" > conftest.c
7011         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7012 -dynamiclib -Wl,-single_module conftest.c" >&5
7013         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7014           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7015         _lt_result=$?
7016         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7017           lt_cv_apple_cc_single_mod=yes
7018         else
7019           cat conftest.err >&5
7020         fi
7021         rm -rf libconftest.dylib*
7022         rm -f conftest.*
7023       fi
7024 fi
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7026 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7028 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7029 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7030   $as_echo_n "(cached) " >&6
7031 else
7032   lt_cv_ld_exported_symbols_list=no
7033       save_LDFLAGS=$LDFLAGS
7034       echo "_main" > conftest.sym
7035       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037 /* end confdefs.h.  */
7038
7039 int
7040 main ()
7041 {
7042
7043   ;
7044   return 0;
7045 }
7046 _ACEOF
7047 if ac_fn_c_try_link "$LINENO"; then :
7048   lt_cv_ld_exported_symbols_list=yes
7049 else
7050   lt_cv_ld_exported_symbols_list=no
7051 fi
7052 rm -f core conftest.err conftest.$ac_objext \
7053     conftest$ac_exeext conftest.$ac_ext
7054         LDFLAGS="$save_LDFLAGS"
7055
7056 fi
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7058 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7059     case $host_os in
7060     rhapsody* | darwin1.[012])
7061       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7062     darwin1.*)
7063       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7064     darwin*) # darwin 5.x on
7065       # if running on 10.5 or later, the deployment target defaults
7066       # to the OS version, if on x86, and 10.4, the deployment
7067       # target defaults to 10.4. Don't you love it?
7068       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7069         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7070           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7071         10.[012]*)
7072           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7073         10.*)
7074           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7075       esac
7076     ;;
7077   esac
7078     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7079       _lt_dar_single_mod='$single_module'
7080     fi
7081     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7082       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7083     else
7084       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7085     fi
7086     if test "$DSYMUTIL" != ":"; then
7087       _lt_dsymutil='~$DSYMUTIL $lib || :'
7088     else
7089       _lt_dsymutil=
7090     fi
7091     ;;
7092   esac
7093
7094 ac_ext=c
7095 ac_cpp='$CPP $CPPFLAGS'
7096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7100 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7101 # On Suns, sometimes $CPP names a directory.
7102 if test -n "$CPP" && test -d "$CPP"; then
7103   CPP=
7104 fi
7105 if test -z "$CPP"; then
7106   if test "${ac_cv_prog_CPP+set}" = set; then :
7107   $as_echo_n "(cached) " >&6
7108 else
7109       # Double quotes because CPP needs to be expanded
7110     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7111     do
7112       ac_preproc_ok=false
7113 for ac_c_preproc_warn_flag in '' yes
7114 do
7115   # Use a header file that comes with gcc, so configuring glibc
7116   # with a fresh cross-compiler works.
7117   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7118   # <limits.h> exists even on freestanding compilers.
7119   # On the NeXT, cc -E runs the code through the compiler's parser,
7120   # not just through cpp. "Syntax error" is here to catch this case.
7121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h.  */
7123 #ifdef __STDC__
7124 # include <limits.h>
7125 #else
7126 # include <assert.h>
7127 #endif
7128                      Syntax error
7129 _ACEOF
7130 if ac_fn_c_try_cpp "$LINENO"; then :
7131
7132 else
7133   # Broken: fails on valid input.
7134 continue
7135 fi
7136 rm -f conftest.err conftest.i conftest.$ac_ext
7137
7138   # OK, works on sane cases.  Now check whether nonexistent headers
7139   # can be detected and how.
7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h.  */
7142 #include <ac_nonexistent.h>
7143 _ACEOF
7144 if ac_fn_c_try_cpp "$LINENO"; then :
7145   # Broken: success on invalid input.
7146 continue
7147 else
7148   # Passes both tests.
7149 ac_preproc_ok=:
7150 break
7151 fi
7152 rm -f conftest.err conftest.i conftest.$ac_ext
7153
7154 done
7155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7156 rm -f conftest.i conftest.err conftest.$ac_ext
7157 if $ac_preproc_ok; then :
7158   break
7159 fi
7160
7161     done
7162     ac_cv_prog_CPP=$CPP
7163
7164 fi
7165   CPP=$ac_cv_prog_CPP
7166 else
7167   ac_cv_prog_CPP=$CPP
7168 fi
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7170 $as_echo "$CPP" >&6; }
7171 ac_preproc_ok=false
7172 for ac_c_preproc_warn_flag in '' yes
7173 do
7174   # Use a header file that comes with gcc, so configuring glibc
7175   # with a fresh cross-compiler works.
7176   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7177   # <limits.h> exists even on freestanding compilers.
7178   # On the NeXT, cc -E runs the code through the compiler's parser,
7179   # not just through cpp. "Syntax error" is here to catch this case.
7180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h.  */
7182 #ifdef __STDC__
7183 # include <limits.h>
7184 #else
7185 # include <assert.h>
7186 #endif
7187                      Syntax error
7188 _ACEOF
7189 if ac_fn_c_try_cpp "$LINENO"; then :
7190
7191 else
7192   # Broken: fails on valid input.
7193 continue
7194 fi
7195 rm -f conftest.err conftest.i conftest.$ac_ext
7196
7197   # OK, works on sane cases.  Now check whether nonexistent headers
7198   # can be detected and how.
7199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h.  */
7201 #include <ac_nonexistent.h>
7202 _ACEOF
7203 if ac_fn_c_try_cpp "$LINENO"; then :
7204   # Broken: success on invalid input.
7205 continue
7206 else
7207   # Passes both tests.
7208 ac_preproc_ok=:
7209 break
7210 fi
7211 rm -f conftest.err conftest.i conftest.$ac_ext
7212
7213 done
7214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7215 rm -f conftest.i conftest.err conftest.$ac_ext
7216 if $ac_preproc_ok; then :
7217
7218 else
7219   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7221 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7222 See \`config.log' for more details" "$LINENO" 5 ; }
7223 fi
7224
7225 ac_ext=c
7226 ac_cpp='$CPP $CPPFLAGS'
7227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7230
7231
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7233 $as_echo_n "checking for ANSI C header files... " >&6; }
7234 if test "${ac_cv_header_stdc+set}" = set; then :
7235   $as_echo_n "(cached) " >&6
7236 else
7237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h.  */
7239 #include <stdlib.h>
7240 #include <stdarg.h>
7241 #include <string.h>
7242 #include <float.h>
7243
7244 int
7245 main ()
7246 {
7247
7248   ;
7249   return 0;
7250 }
7251 _ACEOF
7252 if ac_fn_c_try_compile "$LINENO"; then :
7253   ac_cv_header_stdc=yes
7254 else
7255   ac_cv_header_stdc=no
7256 fi
7257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258
7259 if test $ac_cv_header_stdc = yes; then
7260   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h.  */
7263 #include <string.h>
7264
7265 _ACEOF
7266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7267   $EGREP "memchr" >/dev/null 2>&1; then :
7268
7269 else
7270   ac_cv_header_stdc=no
7271 fi
7272 rm -f conftest*
7273
7274 fi
7275
7276 if test $ac_cv_header_stdc = yes; then
7277   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h.  */
7280 #include <stdlib.h>
7281
7282 _ACEOF
7283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7284   $EGREP "free" >/dev/null 2>&1; then :
7285
7286 else
7287   ac_cv_header_stdc=no
7288 fi
7289 rm -f conftest*
7290
7291 fi
7292
7293 if test $ac_cv_header_stdc = yes; then
7294   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7295   if test "$cross_compiling" = yes; then :
7296   :
7297 else
7298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h.  */
7300 #include <ctype.h>
7301 #include <stdlib.h>
7302 #if ((' ' & 0x0FF) == 0x020)
7303 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7304 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7305 #else
7306 # define ISLOWER(c) \
7307                    (('a' <= (c) && (c) <= 'i') \
7308                      || ('j' <= (c) && (c) <= 'r') \
7309                      || ('s' <= (c) && (c) <= 'z'))
7310 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7311 #endif
7312
7313 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7314 int
7315 main ()
7316 {
7317   int i;
7318   for (i = 0; i < 256; i++)
7319     if (XOR (islower (i), ISLOWER (i))
7320         || toupper (i) != TOUPPER (i))
7321       return 2;
7322   return 0;
7323 }
7324 _ACEOF
7325 if ac_fn_c_try_run "$LINENO"; then :
7326
7327 else
7328   ac_cv_header_stdc=no
7329 fi
7330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7331   conftest.$ac_objext conftest.beam conftest.$ac_ext
7332 fi
7333
7334 fi
7335 fi
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7337 $as_echo "$ac_cv_header_stdc" >&6; }
7338 if test $ac_cv_header_stdc = yes; then
7339
7340 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7341
7342 fi
7343
7344 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7345 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7346                   inttypes.h stdint.h unistd.h
7347 do :
7348   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7350 "
7351 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7352   cat >>confdefs.h <<_ACEOF
7353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7354 _ACEOF
7355
7356 fi
7357
7358 done
7359
7360
7361 for ac_header in dlfcn.h
7362 do :
7363   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7364 "
7365 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7366   cat >>confdefs.h <<_ACEOF
7367 #define HAVE_DLFCN_H 1
7368 _ACEOF
7369
7370 fi
7371
7372 done
7373
7374
7375
7376 # Set options
7377
7378
7379
7380         enable_dlopen=no
7381
7382
7383
7384             # Check whether --enable-shared was given.
7385 if test "${enable_shared+set}" = set; then :
7386   enableval=$enable_shared; p=${PACKAGE-default}
7387     case $enableval in
7388     yes) enable_shared=yes ;;
7389     no) enable_shared=no ;;
7390     *)
7391       enable_shared=no
7392       # Look at the argument we got.  We use all the common list separators.
7393       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7394       for pkg in $enableval; do
7395         IFS="$lt_save_ifs"
7396         if test "X$pkg" = "X$p"; then
7397           enable_shared=yes
7398         fi
7399       done
7400       IFS="$lt_save_ifs"
7401       ;;
7402     esac
7403 else
7404   enable_shared=yes
7405 fi
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415   # Check whether --enable-static was given.
7416 if test "${enable_static+set}" = set; then :
7417   enableval=$enable_static; p=${PACKAGE-default}
7418     case $enableval in
7419     yes) enable_static=yes ;;
7420     no) enable_static=no ;;
7421     *)
7422      enable_static=no
7423       # Look at the argument we got.  We use all the common list separators.
7424       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7425       for pkg in $enableval; do
7426         IFS="$lt_save_ifs"
7427         if test "X$pkg" = "X$p"; then
7428           enable_static=yes
7429         fi
7430       done
7431       IFS="$lt_save_ifs"
7432       ;;
7433     esac
7434 else
7435   enable_static=yes
7436 fi
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447 # Check whether --with-pic was given.
7448 if test "${with_pic+set}" = set; then :
7449   withval=$with_pic; pic_mode="$withval"
7450 else
7451   pic_mode=default
7452 fi
7453
7454
7455 test -z "$pic_mode" && pic_mode=default
7456
7457
7458
7459
7460
7461
7462
7463   # Check whether --enable-fast-install was given.
7464 if test "${enable_fast_install+set}" = set; then :
7465   enableval=$enable_fast_install; p=${PACKAGE-default}
7466     case $enableval in
7467     yes) enable_fast_install=yes ;;
7468     no) enable_fast_install=no ;;
7469     *)
7470       enable_fast_install=no
7471       # Look at the argument we got.  We use all the common list separators.
7472       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7473       for pkg in $enableval; do
7474         IFS="$lt_save_ifs"
7475         if test "X$pkg" = "X$p"; then
7476           enable_fast_install=yes
7477         fi
7478       done
7479       IFS="$lt_save_ifs"
7480       ;;
7481     esac
7482 else
7483   enable_fast_install=yes
7484 fi
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496 # This can be used to rebuild libtool when needed
7497 LIBTOOL_DEPS="$ltmain"
7498
7499 # Always use our own libtool.
7500 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526 test -z "$LN_S" && LN_S="ln -s"
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541 if test -n "${ZSH_VERSION+set}" ; then
7542    setopt NO_GLOB_SUBST
7543 fi
7544
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7546 $as_echo_n "checking for objdir... " >&6; }
7547 if test "${lt_cv_objdir+set}" = set; then :
7548   $as_echo_n "(cached) " >&6
7549 else
7550   rm -f .libs 2>/dev/null
7551 mkdir .libs 2>/dev/null
7552 if test -d .libs; then
7553   lt_cv_objdir=.libs
7554 else
7555   # MS-DOS does not allow filenames that begin with a dot.
7556   lt_cv_objdir=_libs
7557 fi
7558 rmdir .libs 2>/dev/null
7559 fi
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7561 $as_echo "$lt_cv_objdir" >&6; }
7562 objdir=$lt_cv_objdir
7563
7564
7565
7566
7567
7568 cat >>confdefs.h <<_ACEOF
7569 #define LT_OBJDIR "$lt_cv_objdir/"
7570 _ACEOF
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588 case $host_os in
7589 aix3*)
7590   # AIX sometimes has problems with the GCC collect2 program.  For some
7591   # reason, if we set the COLLECT_NAMES environment variable, the problems
7592   # vanish in a puff of smoke.
7593   if test "X${COLLECT_NAMES+set}" != Xset; then
7594     COLLECT_NAMES=
7595     export COLLECT_NAMES
7596   fi
7597   ;;
7598 esac
7599
7600 # Sed substitution that helps us do robust quoting.  It backslashifies
7601 # metacharacters that are still active within double-quoted strings.
7602 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7603
7604 # Same as above, but do not quote variable references.
7605 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7606
7607 # Sed substitution to delay expansion of an escaped shell variable in a
7608 # double_quote_subst'ed string.
7609 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7610
7611 # Sed substitution to delay expansion of an escaped single quote.
7612 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7613
7614 # Sed substitution to avoid accidental globbing in evaled expressions
7615 no_glob_subst='s/\*/\\\*/g'
7616
7617 # Global variables:
7618 ofile=libtool
7619 can_build_shared=yes
7620
7621 # All known linkers require a `.a' archive for static linking (except MSVC,
7622 # which needs '.lib').
7623 libext=a
7624
7625 with_gnu_ld="$lt_cv_prog_gnu_ld"
7626
7627 old_CC="$CC"
7628 old_CFLAGS="$CFLAGS"
7629
7630 # Set sane defaults for various variables
7631 test -z "$CC" && CC=cc
7632 test -z "$LTCC" && LTCC=$CC
7633 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7634 test -z "$LD" && LD=ld
7635 test -z "$ac_objext" && ac_objext=o
7636
7637 for cc_temp in $compiler""; do
7638   case $cc_temp in
7639     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7640     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7641     \-*) ;;
7642     *) break;;
7643   esac
7644 done
7645 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7646
7647
7648 # Only perform the check for file, if the check method requires it
7649 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7650 case $deplibs_check_method in
7651 file_magic*)
7652   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7653     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7654 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7655 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7656   $as_echo_n "(cached) " >&6
7657 else
7658   case $MAGIC_CMD in
7659 [\\/*] |  ?:[\\/]*)
7660   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7661   ;;
7662 *)
7663   lt_save_MAGIC_CMD="$MAGIC_CMD"
7664   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7665   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7666   for ac_dir in $ac_dummy; do
7667     IFS="$lt_save_ifs"
7668     test -z "$ac_dir" && ac_dir=.
7669     if test -f $ac_dir/${ac_tool_prefix}file; then
7670       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7671       if test -n "$file_magic_test_file"; then
7672         case $deplibs_check_method in
7673         "file_magic "*)
7674           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7675           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7676           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7677             $EGREP "$file_magic_regex" > /dev/null; then
7678             :
7679           else
7680             cat <<_LT_EOF 1>&2
7681
7682 *** Warning: the command libtool uses to detect shared libraries,
7683 *** $file_magic_cmd, produces output that libtool cannot recognize.
7684 *** The result is that libtool may fail to recognize shared libraries
7685 *** as such.  This will affect the creation of libtool libraries that
7686 *** depend on shared libraries, but programs linked with such libtool
7687 *** libraries will work regardless of this problem.  Nevertheless, you
7688 *** may want to report the problem to your system manager and/or to
7689 *** bug-libtool@gnu.org
7690
7691 _LT_EOF
7692           fi ;;
7693         esac
7694       fi
7695       break
7696     fi
7697   done
7698   IFS="$lt_save_ifs"
7699   MAGIC_CMD="$lt_save_MAGIC_CMD"
7700   ;;
7701 esac
7702 fi
7703
7704 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7705 if test -n "$MAGIC_CMD"; then
7706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7707 $as_echo "$MAGIC_CMD" >&6; }
7708 else
7709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7711 fi
7712
7713
7714
7715
7716
7717 if test -z "$lt_cv_path_MAGIC_CMD"; then
7718   if test -n "$ac_tool_prefix"; then
7719     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7720 $as_echo_n "checking for file... " >&6; }
7721 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7722   $as_echo_n "(cached) " >&6
7723 else
7724   case $MAGIC_CMD in
7725 [\\/*] |  ?:[\\/]*)
7726   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7727   ;;
7728 *)
7729   lt_save_MAGIC_CMD="$MAGIC_CMD"
7730   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7731   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7732   for ac_dir in $ac_dummy; do
7733     IFS="$lt_save_ifs"
7734     test -z "$ac_dir" && ac_dir=.
7735     if test -f $ac_dir/file; then
7736       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7737       if test -n "$file_magic_test_file"; then
7738         case $deplibs_check_method in
7739         "file_magic "*)
7740           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7741           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7742           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7743             $EGREP "$file_magic_regex" > /dev/null; then
7744             :
7745           else
7746             cat <<_LT_EOF 1>&2
7747
7748 *** Warning: the command libtool uses to detect shared libraries,
7749 *** $file_magic_cmd, produces output that libtool cannot recognize.
7750 *** The result is that libtool may fail to recognize shared libraries
7751 *** as such.  This will affect the creation of libtool libraries that
7752 *** depend on shared libraries, but programs linked with such libtool
7753 *** libraries will work regardless of this problem.  Nevertheless, you
7754 *** may want to report the problem to your system manager and/or to
7755 *** bug-libtool@gnu.org
7756
7757 _LT_EOF
7758           fi ;;
7759         esac
7760       fi
7761       break
7762     fi
7763   done
7764   IFS="$lt_save_ifs"
7765   MAGIC_CMD="$lt_save_MAGIC_CMD"
7766   ;;
7767 esac
7768 fi
7769
7770 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7771 if test -n "$MAGIC_CMD"; then
7772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7773 $as_echo "$MAGIC_CMD" >&6; }
7774 else
7775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7776 $as_echo "no" >&6; }
7777 fi
7778
7779
7780   else
7781     MAGIC_CMD=:
7782   fi
7783 fi
7784
7785   fi
7786   ;;
7787 esac
7788
7789 # Use C for the default configuration in the libtool script
7790
7791 lt_save_CC="$CC"
7792 ac_ext=c
7793 ac_cpp='$CPP $CPPFLAGS'
7794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7797
7798
7799 # Source file extension for C test sources.
7800 ac_ext=c
7801
7802 # Object file extension for compiled C test sources.
7803 objext=o
7804 objext=$objext
7805
7806 # Code to be used in simple compile tests
7807 lt_simple_compile_test_code="int some_variable = 0;"
7808
7809 # Code to be used in simple link tests
7810 lt_simple_link_test_code='int main(){return(0);}'
7811
7812
7813
7814
7815
7816
7817
7818 # If no C compiler was specified, use CC.
7819 LTCC=${LTCC-"$CC"}
7820
7821 # If no C compiler flags were specified, use CFLAGS.
7822 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7823
7824 # Allow CC to be a program name with arguments.
7825 compiler=$CC
7826
7827 # Save the default compiler, since it gets overwritten when the other
7828 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7829 compiler_DEFAULT=$CC
7830
7831 # save warnings/boilerplate of simple test code
7832 ac_outfile=conftest.$ac_objext
7833 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7834 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7835 _lt_compiler_boilerplate=`cat conftest.err`
7836 $RM conftest*
7837
7838 ac_outfile=conftest.$ac_objext
7839 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7840 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7841 _lt_linker_boilerplate=`cat conftest.err`
7842 $RM -r conftest*
7843
7844
7845 ## CAVEAT EMPTOR:
7846 ## There is no encapsulation within the following macros, do not change
7847 ## the running order or otherwise move them around unless you know exactly
7848 ## what you are doing...
7849 if test -n "$compiler"; then
7850
7851 lt_prog_compiler_no_builtin_flag=
7852
7853 if test "$GCC" = yes; then
7854   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7855
7856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7857 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7858 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7859   $as_echo_n "(cached) " >&6
7860 else
7861   lt_cv_prog_compiler_rtti_exceptions=no
7862    ac_outfile=conftest.$ac_objext
7863    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7864    lt_compiler_flag="-fno-rtti -fno-exceptions"
7865    # Insert the option either (1) after the last *FLAGS variable, or
7866    # (2) before a word containing "conftest.", or (3) at the end.
7867    # Note that $ac_compile itself does not contain backslashes and begins
7868    # with a dollar sign (not a hyphen), so the echo should work correctly.
7869    # The option is referenced via a variable to avoid confusing sed.
7870    lt_compile=`echo "$ac_compile" | $SED \
7871    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7872    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7873    -e 's:$: $lt_compiler_flag:'`
7874    (eval echo "\"\$as_me:7874: $lt_compile\"" >&5)
7875    (eval "$lt_compile" 2>conftest.err)
7876    ac_status=$?
7877    cat conftest.err >&5
7878    echo "$as_me:7878: \$? = $ac_status" >&5
7879    if (exit $ac_status) && test -s "$ac_outfile"; then
7880      # The compiler can only warn and ignore the option if not recognized
7881      # So say no if there are warnings other than the usual output.
7882      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7883      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7884      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7885        lt_cv_prog_compiler_rtti_exceptions=yes
7886      fi
7887    fi
7888    $RM conftest*
7889
7890 fi
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7892 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7893
7894 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7895     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7896 else
7897     :
7898 fi
7899
7900 fi
7901
7902
7903
7904
7905
7906
7907   lt_prog_compiler_wl=
7908 lt_prog_compiler_pic=
7909 lt_prog_compiler_static=
7910
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7912 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7913
7914   if test "$GCC" = yes; then
7915     lt_prog_compiler_wl='-Wl,'
7916     lt_prog_compiler_static='-static'
7917
7918     case $host_os in
7919       aix*)
7920       # All AIX code is PIC.
7921       if test "$host_cpu" = ia64; then
7922         # AIX 5 now supports IA64 processor
7923         lt_prog_compiler_static='-Bstatic'
7924       fi
7925       ;;
7926
7927     amigaos*)
7928       case $host_cpu in
7929       powerpc)
7930             # see comment about AmigaOS4 .so support
7931             lt_prog_compiler_pic='-fPIC'
7932         ;;
7933       m68k)
7934             # FIXME: we need at least 68020 code to build shared libraries, but
7935             # adding the `-m68020' flag to GCC prevents building anything better,
7936             # like `-m68040'.
7937             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7938         ;;
7939       esac
7940       ;;
7941
7942     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7943       # PIC is the default for these OSes.
7944       ;;
7945
7946     mingw* | cygwin* | pw32* | os2* | cegcc*)
7947       # This hack is so that the source file can tell whether it is being
7948       # built for inclusion in a dll (and should export symbols for example).
7949       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7950       # (--disable-auto-import) libraries
7951       lt_prog_compiler_pic='-DDLL_EXPORT'
7952       ;;
7953
7954     darwin* | rhapsody*)
7955       # PIC is the default on this platform
7956       # Common symbols not allowed in MH_DYLIB files
7957       lt_prog_compiler_pic='-fno-common'
7958       ;;
7959
7960     hpux*)
7961       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7962       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7963       # sets the default TLS model and affects inlining.
7964       case $host_cpu in
7965       hppa*64*)
7966         # +Z the default
7967         ;;
7968       *)
7969         lt_prog_compiler_pic='-fPIC'
7970         ;;
7971       esac
7972       ;;
7973
7974     interix[3-9]*)
7975       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7976       # Instead, we relocate shared libraries at runtime.
7977       ;;
7978
7979     msdosdjgpp*)
7980       # Just because we use GCC doesn't mean we suddenly get shared libraries
7981       # on systems that don't support them.
7982       lt_prog_compiler_can_build_shared=no
7983       enable_shared=no
7984       ;;
7985
7986     *nto* | *qnx*)
7987       # QNX uses GNU C++, but need to define -shared option too, otherwise
7988       # it will coredump.
7989       lt_prog_compiler_pic='-fPIC -shared'
7990       ;;
7991
7992     sysv4*MP*)
7993       if test -d /usr/nec; then
7994         lt_prog_compiler_pic=-Kconform_pic
7995       fi
7996       ;;
7997
7998     *)
7999       lt_prog_compiler_pic='-fPIC'
8000       ;;
8001     esac
8002   else
8003     # PORTME Check for flag to pass linker flags through the system compiler.
8004     case $host_os in
8005     aix*)
8006       lt_prog_compiler_wl='-Wl,'
8007       if test "$host_cpu" = ia64; then
8008         # AIX 5 now supports IA64 processor
8009         lt_prog_compiler_static='-Bstatic'
8010       else
8011         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8012       fi
8013       ;;
8014
8015     mingw* | cygwin* | pw32* | os2* | cegcc*)
8016       # This hack is so that the source file can tell whether it is being
8017       # built for inclusion in a dll (and should export symbols for example).
8018       lt_prog_compiler_pic='-DDLL_EXPORT'
8019       ;;
8020
8021     hpux9* | hpux10* | hpux11*)
8022       lt_prog_compiler_wl='-Wl,'
8023       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8024       # not for PA HP-UX.
8025       case $host_cpu in
8026       hppa*64*|ia64*)
8027         # +Z the default
8028         ;;
8029       *)
8030         lt_prog_compiler_pic='+Z'
8031         ;;
8032       esac
8033       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8034       lt_prog_compiler_static='${wl}-a ${wl}archive'
8035       ;;
8036
8037     irix5* | irix6* | nonstopux*)
8038       lt_prog_compiler_wl='-Wl,'
8039       # PIC (with -KPIC) is the default.
8040       lt_prog_compiler_static='-non_shared'
8041       ;;
8042
8043     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8044       case $cc_basename in
8045       # old Intel for x86_64 which still supported -KPIC.
8046       ecc*)
8047         lt_prog_compiler_wl='-Wl,'
8048         lt_prog_compiler_pic='-KPIC'
8049         lt_prog_compiler_static='-static'
8050         ;;
8051       # icc used to be incompatible with GCC.
8052       # ICC 10 doesn't accept -KPIC any more.
8053       icc* | ifort*)
8054         lt_prog_compiler_wl='-Wl,'
8055         lt_prog_compiler_pic='-fPIC'
8056         lt_prog_compiler_static='-static'
8057         ;;
8058       # Lahey Fortran 8.1.
8059       lf95*)
8060         lt_prog_compiler_wl='-Wl,'
8061         lt_prog_compiler_pic='--shared'
8062         lt_prog_compiler_static='--static'
8063         ;;
8064       pgcc* | pgf77* | pgf90* | pgf95*)
8065         # Portland Group compilers (*not* the Pentium gcc compiler,
8066         # which looks to be a dead project)
8067         lt_prog_compiler_wl='-Wl,'
8068         lt_prog_compiler_pic='-fpic'
8069         lt_prog_compiler_static='-Bstatic'
8070         ;;
8071       ccc*)
8072         lt_prog_compiler_wl='-Wl,'
8073         # All Alpha code is PIC.
8074         lt_prog_compiler_static='-non_shared'
8075         ;;
8076       xl*)
8077         # IBM XL C 8.0/Fortran 10.1 on PPC
8078         lt_prog_compiler_wl='-Wl,'
8079         lt_prog_compiler_pic='-qpic'
8080         lt_prog_compiler_static='-qstaticlink'
8081         ;;
8082       *)
8083         case `$CC -V 2>&1 | sed 5q` in
8084         *Sun\ C*)
8085           # Sun C 5.9
8086           lt_prog_compiler_pic='-KPIC'
8087           lt_prog_compiler_static='-Bstatic'
8088           lt_prog_compiler_wl='-Wl,'
8089           ;;
8090         *Sun\ F*)
8091           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8092           lt_prog_compiler_pic='-KPIC'
8093           lt_prog_compiler_static='-Bstatic'
8094           lt_prog_compiler_wl=''
8095           ;;
8096         esac
8097         ;;
8098       esac
8099       ;;
8100
8101     newsos6)
8102       lt_prog_compiler_pic='-KPIC'
8103       lt_prog_compiler_static='-Bstatic'
8104       ;;
8105
8106     *nto* | *qnx*)
8107       # QNX uses GNU C++, but need to define -shared option too, otherwise
8108       # it will coredump.
8109       lt_prog_compiler_pic='-fPIC -shared'
8110       ;;
8111
8112     osf3* | osf4* | osf5*)
8113       lt_prog_compiler_wl='-Wl,'
8114       # All OSF/1 code is PIC.
8115       lt_prog_compiler_static='-non_shared'
8116       ;;
8117
8118     rdos*)
8119       lt_prog_compiler_static='-non_shared'
8120       ;;
8121
8122     solaris*)
8123       lt_prog_compiler_pic='-KPIC'
8124       lt_prog_compiler_static='-Bstatic'
8125       case $cc_basename in
8126       f77* | f90* | f95*)
8127         lt_prog_compiler_wl='-Qoption ld ';;
8128       *)
8129         lt_prog_compiler_wl='-Wl,';;
8130       esac
8131       ;;
8132
8133     sunos4*)
8134       lt_prog_compiler_wl='-Qoption ld '
8135       lt_prog_compiler_pic='-PIC'
8136       lt_prog_compiler_static='-Bstatic'
8137       ;;
8138
8139     sysv4 | sysv4.2uw2* | sysv4.3*)
8140       lt_prog_compiler_wl='-Wl,'
8141       lt_prog_compiler_pic='-KPIC'
8142       lt_prog_compiler_static='-Bstatic'
8143       ;;
8144
8145     sysv4*MP*)
8146       if test -d /usr/nec ;then
8147         lt_prog_compiler_pic='-Kconform_pic'
8148         lt_prog_compiler_static='-Bstatic'
8149       fi
8150       ;;
8151
8152     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8153       lt_prog_compiler_wl='-Wl,'
8154       lt_prog_compiler_pic='-KPIC'
8155       lt_prog_compiler_static='-Bstatic'
8156       ;;
8157
8158     unicos*)
8159       lt_prog_compiler_wl='-Wl,'
8160       lt_prog_compiler_can_build_shared=no
8161       ;;
8162
8163     uts4*)
8164       lt_prog_compiler_pic='-pic'
8165       lt_prog_compiler_static='-Bstatic'
8166       ;;
8167
8168     *)
8169       lt_prog_compiler_can_build_shared=no
8170       ;;
8171     esac
8172   fi
8173
8174 case $host_os in
8175   # For platforms which do not support PIC, -DPIC is meaningless:
8176   *djgpp*)
8177     lt_prog_compiler_pic=
8178     ;;
8179   *)
8180     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8181     ;;
8182 esac
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8184 $as_echo "$lt_prog_compiler_pic" >&6; }
8185
8186
8187
8188
8189
8190
8191 #
8192 # Check to make sure the PIC flag actually works.
8193 #
8194 if test -n "$lt_prog_compiler_pic"; then
8195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8196 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8197 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8198   $as_echo_n "(cached) " >&6
8199 else
8200   lt_cv_prog_compiler_pic_works=no
8201    ac_outfile=conftest.$ac_objext
8202    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8203    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8204    # Insert the option either (1) after the last *FLAGS variable, or
8205    # (2) before a word containing "conftest.", or (3) at the end.
8206    # Note that $ac_compile itself does not contain backslashes and begins
8207    # with a dollar sign (not a hyphen), so the echo should work correctly.
8208    # The option is referenced via a variable to avoid confusing sed.
8209    lt_compile=`echo "$ac_compile" | $SED \
8210    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8211    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8212    -e 's:$: $lt_compiler_flag:'`
8213    (eval echo "\"\$as_me:8213: $lt_compile\"" >&5)
8214    (eval "$lt_compile" 2>conftest.err)
8215    ac_status=$?
8216    cat conftest.err >&5
8217    echo "$as_me:8217: \$? = $ac_status" >&5
8218    if (exit $ac_status) && test -s "$ac_outfile"; then
8219      # The compiler can only warn and ignore the option if not recognized
8220      # So say no if there are warnings other than the usual output.
8221      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8222      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8223      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8224        lt_cv_prog_compiler_pic_works=yes
8225      fi
8226    fi
8227    $RM conftest*
8228
8229 fi
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8231 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8232
8233 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8234     case $lt_prog_compiler_pic in
8235      "" | " "*) ;;
8236      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8237      esac
8238 else
8239     lt_prog_compiler_pic=
8240      lt_prog_compiler_can_build_shared=no
8241 fi
8242
8243 fi
8244
8245
8246
8247
8248
8249
8250 #
8251 # Check to make sure the static flag actually works.
8252 #
8253 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8255 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8256 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8257   $as_echo_n "(cached) " >&6
8258 else
8259   lt_cv_prog_compiler_static_works=no
8260    save_LDFLAGS="$LDFLAGS"
8261    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8262    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8263    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8264      # The linker can only warn and ignore the option if not recognized
8265      # So say no if there are warnings
8266      if test -s conftest.err; then
8267        # Append any errors to the config.log.
8268        cat conftest.err 1>&5
8269        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8270        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8271        if diff conftest.exp conftest.er2 >/dev/null; then
8272          lt_cv_prog_compiler_static_works=yes
8273        fi
8274      else
8275        lt_cv_prog_compiler_static_works=yes
8276      fi
8277    fi
8278    $RM -r conftest*
8279    LDFLAGS="$save_LDFLAGS"
8280
8281 fi
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8283 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8284
8285 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8286     :
8287 else
8288     lt_prog_compiler_static=
8289 fi
8290
8291
8292
8293
8294
8295
8296
8297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8298 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8299 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8300   $as_echo_n "(cached) " >&6
8301 else
8302   lt_cv_prog_compiler_c_o=no
8303    $RM -r conftest 2>/dev/null
8304    mkdir conftest
8305    cd conftest
8306    mkdir out
8307    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8308
8309    lt_compiler_flag="-o out/conftest2.$ac_objext"
8310    # Insert the option either (1) after the last *FLAGS variable, or
8311    # (2) before a word containing "conftest.", or (3) at the end.
8312    # Note that $ac_compile itself does not contain backslashes and begins
8313    # with a dollar sign (not a hyphen), so the echo should work correctly.
8314    lt_compile=`echo "$ac_compile" | $SED \
8315    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8316    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8317    -e 's:$: $lt_compiler_flag:'`
8318    (eval echo "\"\$as_me:8318: $lt_compile\"" >&5)
8319    (eval "$lt_compile" 2>out/conftest.err)
8320    ac_status=$?
8321    cat out/conftest.err >&5
8322    echo "$as_me:8322: \$? = $ac_status" >&5
8323    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8324    then
8325      # The compiler can only warn and ignore the option if not recognized
8326      # So say no if there are warnings
8327      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8328      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8329      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8330        lt_cv_prog_compiler_c_o=yes
8331      fi
8332    fi
8333    chmod u+w . 2>&5
8334    $RM conftest*
8335    # SGI C++ compiler will create directory out/ii_files/ for
8336    # template instantiation
8337    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8338    $RM out/* && rmdir out
8339    cd ..
8340    $RM -r conftest
8341    $RM conftest*
8342
8343 fi
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8345 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8346
8347
8348
8349
8350
8351
8352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8353 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8354 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8355   $as_echo_n "(cached) " >&6
8356 else
8357   lt_cv_prog_compiler_c_o=no
8358    $RM -r conftest 2>/dev/null
8359    mkdir conftest
8360    cd conftest
8361    mkdir out
8362    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8363
8364    lt_compiler_flag="-o out/conftest2.$ac_objext"
8365    # Insert the option either (1) after the last *FLAGS variable, or
8366    # (2) before a word containing "conftest.", or (3) at the end.
8367    # Note that $ac_compile itself does not contain backslashes and begins
8368    # with a dollar sign (not a hyphen), so the echo should work correctly.
8369    lt_compile=`echo "$ac_compile" | $SED \
8370    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8371    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8372    -e 's:$: $lt_compiler_flag:'`
8373    (eval echo "\"\$as_me:8373: $lt_compile\"" >&5)
8374    (eval "$lt_compile" 2>out/conftest.err)
8375    ac_status=$?
8376    cat out/conftest.err >&5
8377    echo "$as_me:8377: \$? = $ac_status" >&5
8378    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8379    then
8380      # The compiler can only warn and ignore the option if not recognized
8381      # So say no if there are warnings
8382      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8383      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8384      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8385        lt_cv_prog_compiler_c_o=yes
8386      fi
8387    fi
8388    chmod u+w . 2>&5
8389    $RM conftest*
8390    # SGI C++ compiler will create directory out/ii_files/ for
8391    # template instantiation
8392    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8393    $RM out/* && rmdir out
8394    cd ..
8395    $RM -r conftest
8396    $RM conftest*
8397
8398 fi
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8400 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8401
8402
8403
8404
8405 hard_links="nottested"
8406 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8407   # do not overwrite the value of need_locks provided by the user
8408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8409 $as_echo_n "checking if we can lock with hard links... " >&6; }
8410   hard_links=yes
8411   $RM conftest*
8412   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8413   touch conftest.a
8414   ln conftest.a conftest.b 2>&5 || hard_links=no
8415   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8417 $as_echo "$hard_links" >&6; }
8418   if test "$hard_links" = no; then
8419     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8420 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8421     need_locks=warn
8422   fi
8423 else
8424   need_locks=no
8425 fi
8426
8427
8428
8429
8430
8431
8432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8433 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8434
8435   runpath_var=
8436   allow_undefined_flag=
8437   always_export_symbols=no
8438   archive_cmds=
8439   archive_expsym_cmds=
8440   compiler_needs_object=no
8441   enable_shared_with_static_runtimes=no
8442   export_dynamic_flag_spec=
8443   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8444   hardcode_automatic=no
8445   hardcode_direct=no
8446   hardcode_direct_absolute=no
8447   hardcode_libdir_flag_spec=
8448   hardcode_libdir_flag_spec_ld=
8449   hardcode_libdir_separator=
8450   hardcode_minus_L=no
8451   hardcode_shlibpath_var=unsupported
8452   inherit_rpath=no
8453   link_all_deplibs=unknown
8454   module_cmds=
8455   module_expsym_cmds=
8456   old_archive_from_new_cmds=
8457   old_archive_from_expsyms_cmds=
8458   thread_safe_flag_spec=
8459   whole_archive_flag_spec=
8460   # include_expsyms should be a list of space-separated symbols to be *always*
8461   # included in the symbol list
8462   include_expsyms=
8463   # exclude_expsyms can be an extended regexp of symbols to exclude
8464   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8465   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8466   # as well as any symbol that contains `d'.
8467   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8468   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8469   # platforms (ab)use it in PIC code, but their linkers get confused if
8470   # the symbol is explicitly referenced.  Since portable code cannot
8471   # rely on this symbol name, it's probably fine to never include it in
8472   # preloaded symbol tables.
8473   # Exclude shared library initialization/finalization symbols.
8474   extract_expsyms_cmds=
8475
8476   case $host_os in
8477   cygwin* | mingw* | pw32* | cegcc*)
8478     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8479     # When not using gcc, we currently assume that we are using
8480     # Microsoft Visual C++.
8481     if test "$GCC" != yes; then
8482       with_gnu_ld=no
8483     fi
8484     ;;
8485   interix*)
8486     # we just hope/assume this is gcc and not c89 (= MSVC++)
8487     with_gnu_ld=yes
8488     ;;
8489   openbsd*)
8490     with_gnu_ld=no
8491     ;;
8492   linux* | k*bsd*-gnu)
8493     link_all_deplibs=no
8494     ;;
8495   esac
8496
8497   ld_shlibs=yes
8498   if test "$with_gnu_ld" = yes; then
8499     # If archive_cmds runs LD, not CC, wlarc should be empty
8500     wlarc='${wl}'
8501
8502     # Set some defaults for GNU ld with shared library support. These
8503     # are reset later if shared libraries are not supported. Putting them
8504     # here allows them to be overridden if necessary.
8505     runpath_var=LD_RUN_PATH
8506     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8507     export_dynamic_flag_spec='${wl}--export-dynamic'
8508     # ancient GNU ld didn't support --whole-archive et. al.
8509     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8510       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8511     else
8512       whole_archive_flag_spec=
8513     fi
8514     supports_anon_versioning=no
8515     case `$LD -v 2>&1` in
8516       *GNU\ gold*) supports_anon_versioning=yes ;;
8517       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8518       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8519       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8520       *\ 2.11.*) ;; # other 2.11 versions
8521       *) supports_anon_versioning=yes ;;
8522     esac
8523
8524     # See if GNU ld supports shared libraries.
8525     case $host_os in
8526     aix[3-9]*)
8527       # On AIX/PPC, the GNU linker is very broken
8528       if test "$host_cpu" != ia64; then
8529         ld_shlibs=no
8530         cat <<_LT_EOF 1>&2
8531
8532 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8533 *** to be unable to reliably create shared libraries on AIX.
8534 *** Therefore, libtool is disabling shared libraries support.  If you
8535 *** really care for shared libraries, you may want to modify your PATH
8536 *** so that a non-GNU linker is found, and then restart.
8537
8538 _LT_EOF
8539       fi
8540       ;;
8541
8542     amigaos*)
8543       case $host_cpu in
8544       powerpc)
8545             # see comment about AmigaOS4 .so support
8546             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8547             archive_expsym_cmds=''
8548         ;;
8549       m68k)
8550             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)'
8551             hardcode_libdir_flag_spec='-L$libdir'
8552             hardcode_minus_L=yes
8553         ;;
8554       esac
8555       ;;
8556
8557     beos*)
8558       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8559         allow_undefined_flag=unsupported
8560         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8561         # support --undefined.  This deserves some investigation.  FIXME
8562         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8563       else
8564         ld_shlibs=no
8565       fi
8566       ;;
8567
8568     cygwin* | mingw* | pw32* | cegcc*)
8569       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8570       # as there is no search path for DLLs.
8571       hardcode_libdir_flag_spec='-L$libdir'
8572       allow_undefined_flag=unsupported
8573       always_export_symbols=no
8574       enable_shared_with_static_runtimes=yes
8575       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8576
8577       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8578         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8579         # If the export-symbols file already is a .def file (1st line
8580         # is EXPORTS), use it as is; otherwise, prepend...
8581         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8582           cp $export_symbols $output_objdir/$soname.def;
8583         else
8584           echo EXPORTS > $output_objdir/$soname.def;
8585           cat $export_symbols >> $output_objdir/$soname.def;
8586         fi~
8587         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8588       else
8589         ld_shlibs=no
8590       fi
8591       ;;
8592
8593     interix[3-9]*)
8594       hardcode_direct=no
8595       hardcode_shlibpath_var=no
8596       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8597       export_dynamic_flag_spec='${wl}-E'
8598       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8599       # Instead, shared libraries are loaded at an image base (0x10000000 by
8600       # default) and relocated if they conflict, which is a slow very memory
8601       # consuming and fragmenting process.  To avoid this, we pick a random,
8602       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8603       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8604       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8605       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'
8606       ;;
8607
8608     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8609       tmp_diet=no
8610       if test "$host_os" = linux-dietlibc; then
8611         case $cc_basename in
8612           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8613         esac
8614       fi
8615       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8616          && test "$tmp_diet" = no
8617       then
8618         tmp_addflag=
8619         tmp_sharedflag='-shared'
8620         case $cc_basename,$host_cpu in
8621         pgcc*)                          # Portland Group C compiler
8622           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8623           tmp_addflag=' $pic_flag'
8624           ;;
8625         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8626           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8627           tmp_addflag=' $pic_flag -Mnomain' ;;
8628         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8629           tmp_addflag=' -i_dynamic' ;;
8630         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8631           tmp_addflag=' -i_dynamic -nofor_main' ;;
8632         ifc* | ifort*)                  # Intel Fortran compiler
8633           tmp_addflag=' -nofor_main' ;;
8634         lf95*)                          # Lahey Fortran 8.1
8635           whole_archive_flag_spec=
8636           tmp_sharedflag='--shared' ;;
8637         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8638           tmp_sharedflag='-qmkshrobj'
8639           tmp_addflag= ;;
8640         esac
8641         case `$CC -V 2>&1 | sed 5q` in
8642         *Sun\ C*)                       # Sun C 5.9
8643           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8644           compiler_needs_object=yes
8645           tmp_sharedflag='-G' ;;
8646         *Sun\ F*)                       # Sun Fortran 8.3
8647           tmp_sharedflag='-G' ;;
8648         esac
8649         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8650
8651         if test "x$supports_anon_versioning" = xyes; then
8652           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8653             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8654             echo "local: *; };" >> $output_objdir/$libname.ver~
8655             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8656         fi
8657
8658         case $cc_basename in
8659         xlf*)
8660           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8661           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8662           hardcode_libdir_flag_spec=
8663           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8664           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8665           if test "x$supports_anon_versioning" = xyes; then
8666             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8667               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8668               echo "local: *; };" >> $output_objdir/$libname.ver~
8669               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8670           fi
8671           ;;
8672         esac
8673       else
8674         ld_shlibs=no
8675       fi
8676       ;;
8677
8678     netbsd* | netbsdelf*-gnu)
8679       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8680         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8681         wlarc=
8682       else
8683         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8684         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8685       fi
8686       ;;
8687
8688     solaris*)
8689       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8690         ld_shlibs=no
8691         cat <<_LT_EOF 1>&2
8692
8693 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8694 *** create shared libraries on Solaris systems.  Therefore, libtool
8695 *** is disabling shared libraries support.  We urge you to upgrade GNU
8696 *** binutils to release 2.9.1 or newer.  Another option is to modify
8697 *** your PATH or compiler configuration so that the native linker is
8698 *** used, and then restart.
8699
8700 _LT_EOF
8701       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8702         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8703         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8704       else
8705         ld_shlibs=no
8706       fi
8707       ;;
8708
8709     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8710       case `$LD -v 2>&1` in
8711         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8712         ld_shlibs=no
8713         cat <<_LT_EOF 1>&2
8714
8715 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8716 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8717 *** is disabling shared libraries support.  We urge you to upgrade GNU
8718 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8719 *** your PATH or compiler configuration so that the native linker is
8720 *** used, and then restart.
8721
8722 _LT_EOF
8723         ;;
8724         *)
8725           # For security reasons, it is highly recommended that you always
8726           # use absolute paths for naming shared libraries, and exclude the
8727           # DT_RUNPATH tag from executables and libraries.  But doing so
8728           # requires that you compile everything twice, which is a pain.
8729           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8730             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8731             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8732             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8733           else
8734             ld_shlibs=no
8735           fi
8736         ;;
8737       esac
8738       ;;
8739
8740     sunos4*)
8741       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8742       wlarc=
8743       hardcode_direct=yes
8744       hardcode_shlibpath_var=no
8745       ;;
8746
8747     *)
8748       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8749         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8750         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8751       else
8752         ld_shlibs=no
8753       fi
8754       ;;
8755     esac
8756
8757     if test "$ld_shlibs" = no; then
8758       runpath_var=
8759       hardcode_libdir_flag_spec=
8760       export_dynamic_flag_spec=
8761       whole_archive_flag_spec=
8762     fi
8763   else
8764     # PORTME fill in a description of your system's linker (not GNU ld)
8765     case $host_os in
8766     aix3*)
8767       allow_undefined_flag=unsupported
8768       always_export_symbols=yes
8769       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'
8770       # Note: this linker hardcodes the directories in LIBPATH if there
8771       # are no directories specified by -L.
8772       hardcode_minus_L=yes
8773       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8774         # Neither direct hardcoding nor static linking is supported with a
8775         # broken collect2.
8776         hardcode_direct=unsupported
8777       fi
8778       ;;
8779
8780     aix[4-9]*)
8781       if test "$host_cpu" = ia64; then
8782         # On IA64, the linker does run time linking by default, so we don't
8783         # have to do anything special.
8784         aix_use_runtimelinking=no
8785         exp_sym_flag='-Bexport'
8786         no_entry_flag=""
8787       else
8788         # If we're using GNU nm, then we don't want the "-C" option.
8789         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8790         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8791           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8792         else
8793           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'
8794         fi
8795         aix_use_runtimelinking=no
8796
8797         # Test if we are trying to use run time linking or normal
8798         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8799         # need to do runtime linking.
8800         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8801           for ld_flag in $LDFLAGS; do
8802           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8803             aix_use_runtimelinking=yes
8804             break
8805           fi
8806           done
8807           ;;
8808         esac
8809
8810         exp_sym_flag='-bexport'
8811         no_entry_flag='-bnoentry'
8812       fi
8813
8814       # When large executables or shared objects are built, AIX ld can
8815       # have problems creating the table of contents.  If linking a library
8816       # or program results in "error TOC overflow" add -mminimal-toc to
8817       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8818       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8819
8820       archive_cmds=''
8821       hardcode_direct=yes
8822       hardcode_direct_absolute=yes
8823       hardcode_libdir_separator=':'
8824       link_all_deplibs=yes
8825       file_list_spec='${wl}-f,'
8826
8827       if test "$GCC" = yes; then
8828         case $host_os in aix4.[012]|aix4.[012].*)
8829         # We only want to do this on AIX 4.2 and lower, the check
8830         # below for broken collect2 doesn't work under 4.3+
8831           collect2name=`${CC} -print-prog-name=collect2`
8832           if test -f "$collect2name" &&
8833            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8834           then
8835           # We have reworked collect2
8836           :
8837           else
8838           # We have old collect2
8839           hardcode_direct=unsupported
8840           # It fails to find uninstalled libraries when the uninstalled
8841           # path is not listed in the libpath.  Setting hardcode_minus_L
8842           # to unsupported forces relinking
8843           hardcode_minus_L=yes
8844           hardcode_libdir_flag_spec='-L$libdir'
8845           hardcode_libdir_separator=
8846           fi
8847           ;;
8848         esac
8849         shared_flag='-shared'
8850         if test "$aix_use_runtimelinking" = yes; then
8851           shared_flag="$shared_flag "'${wl}-G'
8852         fi
8853         link_all_deplibs=no
8854       else
8855         # not using gcc
8856         if test "$host_cpu" = ia64; then
8857         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8858         # chokes on -Wl,-G. The following line is correct:
8859           shared_flag='-G'
8860         else
8861           if test "$aix_use_runtimelinking" = yes; then
8862             shared_flag='${wl}-G'
8863           else
8864             shared_flag='${wl}-bM:SRE'
8865           fi
8866         fi
8867       fi
8868
8869       export_dynamic_flag_spec='${wl}-bexpall'
8870       # It seems that -bexpall does not export symbols beginning with
8871       # underscore (_), so it is better to generate a list of symbols to export.
8872       always_export_symbols=yes
8873       if test "$aix_use_runtimelinking" = yes; then
8874         # Warning - without using the other runtime loading flags (-brtl),
8875         # -berok will link without error, but may produce a broken library.
8876         allow_undefined_flag='-berok'
8877         # Determine the default libpath from the value encoded in an
8878         # empty executable.
8879         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h.  */
8881
8882 int
8883 main ()
8884 {
8885
8886   ;
8887   return 0;
8888 }
8889 _ACEOF
8890 if ac_fn_c_try_link "$LINENO"; then :
8891
8892 lt_aix_libpath_sed='
8893     /Import File Strings/,/^$/ {
8894         /^0/ {
8895             s/^0  *\(.*\)$/\1/
8896             p
8897         }
8898     }'
8899 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8900 # Check for a 64-bit object if we didn't find anything.
8901 if test -z "$aix_libpath"; then
8902   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8903 fi
8904 fi
8905 rm -f core conftest.err conftest.$ac_objext \
8906     conftest$ac_exeext conftest.$ac_ext
8907 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8908
8909         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8910         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8911       else
8912         if test "$host_cpu" = ia64; then
8913           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8914           allow_undefined_flag="-z nodefs"
8915           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"
8916         else
8917          # Determine the default libpath from the value encoded in an
8918          # empty executable.
8919          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h.  */
8921
8922 int
8923 main ()
8924 {
8925
8926   ;
8927   return 0;
8928 }
8929 _ACEOF
8930 if ac_fn_c_try_link "$LINENO"; then :
8931
8932 lt_aix_libpath_sed='
8933     /Import File Strings/,/^$/ {
8934         /^0/ {
8935             s/^0  *\(.*\)$/\1/
8936             p
8937         }
8938     }'
8939 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8940 # Check for a 64-bit object if we didn't find anything.
8941 if test -z "$aix_libpath"; then
8942   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8943 fi
8944 fi
8945 rm -f core conftest.err conftest.$ac_objext \
8946     conftest$ac_exeext conftest.$ac_ext
8947 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8948
8949          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8950           # Warning - without using the other run time loading flags,
8951           # -berok will link without error, but may produce a broken library.
8952           no_undefined_flag=' ${wl}-bernotok'
8953           allow_undefined_flag=' ${wl}-berok'
8954           # Exported symbols can be pulled into shared objects from archives
8955           whole_archive_flag_spec='$convenience'
8956           archive_cmds_need_lc=yes
8957           # This is similar to how AIX traditionally builds its shared libraries.
8958           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'
8959         fi
8960       fi
8961       ;;
8962
8963     amigaos*)
8964       case $host_cpu in
8965       powerpc)
8966             # see comment about AmigaOS4 .so support
8967             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968             archive_expsym_cmds=''
8969         ;;
8970       m68k)
8971             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)'
8972             hardcode_libdir_flag_spec='-L$libdir'
8973             hardcode_minus_L=yes
8974         ;;
8975       esac
8976       ;;
8977
8978     bsdi[45]*)
8979       export_dynamic_flag_spec=-rdynamic
8980       ;;
8981
8982     cygwin* | mingw* | pw32* | cegcc*)
8983       # When not using gcc, we currently assume that we are using
8984       # Microsoft Visual C++.
8985       # hardcode_libdir_flag_spec is actually meaningless, as there is
8986       # no search path for DLLs.
8987       hardcode_libdir_flag_spec=' '
8988       allow_undefined_flag=unsupported
8989       # Tell ltmain to make .lib files, not .a files.
8990       libext=lib
8991       # Tell ltmain to make .dll files, not .so files.
8992       shrext_cmds=".dll"
8993       # FIXME: Setting linknames here is a bad hack.
8994       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8995       # The linker will automatically build a .lib file if we build a DLL.
8996       old_archive_from_new_cmds='true'
8997       # FIXME: Should let the user specify the lib program.
8998       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8999       fix_srcfile_path='`cygpath -w "$srcfile"`'
9000       enable_shared_with_static_runtimes=yes
9001       ;;
9002
9003     darwin* | rhapsody*)
9004
9005
9006   archive_cmds_need_lc=no
9007   hardcode_direct=no
9008   hardcode_automatic=yes
9009   hardcode_shlibpath_var=unsupported
9010   whole_archive_flag_spec=''
9011   link_all_deplibs=yes
9012   allow_undefined_flag="$_lt_dar_allow_undefined"
9013   case $cc_basename in
9014      ifort*) _lt_dar_can_shared=yes ;;
9015      *) _lt_dar_can_shared=$GCC ;;
9016   esac
9017   if test "$_lt_dar_can_shared" = "yes"; then
9018     output_verbose_link_cmd=echo
9019     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9020     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9021     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}"
9022     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}"
9023
9024   else
9025   ld_shlibs=no
9026   fi
9027
9028       ;;
9029
9030     dgux*)
9031       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9032       hardcode_libdir_flag_spec='-L$libdir'
9033       hardcode_shlibpath_var=no
9034       ;;
9035
9036     freebsd1*)
9037       ld_shlibs=no
9038       ;;
9039
9040     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9041     # support.  Future versions do this automatically, but an explicit c++rt0.o
9042     # does not break anything, and helps significantly (at the cost of a little
9043     # extra space).
9044     freebsd2.2*)
9045       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9046       hardcode_libdir_flag_spec='-R$libdir'
9047       hardcode_direct=yes
9048       hardcode_shlibpath_var=no
9049       ;;
9050
9051     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9052     freebsd2*)
9053       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9054       hardcode_direct=yes
9055       hardcode_minus_L=yes
9056       hardcode_shlibpath_var=no
9057       ;;
9058
9059     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9060     freebsd* | dragonfly*)
9061       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9062       hardcode_libdir_flag_spec='-R$libdir'
9063       hardcode_direct=yes
9064       hardcode_shlibpath_var=no
9065       ;;
9066
9067     hpux9*)
9068       if test "$GCC" = yes; then
9069         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9070       else
9071         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'
9072       fi
9073       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9074       hardcode_libdir_separator=:
9075       hardcode_direct=yes
9076
9077       # hardcode_minus_L: Not really in the search PATH,
9078       # but as the default location of the library.
9079       hardcode_minus_L=yes
9080       export_dynamic_flag_spec='${wl}-E'
9081       ;;
9082
9083     hpux10*)
9084       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9085         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9086       else
9087         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9088       fi
9089       if test "$with_gnu_ld" = no; then
9090         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9091         hardcode_libdir_flag_spec_ld='+b $libdir'
9092         hardcode_libdir_separator=:
9093         hardcode_direct=yes
9094         hardcode_direct_absolute=yes
9095         export_dynamic_flag_spec='${wl}-E'
9096         # hardcode_minus_L: Not really in the search PATH,
9097         # but as the default location of the library.
9098         hardcode_minus_L=yes
9099       fi
9100       ;;
9101
9102     hpux11*)
9103       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9104         case $host_cpu in
9105         hppa*64*)
9106           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9107           ;;
9108         ia64*)
9109           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9110           ;;
9111         *)
9112           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9113           ;;
9114         esac
9115       else
9116         case $host_cpu in
9117         hppa*64*)
9118           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9119           ;;
9120         ia64*)
9121           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9122           ;;
9123         *)
9124           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9125           ;;
9126         esac
9127       fi
9128       if test "$with_gnu_ld" = no; then
9129         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9130         hardcode_libdir_separator=:
9131
9132         case $host_cpu in
9133         hppa*64*|ia64*)
9134           hardcode_direct=no
9135           hardcode_shlibpath_var=no
9136           ;;
9137         *)
9138           hardcode_direct=yes
9139           hardcode_direct_absolute=yes
9140           export_dynamic_flag_spec='${wl}-E'
9141
9142           # hardcode_minus_L: Not really in the search PATH,
9143           # but as the default location of the library.
9144           hardcode_minus_L=yes
9145           ;;
9146         esac
9147       fi
9148       ;;
9149
9150     irix5* | irix6* | nonstopux*)
9151       if test "$GCC" = yes; then
9152         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9153         # Try to use the -exported_symbol ld option, if it does not
9154         # work, assume that -exports_file does not work either and
9155         # implicitly export all symbols.
9156         save_LDFLAGS="$LDFLAGS"
9157         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9158         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h.  */
9160 int foo(void) {}
9161 _ACEOF
9162 if ac_fn_c_try_link "$LINENO"; then :
9163   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9164
9165 fi
9166 rm -f core conftest.err conftest.$ac_objext \
9167     conftest$ac_exeext conftest.$ac_ext
9168         LDFLAGS="$save_LDFLAGS"
9169       else
9170         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9171         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9172       fi
9173       archive_cmds_need_lc='no'
9174       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9175       hardcode_libdir_separator=:
9176       inherit_rpath=yes
9177       link_all_deplibs=yes
9178       ;;
9179
9180     netbsd* | netbsdelf*-gnu)
9181       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9182         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9183       else
9184         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9185       fi
9186       hardcode_libdir_flag_spec='-R$libdir'
9187       hardcode_direct=yes
9188       hardcode_shlibpath_var=no
9189       ;;
9190
9191     newsos6)
9192       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9193       hardcode_direct=yes
9194       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9195       hardcode_libdir_separator=:
9196       hardcode_shlibpath_var=no
9197       ;;
9198
9199     *nto* | *qnx*)
9200       ;;
9201
9202     openbsd*)
9203       if test -f /usr/libexec/ld.so; then
9204         hardcode_direct=yes
9205         hardcode_shlibpath_var=no
9206         hardcode_direct_absolute=yes
9207         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9208           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9209           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9210           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9211           export_dynamic_flag_spec='${wl}-E'
9212         else
9213           case $host_os in
9214            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9215              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9216              hardcode_libdir_flag_spec='-R$libdir'
9217              ;;
9218            *)
9219              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9220              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9221              ;;
9222           esac
9223         fi
9224       else
9225         ld_shlibs=no
9226       fi
9227       ;;
9228
9229     os2*)
9230       hardcode_libdir_flag_spec='-L$libdir'
9231       hardcode_minus_L=yes
9232       allow_undefined_flag=unsupported
9233       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'
9234       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9235       ;;
9236
9237     osf3*)
9238       if test "$GCC" = yes; then
9239         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9240         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9241       else
9242         allow_undefined_flag=' -expect_unresolved \*'
9243         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9244       fi
9245       archive_cmds_need_lc='no'
9246       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9247       hardcode_libdir_separator=:
9248       ;;
9249
9250     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9251       if test "$GCC" = yes; then
9252         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9253         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9254         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9255       else
9256         allow_undefined_flag=' -expect_unresolved \*'
9257         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9258         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~
9259         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9260
9261         # Both c and cxx compiler support -rpath directly
9262         hardcode_libdir_flag_spec='-rpath $libdir'
9263       fi
9264       archive_cmds_need_lc='no'
9265       hardcode_libdir_separator=:
9266       ;;
9267
9268     solaris*)
9269       no_undefined_flag=' -z defs'
9270       if test "$GCC" = yes; then
9271         wlarc='${wl}'
9272         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9273         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9274           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9275       else
9276         case `$CC -V 2>&1` in
9277         *"Compilers 5.0"*)
9278           wlarc=''
9279           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9280           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9281           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9282           ;;
9283         *)
9284           wlarc='${wl}'
9285           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9286           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9287           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9288           ;;
9289         esac
9290       fi
9291       hardcode_libdir_flag_spec='-R$libdir'
9292       hardcode_shlibpath_var=no
9293       case $host_os in
9294       solaris2.[0-5] | solaris2.[0-5].*) ;;
9295       *)
9296         # The compiler driver will combine and reorder linker options,
9297         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9298         # but is careful enough not to reorder.
9299         # Supported since Solaris 2.6 (maybe 2.5.1?)
9300         if test "$GCC" = yes; then
9301           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9302         else
9303           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9304         fi
9305         ;;
9306       esac
9307       link_all_deplibs=yes
9308       ;;
9309
9310     sunos4*)
9311       if test "x$host_vendor" = xsequent; then
9312         # Use $CC to link under sequent, because it throws in some extra .o
9313         # files that make .init and .fini sections work.
9314         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9315       else
9316         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9317       fi
9318       hardcode_libdir_flag_spec='-L$libdir'
9319       hardcode_direct=yes
9320       hardcode_minus_L=yes
9321       hardcode_shlibpath_var=no
9322       ;;
9323
9324     sysv4)
9325       case $host_vendor in
9326         sni)
9327           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9328           hardcode_direct=yes # is this really true???
9329         ;;
9330         siemens)
9331           ## LD is ld it makes a PLAMLIB
9332           ## CC just makes a GrossModule.
9333           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9334           reload_cmds='$CC -r -o $output$reload_objs'
9335           hardcode_direct=no
9336         ;;
9337         motorola)
9338           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9339           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9340         ;;
9341       esac
9342       runpath_var='LD_RUN_PATH'
9343       hardcode_shlibpath_var=no
9344       ;;
9345
9346     sysv4.3*)
9347       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9348       hardcode_shlibpath_var=no
9349       export_dynamic_flag_spec='-Bexport'
9350       ;;
9351
9352     sysv4*MP*)
9353       if test -d /usr/nec; then
9354         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9355         hardcode_shlibpath_var=no
9356         runpath_var=LD_RUN_PATH
9357         hardcode_runpath_var=yes
9358         ld_shlibs=yes
9359       fi
9360       ;;
9361
9362     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9363       no_undefined_flag='${wl}-z,text'
9364       archive_cmds_need_lc=no
9365       hardcode_shlibpath_var=no
9366       runpath_var='LD_RUN_PATH'
9367
9368       if test "$GCC" = yes; then
9369         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9370         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9371       else
9372         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9373         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9374       fi
9375       ;;
9376
9377     sysv5* | sco3.2v5* | sco5v6*)
9378       # Note: We can NOT use -z defs as we might desire, because we do not
9379       # link with -lc, and that would cause any symbols used from libc to
9380       # always be unresolved, which means just about no library would
9381       # ever link correctly.  If we're not using GNU ld we use -z text
9382       # though, which does catch some bad symbols but isn't as heavy-handed
9383       # as -z defs.
9384       no_undefined_flag='${wl}-z,text'
9385       allow_undefined_flag='${wl}-z,nodefs'
9386       archive_cmds_need_lc=no
9387       hardcode_shlibpath_var=no
9388       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9389       hardcode_libdir_separator=':'
9390       link_all_deplibs=yes
9391       export_dynamic_flag_spec='${wl}-Bexport'
9392       runpath_var='LD_RUN_PATH'
9393
9394       if test "$GCC" = yes; then
9395         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9396         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9397       else
9398         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9399         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9400       fi
9401       ;;
9402
9403     uts4*)
9404       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405       hardcode_libdir_flag_spec='-L$libdir'
9406       hardcode_shlibpath_var=no
9407       ;;
9408
9409     *)
9410       ld_shlibs=no
9411       ;;
9412     esac
9413
9414     if test x$host_vendor = xsni; then
9415       case $host in
9416       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9417         export_dynamic_flag_spec='${wl}-Blargedynsym'
9418         ;;
9419       esac
9420     fi
9421   fi
9422
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9424 $as_echo "$ld_shlibs" >&6; }
9425 test "$ld_shlibs" = no && can_build_shared=no
9426
9427 with_gnu_ld=$with_gnu_ld
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443 #
9444 # Do we need to explicitly link libc?
9445 #
9446 case "x$archive_cmds_need_lc" in
9447 x|xyes)
9448   # Assume -lc should be added
9449   archive_cmds_need_lc=yes
9450
9451   if test "$enable_shared" = yes && test "$GCC" = yes; then
9452     case $archive_cmds in
9453     *'~'*)
9454       # FIXME: we may have to deal with multi-command sequences.
9455       ;;
9456     '$CC '*)
9457       # Test whether the compiler implicitly links with -lc since on some
9458       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9459       # to ld, don't add -lc before -lgcc.
9460       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9461 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9462       $RM conftest*
9463       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9464
9465       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9466   (eval $ac_compile) 2>&5
9467   ac_status=$?
9468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9469   test $ac_status = 0; } 2>conftest.err; then
9470         soname=conftest
9471         lib=conftest
9472         libobjs=conftest.$ac_objext
9473         deplibs=
9474         wl=$lt_prog_compiler_wl
9475         pic_flag=$lt_prog_compiler_pic
9476         compiler_flags=-v
9477         linker_flags=-v
9478         verstring=
9479         output_objdir=.
9480         libname=conftest
9481         lt_save_allow_undefined_flag=$allow_undefined_flag
9482         allow_undefined_flag=
9483         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9484   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9485   ac_status=$?
9486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9487   test $ac_status = 0; }
9488         then
9489           archive_cmds_need_lc=no
9490         else
9491           archive_cmds_need_lc=yes
9492         fi
9493         allow_undefined_flag=$lt_save_allow_undefined_flag
9494       else
9495         cat conftest.err 1>&5
9496       fi
9497       $RM conftest*
9498       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9499 $as_echo "$archive_cmds_need_lc" >&6; }
9500       ;;
9501     esac
9502   fi
9503   ;;
9504 esac
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9663 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9664
9665 if test "$GCC" = yes; then
9666   case $host_os in
9667     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9668     *) lt_awk_arg="/^libraries:/" ;;
9669   esac
9670   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9671   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9672     # if the path contains ";" then we assume it to be the separator
9673     # otherwise default to the standard path separator (i.e. ":") - it is
9674     # assumed that no part of a normal pathname contains ";" but that should
9675     # okay in the real world where ";" in dirpaths is itself problematic.
9676     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9677   else
9678     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9679   fi
9680   # Ok, now we have the path, separated by spaces, we can step through it
9681   # and add multilib dir if necessary.
9682   lt_tmp_lt_search_path_spec=
9683   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9684   for lt_sys_path in $lt_search_path_spec; do
9685     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9686       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9687     else
9688       test -d "$lt_sys_path" && \
9689         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9690     fi
9691   done
9692   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9693 BEGIN {RS=" "; FS="/|\n";} {
9694   lt_foo="";
9695   lt_count=0;
9696   for (lt_i = NF; lt_i > 0; lt_i--) {
9697     if ($lt_i != "" && $lt_i != ".") {
9698       if ($lt_i == "..") {
9699         lt_count++;
9700       } else {
9701         if (lt_count == 0) {
9702           lt_foo="/" $lt_i lt_foo;
9703         } else {
9704           lt_count--;
9705         }
9706       }
9707     }
9708   }
9709   if (lt_foo != "") { lt_freq[lt_foo]++; }
9710   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9711 }'`
9712   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9713 else
9714   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9715 fi
9716 library_names_spec=
9717 libname_spec='lib$name'
9718 soname_spec=
9719 shrext_cmds=".so"
9720 postinstall_cmds=
9721 postuninstall_cmds=
9722 finish_cmds=
9723 finish_eval=
9724 shlibpath_var=
9725 shlibpath_overrides_runpath=unknown
9726 version_type=none
9727 dynamic_linker="$host_os ld.so"
9728 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9729 need_lib_prefix=unknown
9730 hardcode_into_libs=no
9731
9732 # when you set need_version to no, make sure it does not cause -set_version
9733 # flags to be left without arguments
9734 need_version=unknown
9735
9736 case $host_os in
9737 aix3*)
9738   version_type=linux
9739   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9740   shlibpath_var=LIBPATH
9741
9742   # AIX 3 has no versioning support, so we append a major version to the name.
9743   soname_spec='${libname}${release}${shared_ext}$major'
9744   ;;
9745
9746 aix[4-9]*)
9747   version_type=linux
9748   need_lib_prefix=no
9749   need_version=no
9750   hardcode_into_libs=yes
9751   if test "$host_cpu" = ia64; then
9752     # AIX 5 supports IA64
9753     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9754     shlibpath_var=LD_LIBRARY_PATH
9755   else
9756     # With GCC up to 2.95.x, collect2 would create an import file
9757     # for dependence libraries.  The import file would start with
9758     # the line `#! .'.  This would cause the generated library to
9759     # depend on `.', always an invalid library.  This was fixed in
9760     # development snapshots of GCC prior to 3.0.
9761     case $host_os in
9762       aix4 | aix4.[01] | aix4.[01].*)
9763       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9764            echo ' yes '
9765            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9766         :
9767       else
9768         can_build_shared=no
9769       fi
9770       ;;
9771     esac
9772     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9773     # soname into executable. Probably we can add versioning support to
9774     # collect2, so additional links can be useful in future.
9775     if test "$aix_use_runtimelinking" = yes; then
9776       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9777       # instead of lib<name>.a to let people know that these are not
9778       # typical AIX shared libraries.
9779       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9780     else
9781       # We preserve .a as extension for shared libraries through AIX4.2
9782       # and later when we are not doing run time linking.
9783       library_names_spec='${libname}${release}.a $libname.a'
9784       soname_spec='${libname}${release}${shared_ext}$major'
9785     fi
9786     shlibpath_var=LIBPATH
9787   fi
9788   ;;
9789
9790 amigaos*)
9791   case $host_cpu in
9792   powerpc)
9793     # Since July 2007 AmigaOS4 officially supports .so libraries.
9794     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9795     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9796     ;;
9797   m68k)
9798     library_names_spec='$libname.ixlibrary $libname.a'
9799     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9800     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9801     ;;
9802   esac
9803   ;;
9804
9805 beos*)
9806   library_names_spec='${libname}${shared_ext}'
9807   dynamic_linker="$host_os ld.so"
9808   shlibpath_var=LIBRARY_PATH
9809   ;;
9810
9811 bsdi[45]*)
9812   version_type=linux
9813   need_version=no
9814   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9815   soname_spec='${libname}${release}${shared_ext}$major'
9816   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9817   shlibpath_var=LD_LIBRARY_PATH
9818   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9819   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9820   # the default ld.so.conf also contains /usr/contrib/lib and
9821   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9822   # libtool to hard-code these into programs
9823   ;;
9824
9825 cygwin* | mingw* | pw32* | cegcc*)
9826   version_type=windows
9827   shrext_cmds=".dll"
9828   need_version=no
9829   need_lib_prefix=no
9830
9831   case $GCC,$host_os in
9832   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9833     library_names_spec='$libname.dll.a'
9834     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9835     postinstall_cmds='base_file=`basename \${file}`~
9836       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9837       dldir=$destdir/`dirname \$dlpath`~
9838       test -d \$dldir || mkdir -p \$dldir~
9839       $install_prog $dir/$dlname \$dldir/$dlname~
9840       chmod a+x \$dldir/$dlname~
9841       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9842         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9843       fi'
9844     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9845       dlpath=$dir/\$dldll~
9846        $RM \$dlpath'
9847     shlibpath_overrides_runpath=yes
9848
9849     case $host_os in
9850     cygwin*)
9851       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9852       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9853       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9854       ;;
9855     mingw* | cegcc*)
9856       # MinGW DLLs use traditional 'lib' prefix
9857       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9858       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9859       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9860         # It is most probably a Windows format PATH printed by
9861         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9862         # path with ; separators, and with drive letters. We can handle the
9863         # drive letters (cygwin fileutils understands them), so leave them,
9864         # especially as we might pass files found there to a mingw objdump,
9865         # which wouldn't understand a cygwinified path. Ahh.
9866         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9867       else
9868         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9869       fi
9870       ;;
9871     pw32*)
9872       # pw32 DLLs use 'pw' prefix rather than 'lib'
9873       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9874       ;;
9875     esac
9876     ;;
9877
9878   *)
9879     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9880     ;;
9881   esac
9882   dynamic_linker='Win32 ld.exe'
9883   # FIXME: first we should search . and the directory the executable is in
9884   shlibpath_var=PATH
9885   ;;
9886
9887 darwin* | rhapsody*)
9888   dynamic_linker="$host_os dyld"
9889   version_type=darwin
9890   need_lib_prefix=no
9891   need_version=no
9892   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9893   soname_spec='${libname}${release}${major}$shared_ext'
9894   shlibpath_overrides_runpath=yes
9895   shlibpath_var=DYLD_LIBRARY_PATH
9896   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9897
9898   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9899   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9900   ;;
9901
9902 dgux*)
9903   version_type=linux
9904   need_lib_prefix=no
9905   need_version=no
9906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9907   soname_spec='${libname}${release}${shared_ext}$major'
9908   shlibpath_var=LD_LIBRARY_PATH
9909   ;;
9910
9911 freebsd1*)
9912   dynamic_linker=no
9913   ;;
9914
9915 freebsd* | dragonfly*)
9916   # DragonFly does not have aout.  When/if they implement a new
9917   # versioning mechanism, adjust this.
9918   if test -x /usr/bin/objformat; then
9919     objformat=`/usr/bin/objformat`
9920   else
9921     case $host_os in
9922     freebsd[123]*) objformat=aout ;;
9923     *) objformat=elf ;;
9924     esac
9925   fi
9926   version_type=freebsd-$objformat
9927   case $version_type in
9928     freebsd-elf*)
9929       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9930       need_version=no
9931       need_lib_prefix=no
9932       ;;
9933     freebsd-*)
9934       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9935       need_version=yes
9936       ;;
9937   esac
9938   shlibpath_var=LD_LIBRARY_PATH
9939   case $host_os in
9940   freebsd2*)
9941     shlibpath_overrides_runpath=yes
9942     ;;
9943   freebsd3.[01]* | freebsdelf3.[01]*)
9944     shlibpath_overrides_runpath=yes
9945     hardcode_into_libs=yes
9946     ;;
9947   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9948   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9949     shlibpath_overrides_runpath=no
9950     hardcode_into_libs=yes
9951     ;;
9952   *) # from 4.6 on, and DragonFly
9953     shlibpath_overrides_runpath=yes
9954     hardcode_into_libs=yes
9955     ;;
9956   esac
9957   ;;
9958
9959 gnu*)
9960   version_type=linux
9961   need_lib_prefix=no
9962   need_version=no
9963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9964   soname_spec='${libname}${release}${shared_ext}$major'
9965   shlibpath_var=LD_LIBRARY_PATH
9966   hardcode_into_libs=yes
9967   ;;
9968
9969 hpux9* | hpux10* | hpux11*)
9970   # Give a soname corresponding to the major version so that dld.sl refuses to
9971   # link against other versions.
9972   version_type=sunos
9973   need_lib_prefix=no
9974   need_version=no
9975   case $host_cpu in
9976   ia64*)
9977     shrext_cmds='.so'
9978     hardcode_into_libs=yes
9979     dynamic_linker="$host_os dld.so"
9980     shlibpath_var=LD_LIBRARY_PATH
9981     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9982     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9983     soname_spec='${libname}${release}${shared_ext}$major'
9984     if test "X$HPUX_IA64_MODE" = X32; then
9985       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9986     else
9987       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9988     fi
9989     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9990     ;;
9991   hppa*64*)
9992     shrext_cmds='.sl'
9993     hardcode_into_libs=yes
9994     dynamic_linker="$host_os dld.sl"
9995     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9996     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9997     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9998     soname_spec='${libname}${release}${shared_ext}$major'
9999     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10000     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10001     ;;
10002   *)
10003     shrext_cmds='.sl'
10004     dynamic_linker="$host_os dld.sl"
10005     shlibpath_var=SHLIB_PATH
10006     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10007     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10008     soname_spec='${libname}${release}${shared_ext}$major'
10009     ;;
10010   esac
10011   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10012   postinstall_cmds='chmod 555 $lib'
10013   ;;
10014
10015 interix[3-9]*)
10016   version_type=linux
10017   need_lib_prefix=no
10018   need_version=no
10019   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10020   soname_spec='${libname}${release}${shared_ext}$major'
10021   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10022   shlibpath_var=LD_LIBRARY_PATH
10023   shlibpath_overrides_runpath=no
10024   hardcode_into_libs=yes
10025   ;;
10026
10027 irix5* | irix6* | nonstopux*)
10028   case $host_os in
10029     nonstopux*) version_type=nonstopux ;;
10030     *)
10031         if test "$lt_cv_prog_gnu_ld" = yes; then
10032                 version_type=linux
10033         else
10034                 version_type=irix
10035         fi ;;
10036   esac
10037   need_lib_prefix=no
10038   need_version=no
10039   soname_spec='${libname}${release}${shared_ext}$major'
10040   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10041   case $host_os in
10042   irix5* | nonstopux*)
10043     libsuff= shlibsuff=
10044     ;;
10045   *)
10046     case $LD in # libtool.m4 will add one of these switches to LD
10047     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10048       libsuff= shlibsuff= libmagic=32-bit;;
10049     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10050       libsuff=32 shlibsuff=N32 libmagic=N32;;
10051     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10052       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10053     *) libsuff= shlibsuff= libmagic=never-match;;
10054     esac
10055     ;;
10056   esac
10057   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10058   shlibpath_overrides_runpath=no
10059   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10060   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10061   hardcode_into_libs=yes
10062   ;;
10063
10064 # No shared lib support for Linux oldld, aout, or coff.
10065 linux*oldld* | linux*aout* | linux*coff*)
10066   dynamic_linker=no
10067   ;;
10068
10069 # This must be Linux ELF.
10070 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10071   version_type=linux
10072   need_lib_prefix=no
10073   need_version=no
10074   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10075   soname_spec='${libname}${release}${shared_ext}$major'
10076   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10077   shlibpath_var=LD_LIBRARY_PATH
10078   shlibpath_overrides_runpath=no
10079   # Some binutils ld are patched to set DT_RUNPATH
10080   save_LDFLAGS=$LDFLAGS
10081   save_libdir=$libdir
10082   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10083        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h.  */
10086
10087 int
10088 main ()
10089 {
10090
10091   ;
10092   return 0;
10093 }
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10097   shlibpath_overrides_runpath=yes
10098 fi
10099 fi
10100 rm -f core conftest.err conftest.$ac_objext \
10101     conftest$ac_exeext conftest.$ac_ext
10102   LDFLAGS=$save_LDFLAGS
10103   libdir=$save_libdir
10104
10105   # This implies no fast_install, which is unacceptable.
10106   # Some rework will be needed to allow for fast_install
10107   # before this can be enabled.
10108   hardcode_into_libs=yes
10109
10110   # Append ld.so.conf contents to the search path
10111   if test -f /etc/ld.so.conf; then
10112     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;/^$/d' | tr '\n' ' '`
10113     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10114   fi
10115
10116   # We used to test for /lib/ld.so.1 and disable shared libraries on
10117   # powerpc, because MkLinux only supported shared libraries with the
10118   # GNU dynamic linker.  Since this was broken with cross compilers,
10119   # most powerpc-linux boxes support dynamic linking these days and
10120   # people can always --disable-shared, the test was removed, and we
10121   # assume the GNU/Linux dynamic linker is in use.
10122   dynamic_linker='GNU/Linux ld.so'
10123   ;;
10124
10125 netbsdelf*-gnu)
10126   version_type=linux
10127   need_lib_prefix=no
10128   need_version=no
10129   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10130   soname_spec='${libname}${release}${shared_ext}$major'
10131   shlibpath_var=LD_LIBRARY_PATH
10132   shlibpath_overrides_runpath=no
10133   hardcode_into_libs=yes
10134   dynamic_linker='NetBSD ld.elf_so'
10135   ;;
10136
10137 netbsd*)
10138   version_type=sunos
10139   need_lib_prefix=no
10140   need_version=no
10141   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10142     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10143     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10144     dynamic_linker='NetBSD (a.out) ld.so'
10145   else
10146     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10147     soname_spec='${libname}${release}${shared_ext}$major'
10148     dynamic_linker='NetBSD ld.elf_so'
10149   fi
10150   shlibpath_var=LD_LIBRARY_PATH
10151   shlibpath_overrides_runpath=yes
10152   hardcode_into_libs=yes
10153   ;;
10154
10155 newsos6)
10156   version_type=linux
10157   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10158   shlibpath_var=LD_LIBRARY_PATH
10159   shlibpath_overrides_runpath=yes
10160   ;;
10161
10162 *nto* | *qnx*)
10163   version_type=qnx
10164   need_lib_prefix=no
10165   need_version=no
10166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10167   soname_spec='${libname}${release}${shared_ext}$major'
10168   shlibpath_var=LD_LIBRARY_PATH
10169   shlibpath_overrides_runpath=no
10170   hardcode_into_libs=yes
10171   dynamic_linker='ldqnx.so'
10172   ;;
10173
10174 openbsd*)
10175   version_type=sunos
10176   sys_lib_dlsearch_path_spec="/usr/lib"
10177   need_lib_prefix=no
10178   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10179   case $host_os in
10180     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10181     *)                          need_version=no  ;;
10182   esac
10183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10184   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10185   shlibpath_var=LD_LIBRARY_PATH
10186   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10187     case $host_os in
10188       openbsd2.[89] | openbsd2.[89].*)
10189         shlibpath_overrides_runpath=no
10190         ;;
10191       *)
10192         shlibpath_overrides_runpath=yes
10193         ;;
10194       esac
10195   else
10196     shlibpath_overrides_runpath=yes
10197   fi
10198   ;;
10199
10200 os2*)
10201   libname_spec='$name'
10202   shrext_cmds=".dll"
10203   need_lib_prefix=no
10204   library_names_spec='$libname${shared_ext} $libname.a'
10205   dynamic_linker='OS/2 ld.exe'
10206   shlibpath_var=LIBPATH
10207   ;;
10208
10209 osf3* | osf4* | osf5*)
10210   version_type=osf
10211   need_lib_prefix=no
10212   need_version=no
10213   soname_spec='${libname}${release}${shared_ext}$major'
10214   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10215   shlibpath_var=LD_LIBRARY_PATH
10216   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10217   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10218   ;;
10219
10220 rdos*)
10221   dynamic_linker=no
10222   ;;
10223
10224 solaris*)
10225   version_type=linux
10226   need_lib_prefix=no
10227   need_version=no
10228   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10229   soname_spec='${libname}${release}${shared_ext}$major'
10230   shlibpath_var=LD_LIBRARY_PATH
10231   shlibpath_overrides_runpath=yes
10232   hardcode_into_libs=yes
10233   # ldd complains unless libraries are executable
10234   postinstall_cmds='chmod +x $lib'
10235   ;;
10236
10237 sunos4*)
10238   version_type=sunos
10239   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10240   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10241   shlibpath_var=LD_LIBRARY_PATH
10242   shlibpath_overrides_runpath=yes
10243   if test "$with_gnu_ld" = yes; then
10244     need_lib_prefix=no
10245   fi
10246   need_version=yes
10247   ;;
10248
10249 sysv4 | sysv4.3*)
10250   version_type=linux
10251   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10252   soname_spec='${libname}${release}${shared_ext}$major'
10253   shlibpath_var=LD_LIBRARY_PATH
10254   case $host_vendor in
10255     sni)
10256       shlibpath_overrides_runpath=no
10257       need_lib_prefix=no
10258       runpath_var=LD_RUN_PATH
10259       ;;
10260     siemens)
10261       need_lib_prefix=no
10262       ;;
10263     motorola)
10264       need_lib_prefix=no
10265       need_version=no
10266       shlibpath_overrides_runpath=no
10267       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10268       ;;
10269   esac
10270   ;;
10271
10272 sysv4*MP*)
10273   if test -d /usr/nec ;then
10274     version_type=linux
10275     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10276     soname_spec='$libname${shared_ext}.$major'
10277     shlibpath_var=LD_LIBRARY_PATH
10278   fi
10279   ;;
10280
10281 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10282   version_type=freebsd-elf
10283   need_lib_prefix=no
10284   need_version=no
10285   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10286   soname_spec='${libname}${release}${shared_ext}$major'
10287   shlibpath_var=LD_LIBRARY_PATH
10288   shlibpath_overrides_runpath=yes
10289   hardcode_into_libs=yes
10290   if test "$with_gnu_ld" = yes; then
10291     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10292   else
10293     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10294     case $host_os in
10295       sco3.2v5*)
10296         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10297         ;;
10298     esac
10299   fi
10300   sys_lib_dlsearch_path_spec='/usr/lib'
10301   ;;
10302
10303 tpf*)
10304   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10305   version_type=linux
10306   need_lib_prefix=no
10307   need_version=no
10308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309   shlibpath_var=LD_LIBRARY_PATH
10310   shlibpath_overrides_runpath=no
10311   hardcode_into_libs=yes
10312   ;;
10313
10314 uts4*)
10315   version_type=linux
10316   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10317   soname_spec='${libname}${release}${shared_ext}$major'
10318   shlibpath_var=LD_LIBRARY_PATH
10319   ;;
10320
10321 *)
10322   dynamic_linker=no
10323   ;;
10324 esac
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10326 $as_echo "$dynamic_linker" >&6; }
10327 test "$dynamic_linker" = no && can_build_shared=no
10328
10329 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10330 if test "$GCC" = yes; then
10331   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10332 fi
10333
10334 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10335   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10336 fi
10337 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10338   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10339 fi
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10428 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10429 hardcode_action=
10430 if test -n "$hardcode_libdir_flag_spec" ||
10431    test -n "$runpath_var" ||
10432    test "X$hardcode_automatic" = "Xyes" ; then
10433
10434   # We can hardcode non-existent directories.
10435   if test "$hardcode_direct" != no &&
10436      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10437      # have to relink, otherwise we might link with an installed library
10438      # when we should be linking with a yet-to-be-installed one
10439      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10440      test "$hardcode_minus_L" != no; then
10441     # Linking always hardcodes the temporary library directory.
10442     hardcode_action=relink
10443   else
10444     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10445     hardcode_action=immediate
10446   fi
10447 else
10448   # We cannot hardcode anything, or else we can only hardcode existing
10449   # directories.
10450   hardcode_action=unsupported
10451 fi
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10453 $as_echo "$hardcode_action" >&6; }
10454
10455 if test "$hardcode_action" = relink ||
10456    test "$inherit_rpath" = yes; then
10457   # Fast installation is not supported
10458   enable_fast_install=no
10459 elif test "$shlibpath_overrides_runpath" = yes ||
10460      test "$enable_shared" = no; then
10461   # Fast installation is not necessary
10462   enable_fast_install=needless
10463 fi
10464
10465
10466
10467
10468
10469
10470   if test "x$enable_dlopen" != xyes; then
10471   enable_dlopen=unknown
10472   enable_dlopen_self=unknown
10473   enable_dlopen_self_static=unknown
10474 else
10475   lt_cv_dlopen=no
10476   lt_cv_dlopen_libs=
10477
10478   case $host_os in
10479   beos*)
10480     lt_cv_dlopen="load_add_on"
10481     lt_cv_dlopen_libs=
10482     lt_cv_dlopen_self=yes
10483     ;;
10484
10485   mingw* | pw32* | cegcc*)
10486     lt_cv_dlopen="LoadLibrary"
10487     lt_cv_dlopen_libs=
10488     ;;
10489
10490   cygwin*)
10491     lt_cv_dlopen="dlopen"
10492     lt_cv_dlopen_libs=
10493     ;;
10494
10495   darwin*)
10496   # if libdl is installed we need to link against it
10497     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10498 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10499 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10500   $as_echo_n "(cached) " >&6
10501 else
10502   ac_check_lib_save_LIBS=$LIBS
10503 LIBS="-ldl  $LIBS"
10504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10505 /* end confdefs.h.  */
10506
10507 /* Override any GCC internal prototype to avoid an error.
10508    Use char because int might match the return type of a GCC
10509    builtin and then its argument prototype would still apply.  */
10510 #ifdef __cplusplus
10511 extern "C"
10512 #endif
10513 char dlopen ();
10514 int
10515 main ()
10516 {
10517 return dlopen ();
10518   ;
10519   return 0;
10520 }
10521 _ACEOF
10522 if ac_fn_c_try_link "$LINENO"; then :
10523   ac_cv_lib_dl_dlopen=yes
10524 else
10525   ac_cv_lib_dl_dlopen=no
10526 fi
10527 rm -f core conftest.err conftest.$ac_objext \
10528     conftest$ac_exeext conftest.$ac_ext
10529 LIBS=$ac_check_lib_save_LIBS
10530 fi
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10532 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10533 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10534   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10535 else
10536
10537     lt_cv_dlopen="dyld"
10538     lt_cv_dlopen_libs=
10539     lt_cv_dlopen_self=yes
10540
10541 fi
10542
10543     ;;
10544
10545   *)
10546     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10547 if test "x$ac_cv_func_shl_load" = x""yes; then :
10548   lt_cv_dlopen="shl_load"
10549 else
10550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10551 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10552 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10553   $as_echo_n "(cached) " >&6
10554 else
10555   ac_check_lib_save_LIBS=$LIBS
10556 LIBS="-ldld  $LIBS"
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h.  */
10559
10560 /* Override any GCC internal prototype to avoid an error.
10561    Use char because int might match the return type of a GCC
10562    builtin and then its argument prototype would still apply.  */
10563 #ifdef __cplusplus
10564 extern "C"
10565 #endif
10566 char shl_load ();
10567 int
10568 main ()
10569 {
10570 return shl_load ();
10571   ;
10572   return 0;
10573 }
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576   ac_cv_lib_dld_shl_load=yes
10577 else
10578   ac_cv_lib_dld_shl_load=no
10579 fi
10580 rm -f core conftest.err conftest.$ac_objext \
10581     conftest$ac_exeext conftest.$ac_ext
10582 LIBS=$ac_check_lib_save_LIBS
10583 fi
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10585 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10586 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10587   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10588 else
10589   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10590 if test "x$ac_cv_func_dlopen" = x""yes; then :
10591   lt_cv_dlopen="dlopen"
10592 else
10593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10594 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10595 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10596   $as_echo_n "(cached) " >&6
10597 else
10598   ac_check_lib_save_LIBS=$LIBS
10599 LIBS="-ldl  $LIBS"
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h.  */
10602
10603 /* Override any GCC internal prototype to avoid an error.
10604    Use char because int might match the return type of a GCC
10605    builtin and then its argument prototype would still apply.  */
10606 #ifdef __cplusplus
10607 extern "C"
10608 #endif
10609 char dlopen ();
10610 int
10611 main ()
10612 {
10613 return dlopen ();
10614   ;
10615   return 0;
10616 }
10617 _ACEOF
10618 if ac_fn_c_try_link "$LINENO"; then :
10619   ac_cv_lib_dl_dlopen=yes
10620 else
10621   ac_cv_lib_dl_dlopen=no
10622 fi
10623 rm -f core conftest.err conftest.$ac_objext \
10624     conftest$ac_exeext conftest.$ac_ext
10625 LIBS=$ac_check_lib_save_LIBS
10626 fi
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10628 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10629 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10630   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10631 else
10632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10633 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10634 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10635   $as_echo_n "(cached) " >&6
10636 else
10637   ac_check_lib_save_LIBS=$LIBS
10638 LIBS="-lsvld  $LIBS"
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h.  */
10641
10642 /* Override any GCC internal prototype to avoid an error.
10643    Use char because int might match the return type of a GCC
10644    builtin and then its argument prototype would still apply.  */
10645 #ifdef __cplusplus
10646 extern "C"
10647 #endif
10648 char dlopen ();
10649 int
10650 main ()
10651 {
10652 return dlopen ();
10653   ;
10654   return 0;
10655 }
10656 _ACEOF
10657 if ac_fn_c_try_link "$LINENO"; then :
10658   ac_cv_lib_svld_dlopen=yes
10659 else
10660   ac_cv_lib_svld_dlopen=no
10661 fi
10662 rm -f core conftest.err conftest.$ac_objext \
10663     conftest$ac_exeext conftest.$ac_ext
10664 LIBS=$ac_check_lib_save_LIBS
10665 fi
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10667 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10668 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10669   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10670 else
10671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10672 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10673 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10674   $as_echo_n "(cached) " >&6
10675 else
10676   ac_check_lib_save_LIBS=$LIBS
10677 LIBS="-ldld  $LIBS"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h.  */
10680
10681 /* Override any GCC internal prototype to avoid an error.
10682    Use char because int might match the return type of a GCC
10683    builtin and then its argument prototype would still apply.  */
10684 #ifdef __cplusplus
10685 extern "C"
10686 #endif
10687 char dld_link ();
10688 int
10689 main ()
10690 {
10691 return dld_link ();
10692   ;
10693   return 0;
10694 }
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"; then :
10697   ac_cv_lib_dld_dld_link=yes
10698 else
10699   ac_cv_lib_dld_dld_link=no
10700 fi
10701 rm -f core conftest.err conftest.$ac_objext \
10702     conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS
10704 fi
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10706 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10707 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10708   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10709 fi
10710
10711
10712 fi
10713
10714
10715 fi
10716
10717
10718 fi
10719
10720
10721 fi
10722
10723
10724 fi
10725
10726     ;;
10727   esac
10728
10729   if test "x$lt_cv_dlopen" != xno; then
10730     enable_dlopen=yes
10731   else
10732     enable_dlopen=no
10733   fi
10734
10735   case $lt_cv_dlopen in
10736   dlopen)
10737     save_CPPFLAGS="$CPPFLAGS"
10738     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10739
10740     save_LDFLAGS="$LDFLAGS"
10741     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10742
10743     save_LIBS="$LIBS"
10744     LIBS="$lt_cv_dlopen_libs $LIBS"
10745
10746     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10747 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10748 if test "${lt_cv_dlopen_self+set}" = set; then :
10749   $as_echo_n "(cached) " >&6
10750 else
10751           if test "$cross_compiling" = yes; then :
10752   lt_cv_dlopen_self=cross
10753 else
10754   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10755   lt_status=$lt_dlunknown
10756   cat > conftest.$ac_ext <<_LT_EOF
10757 #line 10757 "configure"
10758 #include "confdefs.h"
10759
10760 #if HAVE_DLFCN_H
10761 #include <dlfcn.h>
10762 #endif
10763
10764 #include <stdio.h>
10765
10766 #ifdef RTLD_GLOBAL
10767 #  define LT_DLGLOBAL           RTLD_GLOBAL
10768 #else
10769 #  ifdef DL_GLOBAL
10770 #    define LT_DLGLOBAL         DL_GLOBAL
10771 #  else
10772 #    define LT_DLGLOBAL         0
10773 #  endif
10774 #endif
10775
10776 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10777    find out it does not work in some platform. */
10778 #ifndef LT_DLLAZY_OR_NOW
10779 #  ifdef RTLD_LAZY
10780 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10781 #  else
10782 #    ifdef DL_LAZY
10783 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10784 #    else
10785 #      ifdef RTLD_NOW
10786 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10787 #      else
10788 #        ifdef DL_NOW
10789 #          define LT_DLLAZY_OR_NOW      DL_NOW
10790 #        else
10791 #          define LT_DLLAZY_OR_NOW      0
10792 #        endif
10793 #      endif
10794 #    endif
10795 #  endif
10796 #endif
10797
10798 void fnord() { int i=42;}
10799 int main ()
10800 {
10801   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10802   int status = $lt_dlunknown;
10803
10804   if (self)
10805     {
10806       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10807       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10808       /* dlclose (self); */
10809     }
10810   else
10811     puts (dlerror ());
10812
10813   return status;
10814 }
10815 _LT_EOF
10816   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10817   (eval $ac_link) 2>&5
10818   ac_status=$?
10819   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10820   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10821     (./conftest; exit; ) >&5 2>/dev/null
10822     lt_status=$?
10823     case x$lt_status in
10824       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10825       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10826       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10827     esac
10828   else :
10829     # compilation failed
10830     lt_cv_dlopen_self=no
10831   fi
10832 fi
10833 rm -fr conftest*
10834
10835
10836 fi
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10838 $as_echo "$lt_cv_dlopen_self" >&6; }
10839
10840     if test "x$lt_cv_dlopen_self" = xyes; then
10841       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10842       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10843 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10844 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10845   $as_echo_n "(cached) " >&6
10846 else
10847           if test "$cross_compiling" = yes; then :
10848   lt_cv_dlopen_self_static=cross
10849 else
10850   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10851   lt_status=$lt_dlunknown
10852   cat > conftest.$ac_ext <<_LT_EOF
10853 #line 10853 "configure"
10854 #include "confdefs.h"
10855
10856 #if HAVE_DLFCN_H
10857 #include <dlfcn.h>
10858 #endif
10859
10860 #include <stdio.h>
10861
10862 #ifdef RTLD_GLOBAL
10863 #  define LT_DLGLOBAL           RTLD_GLOBAL
10864 #else
10865 #  ifdef DL_GLOBAL
10866 #    define LT_DLGLOBAL         DL_GLOBAL
10867 #  else
10868 #    define LT_DLGLOBAL         0
10869 #  endif
10870 #endif
10871
10872 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10873    find out it does not work in some platform. */
10874 #ifndef LT_DLLAZY_OR_NOW
10875 #  ifdef RTLD_LAZY
10876 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10877 #  else
10878 #    ifdef DL_LAZY
10879 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10880 #    else
10881 #      ifdef RTLD_NOW
10882 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10883 #      else
10884 #        ifdef DL_NOW
10885 #          define LT_DLLAZY_OR_NOW      DL_NOW
10886 #        else
10887 #          define LT_DLLAZY_OR_NOW      0
10888 #        endif
10889 #      endif
10890 #    endif
10891 #  endif
10892 #endif
10893
10894 void fnord() { int i=42;}
10895 int main ()
10896 {
10897   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10898   int status = $lt_dlunknown;
10899
10900   if (self)
10901     {
10902       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10903       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10904       /* dlclose (self); */
10905     }
10906   else
10907     puts (dlerror ());
10908
10909   return status;
10910 }
10911 _LT_EOF
10912   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10913   (eval $ac_link) 2>&5
10914   ac_status=$?
10915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10916   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10917     (./conftest; exit; ) >&5 2>/dev/null
10918     lt_status=$?
10919     case x$lt_status in
10920       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10921       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10922       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10923     esac
10924   else :
10925     # compilation failed
10926     lt_cv_dlopen_self_static=no
10927   fi
10928 fi
10929 rm -fr conftest*
10930
10931
10932 fi
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10934 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10935     fi
10936
10937     CPPFLAGS="$save_CPPFLAGS"
10938     LDFLAGS="$save_LDFLAGS"
10939     LIBS="$save_LIBS"
10940     ;;
10941   esac
10942
10943   case $lt_cv_dlopen_self in
10944   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10945   *) enable_dlopen_self=unknown ;;
10946   esac
10947
10948   case $lt_cv_dlopen_self_static in
10949   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10950   *) enable_dlopen_self_static=unknown ;;
10951   esac
10952 fi
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970 striplib=
10971 old_striplib=
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10973 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10974 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10975   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10976   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10978 $as_echo "yes" >&6; }
10979 else
10980 # FIXME - insert some real tests, host_os isn't really good enough
10981   case $host_os in
10982   darwin*)
10983     if test -n "$STRIP" ; then
10984       striplib="$STRIP -x"
10985       old_striplib="$STRIP -S"
10986       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10987 $as_echo "yes" >&6; }
10988     else
10989       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10990 $as_echo "no" >&6; }
10991     fi
10992     ;;
10993   *)
10994     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10995 $as_echo "no" >&6; }
10996     ;;
10997   esac
10998 fi
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011   # Report which library types will actually be built
11012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11013 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11015 $as_echo "$can_build_shared" >&6; }
11016
11017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11018 $as_echo_n "checking whether to build shared libraries... " >&6; }
11019   test "$can_build_shared" = "no" && enable_shared=no
11020
11021   # On AIX, shared libraries and static libraries use the same namespace, and
11022   # are all built from PIC.
11023   case $host_os in
11024   aix3*)
11025     test "$enable_shared" = yes && enable_static=no
11026     if test -n "$RANLIB"; then
11027       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11028       postinstall_cmds='$RANLIB $lib'
11029     fi
11030     ;;
11031
11032   aix[4-9]*)
11033     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11034       test "$enable_shared" = yes && enable_static=no
11035     fi
11036     ;;
11037   esac
11038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11039 $as_echo "$enable_shared" >&6; }
11040
11041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11042 $as_echo_n "checking whether to build static libraries... " >&6; }
11043   # Make sure either enable_shared or enable_static is yes.
11044   test "$enable_shared" = yes || enable_static=yes
11045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11046 $as_echo "$enable_static" >&6; }
11047
11048
11049
11050
11051 fi
11052 ac_ext=c
11053 ac_cpp='$CPP $CPPFLAGS'
11054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11057
11058 CC="$lt_save_CC"
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072         ac_config_commands="$ac_config_commands libtool"
11073
11074
11075
11076
11077 # Only expand once:
11078
11079
11080
11081 GST_REQ=0.10.22
11082 ORC_REQ=0.4.5
11083
11084
11085
11086
11087 # Check whether --with-autoconf was given.
11088 if test "${with_autoconf+set}" = set; then :
11089   withval=$with_autoconf;
11090       unset AUTOCONF
11091
11092 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
11093
11094       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
11095 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
11096
11097 fi
11098
11099
11100
11101 # Check whether --with-autoheader was given.
11102 if test "${with_autoheader+set}" = set; then :
11103   withval=$with_autoheader;
11104       unset AUTOHEADER
11105
11106 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
11107
11108       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
11109 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
11110
11111 fi
11112
11113
11114
11115 # Check whether --with-automake was given.
11116 if test "${with_automake+set}" = set; then :
11117   withval=$with_automake;
11118       unset AUTOMAKE
11119
11120 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
11121
11122       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
11123 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
11124
11125 fi
11126
11127
11128
11129 # Check whether --with-aclocal was given.
11130 if test "${with_aclocal+set}" = set; then :
11131   withval=$with_aclocal;
11132       unset ACLOCAL
11133
11134 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
11135
11136       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
11137 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
11138
11139 fi
11140
11141
11142
11143 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
11144
11145
11146
11147
11148
11149 # Check whether --with-pkg-config-path was given.
11150 if test "${with_pkg_config_path+set}" = set; then :
11151   withval=$with_pkg_config_path;
11152        export PKG_CONFIG_PATH=${withval}
11153        { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
11154 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
11155
11156 fi
11157
11158
11159
11160
11161 # Check whether --with-package-name was given.
11162 if test "${with_package_name+set}" = set; then :
11163   withval=$with_package_name;
11164       case "${withval}" in
11165         yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5  ;;
11166         no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5  ;;
11167         *)   GST_PACKAGE_NAME="${withval}" ;;
11168       esac
11169
11170 else
11171
11172       P=
11173       if test "x$P" = "x"
11174       then
11175         P=$PACKAGE_NAME
11176       fi
11177
11178       if test "x$PACKAGE_VERSION_NANO" = "x0"
11179       then
11180         GST_PACKAGE_NAME="$P source release"
11181       else
11182         if test "x$PACKAGE_VERSION_NANO" = "x1"
11183         then
11184           GST_PACKAGE_NAME="$P git"
11185         else
11186           GST_PACKAGE_NAME="$P prerelease"
11187         fi
11188       fi
11189
11190
11191 fi
11192
11193   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
11194 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
11195
11196 cat >>confdefs.h <<_ACEOF
11197 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
11198 _ACEOF
11199
11200
11201
11202
11203
11204 # Check whether --with-package-origin was given.
11205 if test "${with_package_origin+set}" = set; then :
11206   withval=$with_package_origin;
11207       case "${withval}" in
11208         yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5  ;;
11209         no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5  ;;
11210         *)   GST_PACKAGE_ORIGIN="${withval}" ;;
11211       esac
11212
11213 else
11214   GST_PACKAGE_ORIGIN="Unknown package origin"
11215 fi
11216
11217   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
11218 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
11219
11220 cat >>confdefs.h <<_ACEOF
11221 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
11222 _ACEOF
11223
11224
11225
11226
11227
11228 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11229         if test -n "$ac_tool_prefix"; then
11230   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11231 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11233 $as_echo_n "checking for $ac_word... " >&6; }
11234 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11235   $as_echo_n "(cached) " >&6
11236 else
11237   case $PKG_CONFIG in
11238   [\\/]* | ?:[\\/]*)
11239   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11240   ;;
11241   *)
11242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11243 for as_dir in $PATH
11244 do
11245   IFS=$as_save_IFS
11246   test -z "$as_dir" && as_dir=.
11247     for ac_exec_ext in '' $ac_executable_extensions; do
11248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11249     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11251     break 2
11252   fi
11253 done
11254   done
11255 IFS=$as_save_IFS
11256
11257   ;;
11258 esac
11259 fi
11260 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11261 if test -n "$PKG_CONFIG"; then
11262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11263 $as_echo "$PKG_CONFIG" >&6; }
11264 else
11265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11266 $as_echo "no" >&6; }
11267 fi
11268
11269
11270 fi
11271 if test -z "$ac_cv_path_PKG_CONFIG"; then
11272   ac_pt_PKG_CONFIG=$PKG_CONFIG
11273   # Extract the first word of "pkg-config", so it can be a program name with args.
11274 set dummy pkg-config; ac_word=$2
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11276 $as_echo_n "checking for $ac_word... " >&6; }
11277 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11278   $as_echo_n "(cached) " >&6
11279 else
11280   case $ac_pt_PKG_CONFIG in
11281   [\\/]* | ?:[\\/]*)
11282   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11283   ;;
11284   *)
11285   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11286 for as_dir in $PATH
11287 do
11288   IFS=$as_save_IFS
11289   test -z "$as_dir" && as_dir=.
11290     for ac_exec_ext in '' $ac_executable_extensions; do
11291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11292     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11294     break 2
11295   fi
11296 done
11297   done
11298 IFS=$as_save_IFS
11299
11300   ;;
11301 esac
11302 fi
11303 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11304 if test -n "$ac_pt_PKG_CONFIG"; then
11305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11306 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11307 else
11308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11309 $as_echo "no" >&6; }
11310 fi
11311
11312   if test "x$ac_pt_PKG_CONFIG" = x; then
11313     PKG_CONFIG=""
11314   else
11315     case $cross_compiling:$ac_tool_warned in
11316 yes:)
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11319 ac_tool_warned=yes ;;
11320 esac
11321     PKG_CONFIG=$ac_pt_PKG_CONFIG
11322   fi
11323 else
11324   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11325 fi
11326
11327 fi
11328 if test -n "$PKG_CONFIG"; then
11329         _pkg_min_version=0.9.0
11330         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11331 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11332         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11333                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11334 $as_echo "yes" >&6; }
11335         else
11336                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11338                 PKG_CONFIG=""
11339         fi
11340
11341 fi
11342
11343     # Check whether --enable-valgrind was given.
11344 if test "${enable_valgrind+set}" = set; then :
11345   enableval=$enable_valgrind;
11346       case "${enableval}" in
11347         yes) USE_VALGRIND="$USE_DEBUG" ;;
11348         no)  USE_VALGRIND=no ;;
11349         *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5  ;;
11350       esac
11351
11352 else
11353   USE_VALGRIND="$USE_DEBUG"
11354 fi
11355    VALGRIND_REQ="3.0"
11356   if test "x$USE_VALGRIND" = xyes; then
11357
11358 pkg_failed=no
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
11360 $as_echo_n "checking for VALGRIND... " >&6; }
11361
11362 if test -n "$PKG_CONFIG"; then
11363     if test -n "$VALGRIND_CFLAGS"; then
11364         pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
11365     else
11366         if test -n "$PKG_CONFIG" && \
11367     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
11368   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
11369   ac_status=$?
11370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11371   test $ac_status = 0; }; then
11372   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
11373 else
11374   pkg_failed=yes
11375 fi
11376     fi
11377 else
11378         pkg_failed=untried
11379 fi
11380 if test -n "$PKG_CONFIG"; then
11381     if test -n "$VALGRIND_LIBS"; then
11382         pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
11383     else
11384         if test -n "$PKG_CONFIG" && \
11385     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
11386   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
11387   ac_status=$?
11388   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11389   test $ac_status = 0; }; then
11390   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
11391 else
11392   pkg_failed=yes
11393 fi
11394     fi
11395 else
11396         pkg_failed=untried
11397 fi
11398
11399
11400
11401 if test $pkg_failed = yes; then
11402
11403 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11404         _pkg_short_errors_supported=yes
11405 else
11406         _pkg_short_errors_supported=no
11407 fi
11408         if test $_pkg_short_errors_supported = yes; then
11409                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
11410         else
11411                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
11412         fi
11413         # Put the nasty error message in config.log where it belongs
11414         echo "$VALGRIND_PKG_ERRORS" >&5
11415
11416         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11417 $as_echo "no" >&6; }
11418
11419         USE_VALGRIND="no"
11420         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11421 $as_echo "no" >&6; }
11422
11423 elif test $pkg_failed = untried; then
11424
11425         USE_VALGRIND="no"
11426         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11427 $as_echo "no" >&6; }
11428
11429 else
11430         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
11431         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
11432         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11433 $as_echo "yes" >&6; }
11434         USE_VALGRIND="yes"
11435 fi
11436   fi
11437   if test "x$USE_VALGRIND" = xyes; then
11438
11439 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
11440
11441     { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
11442 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
11443   fi
11444
11445
11446
11447
11448
11449
11450     case "x${host_cpu}" in
11451     xi?86 | xk? | xi?86_64)
11452       case $host_os in
11453          solaris*)
11454             ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
11455 if test "x$ac_cv_have_decl___i386" = x""yes; then :
11456   I386_ABI="yes"
11457 else
11458   I386_ABI="no"
11459 fi
11460
11461             ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
11462 if test "x$ac_cv_have_decl___amd64" = x""yes; then :
11463   AMD64_ABI="yes"
11464 else
11465   AMD64_ABI="no"
11466 fi
11467
11468
11469             if test "x$I386_ABI" = "xyes" ; then
11470                HAVE_CPU_I386=yes
11471
11472 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
11473
11474             fi
11475             if test "x$AMD64_ABI" = "xyes" ; then
11476                 HAVE_CPU_X86_64=yes
11477
11478 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
11479
11480             fi
11481             ;;
11482          *)
11483             HAVE_CPU_I386=yes
11484
11485 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
11486
11487
11488                                     case "x${host_cpu}" in
11489               xi386 | xi486) ;;
11490             *)
11491
11492 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
11493  ;;
11494             esac
11495             ;;
11496       esac
11497       ;;
11498     xpowerpc)
11499       HAVE_CPU_PPC=yes
11500
11501 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
11502  ;;
11503     xpowerpc64)
11504       HAVE_CPU_PPC64=yes
11505
11506 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
11507  ;;
11508     xalpha*)
11509       HAVE_CPU_ALPHA=yes
11510
11511 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
11512  ;;
11513     xarm*)
11514       HAVE_CPU_ARM=yes
11515
11516 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
11517  ;;
11518     xsparc*)
11519       HAVE_CPU_SPARC=yes
11520
11521 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
11522  ;;
11523     xmips*)
11524       HAVE_CPU_MIPS=yes
11525
11526 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
11527  ;;
11528     xhppa*)
11529       HAVE_CPU_HPPA=yes
11530
11531 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
11532  ;;
11533     xs390*)
11534       HAVE_CPU_S390=yes
11535
11536 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
11537  ;;
11538     xia64*)
11539       HAVE_CPU_IA64=yes
11540
11541 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
11542  ;;
11543     xm68k*)
11544       HAVE_CPU_M68K=yes
11545
11546 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
11547  ;;
11548     xx86_64)
11549       HAVE_CPU_X86_64=yes
11550
11551 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
11552  ;;
11553     xcris)
11554       HAVE_CPU_CRIS=yes
11555
11556 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
11557  ;;
11558     xcrisv32)
11559       HAVE_CPU_CRISV32=yes
11560
11561 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
11562  ;;
11563   esac
11564
11565      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11566 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11567 if test "${ac_cv_c_bigendian+set}" = set; then :
11568   $as_echo_n "(cached) " >&6
11569 else
11570   ac_cv_c_bigendian=unknown
11571     # See if we're dealing with a universal compiler.
11572     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h.  */
11574 #ifndef __APPLE_CC__
11575                not a universal capable compiler
11576              #endif
11577              typedef int dummy;
11578
11579 _ACEOF
11580 if ac_fn_c_try_compile "$LINENO"; then :
11581
11582         # Check for potential -arch flags.  It is not universal unless
11583         # there are at least two -arch flags with different values.
11584         ac_arch=
11585         ac_prev=
11586         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11587          if test -n "$ac_prev"; then
11588            case $ac_word in
11589              i?86 | x86_64 | ppc | ppc64)
11590                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
11591                  ac_arch=$ac_word
11592                else
11593                  ac_cv_c_bigendian=universal
11594                  break
11595                fi
11596                ;;
11597            esac
11598            ac_prev=
11599          elif test "x$ac_word" = "x-arch"; then
11600            ac_prev=arch
11601          fi
11602        done
11603 fi
11604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11605     if test $ac_cv_c_bigendian = unknown; then
11606       # See if sys/param.h defines the BYTE_ORDER macro.
11607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h.  */
11609 #include <sys/types.h>
11610              #include <sys/param.h>
11611
11612 int
11613 main ()
11614 {
11615 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11616                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11617                      && LITTLE_ENDIAN)
11618               bogus endian macros
11619              #endif
11620
11621   ;
11622   return 0;
11623 }
11624 _ACEOF
11625 if ac_fn_c_try_compile "$LINENO"; then :
11626   # It does; now see whether it defined to BIG_ENDIAN or not.
11627          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h.  */
11629 #include <sys/types.h>
11630                 #include <sys/param.h>
11631
11632 int
11633 main ()
11634 {
11635 #if BYTE_ORDER != BIG_ENDIAN
11636                  not big endian
11637                 #endif
11638
11639   ;
11640   return 0;
11641 }
11642 _ACEOF
11643 if ac_fn_c_try_compile "$LINENO"; then :
11644   ac_cv_c_bigendian=yes
11645 else
11646   ac_cv_c_bigendian=no
11647 fi
11648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11649 fi
11650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11651     fi
11652     if test $ac_cv_c_bigendian = unknown; then
11653       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h.  */
11656 #include <limits.h>
11657
11658 int
11659 main ()
11660 {
11661 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11662               bogus endian macros
11663              #endif
11664
11665   ;
11666   return 0;
11667 }
11668 _ACEOF
11669 if ac_fn_c_try_compile "$LINENO"; then :
11670   # It does; now see whether it defined to _BIG_ENDIAN or not.
11671          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h.  */
11673 #include <limits.h>
11674
11675 int
11676 main ()
11677 {
11678 #ifndef _BIG_ENDIAN
11679                  not big endian
11680                 #endif
11681
11682   ;
11683   return 0;
11684 }
11685 _ACEOF
11686 if ac_fn_c_try_compile "$LINENO"; then :
11687   ac_cv_c_bigendian=yes
11688 else
11689   ac_cv_c_bigendian=no
11690 fi
11691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11692 fi
11693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11694     fi
11695     if test $ac_cv_c_bigendian = unknown; then
11696       # Compile a test program.
11697       if test "$cross_compiling" = yes; then :
11698   # Try to guess by grepping values from an object file.
11699          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h.  */
11701 short int ascii_mm[] =
11702                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11703                 short int ascii_ii[] =
11704                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11705                 int use_ascii (int i) {
11706                   return ascii_mm[i] + ascii_ii[i];
11707                 }
11708                 short int ebcdic_ii[] =
11709                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11710                 short int ebcdic_mm[] =
11711                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11712                 int use_ebcdic (int i) {
11713                   return ebcdic_mm[i] + ebcdic_ii[i];
11714                 }
11715                 extern int foo;
11716
11717 int
11718 main ()
11719 {
11720 return use_ascii (foo) == use_ebcdic (foo);
11721   ;
11722   return 0;
11723 }
11724 _ACEOF
11725 if ac_fn_c_try_compile "$LINENO"; then :
11726   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
11727               ac_cv_c_bigendian=yes
11728             fi
11729             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
11730               if test "$ac_cv_c_bigendian" = unknown; then
11731                 ac_cv_c_bigendian=no
11732               else
11733                 # finding both strings is unlikely to happen, but who knows?
11734                 ac_cv_c_bigendian=unknown
11735               fi
11736             fi
11737 fi
11738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11739 else
11740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h.  */
11742 $ac_includes_default
11743 int
11744 main ()
11745 {
11746
11747              /* Are we little or big endian?  From Harbison&Steele.  */
11748              union
11749              {
11750                long int l;
11751                char c[sizeof (long int)];
11752              } u;
11753              u.l = 1;
11754              return u.c[sizeof (long int) - 1] == 1;
11755
11756   ;
11757   return 0;
11758 }
11759 _ACEOF
11760 if ac_fn_c_try_run "$LINENO"; then :
11761   ac_cv_c_bigendian=no
11762 else
11763   ac_cv_c_bigendian=yes
11764 fi
11765 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11766   conftest.$ac_objext conftest.beam conftest.$ac_ext
11767 fi
11768
11769     fi
11770 fi
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11772 $as_echo "$ac_cv_c_bigendian" >&6; }
11773  case $ac_cv_c_bigendian in #(
11774    yes)
11775      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11776 ;; #(
11777    no)
11778       ;; #(
11779    universal)
11780
11781 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11782
11783      ;; #(
11784    *)
11785      as_fn_error $? "unknown endianness
11786  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
11787  esac
11788
11789
11790    if test "x$HAVE_CPU_I386" = "xyes"; then
11791   HAVE_CPU_I386_TRUE=
11792   HAVE_CPU_I386_FALSE='#'
11793 else
11794   HAVE_CPU_I386_TRUE='#'
11795   HAVE_CPU_I386_FALSE=
11796 fi
11797
11798    if test "x$HAVE_CPU_PPC" = "xyes"; then
11799   HAVE_CPU_PPC_TRUE=
11800   HAVE_CPU_PPC_FALSE='#'
11801 else
11802   HAVE_CPU_PPC_TRUE='#'
11803   HAVE_CPU_PPC_FALSE=
11804 fi
11805
11806    if test "x$HAVE_CPU_PPC64" = "xyes"; then
11807   HAVE_CPU_PPC64_TRUE=
11808   HAVE_CPU_PPC64_FALSE='#'
11809 else
11810   HAVE_CPU_PPC64_TRUE='#'
11811   HAVE_CPU_PPC64_FALSE=
11812 fi
11813
11814    if test "x$HAVE_CPU_ALPHA" = "xyes"; then
11815   HAVE_CPU_ALPHA_TRUE=
11816   HAVE_CPU_ALPHA_FALSE='#'
11817 else
11818   HAVE_CPU_ALPHA_TRUE='#'
11819   HAVE_CPU_ALPHA_FALSE=
11820 fi
11821
11822    if test "x$HAVE_CPU_ARM" = "xyes"; then
11823   HAVE_CPU_ARM_TRUE=
11824   HAVE_CPU_ARM_FALSE='#'
11825 else
11826   HAVE_CPU_ARM_TRUE='#'
11827   HAVE_CPU_ARM_FALSE=
11828 fi
11829
11830    if test "x$HAVE_CPU_SPARC" = "xyes"; then
11831   HAVE_CPU_SPARC_TRUE=
11832   HAVE_CPU_SPARC_FALSE='#'
11833 else
11834   HAVE_CPU_SPARC_TRUE='#'
11835   HAVE_CPU_SPARC_FALSE=
11836 fi
11837
11838    if test "x$HAVE_CPU_HPPA" = "xyes"; then
11839   HAVE_CPU_HPPA_TRUE=
11840   HAVE_CPU_HPPA_FALSE='#'
11841 else
11842   HAVE_CPU_HPPA_TRUE='#'
11843   HAVE_CPU_HPPA_FALSE=
11844 fi
11845
11846    if test "x$HAVE_CPU_MIPS" = "xyes"; then
11847   HAVE_CPU_MIPS_TRUE=
11848   HAVE_CPU_MIPS_FALSE='#'
11849 else
11850   HAVE_CPU_MIPS_TRUE='#'
11851   HAVE_CPU_MIPS_FALSE=
11852 fi
11853
11854    if test "x$HAVE_CPU_S390" = "xyes"; then
11855   HAVE_CPU_S390_TRUE=
11856   HAVE_CPU_S390_FALSE='#'
11857 else
11858   HAVE_CPU_S390_TRUE='#'
11859   HAVE_CPU_S390_FALSE=
11860 fi
11861
11862    if test "x$HAVE_CPU_IA64" = "xyes"; then
11863   HAVE_CPU_IA64_TRUE=
11864   HAVE_CPU_IA64_FALSE='#'
11865 else
11866   HAVE_CPU_IA64_TRUE='#'
11867   HAVE_CPU_IA64_FALSE=
11868 fi
11869
11870    if test "x$HAVE_CPU_M68K" = "xyes"; then
11871   HAVE_CPU_M68K_TRUE=
11872   HAVE_CPU_M68K_FALSE='#'
11873 else
11874   HAVE_CPU_M68K_TRUE='#'
11875   HAVE_CPU_M68K_FALSE=
11876 fi
11877
11878    if test "x$HAVE_CPU_X86_64" = "xyes"; then
11879   HAVE_CPU_X86_64_TRUE=
11880   HAVE_CPU_X86_64_FALSE='#'
11881 else
11882   HAVE_CPU_X86_64_TRUE='#'
11883   HAVE_CPU_X86_64_FALSE=
11884 fi
11885
11886    if test "x$HAVE_CPU_CRIS" = "xyes"; then
11887   HAVE_CPU_CRIS_TRUE=
11888   HAVE_CPU_CRIS_FALSE='#'
11889 else
11890   HAVE_CPU_CRIS_TRUE='#'
11891   HAVE_CPU_CRIS_FALSE=
11892 fi
11893
11894    if test "x$HAVE_CPU_CRISV32" = "xyes"; then
11895   HAVE_CPU_CRISV32_TRUE=
11896   HAVE_CPU_CRISV32_FALSE='#'
11897 else
11898   HAVE_CPU_CRISV32_TRUE='#'
11899   HAVE_CPU_CRISV32_FALSE=
11900 fi
11901
11902
11903
11904 cat >>confdefs.h <<_ACEOF
11905 #define HOST_CPU "$host_cpu"
11906 _ACEOF
11907
11908
11909
11910
11911 ac_ext=c
11912 ac_cpp='$CPP $CPPFLAGS'
11913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11916 if test -n "$ac_tool_prefix"; then
11917   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11918 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11920 $as_echo_n "checking for $ac_word... " >&6; }
11921 if test "${ac_cv_prog_CC+set}" = set; then :
11922   $as_echo_n "(cached) " >&6
11923 else
11924   if test -n "$CC"; then
11925   ac_cv_prog_CC="$CC" # Let the user override the test.
11926 else
11927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11928 for as_dir in $PATH
11929 do
11930   IFS=$as_save_IFS
11931   test -z "$as_dir" && as_dir=.
11932     for ac_exec_ext in '' $ac_executable_extensions; do
11933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11934     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11936     break 2
11937   fi
11938 done
11939   done
11940 IFS=$as_save_IFS
11941
11942 fi
11943 fi
11944 CC=$ac_cv_prog_CC
11945 if test -n "$CC"; then
11946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11947 $as_echo "$CC" >&6; }
11948 else
11949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11950 $as_echo "no" >&6; }
11951 fi
11952
11953
11954 fi
11955 if test -z "$ac_cv_prog_CC"; then
11956   ac_ct_CC=$CC
11957   # Extract the first word of "gcc", so it can be a program name with args.
11958 set dummy gcc; ac_word=$2
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11960 $as_echo_n "checking for $ac_word... " >&6; }
11961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11962   $as_echo_n "(cached) " >&6
11963 else
11964   if test -n "$ac_ct_CC"; then
11965   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11966 else
11967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11968 for as_dir in $PATH
11969 do
11970   IFS=$as_save_IFS
11971   test -z "$as_dir" && as_dir=.
11972     for ac_exec_ext in '' $ac_executable_extensions; do
11973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11974     ac_cv_prog_ac_ct_CC="gcc"
11975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11976     break 2
11977   fi
11978 done
11979   done
11980 IFS=$as_save_IFS
11981
11982 fi
11983 fi
11984 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11985 if test -n "$ac_ct_CC"; then
11986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11987 $as_echo "$ac_ct_CC" >&6; }
11988 else
11989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11990 $as_echo "no" >&6; }
11991 fi
11992
11993   if test "x$ac_ct_CC" = x; then
11994     CC=""
11995   else
11996     case $cross_compiling:$ac_tool_warned in
11997 yes:)
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12000 ac_tool_warned=yes ;;
12001 esac
12002     CC=$ac_ct_CC
12003   fi
12004 else
12005   CC="$ac_cv_prog_CC"
12006 fi
12007
12008 if test -z "$CC"; then
12009           if test -n "$ac_tool_prefix"; then
12010     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12011 set dummy ${ac_tool_prefix}cc; ac_word=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12013 $as_echo_n "checking for $ac_word... " >&6; }
12014 if test "${ac_cv_prog_CC+set}" = set; then :
12015   $as_echo_n "(cached) " >&6
12016 else
12017   if test -n "$CC"; then
12018   ac_cv_prog_CC="$CC" # Let the user override the test.
12019 else
12020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12021 for as_dir in $PATH
12022 do
12023   IFS=$as_save_IFS
12024   test -z "$as_dir" && as_dir=.
12025     for ac_exec_ext in '' $ac_executable_extensions; do
12026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12027     ac_cv_prog_CC="${ac_tool_prefix}cc"
12028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12029     break 2
12030   fi
12031 done
12032   done
12033 IFS=$as_save_IFS
12034
12035 fi
12036 fi
12037 CC=$ac_cv_prog_CC
12038 if test -n "$CC"; then
12039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12040 $as_echo "$CC" >&6; }
12041 else
12042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12043 $as_echo "no" >&6; }
12044 fi
12045
12046
12047   fi
12048 fi
12049 if test -z "$CC"; then
12050   # Extract the first word of "cc", so it can be a program name with args.
12051 set dummy cc; ac_word=$2
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12053 $as_echo_n "checking for $ac_word... " >&6; }
12054 if test "${ac_cv_prog_CC+set}" = set; then :
12055   $as_echo_n "(cached) " >&6
12056 else
12057   if test -n "$CC"; then
12058   ac_cv_prog_CC="$CC" # Let the user override the test.
12059 else
12060   ac_prog_rejected=no
12061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12062 for as_dir in $PATH
12063 do
12064   IFS=$as_save_IFS
12065   test -z "$as_dir" && as_dir=.
12066     for ac_exec_ext in '' $ac_executable_extensions; do
12067   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12068     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12069        ac_prog_rejected=yes
12070        continue
12071      fi
12072     ac_cv_prog_CC="cc"
12073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12074     break 2
12075   fi
12076 done
12077   done
12078 IFS=$as_save_IFS
12079
12080 if test $ac_prog_rejected = yes; then
12081   # We found a bogon in the path, so make sure we never use it.
12082   set dummy $ac_cv_prog_CC
12083   shift
12084   if test $# != 0; then
12085     # We chose a different compiler from the bogus one.
12086     # However, it has the same basename, so the bogon will be chosen
12087     # first if we set CC to just the basename; use the full file name.
12088     shift
12089     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12090   fi
12091 fi
12092 fi
12093 fi
12094 CC=$ac_cv_prog_CC
12095 if test -n "$CC"; then
12096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12097 $as_echo "$CC" >&6; }
12098 else
12099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12100 $as_echo "no" >&6; }
12101 fi
12102
12103
12104 fi
12105 if test -z "$CC"; then
12106   if test -n "$ac_tool_prefix"; then
12107   for ac_prog in cl.exe
12108   do
12109     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12110 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12112 $as_echo_n "checking for $ac_word... " >&6; }
12113 if test "${ac_cv_prog_CC+set}" = set; then :
12114   $as_echo_n "(cached) " >&6
12115 else
12116   if test -n "$CC"; then
12117   ac_cv_prog_CC="$CC" # Let the user override the test.
12118 else
12119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12120 for as_dir in $PATH
12121 do
12122   IFS=$as_save_IFS
12123   test -z "$as_dir" && as_dir=.
12124     for ac_exec_ext in '' $ac_executable_extensions; do
12125   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12126     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12128     break 2
12129   fi
12130 done
12131   done
12132 IFS=$as_save_IFS
12133
12134 fi
12135 fi
12136 CC=$ac_cv_prog_CC
12137 if test -n "$CC"; then
12138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12139 $as_echo "$CC" >&6; }
12140 else
12141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12142 $as_echo "no" >&6; }
12143 fi
12144
12145
12146     test -n "$CC" && break
12147   done
12148 fi
12149 if test -z "$CC"; then
12150   ac_ct_CC=$CC
12151   for ac_prog in cl.exe
12152 do
12153   # Extract the first word of "$ac_prog", so it can be a program name with args.
12154 set dummy $ac_prog; ac_word=$2
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12156 $as_echo_n "checking for $ac_word... " >&6; }
12157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12158   $as_echo_n "(cached) " >&6
12159 else
12160   if test -n "$ac_ct_CC"; then
12161   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12162 else
12163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12164 for as_dir in $PATH
12165 do
12166   IFS=$as_save_IFS
12167   test -z "$as_dir" && as_dir=.
12168     for ac_exec_ext in '' $ac_executable_extensions; do
12169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12170     ac_cv_prog_ac_ct_CC="$ac_prog"
12171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12172     break 2
12173   fi
12174 done
12175   done
12176 IFS=$as_save_IFS
12177
12178 fi
12179 fi
12180 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12181 if test -n "$ac_ct_CC"; then
12182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12183 $as_echo "$ac_ct_CC" >&6; }
12184 else
12185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12187 fi
12188
12189
12190   test -n "$ac_ct_CC" && break
12191 done
12192
12193   if test "x$ac_ct_CC" = x; then
12194     CC=""
12195   else
12196     case $cross_compiling:$ac_tool_warned in
12197 yes:)
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12200 ac_tool_warned=yes ;;
12201 esac
12202     CC=$ac_ct_CC
12203   fi
12204 fi
12205
12206 fi
12207
12208
12209 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12211 as_fn_error $? "no acceptable C compiler found in \$PATH
12212 See \`config.log' for more details" "$LINENO" 5 ; }
12213
12214 # Provide some information about the compiler.
12215 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12216 set X $ac_compile
12217 ac_compiler=$2
12218 for ac_option in --version -v -V -qversion; do
12219   { { ac_try="$ac_compiler $ac_option >&5"
12220 case "(($ac_try" in
12221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12222   *) ac_try_echo=$ac_try;;
12223 esac
12224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12225 $as_echo "$ac_try_echo"; } >&5
12226   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12227   ac_status=$?
12228   if test -s conftest.err; then
12229     sed '10a\
12230 ... rest of stderr output deleted ...
12231          10q' conftest.err >conftest.er1
12232     cat conftest.er1 >&5
12233   fi
12234   rm -f conftest.er1 conftest.err
12235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12236   test $ac_status = 0; }
12237 done
12238
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12240 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12241 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12242   $as_echo_n "(cached) " >&6
12243 else
12244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h.  */
12246
12247 int
12248 main ()
12249 {
12250 #ifndef __GNUC__
12251        choke me
12252 #endif
12253
12254   ;
12255   return 0;
12256 }
12257 _ACEOF
12258 if ac_fn_c_try_compile "$LINENO"; then :
12259   ac_compiler_gnu=yes
12260 else
12261   ac_compiler_gnu=no
12262 fi
12263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12264 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12265
12266 fi
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12268 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12269 if test $ac_compiler_gnu = yes; then
12270   GCC=yes
12271 else
12272   GCC=
12273 fi
12274 ac_test_CFLAGS=${CFLAGS+set}
12275 ac_save_CFLAGS=$CFLAGS
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12277 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12278 if test "${ac_cv_prog_cc_g+set}" = set; then :
12279   $as_echo_n "(cached) " >&6
12280 else
12281   ac_save_c_werror_flag=$ac_c_werror_flag
12282    ac_c_werror_flag=yes
12283    ac_cv_prog_cc_g=no
12284    CFLAGS="-g"
12285    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h.  */
12287
12288 int
12289 main ()
12290 {
12291
12292   ;
12293   return 0;
12294 }
12295 _ACEOF
12296 if ac_fn_c_try_compile "$LINENO"; then :
12297   ac_cv_prog_cc_g=yes
12298 else
12299   CFLAGS=""
12300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h.  */
12302
12303 int
12304 main ()
12305 {
12306
12307   ;
12308   return 0;
12309 }
12310 _ACEOF
12311 if ac_fn_c_try_compile "$LINENO"; then :
12312
12313 else
12314   ac_c_werror_flag=$ac_save_c_werror_flag
12315          CFLAGS="-g"
12316          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h.  */
12318
12319 int
12320 main ()
12321 {
12322
12323   ;
12324   return 0;
12325 }
12326 _ACEOF
12327 if ac_fn_c_try_compile "$LINENO"; then :
12328   ac_cv_prog_cc_g=yes
12329 fi
12330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12331 fi
12332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12333 fi
12334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12335    ac_c_werror_flag=$ac_save_c_werror_flag
12336 fi
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12338 $as_echo "$ac_cv_prog_cc_g" >&6; }
12339 if test "$ac_test_CFLAGS" = set; then
12340   CFLAGS=$ac_save_CFLAGS
12341 elif test $ac_cv_prog_cc_g = yes; then
12342   if test "$GCC" = yes; then
12343     CFLAGS="-g -O2"
12344   else
12345     CFLAGS="-g"
12346   fi
12347 else
12348   if test "$GCC" = yes; then
12349     CFLAGS="-O2"
12350   else
12351     CFLAGS=
12352   fi
12353 fi
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12355 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12356 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12357   $as_echo_n "(cached) " >&6
12358 else
12359   ac_cv_prog_cc_c89=no
12360 ac_save_CC=$CC
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h.  */
12363 #include <stdarg.h>
12364 #include <stdio.h>
12365 #include <sys/types.h>
12366 #include <sys/stat.h>
12367 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12368 struct buf { int x; };
12369 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12370 static char *e (p, i)
12371      char **p;
12372      int i;
12373 {
12374   return p[i];
12375 }
12376 static char *f (char * (*g) (char **, int), char **p, ...)
12377 {
12378   char *s;
12379   va_list v;
12380   va_start (v,p);
12381   s = g (p, va_arg (v,int));
12382   va_end (v);
12383   return s;
12384 }
12385
12386 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12387    function prototypes and stuff, but not '\xHH' hex character constants.
12388    These don't provoke an error unfortunately, instead are silently treated
12389    as 'x'.  The following induces an error, until -std is added to get
12390    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12391    array size at least.  It's necessary to write '\x00'==0 to get something
12392    that's true only with -std.  */
12393 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12394
12395 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12396    inside strings and character constants.  */
12397 #define FOO(x) 'x'
12398 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12399
12400 int test (int i, double x);
12401 struct s1 {int (*f) (int a);};
12402 struct s2 {int (*f) (double a);};
12403 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12404 int argc;
12405 char **argv;
12406 int
12407 main ()
12408 {
12409 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12410   ;
12411   return 0;
12412 }
12413 _ACEOF
12414 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12415         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12416 do
12417   CC="$ac_save_CC $ac_arg"
12418   if ac_fn_c_try_compile "$LINENO"; then :
12419   ac_cv_prog_cc_c89=$ac_arg
12420 fi
12421 rm -f core conftest.err conftest.$ac_objext
12422   test "x$ac_cv_prog_cc_c89" != "xno" && break
12423 done
12424 rm -f conftest.$ac_ext
12425 CC=$ac_save_CC
12426
12427 fi
12428 # AC_CACHE_VAL
12429 case "x$ac_cv_prog_cc_c89" in
12430   x)
12431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12432 $as_echo "none needed" >&6; } ;;
12433   xno)
12434     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12435 $as_echo "unsupported" >&6; } ;;
12436   *)
12437     CC="$CC $ac_cv_prog_cc_c89"
12438     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12439 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12440 esac
12441 if test "x$ac_cv_prog_cc_c89" != xno; then :
12442
12443 fi
12444
12445 ac_ext=c
12446 ac_cpp='$CPP $CPPFLAGS'
12447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12450
12451 depcc="$CC"   am_compiler_list=
12452
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12454 $as_echo_n "checking dependency style of $depcc... " >&6; }
12455 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12456   $as_echo_n "(cached) " >&6
12457 else
12458   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12459   # We make a subdir and do the tests there.  Otherwise we can end up
12460   # making bogus files that we don't know about and never remove.  For
12461   # instance it was reported that on HP-UX the gcc test will end up
12462   # making a dummy file named `D' -- because `-MD' means `put the output
12463   # in D'.
12464   mkdir conftest.dir
12465   # Copy depcomp to subdir because otherwise we won't find it if we're
12466   # using a relative directory.
12467   cp "$am_depcomp" conftest.dir
12468   cd conftest.dir
12469   # We will build objects and dependencies in a subdirectory because
12470   # it helps to detect inapplicable dependency modes.  For instance
12471   # both Tru64's cc and ICC support -MD to output dependencies as a
12472   # side effect of compilation, but ICC will put the dependencies in
12473   # the current directory while Tru64 will put them in the object
12474   # directory.
12475   mkdir sub
12476
12477   am_cv_CC_dependencies_compiler_type=none
12478   if test "$am_compiler_list" = ""; then
12479      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12480   fi
12481   am__universal=false
12482   case " $depcc " in #(
12483      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12484      esac
12485
12486   for depmode in $am_compiler_list; do
12487     # Setup a source with many dependencies, because some compilers
12488     # like to wrap large dependency lists on column 80 (with \), and
12489     # we should not choose a depcomp mode which is confused by this.
12490     #
12491     # We need to recreate these files for each test, as the compiler may
12492     # overwrite some of them when testing with obscure command lines.
12493     # This happens at least with the AIX C compiler.
12494     : > sub/conftest.c
12495     for i in 1 2 3 4 5 6; do
12496       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12497       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12498       # Solaris 8's {/usr,}/bin/sh.
12499       touch sub/conftst$i.h
12500     done
12501     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12502
12503     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12504     # mode.  It turns out that the SunPro C++ compiler does not properly
12505     # handle `-M -o', and we need to detect this.  Also, some Intel
12506     # versions had trouble with output in subdirs
12507     am__obj=sub/conftest.${OBJEXT-o}
12508     am__minus_obj="-o $am__obj"
12509     case $depmode in
12510     gcc)
12511       # This depmode causes a compiler race in universal mode.
12512       test "$am__universal" = false || continue
12513       ;;
12514     nosideeffect)
12515       # after this tag, mechanisms are not by side-effect, so they'll
12516       # only be used when explicitly requested
12517       if test "x$enable_dependency_tracking" = xyes; then
12518         continue
12519       else
12520         break
12521       fi
12522       ;;
12523     msvisualcpp | msvcmsys)
12524       # This compiler won't grok `-c -o', but also, the minuso test has
12525       # not run yet.  These depmodes are late enough in the game, and
12526       # so weak that their functioning should not be impacted.
12527       am__obj=conftest.${OBJEXT-o}
12528       am__minus_obj=
12529       ;;
12530     none) break ;;
12531     esac
12532     if depmode=$depmode \
12533        source=sub/conftest.c object=$am__obj \
12534        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12535        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12536          >/dev/null 2>conftest.err &&
12537        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12538        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12539        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12540        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12541       # icc doesn't choke on unknown options, it will just issue warnings
12542       # or remarks (even with -Werror).  So we grep stderr for any message
12543       # that says an option was ignored or not supported.
12544       # When given -MP, icc 7.0 and 7.1 complain thusly:
12545       #   icc: Command line warning: ignoring option '-M'; no argument required
12546       # The diagnosis changed in icc 8.0:
12547       #   icc: Command line remark: option '-MP' not supported
12548       if (grep 'ignoring option' conftest.err ||
12549           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12550         am_cv_CC_dependencies_compiler_type=$depmode
12551         break
12552       fi
12553     fi
12554   done
12555
12556   cd ..
12557   rm -rf conftest.dir
12558 else
12559   am_cv_CC_dependencies_compiler_type=none
12560 fi
12561
12562 fi
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12564 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12565 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12566
12567  if
12568   test "x$enable_dependency_tracking" != xno \
12569   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12570   am__fastdepCC_TRUE=
12571   am__fastdepCC_FALSE='#'
12572 else
12573   am__fastdepCC_TRUE='#'
12574   am__fastdepCC_FALSE=
12575 fi
12576
12577
12578
12579 # FIXME: are these two lines needed ?
12580 ac_ext=c
12581 ac_cpp='$CPP $CPPFLAGS'
12582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12585 if test -n "$ac_tool_prefix"; then
12586   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12587 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12589 $as_echo_n "checking for $ac_word... " >&6; }
12590 if test "${ac_cv_prog_CC+set}" = set; then :
12591   $as_echo_n "(cached) " >&6
12592 else
12593   if test -n "$CC"; then
12594   ac_cv_prog_CC="$CC" # Let the user override the test.
12595 else
12596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12597 for as_dir in $PATH
12598 do
12599   IFS=$as_save_IFS
12600   test -z "$as_dir" && as_dir=.
12601     for ac_exec_ext in '' $ac_executable_extensions; do
12602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12603     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12605     break 2
12606   fi
12607 done
12608   done
12609 IFS=$as_save_IFS
12610
12611 fi
12612 fi
12613 CC=$ac_cv_prog_CC
12614 if test -n "$CC"; then
12615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12616 $as_echo "$CC" >&6; }
12617 else
12618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12619 $as_echo "no" >&6; }
12620 fi
12621
12622
12623 fi
12624 if test -z "$ac_cv_prog_CC"; then
12625   ac_ct_CC=$CC
12626   # Extract the first word of "gcc", so it can be a program name with args.
12627 set dummy gcc; ac_word=$2
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12629 $as_echo_n "checking for $ac_word... " >&6; }
12630 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12631   $as_echo_n "(cached) " >&6
12632 else
12633   if test -n "$ac_ct_CC"; then
12634   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12635 else
12636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12637 for as_dir in $PATH
12638 do
12639   IFS=$as_save_IFS
12640   test -z "$as_dir" && as_dir=.
12641     for ac_exec_ext in '' $ac_executable_extensions; do
12642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12643     ac_cv_prog_ac_ct_CC="gcc"
12644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12645     break 2
12646   fi
12647 done
12648   done
12649 IFS=$as_save_IFS
12650
12651 fi
12652 fi
12653 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12654 if test -n "$ac_ct_CC"; then
12655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12656 $as_echo "$ac_ct_CC" >&6; }
12657 else
12658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12659 $as_echo "no" >&6; }
12660 fi
12661
12662   if test "x$ac_ct_CC" = x; then
12663     CC=""
12664   else
12665     case $cross_compiling:$ac_tool_warned in
12666 yes:)
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12669 ac_tool_warned=yes ;;
12670 esac
12671     CC=$ac_ct_CC
12672   fi
12673 else
12674   CC="$ac_cv_prog_CC"
12675 fi
12676
12677 if test -z "$CC"; then
12678           if test -n "$ac_tool_prefix"; then
12679     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12680 set dummy ${ac_tool_prefix}cc; ac_word=$2
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12682 $as_echo_n "checking for $ac_word... " >&6; }
12683 if test "${ac_cv_prog_CC+set}" = set; then :
12684   $as_echo_n "(cached) " >&6
12685 else
12686   if test -n "$CC"; then
12687   ac_cv_prog_CC="$CC" # Let the user override the test.
12688 else
12689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12690 for as_dir in $PATH
12691 do
12692   IFS=$as_save_IFS
12693   test -z "$as_dir" && as_dir=.
12694     for ac_exec_ext in '' $ac_executable_extensions; do
12695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12696     ac_cv_prog_CC="${ac_tool_prefix}cc"
12697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12698     break 2
12699   fi
12700 done
12701   done
12702 IFS=$as_save_IFS
12703
12704 fi
12705 fi
12706 CC=$ac_cv_prog_CC
12707 if test -n "$CC"; then
12708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12709 $as_echo "$CC" >&6; }
12710 else
12711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12712 $as_echo "no" >&6; }
12713 fi
12714
12715
12716   fi
12717 fi
12718 if test -z "$CC"; then
12719   # Extract the first word of "cc", so it can be a program name with args.
12720 set dummy cc; ac_word=$2
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12722 $as_echo_n "checking for $ac_word... " >&6; }
12723 if test "${ac_cv_prog_CC+set}" = set; then :
12724   $as_echo_n "(cached) " >&6
12725 else
12726   if test -n "$CC"; then
12727   ac_cv_prog_CC="$CC" # Let the user override the test.
12728 else
12729   ac_prog_rejected=no
12730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12732 do
12733   IFS=$as_save_IFS
12734   test -z "$as_dir" && as_dir=.
12735     for ac_exec_ext in '' $ac_executable_extensions; do
12736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12737     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12738        ac_prog_rejected=yes
12739        continue
12740      fi
12741     ac_cv_prog_CC="cc"
12742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12743     break 2
12744   fi
12745 done
12746   done
12747 IFS=$as_save_IFS
12748
12749 if test $ac_prog_rejected = yes; then
12750   # We found a bogon in the path, so make sure we never use it.
12751   set dummy $ac_cv_prog_CC
12752   shift
12753   if test $# != 0; then
12754     # We chose a different compiler from the bogus one.
12755     # However, it has the same basename, so the bogon will be chosen
12756     # first if we set CC to just the basename; use the full file name.
12757     shift
12758     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12759   fi
12760 fi
12761 fi
12762 fi
12763 CC=$ac_cv_prog_CC
12764 if test -n "$CC"; then
12765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12766 $as_echo "$CC" >&6; }
12767 else
12768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12769 $as_echo "no" >&6; }
12770 fi
12771
12772
12773 fi
12774 if test -z "$CC"; then
12775   if test -n "$ac_tool_prefix"; then
12776   for ac_prog in cl.exe
12777   do
12778     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12781 $as_echo_n "checking for $ac_word... " >&6; }
12782 if test "${ac_cv_prog_CC+set}" = set; then :
12783   $as_echo_n "(cached) " >&6
12784 else
12785   if test -n "$CC"; then
12786   ac_cv_prog_CC="$CC" # Let the user override the test.
12787 else
12788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12789 for as_dir in $PATH
12790 do
12791   IFS=$as_save_IFS
12792   test -z "$as_dir" && as_dir=.
12793     for ac_exec_ext in '' $ac_executable_extensions; do
12794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12795     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12796     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12797     break 2
12798   fi
12799 done
12800   done
12801 IFS=$as_save_IFS
12802
12803 fi
12804 fi
12805 CC=$ac_cv_prog_CC
12806 if test -n "$CC"; then
12807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12808 $as_echo "$CC" >&6; }
12809 else
12810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12811 $as_echo "no" >&6; }
12812 fi
12813
12814
12815     test -n "$CC" && break
12816   done
12817 fi
12818 if test -z "$CC"; then
12819   ac_ct_CC=$CC
12820   for ac_prog in cl.exe
12821 do
12822   # Extract the first word of "$ac_prog", so it can be a program name with args.
12823 set dummy $ac_prog; ac_word=$2
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12825 $as_echo_n "checking for $ac_word... " >&6; }
12826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12827   $as_echo_n "(cached) " >&6
12828 else
12829   if test -n "$ac_ct_CC"; then
12830   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12831 else
12832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12833 for as_dir in $PATH
12834 do
12835   IFS=$as_save_IFS
12836   test -z "$as_dir" && as_dir=.
12837     for ac_exec_ext in '' $ac_executable_extensions; do
12838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12839     ac_cv_prog_ac_ct_CC="$ac_prog"
12840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12841     break 2
12842   fi
12843 done
12844   done
12845 IFS=$as_save_IFS
12846
12847 fi
12848 fi
12849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12850 if test -n "$ac_ct_CC"; then
12851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12852 $as_echo "$ac_ct_CC" >&6; }
12853 else
12854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12856 fi
12857
12858
12859   test -n "$ac_ct_CC" && break
12860 done
12861
12862   if test "x$ac_ct_CC" = x; then
12863     CC=""
12864   else
12865     case $cross_compiling:$ac_tool_warned in
12866 yes:)
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12869 ac_tool_warned=yes ;;
12870 esac
12871     CC=$ac_ct_CC
12872   fi
12873 fi
12874
12875 fi
12876
12877
12878 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12880 as_fn_error $? "no acceptable C compiler found in \$PATH
12881 See \`config.log' for more details" "$LINENO" 5 ; }
12882
12883 # Provide some information about the compiler.
12884 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12885 set X $ac_compile
12886 ac_compiler=$2
12887 for ac_option in --version -v -V -qversion; do
12888   { { ac_try="$ac_compiler $ac_option >&5"
12889 case "(($ac_try" in
12890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12891   *) ac_try_echo=$ac_try;;
12892 esac
12893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12894 $as_echo "$ac_try_echo"; } >&5
12895   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12896   ac_status=$?
12897   if test -s conftest.err; then
12898     sed '10a\
12899 ... rest of stderr output deleted ...
12900          10q' conftest.err >conftest.er1
12901     cat conftest.er1 >&5
12902   fi
12903   rm -f conftest.er1 conftest.err
12904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12905   test $ac_status = 0; }
12906 done
12907
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12909 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12910 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12911   $as_echo_n "(cached) " >&6
12912 else
12913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h.  */
12915
12916 int
12917 main ()
12918 {
12919 #ifndef __GNUC__
12920        choke me
12921 #endif
12922
12923   ;
12924   return 0;
12925 }
12926 _ACEOF
12927 if ac_fn_c_try_compile "$LINENO"; then :
12928   ac_compiler_gnu=yes
12929 else
12930   ac_compiler_gnu=no
12931 fi
12932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12933 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12934
12935 fi
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12937 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12938 if test $ac_compiler_gnu = yes; then
12939   GCC=yes
12940 else
12941   GCC=
12942 fi
12943 ac_test_CFLAGS=${CFLAGS+set}
12944 ac_save_CFLAGS=$CFLAGS
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12946 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12947 if test "${ac_cv_prog_cc_g+set}" = set; then :
12948   $as_echo_n "(cached) " >&6
12949 else
12950   ac_save_c_werror_flag=$ac_c_werror_flag
12951    ac_c_werror_flag=yes
12952    ac_cv_prog_cc_g=no
12953    CFLAGS="-g"
12954    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h.  */
12956
12957 int
12958 main ()
12959 {
12960
12961   ;
12962   return 0;
12963 }
12964 _ACEOF
12965 if ac_fn_c_try_compile "$LINENO"; then :
12966   ac_cv_prog_cc_g=yes
12967 else
12968   CFLAGS=""
12969       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h.  */
12971
12972 int
12973 main ()
12974 {
12975
12976   ;
12977   return 0;
12978 }
12979 _ACEOF
12980 if ac_fn_c_try_compile "$LINENO"; then :
12981
12982 else
12983   ac_c_werror_flag=$ac_save_c_werror_flag
12984          CFLAGS="-g"
12985          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h.  */
12987
12988 int
12989 main ()
12990 {
12991
12992   ;
12993   return 0;
12994 }
12995 _ACEOF
12996 if ac_fn_c_try_compile "$LINENO"; then :
12997   ac_cv_prog_cc_g=yes
12998 fi
12999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13000 fi
13001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13002 fi
13003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13004    ac_c_werror_flag=$ac_save_c_werror_flag
13005 fi
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13007 $as_echo "$ac_cv_prog_cc_g" >&6; }
13008 if test "$ac_test_CFLAGS" = set; then
13009   CFLAGS=$ac_save_CFLAGS
13010 elif test $ac_cv_prog_cc_g = yes; then
13011   if test "$GCC" = yes; then
13012     CFLAGS="-g -O2"
13013   else
13014     CFLAGS="-g"
13015   fi
13016 else
13017   if test "$GCC" = yes; then
13018     CFLAGS="-O2"
13019   else
13020     CFLAGS=
13021   fi
13022 fi
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13024 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13025 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13026   $as_echo_n "(cached) " >&6
13027 else
13028   ac_cv_prog_cc_c89=no
13029 ac_save_CC=$CC
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h.  */
13032 #include <stdarg.h>
13033 #include <stdio.h>
13034 #include <sys/types.h>
13035 #include <sys/stat.h>
13036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13037 struct buf { int x; };
13038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13039 static char *e (p, i)
13040      char **p;
13041      int i;
13042 {
13043   return p[i];
13044 }
13045 static char *f (char * (*g) (char **, int), char **p, ...)
13046 {
13047   char *s;
13048   va_list v;
13049   va_start (v,p);
13050   s = g (p, va_arg (v,int));
13051   va_end (v);
13052   return s;
13053 }
13054
13055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13056    function prototypes and stuff, but not '\xHH' hex character constants.
13057    These don't provoke an error unfortunately, instead are silently treated
13058    as 'x'.  The following induces an error, until -std is added to get
13059    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13060    array size at least.  It's necessary to write '\x00'==0 to get something
13061    that's true only with -std.  */
13062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13063
13064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13065    inside strings and character constants.  */
13066 #define FOO(x) 'x'
13067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13068
13069 int test (int i, double x);
13070 struct s1 {int (*f) (int a);};
13071 struct s2 {int (*f) (double a);};
13072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13073 int argc;
13074 char **argv;
13075 int
13076 main ()
13077 {
13078 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13079   ;
13080   return 0;
13081 }
13082 _ACEOF
13083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13084         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13085 do
13086   CC="$ac_save_CC $ac_arg"
13087   if ac_fn_c_try_compile "$LINENO"; then :
13088   ac_cv_prog_cc_c89=$ac_arg
13089 fi
13090 rm -f core conftest.err conftest.$ac_objext
13091   test "x$ac_cv_prog_cc_c89" != "xno" && break
13092 done
13093 rm -f conftest.$ac_ext
13094 CC=$ac_save_CC
13095
13096 fi
13097 # AC_CACHE_VAL
13098 case "x$ac_cv_prog_cc_c89" in
13099   x)
13100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13101 $as_echo "none needed" >&6; } ;;
13102   xno)
13103     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13104 $as_echo "unsupported" >&6; } ;;
13105   *)
13106     CC="$CC $ac_cv_prog_cc_c89"
13107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13109 esac
13110 if test "x$ac_cv_prog_cc_c89" != xno; then :
13111
13112 fi
13113
13114 ac_ext=c
13115 ac_cpp='$CPP $CPPFLAGS'
13116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13119
13120 depcc="$CC"   am_compiler_list=
13121
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13123 $as_echo_n "checking dependency style of $depcc... " >&6; }
13124 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13125   $as_echo_n "(cached) " >&6
13126 else
13127   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13128   # We make a subdir and do the tests there.  Otherwise we can end up
13129   # making bogus files that we don't know about and never remove.  For
13130   # instance it was reported that on HP-UX the gcc test will end up
13131   # making a dummy file named `D' -- because `-MD' means `put the output
13132   # in D'.
13133   mkdir conftest.dir
13134   # Copy depcomp to subdir because otherwise we won't find it if we're
13135   # using a relative directory.
13136   cp "$am_depcomp" conftest.dir
13137   cd conftest.dir
13138   # We will build objects and dependencies in a subdirectory because
13139   # it helps to detect inapplicable dependency modes.  For instance
13140   # both Tru64's cc and ICC support -MD to output dependencies as a
13141   # side effect of compilation, but ICC will put the dependencies in
13142   # the current directory while Tru64 will put them in the object
13143   # directory.
13144   mkdir sub
13145
13146   am_cv_CC_dependencies_compiler_type=none
13147   if test "$am_compiler_list" = ""; then
13148      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13149   fi
13150   am__universal=false
13151   case " $depcc " in #(
13152      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13153      esac
13154
13155   for depmode in $am_compiler_list; do
13156     # Setup a source with many dependencies, because some compilers
13157     # like to wrap large dependency lists on column 80 (with \), and
13158     # we should not choose a depcomp mode which is confused by this.
13159     #
13160     # We need to recreate these files for each test, as the compiler may
13161     # overwrite some of them when testing with obscure command lines.
13162     # This happens at least with the AIX C compiler.
13163     : > sub/conftest.c
13164     for i in 1 2 3 4 5 6; do
13165       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13166       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13167       # Solaris 8's {/usr,}/bin/sh.
13168       touch sub/conftst$i.h
13169     done
13170     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13171
13172     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13173     # mode.  It turns out that the SunPro C++ compiler does not properly
13174     # handle `-M -o', and we need to detect this.  Also, some Intel
13175     # versions had trouble with output in subdirs
13176     am__obj=sub/conftest.${OBJEXT-o}
13177     am__minus_obj="-o $am__obj"
13178     case $depmode in
13179     gcc)
13180       # This depmode causes a compiler race in universal mode.
13181       test "$am__universal" = false || continue
13182       ;;
13183     nosideeffect)
13184       # after this tag, mechanisms are not by side-effect, so they'll
13185       # only be used when explicitly requested
13186       if test "x$enable_dependency_tracking" = xyes; then
13187         continue
13188       else
13189         break
13190       fi
13191       ;;
13192     msvisualcpp | msvcmsys)
13193       # This compiler won't grok `-c -o', but also, the minuso test has
13194       # not run yet.  These depmodes are late enough in the game, and
13195       # so weak that their functioning should not be impacted.
13196       am__obj=conftest.${OBJEXT-o}
13197       am__minus_obj=
13198       ;;
13199     none) break ;;
13200     esac
13201     if depmode=$depmode \
13202        source=sub/conftest.c object=$am__obj \
13203        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13204        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13205          >/dev/null 2>conftest.err &&
13206        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13207        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13208        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13209        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13210       # icc doesn't choke on unknown options, it will just issue warnings
13211       # or remarks (even with -Werror).  So we grep stderr for any message
13212       # that says an option was ignored or not supported.
13213       # When given -MP, icc 7.0 and 7.1 complain thusly:
13214       #   icc: Command line warning: ignoring option '-M'; no argument required
13215       # The diagnosis changed in icc 8.0:
13216       #   icc: Command line remark: option '-MP' not supported
13217       if (grep 'ignoring option' conftest.err ||
13218           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13219         am_cv_CC_dependencies_compiler_type=$depmode
13220         break
13221       fi
13222     fi
13223   done
13224
13225   cd ..
13226   rm -rf conftest.dir
13227 else
13228   am_cv_CC_dependencies_compiler_type=none
13229 fi
13230
13231 fi
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13233 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13234 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13235
13236  if
13237   test "x$enable_dependency_tracking" != xno \
13238   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13239   am__fastdepCC_TRUE=
13240   am__fastdepCC_FALSE='#'
13241 else
13242   am__fastdepCC_TRUE='#'
13243   am__fastdepCC_FALSE=
13244 fi
13245
13246
13247
13248 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
13249
13250 AS="${CC}"
13251
13252 if test "x$CC" != xcc; then
13253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13254 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13255 else
13256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13257 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13258 fi
13259 set dummy $CC; ac_cc=`$as_echo "$2" |
13260                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13261 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
13262   $as_echo_n "(cached) " >&6
13263 else
13264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13265 /* end confdefs.h.  */
13266
13267 int
13268 main ()
13269 {
13270
13271   ;
13272   return 0;
13273 }
13274 _ACEOF
13275 # Make sure it works both with $CC and with simple cc.
13276 # We do the test twice because some compilers refuse to overwrite an
13277 # existing .o file with -o, though they will create one.
13278 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13279 rm -f conftest2.*
13280 if { { case "(($ac_try" in
13281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13282   *) ac_try_echo=$ac_try;;
13283 esac
13284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13285 $as_echo "$ac_try_echo"; } >&5
13286   (eval "$ac_try") 2>&5
13287   ac_status=$?
13288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13289   test $ac_status = 0; } &&
13290    test -f conftest2.$ac_objext && { { case "(($ac_try" in
13291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292   *) ac_try_echo=$ac_try;;
13293 esac
13294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13295 $as_echo "$ac_try_echo"; } >&5
13296   (eval "$ac_try") 2>&5
13297   ac_status=$?
13298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13299   test $ac_status = 0; };
13300 then
13301   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13302   if test "x$CC" != xcc; then
13303     # Test first that cc exists at all.
13304     if { ac_try='cc -c conftest.$ac_ext >&5'
13305   { { case "(($ac_try" in
13306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13307   *) ac_try_echo=$ac_try;;
13308 esac
13309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13310 $as_echo "$ac_try_echo"; } >&5
13311   (eval "$ac_try") 2>&5
13312   ac_status=$?
13313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13314   test $ac_status = 0; }; }; then
13315       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13316       rm -f conftest2.*
13317       if { { case "(($ac_try" in
13318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13319   *) ac_try_echo=$ac_try;;
13320 esac
13321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13322 $as_echo "$ac_try_echo"; } >&5
13323   (eval "$ac_try") 2>&5
13324   ac_status=$?
13325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13326   test $ac_status = 0; } &&
13327          test -f conftest2.$ac_objext && { { case "(($ac_try" in
13328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13329   *) ac_try_echo=$ac_try;;
13330 esac
13331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13332 $as_echo "$ac_try_echo"; } >&5
13333   (eval "$ac_try") 2>&5
13334   ac_status=$?
13335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13336   test $ac_status = 0; };
13337       then
13338         # cc works too.
13339         :
13340       else
13341         # cc exists but doesn't like -o.
13342         eval ac_cv_prog_cc_${ac_cc}_c_o=no
13343       fi
13344     fi
13345   fi
13346 else
13347   eval ac_cv_prog_cc_${ac_cc}_c_o=no
13348 fi
13349 rm -f core conftest*
13350
13351 fi
13352 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13354 $as_echo "yes" >&6; }
13355 else
13356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13357 $as_echo "no" >&6; }
13358
13359 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13360
13361 fi
13362
13363 # FIXME: we rely on the cache variable name because
13364 # there is no other way.
13365 set dummy $CC
13366 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13367 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13368 if test "$am_t" != yes; then
13369    # Losing compiler, so override with the script.
13370    # FIXME: It is wrong to rewrite CC.
13371    # But if we don't then we get into trouble of one sort or another.
13372    # A longer-term fix would be to have automake use am__CC in this case,
13373    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13374    CC="$am_aux_dir/compile $CC"
13375 fi
13376
13377
13378
13379 # Extract the first word of "valgrind", so it can be a program name with args.
13380 set dummy valgrind; ac_word=$2
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13382 $as_echo_n "checking for $ac_word... " >&6; }
13383 if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then :
13384   $as_echo_n "(cached) " >&6
13385 else
13386   case $VALGRIND_PATH in
13387   [\\/]* | ?:[\\/]*)
13388   ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
13389   ;;
13390   *)
13391   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13392 for as_dir in $PATH
13393 do
13394   IFS=$as_save_IFS
13395   test -z "$as_dir" && as_dir=.
13396     for ac_exec_ext in '' $ac_executable_extensions; do
13397   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13398     ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
13399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13400     break 2
13401   fi
13402 done
13403   done
13404 IFS=$as_save_IFS
13405
13406   test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
13407   ;;
13408 esac
13409 fi
13410 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
13411 if test -n "$VALGRIND_PATH"; then
13412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
13413 $as_echo "$VALGRIND_PATH" >&6; }
13414 else
13415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13416 $as_echo "no" >&6; }
13417 fi
13418
13419
13420  if test ! "x$VALGRIND_PATH" = "xno"; then
13421   HAVE_VALGRIND_TRUE=
13422   HAVE_VALGRIND_FALSE='#'
13423 else
13424   HAVE_VALGRIND_TRUE='#'
13425   HAVE_VALGRIND_FALSE=
13426 fi
13427
13428
13429
13430     if test "x$PACKAGE_TARNAME" = "x"
13431   then
13432     as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5
13433   fi
13434   docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_MAJORMINOR"
13435
13436     # Check whether --enable-docbook was given.
13437 if test "${enable_docbook+set}" = set; then :
13438   enableval=$enable_docbook;
13439 else
13440   enable_docbook=no
13441 fi
13442
13443
13444   have_docbook=no
13445
13446   if test x$enable_docbook = xyes; then
13447
13448         # Extract the first word of "docbook2ps", so it can be a program name with args.
13449 set dummy docbook2ps; ac_word=$2
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13451 $as_echo_n "checking for $ac_word... " >&6; }
13452 if test "${ac_cv_prog_HAVE_DOCBOOK2PS+set}" = set; then :
13453   $as_echo_n "(cached) " >&6
13454 else
13455   if test -n "$HAVE_DOCBOOK2PS"; then
13456   ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
13457 else
13458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13459 for as_dir in $PATH
13460 do
13461   IFS=$as_save_IFS
13462   test -z "$as_dir" && as_dir=.
13463     for ac_exec_ext in '' $ac_executable_extensions; do
13464   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13465     ac_cv_prog_HAVE_DOCBOOK2PS="yes"
13466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13467     break 2
13468   fi
13469 done
13470   done
13471 IFS=$as_save_IFS
13472
13473   test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
13474 fi
13475 fi
13476 HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
13477 if test -n "$HAVE_DOCBOOK2PS"; then
13478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5
13479 $as_echo "$HAVE_DOCBOOK2PS" >&6; }
13480 else
13481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13482 $as_echo "no" >&6; }
13483 fi
13484
13485
13486     # Extract the first word of "docbook2html", so it can be a program name with args.
13487 set dummy docbook2html; ac_word=$2
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13489 $as_echo_n "checking for $ac_word... " >&6; }
13490 if test "${ac_cv_prog_HAVE_DOCBOOK2HTML+set}" = set; then :
13491   $as_echo_n "(cached) " >&6
13492 else
13493   if test -n "$HAVE_DOCBOOK2HTML"; then
13494   ac_cv_prog_HAVE_DOCBOOK2HTML="$HAVE_DOCBOOK2HTML" # Let the user override the test.
13495 else
13496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13497 for as_dir in $PATH
13498 do
13499   IFS=$as_save_IFS
13500   test -z "$as_dir" && as_dir=.
13501     for ac_exec_ext in '' $ac_executable_extensions; do
13502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13503     ac_cv_prog_HAVE_DOCBOOK2HTML="yes"
13504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13505     break 2
13506   fi
13507 done
13508   done
13509 IFS=$as_save_IFS
13510
13511   test -z "$ac_cv_prog_HAVE_DOCBOOK2HTML" && ac_cv_prog_HAVE_DOCBOOK2HTML="no"
13512 fi
13513 fi
13514 HAVE_DOCBOOK2HTML=$ac_cv_prog_HAVE_DOCBOOK2HTML
13515 if test -n "$HAVE_DOCBOOK2HTML"; then
13516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2HTML" >&5
13517 $as_echo "$HAVE_DOCBOOK2HTML" >&6; }
13518 else
13519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13520 $as_echo "no" >&6; }
13521 fi
13522
13523
13524     # Extract the first word of "jadetex", so it can be a program name with args.
13525 set dummy jadetex; ac_word=$2
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13527 $as_echo_n "checking for $ac_word... " >&6; }
13528 if test "${ac_cv_prog_HAVE_JADETEX+set}" = set; then :
13529   $as_echo_n "(cached) " >&6
13530 else
13531   if test -n "$HAVE_JADETEX"; then
13532   ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
13533 else
13534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13535 for as_dir in $PATH
13536 do
13537   IFS=$as_save_IFS
13538   test -z "$as_dir" && as_dir=.
13539     for ac_exec_ext in '' $ac_executable_extensions; do
13540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13541     ac_cv_prog_HAVE_JADETEX="yes"
13542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13543     break 2
13544   fi
13545 done
13546   done
13547 IFS=$as_save_IFS
13548
13549   test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
13550 fi
13551 fi
13552 HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
13553 if test -n "$HAVE_JADETEX"; then
13554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5
13555 $as_echo "$HAVE_JADETEX" >&6; }
13556 else
13557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13558 $as_echo "no" >&6; }
13559 fi
13560
13561
13562     # Extract the first word of "ps2pdf", so it can be a program name with args.
13563 set dummy ps2pdf; ac_word=$2
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13565 $as_echo_n "checking for $ac_word... " >&6; }
13566 if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then :
13567   $as_echo_n "(cached) " >&6
13568 else
13569   if test -n "$HAVE_PS2PDF"; then
13570   ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
13571 else
13572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13573 for as_dir in $PATH
13574 do
13575   IFS=$as_save_IFS
13576   test -z "$as_dir" && as_dir=.
13577     for ac_exec_ext in '' $ac_executable_extensions; do
13578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13579     ac_cv_prog_HAVE_PS2PDF="yes"
13580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13581     break 2
13582   fi
13583 done
13584   done
13585 IFS=$as_save_IFS
13586
13587   test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
13588 fi
13589 fi
13590 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
13591 if test -n "$HAVE_PS2PDF"; then
13592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5
13593 $as_echo "$HAVE_PS2PDF" >&6; }
13594 else
13595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13596 $as_echo "no" >&6; }
13597 fi
13598
13599
13600
13601     # -V option appeared in 0.6.10
13602     docbook2html_min_version=0.6.10
13603     if test "x$HAVE_DOCBOOK2HTML" != "xno"; then
13604       docbook2html_version=`docbook2html --version`
13605       { $as_echo "$as_me:${as_lineno-$LINENO}: checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version" >&5
13606 $as_echo_n "checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version... " >&6; }
13607       if perl -w <<EOF
13608         (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$docbook2html_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
13609         (\$docbook2html_version_major, \$docbook2html_version_minor, \$docbook2html_version_micro ) = "$docbook2html_version" =~ /(\d+)\.(\d+)\.(\d+)/;
13610         exit (((\$docbook2html_version_major > \$min_version_major) ||
13611              ((\$docbook2html_version_major == \$min_version_major) &&
13612               (\$docbook2html_version_minor >= \$min_version_minor)) ||
13613              ((\$docbook2html_version_major == \$min_version_major) &&
13614               (\$docbook2html_version_minor >= \$min_version_minor) &&
13615               (\$docbook2html_version_micro >= \$min_version_micro)))
13616              ? 0 : 1);
13617 EOF
13618       then
13619         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13620 $as_echo "yes" >&6; }
13621       else
13622         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13623 $as_echo "no" >&6; }
13624         HAVE_DOCBOOK2HTML=no
13625       fi
13626     fi
13627
13628
13629   XSLTPROC_FLAGS=--nonet
13630   DOCBOOK_ROOT=
13631   TYPE_LC=xml
13632   TYPE_UC=XML
13633   DOCBOOK_VERSION=4.1.2
13634
13635   if test ! -f /etc/xml/catalog; then
13636     for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ;
13637     do
13638       if test -d "$i"; then
13639         DOCBOOK_ROOT=$i
13640       fi
13641     done
13642   else
13643     XML_CATALOG=/etc/xml/catalog
13644     CAT_ENTRY_START='<!--'
13645     CAT_ENTRY_END='-->'
13646   fi
13647
13648     # Extract the first word of "xsltproc", so it can be a program name with args.
13649 set dummy xsltproc; ac_word=$2
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13651 $as_echo_n "checking for $ac_word... " >&6; }
13652 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
13653   $as_echo_n "(cached) " >&6
13654 else
13655   if test -n "$XSLTPROC"; then
13656   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
13657 else
13658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13659 for as_dir in $PATH
13660 do
13661   IFS=$as_save_IFS
13662   test -z "$as_dir" && as_dir=.
13663     for ac_exec_ext in '' $ac_executable_extensions; do
13664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13665     ac_cv_prog_XSLTPROC="xsltproc"
13666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13667     break 2
13668   fi
13669 done
13670   done
13671 IFS=$as_save_IFS
13672
13673 fi
13674 fi
13675 XSLTPROC=$ac_cv_prog_XSLTPROC
13676 if test -n "$XSLTPROC"; then
13677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
13678 $as_echo "$XSLTPROC" >&6; }
13679 else
13680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13681 $as_echo "no" >&6; }
13682 fi
13683
13684
13685   XSLTPROC_WORKS=no
13686   if test -n "$XSLTPROC"; then
13687     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5
13688 $as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
13689
13690     if test -n "$XML_CATALOG"; then
13691       DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
13692     else
13693       DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl"
13694     fi
13695     $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
13696 <?xml version="1.0" encoding='ISO-8859-1'?>
13697 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
13698 <book id="test">
13699 </book>
13700 END
13701     if test "$?" = 0; then
13702       XSLTPROC_WORKS=yes
13703     fi
13704     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5
13705 $as_echo "$XSLTPROC_WORKS" >&6; }
13706   fi
13707
13708   if test "x$XSLTPROC_WORKS" = "xyes"; then
13709         have_docbook=yes
13710   else
13711         have_docbook=no
13712   fi
13713
13714
13715
13716
13717
13718
13719
13720
13721         # Extract the first word of "dvips", so it can be a program name with args.
13722 set dummy dvips; ac_word=$2
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13724 $as_echo_n "checking for $ac_word... " >&6; }
13725 if test "${ac_cv_prog_HAVE_DVIPS+set}" = set; then :
13726   $as_echo_n "(cached) " >&6
13727 else
13728   if test -n "$HAVE_DVIPS"; then
13729   ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
13730 else
13731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732 for as_dir in $PATH
13733 do
13734   IFS=$as_save_IFS
13735   test -z "$as_dir" && as_dir=.
13736     for ac_exec_ext in '' $ac_executable_extensions; do
13737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13738     ac_cv_prog_HAVE_DVIPS="yes"
13739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13740     break 2
13741   fi
13742 done
13743   done
13744 IFS=$as_save_IFS
13745
13746   test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
13747 fi
13748 fi
13749 HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
13750 if test -n "$HAVE_DVIPS"; then
13751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5
13752 $as_echo "$HAVE_DVIPS" >&6; }
13753 else
13754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13755 $as_echo "no" >&6; }
13756 fi
13757
13758
13759     # Extract the first word of "xmllint", so it can be a program name with args.
13760 set dummy xmllint; ac_word=$2
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13762 $as_echo_n "checking for $ac_word... " >&6; }
13763 if test "${ac_cv_prog_HAVE_XMLLINT+set}" = set; then :
13764   $as_echo_n "(cached) " >&6
13765 else
13766   if test -n "$HAVE_XMLLINT"; then
13767   ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
13768 else
13769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13770 for as_dir in $PATH
13771 do
13772   IFS=$as_save_IFS
13773   test -z "$as_dir" && as_dir=.
13774     for ac_exec_ext in '' $ac_executable_extensions; do
13775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13776     ac_cv_prog_HAVE_XMLLINT="yes"
13777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13778     break 2
13779   fi
13780 done
13781   done
13782 IFS=$as_save_IFS
13783
13784   test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
13785 fi
13786 fi
13787 HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
13788 if test -n "$HAVE_XMLLINT"; then
13789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5
13790 $as_echo "$HAVE_XMLLINT" >&6; }
13791 else
13792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13793 $as_echo "no" >&6; }
13794 fi
13795
13796
13797
13798         # Extract the first word of "fig2dev", so it can be a program name with args.
13799 set dummy fig2dev; ac_word=$2
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13801 $as_echo_n "checking for $ac_word... " >&6; }
13802 if test "${ac_cv_prog_HAVE_FIG2DEV+set}" = set; then :
13803   $as_echo_n "(cached) " >&6
13804 else
13805   if test -n "$HAVE_FIG2DEV"; then
13806   ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test.
13807 else
13808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13809 for as_dir in $PATH
13810 do
13811   IFS=$as_save_IFS
13812   test -z "$as_dir" && as_dir=.
13813     for ac_exec_ext in '' $ac_executable_extensions; do
13814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13815     ac_cv_prog_HAVE_FIG2DEV="yes"
13816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13817     break 2
13818   fi
13819 done
13820   done
13821 IFS=$as_save_IFS
13822
13823   test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="no"
13824 fi
13825 fi
13826 HAVE_FIG2DEV=$ac_cv_prog_HAVE_FIG2DEV
13827 if test -n "$HAVE_FIG2DEV"; then
13828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FIG2DEV" >&5
13829 $as_echo "$HAVE_FIG2DEV" >&6; }
13830 else
13831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13832 $as_echo "no" >&6; }
13833 fi
13834
13835
13836     if test "x$HAVE_FIG2DEV" = "xno" ; then
13837       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&5
13838 $as_echo "$as_me: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&2;}
13839     fi
13840
13841             HAVE_FIG2DEV_EPS=no
13842     if test "x$HAVE_FIG2DEV" = "xyes" ; then
13843       fig2dev_quiet=`fig2dev -L eps </dev/null 2>&1 >/dev/null`
13844       if test "x$fig2dev_quiet" = "x" ; then
13845         HAVE_FIG2DEV_EPS=yes
13846       fi
13847     fi
13848     HAVE_FIG2DEV_PNG=no
13849     if test "x$HAVE_FIG2DEV" = "xyes" ; then
13850       fig2dev_quiet=`fig2dev -L png </dev/null 2>&1 >/dev/null`
13851       if test "x$fig2dev_quiet" = "x" ; then
13852         HAVE_FIG2DEV_PNG=yes
13853       fi
13854     fi
13855     HAVE_FIG2DEV_PDF=no
13856     if test "x$HAVE_FIG2DEV" = "xyes" ; then
13857       fig2dev_quiet=`fig2dev -L pdf </dev/null 2>&1 >/dev/null`
13858       if test "x$fig2dev_quiet" = "x" ; then
13859         HAVE_FIG2DEV_PDF=yes
13860       fi
13861     fi
13862
13863     # Extract the first word of "pngtopnm", so it can be a program name with args.
13864 set dummy pngtopnm; ac_word=$2
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13866 $as_echo_n "checking for $ac_word... " >&6; }
13867 if test "${ac_cv_prog_HAVE_PNGTOPNM+set}" = set; then :
13868   $as_echo_n "(cached) " >&6
13869 else
13870   if test -n "$HAVE_PNGTOPNM"; then
13871   ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
13872 else
13873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13874 for as_dir in $PATH
13875 do
13876   IFS=$as_save_IFS
13877   test -z "$as_dir" && as_dir=.
13878     for ac_exec_ext in '' $ac_executable_extensions; do
13879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13880     ac_cv_prog_HAVE_PNGTOPNM="yes"
13881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13882     break 2
13883   fi
13884 done
13885   done
13886 IFS=$as_save_IFS
13887
13888   test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
13889 fi
13890 fi
13891 HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
13892 if test -n "$HAVE_PNGTOPNM"; then
13893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5
13894 $as_echo "$HAVE_PNGTOPNM" >&6; }
13895 else
13896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13897 $as_echo "no" >&6; }
13898 fi
13899
13900
13901     # Extract the first word of "pnmtops", so it can be a program name with args.
13902 set dummy pnmtops; ac_word=$2
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13904 $as_echo_n "checking for $ac_word... " >&6; }
13905 if test "${ac_cv_prog_HAVE_PNMTOPS+set}" = set; then :
13906   $as_echo_n "(cached) " >&6
13907 else
13908   if test -n "$HAVE_PNMTOPS"; then
13909   ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
13910 else
13911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13912 for as_dir in $PATH
13913 do
13914   IFS=$as_save_IFS
13915   test -z "$as_dir" && as_dir=.
13916     for ac_exec_ext in '' $ac_executable_extensions; do
13917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13918     ac_cv_prog_HAVE_PNMTOPS="yes"
13919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13920     break 2
13921   fi
13922 done
13923   done
13924 IFS=$as_save_IFS
13925
13926   test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
13927 fi
13928 fi
13929 HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
13930 if test -n "$HAVE_PNMTOPS"; then
13931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5
13932 $as_echo "$HAVE_PNMTOPS" >&6; }
13933 else
13934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13935 $as_echo "no" >&6; }
13936 fi
13937
13938
13939     # Extract the first word of "epstopdf", so it can be a program name with args.
13940 set dummy epstopdf; ac_word=$2
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13942 $as_echo_n "checking for $ac_word... " >&6; }
13943 if test "${ac_cv_prog_HAVE_EPSTOPDF+set}" = set; then :
13944   $as_echo_n "(cached) " >&6
13945 else
13946   if test -n "$HAVE_EPSTOPDF"; then
13947   ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
13948 else
13949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13950 for as_dir in $PATH
13951 do
13952   IFS=$as_save_IFS
13953   test -z "$as_dir" && as_dir=.
13954     for ac_exec_ext in '' $ac_executable_extensions; do
13955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13956     ac_cv_prog_HAVE_EPSTOPDF="yes"
13957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13958     break 2
13959   fi
13960 done
13961   done
13962 IFS=$as_save_IFS
13963
13964   test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
13965 fi
13966 fi
13967 HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
13968 if test -n "$HAVE_EPSTOPDF"; then
13969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5
13970 $as_echo "$HAVE_EPSTOPDF" >&6; }
13971 else
13972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13973 $as_echo "no" >&6; }
13974 fi
13975
13976
13977
13978         if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
13979        test "x$enable_docbook" = "xyes" && \
13980        test "x$HAVE_XMLLINT" = "xyes" && \
13981        test "x$HAVE_FIG2DEV_PNG" = "xyes"; then
13982       DOC_HTML=yes
13983       { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5
13984 $as_echo "$as_me: Will output HTML documentation" >&6;}
13985      else
13986       DOC_HTML=no
13987       { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5
13988 $as_echo "$as_me: Will not output HTML documentation" >&6;}
13989     fi
13990
13991         if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
13992        test "x$enable_docbook" = "xyes" && \
13993        test "x$HAVE_XMLLINT" = "xyes" && \
13994        test "x$HAVE_JADETEX" = "xyes" && \
13995        test "x$HAVE_FIG2DEV_EPS" = "xyes" && \
13996        test "x$HAVE_DVIPS" = "xyes" && \
13997        test "x$HAVE_PNGTOPNM" = "xyes" && \
13998        test "x$HAVE_PNMTOPS" = "xyes"; then
13999       DOC_PS=yes
14000       { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5
14001 $as_echo "$as_me: Will output PS documentation" >&6;}
14002     else
14003       DOC_PS=no
14004       { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5
14005 $as_echo "$as_me: Will not output PS documentation" >&6;}
14006     fi
14007
14008         if test "x$DOC_PS" = "xyes" && \
14009        test "x$enable_docbook" = "xyes" && \
14010        test "x$HAVE_XMLLINT" = "xyes" && \
14011        test "x$HAVE_PS2PDF" = "xyes"; then
14012       DOC_PDF=yes
14013       { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5
14014 $as_echo "$as_me: Will output PDF documentation" >&6;}
14015     else
14016       DOC_PDF=no
14017       { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5
14018 $as_echo "$as_me: Will not output PDF documentation" >&6;}
14019     fi
14020
14021         if test "x$have_docbook" != "xyes"; then
14022       enable_docbook=no
14023     fi
14024   fi
14025
14026     if test "x$have_docbook" = "xyes"; then
14027     { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5
14028 $as_echo "$as_me: Installing documentation in $docdir" >&6;}
14029
14030   fi
14031
14032    if test x$enable_docbook = xyes; then
14033   ENABLE_DOCBOOK_TRUE=
14034   ENABLE_DOCBOOK_FALSE='#'
14035 else
14036   ENABLE_DOCBOOK_TRUE='#'
14037   ENABLE_DOCBOOK_FALSE=
14038 fi
14039
14040    if test x$DOC_HTML = xyes; then
14041   DOC_HTML_TRUE=
14042   DOC_HTML_FALSE='#'
14043 else
14044   DOC_HTML_TRUE='#'
14045   DOC_HTML_FALSE=
14046 fi
14047
14048    if test x$DOC_PDF = xyes; then
14049   DOC_PDF_TRUE=
14050   DOC_PDF_FALSE='#'
14051 else
14052   DOC_PDF_TRUE='#'
14053   DOC_PDF_FALSE=
14054 fi
14055
14056    if test x$DOC_PS = xyes; then
14057   DOC_PS_TRUE=
14058   DOC_PS_FALSE='#'
14059 else
14060   DOC_PS_TRUE='#'
14061   DOC_PS_FALSE=
14062 fi
14063
14064
14065
14066
14067 # Check whether --with-html-dir was given.
14068 if test "${with_html_dir+set}" = set; then :
14069   withval=$with_html_dir;
14070 else
14071   with_html_dir='${datadir}/gtk-doc/html'
14072 fi
14073
14074   HTML_DIR="$with_html_dir"
14075
14076
14077     # Check whether --enable-gtk-doc was given.
14078 if test "${enable_gtk_doc+set}" = set; then :
14079   enableval=$enable_gtk_doc;
14080 else
14081   enable_gtk_doc=no
14082 fi
14083
14084
14085   if test x$enable_gtk_doc = xyes; then
14086     if test -n "$PKG_CONFIG" && \
14087     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
14088   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
14089   ac_status=$?
14090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14091   test $ac_status = 0; }; then
14092   :
14093 else
14094   as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
14095 fi
14096     if test -z "$SED"; then
14097       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
14098 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
14099 if test "${ac_cv_path_SED+set}" = set; then :
14100   $as_echo_n "(cached) " >&6
14101 else
14102             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
14103      for ac_i in 1 2 3 4 5 6 7; do
14104        ac_script="$ac_script$as_nl$ac_script"
14105      done
14106      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
14107      { ac_script=; unset ac_script;}
14108      if test -z "$SED"; then
14109   ac_path_SED_found=false
14110   # Loop through the user's path and test for each of PROGNAME-LIST
14111   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14112 for as_dir in $PATH
14113 do
14114   IFS=$as_save_IFS
14115   test -z "$as_dir" && as_dir=.
14116     for ac_prog in sed gsed; do
14117     for ac_exec_ext in '' $ac_executable_extensions; do
14118       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
14119       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
14120 # Check for GNU ac_path_SED and select it if it is found.
14121   # Check for GNU $ac_path_SED
14122 case `"$ac_path_SED" --version 2>&1` in
14123 *GNU*)
14124   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
14125 *)
14126   ac_count=0
14127   $as_echo_n 0123456789 >"conftest.in"
14128   while :
14129   do
14130     cat "conftest.in" "conftest.in" >"conftest.tmp"
14131     mv "conftest.tmp" "conftest.in"
14132     cp "conftest.in" "conftest.nl"
14133     $as_echo '' >> "conftest.nl"
14134     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
14135     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14136     as_fn_arith $ac_count + 1 && ac_count=$as_val
14137     if test $ac_count -gt ${ac_path_SED_max-0}; then
14138       # Best one so far, save it but keep looking for a better one
14139       ac_cv_path_SED="$ac_path_SED"
14140       ac_path_SED_max=$ac_count
14141     fi
14142     # 10*(2^10) chars as input seems more than enough
14143     test $ac_count -gt 10 && break
14144   done
14145   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14146 esac
14147
14148       $ac_path_SED_found && break 3
14149     done
14150   done
14151   done
14152 IFS=$as_save_IFS
14153   if test -z "$ac_cv_path_SED"; then
14154     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
14155   fi
14156 else
14157   ac_cv_path_SED=$SED
14158 fi
14159
14160 fi
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
14162 $as_echo "$ac_cv_path_SED" >&6; }
14163  SED="$ac_cv_path_SED"
14164   rm -f conftest.sed
14165
14166     fi
14167   fi
14168
14169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14170 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14172 $as_echo "$enable_gtk_doc" >&6; }
14173
14174   for ac_prog in gtkdoc-check
14175 do
14176   # Extract the first word of "$ac_prog", so it can be a program name with args.
14177 set dummy $ac_prog; ac_word=$2
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14179 $as_echo_n "checking for $ac_word... " >&6; }
14180 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
14181   $as_echo_n "(cached) " >&6
14182 else
14183   case $GTKDOC_CHECK in
14184   [\\/]* | ?:[\\/]*)
14185   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14186   ;;
14187   *)
14188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14189 for as_dir in $PATH
14190 do
14191   IFS=$as_save_IFS
14192   test -z "$as_dir" && as_dir=.
14193     for ac_exec_ext in '' $ac_executable_extensions; do
14194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14195     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14197     break 2
14198   fi
14199 done
14200   done
14201 IFS=$as_save_IFS
14202
14203   ;;
14204 esac
14205 fi
14206 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14207 if test -n "$GTKDOC_CHECK"; then
14208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14209 $as_echo "$GTKDOC_CHECK" >&6; }
14210 else
14211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14212 $as_echo "no" >&6; }
14213 fi
14214
14215
14216   test -n "$GTKDOC_CHECK" && break
14217 done
14218
14219
14220    if test x$enable_gtk_doc = xyes; then
14221   ENABLE_GTK_DOC_TRUE=
14222   ENABLE_GTK_DOC_FALSE='#'
14223 else
14224   ENABLE_GTK_DOC_TRUE='#'
14225   ENABLE_GTK_DOC_FALSE=
14226 fi
14227
14228    if test -n "$LIBTOOL"; then
14229   GTK_DOC_USE_LIBTOOL_TRUE=
14230   GTK_DOC_USE_LIBTOOL_FALSE='#'
14231 else
14232   GTK_DOC_USE_LIBTOOL_TRUE='#'
14233   GTK_DOC_USE_LIBTOOL_FALSE=
14234 fi
14235
14236
14237
14238
14239     PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
14240                      python1.6 python1.5"
14241
14242      { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
14243 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
14244         prog="
14245 import sys, string
14246 minver = '2.1'
14247 # split string by '.' and convert to numeric
14248 minver_info = map(string.atoi, string.split(minver, '.'))
14249 # we can now do comparisons on the two lists:
14250 if sys.version_info >= tuple(minver_info):
14251         sys.exit(0)
14252 else:
14253         sys.exit(1)"
14254
14255     python_good=false
14256     for python_candidate in $PYTHON_CANDIDATES; do
14257       unset PYTHON
14258       # Extract the first word of "$python_candidate", so it can be a program name with args.
14259 set dummy $python_candidate; ac_word=$2
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14261 $as_echo_n "checking for $ac_word... " >&6; }
14262 if test "${ac_cv_path_PYTHON+set}" = set; then :
14263   $as_echo_n "(cached) " >&6
14264 else
14265   case $PYTHON in
14266   [\\/]* | ?:[\\/]*)
14267   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14268   ;;
14269   *)
14270   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14271 for as_dir in $PATH
14272 do
14273   IFS=$as_save_IFS
14274   test -z "$as_dir" && as_dir=.
14275     for ac_exec_ext in '' $ac_executable_extensions; do
14276   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14277     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14279     break 2
14280   fi
14281 done
14282   done
14283 IFS=$as_save_IFS
14284
14285   ;;
14286 esac
14287 fi
14288 PYTHON=$ac_cv_path_PYTHON
14289 if test -n "$PYTHON"; then
14290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14291 $as_echo "$PYTHON" >&6; }
14292 else
14293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14294 $as_echo "no" >&6; }
14295 fi
14296
14297  1> /dev/null 2> /dev/null
14298
14299       if test "x$PYTHON" = "x"; then continue; fi
14300
14301       if $PYTHON -c "$prog" 1>&5 2>&5; then
14302         { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
14303 $as_echo_n "checking \"$PYTHON\":... " >&6; }
14304         { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
14305 $as_echo "okay" >&6; }
14306         python_good=true
14307         break;
14308       else
14309                 unset ac_cv_path_PYTHON
14310       fi
14311     done
14312
14313
14314   if test "$python_good" != "true"; then
14315     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
14316 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
14317     PYTHON=
14318   else
14319
14320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
14321 $as_echo_n "checking local Python configuration... " >&6; }
14322
14323
14324
14325     PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
14326
14327
14328
14329
14330   PYTHON_PREFIX='${prefix}'
14331
14332
14333   PYTHON_EXEC_PREFIX='${exec_prefix}'
14334
14335
14336
14337   PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
14338
14339
14340
14341
14342
14343   pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
14344
14345
14346
14347   pkgpythondir=\${pythondir}/$PACKAGE
14348
14349
14350
14351   pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
14352
14353
14354
14355   pkgpyexecdir=\${pyexecdir}/$PACKAGE
14356
14357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
14358 $as_echo "looks good" >&6; }
14359
14360   fi
14361
14362
14363
14364   build_plugin_docs=no
14365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
14366 $as_echo_n "checking whether to build plugin documentation... " >&6; }
14367   if test x$enable_gtk_doc = xyes; then
14368     build_plugin_docs=yes
14369     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14370 $as_echo "yes" >&6; }
14371   else
14372     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
14373 $as_echo "no (gtk-doc disabled or not available)" >&6; }
14374   fi
14375
14376    if test x$build_plugin_docs = xyes; then
14377   ENABLE_PLUGIN_DOCS_TRUE=
14378   ENABLE_PLUGIN_DOCS_FALSE='#'
14379 else
14380   ENABLE_PLUGIN_DOCS_TRUE='#'
14381   ENABLE_PLUGIN_DOCS_FALSE=
14382 fi
14383
14384
14385
14386
14387 LIBM=
14388 case $host in
14389 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
14390   # These system don't have libm, or don't need it
14391   ;;
14392 *-ncr-sysv4.3*)
14393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
14394 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
14395 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
14396   $as_echo_n "(cached) " >&6
14397 else
14398   ac_check_lib_save_LIBS=$LIBS
14399 LIBS="-lmw  $LIBS"
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h.  */
14402
14403 /* Override any GCC internal prototype to avoid an error.
14404    Use char because int might match the return type of a GCC
14405    builtin and then its argument prototype would still apply.  */
14406 #ifdef __cplusplus
14407 extern "C"
14408 #endif
14409 char _mwvalidcheckl ();
14410 int
14411 main ()
14412 {
14413 return _mwvalidcheckl ();
14414   ;
14415   return 0;
14416 }
14417 _ACEOF
14418 if ac_fn_c_try_link "$LINENO"; then :
14419   ac_cv_lib_mw__mwvalidcheckl=yes
14420 else
14421   ac_cv_lib_mw__mwvalidcheckl=no
14422 fi
14423 rm -f core conftest.err conftest.$ac_objext \
14424     conftest$ac_exeext conftest.$ac_ext
14425 LIBS=$ac_check_lib_save_LIBS
14426 fi
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14428 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14429 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
14430   LIBM="-lmw"
14431 fi
14432
14433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14434 $as_echo_n "checking for cos in -lm... " >&6; }
14435 if test "${ac_cv_lib_m_cos+set}" = set; then :
14436   $as_echo_n "(cached) " >&6
14437 else
14438   ac_check_lib_save_LIBS=$LIBS
14439 LIBS="-lm  $LIBS"
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h.  */
14442
14443 /* Override any GCC internal prototype to avoid an error.
14444    Use char because int might match the return type of a GCC
14445    builtin and then its argument prototype would still apply.  */
14446 #ifdef __cplusplus
14447 extern "C"
14448 #endif
14449 char cos ();
14450 int
14451 main ()
14452 {
14453 return cos ();
14454   ;
14455   return 0;
14456 }
14457 _ACEOF
14458 if ac_fn_c_try_link "$LINENO"; then :
14459   ac_cv_lib_m_cos=yes
14460 else
14461   ac_cv_lib_m_cos=no
14462 fi
14463 rm -f core conftest.err conftest.$ac_objext \
14464     conftest$ac_exeext conftest.$ac_ext
14465 LIBS=$ac_check_lib_save_LIBS
14466 fi
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14468 $as_echo "$ac_cv_lib_m_cos" >&6; }
14469 if test "x$ac_cv_lib_m_cos" = x""yes; then :
14470   LIBM="$LIBM -lm"
14471 fi
14472
14473   ;;
14474 *)
14475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14476 $as_echo_n "checking for cos in -lm... " >&6; }
14477 if test "${ac_cv_lib_m_cos+set}" = set; then :
14478   $as_echo_n "(cached) " >&6
14479 else
14480   ac_check_lib_save_LIBS=$LIBS
14481 LIBS="-lm  $LIBS"
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h.  */
14484
14485 /* Override any GCC internal prototype to avoid an error.
14486    Use char because int might match the return type of a GCC
14487    builtin and then its argument prototype would still apply.  */
14488 #ifdef __cplusplus
14489 extern "C"
14490 #endif
14491 char cos ();
14492 int
14493 main ()
14494 {
14495 return cos ();
14496   ;
14497   return 0;
14498 }
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"; then :
14501   ac_cv_lib_m_cos=yes
14502 else
14503   ac_cv_lib_m_cos=no
14504 fi
14505 rm -f core conftest.err conftest.$ac_objext \
14506     conftest$ac_exeext conftest.$ac_ext
14507 LIBS=$ac_check_lib_save_LIBS
14508 fi
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14510 $as_echo "$ac_cv_lib_m_cos" >&6; }
14511 if test "x$ac_cv_lib_m_cos" = x""yes; then :
14512   LIBM="-lm"
14513 fi
14514
14515   ;;
14516 esac
14517
14518
14519
14520
14521
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14523 $as_echo_n "checking for ANSI C header files... " >&6; }
14524 if test "${ac_cv_header_stdc+set}" = set; then :
14525   $as_echo_n "(cached) " >&6
14526 else
14527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h.  */
14529 #include <stdlib.h>
14530 #include <stdarg.h>
14531 #include <string.h>
14532 #include <float.h>
14533
14534 int
14535 main ()
14536 {
14537
14538   ;
14539   return 0;
14540 }
14541 _ACEOF
14542 if ac_fn_c_try_compile "$LINENO"; then :
14543   ac_cv_header_stdc=yes
14544 else
14545   ac_cv_header_stdc=no
14546 fi
14547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14548
14549 if test $ac_cv_header_stdc = yes; then
14550   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h.  */
14553 #include <string.h>
14554
14555 _ACEOF
14556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14557   $EGREP "memchr" >/dev/null 2>&1; then :
14558
14559 else
14560   ac_cv_header_stdc=no
14561 fi
14562 rm -f conftest*
14563
14564 fi
14565
14566 if test $ac_cv_header_stdc = yes; then
14567   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h.  */
14570 #include <stdlib.h>
14571
14572 _ACEOF
14573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14574   $EGREP "free" >/dev/null 2>&1; then :
14575
14576 else
14577   ac_cv_header_stdc=no
14578 fi
14579 rm -f conftest*
14580
14581 fi
14582
14583 if test $ac_cv_header_stdc = yes; then
14584   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14585   if test "$cross_compiling" = yes; then :
14586   :
14587 else
14588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h.  */
14590 #include <ctype.h>
14591 #include <stdlib.h>
14592 #if ((' ' & 0x0FF) == 0x020)
14593 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14594 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14595 #else
14596 # define ISLOWER(c) \
14597                    (('a' <= (c) && (c) <= 'i') \
14598                      || ('j' <= (c) && (c) <= 'r') \
14599                      || ('s' <= (c) && (c) <= 'z'))
14600 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14601 #endif
14602
14603 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14604 int
14605 main ()
14606 {
14607   int i;
14608   for (i = 0; i < 256; i++)
14609     if (XOR (islower (i), ISLOWER (i))
14610         || toupper (i) != TOUPPER (i))
14611       return 2;
14612   return 0;
14613 }
14614 _ACEOF
14615 if ac_fn_c_try_run "$LINENO"; then :
14616
14617 else
14618   ac_cv_header_stdc=no
14619 fi
14620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14621   conftest.$ac_objext conftest.beam conftest.$ac_ext
14622 fi
14623
14624 fi
14625 fi
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14627 $as_echo "$ac_cv_header_stdc" >&6; }
14628 if test $ac_cv_header_stdc = yes; then
14629
14630 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14631
14632 fi
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642   module=gstreamer-$GST_MAJORMINOR
14643   minver=$GST_REQ
14644   name="GStreamer"
14645   required="yes"
14646
14647 pkg_failed=no
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
14649 $as_echo_n "checking for GST... " >&6; }
14650
14651 if test -n "$PKG_CONFIG"; then
14652     if test -n "$GST_CFLAGS"; then
14653         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
14654     else
14655         if test -n "$PKG_CONFIG" && \
14656     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14657   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14658   ac_status=$?
14659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14660   test $ac_status = 0; }; then
14661   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
14662 else
14663   pkg_failed=yes
14664 fi
14665     fi
14666 else
14667         pkg_failed=untried
14668 fi
14669 if test -n "$PKG_CONFIG"; then
14670     if test -n "$GST_LIBS"; then
14671         pkg_cv_GST_LIBS="$GST_LIBS"
14672     else
14673         if test -n "$PKG_CONFIG" && \
14674     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14675   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14676   ac_status=$?
14677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14678   test $ac_status = 0; }; then
14679   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
14680 else
14681   pkg_failed=yes
14682 fi
14683     fi
14684 else
14685         pkg_failed=untried
14686 fi
14687
14688
14689
14690 if test $pkg_failed = yes; then
14691
14692 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14693         _pkg_short_errors_supported=yes
14694 else
14695         _pkg_short_errors_supported=no
14696 fi
14697         if test $_pkg_short_errors_supported = yes; then
14698                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
14699         else
14700                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
14701         fi
14702         # Put the nasty error message in config.log where it belongs
14703         echo "$GST_PKG_ERRORS" >&5
14704
14705         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14706 $as_echo "no" >&6; }
14707
14708       HAVE_GST="no"
14709       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14710 $as_echo "no" >&6; }
14711       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
14712 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
14713       if test "x$required" = "xyes"; then
14714         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14715       else
14716         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14717 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14718       fi
14719
14720 elif test $pkg_failed = untried; then
14721
14722       HAVE_GST="no"
14723       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14724 $as_echo "no" >&6; }
14725       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
14726 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
14727       if test "x$required" = "xyes"; then
14728         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14729       else
14730         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14731 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14732       fi
14733
14734 else
14735         GST_CFLAGS=$pkg_cv_GST_CFLAGS
14736         GST_LIBS=$pkg_cv_GST_LIBS
14737         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14738 $as_echo "yes" >&6; }
14739
14740       HAVE_GST="yes"
14741
14742 fi
14743
14744
14745     if test -z $GST_TOOLS_DIR; then
14746     GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
14747     if test -z $GST_TOOLS_DIR; then
14748       as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
14749     fi
14750   fi
14751   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
14752 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
14753
14754
14755         if test -z $GST_PLUGINS_DIR; then
14756     GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
14757     if test -z $GST_PLUGINS_DIR; then
14758       as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
14759     fi
14760   fi
14761   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
14762 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
14763
14764
14765
14766
14767   module=gstreamer-base-$GST_MAJORMINOR
14768   minver=$GST_REQ
14769   name="GStreamer Base Libraries"
14770   required="yes"
14771
14772 pkg_failed=no
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
14774 $as_echo_n "checking for GST_BASE... " >&6; }
14775
14776 if test -n "$PKG_CONFIG"; then
14777     if test -n "$GST_BASE_CFLAGS"; then
14778         pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
14779     else
14780         if test -n "$PKG_CONFIG" && \
14781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14782   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14783   ac_status=$?
14784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14785   test $ac_status = 0; }; then
14786   pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
14787 else
14788   pkg_failed=yes
14789 fi
14790     fi
14791 else
14792         pkg_failed=untried
14793 fi
14794 if test -n "$PKG_CONFIG"; then
14795     if test -n "$GST_BASE_LIBS"; then
14796         pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
14797     else
14798         if test -n "$PKG_CONFIG" && \
14799     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14800   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14801   ac_status=$?
14802   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14803   test $ac_status = 0; }; then
14804   pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
14805 else
14806   pkg_failed=yes
14807 fi
14808     fi
14809 else
14810         pkg_failed=untried
14811 fi
14812
14813
14814
14815 if test $pkg_failed = yes; then
14816
14817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14818         _pkg_short_errors_supported=yes
14819 else
14820         _pkg_short_errors_supported=no
14821 fi
14822         if test $_pkg_short_errors_supported = yes; then
14823                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
14824         else
14825                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
14826         fi
14827         # Put the nasty error message in config.log where it belongs
14828         echo "$GST_BASE_PKG_ERRORS" >&5
14829
14830         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14831 $as_echo "no" >&6; }
14832
14833       HAVE_GST_BASE="no"
14834       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14835 $as_echo "no" >&6; }
14836       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
14837 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
14838       if test "x$required" = "xyes"; then
14839         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14840       else
14841         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14842 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14843       fi
14844
14845 elif test $pkg_failed = untried; then
14846
14847       HAVE_GST_BASE="no"
14848       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14849 $as_echo "no" >&6; }
14850       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
14851 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
14852       if test "x$required" = "xyes"; then
14853         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14854       else
14855         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14856 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14857       fi
14858
14859 else
14860         GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
14861         GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
14862         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14863 $as_echo "yes" >&6; }
14864
14865       HAVE_GST_BASE="yes"
14866
14867 fi
14868
14869
14870
14871
14872
14873   module=gstreamer-plugins-base-$GST_MAJORMINOR
14874   minver=$GST_REQ
14875   name="GStreamer Base Plug-ins Library"
14876   required="yes"
14877
14878 pkg_failed=no
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
14880 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
14881
14882 if test -n "$PKG_CONFIG"; then
14883     if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
14884         pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
14885     else
14886         if test -n "$PKG_CONFIG" && \
14887     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14888   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14889   ac_status=$?
14890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14891   test $ac_status = 0; }; then
14892   pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
14893 else
14894   pkg_failed=yes
14895 fi
14896     fi
14897 else
14898         pkg_failed=untried
14899 fi
14900 if test -n "$PKG_CONFIG"; then
14901     if test -n "$GST_PLUGINS_BASE_LIBS"; then
14902         pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
14903     else
14904         if test -n "$PKG_CONFIG" && \
14905     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14906   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14907   ac_status=$?
14908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14909   test $ac_status = 0; }; then
14910   pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
14911 else
14912   pkg_failed=yes
14913 fi
14914     fi
14915 else
14916         pkg_failed=untried
14917 fi
14918
14919
14920
14921 if test $pkg_failed = yes; then
14922
14923 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14924         _pkg_short_errors_supported=yes
14925 else
14926         _pkg_short_errors_supported=no
14927 fi
14928         if test $_pkg_short_errors_supported = yes; then
14929                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
14930         else
14931                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
14932         fi
14933         # Put the nasty error message in config.log where it belongs
14934         echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
14935
14936         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14937 $as_echo "no" >&6; }
14938
14939       HAVE_GST_PLUGINS_BASE="no"
14940       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14941 $as_echo "no" >&6; }
14942       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
14943 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
14944       if test "x$required" = "xyes"; then
14945         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14946       else
14947         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14948 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14949       fi
14950
14951 elif test $pkg_failed = untried; then
14952
14953       HAVE_GST_PLUGINS_BASE="no"
14954       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14955 $as_echo "no" >&6; }
14956       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
14957 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
14958       if test "x$required" = "xyes"; then
14959         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14960       else
14961         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14962 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14963       fi
14964
14965 else
14966         GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
14967         GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
14968         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14969 $as_echo "yes" >&6; }
14970
14971       HAVE_GST_PLUGINS_BASE="yes"
14972
14973 fi
14974
14975
14976
14977         if test -z $GSTPB_PLUGINS_DIR; then
14978     GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
14979     if test -z $GSTPB_PLUGINS_DIR; then
14980       as_fn_error $? "no pluginsdir set in GStreamer Base Plug-ins pkg-config file" "$LINENO" 5
14981     fi
14982   fi
14983   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plug-ins in $GSTPB_PLUGINS_DIR" >&5
14984 $as_echo "$as_me: using GStreamer Base Plug-ins in $GSTPB_PLUGINS_DIR" >&6;}
14985
14986
14987
14988
14989   module=gstreamer-check-$GST_MAJORMINOR
14990   minver=$GST_REQ
14991   name="GStreamer Check unittest Library"
14992   required=no
14993
14994 pkg_failed=no
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
14996 $as_echo_n "checking for GST_CHECK... " >&6; }
14997
14998 if test -n "$PKG_CONFIG"; then
14999     if test -n "$GST_CHECK_CFLAGS"; then
15000         pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
15001     else
15002         if test -n "$PKG_CONFIG" && \
15003     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15004   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15005   ac_status=$?
15006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15007   test $ac_status = 0; }; then
15008   pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15009 else
15010   pkg_failed=yes
15011 fi
15012     fi
15013 else
15014         pkg_failed=untried
15015 fi
15016 if test -n "$PKG_CONFIG"; then
15017     if test -n "$GST_CHECK_LIBS"; then
15018         pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
15019     else
15020         if test -n "$PKG_CONFIG" && \
15021     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15022   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15023   ac_status=$?
15024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15025   test $ac_status = 0; }; then
15026   pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15027 else
15028   pkg_failed=yes
15029 fi
15030     fi
15031 else
15032         pkg_failed=untried
15033 fi
15034
15035
15036
15037 if test $pkg_failed = yes; then
15038
15039 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15040         _pkg_short_errors_supported=yes
15041 else
15042         _pkg_short_errors_supported=no
15043 fi
15044         if test $_pkg_short_errors_supported = yes; then
15045                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15046         else
15047                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15048         fi
15049         # Put the nasty error message in config.log where it belongs
15050         echo "$GST_CHECK_PKG_ERRORS" >&5
15051
15052         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15053 $as_echo "no" >&6; }
15054
15055       HAVE_GST_CHECK="no"
15056       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15057 $as_echo "no" >&6; }
15058       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
15059 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
15060       if test "x$required" = "xyes"; then
15061         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15062       else
15063         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15064 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15065       fi
15066
15067 elif test $pkg_failed = untried; then
15068
15069       HAVE_GST_CHECK="no"
15070       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15071 $as_echo "no" >&6; }
15072       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
15073 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
15074       if test "x$required" = "xyes"; then
15075         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15076       else
15077         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15078 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15079       fi
15080
15081 else
15082         GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
15083         GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
15084         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15085 $as_echo "yes" >&6; }
15086
15087       HAVE_GST_CHECK="yes"
15088
15089 fi
15090
15091
15092
15093  if test "x$HAVE_GST_CHECK" = "xyes"; then
15094   HAVE_GST_CHECK_TRUE=
15095   HAVE_GST_CHECK_FALSE='#'
15096 else
15097   HAVE_GST_CHECK_TRUE='#'
15098   HAVE_GST_CHECK_FALSE=
15099 fi
15100
15101
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&5
15103 $as_echo "$as_me: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&6;}
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
15105 $as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
15106
15107
15108   ORC_REQ=$ORC_REQ
15109
15110   # Check whether --enable-orc was given.
15111 if test "${enable_orc+set}" = set; then :
15112   enableval=$enable_orc; case "${enableval}" in
15113     auto) enable_orc=auto ;;
15114     yes) enable_orc=yes ;;
15115     no)  enable_orc=no ;;
15116     *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5  ;;
15117   esac
15118
15119 else
15120   enable_orc=auto
15121 fi
15122
15123   if test "x$enable_orc" != "xno" ; then
15124
15125 pkg_failed=no
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
15127 $as_echo_n "checking for ORC... " >&6; }
15128
15129 if test -n "$PKG_CONFIG"; then
15130     if test -n "$ORC_CFLAGS"; then
15131         pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
15132     else
15133         if test -n "$PKG_CONFIG" && \
15134     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
15135   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
15136   ac_status=$?
15137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15138   test $ac_status = 0; }; then
15139   pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
15140 else
15141   pkg_failed=yes
15142 fi
15143     fi
15144 else
15145         pkg_failed=untried
15146 fi
15147 if test -n "$PKG_CONFIG"; then
15148     if test -n "$ORC_LIBS"; then
15149         pkg_cv_ORC_LIBS="$ORC_LIBS"
15150     else
15151         if test -n "$PKG_CONFIG" && \
15152     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
15153   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
15154   ac_status=$?
15155   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15156   test $ac_status = 0; }; then
15157   pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
15158 else
15159   pkg_failed=yes
15160 fi
15161     fi
15162 else
15163         pkg_failed=untried
15164 fi
15165
15166
15167
15168 if test $pkg_failed = yes; then
15169
15170 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15171         _pkg_short_errors_supported=yes
15172 else
15173         _pkg_short_errors_supported=no
15174 fi
15175         if test $_pkg_short_errors_supported = yes; then
15176                 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
15177         else
15178                 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
15179         fi
15180         # Put the nasty error message in config.log where it belongs
15181         echo "$ORC_PKG_ERRORS" >&5
15182
15183         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15184 $as_echo "no" >&6; }
15185
15186       if test "x$enable_orc" = "xyes" ; then
15187         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
15188       fi
15189
15190 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
15191
15192       HAVE_ORC=no
15193
15194 elif test $pkg_failed = untried; then
15195
15196       if test "x$enable_orc" = "xyes" ; then
15197         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
15198       fi
15199
15200 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
15201
15202       HAVE_ORC=no
15203
15204 else
15205         ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
15206         ORC_LIBS=$pkg_cv_ORC_LIBS
15207         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15208 $as_echo "yes" >&6; }
15209
15210
15211 $as_echo "#define HAVE_ORC 1" >>confdefs.h
15212
15213       ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
15214
15215       HAVE_ORC=yes
15216
15217 fi
15218   else
15219
15220 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
15221
15222     HAVE_ORC=no
15223   fi
15224    if test "x$HAVE_ORC" = "xyes"; then
15225   HAVE_ORC_TRUE=
15226   HAVE_ORC_FALSE='#'
15227 else
15228   HAVE_ORC_TRUE='#'
15229   HAVE_ORC_FALSE=
15230 fi
15231
15232
15233
15234
15235
15236
15237
15238   EXP_VAR=PLUGINDIR
15239   FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
15240
15241     prefix_save=$prefix
15242   exec_prefix_save=$exec_prefix
15243
15244     if test "x$prefix" = "xNONE"; then
15245     prefix="$ac_default_prefix"
15246   fi
15247     if test "x$exec_prefix" = "xNONE"; then
15248     exec_prefix=$prefix
15249   fi
15250
15251   full_var="$FROM_VAR"
15252     while true; do
15253     new_full_var="`eval echo $full_var`"
15254     if test "x$new_full_var" = "x$full_var"; then break; fi
15255     full_var=$new_full_var
15256   done
15257
15258     full_var=$new_full_var
15259   PLUGINDIR="$full_var"
15260
15261
15262     prefix=$prefix_save
15263   exec_prefix=$exec_prefix_save
15264
15265
15266 cat >>confdefs.h <<_ACEOF
15267 #define PLUGINDIR "$PLUGINDIR"
15268 _ACEOF
15269
15270   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
15271 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
15272
15273     plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
15274
15275
15276
15277
15278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands " >&5
15279 $as_echo_n "checking to see if compiler understands ... " >&6; }
15280
15281   save_CFLAGS="$CFLAGS"
15282   CFLAGS="$CFLAGS "
15283
15284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h.  */
15286
15287 int
15288 main ()
15289 {
15290
15291   ;
15292   return 0;
15293 }
15294 _ACEOF
15295 if ac_fn_c_try_compile "$LINENO"; then :
15296   flag_ok=yes
15297 else
15298   flag_ok=no
15299 fi
15300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15301   CFLAGS="$save_CFLAGS"
15302
15303   if test "X$flag_ok" = Xyes ; then
15304
15305     true
15306   else
15307
15308     true
15309   fi
15310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15311 $as_echo "$flag_ok" >&6; }
15312
15313
15314
15315
15316
15317   WARNING_CFLAGS=""
15318   ERROR_CFLAGS=""
15319
15320
15321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
15322 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
15323
15324   save_CFLAGS="$CFLAGS"
15325   CFLAGS="$CFLAGS -Wall"
15326
15327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h.  */
15329
15330 int
15331 main ()
15332 {
15333
15334   ;
15335   return 0;
15336 }
15337 _ACEOF
15338 if ac_fn_c_try_compile "$LINENO"; then :
15339   flag_ok=yes
15340 else
15341   flag_ok=no
15342 fi
15343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15344   CFLAGS="$save_CFLAGS"
15345
15346   if test "X$flag_ok" = Xyes ; then
15347     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
15348     true
15349   else
15350
15351     true
15352   fi
15353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15354 $as_echo "$flag_ok" >&6; }
15355
15356
15357
15358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
15359 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
15360
15361   save_CFLAGS="$CFLAGS"
15362   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15363
15364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h.  */
15366
15367 int
15368 main ()
15369 {
15370
15371   ;
15372   return 0;
15373 }
15374 _ACEOF
15375 if ac_fn_c_try_compile "$LINENO"; then :
15376   flag_ok=yes
15377 else
15378   flag_ok=no
15379 fi
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381   CFLAGS="$save_CFLAGS"
15382
15383   if test "X$flag_ok" = Xyes ; then
15384     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
15385     true
15386   else
15387
15388     true
15389   fi
15390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15391 $as_echo "$flag_ok" >&6; }
15392
15393
15394
15395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
15396 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
15397
15398   save_CFLAGS="$CFLAGS"
15399   CFLAGS="$CFLAGS -Wvla"
15400
15401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h.  */
15403
15404 int
15405 main ()
15406 {
15407
15408   ;
15409   return 0;
15410 }
15411 _ACEOF
15412 if ac_fn_c_try_compile "$LINENO"; then :
15413   flag_ok=yes
15414 else
15415   flag_ok=no
15416 fi
15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418   CFLAGS="$save_CFLAGS"
15419
15420   if test "X$flag_ok" = Xyes ; then
15421     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
15422     true
15423   else
15424
15425     true
15426   fi
15427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15428 $as_echo "$flag_ok" >&6; }
15429
15430
15431
15432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
15433 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
15434
15435   save_CFLAGS="$CFLAGS"
15436   CFLAGS="$CFLAGS -Wpointer-arith"
15437
15438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h.  */
15440
15441 int
15442 main ()
15443 {
15444
15445   ;
15446   return 0;
15447 }
15448 _ACEOF
15449 if ac_fn_c_try_compile "$LINENO"; then :
15450   flag_ok=yes
15451 else
15452   flag_ok=no
15453 fi
15454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15455   CFLAGS="$save_CFLAGS"
15456
15457   if test "X$flag_ok" = Xyes ; then
15458     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
15459     true
15460   else
15461
15462     true
15463   fi
15464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15465 $as_echo "$flag_ok" >&6; }
15466
15467
15468     if test "x$GST_GIT" != "xno"
15469   then
15470
15471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
15472 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
15473
15474   save_CFLAGS="$CFLAGS"
15475   CFLAGS="$CFLAGS -Werror"
15476
15477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h.  */
15479
15480 int
15481 main ()
15482 {
15483
15484   ;
15485   return 0;
15486 }
15487 _ACEOF
15488 if ac_fn_c_try_compile "$LINENO"; then :
15489   flag_ok=yes
15490 else
15491   flag_ok=no
15492 fi
15493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15494   CFLAGS="$save_CFLAGS"
15495
15496   if test "X$flag_ok" = Xyes ; then
15497     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
15498     true
15499   else
15500
15501     true
15502   fi
15503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15504 $as_echo "$flag_ok" >&6; }
15505
15506
15507         if test "x$ERROR_CFLAGS" = "x"
15508     then
15509
15510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
15511 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
15512
15513   save_CFLAGS="$CFLAGS"
15514   CFLAGS="$CFLAGS -errwarn=%all"
15515
15516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h.  */
15518
15519 int
15520 main ()
15521 {
15522
15523   ;
15524   return 0;
15525 }
15526 _ACEOF
15527 if ac_fn_c_try_compile "$LINENO"; then :
15528   flag_ok=yes
15529 else
15530   flag_ok=no
15531 fi
15532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15533   CFLAGS="$save_CFLAGS"
15534
15535   if test "X$flag_ok" = Xyes ; then
15536
15537           ERROR_CFLAGS="-errwarn=%all"
15538                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
15539                    'no%E_STATEMENT_NOT_REACHED' \
15540                    'no%E_ARGUEMENT_MISMATCH' \
15541                    'no%E_MACRO_REDEFINED' \
15542                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
15543           do
15544
15545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
15546 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
15547
15548   save_CFLAGS="$CFLAGS"
15549   CFLAGS="$CFLAGS -errwarn=%all,$f"
15550
15551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15552 /* end confdefs.h.  */
15553
15554 int
15555 main ()
15556 {
15557
15558   ;
15559   return 0;
15560 }
15561 _ACEOF
15562 if ac_fn_c_try_compile "$LINENO"; then :
15563   flag_ok=yes
15564 else
15565   flag_ok=no
15566 fi
15567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15568   CFLAGS="$save_CFLAGS"
15569
15570   if test "X$flag_ok" = Xyes ; then
15571
15572               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
15573
15574     true
15575   else
15576
15577     true
15578   fi
15579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15580 $as_echo "$flag_ok" >&6; }
15581
15582           done
15583
15584     true
15585   else
15586
15587     true
15588   fi
15589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15590 $as_echo "$flag_ok" >&6; }
15591
15592     else
15593                         if test -n "$PKG_CONFIG" && \
15594     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
15595   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
15596   ac_status=$?
15597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15598   test $ac_status = 0; }; then
15599
15600
15601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
15602 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
15603
15604   save_CFLAGS="$CFLAGS"
15605   CFLAGS="$CFLAGS -fno-strict-aliasing"
15606
15607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15608 /* end confdefs.h.  */
15609
15610 int
15611 main ()
15612 {
15613
15614   ;
15615   return 0;
15616 }
15617 _ACEOF
15618 if ac_fn_c_try_compile "$LINENO"; then :
15619   flag_ok=yes
15620 else
15621   flag_ok=no
15622 fi
15623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15624   CFLAGS="$save_CFLAGS"
15625
15626   if test "X$flag_ok" = Xyes ; then
15627     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
15628     true
15629   else
15630
15631     true
15632   fi
15633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15634 $as_echo "$flag_ok" >&6; }
15635
15636
15637 fi
15638     fi
15639   fi
15640
15641   if test "x
15642     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
15643     -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
15644     -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress
15645     -Waggregate-return -Wno-multichar -Wnested-externs " != "x"
15646   then
15647     UNSUPPORTED=""
15648     list="
15649     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
15650     -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
15651     -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress
15652     -Waggregate-return -Wno-multichar -Wnested-externs "
15653     for each in $list
15654     do
15655
15656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
15657 $as_echo_n "checking to see if compiler understands $each... " >&6; }
15658
15659   save_CFLAGS="$CFLAGS"
15660   CFLAGS="$CFLAGS $each"
15661
15662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h.  */
15664
15665 int
15666 main ()
15667 {
15668
15669   ;
15670   return 0;
15671 }
15672 _ACEOF
15673 if ac_fn_c_try_compile "$LINENO"; then :
15674   flag_ok=yes
15675 else
15676   flag_ok=no
15677 fi
15678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15679   CFLAGS="$save_CFLAGS"
15680
15681   if test "X$flag_ok" = Xyes ; then
15682     WARNING_CFLAGS="$WARNING_CFLAGS $each"
15683     true
15684   else
15685     UNSUPPORTED="$UNSUPPORTED $each"
15686     true
15687   fi
15688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15689 $as_echo "$flag_ok" >&6; }
15690
15691     done
15692     if test "X$UNSUPPORTED" != X ; then
15693       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
15694 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
15695     fi
15696   fi
15697
15698
15699
15700   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
15701 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
15702   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
15703 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
15704
15705
15706
15707       if test "x$GST_GIT" = "xyes"; then
15708     GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
15709   else
15710     GST_LEVEL_DEFAULT=GST_LEVEL_NONE
15711   fi
15712
15713 cat >>confdefs.h <<_ACEOF
15714 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
15715 _ACEOF
15716
15717
15718
15719
15720
15721
15722 if test "x$USE_DEBUG" = xyes; then
15723    PROFILE_CFLAGS="-g"
15724 fi
15725
15726
15727 if test "x$GST_GIT" = "xyes"; then
15728   DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
15729 else
15730   DEPRECATED_CFLAGS=""
15731 fi
15732
15733
15734 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
15735
15736
15737
15738 GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
15739
15740
15741
15742 GST_ALL_LDFLAGS="-no-undefined"
15743
15744
15745 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"
15746
15747
15748
15749 case $host_os in
15750      darwin*)
15751         DARWIN_LDFLAGS="-Wl,-read_only_relocs,suppress"
15752         ;;
15753      *)
15754         DARWIN_LDFLAGS=""
15755         ;;
15756 esac
15757
15758
15759
15760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzlibVersion in -lbz2" >&5
15761 $as_echo_n "checking for BZ2_bzlibVersion in -lbz2... " >&6; }
15762 if test "${ac_cv_lib_bz2_BZ2_bzlibVersion+set}" = set; then :
15763   $as_echo_n "(cached) " >&6
15764 else
15765   ac_check_lib_save_LIBS=$LIBS
15766 LIBS="-lbz2  $LIBS"
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h.  */
15769
15770 /* Override any GCC internal prototype to avoid an error.
15771    Use char because int might match the return type of a GCC
15772    builtin and then its argument prototype would still apply.  */
15773 #ifdef __cplusplus
15774 extern "C"
15775 #endif
15776 char BZ2_bzlibVersion ();
15777 int
15778 main ()
15779 {
15780 return BZ2_bzlibVersion ();
15781   ;
15782   return 0;
15783 }
15784 _ACEOF
15785 if ac_fn_c_try_link "$LINENO"; then :
15786   ac_cv_lib_bz2_BZ2_bzlibVersion=yes
15787 else
15788   ac_cv_lib_bz2_BZ2_bzlibVersion=no
15789 fi
15790 rm -f core conftest.err conftest.$ac_objext \
15791     conftest$ac_exeext conftest.$ac_ext
15792 LIBS=$ac_check_lib_save_LIBS
15793 fi
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzlibVersion" >&5
15795 $as_echo "$ac_cv_lib_bz2_BZ2_bzlibVersion" >&6; }
15796 if test "x$ac_cv_lib_bz2_BZ2_bzlibVersion" = x""yes; then :
15797   HAVE_BZ2=yes
15798 else
15799   HAVE_BZ2=no
15800 fi
15801
15802   if test "x$HAVE_BZ2" = "xyes"; then
15803     ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
15804 if test "x$ac_cv_header_bzlib_h" = x""yes; then :
15805   :
15806 else
15807   HAVE_BZ2=no
15808 fi
15809
15810
15811     if test "x$HAVE_BZ2" = "xyes"; then
15812             have_bz2=yes
15813     else
15814       have_bz2=no
15815     fi
15816   else
15817     have_bz2=no
15818   fi
15819
15820
15821
15822  if test "x$have_bz2" = "xyes"; then
15823   HAVE_BZ2_TRUE=
15824   HAVE_BZ2_FALSE='#'
15825 else
15826   HAVE_BZ2_TRUE='#'
15827   HAVE_BZ2_FALSE=
15828 fi
15829
15830 if test "x$have_bz2" = "xno"; then
15831   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libbz2 not found, matroska demuxer will not be able to read bz2 tracks" >&5
15832 $as_echo "$as_me: WARNING: libbz2 not found, matroska demuxer will not be able to read bz2 tracks" >&2;}
15833 fi
15834
15835
15836 HAVE_FFMPEG_UNINSTALLED=1
15837
15838
15839 # Check whether --with-system-ffmpeg was given.
15840 if test "${with_system_ffmpeg+set}" = set; then :
15841   withval=$with_system_ffmpeg;
15842 fi
15843
15844
15845 if test "x$with_system_ffmpeg" = "xyes"; then
15846
15847 pkg_failed=no
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFMPEG" >&5
15849 $as_echo_n "checking for FFMPEG... " >&6; }
15850
15851 if test -n "$PKG_CONFIG"; then
15852     if test -n "$FFMPEG_CFLAGS"; then
15853         pkg_cv_FFMPEG_CFLAGS="$FFMPEG_CFLAGS"
15854     else
15855         if test -n "$PKG_CONFIG" && \
15856     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat libavcodec libavutil\""; } >&5
15857   ($PKG_CONFIG --exists --print-errors "libavformat libavcodec libavutil") 2>&5
15858   ac_status=$?
15859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15860   test $ac_status = 0; }; then
15861   pkg_cv_FFMPEG_CFLAGS=`$PKG_CONFIG --cflags "libavformat libavcodec libavutil" 2>/dev/null`
15862 else
15863   pkg_failed=yes
15864 fi
15865     fi
15866 else
15867         pkg_failed=untried
15868 fi
15869 if test -n "$PKG_CONFIG"; then
15870     if test -n "$FFMPEG_LIBS"; then
15871         pkg_cv_FFMPEG_LIBS="$FFMPEG_LIBS"
15872     else
15873         if test -n "$PKG_CONFIG" && \
15874     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat libavcodec libavutil\""; } >&5
15875   ($PKG_CONFIG --exists --print-errors "libavformat libavcodec libavutil") 2>&5
15876   ac_status=$?
15877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15878   test $ac_status = 0; }; then
15879   pkg_cv_FFMPEG_LIBS=`$PKG_CONFIG --libs "libavformat libavcodec libavutil" 2>/dev/null`
15880 else
15881   pkg_failed=yes
15882 fi
15883     fi
15884 else
15885         pkg_failed=untried
15886 fi
15887
15888
15889
15890 if test $pkg_failed = yes; then
15891
15892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15893         _pkg_short_errors_supported=yes
15894 else
15895         _pkg_short_errors_supported=no
15896 fi
15897         if test $_pkg_short_errors_supported = yes; then
15898                 FFMPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libavformat libavcodec libavutil"`
15899         else
15900                 FFMPEG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libavformat libavcodec libavutil"`
15901         fi
15902         # Put the nasty error message in config.log where it belongs
15903         echo "$FFMPEG_PKG_ERRORS" >&5
15904
15905         as_fn_error $? "Package requirements (libavformat libavcodec libavutil) were not met:
15906
15907 $FFMPEG_PKG_ERRORS
15908
15909 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15910 installed software in a non-standard prefix.
15911
15912 Alternatively, you may set the environment variables FFMPEG_CFLAGS
15913 and FFMPEG_LIBS to avoid the need to call pkg-config.
15914 See the pkg-config man page for more details.
15915 " "$LINENO" 5
15916 elif test $pkg_failed = untried; then
15917         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15919 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15920 is in your PATH or set the PKG_CONFIG environment variable to the full
15921 path to pkg-config.
15922
15923 Alternatively, you may set the environment variables FFMPEG_CFLAGS
15924 and FFMPEG_LIBS to avoid the need to call pkg-config.
15925 See the pkg-config man page for more details.
15926
15927 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15928 See \`config.log' for more details" "$LINENO" 5 ; }
15929 else
15930         FFMPEG_CFLAGS=$pkg_cv_FFMPEG_CFLAGS
15931         FFMPEG_LIBS=$pkg_cv_FFMPEG_LIBS
15932         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15933 $as_echo "yes" >&6; }
15934         :
15935 fi
15936
15937 pkg_failed=no
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSTPROC" >&5
15939 $as_echo_n "checking for POSTPROC... " >&6; }
15940
15941 if test -n "$PKG_CONFIG"; then
15942     if test -n "$POSTPROC_CFLAGS"; then
15943         pkg_cv_POSTPROC_CFLAGS="$POSTPROC_CFLAGS"
15944     else
15945         if test -n "$PKG_CONFIG" && \
15946     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavcodec libavutil\""; } >&5
15947   ($PKG_CONFIG --exists --print-errors "libpostproc libavcodec libavutil") 2>&5
15948   ac_status=$?
15949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15950   test $ac_status = 0; }; then
15951   pkg_cv_POSTPROC_CFLAGS=`$PKG_CONFIG --cflags "libpostproc libavcodec libavutil" 2>/dev/null`
15952 else
15953   pkg_failed=yes
15954 fi
15955     fi
15956 else
15957         pkg_failed=untried
15958 fi
15959 if test -n "$PKG_CONFIG"; then
15960     if test -n "$POSTPROC_LIBS"; then
15961         pkg_cv_POSTPROC_LIBS="$POSTPROC_LIBS"
15962     else
15963         if test -n "$PKG_CONFIG" && \
15964     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavcodec libavutil\""; } >&5
15965   ($PKG_CONFIG --exists --print-errors "libpostproc libavcodec libavutil") 2>&5
15966   ac_status=$?
15967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15968   test $ac_status = 0; }; then
15969   pkg_cv_POSTPROC_LIBS=`$PKG_CONFIG --libs "libpostproc libavcodec libavutil" 2>/dev/null`
15970 else
15971   pkg_failed=yes
15972 fi
15973     fi
15974 else
15975         pkg_failed=untried
15976 fi
15977
15978
15979
15980 if test $pkg_failed = yes; then
15981
15982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15983         _pkg_short_errors_supported=yes
15984 else
15985         _pkg_short_errors_supported=no
15986 fi
15987         if test $_pkg_short_errors_supported = yes; then
15988                 POSTPROC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpostproc libavcodec libavutil"`
15989         else
15990                 POSTPROC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpostproc libavcodec libavutil"`
15991         fi
15992         # Put the nasty error message in config.log where it belongs
15993         echo "$POSTPROC_PKG_ERRORS" >&5
15994
15995         as_fn_error $? "Package requirements (libpostproc libavcodec libavutil) were not met:
15996
15997 $POSTPROC_PKG_ERRORS
15998
15999 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16000 installed software in a non-standard prefix.
16001
16002 Alternatively, you may set the environment variables POSTPROC_CFLAGS
16003 and POSTPROC_LIBS to avoid the need to call pkg-config.
16004 See the pkg-config man page for more details.
16005 " "$LINENO" 5
16006 elif test $pkg_failed = untried; then
16007         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16009 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16010 is in your PATH or set the PKG_CONFIG environment variable to the full
16011 path to pkg-config.
16012
16013 Alternatively, you may set the environment variables POSTPROC_CFLAGS
16014 and POSTPROC_LIBS to avoid the need to call pkg-config.
16015 See the pkg-config man page for more details.
16016
16017 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16018 See \`config.log' for more details" "$LINENO" 5 ; }
16019 else
16020         POSTPROC_CFLAGS=$pkg_cv_POSTPROC_CFLAGS
16021         POSTPROC_LIBS=$pkg_cv_POSTPROC_LIBS
16022         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16023 $as_echo "yes" >&6; }
16024         :
16025 fi
16026
16027 pkg_failed=no
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWSCALE" >&5
16029 $as_echo_n "checking for SWSCALE... " >&6; }
16030
16031 if test -n "$PKG_CONFIG"; then
16032     if test -n "$SWSCALE_CFLAGS"; then
16033         pkg_cv_SWSCALE_CFLAGS="$SWSCALE_CFLAGS"
16034     else
16035         if test -n "$PKG_CONFIG" && \
16036     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale libavutil\""; } >&5
16037   ($PKG_CONFIG --exists --print-errors "libswscale libavutil") 2>&5
16038   ac_status=$?
16039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16040   test $ac_status = 0; }; then
16041   pkg_cv_SWSCALE_CFLAGS=`$PKG_CONFIG --cflags "libswscale libavutil" 2>/dev/null`
16042 else
16043   pkg_failed=yes
16044 fi
16045     fi
16046 else
16047         pkg_failed=untried
16048 fi
16049 if test -n "$PKG_CONFIG"; then
16050     if test -n "$SWSCALE_LIBS"; then
16051         pkg_cv_SWSCALE_LIBS="$SWSCALE_LIBS"
16052     else
16053         if test -n "$PKG_CONFIG" && \
16054     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale libavutil\""; } >&5
16055   ($PKG_CONFIG --exists --print-errors "libswscale libavutil") 2>&5
16056   ac_status=$?
16057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16058   test $ac_status = 0; }; then
16059   pkg_cv_SWSCALE_LIBS=`$PKG_CONFIG --libs "libswscale libavutil" 2>/dev/null`
16060 else
16061   pkg_failed=yes
16062 fi
16063     fi
16064 else
16065         pkg_failed=untried
16066 fi
16067
16068
16069
16070 if test $pkg_failed = yes; then
16071
16072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16073         _pkg_short_errors_supported=yes
16074 else
16075         _pkg_short_errors_supported=no
16076 fi
16077         if test $_pkg_short_errors_supported = yes; then
16078                 SWSCALE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libswscale libavutil"`
16079         else
16080                 SWSCALE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libswscale libavutil"`
16081         fi
16082         # Put the nasty error message in config.log where it belongs
16083         echo "$SWSCALE_PKG_ERRORS" >&5
16084
16085         as_fn_error $? "Package requirements (libswscale libavutil) were not met:
16086
16087 $SWSCALE_PKG_ERRORS
16088
16089 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16090 installed software in a non-standard prefix.
16091
16092 Alternatively, you may set the environment variables SWSCALE_CFLAGS
16093 and SWSCALE_LIBS to avoid the need to call pkg-config.
16094 See the pkg-config man page for more details.
16095 " "$LINENO" 5
16096 elif test $pkg_failed = untried; then
16097         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16099 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16100 is in your PATH or set the PKG_CONFIG environment variable to the full
16101 path to pkg-config.
16102
16103 Alternatively, you may set the environment variables SWSCALE_CFLAGS
16104 and SWSCALE_LIBS to avoid the need to call pkg-config.
16105 See the pkg-config man page for more details.
16106
16107 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16108 See \`config.log' for more details" "$LINENO" 5 ; }
16109 else
16110         SWSCALE_CFLAGS=$pkg_cv_SWSCALE_CFLAGS
16111         SWSCALE_LIBS=$pkg_cv_SWSCALE_LIBS
16112         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16113 $as_echo "yes" >&6; }
16114         :
16115 fi
16116   saved_CPPFLAGS="$CPPFLAGS"
16117   CPPFLAGS="$CPPFLAGS $FFMPEG_CFLAGS"
16118   for ac_header in avi.h
16119 do :
16120   ac_fn_c_check_header_mongrel "$LINENO" "avi.h" "ac_cv_header_avi_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_avi_h" = x""yes; then :
16122   cat >>confdefs.h <<_ACEOF
16123 #define HAVE_AVI_H 1
16124 _ACEOF
16125
16126 fi
16127
16128 done
16129
16130   CPPFLAGS="$saved_CPPFLAGS"
16131
16132 $as_echo "#define FFMPEG_SOURCE \"system install\"" >>confdefs.h
16133
16134   HAVE_FFMPEG_UNINSTALLED=0
16135   { $as_echo "$as_me:${as_lineno-$LINENO}: Using system-installed FFMpeg code" >&5
16136 $as_echo "$as_me: Using system-installed FFMpeg code" >&6;}
16137   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16138   ======================================================================
16139    WARNING: you have chosen to build gst-ffmpeg against a random
16140    external version of ffmpeg instead of building it against the tested
16141    internal ffmpeg snapshot that is included with gst-ffmpeg.
16142
16143    This is a very bad idea.  So bad in fact that words cannot express
16144    just how bad it is.  Suffice to say that it is BAD.
16145
16146    The GStreamer developers cannot and will not support a gst-ffmpeg
16147    built this way.  Any bug reports that indicate there is an external
16148    version of ffmpeg involved will be closed immediately without further
16149    investigation.
16150
16151    The reason such a setup can't be supported is that the ffmpeg API
16152    and ABI is in constant flux, yet there aren't any official releases
16153    of the ffmpeg library to develop against.  This makes it impossible
16154    to guarantee that gst-ffmpeg will work reliably, or even compile,
16155    with a randomly picked version ffmpeg.  Even if gst-ffmpeg compiles
16156    and superficially appears to work fine against your chosen external
16157    ffmpeg version, that might just not be the case on other systems, or
16158    even the same system at a later time, or when using decoders,
16159    encoders, demuxers or muxers that have not been tested.
16160
16161    Please do not create or distribute binary packages of gst-ffmpeg
16162    that link against an external ffmpeg. Thank you!
16163   ======================================================================
16164   " >&5
16165 $as_echo "$as_me: WARNING:
16166   ======================================================================
16167    WARNING: you have chosen to build gst-ffmpeg against a random
16168    external version of ffmpeg instead of building it against the tested
16169    internal ffmpeg snapshot that is included with gst-ffmpeg.
16170
16171    This is a very bad idea.  So bad in fact that words cannot express
16172    just how bad it is.  Suffice to say that it is BAD.
16173
16174    The GStreamer developers cannot and will not support a gst-ffmpeg
16175    built this way.  Any bug reports that indicate there is an external
16176    version of ffmpeg involved will be closed immediately without further
16177    investigation.
16178
16179    The reason such a setup can't be supported is that the ffmpeg API
16180    and ABI is in constant flux, yet there aren't any official releases
16181    of the ffmpeg library to develop against.  This makes it impossible
16182    to guarantee that gst-ffmpeg will work reliably, or even compile,
16183    with a randomly picked version ffmpeg.  Even if gst-ffmpeg compiles
16184    and superficially appears to work fine against your chosen external
16185    ffmpeg version, that might just not be the case on other systems, or
16186    even the same system at a later time, or when using decoders,
16187    encoders, demuxers or muxers that have not been tested.
16188
16189    Please do not create or distribute binary packages of gst-ffmpeg
16190    that link against an external ffmpeg. Thank you!
16191   ======================================================================
16192   " >&2;}
16193
16194     sleep 15
16195 else
16196
16197   . "$srcdir/ffmpegrev"
16198
16199   { $as_echo "$as_me:${as_lineno-$LINENO}: Using ffmpeg revision $FFMPEG_REVISION" >&5
16200 $as_echo "$as_me: Using ffmpeg revision $FFMPEG_REVISION" >&6;}
16201
16202     FFMPEG_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavformat \
16203                  -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavutil \
16204                  -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavcodec \
16205                  -I \$(top_srcdir)/gst-libs/ext/ffmpeg \
16206                  -I \$(top_builddir)/gst-libs/ext/ffmpeg \
16207                  -Wno-deprecated-declarations"
16208
16209     FFMPEG_LIBS="\$(top_builddir)/gst-libs/ext/ffmpeg/libavformat/libavformat.a \
16210                \$(top_builddir)/gst-libs/ext/ffmpeg/libavcodec/libavcodec.a \
16211                \$(top_builddir)/gst-libs/ext/ffmpeg/libavutil/libavutil.a"
16212     POSTPROC_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/ffmpeg/libpostproc  \
16213                    -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavutil      \
16214                    -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavcodec     \
16215                    -I \$(top_srcdir)/gst-libs/ext/ffmpeg        \
16216                    -I \$(top_builddir)/gst-libs/ext/ffmpeg \
16217                    -Wno-deprecated-declarations"
16218
16219     POSTPROC_LIBS="\$(top_builddir)/gst-libs/ext/ffmpeg/libpostproc/libpostproc.a \
16220                  \$(top_builddir)/gst-libs/ext/ffmpeg/libavutil/libavutil.a"
16221
16222     SWSCALE_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/ffmpeg/libswscale    \
16223                   -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavutil       \
16224                   -I \$(top_srcdir)/gst-libs/ext/ffmpeg         \
16225                    -I \$(top_builddir)/gst-libs/ext/ffmpeg \
16226                   -Wno-deprecated-declarations"
16227
16228     SWSCALE_LIBS="\$(top_builddir)/gst-libs/ext/ffmpeg/libswscale/libswscale.a \
16229                 \$(top_builddir)/gst-libs/ext/ffmpeg/libavutil/libavutil.a"
16230
16231   FFMPEG_SUBDIRS=gst-libs
16232   $as_echo "#define HAVE_AVI_H 1" >>confdefs.h
16233
16234
16235 $as_echo "#define FFMPEG_SOURCE \"local snapshot\"" >>confdefs.h
16236
16237
16238
16239 # Check whether --with-ffmpeg-extra-configure was given.
16240 if test "${with_ffmpeg_extra_configure+set}" = set; then :
16241   withval=$with_ffmpeg_extra_configure;
16242 else
16243   with_ffmpeg_extra_configure=no
16244 fi
16245
16246
16247   # basic arguments
16248   embffmpeg_configure_args="--prefix=$prefix"
16249
16250   # Enable pic and static so that we get .a files, but with PIC code.
16251 #  embffmpeg_configure_args="$embffmpeg_configure_args --disable-ffserver --disable-ffplay\
16252 #       --disable-ffmpeg --disable-ffprobe --enable-postproc --enable-gpl --enable-static --enable-pic \
16253 #       --disable-encoder=flac --disable-decoder=cavs --disable-protocols --disable-devices\
16254 #       --disable-network --disable-hwaccels --disable-filters --disable-doc\
16255 #       --enable-optimizations"
16256
16257         embffmpeg_configure_args="$embffmpeg_configure_args \
16258                                                           --enable-static --enable-pic --enable-optimizations \
16259                                                           --disable-doc \
16260                                                           --disable-gpl  --disable-postproc --disable-swscale  \
16261                                                           --disable-mmx --enable-neon \
16262                                                           --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-ffplay   \
16263                                                           --disable-decoders --disable-encoders \
16264                                                           --disable-muxers --disable-demuxers \
16265                                                           --disable-parsers  \
16266                                                           --disable-protocols --disable-network --disable-bsfs --disable-devices --disable-filters  \
16267                                                           --enable-libvorbis --enable-libtheora \
16268                                                           --enable-encoder=h263  \
16269                                                           --enable-encoder=h263p \
16270                                                           --enable-encoder=mpeg4 \
16271                                                           --enable-encoder=msmpeg4v1 \
16272                                                           --enable-encoder=msmpeg4v2 \
16273                                                           --enable-encoder=msmpeg4v3 \
16274                                                           --enable-decoder=aac   \
16275                                                           --enable-decoder=ac3   \
16276                                                           --enable-decoder=h263  \
16277                                                           --enable-decoder=h264  \
16278                                                           --enable-decoder=mp3   \
16279                                                           --enable-decoder=mp3adu    \
16280                                                           --enable-decoder=mpeg4 \
16281                                                           --enable-decoder=mpegvideo \
16282                                                           --enable-decoder=msmpeg4v1  \
16283                                                           --enable-decoder=msmpeg4v2  \
16284                                                           --enable-decoder=msmpeg4v3  \
16285                                                           --enable-decoder=wmav1     \
16286                                                           --enable-decoder=wmav2     \
16287                                                           --enable-decoder=theora     \
16288                                                           --enable-decoder=vorbis     \
16289                                                           --enable-muxer=amr \
16290                                                           --enable-muxer=tgp \
16291                                                           --enable-muxer=mp4 \
16292                                                           --enable-demuxer=aac   \
16293                                                           --enable-demuxer=ac3   \
16294                                                           --enable-demuxer=avi   \
16295                                                           --enable-demuxer=amr   \
16296                                                           --enable-demuxer=h263    \
16297                                                           --enable-demuxer=h264  \
16298                                                           --enable-demuxer=m4v   \
16299                                                           --enable-demuxer=mov   \
16300                                                           --enable-demuxer=mp3   \
16301                                                           --enable-demuxer=mpegts    \
16302                                                           --enable-demuxer=mpegps    \
16303                                                           --enable-demuxer=mpegtsraw \
16304                                                           --enable-demuxer=mpegvideo \
16305                                                           --enable-parser=aac    \
16306                                                           --enable-parser=ac3    \
16307                                                           --enable-parser=h263   \
16308                                                           --enable-parser=h264   \
16309                                                           --enable-parser=mpeg4video \
16310                                                           --enable-parser=mpegaudio  \
16311                                                           --enable-parser=mpegvideo"
16312
16313
16314   # if we are cross-compiling, tell ffmpeg so
16315   if test "x$cross_compiling" = xyes; then
16316     embffmpeg_configure_args="$embffmpeg_configure_args --enable-cross-compile \
16317         --target-os=$host_os --arch=$host_cpu --cross-prefix=$host_alias-"
16318   fi
16319
16320   case $host_os in
16321     # Unfortunately, in Mac OS 10.5 the current rev of ffmpeg builds
16322     # some non-PIC code into the .a file. See
16323     # http://trac.macosforge.org/projects/macports/ticket/13725 for more
16324     # info.
16325     darwin*)
16326       embffmpeg_configure_args="$embffmpeg_configure_args --disable-mmx --disable-altivec"
16327       ;;
16328     mingw32*)
16329       embffmpeg_configure_args="$embffmpeg_configure_args --enable-memalign-hack"
16330       WIN32_LIBS="-lws2_32"
16331       ;;
16332     *)
16333       WIN32_LIBS=
16334       ;;
16335   esac
16336
16337     FFMPEG_OPTS="(cd $srcdir/gst-libs/ext/ffmpeg && ./configure --help)"
16338   # Let's check if we can disable the building of the ffmpeg binary
16339   can_disable=`echo "$FFMPEG_OPTS" | grep 'disable-ffmpeg'`
16340   if test "$can_disable" != ""; then
16341     embffmpeg_configure_args="$embffmpeg_configure_args --disable-ffmpeg"
16342   fi
16343     can_enable=`echo "$FFMPEG_OPTS" | grep 'enable-swscale'`
16344   if test "$can_enable" != ""; then
16345     embffmpeg_configure_args="$embffmpeg_configure_args --enable-swscale"
16346   fi
16347
16348   # append extra configure options to embffmpeg_configure_args if needed
16349   if test "x$with_ffmpeg_extra_configure" != "xno"; then
16350     embffmpeg_configure_args="$embffmpeg_configure_args $with_ffmpeg_extra_configure"
16351   fi
16352
16353
16354
16355
16356
16357   ac_config_commands="$ac_config_commands configure-embedded-ffmpeg"
16358
16359   { $as_echo "$as_me:${as_lineno-$LINENO}: Using included FFMpeg code" >&5
16360 $as_echo "$as_me: Using included FFMpeg code" >&6;}
16361 fi
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372 if test x$HAVE_FFMPEG_UNINSTALLED = x1; then
16373
16374 $as_echo "#define HAVE_FFMPEG_UNINSTALLED /**/" >>confdefs.h
16375
16376 fi
16377  if test x$HAVE_FFMPEG_UNINSTALLED = x1; then
16378   HAVE_FFMPEG_UNINSTALLED_TRUE=
16379   HAVE_FFMPEG_UNINSTALLED_FALSE='#'
16380 else
16381   HAVE_FFMPEG_UNINSTALLED_TRUE='#'
16382   HAVE_FFMPEG_UNINSTALLED_FALSE=
16383 fi
16384
16385
16386 ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile gst-ffmpeg.spec ext/Makefile ext/ffmpeg/Makefile ext/libpostproc/Makefile ext/libswscale/Makefile gst-libs/Makefile gst-libs/ext/Makefile docs/Makefile docs/version.entities tests/Makefile tests/check/Makefile tests/files/Makefile"
16387
16388 cat >confcache <<\_ACEOF
16389 # This file is a shell script that caches the results of configure
16390 # tests run on this system so they can be shared between configure
16391 # scripts and configure runs, see configure's option --config-cache.
16392 # It is not useful on other systems.  If it contains results you don't
16393 # want to keep, you may remove or edit it.
16394 #
16395 # config.status only pays attention to the cache file if you give it
16396 # the --recheck option to rerun configure.
16397 #
16398 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16399 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16400 # following values.
16401
16402 _ACEOF
16403
16404 # The following way of writing the cache mishandles newlines in values,
16405 # but we know of no workaround that is simple, portable, and efficient.
16406 # So, we kill variables containing newlines.
16407 # Ultrix sh set writes to stderr and can't be redirected directly,
16408 # and sets the high bit in the cache file unless we assign to the vars.
16409 (
16410   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16411     eval ac_val=\$$ac_var
16412     case $ac_val in #(
16413     *${as_nl}*)
16414       case $ac_var in #(
16415       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16416 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16417       esac
16418       case $ac_var in #(
16419       _ | IFS | as_nl) ;; #(
16420       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16421       *) { eval $ac_var=; unset $ac_var;} ;;
16422       esac ;;
16423     esac
16424   done
16425
16426   (set) 2>&1 |
16427     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16428     *${as_nl}ac_space=\ *)
16429       # `set' does not quote correctly, so add quotes: double-quote
16430       # substitution turns \\\\ into \\, and sed turns \\ into \.
16431       sed -n \
16432         "s/'/'\\\\''/g;
16433           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16434       ;; #(
16435     *)
16436       # `set' quotes correctly as required by POSIX, so do not add quotes.
16437       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16438       ;;
16439     esac |
16440     sort
16441 ) |
16442   sed '
16443      /^ac_cv_env_/b end
16444      t clear
16445      :clear
16446      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16447      t end
16448      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16449      :end' >>confcache
16450 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16451   if test -w "$cache_file"; then
16452     test "x$cache_file" != "x/dev/null" &&
16453       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16454 $as_echo "$as_me: updating cache $cache_file" >&6;}
16455     cat confcache >$cache_file
16456   else
16457     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16458 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16459   fi
16460 fi
16461 rm -f confcache
16462
16463 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16464 # Let make expand exec_prefix.
16465 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16466
16467 DEFS=-DHAVE_CONFIG_H
16468
16469 ac_libobjs=
16470 ac_ltlibobjs=
16471 U=
16472 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16473   # 1. Remove the extension, and $U if already installed.
16474   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16475   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16476   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16477   #    will be set to the directory where LIBOBJS objects are built.
16478   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16479   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16480 done
16481 LIBOBJS=$ac_libobjs
16482
16483 LTLIBOBJS=$ac_ltlibobjs
16484
16485
16486  if test -n "$EXEEXT"; then
16487   am__EXEEXT_TRUE=
16488   am__EXEEXT_FALSE='#'
16489 else
16490   am__EXEEXT_TRUE='#'
16491   am__EXEEXT_FALSE=
16492 fi
16493
16494 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16495   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16497 fi
16498 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16499   as_fn_error $? "conditional \"AMDEP\" was never defined.
16500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16501 fi
16502 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16503   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16505 fi
16506
16507 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
16508   as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
16509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16510 fi
16511 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
16512   as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
16513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16514 fi
16515 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
16516   as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
16517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16518 fi
16519 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
16520   as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
16521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16522 fi
16523 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
16524   as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
16525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16526 fi
16527 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
16528   as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
16529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16530 fi
16531 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
16532   as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
16533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16534 fi
16535 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
16536   as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
16537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16538 fi
16539 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
16540   as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
16541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16542 fi
16543 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
16544   as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
16545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16546 fi
16547 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
16548   as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
16549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16550 fi
16551 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
16552   as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
16553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16554 fi
16555 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
16556   as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
16557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16558 fi
16559 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
16560   as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
16561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16562 fi
16563 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16564   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16566 fi
16567 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16568   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16570 fi
16571 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
16572   as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
16573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16574 fi
16575 if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
16576   as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined.
16577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16578 fi
16579 if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
16580   as_fn_error $? "conditional \"DOC_HTML\" was never defined.
16581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16582 fi
16583 if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
16584   as_fn_error $? "conditional \"DOC_PDF\" was never defined.
16585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16586 fi
16587 if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
16588   as_fn_error $? "conditional \"DOC_PS\" was never defined.
16589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16590 fi
16591 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16592   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16594 fi
16595 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16596   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16598 fi
16599 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
16600   as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
16601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16602 fi
16603 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
16604   as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
16605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16606 fi
16607 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
16608   as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
16609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16610 fi
16611 if test -z "${HAVE_BZ2_TRUE}" && test -z "${HAVE_BZ2_FALSE}"; then
16612   as_fn_error $? "conditional \"HAVE_BZ2\" was never defined.
16613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16614 fi
16615 if test -z "${HAVE_FFMPEG_UNINSTALLED_TRUE}" && test -z "${HAVE_FFMPEG_UNINSTALLED_FALSE}"; then
16616   as_fn_error $? "conditional \"HAVE_FFMPEG_UNINSTALLED\" was never defined.
16617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16618 fi
16619
16620 : ${CONFIG_STATUS=./config.status}
16621 ac_write_fail=0
16622 ac_clean_files_save=$ac_clean_files
16623 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16625 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16626 as_write_fail=0
16627 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16628 #! $SHELL
16629 # Generated by $as_me.
16630 # Run this file to recreate the current configuration.
16631 # Compiler output produced by configure, useful for debugging
16632 # configure, is in config.log if it exists.
16633
16634 debug=false
16635 ac_cs_recheck=false
16636 ac_cs_silent=false
16637
16638 SHELL=\${CONFIG_SHELL-$SHELL}
16639 export SHELL
16640 _ASEOF
16641 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16642 ## -------------------- ##
16643 ## M4sh Initialization. ##
16644 ## -------------------- ##
16645
16646 # Be more Bourne compatible
16647 DUALCASE=1; export DUALCASE # for MKS sh
16648 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16649   emulate sh
16650   NULLCMD=:
16651   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16652   # is contrary to our usage.  Disable this feature.
16653   alias -g '${1+"$@"}'='"$@"'
16654   setopt NO_GLOB_SUBST
16655 else
16656   case `(set -o) 2>/dev/null` in #(
16657   *posix*) :
16658     set -o posix ;; #(
16659   *) :
16660      ;;
16661 esac
16662 fi
16663
16664
16665 as_nl='
16666 '
16667 export as_nl
16668 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16669 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16670 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16671 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16672 # Prefer a ksh shell builtin over an external printf program on Solaris,
16673 # but without wasting forks for bash or zsh.
16674 if test -z "$BASH_VERSION$ZSH_VERSION" \
16675     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16676   as_echo='print -r --'
16677   as_echo_n='print -rn --'
16678 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16679   as_echo='printf %s\n'
16680   as_echo_n='printf %s'
16681 else
16682   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16683     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16684     as_echo_n='/usr/ucb/echo -n'
16685   else
16686     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16687     as_echo_n_body='eval
16688       arg=$1;
16689       case $arg in #(
16690       *"$as_nl"*)
16691         expr "X$arg" : "X\\(.*\\)$as_nl";
16692         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16693       esac;
16694       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16695     '
16696     export as_echo_n_body
16697     as_echo_n='sh -c $as_echo_n_body as_echo'
16698   fi
16699   export as_echo_body
16700   as_echo='sh -c $as_echo_body as_echo'
16701 fi
16702
16703 # The user is always right.
16704 if test "${PATH_SEPARATOR+set}" != set; then
16705   PATH_SEPARATOR=:
16706   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16707     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16708       PATH_SEPARATOR=';'
16709   }
16710 fi
16711
16712
16713 # IFS
16714 # We need space, tab and new line, in precisely that order.  Quoting is
16715 # there to prevent editors from complaining about space-tab.
16716 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16717 # splitting by setting IFS to empty value.)
16718 IFS=" ""        $as_nl"
16719
16720 # Find who we are.  Look in the path if we contain no directory separator.
16721 case $0 in #((
16722   *[\\/]* ) as_myself=$0 ;;
16723   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16724 for as_dir in $PATH
16725 do
16726   IFS=$as_save_IFS
16727   test -z "$as_dir" && as_dir=.
16728     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16729   done
16730 IFS=$as_save_IFS
16731
16732      ;;
16733 esac
16734 # We did not find ourselves, most probably we were run as `sh COMMAND'
16735 # in which case we are not to be found in the path.
16736 if test "x$as_myself" = x; then
16737   as_myself=$0
16738 fi
16739 if test ! -f "$as_myself"; then
16740   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16741   exit 1
16742 fi
16743
16744 # Unset variables that we do not need and which cause bugs (e.g. in
16745 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16746 # suppresses any "Segmentation fault" message there.  '((' could
16747 # trigger a bug in pdksh 5.2.14.
16748 for as_var in BASH_ENV ENV MAIL MAILPATH
16749 do eval test x\${$as_var+set} = xset \
16750   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16751 done
16752 PS1='$ '
16753 PS2='> '
16754 PS4='+ '
16755
16756 # NLS nuisances.
16757 LC_ALL=C
16758 export LC_ALL
16759 LANGUAGE=C
16760 export LANGUAGE
16761
16762 # CDPATH.
16763 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16764
16765
16766 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16767 # ----------------------------------------
16768 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16769 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16770 # script with STATUS, using 1 if that was 0.
16771 as_fn_error ()
16772 {
16773   as_status=$1; test $as_status -eq 0 && as_status=1
16774   if test "$4"; then
16775     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16776     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16777   fi
16778   $as_echo "$as_me: error: $2" >&2
16779   as_fn_exit $as_status
16780 } # as_fn_error
16781
16782
16783 # as_fn_set_status STATUS
16784 # -----------------------
16785 # Set $? to STATUS, without forking.
16786 as_fn_set_status ()
16787 {
16788   return $1
16789 } # as_fn_set_status
16790
16791 # as_fn_exit STATUS
16792 # -----------------
16793 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16794 as_fn_exit ()
16795 {
16796   set +e
16797   as_fn_set_status $1
16798   exit $1
16799 } # as_fn_exit
16800
16801 # as_fn_unset VAR
16802 # ---------------
16803 # Portably unset VAR.
16804 as_fn_unset ()
16805 {
16806   { eval $1=; unset $1;}
16807 }
16808 as_unset=as_fn_unset
16809 # as_fn_append VAR VALUE
16810 # ----------------------
16811 # Append the text in VALUE to the end of the definition contained in VAR. Take
16812 # advantage of any shell optimizations that allow amortized linear growth over
16813 # repeated appends, instead of the typical quadratic growth present in naive
16814 # implementations.
16815 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16816   eval 'as_fn_append ()
16817   {
16818     eval $1+=\$2
16819   }'
16820 else
16821   as_fn_append ()
16822   {
16823     eval $1=\$$1\$2
16824   }
16825 fi # as_fn_append
16826
16827 # as_fn_arith ARG...
16828 # ------------------
16829 # Perform arithmetic evaluation on the ARGs, and store the result in the
16830 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16831 # must be portable across $(()) and expr.
16832 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16833   eval 'as_fn_arith ()
16834   {
16835     as_val=$(( $* ))
16836   }'
16837 else
16838   as_fn_arith ()
16839   {
16840     as_val=`expr "$@" || test $? -eq 1`
16841   }
16842 fi # as_fn_arith
16843
16844
16845 if expr a : '\(a\)' >/dev/null 2>&1 &&
16846    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16847   as_expr=expr
16848 else
16849   as_expr=false
16850 fi
16851
16852 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16853   as_basename=basename
16854 else
16855   as_basename=false
16856 fi
16857
16858 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16859   as_dirname=dirname
16860 else
16861   as_dirname=false
16862 fi
16863
16864 as_me=`$as_basename -- "$0" ||
16865 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16866          X"$0" : 'X\(//\)$' \| \
16867          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16868 $as_echo X/"$0" |
16869     sed '/^.*\/\([^/][^/]*\)\/*$/{
16870             s//\1/
16871             q
16872           }
16873           /^X\/\(\/\/\)$/{
16874             s//\1/
16875             q
16876           }
16877           /^X\/\(\/\).*/{
16878             s//\1/
16879             q
16880           }
16881           s/.*/./; q'`
16882
16883 # Avoid depending upon Character Ranges.
16884 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16885 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16886 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16887 as_cr_digits='0123456789'
16888 as_cr_alnum=$as_cr_Letters$as_cr_digits
16889
16890 ECHO_C= ECHO_N= ECHO_T=
16891 case `echo -n x` in #(((((
16892 -n*)
16893   case `echo 'xy\c'` in
16894   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16895   xy)  ECHO_C='\c';;
16896   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16897        ECHO_T=' ';;
16898   esac;;
16899 *)
16900   ECHO_N='-n';;
16901 esac
16902
16903 rm -f conf$$ conf$$.exe conf$$.file
16904 if test -d conf$$.dir; then
16905   rm -f conf$$.dir/conf$$.file
16906 else
16907   rm -f conf$$.dir
16908   mkdir conf$$.dir 2>/dev/null
16909 fi
16910 if (echo >conf$$.file) 2>/dev/null; then
16911   if ln -s conf$$.file conf$$ 2>/dev/null; then
16912     as_ln_s='ln -s'
16913     # ... but there are two gotchas:
16914     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16915     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16916     # In both cases, we have to default to `cp -p'.
16917     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16918       as_ln_s='cp -p'
16919   elif ln conf$$.file conf$$ 2>/dev/null; then
16920     as_ln_s=ln
16921   else
16922     as_ln_s='cp -p'
16923   fi
16924 else
16925   as_ln_s='cp -p'
16926 fi
16927 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16928 rmdir conf$$.dir 2>/dev/null
16929
16930
16931 # as_fn_mkdir_p
16932 # -------------
16933 # Create "$as_dir" as a directory, including parents if necessary.
16934 as_fn_mkdir_p ()
16935 {
16936
16937   case $as_dir in #(
16938   -*) as_dir=./$as_dir;;
16939   esac
16940   test -d "$as_dir" || eval $as_mkdir_p || {
16941     as_dirs=
16942     while :; do
16943       case $as_dir in #(
16944       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16945       *) as_qdir=$as_dir;;
16946       esac
16947       as_dirs="'$as_qdir' $as_dirs"
16948       as_dir=`$as_dirname -- "$as_dir" ||
16949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16950          X"$as_dir" : 'X\(//\)[^/]' \| \
16951          X"$as_dir" : 'X\(//\)$' \| \
16952          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16953 $as_echo X"$as_dir" |
16954     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16955             s//\1/
16956             q
16957           }
16958           /^X\(\/\/\)[^/].*/{
16959             s//\1/
16960             q
16961           }
16962           /^X\(\/\/\)$/{
16963             s//\1/
16964             q
16965           }
16966           /^X\(\/\).*/{
16967             s//\1/
16968             q
16969           }
16970           s/.*/./; q'`
16971       test -d "$as_dir" && break
16972     done
16973     test -z "$as_dirs" || eval "mkdir $as_dirs"
16974   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16975
16976
16977 } # as_fn_mkdir_p
16978 if mkdir -p . 2>/dev/null; then
16979   as_mkdir_p='mkdir -p "$as_dir"'
16980 else
16981   test -d ./-p && rmdir ./-p
16982   as_mkdir_p=false
16983 fi
16984
16985 if test -x / >/dev/null 2>&1; then
16986   as_test_x='test -x'
16987 else
16988   if ls -dL / >/dev/null 2>&1; then
16989     as_ls_L_option=L
16990   else
16991     as_ls_L_option=
16992   fi
16993   as_test_x='
16994     eval sh -c '\''
16995       if test -d "$1"; then
16996         test -d "$1/.";
16997       else
16998         case $1 in #(
16999         -*)set "./$1";;
17000         esac;
17001         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17002         ???[sx]*):;;*)false;;esac;fi
17003     '\'' sh
17004   '
17005 fi
17006 as_executable_p=$as_test_x
17007
17008 # Sed expression to map a string onto a valid CPP name.
17009 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17010
17011 # Sed expression to map a string onto a valid variable name.
17012 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17013
17014
17015 exec 6>&1
17016 ## ----------------------------------- ##
17017 ## Main body of $CONFIG_STATUS script. ##
17018 ## ----------------------------------- ##
17019 _ASEOF
17020 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17021
17022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17023 # Save the log message, to keep $0 and so on meaningful, and to
17024 # report actual input values of CONFIG_FILES etc. instead of their
17025 # values after options handling.
17026 ac_log="
17027 This file was extended by GStreamer FFMpeg $as_me 0.10.11, which was
17028 generated by GNU Autoconf 2.67.  Invocation command line was
17029
17030   CONFIG_FILES    = $CONFIG_FILES
17031   CONFIG_HEADERS  = $CONFIG_HEADERS
17032   CONFIG_LINKS    = $CONFIG_LINKS
17033   CONFIG_COMMANDS = $CONFIG_COMMANDS
17034   $ $0 $@
17035
17036 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17037 "
17038
17039 _ACEOF
17040
17041 case $ac_config_files in *"
17042 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17043 esac
17044
17045 case $ac_config_headers in *"
17046 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17047 esac
17048
17049
17050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17051 # Files that config.status was made for.
17052 config_files="$ac_config_files"
17053 config_headers="$ac_config_headers"
17054 config_commands="$ac_config_commands"
17055
17056 _ACEOF
17057
17058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17059 ac_cs_usage="\
17060 \`$as_me' instantiates files and other configuration actions
17061 from templates according to the current configuration.  Unless the files
17062 and actions are specified as TAGs, all are instantiated by default.
17063
17064 Usage: $0 [OPTION]... [TAG]...
17065
17066   -h, --help       print this help, then exit
17067   -V, --version    print version number and configuration settings, then exit
17068       --config     print configuration, then exit
17069   -q, --quiet, --silent
17070                    do not print progress messages
17071   -d, --debug      don't remove temporary files
17072       --recheck    update $as_me by reconfiguring in the same conditions
17073       --file=FILE[:TEMPLATE]
17074                    instantiate the configuration file FILE
17075       --header=FILE[:TEMPLATE]
17076                    instantiate the configuration header FILE
17077
17078 Configuration files:
17079 $config_files
17080
17081 Configuration headers:
17082 $config_headers
17083
17084 Configuration commands:
17085 $config_commands
17086
17087 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
17088
17089 _ACEOF
17090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17091 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17092 ac_cs_version="\\
17093 GStreamer FFMpeg config.status 0.10.11
17094 configured by $0, generated by GNU Autoconf 2.67,
17095   with options \\"\$ac_cs_config\\"
17096
17097 Copyright (C) 2010 Free Software Foundation, Inc.
17098 This config.status script is free software; the Free Software Foundation
17099 gives unlimited permission to copy, distribute and modify it."
17100
17101 ac_pwd='$ac_pwd'
17102 srcdir='$srcdir'
17103 INSTALL='$INSTALL'
17104 MKDIR_P='$MKDIR_P'
17105 AWK='$AWK'
17106 test -n "\$AWK" || AWK=awk
17107 _ACEOF
17108
17109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17110 # The default lists apply if the user does not specify any file.
17111 ac_need_defaults=:
17112 while test $# != 0
17113 do
17114   case $1 in
17115   --*=?*)
17116     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17117     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17118     ac_shift=:
17119     ;;
17120   --*=)
17121     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17122     ac_optarg=
17123     ac_shift=:
17124     ;;
17125   *)
17126     ac_option=$1
17127     ac_optarg=$2
17128     ac_shift=shift
17129     ;;
17130   esac
17131
17132   case $ac_option in
17133   # Handling of the options.
17134   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17135     ac_cs_recheck=: ;;
17136   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17137     $as_echo "$ac_cs_version"; exit ;;
17138   --config | --confi | --conf | --con | --co | --c )
17139     $as_echo "$ac_cs_config"; exit ;;
17140   --debug | --debu | --deb | --de | --d | -d )
17141     debug=: ;;
17142   --file | --fil | --fi | --f )
17143     $ac_shift
17144     case $ac_optarg in
17145     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17146     '') as_fn_error $? "missing file argument" ;;
17147     esac
17148     as_fn_append CONFIG_FILES " '$ac_optarg'"
17149     ac_need_defaults=false;;
17150   --header | --heade | --head | --hea )
17151     $ac_shift
17152     case $ac_optarg in
17153     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17154     esac
17155     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17156     ac_need_defaults=false;;
17157   --he | --h)
17158     # Conflict between --help and --header
17159     as_fn_error $? "ambiguous option: \`$1'
17160 Try \`$0 --help' for more information.";;
17161   --help | --hel | -h )
17162     $as_echo "$ac_cs_usage"; exit ;;
17163   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17164   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17165     ac_cs_silent=: ;;
17166
17167   # This is an error.
17168   -*) as_fn_error $? "unrecognized option: \`$1'
17169 Try \`$0 --help' for more information." ;;
17170
17171   *) as_fn_append ac_config_targets " $1"
17172      ac_need_defaults=false ;;
17173
17174   esac
17175   shift
17176 done
17177
17178 ac_configure_extra_args=
17179
17180 if $ac_cs_silent; then
17181   exec 6>/dev/null
17182   ac_configure_extra_args="$ac_configure_extra_args --silent"
17183 fi
17184
17185 _ACEOF
17186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17187 if \$ac_cs_recheck; then
17188   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17189   shift
17190   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17191   CONFIG_SHELL='$SHELL'
17192   export CONFIG_SHELL
17193   exec "\$@"
17194 fi
17195
17196 _ACEOF
17197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17198 exec 5>>config.log
17199 {
17200   echo
17201   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17202 ## Running $as_me. ##
17203 _ASBOX
17204   $as_echo "$ac_log"
17205 } >&5
17206
17207 _ACEOF
17208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17209 #
17210 # INIT-COMMANDS
17211 #
17212 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17213
17214
17215 # The HP-UX ksh and POSIX shell print the target directory to stdout
17216 # if CDPATH is set.
17217 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17218
17219 sed_quote_subst='$sed_quote_subst'
17220 double_quote_subst='$double_quote_subst'
17221 delay_variable_subst='$delay_variable_subst'
17222 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
17223 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17224 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17225 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17226 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17227 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17228 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17229 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17230 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17231 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17232 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17233 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17234 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17235 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17236 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17237 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17238 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17239 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17240 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17241 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17242 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17243 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17244 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17245 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17246 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17247 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17248 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17249 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17250 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17251 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17252 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17253 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17254 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17255 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17256 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17257 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17258 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17259 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17260 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17261 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17262 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17263 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17264 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17265 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17266 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17267 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17268 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17269 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17270 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17271 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17272 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17273 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17274 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17275 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17276 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17277 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17278 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17279 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17280 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17281 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17282 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17283 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17284 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17285 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17286 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17287 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17288 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17289 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17290 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17291 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17292 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17293 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17294 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17295 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17296 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17297 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17298 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17299 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17300 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17301 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17302 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17303 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17304 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17305 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17306 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17307 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17308 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17309 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17310 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17311 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17312 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17313 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17314 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17315 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17316 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17317 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17318 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17319 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17320 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17321 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17322 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17323 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17324 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17325 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17326 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17327 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17328 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17329 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17330 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17331 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17332 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17333 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17334 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17335 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17336 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17337 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17338 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17339 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17340 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17341 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17342
17343 LTCC='$LTCC'
17344 LTCFLAGS='$LTCFLAGS'
17345 compiler='$compiler_DEFAULT'
17346
17347 # Quote evaled strings.
17348 for var in SED \
17349 GREP \
17350 EGREP \
17351 FGREP \
17352 LD \
17353 NM \
17354 LN_S \
17355 lt_SP2NL \
17356 lt_NL2SP \
17357 reload_flag \
17358 deplibs_check_method \
17359 file_magic_cmd \
17360 AR \
17361 AR_FLAGS \
17362 STRIP \
17363 RANLIB \
17364 CC \
17365 CFLAGS \
17366 compiler \
17367 lt_cv_sys_global_symbol_pipe \
17368 lt_cv_sys_global_symbol_to_cdecl \
17369 lt_cv_sys_global_symbol_to_c_name_address \
17370 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17371 SHELL \
17372 ECHO \
17373 lt_prog_compiler_no_builtin_flag \
17374 lt_prog_compiler_wl \
17375 lt_prog_compiler_pic \
17376 lt_prog_compiler_static \
17377 lt_cv_prog_compiler_c_o \
17378 need_locks \
17379 DSYMUTIL \
17380 NMEDIT \
17381 LIPO \
17382 OTOOL \
17383 OTOOL64 \
17384 shrext_cmds \
17385 export_dynamic_flag_spec \
17386 whole_archive_flag_spec \
17387 compiler_needs_object \
17388 with_gnu_ld \
17389 allow_undefined_flag \
17390 no_undefined_flag \
17391 hardcode_libdir_flag_spec \
17392 hardcode_libdir_flag_spec_ld \
17393 hardcode_libdir_separator \
17394 fix_srcfile_path \
17395 exclude_expsyms \
17396 include_expsyms \
17397 file_list_spec \
17398 variables_saved_for_relink \
17399 libname_spec \
17400 library_names_spec \
17401 soname_spec \
17402 finish_eval \
17403 old_striplib \
17404 striplib; do
17405     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17406     *[\\\\\\\`\\"\\\$]*)
17407       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17408       ;;
17409     *)
17410       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17411       ;;
17412     esac
17413 done
17414
17415 # Double-quote double-evaled strings.
17416 for var in reload_cmds \
17417 old_postinstall_cmds \
17418 old_postuninstall_cmds \
17419 old_archive_cmds \
17420 extract_expsyms_cmds \
17421 old_archive_from_new_cmds \
17422 old_archive_from_expsyms_cmds \
17423 archive_cmds \
17424 archive_expsym_cmds \
17425 module_cmds \
17426 module_expsym_cmds \
17427 export_symbols_cmds \
17428 prelink_cmds \
17429 postinstall_cmds \
17430 postuninstall_cmds \
17431 finish_cmds \
17432 sys_lib_search_path_spec \
17433 sys_lib_dlsearch_path_spec; do
17434     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17435     *[\\\\\\\`\\"\\\$]*)
17436       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17437       ;;
17438     *)
17439       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17440       ;;
17441     esac
17442 done
17443
17444 # Fix-up fallback echo if it was mangled by the above quoting rules.
17445 case \$lt_ECHO in
17446 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17447   ;;
17448 esac
17449
17450 ac_aux_dir='$ac_aux_dir'
17451 xsi_shell='$xsi_shell'
17452 lt_shell_append='$lt_shell_append'
17453
17454 # See if we are running on zsh, and set the options which allow our
17455 # commands through without removal of \ escapes INIT.
17456 if test -n "\${ZSH_VERSION+set}" ; then
17457    setopt NO_GLOB_SUBST
17458 fi
17459
17460
17461     PACKAGE='$PACKAGE'
17462     VERSION='$VERSION'
17463     TIMESTAMP='$TIMESTAMP'
17464     RM='$RM'
17465     ofile='$ofile'
17466
17467
17468
17469 embffmpeg_configure_args="$embffmpeg_configure_args"
17470
17471 _ACEOF
17472
17473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17474
17475 # Handling of arguments.
17476 for ac_config_target in $ac_config_targets
17477 do
17478   case $ac_config_target in
17479     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17480     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17481     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17482     "configure-embedded-ffmpeg") CONFIG_COMMANDS="$CONFIG_COMMANDS configure-embedded-ffmpeg" ;;
17483     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17484     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
17485     "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
17486     "gst-ffmpeg.spec") CONFIG_FILES="$CONFIG_FILES gst-ffmpeg.spec" ;;
17487     "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
17488     "ext/ffmpeg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ffmpeg/Makefile" ;;
17489     "ext/libpostproc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libpostproc/Makefile" ;;
17490     "ext/libswscale/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libswscale/Makefile" ;;
17491     "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
17492     "gst-libs/ext/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/ext/Makefile" ;;
17493     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17494     "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
17495     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17496     "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
17497     "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
17498
17499   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17500   esac
17501 done
17502
17503
17504 # If the user did not use the arguments to specify the items to instantiate,
17505 # then the envvar interface is used.  Set only those that are not.
17506 # We use the long form for the default assignment because of an extremely
17507 # bizarre bug on SunOS 4.1.3.
17508 if $ac_need_defaults; then
17509   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17510   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17511   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17512 fi
17513
17514 # Have a temporary directory for convenience.  Make it in the build tree
17515 # simply because there is no reason against having it here, and in addition,
17516 # creating and moving files from /tmp can sometimes cause problems.
17517 # Hook for its removal unless debugging.
17518 # Note that there is a small window in which the directory will not be cleaned:
17519 # after its creation but before its name has been assigned to `$tmp'.
17520 $debug ||
17521 {
17522   tmp=
17523   trap 'exit_status=$?
17524   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17525 ' 0
17526   trap 'as_fn_exit 1' 1 2 13 15
17527 }
17528 # Create a (secure) tmp directory for tmp files.
17529
17530 {
17531   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17532   test -n "$tmp" && test -d "$tmp"
17533 }  ||
17534 {
17535   tmp=./conf$$-$RANDOM
17536   (umask 077 && mkdir "$tmp")
17537 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17538
17539 # Set up the scripts for CONFIG_FILES section.
17540 # No need to generate them if there are no CONFIG_FILES.
17541 # This happens for instance with `./config.status config.h'.
17542 if test -n "$CONFIG_FILES"; then
17543
17544
17545 ac_cr=`echo X | tr X '\015'`
17546 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17547 # But we know of no other shell where ac_cr would be empty at this
17548 # point, so we can use a bashism as a fallback.
17549 if test "x$ac_cr" = x; then
17550   eval ac_cr=\$\'\\r\'
17551 fi
17552 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17553 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17554   ac_cs_awk_cr='\\r'
17555 else
17556   ac_cs_awk_cr=$ac_cr
17557 fi
17558
17559 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17560 _ACEOF
17561
17562
17563 {
17564   echo "cat >conf$$subs.awk <<_ACEOF" &&
17565   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17566   echo "_ACEOF"
17567 } >conf$$subs.sh ||
17568   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17569 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17570 ac_delim='%!_!# '
17571 for ac_last_try in false false false false false :; do
17572   . ./conf$$subs.sh ||
17573     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17574
17575   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17576   if test $ac_delim_n = $ac_delim_num; then
17577     break
17578   elif $ac_last_try; then
17579     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17580   else
17581     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17582   fi
17583 done
17584 rm -f conf$$subs.sh
17585
17586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17587 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17588 _ACEOF
17589 sed -n '
17590 h
17591 s/^/S["/; s/!.*/"]=/
17592 p
17593 g
17594 s/^[^!]*!//
17595 :repl
17596 t repl
17597 s/'"$ac_delim"'$//
17598 t delim
17599 :nl
17600 h
17601 s/\(.\{148\}\)..*/\1/
17602 t more1
17603 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17604 p
17605 n
17606 b repl
17607 :more1
17608 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17609 p
17610 g
17611 s/.\{148\}//
17612 t nl
17613 :delim
17614 h
17615 s/\(.\{148\}\)..*/\1/
17616 t more2
17617 s/["\\]/\\&/g; s/^/"/; s/$/"/
17618 p
17619 b
17620 :more2
17621 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17622 p
17623 g
17624 s/.\{148\}//
17625 t delim
17626 ' <conf$$subs.awk | sed '
17627 /^[^""]/{
17628   N
17629   s/\n//
17630 }
17631 ' >>$CONFIG_STATUS || ac_write_fail=1
17632 rm -f conf$$subs.awk
17633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17634 _ACAWK
17635 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17636   for (key in S) S_is_set[key] = 1
17637   FS = "\a"
17638
17639 }
17640 {
17641   line = $ 0
17642   nfields = split(line, field, "@")
17643   substed = 0
17644   len = length(field[1])
17645   for (i = 2; i < nfields; i++) {
17646     key = field[i]
17647     keylen = length(key)
17648     if (S_is_set[key]) {
17649       value = S[key]
17650       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17651       len += length(value) + length(field[++i])
17652       substed = 1
17653     } else
17654       len += 1 + keylen
17655   }
17656
17657   print line
17658 }
17659
17660 _ACAWK
17661 _ACEOF
17662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17663 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17664   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17665 else
17666   cat
17667 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17668   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17669 _ACEOF
17670
17671 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17672 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17673 # trailing colons and then remove the whole line if VPATH becomes empty
17674 # (actually we leave an empty line to preserve line numbers).
17675 if test "x$srcdir" = x.; then
17676   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17677 h
17678 s///
17679 s/^/:/
17680 s/[      ]*$/:/
17681 s/:\$(srcdir):/:/g
17682 s/:\${srcdir}:/:/g
17683 s/:@srcdir@:/:/g
17684 s/^:*//
17685 s/:*$//
17686 x
17687 s/\(=[   ]*\).*/\1/
17688 G
17689 s/\n//
17690 s/^[^=]*=[       ]*$//
17691 }'
17692 fi
17693
17694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17695 fi # test -n "$CONFIG_FILES"
17696
17697 # Set up the scripts for CONFIG_HEADERS section.
17698 # No need to generate them if there are no CONFIG_HEADERS.
17699 # This happens for instance with `./config.status Makefile'.
17700 if test -n "$CONFIG_HEADERS"; then
17701 cat >"$tmp/defines.awk" <<\_ACAWK ||
17702 BEGIN {
17703 _ACEOF
17704
17705 # Transform confdefs.h into an awk script `defines.awk', embedded as
17706 # here-document in config.status, that substitutes the proper values into
17707 # config.h.in to produce config.h.
17708
17709 # Create a delimiter string that does not exist in confdefs.h, to ease
17710 # handling of long lines.
17711 ac_delim='%!_!# '
17712 for ac_last_try in false false :; do
17713   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17714   if test -z "$ac_t"; then
17715     break
17716   elif $ac_last_try; then
17717     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17718   else
17719     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17720   fi
17721 done
17722
17723 # For the awk script, D is an array of macro values keyed by name,
17724 # likewise P contains macro parameters if any.  Preserve backslash
17725 # newline sequences.
17726
17727 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17728 sed -n '
17729 s/.\{148\}/&'"$ac_delim"'/g
17730 t rset
17731 :rset
17732 s/^[     ]*#[    ]*define[       ][      ]*/ /
17733 t def
17734 d
17735 :def
17736 s/\\$//
17737 t bsnl
17738 s/["\\]/\\&/g
17739 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17740 D["\1"]=" \3"/p
17741 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17742 d
17743 :bsnl
17744 s/["\\]/\\&/g
17745 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17746 D["\1"]=" \3\\\\\\n"\\/p
17747 t cont
17748 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17749 t cont
17750 d
17751 :cont
17752 n
17753 s/.\{148\}/&'"$ac_delim"'/g
17754 t clear
17755 :clear
17756 s/\\$//
17757 t bsnlc
17758 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17759 d
17760 :bsnlc
17761 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17762 b cont
17763 ' <confdefs.h | sed '
17764 s/'"$ac_delim"'/"\\\
17765 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17766
17767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17768   for (key in D) D_is_set[key] = 1
17769   FS = "\a"
17770 }
17771 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17772   line = \$ 0
17773   split(line, arg, " ")
17774   if (arg[1] == "#") {
17775     defundef = arg[2]
17776     mac1 = arg[3]
17777   } else {
17778     defundef = substr(arg[1], 2)
17779     mac1 = arg[2]
17780   }
17781   split(mac1, mac2, "(") #)
17782   macro = mac2[1]
17783   prefix = substr(line, 1, index(line, defundef) - 1)
17784   if (D_is_set[macro]) {
17785     # Preserve the white space surrounding the "#".
17786     print prefix "define", macro P[macro] D[macro]
17787     next
17788   } else {
17789     # Replace #undef with comments.  This is necessary, for example,
17790     # in the case of _POSIX_SOURCE, which is predefined and required
17791     # on some systems where configure will not decide to define it.
17792     if (defundef == "undef") {
17793       print "/*", prefix defundef, macro, "*/"
17794       next
17795     }
17796   }
17797 }
17798 { print }
17799 _ACAWK
17800 _ACEOF
17801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17802   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17803 fi # test -n "$CONFIG_HEADERS"
17804
17805
17806 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17807 shift
17808 for ac_tag
17809 do
17810   case $ac_tag in
17811   :[FHLC]) ac_mode=$ac_tag; continue;;
17812   esac
17813   case $ac_mode$ac_tag in
17814   :[FHL]*:*);;
17815   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17816   :[FH]-) ac_tag=-:-;;
17817   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17818   esac
17819   ac_save_IFS=$IFS
17820   IFS=:
17821   set x $ac_tag
17822   IFS=$ac_save_IFS
17823   shift
17824   ac_file=$1
17825   shift
17826
17827   case $ac_mode in
17828   :L) ac_source=$1;;
17829   :[FH])
17830     ac_file_inputs=
17831     for ac_f
17832     do
17833       case $ac_f in
17834       -) ac_f="$tmp/stdin";;
17835       *) # Look for the file first in the build tree, then in the source tree
17836          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17837          # because $ac_f cannot contain `:'.
17838          test -f "$ac_f" ||
17839            case $ac_f in
17840            [\\/$]*) false;;
17841            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17842            esac ||
17843            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17844       esac
17845       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17846       as_fn_append ac_file_inputs " '$ac_f'"
17847     done
17848
17849     # Let's still pretend it is `configure' which instantiates (i.e., don't
17850     # use $as_me), people would be surprised to read:
17851     #    /* config.h.  Generated by config.status.  */
17852     configure_input='Generated from '`
17853           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17854         `' by configure.'
17855     if test x"$ac_file" != x-; then
17856       configure_input="$ac_file.  $configure_input"
17857       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17858 $as_echo "$as_me: creating $ac_file" >&6;}
17859     fi
17860     # Neutralize special characters interpreted by sed in replacement strings.
17861     case $configure_input in #(
17862     *\&* | *\|* | *\\* )
17863        ac_sed_conf_input=`$as_echo "$configure_input" |
17864        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17865     *) ac_sed_conf_input=$configure_input;;
17866     esac
17867
17868     case $ac_tag in
17869     *:-:* | *:-) cat >"$tmp/stdin" \
17870       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
17871     esac
17872     ;;
17873   esac
17874
17875   ac_dir=`$as_dirname -- "$ac_file" ||
17876 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17877          X"$ac_file" : 'X\(//\)[^/]' \| \
17878          X"$ac_file" : 'X\(//\)$' \| \
17879          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17880 $as_echo X"$ac_file" |
17881     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17882             s//\1/
17883             q
17884           }
17885           /^X\(\/\/\)[^/].*/{
17886             s//\1/
17887             q
17888           }
17889           /^X\(\/\/\)$/{
17890             s//\1/
17891             q
17892           }
17893           /^X\(\/\).*/{
17894             s//\1/
17895             q
17896           }
17897           s/.*/./; q'`
17898   as_dir="$ac_dir"; as_fn_mkdir_p
17899   ac_builddir=.
17900
17901 case "$ac_dir" in
17902 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17903 *)
17904   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17905   # A ".." for each directory in $ac_dir_suffix.
17906   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17907   case $ac_top_builddir_sub in
17908   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17909   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17910   esac ;;
17911 esac
17912 ac_abs_top_builddir=$ac_pwd
17913 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17914 # for backward compatibility:
17915 ac_top_builddir=$ac_top_build_prefix
17916
17917 case $srcdir in
17918   .)  # We are building in place.
17919     ac_srcdir=.
17920     ac_top_srcdir=$ac_top_builddir_sub
17921     ac_abs_top_srcdir=$ac_pwd ;;
17922   [\\/]* | ?:[\\/]* )  # Absolute name.
17923     ac_srcdir=$srcdir$ac_dir_suffix;
17924     ac_top_srcdir=$srcdir
17925     ac_abs_top_srcdir=$srcdir ;;
17926   *) # Relative name.
17927     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17928     ac_top_srcdir=$ac_top_build_prefix$srcdir
17929     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17930 esac
17931 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17932
17933
17934   case $ac_mode in
17935   :F)
17936   #
17937   # CONFIG_FILE
17938   #
17939
17940   case $INSTALL in
17941   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17942   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17943   esac
17944   ac_MKDIR_P=$MKDIR_P
17945   case $MKDIR_P in
17946   [\\/$]* | ?:[\\/]* ) ;;
17947   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17948   esac
17949 _ACEOF
17950
17951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17952 # If the template does not know about datarootdir, expand it.
17953 # FIXME: This hack should be removed a few years after 2.60.
17954 ac_datarootdir_hack=; ac_datarootdir_seen=
17955 ac_sed_dataroot='
17956 /datarootdir/ {
17957   p
17958   q
17959 }
17960 /@datadir@/p
17961 /@docdir@/p
17962 /@infodir@/p
17963 /@localedir@/p
17964 /@mandir@/p'
17965 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17966 *datarootdir*) ac_datarootdir_seen=yes;;
17967 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17968   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17969 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17970 _ACEOF
17971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17972   ac_datarootdir_hack='
17973   s&@datadir@&$datadir&g
17974   s&@docdir@&$docdir&g
17975   s&@infodir@&$infodir&g
17976   s&@localedir@&$localedir&g
17977   s&@mandir@&$mandir&g
17978   s&\\\${datarootdir}&$datarootdir&g' ;;
17979 esac
17980 _ACEOF
17981
17982 # Neutralize VPATH when `$srcdir' = `.'.
17983 # Shell code in configure.ac might set extrasub.
17984 # FIXME: do we really want to maintain this feature?
17985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17986 ac_sed_extra="$ac_vpsub
17987 $extrasub
17988 _ACEOF
17989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17990 :t
17991 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17992 s|@configure_input@|$ac_sed_conf_input|;t t
17993 s&@top_builddir@&$ac_top_builddir_sub&;t t
17994 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17995 s&@srcdir@&$ac_srcdir&;t t
17996 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17997 s&@top_srcdir@&$ac_top_srcdir&;t t
17998 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17999 s&@builddir@&$ac_builddir&;t t
18000 s&@abs_builddir@&$ac_abs_builddir&;t t
18001 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18002 s&@INSTALL@&$ac_INSTALL&;t t
18003 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18004 $ac_datarootdir_hack
18005 "
18006 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18007   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18008
18009 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18010   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18011   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18012   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18013 which seems to be undefined.  Please make sure it is defined" >&5
18014 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18015 which seems to be undefined.  Please make sure it is defined" >&2;}
18016
18017   rm -f "$tmp/stdin"
18018   case $ac_file in
18019   -) cat "$tmp/out" && rm -f "$tmp/out";;
18020   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18021   esac \
18022   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18023  ;;
18024   :H)
18025   #
18026   # CONFIG_HEADER
18027   #
18028   if test x"$ac_file" != x-; then
18029     {
18030       $as_echo "/* $configure_input  */" \
18031       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18032     } >"$tmp/config.h" \
18033       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18034     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18035       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18036 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18037     else
18038       rm -f "$ac_file"
18039       mv "$tmp/config.h" "$ac_file" \
18040         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18041     fi
18042   else
18043     $as_echo "/* $configure_input  */" \
18044       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18045       || as_fn_error $? "could not create -" "$LINENO" 5
18046   fi
18047 # Compute "$ac_file"'s index in $config_headers.
18048 _am_arg="$ac_file"
18049 _am_stamp_count=1
18050 for _am_header in $config_headers :; do
18051   case $_am_header in
18052     $_am_arg | $_am_arg:* )
18053       break ;;
18054     * )
18055       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18056   esac
18057 done
18058 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18059 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18060          X"$_am_arg" : 'X\(//\)[^/]' \| \
18061          X"$_am_arg" : 'X\(//\)$' \| \
18062          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18063 $as_echo X"$_am_arg" |
18064     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18065             s//\1/
18066             q
18067           }
18068           /^X\(\/\/\)[^/].*/{
18069             s//\1/
18070             q
18071           }
18072           /^X\(\/\/\)$/{
18073             s//\1/
18074             q
18075           }
18076           /^X\(\/\).*/{
18077             s//\1/
18078             q
18079           }
18080           s/.*/./; q'`/stamp-h$_am_stamp_count
18081  ;;
18082
18083   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18084 $as_echo "$as_me: executing $ac_file commands" >&6;}
18085  ;;
18086   esac
18087
18088
18089   case $ac_file$ac_mode in
18090     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18091   # Autoconf 2.62 quotes --file arguments for eval, but not when files
18092   # are listed without --file.  Let's play safe and only enable the eval
18093   # if we detect the quoting.
18094   case $CONFIG_FILES in
18095   *\'*) eval set x "$CONFIG_FILES" ;;
18096   *)   set x $CONFIG_FILES ;;
18097   esac
18098   shift
18099   for mf
18100   do
18101     # Strip MF so we end up with the name of the file.
18102     mf=`echo "$mf" | sed -e 's/:.*$//'`
18103     # Check whether this is an Automake generated Makefile or not.
18104     # We used to match only the files named `Makefile.in', but
18105     # some people rename them; so instead we look at the file content.
18106     # Grep'ing the first line is not enough: some people post-process
18107     # each Makefile.in and add a new line on top of each file to say so.
18108     # Grep'ing the whole file is not good either: AIX grep has a line
18109     # limit of 2048, but all sed's we know have understand at least 4000.
18110     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18111       dirpart=`$as_dirname -- "$mf" ||
18112 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18113          X"$mf" : 'X\(//\)[^/]' \| \
18114          X"$mf" : 'X\(//\)$' \| \
18115          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18116 $as_echo X"$mf" |
18117     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18118             s//\1/
18119             q
18120           }
18121           /^X\(\/\/\)[^/].*/{
18122             s//\1/
18123             q
18124           }
18125           /^X\(\/\/\)$/{
18126             s//\1/
18127             q
18128           }
18129           /^X\(\/\).*/{
18130             s//\1/
18131             q
18132           }
18133           s/.*/./; q'`
18134     else
18135       continue
18136     fi
18137     # Extract the definition of DEPDIR, am__include, and am__quote
18138     # from the Makefile without running `make'.
18139     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18140     test -z "$DEPDIR" && continue
18141     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18142     test -z "am__include" && continue
18143     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18144     # When using ansi2knr, U may be empty or an underscore; expand it
18145     U=`sed -n 's/^U = //p' < "$mf"`
18146     # Find all dependency output files, they are included files with
18147     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18148     # simplest approach to changing $(DEPDIR) to its actual value in the
18149     # expansion.
18150     for file in `sed -n "
18151       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18152          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18153       # Make sure the directory exists.
18154       test -f "$dirpart/$file" && continue
18155       fdir=`$as_dirname -- "$file" ||
18156 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18157          X"$file" : 'X\(//\)[^/]' \| \
18158          X"$file" : 'X\(//\)$' \| \
18159          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18160 $as_echo X"$file" |
18161     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18162             s//\1/
18163             q
18164           }
18165           /^X\(\/\/\)[^/].*/{
18166             s//\1/
18167             q
18168           }
18169           /^X\(\/\/\)$/{
18170             s//\1/
18171             q
18172           }
18173           /^X\(\/\).*/{
18174             s//\1/
18175             q
18176           }
18177           s/.*/./; q'`
18178       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18179       # echo "creating $dirpart/$file"
18180       echo '# dummy' > "$dirpart/$file"
18181     done
18182   done
18183 }
18184  ;;
18185     "libtool":C)
18186
18187     # See if we are running on zsh, and set the options which allow our
18188     # commands through without removal of \ escapes.
18189     if test -n "${ZSH_VERSION+set}" ; then
18190       setopt NO_GLOB_SUBST
18191     fi
18192
18193     cfgfile="${ofile}T"
18194     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18195     $RM "$cfgfile"
18196
18197     cat <<_LT_EOF >> "$cfgfile"
18198 #! $SHELL
18199
18200 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18201 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18202 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18203 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18204 #
18205 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18206 #                 2006, 2007, 2008 Free Software Foundation, Inc.
18207 #   Written by Gordon Matzigkeit, 1996
18208 #
18209 #   This file is part of GNU Libtool.
18210 #
18211 # GNU Libtool is free software; you can redistribute it and/or
18212 # modify it under the terms of the GNU General Public License as
18213 # published by the Free Software Foundation; either version 2 of
18214 # the License, or (at your option) any later version.
18215 #
18216 # As a special exception to the GNU General Public License,
18217 # if you distribute this file as part of a program or library that
18218 # is built using GNU Libtool, you may include this file under the
18219 # same distribution terms that you use for the rest of that program.
18220 #
18221 # GNU Libtool is distributed in the hope that it will be useful,
18222 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18223 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18224 # GNU General Public License for more details.
18225 #
18226 # You should have received a copy of the GNU General Public License
18227 # along with GNU Libtool; see the file COPYING.  If not, a copy
18228 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18229 # obtained by writing to the Free Software Foundation, Inc.,
18230 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18231
18232
18233 # The names of the tagged configurations supported by this script.
18234 available_tags=""
18235
18236 # ### BEGIN LIBTOOL CONFIG
18237
18238 # Assembler program.
18239 AS=$AS
18240
18241 # DLL creation program.
18242 DLLTOOL=$DLLTOOL
18243
18244 # Object dumper program.
18245 OBJDUMP=$OBJDUMP
18246
18247 # Which release of libtool.m4 was used?
18248 macro_version=$macro_version
18249 macro_revision=$macro_revision
18250
18251 # Whether or not to build shared libraries.
18252 build_libtool_libs=$enable_shared
18253
18254 # Whether or not to build static libraries.
18255 build_old_libs=$enable_static
18256
18257 # What type of objects to build.
18258 pic_mode=$pic_mode
18259
18260 # Whether or not to optimize for fast installation.
18261 fast_install=$enable_fast_install
18262
18263 # The host system.
18264 host_alias=$host_alias
18265 host=$host
18266 host_os=$host_os
18267
18268 # The build system.
18269 build_alias=$build_alias
18270 build=$build
18271 build_os=$build_os
18272
18273 # A sed program that does not truncate output.
18274 SED=$lt_SED
18275
18276 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18277 Xsed="\$SED -e 1s/^X//"
18278
18279 # A grep program that handles long lines.
18280 GREP=$lt_GREP
18281
18282 # An ERE matcher.
18283 EGREP=$lt_EGREP
18284
18285 # A literal string matcher.
18286 FGREP=$lt_FGREP
18287
18288 # A BSD- or MS-compatible name lister.
18289 NM=$lt_NM
18290
18291 # Whether we need soft or hard links.
18292 LN_S=$lt_LN_S
18293
18294 # What is the maximum length of a command?
18295 max_cmd_len=$max_cmd_len
18296
18297 # Object file suffix (normally "o").
18298 objext=$ac_objext
18299
18300 # Executable file suffix (normally "").
18301 exeext=$exeext
18302
18303 # whether the shell understands "unset".
18304 lt_unset=$lt_unset
18305
18306 # turn spaces into newlines.
18307 SP2NL=$lt_lt_SP2NL
18308
18309 # turn newlines into spaces.
18310 NL2SP=$lt_lt_NL2SP
18311
18312 # How to create reloadable object files.
18313 reload_flag=$lt_reload_flag
18314 reload_cmds=$lt_reload_cmds
18315
18316 # Method to check whether dependent libraries are shared objects.
18317 deplibs_check_method=$lt_deplibs_check_method
18318
18319 # Command to use when deplibs_check_method == "file_magic".
18320 file_magic_cmd=$lt_file_magic_cmd
18321
18322 # The archiver.
18323 AR=$lt_AR
18324 AR_FLAGS=$lt_AR_FLAGS
18325
18326 # A symbol stripping program.
18327 STRIP=$lt_STRIP
18328
18329 # Commands used to install an old-style archive.
18330 RANLIB=$lt_RANLIB
18331 old_postinstall_cmds=$lt_old_postinstall_cmds
18332 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18333
18334 # A C compiler.
18335 LTCC=$lt_CC
18336
18337 # LTCC compiler flags.
18338 LTCFLAGS=$lt_CFLAGS
18339
18340 # Take the output of nm and produce a listing of raw symbols and C names.
18341 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18342
18343 # Transform the output of nm in a proper C declaration.
18344 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18345
18346 # Transform the output of nm in a C name address pair.
18347 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18348
18349 # Transform the output of nm in a C name address pair when lib prefix is needed.
18350 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18351
18352 # The name of the directory that contains temporary libtool files.
18353 objdir=$objdir
18354
18355 # Shell to use when invoking shell scripts.
18356 SHELL=$lt_SHELL
18357
18358 # An echo program that does not interpret backslashes.
18359 ECHO=$lt_ECHO
18360
18361 # Used to examine libraries when file_magic_cmd begins with "file".
18362 MAGIC_CMD=$MAGIC_CMD
18363
18364 # Must we lock files when doing compilation?
18365 need_locks=$lt_need_locks
18366
18367 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18368 DSYMUTIL=$lt_DSYMUTIL
18369
18370 # Tool to change global to local symbols on Mac OS X.
18371 NMEDIT=$lt_NMEDIT
18372
18373 # Tool to manipulate fat objects and archives on Mac OS X.
18374 LIPO=$lt_LIPO
18375
18376 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18377 OTOOL=$lt_OTOOL
18378
18379 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18380 OTOOL64=$lt_OTOOL64
18381
18382 # Old archive suffix (normally "a").
18383 libext=$libext
18384
18385 # Shared library suffix (normally ".so").
18386 shrext_cmds=$lt_shrext_cmds
18387
18388 # The commands to extract the exported symbol list from a shared archive.
18389 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18390
18391 # Variables whose values should be saved in libtool wrapper scripts and
18392 # restored at link time.
18393 variables_saved_for_relink=$lt_variables_saved_for_relink
18394
18395 # Do we need the "lib" prefix for modules?
18396 need_lib_prefix=$need_lib_prefix
18397
18398 # Do we need a version for libraries?
18399 need_version=$need_version
18400
18401 # Library versioning type.
18402 version_type=$version_type
18403
18404 # Shared library runtime path variable.
18405 runpath_var=$runpath_var
18406
18407 # Shared library path variable.
18408 shlibpath_var=$shlibpath_var
18409
18410 # Is shlibpath searched before the hard-coded library search path?
18411 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18412
18413 # Format of library name prefix.
18414 libname_spec=$lt_libname_spec
18415
18416 # List of archive names.  First name is the real one, the rest are links.
18417 # The last name is the one that the linker finds with -lNAME
18418 library_names_spec=$lt_library_names_spec
18419
18420 # The coded name of the library, if different from the real name.
18421 soname_spec=$lt_soname_spec
18422
18423 # Command to use after installation of a shared archive.
18424 postinstall_cmds=$lt_postinstall_cmds
18425
18426 # Command to use after uninstallation of a shared archive.
18427 postuninstall_cmds=$lt_postuninstall_cmds
18428
18429 # Commands used to finish a libtool library installation in a directory.
18430 finish_cmds=$lt_finish_cmds
18431
18432 # As "finish_cmds", except a single script fragment to be evaled but
18433 # not shown.
18434 finish_eval=$lt_finish_eval
18435
18436 # Whether we should hardcode library paths into libraries.
18437 hardcode_into_libs=$hardcode_into_libs
18438
18439 # Compile-time system search path for libraries.
18440 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18441
18442 # Run-time system search path for libraries.
18443 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18444
18445 # Whether dlopen is supported.
18446 dlopen_support=$enable_dlopen
18447
18448 # Whether dlopen of programs is supported.
18449 dlopen_self=$enable_dlopen_self
18450
18451 # Whether dlopen of statically linked programs is supported.
18452 dlopen_self_static=$enable_dlopen_self_static
18453
18454 # Commands to strip libraries.
18455 old_striplib=$lt_old_striplib
18456 striplib=$lt_striplib
18457
18458
18459 # The linker used to build libraries.
18460 LD=$lt_LD
18461
18462 # Commands used to build an old-style archive.
18463 old_archive_cmds=$lt_old_archive_cmds
18464
18465 # A language specific compiler.
18466 CC=$lt_compiler
18467
18468 # Is the compiler the GNU compiler?
18469 with_gcc=$GCC
18470
18471 # Compiler flag to turn off builtin functions.
18472 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18473
18474 # How to pass a linker flag through the compiler.
18475 wl=$lt_lt_prog_compiler_wl
18476
18477 # Additional compiler flags for building library objects.
18478 pic_flag=$lt_lt_prog_compiler_pic
18479
18480 # Compiler flag to prevent dynamic linking.
18481 link_static_flag=$lt_lt_prog_compiler_static
18482
18483 # Does compiler simultaneously support -c and -o options?
18484 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18485
18486 # Whether or not to add -lc for building shared libraries.
18487 build_libtool_need_lc=$archive_cmds_need_lc
18488
18489 # Whether or not to disallow shared libs when runtime libs are static.
18490 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18491
18492 # Compiler flag to allow reflexive dlopens.
18493 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18494
18495 # Compiler flag to generate shared objects directly from archives.
18496 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18497
18498 # Whether the compiler copes with passing no objects directly.
18499 compiler_needs_object=$lt_compiler_needs_object
18500
18501 # Create an old-style archive from a shared archive.
18502 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18503
18504 # Create a temporary old-style archive to link instead of a shared archive.
18505 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18506
18507 # Commands used to build a shared archive.
18508 archive_cmds=$lt_archive_cmds
18509 archive_expsym_cmds=$lt_archive_expsym_cmds
18510
18511 # Commands used to build a loadable module if different from building
18512 # a shared archive.
18513 module_cmds=$lt_module_cmds
18514 module_expsym_cmds=$lt_module_expsym_cmds
18515
18516 # Whether we are building with GNU ld or not.
18517 with_gnu_ld=$lt_with_gnu_ld
18518
18519 # Flag that allows shared libraries with undefined symbols to be built.
18520 allow_undefined_flag=$lt_allow_undefined_flag
18521
18522 # Flag that enforces no undefined symbols.
18523 no_undefined_flag=$lt_no_undefined_flag
18524
18525 # Flag to hardcode \$libdir into a binary during linking.
18526 # This must work even if \$libdir does not exist
18527 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18528
18529 # If ld is used when linking, flag to hardcode \$libdir into a binary
18530 # during linking.  This must work even if \$libdir does not exist.
18531 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18532
18533 # Whether we need a single "-rpath" flag with a separated argument.
18534 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18535
18536 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18537 # DIR into the resulting binary.
18538 hardcode_direct=$hardcode_direct
18539
18540 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18541 # DIR into the resulting binary and the resulting library dependency is
18542 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18543 # library is relocated.
18544 hardcode_direct_absolute=$hardcode_direct_absolute
18545
18546 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18547 # into the resulting binary.
18548 hardcode_minus_L=$hardcode_minus_L
18549
18550 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18551 # into the resulting binary.
18552 hardcode_shlibpath_var=$hardcode_shlibpath_var
18553
18554 # Set to "yes" if building a shared library automatically hardcodes DIR
18555 # into the library and all subsequent libraries and executables linked
18556 # against it.
18557 hardcode_automatic=$hardcode_automatic
18558
18559 # Set to yes if linker adds runtime paths of dependent libraries
18560 # to runtime path list.
18561 inherit_rpath=$inherit_rpath
18562
18563 # Whether libtool must link a program against all its dependency libraries.
18564 link_all_deplibs=$link_all_deplibs
18565
18566 # Fix the shell variable \$srcfile for the compiler.
18567 fix_srcfile_path=$lt_fix_srcfile_path
18568
18569 # Set to "yes" if exported symbols are required.
18570 always_export_symbols=$always_export_symbols
18571
18572 # The commands to list exported symbols.
18573 export_symbols_cmds=$lt_export_symbols_cmds
18574
18575 # Symbols that should not be listed in the preloaded symbols.
18576 exclude_expsyms=$lt_exclude_expsyms
18577
18578 # Symbols that must always be exported.
18579 include_expsyms=$lt_include_expsyms
18580
18581 # Commands necessary for linking programs (against libraries) with templates.
18582 prelink_cmds=$lt_prelink_cmds
18583
18584 # Specify filename containing input files.
18585 file_list_spec=$lt_file_list_spec
18586
18587 # How to hardcode a shared library path into an executable.
18588 hardcode_action=$hardcode_action
18589
18590 # ### END LIBTOOL CONFIG
18591
18592 _LT_EOF
18593
18594   case $host_os in
18595   aix3*)
18596     cat <<\_LT_EOF >> "$cfgfile"
18597 # AIX sometimes has problems with the GCC collect2 program.  For some
18598 # reason, if we set the COLLECT_NAMES environment variable, the problems
18599 # vanish in a puff of smoke.
18600 if test "X${COLLECT_NAMES+set}" != Xset; then
18601   COLLECT_NAMES=
18602   export COLLECT_NAMES
18603 fi
18604 _LT_EOF
18605     ;;
18606   esac
18607
18608
18609 ltmain="$ac_aux_dir/ltmain.sh"
18610
18611
18612   # We use sed instead of cat because bash on DJGPP gets confused if
18613   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18614   # text mode, it properly converts lines to CR/LF.  This bash problem
18615   # is reportedly fixed, but why not run on old versions too?
18616   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18617     || (rm -f "$cfgfile"; exit 1)
18618
18619   case $xsi_shell in
18620   yes)
18621     cat << \_LT_EOF >> "$cfgfile"
18622
18623 # func_dirname file append nondir_replacement
18624 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18625 # otherwise set result to NONDIR_REPLACEMENT.
18626 func_dirname ()
18627 {
18628   case ${1} in
18629     */*) func_dirname_result="${1%/*}${2}" ;;
18630     *  ) func_dirname_result="${3}" ;;
18631   esac
18632 }
18633
18634 # func_basename file
18635 func_basename ()
18636 {
18637   func_basename_result="${1##*/}"
18638 }
18639
18640 # func_dirname_and_basename file append nondir_replacement
18641 # perform func_basename and func_dirname in a single function
18642 # call:
18643 #   dirname:  Compute the dirname of FILE.  If nonempty,
18644 #             add APPEND to the result, otherwise set result
18645 #             to NONDIR_REPLACEMENT.
18646 #             value returned in "$func_dirname_result"
18647 #   basename: Compute filename of FILE.
18648 #             value retuned in "$func_basename_result"
18649 # Implementation must be kept synchronized with func_dirname
18650 # and func_basename. For efficiency, we do not delegate to
18651 # those functions but instead duplicate the functionality here.
18652 func_dirname_and_basename ()
18653 {
18654   case ${1} in
18655     */*) func_dirname_result="${1%/*}${2}" ;;
18656     *  ) func_dirname_result="${3}" ;;
18657   esac
18658   func_basename_result="${1##*/}"
18659 }
18660
18661 # func_stripname prefix suffix name
18662 # strip PREFIX and SUFFIX off of NAME.
18663 # PREFIX and SUFFIX must not contain globbing or regex special
18664 # characters, hashes, percent signs, but SUFFIX may contain a leading
18665 # dot (in which case that matches only a dot).
18666 func_stripname ()
18667 {
18668   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18669   # positional parameters, so assign one to ordinary parameter first.
18670   func_stripname_result=${3}
18671   func_stripname_result=${func_stripname_result#"${1}"}
18672   func_stripname_result=${func_stripname_result%"${2}"}
18673 }
18674
18675 # func_opt_split
18676 func_opt_split ()
18677 {
18678   func_opt_split_opt=${1%%=*}
18679   func_opt_split_arg=${1#*=}
18680 }
18681
18682 # func_lo2o object
18683 func_lo2o ()
18684 {
18685   case ${1} in
18686     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18687     *)    func_lo2o_result=${1} ;;
18688   esac
18689 }
18690
18691 # func_xform libobj-or-source
18692 func_xform ()
18693 {
18694   func_xform_result=${1%.*}.lo
18695 }
18696
18697 # func_arith arithmetic-term...
18698 func_arith ()
18699 {
18700   func_arith_result=$(( $* ))
18701 }
18702
18703 # func_len string
18704 # STRING may not start with a hyphen.
18705 func_len ()
18706 {
18707   func_len_result=${#1}
18708 }
18709
18710 _LT_EOF
18711     ;;
18712   *) # Bourne compatible functions.
18713     cat << \_LT_EOF >> "$cfgfile"
18714
18715 # func_dirname file append nondir_replacement
18716 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18717 # otherwise set result to NONDIR_REPLACEMENT.
18718 func_dirname ()
18719 {
18720   # Extract subdirectory from the argument.
18721   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18722   if test "X$func_dirname_result" = "X${1}"; then
18723     func_dirname_result="${3}"
18724   else
18725     func_dirname_result="$func_dirname_result${2}"
18726   fi
18727 }
18728
18729 # func_basename file
18730 func_basename ()
18731 {
18732   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18733 }
18734
18735
18736 # func_stripname prefix suffix name
18737 # strip PREFIX and SUFFIX off of NAME.
18738 # PREFIX and SUFFIX must not contain globbing or regex special
18739 # characters, hashes, percent signs, but SUFFIX may contain a leading
18740 # dot (in which case that matches only a dot).
18741 # func_strip_suffix prefix name
18742 func_stripname ()
18743 {
18744   case ${2} in
18745     .*) func_stripname_result=`$ECHO "X${3}" \
18746            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18747     *)  func_stripname_result=`$ECHO "X${3}" \
18748            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18749   esac
18750 }
18751
18752 # sed scripts:
18753 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18754 my_sed_long_arg='1s/^-[^=]*=//'
18755
18756 # func_opt_split
18757 func_opt_split ()
18758 {
18759   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18760   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18761 }
18762
18763 # func_lo2o object
18764 func_lo2o ()
18765 {
18766   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18767 }
18768
18769 # func_xform libobj-or-source
18770 func_xform ()
18771 {
18772   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18773 }
18774
18775 # func_arith arithmetic-term...
18776 func_arith ()
18777 {
18778   func_arith_result=`expr "$@"`
18779 }
18780
18781 # func_len string
18782 # STRING may not start with a hyphen.
18783 func_len ()
18784 {
18785   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18786 }
18787
18788 _LT_EOF
18789 esac
18790
18791 case $lt_shell_append in
18792   yes)
18793     cat << \_LT_EOF >> "$cfgfile"
18794
18795 # func_append var value
18796 # Append VALUE to the end of shell variable VAR.
18797 func_append ()
18798 {
18799   eval "$1+=\$2"
18800 }
18801 _LT_EOF
18802     ;;
18803   *)
18804     cat << \_LT_EOF >> "$cfgfile"
18805
18806 # func_append var value
18807 # Append VALUE to the end of shell variable VAR.
18808 func_append ()
18809 {
18810   eval "$1=\$$1\$2"
18811 }
18812
18813 _LT_EOF
18814     ;;
18815   esac
18816
18817
18818   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18819     || (rm -f "$cfgfile"; exit 1)
18820
18821   mv -f "$cfgfile" "$ofile" ||
18822     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18823   chmod +x "$ofile"
18824
18825  ;;
18826     "configure-embedded-ffmpeg":C) echo "Configuring included FFmpeg instance with args $embffmpeg_configure_args"
18827      origdir=`pwd`
18828                if test -z "$srcdir" -o "$srcdir" = .; then
18829        confcmd=./configure
18830      else
18831        confcmd="$origdir"/"$ac_top_srcdir"/gst-libs/ext/ffmpeg/configure
18832      fi
18833
18834      as_dir="$ac_top_build_prefix"gst-libs/ext/ffmpeg; as_fn_mkdir_p
18835      cd "$ac_top_build_prefix"gst-libs/ext/ffmpeg &&
18836          $confcmd $embffmpeg_configure_args ||
18837          as_fn_error $? "Failed to configure embedded FFmpeg tree" "$LINENO" 5
18838      cd "$origdir"
18839      ;;
18840
18841   esac
18842 done # for ac_tag
18843
18844
18845 as_fn_exit 0
18846 _ACEOF
18847 ac_clean_files=$ac_clean_files_save
18848
18849 test $ac_write_fail = 0 ||
18850   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18851
18852
18853 # configure is writing to config.log, and then calls config.status.
18854 # config.status does its own redirection, appending to config.log.
18855 # Unfortunately, on DOS this fails, as config.log is still kept open
18856 # by configure, so config.status won't be able to write to it; its
18857 # output is simply discarded.  So we exec the FD to /dev/null,
18858 # effectively closing config.log, so it can be properly (re)opened and
18859 # appended to by config.status.  When coming back to configure, we
18860 # need to make the FD available again.
18861 if test "$no_create" != yes; then
18862   ac_cs_success=:
18863   ac_config_status_args=
18864   test "$silent" = yes &&
18865     ac_config_status_args="$ac_config_status_args --quiet"
18866   exec 5>/dev/null
18867   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18868   exec 5>>config.log
18869   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18870   # would make configure fail if this is the last instruction.
18871   $ac_cs_success || as_fn_exit 1
18872 fi
18873 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18874   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18875 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18876 fi
18877
18878
18879
18880   if test "$HAVE_ORC" = yes ; then
18881     printf "configure: *** Orc acceleration enabled.\n"
18882   else
18883     if test "x$enable_orc" = "xno" ; then
18884       printf "configure: *** Orc acceleration disabled by --disable-orc.  Slower code paths\n"
18885       printf "               will be used.\n"
18886     else
18887       printf "configure: *** Orc acceleration disabled.  Requires Orc >= $ORC_REQ, which was\n"
18888       printf "               not found.  Slower code paths will be used.\n"
18889     fi
18890   fi
18891   printf "\n"
18892