Git init
[framework/multimedia/gstreamer0.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 0.10.34.
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'
704 PACKAGE_TARNAME='gstreamer'
705 PACKAGE_VERSION='0.10.34'
706 PACKAGE_STRING='GStreamer 0.10.34'
707 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
708 PACKAGE_URL=''
709
710 ac_unique_file="gst/gst.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 gt_needs=
748 ac_header_list=
749 ac_subst_vars='am__EXEEXT_FALSE
750 am__EXEEXT_TRUE
751 LTLIBOBJS
752 LIBOBJS
753 SUBUNIT_FALSE
754 SUBUNIT_TRUE
755 ENABLE_SUBUNIT
756 CHECK_VERSION
757 CHECK_MICRO_VERSION
758 CHECK_MINOR_VERSION
759 CHECK_MAJOR_VERSION
760 GST_PLUGIN_SCANNER_INSTALLED
761 GST_PLUGIN_LDFLAGS
762 GST_OBJ_LIBS
763 GST_OBJ_CXXFLAGS
764 GST_OBJ_CFLAGS
765 GST_LIB_LDFLAGS
766 GST_ALL_LDFLAGS
767 GST_ALL_LIBS
768 GST_ALL_CXXFLAGS
769 GST_ALL_CFLAGS
770 GST_OPTION_CXXFLAGS
771 GST_OPTION_CFLAGS
772 DEPRECATED_CFLAGS
773 PROFILE_CFLAGS
774 GST_LEVEL_DEFAULT
775 ERROR_CFLAGS
776 WARNING_CFLAGS
777 GST_PKG_DEPS
778 plugindir
779 PLUGINDIR
780 DATADIR
781 LIBDIR
782 GST_LICENSE
783 HAVE_CHECK_FALSE
784 HAVE_CHECK_TRUE
785 GST_DISABLE_XML_DEFINE
786 LIBXML_PKG
787 XML_LIBS
788 XML_CFLAGS
789 LIBXML2_REQ
790 GLIB_PREFIX
791 GLIB_ONLY_LIBS
792 GLIB_ONLY_CFLAGS
793 GST_HAVE_GLIB_2_8_DEFINE
794 GLIB_LIBS
795 GLIB_CFLAGS
796 GLIB_REQ
797 INET_ATON_LIBS
798 GST_USING_PRINTF_EXTENSION_DEFINE
799 GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE
800 GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE
801 GST_HAVE_MONOTONIC_CLOCK_FALSE
802 GST_HAVE_MONOTONIC_CLOCK_TRUE
803 GST_HAVE_MONOTONIC_CLOCK_DEFINE
804 GST_HAVE_POSIX_TIMERS_FALSE
805 GST_HAVE_POSIX_TIMERS_TRUE
806 GST_HAVE_POSIX_TIMERS_DEFINE
807 HAVE_MMAP_FALSE
808 HAVE_MMAP_TRUE
809 HAVE_GSL
810 GSL_LIBS
811 HAVE_GMP
812 GMP_LIBS
813 WIN32_LIBS
814 HAVE_WINSOCK2_H_FALSE
815 HAVE_WINSOCK2_H_TRUE
816 HAVE_PTHREAD_H_FALSE
817 HAVE_PTHREAD_H_TRUE
818 HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE
819 HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE
820 HAVE_SYS_SOCKET_H_FALSE
821 HAVE_SYS_SOCKET_H_TRUE
822 LIBM
823 ENABLE_PLUGIN_DOCS_FALSE
824 ENABLE_PLUGIN_DOCS_TRUE
825 pkgpyexecdir
826 pyexecdir
827 pkgpythondir
828 pythondir
829 PYTHON_PLATFORM
830 PYTHON_EXEC_PREFIX
831 PYTHON_PREFIX
832 PYTHON_VERSION
833 PYTHON
834 GTK_DOC_USE_LIBTOOL_FALSE
835 GTK_DOC_USE_LIBTOOL_TRUE
836 ENABLE_GTK_DOC_FALSE
837 ENABLE_GTK_DOC_TRUE
838 GTKDOC_CHECK
839 HTML_DIR
840 DOC_PS_FALSE
841 DOC_PS_TRUE
842 DOC_PDF_FALSE
843 DOC_PDF_TRUE
844 DOC_HTML_FALSE
845 DOC_HTML_TRUE
846 ENABLE_DOCBOOK_FALSE
847 ENABLE_DOCBOOK_TRUE
848 HAVE_EPSTOPDF
849 HAVE_PNMTOPS
850 HAVE_PNGTOPNM
851 HAVE_FIG2DEV
852 HAVE_XMLLINT
853 HAVE_DVIPS
854 CAT_ENTRY_END
855 CAT_ENTRY_START
856 DOCBOOK_ROOT
857 XSLTPROC_FLAGS
858 XML_CATALOG
859 XSLTPROC
860 HAVE_PS2PDF
861 HAVE_JADETEX
862 HAVE_DOCBOOK2HTML
863 HAVE_DOCBOOK2PS
864 HAVE_INTROSPECTION_FALSE
865 HAVE_INTROSPECTION_TRUE
866 INTROSPECTION_TYPELIBDIR
867 INTROSPECTION_GIRDIR
868 INTROSPECTION_GENERATE
869 INTROSPECTION_COMPILER
870 INTROSPECTION_SCANNER
871 HAVE_VALGRIND_FALSE
872 HAVE_VALGRIND_TRUE
873 VALGRIND_PATH
874 FLEX_PATH
875 BISON_PATH
876 PERL_PATH
877 HAVE_CXX_FALSE
878 HAVE_CXX_TRUE
879 CXXCPP
880 am__fastdepCXX_FALSE
881 am__fastdepCXX_TRUE
882 CXXDEPMODE
883 ac_ct_CXX
884 CXX
885 am__fastdepCCAS_FALSE
886 am__fastdepCCAS_TRUE
887 CCASDEPMODE
888 CCAS
889 GST_HAVE_UNALIGNED_ACCESS_DEFINE
890 HOST_CPU
891 HAVE_CPU_CRISV32_FALSE
892 HAVE_CPU_CRISV32_TRUE
893 HAVE_CPU_CRIS_FALSE
894 HAVE_CPU_CRIS_TRUE
895 HAVE_CPU_X86_64_FALSE
896 HAVE_CPU_X86_64_TRUE
897 HAVE_CPU_M68K_FALSE
898 HAVE_CPU_M68K_TRUE
899 HAVE_CPU_IA64_FALSE
900 HAVE_CPU_IA64_TRUE
901 HAVE_CPU_S390_FALSE
902 HAVE_CPU_S390_TRUE
903 HAVE_CPU_MIPS_FALSE
904 HAVE_CPU_MIPS_TRUE
905 HAVE_CPU_HPPA_FALSE
906 HAVE_CPU_HPPA_TRUE
907 HAVE_CPU_SPARC_FALSE
908 HAVE_CPU_SPARC_TRUE
909 HAVE_CPU_ARM_FALSE
910 HAVE_CPU_ARM_TRUE
911 HAVE_CPU_ALPHA_FALSE
912 HAVE_CPU_ALPHA_TRUE
913 HAVE_CPU_PPC64_FALSE
914 HAVE_CPU_PPC64_TRUE
915 HAVE_CPU_PPC_FALSE
916 HAVE_CPU_PPC_TRUE
917 HAVE_CPU_I386_FALSE
918 HAVE_CPU_I386_TRUE
919 BUILD_FAILING_TESTS_FALSE
920 BUILD_FAILING_TESTS_TRUE
921 BUILD_TESTS_FALSE
922 BUILD_TESTS_TRUE
923 GST_PKG_CONFIG_PATH
924 GST_PACKAGE_ORIGIN
925 GST_PACKAGE_NAME
926 BUILD_EXAMPLES_FALSE
927 BUILD_EXAMPLES_TRUE
928 GST_GCOV_ENABLED_FALSE
929 GST_GCOV_ENABLED_TRUE
930 CCASFLAGS
931 FFLAGS
932 CXXFLAGS
933 GCOV
934 GCOV_LIBS
935 GCOV_CFLAGS
936 VALGRIND_LIBS
937 VALGRIND_CFLAGS
938 PKG_CONFIG
939 GST_DISABLE_PLUGIN_FALSE
940 GST_DISABLE_PLUGIN_TRUE
941 GST_DISABLE_PLUGIN_DEFINE
942 GST_DISABLE_NET_FALSE
943 GST_DISABLE_NET_TRUE
944 GST_DISABLE_NET_DEFINE
945 GST_REGISTRY_DOC_TYPES
946 GST_DISABLE_REGISTRY_FALSE
947 GST_DISABLE_REGISTRY_TRUE
948 GST_DISABLE_REGISTRY_DEFINE
949 GST_DISABLE_ALLOC_TRACE_FALSE
950 GST_DISABLE_ALLOC_TRACE_TRUE
951 GST_DISABLE_ALLOC_TRACE_DEFINE
952 GST_DISABLE_TRACE_FALSE
953 GST_DISABLE_TRACE_TRUE
954 GST_DISABLE_TRACE_DEFINE
955 GST_DISABLE_OPTION_PARSING_FALSE
956 GST_DISABLE_OPTION_PARSING_TRUE
957 GST_DISABLE_OPTION_PARSING_DEFINE
958 GST_DISABLE_PARSE_FALSE
959 GST_DISABLE_PARSE_TRUE
960 GST_DISABLE_PARSE_DEFINE
961 GST_LOADSAVE_DOC_TYPES
962 GST_DISABLE_LOADSAVE_FALSE
963 GST_DISABLE_LOADSAVE_TRUE
964 GST_DISABLE_LOADSAVE_DEFINE
965 GST_DISABLE_GST_DEBUG_FALSE
966 GST_DISABLE_GST_DEBUG_TRUE
967 GST_DISABLE_GST_DEBUG_DEFINE
968 LOCALEDIR
969 GETTEXT_PACKAGE
970 POSUB
971 LTLIBINTL
972 LIBINTL
973 INTLLIBS
974 LTLIBICONV
975 LIBICONV
976 INTL_MACOSX_LIBS
977 XGETTEXT_EXTRA_OPTIONS
978 MSGMERGE
979 XGETTEXT_015
980 XGETTEXT
981 GMSGFMT_015
982 MSGFMT_015
983 GMSGFMT
984 MSGFMT
985 GETTEXT_MACRO_VERSION
986 USE_NLS
987 ACLOCAL_AMFLAGS
988 CPP
989 OTOOL64
990 OTOOL
991 LIPO
992 NMEDIT
993 DSYMUTIL
994 lt_ECHO
995 RANLIB
996 AR
997 LN_S
998 NM
999 ac_ct_DUMPBIN
1000 DUMPBIN
1001 LD
1002 FGREP
1003 EGREP
1004 GREP
1005 SED
1006 am__fastdepCC_FALSE
1007 am__fastdepCC_TRUE
1008 CCDEPMODE
1009 AMDEPBACKSLASH
1010 AMDEP_FALSE
1011 AMDEP_TRUE
1012 am__quote
1013 am__include
1014 DEPDIR
1015 OBJEXT
1016 EXEEXT
1017 ac_ct_CC
1018 CPPFLAGS
1019 LDFLAGS
1020 CFLAGS
1021 CC
1022 LIBTOOL
1023 OBJDUMP
1024 DLLTOOL
1025 AS
1026 GST_LT_LDFLAGS
1027 GST_LIBVERSION
1028 GST_AGE
1029 GST_REVISION
1030 GST_CURRENT
1031 GST_MAJORMINOR
1032 AM_BACKSLASH
1033 AM_DEFAULT_VERBOSITY
1034 host_os
1035 host_vendor
1036 host_cpu
1037 host
1038 build_os
1039 build_vendor
1040 build_cpu
1041 build
1042 MAINT
1043 MAINTAINER_MODE_FALSE
1044 MAINTAINER_MODE_TRUE
1045 PACKAGE_VERSION_RELEASE
1046 PACKAGE_VERSION_NANO
1047 PACKAGE_VERSION_MICRO
1048 PACKAGE_VERSION_MINOR
1049 PACKAGE_VERSION_MAJOR
1050 am__untar
1051 am__tar
1052 AMTAR
1053 am__leading_dot
1054 SET_MAKE
1055 AWK
1056 mkdir_p
1057 MKDIR_P
1058 INSTALL_STRIP_PROGRAM
1059 STRIP
1060 install_sh
1061 MAKEINFO
1062 AUTOHEADER
1063 AUTOMAKE
1064 AUTOCONF
1065 ACLOCAL
1066 VERSION
1067 PACKAGE
1068 CYGPATH_W
1069 am__isrc
1070 INSTALL_DATA
1071 INSTALL_SCRIPT
1072 INSTALL_PROGRAM
1073 target_alias
1074 host_alias
1075 build_alias
1076 LIBS
1077 ECHO_T
1078 ECHO_N
1079 ECHO_C
1080 DEFS
1081 mandir
1082 localedir
1083 libdir
1084 psdir
1085 pdfdir
1086 dvidir
1087 htmldir
1088 infodir
1089 docdir
1090 oldincludedir
1091 includedir
1092 localstatedir
1093 sharedstatedir
1094 sysconfdir
1095 datadir
1096 datarootdir
1097 libexecdir
1098 sbindir
1099 bindir
1100 program_transform_name
1101 prefix
1102 exec_prefix
1103 PACKAGE_URL
1104 PACKAGE_BUGREPORT
1105 PACKAGE_STRING
1106 PACKAGE_VERSION
1107 PACKAGE_TARNAME
1108 PACKAGE_NAME
1109 PATH_SEPARATOR
1110 SHELL'
1111 ac_subst_files=''
1112 ac_user_opts='
1113 enable_option_checking
1114 enable_maintainer_mode
1115 enable_silent_rules
1116 enable_shared
1117 enable_static
1118 with_pic
1119 enable_fast_install
1120 enable_dependency_tracking
1121 with_gnu_ld
1122 enable_libtool_lock
1123 with_autoconf
1124 with_autoheader
1125 with_automake
1126 with_aclocal
1127 enable_nls
1128 enable_rpath
1129 with_libiconv_prefix
1130 with_libintl_prefix
1131 enable_gst_debug
1132 enable_loadsave
1133 enable_parse
1134 enable_option_parsing
1135 enable_trace
1136 enable_alloc_trace
1137 enable_registry
1138 enable_net
1139 enable_plugin
1140 enable_debug
1141 enable_profiling
1142 enable_valgrind
1143 enable_gcov
1144 enable_examples
1145 with_pkg_config_path
1146 with_package_name
1147 with_package_origin
1148 enable_tests
1149 enable_failing_tests
1150 enable_poisoning
1151 enable_largefile
1152 enable_introspection
1153 enable_docbook
1154 with_html_dir
1155 enable_gtk_doc
1156 enable_gobject_cast_checks
1157 enable_glib_asserts
1158 enable_check
1159 with_buffer_alignment
1160 enable_Bsymbolic
1161 '
1162       ac_precious_vars='build_alias
1163 host_alias
1164 target_alias
1165 CC
1166 CFLAGS
1167 LDFLAGS
1168 LIBS
1169 CPPFLAGS
1170 CPP
1171 PKG_CONFIG
1172 VALGRIND_CFLAGS
1173 VALGRIND_LIBS
1174 CCAS
1175 CCASFLAGS
1176 CXX
1177 CXXFLAGS
1178 CCC
1179 CXXCPP
1180 GLIB_CFLAGS
1181 GLIB_LIBS
1182 GLIB_ONLY_CFLAGS
1183 GLIB_ONLY_LIBS
1184 XML_CFLAGS
1185 XML_LIBS'
1186
1187
1188 # Initialize some variables set by options.
1189 ac_init_help=
1190 ac_init_version=false
1191 ac_unrecognized_opts=
1192 ac_unrecognized_sep=
1193 # The variables have the same names as the options, with
1194 # dashes changed to underlines.
1195 cache_file=/dev/null
1196 exec_prefix=NONE
1197 no_create=
1198 no_recursion=
1199 prefix=NONE
1200 program_prefix=NONE
1201 program_suffix=NONE
1202 program_transform_name=s,x,x,
1203 silent=
1204 site=
1205 srcdir=
1206 verbose=
1207 x_includes=NONE
1208 x_libraries=NONE
1209
1210 # Installation directory options.
1211 # These are left unexpanded so users can "make install exec_prefix=/foo"
1212 # and all the variables that are supposed to be based on exec_prefix
1213 # by default will actually change.
1214 # Use braces instead of parens because sh, perl, etc. also accept them.
1215 # (The list follows the same order as the GNU Coding Standards.)
1216 bindir='${exec_prefix}/bin'
1217 sbindir='${exec_prefix}/sbin'
1218 libexecdir='${exec_prefix}/libexec'
1219 datarootdir='${prefix}/share'
1220 datadir='${datarootdir}'
1221 sysconfdir='${prefix}/etc'
1222 sharedstatedir='${prefix}/com'
1223 localstatedir='${prefix}/var'
1224 includedir='${prefix}/include'
1225 oldincludedir='/usr/include'
1226 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1227 infodir='${datarootdir}/info'
1228 htmldir='${docdir}'
1229 dvidir='${docdir}'
1230 pdfdir='${docdir}'
1231 psdir='${docdir}'
1232 libdir='${exec_prefix}/lib'
1233 localedir='${datarootdir}/locale'
1234 mandir='${datarootdir}/man'
1235
1236 ac_prev=
1237 ac_dashdash=
1238 for ac_option
1239 do
1240   # If the previous option needs an argument, assign it.
1241   if test -n "$ac_prev"; then
1242     eval $ac_prev=\$ac_option
1243     ac_prev=
1244     continue
1245   fi
1246
1247   case $ac_option in
1248   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1249   *=)   ac_optarg= ;;
1250   *)    ac_optarg=yes ;;
1251   esac
1252
1253   # Accept the important Cygnus configure options, so we can diagnose typos.
1254
1255   case $ac_dashdash$ac_option in
1256   --)
1257     ac_dashdash=yes ;;
1258
1259   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1260     ac_prev=bindir ;;
1261   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1262     bindir=$ac_optarg ;;
1263
1264   -build | --build | --buil | --bui | --bu)
1265     ac_prev=build_alias ;;
1266   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1267     build_alias=$ac_optarg ;;
1268
1269   -cache-file | --cache-file | --cache-fil | --cache-fi \
1270   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1271     ac_prev=cache_file ;;
1272   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1273   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1274     cache_file=$ac_optarg ;;
1275
1276   --config-cache | -C)
1277     cache_file=config.cache ;;
1278
1279   -datadir | --datadir | --datadi | --datad)
1280     ac_prev=datadir ;;
1281   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1282     datadir=$ac_optarg ;;
1283
1284   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1285   | --dataroo | --dataro | --datar)
1286     ac_prev=datarootdir ;;
1287   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1288   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1289     datarootdir=$ac_optarg ;;
1290
1291   -disable-* | --disable-*)
1292     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1293     # Reject names that are not valid shell variable names.
1294     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1295       as_fn_error $? "invalid feature name: $ac_useropt"
1296     ac_useropt_orig=$ac_useropt
1297     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298     case $ac_user_opts in
1299       *"
1300 "enable_$ac_useropt"
1301 "*) ;;
1302       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1303          ac_unrecognized_sep=', ';;
1304     esac
1305     eval enable_$ac_useropt=no ;;
1306
1307   -docdir | --docdir | --docdi | --doc | --do)
1308     ac_prev=docdir ;;
1309   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1310     docdir=$ac_optarg ;;
1311
1312   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1313     ac_prev=dvidir ;;
1314   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1315     dvidir=$ac_optarg ;;
1316
1317   -enable-* | --enable-*)
1318     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1319     # Reject names that are not valid shell variable names.
1320     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1321       as_fn_error $? "invalid feature name: $ac_useropt"
1322     ac_useropt_orig=$ac_useropt
1323     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1324     case $ac_user_opts in
1325       *"
1326 "enable_$ac_useropt"
1327 "*) ;;
1328       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1329          ac_unrecognized_sep=', ';;
1330     esac
1331     eval enable_$ac_useropt=\$ac_optarg ;;
1332
1333   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1334   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1335   | --exec | --exe | --ex)
1336     ac_prev=exec_prefix ;;
1337   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1338   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1339   | --exec=* | --exe=* | --ex=*)
1340     exec_prefix=$ac_optarg ;;
1341
1342   -gas | --gas | --ga | --g)
1343     # Obsolete; use --with-gas.
1344     with_gas=yes ;;
1345
1346   -help | --help | --hel | --he | -h)
1347     ac_init_help=long ;;
1348   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1349     ac_init_help=recursive ;;
1350   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1351     ac_init_help=short ;;
1352
1353   -host | --host | --hos | --ho)
1354     ac_prev=host_alias ;;
1355   -host=* | --host=* | --hos=* | --ho=*)
1356     host_alias=$ac_optarg ;;
1357
1358   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1359     ac_prev=htmldir ;;
1360   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1361   | --ht=*)
1362     htmldir=$ac_optarg ;;
1363
1364   -includedir | --includedir | --includedi | --included | --include \
1365   | --includ | --inclu | --incl | --inc)
1366     ac_prev=includedir ;;
1367   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1368   | --includ=* | --inclu=* | --incl=* | --inc=*)
1369     includedir=$ac_optarg ;;
1370
1371   -infodir | --infodir | --infodi | --infod | --info | --inf)
1372     ac_prev=infodir ;;
1373   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1374     infodir=$ac_optarg ;;
1375
1376   -libdir | --libdir | --libdi | --libd)
1377     ac_prev=libdir ;;
1378   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1379     libdir=$ac_optarg ;;
1380
1381   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1382   | --libexe | --libex | --libe)
1383     ac_prev=libexecdir ;;
1384   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1385   | --libexe=* | --libex=* | --libe=*)
1386     libexecdir=$ac_optarg ;;
1387
1388   -localedir | --localedir | --localedi | --localed | --locale)
1389     ac_prev=localedir ;;
1390   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1391     localedir=$ac_optarg ;;
1392
1393   -localstatedir | --localstatedir | --localstatedi | --localstated \
1394   | --localstate | --localstat | --localsta | --localst | --locals)
1395     ac_prev=localstatedir ;;
1396   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1397   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1398     localstatedir=$ac_optarg ;;
1399
1400   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1401     ac_prev=mandir ;;
1402   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1403     mandir=$ac_optarg ;;
1404
1405   -nfp | --nfp | --nf)
1406     # Obsolete; use --without-fp.
1407     with_fp=no ;;
1408
1409   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1410   | --no-cr | --no-c | -n)
1411     no_create=yes ;;
1412
1413   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1414   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1415     no_recursion=yes ;;
1416
1417   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1418   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1419   | --oldin | --oldi | --old | --ol | --o)
1420     ac_prev=oldincludedir ;;
1421   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1422   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1423   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1424     oldincludedir=$ac_optarg ;;
1425
1426   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1427     ac_prev=prefix ;;
1428   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1429     prefix=$ac_optarg ;;
1430
1431   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1432   | --program-pre | --program-pr | --program-p)
1433     ac_prev=program_prefix ;;
1434   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1435   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1436     program_prefix=$ac_optarg ;;
1437
1438   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1439   | --program-suf | --program-su | --program-s)
1440     ac_prev=program_suffix ;;
1441   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1442   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1443     program_suffix=$ac_optarg ;;
1444
1445   -program-transform-name | --program-transform-name \
1446   | --program-transform-nam | --program-transform-na \
1447   | --program-transform-n | --program-transform- \
1448   | --program-transform | --program-transfor \
1449   | --program-transfo | --program-transf \
1450   | --program-trans | --program-tran \
1451   | --progr-tra | --program-tr | --program-t)
1452     ac_prev=program_transform_name ;;
1453   -program-transform-name=* | --program-transform-name=* \
1454   | --program-transform-nam=* | --program-transform-na=* \
1455   | --program-transform-n=* | --program-transform-=* \
1456   | --program-transform=* | --program-transfor=* \
1457   | --program-transfo=* | --program-transf=* \
1458   | --program-trans=* | --program-tran=* \
1459   | --progr-tra=* | --program-tr=* | --program-t=*)
1460     program_transform_name=$ac_optarg ;;
1461
1462   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1463     ac_prev=pdfdir ;;
1464   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1465     pdfdir=$ac_optarg ;;
1466
1467   -psdir | --psdir | --psdi | --psd | --ps)
1468     ac_prev=psdir ;;
1469   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1470     psdir=$ac_optarg ;;
1471
1472   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1473   | -silent | --silent | --silen | --sile | --sil)
1474     silent=yes ;;
1475
1476   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1477     ac_prev=sbindir ;;
1478   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1479   | --sbi=* | --sb=*)
1480     sbindir=$ac_optarg ;;
1481
1482   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1483   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1484   | --sharedst | --shareds | --shared | --share | --shar \
1485   | --sha | --sh)
1486     ac_prev=sharedstatedir ;;
1487   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1488   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1489   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1490   | --sha=* | --sh=*)
1491     sharedstatedir=$ac_optarg ;;
1492
1493   -site | --site | --sit)
1494     ac_prev=site ;;
1495   -site=* | --site=* | --sit=*)
1496     site=$ac_optarg ;;
1497
1498   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1499     ac_prev=srcdir ;;
1500   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1501     srcdir=$ac_optarg ;;
1502
1503   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1504   | --syscon | --sysco | --sysc | --sys | --sy)
1505     ac_prev=sysconfdir ;;
1506   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1507   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1508     sysconfdir=$ac_optarg ;;
1509
1510   -target | --target | --targe | --targ | --tar | --ta | --t)
1511     ac_prev=target_alias ;;
1512   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1513     target_alias=$ac_optarg ;;
1514
1515   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1516     verbose=yes ;;
1517
1518   -version | --version | --versio | --versi | --vers | -V)
1519     ac_init_version=: ;;
1520
1521   -with-* | --with-*)
1522     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1523     # Reject names that are not valid shell variable names.
1524     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1525       as_fn_error $? "invalid package name: $ac_useropt"
1526     ac_useropt_orig=$ac_useropt
1527     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1528     case $ac_user_opts in
1529       *"
1530 "with_$ac_useropt"
1531 "*) ;;
1532       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1533          ac_unrecognized_sep=', ';;
1534     esac
1535     eval with_$ac_useropt=\$ac_optarg ;;
1536
1537   -without-* | --without-*)
1538     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1539     # Reject names that are not valid shell variable names.
1540     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1541       as_fn_error $? "invalid package name: $ac_useropt"
1542     ac_useropt_orig=$ac_useropt
1543     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1544     case $ac_user_opts in
1545       *"
1546 "with_$ac_useropt"
1547 "*) ;;
1548       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1549          ac_unrecognized_sep=', ';;
1550     esac
1551     eval with_$ac_useropt=no ;;
1552
1553   --x)
1554     # Obsolete; use --with-x.
1555     with_x=yes ;;
1556
1557   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1558   | --x-incl | --x-inc | --x-in | --x-i)
1559     ac_prev=x_includes ;;
1560   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1561   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1562     x_includes=$ac_optarg ;;
1563
1564   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1565   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1566     ac_prev=x_libraries ;;
1567   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1568   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1569     x_libraries=$ac_optarg ;;
1570
1571   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1572 Try \`$0 --help' for more information"
1573     ;;
1574
1575   *=*)
1576     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1577     # Reject names that are not valid shell variable names.
1578     case $ac_envvar in #(
1579       '' | [0-9]* | *[!_$as_cr_alnum]* )
1580       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1581     esac
1582     eval $ac_envvar=\$ac_optarg
1583     export $ac_envvar ;;
1584
1585   *)
1586     # FIXME: should be removed in autoconf 3.0.
1587     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1588     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1589       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1590     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1591     ;;
1592
1593   esac
1594 done
1595
1596 if test -n "$ac_prev"; then
1597   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1598   as_fn_error $? "missing argument to $ac_option"
1599 fi
1600
1601 if test -n "$ac_unrecognized_opts"; then
1602   case $enable_option_checking in
1603     no) ;;
1604     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1605     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1606   esac
1607 fi
1608
1609 # Check all directory arguments for consistency.
1610 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1611                 datadir sysconfdir sharedstatedir localstatedir includedir \
1612                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1613                 libdir localedir mandir
1614 do
1615   eval ac_val=\$$ac_var
1616   # Remove trailing slashes.
1617   case $ac_val in
1618     */ )
1619       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1620       eval $ac_var=\$ac_val;;
1621   esac
1622   # Be sure to have absolute directory names.
1623   case $ac_val in
1624     [\\/$]* | ?:[\\/]* )  continue;;
1625     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1626   esac
1627   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1628 done
1629
1630 # There might be people who depend on the old broken behavior: `$host'
1631 # used to hold the argument of --host etc.
1632 # FIXME: To remove some day.
1633 build=$build_alias
1634 host=$host_alias
1635 target=$target_alias
1636
1637 # FIXME: To remove some day.
1638 if test "x$host_alias" != x; then
1639   if test "x$build_alias" = x; then
1640     cross_compiling=maybe
1641     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1642     If a cross compiler is detected then cross compile mode will be used" >&2
1643   elif test "x$build_alias" != "x$host_alias"; then
1644     cross_compiling=yes
1645   fi
1646 fi
1647
1648 ac_tool_prefix=
1649 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1650
1651 test "$silent" = yes && exec 6>/dev/null
1652
1653
1654 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1655 ac_ls_di=`ls -di .` &&
1656 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1657   as_fn_error $? "working directory cannot be determined"
1658 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1659   as_fn_error $? "pwd does not report name of working directory"
1660
1661
1662 # Find the source files, if location was not specified.
1663 if test -z "$srcdir"; then
1664   ac_srcdir_defaulted=yes
1665   # Try the directory containing this script, then the parent directory.
1666   ac_confdir=`$as_dirname -- "$as_myself" ||
1667 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1668          X"$as_myself" : 'X\(//\)[^/]' \| \
1669          X"$as_myself" : 'X\(//\)$' \| \
1670          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1671 $as_echo X"$as_myself" |
1672     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1673             s//\1/
1674             q
1675           }
1676           /^X\(\/\/\)[^/].*/{
1677             s//\1/
1678             q
1679           }
1680           /^X\(\/\/\)$/{
1681             s//\1/
1682             q
1683           }
1684           /^X\(\/\).*/{
1685             s//\1/
1686             q
1687           }
1688           s/.*/./; q'`
1689   srcdir=$ac_confdir
1690   if test ! -r "$srcdir/$ac_unique_file"; then
1691     srcdir=..
1692   fi
1693 else
1694   ac_srcdir_defaulted=no
1695 fi
1696 if test ! -r "$srcdir/$ac_unique_file"; then
1697   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1698   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1699 fi
1700 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1701 ac_abs_confdir=`(
1702         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1703         pwd)`
1704 # When building in place, set srcdir=.
1705 if test "$ac_abs_confdir" = "$ac_pwd"; then
1706   srcdir=.
1707 fi
1708 # Remove unnecessary trailing slashes from srcdir.
1709 # Double slashes in file names in object file debugging info
1710 # mess up M-x gdb in Emacs.
1711 case $srcdir in
1712 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1713 esac
1714 for ac_var in $ac_precious_vars; do
1715   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1716   eval ac_env_${ac_var}_value=\$${ac_var}
1717   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1718   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1719 done
1720
1721 #
1722 # Report the --help message.
1723 #
1724 if test "$ac_init_help" = "long"; then
1725   # Omit some internal or obsolete options to make the list less imposing.
1726   # This message is too long to be a string in the A/UX 3.1 sh.
1727   cat <<_ACEOF
1728 \`configure' configures GStreamer 0.10.34 to adapt to many kinds of systems.
1729
1730 Usage: $0 [OPTION]... [VAR=VALUE]...
1731
1732 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1733 VAR=VALUE.  See below for descriptions of some of the useful variables.
1734
1735 Defaults for the options are specified in brackets.
1736
1737 Configuration:
1738   -h, --help              display this help and exit
1739       --help=short        display options specific to this package
1740       --help=recursive    display the short help of all the included packages
1741   -V, --version           display version information and exit
1742   -q, --quiet, --silent   do not print \`checking ...' messages
1743       --cache-file=FILE   cache test results in FILE [disabled]
1744   -C, --config-cache      alias for \`--cache-file=config.cache'
1745   -n, --no-create         do not create output files
1746       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1747
1748 Installation directories:
1749   --prefix=PREFIX         install architecture-independent files in PREFIX
1750                           [$ac_default_prefix]
1751   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1752                           [PREFIX]
1753
1754 By default, \`make install' will install all the files in
1755 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1756 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1757 for instance \`--prefix=\$HOME'.
1758
1759 For better control, use the options below.
1760
1761 Fine tuning of the installation directories:
1762   --bindir=DIR            user executables [EPREFIX/bin]
1763   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1764   --libexecdir=DIR        program executables [EPREFIX/libexec]
1765   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1766   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1767   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1768   --libdir=DIR            object code libraries [EPREFIX/lib]
1769   --includedir=DIR        C header files [PREFIX/include]
1770   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1771   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1772   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1773   --infodir=DIR           info documentation [DATAROOTDIR/info]
1774   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1775   --mandir=DIR            man documentation [DATAROOTDIR/man]
1776   --docdir=DIR            documentation root [DATAROOTDIR/doc/gstreamer]
1777   --htmldir=DIR           html documentation [DOCDIR]
1778   --dvidir=DIR            dvi documentation [DOCDIR]
1779   --pdfdir=DIR            pdf documentation [DOCDIR]
1780   --psdir=DIR             ps documentation [DOCDIR]
1781 _ACEOF
1782
1783   cat <<\_ACEOF
1784
1785 Program names:
1786   --program-prefix=PREFIX            prepend PREFIX to installed program names
1787   --program-suffix=SUFFIX            append SUFFIX to installed program names
1788   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1789
1790 System types:
1791   --build=BUILD     configure for building on BUILD [guessed]
1792   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1793 _ACEOF
1794 fi
1795
1796 if test -n "$ac_init_help"; then
1797   case $ac_init_help in
1798      short | recursive ) echo "Configuration of GStreamer 0.10.34:";;
1799    esac
1800   cat <<\_ACEOF
1801
1802 Optional Features:
1803   --disable-option-checking  ignore unrecognized --enable/--with options
1804   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1805   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1806   --enable-maintainer-mode  enable make rules and dependencies not useful
1807                           (and sometimes confusing) to the casual installer
1808   --enable-silent-rules          less verbose build output (undo: `make V=1')
1809   --disable-silent-rules         verbose build output (undo: `make V=0')
1810   --enable-shared[=PKGS]  build shared libraries [default=yes]
1811   --enable-static[=PKGS]  build static libraries [default=yes]
1812   --enable-fast-install[=PKGS]
1813                           optimize for fast installation [default=yes]
1814   --disable-dependency-tracking  speeds up one-time build
1815   --enable-dependency-tracking   do not reject slow dependency extractors
1816   --disable-libtool-lock  avoid locking (might break parallel builds)
1817   --disable-nls           do not use Native Language Support
1818   --disable-rpath         do not hardcode runtime library paths
1819   --disable-gst-debug     disable debugging subsystem
1820   --disable-loadsave      disable pipeline XML load/save
1821   --disable-parse         disable command-line parser
1822   --disable-option-parsing
1823                           disable option parsing when gst_init
1824   --disable-trace         disable tracing subsystem
1825   --disable-alloc-trace   disable allocation tracing
1826   --disable-registry      disable plugin registry
1827   --disable-net           disable network distribution
1828   --disable-plugin        disable plugin
1829   --disable-debug         disable addition of -g debugging info
1830   --enable-profiling      adds -pg to compiler commandline, for profiling
1831   --disable-valgrind      disable run-time valgrind detection
1832   --enable-gcov           compile with coverage profiling instrumentation (gcc
1833                           only)
1834   --disable-examples      disable building examples
1835   --disable-tests         disable building test apps
1836   --disable-failing-tests disable building tests known to fail
1837   --enable-poisoning      enable poisoning of deallocated objects
1838   --disable-largefile     omit support for large files
1839   --enable-introspection=[no/auto/yes]
1840                           Enable introspection for this build
1841   --enable-docbook        use docbook to build documentation [default=no]
1842   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1843   --enable-gobject-cast-checks=[no/auto/yes]
1844                           Enable GObject cast checks
1845   --enable-glib-asserts=[no/auto/yes]
1846                           Enable GLib assertion
1847   --disable-check         disable building unit test libraries
1848   --disable-Bsymbolic     avoid linking with -Bsymbolic
1849
1850 Optional Packages:
1851   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1852   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1853   --with-pic              try to use only PIC/non-PIC objects [default=use
1854                           both]
1855   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1856   --with-autoconf         use a different autoconf for regeneration of
1857                           Makefiles
1858   --with-autoheader       use a different autoheader for regeneration of
1859                           Makefiles
1860   --with-automake         use a different automake for regeneration of
1861                           Makefiles
1862   --with-aclocal          use a different aclocal for regeneration of
1863                           Makefiles
1864   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1865   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1866   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1867   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1868   --without-libintl-prefix     don't search for libintl in includedir and libdir
1869   --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
1870   --with-package-name     specify package name to use in plugins
1871   --with-package-origin   specify package origin URL to use in plugins
1872   --with-html-dir=PATH    path to installed docs
1873   --with-buffer-alignment 8,N,malloc,pagesize (default is 32)
1874
1875 Some influential environment variables:
1876   CC          C compiler command
1877   CFLAGS      C compiler flags
1878   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1879               nonstandard directory <lib dir>
1880   LIBS        libraries to pass to the linker, e.g. -l<library>
1881   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1882               you have headers in a nonstandard directory <include dir>
1883   CPP         C preprocessor
1884   PKG_CONFIG  path to pkg-config utility
1885   VALGRIND_CFLAGS
1886               C compiler flags for VALGRIND, overriding pkg-config
1887   VALGRIND_LIBS
1888               linker flags for VALGRIND, overriding pkg-config
1889   CCAS        assembler compiler command (defaults to CC)
1890   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1891   CXX         C++ compiler command
1892   CXXFLAGS    C++ compiler flags
1893   CXXCPP      C++ preprocessor
1894   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1895   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1896   GLIB_ONLY_CFLAGS
1897               C compiler flags for GLIB_ONLY, overriding pkg-config
1898   GLIB_ONLY_LIBS
1899               linker flags for GLIB_ONLY, overriding pkg-config
1900   XML_CFLAGS  C compiler flags for XML, overriding pkg-config
1901   XML_LIBS    linker flags for XML, overriding pkg-config
1902
1903 Use these variables to override the choices made by `configure' or to help
1904 it to find libraries and programs with nonstandard names/locations.
1905
1906 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1907 _ACEOF
1908 ac_status=$?
1909 fi
1910
1911 if test "$ac_init_help" = "recursive"; then
1912   # If there are subdirs, report their specific --help.
1913   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1914     test -d "$ac_dir" ||
1915       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1916       continue
1917     ac_builddir=.
1918
1919 case "$ac_dir" in
1920 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1921 *)
1922   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1923   # A ".." for each directory in $ac_dir_suffix.
1924   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1925   case $ac_top_builddir_sub in
1926   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1927   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1928   esac ;;
1929 esac
1930 ac_abs_top_builddir=$ac_pwd
1931 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1932 # for backward compatibility:
1933 ac_top_builddir=$ac_top_build_prefix
1934
1935 case $srcdir in
1936   .)  # We are building in place.
1937     ac_srcdir=.
1938     ac_top_srcdir=$ac_top_builddir_sub
1939     ac_abs_top_srcdir=$ac_pwd ;;
1940   [\\/]* | ?:[\\/]* )  # Absolute name.
1941     ac_srcdir=$srcdir$ac_dir_suffix;
1942     ac_top_srcdir=$srcdir
1943     ac_abs_top_srcdir=$srcdir ;;
1944   *) # Relative name.
1945     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1946     ac_top_srcdir=$ac_top_build_prefix$srcdir
1947     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1948 esac
1949 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1950
1951     cd "$ac_dir" || { ac_status=$?; continue; }
1952     # Check for guested configure.
1953     if test -f "$ac_srcdir/configure.gnu"; then
1954       echo &&
1955       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1956     elif test -f "$ac_srcdir/configure"; then
1957       echo &&
1958       $SHELL "$ac_srcdir/configure" --help=recursive
1959     else
1960       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1961     fi || ac_status=$?
1962     cd "$ac_pwd" || { ac_status=$?; break; }
1963   done
1964 fi
1965
1966 test -n "$ac_init_help" && exit $ac_status
1967 if $ac_init_version; then
1968   cat <<\_ACEOF
1969 GStreamer configure 0.10.34
1970 generated by GNU Autoconf 2.67
1971
1972 Copyright (C) 2010 Free Software Foundation, Inc.
1973 This configure script is free software; the Free Software Foundation
1974 gives unlimited permission to copy, distribute and modify it.
1975 _ACEOF
1976   exit
1977 fi
1978
1979 ## ------------------------ ##
1980 ## Autoconf initialization. ##
1981 ## ------------------------ ##
1982
1983 # ac_fn_c_try_compile LINENO
1984 # --------------------------
1985 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1986 ac_fn_c_try_compile ()
1987 {
1988   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989   rm -f conftest.$ac_objext
1990   if { { ac_try="$ac_compile"
1991 case "(($ac_try" in
1992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993   *) ac_try_echo=$ac_try;;
1994 esac
1995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1996 $as_echo "$ac_try_echo"; } >&5
1997   (eval "$ac_compile") 2>conftest.err
1998   ac_status=$?
1999   if test -s conftest.err; then
2000     grep -v '^ *+' conftest.err >conftest.er1
2001     cat conftest.er1 >&5
2002     mv -f conftest.er1 conftest.err
2003   fi
2004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005   test $ac_status = 0; } && {
2006          test -z "$ac_c_werror_flag" ||
2007          test ! -s conftest.err
2008        } && test -s conftest.$ac_objext; then :
2009   ac_retval=0
2010 else
2011   $as_echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.$ac_ext >&5
2013
2014         ac_retval=1
2015 fi
2016   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2017   as_fn_set_status $ac_retval
2018
2019 } # ac_fn_c_try_compile
2020
2021 # ac_fn_c_try_link LINENO
2022 # -----------------------
2023 # Try to link conftest.$ac_ext, and return whether this succeeded.
2024 ac_fn_c_try_link ()
2025 {
2026   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027   rm -f conftest.$ac_objext conftest$ac_exeext
2028   if { { ac_try="$ac_link"
2029 case "(($ac_try" in
2030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031   *) ac_try_echo=$ac_try;;
2032 esac
2033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034 $as_echo "$ac_try_echo"; } >&5
2035   (eval "$ac_link") 2>conftest.err
2036   ac_status=$?
2037   if test -s conftest.err; then
2038     grep -v '^ *+' conftest.err >conftest.er1
2039     cat conftest.er1 >&5
2040     mv -f conftest.er1 conftest.err
2041   fi
2042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043   test $ac_status = 0; } && {
2044          test -z "$ac_c_werror_flag" ||
2045          test ! -s conftest.err
2046        } && test -s conftest$ac_exeext && {
2047          test "$cross_compiling" = yes ||
2048          $as_test_x conftest$ac_exeext
2049        }; then :
2050   ac_retval=0
2051 else
2052   $as_echo "$as_me: failed program was:" >&5
2053 sed 's/^/| /' conftest.$ac_ext >&5
2054
2055         ac_retval=1
2056 fi
2057   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2058   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2059   # interfere with the next link command; also delete a directory that is
2060   # left behind by Apple's compiler.  We do this before executing the actions.
2061   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2062   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2063   as_fn_set_status $ac_retval
2064
2065 } # ac_fn_c_try_link
2066
2067 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2068 # -------------------------------------------------------
2069 # Tests whether HEADER exists and can be compiled using the include files in
2070 # INCLUDES, setting the cache variable VAR accordingly.
2071 ac_fn_c_check_header_compile ()
2072 {
2073   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2075 $as_echo_n "checking for $2... " >&6; }
2076 if eval "test \"\${$3+set}\"" = set; then :
2077   $as_echo_n "(cached) " >&6
2078 else
2079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h.  */
2081 $4
2082 #include <$2>
2083 _ACEOF
2084 if ac_fn_c_try_compile "$LINENO"; then :
2085   eval "$3=yes"
2086 else
2087   eval "$3=no"
2088 fi
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 fi
2091 eval ac_res=\$$3
2092                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2093 $as_echo "$ac_res" >&6; }
2094   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2095
2096 } # ac_fn_c_check_header_compile
2097
2098 # ac_fn_c_try_cpp LINENO
2099 # ----------------------
2100 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2101 ac_fn_c_try_cpp ()
2102 {
2103   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104   if { { ac_try="$ac_cpp conftest.$ac_ext"
2105 case "(($ac_try" in
2106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2107   *) ac_try_echo=$ac_try;;
2108 esac
2109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2110 $as_echo "$ac_try_echo"; } >&5
2111   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2112   ac_status=$?
2113   if test -s conftest.err; then
2114     grep -v '^ *+' conftest.err >conftest.er1
2115     cat conftest.er1 >&5
2116     mv -f conftest.er1 conftest.err
2117   fi
2118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2119   test $ac_status = 0; } > conftest.i && {
2120          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2121          test ! -s conftest.err
2122        }; then :
2123   ac_retval=0
2124 else
2125   $as_echo "$as_me: failed program was:" >&5
2126 sed 's/^/| /' conftest.$ac_ext >&5
2127
2128     ac_retval=1
2129 fi
2130   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2131   as_fn_set_status $ac_retval
2132
2133 } # ac_fn_c_try_cpp
2134
2135 # ac_fn_c_try_run LINENO
2136 # ----------------------
2137 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2138 # that executables *can* be run.
2139 ac_fn_c_try_run ()
2140 {
2141   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2142   if { { ac_try="$ac_link"
2143 case "(($ac_try" in
2144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2145   *) ac_try_echo=$ac_try;;
2146 esac
2147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2148 $as_echo "$ac_try_echo"; } >&5
2149   (eval "$ac_link") 2>&5
2150   ac_status=$?
2151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2152   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2153   { { case "(($ac_try" in
2154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2155   *) ac_try_echo=$ac_try;;
2156 esac
2157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2158 $as_echo "$ac_try_echo"; } >&5
2159   (eval "$ac_try") 2>&5
2160   ac_status=$?
2161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2162   test $ac_status = 0; }; }; then :
2163   ac_retval=0
2164 else
2165   $as_echo "$as_me: program exited with status $ac_status" >&5
2166        $as_echo "$as_me: failed program was:" >&5
2167 sed 's/^/| /' conftest.$ac_ext >&5
2168
2169        ac_retval=$ac_status
2170 fi
2171   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2172   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2173   as_fn_set_status $ac_retval
2174
2175 } # ac_fn_c_try_run
2176
2177 # ac_fn_c_check_func LINENO FUNC VAR
2178 # ----------------------------------
2179 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2180 ac_fn_c_check_func ()
2181 {
2182   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2184 $as_echo_n "checking for $2... " >&6; }
2185 if eval "test \"\${$3+set}\"" = set; then :
2186   $as_echo_n "(cached) " >&6
2187 else
2188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h.  */
2190 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2192 #define $2 innocuous_$2
2193
2194 /* System header to define __stub macros and hopefully few prototypes,
2195     which can conflict with char $2 (); below.
2196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2197     <limits.h> exists even on freestanding compilers.  */
2198
2199 #ifdef __STDC__
2200 # include <limits.h>
2201 #else
2202 # include <assert.h>
2203 #endif
2204
2205 #undef $2
2206
2207 /* Override any GCC internal prototype to avoid an error.
2208    Use char because int might match the return type of a GCC
2209    builtin and then its argument prototype would still apply.  */
2210 #ifdef __cplusplus
2211 extern "C"
2212 #endif
2213 char $2 ();
2214 /* The GNU C library defines this for functions which it implements
2215     to always fail with ENOSYS.  Some functions are actually named
2216     something starting with __ and the normal name is an alias.  */
2217 #if defined __stub_$2 || defined __stub___$2
2218 choke me
2219 #endif
2220
2221 int
2222 main ()
2223 {
2224 return $2 ();
2225   ;
2226   return 0;
2227 }
2228 _ACEOF
2229 if ac_fn_c_try_link "$LINENO"; then :
2230   eval "$3=yes"
2231 else
2232   eval "$3=no"
2233 fi
2234 rm -f core conftest.err conftest.$ac_objext \
2235     conftest$ac_exeext conftest.$ac_ext
2236 fi
2237 eval ac_res=\$$3
2238                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2240   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2241
2242 } # ac_fn_c_check_func
2243
2244 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2245 # ---------------------------------------------
2246 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2247 # accordingly.
2248 ac_fn_c_check_decl ()
2249 {
2250   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251   as_decl_name=`echo $2|sed 's/ *(.*//'`
2252   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2254 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2255 if eval "test \"\${$3+set}\"" = set; then :
2256   $as_echo_n "(cached) " >&6
2257 else
2258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h.  */
2260 $4
2261 int
2262 main ()
2263 {
2264 #ifndef $as_decl_name
2265 #ifdef __cplusplus
2266   (void) $as_decl_use;
2267 #else
2268   (void) $as_decl_name;
2269 #endif
2270 #endif
2271
2272   ;
2273   return 0;
2274 }
2275 _ACEOF
2276 if ac_fn_c_try_compile "$LINENO"; then :
2277   eval "$3=yes"
2278 else
2279   eval "$3=no"
2280 fi
2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2282 fi
2283 eval ac_res=\$$3
2284                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2285 $as_echo "$ac_res" >&6; }
2286   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2287
2288 } # ac_fn_c_check_decl
2289
2290 # ac_fn_cxx_try_compile LINENO
2291 # ----------------------------
2292 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2293 ac_fn_cxx_try_compile ()
2294 {
2295   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2296   rm -f conftest.$ac_objext
2297   if { { ac_try="$ac_compile"
2298 case "(($ac_try" in
2299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300   *) ac_try_echo=$ac_try;;
2301 esac
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304   (eval "$ac_compile") 2>conftest.err
2305   ac_status=$?
2306   if test -s conftest.err; then
2307     grep -v '^ *+' conftest.err >conftest.er1
2308     cat conftest.er1 >&5
2309     mv -f conftest.er1 conftest.err
2310   fi
2311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312   test $ac_status = 0; } && {
2313          test -z "$ac_cxx_werror_flag" ||
2314          test ! -s conftest.err
2315        } && test -s conftest.$ac_objext; then :
2316   ac_retval=0
2317 else
2318   $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2320
2321         ac_retval=1
2322 fi
2323   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2324   as_fn_set_status $ac_retval
2325
2326 } # ac_fn_cxx_try_compile
2327
2328 # ac_fn_cxx_try_cpp LINENO
2329 # ------------------------
2330 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2331 ac_fn_cxx_try_cpp ()
2332 {
2333   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334   if { { ac_try="$ac_cpp conftest.$ac_ext"
2335 case "(($ac_try" in
2336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337   *) ac_try_echo=$ac_try;;
2338 esac
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2342   ac_status=$?
2343   if test -s conftest.err; then
2344     grep -v '^ *+' conftest.err >conftest.er1
2345     cat conftest.er1 >&5
2346     mv -f conftest.er1 conftest.err
2347   fi
2348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349   test $ac_status = 0; } > conftest.i && {
2350          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2351          test ! -s conftest.err
2352        }; then :
2353   ac_retval=0
2354 else
2355   $as_echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2357
2358     ac_retval=1
2359 fi
2360   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2361   as_fn_set_status $ac_retval
2362
2363 } # ac_fn_cxx_try_cpp
2364
2365 # ac_fn_cxx_try_link LINENO
2366 # -------------------------
2367 # Try to link conftest.$ac_ext, and return whether this succeeded.
2368 ac_fn_cxx_try_link ()
2369 {
2370   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2371   rm -f conftest.$ac_objext conftest$ac_exeext
2372   if { { ac_try="$ac_link"
2373 case "(($ac_try" in
2374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375   *) ac_try_echo=$ac_try;;
2376 esac
2377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2378 $as_echo "$ac_try_echo"; } >&5
2379   (eval "$ac_link") 2>conftest.err
2380   ac_status=$?
2381   if test -s conftest.err; then
2382     grep -v '^ *+' conftest.err >conftest.er1
2383     cat conftest.er1 >&5
2384     mv -f conftest.er1 conftest.err
2385   fi
2386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387   test $ac_status = 0; } && {
2388          test -z "$ac_cxx_werror_flag" ||
2389          test ! -s conftest.err
2390        } && test -s conftest$ac_exeext && {
2391          test "$cross_compiling" = yes ||
2392          $as_test_x conftest$ac_exeext
2393        }; then :
2394   ac_retval=0
2395 else
2396   $as_echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2398
2399         ac_retval=1
2400 fi
2401   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2402   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2403   # interfere with the next link command; also delete a directory that is
2404   # left behind by Apple's compiler.  We do this before executing the actions.
2405   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2406   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407   as_fn_set_status $ac_retval
2408
2409 } # ac_fn_cxx_try_link
2410
2411 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2412 # -------------------------------------------------------
2413 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2414 # the include files in INCLUDES and setting the cache variable VAR
2415 # accordingly.
2416 ac_fn_c_check_header_mongrel ()
2417 {
2418   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419   if eval "test \"\${$3+set}\"" = set; then :
2420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2421 $as_echo_n "checking for $2... " >&6; }
2422 if eval "test \"\${$3+set}\"" = set; then :
2423   $as_echo_n "(cached) " >&6
2424 fi
2425 eval ac_res=\$$3
2426                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2427 $as_echo "$ac_res" >&6; }
2428 else
2429   # Is the header compilable?
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2431 $as_echo_n "checking $2 usability... " >&6; }
2432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433 /* end confdefs.h.  */
2434 $4
2435 #include <$2>
2436 _ACEOF
2437 if ac_fn_c_try_compile "$LINENO"; then :
2438   ac_header_compiler=yes
2439 else
2440   ac_header_compiler=no
2441 fi
2442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2444 $as_echo "$ac_header_compiler" >&6; }
2445
2446 # Is the header present?
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2448 $as_echo_n "checking $2 presence... " >&6; }
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h.  */
2451 #include <$2>
2452 _ACEOF
2453 if ac_fn_c_try_cpp "$LINENO"; then :
2454   ac_header_preproc=yes
2455 else
2456   ac_header_preproc=no
2457 fi
2458 rm -f conftest.err conftest.i conftest.$ac_ext
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2460 $as_echo "$ac_header_preproc" >&6; }
2461
2462 # So?  What about this header?
2463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2464   yes:no: )
2465     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2466 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2467     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2468 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2469     ;;
2470   no:yes:* )
2471     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2472 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2473     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2474 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2475     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2476 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2477     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2478 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2479     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2480 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2481 ( $as_echo "## ------------------------------------------------------------------------ ##
2482 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2483 ## ------------------------------------------------------------------------ ##"
2484      ) | sed "s/^/$as_me: WARNING:     /" >&2
2485     ;;
2486 esac
2487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2488 $as_echo_n "checking for $2... " >&6; }
2489 if eval "test \"\${$3+set}\"" = set; then :
2490   $as_echo_n "(cached) " >&6
2491 else
2492   eval "$3=\$ac_header_compiler"
2493 fi
2494 eval ac_res=\$$3
2495                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2496 $as_echo "$ac_res" >&6; }
2497 fi
2498   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2499
2500 } # ac_fn_c_check_header_mongrel
2501
2502 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2503 # -------------------------------------------
2504 # Tests whether TYPE exists after having included INCLUDES, setting cache
2505 # variable VAR accordingly.
2506 ac_fn_c_check_type ()
2507 {
2508   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2510 $as_echo_n "checking for $2... " >&6; }
2511 if eval "test \"\${$3+set}\"" = set; then :
2512   $as_echo_n "(cached) " >&6
2513 else
2514   eval "$3=no"
2515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2516 /* end confdefs.h.  */
2517 $4
2518 int
2519 main ()
2520 {
2521 if (sizeof ($2))
2522          return 0;
2523   ;
2524   return 0;
2525 }
2526 _ACEOF
2527 if ac_fn_c_try_compile "$LINENO"; then :
2528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2529 /* end confdefs.h.  */
2530 $4
2531 int
2532 main ()
2533 {
2534 if (sizeof (($2)))
2535             return 0;
2536   ;
2537   return 0;
2538 }
2539 _ACEOF
2540 if ac_fn_c_try_compile "$LINENO"; then :
2541
2542 else
2543   eval "$3=yes"
2544 fi
2545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2546 fi
2547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2548 fi
2549 eval ac_res=\$$3
2550                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2551 $as_echo "$ac_res" >&6; }
2552   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2553
2554 } # ac_fn_c_check_type
2555
2556 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2557 # --------------------------------------------
2558 # Tries to find the compile-time value of EXPR in a program that includes
2559 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2560 # computed
2561 ac_fn_c_compute_int ()
2562 {
2563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2564   if test "$cross_compiling" = yes; then
2565     # Depending upon the size, compute the lo and hi bounds.
2566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2567 /* end confdefs.h.  */
2568 $4
2569 int
2570 main ()
2571 {
2572 static int test_array [1 - 2 * !(($2) >= 0)];
2573 test_array [0] = 0
2574
2575   ;
2576   return 0;
2577 }
2578 _ACEOF
2579 if ac_fn_c_try_compile "$LINENO"; then :
2580   ac_lo=0 ac_mid=0
2581   while :; do
2582     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h.  */
2584 $4
2585 int
2586 main ()
2587 {
2588 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2589 test_array [0] = 0
2590
2591   ;
2592   return 0;
2593 }
2594 _ACEOF
2595 if ac_fn_c_try_compile "$LINENO"; then :
2596   ac_hi=$ac_mid; break
2597 else
2598   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2599                         if test $ac_lo -le $ac_mid; then
2600                           ac_lo= ac_hi=
2601                           break
2602                         fi
2603                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2604 fi
2605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2606   done
2607 else
2608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h.  */
2610 $4
2611 int
2612 main ()
2613 {
2614 static int test_array [1 - 2 * !(($2) < 0)];
2615 test_array [0] = 0
2616
2617   ;
2618   return 0;
2619 }
2620 _ACEOF
2621 if ac_fn_c_try_compile "$LINENO"; then :
2622   ac_hi=-1 ac_mid=-1
2623   while :; do
2624     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h.  */
2626 $4
2627 int
2628 main ()
2629 {
2630 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2631 test_array [0] = 0
2632
2633   ;
2634   return 0;
2635 }
2636 _ACEOF
2637 if ac_fn_c_try_compile "$LINENO"; then :
2638   ac_lo=$ac_mid; break
2639 else
2640   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2641                         if test $ac_mid -le $ac_hi; then
2642                           ac_lo= ac_hi=
2643                           break
2644                         fi
2645                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2646 fi
2647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2648   done
2649 else
2650   ac_lo= ac_hi=
2651 fi
2652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2653 fi
2654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 # Binary search between lo and hi bounds.
2656 while test "x$ac_lo" != "x$ac_hi"; do
2657   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2659 /* end confdefs.h.  */
2660 $4
2661 int
2662 main ()
2663 {
2664 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2665 test_array [0] = 0
2666
2667   ;
2668   return 0;
2669 }
2670 _ACEOF
2671 if ac_fn_c_try_compile "$LINENO"; then :
2672   ac_hi=$ac_mid
2673 else
2674   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2675 fi
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 done
2678 case $ac_lo in #((
2679 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2680 '') ac_retval=1 ;;
2681 esac
2682   else
2683     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h.  */
2685 $4
2686 static long int longval () { return $2; }
2687 static unsigned long int ulongval () { return $2; }
2688 #include <stdio.h>
2689 #include <stdlib.h>
2690 int
2691 main ()
2692 {
2693
2694   FILE *f = fopen ("conftest.val", "w");
2695   if (! f)
2696     return 1;
2697   if (($2) < 0)
2698     {
2699       long int i = longval ();
2700       if (i != ($2))
2701         return 1;
2702       fprintf (f, "%ld", i);
2703     }
2704   else
2705     {
2706       unsigned long int i = ulongval ();
2707       if (i != ($2))
2708         return 1;
2709       fprintf (f, "%lu", i);
2710     }
2711   /* Do not output a trailing newline, as this causes \r\n confusion
2712      on some platforms.  */
2713   return ferror (f) || fclose (f) != 0;
2714
2715   ;
2716   return 0;
2717 }
2718 _ACEOF
2719 if ac_fn_c_try_run "$LINENO"; then :
2720   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2721 else
2722   ac_retval=1
2723 fi
2724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2725   conftest.$ac_objext conftest.beam conftest.$ac_ext
2726 rm -f conftest.val
2727
2728   fi
2729   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2730   as_fn_set_status $ac_retval
2731
2732 } # ac_fn_c_compute_int
2733 cat >config.log <<_ACEOF
2734 This file contains any messages produced by compilers while
2735 running configure, to aid debugging if configure makes a mistake.
2736
2737 It was created by GStreamer $as_me 0.10.34, which was
2738 generated by GNU Autoconf 2.67.  Invocation command line was
2739
2740   $ $0 $@
2741
2742 _ACEOF
2743 exec 5>>config.log
2744 {
2745 cat <<_ASUNAME
2746 ## --------- ##
2747 ## Platform. ##
2748 ## --------- ##
2749
2750 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2751 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2752 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2753 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2754 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2755
2756 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2757 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2758
2759 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2760 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2761 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2762 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2763 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2764 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2765 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2766
2767 _ASUNAME
2768
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 for as_dir in $PATH
2771 do
2772   IFS=$as_save_IFS
2773   test -z "$as_dir" && as_dir=.
2774     $as_echo "PATH: $as_dir"
2775   done
2776 IFS=$as_save_IFS
2777
2778 } >&5
2779
2780 cat >&5 <<_ACEOF
2781
2782
2783 ## ----------- ##
2784 ## Core tests. ##
2785 ## ----------- ##
2786
2787 _ACEOF
2788
2789
2790 # Keep a trace of the command line.
2791 # Strip out --no-create and --no-recursion so they do not pile up.
2792 # Strip out --silent because we don't want to record it for future runs.
2793 # Also quote any args containing shell meta-characters.
2794 # Make two passes to allow for proper duplicate-argument suppression.
2795 ac_configure_args=
2796 ac_configure_args0=
2797 ac_configure_args1=
2798 ac_must_keep_next=false
2799 for ac_pass in 1 2
2800 do
2801   for ac_arg
2802   do
2803     case $ac_arg in
2804     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2805     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2806     | -silent | --silent | --silen | --sile | --sil)
2807       continue ;;
2808     *\'*)
2809       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2810     esac
2811     case $ac_pass in
2812     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2813     2)
2814       as_fn_append ac_configure_args1 " '$ac_arg'"
2815       if test $ac_must_keep_next = true; then
2816         ac_must_keep_next=false # Got value, back to normal.
2817       else
2818         case $ac_arg in
2819           *=* | --config-cache | -C | -disable-* | --disable-* \
2820           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2821           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2822           | -with-* | --with-* | -without-* | --without-* | --x)
2823             case "$ac_configure_args0 " in
2824               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2825             esac
2826             ;;
2827           -* ) ac_must_keep_next=true ;;
2828         esac
2829       fi
2830       as_fn_append ac_configure_args " '$ac_arg'"
2831       ;;
2832     esac
2833   done
2834 done
2835 { ac_configure_args0=; unset ac_configure_args0;}
2836 { ac_configure_args1=; unset ac_configure_args1;}
2837
2838 # When interrupted or exit'd, cleanup temporary files, and complete
2839 # config.log.  We remove comments because anyway the quotes in there
2840 # would cause problems or look ugly.
2841 # WARNING: Use '\'' to represent an apostrophe within the trap.
2842 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2843 trap 'exit_status=$?
2844   # Save into config.log some information that might help in debugging.
2845   {
2846     echo
2847
2848     $as_echo "## ---------------- ##
2849 ## Cache variables. ##
2850 ## ---------------- ##"
2851     echo
2852     # The following way of writing the cache mishandles newlines in values,
2853 (
2854   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2855     eval ac_val=\$$ac_var
2856     case $ac_val in #(
2857     *${as_nl}*)
2858       case $ac_var in #(
2859       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2860 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2861       esac
2862       case $ac_var in #(
2863       _ | IFS | as_nl) ;; #(
2864       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2865       *) { eval $ac_var=; unset $ac_var;} ;;
2866       esac ;;
2867     esac
2868   done
2869   (set) 2>&1 |
2870     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2871     *${as_nl}ac_space=\ *)
2872       sed -n \
2873         "s/'\''/'\''\\\\'\'''\''/g;
2874           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2875       ;; #(
2876     *)
2877       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2878       ;;
2879     esac |
2880     sort
2881 )
2882     echo
2883
2884     $as_echo "## ----------------- ##
2885 ## Output variables. ##
2886 ## ----------------- ##"
2887     echo
2888     for ac_var in $ac_subst_vars
2889     do
2890       eval ac_val=\$$ac_var
2891       case $ac_val in
2892       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2893       esac
2894       $as_echo "$ac_var='\''$ac_val'\''"
2895     done | sort
2896     echo
2897
2898     if test -n "$ac_subst_files"; then
2899       $as_echo "## ------------------- ##
2900 ## File substitutions. ##
2901 ## ------------------- ##"
2902       echo
2903       for ac_var in $ac_subst_files
2904       do
2905         eval ac_val=\$$ac_var
2906         case $ac_val in
2907         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2908         esac
2909         $as_echo "$ac_var='\''$ac_val'\''"
2910       done | sort
2911       echo
2912     fi
2913
2914     if test -s confdefs.h; then
2915       $as_echo "## ----------- ##
2916 ## confdefs.h. ##
2917 ## ----------- ##"
2918       echo
2919       cat confdefs.h
2920       echo
2921     fi
2922     test "$ac_signal" != 0 &&
2923       $as_echo "$as_me: caught signal $ac_signal"
2924     $as_echo "$as_me: exit $exit_status"
2925   } >&5
2926   rm -f core *.core core.conftest.* &&
2927     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2928     exit $exit_status
2929 ' 0
2930 for ac_signal in 1 2 13 15; do
2931   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2932 done
2933 ac_signal=0
2934
2935 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2936 rm -f -r conftest* confdefs.h
2937
2938 $as_echo "/* confdefs.h */" > confdefs.h
2939
2940 # Predefined preprocessor variables.
2941
2942 cat >>confdefs.h <<_ACEOF
2943 #define PACKAGE_NAME "$PACKAGE_NAME"
2944 _ACEOF
2945
2946 cat >>confdefs.h <<_ACEOF
2947 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2948 _ACEOF
2949
2950 cat >>confdefs.h <<_ACEOF
2951 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2952 _ACEOF
2953
2954 cat >>confdefs.h <<_ACEOF
2955 #define PACKAGE_STRING "$PACKAGE_STRING"
2956 _ACEOF
2957
2958 cat >>confdefs.h <<_ACEOF
2959 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2960 _ACEOF
2961
2962 cat >>confdefs.h <<_ACEOF
2963 #define PACKAGE_URL "$PACKAGE_URL"
2964 _ACEOF
2965
2966
2967 # Let the site file select an alternate cache file if it wants to.
2968 # Prefer an explicitly selected file to automatically selected ones.
2969 ac_site_file1=NONE
2970 ac_site_file2=NONE
2971 if test -n "$CONFIG_SITE"; then
2972   # We do not want a PATH search for config.site.
2973   case $CONFIG_SITE in #((
2974     -*)  ac_site_file1=./$CONFIG_SITE;;
2975     */*) ac_site_file1=$CONFIG_SITE;;
2976     *)   ac_site_file1=./$CONFIG_SITE;;
2977   esac
2978 elif test "x$prefix" != xNONE; then
2979   ac_site_file1=$prefix/share/config.site
2980   ac_site_file2=$prefix/etc/config.site
2981 else
2982   ac_site_file1=$ac_default_prefix/share/config.site
2983   ac_site_file2=$ac_default_prefix/etc/config.site
2984 fi
2985 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2986 do
2987   test "x$ac_site_file" = xNONE && continue
2988   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2989     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2990 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2991     sed 's/^/| /' "$ac_site_file" >&5
2992     . "$ac_site_file" \
2993       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2995 as_fn_error $? "failed to load site script $ac_site_file
2996 See \`config.log' for more details" "$LINENO" 5 ; }
2997   fi
2998 done
2999
3000 if test -r "$cache_file"; then
3001   # Some versions of bash will fail to source /dev/null (special files
3002   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3003   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3004     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3005 $as_echo "$as_me: loading cache $cache_file" >&6;}
3006     case $cache_file in
3007       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3008       *)                      . "./$cache_file";;
3009     esac
3010   fi
3011 else
3012   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3013 $as_echo "$as_me: creating cache $cache_file" >&6;}
3014   >$cache_file
3015 fi
3016
3017 gt_needs="$gt_needs "
3018 as_fn_append ac_header_list " stdlib.h"
3019 as_fn_append ac_header_list " unistd.h"
3020 as_fn_append ac_header_list " sys/param.h"
3021 # Check that the precious variables saved in the cache have kept the same
3022 # value.
3023 ac_cache_corrupted=false
3024 for ac_var in $ac_precious_vars; do
3025   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3026   eval ac_new_set=\$ac_env_${ac_var}_set
3027   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3028   eval ac_new_val=\$ac_env_${ac_var}_value
3029   case $ac_old_set,$ac_new_set in
3030     set,)
3031       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3032 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3033       ac_cache_corrupted=: ;;
3034     ,set)
3035       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3036 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3037       ac_cache_corrupted=: ;;
3038     ,);;
3039     *)
3040       if test "x$ac_old_val" != "x$ac_new_val"; then
3041         # differences in whitespace do not lead to failure.
3042         ac_old_val_w=`echo x $ac_old_val`
3043         ac_new_val_w=`echo x $ac_new_val`
3044         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3045           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3046 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3047           ac_cache_corrupted=:
3048         else
3049           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3050 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3051           eval $ac_var=\$ac_old_val
3052         fi
3053         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3054 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3055         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3056 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3057       fi;;
3058   esac
3059   # Pass precious variables to config.status.
3060   if test "$ac_new_set" = set; then
3061     case $ac_new_val in
3062     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3063     *) ac_arg=$ac_var=$ac_new_val ;;
3064     esac
3065     case " $ac_configure_args " in
3066       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3067       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3068     esac
3069   fi
3070 done
3071 if $ac_cache_corrupted; then
3072   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3074   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3075 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3076   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3077 fi
3078 ## -------------------- ##
3079 ## Main body of script. ##
3080 ## -------------------- ##
3081
3082 ac_ext=c
3083 ac_cpp='$CPP $CPPFLAGS'
3084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3087
3088
3089
3090
3091
3092
3093 am__api_version='1.11'
3094
3095 ac_aux_dir=
3096 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3097   if test -f "$ac_dir/install-sh"; then
3098     ac_aux_dir=$ac_dir
3099     ac_install_sh="$ac_aux_dir/install-sh -c"
3100     break
3101   elif test -f "$ac_dir/install.sh"; then
3102     ac_aux_dir=$ac_dir
3103     ac_install_sh="$ac_aux_dir/install.sh -c"
3104     break
3105   elif test -f "$ac_dir/shtool"; then
3106     ac_aux_dir=$ac_dir
3107     ac_install_sh="$ac_aux_dir/shtool install -c"
3108     break
3109   fi
3110 done
3111 if test -z "$ac_aux_dir"; then
3112   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3113 fi
3114
3115 # These three variables are undocumented and unsupported,
3116 # and are intended to be withdrawn in a future Autoconf release.
3117 # They can cause serious problems if a builder's source tree is in a directory
3118 # whose full name contains unusual characters.
3119 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3120 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3121 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3122
3123
3124 # Find a good install program.  We prefer a C program (faster),
3125 # so one script is as good as another.  But avoid the broken or
3126 # incompatible versions:
3127 # SysV /etc/install, /usr/sbin/install
3128 # SunOS /usr/etc/install
3129 # IRIX /sbin/install
3130 # AIX /bin/install
3131 # AmigaOS /C/install, which installs bootblocks on floppy discs
3132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3135 # OS/2's system install, which has a completely different semantic
3136 # ./install, which can be erroneously created by make from ./install.sh.
3137 # Reject install programs that cannot install multiple files.
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3139 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3140 if test -z "$INSTALL"; then
3141 if test "${ac_cv_path_install+set}" = set; then :
3142   $as_echo_n "(cached) " >&6
3143 else
3144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH
3146 do
3147   IFS=$as_save_IFS
3148   test -z "$as_dir" && as_dir=.
3149     # Account for people who put trailing slashes in PATH elements.
3150 case $as_dir/ in #((
3151   ./ | .// | /[cC]/* | \
3152   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3153   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3154   /usr/ucb/* ) ;;
3155   *)
3156     # OSF1 and SCO ODT 3.0 have their own names for install.
3157     # Don't use installbsd from OSF since it installs stuff as root
3158     # by default.
3159     for ac_prog in ginstall scoinst install; do
3160       for ac_exec_ext in '' $ac_executable_extensions; do
3161         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3162           if test $ac_prog = install &&
3163             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3164             # AIX install.  It has an incompatible calling convention.
3165             :
3166           elif test $ac_prog = install &&
3167             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3168             # program-specific install script used by HP pwplus--don't use.
3169             :
3170           else
3171             rm -rf conftest.one conftest.two conftest.dir
3172             echo one > conftest.one
3173             echo two > conftest.two
3174             mkdir conftest.dir
3175             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3176               test -s conftest.one && test -s conftest.two &&
3177               test -s conftest.dir/conftest.one &&
3178               test -s conftest.dir/conftest.two
3179             then
3180               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3181               break 3
3182             fi
3183           fi
3184         fi
3185       done
3186     done
3187     ;;
3188 esac
3189
3190   done
3191 IFS=$as_save_IFS
3192
3193 rm -rf conftest.one conftest.two conftest.dir
3194
3195 fi
3196   if test "${ac_cv_path_install+set}" = set; then
3197     INSTALL=$ac_cv_path_install
3198   else
3199     # As a last resort, use the slow shell script.  Don't cache a
3200     # value for INSTALL within a source directory, because that will
3201     # break other packages using the cache if that directory is
3202     # removed, or if the value is a relative name.
3203     INSTALL=$ac_install_sh
3204   fi
3205 fi
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3207 $as_echo "$INSTALL" >&6; }
3208
3209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3210 # It thinks the first close brace ends the variable substitution.
3211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3212
3213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3214
3215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3216
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3218 $as_echo_n "checking whether build environment is sane... " >&6; }
3219 # Just in case
3220 sleep 1
3221 echo timestamp > conftest.file
3222 # Reject unsafe characters in $srcdir or the absolute working directory
3223 # name.  Accept space and tab only in the latter.
3224 am_lf='
3225 '
3226 case `pwd` in
3227   *[\\\"\#\$\&\'\`$am_lf]*)
3228     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3229 esac
3230 case $srcdir in
3231   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3232     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3233 esac
3234
3235 # Do `set' in a subshell so we don't clobber the current shell's
3236 # arguments.  Must try -L first in case configure is actually a
3237 # symlink; some systems play weird games with the mod time of symlinks
3238 # (eg FreeBSD returns the mod time of the symlink's containing
3239 # directory).
3240 if (
3241    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3242    if test "$*" = "X"; then
3243       # -L didn't work.
3244       set X `ls -t "$srcdir/configure" conftest.file`
3245    fi
3246    rm -f conftest.file
3247    if test "$*" != "X $srcdir/configure conftest.file" \
3248       && test "$*" != "X conftest.file $srcdir/configure"; then
3249
3250       # If neither matched, then we have a broken ls.  This can happen
3251       # if, for instance, CONFIG_SHELL is bash and it inherits a
3252       # broken ls alias from the environment.  This has actually
3253       # happened.  Such a system could not be considered "sane".
3254       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3255 alias in your environment" "$LINENO" 5
3256    fi
3257
3258    test "$2" = conftest.file
3259    )
3260 then
3261    # Ok.
3262    :
3263 else
3264    as_fn_error $? "newly created file is older than distributed files!
3265 Check your system clock" "$LINENO" 5
3266 fi
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3268 $as_echo "yes" >&6; }
3269 test "$program_prefix" != NONE &&
3270   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3271 # Use a double $ so make ignores it.
3272 test "$program_suffix" != NONE &&
3273   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3274 # Double any \ or $.
3275 # By default was `s,x,x', remove it if useless.
3276 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3277 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3278
3279 # expand $ac_aux_dir to an absolute path
3280 am_aux_dir=`cd $ac_aux_dir && pwd`
3281
3282 if test x"${MISSING+set}" != xset; then
3283   case $am_aux_dir in
3284   *\ * | *\     *)
3285     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3286   *)
3287     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3288   esac
3289 fi
3290 # Use eval to expand $SHELL
3291 if eval "$MISSING --run true"; then
3292   am_missing_run="$MISSING --run "
3293 else
3294   am_missing_run=
3295   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3296 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3297 fi
3298
3299 if test x"${install_sh}" != xset; then
3300   case $am_aux_dir in
3301   *\ * | *\     *)
3302     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3303   *)
3304     install_sh="\${SHELL} $am_aux_dir/install-sh"
3305   esac
3306 fi
3307
3308 # Installed binaries are usually stripped using `strip' when the user
3309 # run `make install-strip'.  However `strip' might not be the right
3310 # tool to use in cross-compilation environments, therefore Automake
3311 # will honor the `STRIP' environment variable to overrule this program.
3312 if test "$cross_compiling" != no; then
3313   if test -n "$ac_tool_prefix"; then
3314   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3315 set dummy ${ac_tool_prefix}strip; ac_word=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if test "${ac_cv_prog_STRIP+set}" = set; then :
3319   $as_echo_n "(cached) " >&6
3320 else
3321   if test -n "$STRIP"; then
3322   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3323 else
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH
3326 do
3327   IFS=$as_save_IFS
3328   test -z "$as_dir" && as_dir=.
3329     for ac_exec_ext in '' $ac_executable_extensions; do
3330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3331     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3333     break 2
3334   fi
3335 done
3336   done
3337 IFS=$as_save_IFS
3338
3339 fi
3340 fi
3341 STRIP=$ac_cv_prog_STRIP
3342 if test -n "$STRIP"; then
3343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3344 $as_echo "$STRIP" >&6; }
3345 else
3346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3348 fi
3349
3350
3351 fi
3352 if test -z "$ac_cv_prog_STRIP"; then
3353   ac_ct_STRIP=$STRIP
3354   # Extract the first word of "strip", so it can be a program name with args.
3355 set dummy strip; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3359   $as_echo_n "(cached) " >&6
3360 else
3361   if test -n "$ac_ct_STRIP"; then
3362   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3366 do
3367   IFS=$as_save_IFS
3368   test -z "$as_dir" && as_dir=.
3369     for ac_exec_ext in '' $ac_executable_extensions; do
3370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371     ac_cv_prog_ac_ct_STRIP="strip"
3372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373     break 2
3374   fi
3375 done
3376   done
3377 IFS=$as_save_IFS
3378
3379 fi
3380 fi
3381 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3382 if test -n "$ac_ct_STRIP"; then
3383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3384 $as_echo "$ac_ct_STRIP" >&6; }
3385 else
3386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3388 fi
3389
3390   if test "x$ac_ct_STRIP" = x; then
3391     STRIP=":"
3392   else
3393     case $cross_compiling:$ac_tool_warned in
3394 yes:)
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3397 ac_tool_warned=yes ;;
3398 esac
3399     STRIP=$ac_ct_STRIP
3400   fi
3401 else
3402   STRIP="$ac_cv_prog_STRIP"
3403 fi
3404
3405 fi
3406 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3407
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3409 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3410 if test -z "$MKDIR_P"; then
3411   if test "${ac_cv_path_mkdir+set}" = set; then :
3412   $as_echo_n "(cached) " >&6
3413 else
3414   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3416 do
3417   IFS=$as_save_IFS
3418   test -z "$as_dir" && as_dir=.
3419     for ac_prog in mkdir gmkdir; do
3420          for ac_exec_ext in '' $ac_executable_extensions; do
3421            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3422            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3423              'mkdir (GNU coreutils) '* | \
3424              'mkdir (coreutils) '* | \
3425              'mkdir (fileutils) '4.1*)
3426                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3427                break 3;;
3428            esac
3429          done
3430        done
3431   done
3432 IFS=$as_save_IFS
3433
3434 fi
3435
3436   test -d ./--version && rmdir ./--version
3437   if test "${ac_cv_path_mkdir+set}" = set; then
3438     MKDIR_P="$ac_cv_path_mkdir -p"
3439   else
3440     # As a last resort, use the slow shell script.  Don't cache a
3441     # value for MKDIR_P within a source directory, because that will
3442     # break other packages using the cache if that directory is
3443     # removed, or if the value is a relative name.
3444     MKDIR_P="$ac_install_sh -d"
3445   fi
3446 fi
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3448 $as_echo "$MKDIR_P" >&6; }
3449
3450 mkdir_p="$MKDIR_P"
3451 case $mkdir_p in
3452   [\\/$]* | ?:[\\/]*) ;;
3453   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3454 esac
3455
3456 for ac_prog in gawk mawk nawk awk
3457 do
3458   # Extract the first word of "$ac_prog", so it can be a program name with args.
3459 set dummy $ac_prog; ac_word=$2
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461 $as_echo_n "checking for $ac_word... " >&6; }
3462 if test "${ac_cv_prog_AWK+set}" = set; then :
3463   $as_echo_n "(cached) " >&6
3464 else
3465   if test -n "$AWK"; then
3466   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3467 else
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH
3470 do
3471   IFS=$as_save_IFS
3472   test -z "$as_dir" && as_dir=.
3473     for ac_exec_ext in '' $ac_executable_extensions; do
3474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3475     ac_cv_prog_AWK="$ac_prog"
3476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3477     break 2
3478   fi
3479 done
3480   done
3481 IFS=$as_save_IFS
3482
3483 fi
3484 fi
3485 AWK=$ac_cv_prog_AWK
3486 if test -n "$AWK"; then
3487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3488 $as_echo "$AWK" >&6; }
3489 else
3490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491 $as_echo "no" >&6; }
3492 fi
3493
3494
3495   test -n "$AWK" && break
3496 done
3497
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3499 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3500 set x ${MAKE-make}
3501 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3502 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3503   $as_echo_n "(cached) " >&6
3504 else
3505   cat >conftest.make <<\_ACEOF
3506 SHELL = /bin/sh
3507 all:
3508         @echo '@@@%%%=$(MAKE)=@@@%%%'
3509 _ACEOF
3510 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3511 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3512   *@@@%%%=?*=@@@%%%*)
3513     eval ac_cv_prog_make_${ac_make}_set=yes;;
3514   *)
3515     eval ac_cv_prog_make_${ac_make}_set=no;;
3516 esac
3517 rm -f conftest.make
3518 fi
3519 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3521 $as_echo "yes" >&6; }
3522   SET_MAKE=
3523 else
3524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3526   SET_MAKE="MAKE=${MAKE-make}"
3527 fi
3528
3529 rm -rf .tst 2>/dev/null
3530 mkdir .tst 2>/dev/null
3531 if test -d .tst; then
3532   am__leading_dot=.
3533 else
3534   am__leading_dot=_
3535 fi
3536 rmdir .tst 2>/dev/null
3537
3538 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3539   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3540   # is not polluted with repeated "-I."
3541   am__isrc=' -I$(srcdir)'
3542   # test to see if srcdir already configured
3543   if test -f $srcdir/config.status; then
3544     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3545   fi
3546 fi
3547
3548 # test whether we have cygpath
3549 if test -z "$CYGPATH_W"; then
3550   if (cygpath --version) >/dev/null 2>/dev/null; then
3551     CYGPATH_W='cygpath -w'
3552   else
3553     CYGPATH_W=echo
3554   fi
3555 fi
3556
3557
3558 # Define the identity of the package.
3559  PACKAGE='gstreamer'
3560  VERSION='0.10.34'
3561
3562
3563 cat >>confdefs.h <<_ACEOF
3564 #define PACKAGE "$PACKAGE"
3565 _ACEOF
3566
3567
3568 cat >>confdefs.h <<_ACEOF
3569 #define VERSION "$VERSION"
3570 _ACEOF
3571
3572 # Some tools Automake needs.
3573
3574 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3575
3576
3577 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3578
3579
3580 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3581
3582
3583 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3584
3585
3586 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3587
3588 # We need awk for the "check" target.  The system "awk" is bad on
3589 # some platforms.
3590 # Always define AMTAR for backward compatibility.
3591
3592 AMTAR=${AMTAR-"${am_missing_run}tar"}
3593
3594 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3595
3596
3597
3598
3599
3600
3601
3602   PACKAGE_VERSION_MAJOR=$(echo 0.10.34 | cut -d'.' -f1)
3603   PACKAGE_VERSION_MINOR=$(echo 0.10.34 | cut -d'.' -f2)
3604   PACKAGE_VERSION_MICRO=$(echo 0.10.34 | cut -d'.' -f3)
3605
3606
3607
3608
3609
3610
3611
3612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3613 $as_echo_n "checking nano version... " >&6; }
3614
3615   NANO=$(echo 0.10.34 | cut -d'.' -f4)
3616
3617   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3618     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3619 $as_echo "0 (release)" >&6; }
3620     NANO=0
3621     PACKAGE_VERSION_RELEASE=1
3622     GST_GIT="no"
3623   else
3624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3625 $as_echo "$NANO" >&6; }
3626     PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3627     if test "x$NANO" != "x1" ; then
3628        GST_GIT="no"
3629     else
3630        GST_GIT="yes"
3631     fi
3632   fi
3633   PACKAGE_VERSION_NANO=$NANO
3634
3635
3636
3637
3638
3639
3640 ac_config_headers="$ac_config_headers config.h"
3641
3642
3643
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3645 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3646     # Check whether --enable-maintainer-mode was given.
3647 if test "${enable_maintainer_mode+set}" = set; then :
3648   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3649 else
3650   USE_MAINTAINER_MODE=no
3651 fi
3652
3653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3654 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3655    if test $USE_MAINTAINER_MODE = yes; then
3656   MAINTAINER_MODE_TRUE=
3657   MAINTAINER_MODE_FALSE='#'
3658 else
3659   MAINTAINER_MODE_TRUE='#'
3660   MAINTAINER_MODE_FALSE=
3661 fi
3662
3663   MAINT=$MAINTAINER_MODE_TRUE
3664
3665
3666
3667 # Make sure we can run config.sub.
3668 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3669   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3670
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3672 $as_echo_n "checking build system type... " >&6; }
3673 if test "${ac_cv_build+set}" = set; then :
3674   $as_echo_n "(cached) " >&6
3675 else
3676   ac_build_alias=$build_alias
3677 test "x$ac_build_alias" = x &&
3678   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3679 test "x$ac_build_alias" = x &&
3680   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3681 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3682   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3683
3684 fi
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3686 $as_echo "$ac_cv_build" >&6; }
3687 case $ac_cv_build in
3688 *-*-*) ;;
3689 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3690 esac
3691 build=$ac_cv_build
3692 ac_save_IFS=$IFS; IFS='-'
3693 set x $ac_cv_build
3694 shift
3695 build_cpu=$1
3696 build_vendor=$2
3697 shift; shift
3698 # Remember, the first character of IFS is used to create $*,
3699 # except with old shells:
3700 build_os=$*
3701 IFS=$ac_save_IFS
3702 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3703
3704
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3706 $as_echo_n "checking host system type... " >&6; }
3707 if test "${ac_cv_host+set}" = set; then :
3708   $as_echo_n "(cached) " >&6
3709 else
3710   if test "x$host_alias" = x; then
3711   ac_cv_host=$ac_cv_build
3712 else
3713   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3714     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3715 fi
3716
3717 fi
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3719 $as_echo "$ac_cv_host" >&6; }
3720 case $ac_cv_host in
3721 *-*-*) ;;
3722 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3723 esac
3724 host=$ac_cv_host
3725 ac_save_IFS=$IFS; IFS='-'
3726 set x $ac_cv_host
3727 shift
3728 host_cpu=$1
3729 host_vendor=$2
3730 shift; shift
3731 # Remember, the first character of IFS is used to create $*,
3732 # except with old shells:
3733 host_os=$*
3734 IFS=$ac_save_IFS
3735 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3736
3737
3738
3739 # Check whether --enable-silent-rules was given.
3740 if test "${enable_silent_rules+set}" = set; then :
3741   enableval=$enable_silent_rules;
3742 fi
3743
3744 case $enable_silent_rules in
3745 yes) AM_DEFAULT_VERBOSITY=0;;
3746 no)  AM_DEFAULT_VERBOSITY=1;;
3747 *)   AM_DEFAULT_VERBOSITY=0;;
3748 esac
3749 AM_BACKSLASH='\'
3750
3751
3752 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3753 GST_MAJORMINOR=0.10
3754
3755
3756 cat >>confdefs.h <<_ACEOF
3757 #define GST_MAJORMINOR "$GST_MAJORMINOR"
3758 _ACEOF
3759
3760
3761
3762   GST_CURRENT=29
3763   GST_REVISION=0
3764   GST_AGE=29
3765   GST_LIBVERSION=29:0:29
3766
3767
3768
3769
3770
3771   GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
3772   if test ! -z ""
3773   then
3774     GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
3775   fi
3776
3777
3778   enable_dlopen=yes
3779
3780
3781
3782
3783
3784
3785 enable_win32_dll=yes
3786
3787 case $host in
3788 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3789   if test -n "$ac_tool_prefix"; then
3790   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3791 set dummy ${ac_tool_prefix}as; ac_word=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if test "${ac_cv_prog_AS+set}" = set; then :
3795   $as_echo_n "(cached) " >&6
3796 else
3797   if test -n "$AS"; then
3798   ac_cv_prog_AS="$AS" # Let the user override the test.
3799 else
3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 for as_dir in $PATH
3802 do
3803   IFS=$as_save_IFS
3804   test -z "$as_dir" && as_dir=.
3805     for ac_exec_ext in '' $ac_executable_extensions; do
3806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3807     ac_cv_prog_AS="${ac_tool_prefix}as"
3808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3809     break 2
3810   fi
3811 done
3812   done
3813 IFS=$as_save_IFS
3814
3815 fi
3816 fi
3817 AS=$ac_cv_prog_AS
3818 if test -n "$AS"; then
3819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3820 $as_echo "$AS" >&6; }
3821 else
3822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3824 fi
3825
3826
3827 fi
3828 if test -z "$ac_cv_prog_AS"; then
3829   ac_ct_AS=$AS
3830   # Extract the first word of "as", so it can be a program name with args.
3831 set dummy as; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3835   $as_echo_n "(cached) " >&6
3836 else
3837   if test -n "$ac_ct_AS"; then
3838   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3839 else
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH
3842 do
3843   IFS=$as_save_IFS
3844   test -z "$as_dir" && as_dir=.
3845     for ac_exec_ext in '' $ac_executable_extensions; do
3846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847     ac_cv_prog_ac_ct_AS="as"
3848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849     break 2
3850   fi
3851 done
3852   done
3853 IFS=$as_save_IFS
3854
3855 fi
3856 fi
3857 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3858 if test -n "$ac_ct_AS"; then
3859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3860 $as_echo "$ac_ct_AS" >&6; }
3861 else
3862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3864 fi
3865
3866   if test "x$ac_ct_AS" = x; then
3867     AS="false"
3868   else
3869     case $cross_compiling:$ac_tool_warned in
3870 yes:)
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3873 ac_tool_warned=yes ;;
3874 esac
3875     AS=$ac_ct_AS
3876   fi
3877 else
3878   AS="$ac_cv_prog_AS"
3879 fi
3880
3881   if test -n "$ac_tool_prefix"; then
3882   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3883 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3887   $as_echo_n "(cached) " >&6
3888 else
3889   if test -n "$DLLTOOL"; then
3890   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3891 else
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 for as_dir in $PATH
3894 do
3895   IFS=$as_save_IFS
3896   test -z "$as_dir" && as_dir=.
3897     for ac_exec_ext in '' $ac_executable_extensions; do
3898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901     break 2
3902   fi
3903 done
3904   done
3905 IFS=$as_save_IFS
3906
3907 fi
3908 fi
3909 DLLTOOL=$ac_cv_prog_DLLTOOL
3910 if test -n "$DLLTOOL"; then
3911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3912 $as_echo "$DLLTOOL" >&6; }
3913 else
3914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3916 fi
3917
3918
3919 fi
3920 if test -z "$ac_cv_prog_DLLTOOL"; then
3921   ac_ct_DLLTOOL=$DLLTOOL
3922   # Extract the first word of "dlltool", so it can be a program name with args.
3923 set dummy dlltool; ac_word=$2
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3927   $as_echo_n "(cached) " >&6
3928 else
3929   if test -n "$ac_ct_DLLTOOL"; then
3930   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3931 else
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 for as_dir in $PATH
3934 do
3935   IFS=$as_save_IFS
3936   test -z "$as_dir" && as_dir=.
3937     for ac_exec_ext in '' $ac_executable_extensions; do
3938   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941     break 2
3942   fi
3943 done
3944   done
3945 IFS=$as_save_IFS
3946
3947 fi
3948 fi
3949 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3950 if test -n "$ac_ct_DLLTOOL"; then
3951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3952 $as_echo "$ac_ct_DLLTOOL" >&6; }
3953 else
3954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3956 fi
3957
3958   if test "x$ac_ct_DLLTOOL" = x; then
3959     DLLTOOL="false"
3960   else
3961     case $cross_compiling:$ac_tool_warned in
3962 yes:)
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3965 ac_tool_warned=yes ;;
3966 esac
3967     DLLTOOL=$ac_ct_DLLTOOL
3968   fi
3969 else
3970   DLLTOOL="$ac_cv_prog_DLLTOOL"
3971 fi
3972
3973   if test -n "$ac_tool_prefix"; then
3974   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3975 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3979   $as_echo_n "(cached) " >&6
3980 else
3981   if test -n "$OBJDUMP"; then
3982   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3983 else
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 for as_dir in $PATH
3986 do
3987   IFS=$as_save_IFS
3988   test -z "$as_dir" && as_dir=.
3989     for ac_exec_ext in '' $ac_executable_extensions; do
3990   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993     break 2
3994   fi
3995 done
3996   done
3997 IFS=$as_save_IFS
3998
3999 fi
4000 fi
4001 OBJDUMP=$ac_cv_prog_OBJDUMP
4002 if test -n "$OBJDUMP"; then
4003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4004 $as_echo "$OBJDUMP" >&6; }
4005 else
4006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4008 fi
4009
4010
4011 fi
4012 if test -z "$ac_cv_prog_OBJDUMP"; then
4013   ac_ct_OBJDUMP=$OBJDUMP
4014   # Extract the first word of "objdump", so it can be a program name with args.
4015 set dummy objdump; ac_word=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4019   $as_echo_n "(cached) " >&6
4020 else
4021   if test -n "$ac_ct_OBJDUMP"; then
4022   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4023 else
4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4025 for as_dir in $PATH
4026 do
4027   IFS=$as_save_IFS
4028   test -z "$as_dir" && as_dir=.
4029     for ac_exec_ext in '' $ac_executable_extensions; do
4030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4031     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4033     break 2
4034   fi
4035 done
4036   done
4037 IFS=$as_save_IFS
4038
4039 fi
4040 fi
4041 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4042 if test -n "$ac_ct_OBJDUMP"; then
4043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4044 $as_echo "$ac_ct_OBJDUMP" >&6; }
4045 else
4046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4047 $as_echo "no" >&6; }
4048 fi
4049
4050   if test "x$ac_ct_OBJDUMP" = x; then
4051     OBJDUMP="false"
4052   else
4053     case $cross_compiling:$ac_tool_warned in
4054 yes:)
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4057 ac_tool_warned=yes ;;
4058 esac
4059     OBJDUMP=$ac_ct_OBJDUMP
4060   fi
4061 else
4062   OBJDUMP="$ac_cv_prog_OBJDUMP"
4063 fi
4064
4065   ;;
4066 esac
4067
4068 test -z "$AS" && AS=as
4069
4070
4071
4072
4073
4074 test -z "$DLLTOOL" && DLLTOOL=dlltool
4075
4076
4077
4078
4079
4080 test -z "$OBJDUMP" && OBJDUMP=objdump
4081
4082
4083
4084
4085
4086
4087
4088 case `pwd` in
4089   *\ * | *\     *)
4090     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4091 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4092 esac
4093
4094
4095
4096 macro_version='2.2.6b'
4097 macro_revision='1.3017'
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111 ltmain="$ac_aux_dir/ltmain.sh"
4112
4113 DEPDIR="${am__leading_dot}deps"
4114
4115 ac_config_commands="$ac_config_commands depfiles"
4116
4117
4118 am_make=${MAKE-make}
4119 cat > confinc << 'END'
4120 am__doit:
4121         @echo this is the am__doit target
4122 .PHONY: am__doit
4123 END
4124 # If we don't find an include directive, just comment out the code.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4126 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4127 am__include="#"
4128 am__quote=
4129 _am_result=none
4130 # First try GNU make style include.
4131 echo "include confinc" > confmf
4132 # Ignore all kinds of additional output from `make'.
4133 case `$am_make -s -f confmf 2> /dev/null` in #(
4134 *the\ am__doit\ target*)
4135   am__include=include
4136   am__quote=
4137   _am_result=GNU
4138   ;;
4139 esac
4140 # Now try BSD make style include.
4141 if test "$am__include" = "#"; then
4142    echo '.include "confinc"' > confmf
4143    case `$am_make -s -f confmf 2> /dev/null` in #(
4144    *the\ am__doit\ target*)
4145      am__include=.include
4146      am__quote="\""
4147      _am_result=BSD
4148      ;;
4149    esac
4150 fi
4151
4152
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4154 $as_echo "$_am_result" >&6; }
4155 rm -f confinc confmf
4156
4157 # Check whether --enable-dependency-tracking was given.
4158 if test "${enable_dependency_tracking+set}" = set; then :
4159   enableval=$enable_dependency_tracking;
4160 fi
4161
4162 if test "x$enable_dependency_tracking" != xno; then
4163   am_depcomp="$ac_aux_dir/depcomp"
4164   AMDEPBACKSLASH='\'
4165 fi
4166  if test "x$enable_dependency_tracking" != xno; then
4167   AMDEP_TRUE=
4168   AMDEP_FALSE='#'
4169 else
4170   AMDEP_TRUE='#'
4171   AMDEP_FALSE=
4172 fi
4173
4174
4175 ac_ext=c
4176 ac_cpp='$CPP $CPPFLAGS'
4177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4180 if test -n "$ac_tool_prefix"; then
4181   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4182 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if test "${ac_cv_prog_CC+set}" = set; then :
4186   $as_echo_n "(cached) " >&6
4187 else
4188   if test -n "$CC"; then
4189   ac_cv_prog_CC="$CC" # Let the user override the test.
4190 else
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 for as_dir in $PATH
4193 do
4194   IFS=$as_save_IFS
4195   test -z "$as_dir" && as_dir=.
4196     for ac_exec_ext in '' $ac_executable_extensions; do
4197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4198     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200     break 2
4201   fi
4202 done
4203   done
4204 IFS=$as_save_IFS
4205
4206 fi
4207 fi
4208 CC=$ac_cv_prog_CC
4209 if test -n "$CC"; then
4210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4211 $as_echo "$CC" >&6; }
4212 else
4213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4215 fi
4216
4217
4218 fi
4219 if test -z "$ac_cv_prog_CC"; then
4220   ac_ct_CC=$CC
4221   # Extract the first word of "gcc", so it can be a program name with args.
4222 set dummy gcc; ac_word=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4226   $as_echo_n "(cached) " >&6
4227 else
4228   if test -n "$ac_ct_CC"; then
4229   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4230 else
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 for as_dir in $PATH
4233 do
4234   IFS=$as_save_IFS
4235   test -z "$as_dir" && as_dir=.
4236     for ac_exec_ext in '' $ac_executable_extensions; do
4237   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4238     ac_cv_prog_ac_ct_CC="gcc"
4239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4240     break 2
4241   fi
4242 done
4243   done
4244 IFS=$as_save_IFS
4245
4246 fi
4247 fi
4248 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4249 if test -n "$ac_ct_CC"; then
4250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4251 $as_echo "$ac_ct_CC" >&6; }
4252 else
4253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4255 fi
4256
4257   if test "x$ac_ct_CC" = x; then
4258     CC=""
4259   else
4260     case $cross_compiling:$ac_tool_warned in
4261 yes:)
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4264 ac_tool_warned=yes ;;
4265 esac
4266     CC=$ac_ct_CC
4267   fi
4268 else
4269   CC="$ac_cv_prog_CC"
4270 fi
4271
4272 if test -z "$CC"; then
4273           if test -n "$ac_tool_prefix"; then
4274     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4275 set dummy ${ac_tool_prefix}cc; ac_word=$2
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277 $as_echo_n "checking for $ac_word... " >&6; }
4278 if test "${ac_cv_prog_CC+set}" = set; then :
4279   $as_echo_n "(cached) " >&6
4280 else
4281   if test -n "$CC"; then
4282   ac_cv_prog_CC="$CC" # Let the user override the test.
4283 else
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 for as_dir in $PATH
4286 do
4287   IFS=$as_save_IFS
4288   test -z "$as_dir" && as_dir=.
4289     for ac_exec_ext in '' $ac_executable_extensions; do
4290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4291     ac_cv_prog_CC="${ac_tool_prefix}cc"
4292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293     break 2
4294   fi
4295 done
4296   done
4297 IFS=$as_save_IFS
4298
4299 fi
4300 fi
4301 CC=$ac_cv_prog_CC
4302 if test -n "$CC"; then
4303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4304 $as_echo "$CC" >&6; }
4305 else
4306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4308 fi
4309
4310
4311   fi
4312 fi
4313 if test -z "$CC"; then
4314   # Extract the first word of "cc", so it can be a program name with args.
4315 set dummy cc; ac_word=$2
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4317 $as_echo_n "checking for $ac_word... " >&6; }
4318 if test "${ac_cv_prog_CC+set}" = set; then :
4319   $as_echo_n "(cached) " >&6
4320 else
4321   if test -n "$CC"; then
4322   ac_cv_prog_CC="$CC" # Let the user override the test.
4323 else
4324   ac_prog_rejected=no
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 for as_dir in $PATH
4327 do
4328   IFS=$as_save_IFS
4329   test -z "$as_dir" && as_dir=.
4330     for ac_exec_ext in '' $ac_executable_extensions; do
4331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4333        ac_prog_rejected=yes
4334        continue
4335      fi
4336     ac_cv_prog_CC="cc"
4337     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338     break 2
4339   fi
4340 done
4341   done
4342 IFS=$as_save_IFS
4343
4344 if test $ac_prog_rejected = yes; then
4345   # We found a bogon in the path, so make sure we never use it.
4346   set dummy $ac_cv_prog_CC
4347   shift
4348   if test $# != 0; then
4349     # We chose a different compiler from the bogus one.
4350     # However, it has the same basename, so the bogon will be chosen
4351     # first if we set CC to just the basename; use the full file name.
4352     shift
4353     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4354   fi
4355 fi
4356 fi
4357 fi
4358 CC=$ac_cv_prog_CC
4359 if test -n "$CC"; then
4360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4361 $as_echo "$CC" >&6; }
4362 else
4363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4365 fi
4366
4367
4368 fi
4369 if test -z "$CC"; then
4370   if test -n "$ac_tool_prefix"; then
4371   for ac_prog in cl.exe
4372   do
4373     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if test "${ac_cv_prog_CC+set}" = set; then :
4378   $as_echo_n "(cached) " >&6
4379 else
4380   if test -n "$CC"; then
4381   ac_cv_prog_CC="$CC" # Let the user override the test.
4382 else
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4385 do
4386   IFS=$as_save_IFS
4387   test -z "$as_dir" && as_dir=.
4388     for ac_exec_ext in '' $ac_executable_extensions; do
4389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4390     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392     break 2
4393   fi
4394 done
4395   done
4396 IFS=$as_save_IFS
4397
4398 fi
4399 fi
4400 CC=$ac_cv_prog_CC
4401 if test -n "$CC"; then
4402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4403 $as_echo "$CC" >&6; }
4404 else
4405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4407 fi
4408
4409
4410     test -n "$CC" && break
4411   done
4412 fi
4413 if test -z "$CC"; then
4414   ac_ct_CC=$CC
4415   for ac_prog in cl.exe
4416 do
4417   # Extract the first word of "$ac_prog", so it can be a program name with args.
4418 set dummy $ac_prog; ac_word=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4422   $as_echo_n "(cached) " >&6
4423 else
4424   if test -n "$ac_ct_CC"; then
4425   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4426 else
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 for as_dir in $PATH
4429 do
4430   IFS=$as_save_IFS
4431   test -z "$as_dir" && as_dir=.
4432     for ac_exec_ext in '' $ac_executable_extensions; do
4433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4434     ac_cv_prog_ac_ct_CC="$ac_prog"
4435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436     break 2
4437   fi
4438 done
4439   done
4440 IFS=$as_save_IFS
4441
4442 fi
4443 fi
4444 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4445 if test -n "$ac_ct_CC"; then
4446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4447 $as_echo "$ac_ct_CC" >&6; }
4448 else
4449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4451 fi
4452
4453
4454   test -n "$ac_ct_CC" && break
4455 done
4456
4457   if test "x$ac_ct_CC" = x; then
4458     CC=""
4459   else
4460     case $cross_compiling:$ac_tool_warned in
4461 yes:)
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464 ac_tool_warned=yes ;;
4465 esac
4466     CC=$ac_ct_CC
4467   fi
4468 fi
4469
4470 fi
4471
4472
4473 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4475 as_fn_error $? "no acceptable C compiler found in \$PATH
4476 See \`config.log' for more details" "$LINENO" 5 ; }
4477
4478 # Provide some information about the compiler.
4479 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4480 set X $ac_compile
4481 ac_compiler=$2
4482 for ac_option in --version -v -V -qversion; do
4483   { { ac_try="$ac_compiler $ac_option >&5"
4484 case "(($ac_try" in
4485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4486   *) ac_try_echo=$ac_try;;
4487 esac
4488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4489 $as_echo "$ac_try_echo"; } >&5
4490   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4491   ac_status=$?
4492   if test -s conftest.err; then
4493     sed '10a\
4494 ... rest of stderr output deleted ...
4495          10q' conftest.err >conftest.er1
4496     cat conftest.er1 >&5
4497   fi
4498   rm -f conftest.er1 conftest.err
4499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4500   test $ac_status = 0; }
4501 done
4502
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h.  */
4505
4506 int
4507 main ()
4508 {
4509
4510   ;
4511   return 0;
4512 }
4513 _ACEOF
4514 ac_clean_files_save=$ac_clean_files
4515 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4516 # Try to create an executable without -o first, disregard a.out.
4517 # It will help us diagnose broken compilers, and finding out an intuition
4518 # of exeext.
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4520 $as_echo_n "checking whether the C compiler works... " >&6; }
4521 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4522
4523 # The possible output files:
4524 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4525
4526 ac_rmfiles=
4527 for ac_file in $ac_files
4528 do
4529   case $ac_file in
4530     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4531     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4532   esac
4533 done
4534 rm -f $ac_rmfiles
4535
4536 if { { ac_try="$ac_link_default"
4537 case "(($ac_try" in
4538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539   *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543   (eval "$ac_link_default") 2>&5
4544   ac_status=$?
4545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4546   test $ac_status = 0; }; then :
4547   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4548 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4549 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4550 # so that the user can short-circuit this test for compilers unknown to
4551 # Autoconf.
4552 for ac_file in $ac_files ''
4553 do
4554   test -f "$ac_file" || continue
4555   case $ac_file in
4556     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4557         ;;
4558     [ab].out )
4559         # We found the default executable, but exeext='' is most
4560         # certainly right.
4561         break;;
4562     *.* )
4563         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4564         then :; else
4565            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4566         fi
4567         # We set ac_cv_exeext here because the later test for it is not
4568         # safe: cross compilers may not add the suffix if given an `-o'
4569         # argument, so we may need to know it at that point already.
4570         # Even if this section looks crufty: it has the advantage of
4571         # actually working.
4572         break;;
4573     * )
4574         break;;
4575   esac
4576 done
4577 test "$ac_cv_exeext" = no && ac_cv_exeext=
4578
4579 else
4580   ac_file=''
4581 fi
4582 if test -z "$ac_file"; then :
4583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4585 $as_echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4587
4588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4590 as_fn_error 77 "C compiler cannot create executables
4591 See \`config.log' for more details" "$LINENO" 5 ; }
4592 else
4593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4594 $as_echo "yes" >&6; }
4595 fi
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4597 $as_echo_n "checking for C compiler default output file name... " >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4599 $as_echo "$ac_file" >&6; }
4600 ac_exeext=$ac_cv_exeext
4601
4602 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4603 ac_clean_files=$ac_clean_files_save
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4605 $as_echo_n "checking for suffix of executables... " >&6; }
4606 if { { ac_try="$ac_link"
4607 case "(($ac_try" in
4608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4609   *) ac_try_echo=$ac_try;;
4610 esac
4611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4612 $as_echo "$ac_try_echo"; } >&5
4613   (eval "$ac_link") 2>&5
4614   ac_status=$?
4615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4616   test $ac_status = 0; }; then :
4617   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4618 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4619 # work properly (i.e., refer to `conftest.exe'), while it won't with
4620 # `rm'.
4621 for ac_file in conftest.exe conftest conftest.*; do
4622   test -f "$ac_file" || continue
4623   case $ac_file in
4624     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4625     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4626           break;;
4627     * ) break;;
4628   esac
4629 done
4630 else
4631   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4633 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4634 See \`config.log' for more details" "$LINENO" 5 ; }
4635 fi
4636 rm -f conftest conftest$ac_cv_exeext
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4638 $as_echo "$ac_cv_exeext" >&6; }
4639
4640 rm -f conftest.$ac_ext
4641 EXEEXT=$ac_cv_exeext
4642 ac_exeext=$EXEEXT
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h.  */
4645 #include <stdio.h>
4646 int
4647 main ()
4648 {
4649 FILE *f = fopen ("conftest.out", "w");
4650  return ferror (f) || fclose (f) != 0;
4651
4652   ;
4653   return 0;
4654 }
4655 _ACEOF
4656 ac_clean_files="$ac_clean_files conftest.out"
4657 # Check that the compiler produces executables we can run.  If not, either
4658 # the compiler is broken, or we cross compile.
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4660 $as_echo_n "checking whether we are cross compiling... " >&6; }
4661 if test "$cross_compiling" != yes; then
4662   { { ac_try="$ac_link"
4663 case "(($ac_try" in
4664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4665   *) ac_try_echo=$ac_try;;
4666 esac
4667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4668 $as_echo "$ac_try_echo"; } >&5
4669   (eval "$ac_link") 2>&5
4670   ac_status=$?
4671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4672   test $ac_status = 0; }
4673   if { ac_try='./conftest$ac_cv_exeext'
4674   { { case "(($ac_try" in
4675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4676   *) ac_try_echo=$ac_try;;
4677 esac
4678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4679 $as_echo "$ac_try_echo"; } >&5
4680   (eval "$ac_try") 2>&5
4681   ac_status=$?
4682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4683   test $ac_status = 0; }; }; then
4684     cross_compiling=no
4685   else
4686     if test "$cross_compiling" = maybe; then
4687         cross_compiling=yes
4688     else
4689         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4691 as_fn_error $? "cannot run C compiled programs.
4692 If you meant to cross compile, use \`--host'.
4693 See \`config.log' for more details" "$LINENO" 5 ; }
4694     fi
4695   fi
4696 fi
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4698 $as_echo "$cross_compiling" >&6; }
4699
4700 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4701 ac_clean_files=$ac_clean_files_save
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4703 $as_echo_n "checking for suffix of object files... " >&6; }
4704 if test "${ac_cv_objext+set}" = set; then :
4705   $as_echo_n "(cached) " >&6
4706 else
4707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h.  */
4709
4710 int
4711 main ()
4712 {
4713
4714   ;
4715   return 0;
4716 }
4717 _ACEOF
4718 rm -f conftest.o conftest.obj
4719 if { { ac_try="$ac_compile"
4720 case "(($ac_try" in
4721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722   *) ac_try_echo=$ac_try;;
4723 esac
4724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4725 $as_echo "$ac_try_echo"; } >&5
4726   (eval "$ac_compile") 2>&5
4727   ac_status=$?
4728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4729   test $ac_status = 0; }; then :
4730   for ac_file in conftest.o conftest.obj conftest.*; do
4731   test -f "$ac_file" || continue;
4732   case $ac_file in
4733     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4734     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4735        break;;
4736   esac
4737 done
4738 else
4739   $as_echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4741
4742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4744 as_fn_error $? "cannot compute suffix of object files: cannot compile
4745 See \`config.log' for more details" "$LINENO" 5 ; }
4746 fi
4747 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4748 fi
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4750 $as_echo "$ac_cv_objext" >&6; }
4751 OBJEXT=$ac_cv_objext
4752 ac_objext=$OBJEXT
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4754 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4755 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4756   $as_echo_n "(cached) " >&6
4757 else
4758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h.  */
4760
4761 int
4762 main ()
4763 {
4764 #ifndef __GNUC__
4765        choke me
4766 #endif
4767
4768   ;
4769   return 0;
4770 }
4771 _ACEOF
4772 if ac_fn_c_try_compile "$LINENO"; then :
4773   ac_compiler_gnu=yes
4774 else
4775   ac_compiler_gnu=no
4776 fi
4777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4779
4780 fi
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4782 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4783 if test $ac_compiler_gnu = yes; then
4784   GCC=yes
4785 else
4786   GCC=
4787 fi
4788 ac_test_CFLAGS=${CFLAGS+set}
4789 ac_save_CFLAGS=$CFLAGS
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4791 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4792 if test "${ac_cv_prog_cc_g+set}" = set; then :
4793   $as_echo_n "(cached) " >&6
4794 else
4795   ac_save_c_werror_flag=$ac_c_werror_flag
4796    ac_c_werror_flag=yes
4797    ac_cv_prog_cc_g=no
4798    CFLAGS="-g"
4799    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h.  */
4801
4802 int
4803 main ()
4804 {
4805
4806   ;
4807   return 0;
4808 }
4809 _ACEOF
4810 if ac_fn_c_try_compile "$LINENO"; then :
4811   ac_cv_prog_cc_g=yes
4812 else
4813   CFLAGS=""
4814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h.  */
4816
4817 int
4818 main ()
4819 {
4820
4821   ;
4822   return 0;
4823 }
4824 _ACEOF
4825 if ac_fn_c_try_compile "$LINENO"; then :
4826
4827 else
4828   ac_c_werror_flag=$ac_save_c_werror_flag
4829          CFLAGS="-g"
4830          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h.  */
4832
4833 int
4834 main ()
4835 {
4836
4837   ;
4838   return 0;
4839 }
4840 _ACEOF
4841 if ac_fn_c_try_compile "$LINENO"; then :
4842   ac_cv_prog_cc_g=yes
4843 fi
4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 fi
4846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4847 fi
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849    ac_c_werror_flag=$ac_save_c_werror_flag
4850 fi
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4852 $as_echo "$ac_cv_prog_cc_g" >&6; }
4853 if test "$ac_test_CFLAGS" = set; then
4854   CFLAGS=$ac_save_CFLAGS
4855 elif test $ac_cv_prog_cc_g = yes; then
4856   if test "$GCC" = yes; then
4857     CFLAGS="-g -O2"
4858   else
4859     CFLAGS="-g"
4860   fi
4861 else
4862   if test "$GCC" = yes; then
4863     CFLAGS="-O2"
4864   else
4865     CFLAGS=
4866   fi
4867 fi
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4869 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4870 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4871   $as_echo_n "(cached) " >&6
4872 else
4873   ac_cv_prog_cc_c89=no
4874 ac_save_CC=$CC
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h.  */
4877 #include <stdarg.h>
4878 #include <stdio.h>
4879 #include <sys/types.h>
4880 #include <sys/stat.h>
4881 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4882 struct buf { int x; };
4883 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4884 static char *e (p, i)
4885      char **p;
4886      int i;
4887 {
4888   return p[i];
4889 }
4890 static char *f (char * (*g) (char **, int), char **p, ...)
4891 {
4892   char *s;
4893   va_list v;
4894   va_start (v,p);
4895   s = g (p, va_arg (v,int));
4896   va_end (v);
4897   return s;
4898 }
4899
4900 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4901    function prototypes and stuff, but not '\xHH' hex character constants.
4902    These don't provoke an error unfortunately, instead are silently treated
4903    as 'x'.  The following induces an error, until -std is added to get
4904    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4905    array size at least.  It's necessary to write '\x00'==0 to get something
4906    that's true only with -std.  */
4907 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4908
4909 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4910    inside strings and character constants.  */
4911 #define FOO(x) 'x'
4912 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4913
4914 int test (int i, double x);
4915 struct s1 {int (*f) (int a);};
4916 struct s2 {int (*f) (double a);};
4917 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4918 int argc;
4919 char **argv;
4920 int
4921 main ()
4922 {
4923 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4924   ;
4925   return 0;
4926 }
4927 _ACEOF
4928 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4929         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4930 do
4931   CC="$ac_save_CC $ac_arg"
4932   if ac_fn_c_try_compile "$LINENO"; then :
4933   ac_cv_prog_cc_c89=$ac_arg
4934 fi
4935 rm -f core conftest.err conftest.$ac_objext
4936   test "x$ac_cv_prog_cc_c89" != "xno" && break
4937 done
4938 rm -f conftest.$ac_ext
4939 CC=$ac_save_CC
4940
4941 fi
4942 # AC_CACHE_VAL
4943 case "x$ac_cv_prog_cc_c89" in
4944   x)
4945     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4946 $as_echo "none needed" >&6; } ;;
4947   xno)
4948     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4949 $as_echo "unsupported" >&6; } ;;
4950   *)
4951     CC="$CC $ac_cv_prog_cc_c89"
4952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4953 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4954 esac
4955 if test "x$ac_cv_prog_cc_c89" != xno; then :
4956
4957 fi
4958
4959 ac_ext=c
4960 ac_cpp='$CPP $CPPFLAGS'
4961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4964
4965 depcc="$CC"   am_compiler_list=
4966
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4968 $as_echo_n "checking dependency style of $depcc... " >&6; }
4969 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4970   $as_echo_n "(cached) " >&6
4971 else
4972   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4973   # We make a subdir and do the tests there.  Otherwise we can end up
4974   # making bogus files that we don't know about and never remove.  For
4975   # instance it was reported that on HP-UX the gcc test will end up
4976   # making a dummy file named `D' -- because `-MD' means `put the output
4977   # in D'.
4978   mkdir conftest.dir
4979   # Copy depcomp to subdir because otherwise we won't find it if we're
4980   # using a relative directory.
4981   cp "$am_depcomp" conftest.dir
4982   cd conftest.dir
4983   # We will build objects and dependencies in a subdirectory because
4984   # it helps to detect inapplicable dependency modes.  For instance
4985   # both Tru64's cc and ICC support -MD to output dependencies as a
4986   # side effect of compilation, but ICC will put the dependencies in
4987   # the current directory while Tru64 will put them in the object
4988   # directory.
4989   mkdir sub
4990
4991   am_cv_CC_dependencies_compiler_type=none
4992   if test "$am_compiler_list" = ""; then
4993      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4994   fi
4995   am__universal=false
4996   case " $depcc " in #(
4997      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4998      esac
4999
5000   for depmode in $am_compiler_list; do
5001     # Setup a source with many dependencies, because some compilers
5002     # like to wrap large dependency lists on column 80 (with \), and
5003     # we should not choose a depcomp mode which is confused by this.
5004     #
5005     # We need to recreate these files for each test, as the compiler may
5006     # overwrite some of them when testing with obscure command lines.
5007     # This happens at least with the AIX C compiler.
5008     : > sub/conftest.c
5009     for i in 1 2 3 4 5 6; do
5010       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5011       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5012       # Solaris 8's {/usr,}/bin/sh.
5013       touch sub/conftst$i.h
5014     done
5015     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5016
5017     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5018     # mode.  It turns out that the SunPro C++ compiler does not properly
5019     # handle `-M -o', and we need to detect this.  Also, some Intel
5020     # versions had trouble with output in subdirs
5021     am__obj=sub/conftest.${OBJEXT-o}
5022     am__minus_obj="-o $am__obj"
5023     case $depmode in
5024     gcc)
5025       # This depmode causes a compiler race in universal mode.
5026       test "$am__universal" = false || continue
5027       ;;
5028     nosideeffect)
5029       # after this tag, mechanisms are not by side-effect, so they'll
5030       # only be used when explicitly requested
5031       if test "x$enable_dependency_tracking" = xyes; then
5032         continue
5033       else
5034         break
5035       fi
5036       ;;
5037     msvisualcpp | msvcmsys)
5038       # This compiler won't grok `-c -o', but also, the minuso test has
5039       # not run yet.  These depmodes are late enough in the game, and
5040       # so weak that their functioning should not be impacted.
5041       am__obj=conftest.${OBJEXT-o}
5042       am__minus_obj=
5043       ;;
5044     none) break ;;
5045     esac
5046     if depmode=$depmode \
5047        source=sub/conftest.c object=$am__obj \
5048        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5049        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5050          >/dev/null 2>conftest.err &&
5051        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5052        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5053        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5054        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5055       # icc doesn't choke on unknown options, it will just issue warnings
5056       # or remarks (even with -Werror).  So we grep stderr for any message
5057       # that says an option was ignored or not supported.
5058       # When given -MP, icc 7.0 and 7.1 complain thusly:
5059       #   icc: Command line warning: ignoring option '-M'; no argument required
5060       # The diagnosis changed in icc 8.0:
5061       #   icc: Command line remark: option '-MP' not supported
5062       if (grep 'ignoring option' conftest.err ||
5063           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5064         am_cv_CC_dependencies_compiler_type=$depmode
5065         break
5066       fi
5067     fi
5068   done
5069
5070   cd ..
5071   rm -rf conftest.dir
5072 else
5073   am_cv_CC_dependencies_compiler_type=none
5074 fi
5075
5076 fi
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5078 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5079 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5080
5081  if
5082   test "x$enable_dependency_tracking" != xno \
5083   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5084   am__fastdepCC_TRUE=
5085   am__fastdepCC_FALSE='#'
5086 else
5087   am__fastdepCC_TRUE='#'
5088   am__fastdepCC_FALSE=
5089 fi
5090
5091
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5093 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5094 if test "${ac_cv_path_SED+set}" = set; then :
5095   $as_echo_n "(cached) " >&6
5096 else
5097             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5098      for ac_i in 1 2 3 4 5 6 7; do
5099        ac_script="$ac_script$as_nl$ac_script"
5100      done
5101      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5102      { ac_script=; unset ac_script;}
5103      if test -z "$SED"; then
5104   ac_path_SED_found=false
5105   # Loop through the user's path and test for each of PROGNAME-LIST
5106   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5108 do
5109   IFS=$as_save_IFS
5110   test -z "$as_dir" && as_dir=.
5111     for ac_prog in sed gsed; do
5112     for ac_exec_ext in '' $ac_executable_extensions; do
5113       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5114       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5115 # Check for GNU ac_path_SED and select it if it is found.
5116   # Check for GNU $ac_path_SED
5117 case `"$ac_path_SED" --version 2>&1` in
5118 *GNU*)
5119   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5120 *)
5121   ac_count=0
5122   $as_echo_n 0123456789 >"conftest.in"
5123   while :
5124   do
5125     cat "conftest.in" "conftest.in" >"conftest.tmp"
5126     mv "conftest.tmp" "conftest.in"
5127     cp "conftest.in" "conftest.nl"
5128     $as_echo '' >> "conftest.nl"
5129     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5130     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5131     as_fn_arith $ac_count + 1 && ac_count=$as_val
5132     if test $ac_count -gt ${ac_path_SED_max-0}; then
5133       # Best one so far, save it but keep looking for a better one
5134       ac_cv_path_SED="$ac_path_SED"
5135       ac_path_SED_max=$ac_count
5136     fi
5137     # 10*(2^10) chars as input seems more than enough
5138     test $ac_count -gt 10 && break
5139   done
5140   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5141 esac
5142
5143       $ac_path_SED_found && break 3
5144     done
5145   done
5146   done
5147 IFS=$as_save_IFS
5148   if test -z "$ac_cv_path_SED"; then
5149     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5150   fi
5151 else
5152   ac_cv_path_SED=$SED
5153 fi
5154
5155 fi
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5157 $as_echo "$ac_cv_path_SED" >&6; }
5158  SED="$ac_cv_path_SED"
5159   rm -f conftest.sed
5160
5161 test -z "$SED" && SED=sed
5162 Xsed="$SED -e 1s/^X//"
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5175 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5176 if test "${ac_cv_path_GREP+set}" = set; then :
5177   $as_echo_n "(cached) " >&6
5178 else
5179   if test -z "$GREP"; then
5180   ac_path_GREP_found=false
5181   # Loop through the user's path and test for each of PROGNAME-LIST
5182   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5184 do
5185   IFS=$as_save_IFS
5186   test -z "$as_dir" && as_dir=.
5187     for ac_prog in grep ggrep; do
5188     for ac_exec_ext in '' $ac_executable_extensions; do
5189       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5190       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5191 # Check for GNU ac_path_GREP and select it if it is found.
5192   # Check for GNU $ac_path_GREP
5193 case `"$ac_path_GREP" --version 2>&1` in
5194 *GNU*)
5195   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5196 *)
5197   ac_count=0
5198   $as_echo_n 0123456789 >"conftest.in"
5199   while :
5200   do
5201     cat "conftest.in" "conftest.in" >"conftest.tmp"
5202     mv "conftest.tmp" "conftest.in"
5203     cp "conftest.in" "conftest.nl"
5204     $as_echo 'GREP' >> "conftest.nl"
5205     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5206     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5207     as_fn_arith $ac_count + 1 && ac_count=$as_val
5208     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5209       # Best one so far, save it but keep looking for a better one
5210       ac_cv_path_GREP="$ac_path_GREP"
5211       ac_path_GREP_max=$ac_count
5212     fi
5213     # 10*(2^10) chars as input seems more than enough
5214     test $ac_count -gt 10 && break
5215   done
5216   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5217 esac
5218
5219       $ac_path_GREP_found && break 3
5220     done
5221   done
5222   done
5223 IFS=$as_save_IFS
5224   if test -z "$ac_cv_path_GREP"; then
5225     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5226   fi
5227 else
5228   ac_cv_path_GREP=$GREP
5229 fi
5230
5231 fi
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5233 $as_echo "$ac_cv_path_GREP" >&6; }
5234  GREP="$ac_cv_path_GREP"
5235
5236
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5238 $as_echo_n "checking for egrep... " >&6; }
5239 if test "${ac_cv_path_EGREP+set}" = set; then :
5240   $as_echo_n "(cached) " >&6
5241 else
5242   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5243    then ac_cv_path_EGREP="$GREP -E"
5244    else
5245      if test -z "$EGREP"; then
5246   ac_path_EGREP_found=false
5247   # Loop through the user's path and test for each of PROGNAME-LIST
5248   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5250 do
5251   IFS=$as_save_IFS
5252   test -z "$as_dir" && as_dir=.
5253     for ac_prog in egrep; do
5254     for ac_exec_ext in '' $ac_executable_extensions; do
5255       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5256       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5257 # Check for GNU ac_path_EGREP and select it if it is found.
5258   # Check for GNU $ac_path_EGREP
5259 case `"$ac_path_EGREP" --version 2>&1` in
5260 *GNU*)
5261   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5262 *)
5263   ac_count=0
5264   $as_echo_n 0123456789 >"conftest.in"
5265   while :
5266   do
5267     cat "conftest.in" "conftest.in" >"conftest.tmp"
5268     mv "conftest.tmp" "conftest.in"
5269     cp "conftest.in" "conftest.nl"
5270     $as_echo 'EGREP' >> "conftest.nl"
5271     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5272     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5273     as_fn_arith $ac_count + 1 && ac_count=$as_val
5274     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5275       # Best one so far, save it but keep looking for a better one
5276       ac_cv_path_EGREP="$ac_path_EGREP"
5277       ac_path_EGREP_max=$ac_count
5278     fi
5279     # 10*(2^10) chars as input seems more than enough
5280     test $ac_count -gt 10 && break
5281   done
5282   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5283 esac
5284
5285       $ac_path_EGREP_found && break 3
5286     done
5287   done
5288   done
5289 IFS=$as_save_IFS
5290   if test -z "$ac_cv_path_EGREP"; then
5291     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5292   fi
5293 else
5294   ac_cv_path_EGREP=$EGREP
5295 fi
5296
5297    fi
5298 fi
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5300 $as_echo "$ac_cv_path_EGREP" >&6; }
5301  EGREP="$ac_cv_path_EGREP"
5302
5303
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5305 $as_echo_n "checking for fgrep... " >&6; }
5306 if test "${ac_cv_path_FGREP+set}" = set; then :
5307   $as_echo_n "(cached) " >&6
5308 else
5309   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5310    then ac_cv_path_FGREP="$GREP -F"
5311    else
5312      if test -z "$FGREP"; then
5313   ac_path_FGREP_found=false
5314   # Loop through the user's path and test for each of PROGNAME-LIST
5315   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5317 do
5318   IFS=$as_save_IFS
5319   test -z "$as_dir" && as_dir=.
5320     for ac_prog in fgrep; do
5321     for ac_exec_ext in '' $ac_executable_extensions; do
5322       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5323       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5324 # Check for GNU ac_path_FGREP and select it if it is found.
5325   # Check for GNU $ac_path_FGREP
5326 case `"$ac_path_FGREP" --version 2>&1` in
5327 *GNU*)
5328   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5329 *)
5330   ac_count=0
5331   $as_echo_n 0123456789 >"conftest.in"
5332   while :
5333   do
5334     cat "conftest.in" "conftest.in" >"conftest.tmp"
5335     mv "conftest.tmp" "conftest.in"
5336     cp "conftest.in" "conftest.nl"
5337     $as_echo 'FGREP' >> "conftest.nl"
5338     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5339     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5340     as_fn_arith $ac_count + 1 && ac_count=$as_val
5341     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5342       # Best one so far, save it but keep looking for a better one
5343       ac_cv_path_FGREP="$ac_path_FGREP"
5344       ac_path_FGREP_max=$ac_count
5345     fi
5346     # 10*(2^10) chars as input seems more than enough
5347     test $ac_count -gt 10 && break
5348   done
5349   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5350 esac
5351
5352       $ac_path_FGREP_found && break 3
5353     done
5354   done
5355   done
5356 IFS=$as_save_IFS
5357   if test -z "$ac_cv_path_FGREP"; then
5358     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5359   fi
5360 else
5361   ac_cv_path_FGREP=$FGREP
5362 fi
5363
5364    fi
5365 fi
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5367 $as_echo "$ac_cv_path_FGREP" >&6; }
5368  FGREP="$ac_cv_path_FGREP"
5369
5370
5371 test -z "$GREP" && GREP=grep
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391 # Check whether --with-gnu-ld was given.
5392 if test "${with_gnu_ld+set}" = set; then :
5393   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5394 else
5395   with_gnu_ld=no
5396 fi
5397
5398 ac_prog=ld
5399 if test "$GCC" = yes; then
5400   # Check if gcc -print-prog-name=ld gives a path.
5401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5402 $as_echo_n "checking for ld used by $CC... " >&6; }
5403   case $host in
5404   *-*-mingw*)
5405     # gcc leaves a trailing carriage return which upsets mingw
5406     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5407   *)
5408     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5409   esac
5410   case $ac_prog in
5411     # Accept absolute paths.
5412     [\\/]* | ?:[\\/]*)
5413       re_direlt='/[^/][^/]*/\.\./'
5414       # Canonicalize the pathname of ld
5415       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5416       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5417         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5418       done
5419       test -z "$LD" && LD="$ac_prog"
5420       ;;
5421   "")
5422     # If it fails, then pretend we aren't using GCC.
5423     ac_prog=ld
5424     ;;
5425   *)
5426     # If it is relative, then search for the first ld in PATH.
5427     with_gnu_ld=unknown
5428     ;;
5429   esac
5430 elif test "$with_gnu_ld" = yes; then
5431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5432 $as_echo_n "checking for GNU ld... " >&6; }
5433 else
5434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5435 $as_echo_n "checking for non-GNU ld... " >&6; }
5436 fi
5437 if test "${lt_cv_path_LD+set}" = set; then :
5438   $as_echo_n "(cached) " >&6
5439 else
5440   if test -z "$LD"; then
5441   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5442   for ac_dir in $PATH; do
5443     IFS="$lt_save_ifs"
5444     test -z "$ac_dir" && ac_dir=.
5445     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5446       lt_cv_path_LD="$ac_dir/$ac_prog"
5447       # Check to see if the program is GNU ld.  I'd rather use --version,
5448       # but apparently some variants of GNU ld only accept -v.
5449       # Break only if it was the GNU/non-GNU ld that we prefer.
5450       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5451       *GNU* | *'with BFD'*)
5452         test "$with_gnu_ld" != no && break
5453         ;;
5454       *)
5455         test "$with_gnu_ld" != yes && break
5456         ;;
5457       esac
5458     fi
5459   done
5460   IFS="$lt_save_ifs"
5461 else
5462   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5463 fi
5464 fi
5465
5466 LD="$lt_cv_path_LD"
5467 if test -n "$LD"; then
5468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5469 $as_echo "$LD" >&6; }
5470 else
5471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5473 fi
5474 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5476 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5477 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5478   $as_echo_n "(cached) " >&6
5479 else
5480   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5481 case `$LD -v 2>&1 </dev/null` in
5482 *GNU* | *'with BFD'*)
5483   lt_cv_prog_gnu_ld=yes
5484   ;;
5485 *)
5486   lt_cv_prog_gnu_ld=no
5487   ;;
5488 esac
5489 fi
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5491 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5492 with_gnu_ld=$lt_cv_prog_gnu_ld
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5503 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5504 if test "${lt_cv_path_NM+set}" = set; then :
5505   $as_echo_n "(cached) " >&6
5506 else
5507   if test -n "$NM"; then
5508   # Let the user override the test.
5509   lt_cv_path_NM="$NM"
5510 else
5511   lt_nm_to_check="${ac_tool_prefix}nm"
5512   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5513     lt_nm_to_check="$lt_nm_to_check nm"
5514   fi
5515   for lt_tmp_nm in $lt_nm_to_check; do
5516     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5517     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5518       IFS="$lt_save_ifs"
5519       test -z "$ac_dir" && ac_dir=.
5520       tmp_nm="$ac_dir/$lt_tmp_nm"
5521       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5522         # Check to see if the nm accepts a BSD-compat flag.
5523         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5524         #   nm: unknown option "B" ignored
5525         # Tru64's nm complains that /dev/null is an invalid object file
5526         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5527         */dev/null* | *'Invalid file or object type'*)
5528           lt_cv_path_NM="$tmp_nm -B"
5529           break
5530           ;;
5531         *)
5532           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5533           */dev/null*)
5534             lt_cv_path_NM="$tmp_nm -p"
5535             break
5536             ;;
5537           *)
5538             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5539             continue # so that we can try to find one that supports BSD flags
5540             ;;
5541           esac
5542           ;;
5543         esac
5544       fi
5545     done
5546     IFS="$lt_save_ifs"
5547   done
5548   : ${lt_cv_path_NM=no}
5549 fi
5550 fi
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5552 $as_echo "$lt_cv_path_NM" >&6; }
5553 if test "$lt_cv_path_NM" != "no"; then
5554   NM="$lt_cv_path_NM"
5555 else
5556   # Didn't find any BSD compatible name lister, look for dumpbin.
5557   if test -n "$ac_tool_prefix"; then
5558   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5559   do
5560     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5561 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5565   $as_echo_n "(cached) " >&6
5566 else
5567   if test -n "$DUMPBIN"; then
5568   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5572 do
5573   IFS=$as_save_IFS
5574   test -z "$as_dir" && as_dir=.
5575     for ac_exec_ext in '' $ac_executable_extensions; do
5576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579     break 2
5580   fi
5581 done
5582   done
5583 IFS=$as_save_IFS
5584
5585 fi
5586 fi
5587 DUMPBIN=$ac_cv_prog_DUMPBIN
5588 if test -n "$DUMPBIN"; then
5589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5590 $as_echo "$DUMPBIN" >&6; }
5591 else
5592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5594 fi
5595
5596
5597     test -n "$DUMPBIN" && break
5598   done
5599 fi
5600 if test -z "$DUMPBIN"; then
5601   ac_ct_DUMPBIN=$DUMPBIN
5602   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5603 do
5604   # Extract the first word of "$ac_prog", so it can be a program name with args.
5605 set dummy $ac_prog; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5609   $as_echo_n "(cached) " >&6
5610 else
5611   if test -n "$ac_ct_DUMPBIN"; then
5612   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5616 do
5617   IFS=$as_save_IFS
5618   test -z "$as_dir" && as_dir=.
5619     for ac_exec_ext in '' $ac_executable_extensions; do
5620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623     break 2
5624   fi
5625 done
5626   done
5627 IFS=$as_save_IFS
5628
5629 fi
5630 fi
5631 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5632 if test -n "$ac_ct_DUMPBIN"; then
5633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5634 $as_echo "$ac_ct_DUMPBIN" >&6; }
5635 else
5636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5638 fi
5639
5640
5641   test -n "$ac_ct_DUMPBIN" && break
5642 done
5643
5644   if test "x$ac_ct_DUMPBIN" = x; then
5645     DUMPBIN=":"
5646   else
5647     case $cross_compiling:$ac_tool_warned in
5648 yes:)
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5651 ac_tool_warned=yes ;;
5652 esac
5653     DUMPBIN=$ac_ct_DUMPBIN
5654   fi
5655 fi
5656
5657
5658   if test "$DUMPBIN" != ":"; then
5659     NM="$DUMPBIN"
5660   fi
5661 fi
5662 test -z "$NM" && NM=nm
5663
5664
5665
5666
5667
5668
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5670 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5671 if test "${lt_cv_nm_interface+set}" = set; then :
5672   $as_echo_n "(cached) " >&6
5673 else
5674   lt_cv_nm_interface="BSD nm"
5675   echo "int some_variable = 0;" > conftest.$ac_ext
5676   (eval echo "\"\$as_me:5676: $ac_compile\"" >&5)
5677   (eval "$ac_compile" 2>conftest.err)
5678   cat conftest.err >&5
5679   (eval echo "\"\$as_me:5679: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5680   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5681   cat conftest.err >&5
5682   (eval echo "\"\$as_me:5682: output\"" >&5)
5683   cat conftest.out >&5
5684   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5685     lt_cv_nm_interface="MS dumpbin"
5686   fi
5687   rm -f conftest*
5688 fi
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5690 $as_echo "$lt_cv_nm_interface" >&6; }
5691
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5693 $as_echo_n "checking whether ln -s works... " >&6; }
5694 LN_S=$as_ln_s
5695 if test "$LN_S" = "ln -s"; then
5696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5697 $as_echo "yes" >&6; }
5698 else
5699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5700 $as_echo "no, using $LN_S" >&6; }
5701 fi
5702
5703 # find the maximum length of command line arguments
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5705 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5706 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5707   $as_echo_n "(cached) " >&6
5708 else
5709     i=0
5710   teststring="ABCD"
5711
5712   case $build_os in
5713   msdosdjgpp*)
5714     # On DJGPP, this test can blow up pretty badly due to problems in libc
5715     # (any single argument exceeding 2000 bytes causes a buffer overrun
5716     # during glob expansion).  Even if it were fixed, the result of this
5717     # check would be larger than it should be.
5718     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5719     ;;
5720
5721   gnu*)
5722     # Under GNU Hurd, this test is not required because there is
5723     # no limit to the length of command line arguments.
5724     # Libtool will interpret -1 as no limit whatsoever
5725     lt_cv_sys_max_cmd_len=-1;
5726     ;;
5727
5728   cygwin* | mingw* | cegcc*)
5729     # On Win9x/ME, this test blows up -- it succeeds, but takes
5730     # about 5 minutes as the teststring grows exponentially.
5731     # Worse, since 9x/ME are not pre-emptively multitasking,
5732     # you end up with a "frozen" computer, even though with patience
5733     # the test eventually succeeds (with a max line length of 256k).
5734     # Instead, let's just punt: use the minimum linelength reported by
5735     # all of the supported platforms: 8192 (on NT/2K/XP).
5736     lt_cv_sys_max_cmd_len=8192;
5737     ;;
5738
5739   amigaos*)
5740     # On AmigaOS with pdksh, this test takes hours, literally.
5741     # So we just punt and use a minimum line length of 8192.
5742     lt_cv_sys_max_cmd_len=8192;
5743     ;;
5744
5745   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5746     # This has been around since 386BSD, at least.  Likely further.
5747     if test -x /sbin/sysctl; then
5748       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5749     elif test -x /usr/sbin/sysctl; then
5750       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5751     else
5752       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5753     fi
5754     # And add a safety zone
5755     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5756     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5757     ;;
5758
5759   interix*)
5760     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5761     lt_cv_sys_max_cmd_len=196608
5762     ;;
5763
5764   osf*)
5765     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5766     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5767     # nice to cause kernel panics so lets avoid the loop below.
5768     # First set a reasonable default.
5769     lt_cv_sys_max_cmd_len=16384
5770     #
5771     if test -x /sbin/sysconfig; then
5772       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5773         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5774       esac
5775     fi
5776     ;;
5777   sco3.2v5*)
5778     lt_cv_sys_max_cmd_len=102400
5779     ;;
5780   sysv5* | sco5v6* | sysv4.2uw2*)
5781     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5782     if test -n "$kargmax"; then
5783       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5784     else
5785       lt_cv_sys_max_cmd_len=32768
5786     fi
5787     ;;
5788   *)
5789     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5790     if test -n "$lt_cv_sys_max_cmd_len"; then
5791       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5792       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5793     else
5794       # Make teststring a little bigger before we do anything with it.
5795       # a 1K string should be a reasonable start.
5796       for i in 1 2 3 4 5 6 7 8 ; do
5797         teststring=$teststring$teststring
5798       done
5799       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5800       # If test is not a shell built-in, we'll probably end up computing a
5801       # maximum length that is only half of the actual maximum length, but
5802       # we can't tell.
5803       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5804                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5805               test $i != 17 # 1/2 MB should be enough
5806       do
5807         i=`expr $i + 1`
5808         teststring=$teststring$teststring
5809       done
5810       # Only check the string length outside the loop.
5811       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5812       teststring=
5813       # Add a significant safety factor because C++ compilers can tack on
5814       # massive amounts of additional arguments before passing them to the
5815       # linker.  It appears as though 1/2 is a usable value.
5816       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5817     fi
5818     ;;
5819   esac
5820
5821 fi
5822
5823 if test -n $lt_cv_sys_max_cmd_len ; then
5824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5825 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5826 else
5827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5828 $as_echo "none" >&6; }
5829 fi
5830 max_cmd_len=$lt_cv_sys_max_cmd_len
5831
5832
5833
5834
5835
5836
5837 : ${CP="cp -f"}
5838 : ${MV="mv -f"}
5839 : ${RM="rm -f"}
5840
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5842 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5843 # Try some XSI features
5844 xsi_shell=no
5845 ( _lt_dummy="a/b/c"
5846   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5847       = c,a/b,, \
5848     && eval 'test $(( 1 + 1 )) -eq 2 \
5849     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5850   && xsi_shell=yes
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5852 $as_echo "$xsi_shell" >&6; }
5853
5854
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5856 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5857 lt_shell_append=no
5858 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5859     >/dev/null 2>&1 \
5860   && lt_shell_append=yes
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5862 $as_echo "$lt_shell_append" >&6; }
5863
5864
5865 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5866   lt_unset=unset
5867 else
5868   lt_unset=false
5869 fi
5870
5871
5872
5873
5874
5875 # test EBCDIC or ASCII
5876 case `echo X|tr X '\101'` in
5877  A) # ASCII based system
5878     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5879   lt_SP2NL='tr \040 \012'
5880   lt_NL2SP='tr \015\012 \040\040'
5881   ;;
5882  *) # EBCDIC based system
5883   lt_SP2NL='tr \100 \n'
5884   lt_NL2SP='tr \r\n \100\100'
5885   ;;
5886 esac
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5897 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5898 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5899   $as_echo_n "(cached) " >&6
5900 else
5901   lt_cv_ld_reload_flag='-r'
5902 fi
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5904 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5905 reload_flag=$lt_cv_ld_reload_flag
5906 case $reload_flag in
5907 "" | " "*) ;;
5908 *) reload_flag=" $reload_flag" ;;
5909 esac
5910 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5911 case $host_os in
5912   darwin*)
5913     if test "$GCC" = yes; then
5914       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5915     else
5916       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5917     fi
5918     ;;
5919 esac
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929 if test -n "$ac_tool_prefix"; then
5930   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5931 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5935   $as_echo_n "(cached) " >&6
5936 else
5937   if test -n "$OBJDUMP"; then
5938   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5942 do
5943   IFS=$as_save_IFS
5944   test -z "$as_dir" && as_dir=.
5945     for ac_exec_ext in '' $ac_executable_extensions; do
5946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949     break 2
5950   fi
5951 done
5952   done
5953 IFS=$as_save_IFS
5954
5955 fi
5956 fi
5957 OBJDUMP=$ac_cv_prog_OBJDUMP
5958 if test -n "$OBJDUMP"; then
5959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5960 $as_echo "$OBJDUMP" >&6; }
5961 else
5962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5964 fi
5965
5966
5967 fi
5968 if test -z "$ac_cv_prog_OBJDUMP"; then
5969   ac_ct_OBJDUMP=$OBJDUMP
5970   # Extract the first word of "objdump", so it can be a program name with args.
5971 set dummy objdump; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5975   $as_echo_n "(cached) " >&6
5976 else
5977   if test -n "$ac_ct_OBJDUMP"; then
5978   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5982 do
5983   IFS=$as_save_IFS
5984   test -z "$as_dir" && as_dir=.
5985     for ac_exec_ext in '' $ac_executable_extensions; do
5986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989     break 2
5990   fi
5991 done
5992   done
5993 IFS=$as_save_IFS
5994
5995 fi
5996 fi
5997 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5998 if test -n "$ac_ct_OBJDUMP"; then
5999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6000 $as_echo "$ac_ct_OBJDUMP" >&6; }
6001 else
6002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6004 fi
6005
6006   if test "x$ac_ct_OBJDUMP" = x; then
6007     OBJDUMP="false"
6008   else
6009     case $cross_compiling:$ac_tool_warned in
6010 yes:)
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013 ac_tool_warned=yes ;;
6014 esac
6015     OBJDUMP=$ac_ct_OBJDUMP
6016   fi
6017 else
6018   OBJDUMP="$ac_cv_prog_OBJDUMP"
6019 fi
6020
6021 test -z "$OBJDUMP" && OBJDUMP=objdump
6022
6023
6024
6025
6026
6027
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6029 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6030 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6031   $as_echo_n "(cached) " >&6
6032 else
6033   lt_cv_file_magic_cmd='$MAGIC_CMD'
6034 lt_cv_file_magic_test_file=
6035 lt_cv_deplibs_check_method='unknown'
6036 # Need to set the preceding variable on all platforms that support
6037 # interlibrary dependencies.
6038 # 'none' -- dependencies not supported.
6039 # `unknown' -- same as none, but documents that we really don't know.
6040 # 'pass_all' -- all dependencies passed with no checks.
6041 # 'test_compile' -- check by making test program.
6042 # 'file_magic [[regex]]' -- check by looking for files in library path
6043 # which responds to the $file_magic_cmd with a given extended regex.
6044 # If you have `file' or equivalent on your system and you're not sure
6045 # whether `pass_all' will *always* work, you probably want this one.
6046
6047 case $host_os in
6048 aix[4-9]*)
6049   lt_cv_deplibs_check_method=pass_all
6050   ;;
6051
6052 beos*)
6053   lt_cv_deplibs_check_method=pass_all
6054   ;;
6055
6056 bsdi[45]*)
6057   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6058   lt_cv_file_magic_cmd='/usr/bin/file -L'
6059   lt_cv_file_magic_test_file=/shlib/libc.so
6060   ;;
6061
6062 cygwin*)
6063   # func_win32_libid is a shell function defined in ltmain.sh
6064   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6065   lt_cv_file_magic_cmd='func_win32_libid'
6066   ;;
6067
6068 mingw* | pw32*)
6069   # Base MSYS/MinGW do not provide the 'file' command needed by
6070   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6071   # unless we find 'file', for example because we are cross-compiling.
6072   if ( file / ) >/dev/null 2>&1; then
6073     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6074     lt_cv_file_magic_cmd='func_win32_libid'
6075   else
6076     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6077     lt_cv_file_magic_cmd='$OBJDUMP -f'
6078   fi
6079   ;;
6080
6081 cegcc)
6082   # use the weaker test based on 'objdump'. See mingw*.
6083   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6084   lt_cv_file_magic_cmd='$OBJDUMP -f'
6085   ;;
6086
6087 darwin* | rhapsody*)
6088   lt_cv_deplibs_check_method=pass_all
6089   ;;
6090
6091 freebsd* | dragonfly*)
6092   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6093     case $host_cpu in
6094     i*86 )
6095       # Not sure whether the presence of OpenBSD here was a mistake.
6096       # Let's accept both of them until this is cleared up.
6097       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6098       lt_cv_file_magic_cmd=/usr/bin/file
6099       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6100       ;;
6101     esac
6102   else
6103     lt_cv_deplibs_check_method=pass_all
6104   fi
6105   ;;
6106
6107 gnu*)
6108   lt_cv_deplibs_check_method=pass_all
6109   ;;
6110
6111 hpux10.20* | hpux11*)
6112   lt_cv_file_magic_cmd=/usr/bin/file
6113   case $host_cpu in
6114   ia64*)
6115     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6116     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6117     ;;
6118   hppa*64*)
6119     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]'
6120     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6121     ;;
6122   *)
6123     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6124     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6125     ;;
6126   esac
6127   ;;
6128
6129 interix[3-9]*)
6130   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6131   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6132   ;;
6133
6134 irix5* | irix6* | nonstopux*)
6135   case $LD in
6136   *-32|*"-32 ") libmagic=32-bit;;
6137   *-n32|*"-n32 ") libmagic=N32;;
6138   *-64|*"-64 ") libmagic=64-bit;;
6139   *) libmagic=never-match;;
6140   esac
6141   lt_cv_deplibs_check_method=pass_all
6142   ;;
6143
6144 # This must be Linux ELF.
6145 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6146   lt_cv_deplibs_check_method=pass_all
6147   ;;
6148
6149 netbsd* | netbsdelf*-gnu)
6150   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6151     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6152   else
6153     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6154   fi
6155   ;;
6156
6157 newos6*)
6158   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6159   lt_cv_file_magic_cmd=/usr/bin/file
6160   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6161   ;;
6162
6163 *nto* | *qnx*)
6164   lt_cv_deplibs_check_method=pass_all
6165   ;;
6166
6167 openbsd*)
6168   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6169     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6170   else
6171     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6172   fi
6173   ;;
6174
6175 osf3* | osf4* | osf5*)
6176   lt_cv_deplibs_check_method=pass_all
6177   ;;
6178
6179 rdos*)
6180   lt_cv_deplibs_check_method=pass_all
6181   ;;
6182
6183 solaris*)
6184   lt_cv_deplibs_check_method=pass_all
6185   ;;
6186
6187 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6188   lt_cv_deplibs_check_method=pass_all
6189   ;;
6190
6191 sysv4 | sysv4.3*)
6192   case $host_vendor in
6193   motorola)
6194     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]'
6195     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6196     ;;
6197   ncr)
6198     lt_cv_deplibs_check_method=pass_all
6199     ;;
6200   sequent)
6201     lt_cv_file_magic_cmd='/bin/file'
6202     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6203     ;;
6204   sni)
6205     lt_cv_file_magic_cmd='/bin/file'
6206     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6207     lt_cv_file_magic_test_file=/lib/libc.so
6208     ;;
6209   siemens)
6210     lt_cv_deplibs_check_method=pass_all
6211     ;;
6212   pc)
6213     lt_cv_deplibs_check_method=pass_all
6214     ;;
6215   esac
6216   ;;
6217
6218 tpf*)
6219   lt_cv_deplibs_check_method=pass_all
6220   ;;
6221 esac
6222
6223 fi
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6225 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6226 file_magic_cmd=$lt_cv_file_magic_cmd
6227 deplibs_check_method=$lt_cv_deplibs_check_method
6228 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241 if test -n "$ac_tool_prefix"; then
6242   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6243 set dummy ${ac_tool_prefix}ar; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245 $as_echo_n "checking for $ac_word... " >&6; }
6246 if test "${ac_cv_prog_AR+set}" = set; then :
6247   $as_echo_n "(cached) " >&6
6248 else
6249   if test -n "$AR"; then
6250   ac_cv_prog_AR="$AR" # Let the user override the test.
6251 else
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6254 do
6255   IFS=$as_save_IFS
6256   test -z "$as_dir" && as_dir=.
6257     for ac_exec_ext in '' $ac_executable_extensions; do
6258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259     ac_cv_prog_AR="${ac_tool_prefix}ar"
6260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6261     break 2
6262   fi
6263 done
6264   done
6265 IFS=$as_save_IFS
6266
6267 fi
6268 fi
6269 AR=$ac_cv_prog_AR
6270 if test -n "$AR"; then
6271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6272 $as_echo "$AR" >&6; }
6273 else
6274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6275 $as_echo "no" >&6; }
6276 fi
6277
6278
6279 fi
6280 if test -z "$ac_cv_prog_AR"; then
6281   ac_ct_AR=$AR
6282   # Extract the first word of "ar", so it can be a program name with args.
6283 set dummy ar; ac_word=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; }
6286 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6287   $as_echo_n "(cached) " >&6
6288 else
6289   if test -n "$ac_ct_AR"; then
6290   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6291 else
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 for as_dir in $PATH
6294 do
6295   IFS=$as_save_IFS
6296   test -z "$as_dir" && as_dir=.
6297     for ac_exec_ext in '' $ac_executable_extensions; do
6298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6299     ac_cv_prog_ac_ct_AR="ar"
6300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301     break 2
6302   fi
6303 done
6304   done
6305 IFS=$as_save_IFS
6306
6307 fi
6308 fi
6309 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6310 if test -n "$ac_ct_AR"; then
6311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6312 $as_echo "$ac_ct_AR" >&6; }
6313 else
6314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6315 $as_echo "no" >&6; }
6316 fi
6317
6318   if test "x$ac_ct_AR" = x; then
6319     AR="false"
6320   else
6321     case $cross_compiling:$ac_tool_warned in
6322 yes:)
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6325 ac_tool_warned=yes ;;
6326 esac
6327     AR=$ac_ct_AR
6328   fi
6329 else
6330   AR="$ac_cv_prog_AR"
6331 fi
6332
6333 test -z "$AR" && AR=ar
6334 test -z "$AR_FLAGS" && AR_FLAGS=cru
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346 if test -n "$ac_tool_prefix"; then
6347   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6348 set dummy ${ac_tool_prefix}strip; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if test "${ac_cv_prog_STRIP+set}" = set; then :
6352   $as_echo_n "(cached) " >&6
6353 else
6354   if test -n "$STRIP"; then
6355   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6356 else
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 for as_dir in $PATH
6359 do
6360   IFS=$as_save_IFS
6361   test -z "$as_dir" && as_dir=.
6362     for ac_exec_ext in '' $ac_executable_extensions; do
6363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6364     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366     break 2
6367   fi
6368 done
6369   done
6370 IFS=$as_save_IFS
6371
6372 fi
6373 fi
6374 STRIP=$ac_cv_prog_STRIP
6375 if test -n "$STRIP"; then
6376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6377 $as_echo "$STRIP" >&6; }
6378 else
6379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6381 fi
6382
6383
6384 fi
6385 if test -z "$ac_cv_prog_STRIP"; then
6386   ac_ct_STRIP=$STRIP
6387   # Extract the first word of "strip", so it can be a program name with args.
6388 set dummy strip; ac_word=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6392   $as_echo_n "(cached) " >&6
6393 else
6394   if test -n "$ac_ct_STRIP"; then
6395   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6396 else
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 for as_dir in $PATH
6399 do
6400   IFS=$as_save_IFS
6401   test -z "$as_dir" && as_dir=.
6402     for ac_exec_ext in '' $ac_executable_extensions; do
6403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6404     ac_cv_prog_ac_ct_STRIP="strip"
6405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406     break 2
6407   fi
6408 done
6409   done
6410 IFS=$as_save_IFS
6411
6412 fi
6413 fi
6414 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6415 if test -n "$ac_ct_STRIP"; then
6416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6417 $as_echo "$ac_ct_STRIP" >&6; }
6418 else
6419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6421 fi
6422
6423   if test "x$ac_ct_STRIP" = x; then
6424     STRIP=":"
6425   else
6426     case $cross_compiling:$ac_tool_warned in
6427 yes:)
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6430 ac_tool_warned=yes ;;
6431 esac
6432     STRIP=$ac_ct_STRIP
6433   fi
6434 else
6435   STRIP="$ac_cv_prog_STRIP"
6436 fi
6437
6438 test -z "$STRIP" && STRIP=:
6439
6440
6441
6442
6443
6444
6445 if test -n "$ac_tool_prefix"; then
6446   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6447 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6451   $as_echo_n "(cached) " >&6
6452 else
6453   if test -n "$RANLIB"; then
6454   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6455 else
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 for as_dir in $PATH
6458 do
6459   IFS=$as_save_IFS
6460   test -z "$as_dir" && as_dir=.
6461     for ac_exec_ext in '' $ac_executable_extensions; do
6462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6463     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465     break 2
6466   fi
6467 done
6468   done
6469 IFS=$as_save_IFS
6470
6471 fi
6472 fi
6473 RANLIB=$ac_cv_prog_RANLIB
6474 if test -n "$RANLIB"; then
6475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6476 $as_echo "$RANLIB" >&6; }
6477 else
6478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6480 fi
6481
6482
6483 fi
6484 if test -z "$ac_cv_prog_RANLIB"; then
6485   ac_ct_RANLIB=$RANLIB
6486   # Extract the first word of "ranlib", so it can be a program name with args.
6487 set dummy ranlib; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6491   $as_echo_n "(cached) " >&6
6492 else
6493   if test -n "$ac_ct_RANLIB"; then
6494   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6495 else
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 for as_dir in $PATH
6498 do
6499   IFS=$as_save_IFS
6500   test -z "$as_dir" && as_dir=.
6501     for ac_exec_ext in '' $ac_executable_extensions; do
6502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503     ac_cv_prog_ac_ct_RANLIB="ranlib"
6504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505     break 2
6506   fi
6507 done
6508   done
6509 IFS=$as_save_IFS
6510
6511 fi
6512 fi
6513 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6514 if test -n "$ac_ct_RANLIB"; then
6515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6516 $as_echo "$ac_ct_RANLIB" >&6; }
6517 else
6518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6520 fi
6521
6522   if test "x$ac_ct_RANLIB" = x; then
6523     RANLIB=":"
6524   else
6525     case $cross_compiling:$ac_tool_warned in
6526 yes:)
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6529 ac_tool_warned=yes ;;
6530 esac
6531     RANLIB=$ac_ct_RANLIB
6532   fi
6533 else
6534   RANLIB="$ac_cv_prog_RANLIB"
6535 fi
6536
6537 test -z "$RANLIB" && RANLIB=:
6538
6539
6540
6541
6542
6543
6544 # Determine commands to create old-style static archives.
6545 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6546 old_postinstall_cmds='chmod 644 $oldlib'
6547 old_postuninstall_cmds=
6548
6549 if test -n "$RANLIB"; then
6550   case $host_os in
6551   openbsd*)
6552     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6553     ;;
6554   *)
6555     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6556     ;;
6557   esac
6558   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6559 fi
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594 # If no C compiler was specified, use CC.
6595 LTCC=${LTCC-"$CC"}
6596
6597 # If no C compiler flags were specified, use CFLAGS.
6598 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6599
6600 # Allow CC to be a program name with arguments.
6601 compiler=$CC
6602
6603
6604 # Check for command to grab the raw symbol name followed by C symbol from nm.
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6606 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6607 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6608   $as_echo_n "(cached) " >&6
6609 else
6610
6611 # These are sane defaults that work on at least a few old systems.
6612 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6613
6614 # Character class describing NM global symbol codes.
6615 symcode='[BCDEGRST]'
6616
6617 # Regexp to match symbols that can be accessed directly from C.
6618 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6619
6620 # Define system-specific variables.
6621 case $host_os in
6622 aix*)
6623   symcode='[BCDT]'
6624   ;;
6625 cygwin* | mingw* | pw32* | cegcc*)
6626   symcode='[ABCDGISTW]'
6627   ;;
6628 hpux*)
6629   if test "$host_cpu" = ia64; then
6630     symcode='[ABCDEGRST]'
6631   fi
6632   ;;
6633 irix* | nonstopux*)
6634   symcode='[BCDEGRST]'
6635   ;;
6636 osf*)
6637   symcode='[BCDEGQRST]'
6638   ;;
6639 solaris*)
6640   symcode='[BDRT]'
6641   ;;
6642 sco3.2v5*)
6643   symcode='[DT]'
6644   ;;
6645 sysv4.2uw2*)
6646   symcode='[DT]'
6647   ;;
6648 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6649   symcode='[ABDT]'
6650   ;;
6651 sysv4)
6652   symcode='[DFNSTU]'
6653   ;;
6654 esac
6655
6656 # If we're using GNU nm, then use its standard symbol codes.
6657 case `$NM -V 2>&1` in
6658 *GNU* | *'with BFD'*)
6659   symcode='[ABCDGIRSTW]' ;;
6660 esac
6661
6662 # Transform an extracted symbol line into a proper C declaration.
6663 # Some systems (esp. on ia64) link data and code symbols differently,
6664 # so use this general approach.
6665 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6666
6667 # Transform an extracted symbol line into symbol name and symbol address
6668 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6669 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'"
6670
6671 # Handle CRLF in mingw tool chain
6672 opt_cr=
6673 case $build_os in
6674 mingw*)
6675   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6676   ;;
6677 esac
6678
6679 # Try without a prefix underscore, then with it.
6680 for ac_symprfx in "" "_"; do
6681
6682   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6683   symxfrm="\\1 $ac_symprfx\\2 \\2"
6684
6685   # Write the raw and C identifiers.
6686   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6687     # Fake it for dumpbin and say T for any non-static function
6688     # and D for any global variable.
6689     # Also find C++ and __fastcall symbols from MSVC++,
6690     # which start with @ or ?.
6691     lt_cv_sys_global_symbol_pipe="$AWK '"\
6692 "     {last_section=section; section=\$ 3};"\
6693 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6694 "     \$ 0!~/External *\|/{next};"\
6695 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6696 "     {if(hide[section]) next};"\
6697 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6698 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6699 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6700 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6701 "     ' prfx=^$ac_symprfx"
6702   else
6703     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6704   fi
6705
6706   # Check to see that the pipe works correctly.
6707   pipe_works=no
6708
6709   rm -f conftest*
6710   cat > conftest.$ac_ext <<_LT_EOF
6711 #ifdef __cplusplus
6712 extern "C" {
6713 #endif
6714 char nm_test_var;
6715 void nm_test_func(void);
6716 void nm_test_func(void){}
6717 #ifdef __cplusplus
6718 }
6719 #endif
6720 int main(){nm_test_var='a';nm_test_func();return(0);}
6721 _LT_EOF
6722
6723   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6724   (eval $ac_compile) 2>&5
6725   ac_status=$?
6726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6727   test $ac_status = 0; }; then
6728     # Now try to grab the symbols.
6729     nlist=conftest.nm
6730     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6731   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6732   ac_status=$?
6733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734   test $ac_status = 0; } && test -s "$nlist"; then
6735       # Try sorting and uniquifying the output.
6736       if sort "$nlist" | uniq > "$nlist"T; then
6737         mv -f "$nlist"T "$nlist"
6738       else
6739         rm -f "$nlist"T
6740       fi
6741
6742       # Make sure that we snagged all the symbols we need.
6743       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6744         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6745           cat <<_LT_EOF > conftest.$ac_ext
6746 #ifdef __cplusplus
6747 extern "C" {
6748 #endif
6749
6750 _LT_EOF
6751           # Now generate the symbol file.
6752           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6753
6754           cat <<_LT_EOF >> conftest.$ac_ext
6755
6756 /* The mapping between symbol names and symbols.  */
6757 const struct {
6758   const char *name;
6759   void       *address;
6760 }
6761 lt__PROGRAM__LTX_preloaded_symbols[] =
6762 {
6763   { "@PROGRAM@", (void *) 0 },
6764 _LT_EOF
6765           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6766           cat <<\_LT_EOF >> conftest.$ac_ext
6767   {0, (void *) 0}
6768 };
6769
6770 /* This works around a problem in FreeBSD linker */
6771 #ifdef FREEBSD_WORKAROUND
6772 static const void *lt_preloaded_setup() {
6773   return lt__PROGRAM__LTX_preloaded_symbols;
6774 }
6775 #endif
6776
6777 #ifdef __cplusplus
6778 }
6779 #endif
6780 _LT_EOF
6781           # Now try linking the two files.
6782           mv conftest.$ac_objext conftstm.$ac_objext
6783           lt_save_LIBS="$LIBS"
6784           lt_save_CFLAGS="$CFLAGS"
6785           LIBS="conftstm.$ac_objext"
6786           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6787           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6788   (eval $ac_link) 2>&5
6789   ac_status=$?
6790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6791   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6792             pipe_works=yes
6793           fi
6794           LIBS="$lt_save_LIBS"
6795           CFLAGS="$lt_save_CFLAGS"
6796         else
6797           echo "cannot find nm_test_func in $nlist" >&5
6798         fi
6799       else
6800         echo "cannot find nm_test_var in $nlist" >&5
6801       fi
6802     else
6803       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6804     fi
6805   else
6806     echo "$progname: failed program was:" >&5
6807     cat conftest.$ac_ext >&5
6808   fi
6809   rm -rf conftest* conftst*
6810
6811   # Do not use the global_symbol_pipe unless it works.
6812   if test "$pipe_works" = yes; then
6813     break
6814   else
6815     lt_cv_sys_global_symbol_pipe=
6816   fi
6817 done
6818
6819 fi
6820
6821 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6822   lt_cv_sys_global_symbol_to_cdecl=
6823 fi
6824 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6826 $as_echo "failed" >&6; }
6827 else
6828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6829 $as_echo "ok" >&6; }
6830 fi
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854 # Check whether --enable-libtool-lock was given.
6855 if test "${enable_libtool_lock+set}" = set; then :
6856   enableval=$enable_libtool_lock;
6857 fi
6858
6859 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6860
6861 # Some flags need to be propagated to the compiler or linker for good
6862 # libtool support.
6863 case $host in
6864 ia64-*-hpux*)
6865   # Find out which ABI we are using.
6866   echo 'int i;' > conftest.$ac_ext
6867   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6868   (eval $ac_compile) 2>&5
6869   ac_status=$?
6870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6871   test $ac_status = 0; }; then
6872     case `/usr/bin/file conftest.$ac_objext` in
6873       *ELF-32*)
6874         HPUX_IA64_MODE="32"
6875         ;;
6876       *ELF-64*)
6877         HPUX_IA64_MODE="64"
6878         ;;
6879     esac
6880   fi
6881   rm -rf conftest*
6882   ;;
6883 *-*-irix6*)
6884   # Find out which ABI we are using.
6885   echo '#line 6885 "configure"' > conftest.$ac_ext
6886   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6887   (eval $ac_compile) 2>&5
6888   ac_status=$?
6889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6890   test $ac_status = 0; }; then
6891     if test "$lt_cv_prog_gnu_ld" = yes; then
6892       case `/usr/bin/file conftest.$ac_objext` in
6893         *32-bit*)
6894           LD="${LD-ld} -melf32bsmip"
6895           ;;
6896         *N32*)
6897           LD="${LD-ld} -melf32bmipn32"
6898           ;;
6899         *64-bit*)
6900           LD="${LD-ld} -melf64bmip"
6901         ;;
6902       esac
6903     else
6904       case `/usr/bin/file conftest.$ac_objext` in
6905         *32-bit*)
6906           LD="${LD-ld} -32"
6907           ;;
6908         *N32*)
6909           LD="${LD-ld} -n32"
6910           ;;
6911         *64-bit*)
6912           LD="${LD-ld} -64"
6913           ;;
6914       esac
6915     fi
6916   fi
6917   rm -rf conftest*
6918   ;;
6919
6920 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6921 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6922   # Find out which ABI we are using.
6923   echo 'int i;' > conftest.$ac_ext
6924   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6925   (eval $ac_compile) 2>&5
6926   ac_status=$?
6927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6928   test $ac_status = 0; }; then
6929     case `/usr/bin/file conftest.o` in
6930       *32-bit*)
6931         case $host in
6932           x86_64-*kfreebsd*-gnu)
6933             LD="${LD-ld} -m elf_i386_fbsd"
6934             ;;
6935           x86_64-*linux*)
6936             LD="${LD-ld} -m elf_i386"
6937             ;;
6938           ppc64-*linux*|powerpc64-*linux*)
6939             LD="${LD-ld} -m elf32ppclinux"
6940             ;;
6941           s390x-*linux*)
6942             LD="${LD-ld} -m elf_s390"
6943             ;;
6944           sparc64-*linux*)
6945             LD="${LD-ld} -m elf32_sparc"
6946             ;;
6947         esac
6948         ;;
6949       *64-bit*)
6950         case $host in
6951           x86_64-*kfreebsd*-gnu)
6952             LD="${LD-ld} -m elf_x86_64_fbsd"
6953             ;;
6954           x86_64-*linux*)
6955             LD="${LD-ld} -m elf_x86_64"
6956             ;;
6957           ppc*-*linux*|powerpc*-*linux*)
6958             LD="${LD-ld} -m elf64ppc"
6959             ;;
6960           s390*-*linux*|s390*-*tpf*)
6961             LD="${LD-ld} -m elf64_s390"
6962             ;;
6963           sparc*-*linux*)
6964             LD="${LD-ld} -m elf64_sparc"
6965             ;;
6966         esac
6967         ;;
6968     esac
6969   fi
6970   rm -rf conftest*
6971   ;;
6972
6973 *-*-sco3.2v5*)
6974   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6975   SAVE_CFLAGS="$CFLAGS"
6976   CFLAGS="$CFLAGS -belf"
6977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6978 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6979 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6980   $as_echo_n "(cached) " >&6
6981 else
6982   ac_ext=c
6983 ac_cpp='$CPP $CPPFLAGS'
6984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6987
6988      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h.  */
6990
6991 int
6992 main ()
6993 {
6994
6995   ;
6996   return 0;
6997 }
6998 _ACEOF
6999 if ac_fn_c_try_link "$LINENO"; then :
7000   lt_cv_cc_needs_belf=yes
7001 else
7002   lt_cv_cc_needs_belf=no
7003 fi
7004 rm -f core conftest.err conftest.$ac_objext \
7005     conftest$ac_exeext conftest.$ac_ext
7006      ac_ext=c
7007 ac_cpp='$CPP $CPPFLAGS'
7008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7011
7012 fi
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7014 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7015   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7016     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7017     CFLAGS="$SAVE_CFLAGS"
7018   fi
7019   ;;
7020 sparc*-*solaris*)
7021   # Find out which ABI we are using.
7022   echo 'int i;' > conftest.$ac_ext
7023   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7024   (eval $ac_compile) 2>&5
7025   ac_status=$?
7026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7027   test $ac_status = 0; }; then
7028     case `/usr/bin/file conftest.o` in
7029     *64-bit*)
7030       case $lt_cv_prog_gnu_ld in
7031       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7032       *)
7033         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7034           LD="${LD-ld} -64"
7035         fi
7036         ;;
7037       esac
7038       ;;
7039     esac
7040   fi
7041   rm -rf conftest*
7042   ;;
7043 esac
7044
7045 need_locks="$enable_libtool_lock"
7046
7047
7048   case $host_os in
7049     rhapsody* | darwin*)
7050     if test -n "$ac_tool_prefix"; then
7051   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7052 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7056   $as_echo_n "(cached) " >&6
7057 else
7058   if test -n "$DSYMUTIL"; then
7059   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7060 else
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062 for as_dir in $PATH
7063 do
7064   IFS=$as_save_IFS
7065   test -z "$as_dir" && as_dir=.
7066     for ac_exec_ext in '' $ac_executable_extensions; do
7067   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7068     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070     break 2
7071   fi
7072 done
7073   done
7074 IFS=$as_save_IFS
7075
7076 fi
7077 fi
7078 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7079 if test -n "$DSYMUTIL"; then
7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7081 $as_echo "$DSYMUTIL" >&6; }
7082 else
7083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7085 fi
7086
7087
7088 fi
7089 if test -z "$ac_cv_prog_DSYMUTIL"; then
7090   ac_ct_DSYMUTIL=$DSYMUTIL
7091   # Extract the first word of "dsymutil", so it can be a program name with args.
7092 set dummy dsymutil; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7096   $as_echo_n "(cached) " >&6
7097 else
7098   if test -n "$ac_ct_DSYMUTIL"; then
7099   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7100 else
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 for as_dir in $PATH
7103 do
7104   IFS=$as_save_IFS
7105   test -z "$as_dir" && as_dir=.
7106     for ac_exec_ext in '' $ac_executable_extensions; do
7107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110     break 2
7111   fi
7112 done
7113   done
7114 IFS=$as_save_IFS
7115
7116 fi
7117 fi
7118 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7119 if test -n "$ac_ct_DSYMUTIL"; then
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7121 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7122 else
7123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7125 fi
7126
7127   if test "x$ac_ct_DSYMUTIL" = x; then
7128     DSYMUTIL=":"
7129   else
7130     case $cross_compiling:$ac_tool_warned in
7131 yes:)
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned=yes ;;
7135 esac
7136     DSYMUTIL=$ac_ct_DSYMUTIL
7137   fi
7138 else
7139   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7140 fi
7141
7142     if test -n "$ac_tool_prefix"; then
7143   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7144 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 $as_echo_n "checking for $ac_word... " >&6; }
7147 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7148   $as_echo_n "(cached) " >&6
7149 else
7150   if test -n "$NMEDIT"; then
7151   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7152 else
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154 for as_dir in $PATH
7155 do
7156   IFS=$as_save_IFS
7157   test -z "$as_dir" && as_dir=.
7158     for ac_exec_ext in '' $ac_executable_extensions; do
7159   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7160     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162     break 2
7163   fi
7164 done
7165   done
7166 IFS=$as_save_IFS
7167
7168 fi
7169 fi
7170 NMEDIT=$ac_cv_prog_NMEDIT
7171 if test -n "$NMEDIT"; then
7172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7173 $as_echo "$NMEDIT" >&6; }
7174 else
7175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7177 fi
7178
7179
7180 fi
7181 if test -z "$ac_cv_prog_NMEDIT"; then
7182   ac_ct_NMEDIT=$NMEDIT
7183   # Extract the first word of "nmedit", so it can be a program name with args.
7184 set dummy nmedit; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7188   $as_echo_n "(cached) " >&6
7189 else
7190   if test -n "$ac_ct_NMEDIT"; then
7191   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7195 do
7196   IFS=$as_save_IFS
7197   test -z "$as_dir" && as_dir=.
7198     for ac_exec_ext in '' $ac_executable_extensions; do
7199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7200     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202     break 2
7203   fi
7204 done
7205   done
7206 IFS=$as_save_IFS
7207
7208 fi
7209 fi
7210 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7211 if test -n "$ac_ct_NMEDIT"; then
7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7213 $as_echo "$ac_ct_NMEDIT" >&6; }
7214 else
7215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7217 fi
7218
7219   if test "x$ac_ct_NMEDIT" = x; then
7220     NMEDIT=":"
7221   else
7222     case $cross_compiling:$ac_tool_warned in
7223 yes:)
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7226 ac_tool_warned=yes ;;
7227 esac
7228     NMEDIT=$ac_ct_NMEDIT
7229   fi
7230 else
7231   NMEDIT="$ac_cv_prog_NMEDIT"
7232 fi
7233
7234     if test -n "$ac_tool_prefix"; then
7235   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7236 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 $as_echo_n "checking for $ac_word... " >&6; }
7239 if test "${ac_cv_prog_LIPO+set}" = set; then :
7240   $as_echo_n "(cached) " >&6
7241 else
7242   if test -n "$LIPO"; then
7243   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7244 else
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 for as_dir in $PATH
7247 do
7248   IFS=$as_save_IFS
7249   test -z "$as_dir" && as_dir=.
7250     for ac_exec_ext in '' $ac_executable_extensions; do
7251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7252     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254     break 2
7255   fi
7256 done
7257   done
7258 IFS=$as_save_IFS
7259
7260 fi
7261 fi
7262 LIPO=$ac_cv_prog_LIPO
7263 if test -n "$LIPO"; then
7264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7265 $as_echo "$LIPO" >&6; }
7266 else
7267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268 $as_echo "no" >&6; }
7269 fi
7270
7271
7272 fi
7273 if test -z "$ac_cv_prog_LIPO"; then
7274   ac_ct_LIPO=$LIPO
7275   # Extract the first word of "lipo", so it can be a program name with args.
7276 set dummy lipo; ac_word=$2
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 $as_echo_n "checking for $ac_word... " >&6; }
7279 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7280   $as_echo_n "(cached) " >&6
7281 else
7282   if test -n "$ac_ct_LIPO"; then
7283   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7284 else
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 for as_dir in $PATH
7287 do
7288   IFS=$as_save_IFS
7289   test -z "$as_dir" && as_dir=.
7290     for ac_exec_ext in '' $ac_executable_extensions; do
7291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7292     ac_cv_prog_ac_ct_LIPO="lipo"
7293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7294     break 2
7295   fi
7296 done
7297   done
7298 IFS=$as_save_IFS
7299
7300 fi
7301 fi
7302 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7303 if test -n "$ac_ct_LIPO"; then
7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7305 $as_echo "$ac_ct_LIPO" >&6; }
7306 else
7307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 $as_echo "no" >&6; }
7309 fi
7310
7311   if test "x$ac_ct_LIPO" = x; then
7312     LIPO=":"
7313   else
7314     case $cross_compiling:$ac_tool_warned in
7315 yes:)
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7318 ac_tool_warned=yes ;;
7319 esac
7320     LIPO=$ac_ct_LIPO
7321   fi
7322 else
7323   LIPO="$ac_cv_prog_LIPO"
7324 fi
7325
7326     if test -n "$ac_tool_prefix"; then
7327   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7328 set dummy ${ac_tool_prefix}otool; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7332   $as_echo_n "(cached) " >&6
7333 else
7334   if test -n "$OTOOL"; then
7335   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7336 else
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 for as_dir in $PATH
7339 do
7340   IFS=$as_save_IFS
7341   test -z "$as_dir" && as_dir=.
7342     for ac_exec_ext in '' $ac_executable_extensions; do
7343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346     break 2
7347   fi
7348 done
7349   done
7350 IFS=$as_save_IFS
7351
7352 fi
7353 fi
7354 OTOOL=$ac_cv_prog_OTOOL
7355 if test -n "$OTOOL"; then
7356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7357 $as_echo "$OTOOL" >&6; }
7358 else
7359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7361 fi
7362
7363
7364 fi
7365 if test -z "$ac_cv_prog_OTOOL"; then
7366   ac_ct_OTOOL=$OTOOL
7367   # Extract the first word of "otool", so it can be a program name with args.
7368 set dummy otool; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7372   $as_echo_n "(cached) " >&6
7373 else
7374   if test -n "$ac_ct_OTOOL"; then
7375   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7376 else
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 for as_dir in $PATH
7379 do
7380   IFS=$as_save_IFS
7381   test -z "$as_dir" && as_dir=.
7382     for ac_exec_ext in '' $ac_executable_extensions; do
7383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384     ac_cv_prog_ac_ct_OTOOL="otool"
7385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386     break 2
7387   fi
7388 done
7389   done
7390 IFS=$as_save_IFS
7391
7392 fi
7393 fi
7394 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7395 if test -n "$ac_ct_OTOOL"; then
7396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7397 $as_echo "$ac_ct_OTOOL" >&6; }
7398 else
7399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7401 fi
7402
7403   if test "x$ac_ct_OTOOL" = x; then
7404     OTOOL=":"
7405   else
7406     case $cross_compiling:$ac_tool_warned in
7407 yes:)
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7410 ac_tool_warned=yes ;;
7411 esac
7412     OTOOL=$ac_ct_OTOOL
7413   fi
7414 else
7415   OTOOL="$ac_cv_prog_OTOOL"
7416 fi
7417
7418     if test -n "$ac_tool_prefix"; then
7419   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7420 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7424   $as_echo_n "(cached) " >&6
7425 else
7426   if test -n "$OTOOL64"; then
7427   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7428 else
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 for as_dir in $PATH
7431 do
7432   IFS=$as_save_IFS
7433   test -z "$as_dir" && as_dir=.
7434     for ac_exec_ext in '' $ac_executable_extensions; do
7435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438     break 2
7439   fi
7440 done
7441   done
7442 IFS=$as_save_IFS
7443
7444 fi
7445 fi
7446 OTOOL64=$ac_cv_prog_OTOOL64
7447 if test -n "$OTOOL64"; then
7448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7449 $as_echo "$OTOOL64" >&6; }
7450 else
7451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7453 fi
7454
7455
7456 fi
7457 if test -z "$ac_cv_prog_OTOOL64"; then
7458   ac_ct_OTOOL64=$OTOOL64
7459   # Extract the first word of "otool64", so it can be a program name with args.
7460 set dummy otool64; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7464   $as_echo_n "(cached) " >&6
7465 else
7466   if test -n "$ac_ct_OTOOL64"; then
7467   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7468 else
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7470 for as_dir in $PATH
7471 do
7472   IFS=$as_save_IFS
7473   test -z "$as_dir" && as_dir=.
7474     for ac_exec_ext in '' $ac_executable_extensions; do
7475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476     ac_cv_prog_ac_ct_OTOOL64="otool64"
7477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478     break 2
7479   fi
7480 done
7481   done
7482 IFS=$as_save_IFS
7483
7484 fi
7485 fi
7486 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7487 if test -n "$ac_ct_OTOOL64"; then
7488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7489 $as_echo "$ac_ct_OTOOL64" >&6; }
7490 else
7491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7493 fi
7494
7495   if test "x$ac_ct_OTOOL64" = x; then
7496     OTOOL64=":"
7497   else
7498     case $cross_compiling:$ac_tool_warned in
7499 yes:)
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7502 ac_tool_warned=yes ;;
7503 esac
7504     OTOOL64=$ac_ct_OTOOL64
7505   fi
7506 else
7507   OTOOL64="$ac_cv_prog_OTOOL64"
7508 fi
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7537 $as_echo_n "checking for -single_module linker flag... " >&6; }
7538 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7539   $as_echo_n "(cached) " >&6
7540 else
7541   lt_cv_apple_cc_single_mod=no
7542       if test -z "${LT_MULTI_MODULE}"; then
7543         # By default we will add the -single_module flag. You can override
7544         # by either setting the environment variable LT_MULTI_MODULE
7545         # non-empty at configure time, or by adding -multi_module to the
7546         # link flags.
7547         rm -rf libconftest.dylib*
7548         echo "int foo(void){return 1;}" > conftest.c
7549         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7550 -dynamiclib -Wl,-single_module conftest.c" >&5
7551         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7552           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7553         _lt_result=$?
7554         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7555           lt_cv_apple_cc_single_mod=yes
7556         else
7557           cat conftest.err >&5
7558         fi
7559         rm -rf libconftest.dylib*
7560         rm -f conftest.*
7561       fi
7562 fi
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7564 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7565     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7566 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7567 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7568   $as_echo_n "(cached) " >&6
7569 else
7570   lt_cv_ld_exported_symbols_list=no
7571       save_LDFLAGS=$LDFLAGS
7572       echo "_main" > conftest.sym
7573       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7575 /* end confdefs.h.  */
7576
7577 int
7578 main ()
7579 {
7580
7581   ;
7582   return 0;
7583 }
7584 _ACEOF
7585 if ac_fn_c_try_link "$LINENO"; then :
7586   lt_cv_ld_exported_symbols_list=yes
7587 else
7588   lt_cv_ld_exported_symbols_list=no
7589 fi
7590 rm -f core conftest.err conftest.$ac_objext \
7591     conftest$ac_exeext conftest.$ac_ext
7592         LDFLAGS="$save_LDFLAGS"
7593
7594 fi
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7596 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7597     case $host_os in
7598     rhapsody* | darwin1.[012])
7599       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7600     darwin1.*)
7601       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7602     darwin*) # darwin 5.x on
7603       # if running on 10.5 or later, the deployment target defaults
7604       # to the OS version, if on x86, and 10.4, the deployment
7605       # target defaults to 10.4. Don't you love it?
7606       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7607         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7608           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7609         10.[012]*)
7610           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7611         10.*)
7612           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7613       esac
7614     ;;
7615   esac
7616     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7617       _lt_dar_single_mod='$single_module'
7618     fi
7619     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7620       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7621     else
7622       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7623     fi
7624     if test "$DSYMUTIL" != ":"; then
7625       _lt_dsymutil='~$DSYMUTIL $lib || :'
7626     else
7627       _lt_dsymutil=
7628     fi
7629     ;;
7630   esac
7631
7632 ac_ext=c
7633 ac_cpp='$CPP $CPPFLAGS'
7634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7638 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7639 # On Suns, sometimes $CPP names a directory.
7640 if test -n "$CPP" && test -d "$CPP"; then
7641   CPP=
7642 fi
7643 if test -z "$CPP"; then
7644   if test "${ac_cv_prog_CPP+set}" = set; then :
7645   $as_echo_n "(cached) " >&6
7646 else
7647       # Double quotes because CPP needs to be expanded
7648     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7649     do
7650       ac_preproc_ok=false
7651 for ac_c_preproc_warn_flag in '' yes
7652 do
7653   # Use a header file that comes with gcc, so configuring glibc
7654   # with a fresh cross-compiler works.
7655   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7656   # <limits.h> exists even on freestanding compilers.
7657   # On the NeXT, cc -E runs the code through the compiler's parser,
7658   # not just through cpp. "Syntax error" is here to catch this case.
7659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h.  */
7661 #ifdef __STDC__
7662 # include <limits.h>
7663 #else
7664 # include <assert.h>
7665 #endif
7666                      Syntax error
7667 _ACEOF
7668 if ac_fn_c_try_cpp "$LINENO"; then :
7669
7670 else
7671   # Broken: fails on valid input.
7672 continue
7673 fi
7674 rm -f conftest.err conftest.i conftest.$ac_ext
7675
7676   # OK, works on sane cases.  Now check whether nonexistent headers
7677   # can be detected and how.
7678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h.  */
7680 #include <ac_nonexistent.h>
7681 _ACEOF
7682 if ac_fn_c_try_cpp "$LINENO"; then :
7683   # Broken: success on invalid input.
7684 continue
7685 else
7686   # Passes both tests.
7687 ac_preproc_ok=:
7688 break
7689 fi
7690 rm -f conftest.err conftest.i conftest.$ac_ext
7691
7692 done
7693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7694 rm -f conftest.i conftest.err conftest.$ac_ext
7695 if $ac_preproc_ok; then :
7696   break
7697 fi
7698
7699     done
7700     ac_cv_prog_CPP=$CPP
7701
7702 fi
7703   CPP=$ac_cv_prog_CPP
7704 else
7705   ac_cv_prog_CPP=$CPP
7706 fi
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7708 $as_echo "$CPP" >&6; }
7709 ac_preproc_ok=false
7710 for ac_c_preproc_warn_flag in '' yes
7711 do
7712   # Use a header file that comes with gcc, so configuring glibc
7713   # with a fresh cross-compiler works.
7714   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7715   # <limits.h> exists even on freestanding compilers.
7716   # On the NeXT, cc -E runs the code through the compiler's parser,
7717   # not just through cpp. "Syntax error" is here to catch this case.
7718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h.  */
7720 #ifdef __STDC__
7721 # include <limits.h>
7722 #else
7723 # include <assert.h>
7724 #endif
7725                      Syntax error
7726 _ACEOF
7727 if ac_fn_c_try_cpp "$LINENO"; then :
7728
7729 else
7730   # Broken: fails on valid input.
7731 continue
7732 fi
7733 rm -f conftest.err conftest.i conftest.$ac_ext
7734
7735   # OK, works on sane cases.  Now check whether nonexistent headers
7736   # can be detected and how.
7737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h.  */
7739 #include <ac_nonexistent.h>
7740 _ACEOF
7741 if ac_fn_c_try_cpp "$LINENO"; then :
7742   # Broken: success on invalid input.
7743 continue
7744 else
7745   # Passes both tests.
7746 ac_preproc_ok=:
7747 break
7748 fi
7749 rm -f conftest.err conftest.i conftest.$ac_ext
7750
7751 done
7752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7753 rm -f conftest.i conftest.err conftest.$ac_ext
7754 if $ac_preproc_ok; then :
7755
7756 else
7757   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7759 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7760 See \`config.log' for more details" "$LINENO" 5 ; }
7761 fi
7762
7763 ac_ext=c
7764 ac_cpp='$CPP $CPPFLAGS'
7765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7768
7769
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7771 $as_echo_n "checking for ANSI C header files... " >&6; }
7772 if test "${ac_cv_header_stdc+set}" = set; then :
7773   $as_echo_n "(cached) " >&6
7774 else
7775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7776 /* end confdefs.h.  */
7777 #include <stdlib.h>
7778 #include <stdarg.h>
7779 #include <string.h>
7780 #include <float.h>
7781
7782 int
7783 main ()
7784 {
7785
7786   ;
7787   return 0;
7788 }
7789 _ACEOF
7790 if ac_fn_c_try_compile "$LINENO"; then :
7791   ac_cv_header_stdc=yes
7792 else
7793   ac_cv_header_stdc=no
7794 fi
7795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7796
7797 if test $ac_cv_header_stdc = yes; then
7798   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h.  */
7801 #include <string.h>
7802
7803 _ACEOF
7804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7805   $EGREP "memchr" >/dev/null 2>&1; then :
7806
7807 else
7808   ac_cv_header_stdc=no
7809 fi
7810 rm -f conftest*
7811
7812 fi
7813
7814 if test $ac_cv_header_stdc = yes; then
7815   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7817 /* end confdefs.h.  */
7818 #include <stdlib.h>
7819
7820 _ACEOF
7821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7822   $EGREP "free" >/dev/null 2>&1; then :
7823
7824 else
7825   ac_cv_header_stdc=no
7826 fi
7827 rm -f conftest*
7828
7829 fi
7830
7831 if test $ac_cv_header_stdc = yes; then
7832   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7833   if test "$cross_compiling" = yes; then :
7834   :
7835 else
7836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7837 /* end confdefs.h.  */
7838 #include <ctype.h>
7839 #include <stdlib.h>
7840 #if ((' ' & 0x0FF) == 0x020)
7841 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7842 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7843 #else
7844 # define ISLOWER(c) \
7845                    (('a' <= (c) && (c) <= 'i') \
7846                      || ('j' <= (c) && (c) <= 'r') \
7847                      || ('s' <= (c) && (c) <= 'z'))
7848 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7849 #endif
7850
7851 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7852 int
7853 main ()
7854 {
7855   int i;
7856   for (i = 0; i < 256; i++)
7857     if (XOR (islower (i), ISLOWER (i))
7858         || toupper (i) != TOUPPER (i))
7859       return 2;
7860   return 0;
7861 }
7862 _ACEOF
7863 if ac_fn_c_try_run "$LINENO"; then :
7864
7865 else
7866   ac_cv_header_stdc=no
7867 fi
7868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7869   conftest.$ac_objext conftest.beam conftest.$ac_ext
7870 fi
7871
7872 fi
7873 fi
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7875 $as_echo "$ac_cv_header_stdc" >&6; }
7876 if test $ac_cv_header_stdc = yes; then
7877
7878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7879
7880 fi
7881
7882 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7884                   inttypes.h stdint.h unistd.h
7885 do :
7886   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7888 "
7889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7890   cat >>confdefs.h <<_ACEOF
7891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7892 _ACEOF
7893
7894 fi
7895
7896 done
7897
7898
7899 for ac_header in dlfcn.h
7900 do :
7901   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7902 "
7903 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7904   cat >>confdefs.h <<_ACEOF
7905 #define HAVE_DLFCN_H 1
7906 _ACEOF
7907
7908 fi
7909
7910 done
7911
7912
7913
7914 # Set options
7915
7916
7917
7918
7919
7920             # Check whether --enable-shared was given.
7921 if test "${enable_shared+set}" = set; then :
7922   enableval=$enable_shared; p=${PACKAGE-default}
7923     case $enableval in
7924     yes) enable_shared=yes ;;
7925     no) enable_shared=no ;;
7926     *)
7927       enable_shared=no
7928       # Look at the argument we got.  We use all the common list separators.
7929       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7930       for pkg in $enableval; do
7931         IFS="$lt_save_ifs"
7932         if test "X$pkg" = "X$p"; then
7933           enable_shared=yes
7934         fi
7935       done
7936       IFS="$lt_save_ifs"
7937       ;;
7938     esac
7939 else
7940   enable_shared=yes
7941 fi
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951   # Check whether --enable-static was given.
7952 if test "${enable_static+set}" = set; then :
7953   enableval=$enable_static; p=${PACKAGE-default}
7954     case $enableval in
7955     yes) enable_static=yes ;;
7956     no) enable_static=no ;;
7957     *)
7958      enable_static=no
7959       # Look at the argument we got.  We use all the common list separators.
7960       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7961       for pkg in $enableval; do
7962         IFS="$lt_save_ifs"
7963         if test "X$pkg" = "X$p"; then
7964           enable_static=yes
7965         fi
7966       done
7967       IFS="$lt_save_ifs"
7968       ;;
7969     esac
7970 else
7971   enable_static=yes
7972 fi
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983 # Check whether --with-pic was given.
7984 if test "${with_pic+set}" = set; then :
7985   withval=$with_pic; pic_mode="$withval"
7986 else
7987   pic_mode=default
7988 fi
7989
7990
7991 test -z "$pic_mode" && pic_mode=default
7992
7993
7994
7995
7996
7997
7998
7999   # Check whether --enable-fast-install was given.
8000 if test "${enable_fast_install+set}" = set; then :
8001   enableval=$enable_fast_install; p=${PACKAGE-default}
8002     case $enableval in
8003     yes) enable_fast_install=yes ;;
8004     no) enable_fast_install=no ;;
8005     *)
8006       enable_fast_install=no
8007       # Look at the argument we got.  We use all the common list separators.
8008       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8009       for pkg in $enableval; do
8010         IFS="$lt_save_ifs"
8011         if test "X$pkg" = "X$p"; then
8012           enable_fast_install=yes
8013         fi
8014       done
8015       IFS="$lt_save_ifs"
8016       ;;
8017     esac
8018 else
8019   enable_fast_install=yes
8020 fi
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032 # This can be used to rebuild libtool when needed
8033 LIBTOOL_DEPS="$ltmain"
8034
8035 # Always use our own libtool.
8036 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062 test -z "$LN_S" && LN_S="ln -s"
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077 if test -n "${ZSH_VERSION+set}" ; then
8078    setopt NO_GLOB_SUBST
8079 fi
8080
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8082 $as_echo_n "checking for objdir... " >&6; }
8083 if test "${lt_cv_objdir+set}" = set; then :
8084   $as_echo_n "(cached) " >&6
8085 else
8086   rm -f .libs 2>/dev/null
8087 mkdir .libs 2>/dev/null
8088 if test -d .libs; then
8089   lt_cv_objdir=.libs
8090 else
8091   # MS-DOS does not allow filenames that begin with a dot.
8092   lt_cv_objdir=_libs
8093 fi
8094 rmdir .libs 2>/dev/null
8095 fi
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8097 $as_echo "$lt_cv_objdir" >&6; }
8098 objdir=$lt_cv_objdir
8099
8100
8101
8102
8103
8104 cat >>confdefs.h <<_ACEOF
8105 #define LT_OBJDIR "$lt_cv_objdir/"
8106 _ACEOF
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124 case $host_os in
8125 aix3*)
8126   # AIX sometimes has problems with the GCC collect2 program.  For some
8127   # reason, if we set the COLLECT_NAMES environment variable, the problems
8128   # vanish in a puff of smoke.
8129   if test "X${COLLECT_NAMES+set}" != Xset; then
8130     COLLECT_NAMES=
8131     export COLLECT_NAMES
8132   fi
8133   ;;
8134 esac
8135
8136 # Sed substitution that helps us do robust quoting.  It backslashifies
8137 # metacharacters that are still active within double-quoted strings.
8138 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8139
8140 # Same as above, but do not quote variable references.
8141 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8142
8143 # Sed substitution to delay expansion of an escaped shell variable in a
8144 # double_quote_subst'ed string.
8145 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8146
8147 # Sed substitution to delay expansion of an escaped single quote.
8148 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8149
8150 # Sed substitution to avoid accidental globbing in evaled expressions
8151 no_glob_subst='s/\*/\\\*/g'
8152
8153 # Global variables:
8154 ofile=libtool
8155 can_build_shared=yes
8156
8157 # All known linkers require a `.a' archive for static linking (except MSVC,
8158 # which needs '.lib').
8159 libext=a
8160
8161 with_gnu_ld="$lt_cv_prog_gnu_ld"
8162
8163 old_CC="$CC"
8164 old_CFLAGS="$CFLAGS"
8165
8166 # Set sane defaults for various variables
8167 test -z "$CC" && CC=cc
8168 test -z "$LTCC" && LTCC=$CC
8169 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8170 test -z "$LD" && LD=ld
8171 test -z "$ac_objext" && ac_objext=o
8172
8173 for cc_temp in $compiler""; do
8174   case $cc_temp in
8175     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8176     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8177     \-*) ;;
8178     *) break;;
8179   esac
8180 done
8181 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8182
8183
8184 # Only perform the check for file, if the check method requires it
8185 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8186 case $deplibs_check_method in
8187 file_magic*)
8188   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8189     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8190 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8191 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8192   $as_echo_n "(cached) " >&6
8193 else
8194   case $MAGIC_CMD in
8195 [\\/*] |  ?:[\\/]*)
8196   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8197   ;;
8198 *)
8199   lt_save_MAGIC_CMD="$MAGIC_CMD"
8200   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8201   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8202   for ac_dir in $ac_dummy; do
8203     IFS="$lt_save_ifs"
8204     test -z "$ac_dir" && ac_dir=.
8205     if test -f $ac_dir/${ac_tool_prefix}file; then
8206       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8207       if test -n "$file_magic_test_file"; then
8208         case $deplibs_check_method in
8209         "file_magic "*)
8210           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8211           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8212           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8213             $EGREP "$file_magic_regex" > /dev/null; then
8214             :
8215           else
8216             cat <<_LT_EOF 1>&2
8217
8218 *** Warning: the command libtool uses to detect shared libraries,
8219 *** $file_magic_cmd, produces output that libtool cannot recognize.
8220 *** The result is that libtool may fail to recognize shared libraries
8221 *** as such.  This will affect the creation of libtool libraries that
8222 *** depend on shared libraries, but programs linked with such libtool
8223 *** libraries will work regardless of this problem.  Nevertheless, you
8224 *** may want to report the problem to your system manager and/or to
8225 *** bug-libtool@gnu.org
8226
8227 _LT_EOF
8228           fi ;;
8229         esac
8230       fi
8231       break
8232     fi
8233   done
8234   IFS="$lt_save_ifs"
8235   MAGIC_CMD="$lt_save_MAGIC_CMD"
8236   ;;
8237 esac
8238 fi
8239
8240 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8241 if test -n "$MAGIC_CMD"; then
8242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8243 $as_echo "$MAGIC_CMD" >&6; }
8244 else
8245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8247 fi
8248
8249
8250
8251
8252
8253 if test -z "$lt_cv_path_MAGIC_CMD"; then
8254   if test -n "$ac_tool_prefix"; then
8255     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8256 $as_echo_n "checking for file... " >&6; }
8257 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8258   $as_echo_n "(cached) " >&6
8259 else
8260   case $MAGIC_CMD in
8261 [\\/*] |  ?:[\\/]*)
8262   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8263   ;;
8264 *)
8265   lt_save_MAGIC_CMD="$MAGIC_CMD"
8266   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8267   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8268   for ac_dir in $ac_dummy; do
8269     IFS="$lt_save_ifs"
8270     test -z "$ac_dir" && ac_dir=.
8271     if test -f $ac_dir/file; then
8272       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8273       if test -n "$file_magic_test_file"; then
8274         case $deplibs_check_method in
8275         "file_magic "*)
8276           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8277           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8278           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8279             $EGREP "$file_magic_regex" > /dev/null; then
8280             :
8281           else
8282             cat <<_LT_EOF 1>&2
8283
8284 *** Warning: the command libtool uses to detect shared libraries,
8285 *** $file_magic_cmd, produces output that libtool cannot recognize.
8286 *** The result is that libtool may fail to recognize shared libraries
8287 *** as such.  This will affect the creation of libtool libraries that
8288 *** depend on shared libraries, but programs linked with such libtool
8289 *** libraries will work regardless of this problem.  Nevertheless, you
8290 *** may want to report the problem to your system manager and/or to
8291 *** bug-libtool@gnu.org
8292
8293 _LT_EOF
8294           fi ;;
8295         esac
8296       fi
8297       break
8298     fi
8299   done
8300   IFS="$lt_save_ifs"
8301   MAGIC_CMD="$lt_save_MAGIC_CMD"
8302   ;;
8303 esac
8304 fi
8305
8306 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8307 if test -n "$MAGIC_CMD"; then
8308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8309 $as_echo "$MAGIC_CMD" >&6; }
8310 else
8311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312 $as_echo "no" >&6; }
8313 fi
8314
8315
8316   else
8317     MAGIC_CMD=:
8318   fi
8319 fi
8320
8321   fi
8322   ;;
8323 esac
8324
8325 # Use C for the default configuration in the libtool script
8326
8327 lt_save_CC="$CC"
8328 ac_ext=c
8329 ac_cpp='$CPP $CPPFLAGS'
8330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8333
8334
8335 # Source file extension for C test sources.
8336 ac_ext=c
8337
8338 # Object file extension for compiled C test sources.
8339 objext=o
8340 objext=$objext
8341
8342 # Code to be used in simple compile tests
8343 lt_simple_compile_test_code="int some_variable = 0;"
8344
8345 # Code to be used in simple link tests
8346 lt_simple_link_test_code='int main(){return(0);}'
8347
8348
8349
8350
8351
8352
8353
8354 # If no C compiler was specified, use CC.
8355 LTCC=${LTCC-"$CC"}
8356
8357 # If no C compiler flags were specified, use CFLAGS.
8358 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8359
8360 # Allow CC to be a program name with arguments.
8361 compiler=$CC
8362
8363 # Save the default compiler, since it gets overwritten when the other
8364 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8365 compiler_DEFAULT=$CC
8366
8367 # save warnings/boilerplate of simple test code
8368 ac_outfile=conftest.$ac_objext
8369 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8370 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8371 _lt_compiler_boilerplate=`cat conftest.err`
8372 $RM conftest*
8373
8374 ac_outfile=conftest.$ac_objext
8375 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8376 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8377 _lt_linker_boilerplate=`cat conftest.err`
8378 $RM -r conftest*
8379
8380
8381 ## CAVEAT EMPTOR:
8382 ## There is no encapsulation within the following macros, do not change
8383 ## the running order or otherwise move them around unless you know exactly
8384 ## what you are doing...
8385 if test -n "$compiler"; then
8386
8387 lt_prog_compiler_no_builtin_flag=
8388
8389 if test "$GCC" = yes; then
8390   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8391
8392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8393 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8394 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8395   $as_echo_n "(cached) " >&6
8396 else
8397   lt_cv_prog_compiler_rtti_exceptions=no
8398    ac_outfile=conftest.$ac_objext
8399    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8400    lt_compiler_flag="-fno-rtti -fno-exceptions"
8401    # Insert the option either (1) after the last *FLAGS variable, or
8402    # (2) before a word containing "conftest.", or (3) at the end.
8403    # Note that $ac_compile itself does not contain backslashes and begins
8404    # with a dollar sign (not a hyphen), so the echo should work correctly.
8405    # The option is referenced via a variable to avoid confusing sed.
8406    lt_compile=`echo "$ac_compile" | $SED \
8407    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8408    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8409    -e 's:$: $lt_compiler_flag:'`
8410    (eval echo "\"\$as_me:8410: $lt_compile\"" >&5)
8411    (eval "$lt_compile" 2>conftest.err)
8412    ac_status=$?
8413    cat conftest.err >&5
8414    echo "$as_me:8414: \$? = $ac_status" >&5
8415    if (exit $ac_status) && test -s "$ac_outfile"; then
8416      # The compiler can only warn and ignore the option if not recognized
8417      # So say no if there are warnings other than the usual output.
8418      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8419      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8420      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8421        lt_cv_prog_compiler_rtti_exceptions=yes
8422      fi
8423    fi
8424    $RM conftest*
8425
8426 fi
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8428 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8429
8430 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8431     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8432 else
8433     :
8434 fi
8435
8436 fi
8437
8438
8439
8440
8441
8442
8443   lt_prog_compiler_wl=
8444 lt_prog_compiler_pic=
8445 lt_prog_compiler_static=
8446
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8448 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8449
8450   if test "$GCC" = yes; then
8451     lt_prog_compiler_wl='-Wl,'
8452     lt_prog_compiler_static='-static'
8453
8454     case $host_os in
8455       aix*)
8456       # All AIX code is PIC.
8457       if test "$host_cpu" = ia64; then
8458         # AIX 5 now supports IA64 processor
8459         lt_prog_compiler_static='-Bstatic'
8460       fi
8461       ;;
8462
8463     amigaos*)
8464       case $host_cpu in
8465       powerpc)
8466             # see comment about AmigaOS4 .so support
8467             lt_prog_compiler_pic='-fPIC'
8468         ;;
8469       m68k)
8470             # FIXME: we need at least 68020 code to build shared libraries, but
8471             # adding the `-m68020' flag to GCC prevents building anything better,
8472             # like `-m68040'.
8473             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8474         ;;
8475       esac
8476       ;;
8477
8478     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8479       # PIC is the default for these OSes.
8480       ;;
8481
8482     mingw* | cygwin* | pw32* | os2* | cegcc*)
8483       # This hack is so that the source file can tell whether it is being
8484       # built for inclusion in a dll (and should export symbols for example).
8485       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8486       # (--disable-auto-import) libraries
8487       lt_prog_compiler_pic='-DDLL_EXPORT'
8488       ;;
8489
8490     darwin* | rhapsody*)
8491       # PIC is the default on this platform
8492       # Common symbols not allowed in MH_DYLIB files
8493       lt_prog_compiler_pic='-fno-common'
8494       ;;
8495
8496     hpux*)
8497       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8498       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8499       # sets the default TLS model and affects inlining.
8500       case $host_cpu in
8501       hppa*64*)
8502         # +Z the default
8503         ;;
8504       *)
8505         lt_prog_compiler_pic='-fPIC'
8506         ;;
8507       esac
8508       ;;
8509
8510     interix[3-9]*)
8511       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8512       # Instead, we relocate shared libraries at runtime.
8513       ;;
8514
8515     msdosdjgpp*)
8516       # Just because we use GCC doesn't mean we suddenly get shared libraries
8517       # on systems that don't support them.
8518       lt_prog_compiler_can_build_shared=no
8519       enable_shared=no
8520       ;;
8521
8522     *nto* | *qnx*)
8523       # QNX uses GNU C++, but need to define -shared option too, otherwise
8524       # it will coredump.
8525       lt_prog_compiler_pic='-fPIC -shared'
8526       ;;
8527
8528     sysv4*MP*)
8529       if test -d /usr/nec; then
8530         lt_prog_compiler_pic=-Kconform_pic
8531       fi
8532       ;;
8533
8534     *)
8535       lt_prog_compiler_pic='-fPIC'
8536       ;;
8537     esac
8538   else
8539     # PORTME Check for flag to pass linker flags through the system compiler.
8540     case $host_os in
8541     aix*)
8542       lt_prog_compiler_wl='-Wl,'
8543       if test "$host_cpu" = ia64; then
8544         # AIX 5 now supports IA64 processor
8545         lt_prog_compiler_static='-Bstatic'
8546       else
8547         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8548       fi
8549       ;;
8550
8551     mingw* | cygwin* | pw32* | os2* | cegcc*)
8552       # This hack is so that the source file can tell whether it is being
8553       # built for inclusion in a dll (and should export symbols for example).
8554       lt_prog_compiler_pic='-DDLL_EXPORT'
8555       ;;
8556
8557     hpux9* | hpux10* | hpux11*)
8558       lt_prog_compiler_wl='-Wl,'
8559       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8560       # not for PA HP-UX.
8561       case $host_cpu in
8562       hppa*64*|ia64*)
8563         # +Z the default
8564         ;;
8565       *)
8566         lt_prog_compiler_pic='+Z'
8567         ;;
8568       esac
8569       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8570       lt_prog_compiler_static='${wl}-a ${wl}archive'
8571       ;;
8572
8573     irix5* | irix6* | nonstopux*)
8574       lt_prog_compiler_wl='-Wl,'
8575       # PIC (with -KPIC) is the default.
8576       lt_prog_compiler_static='-non_shared'
8577       ;;
8578
8579     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8580       case $cc_basename in
8581       # old Intel for x86_64 which still supported -KPIC.
8582       ecc*)
8583         lt_prog_compiler_wl='-Wl,'
8584         lt_prog_compiler_pic='-KPIC'
8585         lt_prog_compiler_static='-static'
8586         ;;
8587       # icc used to be incompatible with GCC.
8588       # ICC 10 doesn't accept -KPIC any more.
8589       icc* | ifort*)
8590         lt_prog_compiler_wl='-Wl,'
8591         lt_prog_compiler_pic='-fPIC'
8592         lt_prog_compiler_static='-static'
8593         ;;
8594       # Lahey Fortran 8.1.
8595       lf95*)
8596         lt_prog_compiler_wl='-Wl,'
8597         lt_prog_compiler_pic='--shared'
8598         lt_prog_compiler_static='--static'
8599         ;;
8600       pgcc* | pgf77* | pgf90* | pgf95*)
8601         # Portland Group compilers (*not* the Pentium gcc compiler,
8602         # which looks to be a dead project)
8603         lt_prog_compiler_wl='-Wl,'
8604         lt_prog_compiler_pic='-fpic'
8605         lt_prog_compiler_static='-Bstatic'
8606         ;;
8607       ccc*)
8608         lt_prog_compiler_wl='-Wl,'
8609         # All Alpha code is PIC.
8610         lt_prog_compiler_static='-non_shared'
8611         ;;
8612       xl*)
8613         # IBM XL C 8.0/Fortran 10.1 on PPC
8614         lt_prog_compiler_wl='-Wl,'
8615         lt_prog_compiler_pic='-qpic'
8616         lt_prog_compiler_static='-qstaticlink'
8617         ;;
8618       *)
8619         case `$CC -V 2>&1 | sed 5q` in
8620         *Sun\ C*)
8621           # Sun C 5.9
8622           lt_prog_compiler_pic='-KPIC'
8623           lt_prog_compiler_static='-Bstatic'
8624           lt_prog_compiler_wl='-Wl,'
8625           ;;
8626         *Sun\ F*)
8627           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8628           lt_prog_compiler_pic='-KPIC'
8629           lt_prog_compiler_static='-Bstatic'
8630           lt_prog_compiler_wl=''
8631           ;;
8632         esac
8633         ;;
8634       esac
8635       ;;
8636
8637     newsos6)
8638       lt_prog_compiler_pic='-KPIC'
8639       lt_prog_compiler_static='-Bstatic'
8640       ;;
8641
8642     *nto* | *qnx*)
8643       # QNX uses GNU C++, but need to define -shared option too, otherwise
8644       # it will coredump.
8645       lt_prog_compiler_pic='-fPIC -shared'
8646       ;;
8647
8648     osf3* | osf4* | osf5*)
8649       lt_prog_compiler_wl='-Wl,'
8650       # All OSF/1 code is PIC.
8651       lt_prog_compiler_static='-non_shared'
8652       ;;
8653
8654     rdos*)
8655       lt_prog_compiler_static='-non_shared'
8656       ;;
8657
8658     solaris*)
8659       lt_prog_compiler_pic='-KPIC'
8660       lt_prog_compiler_static='-Bstatic'
8661       case $cc_basename in
8662       f77* | f90* | f95*)
8663         lt_prog_compiler_wl='-Qoption ld ';;
8664       *)
8665         lt_prog_compiler_wl='-Wl,';;
8666       esac
8667       ;;
8668
8669     sunos4*)
8670       lt_prog_compiler_wl='-Qoption ld '
8671       lt_prog_compiler_pic='-PIC'
8672       lt_prog_compiler_static='-Bstatic'
8673       ;;
8674
8675     sysv4 | sysv4.2uw2* | sysv4.3*)
8676       lt_prog_compiler_wl='-Wl,'
8677       lt_prog_compiler_pic='-KPIC'
8678       lt_prog_compiler_static='-Bstatic'
8679       ;;
8680
8681     sysv4*MP*)
8682       if test -d /usr/nec ;then
8683         lt_prog_compiler_pic='-Kconform_pic'
8684         lt_prog_compiler_static='-Bstatic'
8685       fi
8686       ;;
8687
8688     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8689       lt_prog_compiler_wl='-Wl,'
8690       lt_prog_compiler_pic='-KPIC'
8691       lt_prog_compiler_static='-Bstatic'
8692       ;;
8693
8694     unicos*)
8695       lt_prog_compiler_wl='-Wl,'
8696       lt_prog_compiler_can_build_shared=no
8697       ;;
8698
8699     uts4*)
8700       lt_prog_compiler_pic='-pic'
8701       lt_prog_compiler_static='-Bstatic'
8702       ;;
8703
8704     *)
8705       lt_prog_compiler_can_build_shared=no
8706       ;;
8707     esac
8708   fi
8709
8710 case $host_os in
8711   # For platforms which do not support PIC, -DPIC is meaningless:
8712   *djgpp*)
8713     lt_prog_compiler_pic=
8714     ;;
8715   *)
8716     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8717     ;;
8718 esac
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8720 $as_echo "$lt_prog_compiler_pic" >&6; }
8721
8722
8723
8724
8725
8726
8727 #
8728 # Check to make sure the PIC flag actually works.
8729 #
8730 if test -n "$lt_prog_compiler_pic"; then
8731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8732 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8733 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8734   $as_echo_n "(cached) " >&6
8735 else
8736   lt_cv_prog_compiler_pic_works=no
8737    ac_outfile=conftest.$ac_objext
8738    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8739    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8740    # Insert the option either (1) after the last *FLAGS variable, or
8741    # (2) before a word containing "conftest.", or (3) at the end.
8742    # Note that $ac_compile itself does not contain backslashes and begins
8743    # with a dollar sign (not a hyphen), so the echo should work correctly.
8744    # The option is referenced via a variable to avoid confusing sed.
8745    lt_compile=`echo "$ac_compile" | $SED \
8746    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8747    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8748    -e 's:$: $lt_compiler_flag:'`
8749    (eval echo "\"\$as_me:8749: $lt_compile\"" >&5)
8750    (eval "$lt_compile" 2>conftest.err)
8751    ac_status=$?
8752    cat conftest.err >&5
8753    echo "$as_me:8753: \$? = $ac_status" >&5
8754    if (exit $ac_status) && test -s "$ac_outfile"; then
8755      # The compiler can only warn and ignore the option if not recognized
8756      # So say no if there are warnings other than the usual output.
8757      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8758      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8759      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8760        lt_cv_prog_compiler_pic_works=yes
8761      fi
8762    fi
8763    $RM conftest*
8764
8765 fi
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8767 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8768
8769 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8770     case $lt_prog_compiler_pic in
8771      "" | " "*) ;;
8772      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8773      esac
8774 else
8775     lt_prog_compiler_pic=
8776      lt_prog_compiler_can_build_shared=no
8777 fi
8778
8779 fi
8780
8781
8782
8783
8784
8785
8786 #
8787 # Check to make sure the static flag actually works.
8788 #
8789 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8791 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8792 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8793   $as_echo_n "(cached) " >&6
8794 else
8795   lt_cv_prog_compiler_static_works=no
8796    save_LDFLAGS="$LDFLAGS"
8797    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8798    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8799    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8800      # The linker can only warn and ignore the option if not recognized
8801      # So say no if there are warnings
8802      if test -s conftest.err; then
8803        # Append any errors to the config.log.
8804        cat conftest.err 1>&5
8805        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8806        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8807        if diff conftest.exp conftest.er2 >/dev/null; then
8808          lt_cv_prog_compiler_static_works=yes
8809        fi
8810      else
8811        lt_cv_prog_compiler_static_works=yes
8812      fi
8813    fi
8814    $RM -r conftest*
8815    LDFLAGS="$save_LDFLAGS"
8816
8817 fi
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8819 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8820
8821 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8822     :
8823 else
8824     lt_prog_compiler_static=
8825 fi
8826
8827
8828
8829
8830
8831
8832
8833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8834 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8835 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8836   $as_echo_n "(cached) " >&6
8837 else
8838   lt_cv_prog_compiler_c_o=no
8839    $RM -r conftest 2>/dev/null
8840    mkdir conftest
8841    cd conftest
8842    mkdir out
8843    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8844
8845    lt_compiler_flag="-o out/conftest2.$ac_objext"
8846    # Insert the option either (1) after the last *FLAGS variable, or
8847    # (2) before a word containing "conftest.", or (3) at the end.
8848    # Note that $ac_compile itself does not contain backslashes and begins
8849    # with a dollar sign (not a hyphen), so the echo should work correctly.
8850    lt_compile=`echo "$ac_compile" | $SED \
8851    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8852    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8853    -e 's:$: $lt_compiler_flag:'`
8854    (eval echo "\"\$as_me:8854: $lt_compile\"" >&5)
8855    (eval "$lt_compile" 2>out/conftest.err)
8856    ac_status=$?
8857    cat out/conftest.err >&5
8858    echo "$as_me:8858: \$? = $ac_status" >&5
8859    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8860    then
8861      # The compiler can only warn and ignore the option if not recognized
8862      # So say no if there are warnings
8863      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8864      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8865      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8866        lt_cv_prog_compiler_c_o=yes
8867      fi
8868    fi
8869    chmod u+w . 2>&5
8870    $RM conftest*
8871    # SGI C++ compiler will create directory out/ii_files/ for
8872    # template instantiation
8873    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8874    $RM out/* && rmdir out
8875    cd ..
8876    $RM -r conftest
8877    $RM conftest*
8878
8879 fi
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8881 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8882
8883
8884
8885
8886
8887
8888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8889 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8890 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8891   $as_echo_n "(cached) " >&6
8892 else
8893   lt_cv_prog_compiler_c_o=no
8894    $RM -r conftest 2>/dev/null
8895    mkdir conftest
8896    cd conftest
8897    mkdir out
8898    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8899
8900    lt_compiler_flag="-o out/conftest2.$ac_objext"
8901    # Insert the option either (1) after the last *FLAGS variable, or
8902    # (2) before a word containing "conftest.", or (3) at the end.
8903    # Note that $ac_compile itself does not contain backslashes and begins
8904    # with a dollar sign (not a hyphen), so the echo should work correctly.
8905    lt_compile=`echo "$ac_compile" | $SED \
8906    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8907    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8908    -e 's:$: $lt_compiler_flag:'`
8909    (eval echo "\"\$as_me:8909: $lt_compile\"" >&5)
8910    (eval "$lt_compile" 2>out/conftest.err)
8911    ac_status=$?
8912    cat out/conftest.err >&5
8913    echo "$as_me:8913: \$? = $ac_status" >&5
8914    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8915    then
8916      # The compiler can only warn and ignore the option if not recognized
8917      # So say no if there are warnings
8918      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8919      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8920      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8921        lt_cv_prog_compiler_c_o=yes
8922      fi
8923    fi
8924    chmod u+w . 2>&5
8925    $RM conftest*
8926    # SGI C++ compiler will create directory out/ii_files/ for
8927    # template instantiation
8928    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8929    $RM out/* && rmdir out
8930    cd ..
8931    $RM -r conftest
8932    $RM conftest*
8933
8934 fi
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8936 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8937
8938
8939
8940
8941 hard_links="nottested"
8942 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8943   # do not overwrite the value of need_locks provided by the user
8944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8945 $as_echo_n "checking if we can lock with hard links... " >&6; }
8946   hard_links=yes
8947   $RM conftest*
8948   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8949   touch conftest.a
8950   ln conftest.a conftest.b 2>&5 || hard_links=no
8951   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8953 $as_echo "$hard_links" >&6; }
8954   if test "$hard_links" = no; then
8955     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8956 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8957     need_locks=warn
8958   fi
8959 else
8960   need_locks=no
8961 fi
8962
8963
8964
8965
8966
8967
8968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8969 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8970
8971   runpath_var=
8972   allow_undefined_flag=
8973   always_export_symbols=no
8974   archive_cmds=
8975   archive_expsym_cmds=
8976   compiler_needs_object=no
8977   enable_shared_with_static_runtimes=no
8978   export_dynamic_flag_spec=
8979   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8980   hardcode_automatic=no
8981   hardcode_direct=no
8982   hardcode_direct_absolute=no
8983   hardcode_libdir_flag_spec=
8984   hardcode_libdir_flag_spec_ld=
8985   hardcode_libdir_separator=
8986   hardcode_minus_L=no
8987   hardcode_shlibpath_var=unsupported
8988   inherit_rpath=no
8989   link_all_deplibs=unknown
8990   module_cmds=
8991   module_expsym_cmds=
8992   old_archive_from_new_cmds=
8993   old_archive_from_expsyms_cmds=
8994   thread_safe_flag_spec=
8995   whole_archive_flag_spec=
8996   # include_expsyms should be a list of space-separated symbols to be *always*
8997   # included in the symbol list
8998   include_expsyms=
8999   # exclude_expsyms can be an extended regexp of symbols to exclude
9000   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9001   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9002   # as well as any symbol that contains `d'.
9003   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9004   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9005   # platforms (ab)use it in PIC code, but their linkers get confused if
9006   # the symbol is explicitly referenced.  Since portable code cannot
9007   # rely on this symbol name, it's probably fine to never include it in
9008   # preloaded symbol tables.
9009   # Exclude shared library initialization/finalization symbols.
9010   extract_expsyms_cmds=
9011
9012   case $host_os in
9013   cygwin* | mingw* | pw32* | cegcc*)
9014     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9015     # When not using gcc, we currently assume that we are using
9016     # Microsoft Visual C++.
9017     if test "$GCC" != yes; then
9018       with_gnu_ld=no
9019     fi
9020     ;;
9021   interix*)
9022     # we just hope/assume this is gcc and not c89 (= MSVC++)
9023     with_gnu_ld=yes
9024     ;;
9025   openbsd*)
9026     with_gnu_ld=no
9027     ;;
9028   linux* | k*bsd*-gnu)
9029     link_all_deplibs=no
9030     ;;
9031   esac
9032
9033   ld_shlibs=yes
9034   if test "$with_gnu_ld" = yes; then
9035     # If archive_cmds runs LD, not CC, wlarc should be empty
9036     wlarc='${wl}'
9037
9038     # Set some defaults for GNU ld with shared library support. These
9039     # are reset later if shared libraries are not supported. Putting them
9040     # here allows them to be overridden if necessary.
9041     runpath_var=LD_RUN_PATH
9042     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9043     export_dynamic_flag_spec='${wl}--export-dynamic'
9044     # ancient GNU ld didn't support --whole-archive et. al.
9045     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9046       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9047     else
9048       whole_archive_flag_spec=
9049     fi
9050     supports_anon_versioning=no
9051     case `$LD -v 2>&1` in
9052       *GNU\ gold*) supports_anon_versioning=yes ;;
9053       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9054       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9055       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9056       *\ 2.11.*) ;; # other 2.11 versions
9057       *) supports_anon_versioning=yes ;;
9058     esac
9059
9060     # See if GNU ld supports shared libraries.
9061     case $host_os in
9062     aix[3-9]*)
9063       # On AIX/PPC, the GNU linker is very broken
9064       if test "$host_cpu" != ia64; then
9065         ld_shlibs=no
9066         cat <<_LT_EOF 1>&2
9067
9068 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9069 *** to be unable to reliably create shared libraries on AIX.
9070 *** Therefore, libtool is disabling shared libraries support.  If you
9071 *** really care for shared libraries, you may want to modify your PATH
9072 *** so that a non-GNU linker is found, and then restart.
9073
9074 _LT_EOF
9075       fi
9076       ;;
9077
9078     amigaos*)
9079       case $host_cpu in
9080       powerpc)
9081             # see comment about AmigaOS4 .so support
9082             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9083             archive_expsym_cmds=''
9084         ;;
9085       m68k)
9086             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)'
9087             hardcode_libdir_flag_spec='-L$libdir'
9088             hardcode_minus_L=yes
9089         ;;
9090       esac
9091       ;;
9092
9093     beos*)
9094       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9095         allow_undefined_flag=unsupported
9096         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9097         # support --undefined.  This deserves some investigation.  FIXME
9098         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9099       else
9100         ld_shlibs=no
9101       fi
9102       ;;
9103
9104     cygwin* | mingw* | pw32* | cegcc*)
9105       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9106       # as there is no search path for DLLs.
9107       hardcode_libdir_flag_spec='-L$libdir'
9108       allow_undefined_flag=unsupported
9109       always_export_symbols=no
9110       enable_shared_with_static_runtimes=yes
9111       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9112
9113       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9114         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9115         # If the export-symbols file already is a .def file (1st line
9116         # is EXPORTS), use it as is; otherwise, prepend...
9117         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9118           cp $export_symbols $output_objdir/$soname.def;
9119         else
9120           echo EXPORTS > $output_objdir/$soname.def;
9121           cat $export_symbols >> $output_objdir/$soname.def;
9122         fi~
9123         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9124       else
9125         ld_shlibs=no
9126       fi
9127       ;;
9128
9129     interix[3-9]*)
9130       hardcode_direct=no
9131       hardcode_shlibpath_var=no
9132       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9133       export_dynamic_flag_spec='${wl}-E'
9134       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9135       # Instead, shared libraries are loaded at an image base (0x10000000 by
9136       # default) and relocated if they conflict, which is a slow very memory
9137       # consuming and fragmenting process.  To avoid this, we pick a random,
9138       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9139       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9140       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9141       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'
9142       ;;
9143
9144     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9145       tmp_diet=no
9146       if test "$host_os" = linux-dietlibc; then
9147         case $cc_basename in
9148           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9149         esac
9150       fi
9151       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9152          && test "$tmp_diet" = no
9153       then
9154         tmp_addflag=
9155         tmp_sharedflag='-shared'
9156         case $cc_basename,$host_cpu in
9157         pgcc*)                          # Portland Group C compiler
9158           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'
9159           tmp_addflag=' $pic_flag'
9160           ;;
9161         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9162           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'
9163           tmp_addflag=' $pic_flag -Mnomain' ;;
9164         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9165           tmp_addflag=' -i_dynamic' ;;
9166         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9167           tmp_addflag=' -i_dynamic -nofor_main' ;;
9168         ifc* | ifort*)                  # Intel Fortran compiler
9169           tmp_addflag=' -nofor_main' ;;
9170         lf95*)                          # Lahey Fortran 8.1
9171           whole_archive_flag_spec=
9172           tmp_sharedflag='--shared' ;;
9173         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9174           tmp_sharedflag='-qmkshrobj'
9175           tmp_addflag= ;;
9176         esac
9177         case `$CC -V 2>&1 | sed 5q` in
9178         *Sun\ C*)                       # Sun C 5.9
9179           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'
9180           compiler_needs_object=yes
9181           tmp_sharedflag='-G' ;;
9182         *Sun\ F*)                       # Sun Fortran 8.3
9183           tmp_sharedflag='-G' ;;
9184         esac
9185         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186
9187         if test "x$supports_anon_versioning" = xyes; then
9188           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9189             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9190             echo "local: *; };" >> $output_objdir/$libname.ver~
9191             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9192         fi
9193
9194         case $cc_basename in
9195         xlf*)
9196           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9197           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9198           hardcode_libdir_flag_spec=
9199           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9200           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9201           if test "x$supports_anon_versioning" = xyes; then
9202             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9203               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9204               echo "local: *; };" >> $output_objdir/$libname.ver~
9205               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9206           fi
9207           ;;
9208         esac
9209       else
9210         ld_shlibs=no
9211       fi
9212       ;;
9213
9214     netbsd* | netbsdelf*-gnu)
9215       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9216         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9217         wlarc=
9218       else
9219         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9221       fi
9222       ;;
9223
9224     solaris*)
9225       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9226         ld_shlibs=no
9227         cat <<_LT_EOF 1>&2
9228
9229 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9230 *** create shared libraries on Solaris systems.  Therefore, libtool
9231 *** is disabling shared libraries support.  We urge you to upgrade GNU
9232 *** binutils to release 2.9.1 or newer.  Another option is to modify
9233 *** your PATH or compiler configuration so that the native linker is
9234 *** used, and then restart.
9235
9236 _LT_EOF
9237       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9238         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9239         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9240       else
9241         ld_shlibs=no
9242       fi
9243       ;;
9244
9245     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9246       case `$LD -v 2>&1` in
9247         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9248         ld_shlibs=no
9249         cat <<_LT_EOF 1>&2
9250
9251 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9252 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9253 *** is disabling shared libraries support.  We urge you to upgrade GNU
9254 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9255 *** your PATH or compiler configuration so that the native linker is
9256 *** used, and then restart.
9257
9258 _LT_EOF
9259         ;;
9260         *)
9261           # For security reasons, it is highly recommended that you always
9262           # use absolute paths for naming shared libraries, and exclude the
9263           # DT_RUNPATH tag from executables and libraries.  But doing so
9264           # requires that you compile everything twice, which is a pain.
9265           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9266             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9267             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9269           else
9270             ld_shlibs=no
9271           fi
9272         ;;
9273       esac
9274       ;;
9275
9276     sunos4*)
9277       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9278       wlarc=
9279       hardcode_direct=yes
9280       hardcode_shlibpath_var=no
9281       ;;
9282
9283     *)
9284       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9285         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9287       else
9288         ld_shlibs=no
9289       fi
9290       ;;
9291     esac
9292
9293     if test "$ld_shlibs" = no; then
9294       runpath_var=
9295       hardcode_libdir_flag_spec=
9296       export_dynamic_flag_spec=
9297       whole_archive_flag_spec=
9298     fi
9299   else
9300     # PORTME fill in a description of your system's linker (not GNU ld)
9301     case $host_os in
9302     aix3*)
9303       allow_undefined_flag=unsupported
9304       always_export_symbols=yes
9305       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'
9306       # Note: this linker hardcodes the directories in LIBPATH if there
9307       # are no directories specified by -L.
9308       hardcode_minus_L=yes
9309       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9310         # Neither direct hardcoding nor static linking is supported with a
9311         # broken collect2.
9312         hardcode_direct=unsupported
9313       fi
9314       ;;
9315
9316     aix[4-9]*)
9317       if test "$host_cpu" = ia64; then
9318         # On IA64, the linker does run time linking by default, so we don't
9319         # have to do anything special.
9320         aix_use_runtimelinking=no
9321         exp_sym_flag='-Bexport'
9322         no_entry_flag=""
9323       else
9324         # If we're using GNU nm, then we don't want the "-C" option.
9325         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9326         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9327           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'
9328         else
9329           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'
9330         fi
9331         aix_use_runtimelinking=no
9332
9333         # Test if we are trying to use run time linking or normal
9334         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9335         # need to do runtime linking.
9336         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9337           for ld_flag in $LDFLAGS; do
9338           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9339             aix_use_runtimelinking=yes
9340             break
9341           fi
9342           done
9343           ;;
9344         esac
9345
9346         exp_sym_flag='-bexport'
9347         no_entry_flag='-bnoentry'
9348       fi
9349
9350       # When large executables or shared objects are built, AIX ld can
9351       # have problems creating the table of contents.  If linking a library
9352       # or program results in "error TOC overflow" add -mminimal-toc to
9353       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9354       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9355
9356       archive_cmds=''
9357       hardcode_direct=yes
9358       hardcode_direct_absolute=yes
9359       hardcode_libdir_separator=':'
9360       link_all_deplibs=yes
9361       file_list_spec='${wl}-f,'
9362
9363       if test "$GCC" = yes; then
9364         case $host_os in aix4.[012]|aix4.[012].*)
9365         # We only want to do this on AIX 4.2 and lower, the check
9366         # below for broken collect2 doesn't work under 4.3+
9367           collect2name=`${CC} -print-prog-name=collect2`
9368           if test -f "$collect2name" &&
9369            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9370           then
9371           # We have reworked collect2
9372           :
9373           else
9374           # We have old collect2
9375           hardcode_direct=unsupported
9376           # It fails to find uninstalled libraries when the uninstalled
9377           # path is not listed in the libpath.  Setting hardcode_minus_L
9378           # to unsupported forces relinking
9379           hardcode_minus_L=yes
9380           hardcode_libdir_flag_spec='-L$libdir'
9381           hardcode_libdir_separator=
9382           fi
9383           ;;
9384         esac
9385         shared_flag='-shared'
9386         if test "$aix_use_runtimelinking" = yes; then
9387           shared_flag="$shared_flag "'${wl}-G'
9388         fi
9389         link_all_deplibs=no
9390       else
9391         # not using gcc
9392         if test "$host_cpu" = ia64; then
9393         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9394         # chokes on -Wl,-G. The following line is correct:
9395           shared_flag='-G'
9396         else
9397           if test "$aix_use_runtimelinking" = yes; then
9398             shared_flag='${wl}-G'
9399           else
9400             shared_flag='${wl}-bM:SRE'
9401           fi
9402         fi
9403       fi
9404
9405       export_dynamic_flag_spec='${wl}-bexpall'
9406       # It seems that -bexpall does not export symbols beginning with
9407       # underscore (_), so it is better to generate a list of symbols to export.
9408       always_export_symbols=yes
9409       if test "$aix_use_runtimelinking" = yes; then
9410         # Warning - without using the other runtime loading flags (-brtl),
9411         # -berok will link without error, but may produce a broken library.
9412         allow_undefined_flag='-berok'
9413         # Determine the default libpath from the value encoded in an
9414         # empty executable.
9415         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h.  */
9417
9418 int
9419 main ()
9420 {
9421
9422   ;
9423   return 0;
9424 }
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427
9428 lt_aix_libpath_sed='
9429     /Import File Strings/,/^$/ {
9430         /^0/ {
9431             s/^0  *\(.*\)$/\1/
9432             p
9433         }
9434     }'
9435 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9436 # Check for a 64-bit object if we didn't find anything.
9437 if test -z "$aix_libpath"; then
9438   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9439 fi
9440 fi
9441 rm -f core conftest.err conftest.$ac_objext \
9442     conftest$ac_exeext conftest.$ac_ext
9443 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9444
9445         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9446         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"
9447       else
9448         if test "$host_cpu" = ia64; then
9449           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9450           allow_undefined_flag="-z nodefs"
9451           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"
9452         else
9453          # Determine the default libpath from the value encoded in an
9454          # empty executable.
9455          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h.  */
9457
9458 int
9459 main ()
9460 {
9461
9462   ;
9463   return 0;
9464 }
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467
9468 lt_aix_libpath_sed='
9469     /Import File Strings/,/^$/ {
9470         /^0/ {
9471             s/^0  *\(.*\)$/\1/
9472             p
9473         }
9474     }'
9475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9476 # Check for a 64-bit object if we didn't find anything.
9477 if test -z "$aix_libpath"; then
9478   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9479 fi
9480 fi
9481 rm -f core conftest.err conftest.$ac_objext \
9482     conftest$ac_exeext conftest.$ac_ext
9483 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9484
9485          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9486           # Warning - without using the other run time loading flags,
9487           # -berok will link without error, but may produce a broken library.
9488           no_undefined_flag=' ${wl}-bernotok'
9489           allow_undefined_flag=' ${wl}-berok'
9490           # Exported symbols can be pulled into shared objects from archives
9491           whole_archive_flag_spec='$convenience'
9492           archive_cmds_need_lc=yes
9493           # This is similar to how AIX traditionally builds its shared libraries.
9494           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'
9495         fi
9496       fi
9497       ;;
9498
9499     amigaos*)
9500       case $host_cpu in
9501       powerpc)
9502             # see comment about AmigaOS4 .so support
9503             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9504             archive_expsym_cmds=''
9505         ;;
9506       m68k)
9507             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)'
9508             hardcode_libdir_flag_spec='-L$libdir'
9509             hardcode_minus_L=yes
9510         ;;
9511       esac
9512       ;;
9513
9514     bsdi[45]*)
9515       export_dynamic_flag_spec=-rdynamic
9516       ;;
9517
9518     cygwin* | mingw* | pw32* | cegcc*)
9519       # When not using gcc, we currently assume that we are using
9520       # Microsoft Visual C++.
9521       # hardcode_libdir_flag_spec is actually meaningless, as there is
9522       # no search path for DLLs.
9523       hardcode_libdir_flag_spec=' '
9524       allow_undefined_flag=unsupported
9525       # Tell ltmain to make .lib files, not .a files.
9526       libext=lib
9527       # Tell ltmain to make .dll files, not .so files.
9528       shrext_cmds=".dll"
9529       # FIXME: Setting linknames here is a bad hack.
9530       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9531       # The linker will automatically build a .lib file if we build a DLL.
9532       old_archive_from_new_cmds='true'
9533       # FIXME: Should let the user specify the lib program.
9534       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9535       fix_srcfile_path='`cygpath -w "$srcfile"`'
9536       enable_shared_with_static_runtimes=yes
9537       ;;
9538
9539     darwin* | rhapsody*)
9540
9541
9542   archive_cmds_need_lc=no
9543   hardcode_direct=no
9544   hardcode_automatic=yes
9545   hardcode_shlibpath_var=unsupported
9546   whole_archive_flag_spec=''
9547   link_all_deplibs=yes
9548   allow_undefined_flag="$_lt_dar_allow_undefined"
9549   case $cc_basename in
9550      ifort*) _lt_dar_can_shared=yes ;;
9551      *) _lt_dar_can_shared=$GCC ;;
9552   esac
9553   if test "$_lt_dar_can_shared" = "yes"; then
9554     output_verbose_link_cmd=echo
9555     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9556     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9557     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}"
9558     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}"
9559
9560   else
9561   ld_shlibs=no
9562   fi
9563
9564       ;;
9565
9566     dgux*)
9567       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9568       hardcode_libdir_flag_spec='-L$libdir'
9569       hardcode_shlibpath_var=no
9570       ;;
9571
9572     freebsd1*)
9573       ld_shlibs=no
9574       ;;
9575
9576     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9577     # support.  Future versions do this automatically, but an explicit c++rt0.o
9578     # does not break anything, and helps significantly (at the cost of a little
9579     # extra space).
9580     freebsd2.2*)
9581       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9582       hardcode_libdir_flag_spec='-R$libdir'
9583       hardcode_direct=yes
9584       hardcode_shlibpath_var=no
9585       ;;
9586
9587     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9588     freebsd2*)
9589       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9590       hardcode_direct=yes
9591       hardcode_minus_L=yes
9592       hardcode_shlibpath_var=no
9593       ;;
9594
9595     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9596     freebsd* | dragonfly*)
9597       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9598       hardcode_libdir_flag_spec='-R$libdir'
9599       hardcode_direct=yes
9600       hardcode_shlibpath_var=no
9601       ;;
9602
9603     hpux9*)
9604       if test "$GCC" = yes; then
9605         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'
9606       else
9607         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'
9608       fi
9609       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9610       hardcode_libdir_separator=:
9611       hardcode_direct=yes
9612
9613       # hardcode_minus_L: Not really in the search PATH,
9614       # but as the default location of the library.
9615       hardcode_minus_L=yes
9616       export_dynamic_flag_spec='${wl}-E'
9617       ;;
9618
9619     hpux10*)
9620       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9621         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9622       else
9623         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9624       fi
9625       if test "$with_gnu_ld" = no; then
9626         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9627         hardcode_libdir_flag_spec_ld='+b $libdir'
9628         hardcode_libdir_separator=:
9629         hardcode_direct=yes
9630         hardcode_direct_absolute=yes
9631         export_dynamic_flag_spec='${wl}-E'
9632         # hardcode_minus_L: Not really in the search PATH,
9633         # but as the default location of the library.
9634         hardcode_minus_L=yes
9635       fi
9636       ;;
9637
9638     hpux11*)
9639       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9640         case $host_cpu in
9641         hppa*64*)
9642           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9643           ;;
9644         ia64*)
9645           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9646           ;;
9647         *)
9648           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9649           ;;
9650         esac
9651       else
9652         case $host_cpu in
9653         hppa*64*)
9654           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9655           ;;
9656         ia64*)
9657           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9658           ;;
9659         *)
9660           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9661           ;;
9662         esac
9663       fi
9664       if test "$with_gnu_ld" = no; then
9665         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9666         hardcode_libdir_separator=:
9667
9668         case $host_cpu in
9669         hppa*64*|ia64*)
9670           hardcode_direct=no
9671           hardcode_shlibpath_var=no
9672           ;;
9673         *)
9674           hardcode_direct=yes
9675           hardcode_direct_absolute=yes
9676           export_dynamic_flag_spec='${wl}-E'
9677
9678           # hardcode_minus_L: Not really in the search PATH,
9679           # but as the default location of the library.
9680           hardcode_minus_L=yes
9681           ;;
9682         esac
9683       fi
9684       ;;
9685
9686     irix5* | irix6* | nonstopux*)
9687       if test "$GCC" = yes; then
9688         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'
9689         # Try to use the -exported_symbol ld option, if it does not
9690         # work, assume that -exports_file does not work either and
9691         # implicitly export all symbols.
9692         save_LDFLAGS="$LDFLAGS"
9693         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9694         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9695 /* end confdefs.h.  */
9696 int foo(void) {}
9697 _ACEOF
9698 if ac_fn_c_try_link "$LINENO"; then :
9699   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'
9700
9701 fi
9702 rm -f core conftest.err conftest.$ac_objext \
9703     conftest$ac_exeext conftest.$ac_ext
9704         LDFLAGS="$save_LDFLAGS"
9705       else
9706         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'
9707         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'
9708       fi
9709       archive_cmds_need_lc='no'
9710       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9711       hardcode_libdir_separator=:
9712       inherit_rpath=yes
9713       link_all_deplibs=yes
9714       ;;
9715
9716     netbsd* | netbsdelf*-gnu)
9717       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9718         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9719       else
9720         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9721       fi
9722       hardcode_libdir_flag_spec='-R$libdir'
9723       hardcode_direct=yes
9724       hardcode_shlibpath_var=no
9725       ;;
9726
9727     newsos6)
9728       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9729       hardcode_direct=yes
9730       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9731       hardcode_libdir_separator=:
9732       hardcode_shlibpath_var=no
9733       ;;
9734
9735     *nto* | *qnx*)
9736       ;;
9737
9738     openbsd*)
9739       if test -f /usr/libexec/ld.so; then
9740         hardcode_direct=yes
9741         hardcode_shlibpath_var=no
9742         hardcode_direct_absolute=yes
9743         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9744           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9745           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9746           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9747           export_dynamic_flag_spec='${wl}-E'
9748         else
9749           case $host_os in
9750            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9751              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9752              hardcode_libdir_flag_spec='-R$libdir'
9753              ;;
9754            *)
9755              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9756              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9757              ;;
9758           esac
9759         fi
9760       else
9761         ld_shlibs=no
9762       fi
9763       ;;
9764
9765     os2*)
9766       hardcode_libdir_flag_spec='-L$libdir'
9767       hardcode_minus_L=yes
9768       allow_undefined_flag=unsupported
9769       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'
9770       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9771       ;;
9772
9773     osf3*)
9774       if test "$GCC" = yes; then
9775         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9776         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'
9777       else
9778         allow_undefined_flag=' -expect_unresolved \*'
9779         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'
9780       fi
9781       archive_cmds_need_lc='no'
9782       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9783       hardcode_libdir_separator=:
9784       ;;
9785
9786     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9787       if test "$GCC" = yes; then
9788         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9789         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'
9790         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9791       else
9792         allow_undefined_flag=' -expect_unresolved \*'
9793         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'
9794         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~
9795         $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'
9796
9797         # Both c and cxx compiler support -rpath directly
9798         hardcode_libdir_flag_spec='-rpath $libdir'
9799       fi
9800       archive_cmds_need_lc='no'
9801       hardcode_libdir_separator=:
9802       ;;
9803
9804     solaris*)
9805       no_undefined_flag=' -z defs'
9806       if test "$GCC" = yes; then
9807         wlarc='${wl}'
9808         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9809         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9810           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9811       else
9812         case `$CC -V 2>&1` in
9813         *"Compilers 5.0"*)
9814           wlarc=''
9815           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9816           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9817           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9818           ;;
9819         *)
9820           wlarc='${wl}'
9821           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9822           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9823           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9824           ;;
9825         esac
9826       fi
9827       hardcode_libdir_flag_spec='-R$libdir'
9828       hardcode_shlibpath_var=no
9829       case $host_os in
9830       solaris2.[0-5] | solaris2.[0-5].*) ;;
9831       *)
9832         # The compiler driver will combine and reorder linker options,
9833         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9834         # but is careful enough not to reorder.
9835         # Supported since Solaris 2.6 (maybe 2.5.1?)
9836         if test "$GCC" = yes; then
9837           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9838         else
9839           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9840         fi
9841         ;;
9842       esac
9843       link_all_deplibs=yes
9844       ;;
9845
9846     sunos4*)
9847       if test "x$host_vendor" = xsequent; then
9848         # Use $CC to link under sequent, because it throws in some extra .o
9849         # files that make .init and .fini sections work.
9850         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9851       else
9852         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9853       fi
9854       hardcode_libdir_flag_spec='-L$libdir'
9855       hardcode_direct=yes
9856       hardcode_minus_L=yes
9857       hardcode_shlibpath_var=no
9858       ;;
9859
9860     sysv4)
9861       case $host_vendor in
9862         sni)
9863           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864           hardcode_direct=yes # is this really true???
9865         ;;
9866         siemens)
9867           ## LD is ld it makes a PLAMLIB
9868           ## CC just makes a GrossModule.
9869           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9870           reload_cmds='$CC -r -o $output$reload_objs'
9871           hardcode_direct=no
9872         ;;
9873         motorola)
9874           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9876         ;;
9877       esac
9878       runpath_var='LD_RUN_PATH'
9879       hardcode_shlibpath_var=no
9880       ;;
9881
9882     sysv4.3*)
9883       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9884       hardcode_shlibpath_var=no
9885       export_dynamic_flag_spec='-Bexport'
9886       ;;
9887
9888     sysv4*MP*)
9889       if test -d /usr/nec; then
9890         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9891         hardcode_shlibpath_var=no
9892         runpath_var=LD_RUN_PATH
9893         hardcode_runpath_var=yes
9894         ld_shlibs=yes
9895       fi
9896       ;;
9897
9898     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9899       no_undefined_flag='${wl}-z,text'
9900       archive_cmds_need_lc=no
9901       hardcode_shlibpath_var=no
9902       runpath_var='LD_RUN_PATH'
9903
9904       if test "$GCC" = yes; then
9905         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9906         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9907       else
9908         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9910       fi
9911       ;;
9912
9913     sysv5* | sco3.2v5* | sco5v6*)
9914       # Note: We can NOT use -z defs as we might desire, because we do not
9915       # link with -lc, and that would cause any symbols used from libc to
9916       # always be unresolved, which means just about no library would
9917       # ever link correctly.  If we're not using GNU ld we use -z text
9918       # though, which does catch some bad symbols but isn't as heavy-handed
9919       # as -z defs.
9920       no_undefined_flag='${wl}-z,text'
9921       allow_undefined_flag='${wl}-z,nodefs'
9922       archive_cmds_need_lc=no
9923       hardcode_shlibpath_var=no
9924       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9925       hardcode_libdir_separator=':'
9926       link_all_deplibs=yes
9927       export_dynamic_flag_spec='${wl}-Bexport'
9928       runpath_var='LD_RUN_PATH'
9929
9930       if test "$GCC" = yes; then
9931         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9933       else
9934         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936       fi
9937       ;;
9938
9939     uts4*)
9940       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9941       hardcode_libdir_flag_spec='-L$libdir'
9942       hardcode_shlibpath_var=no
9943       ;;
9944
9945     *)
9946       ld_shlibs=no
9947       ;;
9948     esac
9949
9950     if test x$host_vendor = xsni; then
9951       case $host in
9952       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9953         export_dynamic_flag_spec='${wl}-Blargedynsym'
9954         ;;
9955       esac
9956     fi
9957   fi
9958
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9960 $as_echo "$ld_shlibs" >&6; }
9961 test "$ld_shlibs" = no && can_build_shared=no
9962
9963 with_gnu_ld=$with_gnu_ld
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979 #
9980 # Do we need to explicitly link libc?
9981 #
9982 case "x$archive_cmds_need_lc" in
9983 x|xyes)
9984   # Assume -lc should be added
9985   archive_cmds_need_lc=yes
9986
9987   if test "$enable_shared" = yes && test "$GCC" = yes; then
9988     case $archive_cmds in
9989     *'~'*)
9990       # FIXME: we may have to deal with multi-command sequences.
9991       ;;
9992     '$CC '*)
9993       # Test whether the compiler implicitly links with -lc since on some
9994       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9995       # to ld, don't add -lc before -lgcc.
9996       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9997 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9998       $RM conftest*
9999       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10000
10001       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10002   (eval $ac_compile) 2>&5
10003   ac_status=$?
10004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10005   test $ac_status = 0; } 2>conftest.err; then
10006         soname=conftest
10007         lib=conftest
10008         libobjs=conftest.$ac_objext
10009         deplibs=
10010         wl=$lt_prog_compiler_wl
10011         pic_flag=$lt_prog_compiler_pic
10012         compiler_flags=-v
10013         linker_flags=-v
10014         verstring=
10015         output_objdir=.
10016         libname=conftest
10017         lt_save_allow_undefined_flag=$allow_undefined_flag
10018         allow_undefined_flag=
10019         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10020   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10021   ac_status=$?
10022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10023   test $ac_status = 0; }
10024         then
10025           archive_cmds_need_lc=no
10026         else
10027           archive_cmds_need_lc=yes
10028         fi
10029         allow_undefined_flag=$lt_save_allow_undefined_flag
10030       else
10031         cat conftest.err 1>&5
10032       fi
10033       $RM conftest*
10034       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10035 $as_echo "$archive_cmds_need_lc" >&6; }
10036       ;;
10037     esac
10038   fi
10039   ;;
10040 esac
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10199 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10200
10201 if test "$GCC" = yes; then
10202   case $host_os in
10203     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10204     *) lt_awk_arg="/^libraries:/" ;;
10205   esac
10206   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10207   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10208     # if the path contains ";" then we assume it to be the separator
10209     # otherwise default to the standard path separator (i.e. ":") - it is
10210     # assumed that no part of a normal pathname contains ";" but that should
10211     # okay in the real world where ";" in dirpaths is itself problematic.
10212     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10213   else
10214     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10215   fi
10216   # Ok, now we have the path, separated by spaces, we can step through it
10217   # and add multilib dir if necessary.
10218   lt_tmp_lt_search_path_spec=
10219   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10220   for lt_sys_path in $lt_search_path_spec; do
10221     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10222       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10223     else
10224       test -d "$lt_sys_path" && \
10225         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10226     fi
10227   done
10228   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10229 BEGIN {RS=" "; FS="/|\n";} {
10230   lt_foo="";
10231   lt_count=0;
10232   for (lt_i = NF; lt_i > 0; lt_i--) {
10233     if ($lt_i != "" && $lt_i != ".") {
10234       if ($lt_i == "..") {
10235         lt_count++;
10236       } else {
10237         if (lt_count == 0) {
10238           lt_foo="/" $lt_i lt_foo;
10239         } else {
10240           lt_count--;
10241         }
10242       }
10243     }
10244   }
10245   if (lt_foo != "") { lt_freq[lt_foo]++; }
10246   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10247 }'`
10248   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10249 else
10250   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10251 fi
10252 library_names_spec=
10253 libname_spec='lib$name'
10254 soname_spec=
10255 shrext_cmds=".so"
10256 postinstall_cmds=
10257 postuninstall_cmds=
10258 finish_cmds=
10259 finish_eval=
10260 shlibpath_var=
10261 shlibpath_overrides_runpath=unknown
10262 version_type=none
10263 dynamic_linker="$host_os ld.so"
10264 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10265 need_lib_prefix=unknown
10266 hardcode_into_libs=no
10267
10268 # when you set need_version to no, make sure it does not cause -set_version
10269 # flags to be left without arguments
10270 need_version=unknown
10271
10272 case $host_os in
10273 aix3*)
10274   version_type=linux
10275   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10276   shlibpath_var=LIBPATH
10277
10278   # AIX 3 has no versioning support, so we append a major version to the name.
10279   soname_spec='${libname}${release}${shared_ext}$major'
10280   ;;
10281
10282 aix[4-9]*)
10283   version_type=linux
10284   need_lib_prefix=no
10285   need_version=no
10286   hardcode_into_libs=yes
10287   if test "$host_cpu" = ia64; then
10288     # AIX 5 supports IA64
10289     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10290     shlibpath_var=LD_LIBRARY_PATH
10291   else
10292     # With GCC up to 2.95.x, collect2 would create an import file
10293     # for dependence libraries.  The import file would start with
10294     # the line `#! .'.  This would cause the generated library to
10295     # depend on `.', always an invalid library.  This was fixed in
10296     # development snapshots of GCC prior to 3.0.
10297     case $host_os in
10298       aix4 | aix4.[01] | aix4.[01].*)
10299       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10300            echo ' yes '
10301            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10302         :
10303       else
10304         can_build_shared=no
10305       fi
10306       ;;
10307     esac
10308     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10309     # soname into executable. Probably we can add versioning support to
10310     # collect2, so additional links can be useful in future.
10311     if test "$aix_use_runtimelinking" = yes; then
10312       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10313       # instead of lib<name>.a to let people know that these are not
10314       # typical AIX shared libraries.
10315       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10316     else
10317       # We preserve .a as extension for shared libraries through AIX4.2
10318       # and later when we are not doing run time linking.
10319       library_names_spec='${libname}${release}.a $libname.a'
10320       soname_spec='${libname}${release}${shared_ext}$major'
10321     fi
10322     shlibpath_var=LIBPATH
10323   fi
10324   ;;
10325
10326 amigaos*)
10327   case $host_cpu in
10328   powerpc)
10329     # Since July 2007 AmigaOS4 officially supports .so libraries.
10330     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10331     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10332     ;;
10333   m68k)
10334     library_names_spec='$libname.ixlibrary $libname.a'
10335     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10336     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'
10337     ;;
10338   esac
10339   ;;
10340
10341 beos*)
10342   library_names_spec='${libname}${shared_ext}'
10343   dynamic_linker="$host_os ld.so"
10344   shlibpath_var=LIBRARY_PATH
10345   ;;
10346
10347 bsdi[45]*)
10348   version_type=linux
10349   need_version=no
10350   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351   soname_spec='${libname}${release}${shared_ext}$major'
10352   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10353   shlibpath_var=LD_LIBRARY_PATH
10354   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10355   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10356   # the default ld.so.conf also contains /usr/contrib/lib and
10357   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10358   # libtool to hard-code these into programs
10359   ;;
10360
10361 cygwin* | mingw* | pw32* | cegcc*)
10362   version_type=windows
10363   shrext_cmds=".dll"
10364   need_version=no
10365   need_lib_prefix=no
10366
10367   case $GCC,$host_os in
10368   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10369     library_names_spec='$libname.dll.a'
10370     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10371     postinstall_cmds='base_file=`basename \${file}`~
10372       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10373       dldir=$destdir/`dirname \$dlpath`~
10374       test -d \$dldir || mkdir -p \$dldir~
10375       $install_prog $dir/$dlname \$dldir/$dlname~
10376       chmod a+x \$dldir/$dlname~
10377       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10378         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10379       fi'
10380     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10381       dlpath=$dir/\$dldll~
10382        $RM \$dlpath'
10383     shlibpath_overrides_runpath=yes
10384
10385     case $host_os in
10386     cygwin*)
10387       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10388       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10389       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10390       ;;
10391     mingw* | cegcc*)
10392       # MinGW DLLs use traditional 'lib' prefix
10393       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10394       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10395       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10396         # It is most probably a Windows format PATH printed by
10397         # mingw gcc, but we are running on Cygwin. Gcc prints its search
10398         # path with ; separators, and with drive letters. We can handle the
10399         # drive letters (cygwin fileutils understands them), so leave them,
10400         # especially as we might pass files found there to a mingw objdump,
10401         # which wouldn't understand a cygwinified path. Ahh.
10402         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10403       else
10404         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10405       fi
10406       ;;
10407     pw32*)
10408       # pw32 DLLs use 'pw' prefix rather than 'lib'
10409       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10410       ;;
10411     esac
10412     ;;
10413
10414   *)
10415     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10416     ;;
10417   esac
10418   dynamic_linker='Win32 ld.exe'
10419   # FIXME: first we should search . and the directory the executable is in
10420   shlibpath_var=PATH
10421   ;;
10422
10423 darwin* | rhapsody*)
10424   dynamic_linker="$host_os dyld"
10425   version_type=darwin
10426   need_lib_prefix=no
10427   need_version=no
10428   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10429   soname_spec='${libname}${release}${major}$shared_ext'
10430   shlibpath_overrides_runpath=yes
10431   shlibpath_var=DYLD_LIBRARY_PATH
10432   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10433
10434   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10435   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10436   ;;
10437
10438 dgux*)
10439   version_type=linux
10440   need_lib_prefix=no
10441   need_version=no
10442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10443   soname_spec='${libname}${release}${shared_ext}$major'
10444   shlibpath_var=LD_LIBRARY_PATH
10445   ;;
10446
10447 freebsd1*)
10448   dynamic_linker=no
10449   ;;
10450
10451 freebsd* | dragonfly*)
10452   # DragonFly does not have aout.  When/if they implement a new
10453   # versioning mechanism, adjust this.
10454   if test -x /usr/bin/objformat; then
10455     objformat=`/usr/bin/objformat`
10456   else
10457     case $host_os in
10458     freebsd[123]*) objformat=aout ;;
10459     *) objformat=elf ;;
10460     esac
10461   fi
10462   version_type=freebsd-$objformat
10463   case $version_type in
10464     freebsd-elf*)
10465       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10466       need_version=no
10467       need_lib_prefix=no
10468       ;;
10469     freebsd-*)
10470       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10471       need_version=yes
10472       ;;
10473   esac
10474   shlibpath_var=LD_LIBRARY_PATH
10475   case $host_os in
10476   freebsd2*)
10477     shlibpath_overrides_runpath=yes
10478     ;;
10479   freebsd3.[01]* | freebsdelf3.[01]*)
10480     shlibpath_overrides_runpath=yes
10481     hardcode_into_libs=yes
10482     ;;
10483   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10484   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10485     shlibpath_overrides_runpath=no
10486     hardcode_into_libs=yes
10487     ;;
10488   *) # from 4.6 on, and DragonFly
10489     shlibpath_overrides_runpath=yes
10490     hardcode_into_libs=yes
10491     ;;
10492   esac
10493   ;;
10494
10495 gnu*)
10496   version_type=linux
10497   need_lib_prefix=no
10498   need_version=no
10499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10500   soname_spec='${libname}${release}${shared_ext}$major'
10501   shlibpath_var=LD_LIBRARY_PATH
10502   hardcode_into_libs=yes
10503   ;;
10504
10505 hpux9* | hpux10* | hpux11*)
10506   # Give a soname corresponding to the major version so that dld.sl refuses to
10507   # link against other versions.
10508   version_type=sunos
10509   need_lib_prefix=no
10510   need_version=no
10511   case $host_cpu in
10512   ia64*)
10513     shrext_cmds='.so'
10514     hardcode_into_libs=yes
10515     dynamic_linker="$host_os dld.so"
10516     shlibpath_var=LD_LIBRARY_PATH
10517     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10518     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519     soname_spec='${libname}${release}${shared_ext}$major'
10520     if test "X$HPUX_IA64_MODE" = X32; then
10521       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10522     else
10523       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10524     fi
10525     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10526     ;;
10527   hppa*64*)
10528     shrext_cmds='.sl'
10529     hardcode_into_libs=yes
10530     dynamic_linker="$host_os dld.sl"
10531     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10532     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10533     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10534     soname_spec='${libname}${release}${shared_ext}$major'
10535     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10536     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10537     ;;
10538   *)
10539     shrext_cmds='.sl'
10540     dynamic_linker="$host_os dld.sl"
10541     shlibpath_var=SHLIB_PATH
10542     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10543     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544     soname_spec='${libname}${release}${shared_ext}$major'
10545     ;;
10546   esac
10547   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10548   postinstall_cmds='chmod 555 $lib'
10549   ;;
10550
10551 interix[3-9]*)
10552   version_type=linux
10553   need_lib_prefix=no
10554   need_version=no
10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10556   soname_spec='${libname}${release}${shared_ext}$major'
10557   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10558   shlibpath_var=LD_LIBRARY_PATH
10559   shlibpath_overrides_runpath=no
10560   hardcode_into_libs=yes
10561   ;;
10562
10563 irix5* | irix6* | nonstopux*)
10564   case $host_os in
10565     nonstopux*) version_type=nonstopux ;;
10566     *)
10567         if test "$lt_cv_prog_gnu_ld" = yes; then
10568                 version_type=linux
10569         else
10570                 version_type=irix
10571         fi ;;
10572   esac
10573   need_lib_prefix=no
10574   need_version=no
10575   soname_spec='${libname}${release}${shared_ext}$major'
10576   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10577   case $host_os in
10578   irix5* | nonstopux*)
10579     libsuff= shlibsuff=
10580     ;;
10581   *)
10582     case $LD in # libtool.m4 will add one of these switches to LD
10583     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10584       libsuff= shlibsuff= libmagic=32-bit;;
10585     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10586       libsuff=32 shlibsuff=N32 libmagic=N32;;
10587     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10588       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10589     *) libsuff= shlibsuff= libmagic=never-match;;
10590     esac
10591     ;;
10592   esac
10593   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10594   shlibpath_overrides_runpath=no
10595   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10596   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10597   hardcode_into_libs=yes
10598   ;;
10599
10600 # No shared lib support for Linux oldld, aout, or coff.
10601 linux*oldld* | linux*aout* | linux*coff*)
10602   dynamic_linker=no
10603   ;;
10604
10605 # This must be Linux ELF.
10606 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10607   version_type=linux
10608   need_lib_prefix=no
10609   need_version=no
10610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10611   soname_spec='${libname}${release}${shared_ext}$major'
10612   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10613   shlibpath_var=LD_LIBRARY_PATH
10614   shlibpath_overrides_runpath=no
10615   # Some binutils ld are patched to set DT_RUNPATH
10616   save_LDFLAGS=$LDFLAGS
10617   save_libdir=$libdir
10618   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10619        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h.  */
10622
10623 int
10624 main ()
10625 {
10626
10627   ;
10628   return 0;
10629 }
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"; then :
10632   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10633   shlibpath_overrides_runpath=yes
10634 fi
10635 fi
10636 rm -f core conftest.err conftest.$ac_objext \
10637     conftest$ac_exeext conftest.$ac_ext
10638   LDFLAGS=$save_LDFLAGS
10639   libdir=$save_libdir
10640
10641   # This implies no fast_install, which is unacceptable.
10642   # Some rework will be needed to allow for fast_install
10643   # before this can be enabled.
10644   hardcode_into_libs=yes
10645
10646   # Append ld.so.conf contents to the search path
10647   if test -f /etc/ld.so.conf; then
10648     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' ' '`
10649     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10650   fi
10651
10652   # We used to test for /lib/ld.so.1 and disable shared libraries on
10653   # powerpc, because MkLinux only supported shared libraries with the
10654   # GNU dynamic linker.  Since this was broken with cross compilers,
10655   # most powerpc-linux boxes support dynamic linking these days and
10656   # people can always --disable-shared, the test was removed, and we
10657   # assume the GNU/Linux dynamic linker is in use.
10658   dynamic_linker='GNU/Linux ld.so'
10659   ;;
10660
10661 netbsdelf*-gnu)
10662   version_type=linux
10663   need_lib_prefix=no
10664   need_version=no
10665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10666   soname_spec='${libname}${release}${shared_ext}$major'
10667   shlibpath_var=LD_LIBRARY_PATH
10668   shlibpath_overrides_runpath=no
10669   hardcode_into_libs=yes
10670   dynamic_linker='NetBSD ld.elf_so'
10671   ;;
10672
10673 netbsd*)
10674   version_type=sunos
10675   need_lib_prefix=no
10676   need_version=no
10677   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10678     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10679     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10680     dynamic_linker='NetBSD (a.out) ld.so'
10681   else
10682     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10683     soname_spec='${libname}${release}${shared_ext}$major'
10684     dynamic_linker='NetBSD ld.elf_so'
10685   fi
10686   shlibpath_var=LD_LIBRARY_PATH
10687   shlibpath_overrides_runpath=yes
10688   hardcode_into_libs=yes
10689   ;;
10690
10691 newsos6)
10692   version_type=linux
10693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694   shlibpath_var=LD_LIBRARY_PATH
10695   shlibpath_overrides_runpath=yes
10696   ;;
10697
10698 *nto* | *qnx*)
10699   version_type=qnx
10700   need_lib_prefix=no
10701   need_version=no
10702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703   soname_spec='${libname}${release}${shared_ext}$major'
10704   shlibpath_var=LD_LIBRARY_PATH
10705   shlibpath_overrides_runpath=no
10706   hardcode_into_libs=yes
10707   dynamic_linker='ldqnx.so'
10708   ;;
10709
10710 openbsd*)
10711   version_type=sunos
10712   sys_lib_dlsearch_path_spec="/usr/lib"
10713   need_lib_prefix=no
10714   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10715   case $host_os in
10716     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10717     *)                          need_version=no  ;;
10718   esac
10719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10720   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10721   shlibpath_var=LD_LIBRARY_PATH
10722   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10723     case $host_os in
10724       openbsd2.[89] | openbsd2.[89].*)
10725         shlibpath_overrides_runpath=no
10726         ;;
10727       *)
10728         shlibpath_overrides_runpath=yes
10729         ;;
10730       esac
10731   else
10732     shlibpath_overrides_runpath=yes
10733   fi
10734   ;;
10735
10736 os2*)
10737   libname_spec='$name'
10738   shrext_cmds=".dll"
10739   need_lib_prefix=no
10740   library_names_spec='$libname${shared_ext} $libname.a'
10741   dynamic_linker='OS/2 ld.exe'
10742   shlibpath_var=LIBPATH
10743   ;;
10744
10745 osf3* | osf4* | osf5*)
10746   version_type=osf
10747   need_lib_prefix=no
10748   need_version=no
10749   soname_spec='${libname}${release}${shared_ext}$major'
10750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751   shlibpath_var=LD_LIBRARY_PATH
10752   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10753   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10754   ;;
10755
10756 rdos*)
10757   dynamic_linker=no
10758   ;;
10759
10760 solaris*)
10761   version_type=linux
10762   need_lib_prefix=no
10763   need_version=no
10764   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10765   soname_spec='${libname}${release}${shared_ext}$major'
10766   shlibpath_var=LD_LIBRARY_PATH
10767   shlibpath_overrides_runpath=yes
10768   hardcode_into_libs=yes
10769   # ldd complains unless libraries are executable
10770   postinstall_cmds='chmod +x $lib'
10771   ;;
10772
10773 sunos4*)
10774   version_type=sunos
10775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10776   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10777   shlibpath_var=LD_LIBRARY_PATH
10778   shlibpath_overrides_runpath=yes
10779   if test "$with_gnu_ld" = yes; then
10780     need_lib_prefix=no
10781   fi
10782   need_version=yes
10783   ;;
10784
10785 sysv4 | sysv4.3*)
10786   version_type=linux
10787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10788   soname_spec='${libname}${release}${shared_ext}$major'
10789   shlibpath_var=LD_LIBRARY_PATH
10790   case $host_vendor in
10791     sni)
10792       shlibpath_overrides_runpath=no
10793       need_lib_prefix=no
10794       runpath_var=LD_RUN_PATH
10795       ;;
10796     siemens)
10797       need_lib_prefix=no
10798       ;;
10799     motorola)
10800       need_lib_prefix=no
10801       need_version=no
10802       shlibpath_overrides_runpath=no
10803       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10804       ;;
10805   esac
10806   ;;
10807
10808 sysv4*MP*)
10809   if test -d /usr/nec ;then
10810     version_type=linux
10811     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10812     soname_spec='$libname${shared_ext}.$major'
10813     shlibpath_var=LD_LIBRARY_PATH
10814   fi
10815   ;;
10816
10817 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10818   version_type=freebsd-elf
10819   need_lib_prefix=no
10820   need_version=no
10821   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10822   soname_spec='${libname}${release}${shared_ext}$major'
10823   shlibpath_var=LD_LIBRARY_PATH
10824   shlibpath_overrides_runpath=yes
10825   hardcode_into_libs=yes
10826   if test "$with_gnu_ld" = yes; then
10827     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10828   else
10829     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10830     case $host_os in
10831       sco3.2v5*)
10832         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10833         ;;
10834     esac
10835   fi
10836   sys_lib_dlsearch_path_spec='/usr/lib'
10837   ;;
10838
10839 tpf*)
10840   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10841   version_type=linux
10842   need_lib_prefix=no
10843   need_version=no
10844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845   shlibpath_var=LD_LIBRARY_PATH
10846   shlibpath_overrides_runpath=no
10847   hardcode_into_libs=yes
10848   ;;
10849
10850 uts4*)
10851   version_type=linux
10852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853   soname_spec='${libname}${release}${shared_ext}$major'
10854   shlibpath_var=LD_LIBRARY_PATH
10855   ;;
10856
10857 *)
10858   dynamic_linker=no
10859   ;;
10860 esac
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10862 $as_echo "$dynamic_linker" >&6; }
10863 test "$dynamic_linker" = no && can_build_shared=no
10864
10865 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10866 if test "$GCC" = yes; then
10867   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10868 fi
10869
10870 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10871   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10872 fi
10873 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10874   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10875 fi
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10964 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10965 hardcode_action=
10966 if test -n "$hardcode_libdir_flag_spec" ||
10967    test -n "$runpath_var" ||
10968    test "X$hardcode_automatic" = "Xyes" ; then
10969
10970   # We can hardcode non-existent directories.
10971   if test "$hardcode_direct" != no &&
10972      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10973      # have to relink, otherwise we might link with an installed library
10974      # when we should be linking with a yet-to-be-installed one
10975      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10976      test "$hardcode_minus_L" != no; then
10977     # Linking always hardcodes the temporary library directory.
10978     hardcode_action=relink
10979   else
10980     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10981     hardcode_action=immediate
10982   fi
10983 else
10984   # We cannot hardcode anything, or else we can only hardcode existing
10985   # directories.
10986   hardcode_action=unsupported
10987 fi
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10989 $as_echo "$hardcode_action" >&6; }
10990
10991 if test "$hardcode_action" = relink ||
10992    test "$inherit_rpath" = yes; then
10993   # Fast installation is not supported
10994   enable_fast_install=no
10995 elif test "$shlibpath_overrides_runpath" = yes ||
10996      test "$enable_shared" = no; then
10997   # Fast installation is not necessary
10998   enable_fast_install=needless
10999 fi
11000
11001
11002
11003
11004
11005
11006   if test "x$enable_dlopen" != xyes; then
11007   enable_dlopen=unknown
11008   enable_dlopen_self=unknown
11009   enable_dlopen_self_static=unknown
11010 else
11011   lt_cv_dlopen=no
11012   lt_cv_dlopen_libs=
11013
11014   case $host_os in
11015   beos*)
11016     lt_cv_dlopen="load_add_on"
11017     lt_cv_dlopen_libs=
11018     lt_cv_dlopen_self=yes
11019     ;;
11020
11021   mingw* | pw32* | cegcc*)
11022     lt_cv_dlopen="LoadLibrary"
11023     lt_cv_dlopen_libs=
11024     ;;
11025
11026   cygwin*)
11027     lt_cv_dlopen="dlopen"
11028     lt_cv_dlopen_libs=
11029     ;;
11030
11031   darwin*)
11032   # if libdl is installed we need to link against it
11033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11034 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11035 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11036   $as_echo_n "(cached) " >&6
11037 else
11038   ac_check_lib_save_LIBS=$LIBS
11039 LIBS="-ldl  $LIBS"
11040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h.  */
11042
11043 /* Override any GCC internal prototype to avoid an error.
11044    Use char because int might match the return type of a GCC
11045    builtin and then its argument prototype would still apply.  */
11046 #ifdef __cplusplus
11047 extern "C"
11048 #endif
11049 char dlopen ();
11050 int
11051 main ()
11052 {
11053 return dlopen ();
11054   ;
11055   return 0;
11056 }
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"; then :
11059   ac_cv_lib_dl_dlopen=yes
11060 else
11061   ac_cv_lib_dl_dlopen=no
11062 fi
11063 rm -f core conftest.err conftest.$ac_objext \
11064     conftest$ac_exeext conftest.$ac_ext
11065 LIBS=$ac_check_lib_save_LIBS
11066 fi
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11068 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11069 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11070   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11071 else
11072
11073     lt_cv_dlopen="dyld"
11074     lt_cv_dlopen_libs=
11075     lt_cv_dlopen_self=yes
11076
11077 fi
11078
11079     ;;
11080
11081   *)
11082     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11083 if test "x$ac_cv_func_shl_load" = x""yes; then :
11084   lt_cv_dlopen="shl_load"
11085 else
11086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11087 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11088 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11089   $as_echo_n "(cached) " >&6
11090 else
11091   ac_check_lib_save_LIBS=$LIBS
11092 LIBS="-ldld  $LIBS"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h.  */
11095
11096 /* Override any GCC internal prototype to avoid an error.
11097    Use char because int might match the return type of a GCC
11098    builtin and then its argument prototype would still apply.  */
11099 #ifdef __cplusplus
11100 extern "C"
11101 #endif
11102 char shl_load ();
11103 int
11104 main ()
11105 {
11106 return shl_load ();
11107   ;
11108   return 0;
11109 }
11110 _ACEOF
11111 if ac_fn_c_try_link "$LINENO"; then :
11112   ac_cv_lib_dld_shl_load=yes
11113 else
11114   ac_cv_lib_dld_shl_load=no
11115 fi
11116 rm -f core conftest.err conftest.$ac_objext \
11117     conftest$ac_exeext conftest.$ac_ext
11118 LIBS=$ac_check_lib_save_LIBS
11119 fi
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11121 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11122 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11123   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11124 else
11125   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11126 if test "x$ac_cv_func_dlopen" = x""yes; then :
11127   lt_cv_dlopen="dlopen"
11128 else
11129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11130 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11131 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11132   $as_echo_n "(cached) " >&6
11133 else
11134   ac_check_lib_save_LIBS=$LIBS
11135 LIBS="-ldl  $LIBS"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h.  */
11138
11139 /* Override any GCC internal prototype to avoid an error.
11140    Use char because int might match the return type of a GCC
11141    builtin and then its argument prototype would still apply.  */
11142 #ifdef __cplusplus
11143 extern "C"
11144 #endif
11145 char dlopen ();
11146 int
11147 main ()
11148 {
11149 return dlopen ();
11150   ;
11151   return 0;
11152 }
11153 _ACEOF
11154 if ac_fn_c_try_link "$LINENO"; then :
11155   ac_cv_lib_dl_dlopen=yes
11156 else
11157   ac_cv_lib_dl_dlopen=no
11158 fi
11159 rm -f core conftest.err conftest.$ac_objext \
11160     conftest$ac_exeext conftest.$ac_ext
11161 LIBS=$ac_check_lib_save_LIBS
11162 fi
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11164 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11165 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11166   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11167 else
11168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11169 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11170 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11171   $as_echo_n "(cached) " >&6
11172 else
11173   ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-lsvld  $LIBS"
11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h.  */
11177
11178 /* Override any GCC internal prototype to avoid an error.
11179    Use char because int might match the return type of a GCC
11180    builtin and then its argument prototype would still apply.  */
11181 #ifdef __cplusplus
11182 extern "C"
11183 #endif
11184 char dlopen ();
11185 int
11186 main ()
11187 {
11188 return dlopen ();
11189   ;
11190   return 0;
11191 }
11192 _ACEOF
11193 if ac_fn_c_try_link "$LINENO"; then :
11194   ac_cv_lib_svld_dlopen=yes
11195 else
11196   ac_cv_lib_svld_dlopen=no
11197 fi
11198 rm -f core conftest.err conftest.$ac_objext \
11199     conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_check_lib_save_LIBS
11201 fi
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11203 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11204 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11205   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11206 else
11207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11208 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11209 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11210   $as_echo_n "(cached) " >&6
11211 else
11212   ac_check_lib_save_LIBS=$LIBS
11213 LIBS="-ldld  $LIBS"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h.  */
11216
11217 /* Override any GCC internal prototype to avoid an error.
11218    Use char because int might match the return type of a GCC
11219    builtin and then its argument prototype would still apply.  */
11220 #ifdef __cplusplus
11221 extern "C"
11222 #endif
11223 char dld_link ();
11224 int
11225 main ()
11226 {
11227 return dld_link ();
11228   ;
11229   return 0;
11230 }
11231 _ACEOF
11232 if ac_fn_c_try_link "$LINENO"; then :
11233   ac_cv_lib_dld_dld_link=yes
11234 else
11235   ac_cv_lib_dld_dld_link=no
11236 fi
11237 rm -f core conftest.err conftest.$ac_objext \
11238     conftest$ac_exeext conftest.$ac_ext
11239 LIBS=$ac_check_lib_save_LIBS
11240 fi
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11242 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11243 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11244   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11245 fi
11246
11247
11248 fi
11249
11250
11251 fi
11252
11253
11254 fi
11255
11256
11257 fi
11258
11259
11260 fi
11261
11262     ;;
11263   esac
11264
11265   if test "x$lt_cv_dlopen" != xno; then
11266     enable_dlopen=yes
11267   else
11268     enable_dlopen=no
11269   fi
11270
11271   case $lt_cv_dlopen in
11272   dlopen)
11273     save_CPPFLAGS="$CPPFLAGS"
11274     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11275
11276     save_LDFLAGS="$LDFLAGS"
11277     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11278
11279     save_LIBS="$LIBS"
11280     LIBS="$lt_cv_dlopen_libs $LIBS"
11281
11282     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11283 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11284 if test "${lt_cv_dlopen_self+set}" = set; then :
11285   $as_echo_n "(cached) " >&6
11286 else
11287           if test "$cross_compiling" = yes; then :
11288   lt_cv_dlopen_self=cross
11289 else
11290   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11291   lt_status=$lt_dlunknown
11292   cat > conftest.$ac_ext <<_LT_EOF
11293 #line 11293 "configure"
11294 #include "confdefs.h"
11295
11296 #if HAVE_DLFCN_H
11297 #include <dlfcn.h>
11298 #endif
11299
11300 #include <stdio.h>
11301
11302 #ifdef RTLD_GLOBAL
11303 #  define LT_DLGLOBAL           RTLD_GLOBAL
11304 #else
11305 #  ifdef DL_GLOBAL
11306 #    define LT_DLGLOBAL         DL_GLOBAL
11307 #  else
11308 #    define LT_DLGLOBAL         0
11309 #  endif
11310 #endif
11311
11312 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11313    find out it does not work in some platform. */
11314 #ifndef LT_DLLAZY_OR_NOW
11315 #  ifdef RTLD_LAZY
11316 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11317 #  else
11318 #    ifdef DL_LAZY
11319 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11320 #    else
11321 #      ifdef RTLD_NOW
11322 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11323 #      else
11324 #        ifdef DL_NOW
11325 #          define LT_DLLAZY_OR_NOW      DL_NOW
11326 #        else
11327 #          define LT_DLLAZY_OR_NOW      0
11328 #        endif
11329 #      endif
11330 #    endif
11331 #  endif
11332 #endif
11333
11334 void fnord() { int i=42;}
11335 int main ()
11336 {
11337   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11338   int status = $lt_dlunknown;
11339
11340   if (self)
11341     {
11342       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11343       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11344       /* dlclose (self); */
11345     }
11346   else
11347     puts (dlerror ());
11348
11349   return status;
11350 }
11351 _LT_EOF
11352   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11353   (eval $ac_link) 2>&5
11354   ac_status=$?
11355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11356   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11357     (./conftest; exit; ) >&5 2>/dev/null
11358     lt_status=$?
11359     case x$lt_status in
11360       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11361       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11362       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11363     esac
11364   else :
11365     # compilation failed
11366     lt_cv_dlopen_self=no
11367   fi
11368 fi
11369 rm -fr conftest*
11370
11371
11372 fi
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11374 $as_echo "$lt_cv_dlopen_self" >&6; }
11375
11376     if test "x$lt_cv_dlopen_self" = xyes; then
11377       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11378       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11379 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11380 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11381   $as_echo_n "(cached) " >&6
11382 else
11383           if test "$cross_compiling" = yes; then :
11384   lt_cv_dlopen_self_static=cross
11385 else
11386   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11387   lt_status=$lt_dlunknown
11388   cat > conftest.$ac_ext <<_LT_EOF
11389 #line 11389 "configure"
11390 #include "confdefs.h"
11391
11392 #if HAVE_DLFCN_H
11393 #include <dlfcn.h>
11394 #endif
11395
11396 #include <stdio.h>
11397
11398 #ifdef RTLD_GLOBAL
11399 #  define LT_DLGLOBAL           RTLD_GLOBAL
11400 #else
11401 #  ifdef DL_GLOBAL
11402 #    define LT_DLGLOBAL         DL_GLOBAL
11403 #  else
11404 #    define LT_DLGLOBAL         0
11405 #  endif
11406 #endif
11407
11408 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11409    find out it does not work in some platform. */
11410 #ifndef LT_DLLAZY_OR_NOW
11411 #  ifdef RTLD_LAZY
11412 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11413 #  else
11414 #    ifdef DL_LAZY
11415 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11416 #    else
11417 #      ifdef RTLD_NOW
11418 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11419 #      else
11420 #        ifdef DL_NOW
11421 #          define LT_DLLAZY_OR_NOW      DL_NOW
11422 #        else
11423 #          define LT_DLLAZY_OR_NOW      0
11424 #        endif
11425 #      endif
11426 #    endif
11427 #  endif
11428 #endif
11429
11430 void fnord() { int i=42;}
11431 int main ()
11432 {
11433   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11434   int status = $lt_dlunknown;
11435
11436   if (self)
11437     {
11438       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11439       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11440       /* dlclose (self); */
11441     }
11442   else
11443     puts (dlerror ());
11444
11445   return status;
11446 }
11447 _LT_EOF
11448   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11449   (eval $ac_link) 2>&5
11450   ac_status=$?
11451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11452   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11453     (./conftest; exit; ) >&5 2>/dev/null
11454     lt_status=$?
11455     case x$lt_status in
11456       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11457       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11458       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11459     esac
11460   else :
11461     # compilation failed
11462     lt_cv_dlopen_self_static=no
11463   fi
11464 fi
11465 rm -fr conftest*
11466
11467
11468 fi
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11470 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11471     fi
11472
11473     CPPFLAGS="$save_CPPFLAGS"
11474     LDFLAGS="$save_LDFLAGS"
11475     LIBS="$save_LIBS"
11476     ;;
11477   esac
11478
11479   case $lt_cv_dlopen_self in
11480   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11481   *) enable_dlopen_self=unknown ;;
11482   esac
11483
11484   case $lt_cv_dlopen_self_static in
11485   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11486   *) enable_dlopen_self_static=unknown ;;
11487   esac
11488 fi
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506 striplib=
11507 old_striplib=
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11509 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11510 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11511   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11512   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11514 $as_echo "yes" >&6; }
11515 else
11516 # FIXME - insert some real tests, host_os isn't really good enough
11517   case $host_os in
11518   darwin*)
11519     if test -n "$STRIP" ; then
11520       striplib="$STRIP -x"
11521       old_striplib="$STRIP -S"
11522       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11523 $as_echo "yes" >&6; }
11524     else
11525       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11526 $as_echo "no" >&6; }
11527     fi
11528     ;;
11529   *)
11530     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11531 $as_echo "no" >&6; }
11532     ;;
11533   esac
11534 fi
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547   # Report which library types will actually be built
11548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11549 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11551 $as_echo "$can_build_shared" >&6; }
11552
11553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11554 $as_echo_n "checking whether to build shared libraries... " >&6; }
11555   test "$can_build_shared" = "no" && enable_shared=no
11556
11557   # On AIX, shared libraries and static libraries use the same namespace, and
11558   # are all built from PIC.
11559   case $host_os in
11560   aix3*)
11561     test "$enable_shared" = yes && enable_static=no
11562     if test -n "$RANLIB"; then
11563       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11564       postinstall_cmds='$RANLIB $lib'
11565     fi
11566     ;;
11567
11568   aix[4-9]*)
11569     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11570       test "$enable_shared" = yes && enable_static=no
11571     fi
11572     ;;
11573   esac
11574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11575 $as_echo "$enable_shared" >&6; }
11576
11577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11578 $as_echo_n "checking whether to build static libraries... " >&6; }
11579   # Make sure either enable_shared or enable_static is yes.
11580   test "$enable_shared" = yes || enable_static=yes
11581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11582 $as_echo "$enable_static" >&6; }
11583
11584
11585
11586
11587 fi
11588 ac_ext=c
11589 ac_cpp='$CPP $CPPFLAGS'
11590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11593
11594 CC="$lt_save_CC"
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608         ac_config_commands="$ac_config_commands libtool"
11609
11610
11611
11612
11613 # Only expand once:
11614
11615
11616
11617
11618
11619
11620 # Check whether --with-autoconf was given.
11621 if test "${with_autoconf+set}" = set; then :
11622   withval=$with_autoconf;
11623       unset AUTOCONF
11624
11625 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
11626
11627       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
11628 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
11629
11630 fi
11631
11632
11633
11634 # Check whether --with-autoheader was given.
11635 if test "${with_autoheader+set}" = set; then :
11636   withval=$with_autoheader;
11637       unset AUTOHEADER
11638
11639 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
11640
11641       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
11642 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
11643
11644 fi
11645
11646
11647
11648 # Check whether --with-automake was given.
11649 if test "${with_automake+set}" = set; then :
11650   withval=$with_automake;
11651       unset AUTOMAKE
11652
11653 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
11654
11655       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
11656 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
11657
11658 fi
11659
11660
11661
11662 # Check whether --with-aclocal was given.
11663 if test "${with_aclocal+set}" = set; then :
11664   withval=$with_aclocal;
11665       unset ACLOCAL
11666
11667 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
11668
11669       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
11670 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
11671
11672 fi
11673
11674
11675
11676 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
11677
11678
11679
11680
11681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11682 $as_echo_n "checking whether NLS is requested... " >&6; }
11683     # Check whether --enable-nls was given.
11684 if test "${enable_nls+set}" = set; then :
11685   enableval=$enable_nls; USE_NLS=$enableval
11686 else
11687   USE_NLS=yes
11688 fi
11689
11690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11691 $as_echo "$USE_NLS" >&6; }
11692
11693
11694
11695
11696       GETTEXT_MACRO_VERSION=0.17
11697
11698
11699
11700
11701 # Prepare PATH_SEPARATOR.
11702 # The user is always right.
11703 if test "${PATH_SEPARATOR+set}" != set; then
11704   echo "#! /bin/sh" >conf$$.sh
11705   echo  "exit 0"   >>conf$$.sh
11706   chmod +x conf$$.sh
11707   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11708     PATH_SEPARATOR=';'
11709   else
11710     PATH_SEPARATOR=:
11711   fi
11712   rm -f conf$$.sh
11713 fi
11714
11715 # Find out how to test for executable files. Don't use a zero-byte file,
11716 # as systems may use methods other than mode bits to determine executability.
11717 cat >conf$$.file <<_ASEOF
11718 #! /bin/sh
11719 exit 0
11720 _ASEOF
11721 chmod +x conf$$.file
11722 if test -x conf$$.file >/dev/null 2>&1; then
11723   ac_executable_p="test -x"
11724 else
11725   ac_executable_p="test -f"
11726 fi
11727 rm -f conf$$.file
11728
11729 # Extract the first word of "msgfmt", so it can be a program name with args.
11730 set dummy msgfmt; ac_word=$2
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11732 $as_echo_n "checking for $ac_word... " >&6; }
11733 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11734   $as_echo_n "(cached) " >&6
11735 else
11736   case "$MSGFMT" in
11737   [\\/]* | ?:[\\/]*)
11738     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11739     ;;
11740   *)
11741     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11742     for ac_dir in $PATH; do
11743       IFS="$ac_save_IFS"
11744       test -z "$ac_dir" && ac_dir=.
11745       for ac_exec_ext in '' $ac_executable_extensions; do
11746         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11747           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11748           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
11749      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11750             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11751             break 2
11752           fi
11753         fi
11754       done
11755     done
11756     IFS="$ac_save_IFS"
11757   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11758     ;;
11759 esac
11760 fi
11761 MSGFMT="$ac_cv_path_MSGFMT"
11762 if test "$MSGFMT" != ":"; then
11763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11764 $as_echo "$MSGFMT" >&6; }
11765 else
11766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11768 fi
11769
11770   # Extract the first word of "gmsgfmt", so it can be a program name with args.
11771 set dummy gmsgfmt; ac_word=$2
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11773 $as_echo_n "checking for $ac_word... " >&6; }
11774 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11775   $as_echo_n "(cached) " >&6
11776 else
11777   case $GMSGFMT in
11778   [\\/]* | ?:[\\/]*)
11779   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11780   ;;
11781   *)
11782   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11783 for as_dir in $PATH
11784 do
11785   IFS=$as_save_IFS
11786   test -z "$as_dir" && as_dir=.
11787     for ac_exec_ext in '' $ac_executable_extensions; do
11788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11789     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791     break 2
11792   fi
11793 done
11794   done
11795 IFS=$as_save_IFS
11796
11797   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11798   ;;
11799 esac
11800 fi
11801 GMSGFMT=$ac_cv_path_GMSGFMT
11802 if test -n "$GMSGFMT"; then
11803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11804 $as_echo "$GMSGFMT" >&6; }
11805 else
11806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11807 $as_echo "no" >&6; }
11808 fi
11809
11810
11811
11812     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11813     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11814     *) MSGFMT_015=$MSGFMT ;;
11815   esac
11816
11817   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11818     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11819     *) GMSGFMT_015=$GMSGFMT ;;
11820   esac
11821
11822
11823
11824 # Prepare PATH_SEPARATOR.
11825 # The user is always right.
11826 if test "${PATH_SEPARATOR+set}" != set; then
11827   echo "#! /bin/sh" >conf$$.sh
11828   echo  "exit 0"   >>conf$$.sh
11829   chmod +x conf$$.sh
11830   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11831     PATH_SEPARATOR=';'
11832   else
11833     PATH_SEPARATOR=:
11834   fi
11835   rm -f conf$$.sh
11836 fi
11837
11838 # Find out how to test for executable files. Don't use a zero-byte file,
11839 # as systems may use methods other than mode bits to determine executability.
11840 cat >conf$$.file <<_ASEOF
11841 #! /bin/sh
11842 exit 0
11843 _ASEOF
11844 chmod +x conf$$.file
11845 if test -x conf$$.file >/dev/null 2>&1; then
11846   ac_executable_p="test -x"
11847 else
11848   ac_executable_p="test -f"
11849 fi
11850 rm -f conf$$.file
11851
11852 # Extract the first word of "xgettext", so it can be a program name with args.
11853 set dummy xgettext; ac_word=$2
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11855 $as_echo_n "checking for $ac_word... " >&6; }
11856 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11857   $as_echo_n "(cached) " >&6
11858 else
11859   case "$XGETTEXT" in
11860   [\\/]* | ?:[\\/]*)
11861     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11862     ;;
11863   *)
11864     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11865     for ac_dir in $PATH; do
11866       IFS="$ac_save_IFS"
11867       test -z "$ac_dir" && ac_dir=.
11868       for ac_exec_ext in '' $ac_executable_extensions; do
11869         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11870           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11871           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
11872      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11873             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11874             break 2
11875           fi
11876         fi
11877       done
11878     done
11879     IFS="$ac_save_IFS"
11880   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11881     ;;
11882 esac
11883 fi
11884 XGETTEXT="$ac_cv_path_XGETTEXT"
11885 if test "$XGETTEXT" != ":"; then
11886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11887 $as_echo "$XGETTEXT" >&6; }
11888 else
11889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11890 $as_echo "no" >&6; }
11891 fi
11892
11893     rm -f messages.po
11894
11895     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11896     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
11897     *) XGETTEXT_015=$XGETTEXT ;;
11898   esac
11899
11900
11901
11902 # Prepare PATH_SEPARATOR.
11903 # The user is always right.
11904 if test "${PATH_SEPARATOR+set}" != set; then
11905   echo "#! /bin/sh" >conf$$.sh
11906   echo  "exit 0"   >>conf$$.sh
11907   chmod +x conf$$.sh
11908   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11909     PATH_SEPARATOR=';'
11910   else
11911     PATH_SEPARATOR=:
11912   fi
11913   rm -f conf$$.sh
11914 fi
11915
11916 # Find out how to test for executable files. Don't use a zero-byte file,
11917 # as systems may use methods other than mode bits to determine executability.
11918 cat >conf$$.file <<_ASEOF
11919 #! /bin/sh
11920 exit 0
11921 _ASEOF
11922 chmod +x conf$$.file
11923 if test -x conf$$.file >/dev/null 2>&1; then
11924   ac_executable_p="test -x"
11925 else
11926   ac_executable_p="test -f"
11927 fi
11928 rm -f conf$$.file
11929
11930 # Extract the first word of "msgmerge", so it can be a program name with args.
11931 set dummy msgmerge; ac_word=$2
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11933 $as_echo_n "checking for $ac_word... " >&6; }
11934 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11935   $as_echo_n "(cached) " >&6
11936 else
11937   case "$MSGMERGE" in
11938   [\\/]* | ?:[\\/]*)
11939     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11940     ;;
11941   *)
11942     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11943     for ac_dir in $PATH; do
11944       IFS="$ac_save_IFS"
11945       test -z "$ac_dir" && ac_dir=.
11946       for ac_exec_ext in '' $ac_executable_extensions; do
11947         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11948           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11949           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
11950             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11951             break 2
11952           fi
11953         fi
11954       done
11955     done
11956     IFS="$ac_save_IFS"
11957   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11958     ;;
11959 esac
11960 fi
11961 MSGMERGE="$ac_cv_path_MSGMERGE"
11962 if test "$MSGMERGE" != ":"; then
11963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11964 $as_echo "$MSGMERGE" >&6; }
11965 else
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11967 $as_echo "no" >&6; }
11968 fi
11969
11970
11971         test -n "$localedir" || localedir='${datadir}/locale'
11972
11973
11974     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
11975
11976
11977   ac_config_commands="$ac_config_commands po-directories"
11978
11979
11980
11981       if test "X$prefix" = "XNONE"; then
11982     acl_final_prefix="$ac_default_prefix"
11983   else
11984     acl_final_prefix="$prefix"
11985   fi
11986   if test "X$exec_prefix" = "XNONE"; then
11987     acl_final_exec_prefix='${prefix}'
11988   else
11989     acl_final_exec_prefix="$exec_prefix"
11990   fi
11991   acl_save_prefix="$prefix"
11992   prefix="$acl_final_prefix"
11993   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
11994   prefix="$acl_save_prefix"
11995
11996
11997 # Check whether --with-gnu-ld was given.
11998 if test "${with_gnu_ld+set}" = set; then :
11999   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12000 else
12001   with_gnu_ld=no
12002 fi
12003
12004 # Prepare PATH_SEPARATOR.
12005 # The user is always right.
12006 if test "${PATH_SEPARATOR+set}" != set; then
12007   echo "#! /bin/sh" >conf$$.sh
12008   echo  "exit 0"   >>conf$$.sh
12009   chmod +x conf$$.sh
12010   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12011     PATH_SEPARATOR=';'
12012   else
12013     PATH_SEPARATOR=:
12014   fi
12015   rm -f conf$$.sh
12016 fi
12017 ac_prog=ld
12018 if test "$GCC" = yes; then
12019   # Check if gcc -print-prog-name=ld gives a path.
12020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12021 $as_echo_n "checking for ld used by GCC... " >&6; }
12022   case $host in
12023   *-*-mingw*)
12024     # gcc leaves a trailing carriage return which upsets mingw
12025     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12026   *)
12027     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12028   esac
12029   case $ac_prog in
12030     # Accept absolute paths.
12031     [\\/]* | [A-Za-z]:[\\/]*)
12032       re_direlt='/[^/][^/]*/\.\./'
12033       # Canonicalize the path of ld
12034       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12035       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12036         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12037       done
12038       test -z "$LD" && LD="$ac_prog"
12039       ;;
12040   "")
12041     # If it fails, then pretend we aren't using GCC.
12042     ac_prog=ld
12043     ;;
12044   *)
12045     # If it is relative, then search for the first ld in PATH.
12046     with_gnu_ld=unknown
12047     ;;
12048   esac
12049 elif test "$with_gnu_ld" = yes; then
12050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12051 $as_echo_n "checking for GNU ld... " >&6; }
12052 else
12053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12054 $as_echo_n "checking for non-GNU ld... " >&6; }
12055 fi
12056 if test "${acl_cv_path_LD+set}" = set; then :
12057   $as_echo_n "(cached) " >&6
12058 else
12059   if test -z "$LD"; then
12060   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12061   for ac_dir in $PATH; do
12062     test -z "$ac_dir" && ac_dir=.
12063     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12064       acl_cv_path_LD="$ac_dir/$ac_prog"
12065       # Check to see if the program is GNU ld.  I'd rather use --version,
12066       # but apparently some GNU ld's only accept -v.
12067       # Break only if it was the GNU/non-GNU ld that we prefer.
12068       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12069       *GNU* | *'with BFD'*)
12070         test "$with_gnu_ld" != no && break ;;
12071       *)
12072         test "$with_gnu_ld" != yes && break ;;
12073       esac
12074     fi
12075   done
12076   IFS="$ac_save_ifs"
12077 else
12078   acl_cv_path_LD="$LD" # Let the user override the test with a path.
12079 fi
12080 fi
12081
12082 LD="$acl_cv_path_LD"
12083 if test -n "$LD"; then
12084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12085 $as_echo "$LD" >&6; }
12086 else
12087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088 $as_echo "no" >&6; }
12089 fi
12090 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12092 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12093 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12094   $as_echo_n "(cached) " >&6
12095 else
12096   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12097 case `$LD -v 2>&1 </dev/null` in
12098 *GNU* | *'with BFD'*)
12099   acl_cv_prog_gnu_ld=yes ;;
12100 *)
12101   acl_cv_prog_gnu_ld=no ;;
12102 esac
12103 fi
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12105 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12106 with_gnu_ld=$acl_cv_prog_gnu_ld
12107
12108
12109
12110
12111                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12112 $as_echo_n "checking for shared library run path origin... " >&6; }
12113 if test "${acl_cv_rpath+set}" = set; then :
12114   $as_echo_n "(cached) " >&6
12115 else
12116
12117     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12118     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12119     . ./conftest.sh
12120     rm -f ./conftest.sh
12121     acl_cv_rpath=done
12122
12123 fi
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12125 $as_echo "$acl_cv_rpath" >&6; }
12126   wl="$acl_cv_wl"
12127   acl_libext="$acl_cv_libext"
12128   acl_shlibext="$acl_cv_shlibext"
12129   acl_libname_spec="$acl_cv_libname_spec"
12130   acl_library_names_spec="$acl_cv_library_names_spec"
12131   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12132   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12133   acl_hardcode_direct="$acl_cv_hardcode_direct"
12134   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12135     # Check whether --enable-rpath was given.
12136 if test "${enable_rpath+set}" = set; then :
12137   enableval=$enable_rpath; :
12138 else
12139   enable_rpath=yes
12140 fi
12141
12142
12143
12144                   acl_libdirstem=lib
12145   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12146   if test -n "$searchpath"; then
12147     acl_save_IFS="${IFS=        }"; IFS=":"
12148     for searchdir in $searchpath; do
12149       if test -d "$searchdir"; then
12150         case "$searchdir" in
12151           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12152           *) searchdir=`cd "$searchdir" && pwd`
12153              case "$searchdir" in
12154                */lib64 ) acl_libdirstem=lib64 ;;
12155              esac ;;
12156         esac
12157       fi
12158     done
12159     IFS="$acl_save_IFS"
12160   fi
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170     use_additional=yes
12171
12172   acl_save_prefix="$prefix"
12173   prefix="$acl_final_prefix"
12174   acl_save_exec_prefix="$exec_prefix"
12175   exec_prefix="$acl_final_exec_prefix"
12176
12177     eval additional_includedir=\"$includedir\"
12178     eval additional_libdir=\"$libdir\"
12179
12180   exec_prefix="$acl_save_exec_prefix"
12181   prefix="$acl_save_prefix"
12182
12183
12184 # Check whether --with-libiconv-prefix was given.
12185 if test "${with_libiconv_prefix+set}" = set; then :
12186   withval=$with_libiconv_prefix;
12187     if test "X$withval" = "Xno"; then
12188       use_additional=no
12189     else
12190       if test "X$withval" = "X"; then
12191
12192   acl_save_prefix="$prefix"
12193   prefix="$acl_final_prefix"
12194   acl_save_exec_prefix="$exec_prefix"
12195   exec_prefix="$acl_final_exec_prefix"
12196
12197           eval additional_includedir=\"$includedir\"
12198           eval additional_libdir=\"$libdir\"
12199
12200   exec_prefix="$acl_save_exec_prefix"
12201   prefix="$acl_save_prefix"
12202
12203       else
12204         additional_includedir="$withval/include"
12205         additional_libdir="$withval/$acl_libdirstem"
12206       fi
12207     fi
12208
12209 fi
12210
12211       LIBICONV=
12212   LTLIBICONV=
12213   INCICONV=
12214   LIBICONV_PREFIX=
12215   rpathdirs=
12216   ltrpathdirs=
12217   names_already_handled=
12218   names_next_round='iconv '
12219   while test -n "$names_next_round"; do
12220     names_this_round="$names_next_round"
12221     names_next_round=
12222     for name in $names_this_round; do
12223       already_handled=
12224       for n in $names_already_handled; do
12225         if test "$n" = "$name"; then
12226           already_handled=yes
12227           break
12228         fi
12229       done
12230       if test -z "$already_handled"; then
12231         names_already_handled="$names_already_handled $name"
12232                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12233         eval value=\"\$HAVE_LIB$uppername\"
12234         if test -n "$value"; then
12235           if test "$value" = yes; then
12236             eval value=\"\$LIB$uppername\"
12237             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12238             eval value=\"\$LTLIB$uppername\"
12239             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12240           else
12241                                     :
12242           fi
12243         else
12244                               found_dir=
12245           found_la=
12246           found_so=
12247           found_a=
12248           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
12249           if test -n "$acl_shlibext"; then
12250             shrext=".$acl_shlibext"             # typically: shrext=.so
12251           else
12252             shrext=
12253           fi
12254           if test $use_additional = yes; then
12255             dir="$additional_libdir"
12256                                     if test -n "$acl_shlibext"; then
12257               if test -f "$dir/$libname$shrext"; then
12258                 found_dir="$dir"
12259                 found_so="$dir/$libname$shrext"
12260               else
12261                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12262                   ver=`(cd "$dir" && \
12263                         for f in "$libname$shrext".*; do echo "$f"; done \
12264                         | sed -e "s,^$libname$shrext\\\\.,," \
12265                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12266                         | sed 1q ) 2>/dev/null`
12267                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12268                     found_dir="$dir"
12269                     found_so="$dir/$libname$shrext.$ver"
12270                   fi
12271                 else
12272                   eval library_names=\"$acl_library_names_spec\"
12273                   for f in $library_names; do
12274                     if test -f "$dir/$f"; then
12275                       found_dir="$dir"
12276                       found_so="$dir/$f"
12277                       break
12278                     fi
12279                   done
12280                 fi
12281               fi
12282             fi
12283                         if test "X$found_dir" = "X"; then
12284               if test -f "$dir/$libname.$acl_libext"; then
12285                 found_dir="$dir"
12286                 found_a="$dir/$libname.$acl_libext"
12287               fi
12288             fi
12289             if test "X$found_dir" != "X"; then
12290               if test -f "$dir/$libname.la"; then
12291                 found_la="$dir/$libname.la"
12292               fi
12293             fi
12294           fi
12295           if test "X$found_dir" = "X"; then
12296             for x in $LDFLAGS $LTLIBICONV; do
12297
12298   acl_save_prefix="$prefix"
12299   prefix="$acl_final_prefix"
12300   acl_save_exec_prefix="$exec_prefix"
12301   exec_prefix="$acl_final_exec_prefix"
12302   eval x=\"$x\"
12303   exec_prefix="$acl_save_exec_prefix"
12304   prefix="$acl_save_prefix"
12305
12306               case "$x" in
12307                 -L*)
12308                   dir=`echo "X$x" | sed -e 's/^X-L//'`
12309                                     if test -n "$acl_shlibext"; then
12310                     if test -f "$dir/$libname$shrext"; then
12311                       found_dir="$dir"
12312                       found_so="$dir/$libname$shrext"
12313                     else
12314                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12315                         ver=`(cd "$dir" && \
12316                               for f in "$libname$shrext".*; do echo "$f"; done \
12317                               | sed -e "s,^$libname$shrext\\\\.,," \
12318                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12319                               | sed 1q ) 2>/dev/null`
12320                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12321                           found_dir="$dir"
12322                           found_so="$dir/$libname$shrext.$ver"
12323                         fi
12324                       else
12325                         eval library_names=\"$acl_library_names_spec\"
12326                         for f in $library_names; do
12327                           if test -f "$dir/$f"; then
12328                             found_dir="$dir"
12329                             found_so="$dir/$f"
12330                             break
12331                           fi
12332                         done
12333                       fi
12334                     fi
12335                   fi
12336                                     if test "X$found_dir" = "X"; then
12337                     if test -f "$dir/$libname.$acl_libext"; then
12338                       found_dir="$dir"
12339                       found_a="$dir/$libname.$acl_libext"
12340                     fi
12341                   fi
12342                   if test "X$found_dir" != "X"; then
12343                     if test -f "$dir/$libname.la"; then
12344                       found_la="$dir/$libname.la"
12345                     fi
12346                   fi
12347                   ;;
12348               esac
12349               if test "X$found_dir" != "X"; then
12350                 break
12351               fi
12352             done
12353           fi
12354           if test "X$found_dir" != "X"; then
12355                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12356             if test "X$found_so" != "X"; then
12357                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12358                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12359               else
12360                                                                                 haveit=
12361                 for x in $ltrpathdirs; do
12362                   if test "X$x" = "X$found_dir"; then
12363                     haveit=yes
12364                     break
12365                   fi
12366                 done
12367                 if test -z "$haveit"; then
12368                   ltrpathdirs="$ltrpathdirs $found_dir"
12369                 fi
12370                                 if test "$acl_hardcode_direct" = yes; then
12371                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12372                 else
12373                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12374                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12375                                                             haveit=
12376                     for x in $rpathdirs; do
12377                       if test "X$x" = "X$found_dir"; then
12378                         haveit=yes
12379                         break
12380                       fi
12381                     done
12382                     if test -z "$haveit"; then
12383                       rpathdirs="$rpathdirs $found_dir"
12384                     fi
12385                   else
12386                                                                                 haveit=
12387                     for x in $LDFLAGS $LIBICONV; do
12388
12389   acl_save_prefix="$prefix"
12390   prefix="$acl_final_prefix"
12391   acl_save_exec_prefix="$exec_prefix"
12392   exec_prefix="$acl_final_exec_prefix"
12393   eval x=\"$x\"
12394   exec_prefix="$acl_save_exec_prefix"
12395   prefix="$acl_save_prefix"
12396
12397                       if test "X$x" = "X-L$found_dir"; then
12398                         haveit=yes
12399                         break
12400                       fi
12401                     done
12402                     if test -z "$haveit"; then
12403                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12404                     fi
12405                     if test "$acl_hardcode_minus_L" != no; then
12406                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12407                     else
12408                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12409                     fi
12410                   fi
12411                 fi
12412               fi
12413             else
12414               if test "X$found_a" != "X"; then
12415                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12416               else
12417                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12418               fi
12419             fi
12420                         additional_includedir=
12421             case "$found_dir" in
12422               */$acl_libdirstem | */$acl_libdirstem/)
12423                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12424                 LIBICONV_PREFIX="$basedir"
12425                 additional_includedir="$basedir/include"
12426                 ;;
12427             esac
12428             if test "X$additional_includedir" != "X"; then
12429                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
12430                 haveit=
12431                 if test "X$additional_includedir" = "X/usr/local/include"; then
12432                   if test -n "$GCC"; then
12433                     case $host_os in
12434                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12435                     esac
12436                   fi
12437                 fi
12438                 if test -z "$haveit"; then
12439                   for x in $CPPFLAGS $INCICONV; do
12440
12441   acl_save_prefix="$prefix"
12442   prefix="$acl_final_prefix"
12443   acl_save_exec_prefix="$exec_prefix"
12444   exec_prefix="$acl_final_exec_prefix"
12445   eval x=\"$x\"
12446   exec_prefix="$acl_save_exec_prefix"
12447   prefix="$acl_save_prefix"
12448
12449                     if test "X$x" = "X-I$additional_includedir"; then
12450                       haveit=yes
12451                       break
12452                     fi
12453                   done
12454                   if test -z "$haveit"; then
12455                     if test -d "$additional_includedir"; then
12456                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12457                     fi
12458                   fi
12459                 fi
12460               fi
12461             fi
12462                         if test -n "$found_la"; then
12463                                                         save_libdir="$libdir"
12464               case "$found_la" in
12465                 */* | *\\*) . "$found_la" ;;
12466                 *) . "./$found_la" ;;
12467               esac
12468               libdir="$save_libdir"
12469                             for dep in $dependency_libs; do
12470                 case "$dep" in
12471                   -L*)
12472                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12473                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12474                       haveit=
12475                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12476                         if test -n "$GCC"; then
12477                           case $host_os in
12478                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12479                           esac
12480                         fi
12481                       fi
12482                       if test -z "$haveit"; then
12483                         haveit=
12484                         for x in $LDFLAGS $LIBICONV; do
12485
12486   acl_save_prefix="$prefix"
12487   prefix="$acl_final_prefix"
12488   acl_save_exec_prefix="$exec_prefix"
12489   exec_prefix="$acl_final_exec_prefix"
12490   eval x=\"$x\"
12491   exec_prefix="$acl_save_exec_prefix"
12492   prefix="$acl_save_prefix"
12493
12494                           if test "X$x" = "X-L$additional_libdir"; then
12495                             haveit=yes
12496                             break
12497                           fi
12498                         done
12499                         if test -z "$haveit"; then
12500                           if test -d "$additional_libdir"; then
12501                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12502                           fi
12503                         fi
12504                         haveit=
12505                         for x in $LDFLAGS $LTLIBICONV; do
12506
12507   acl_save_prefix="$prefix"
12508   prefix="$acl_final_prefix"
12509   acl_save_exec_prefix="$exec_prefix"
12510   exec_prefix="$acl_final_exec_prefix"
12511   eval x=\"$x\"
12512   exec_prefix="$acl_save_exec_prefix"
12513   prefix="$acl_save_prefix"
12514
12515                           if test "X$x" = "X-L$additional_libdir"; then
12516                             haveit=yes
12517                             break
12518                           fi
12519                         done
12520                         if test -z "$haveit"; then
12521                           if test -d "$additional_libdir"; then
12522                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12523                           fi
12524                         fi
12525                       fi
12526                     fi
12527                     ;;
12528                   -R*)
12529                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
12530                     if test "$enable_rpath" != no; then
12531                                                                   haveit=
12532                       for x in $rpathdirs; do
12533                         if test "X$x" = "X$dir"; then
12534                           haveit=yes
12535                           break
12536                         fi
12537                       done
12538                       if test -z "$haveit"; then
12539                         rpathdirs="$rpathdirs $dir"
12540                       fi
12541                                                                   haveit=
12542                       for x in $ltrpathdirs; do
12543                         if test "X$x" = "X$dir"; then
12544                           haveit=yes
12545                           break
12546                         fi
12547                       done
12548                       if test -z "$haveit"; then
12549                         ltrpathdirs="$ltrpathdirs $dir"
12550                       fi
12551                     fi
12552                     ;;
12553                   -l*)
12554                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12555                     ;;
12556                   *.la)
12557                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12558                     ;;
12559                   *)
12560                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12561                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12562                     ;;
12563                 esac
12564               done
12565             fi
12566           else
12567                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12568             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12569           fi
12570         fi
12571       fi
12572     done
12573   done
12574   if test "X$rpathdirs" != "X"; then
12575     if test -n "$acl_hardcode_libdir_separator"; then
12576                         alldirs=
12577       for found_dir in $rpathdirs; do
12578         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12579       done
12580             acl_save_libdir="$libdir"
12581       libdir="$alldirs"
12582       eval flag=\"$acl_hardcode_libdir_flag_spec\"
12583       libdir="$acl_save_libdir"
12584       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12585     else
12586             for found_dir in $rpathdirs; do
12587         acl_save_libdir="$libdir"
12588         libdir="$found_dir"
12589         eval flag=\"$acl_hardcode_libdir_flag_spec\"
12590         libdir="$acl_save_libdir"
12591         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12592       done
12593     fi
12594   fi
12595   if test "X$ltrpathdirs" != "X"; then
12596             for found_dir in $ltrpathdirs; do
12597       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12598     done
12599   fi
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12626 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12627 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
12628   $as_echo_n "(cached) " >&6
12629 else
12630   gt_save_LIBS="$LIBS"
12631      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h.  */
12634 #include <CoreFoundation/CFPreferences.h>
12635 int
12636 main ()
12637 {
12638 CFPreferencesCopyAppValue(NULL, NULL)
12639   ;
12640   return 0;
12641 }
12642 _ACEOF
12643 if ac_fn_c_try_link "$LINENO"; then :
12644   gt_cv_func_CFPreferencesCopyAppValue=yes
12645 else
12646   gt_cv_func_CFPreferencesCopyAppValue=no
12647 fi
12648 rm -f core conftest.err conftest.$ac_objext \
12649     conftest$ac_exeext conftest.$ac_ext
12650      LIBS="$gt_save_LIBS"
12651 fi
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12653 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12654   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12655
12656 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12657
12658   fi
12659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12660 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12661 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
12662   $as_echo_n "(cached) " >&6
12663 else
12664   gt_save_LIBS="$LIBS"
12665      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12666      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h.  */
12668 #include <CoreFoundation/CFLocale.h>
12669 int
12670 main ()
12671 {
12672 CFLocaleCopyCurrent();
12673   ;
12674   return 0;
12675 }
12676 _ACEOF
12677 if ac_fn_c_try_link "$LINENO"; then :
12678   gt_cv_func_CFLocaleCopyCurrent=yes
12679 else
12680   gt_cv_func_CFLocaleCopyCurrent=no
12681 fi
12682 rm -f core conftest.err conftest.$ac_objext \
12683     conftest$ac_exeext conftest.$ac_ext
12684      LIBS="$gt_save_LIBS"
12685 fi
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12687 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12688   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12689
12690 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12691
12692   fi
12693   INTL_MACOSX_LIBS=
12694   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12695     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12696   fi
12697
12698
12699
12700
12701
12702
12703   LIBINTL=
12704   LTLIBINTL=
12705   POSUB=
12706
12707     case " $gt_needs " in
12708     *" need-formatstring-macros "*) gt_api_version=3 ;;
12709     *" need-ngettext "*) gt_api_version=2 ;;
12710     *) gt_api_version=1 ;;
12711   esac
12712   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12713   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12714
12715     if test "$USE_NLS" = "yes"; then
12716     gt_use_preinstalled_gnugettext=no
12717
12718
12719         if test $gt_api_version -ge 3; then
12720           gt_revision_test_code='
12721 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12722 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12723 #endif
12724 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12725 '
12726         else
12727           gt_revision_test_code=
12728         fi
12729         if test $gt_api_version -ge 2; then
12730           gt_expression_test_code=' + * ngettext ("", "", 0)'
12731         else
12732           gt_expression_test_code=
12733         fi
12734
12735         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12736 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12737 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
12738   $as_echo_n "(cached) " >&6
12739 else
12740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h.  */
12742 #include <libintl.h>
12743 $gt_revision_test_code
12744 extern int _nl_msg_cat_cntr;
12745 extern int *_nl_domain_bindings;
12746 int
12747 main ()
12748 {
12749 bindtextdomain ("", "");
12750 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12751   ;
12752   return 0;
12753 }
12754 _ACEOF
12755 if ac_fn_c_try_link "$LINENO"; then :
12756   eval "$gt_func_gnugettext_libc=yes"
12757 else
12758   eval "$gt_func_gnugettext_libc=no"
12759 fi
12760 rm -f core conftest.err conftest.$ac_objext \
12761     conftest$ac_exeext conftest.$ac_ext
12762 fi
12763 eval ac_res=\$$gt_func_gnugettext_libc
12764                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12765 $as_echo "$ac_res" >&6; }
12766
12767         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12768
12769
12770
12771
12772
12773           am_save_CPPFLAGS="$CPPFLAGS"
12774
12775   for element in $INCICONV; do
12776     haveit=
12777     for x in $CPPFLAGS; do
12778
12779   acl_save_prefix="$prefix"
12780   prefix="$acl_final_prefix"
12781   acl_save_exec_prefix="$exec_prefix"
12782   exec_prefix="$acl_final_exec_prefix"
12783   eval x=\"$x\"
12784   exec_prefix="$acl_save_exec_prefix"
12785   prefix="$acl_save_prefix"
12786
12787       if test "X$x" = "X$element"; then
12788         haveit=yes
12789         break
12790       fi
12791     done
12792     if test -z "$haveit"; then
12793       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12794     fi
12795   done
12796
12797
12798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12799 $as_echo_n "checking for iconv... " >&6; }
12800 if test "${am_cv_func_iconv+set}" = set; then :
12801   $as_echo_n "(cached) " >&6
12802 else
12803
12804     am_cv_func_iconv="no, consider installing GNU libiconv"
12805     am_cv_lib_iconv=no
12806     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12807 /* end confdefs.h.  */
12808 #include <stdlib.h>
12809 #include <iconv.h>
12810 int
12811 main ()
12812 {
12813 iconv_t cd = iconv_open("","");
12814        iconv(cd,NULL,NULL,NULL,NULL);
12815        iconv_close(cd);
12816   ;
12817   return 0;
12818 }
12819 _ACEOF
12820 if ac_fn_c_try_link "$LINENO"; then :
12821   am_cv_func_iconv=yes
12822 fi
12823 rm -f core conftest.err conftest.$ac_objext \
12824     conftest$ac_exeext conftest.$ac_ext
12825     if test "$am_cv_func_iconv" != yes; then
12826       am_save_LIBS="$LIBS"
12827       LIBS="$LIBS $LIBICONV"
12828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h.  */
12830 #include <stdlib.h>
12831 #include <iconv.h>
12832 int
12833 main ()
12834 {
12835 iconv_t cd = iconv_open("","");
12836          iconv(cd,NULL,NULL,NULL,NULL);
12837          iconv_close(cd);
12838   ;
12839   return 0;
12840 }
12841 _ACEOF
12842 if ac_fn_c_try_link "$LINENO"; then :
12843   am_cv_lib_iconv=yes
12844         am_cv_func_iconv=yes
12845 fi
12846 rm -f core conftest.err conftest.$ac_objext \
12847     conftest$ac_exeext conftest.$ac_ext
12848       LIBS="$am_save_LIBS"
12849     fi
12850
12851 fi
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12853 $as_echo "$am_cv_func_iconv" >&6; }
12854   if test "$am_cv_func_iconv" = yes; then
12855     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
12856 $as_echo_n "checking for working iconv... " >&6; }
12857 if test "${am_cv_func_iconv_works+set}" = set; then :
12858   $as_echo_n "(cached) " >&6
12859 else
12860
12861             am_save_LIBS="$LIBS"
12862       if test $am_cv_lib_iconv = yes; then
12863         LIBS="$LIBS $LIBICONV"
12864       fi
12865       if test "$cross_compiling" = yes; then :
12866   case "$host_os" in
12867            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
12868            *)            am_cv_func_iconv_works="guessing yes" ;;
12869          esac
12870 else
12871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h.  */
12873
12874 #include <iconv.h>
12875 #include <string.h>
12876 int main ()
12877 {
12878   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
12879      returns.  */
12880   {
12881     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
12882     if (cd_utf8_to_88591 != (iconv_t)(-1))
12883       {
12884         static const char input[] = "\342\202\254"; /* EURO SIGN */
12885         char buf[10];
12886         const char *inptr = input;
12887         size_t inbytesleft = strlen (input);
12888         char *outptr = buf;
12889         size_t outbytesleft = sizeof (buf);
12890         size_t res = iconv (cd_utf8_to_88591,
12891                             (char **) &inptr, &inbytesleft,
12892                             &outptr, &outbytesleft);
12893         if (res == 0)
12894           return 1;
12895       }
12896   }
12897 #if 0 /* This bug could be worked around by the caller.  */
12898   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
12899   {
12900     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
12901     if (cd_88591_to_utf8 != (iconv_t)(-1))
12902       {
12903         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
12904         char buf[50];
12905         const char *inptr = input;
12906         size_t inbytesleft = strlen (input);
12907         char *outptr = buf;
12908         size_t outbytesleft = sizeof (buf);
12909         size_t res = iconv (cd_88591_to_utf8,
12910                             (char **) &inptr, &inbytesleft,
12911                             &outptr, &outbytesleft);
12912         if ((int)res > 0)
12913           return 1;
12914       }
12915   }
12916 #endif
12917   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
12918      provided.  */
12919   if (/* Try standardized names.  */
12920       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
12921       /* Try IRIX, OSF/1 names.  */
12922       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
12923       /* Try AIX names.  */
12924       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
12925       /* Try HP-UX names.  */
12926       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
12927     return 1;
12928   return 0;
12929 }
12930 _ACEOF
12931 if ac_fn_c_try_run "$LINENO"; then :
12932   am_cv_func_iconv_works=yes
12933 else
12934   am_cv_func_iconv_works=no
12935 fi
12936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12937   conftest.$ac_objext conftest.beam conftest.$ac_ext
12938 fi
12939
12940       LIBS="$am_save_LIBS"
12941
12942 fi
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
12944 $as_echo "$am_cv_func_iconv_works" >&6; }
12945     case "$am_cv_func_iconv_works" in
12946       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
12947       *)   am_func_iconv=yes ;;
12948     esac
12949   else
12950     am_func_iconv=no am_cv_lib_iconv=no
12951   fi
12952   if test "$am_func_iconv" = yes; then
12953
12954 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12955
12956   fi
12957   if test "$am_cv_lib_iconv" = yes; then
12958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12959 $as_echo_n "checking how to link with libiconv... " >&6; }
12960     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12961 $as_echo "$LIBICONV" >&6; }
12962   else
12963             CPPFLAGS="$am_save_CPPFLAGS"
12964     LIBICONV=
12965     LTLIBICONV=
12966   fi
12967
12968
12969
12970
12971
12972
12973
12974
12975     use_additional=yes
12976
12977   acl_save_prefix="$prefix"
12978   prefix="$acl_final_prefix"
12979   acl_save_exec_prefix="$exec_prefix"
12980   exec_prefix="$acl_final_exec_prefix"
12981
12982     eval additional_includedir=\"$includedir\"
12983     eval additional_libdir=\"$libdir\"
12984
12985   exec_prefix="$acl_save_exec_prefix"
12986   prefix="$acl_save_prefix"
12987
12988
12989 # Check whether --with-libintl-prefix was given.
12990 if test "${with_libintl_prefix+set}" = set; then :
12991   withval=$with_libintl_prefix;
12992     if test "X$withval" = "Xno"; then
12993       use_additional=no
12994     else
12995       if test "X$withval" = "X"; then
12996
12997   acl_save_prefix="$prefix"
12998   prefix="$acl_final_prefix"
12999   acl_save_exec_prefix="$exec_prefix"
13000   exec_prefix="$acl_final_exec_prefix"
13001
13002           eval additional_includedir=\"$includedir\"
13003           eval additional_libdir=\"$libdir\"
13004
13005   exec_prefix="$acl_save_exec_prefix"
13006   prefix="$acl_save_prefix"
13007
13008       else
13009         additional_includedir="$withval/include"
13010         additional_libdir="$withval/$acl_libdirstem"
13011       fi
13012     fi
13013
13014 fi
13015
13016       LIBINTL=
13017   LTLIBINTL=
13018   INCINTL=
13019   LIBINTL_PREFIX=
13020   rpathdirs=
13021   ltrpathdirs=
13022   names_already_handled=
13023   names_next_round='intl '
13024   while test -n "$names_next_round"; do
13025     names_this_round="$names_next_round"
13026     names_next_round=
13027     for name in $names_this_round; do
13028       already_handled=
13029       for n in $names_already_handled; do
13030         if test "$n" = "$name"; then
13031           already_handled=yes
13032           break
13033         fi
13034       done
13035       if test -z "$already_handled"; then
13036         names_already_handled="$names_already_handled $name"
13037                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13038         eval value=\"\$HAVE_LIB$uppername\"
13039         if test -n "$value"; then
13040           if test "$value" = yes; then
13041             eval value=\"\$LIB$uppername\"
13042             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13043             eval value=\"\$LTLIB$uppername\"
13044             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13045           else
13046                                     :
13047           fi
13048         else
13049                               found_dir=
13050           found_la=
13051           found_so=
13052           found_a=
13053           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13054           if test -n "$acl_shlibext"; then
13055             shrext=".$acl_shlibext"             # typically: shrext=.so
13056           else
13057             shrext=
13058           fi
13059           if test $use_additional = yes; then
13060             dir="$additional_libdir"
13061                                     if test -n "$acl_shlibext"; then
13062               if test -f "$dir/$libname$shrext"; then
13063                 found_dir="$dir"
13064                 found_so="$dir/$libname$shrext"
13065               else
13066                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13067                   ver=`(cd "$dir" && \
13068                         for f in "$libname$shrext".*; do echo "$f"; done \
13069                         | sed -e "s,^$libname$shrext\\\\.,," \
13070                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13071                         | sed 1q ) 2>/dev/null`
13072                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13073                     found_dir="$dir"
13074                     found_so="$dir/$libname$shrext.$ver"
13075                   fi
13076                 else
13077                   eval library_names=\"$acl_library_names_spec\"
13078                   for f in $library_names; do
13079                     if test -f "$dir/$f"; then
13080                       found_dir="$dir"
13081                       found_so="$dir/$f"
13082                       break
13083                     fi
13084                   done
13085                 fi
13086               fi
13087             fi
13088                         if test "X$found_dir" = "X"; then
13089               if test -f "$dir/$libname.$acl_libext"; then
13090                 found_dir="$dir"
13091                 found_a="$dir/$libname.$acl_libext"
13092               fi
13093             fi
13094             if test "X$found_dir" != "X"; then
13095               if test -f "$dir/$libname.la"; then
13096                 found_la="$dir/$libname.la"
13097               fi
13098             fi
13099           fi
13100           if test "X$found_dir" = "X"; then
13101             for x in $LDFLAGS $LTLIBINTL; do
13102
13103   acl_save_prefix="$prefix"
13104   prefix="$acl_final_prefix"
13105   acl_save_exec_prefix="$exec_prefix"
13106   exec_prefix="$acl_final_exec_prefix"
13107   eval x=\"$x\"
13108   exec_prefix="$acl_save_exec_prefix"
13109   prefix="$acl_save_prefix"
13110
13111               case "$x" in
13112                 -L*)
13113                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13114                                     if test -n "$acl_shlibext"; then
13115                     if test -f "$dir/$libname$shrext"; then
13116                       found_dir="$dir"
13117                       found_so="$dir/$libname$shrext"
13118                     else
13119                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13120                         ver=`(cd "$dir" && \
13121                               for f in "$libname$shrext".*; do echo "$f"; done \
13122                               | sed -e "s,^$libname$shrext\\\\.,," \
13123                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13124                               | sed 1q ) 2>/dev/null`
13125                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13126                           found_dir="$dir"
13127                           found_so="$dir/$libname$shrext.$ver"
13128                         fi
13129                       else
13130                         eval library_names=\"$acl_library_names_spec\"
13131                         for f in $library_names; do
13132                           if test -f "$dir/$f"; then
13133                             found_dir="$dir"
13134                             found_so="$dir/$f"
13135                             break
13136                           fi
13137                         done
13138                       fi
13139                     fi
13140                   fi
13141                                     if test "X$found_dir" = "X"; then
13142                     if test -f "$dir/$libname.$acl_libext"; then
13143                       found_dir="$dir"
13144                       found_a="$dir/$libname.$acl_libext"
13145                     fi
13146                   fi
13147                   if test "X$found_dir" != "X"; then
13148                     if test -f "$dir/$libname.la"; then
13149                       found_la="$dir/$libname.la"
13150                     fi
13151                   fi
13152                   ;;
13153               esac
13154               if test "X$found_dir" != "X"; then
13155                 break
13156               fi
13157             done
13158           fi
13159           if test "X$found_dir" != "X"; then
13160                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13161             if test "X$found_so" != "X"; then
13162                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13163                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13164               else
13165                                                                                 haveit=
13166                 for x in $ltrpathdirs; do
13167                   if test "X$x" = "X$found_dir"; then
13168                     haveit=yes
13169                     break
13170                   fi
13171                 done
13172                 if test -z "$haveit"; then
13173                   ltrpathdirs="$ltrpathdirs $found_dir"
13174                 fi
13175                                 if test "$acl_hardcode_direct" = yes; then
13176                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13177                 else
13178                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13179                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13180                                                             haveit=
13181                     for x in $rpathdirs; do
13182                       if test "X$x" = "X$found_dir"; then
13183                         haveit=yes
13184                         break
13185                       fi
13186                     done
13187                     if test -z "$haveit"; then
13188                       rpathdirs="$rpathdirs $found_dir"
13189                     fi
13190                   else
13191                                                                                 haveit=
13192                     for x in $LDFLAGS $LIBINTL; do
13193
13194   acl_save_prefix="$prefix"
13195   prefix="$acl_final_prefix"
13196   acl_save_exec_prefix="$exec_prefix"
13197   exec_prefix="$acl_final_exec_prefix"
13198   eval x=\"$x\"
13199   exec_prefix="$acl_save_exec_prefix"
13200   prefix="$acl_save_prefix"
13201
13202                       if test "X$x" = "X-L$found_dir"; then
13203                         haveit=yes
13204                         break
13205                       fi
13206                     done
13207                     if test -z "$haveit"; then
13208                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13209                     fi
13210                     if test "$acl_hardcode_minus_L" != no; then
13211                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13212                     else
13213                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13214                     fi
13215                   fi
13216                 fi
13217               fi
13218             else
13219               if test "X$found_a" != "X"; then
13220                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13221               else
13222                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13223               fi
13224             fi
13225                         additional_includedir=
13226             case "$found_dir" in
13227               */$acl_libdirstem | */$acl_libdirstem/)
13228                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13229                 LIBINTL_PREFIX="$basedir"
13230                 additional_includedir="$basedir/include"
13231                 ;;
13232             esac
13233             if test "X$additional_includedir" != "X"; then
13234                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13235                 haveit=
13236                 if test "X$additional_includedir" = "X/usr/local/include"; then
13237                   if test -n "$GCC"; then
13238                     case $host_os in
13239                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13240                     esac
13241                   fi
13242                 fi
13243                 if test -z "$haveit"; then
13244                   for x in $CPPFLAGS $INCINTL; do
13245
13246   acl_save_prefix="$prefix"
13247   prefix="$acl_final_prefix"
13248   acl_save_exec_prefix="$exec_prefix"
13249   exec_prefix="$acl_final_exec_prefix"
13250   eval x=\"$x\"
13251   exec_prefix="$acl_save_exec_prefix"
13252   prefix="$acl_save_prefix"
13253
13254                     if test "X$x" = "X-I$additional_includedir"; then
13255                       haveit=yes
13256                       break
13257                     fi
13258                   done
13259                   if test -z "$haveit"; then
13260                     if test -d "$additional_includedir"; then
13261                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13262                     fi
13263                   fi
13264                 fi
13265               fi
13266             fi
13267                         if test -n "$found_la"; then
13268                                                         save_libdir="$libdir"
13269               case "$found_la" in
13270                 */* | *\\*) . "$found_la" ;;
13271                 *) . "./$found_la" ;;
13272               esac
13273               libdir="$save_libdir"
13274                             for dep in $dependency_libs; do
13275                 case "$dep" in
13276                   -L*)
13277                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13278                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13279                       haveit=
13280                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13281                         if test -n "$GCC"; then
13282                           case $host_os in
13283                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13284                           esac
13285                         fi
13286                       fi
13287                       if test -z "$haveit"; then
13288                         haveit=
13289                         for x in $LDFLAGS $LIBINTL; do
13290
13291   acl_save_prefix="$prefix"
13292   prefix="$acl_final_prefix"
13293   acl_save_exec_prefix="$exec_prefix"
13294   exec_prefix="$acl_final_exec_prefix"
13295   eval x=\"$x\"
13296   exec_prefix="$acl_save_exec_prefix"
13297   prefix="$acl_save_prefix"
13298
13299                           if test "X$x" = "X-L$additional_libdir"; then
13300                             haveit=yes
13301                             break
13302                           fi
13303                         done
13304                         if test -z "$haveit"; then
13305                           if test -d "$additional_libdir"; then
13306                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13307                           fi
13308                         fi
13309                         haveit=
13310                         for x in $LDFLAGS $LTLIBINTL; do
13311
13312   acl_save_prefix="$prefix"
13313   prefix="$acl_final_prefix"
13314   acl_save_exec_prefix="$exec_prefix"
13315   exec_prefix="$acl_final_exec_prefix"
13316   eval x=\"$x\"
13317   exec_prefix="$acl_save_exec_prefix"
13318   prefix="$acl_save_prefix"
13319
13320                           if test "X$x" = "X-L$additional_libdir"; then
13321                             haveit=yes
13322                             break
13323                           fi
13324                         done
13325                         if test -z "$haveit"; then
13326                           if test -d "$additional_libdir"; then
13327                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13328                           fi
13329                         fi
13330                       fi
13331                     fi
13332                     ;;
13333                   -R*)
13334                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13335                     if test "$enable_rpath" != no; then
13336                                                                   haveit=
13337                       for x in $rpathdirs; do
13338                         if test "X$x" = "X$dir"; then
13339                           haveit=yes
13340                           break
13341                         fi
13342                       done
13343                       if test -z "$haveit"; then
13344                         rpathdirs="$rpathdirs $dir"
13345                       fi
13346                                                                   haveit=
13347                       for x in $ltrpathdirs; do
13348                         if test "X$x" = "X$dir"; then
13349                           haveit=yes
13350                           break
13351                         fi
13352                       done
13353                       if test -z "$haveit"; then
13354                         ltrpathdirs="$ltrpathdirs $dir"
13355                       fi
13356                     fi
13357                     ;;
13358                   -l*)
13359                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13360                     ;;
13361                   *.la)
13362                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13363                     ;;
13364                   *)
13365                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13366                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13367                     ;;
13368                 esac
13369               done
13370             fi
13371           else
13372                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13373             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13374           fi
13375         fi
13376       fi
13377     done
13378   done
13379   if test "X$rpathdirs" != "X"; then
13380     if test -n "$acl_hardcode_libdir_separator"; then
13381                         alldirs=
13382       for found_dir in $rpathdirs; do
13383         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13384       done
13385             acl_save_libdir="$libdir"
13386       libdir="$alldirs"
13387       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13388       libdir="$acl_save_libdir"
13389       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13390     else
13391             for found_dir in $rpathdirs; do
13392         acl_save_libdir="$libdir"
13393         libdir="$found_dir"
13394         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13395         libdir="$acl_save_libdir"
13396         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13397       done
13398     fi
13399   fi
13400   if test "X$ltrpathdirs" != "X"; then
13401             for found_dir in $ltrpathdirs; do
13402       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13403     done
13404   fi
13405
13406           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13407 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13408 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
13409   $as_echo_n "(cached) " >&6
13410 else
13411   gt_save_CPPFLAGS="$CPPFLAGS"
13412             CPPFLAGS="$CPPFLAGS $INCINTL"
13413             gt_save_LIBS="$LIBS"
13414             LIBS="$LIBS $LIBINTL"
13415                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h.  */
13417 #include <libintl.h>
13418 $gt_revision_test_code
13419 extern int _nl_msg_cat_cntr;
13420 extern
13421 #ifdef __cplusplus
13422 "C"
13423 #endif
13424 const char *_nl_expand_alias (const char *);
13425 int
13426 main ()
13427 {
13428 bindtextdomain ("", "");
13429 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13430   ;
13431   return 0;
13432 }
13433 _ACEOF
13434 if ac_fn_c_try_link "$LINENO"; then :
13435   eval "$gt_func_gnugettext_libintl=yes"
13436 else
13437   eval "$gt_func_gnugettext_libintl=no"
13438 fi
13439 rm -f core conftest.err conftest.$ac_objext \
13440     conftest$ac_exeext conftest.$ac_ext
13441                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13442               LIBS="$LIBS $LIBICONV"
13443               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h.  */
13445 #include <libintl.h>
13446 $gt_revision_test_code
13447 extern int _nl_msg_cat_cntr;
13448 extern
13449 #ifdef __cplusplus
13450 "C"
13451 #endif
13452 const char *_nl_expand_alias (const char *);
13453 int
13454 main ()
13455 {
13456 bindtextdomain ("", "");
13457 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13458   ;
13459   return 0;
13460 }
13461 _ACEOF
13462 if ac_fn_c_try_link "$LINENO"; then :
13463   LIBINTL="$LIBINTL $LIBICONV"
13464                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13465                 eval "$gt_func_gnugettext_libintl=yes"
13466
13467 fi
13468 rm -f core conftest.err conftest.$ac_objext \
13469     conftest$ac_exeext conftest.$ac_ext
13470             fi
13471             CPPFLAGS="$gt_save_CPPFLAGS"
13472             LIBS="$gt_save_LIBS"
13473 fi
13474 eval ac_res=\$$gt_func_gnugettext_libintl
13475                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13476 $as_echo "$ac_res" >&6; }
13477         fi
13478
13479                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13480            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13481                 && test "$PACKAGE" != gettext-runtime \
13482                 && test "$PACKAGE" != gettext-tools; }; then
13483           gt_use_preinstalled_gnugettext=yes
13484         else
13485                     LIBINTL=
13486           LTLIBINTL=
13487           INCINTL=
13488         fi
13489
13490
13491
13492     if test -n "$INTL_MACOSX_LIBS"; then
13493       if test "$gt_use_preinstalled_gnugettext" = "yes" \
13494          || test "$nls_cv_use_gnu_gettext" = "yes"; then
13495                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13496         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13497       fi
13498     fi
13499
13500     if test "$gt_use_preinstalled_gnugettext" = "yes" \
13501        || test "$nls_cv_use_gnu_gettext" = "yes"; then
13502
13503 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13504
13505     else
13506       USE_NLS=no
13507     fi
13508   fi
13509
13510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13511 $as_echo_n "checking whether to use NLS... " >&6; }
13512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13513 $as_echo "$USE_NLS" >&6; }
13514   if test "$USE_NLS" = "yes"; then
13515     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13516 $as_echo_n "checking where the gettext function comes from... " >&6; }
13517     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13518       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13519         gt_source="external libintl"
13520       else
13521         gt_source="libc"
13522       fi
13523     else
13524       gt_source="included intl directory"
13525     fi
13526     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13527 $as_echo "$gt_source" >&6; }
13528   fi
13529
13530   if test "$USE_NLS" = "yes"; then
13531
13532     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13533       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13534         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13535 $as_echo_n "checking how to link with libintl... " >&6; }
13536         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13537 $as_echo "$LIBINTL" >&6; }
13538
13539   for element in $INCINTL; do
13540     haveit=
13541     for x in $CPPFLAGS; do
13542
13543   acl_save_prefix="$prefix"
13544   prefix="$acl_final_prefix"
13545   acl_save_exec_prefix="$exec_prefix"
13546   exec_prefix="$acl_final_exec_prefix"
13547   eval x=\"$x\"
13548   exec_prefix="$acl_save_exec_prefix"
13549   prefix="$acl_save_prefix"
13550
13551       if test "X$x" = "X$element"; then
13552         haveit=yes
13553         break
13554       fi
13555     done
13556     if test -z "$haveit"; then
13557       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13558     fi
13559   done
13560
13561       fi
13562
13563
13564 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13565
13566
13567 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13568
13569     fi
13570
13571         POSUB=po
13572   fi
13573
13574
13575
13576     INTLLIBS="$LIBINTL"
13577
13578
13579
13580
13581
13582
13583
13584   if test "$USE_NLS" = "yes"; then
13585     GETTEXT_PACKAGE=gstreamer-$GST_MAJORMINOR
13586   else
13587     GETTEXT_PACKAGE=NULL
13588   fi
13589
13590
13591 cat >>confdefs.h <<_ACEOF
13592 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13593 _ACEOF
13594
13595
13596
13597   EXP_VAR=LOCALEDIR
13598   FROM_VAR=$datadir/locale
13599
13600     prefix_save=$prefix
13601   exec_prefix_save=$exec_prefix
13602
13603     if test "x$prefix" = "xNONE"; then
13604     prefix="$ac_default_prefix"
13605   fi
13606     if test "x$exec_prefix" = "xNONE"; then
13607     exec_prefix=$prefix
13608   fi
13609
13610   full_var="$FROM_VAR"
13611     while true; do
13612     new_full_var="`eval echo $full_var`"
13613     if test "x$new_full_var" = "x$full_var"; then break; fi
13614     full_var=$new_full_var
13615   done
13616
13617     full_var=$new_full_var
13618   LOCALEDIR="$full_var"
13619
13620
13621     prefix=$prefix_save
13622   exec_prefix=$exec_prefix_save
13623
13624
13625 cat >>confdefs.h <<_ACEOF
13626 #define LOCALEDIR "$LOCALEDIR"
13627 _ACEOF
13628
13629
13630
13631
13632
13633
13634
13635   # Check whether --enable-gst-debug was given.
13636 if test "${enable_gst_debug+set}" = set; then :
13637   enableval=$enable_gst_debug;
13638       case "${enableval}" in
13639         yes) GST_DISABLE_GST_DEBUG=no ;;
13640         no) GST_DISABLE_GST_DEBUG=yes ;;
13641         *) as_fn_error $? "bad value ${enableval} for --enable-gst-debug" "$LINENO" 5  ;;
13642        esac
13643
13644 else
13645   GST_DISABLE_GST_DEBUG=no
13646 fi
13647
13648   if test x$GST_DISABLE_GST_DEBUG = xyes; then
13649     { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem debugging subsystem" >&5
13650 $as_echo "$as_me: disabled subsystem debugging subsystem" >&6;}
13651     GST_DISABLE_GST_DEBUG_DEFINE="#define GST_DISABLE_GST_DEBUG 1"
13652   else
13653     GST_DISABLE_GST_DEBUG_DEFINE="/* #undef GST_DISABLE_GST_DEBUG */"
13654   fi
13655
13656
13657
13658  if test "x$GST_DISABLE_GST_DEBUG" = "xyes"; then
13659   GST_DISABLE_GST_DEBUG_TRUE=
13660   GST_DISABLE_GST_DEBUG_FALSE='#'
13661 else
13662   GST_DISABLE_GST_DEBUG_TRUE='#'
13663   GST_DISABLE_GST_DEBUG_FALSE=
13664 fi
13665
13666
13667
13668
13669   # Check whether --enable-loadsave was given.
13670 if test "${enable_loadsave+set}" = set; then :
13671   enableval=$enable_loadsave;
13672       case "${enableval}" in
13673         yes) GST_DISABLE_LOADSAVE=no ;;
13674         no) GST_DISABLE_LOADSAVE=yes ;;
13675         *) as_fn_error $? "bad value ${enableval} for --enable-loadsave" "$LINENO" 5  ;;
13676        esac
13677
13678 else
13679   GST_DISABLE_LOADSAVE=no
13680 fi
13681
13682   if test x$GST_DISABLE_LOADSAVE = xyes; then
13683     { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem pipeline XML load/save" >&5
13684 $as_echo "$as_me: disabled subsystem pipeline XML load/save" >&6;}
13685     GST_DISABLE_LOADSAVE_DEFINE="#define GST_DISABLE_LOADSAVE 1"
13686   else
13687     GST_DISABLE_LOADSAVE_DEFINE="/* #undef GST_DISABLE_LOADSAVE */"
13688   fi
13689
13690
13691
13692  if test "x$GST_DISABLE_LOADSAVE" = "xyes"; then
13693   GST_DISABLE_LOADSAVE_TRUE=
13694   GST_DISABLE_LOADSAVE_FALSE='#'
13695 else
13696   GST_DISABLE_LOADSAVE_TRUE='#'
13697   GST_DISABLE_LOADSAVE_FALSE=
13698 fi
13699
13700 if test "x$GST_DISABLE_LOADSAVE" = "xyes"
13701 then
13702   GST_LOADSAVE_DOC_TYPES="%"
13703 else
13704   GST_LOADSAVE_DOC_TYPES=
13705 fi
13706
13707
13708
13709
13710   # Check whether --enable-parse was given.
13711 if test "${enable_parse+set}" = set; then :
13712   enableval=$enable_parse;
13713       case "${enableval}" in
13714         yes) GST_DISABLE_PARSE=no ;;
13715         no) GST_DISABLE_PARSE=yes ;;
13716         *) as_fn_error $? "bad value ${enableval} for --enable-parse" "$LINENO" 5  ;;
13717        esac
13718
13719 else
13720   GST_DISABLE_PARSE=no
13721 fi
13722
13723   if test x$GST_DISABLE_PARSE = xyes; then
13724     { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem command-line parser" >&5
13725 $as_echo "$as_me: disabled subsystem command-line parser" >&6;}
13726     GST_DISABLE_PARSE_DEFINE="#define GST_DISABLE_PARSE 1"
13727   else
13728     GST_DISABLE_PARSE_DEFINE="/* #undef GST_DISABLE_PARSE */"
13729   fi
13730
13731
13732
13733  if test "x$GST_DISABLE_PARSE" = "xyes"; then
13734   GST_DISABLE_PARSE_TRUE=
13735   GST_DISABLE_PARSE_FALSE='#'
13736 else
13737   GST_DISABLE_PARSE_TRUE='#'
13738   GST_DISABLE_PARSE_FALSE=
13739 fi
13740
13741 if test "x$GST_DISABLE_PARSE" = xyes; then
13742
13743 $as_echo "#define GST_DISABLE_PARSE 1" >>confdefs.h
13744
13745 fi
13746
13747
13748
13749   # Check whether --enable-option-parsing was given.
13750 if test "${enable_option_parsing+set}" = set; then :
13751   enableval=$enable_option_parsing;
13752       case "${enableval}" in
13753         yes) GST_DISABLE_OPTION_PARSING=no ;;
13754         no) GST_DISABLE_OPTION_PARSING=yes ;;
13755         *) as_fn_error $? "bad value ${enableval} for --enable-option-parsing" "$LINENO" 5  ;;
13756        esac
13757
13758 else
13759   GST_DISABLE_OPTION_PARSING=no
13760 fi
13761
13762   if test x$GST_DISABLE_OPTION_PARSING = xyes; then
13763     { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem option parsing when gst_init" >&5
13764 $as_echo "$as_me: disabled subsystem option parsing when gst_init" >&6;}
13765     GST_DISABLE_OPTION_PARSING_DEFINE="#define GST_DISABLE_OPTION_PARSING 1"
13766   else
13767     GST_DISABLE_OPTION_PARSING_DEFINE="/* #undef GST_DISABLE_OPTION_PARSING */"
13768   fi
13769
13770
13771
13772  if test "x$GST_DISABLE_OPTION_PARSING" = "xyes"; then
13773   GST_DISABLE_OPTION_PARSING_TRUE=
13774   GST_DISABLE_OPTION_PARSING_FALSE='#'
13775 else
13776   GST_DISABLE_OPTION_PARSING_TRUE='#'
13777   GST_DISABLE_OPTION_PARSING_FALSE=
13778 fi
13779
13780 if test "x$GST_DISABLE_OPTION_PARSING" = xyes; then
13781
13782 $as_echo "#define GST_DISABLE_OPTION_PARSING 1" >>confdefs.h
13783
13784 fi
13785
13786
13787
13788   # Check whether --enable-trace was given.
13789 if test "${enable_trace+set}" = set; then :
13790   enableval=$enable_trace;
13791       case "${enableval}" in
13792         yes) GST_DISABLE_TRACE=no ;;
13793         no) GST_DISABLE_TRACE=yes ;;
13794         *) as_fn_error $? "bad value ${enableval} for --enable-trace" "$LINENO" 5  ;;
13795        esac
13796
13797 else
13798   GST_DISABLE_TRACE=no
13799 fi
13800
13801   if test x$GST_DISABLE_TRACE = xyes; then
13802     { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem tracing subsystem" >&5
13803 $as_echo "$as_me: disabled subsystem tracing subsystem" >&6;}
13804     GST_DISABLE_TRACE_DEFINE="#define GST_DISABLE_TRACE 1"
13805   else
13806     GST_DISABLE_TRACE_DEFINE="/* #undef GST_DISABLE_TRACE */"
13807   fi
13808
13809
13810
13811  if test "x$GST_DISABLE_TRACE" = "xyes"; then
13812   GST_DISABLE_TRACE_TRUE=
13813   GST_DISABLE_TRACE_FALSE='#'
13814 else
13815   GST_DISABLE_TRACE_TRUE='#'
13816   GST_DISABLE_TRACE_FALSE=
13817 fi
13818
13819
13820
13821
13822   # Check whether --enable-alloc-trace was given.
13823 if test "${enable_alloc_trace+set}" = set; then :
13824   enableval=$enable_alloc_trace;
13825       case "${enableval}" in
13826         yes) GST_DISABLE_ALLOC_TRACE=no ;;
13827         no) GST_DISABLE_ALLOC_TRACE=yes ;;
13828         *) as_fn_error $? "bad value ${enableval} for --enable-alloc-trace" "$LINENO" 5  ;;
13829        esac
13830
13831 else
13832   GST_DISABLE_ALLOC_TRACE=no
13833 fi
13834
13835   if test x$GST_DISABLE_ALLOC_TRACE = xyes; then
13836     { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem allocation tracing" >&5
13837 $as_echo "$as_me: disabled subsystem allocation tracing" >&6;}
13838     GST_DISABLE_ALLOC_TRACE_DEFINE="#define GST_DISABLE_ALLOC_TRACE 1"
13839   else
13840     GST_DISABLE_ALLOC_TRACE_DEFINE="/* #undef GST_DISABLE_ALLOC_TRACE */"
13841   fi
13842
13843
13844
13845  if test "x$GST_DISABLE_ALLOC_TRACE" = "xyes"; then
13846   GST_DISABLE_ALLOC_TRACE_TRUE=
13847   GST_DISABLE_ALLOC_TRACE_FALSE='#'
13848 else
13849   GST_DISABLE_ALLOC_TRACE_TRUE='#'
13850   GST_DISABLE_ALLOC_TRACE_FALSE=
13851 fi
13852
13853
13854
13855
13856   # Check whether --enable-registry was given.
13857 if test "${enable_registry+set}" = set; then :
13858   enableval=$enable_registry;
13859       case "${enableval}" in
13860         yes) GST_DISABLE_REGISTRY=no ;;
13861         no) GST_DISABLE_REGISTRY=yes ;;
13862         *) as_fn_error $? "bad value ${enableval} for --enable-registry" "$LINENO" 5  ;;
13863        esac
13864
13865 else
13866   GST_DISABLE_REGISTRY=no
13867 fi
13868
13869   if test x$GST_DISABLE_REGISTRY = xyes; then
13870     { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem plugin registry" >&5
13871 $as_echo "$as_me: disabled subsystem plugin registry" >&6;}
13872     GST_DISABLE_REGISTRY_DEFINE="#define GST_DISABLE_REGISTRY 1"
13873   else
13874     GST_DISABLE_REGISTRY_DEFINE="/* #undef GST_DISABLE_REGISTRY */"
13875   fi
13876
13877
13878
13879  if test "x$GST_DISABLE_REGISTRY" = "xyes"; then
13880   GST_DISABLE_REGISTRY_TRUE=
13881   GST_DISABLE_REGISTRY_FALSE='#'
13882 else
13883   GST_DISABLE_REGISTRY_TRUE='#'
13884   GST_DISABLE_REGISTRY_FALSE=
13885 fi
13886
13887 if test "x$GST_DISABLE_REGISTRY" = "xyes"
13888 then
13889   GST_REGISTRY_DOC_TYPES="%"
13890 else
13891   GST_REGISTRY_DOC_TYPES=
13892 fi
13893
13894
13895
13896
13897   # Check whether --enable-net was given.
13898 if test "${enable_net+set}" = set; then :
13899   enableval=$enable_net;
13900       case "${enableval}" in
13901         yes) GST_DISABLE_NET=no ;;
13902         no) GST_DISABLE_NET=yes ;;
13903         *) as_fn_error $? "bad value ${enableval} for --enable-net" "$LINENO" 5  ;;
13904        esac
13905
13906 else
13907   GST_DISABLE_NET=no
13908 fi
13909
13910   if test x$GST_DISABLE_NET = xyes; then
13911     { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem network distribution" >&5
13912 $as_echo "$as_me: disabled subsystem network distribution" >&6;}
13913     GST_DISABLE_NET_DEFINE="#define GST_DISABLE_NET 1"
13914   else
13915     GST_DISABLE_NET_DEFINE="/* #undef GST_DISABLE_NET */"
13916   fi
13917
13918
13919
13920  if test "x$GST_DISABLE_NET" = "xyes"; then
13921   GST_DISABLE_NET_TRUE=
13922   GST_DISABLE_NET_FALSE='#'
13923 else
13924   GST_DISABLE_NET_TRUE='#'
13925   GST_DISABLE_NET_FALSE=
13926 fi
13927
13928
13929
13930
13931   # Check whether --enable-plugin was given.
13932 if test "${enable_plugin+set}" = set; then :
13933   enableval=$enable_plugin;
13934       case "${enableval}" in
13935         yes) GST_DISABLE_PLUGIN=no ;;
13936         no) GST_DISABLE_PLUGIN=yes ;;
13937         *) as_fn_error $? "bad value ${enableval} for --enable-plugin" "$LINENO" 5  ;;
13938        esac
13939
13940 else
13941   GST_DISABLE_PLUGIN=no
13942 fi
13943
13944   if test x$GST_DISABLE_PLUGIN = xyes; then
13945     { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem plugin" >&5
13946 $as_echo "$as_me: disabled subsystem plugin" >&6;}
13947     GST_DISABLE_PLUGIN_DEFINE="#define GST_DISABLE_PLUGIN 1"
13948   else
13949     GST_DISABLE_PLUGIN_DEFINE="/* #undef GST_DISABLE_PLUGIN */"
13950   fi
13951
13952
13953
13954  if test "x$GST_DISABLE_PLUGIN" = "xyes"; then
13955   GST_DISABLE_PLUGIN_TRUE=
13956   GST_DISABLE_PLUGIN_FALSE='#'
13957 else
13958   GST_DISABLE_PLUGIN_TRUE='#'
13959   GST_DISABLE_PLUGIN_FALSE=
13960 fi
13961
13962
13963
13964     # Check whether --enable-debug was given.
13965 if test "${enable_debug+set}" = set; then :
13966   enableval=$enable_debug;
13967       case "${enableval}" in
13968         yes) USE_DEBUG=yes ;;
13969         no)  USE_DEBUG=no ;;
13970         *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5  ;;
13971       esac
13972
13973 else
13974   USE_DEBUG=yes
13975 fi
13976
13977
13978   # Check whether --enable-profiling was given.
13979 if test "${enable_profiling+set}" = set; then :
13980   enableval=$enable_profiling;
13981       case "${enableval}" in
13982         yes) USE_PROFILING=yes ;;
13983         no)  USE_PROFILING=no ;;
13984         *)   as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5  ;;
13985       esac
13986
13987 else
13988   USE_PROFILING=no
13989 fi
13990
13991
13992
13993 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13994         if test -n "$ac_tool_prefix"; then
13995   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13996 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13998 $as_echo_n "checking for $ac_word... " >&6; }
13999 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14000   $as_echo_n "(cached) " >&6
14001 else
14002   case $PKG_CONFIG in
14003   [\\/]* | ?:[\\/]*)
14004   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14005   ;;
14006   *)
14007   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14008 for as_dir in $PATH
14009 do
14010   IFS=$as_save_IFS
14011   test -z "$as_dir" && as_dir=.
14012     for ac_exec_ext in '' $ac_executable_extensions; do
14013   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14014     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14016     break 2
14017   fi
14018 done
14019   done
14020 IFS=$as_save_IFS
14021
14022   ;;
14023 esac
14024 fi
14025 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14026 if test -n "$PKG_CONFIG"; then
14027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14028 $as_echo "$PKG_CONFIG" >&6; }
14029 else
14030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14031 $as_echo "no" >&6; }
14032 fi
14033
14034
14035 fi
14036 if test -z "$ac_cv_path_PKG_CONFIG"; then
14037   ac_pt_PKG_CONFIG=$PKG_CONFIG
14038   # Extract the first word of "pkg-config", so it can be a program name with args.
14039 set dummy pkg-config; ac_word=$2
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14041 $as_echo_n "checking for $ac_word... " >&6; }
14042 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14043   $as_echo_n "(cached) " >&6
14044 else
14045   case $ac_pt_PKG_CONFIG in
14046   [\\/]* | ?:[\\/]*)
14047   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14048   ;;
14049   *)
14050   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14051 for as_dir in $PATH
14052 do
14053   IFS=$as_save_IFS
14054   test -z "$as_dir" && as_dir=.
14055     for ac_exec_ext in '' $ac_executable_extensions; do
14056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14057     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14059     break 2
14060   fi
14061 done
14062   done
14063 IFS=$as_save_IFS
14064
14065   ;;
14066 esac
14067 fi
14068 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14069 if test -n "$ac_pt_PKG_CONFIG"; then
14070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14071 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14072 else
14073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14074 $as_echo "no" >&6; }
14075 fi
14076
14077   if test "x$ac_pt_PKG_CONFIG" = x; then
14078     PKG_CONFIG=""
14079   else
14080     case $cross_compiling:$ac_tool_warned in
14081 yes:)
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14084 ac_tool_warned=yes ;;
14085 esac
14086     PKG_CONFIG=$ac_pt_PKG_CONFIG
14087   fi
14088 else
14089   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14090 fi
14091
14092 fi
14093 if test -n "$PKG_CONFIG"; then
14094         _pkg_min_version=0.9.0
14095         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14096 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14097         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14098                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14099 $as_echo "yes" >&6; }
14100         else
14101                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14102 $as_echo "no" >&6; }
14103                 PKG_CONFIG=""
14104         fi
14105
14106 fi
14107
14108     # Check whether --enable-valgrind was given.
14109 if test "${enable_valgrind+set}" = set; then :
14110   enableval=$enable_valgrind;
14111       case "${enableval}" in
14112         yes) USE_VALGRIND="$USE_DEBUG" ;;
14113         no)  USE_VALGRIND=no ;;
14114         *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5  ;;
14115       esac
14116
14117 else
14118   USE_VALGRIND="$USE_DEBUG"
14119 fi
14120    VALGRIND_REQ="3.0"
14121   if test "x$USE_VALGRIND" = xyes; then
14122
14123 pkg_failed=no
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14125 $as_echo_n "checking for VALGRIND... " >&6; }
14126
14127 if test -n "$PKG_CONFIG"; then
14128     if test -n "$VALGRIND_CFLAGS"; then
14129         pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14130     else
14131         if test -n "$PKG_CONFIG" && \
14132     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14133   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14134   ac_status=$?
14135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136   test $ac_status = 0; }; then
14137   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14138 else
14139   pkg_failed=yes
14140 fi
14141     fi
14142 else
14143         pkg_failed=untried
14144 fi
14145 if test -n "$PKG_CONFIG"; then
14146     if test -n "$VALGRIND_LIBS"; then
14147         pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14148     else
14149         if test -n "$PKG_CONFIG" && \
14150     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14151   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14152   ac_status=$?
14153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14154   test $ac_status = 0; }; then
14155   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14156 else
14157   pkg_failed=yes
14158 fi
14159     fi
14160 else
14161         pkg_failed=untried
14162 fi
14163
14164
14165
14166 if test $pkg_failed = yes; then
14167
14168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14169         _pkg_short_errors_supported=yes
14170 else
14171         _pkg_short_errors_supported=no
14172 fi
14173         if test $_pkg_short_errors_supported = yes; then
14174                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14175         else
14176                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14177         fi
14178         # Put the nasty error message in config.log where it belongs
14179         echo "$VALGRIND_PKG_ERRORS" >&5
14180
14181         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14182 $as_echo "no" >&6; }
14183
14184         USE_VALGRIND="no"
14185         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14186 $as_echo "no" >&6; }
14187
14188 elif test $pkg_failed = untried; then
14189
14190         USE_VALGRIND="no"
14191         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14192 $as_echo "no" >&6; }
14193
14194 else
14195         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
14196         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
14197         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14198 $as_echo "yes" >&6; }
14199         USE_VALGRIND="yes"
14200 fi
14201   fi
14202   if test "x$USE_VALGRIND" = xyes; then
14203
14204 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
14205
14206     { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
14207 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
14208   fi
14209
14210
14211   # Check whether --enable-gcov was given.
14212 if test "${enable_gcov+set}" = set; then :
14213   enableval=$enable_gcov; enable_gcov=$enableval
14214 else
14215   enable_gcov=no
14216 fi
14217
14218   if test x$enable_gcov = xyes ; then
14219     if test "x$GCC" != "xyes"
14220     then
14221       as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
14222     fi
14223
14224
14225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
14226 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
14227
14228   save_CFLAGS="$CFLAGS"
14229   CFLAGS="$CFLAGS "-fprofile-arcs""
14230
14231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h.  */
14233
14234 int
14235 main ()
14236 {
14237
14238   ;
14239   return 0;
14240 }
14241 _ACEOF
14242 if ac_fn_c_try_compile "$LINENO"; then :
14243   flag_ok=yes
14244 else
14245   flag_ok=no
14246 fi
14247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14248   CFLAGS="$save_CFLAGS"
14249
14250   if test "X$flag_ok" = Xyes ; then
14251     GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
14252     true
14253   else
14254     true
14255     true
14256   fi
14257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14258 $as_echo "$flag_ok" >&6; }
14259
14260
14261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
14262 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
14263
14264   save_CFLAGS="$CFLAGS"
14265   CFLAGS="$CFLAGS "-ftest-coverage""
14266
14267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h.  */
14269
14270 int
14271 main ()
14272 {
14273
14274   ;
14275   return 0;
14276 }
14277 _ACEOF
14278 if ac_fn_c_try_compile "$LINENO"; then :
14279   flag_ok=yes
14280 else
14281   flag_ok=no
14282 fi
14283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14284   CFLAGS="$save_CFLAGS"
14285
14286   if test "X$flag_ok" = Xyes ; then
14287     GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
14288     true
14289   else
14290     true
14291     true
14292   fi
14293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14294 $as_echo "$flag_ok" >&6; }
14295
14296         GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
14297                 GCOV_LIBS=-lgcov
14298
14299
14300     GCOV=`echo $CC | sed s/gcc/gcov/g`
14301
14302
14303     GST_GCOV_ENABLED=yes
14304
14305 cat >>confdefs.h <<_ACEOF
14306 #define GST_GCOV_ENABLED 1
14307 _ACEOF
14308
14309         if test "x$GST_GCOV_ENABLED" = "xyes"
14310     then
14311       CFLAGS="-O0"
14312
14313       CXXFLAGS="-O0"
14314
14315       FFLAGS="-O0"
14316
14317       CCASFLAGS="-O0"
14318
14319       { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
14320 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
14321     fi
14322   fi
14323    if test x$enable_gcov = xyes; then
14324   GST_GCOV_ENABLED_TRUE=
14325   GST_GCOV_ENABLED_FALSE='#'
14326 else
14327   GST_GCOV_ENABLED_TRUE='#'
14328   GST_GCOV_ENABLED_FALSE=
14329 fi
14330
14331
14332
14333
14334   # Check whether --enable-examples was given.
14335 if test "${enable_examples+set}" = set; then :
14336   enableval=$enable_examples;
14337         case "${enableval}" in
14338           yes) BUILD_EXAMPLES=yes ;;
14339           no)  BUILD_EXAMPLES=no ;;
14340           *)   as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5  ;;
14341         esac
14342
14343 else
14344   BUILD_EXAMPLES=yes
14345 fi
14346     if test "x$BUILD_EXAMPLES" = "xyes"; then
14347   BUILD_EXAMPLES_TRUE=
14348   BUILD_EXAMPLES_FALSE='#'
14349 else
14350   BUILD_EXAMPLES_TRUE='#'
14351   BUILD_EXAMPLES_FALSE=
14352 fi
14353
14354
14355
14356
14357
14358 # Check whether --with-pkg-config-path was given.
14359 if test "${with_pkg_config_path+set}" = set; then :
14360   withval=$with_pkg_config_path;
14361        export PKG_CONFIG_PATH=${withval}
14362        { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
14363 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
14364
14365 fi
14366
14367
14368
14369
14370 # Check whether --with-package-name was given.
14371 if test "${with_package_name+set}" = set; then :
14372   withval=$with_package_name;
14373       case "${withval}" in
14374         yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5  ;;
14375         no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5  ;;
14376         *)   GST_PACKAGE_NAME="${withval}" ;;
14377       esac
14378
14379 else
14380
14381       P=
14382       if test "x$P" = "x"
14383       then
14384         P=$PACKAGE_NAME
14385       fi
14386
14387       if test "x$PACKAGE_VERSION_NANO" = "x0"
14388       then
14389         GST_PACKAGE_NAME="$P source release"
14390       else
14391         if test "x$PACKAGE_VERSION_NANO" = "x1"
14392         then
14393           GST_PACKAGE_NAME="$P git"
14394         else
14395           GST_PACKAGE_NAME="$P prerelease"
14396         fi
14397       fi
14398
14399
14400 fi
14401
14402   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
14403 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
14404
14405 cat >>confdefs.h <<_ACEOF
14406 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
14407 _ACEOF
14408
14409
14410
14411
14412
14413 # Check whether --with-package-origin was given.
14414 if test "${with_package_origin+set}" = set; then :
14415   withval=$with_package_origin;
14416       case "${withval}" in
14417         yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5  ;;
14418         no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5  ;;
14419         *)   GST_PACKAGE_ORIGIN="${withval}" ;;
14420       esac
14421
14422 else
14423   GST_PACKAGE_ORIGIN="Unknown package origin"
14424 fi
14425
14426   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
14427 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
14428
14429 cat >>confdefs.h <<_ACEOF
14430 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
14431 _ACEOF
14432
14433
14434
14435
14436
14437   GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
14438   if test "x$PKG_CONFIG_PATH" != "x"; then
14439     GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
14440   fi
14441
14442   { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
14443 $as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
14444
14445
14446
14447   if test "x$PACKAGE_VERSION_NANO" = "x0"; then
14448
14449       if test "xyes" = "xno" -o "xyes" = "x"; then
14450     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
14451   elif test "xyes" = "xyes"; then
14452             if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
14453       GST_PACKAGE_RELEASE_DATETIME=yes
14454     else
14455             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gstreamer.doap" `;
14456       if test "x$YYYY_MM_DD" != "x"; then
14457         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
14458       else
14459         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
14460             release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gstreamer.doap\" " "$LINENO" 5
14461         GST_PACKAGE_RELEASE_DATETIME=""
14462       fi
14463     fi
14464     elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
14465     GST_PACKAGE_RELEASE_DATETIME=yes
14466   else
14467     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
14468 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
14469     GST_PACKAGE_RELEASE_DATETIME=""
14470   fi
14471
14472   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
14473     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
14474 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
14475   else
14476     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
14477 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
14478
14479
14480 cat >>confdefs.h <<_ACEOF
14481 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
14482 _ACEOF
14483
14484   fi
14485
14486   else
14487
14488       if test "xno" = "xno" -o "xno" = "x"; then
14489     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
14490   elif test "xno" = "xyes"; then
14491             if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
14492       GST_PACKAGE_RELEASE_DATETIME=no
14493     else
14494             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
14495       if test "x$YYYY_MM_DD" != "x"; then
14496         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
14497       else
14498         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
14499             release date for release version  from " "$LINENO" 5
14500         GST_PACKAGE_RELEASE_DATETIME=""
14501       fi
14502     fi
14503     elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
14504     GST_PACKAGE_RELEASE_DATETIME=no
14505   else
14506     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
14507 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
14508     GST_PACKAGE_RELEASE_DATETIME=""
14509   fi
14510
14511   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
14512     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
14513 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
14514   else
14515     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
14516 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
14517
14518
14519 cat >>confdefs.h <<_ACEOF
14520 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
14521 _ACEOF
14522
14523   fi
14524
14525   fi
14526
14527
14528 # Check whether --enable-tests was given.
14529 if test "${enable_tests+set}" = set; then :
14530   enableval=$enable_tests;
14531     case "${enableval}" in
14532       yes) BUILD_TESTS=yes ;;
14533       no)  BUILD_TESTS=no ;;
14534       *)   as_fn_error $? "bad value ${enableval} for --disable-tests" "$LINENO" 5  ;;
14535     esac
14536
14537 else
14538   BUILD_TESTS=yes
14539 fi
14540   if test "x$BUILD_TESTS" = "xyes"; then
14541   BUILD_TESTS_TRUE=
14542   BUILD_TESTS_FALSE='#'
14543 else
14544   BUILD_TESTS_TRUE='#'
14545   BUILD_TESTS_FALSE=
14546 fi
14547
14548
14549 # Check whether --enable-failing-tests was given.
14550 if test "${enable_failing_tests+set}" = set; then :
14551   enableval=$enable_failing_tests;
14552     case "${enableval}" in
14553       yes) BUILD_FAILING_TESTS=yes ;;
14554       no)  BUILD_FAILING_TESTS=no ;;
14555       *)   as_fn_error $? "bad value ${enableval} for --disable-failing-tests" "$LINENO" 5  ;;
14556     esac
14557
14558 else
14559   BUILD_FAILING_TESTS=no
14560 fi
14561   if test "x$BUILD_FAILING_TESTS" = "xyes"; then
14562   BUILD_FAILING_TESTS_TRUE=
14563   BUILD_FAILING_TESTS_FALSE='#'
14564 else
14565   BUILD_FAILING_TESTS_TRUE='#'
14566   BUILD_FAILING_TESTS_FALSE=
14567 fi
14568
14569 if test x$BUILD_FAILING_TESTS = xyes; then
14570   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building tests known to fail, use --disable-failing-tests to disable" >&5
14571 $as_echo "$as_me: WARNING: building tests known to fail, use --disable-failing-tests to disable" >&2;}
14572 else
14573   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support.  If you do not agree with this EULA, please press Ctrl-C before the next line is printed.  By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA." >&5
14574 $as_echo "$as_me: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support.  If you do not agree with this EULA, please press Ctrl-C before the next line is printed.  By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA." >&2;}
14575 fi
14576
14577 # Check whether --enable-poisoning was given.
14578 if test "${enable_poisoning+set}" = set; then :
14579   enableval=$enable_poisoning;
14580     case "${enableval}" in
14581       yes) USE_POISONING=yes ;;
14582       no)  USE_POISONING=no ;;
14583       *)   as_fn_error $? "bad value ${enableval} for --enable-poisoning" "$LINENO" 5  ;;
14584     esac
14585
14586 else
14587   USE_POISONING=no
14588 fi
14589  if test "x$USE_POISONING" = xyes; then
14590
14591 $as_echo "#define USE_POISONING 1" >>confdefs.h
14592
14593 fi
14594
14595
14596
14597
14598
14599     case "x${host_cpu}" in
14600     xi?86 | xk? | xi?86_64)
14601       case $host_os in
14602          solaris*)
14603             ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
14604 if test "x$ac_cv_have_decl___i386" = x""yes; then :
14605   I386_ABI="yes"
14606 else
14607   I386_ABI="no"
14608 fi
14609
14610             ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
14611 if test "x$ac_cv_have_decl___amd64" = x""yes; then :
14612   AMD64_ABI="yes"
14613 else
14614   AMD64_ABI="no"
14615 fi
14616
14617
14618             if test "x$I386_ABI" = "xyes" ; then
14619                HAVE_CPU_I386=yes
14620
14621 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14622
14623             fi
14624             if test "x$AMD64_ABI" = "xyes" ; then
14625                 HAVE_CPU_X86_64=yes
14626
14627 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14628
14629             fi
14630             ;;
14631          *)
14632             HAVE_CPU_I386=yes
14633
14634 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14635
14636
14637                                     case "x${host_cpu}" in
14638               xi386 | xi486) ;;
14639             *)
14640
14641 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
14642  ;;
14643             esac
14644             ;;
14645       esac
14646       ;;
14647     xpowerpc)
14648       HAVE_CPU_PPC=yes
14649
14650 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
14651  ;;
14652     xpowerpc64)
14653       HAVE_CPU_PPC64=yes
14654
14655 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
14656  ;;
14657     xalpha*)
14658       HAVE_CPU_ALPHA=yes
14659
14660 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
14661  ;;
14662     xarm*)
14663       HAVE_CPU_ARM=yes
14664
14665 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
14666  ;;
14667     xsparc*)
14668       HAVE_CPU_SPARC=yes
14669
14670 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
14671  ;;
14672     xmips*)
14673       HAVE_CPU_MIPS=yes
14674
14675 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
14676  ;;
14677     xhppa*)
14678       HAVE_CPU_HPPA=yes
14679
14680 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
14681  ;;
14682     xs390*)
14683       HAVE_CPU_S390=yes
14684
14685 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
14686  ;;
14687     xia64*)
14688       HAVE_CPU_IA64=yes
14689
14690 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
14691  ;;
14692     xm68k*)
14693       HAVE_CPU_M68K=yes
14694
14695 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
14696  ;;
14697     xx86_64)
14698       HAVE_CPU_X86_64=yes
14699
14700 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14701  ;;
14702     xcris)
14703       HAVE_CPU_CRIS=yes
14704
14705 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
14706  ;;
14707     xcrisv32)
14708       HAVE_CPU_CRISV32=yes
14709
14710 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
14711  ;;
14712   esac
14713
14714      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14715 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14716 if test "${ac_cv_c_bigendian+set}" = set; then :
14717   $as_echo_n "(cached) " >&6
14718 else
14719   ac_cv_c_bigendian=unknown
14720     # See if we're dealing with a universal compiler.
14721     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h.  */
14723 #ifndef __APPLE_CC__
14724                not a universal capable compiler
14725              #endif
14726              typedef int dummy;
14727
14728 _ACEOF
14729 if ac_fn_c_try_compile "$LINENO"; then :
14730
14731         # Check for potential -arch flags.  It is not universal unless
14732         # there are at least two -arch flags with different values.
14733         ac_arch=
14734         ac_prev=
14735         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14736          if test -n "$ac_prev"; then
14737            case $ac_word in
14738              i?86 | x86_64 | ppc | ppc64)
14739                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14740                  ac_arch=$ac_word
14741                else
14742                  ac_cv_c_bigendian=universal
14743                  break
14744                fi
14745                ;;
14746            esac
14747            ac_prev=
14748          elif test "x$ac_word" = "x-arch"; then
14749            ac_prev=arch
14750          fi
14751        done
14752 fi
14753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14754     if test $ac_cv_c_bigendian = unknown; then
14755       # See if sys/param.h defines the BYTE_ORDER macro.
14756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h.  */
14758 #include <sys/types.h>
14759              #include <sys/param.h>
14760
14761 int
14762 main ()
14763 {
14764 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14765                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14766                      && LITTLE_ENDIAN)
14767               bogus endian macros
14768              #endif
14769
14770   ;
14771   return 0;
14772 }
14773 _ACEOF
14774 if ac_fn_c_try_compile "$LINENO"; then :
14775   # It does; now see whether it defined to BIG_ENDIAN or not.
14776          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h.  */
14778 #include <sys/types.h>
14779                 #include <sys/param.h>
14780
14781 int
14782 main ()
14783 {
14784 #if BYTE_ORDER != BIG_ENDIAN
14785                  not big endian
14786                 #endif
14787
14788   ;
14789   return 0;
14790 }
14791 _ACEOF
14792 if ac_fn_c_try_compile "$LINENO"; then :
14793   ac_cv_c_bigendian=yes
14794 else
14795   ac_cv_c_bigendian=no
14796 fi
14797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14798 fi
14799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14800     fi
14801     if test $ac_cv_c_bigendian = unknown; then
14802       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h.  */
14805 #include <limits.h>
14806
14807 int
14808 main ()
14809 {
14810 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14811               bogus endian macros
14812              #endif
14813
14814   ;
14815   return 0;
14816 }
14817 _ACEOF
14818 if ac_fn_c_try_compile "$LINENO"; then :
14819   # It does; now see whether it defined to _BIG_ENDIAN or not.
14820          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h.  */
14822 #include <limits.h>
14823
14824 int
14825 main ()
14826 {
14827 #ifndef _BIG_ENDIAN
14828                  not big endian
14829                 #endif
14830
14831   ;
14832   return 0;
14833 }
14834 _ACEOF
14835 if ac_fn_c_try_compile "$LINENO"; then :
14836   ac_cv_c_bigendian=yes
14837 else
14838   ac_cv_c_bigendian=no
14839 fi
14840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14841 fi
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843     fi
14844     if test $ac_cv_c_bigendian = unknown; then
14845       # Compile a test program.
14846       if test "$cross_compiling" = yes; then :
14847   # Try to guess by grepping values from an object file.
14848          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h.  */
14850 short int ascii_mm[] =
14851                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14852                 short int ascii_ii[] =
14853                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14854                 int use_ascii (int i) {
14855                   return ascii_mm[i] + ascii_ii[i];
14856                 }
14857                 short int ebcdic_ii[] =
14858                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14859                 short int ebcdic_mm[] =
14860                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14861                 int use_ebcdic (int i) {
14862                   return ebcdic_mm[i] + ebcdic_ii[i];
14863                 }
14864                 extern int foo;
14865
14866 int
14867 main ()
14868 {
14869 return use_ascii (foo) == use_ebcdic (foo);
14870   ;
14871   return 0;
14872 }
14873 _ACEOF
14874 if ac_fn_c_try_compile "$LINENO"; then :
14875   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14876               ac_cv_c_bigendian=yes
14877             fi
14878             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14879               if test "$ac_cv_c_bigendian" = unknown; then
14880                 ac_cv_c_bigendian=no
14881               else
14882                 # finding both strings is unlikely to happen, but who knows?
14883                 ac_cv_c_bigendian=unknown
14884               fi
14885             fi
14886 fi
14887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14888 else
14889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h.  */
14891 $ac_includes_default
14892 int
14893 main ()
14894 {
14895
14896              /* Are we little or big endian?  From Harbison&Steele.  */
14897              union
14898              {
14899                long int l;
14900                char c[sizeof (long int)];
14901              } u;
14902              u.l = 1;
14903              return u.c[sizeof (long int) - 1] == 1;
14904
14905   ;
14906   return 0;
14907 }
14908 _ACEOF
14909 if ac_fn_c_try_run "$LINENO"; then :
14910   ac_cv_c_bigendian=no
14911 else
14912   ac_cv_c_bigendian=yes
14913 fi
14914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14915   conftest.$ac_objext conftest.beam conftest.$ac_ext
14916 fi
14917
14918     fi
14919 fi
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14921 $as_echo "$ac_cv_c_bigendian" >&6; }
14922  case $ac_cv_c_bigendian in #(
14923    yes)
14924      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14925 ;; #(
14926    no)
14927       ;; #(
14928    universal)
14929
14930 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14931
14932      ;; #(
14933    *)
14934      as_fn_error $? "unknown endianness
14935  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
14936  esac
14937
14938
14939    if test "x$HAVE_CPU_I386" = "xyes"; then
14940   HAVE_CPU_I386_TRUE=
14941   HAVE_CPU_I386_FALSE='#'
14942 else
14943   HAVE_CPU_I386_TRUE='#'
14944   HAVE_CPU_I386_FALSE=
14945 fi
14946
14947    if test "x$HAVE_CPU_PPC" = "xyes"; then
14948   HAVE_CPU_PPC_TRUE=
14949   HAVE_CPU_PPC_FALSE='#'
14950 else
14951   HAVE_CPU_PPC_TRUE='#'
14952   HAVE_CPU_PPC_FALSE=
14953 fi
14954
14955    if test "x$HAVE_CPU_PPC64" = "xyes"; then
14956   HAVE_CPU_PPC64_TRUE=
14957   HAVE_CPU_PPC64_FALSE='#'
14958 else
14959   HAVE_CPU_PPC64_TRUE='#'
14960   HAVE_CPU_PPC64_FALSE=
14961 fi
14962
14963    if test "x$HAVE_CPU_ALPHA" = "xyes"; then
14964   HAVE_CPU_ALPHA_TRUE=
14965   HAVE_CPU_ALPHA_FALSE='#'
14966 else
14967   HAVE_CPU_ALPHA_TRUE='#'
14968   HAVE_CPU_ALPHA_FALSE=
14969 fi
14970
14971    if test "x$HAVE_CPU_ARM" = "xyes"; then
14972   HAVE_CPU_ARM_TRUE=
14973   HAVE_CPU_ARM_FALSE='#'
14974 else
14975   HAVE_CPU_ARM_TRUE='#'
14976   HAVE_CPU_ARM_FALSE=
14977 fi
14978
14979    if test "x$HAVE_CPU_SPARC" = "xyes"; then
14980   HAVE_CPU_SPARC_TRUE=
14981   HAVE_CPU_SPARC_FALSE='#'
14982 else
14983   HAVE_CPU_SPARC_TRUE='#'
14984   HAVE_CPU_SPARC_FALSE=
14985 fi
14986
14987    if test "x$HAVE_CPU_HPPA" = "xyes"; then
14988   HAVE_CPU_HPPA_TRUE=
14989   HAVE_CPU_HPPA_FALSE='#'
14990 else
14991   HAVE_CPU_HPPA_TRUE='#'
14992   HAVE_CPU_HPPA_FALSE=
14993 fi
14994
14995    if test "x$HAVE_CPU_MIPS" = "xyes"; then
14996   HAVE_CPU_MIPS_TRUE=
14997   HAVE_CPU_MIPS_FALSE='#'
14998 else
14999   HAVE_CPU_MIPS_TRUE='#'
15000   HAVE_CPU_MIPS_FALSE=
15001 fi
15002
15003    if test "x$HAVE_CPU_S390" = "xyes"; then
15004   HAVE_CPU_S390_TRUE=
15005   HAVE_CPU_S390_FALSE='#'
15006 else
15007   HAVE_CPU_S390_TRUE='#'
15008   HAVE_CPU_S390_FALSE=
15009 fi
15010
15011    if test "x$HAVE_CPU_IA64" = "xyes"; then
15012   HAVE_CPU_IA64_TRUE=
15013   HAVE_CPU_IA64_FALSE='#'
15014 else
15015   HAVE_CPU_IA64_TRUE='#'
15016   HAVE_CPU_IA64_FALSE=
15017 fi
15018
15019    if test "x$HAVE_CPU_M68K" = "xyes"; then
15020   HAVE_CPU_M68K_TRUE=
15021   HAVE_CPU_M68K_FALSE='#'
15022 else
15023   HAVE_CPU_M68K_TRUE='#'
15024   HAVE_CPU_M68K_FALSE=
15025 fi
15026
15027    if test "x$HAVE_CPU_X86_64" = "xyes"; then
15028   HAVE_CPU_X86_64_TRUE=
15029   HAVE_CPU_X86_64_FALSE='#'
15030 else
15031   HAVE_CPU_X86_64_TRUE='#'
15032   HAVE_CPU_X86_64_FALSE=
15033 fi
15034
15035    if test "x$HAVE_CPU_CRIS" = "xyes"; then
15036   HAVE_CPU_CRIS_TRUE=
15037   HAVE_CPU_CRIS_FALSE='#'
15038 else
15039   HAVE_CPU_CRIS_TRUE='#'
15040   HAVE_CPU_CRIS_FALSE=
15041 fi
15042
15043    if test "x$HAVE_CPU_CRISV32" = "xyes"; then
15044   HAVE_CPU_CRISV32_TRUE=
15045   HAVE_CPU_CRISV32_FALSE='#'
15046 else
15047   HAVE_CPU_CRISV32_TRUE='#'
15048   HAVE_CPU_CRISV32_FALSE=
15049 fi
15050
15051
15052
15053 cat >>confdefs.h <<_ACEOF
15054 #define HOST_CPU "$host_cpu"
15055 _ACEOF
15056
15057
15058 HOST_CPU=$host_cpu
15059
15060
15061
15062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if unaligned memory access works correctly" >&5
15063 $as_echo_n "checking if unaligned memory access works correctly... " >&6; }
15064   if test x"$as_cv_unaligned_access" = x ; then
15065     case $host in
15066       alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
15067         $as_echo_n "(blacklisted) " >&6
15068         as_cv_unaligned_access=no
15069         ;;
15070       i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*)
15071         $as_echo_n "(whitelisted) " >&6
15072         as_cv_unaligned_access=yes
15073         ;;
15074     esac
15075   else
15076     $as_echo_n "(cached) " >&6
15077   fi
15078   if test x"$as_cv_unaligned_access" = x ; then
15079     if test "$cross_compiling" = yes; then :
15080   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15082 as_fn_error $? "cannot run test program while cross compiling
15083 See \`config.log' for more details" "$LINENO" 5 ; }
15084 else
15085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h.  */
15087
15088 int main(int argc, char **argv)
15089 {
15090   char array[] = "ABCDEFGH";
15091   unsigned int iarray[2];
15092   memcpy(iarray,array,8);
15093 #define GET(x) (*(unsigned int *)((char *)iarray + (x)))
15094   if(GET(0) != 0x41424344 && GET(0) != 0x44434241) return 1;
15095   if(GET(1) != 0x42434445 && GET(1) != 0x45444342) return 1;
15096   if(GET(2) != 0x43444546 && GET(2) != 0x46454443) return 1;
15097   if(GET(3) != 0x44454647 && GET(3) != 0x47464544) return 1;
15098   return 0;
15099 }
15100
15101 _ACEOF
15102 if ac_fn_c_try_run "$LINENO"; then :
15103   as_cv_unaligned_access="yes"
15104 else
15105   as_cv_unaligned_access="no"
15106 fi
15107 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15108   conftest.$ac_objext conftest.beam conftest.$ac_ext
15109 fi
15110
15111   fi
15112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $as_cv_unaligned_access" >&5
15113 $as_echo "$as_cv_unaligned_access" >&6; }
15114   if test "$as_cv_unaligned_access" = "yes"; then
15115
15116 cat >>confdefs.h <<_ACEOF
15117 #define HAVE_UNALIGNED_ACCESS 1
15118 _ACEOF
15119
15120   fi
15121
15122 if test x${as_cv_unaligned_access} = xyes ; then
15123   GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 1"
15124 else
15125   GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 0"
15126 fi
15127
15128
15129
15130
15131
15132   case $host_os in
15133     rhapsody*)
15134
15135 cat >>confdefs.h <<_ACEOF
15136 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
15137 _ACEOF
15138
15139       ;;
15140     darwin*)
15141
15142 cat >>confdefs.h <<_ACEOF
15143 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
15144 _ACEOF
15145
15146
15147 cat >>confdefs.h <<_ACEOF
15148 #define HAVE_OSX 1
15149 _ACEOF
15150
15151       ;;
15152     cygwin*)
15153
15154 cat >>confdefs.h <<_ACEOF
15155 #define GST_HAVE_UNSAFE_FORK 1
15156 _ACEOF
15157
15158       ;;
15159     mingw* | msvc* | mks*)
15160
15161 cat >>confdefs.h <<_ACEOF
15162 #define HAVE_WIN32 1
15163 _ACEOF
15164
15165
15166                               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h.  */
15168
15169 int
15170 main ()
15171 {
15172  return __MSVCRT_VERSION__;
15173   ;
15174   return 0;
15175 }
15176 _ACEOF
15177 if ac_fn_c_try_compile "$LINENO"; then :
15178
15179           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h.  */
15181
15182 int
15183 main ()
15184 {
15185
15186             #if __MSVCRT_VERSION__ < 0x0601
15187             #error "MSVCRT too old"
15188             #endif
15189
15190   ;
15191   return 0;
15192 }
15193 _ACEOF
15194 if ac_fn_c_try_compile "$LINENO"; then :
15195
15196             { $as_echo "$as_me:${as_lineno-$LINENO}: MSVCRT version looks ok" >&5
15197 $as_echo "$as_me: MSVCRT version looks ok" >&6;}
15198
15199 else
15200
15201             as_fn_error $? "MSVCRT version too old, need at least WinXP SP2" "$LINENO" 5
15202
15203 fi
15204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15205
15206 else
15207
15208         { $as_echo "$as_me:${as_lineno-$LINENO}: Setting MSVCRT version to 0x0601" >&5
15209 $as_echo "$as_me: Setting MSVCRT version to 0x0601" >&6;}
15210
15211 cat >>confdefs.h <<_ACEOF
15212 #define __MSVCRT_VERSION__ 0x0601
15213 _ACEOF
15214
15215
15216 fi
15217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15218       ;;
15219      *)
15220       ;;
15221   esac
15222
15223
15224
15225 # Check whether --enable-largefile was given.
15226 if test "${enable_largefile+set}" = set; then :
15227   enableval=$enable_largefile;
15228 fi
15229
15230 if test "$enable_largefile" != no; then
15231
15232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15233 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15234 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15235   $as_echo_n "(cached) " >&6
15236 else
15237   ac_cv_sys_largefile_CC=no
15238      if test "$GCC" != yes; then
15239        ac_save_CC=$CC
15240        while :; do
15241          # IRIX 6.2 and later do not support large files by default,
15242          # so use the C compiler's -n32 option if that helps.
15243          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h.  */
15245 #include <sys/types.h>
15246  /* Check that off_t can represent 2**63 - 1 correctly.
15247     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15248     since some C++ compilers masquerading as C compilers
15249     incorrectly reject 9223372036854775807.  */
15250 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15251   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15252                        && LARGE_OFF_T % 2147483647 == 1)
15253                       ? 1 : -1];
15254 int
15255 main ()
15256 {
15257
15258   ;
15259   return 0;
15260 }
15261 _ACEOF
15262          if ac_fn_c_try_compile "$LINENO"; then :
15263   break
15264 fi
15265 rm -f core conftest.err conftest.$ac_objext
15266          CC="$CC -n32"
15267          if ac_fn_c_try_compile "$LINENO"; then :
15268   ac_cv_sys_largefile_CC=' -n32'; break
15269 fi
15270 rm -f core conftest.err conftest.$ac_objext
15271          break
15272        done
15273        CC=$ac_save_CC
15274        rm -f conftest.$ac_ext
15275     fi
15276 fi
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15278 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15279   if test "$ac_cv_sys_largefile_CC" != no; then
15280     CC=$CC$ac_cv_sys_largefile_CC
15281   fi
15282
15283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15284 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15285 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15286   $as_echo_n "(cached) " >&6
15287 else
15288   while :; do
15289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h.  */
15291 #include <sys/types.h>
15292  /* Check that off_t can represent 2**63 - 1 correctly.
15293     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15294     since some C++ compilers masquerading as C compilers
15295     incorrectly reject 9223372036854775807.  */
15296 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15297   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15298                        && LARGE_OFF_T % 2147483647 == 1)
15299                       ? 1 : -1];
15300 int
15301 main ()
15302 {
15303
15304   ;
15305   return 0;
15306 }
15307 _ACEOF
15308 if ac_fn_c_try_compile "$LINENO"; then :
15309   ac_cv_sys_file_offset_bits=no; break
15310 fi
15311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15313 /* end confdefs.h.  */
15314 #define _FILE_OFFSET_BITS 64
15315 #include <sys/types.h>
15316  /* Check that off_t can represent 2**63 - 1 correctly.
15317     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15318     since some C++ compilers masquerading as C compilers
15319     incorrectly reject 9223372036854775807.  */
15320 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15321   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15322                        && LARGE_OFF_T % 2147483647 == 1)
15323                       ? 1 : -1];
15324 int
15325 main ()
15326 {
15327
15328   ;
15329   return 0;
15330 }
15331 _ACEOF
15332 if ac_fn_c_try_compile "$LINENO"; then :
15333   ac_cv_sys_file_offset_bits=64; break
15334 fi
15335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15336   ac_cv_sys_file_offset_bits=unknown
15337   break
15338 done
15339 fi
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15341 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15342 case $ac_cv_sys_file_offset_bits in #(
15343   no | unknown) ;;
15344   *)
15345 cat >>confdefs.h <<_ACEOF
15346 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15347 _ACEOF
15348 ;;
15349 esac
15350 rm -rf conftest*
15351   if test $ac_cv_sys_file_offset_bits = unknown; then
15352     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15353 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15354 if test "${ac_cv_sys_large_files+set}" = set; then :
15355   $as_echo_n "(cached) " >&6
15356 else
15357   while :; do
15358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h.  */
15360 #include <sys/types.h>
15361  /* Check that off_t can represent 2**63 - 1 correctly.
15362     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15363     since some C++ compilers masquerading as C compilers
15364     incorrectly reject 9223372036854775807.  */
15365 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15366   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15367                        && LARGE_OFF_T % 2147483647 == 1)
15368                       ? 1 : -1];
15369 int
15370 main ()
15371 {
15372
15373   ;
15374   return 0;
15375 }
15376 _ACEOF
15377 if ac_fn_c_try_compile "$LINENO"; then :
15378   ac_cv_sys_large_files=no; break
15379 fi
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h.  */
15383 #define _LARGE_FILES 1
15384 #include <sys/types.h>
15385  /* Check that off_t can represent 2**63 - 1 correctly.
15386     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15387     since some C++ compilers masquerading as C compilers
15388     incorrectly reject 9223372036854775807.  */
15389 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15390   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15391                        && LARGE_OFF_T % 2147483647 == 1)
15392                       ? 1 : -1];
15393 int
15394 main ()
15395 {
15396
15397   ;
15398   return 0;
15399 }
15400 _ACEOF
15401 if ac_fn_c_try_compile "$LINENO"; then :
15402   ac_cv_sys_large_files=1; break
15403 fi
15404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15405   ac_cv_sys_large_files=unknown
15406   break
15407 done
15408 fi
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15410 $as_echo "$ac_cv_sys_large_files" >&6; }
15411 case $ac_cv_sys_large_files in #(
15412   no | unknown) ;;
15413   *)
15414 cat >>confdefs.h <<_ACEOF
15415 #define _LARGE_FILES $ac_cv_sys_large_files
15416 _ACEOF
15417 ;;
15418 esac
15419 rm -rf conftest*
15420   fi
15421 fi
15422
15423
15424
15425 ac_ext=c
15426 ac_cpp='$CPP $CPPFLAGS'
15427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15430 if test -n "$ac_tool_prefix"; then
15431   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15434 $as_echo_n "checking for $ac_word... " >&6; }
15435 if test "${ac_cv_prog_CC+set}" = set; then :
15436   $as_echo_n "(cached) " >&6
15437 else
15438   if test -n "$CC"; then
15439   ac_cv_prog_CC="$CC" # Let the user override the test.
15440 else
15441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15442 for as_dir in $PATH
15443 do
15444   IFS=$as_save_IFS
15445   test -z "$as_dir" && as_dir=.
15446     for ac_exec_ext in '' $ac_executable_extensions; do
15447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15448     ac_cv_prog_CC="${ac_tool_prefix}gcc"
15449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15450     break 2
15451   fi
15452 done
15453   done
15454 IFS=$as_save_IFS
15455
15456 fi
15457 fi
15458 CC=$ac_cv_prog_CC
15459 if test -n "$CC"; then
15460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15461 $as_echo "$CC" >&6; }
15462 else
15463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15464 $as_echo "no" >&6; }
15465 fi
15466
15467
15468 fi
15469 if test -z "$ac_cv_prog_CC"; then
15470   ac_ct_CC=$CC
15471   # Extract the first word of "gcc", so it can be a program name with args.
15472 set dummy gcc; ac_word=$2
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15474 $as_echo_n "checking for $ac_word... " >&6; }
15475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15476   $as_echo_n "(cached) " >&6
15477 else
15478   if test -n "$ac_ct_CC"; then
15479   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15480 else
15481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15482 for as_dir in $PATH
15483 do
15484   IFS=$as_save_IFS
15485   test -z "$as_dir" && as_dir=.
15486     for ac_exec_ext in '' $ac_executable_extensions; do
15487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15488     ac_cv_prog_ac_ct_CC="gcc"
15489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15490     break 2
15491   fi
15492 done
15493   done
15494 IFS=$as_save_IFS
15495
15496 fi
15497 fi
15498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15499 if test -n "$ac_ct_CC"; then
15500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15501 $as_echo "$ac_ct_CC" >&6; }
15502 else
15503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15504 $as_echo "no" >&6; }
15505 fi
15506
15507   if test "x$ac_ct_CC" = x; then
15508     CC=""
15509   else
15510     case $cross_compiling:$ac_tool_warned in
15511 yes:)
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15514 ac_tool_warned=yes ;;
15515 esac
15516     CC=$ac_ct_CC
15517   fi
15518 else
15519   CC="$ac_cv_prog_CC"
15520 fi
15521
15522 if test -z "$CC"; then
15523           if test -n "$ac_tool_prefix"; then
15524     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15525 set dummy ${ac_tool_prefix}cc; ac_word=$2
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15527 $as_echo_n "checking for $ac_word... " >&6; }
15528 if test "${ac_cv_prog_CC+set}" = set; then :
15529   $as_echo_n "(cached) " >&6
15530 else
15531   if test -n "$CC"; then
15532   ac_cv_prog_CC="$CC" # Let the user override the test.
15533 else
15534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15535 for as_dir in $PATH
15536 do
15537   IFS=$as_save_IFS
15538   test -z "$as_dir" && as_dir=.
15539     for ac_exec_ext in '' $ac_executable_extensions; do
15540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15541     ac_cv_prog_CC="${ac_tool_prefix}cc"
15542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15543     break 2
15544   fi
15545 done
15546   done
15547 IFS=$as_save_IFS
15548
15549 fi
15550 fi
15551 CC=$ac_cv_prog_CC
15552 if test -n "$CC"; then
15553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15554 $as_echo "$CC" >&6; }
15555 else
15556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15557 $as_echo "no" >&6; }
15558 fi
15559
15560
15561   fi
15562 fi
15563 if test -z "$CC"; then
15564   # Extract the first word of "cc", so it can be a program name with args.
15565 set dummy cc; ac_word=$2
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15567 $as_echo_n "checking for $ac_word... " >&6; }
15568 if test "${ac_cv_prog_CC+set}" = set; then :
15569   $as_echo_n "(cached) " >&6
15570 else
15571   if test -n "$CC"; then
15572   ac_cv_prog_CC="$CC" # Let the user override the test.
15573 else
15574   ac_prog_rejected=no
15575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15576 for as_dir in $PATH
15577 do
15578   IFS=$as_save_IFS
15579   test -z "$as_dir" && as_dir=.
15580     for ac_exec_ext in '' $ac_executable_extensions; do
15581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15582     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15583        ac_prog_rejected=yes
15584        continue
15585      fi
15586     ac_cv_prog_CC="cc"
15587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15588     break 2
15589   fi
15590 done
15591   done
15592 IFS=$as_save_IFS
15593
15594 if test $ac_prog_rejected = yes; then
15595   # We found a bogon in the path, so make sure we never use it.
15596   set dummy $ac_cv_prog_CC
15597   shift
15598   if test $# != 0; then
15599     # We chose a different compiler from the bogus one.
15600     # However, it has the same basename, so the bogon will be chosen
15601     # first if we set CC to just the basename; use the full file name.
15602     shift
15603     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15604   fi
15605 fi
15606 fi
15607 fi
15608 CC=$ac_cv_prog_CC
15609 if test -n "$CC"; then
15610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15611 $as_echo "$CC" >&6; }
15612 else
15613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15614 $as_echo "no" >&6; }
15615 fi
15616
15617
15618 fi
15619 if test -z "$CC"; then
15620   if test -n "$ac_tool_prefix"; then
15621   for ac_prog in cl.exe
15622   do
15623     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15626 $as_echo_n "checking for $ac_word... " >&6; }
15627 if test "${ac_cv_prog_CC+set}" = set; then :
15628   $as_echo_n "(cached) " >&6
15629 else
15630   if test -n "$CC"; then
15631   ac_cv_prog_CC="$CC" # Let the user override the test.
15632 else
15633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15634 for as_dir in $PATH
15635 do
15636   IFS=$as_save_IFS
15637   test -z "$as_dir" && as_dir=.
15638     for ac_exec_ext in '' $ac_executable_extensions; do
15639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15640     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15642     break 2
15643   fi
15644 done
15645   done
15646 IFS=$as_save_IFS
15647
15648 fi
15649 fi
15650 CC=$ac_cv_prog_CC
15651 if test -n "$CC"; then
15652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15653 $as_echo "$CC" >&6; }
15654 else
15655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15656 $as_echo "no" >&6; }
15657 fi
15658
15659
15660     test -n "$CC" && break
15661   done
15662 fi
15663 if test -z "$CC"; then
15664   ac_ct_CC=$CC
15665   for ac_prog in cl.exe
15666 do
15667   # Extract the first word of "$ac_prog", so it can be a program name with args.
15668 set dummy $ac_prog; ac_word=$2
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15670 $as_echo_n "checking for $ac_word... " >&6; }
15671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15672   $as_echo_n "(cached) " >&6
15673 else
15674   if test -n "$ac_ct_CC"; then
15675   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15676 else
15677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15678 for as_dir in $PATH
15679 do
15680   IFS=$as_save_IFS
15681   test -z "$as_dir" && as_dir=.
15682     for ac_exec_ext in '' $ac_executable_extensions; do
15683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15684     ac_cv_prog_ac_ct_CC="$ac_prog"
15685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15686     break 2
15687   fi
15688 done
15689   done
15690 IFS=$as_save_IFS
15691
15692 fi
15693 fi
15694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15695 if test -n "$ac_ct_CC"; then
15696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15697 $as_echo "$ac_ct_CC" >&6; }
15698 else
15699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15700 $as_echo "no" >&6; }
15701 fi
15702
15703
15704   test -n "$ac_ct_CC" && break
15705 done
15706
15707   if test "x$ac_ct_CC" = x; then
15708     CC=""
15709   else
15710     case $cross_compiling:$ac_tool_warned in
15711 yes:)
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15714 ac_tool_warned=yes ;;
15715 esac
15716     CC=$ac_ct_CC
15717   fi
15718 fi
15719
15720 fi
15721
15722
15723 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15725 as_fn_error $? "no acceptable C compiler found in \$PATH
15726 See \`config.log' for more details" "$LINENO" 5 ; }
15727
15728 # Provide some information about the compiler.
15729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15730 set X $ac_compile
15731 ac_compiler=$2
15732 for ac_option in --version -v -V -qversion; do
15733   { { ac_try="$ac_compiler $ac_option >&5"
15734 case "(($ac_try" in
15735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15736   *) ac_try_echo=$ac_try;;
15737 esac
15738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15739 $as_echo "$ac_try_echo"; } >&5
15740   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15741   ac_status=$?
15742   if test -s conftest.err; then
15743     sed '10a\
15744 ... rest of stderr output deleted ...
15745          10q' conftest.err >conftest.er1
15746     cat conftest.er1 >&5
15747   fi
15748   rm -f conftest.er1 conftest.err
15749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15750   test $ac_status = 0; }
15751 done
15752
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
15754 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15755 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
15756   $as_echo_n "(cached) " >&6
15757 else
15758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h.  */
15760
15761 int
15762 main ()
15763 {
15764 #ifndef __GNUC__
15765        choke me
15766 #endif
15767
15768   ;
15769   return 0;
15770 }
15771 _ACEOF
15772 if ac_fn_c_try_compile "$LINENO"; then :
15773   ac_compiler_gnu=yes
15774 else
15775   ac_compiler_gnu=no
15776 fi
15777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15778 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15779
15780 fi
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
15782 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
15783 if test $ac_compiler_gnu = yes; then
15784   GCC=yes
15785 else
15786   GCC=
15787 fi
15788 ac_test_CFLAGS=${CFLAGS+set}
15789 ac_save_CFLAGS=$CFLAGS
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
15791 $as_echo_n "checking whether $CC accepts -g... " >&6; }
15792 if test "${ac_cv_prog_cc_g+set}" = set; then :
15793   $as_echo_n "(cached) " >&6
15794 else
15795   ac_save_c_werror_flag=$ac_c_werror_flag
15796    ac_c_werror_flag=yes
15797    ac_cv_prog_cc_g=no
15798    CFLAGS="-g"
15799    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h.  */
15801
15802 int
15803 main ()
15804 {
15805
15806   ;
15807   return 0;
15808 }
15809 _ACEOF
15810 if ac_fn_c_try_compile "$LINENO"; then :
15811   ac_cv_prog_cc_g=yes
15812 else
15813   CFLAGS=""
15814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15815 /* end confdefs.h.  */
15816
15817 int
15818 main ()
15819 {
15820
15821   ;
15822   return 0;
15823 }
15824 _ACEOF
15825 if ac_fn_c_try_compile "$LINENO"; then :
15826
15827 else
15828   ac_c_werror_flag=$ac_save_c_werror_flag
15829          CFLAGS="-g"
15830          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h.  */
15832
15833 int
15834 main ()
15835 {
15836
15837   ;
15838   return 0;
15839 }
15840 _ACEOF
15841 if ac_fn_c_try_compile "$LINENO"; then :
15842   ac_cv_prog_cc_g=yes
15843 fi
15844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15845 fi
15846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15847 fi
15848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15849    ac_c_werror_flag=$ac_save_c_werror_flag
15850 fi
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
15852 $as_echo "$ac_cv_prog_cc_g" >&6; }
15853 if test "$ac_test_CFLAGS" = set; then
15854   CFLAGS=$ac_save_CFLAGS
15855 elif test $ac_cv_prog_cc_g = yes; then
15856   if test "$GCC" = yes; then
15857     CFLAGS="-g -O2"
15858   else
15859     CFLAGS="-g"
15860   fi
15861 else
15862   if test "$GCC" = yes; then
15863     CFLAGS="-O2"
15864   else
15865     CFLAGS=
15866   fi
15867 fi
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15869 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15870 if test "${ac_cv_prog_cc_c89+set}" = set; then :
15871   $as_echo_n "(cached) " >&6
15872 else
15873   ac_cv_prog_cc_c89=no
15874 ac_save_CC=$CC
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h.  */
15877 #include <stdarg.h>
15878 #include <stdio.h>
15879 #include <sys/types.h>
15880 #include <sys/stat.h>
15881 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
15882 struct buf { int x; };
15883 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15884 static char *e (p, i)
15885      char **p;
15886      int i;
15887 {
15888   return p[i];
15889 }
15890 static char *f (char * (*g) (char **, int), char **p, ...)
15891 {
15892   char *s;
15893   va_list v;
15894   va_start (v,p);
15895   s = g (p, va_arg (v,int));
15896   va_end (v);
15897   return s;
15898 }
15899
15900 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
15901    function prototypes and stuff, but not '\xHH' hex character constants.
15902    These don't provoke an error unfortunately, instead are silently treated
15903    as 'x'.  The following induces an error, until -std is added to get
15904    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
15905    array size at least.  It's necessary to write '\x00'==0 to get something
15906    that's true only with -std.  */
15907 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15908
15909 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15910    inside strings and character constants.  */
15911 #define FOO(x) 'x'
15912 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15913
15914 int test (int i, double x);
15915 struct s1 {int (*f) (int a);};
15916 struct s2 {int (*f) (double a);};
15917 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15918 int argc;
15919 char **argv;
15920 int
15921 main ()
15922 {
15923 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
15924   ;
15925   return 0;
15926 }
15927 _ACEOF
15928 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15929         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15930 do
15931   CC="$ac_save_CC $ac_arg"
15932   if ac_fn_c_try_compile "$LINENO"; then :
15933   ac_cv_prog_cc_c89=$ac_arg
15934 fi
15935 rm -f core conftest.err conftest.$ac_objext
15936   test "x$ac_cv_prog_cc_c89" != "xno" && break
15937 done
15938 rm -f conftest.$ac_ext
15939 CC=$ac_save_CC
15940
15941 fi
15942 # AC_CACHE_VAL
15943 case "x$ac_cv_prog_cc_c89" in
15944   x)
15945     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15946 $as_echo "none needed" >&6; } ;;
15947   xno)
15948     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15949 $as_echo "unsupported" >&6; } ;;
15950   *)
15951     CC="$CC $ac_cv_prog_cc_c89"
15952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
15953 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15954 esac
15955 if test "x$ac_cv_prog_cc_c89" != xno; then :
15956
15957 fi
15958
15959 ac_ext=c
15960 ac_cpp='$CPP $CPPFLAGS'
15961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15964
15965 depcc="$CC"   am_compiler_list=
15966
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15968 $as_echo_n "checking dependency style of $depcc... " >&6; }
15969 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
15970   $as_echo_n "(cached) " >&6
15971 else
15972   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15973   # We make a subdir and do the tests there.  Otherwise we can end up
15974   # making bogus files that we don't know about and never remove.  For
15975   # instance it was reported that on HP-UX the gcc test will end up
15976   # making a dummy file named `D' -- because `-MD' means `put the output
15977   # in D'.
15978   mkdir conftest.dir
15979   # Copy depcomp to subdir because otherwise we won't find it if we're
15980   # using a relative directory.
15981   cp "$am_depcomp" conftest.dir
15982   cd conftest.dir
15983   # We will build objects and dependencies in a subdirectory because
15984   # it helps to detect inapplicable dependency modes.  For instance
15985   # both Tru64's cc and ICC support -MD to output dependencies as a
15986   # side effect of compilation, but ICC will put the dependencies in
15987   # the current directory while Tru64 will put them in the object
15988   # directory.
15989   mkdir sub
15990
15991   am_cv_CC_dependencies_compiler_type=none
15992   if test "$am_compiler_list" = ""; then
15993      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15994   fi
15995   am__universal=false
15996   case " $depcc " in #(
15997      *\ -arch\ *\ -arch\ *) am__universal=true ;;
15998      esac
15999
16000   for depmode in $am_compiler_list; do
16001     # Setup a source with many dependencies, because some compilers
16002     # like to wrap large dependency lists on column 80 (with \), and
16003     # we should not choose a depcomp mode which is confused by this.
16004     #
16005     # We need to recreate these files for each test, as the compiler may
16006     # overwrite some of them when testing with obscure command lines.
16007     # This happens at least with the AIX C compiler.
16008     : > sub/conftest.c
16009     for i in 1 2 3 4 5 6; do
16010       echo '#include "conftst'$i'.h"' >> sub/conftest.c
16011       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16012       # Solaris 8's {/usr,}/bin/sh.
16013       touch sub/conftst$i.h
16014     done
16015     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16016
16017     # We check with `-c' and `-o' for the sake of the "dashmstdout"
16018     # mode.  It turns out that the SunPro C++ compiler does not properly
16019     # handle `-M -o', and we need to detect this.  Also, some Intel
16020     # versions had trouble with output in subdirs
16021     am__obj=sub/conftest.${OBJEXT-o}
16022     am__minus_obj="-o $am__obj"
16023     case $depmode in
16024     gcc)
16025       # This depmode causes a compiler race in universal mode.
16026       test "$am__universal" = false || continue
16027       ;;
16028     nosideeffect)
16029       # after this tag, mechanisms are not by side-effect, so they'll
16030       # only be used when explicitly requested
16031       if test "x$enable_dependency_tracking" = xyes; then
16032         continue
16033       else
16034         break
16035       fi
16036       ;;
16037     msvisualcpp | msvcmsys)
16038       # This compiler won't grok `-c -o', but also, the minuso test has
16039       # not run yet.  These depmodes are late enough in the game, and
16040       # so weak that their functioning should not be impacted.
16041       am__obj=conftest.${OBJEXT-o}
16042       am__minus_obj=
16043       ;;
16044     none) break ;;
16045     esac
16046     if depmode=$depmode \
16047        source=sub/conftest.c object=$am__obj \
16048        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16049        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16050          >/dev/null 2>conftest.err &&
16051        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16052        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16053        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16054        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16055       # icc doesn't choke on unknown options, it will just issue warnings
16056       # or remarks (even with -Werror).  So we grep stderr for any message
16057       # that says an option was ignored or not supported.
16058       # When given -MP, icc 7.0 and 7.1 complain thusly:
16059       #   icc: Command line warning: ignoring option '-M'; no argument required
16060       # The diagnosis changed in icc 8.0:
16061       #   icc: Command line remark: option '-MP' not supported
16062       if (grep 'ignoring option' conftest.err ||
16063           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16064         am_cv_CC_dependencies_compiler_type=$depmode
16065         break
16066       fi
16067     fi
16068   done
16069
16070   cd ..
16071   rm -rf conftest.dir
16072 else
16073   am_cv_CC_dependencies_compiler_type=none
16074 fi
16075
16076 fi
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16078 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16079 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16080
16081  if
16082   test "x$enable_dependency_tracking" != xno \
16083   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16084   am__fastdepCC_TRUE=
16085   am__fastdepCC_FALSE='#'
16086 else
16087   am__fastdepCC_TRUE='#'
16088   am__fastdepCC_FALSE=
16089 fi
16090
16091
16092    case $ac_cv_prog_cc_stdc in #(
16093   no) :
16094     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16095   *) :
16096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16097 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16098 if test "${ac_cv_prog_cc_c99+set}" = set; then :
16099   $as_echo_n "(cached) " >&6
16100 else
16101   ac_cv_prog_cc_c99=no
16102 ac_save_CC=$CC
16103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h.  */
16105 #include <stdarg.h>
16106 #include <stdbool.h>
16107 #include <stdlib.h>
16108 #include <wchar.h>
16109 #include <stdio.h>
16110
16111 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
16112 #define debug(...) fprintf (stderr, __VA_ARGS__)
16113 #define showlist(...) puts (#__VA_ARGS__)
16114 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16115 static void
16116 test_varargs_macros (void)
16117 {
16118   int x = 1234;
16119   int y = 5678;
16120   debug ("Flag");
16121   debug ("X = %d\n", x);
16122   showlist (The first, second, and third items.);
16123   report (x>y, "x is %d but y is %d", x, y);
16124 }
16125
16126 // Check long long types.
16127 #define BIG64 18446744073709551615ull
16128 #define BIG32 4294967295ul
16129 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16130 #if !BIG_OK
16131   your preprocessor is broken;
16132 #endif
16133 #if BIG_OK
16134 #else
16135   your preprocessor is broken;
16136 #endif
16137 static long long int bignum = -9223372036854775807LL;
16138 static unsigned long long int ubignum = BIG64;
16139
16140 struct incomplete_array
16141 {
16142   int datasize;
16143   double data[];
16144 };
16145
16146 struct named_init {
16147   int number;
16148   const wchar_t *name;
16149   double average;
16150 };
16151
16152 typedef const char *ccp;
16153
16154 static inline int
16155 test_restrict (ccp restrict text)
16156 {
16157   // See if C++-style comments work.
16158   // Iterate through items via the restricted pointer.
16159   // Also check for declarations in for loops.
16160   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16161     continue;
16162   return 0;
16163 }
16164
16165 // Check varargs and va_copy.
16166 static void
16167 test_varargs (const char *format, ...)
16168 {
16169   va_list args;
16170   va_start (args, format);
16171   va_list args_copy;
16172   va_copy (args_copy, args);
16173
16174   const char *str;
16175   int number;
16176   float fnumber;
16177
16178   while (*format)
16179     {
16180       switch (*format++)
16181         {
16182         case 's': // string
16183           str = va_arg (args_copy, const char *);
16184           break;
16185         case 'd': // int
16186           number = va_arg (args_copy, int);
16187           break;
16188         case 'f': // float
16189           fnumber = va_arg (args_copy, double);
16190           break;
16191         default:
16192           break;
16193         }
16194     }
16195   va_end (args_copy);
16196   va_end (args);
16197 }
16198
16199 int
16200 main ()
16201 {
16202
16203   // Check bool.
16204   _Bool success = false;
16205
16206   // Check restrict.
16207   if (test_restrict ("String literal") == 0)
16208     success = true;
16209   char *restrict newvar = "Another string";
16210
16211   // Check varargs.
16212   test_varargs ("s, d' f .", "string", 65, 34.234);
16213   test_varargs_macros ();
16214
16215   // Check flexible array members.
16216   struct incomplete_array *ia =
16217     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16218   ia->datasize = 10;
16219   for (int i = 0; i < ia->datasize; ++i)
16220     ia->data[i] = i * 1.234;
16221
16222   // Check named initializers.
16223   struct named_init ni = {
16224     .number = 34,
16225     .name = L"Test wide string",
16226     .average = 543.34343,
16227   };
16228
16229   ni.number = 58;
16230
16231   int dynamic_array[ni.number];
16232   dynamic_array[ni.number - 1] = 543;
16233
16234   // work around unused variable warnings
16235   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16236           || dynamic_array[ni.number - 1] != 543);
16237
16238   ;
16239   return 0;
16240 }
16241 _ACEOF
16242 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16243 do
16244   CC="$ac_save_CC $ac_arg"
16245   if ac_fn_c_try_compile "$LINENO"; then :
16246   ac_cv_prog_cc_c99=$ac_arg
16247 fi
16248 rm -f core conftest.err conftest.$ac_objext
16249   test "x$ac_cv_prog_cc_c99" != "xno" && break
16250 done
16251 rm -f conftest.$ac_ext
16252 CC=$ac_save_CC
16253
16254 fi
16255 # AC_CACHE_VAL
16256 case "x$ac_cv_prog_cc_c99" in
16257   x)
16258     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16259 $as_echo "none needed" >&6; } ;;
16260   xno)
16261     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16262 $as_echo "unsupported" >&6; } ;;
16263   *)
16264     CC="$CC $ac_cv_prog_cc_c99"
16265     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16266 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16267 esac
16268 if test "x$ac_cv_prog_cc_c99" != xno; then :
16269   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16270 else
16271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16272 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16273 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16274   $as_echo_n "(cached) " >&6
16275 else
16276   ac_cv_prog_cc_c89=no
16277 ac_save_CC=$CC
16278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h.  */
16280 #include <stdarg.h>
16281 #include <stdio.h>
16282 #include <sys/types.h>
16283 #include <sys/stat.h>
16284 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16285 struct buf { int x; };
16286 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16287 static char *e (p, i)
16288      char **p;
16289      int i;
16290 {
16291   return p[i];
16292 }
16293 static char *f (char * (*g) (char **, int), char **p, ...)
16294 {
16295   char *s;
16296   va_list v;
16297   va_start (v,p);
16298   s = g (p, va_arg (v,int));
16299   va_end (v);
16300   return s;
16301 }
16302
16303 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16304    function prototypes and stuff, but not '\xHH' hex character constants.
16305    These don't provoke an error unfortunately, instead are silently treated
16306    as 'x'.  The following induces an error, until -std is added to get
16307    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16308    array size at least.  It's necessary to write '\x00'==0 to get something
16309    that's true only with -std.  */
16310 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16311
16312 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16313    inside strings and character constants.  */
16314 #define FOO(x) 'x'
16315 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16316
16317 int test (int i, double x);
16318 struct s1 {int (*f) (int a);};
16319 struct s2 {int (*f) (double a);};
16320 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16321 int argc;
16322 char **argv;
16323 int
16324 main ()
16325 {
16326 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16327   ;
16328   return 0;
16329 }
16330 _ACEOF
16331 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16332         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16333 do
16334   CC="$ac_save_CC $ac_arg"
16335   if ac_fn_c_try_compile "$LINENO"; then :
16336   ac_cv_prog_cc_c89=$ac_arg
16337 fi
16338 rm -f core conftest.err conftest.$ac_objext
16339   test "x$ac_cv_prog_cc_c89" != "xno" && break
16340 done
16341 rm -f conftest.$ac_ext
16342 CC=$ac_save_CC
16343
16344 fi
16345 # AC_CACHE_VAL
16346 case "x$ac_cv_prog_cc_c89" in
16347   x)
16348     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16349 $as_echo "none needed" >&6; } ;;
16350   xno)
16351     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16352 $as_echo "unsupported" >&6; } ;;
16353   *)
16354     CC="$CC $ac_cv_prog_cc_c89"
16355     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16356 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16357 esac
16358 if test "x$ac_cv_prog_cc_c89" != xno; then :
16359   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
16360 else
16361   ac_cv_prog_cc_stdc=no
16362 fi
16363
16364 fi
16365  ;;
16366 esac
16367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16368 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16369   if test "${ac_cv_prog_cc_stdc+set}" = set; then :
16370   $as_echo_n "(cached) " >&6
16371 fi
16372
16373   case $ac_cv_prog_cc_stdc in #(
16374   no) :
16375     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16376 $as_echo "unsupported" >&6; } ;; #(
16377   '') :
16378     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16379 $as_echo "none needed" >&6; } ;; #(
16380   *) :
16381     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16382 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16383 esac
16384
16385
16386 if test "x$CC" != xcc; then
16387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16388 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16389 else
16390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16391 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16392 fi
16393 set dummy $CC; ac_cc=`$as_echo "$2" |
16394                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16395 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
16396   $as_echo_n "(cached) " >&6
16397 else
16398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h.  */
16400
16401 int
16402 main ()
16403 {
16404
16405   ;
16406   return 0;
16407 }
16408 _ACEOF
16409 # Make sure it works both with $CC and with simple cc.
16410 # We do the test twice because some compilers refuse to overwrite an
16411 # existing .o file with -o, though they will create one.
16412 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16413 rm -f conftest2.*
16414 if { { case "(($ac_try" in
16415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16416   *) ac_try_echo=$ac_try;;
16417 esac
16418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16419 $as_echo "$ac_try_echo"; } >&5
16420   (eval "$ac_try") 2>&5
16421   ac_status=$?
16422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16423   test $ac_status = 0; } &&
16424    test -f conftest2.$ac_objext && { { case "(($ac_try" in
16425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16426   *) ac_try_echo=$ac_try;;
16427 esac
16428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16429 $as_echo "$ac_try_echo"; } >&5
16430   (eval "$ac_try") 2>&5
16431   ac_status=$?
16432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16433   test $ac_status = 0; };
16434 then
16435   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16436   if test "x$CC" != xcc; then
16437     # Test first that cc exists at all.
16438     if { ac_try='cc -c conftest.$ac_ext >&5'
16439   { { case "(($ac_try" in
16440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16441   *) ac_try_echo=$ac_try;;
16442 esac
16443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16444 $as_echo "$ac_try_echo"; } >&5
16445   (eval "$ac_try") 2>&5
16446   ac_status=$?
16447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16448   test $ac_status = 0; }; }; then
16449       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16450       rm -f conftest2.*
16451       if { { case "(($ac_try" in
16452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453   *) ac_try_echo=$ac_try;;
16454 esac
16455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16456 $as_echo "$ac_try_echo"; } >&5
16457   (eval "$ac_try") 2>&5
16458   ac_status=$?
16459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16460   test $ac_status = 0; } &&
16461          test -f conftest2.$ac_objext && { { case "(($ac_try" in
16462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16463   *) ac_try_echo=$ac_try;;
16464 esac
16465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16466 $as_echo "$ac_try_echo"; } >&5
16467   (eval "$ac_try") 2>&5
16468   ac_status=$?
16469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16470   test $ac_status = 0; };
16471       then
16472         # cc works too.
16473         :
16474       else
16475         # cc exists but doesn't like -o.
16476         eval ac_cv_prog_cc_${ac_cc}_c_o=no
16477       fi
16478     fi
16479   fi
16480 else
16481   eval ac_cv_prog_cc_${ac_cc}_c_o=no
16482 fi
16483 rm -f core conftest*
16484
16485 fi
16486 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16488 $as_echo "yes" >&6; }
16489 else
16490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16491 $as_echo "no" >&6; }
16492
16493 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16494
16495 fi
16496
16497 # FIXME: we rely on the cache variable name because
16498 # there is no other way.
16499 set dummy $CC
16500 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16501 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16502 if test "$am_t" != yes; then
16503    # Losing compiler, so override with the script.
16504    # FIXME: It is wrong to rewrite CC.
16505    # But if we don't then we get into trouble of one sort or another.
16506    # A longer-term fix would be to have automake use am__CC in this case,
16507    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16508    CC="$am_aux_dir/compile $CC"
16509 fi
16510
16511
16512
16513 # By default we simply use the C compiler to build assembly code.
16514
16515 test "${CCAS+set}" = set || CCAS=$CC
16516 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
16517
16518
16519
16520 depcc="$CCAS"   am_compiler_list=
16521
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16523 $as_echo_n "checking dependency style of $depcc... " >&6; }
16524 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
16525   $as_echo_n "(cached) " >&6
16526 else
16527   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16528   # We make a subdir and do the tests there.  Otherwise we can end up
16529   # making bogus files that we don't know about and never remove.  For
16530   # instance it was reported that on HP-UX the gcc test will end up
16531   # making a dummy file named `D' -- because `-MD' means `put the output
16532   # in D'.
16533   mkdir conftest.dir
16534   # Copy depcomp to subdir because otherwise we won't find it if we're
16535   # using a relative directory.
16536   cp "$am_depcomp" conftest.dir
16537   cd conftest.dir
16538   # We will build objects and dependencies in a subdirectory because
16539   # it helps to detect inapplicable dependency modes.  For instance
16540   # both Tru64's cc and ICC support -MD to output dependencies as a
16541   # side effect of compilation, but ICC will put the dependencies in
16542   # the current directory while Tru64 will put them in the object
16543   # directory.
16544   mkdir sub
16545
16546   am_cv_CCAS_dependencies_compiler_type=none
16547   if test "$am_compiler_list" = ""; then
16548      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16549   fi
16550   am__universal=false
16551
16552
16553   for depmode in $am_compiler_list; do
16554     # Setup a source with many dependencies, because some compilers
16555     # like to wrap large dependency lists on column 80 (with \), and
16556     # we should not choose a depcomp mode which is confused by this.
16557     #
16558     # We need to recreate these files for each test, as the compiler may
16559     # overwrite some of them when testing with obscure command lines.
16560     # This happens at least with the AIX C compiler.
16561     : > sub/conftest.c
16562     for i in 1 2 3 4 5 6; do
16563       echo '#include "conftst'$i'.h"' >> sub/conftest.c
16564       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16565       # Solaris 8's {/usr,}/bin/sh.
16566       touch sub/conftst$i.h
16567     done
16568     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16569
16570     # We check with `-c' and `-o' for the sake of the "dashmstdout"
16571     # mode.  It turns out that the SunPro C++ compiler does not properly
16572     # handle `-M -o', and we need to detect this.  Also, some Intel
16573     # versions had trouble with output in subdirs
16574     am__obj=sub/conftest.${OBJEXT-o}
16575     am__minus_obj="-o $am__obj"
16576     case $depmode in
16577     gcc)
16578       # This depmode causes a compiler race in universal mode.
16579       test "$am__universal" = false || continue
16580       ;;
16581     nosideeffect)
16582       # after this tag, mechanisms are not by side-effect, so they'll
16583       # only be used when explicitly requested
16584       if test "x$enable_dependency_tracking" = xyes; then
16585         continue
16586       else
16587         break
16588       fi
16589       ;;
16590     msvisualcpp | msvcmsys)
16591       # This compiler won't grok `-c -o', but also, the minuso test has
16592       # not run yet.  These depmodes are late enough in the game, and
16593       # so weak that their functioning should not be impacted.
16594       am__obj=conftest.${OBJEXT-o}
16595       am__minus_obj=
16596       ;;
16597     none) break ;;
16598     esac
16599     if depmode=$depmode \
16600        source=sub/conftest.c object=$am__obj \
16601        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16602        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16603          >/dev/null 2>conftest.err &&
16604        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16605        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16606        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16607        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16608       # icc doesn't choke on unknown options, it will just issue warnings
16609       # or remarks (even with -Werror).  So we grep stderr for any message
16610       # that says an option was ignored or not supported.
16611       # When given -MP, icc 7.0 and 7.1 complain thusly:
16612       #   icc: Command line warning: ignoring option '-M'; no argument required
16613       # The diagnosis changed in icc 8.0:
16614       #   icc: Command line remark: option '-MP' not supported
16615       if (grep 'ignoring option' conftest.err ||
16616           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16617         am_cv_CCAS_dependencies_compiler_type=$depmode
16618         break
16619       fi
16620     fi
16621   done
16622
16623   cd ..
16624   rm -rf conftest.dir
16625 else
16626   am_cv_CCAS_dependencies_compiler_type=none
16627 fi
16628
16629 fi
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
16631 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
16632 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
16633
16634  if
16635   test "x$enable_dependency_tracking" != xno \
16636   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
16637   am__fastdepCCAS_TRUE=
16638   am__fastdepCCAS_FALSE='#'
16639 else
16640   am__fastdepCCAS_TRUE='#'
16641   am__fastdepCCAS_FALSE=
16642 fi
16643
16644
16645
16646 ac_ext=cpp
16647 ac_cpp='$CXXCPP $CPPFLAGS'
16648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16651 if test -z "$CXX"; then
16652   if test -n "$CCC"; then
16653     CXX=$CCC
16654   else
16655     if test -n "$ac_tool_prefix"; then
16656   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16657   do
16658     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16661 $as_echo_n "checking for $ac_word... " >&6; }
16662 if test "${ac_cv_prog_CXX+set}" = set; then :
16663   $as_echo_n "(cached) " >&6
16664 else
16665   if test -n "$CXX"; then
16666   ac_cv_prog_CXX="$CXX" # Let the user override the test.
16667 else
16668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16669 for as_dir in $PATH
16670 do
16671   IFS=$as_save_IFS
16672   test -z "$as_dir" && as_dir=.
16673     for ac_exec_ext in '' $ac_executable_extensions; do
16674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16675     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16677     break 2
16678   fi
16679 done
16680   done
16681 IFS=$as_save_IFS
16682
16683 fi
16684 fi
16685 CXX=$ac_cv_prog_CXX
16686 if test -n "$CXX"; then
16687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16688 $as_echo "$CXX" >&6; }
16689 else
16690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16691 $as_echo "no" >&6; }
16692 fi
16693
16694
16695     test -n "$CXX" && break
16696   done
16697 fi
16698 if test -z "$CXX"; then
16699   ac_ct_CXX=$CXX
16700   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16701 do
16702   # Extract the first word of "$ac_prog", so it can be a program name with args.
16703 set dummy $ac_prog; ac_word=$2
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16705 $as_echo_n "checking for $ac_word... " >&6; }
16706 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
16707   $as_echo_n "(cached) " >&6
16708 else
16709   if test -n "$ac_ct_CXX"; then
16710   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16711 else
16712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16713 for as_dir in $PATH
16714 do
16715   IFS=$as_save_IFS
16716   test -z "$as_dir" && as_dir=.
16717     for ac_exec_ext in '' $ac_executable_extensions; do
16718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16719     ac_cv_prog_ac_ct_CXX="$ac_prog"
16720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16721     break 2
16722   fi
16723 done
16724   done
16725 IFS=$as_save_IFS
16726
16727 fi
16728 fi
16729 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16730 if test -n "$ac_ct_CXX"; then
16731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
16732 $as_echo "$ac_ct_CXX" >&6; }
16733 else
16734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16735 $as_echo "no" >&6; }
16736 fi
16737
16738
16739   test -n "$ac_ct_CXX" && break
16740 done
16741
16742   if test "x$ac_ct_CXX" = x; then
16743     CXX="g++"
16744   else
16745     case $cross_compiling:$ac_tool_warned in
16746 yes:)
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16749 ac_tool_warned=yes ;;
16750 esac
16751     CXX=$ac_ct_CXX
16752   fi
16753 fi
16754
16755   fi
16756 fi
16757 # Provide some information about the compiler.
16758 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16759 set X $ac_compile
16760 ac_compiler=$2
16761 for ac_option in --version -v -V -qversion; do
16762   { { ac_try="$ac_compiler $ac_option >&5"
16763 case "(($ac_try" in
16764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765   *) ac_try_echo=$ac_try;;
16766 esac
16767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16768 $as_echo "$ac_try_echo"; } >&5
16769   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16770   ac_status=$?
16771   if test -s conftest.err; then
16772     sed '10a\
16773 ... rest of stderr output deleted ...
16774          10q' conftest.err >conftest.er1
16775     cat conftest.er1 >&5
16776   fi
16777   rm -f conftest.er1 conftest.err
16778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16779   test $ac_status = 0; }
16780 done
16781
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
16783 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16784 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
16785   $as_echo_n "(cached) " >&6
16786 else
16787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h.  */
16789
16790 int
16791 main ()
16792 {
16793 #ifndef __GNUC__
16794        choke me
16795 #endif
16796
16797   ;
16798   return 0;
16799 }
16800 _ACEOF
16801 if ac_fn_cxx_try_compile "$LINENO"; then :
16802   ac_compiler_gnu=yes
16803 else
16804   ac_compiler_gnu=no
16805 fi
16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16807 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16808
16809 fi
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16811 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16812 if test $ac_compiler_gnu = yes; then
16813   GXX=yes
16814 else
16815   GXX=
16816 fi
16817 ac_test_CXXFLAGS=${CXXFLAGS+set}
16818 ac_save_CXXFLAGS=$CXXFLAGS
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16820 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16821 if test "${ac_cv_prog_cxx_g+set}" = set; then :
16822   $as_echo_n "(cached) " >&6
16823 else
16824   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16825    ac_cxx_werror_flag=yes
16826    ac_cv_prog_cxx_g=no
16827    CXXFLAGS="-g"
16828    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h.  */
16830
16831 int
16832 main ()
16833 {
16834
16835   ;
16836   return 0;
16837 }
16838 _ACEOF
16839 if ac_fn_cxx_try_compile "$LINENO"; then :
16840   ac_cv_prog_cxx_g=yes
16841 else
16842   CXXFLAGS=""
16843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16844 /* end confdefs.h.  */
16845
16846 int
16847 main ()
16848 {
16849
16850   ;
16851   return 0;
16852 }
16853 _ACEOF
16854 if ac_fn_cxx_try_compile "$LINENO"; then :
16855
16856 else
16857   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16858          CXXFLAGS="-g"
16859          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h.  */
16861
16862 int
16863 main ()
16864 {
16865
16866   ;
16867   return 0;
16868 }
16869 _ACEOF
16870 if ac_fn_cxx_try_compile "$LINENO"; then :
16871   ac_cv_prog_cxx_g=yes
16872 fi
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 fi
16875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 fi
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16879 fi
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16881 $as_echo "$ac_cv_prog_cxx_g" >&6; }
16882 if test "$ac_test_CXXFLAGS" = set; then
16883   CXXFLAGS=$ac_save_CXXFLAGS
16884 elif test $ac_cv_prog_cxx_g = yes; then
16885   if test "$GXX" = yes; then
16886     CXXFLAGS="-g -O2"
16887   else
16888     CXXFLAGS="-g"
16889   fi
16890 else
16891   if test "$GXX" = yes; then
16892     CXXFLAGS="-O2"
16893   else
16894     CXXFLAGS=
16895   fi
16896 fi
16897 ac_ext=c
16898 ac_cpp='$CPP $CPPFLAGS'
16899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16902
16903 depcc="$CXX"  am_compiler_list=
16904
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16906 $as_echo_n "checking dependency style of $depcc... " >&6; }
16907 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
16908   $as_echo_n "(cached) " >&6
16909 else
16910   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16911   # We make a subdir and do the tests there.  Otherwise we can end up
16912   # making bogus files that we don't know about and never remove.  For
16913   # instance it was reported that on HP-UX the gcc test will end up
16914   # making a dummy file named `D' -- because `-MD' means `put the output
16915   # in D'.
16916   mkdir conftest.dir
16917   # Copy depcomp to subdir because otherwise we won't find it if we're
16918   # using a relative directory.
16919   cp "$am_depcomp" conftest.dir
16920   cd conftest.dir
16921   # We will build objects and dependencies in a subdirectory because
16922   # it helps to detect inapplicable dependency modes.  For instance
16923   # both Tru64's cc and ICC support -MD to output dependencies as a
16924   # side effect of compilation, but ICC will put the dependencies in
16925   # the current directory while Tru64 will put them in the object
16926   # directory.
16927   mkdir sub
16928
16929   am_cv_CXX_dependencies_compiler_type=none
16930   if test "$am_compiler_list" = ""; then
16931      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16932   fi
16933   am__universal=false
16934   case " $depcc " in #(
16935      *\ -arch\ *\ -arch\ *) am__universal=true ;;
16936      esac
16937
16938   for depmode in $am_compiler_list; do
16939     # Setup a source with many dependencies, because some compilers
16940     # like to wrap large dependency lists on column 80 (with \), and
16941     # we should not choose a depcomp mode which is confused by this.
16942     #
16943     # We need to recreate these files for each test, as the compiler may
16944     # overwrite some of them when testing with obscure command lines.
16945     # This happens at least with the AIX C compiler.
16946     : > sub/conftest.c
16947     for i in 1 2 3 4 5 6; do
16948       echo '#include "conftst'$i'.h"' >> sub/conftest.c
16949       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16950       # Solaris 8's {/usr,}/bin/sh.
16951       touch sub/conftst$i.h
16952     done
16953     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16954
16955     # We check with `-c' and `-o' for the sake of the "dashmstdout"
16956     # mode.  It turns out that the SunPro C++ compiler does not properly
16957     # handle `-M -o', and we need to detect this.  Also, some Intel
16958     # versions had trouble with output in subdirs
16959     am__obj=sub/conftest.${OBJEXT-o}
16960     am__minus_obj="-o $am__obj"
16961     case $depmode in
16962     gcc)
16963       # This depmode causes a compiler race in universal mode.
16964       test "$am__universal" = false || continue
16965       ;;
16966     nosideeffect)
16967       # after this tag, mechanisms are not by side-effect, so they'll
16968       # only be used when explicitly requested
16969       if test "x$enable_dependency_tracking" = xyes; then
16970         continue
16971       else
16972         break
16973       fi
16974       ;;
16975     msvisualcpp | msvcmsys)
16976       # This compiler won't grok `-c -o', but also, the minuso test has
16977       # not run yet.  These depmodes are late enough in the game, and
16978       # so weak that their functioning should not be impacted.
16979       am__obj=conftest.${OBJEXT-o}
16980       am__minus_obj=
16981       ;;
16982     none) break ;;
16983     esac
16984     if depmode=$depmode \
16985        source=sub/conftest.c object=$am__obj \
16986        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16987        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16988          >/dev/null 2>conftest.err &&
16989        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16990        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16991        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16992        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16993       # icc doesn't choke on unknown options, it will just issue warnings
16994       # or remarks (even with -Werror).  So we grep stderr for any message
16995       # that says an option was ignored or not supported.
16996       # When given -MP, icc 7.0 and 7.1 complain thusly:
16997       #   icc: Command line warning: ignoring option '-M'; no argument required
16998       # The diagnosis changed in icc 8.0:
16999       #   icc: Command line remark: option '-MP' not supported
17000       if (grep 'ignoring option' conftest.err ||
17001           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17002         am_cv_CXX_dependencies_compiler_type=$depmode
17003         break
17004       fi
17005     fi
17006   done
17007
17008   cd ..
17009   rm -rf conftest.dir
17010 else
17011   am_cv_CXX_dependencies_compiler_type=none
17012 fi
17013
17014 fi
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17016 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17017 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17018
17019  if
17020   test "x$enable_dependency_tracking" != xno \
17021   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17022   am__fastdepCXX_TRUE=
17023   am__fastdepCXX_FALSE='#'
17024 else
17025   am__fastdepCXX_TRUE='#'
17026   am__fastdepCXX_FALSE=
17027 fi
17028
17029
17030
17031 ac_ext=cpp
17032 ac_cpp='$CXXCPP $CPPFLAGS'
17033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17036 if test -z "$CXX"; then
17037   if test -n "$CCC"; then
17038     CXX=$CCC
17039   else
17040     if test -n "$ac_tool_prefix"; then
17041   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17042   do
17043     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17044 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17046 $as_echo_n "checking for $ac_word... " >&6; }
17047 if test "${ac_cv_prog_CXX+set}" = set; then :
17048   $as_echo_n "(cached) " >&6
17049 else
17050   if test -n "$CXX"; then
17051   ac_cv_prog_CXX="$CXX" # Let the user override the test.
17052 else
17053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17054 for as_dir in $PATH
17055 do
17056   IFS=$as_save_IFS
17057   test -z "$as_dir" && as_dir=.
17058     for ac_exec_ext in '' $ac_executable_extensions; do
17059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17060     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17062     break 2
17063   fi
17064 done
17065   done
17066 IFS=$as_save_IFS
17067
17068 fi
17069 fi
17070 CXX=$ac_cv_prog_CXX
17071 if test -n "$CXX"; then
17072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
17073 $as_echo "$CXX" >&6; }
17074 else
17075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17076 $as_echo "no" >&6; }
17077 fi
17078
17079
17080     test -n "$CXX" && break
17081   done
17082 fi
17083 if test -z "$CXX"; then
17084   ac_ct_CXX=$CXX
17085   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17086 do
17087   # Extract the first word of "$ac_prog", so it can be a program name with args.
17088 set dummy $ac_prog; ac_word=$2
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17090 $as_echo_n "checking for $ac_word... " >&6; }
17091 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
17092   $as_echo_n "(cached) " >&6
17093 else
17094   if test -n "$ac_ct_CXX"; then
17095   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17096 else
17097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17098 for as_dir in $PATH
17099 do
17100   IFS=$as_save_IFS
17101   test -z "$as_dir" && as_dir=.
17102     for ac_exec_ext in '' $ac_executable_extensions; do
17103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17104     ac_cv_prog_ac_ct_CXX="$ac_prog"
17105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17106     break 2
17107   fi
17108 done
17109   done
17110 IFS=$as_save_IFS
17111
17112 fi
17113 fi
17114 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17115 if test -n "$ac_ct_CXX"; then
17116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17117 $as_echo "$ac_ct_CXX" >&6; }
17118 else
17119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17120 $as_echo "no" >&6; }
17121 fi
17122
17123
17124   test -n "$ac_ct_CXX" && break
17125 done
17126
17127   if test "x$ac_ct_CXX" = x; then
17128     CXX="g++"
17129   else
17130     case $cross_compiling:$ac_tool_warned in
17131 yes:)
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17134 ac_tool_warned=yes ;;
17135 esac
17136     CXX=$ac_ct_CXX
17137   fi
17138 fi
17139
17140   fi
17141 fi
17142 # Provide some information about the compiler.
17143 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17144 set X $ac_compile
17145 ac_compiler=$2
17146 for ac_option in --version -v -V -qversion; do
17147   { { ac_try="$ac_compiler $ac_option >&5"
17148 case "(($ac_try" in
17149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17150   *) ac_try_echo=$ac_try;;
17151 esac
17152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17153 $as_echo "$ac_try_echo"; } >&5
17154   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17155   ac_status=$?
17156   if test -s conftest.err; then
17157     sed '10a\
17158 ... rest of stderr output deleted ...
17159          10q' conftest.err >conftest.er1
17160     cat conftest.er1 >&5
17161   fi
17162   rm -f conftest.er1 conftest.err
17163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17164   test $ac_status = 0; }
17165 done
17166
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17168 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17169 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
17170   $as_echo_n "(cached) " >&6
17171 else
17172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h.  */
17174
17175 int
17176 main ()
17177 {
17178 #ifndef __GNUC__
17179        choke me
17180 #endif
17181
17182   ;
17183   return 0;
17184 }
17185 _ACEOF
17186 if ac_fn_cxx_try_compile "$LINENO"; then :
17187   ac_compiler_gnu=yes
17188 else
17189   ac_compiler_gnu=no
17190 fi
17191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17193
17194 fi
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17196 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17197 if test $ac_compiler_gnu = yes; then
17198   GXX=yes
17199 else
17200   GXX=
17201 fi
17202 ac_test_CXXFLAGS=${CXXFLAGS+set}
17203 ac_save_CXXFLAGS=$CXXFLAGS
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17205 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17206 if test "${ac_cv_prog_cxx_g+set}" = set; then :
17207   $as_echo_n "(cached) " >&6
17208 else
17209   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17210    ac_cxx_werror_flag=yes
17211    ac_cv_prog_cxx_g=no
17212    CXXFLAGS="-g"
17213    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h.  */
17215
17216 int
17217 main ()
17218 {
17219
17220   ;
17221   return 0;
17222 }
17223 _ACEOF
17224 if ac_fn_cxx_try_compile "$LINENO"; then :
17225   ac_cv_prog_cxx_g=yes
17226 else
17227   CXXFLAGS=""
17228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h.  */
17230
17231 int
17232 main ()
17233 {
17234
17235   ;
17236   return 0;
17237 }
17238 _ACEOF
17239 if ac_fn_cxx_try_compile "$LINENO"; then :
17240
17241 else
17242   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17243          CXXFLAGS="-g"
17244          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h.  */
17246
17247 int
17248 main ()
17249 {
17250
17251   ;
17252   return 0;
17253 }
17254 _ACEOF
17255 if ac_fn_cxx_try_compile "$LINENO"; then :
17256   ac_cv_prog_cxx_g=yes
17257 fi
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17259 fi
17260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17261 fi
17262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17263    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17264 fi
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17266 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17267 if test "$ac_test_CXXFLAGS" = set; then
17268   CXXFLAGS=$ac_save_CXXFLAGS
17269 elif test $ac_cv_prog_cxx_g = yes; then
17270   if test "$GXX" = yes; then
17271     CXXFLAGS="-g -O2"
17272   else
17273     CXXFLAGS="-g"
17274   fi
17275 else
17276   if test "$GXX" = yes; then
17277     CXXFLAGS="-O2"
17278   else
17279     CXXFLAGS=
17280   fi
17281 fi
17282 ac_ext=c
17283 ac_cpp='$CPP $CPPFLAGS'
17284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17287
17288 depcc="$CXX"  am_compiler_list=
17289
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17291 $as_echo_n "checking dependency style of $depcc... " >&6; }
17292 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
17293   $as_echo_n "(cached) " >&6
17294 else
17295   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17296   # We make a subdir and do the tests there.  Otherwise we can end up
17297   # making bogus files that we don't know about and never remove.  For
17298   # instance it was reported that on HP-UX the gcc test will end up
17299   # making a dummy file named `D' -- because `-MD' means `put the output
17300   # in D'.
17301   mkdir conftest.dir
17302   # Copy depcomp to subdir because otherwise we won't find it if we're
17303   # using a relative directory.
17304   cp "$am_depcomp" conftest.dir
17305   cd conftest.dir
17306   # We will build objects and dependencies in a subdirectory because
17307   # it helps to detect inapplicable dependency modes.  For instance
17308   # both Tru64's cc and ICC support -MD to output dependencies as a
17309   # side effect of compilation, but ICC will put the dependencies in
17310   # the current directory while Tru64 will put them in the object
17311   # directory.
17312   mkdir sub
17313
17314   am_cv_CXX_dependencies_compiler_type=none
17315   if test "$am_compiler_list" = ""; then
17316      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17317   fi
17318   am__universal=false
17319   case " $depcc " in #(
17320      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17321      esac
17322
17323   for depmode in $am_compiler_list; do
17324     # Setup a source with many dependencies, because some compilers
17325     # like to wrap large dependency lists on column 80 (with \), and
17326     # we should not choose a depcomp mode which is confused by this.
17327     #
17328     # We need to recreate these files for each test, as the compiler may
17329     # overwrite some of them when testing with obscure command lines.
17330     # This happens at least with the AIX C compiler.
17331     : > sub/conftest.c
17332     for i in 1 2 3 4 5 6; do
17333       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17334       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17335       # Solaris 8's {/usr,}/bin/sh.
17336       touch sub/conftst$i.h
17337     done
17338     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17339
17340     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17341     # mode.  It turns out that the SunPro C++ compiler does not properly
17342     # handle `-M -o', and we need to detect this.  Also, some Intel
17343     # versions had trouble with output in subdirs
17344     am__obj=sub/conftest.${OBJEXT-o}
17345     am__minus_obj="-o $am__obj"
17346     case $depmode in
17347     gcc)
17348       # This depmode causes a compiler race in universal mode.
17349       test "$am__universal" = false || continue
17350       ;;
17351     nosideeffect)
17352       # after this tag, mechanisms are not by side-effect, so they'll
17353       # only be used when explicitly requested
17354       if test "x$enable_dependency_tracking" = xyes; then
17355         continue
17356       else
17357         break
17358       fi
17359       ;;
17360     msvisualcpp | msvcmsys)
17361       # This compiler won't grok `-c -o', but also, the minuso test has
17362       # not run yet.  These depmodes are late enough in the game, and
17363       # so weak that their functioning should not be impacted.
17364       am__obj=conftest.${OBJEXT-o}
17365       am__minus_obj=
17366       ;;
17367     none) break ;;
17368     esac
17369     if depmode=$depmode \
17370        source=sub/conftest.c object=$am__obj \
17371        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17372        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17373          >/dev/null 2>conftest.err &&
17374        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17375        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17376        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17377        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17378       # icc doesn't choke on unknown options, it will just issue warnings
17379       # or remarks (even with -Werror).  So we grep stderr for any message
17380       # that says an option was ignored or not supported.
17381       # When given -MP, icc 7.0 and 7.1 complain thusly:
17382       #   icc: Command line warning: ignoring option '-M'; no argument required
17383       # The diagnosis changed in icc 8.0:
17384       #   icc: Command line remark: option '-MP' not supported
17385       if (grep 'ignoring option' conftest.err ||
17386           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17387         am_cv_CXX_dependencies_compiler_type=$depmode
17388         break
17389       fi
17390     fi
17391   done
17392
17393   cd ..
17394   rm -rf conftest.dir
17395 else
17396   am_cv_CXX_dependencies_compiler_type=none
17397 fi
17398
17399 fi
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17401 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17402 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17403
17404  if
17405   test "x$enable_dependency_tracking" != xno \
17406   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17407   am__fastdepCXX_TRUE=
17408   am__fastdepCXX_FALSE='#'
17409 else
17410   am__fastdepCXX_TRUE='#'
17411   am__fastdepCXX_FALSE=
17412 fi
17413
17414
17415 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17416     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17417     (test "X$CXX" != "Xg++"))) ; then
17418   ac_ext=cpp
17419 ac_cpp='$CXXCPP $CPPFLAGS'
17420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17424 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17425 if test -z "$CXXCPP"; then
17426   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
17427   $as_echo_n "(cached) " >&6
17428 else
17429       # Double quotes because CXXCPP needs to be expanded
17430     for CXXCPP in "$CXX -E" "/lib/cpp"
17431     do
17432       ac_preproc_ok=false
17433 for ac_cxx_preproc_warn_flag in '' yes
17434 do
17435   # Use a header file that comes with gcc, so configuring glibc
17436   # with a fresh cross-compiler works.
17437   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17438   # <limits.h> exists even on freestanding compilers.
17439   # On the NeXT, cc -E runs the code through the compiler's parser,
17440   # not just through cpp. "Syntax error" is here to catch this case.
17441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h.  */
17443 #ifdef __STDC__
17444 # include <limits.h>
17445 #else
17446 # include <assert.h>
17447 #endif
17448                      Syntax error
17449 _ACEOF
17450 if ac_fn_cxx_try_cpp "$LINENO"; then :
17451
17452 else
17453   # Broken: fails on valid input.
17454 continue
17455 fi
17456 rm -f conftest.err conftest.i conftest.$ac_ext
17457
17458   # OK, works on sane cases.  Now check whether nonexistent headers
17459   # can be detected and how.
17460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h.  */
17462 #include <ac_nonexistent.h>
17463 _ACEOF
17464 if ac_fn_cxx_try_cpp "$LINENO"; then :
17465   # Broken: success on invalid input.
17466 continue
17467 else
17468   # Passes both tests.
17469 ac_preproc_ok=:
17470 break
17471 fi
17472 rm -f conftest.err conftest.i conftest.$ac_ext
17473
17474 done
17475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17476 rm -f conftest.i conftest.err conftest.$ac_ext
17477 if $ac_preproc_ok; then :
17478   break
17479 fi
17480
17481     done
17482     ac_cv_prog_CXXCPP=$CXXCPP
17483
17484 fi
17485   CXXCPP=$ac_cv_prog_CXXCPP
17486 else
17487   ac_cv_prog_CXXCPP=$CXXCPP
17488 fi
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17490 $as_echo "$CXXCPP" >&6; }
17491 ac_preproc_ok=false
17492 for ac_cxx_preproc_warn_flag in '' yes
17493 do
17494   # Use a header file that comes with gcc, so configuring glibc
17495   # with a fresh cross-compiler works.
17496   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17497   # <limits.h> exists even on freestanding compilers.
17498   # On the NeXT, cc -E runs the code through the compiler's parser,
17499   # not just through cpp. "Syntax error" is here to catch this case.
17500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h.  */
17502 #ifdef __STDC__
17503 # include <limits.h>
17504 #else
17505 # include <assert.h>
17506 #endif
17507                      Syntax error
17508 _ACEOF
17509 if ac_fn_cxx_try_cpp "$LINENO"; then :
17510
17511 else
17512   # Broken: fails on valid input.
17513 continue
17514 fi
17515 rm -f conftest.err conftest.i conftest.$ac_ext
17516
17517   # OK, works on sane cases.  Now check whether nonexistent headers
17518   # can be detected and how.
17519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h.  */
17521 #include <ac_nonexistent.h>
17522 _ACEOF
17523 if ac_fn_cxx_try_cpp "$LINENO"; then :
17524   # Broken: success on invalid input.
17525 continue
17526 else
17527   # Passes both tests.
17528 ac_preproc_ok=:
17529 break
17530 fi
17531 rm -f conftest.err conftest.i conftest.$ac_ext
17532
17533 done
17534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17535 rm -f conftest.i conftest.err conftest.$ac_ext
17536 if $ac_preproc_ok; then :
17537
17538 else
17539   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17541 _lt_caught_CXX_error=yes; }
17542 fi
17543
17544 ac_ext=c
17545 ac_cpp='$CPP $CPPFLAGS'
17546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17549
17550 else
17551   _lt_caught_CXX_error=yes
17552 fi
17553
17554
17555
17556
17557 ac_ext=cpp
17558 ac_cpp='$CXXCPP $CPPFLAGS'
17559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17562
17563 archive_cmds_need_lc_CXX=no
17564 allow_undefined_flag_CXX=
17565 always_export_symbols_CXX=no
17566 archive_expsym_cmds_CXX=
17567 compiler_needs_object_CXX=no
17568 export_dynamic_flag_spec_CXX=
17569 hardcode_direct_CXX=no
17570 hardcode_direct_absolute_CXX=no
17571 hardcode_libdir_flag_spec_CXX=
17572 hardcode_libdir_flag_spec_ld_CXX=
17573 hardcode_libdir_separator_CXX=
17574 hardcode_minus_L_CXX=no
17575 hardcode_shlibpath_var_CXX=unsupported
17576 hardcode_automatic_CXX=no
17577 inherit_rpath_CXX=no
17578 module_cmds_CXX=
17579 module_expsym_cmds_CXX=
17580 link_all_deplibs_CXX=unknown
17581 old_archive_cmds_CXX=$old_archive_cmds
17582 no_undefined_flag_CXX=
17583 whole_archive_flag_spec_CXX=
17584 enable_shared_with_static_runtimes_CXX=no
17585
17586 # Source file extension for C++ test sources.
17587 ac_ext=cpp
17588
17589 # Object file extension for compiled C++ test sources.
17590 objext=o
17591 objext_CXX=$objext
17592
17593 # No sense in running all these tests if we already determined that
17594 # the CXX compiler isn't working.  Some variables (like enable_shared)
17595 # are currently assumed to apply to all compilers on this platform,
17596 # and will be corrupted by setting them based on a non-working compiler.
17597 if test "$_lt_caught_CXX_error" != yes; then
17598   # Code to be used in simple compile tests
17599   lt_simple_compile_test_code="int some_variable = 0;"
17600
17601   # Code to be used in simple link tests
17602   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17603
17604   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17605
17606
17607
17608
17609
17610
17611 # If no C compiler was specified, use CC.
17612 LTCC=${LTCC-"$CC"}
17613
17614 # If no C compiler flags were specified, use CFLAGS.
17615 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17616
17617 # Allow CC to be a program name with arguments.
17618 compiler=$CC
17619
17620
17621   # save warnings/boilerplate of simple test code
17622   ac_outfile=conftest.$ac_objext
17623 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17624 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17625 _lt_compiler_boilerplate=`cat conftest.err`
17626 $RM conftest*
17627
17628   ac_outfile=conftest.$ac_objext
17629 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17630 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17631 _lt_linker_boilerplate=`cat conftest.err`
17632 $RM -r conftest*
17633
17634
17635   # Allow CC to be a program name with arguments.
17636   lt_save_CC=$CC
17637   lt_save_LD=$LD
17638   lt_save_GCC=$GCC
17639   GCC=$GXX
17640   lt_save_with_gnu_ld=$with_gnu_ld
17641   lt_save_path_LD=$lt_cv_path_LD
17642   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17643     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17644   else
17645     $as_unset lt_cv_prog_gnu_ld
17646   fi
17647   if test -n "${lt_cv_path_LDCXX+set}"; then
17648     lt_cv_path_LD=$lt_cv_path_LDCXX
17649   else
17650     $as_unset lt_cv_path_LD
17651   fi
17652   test -z "${LDCXX+set}" || LD=$LDCXX
17653   CC=${CXX-"c++"}
17654   compiler=$CC
17655   compiler_CXX=$CC
17656   for cc_temp in $compiler""; do
17657   case $cc_temp in
17658     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17659     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17660     \-*) ;;
17661     *) break;;
17662   esac
17663 done
17664 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17665
17666
17667   if test -n "$compiler"; then
17668     # We don't want -fno-exception when compiling C++ code, so set the
17669     # no_builtin_flag separately
17670     if test "$GXX" = yes; then
17671       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17672     else
17673       lt_prog_compiler_no_builtin_flag_CXX=
17674     fi
17675
17676     if test "$GXX" = yes; then
17677       # Set up default GNU C++ configuration
17678
17679
17680
17681 # Check whether --with-gnu-ld was given.
17682 if test "${with_gnu_ld+set}" = set; then :
17683   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17684 else
17685   with_gnu_ld=no
17686 fi
17687
17688 ac_prog=ld
17689 if test "$GCC" = yes; then
17690   # Check if gcc -print-prog-name=ld gives a path.
17691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17692 $as_echo_n "checking for ld used by $CC... " >&6; }
17693   case $host in
17694   *-*-mingw*)
17695     # gcc leaves a trailing carriage return which upsets mingw
17696     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17697   *)
17698     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17699   esac
17700   case $ac_prog in
17701     # Accept absolute paths.
17702     [\\/]* | ?:[\\/]*)
17703       re_direlt='/[^/][^/]*/\.\./'
17704       # Canonicalize the pathname of ld
17705       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17706       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17707         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17708       done
17709       test -z "$LD" && LD="$ac_prog"
17710       ;;
17711   "")
17712     # If it fails, then pretend we aren't using GCC.
17713     ac_prog=ld
17714     ;;
17715   *)
17716     # If it is relative, then search for the first ld in PATH.
17717     with_gnu_ld=unknown
17718     ;;
17719   esac
17720 elif test "$with_gnu_ld" = yes; then
17721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17722 $as_echo_n "checking for GNU ld... " >&6; }
17723 else
17724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17725 $as_echo_n "checking for non-GNU ld... " >&6; }
17726 fi
17727 if test "${lt_cv_path_LD+set}" = set; then :
17728   $as_echo_n "(cached) " >&6
17729 else
17730   if test -z "$LD"; then
17731   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17732   for ac_dir in $PATH; do
17733     IFS="$lt_save_ifs"
17734     test -z "$ac_dir" && ac_dir=.
17735     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17736       lt_cv_path_LD="$ac_dir/$ac_prog"
17737       # Check to see if the program is GNU ld.  I'd rather use --version,
17738       # but apparently some variants of GNU ld only accept -v.
17739       # Break only if it was the GNU/non-GNU ld that we prefer.
17740       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17741       *GNU* | *'with BFD'*)
17742         test "$with_gnu_ld" != no && break
17743         ;;
17744       *)
17745         test "$with_gnu_ld" != yes && break
17746         ;;
17747       esac
17748     fi
17749   done
17750   IFS="$lt_save_ifs"
17751 else
17752   lt_cv_path_LD="$LD" # Let the user override the test with a path.
17753 fi
17754 fi
17755
17756 LD="$lt_cv_path_LD"
17757 if test -n "$LD"; then
17758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17759 $as_echo "$LD" >&6; }
17760 else
17761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17762 $as_echo "no" >&6; }
17763 fi
17764 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17766 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17767 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
17768   $as_echo_n "(cached) " >&6
17769 else
17770   # I'd rather use --version here, but apparently some GNU lds only accept -v.
17771 case `$LD -v 2>&1 </dev/null` in
17772 *GNU* | *'with BFD'*)
17773   lt_cv_prog_gnu_ld=yes
17774   ;;
17775 *)
17776   lt_cv_prog_gnu_ld=no
17777   ;;
17778 esac
17779 fi
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17781 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17782 with_gnu_ld=$lt_cv_prog_gnu_ld
17783
17784
17785
17786
17787
17788
17789
17790       # Check if GNU C++ uses GNU ld as the underlying linker, since the
17791       # archiving commands below assume that GNU ld is being used.
17792       if test "$with_gnu_ld" = yes; then
17793         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17794         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17795
17796         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17797         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17798
17799         # If archive_cmds runs LD, not CC, wlarc should be empty
17800         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17801         #     investigate it a little bit more. (MM)
17802         wlarc='${wl}'
17803
17804         # ancient GNU ld didn't support --whole-archive et. al.
17805         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17806           $GREP 'no-whole-archive' > /dev/null; then
17807           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17808         else
17809           whole_archive_flag_spec_CXX=
17810         fi
17811       else
17812         with_gnu_ld=no
17813         wlarc=
17814
17815         # A generic and very simple default shared library creation
17816         # command for GNU C++ for the case where it uses the native
17817         # linker, instead of GNU ld.  If possible, this setting should
17818         # overridden to take advantage of the native linker features on
17819         # the platform it is being used on.
17820         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17821       fi
17822
17823       # Commands to make compiler produce verbose output that lists
17824       # what "hidden" libraries, object files and flags are used when
17825       # linking a shared library.
17826       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17827
17828     else
17829       GXX=no
17830       with_gnu_ld=no
17831       wlarc=
17832     fi
17833
17834     # PORTME: fill in a description of your system's C++ link characteristics
17835     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17836 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17837     ld_shlibs_CXX=yes
17838     case $host_os in
17839       aix3*)
17840         # FIXME: insert proper C++ library support
17841         ld_shlibs_CXX=no
17842         ;;
17843       aix[4-9]*)
17844         if test "$host_cpu" = ia64; then
17845           # On IA64, the linker does run time linking by default, so we don't
17846           # have to do anything special.
17847           aix_use_runtimelinking=no
17848           exp_sym_flag='-Bexport'
17849           no_entry_flag=""
17850         else
17851           aix_use_runtimelinking=no
17852
17853           # Test if we are trying to use run time linking or normal
17854           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17855           # need to do runtime linking.
17856           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17857             for ld_flag in $LDFLAGS; do
17858               case $ld_flag in
17859               *-brtl*)
17860                 aix_use_runtimelinking=yes
17861                 break
17862                 ;;
17863               esac
17864             done
17865             ;;
17866           esac
17867
17868           exp_sym_flag='-bexport'
17869           no_entry_flag='-bnoentry'
17870         fi
17871
17872         # When large executables or shared objects are built, AIX ld can
17873         # have problems creating the table of contents.  If linking a library
17874         # or program results in "error TOC overflow" add -mminimal-toc to
17875         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17876         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17877
17878         archive_cmds_CXX=''
17879         hardcode_direct_CXX=yes
17880         hardcode_direct_absolute_CXX=yes
17881         hardcode_libdir_separator_CXX=':'
17882         link_all_deplibs_CXX=yes
17883         file_list_spec_CXX='${wl}-f,'
17884
17885         if test "$GXX" = yes; then
17886           case $host_os in aix4.[012]|aix4.[012].*)
17887           # We only want to do this on AIX 4.2 and lower, the check
17888           # below for broken collect2 doesn't work under 4.3+
17889           collect2name=`${CC} -print-prog-name=collect2`
17890           if test -f "$collect2name" &&
17891              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17892           then
17893             # We have reworked collect2
17894             :
17895           else
17896             # We have old collect2
17897             hardcode_direct_CXX=unsupported
17898             # It fails to find uninstalled libraries when the uninstalled
17899             # path is not listed in the libpath.  Setting hardcode_minus_L
17900             # to unsupported forces relinking
17901             hardcode_minus_L_CXX=yes
17902             hardcode_libdir_flag_spec_CXX='-L$libdir'
17903             hardcode_libdir_separator_CXX=
17904           fi
17905           esac
17906           shared_flag='-shared'
17907           if test "$aix_use_runtimelinking" = yes; then
17908             shared_flag="$shared_flag "'${wl}-G'
17909           fi
17910         else
17911           # not using gcc
17912           if test "$host_cpu" = ia64; then
17913           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17914           # chokes on -Wl,-G. The following line is correct:
17915           shared_flag='-G'
17916           else
17917             if test "$aix_use_runtimelinking" = yes; then
17918               shared_flag='${wl}-G'
17919             else
17920               shared_flag='${wl}-bM:SRE'
17921             fi
17922           fi
17923         fi
17924
17925         export_dynamic_flag_spec_CXX='${wl}-bexpall'
17926         # It seems that -bexpall does not export symbols beginning with
17927         # underscore (_), so it is better to generate a list of symbols to
17928         # export.
17929         always_export_symbols_CXX=yes
17930         if test "$aix_use_runtimelinking" = yes; then
17931           # Warning - without using the other runtime loading flags (-brtl),
17932           # -berok will link without error, but may produce a broken library.
17933           allow_undefined_flag_CXX='-berok'
17934           # Determine the default libpath from the value encoded in an empty
17935           # executable.
17936           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h.  */
17938
17939 int
17940 main ()
17941 {
17942
17943   ;
17944   return 0;
17945 }
17946 _ACEOF
17947 if ac_fn_cxx_try_link "$LINENO"; then :
17948
17949 lt_aix_libpath_sed='
17950     /Import File Strings/,/^$/ {
17951         /^0/ {
17952             s/^0  *\(.*\)$/\1/
17953             p
17954         }
17955     }'
17956 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17957 # Check for a 64-bit object if we didn't find anything.
17958 if test -z "$aix_libpath"; then
17959   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17960 fi
17961 fi
17962 rm -f core conftest.err conftest.$ac_objext \
17963     conftest$ac_exeext conftest.$ac_ext
17964 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17965
17966           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17967
17968           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17969         else
17970           if test "$host_cpu" = ia64; then
17971             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17972             allow_undefined_flag_CXX="-z nodefs"
17973             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17974           else
17975             # Determine the default libpath from the value encoded in an
17976             # empty executable.
17977             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h.  */
17979
17980 int
17981 main ()
17982 {
17983
17984   ;
17985   return 0;
17986 }
17987 _ACEOF
17988 if ac_fn_cxx_try_link "$LINENO"; then :
17989
17990 lt_aix_libpath_sed='
17991     /Import File Strings/,/^$/ {
17992         /^0/ {
17993             s/^0  *\(.*\)$/\1/
17994             p
17995         }
17996     }'
17997 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17998 # Check for a 64-bit object if we didn't find anything.
17999 if test -z "$aix_libpath"; then
18000   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18001 fi
18002 fi
18003 rm -f core conftest.err conftest.$ac_objext \
18004     conftest$ac_exeext conftest.$ac_ext
18005 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18006
18007             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18008             # Warning - without using the other run time loading flags,
18009             # -berok will link without error, but may produce a broken library.
18010             no_undefined_flag_CXX=' ${wl}-bernotok'
18011             allow_undefined_flag_CXX=' ${wl}-berok'
18012             # Exported symbols can be pulled into shared objects from archives
18013             whole_archive_flag_spec_CXX='$convenience'
18014             archive_cmds_need_lc_CXX=yes
18015             # This is similar to how AIX traditionally builds its shared
18016             # libraries.
18017             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18018           fi
18019         fi
18020         ;;
18021
18022       beos*)
18023         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18024           allow_undefined_flag_CXX=unsupported
18025           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18026           # support --undefined.  This deserves some investigation.  FIXME
18027           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18028         else
18029           ld_shlibs_CXX=no
18030         fi
18031         ;;
18032
18033       chorus*)
18034         case $cc_basename in
18035           *)
18036           # FIXME: insert proper C++ library support
18037           ld_shlibs_CXX=no
18038           ;;
18039         esac
18040         ;;
18041
18042       cygwin* | mingw* | pw32* | cegcc*)
18043         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18044         # as there is no search path for DLLs.
18045         hardcode_libdir_flag_spec_CXX='-L$libdir'
18046         allow_undefined_flag_CXX=unsupported
18047         always_export_symbols_CXX=no
18048         enable_shared_with_static_runtimes_CXX=yes
18049
18050         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18051           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18052           # If the export-symbols file already is a .def file (1st line
18053           # is EXPORTS), use it as is; otherwise, prepend...
18054           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18055             cp $export_symbols $output_objdir/$soname.def;
18056           else
18057             echo EXPORTS > $output_objdir/$soname.def;
18058             cat $export_symbols >> $output_objdir/$soname.def;
18059           fi~
18060           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18061         else
18062           ld_shlibs_CXX=no
18063         fi
18064         ;;
18065       darwin* | rhapsody*)
18066
18067
18068   archive_cmds_need_lc_CXX=no
18069   hardcode_direct_CXX=no
18070   hardcode_automatic_CXX=yes
18071   hardcode_shlibpath_var_CXX=unsupported
18072   whole_archive_flag_spec_CXX=''
18073   link_all_deplibs_CXX=yes
18074   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18075   case $cc_basename in
18076      ifort*) _lt_dar_can_shared=yes ;;
18077      *) _lt_dar_can_shared=$GCC ;;
18078   esac
18079   if test "$_lt_dar_can_shared" = "yes"; then
18080     output_verbose_link_cmd=echo
18081     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18082     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18083     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18084     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18085        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18086       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
18087       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
18088     fi
18089
18090   else
18091   ld_shlibs_CXX=no
18092   fi
18093
18094         ;;
18095
18096       dgux*)
18097         case $cc_basename in
18098           ec++*)
18099             # FIXME: insert proper C++ library support
18100             ld_shlibs_CXX=no
18101             ;;
18102           ghcx*)
18103             # Green Hills C++ Compiler
18104             # FIXME: insert proper C++ library support
18105             ld_shlibs_CXX=no
18106             ;;
18107           *)
18108             # FIXME: insert proper C++ library support
18109             ld_shlibs_CXX=no
18110             ;;
18111         esac
18112         ;;
18113
18114       freebsd[12]*)
18115         # C++ shared libraries reported to be fairly broken before
18116         # switch to ELF
18117         ld_shlibs_CXX=no
18118         ;;
18119
18120       freebsd-elf*)
18121         archive_cmds_need_lc_CXX=no
18122         ;;
18123
18124       freebsd* | dragonfly*)
18125         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18126         # conventions
18127         ld_shlibs_CXX=yes
18128         ;;
18129
18130       gnu*)
18131         ;;
18132
18133       hpux9*)
18134         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18135         hardcode_libdir_separator_CXX=:
18136         export_dynamic_flag_spec_CXX='${wl}-E'
18137         hardcode_direct_CXX=yes
18138         hardcode_minus_L_CXX=yes # Not in the search PATH,
18139                                              # but as the default
18140                                              # location of the library.
18141
18142         case $cc_basename in
18143           CC*)
18144             # FIXME: insert proper C++ library support
18145             ld_shlibs_CXX=no
18146             ;;
18147           aCC*)
18148             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18149             # Commands to make compiler produce verbose output that lists
18150             # what "hidden" libraries, object files and flags are used when
18151             # linking a shared library.
18152             #
18153             # There doesn't appear to be a way to prevent this compiler from
18154             # explicitly linking system object files so we need to strip them
18155             # from the output so that they don't get included in the library
18156             # dependencies.
18157             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18158             ;;
18159           *)
18160             if test "$GXX" = yes; then
18161               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18162             else
18163               # FIXME: insert proper C++ library support
18164               ld_shlibs_CXX=no
18165             fi
18166             ;;
18167         esac
18168         ;;
18169
18170       hpux10*|hpux11*)
18171         if test $with_gnu_ld = no; then
18172           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18173           hardcode_libdir_separator_CXX=:
18174
18175           case $host_cpu in
18176             hppa*64*|ia64*)
18177               ;;
18178             *)
18179               export_dynamic_flag_spec_CXX='${wl}-E'
18180               ;;
18181           esac
18182         fi
18183         case $host_cpu in
18184           hppa*64*|ia64*)
18185             hardcode_direct_CXX=no
18186             hardcode_shlibpath_var_CXX=no
18187             ;;
18188           *)
18189             hardcode_direct_CXX=yes
18190             hardcode_direct_absolute_CXX=yes
18191             hardcode_minus_L_CXX=yes # Not in the search PATH,
18192                                                  # but as the default
18193                                                  # location of the library.
18194             ;;
18195         esac
18196
18197         case $cc_basename in
18198           CC*)
18199             # FIXME: insert proper C++ library support
18200             ld_shlibs_CXX=no
18201             ;;
18202           aCC*)
18203             case $host_cpu in
18204               hppa*64*)
18205                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18206                 ;;
18207               ia64*)
18208                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18209                 ;;
18210               *)
18211                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18212                 ;;
18213             esac
18214             # Commands to make compiler produce verbose output that lists
18215             # what "hidden" libraries, object files and flags are used when
18216             # linking a shared library.
18217             #
18218             # There doesn't appear to be a way to prevent this compiler from
18219             # explicitly linking system object files so we need to strip them
18220             # from the output so that they don't get included in the library
18221             # dependencies.
18222             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18223             ;;
18224           *)
18225             if test "$GXX" = yes; then
18226               if test $with_gnu_ld = no; then
18227                 case $host_cpu in
18228                   hppa*64*)
18229                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18230                     ;;
18231                   ia64*)
18232                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18233                     ;;
18234                   *)
18235                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18236                     ;;
18237                 esac
18238               fi
18239             else
18240               # FIXME: insert proper C++ library support
18241               ld_shlibs_CXX=no
18242             fi
18243             ;;
18244         esac
18245         ;;
18246
18247       interix[3-9]*)
18248         hardcode_direct_CXX=no
18249         hardcode_shlibpath_var_CXX=no
18250         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18251         export_dynamic_flag_spec_CXX='${wl}-E'
18252         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18253         # Instead, shared libraries are loaded at an image base (0x10000000 by
18254         # default) and relocated if they conflict, which is a slow very memory
18255         # consuming and fragmenting process.  To avoid this, we pick a random,
18256         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18257         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18258         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18259         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18260         ;;
18261       irix5* | irix6*)
18262         case $cc_basename in
18263           CC*)
18264             # SGI C++
18265             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18266
18267             # Archives containing C++ object files must be created using
18268             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
18269             # necessary to make sure instantiated templates are included
18270             # in the archive.
18271             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18272             ;;
18273           *)
18274             if test "$GXX" = yes; then
18275               if test "$with_gnu_ld" = no; then
18276                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
18277               else
18278                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
18279               fi
18280             fi
18281             link_all_deplibs_CXX=yes
18282             ;;
18283         esac
18284         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18285         hardcode_libdir_separator_CXX=:
18286         inherit_rpath_CXX=yes
18287         ;;
18288
18289       linux* | k*bsd*-gnu | kopensolaris*-gnu)
18290         case $cc_basename in
18291           KCC*)
18292             # Kuck and Associates, Inc. (KAI) C++ Compiler
18293
18294             # KCC will only create a shared library if the output file
18295             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18296             # to its proper name (with version) after linking.
18297             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18298             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
18299             # Commands to make compiler produce verbose output that lists
18300             # what "hidden" libraries, object files and flags are used when
18301             # linking a shared library.
18302             #
18303             # There doesn't appear to be a way to prevent this compiler from
18304             # explicitly linking system object files so we need to strip them
18305             # from the output so that they don't get included in the library
18306             # dependencies.
18307             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18308
18309             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18310             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18311
18312             # Archives containing C++ object files must be created using
18313             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18314             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18315             ;;
18316           icpc* | ecpc* )
18317             # Intel C++
18318             with_gnu_ld=yes
18319             # version 8.0 and above of icpc choke on multiply defined symbols
18320             # if we add $predep_objects and $postdep_objects, however 7.1 and
18321             # earlier do not add the objects themselves.
18322             case `$CC -V 2>&1` in
18323               *"Version 7."*)
18324                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18325                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18326                 ;;
18327               *)  # Version 8.0 or newer
18328                 tmp_idyn=
18329                 case $host_cpu in
18330                   ia64*) tmp_idyn=' -i_dynamic';;
18331                 esac
18332                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18333                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18334                 ;;
18335             esac
18336             archive_cmds_need_lc_CXX=no
18337             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18338             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18339             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18340             ;;
18341           pgCC* | pgcpp*)
18342             # Portland Group C++ compiler
18343             case `$CC -V` in
18344             *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
18345               prelink_cmds_CXX='tpldir=Template.dir~
18346                 rm -rf $tpldir~
18347                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18348                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
18349               old_archive_cmds_CXX='tpldir=Template.dir~
18350                 rm -rf $tpldir~
18351                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18352                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
18353                 $RANLIB $oldlib'
18354               archive_cmds_CXX='tpldir=Template.dir~
18355                 rm -rf $tpldir~
18356                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18357                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18358               archive_expsym_cmds_CXX='tpldir=Template.dir~
18359                 rm -rf $tpldir~
18360                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18361                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18362               ;;
18363             *) # Version 6 will use weak symbols
18364               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18365               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18366               ;;
18367             esac
18368
18369             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18370             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18371             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
18372             ;;
18373           cxx*)
18374             # Compaq C++
18375             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18376             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
18377
18378             runpath_var=LD_RUN_PATH
18379             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18380             hardcode_libdir_separator_CXX=:
18381
18382             # Commands to make compiler produce verbose output that lists
18383             # what "hidden" libraries, object files and flags are used when
18384             # linking a shared library.
18385             #
18386             # There doesn't appear to be a way to prevent this compiler from
18387             # explicitly linking system object files so we need to strip them
18388             # from the output so that they don't get included in the library
18389             # dependencies.
18390             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18391             ;;
18392           xl*)
18393             # IBM XL 8.0 on PPC, with GNU ld
18394             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18395             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18396             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18397             if test "x$supports_anon_versioning" = xyes; then
18398               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18399                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18400                 echo "local: *; };" >> $output_objdir/$libname.ver~
18401                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18402             fi
18403             ;;
18404           *)
18405             case `$CC -V 2>&1 | sed 5q` in
18406             *Sun\ C*)
18407               # Sun C++ 5.9
18408               no_undefined_flag_CXX=' -zdefs'
18409               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18410               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
18411               hardcode_libdir_flag_spec_CXX='-R$libdir'
18412               whole_archive_flag_spec_CXX='${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'
18413               compiler_needs_object_CXX=yes
18414
18415               # Not sure whether something based on
18416               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18417               # would be better.
18418               output_verbose_link_cmd='echo'
18419
18420               # Archives containing C++ object files must be created using
18421               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18422               # necessary to make sure instantiated templates are included
18423               # in the archive.
18424               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18425               ;;
18426             esac
18427             ;;
18428         esac
18429         ;;
18430
18431       lynxos*)
18432         # FIXME: insert proper C++ library support
18433         ld_shlibs_CXX=no
18434         ;;
18435
18436       m88k*)
18437         # FIXME: insert proper C++ library support
18438         ld_shlibs_CXX=no
18439         ;;
18440
18441       mvs*)
18442         case $cc_basename in
18443           cxx*)
18444             # FIXME: insert proper C++ library support
18445             ld_shlibs_CXX=no
18446             ;;
18447           *)
18448             # FIXME: insert proper C++ library support
18449             ld_shlibs_CXX=no
18450             ;;
18451         esac
18452         ;;
18453
18454       netbsd*)
18455         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18456           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18457           wlarc=
18458           hardcode_libdir_flag_spec_CXX='-R$libdir'
18459           hardcode_direct_CXX=yes
18460           hardcode_shlibpath_var_CXX=no
18461         fi
18462         # Workaround some broken pre-1.5 toolchains
18463         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18464         ;;
18465
18466       *nto* | *qnx*)
18467         ld_shlibs_CXX=yes
18468         ;;
18469
18470       openbsd2*)
18471         # C++ shared libraries are fairly broken
18472         ld_shlibs_CXX=no
18473         ;;
18474
18475       openbsd*)
18476         if test -f /usr/libexec/ld.so; then
18477           hardcode_direct_CXX=yes
18478           hardcode_shlibpath_var_CXX=no
18479           hardcode_direct_absolute_CXX=yes
18480           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18481           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18482           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18483             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18484             export_dynamic_flag_spec_CXX='${wl}-E'
18485             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18486           fi
18487           output_verbose_link_cmd=echo
18488         else
18489           ld_shlibs_CXX=no
18490         fi
18491         ;;
18492
18493       osf3* | osf4* | osf5*)
18494         case $cc_basename in
18495           KCC*)
18496             # Kuck and Associates, Inc. (KAI) C++ Compiler
18497
18498             # KCC will only create a shared library if the output file
18499             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18500             # to its proper name (with version) after linking.
18501             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18502
18503             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18504             hardcode_libdir_separator_CXX=:
18505
18506             # Archives containing C++ object files must be created using
18507             # the KAI C++ compiler.
18508             case $host in
18509               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18510               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18511             esac
18512             ;;
18513           RCC*)
18514             # Rational C++ 2.4.1
18515             # FIXME: insert proper C++ library support
18516             ld_shlibs_CXX=no
18517             ;;
18518           cxx*)
18519             case $host in
18520               osf3*)
18521                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18522                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18523                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18524                 ;;
18525               *)
18526                 allow_undefined_flag_CXX=' -expect_unresolved \*'
18527                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18528                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18529                   echo "-hidden">> $lib.exp~
18530                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
18531                   $RM $lib.exp'
18532                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18533                 ;;
18534             esac
18535
18536             hardcode_libdir_separator_CXX=:
18537
18538             # Commands to make compiler produce verbose output that lists
18539             # what "hidden" libraries, object files and flags are used when
18540             # linking a shared library.
18541             #
18542             # There doesn't appear to be a way to prevent this compiler from
18543             # explicitly linking system object files so we need to strip them
18544             # from the output so that they don't get included in the library
18545             # dependencies.
18546             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18547             ;;
18548           *)
18549             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18550               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18551               case $host in
18552                 osf3*)
18553                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
18554                   ;;
18555                 *)
18556                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18557                   ;;
18558               esac
18559
18560               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18561               hardcode_libdir_separator_CXX=:
18562
18563               # Commands to make compiler produce verbose output that lists
18564               # what "hidden" libraries, object files and flags are used when
18565               # linking a shared library.
18566               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18567
18568             else
18569               # FIXME: insert proper C++ library support
18570               ld_shlibs_CXX=no
18571             fi
18572             ;;
18573         esac
18574         ;;
18575
18576       psos*)
18577         # FIXME: insert proper C++ library support
18578         ld_shlibs_CXX=no
18579         ;;
18580
18581       sunos4*)
18582         case $cc_basename in
18583           CC*)
18584             # Sun C++ 4.x
18585             # FIXME: insert proper C++ library support
18586             ld_shlibs_CXX=no
18587             ;;
18588           lcc*)
18589             # Lucid
18590             # FIXME: insert proper C++ library support
18591             ld_shlibs_CXX=no
18592             ;;
18593           *)
18594             # FIXME: insert proper C++ library support
18595             ld_shlibs_CXX=no
18596             ;;
18597         esac
18598         ;;
18599
18600       solaris*)
18601         case $cc_basename in
18602           CC*)
18603             # Sun C++ 4.2, 5.x and Centerline C++
18604             archive_cmds_need_lc_CXX=yes
18605             no_undefined_flag_CXX=' -zdefs'
18606             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18607             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18608               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18609
18610             hardcode_libdir_flag_spec_CXX='-R$libdir'
18611             hardcode_shlibpath_var_CXX=no
18612             case $host_os in
18613               solaris2.[0-5] | solaris2.[0-5].*) ;;
18614               *)
18615                 # The compiler driver will combine and reorder linker options,
18616                 # but understands `-z linker_flag'.
18617                 # Supported since Solaris 2.6 (maybe 2.5.1?)
18618                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18619                 ;;
18620             esac
18621             link_all_deplibs_CXX=yes
18622
18623             output_verbose_link_cmd='echo'
18624
18625             # Archives containing C++ object files must be created using
18626             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18627             # necessary to make sure instantiated templates are included
18628             # in the archive.
18629             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18630             ;;
18631           gcx*)
18632             # Green Hills C++ Compiler
18633             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18634
18635             # The C++ compiler must be used to create the archive.
18636             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18637             ;;
18638           *)
18639             # GNU C++ compiler with Solaris linker
18640             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18641               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18642               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18643                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18644                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18645                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18646
18647                 # Commands to make compiler produce verbose output that lists
18648                 # what "hidden" libraries, object files and flags are used when
18649                 # linking a shared library.
18650                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18651               else
18652                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18653                 # platform.
18654                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18655                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18656                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18657
18658                 # Commands to make compiler produce verbose output that lists
18659                 # what "hidden" libraries, object files and flags are used when
18660                 # linking a shared library.
18661                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18662               fi
18663
18664               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18665               case $host_os in
18666                 solaris2.[0-5] | solaris2.[0-5].*) ;;
18667                 *)
18668                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18669                   ;;
18670               esac
18671             fi
18672             ;;
18673         esac
18674         ;;
18675
18676     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18677       no_undefined_flag_CXX='${wl}-z,text'
18678       archive_cmds_need_lc_CXX=no
18679       hardcode_shlibpath_var_CXX=no
18680       runpath_var='LD_RUN_PATH'
18681
18682       case $cc_basename in
18683         CC*)
18684           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18685           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18686           ;;
18687         *)
18688           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18689           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18690           ;;
18691       esac
18692       ;;
18693
18694       sysv5* | sco3.2v5* | sco5v6*)
18695         # Note: We can NOT use -z defs as we might desire, because we do not
18696         # link with -lc, and that would cause any symbols used from libc to
18697         # always be unresolved, which means just about no library would
18698         # ever link correctly.  If we're not using GNU ld we use -z text
18699         # though, which does catch some bad symbols but isn't as heavy-handed
18700         # as -z defs.
18701         no_undefined_flag_CXX='${wl}-z,text'
18702         allow_undefined_flag_CXX='${wl}-z,nodefs'
18703         archive_cmds_need_lc_CXX=no
18704         hardcode_shlibpath_var_CXX=no
18705         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
18706         hardcode_libdir_separator_CXX=':'
18707         link_all_deplibs_CXX=yes
18708         export_dynamic_flag_spec_CXX='${wl}-Bexport'
18709         runpath_var='LD_RUN_PATH'
18710
18711         case $cc_basename in
18712           CC*)
18713             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18714             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18715             ;;
18716           *)
18717             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18718             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18719             ;;
18720         esac
18721       ;;
18722
18723       tandem*)
18724         case $cc_basename in
18725           NCC*)
18726             # NonStop-UX NCC 3.20
18727             # FIXME: insert proper C++ library support
18728             ld_shlibs_CXX=no
18729             ;;
18730           *)
18731             # FIXME: insert proper C++ library support
18732             ld_shlibs_CXX=no
18733             ;;
18734         esac
18735         ;;
18736
18737       vxworks*)
18738         # FIXME: insert proper C++ library support
18739         ld_shlibs_CXX=no
18740         ;;
18741
18742       *)
18743         # FIXME: insert proper C++ library support
18744         ld_shlibs_CXX=no
18745         ;;
18746     esac
18747
18748     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18749 $as_echo "$ld_shlibs_CXX" >&6; }
18750     test "$ld_shlibs_CXX" = no && can_build_shared=no
18751
18752     GCC_CXX="$GXX"
18753     LD_CXX="$LD"
18754
18755     ## CAVEAT EMPTOR:
18756     ## There is no encapsulation within the following macros, do not change
18757     ## the running order or otherwise move them around unless you know exactly
18758     ## what you are doing...
18759     # Dependencies to place before and after the object being linked:
18760 predep_objects_CXX=
18761 postdep_objects_CXX=
18762 predeps_CXX=
18763 postdeps_CXX=
18764 compiler_lib_search_path_CXX=
18765
18766 cat > conftest.$ac_ext <<_LT_EOF
18767 class Foo
18768 {
18769 public:
18770   Foo (void) { a = 0; }
18771 private:
18772   int a;
18773 };
18774 _LT_EOF
18775
18776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18777   (eval $ac_compile) 2>&5
18778   ac_status=$?
18779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18780   test $ac_status = 0; }; then
18781   # Parse the compiler output and extract the necessary
18782   # objects, libraries and library flags.
18783
18784   # Sentinel used to keep track of whether or not we are before
18785   # the conftest object file.
18786   pre_test_object_deps_done=no
18787
18788   for p in `eval "$output_verbose_link_cmd"`; do
18789     case $p in
18790
18791     -L* | -R* | -l*)
18792        # Some compilers place space between "-{L,R}" and the path.
18793        # Remove the space.
18794        if test $p = "-L" ||
18795           test $p = "-R"; then
18796          prev=$p
18797          continue
18798        else
18799          prev=
18800        fi
18801
18802        if test "$pre_test_object_deps_done" = no; then
18803          case $p in
18804          -L* | -R*)
18805            # Internal compiler library paths should come after those
18806            # provided the user.  The postdeps already come after the
18807            # user supplied libs so there is no need to process them.
18808            if test -z "$compiler_lib_search_path_CXX"; then
18809              compiler_lib_search_path_CXX="${prev}${p}"
18810            else
18811              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
18812            fi
18813            ;;
18814          # The "-l" case would never come before the object being
18815          # linked, so don't bother handling this case.
18816          esac
18817        else
18818          if test -z "$postdeps_CXX"; then
18819            postdeps_CXX="${prev}${p}"
18820          else
18821            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18822          fi
18823        fi
18824        ;;
18825
18826     *.$objext)
18827        # This assumes that the test object file only shows up
18828        # once in the compiler output.
18829        if test "$p" = "conftest.$objext"; then
18830          pre_test_object_deps_done=yes
18831          continue
18832        fi
18833
18834        if test "$pre_test_object_deps_done" = no; then
18835          if test -z "$predep_objects_CXX"; then
18836            predep_objects_CXX="$p"
18837          else
18838            predep_objects_CXX="$predep_objects_CXX $p"
18839          fi
18840        else
18841          if test -z "$postdep_objects_CXX"; then
18842            postdep_objects_CXX="$p"
18843          else
18844            postdep_objects_CXX="$postdep_objects_CXX $p"
18845          fi
18846        fi
18847        ;;
18848
18849     *) ;; # Ignore the rest.
18850
18851     esac
18852   done
18853
18854   # Clean up.
18855   rm -f a.out a.exe
18856 else
18857   echo "libtool.m4: error: problem compiling CXX test program"
18858 fi
18859
18860 $RM -f confest.$objext
18861
18862 # PORTME: override above test on systems where it is broken
18863 case $host_os in
18864 interix[3-9]*)
18865   # Interix 3.5 installs completely hosed .la files for C++, so rather than
18866   # hack all around it, let's just trust "g++" to DTRT.
18867   predep_objects_CXX=
18868   postdep_objects_CXX=
18869   postdeps_CXX=
18870   ;;
18871
18872 linux*)
18873   case `$CC -V 2>&1 | sed 5q` in
18874   *Sun\ C*)
18875     # Sun C++ 5.9
18876
18877     # The more standards-conforming stlport4 library is
18878     # incompatible with the Cstd library. Avoid specifying
18879     # it if it's in CXXFLAGS. Ignore libCrun as
18880     # -library=stlport4 depends on it.
18881     case " $CXX $CXXFLAGS " in
18882     *" -library=stlport4 "*)
18883       solaris_use_stlport4=yes
18884       ;;
18885     esac
18886
18887     if test "$solaris_use_stlport4" != yes; then
18888       postdeps_CXX='-library=Cstd -library=Crun'
18889     fi
18890     ;;
18891   esac
18892   ;;
18893
18894 solaris*)
18895   case $cc_basename in
18896   CC*)
18897     # The more standards-conforming stlport4 library is
18898     # incompatible with the Cstd library. Avoid specifying
18899     # it if it's in CXXFLAGS. Ignore libCrun as
18900     # -library=stlport4 depends on it.
18901     case " $CXX $CXXFLAGS " in
18902     *" -library=stlport4 "*)
18903       solaris_use_stlport4=yes
18904       ;;
18905     esac
18906
18907     # Adding this requires a known-good setup of shared libraries for
18908     # Sun compiler versions before 5.6, else PIC objects from an old
18909     # archive will be linked into the output, leading to subtle bugs.
18910     if test "$solaris_use_stlport4" != yes; then
18911       postdeps_CXX='-library=Cstd -library=Crun'
18912     fi
18913     ;;
18914   esac
18915   ;;
18916 esac
18917
18918
18919 case " $postdeps_CXX " in
18920 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
18921 esac
18922  compiler_lib_search_dirs_CXX=
18923 if test -n "${compiler_lib_search_path_CXX}"; then
18924  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
18925 fi
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957     lt_prog_compiler_wl_CXX=
18958 lt_prog_compiler_pic_CXX=
18959 lt_prog_compiler_static_CXX=
18960
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18962 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18963
18964   # C++ specific cases for pic, static, wl, etc.
18965   if test "$GXX" = yes; then
18966     lt_prog_compiler_wl_CXX='-Wl,'
18967     lt_prog_compiler_static_CXX='-static'
18968
18969     case $host_os in
18970     aix*)
18971       # All AIX code is PIC.
18972       if test "$host_cpu" = ia64; then
18973         # AIX 5 now supports IA64 processor
18974         lt_prog_compiler_static_CXX='-Bstatic'
18975       fi
18976       ;;
18977
18978     amigaos*)
18979       case $host_cpu in
18980       powerpc)
18981             # see comment about AmigaOS4 .so support
18982             lt_prog_compiler_pic_CXX='-fPIC'
18983         ;;
18984       m68k)
18985             # FIXME: we need at least 68020 code to build shared libraries, but
18986             # adding the `-m68020' flag to GCC prevents building anything better,
18987             # like `-m68040'.
18988             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18989         ;;
18990       esac
18991       ;;
18992
18993     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18994       # PIC is the default for these OSes.
18995       ;;
18996     mingw* | cygwin* | os2* | pw32* | cegcc*)
18997       # This hack is so that the source file can tell whether it is being
18998       # built for inclusion in a dll (and should export symbols for example).
18999       # Although the cygwin gcc ignores -fPIC, still need this for old-style
19000       # (--disable-auto-import) libraries
19001       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19002       ;;
19003     darwin* | rhapsody*)
19004       # PIC is the default on this platform
19005       # Common symbols not allowed in MH_DYLIB files
19006       lt_prog_compiler_pic_CXX='-fno-common'
19007       ;;
19008     *djgpp*)
19009       # DJGPP does not support shared libraries at all
19010       lt_prog_compiler_pic_CXX=
19011       ;;
19012     interix[3-9]*)
19013       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19014       # Instead, we relocate shared libraries at runtime.
19015       ;;
19016     sysv4*MP*)
19017       if test -d /usr/nec; then
19018         lt_prog_compiler_pic_CXX=-Kconform_pic
19019       fi
19020       ;;
19021     hpux*)
19022       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19023       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
19024       # sets the default TLS model and affects inlining.
19025       case $host_cpu in
19026       hppa*64*)
19027         ;;
19028       *)
19029         lt_prog_compiler_pic_CXX='-fPIC'
19030         ;;
19031       esac
19032       ;;
19033     *qnx* | *nto*)
19034       # QNX uses GNU C++, but need to define -shared option too, otherwise
19035       # it will coredump.
19036       lt_prog_compiler_pic_CXX='-fPIC -shared'
19037       ;;
19038     *)
19039       lt_prog_compiler_pic_CXX='-fPIC'
19040       ;;
19041     esac
19042   else
19043     case $host_os in
19044       aix[4-9]*)
19045         # All AIX code is PIC.
19046         if test "$host_cpu" = ia64; then
19047           # AIX 5 now supports IA64 processor
19048           lt_prog_compiler_static_CXX='-Bstatic'
19049         else
19050           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19051         fi
19052         ;;
19053       chorus*)
19054         case $cc_basename in
19055         cxch68*)
19056           # Green Hills C++ Compiler
19057           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
19058           ;;
19059         esac
19060         ;;
19061       dgux*)
19062         case $cc_basename in
19063           ec++*)
19064             lt_prog_compiler_pic_CXX='-KPIC'
19065             ;;
19066           ghcx*)
19067             # Green Hills C++ Compiler
19068             lt_prog_compiler_pic_CXX='-pic'
19069             ;;
19070           *)
19071             ;;
19072         esac
19073         ;;
19074       freebsd* | dragonfly*)
19075         # FreeBSD uses GNU C++
19076         ;;
19077       hpux9* | hpux10* | hpux11*)
19078         case $cc_basename in
19079           CC*)
19080             lt_prog_compiler_wl_CXX='-Wl,'
19081             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19082             if test "$host_cpu" != ia64; then
19083               lt_prog_compiler_pic_CXX='+Z'
19084             fi
19085             ;;
19086           aCC*)
19087             lt_prog_compiler_wl_CXX='-Wl,'
19088             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19089             case $host_cpu in
19090             hppa*64*|ia64*)
19091               # +Z the default
19092               ;;
19093             *)
19094               lt_prog_compiler_pic_CXX='+Z'
19095               ;;
19096             esac
19097             ;;
19098           *)
19099             ;;
19100         esac
19101         ;;
19102       interix*)
19103         # This is c89, which is MS Visual C++ (no shared libs)
19104         # Anyone wants to do a port?
19105         ;;
19106       irix5* | irix6* | nonstopux*)
19107         case $cc_basename in
19108           CC*)
19109             lt_prog_compiler_wl_CXX='-Wl,'
19110             lt_prog_compiler_static_CXX='-non_shared'
19111             # CC pic flag -KPIC is the default.
19112             ;;
19113           *)
19114             ;;
19115         esac
19116         ;;
19117       linux* | k*bsd*-gnu | kopensolaris*-gnu)
19118         case $cc_basename in
19119           KCC*)
19120             # KAI C++ Compiler
19121             lt_prog_compiler_wl_CXX='--backend -Wl,'
19122             lt_prog_compiler_pic_CXX='-fPIC'
19123             ;;
19124           ecpc* )
19125             # old Intel C++ for x86_64 which still supported -KPIC.
19126             lt_prog_compiler_wl_CXX='-Wl,'
19127             lt_prog_compiler_pic_CXX='-KPIC'
19128             lt_prog_compiler_static_CXX='-static'
19129             ;;
19130           icpc* )
19131             # Intel C++, used to be incompatible with GCC.
19132             # ICC 10 doesn't accept -KPIC any more.
19133             lt_prog_compiler_wl_CXX='-Wl,'
19134             lt_prog_compiler_pic_CXX='-fPIC'
19135             lt_prog_compiler_static_CXX='-static'
19136             ;;
19137           pgCC* | pgcpp*)
19138             # Portland Group C++ compiler
19139             lt_prog_compiler_wl_CXX='-Wl,'
19140             lt_prog_compiler_pic_CXX='-fpic'
19141             lt_prog_compiler_static_CXX='-Bstatic'
19142             ;;
19143           cxx*)
19144             # Compaq C++
19145             # Make sure the PIC flag is empty.  It appears that all Alpha
19146             # Linux and Compaq Tru64 Unix objects are PIC.
19147             lt_prog_compiler_pic_CXX=
19148             lt_prog_compiler_static_CXX='-non_shared'
19149             ;;
19150           xlc* | xlC*)
19151             # IBM XL 8.0 on PPC
19152             lt_prog_compiler_wl_CXX='-Wl,'
19153             lt_prog_compiler_pic_CXX='-qpic'
19154             lt_prog_compiler_static_CXX='-qstaticlink'
19155             ;;
19156           *)
19157             case `$CC -V 2>&1 | sed 5q` in
19158             *Sun\ C*)
19159               # Sun C++ 5.9
19160               lt_prog_compiler_pic_CXX='-KPIC'
19161               lt_prog_compiler_static_CXX='-Bstatic'
19162               lt_prog_compiler_wl_CXX='-Qoption ld '
19163               ;;
19164             esac
19165             ;;
19166         esac
19167         ;;
19168       lynxos*)
19169         ;;
19170       m88k*)
19171         ;;
19172       mvs*)
19173         case $cc_basename in
19174           cxx*)
19175             lt_prog_compiler_pic_CXX='-W c,exportall'
19176             ;;
19177           *)
19178             ;;
19179         esac
19180         ;;
19181       netbsd* | netbsdelf*-gnu)
19182         ;;
19183       *qnx* | *nto*)
19184         # QNX uses GNU C++, but need to define -shared option too, otherwise
19185         # it will coredump.
19186         lt_prog_compiler_pic_CXX='-fPIC -shared'
19187         ;;
19188       osf3* | osf4* | osf5*)
19189         case $cc_basename in
19190           KCC*)
19191             lt_prog_compiler_wl_CXX='--backend -Wl,'
19192             ;;
19193           RCC*)
19194             # Rational C++ 2.4.1
19195             lt_prog_compiler_pic_CXX='-pic'
19196             ;;
19197           cxx*)
19198             # Digital/Compaq C++
19199             lt_prog_compiler_wl_CXX='-Wl,'
19200             # Make sure the PIC flag is empty.  It appears that all Alpha
19201             # Linux and Compaq Tru64 Unix objects are PIC.
19202             lt_prog_compiler_pic_CXX=
19203             lt_prog_compiler_static_CXX='-non_shared'
19204             ;;
19205           *)
19206             ;;
19207         esac
19208         ;;
19209       psos*)
19210         ;;
19211       solaris*)
19212         case $cc_basename in
19213           CC*)
19214             # Sun C++ 4.2, 5.x and Centerline C++
19215             lt_prog_compiler_pic_CXX='-KPIC'
19216             lt_prog_compiler_static_CXX='-Bstatic'
19217             lt_prog_compiler_wl_CXX='-Qoption ld '
19218             ;;
19219           gcx*)
19220             # Green Hills C++ Compiler
19221             lt_prog_compiler_pic_CXX='-PIC'
19222             ;;
19223           *)
19224             ;;
19225         esac
19226         ;;
19227       sunos4*)
19228         case $cc_basename in
19229           CC*)
19230             # Sun C++ 4.x
19231             lt_prog_compiler_pic_CXX='-pic'
19232             lt_prog_compiler_static_CXX='-Bstatic'
19233             ;;
19234           lcc*)
19235             # Lucid
19236             lt_prog_compiler_pic_CXX='-pic'
19237             ;;
19238           *)
19239             ;;
19240         esac
19241         ;;
19242       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19243         case $cc_basename in
19244           CC*)
19245             lt_prog_compiler_wl_CXX='-Wl,'
19246             lt_prog_compiler_pic_CXX='-KPIC'
19247             lt_prog_compiler_static_CXX='-Bstatic'
19248             ;;
19249         esac
19250         ;;
19251       tandem*)
19252         case $cc_basename in
19253           NCC*)
19254             # NonStop-UX NCC 3.20
19255             lt_prog_compiler_pic_CXX='-KPIC'
19256             ;;
19257           *)
19258             ;;
19259         esac
19260         ;;
19261       vxworks*)
19262         ;;
19263       *)
19264         lt_prog_compiler_can_build_shared_CXX=no
19265         ;;
19266     esac
19267   fi
19268
19269 case $host_os in
19270   # For platforms which do not support PIC, -DPIC is meaningless:
19271   *djgpp*)
19272     lt_prog_compiler_pic_CXX=
19273     ;;
19274   *)
19275     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19276     ;;
19277 esac
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
19279 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
19280
19281
19282
19283 #
19284 # Check to make sure the PIC flag actually works.
19285 #
19286 if test -n "$lt_prog_compiler_pic_CXX"; then
19287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19288 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19289 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
19290   $as_echo_n "(cached) " >&6
19291 else
19292   lt_cv_prog_compiler_pic_works_CXX=no
19293    ac_outfile=conftest.$ac_objext
19294    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19295    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19296    # Insert the option either (1) after the last *FLAGS variable, or
19297    # (2) before a word containing "conftest.", or (3) at the end.
19298    # Note that $ac_compile itself does not contain backslashes and begins
19299    # with a dollar sign (not a hyphen), so the echo should work correctly.
19300    # The option is referenced via a variable to avoid confusing sed.
19301    lt_compile=`echo "$ac_compile" | $SED \
19302    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19303    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19304    -e 's:$: $lt_compiler_flag:'`
19305    (eval echo "\"\$as_me:19305: $lt_compile\"" >&5)
19306    (eval "$lt_compile" 2>conftest.err)
19307    ac_status=$?
19308    cat conftest.err >&5
19309    echo "$as_me:19309: \$? = $ac_status" >&5
19310    if (exit $ac_status) && test -s "$ac_outfile"; then
19311      # The compiler can only warn and ignore the option if not recognized
19312      # So say no if there are warnings other than the usual output.
19313      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19314      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19315      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19316        lt_cv_prog_compiler_pic_works_CXX=yes
19317      fi
19318    fi
19319    $RM conftest*
19320
19321 fi
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19323 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19324
19325 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19326     case $lt_prog_compiler_pic_CXX in
19327      "" | " "*) ;;
19328      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19329      esac
19330 else
19331     lt_prog_compiler_pic_CXX=
19332      lt_prog_compiler_can_build_shared_CXX=no
19333 fi
19334
19335 fi
19336
19337
19338
19339 #
19340 # Check to make sure the static flag actually works.
19341 #
19342 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19344 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19345 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
19346   $as_echo_n "(cached) " >&6
19347 else
19348   lt_cv_prog_compiler_static_works_CXX=no
19349    save_LDFLAGS="$LDFLAGS"
19350    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19351    echo "$lt_simple_link_test_code" > conftest.$ac_ext
19352    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19353      # The linker can only warn and ignore the option if not recognized
19354      # So say no if there are warnings
19355      if test -s conftest.err; then
19356        # Append any errors to the config.log.
19357        cat conftest.err 1>&5
19358        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19359        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19360        if diff conftest.exp conftest.er2 >/dev/null; then
19361          lt_cv_prog_compiler_static_works_CXX=yes
19362        fi
19363      else
19364        lt_cv_prog_compiler_static_works_CXX=yes
19365      fi
19366    fi
19367    $RM -r conftest*
19368    LDFLAGS="$save_LDFLAGS"
19369
19370 fi
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19372 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19373
19374 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19375     :
19376 else
19377     lt_prog_compiler_static_CXX=
19378 fi
19379
19380
19381
19382
19383     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19384 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19385 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19386   $as_echo_n "(cached) " >&6
19387 else
19388   lt_cv_prog_compiler_c_o_CXX=no
19389    $RM -r conftest 2>/dev/null
19390    mkdir conftest
19391    cd conftest
19392    mkdir out
19393    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19394
19395    lt_compiler_flag="-o out/conftest2.$ac_objext"
19396    # Insert the option either (1) after the last *FLAGS variable, or
19397    # (2) before a word containing "conftest.", or (3) at the end.
19398    # Note that $ac_compile itself does not contain backslashes and begins
19399    # with a dollar sign (not a hyphen), so the echo should work correctly.
19400    lt_compile=`echo "$ac_compile" | $SED \
19401    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19402    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19403    -e 's:$: $lt_compiler_flag:'`
19404    (eval echo "\"\$as_me:19404: $lt_compile\"" >&5)
19405    (eval "$lt_compile" 2>out/conftest.err)
19406    ac_status=$?
19407    cat out/conftest.err >&5
19408    echo "$as_me:19408: \$? = $ac_status" >&5
19409    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19410    then
19411      # The compiler can only warn and ignore the option if not recognized
19412      # So say no if there are warnings
19413      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19414      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19415      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19416        lt_cv_prog_compiler_c_o_CXX=yes
19417      fi
19418    fi
19419    chmod u+w . 2>&5
19420    $RM conftest*
19421    # SGI C++ compiler will create directory out/ii_files/ for
19422    # template instantiation
19423    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19424    $RM out/* && rmdir out
19425    cd ..
19426    $RM -r conftest
19427    $RM conftest*
19428
19429 fi
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19431 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19432
19433
19434
19435     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19436 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19437 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19438   $as_echo_n "(cached) " >&6
19439 else
19440   lt_cv_prog_compiler_c_o_CXX=no
19441    $RM -r conftest 2>/dev/null
19442    mkdir conftest
19443    cd conftest
19444    mkdir out
19445    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19446
19447    lt_compiler_flag="-o out/conftest2.$ac_objext"
19448    # Insert the option either (1) after the last *FLAGS variable, or
19449    # (2) before a word containing "conftest.", or (3) at the end.
19450    # Note that $ac_compile itself does not contain backslashes and begins
19451    # with a dollar sign (not a hyphen), so the echo should work correctly.
19452    lt_compile=`echo "$ac_compile" | $SED \
19453    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19454    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19455    -e 's:$: $lt_compiler_flag:'`
19456    (eval echo "\"\$as_me:19456: $lt_compile\"" >&5)
19457    (eval "$lt_compile" 2>out/conftest.err)
19458    ac_status=$?
19459    cat out/conftest.err >&5
19460    echo "$as_me:19460: \$? = $ac_status" >&5
19461    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19462    then
19463      # The compiler can only warn and ignore the option if not recognized
19464      # So say no if there are warnings
19465      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19466      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19467      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19468        lt_cv_prog_compiler_c_o_CXX=yes
19469      fi
19470    fi
19471    chmod u+w . 2>&5
19472    $RM conftest*
19473    # SGI C++ compiler will create directory out/ii_files/ for
19474    # template instantiation
19475    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19476    $RM out/* && rmdir out
19477    cd ..
19478    $RM -r conftest
19479    $RM conftest*
19480
19481 fi
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19483 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19484
19485
19486
19487
19488 hard_links="nottested"
19489 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19490   # do not overwrite the value of need_locks provided by the user
19491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19492 $as_echo_n "checking if we can lock with hard links... " >&6; }
19493   hard_links=yes
19494   $RM conftest*
19495   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19496   touch conftest.a
19497   ln conftest.a conftest.b 2>&5 || hard_links=no
19498   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19500 $as_echo "$hard_links" >&6; }
19501   if test "$hard_links" = no; then
19502     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19503 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19504     need_locks=warn
19505   fi
19506 else
19507   need_locks=no
19508 fi
19509
19510
19511
19512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19513 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19514
19515   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19516   case $host_os in
19517   aix[4-9]*)
19518     # If we're using GNU nm, then we don't want the "-C" option.
19519     # -C means demangle to AIX nm, but means don't demangle with GNU nm
19520     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19521       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19522     else
19523       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19524     fi
19525     ;;
19526   pw32*)
19527     export_symbols_cmds_CXX="$ltdll_cmds"
19528   ;;
19529   cygwin* | mingw* | cegcc*)
19530     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19531   ;;
19532   linux* | k*bsd*-gnu)
19533     link_all_deplibs_CXX=no
19534   ;;
19535   *)
19536     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19537   ;;
19538   esac
19539   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19540
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19542 $as_echo "$ld_shlibs_CXX" >&6; }
19543 test "$ld_shlibs_CXX" = no && can_build_shared=no
19544
19545 with_gnu_ld_CXX=$with_gnu_ld
19546
19547
19548
19549
19550
19551
19552 #
19553 # Do we need to explicitly link libc?
19554 #
19555 case "x$archive_cmds_need_lc_CXX" in
19556 x|xyes)
19557   # Assume -lc should be added
19558   archive_cmds_need_lc_CXX=yes
19559
19560   if test "$enable_shared" = yes && test "$GCC" = yes; then
19561     case $archive_cmds_CXX in
19562     *'~'*)
19563       # FIXME: we may have to deal with multi-command sequences.
19564       ;;
19565     '$CC '*)
19566       # Test whether the compiler implicitly links with -lc since on some
19567       # systems, -lgcc has to come before -lc. If gcc already passes -lc
19568       # to ld, don't add -lc before -lgcc.
19569       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
19570 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19571       $RM conftest*
19572       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19573
19574       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19575   (eval $ac_compile) 2>&5
19576   ac_status=$?
19577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19578   test $ac_status = 0; } 2>conftest.err; then
19579         soname=conftest
19580         lib=conftest
19581         libobjs=conftest.$ac_objext
19582         deplibs=
19583         wl=$lt_prog_compiler_wl_CXX
19584         pic_flag=$lt_prog_compiler_pic_CXX
19585         compiler_flags=-v
19586         linker_flags=-v
19587         verstring=
19588         output_objdir=.
19589         libname=conftest
19590         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19591         allow_undefined_flag_CXX=
19592         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
19593   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19594   ac_status=$?
19595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19596   test $ac_status = 0; }
19597         then
19598           archive_cmds_need_lc_CXX=no
19599         else
19600           archive_cmds_need_lc_CXX=yes
19601         fi
19602         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19603       else
19604         cat conftest.err 1>&5
19605       fi
19606       $RM conftest*
19607       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
19608 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
19609       ;;
19610     esac
19611   fi
19612   ;;
19613 esac
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19679 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19680
19681 library_names_spec=
19682 libname_spec='lib$name'
19683 soname_spec=
19684 shrext_cmds=".so"
19685 postinstall_cmds=
19686 postuninstall_cmds=
19687 finish_cmds=
19688 finish_eval=
19689 shlibpath_var=
19690 shlibpath_overrides_runpath=unknown
19691 version_type=none
19692 dynamic_linker="$host_os ld.so"
19693 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19694 need_lib_prefix=unknown
19695 hardcode_into_libs=no
19696
19697 # when you set need_version to no, make sure it does not cause -set_version
19698 # flags to be left without arguments
19699 need_version=unknown
19700
19701 case $host_os in
19702 aix3*)
19703   version_type=linux
19704   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19705   shlibpath_var=LIBPATH
19706
19707   # AIX 3 has no versioning support, so we append a major version to the name.
19708   soname_spec='${libname}${release}${shared_ext}$major'
19709   ;;
19710
19711 aix[4-9]*)
19712   version_type=linux
19713   need_lib_prefix=no
19714   need_version=no
19715   hardcode_into_libs=yes
19716   if test "$host_cpu" = ia64; then
19717     # AIX 5 supports IA64
19718     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19719     shlibpath_var=LD_LIBRARY_PATH
19720   else
19721     # With GCC up to 2.95.x, collect2 would create an import file
19722     # for dependence libraries.  The import file would start with
19723     # the line `#! .'.  This would cause the generated library to
19724     # depend on `.', always an invalid library.  This was fixed in
19725     # development snapshots of GCC prior to 3.0.
19726     case $host_os in
19727       aix4 | aix4.[01] | aix4.[01].*)
19728       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19729            echo ' yes '
19730            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
19731         :
19732       else
19733         can_build_shared=no
19734       fi
19735       ;;
19736     esac
19737     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19738     # soname into executable. Probably we can add versioning support to
19739     # collect2, so additional links can be useful in future.
19740     if test "$aix_use_runtimelinking" = yes; then
19741       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19742       # instead of lib<name>.a to let people know that these are not
19743       # typical AIX shared libraries.
19744       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19745     else
19746       # We preserve .a as extension for shared libraries through AIX4.2
19747       # and later when we are not doing run time linking.
19748       library_names_spec='${libname}${release}.a $libname.a'
19749       soname_spec='${libname}${release}${shared_ext}$major'
19750     fi
19751     shlibpath_var=LIBPATH
19752   fi
19753   ;;
19754
19755 amigaos*)
19756   case $host_cpu in
19757   powerpc)
19758     # Since July 2007 AmigaOS4 officially supports .so libraries.
19759     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19760     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19761     ;;
19762   m68k)
19763     library_names_spec='$libname.ixlibrary $libname.a'
19764     # Create ${libname}_ixlibrary.a entries in /sys/libs.
19765     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'
19766     ;;
19767   esac
19768   ;;
19769
19770 beos*)
19771   library_names_spec='${libname}${shared_ext}'
19772   dynamic_linker="$host_os ld.so"
19773   shlibpath_var=LIBRARY_PATH
19774   ;;
19775
19776 bsdi[45]*)
19777   version_type=linux
19778   need_version=no
19779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19780   soname_spec='${libname}${release}${shared_ext}$major'
19781   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19782   shlibpath_var=LD_LIBRARY_PATH
19783   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19784   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19785   # the default ld.so.conf also contains /usr/contrib/lib and
19786   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19787   # libtool to hard-code these into programs
19788   ;;
19789
19790 cygwin* | mingw* | pw32* | cegcc*)
19791   version_type=windows
19792   shrext_cmds=".dll"
19793   need_version=no
19794   need_lib_prefix=no
19795
19796   case $GCC,$host_os in
19797   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
19798     library_names_spec='$libname.dll.a'
19799     # DLL is installed to $(libdir)/../bin by postinstall_cmds
19800     postinstall_cmds='base_file=`basename \${file}`~
19801       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19802       dldir=$destdir/`dirname \$dlpath`~
19803       test -d \$dldir || mkdir -p \$dldir~
19804       $install_prog $dir/$dlname \$dldir/$dlname~
19805       chmod a+x \$dldir/$dlname~
19806       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19807         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19808       fi'
19809     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19810       dlpath=$dir/\$dldll~
19811        $RM \$dlpath'
19812     shlibpath_overrides_runpath=yes
19813
19814     case $host_os in
19815     cygwin*)
19816       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19817       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19818       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19819       ;;
19820     mingw* | cegcc*)
19821       # MinGW DLLs use traditional 'lib' prefix
19822       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19823       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19824       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19825         # It is most probably a Windows format PATH printed by
19826         # mingw gcc, but we are running on Cygwin. Gcc prints its search
19827         # path with ; separators, and with drive letters. We can handle the
19828         # drive letters (cygwin fileutils understands them), so leave them,
19829         # especially as we might pass files found there to a mingw objdump,
19830         # which wouldn't understand a cygwinified path. Ahh.
19831         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19832       else
19833         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19834       fi
19835       ;;
19836     pw32*)
19837       # pw32 DLLs use 'pw' prefix rather than 'lib'
19838       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19839       ;;
19840     esac
19841     ;;
19842
19843   *)
19844     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19845     ;;
19846   esac
19847   dynamic_linker='Win32 ld.exe'
19848   # FIXME: first we should search . and the directory the executable is in
19849   shlibpath_var=PATH
19850   ;;
19851
19852 darwin* | rhapsody*)
19853   dynamic_linker="$host_os dyld"
19854   version_type=darwin
19855   need_lib_prefix=no
19856   need_version=no
19857   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19858   soname_spec='${libname}${release}${major}$shared_ext'
19859   shlibpath_overrides_runpath=yes
19860   shlibpath_var=DYLD_LIBRARY_PATH
19861   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19862
19863   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19864   ;;
19865
19866 dgux*)
19867   version_type=linux
19868   need_lib_prefix=no
19869   need_version=no
19870   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19871   soname_spec='${libname}${release}${shared_ext}$major'
19872   shlibpath_var=LD_LIBRARY_PATH
19873   ;;
19874
19875 freebsd1*)
19876   dynamic_linker=no
19877   ;;
19878
19879 freebsd* | dragonfly*)
19880   # DragonFly does not have aout.  When/if they implement a new
19881   # versioning mechanism, adjust this.
19882   if test -x /usr/bin/objformat; then
19883     objformat=`/usr/bin/objformat`
19884   else
19885     case $host_os in
19886     freebsd[123]*) objformat=aout ;;
19887     *) objformat=elf ;;
19888     esac
19889   fi
19890   version_type=freebsd-$objformat
19891   case $version_type in
19892     freebsd-elf*)
19893       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19894       need_version=no
19895       need_lib_prefix=no
19896       ;;
19897     freebsd-*)
19898       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19899       need_version=yes
19900       ;;
19901   esac
19902   shlibpath_var=LD_LIBRARY_PATH
19903   case $host_os in
19904   freebsd2*)
19905     shlibpath_overrides_runpath=yes
19906     ;;
19907   freebsd3.[01]* | freebsdelf3.[01]*)
19908     shlibpath_overrides_runpath=yes
19909     hardcode_into_libs=yes
19910     ;;
19911   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19912   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19913     shlibpath_overrides_runpath=no
19914     hardcode_into_libs=yes
19915     ;;
19916   *) # from 4.6 on, and DragonFly
19917     shlibpath_overrides_runpath=yes
19918     hardcode_into_libs=yes
19919     ;;
19920   esac
19921   ;;
19922
19923 gnu*)
19924   version_type=linux
19925   need_lib_prefix=no
19926   need_version=no
19927   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19928   soname_spec='${libname}${release}${shared_ext}$major'
19929   shlibpath_var=LD_LIBRARY_PATH
19930   hardcode_into_libs=yes
19931   ;;
19932
19933 hpux9* | hpux10* | hpux11*)
19934   # Give a soname corresponding to the major version so that dld.sl refuses to
19935   # link against other versions.
19936   version_type=sunos
19937   need_lib_prefix=no
19938   need_version=no
19939   case $host_cpu in
19940   ia64*)
19941     shrext_cmds='.so'
19942     hardcode_into_libs=yes
19943     dynamic_linker="$host_os dld.so"
19944     shlibpath_var=LD_LIBRARY_PATH
19945     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19946     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19947     soname_spec='${libname}${release}${shared_ext}$major'
19948     if test "X$HPUX_IA64_MODE" = X32; then
19949       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19950     else
19951       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19952     fi
19953     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19954     ;;
19955   hppa*64*)
19956     shrext_cmds='.sl'
19957     hardcode_into_libs=yes
19958     dynamic_linker="$host_os dld.sl"
19959     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19960     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19961     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19962     soname_spec='${libname}${release}${shared_ext}$major'
19963     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19964     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19965     ;;
19966   *)
19967     shrext_cmds='.sl'
19968     dynamic_linker="$host_os dld.sl"
19969     shlibpath_var=SHLIB_PATH
19970     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19971     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19972     soname_spec='${libname}${release}${shared_ext}$major'
19973     ;;
19974   esac
19975   # HP-UX runs *really* slowly unless shared libraries are mode 555.
19976   postinstall_cmds='chmod 555 $lib'
19977   ;;
19978
19979 interix[3-9]*)
19980   version_type=linux
19981   need_lib_prefix=no
19982   need_version=no
19983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19984   soname_spec='${libname}${release}${shared_ext}$major'
19985   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19986   shlibpath_var=LD_LIBRARY_PATH
19987   shlibpath_overrides_runpath=no
19988   hardcode_into_libs=yes
19989   ;;
19990
19991 irix5* | irix6* | nonstopux*)
19992   case $host_os in
19993     nonstopux*) version_type=nonstopux ;;
19994     *)
19995         if test "$lt_cv_prog_gnu_ld" = yes; then
19996                 version_type=linux
19997         else
19998                 version_type=irix
19999         fi ;;
20000   esac
20001   need_lib_prefix=no
20002   need_version=no
20003   soname_spec='${libname}${release}${shared_ext}$major'
20004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20005   case $host_os in
20006   irix5* | nonstopux*)
20007     libsuff= shlibsuff=
20008     ;;
20009   *)
20010     case $LD in # libtool.m4 will add one of these switches to LD
20011     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20012       libsuff= shlibsuff= libmagic=32-bit;;
20013     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20014       libsuff=32 shlibsuff=N32 libmagic=N32;;
20015     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20016       libsuff=64 shlibsuff=64 libmagic=64-bit;;
20017     *) libsuff= shlibsuff= libmagic=never-match;;
20018     esac
20019     ;;
20020   esac
20021   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20022   shlibpath_overrides_runpath=no
20023   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20024   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20025   hardcode_into_libs=yes
20026   ;;
20027
20028 # No shared lib support for Linux oldld, aout, or coff.
20029 linux*oldld* | linux*aout* | linux*coff*)
20030   dynamic_linker=no
20031   ;;
20032
20033 # This must be Linux ELF.
20034 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20035   version_type=linux
20036   need_lib_prefix=no
20037   need_version=no
20038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20039   soname_spec='${libname}${release}${shared_ext}$major'
20040   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20041   shlibpath_var=LD_LIBRARY_PATH
20042   shlibpath_overrides_runpath=no
20043   # Some binutils ld are patched to set DT_RUNPATH
20044   save_LDFLAGS=$LDFLAGS
20045   save_libdir=$libdir
20046   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20047        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h.  */
20050
20051 int
20052 main ()
20053 {
20054
20055   ;
20056   return 0;
20057 }
20058 _ACEOF
20059 if ac_fn_cxx_try_link "$LINENO"; then :
20060   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20061   shlibpath_overrides_runpath=yes
20062 fi
20063 fi
20064 rm -f core conftest.err conftest.$ac_objext \
20065     conftest$ac_exeext conftest.$ac_ext
20066   LDFLAGS=$save_LDFLAGS
20067   libdir=$save_libdir
20068
20069   # This implies no fast_install, which is unacceptable.
20070   # Some rework will be needed to allow for fast_install
20071   # before this can be enabled.
20072   hardcode_into_libs=yes
20073
20074   # Append ld.so.conf contents to the search path
20075   if test -f /etc/ld.so.conf; then
20076     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' ' '`
20077     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20078   fi
20079
20080   # We used to test for /lib/ld.so.1 and disable shared libraries on
20081   # powerpc, because MkLinux only supported shared libraries with the
20082   # GNU dynamic linker.  Since this was broken with cross compilers,
20083   # most powerpc-linux boxes support dynamic linking these days and
20084   # people can always --disable-shared, the test was removed, and we
20085   # assume the GNU/Linux dynamic linker is in use.
20086   dynamic_linker='GNU/Linux ld.so'
20087   ;;
20088
20089 netbsdelf*-gnu)
20090   version_type=linux
20091   need_lib_prefix=no
20092   need_version=no
20093   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20094   soname_spec='${libname}${release}${shared_ext}$major'
20095   shlibpath_var=LD_LIBRARY_PATH
20096   shlibpath_overrides_runpath=no
20097   hardcode_into_libs=yes
20098   dynamic_linker='NetBSD ld.elf_so'
20099   ;;
20100
20101 netbsd*)
20102   version_type=sunos
20103   need_lib_prefix=no
20104   need_version=no
20105   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20106     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20107     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20108     dynamic_linker='NetBSD (a.out) ld.so'
20109   else
20110     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20111     soname_spec='${libname}${release}${shared_ext}$major'
20112     dynamic_linker='NetBSD ld.elf_so'
20113   fi
20114   shlibpath_var=LD_LIBRARY_PATH
20115   shlibpath_overrides_runpath=yes
20116   hardcode_into_libs=yes
20117   ;;
20118
20119 newsos6)
20120   version_type=linux
20121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20122   shlibpath_var=LD_LIBRARY_PATH
20123   shlibpath_overrides_runpath=yes
20124   ;;
20125
20126 *nto* | *qnx*)
20127   version_type=qnx
20128   need_lib_prefix=no
20129   need_version=no
20130   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20131   soname_spec='${libname}${release}${shared_ext}$major'
20132   shlibpath_var=LD_LIBRARY_PATH
20133   shlibpath_overrides_runpath=no
20134   hardcode_into_libs=yes
20135   dynamic_linker='ldqnx.so'
20136   ;;
20137
20138 openbsd*)
20139   version_type=sunos
20140   sys_lib_dlsearch_path_spec="/usr/lib"
20141   need_lib_prefix=no
20142   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20143   case $host_os in
20144     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
20145     *)                          need_version=no  ;;
20146   esac
20147   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20148   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20149   shlibpath_var=LD_LIBRARY_PATH
20150   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20151     case $host_os in
20152       openbsd2.[89] | openbsd2.[89].*)
20153         shlibpath_overrides_runpath=no
20154         ;;
20155       *)
20156         shlibpath_overrides_runpath=yes
20157         ;;
20158       esac
20159   else
20160     shlibpath_overrides_runpath=yes
20161   fi
20162   ;;
20163
20164 os2*)
20165   libname_spec='$name'
20166   shrext_cmds=".dll"
20167   need_lib_prefix=no
20168   library_names_spec='$libname${shared_ext} $libname.a'
20169   dynamic_linker='OS/2 ld.exe'
20170   shlibpath_var=LIBPATH
20171   ;;
20172
20173 osf3* | osf4* | osf5*)
20174   version_type=osf
20175   need_lib_prefix=no
20176   need_version=no
20177   soname_spec='${libname}${release}${shared_ext}$major'
20178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20179   shlibpath_var=LD_LIBRARY_PATH
20180   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20181   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20182   ;;
20183
20184 rdos*)
20185   dynamic_linker=no
20186   ;;
20187
20188 solaris*)
20189   version_type=linux
20190   need_lib_prefix=no
20191   need_version=no
20192   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20193   soname_spec='${libname}${release}${shared_ext}$major'
20194   shlibpath_var=LD_LIBRARY_PATH
20195   shlibpath_overrides_runpath=yes
20196   hardcode_into_libs=yes
20197   # ldd complains unless libraries are executable
20198   postinstall_cmds='chmod +x $lib'
20199   ;;
20200
20201 sunos4*)
20202   version_type=sunos
20203   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20204   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20205   shlibpath_var=LD_LIBRARY_PATH
20206   shlibpath_overrides_runpath=yes
20207   if test "$with_gnu_ld" = yes; then
20208     need_lib_prefix=no
20209   fi
20210   need_version=yes
20211   ;;
20212
20213 sysv4 | sysv4.3*)
20214   version_type=linux
20215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20216   soname_spec='${libname}${release}${shared_ext}$major'
20217   shlibpath_var=LD_LIBRARY_PATH
20218   case $host_vendor in
20219     sni)
20220       shlibpath_overrides_runpath=no
20221       need_lib_prefix=no
20222       runpath_var=LD_RUN_PATH
20223       ;;
20224     siemens)
20225       need_lib_prefix=no
20226       ;;
20227     motorola)
20228       need_lib_prefix=no
20229       need_version=no
20230       shlibpath_overrides_runpath=no
20231       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20232       ;;
20233   esac
20234   ;;
20235
20236 sysv4*MP*)
20237   if test -d /usr/nec ;then
20238     version_type=linux
20239     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20240     soname_spec='$libname${shared_ext}.$major'
20241     shlibpath_var=LD_LIBRARY_PATH
20242   fi
20243   ;;
20244
20245 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20246   version_type=freebsd-elf
20247   need_lib_prefix=no
20248   need_version=no
20249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20250   soname_spec='${libname}${release}${shared_ext}$major'
20251   shlibpath_var=LD_LIBRARY_PATH
20252   shlibpath_overrides_runpath=yes
20253   hardcode_into_libs=yes
20254   if test "$with_gnu_ld" = yes; then
20255     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20256   else
20257     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20258     case $host_os in
20259       sco3.2v5*)
20260         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20261         ;;
20262     esac
20263   fi
20264   sys_lib_dlsearch_path_spec='/usr/lib'
20265   ;;
20266
20267 tpf*)
20268   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
20269   version_type=linux
20270   need_lib_prefix=no
20271   need_version=no
20272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20273   shlibpath_var=LD_LIBRARY_PATH
20274   shlibpath_overrides_runpath=no
20275   hardcode_into_libs=yes
20276   ;;
20277
20278 uts4*)
20279   version_type=linux
20280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20281   soname_spec='${libname}${release}${shared_ext}$major'
20282   shlibpath_var=LD_LIBRARY_PATH
20283   ;;
20284
20285 *)
20286   dynamic_linker=no
20287   ;;
20288 esac
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20290 $as_echo "$dynamic_linker" >&6; }
20291 test "$dynamic_linker" = no && can_build_shared=no
20292
20293 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20294 if test "$GCC" = yes; then
20295   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20296 fi
20297
20298 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20299   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20300 fi
20301 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20302   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20303 fi
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20341 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20342 hardcode_action_CXX=
20343 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20344    test -n "$runpath_var_CXX" ||
20345    test "X$hardcode_automatic_CXX" = "Xyes" ; then
20346
20347   # We can hardcode non-existent directories.
20348   if test "$hardcode_direct_CXX" != no &&
20349      # If the only mechanism to avoid hardcoding is shlibpath_var, we
20350      # have to relink, otherwise we might link with an installed library
20351      # when we should be linking with a yet-to-be-installed one
20352      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20353      test "$hardcode_minus_L_CXX" != no; then
20354     # Linking always hardcodes the temporary library directory.
20355     hardcode_action_CXX=relink
20356   else
20357     # We can link without hardcoding, and we can hardcode nonexisting dirs.
20358     hardcode_action_CXX=immediate
20359   fi
20360 else
20361   # We cannot hardcode anything, or else we can only hardcode existing
20362   # directories.
20363   hardcode_action_CXX=unsupported
20364 fi
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20366 $as_echo "$hardcode_action_CXX" >&6; }
20367
20368 if test "$hardcode_action_CXX" = relink ||
20369    test "$inherit_rpath_CXX" = yes; then
20370   # Fast installation is not supported
20371   enable_fast_install=no
20372 elif test "$shlibpath_overrides_runpath" = yes ||
20373      test "$enable_shared" = no; then
20374   # Fast installation is not necessary
20375   enable_fast_install=needless
20376 fi
20377
20378
20379
20380
20381
20382
20383
20384   fi # test -n "$compiler"
20385
20386   CC=$lt_save_CC
20387   LDCXX=$LD
20388   LD=$lt_save_LD
20389   GCC=$lt_save_GCC
20390   with_gnu_ld=$lt_save_with_gnu_ld
20391   lt_cv_path_LDCXX=$lt_cv_path_LD
20392   lt_cv_path_LD=$lt_save_path_LD
20393   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20394   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20395 fi # test "$_lt_caught_CXX_error" != yes
20396
20397 ac_ext=c
20398 ac_cpp='$CPP $CPPFLAGS'
20399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20402
20403
20404 ac_ext=cpp
20405 ac_cpp='$CXXCPP $CPPFLAGS'
20406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20409
20410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20411 /* end confdefs.h.  */
20412  class Foo { int bar; };
20413 int
20414 main ()
20415 {
20416
20417   ;
20418   return 0;
20419 }
20420 _ACEOF
20421 if ac_fn_cxx_try_compile "$LINENO"; then :
20422   working_cxx=yes
20423 else
20424   working_cxx=no
20425 fi
20426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20427 ac_ext=c
20428 ac_cpp='$CPP $CPPFLAGS'
20429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20432
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: working c++ compiler found: $working_cxx" >&5
20434 $as_echo "$as_me: working c++ compiler found: $working_cxx" >&6;}
20435  if test "x$working_cxx" = "xyes"; then
20436   HAVE_CXX_TRUE=
20437   HAVE_CXX_FALSE='#'
20438 else
20439   HAVE_CXX_TRUE='#'
20440   HAVE_CXX_FALSE=
20441 fi
20442
20443
20444 # Extract the first word of "perl", so it can be a program name with args.
20445 set dummy perl; ac_word=$2
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20447 $as_echo_n "checking for $ac_word... " >&6; }
20448 if test "${ac_cv_path_PERL_PATH+set}" = set; then :
20449   $as_echo_n "(cached) " >&6
20450 else
20451   case $PERL_PATH in
20452   [\\/]* | ?:[\\/]*)
20453   ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path.
20454   ;;
20455   *)
20456   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20457 for as_dir in $PATH
20458 do
20459   IFS=$as_save_IFS
20460   test -z "$as_dir" && as_dir=.
20461     for ac_exec_ext in '' $ac_executable_extensions; do
20462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20463     ac_cv_path_PERL_PATH="$as_dir/$ac_word$ac_exec_ext"
20464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20465     break 2
20466   fi
20467 done
20468   done
20469 IFS=$as_save_IFS
20470
20471   test -z "$ac_cv_path_PERL_PATH" && ac_cv_path_PERL_PATH="no"
20472   ;;
20473 esac
20474 fi
20475 PERL_PATH=$ac_cv_path_PERL_PATH
20476 if test -n "$PERL_PATH"; then
20477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_PATH" >&5
20478 $as_echo "$PERL_PATH" >&6; }
20479 else
20480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20481 $as_echo "no" >&6; }
20482 fi
20483
20484
20485 if test x$PERL_PATH = xno; then
20486   as_fn_error $? "Could not find perl" "$LINENO" 5
20487 fi
20488
20489 if test "x$GST_DISABLE_PARSE" != xyes; then
20490
20491       # Extract the first word of "bison", so it can be a program name with args.
20492 set dummy bison; ac_word=$2
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20494 $as_echo_n "checking for $ac_word... " >&6; }
20495 if test "${ac_cv_path_BISON_PATH+set}" = set; then :
20496   $as_echo_n "(cached) " >&6
20497 else
20498   case $BISON_PATH in
20499   [\\/]* | ?:[\\/]*)
20500   ac_cv_path_BISON_PATH="$BISON_PATH" # Let the user override the test with a path.
20501   ;;
20502   *)
20503   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20504 for as_dir in $PATH
20505 do
20506   IFS=$as_save_IFS
20507   test -z "$as_dir" && as_dir=.
20508     for ac_exec_ext in '' $ac_executable_extensions; do
20509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20510     ac_cv_path_BISON_PATH="$as_dir/$ac_word$ac_exec_ext"
20511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20512     break 2
20513   fi
20514 done
20515   done
20516 IFS=$as_save_IFS
20517
20518   test -z "$ac_cv_path_BISON_PATH" && ac_cv_path_BISON_PATH="no"
20519   ;;
20520 esac
20521 fi
20522 BISON_PATH=$ac_cv_path_BISON_PATH
20523 if test -n "$BISON_PATH"; then
20524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON_PATH" >&5
20525 $as_echo "$BISON_PATH" >&6; }
20526 else
20527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20528 $as_echo "no" >&6; }
20529 fi
20530
20531
20532   if test x$BISON_PATH = xno; then
20533     as_fn_error $? "Could not find bison" "$LINENO" 5
20534   fi
20535
20536           bison_min_version=1.875
20537   bison_version=`$BISON_PATH --version | head -n 1 |  sed 's/^[^0-9]*//' | sed 's/[^0-9]*$//' | cut -d' ' -f1`
20538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version $bison_version >= $bison_min_version" >&5
20539 $as_echo_n "checking bison version $bison_version >= $bison_min_version... " >&6; }
20540
20541   if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
20542     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20543 $as_echo "yes" >&6; }
20544   else
20545     as_fn_error $? "no" "$LINENO" 5
20546   fi
20547
20548
20549     # Extract the first word of "flex", so it can be a program name with args.
20550 set dummy flex; ac_word=$2
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20552 $as_echo_n "checking for $ac_word... " >&6; }
20553 if test "${ac_cv_path_FLEX_PATH+set}" = set; then :
20554   $as_echo_n "(cached) " >&6
20555 else
20556   case $FLEX_PATH in
20557   [\\/]* | ?:[\\/]*)
20558   ac_cv_path_FLEX_PATH="$FLEX_PATH" # Let the user override the test with a path.
20559   ;;
20560   *)
20561   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20562 for as_dir in $PATH
20563 do
20564   IFS=$as_save_IFS
20565   test -z "$as_dir" && as_dir=.
20566     for ac_exec_ext in '' $ac_executable_extensions; do
20567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20568     ac_cv_path_FLEX_PATH="$as_dir/$ac_word$ac_exec_ext"
20569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20570     break 2
20571   fi
20572 done
20573   done
20574 IFS=$as_save_IFS
20575
20576   test -z "$ac_cv_path_FLEX_PATH" && ac_cv_path_FLEX_PATH="no"
20577   ;;
20578 esac
20579 fi
20580 FLEX_PATH=$ac_cv_path_FLEX_PATH
20581 if test -n "$FLEX_PATH"; then
20582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX_PATH" >&5
20583 $as_echo "$FLEX_PATH" >&6; }
20584 else
20585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20586 $as_echo "no" >&6; }
20587 fi
20588
20589
20590   if test x$FLEX_PATH = xno; then
20591     as_fn_error $? "Could not find flex" "$LINENO" 5
20592   fi
20593
20594         flex_min_version=2.5.31
20595   flex_version=`$FLEX_PATH --version | head -n 1 | sed 's/^.* //' | sed 's/[a-zA-Z]*$//' | cut -d' ' -f1`
20596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking flex version $flex_version >= $flex_min_version" >&5
20597 $as_echo_n "checking flex version $flex_version >= $flex_min_version... " >&6; }
20598   if perl -w <<EOF
20599     (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$flex_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
20600     (\$flex_version_major, \$flex_version_minor, \$flex_version_micro ) = "$flex_version" =~ /(\d+)\.(\d+)\.(\d+)/;
20601     exit (((\$flex_version_major > \$min_version_major) ||
20602      ((\$flex_version_major == \$min_version_major) &&
20603       (\$flex_version_minor > \$min_version_minor)) ||
20604      ((\$flex_version_major == \$min_version_major) &&
20605       (\$flex_version_minor == \$min_version_minor) &&
20606       (\$flex_version_micro >= \$min_version_micro)))
20607      ? 0 : 1);
20608 EOF
20609   then
20610     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20611 $as_echo "yes" >&6; }
20612   else
20613     as_fn_error $? "no" "$LINENO" 5
20614   fi
20615
20616 fi
20617
20618 # Extract the first word of "valgrind", so it can be a program name with args.
20619 set dummy valgrind; ac_word=$2
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20621 $as_echo_n "checking for $ac_word... " >&6; }
20622 if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then :
20623   $as_echo_n "(cached) " >&6
20624 else
20625   case $VALGRIND_PATH in
20626   [\\/]* | ?:[\\/]*)
20627   ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
20628   ;;
20629   *)
20630   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20631 for as_dir in $PATH
20632 do
20633   IFS=$as_save_IFS
20634   test -z "$as_dir" && as_dir=.
20635     for ac_exec_ext in '' $ac_executable_extensions; do
20636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20637     ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
20638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20639     break 2
20640   fi
20641 done
20642   done
20643 IFS=$as_save_IFS
20644
20645   test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
20646   ;;
20647 esac
20648 fi
20649 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
20650 if test -n "$VALGRIND_PATH"; then
20651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
20652 $as_echo "$VALGRIND_PATH" >&6; }
20653 else
20654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20655 $as_echo "no" >&6; }
20656 fi
20657
20658
20659  if test ! "x$VALGRIND_PATH" = "xno"; then
20660   HAVE_VALGRIND_TRUE=
20661   HAVE_VALGRIND_FALSE='#'
20662 else
20663   HAVE_VALGRIND_TRUE='#'
20664   HAVE_VALGRIND_FALSE=
20665 fi
20666
20667
20668
20669
20670
20671                 # Check whether --enable-introspection was given.
20672 if test "${enable_introspection+set}" = set; then :
20673   enableval=$enable_introspection;
20674 else
20675   enable_introspection=auto
20676 fi
20677
20678
20679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
20680 $as_echo_n "checking for gobject-introspection... " >&6; }
20681
20682         case $enable_introspection in #(
20683   no) :
20684             found_introspection="no (disabled, use --enable-introspection to enable)"
20685      ;; #(
20686       yes) :
20687             if test -n "$PKG_CONFIG" && \
20688     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
20689   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
20690   ac_status=$?
20691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20692   test $ac_status = 0; }; then
20693   :
20694 else
20695   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
20696 fi
20697         if test -n "$PKG_CONFIG" && \
20698     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\""; } >&5
20699   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
20700   ac_status=$?
20701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20702   test $ac_status = 0; }; then
20703   found_introspection=yes
20704 else
20705   as_fn_error $? "You need to have gobject-introspection >= 0.6.3 installed to build GStreamer" "$LINENO" 5
20706 fi
20707      ;; #(
20708       auto) :
20709             if test -n "$PKG_CONFIG" && \
20710     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\""; } >&5
20711   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
20712   ac_status=$?
20713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20714   test $ac_status = 0; }; then
20715   found_introspection=yes
20716 else
20717   found_introspection=no
20718 fi
20719      ;; #(
20720   *) :
20721                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
20722      ;;
20723 esac
20724     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
20725 $as_echo "$found_introspection" >&6; }
20726
20727     INTROSPECTION_SCANNER=
20728     INTROSPECTION_COMPILER=
20729     INTROSPECTION_GENERATE=
20730     INTROSPECTION_GIRDIR=
20731     INTROSPECTION_TYPELIBDIR=
20732     if test "x$found_introspection" = "xyes"; then
20733        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
20734        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
20735        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
20736        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
20737        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
20738     fi
20739
20740
20741
20742
20743
20744
20745      if test "x$found_introspection" = "xyes"; then
20746   HAVE_INTROSPECTION_TRUE=
20747   HAVE_INTROSPECTION_FALSE='#'
20748 else
20749   HAVE_INTROSPECTION_TRUE='#'
20750   HAVE_INTROSPECTION_FALSE=
20751 fi
20752
20753
20754
20755
20756
20757     if test "x$PACKAGE_TARNAME" = "x"
20758   then
20759     as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5
20760   fi
20761   docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_MAJORMINOR"
20762
20763     # Check whether --enable-docbook was given.
20764 if test "${enable_docbook+set}" = set; then :
20765   enableval=$enable_docbook;
20766 else
20767   enable_docbook=no
20768 fi
20769
20770
20771   have_docbook=no
20772
20773   if test x$enable_docbook = xyes; then
20774
20775         # Extract the first word of "docbook2ps", so it can be a program name with args.
20776 set dummy docbook2ps; ac_word=$2
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20778 $as_echo_n "checking for $ac_word... " >&6; }
20779 if test "${ac_cv_prog_HAVE_DOCBOOK2PS+set}" = set; then :
20780   $as_echo_n "(cached) " >&6
20781 else
20782   if test -n "$HAVE_DOCBOOK2PS"; then
20783   ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
20784 else
20785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20786 for as_dir in $PATH
20787 do
20788   IFS=$as_save_IFS
20789   test -z "$as_dir" && as_dir=.
20790     for ac_exec_ext in '' $ac_executable_extensions; do
20791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20792     ac_cv_prog_HAVE_DOCBOOK2PS="yes"
20793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20794     break 2
20795   fi
20796 done
20797   done
20798 IFS=$as_save_IFS
20799
20800   test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
20801 fi
20802 fi
20803 HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
20804 if test -n "$HAVE_DOCBOOK2PS"; then
20805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5
20806 $as_echo "$HAVE_DOCBOOK2PS" >&6; }
20807 else
20808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20809 $as_echo "no" >&6; }
20810 fi
20811
20812
20813     # Extract the first word of "docbook2html", so it can be a program name with args.
20814 set dummy docbook2html; ac_word=$2
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20816 $as_echo_n "checking for $ac_word... " >&6; }
20817 if test "${ac_cv_prog_HAVE_DOCBOOK2HTML+set}" = set; then :
20818   $as_echo_n "(cached) " >&6
20819 else
20820   if test -n "$HAVE_DOCBOOK2HTML"; then
20821   ac_cv_prog_HAVE_DOCBOOK2HTML="$HAVE_DOCBOOK2HTML" # Let the user override the test.
20822 else
20823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20824 for as_dir in $PATH
20825 do
20826   IFS=$as_save_IFS
20827   test -z "$as_dir" && as_dir=.
20828     for ac_exec_ext in '' $ac_executable_extensions; do
20829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20830     ac_cv_prog_HAVE_DOCBOOK2HTML="yes"
20831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20832     break 2
20833   fi
20834 done
20835   done
20836 IFS=$as_save_IFS
20837
20838   test -z "$ac_cv_prog_HAVE_DOCBOOK2HTML" && ac_cv_prog_HAVE_DOCBOOK2HTML="no"
20839 fi
20840 fi
20841 HAVE_DOCBOOK2HTML=$ac_cv_prog_HAVE_DOCBOOK2HTML
20842 if test -n "$HAVE_DOCBOOK2HTML"; then
20843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2HTML" >&5
20844 $as_echo "$HAVE_DOCBOOK2HTML" >&6; }
20845 else
20846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20847 $as_echo "no" >&6; }
20848 fi
20849
20850
20851     # Extract the first word of "jadetex", so it can be a program name with args.
20852 set dummy jadetex; ac_word=$2
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20854 $as_echo_n "checking for $ac_word... " >&6; }
20855 if test "${ac_cv_prog_HAVE_JADETEX+set}" = set; then :
20856   $as_echo_n "(cached) " >&6
20857 else
20858   if test -n "$HAVE_JADETEX"; then
20859   ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
20860 else
20861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20862 for as_dir in $PATH
20863 do
20864   IFS=$as_save_IFS
20865   test -z "$as_dir" && as_dir=.
20866     for ac_exec_ext in '' $ac_executable_extensions; do
20867   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20868     ac_cv_prog_HAVE_JADETEX="yes"
20869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20870     break 2
20871   fi
20872 done
20873   done
20874 IFS=$as_save_IFS
20875
20876   test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
20877 fi
20878 fi
20879 HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
20880 if test -n "$HAVE_JADETEX"; then
20881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5
20882 $as_echo "$HAVE_JADETEX" >&6; }
20883 else
20884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20885 $as_echo "no" >&6; }
20886 fi
20887
20888
20889     # Extract the first word of "ps2pdf", so it can be a program name with args.
20890 set dummy ps2pdf; ac_word=$2
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20892 $as_echo_n "checking for $ac_word... " >&6; }
20893 if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then :
20894   $as_echo_n "(cached) " >&6
20895 else
20896   if test -n "$HAVE_PS2PDF"; then
20897   ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
20898 else
20899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20900 for as_dir in $PATH
20901 do
20902   IFS=$as_save_IFS
20903   test -z "$as_dir" && as_dir=.
20904     for ac_exec_ext in '' $ac_executable_extensions; do
20905   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20906     ac_cv_prog_HAVE_PS2PDF="yes"
20907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20908     break 2
20909   fi
20910 done
20911   done
20912 IFS=$as_save_IFS
20913
20914   test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
20915 fi
20916 fi
20917 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
20918 if test -n "$HAVE_PS2PDF"; then
20919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5
20920 $as_echo "$HAVE_PS2PDF" >&6; }
20921 else
20922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20923 $as_echo "no" >&6; }
20924 fi
20925
20926
20927
20928     # -V option appeared in 0.6.10
20929     docbook2html_min_version=0.6.10
20930     if test "x$HAVE_DOCBOOK2HTML" != "xno"; then
20931       docbook2html_version=`docbook2html --version`
20932       { $as_echo "$as_me:${as_lineno-$LINENO}: checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version" >&5
20933 $as_echo_n "checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version... " >&6; }
20934       if perl -w <<EOF
20935         (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$docbook2html_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
20936         (\$docbook2html_version_major, \$docbook2html_version_minor, \$docbook2html_version_micro ) = "$docbook2html_version" =~ /(\d+)\.(\d+)\.(\d+)/;
20937         exit (((\$docbook2html_version_major > \$min_version_major) ||
20938              ((\$docbook2html_version_major == \$min_version_major) &&
20939               (\$docbook2html_version_minor >= \$min_version_minor)) ||
20940              ((\$docbook2html_version_major == \$min_version_major) &&
20941               (\$docbook2html_version_minor >= \$min_version_minor) &&
20942               (\$docbook2html_version_micro >= \$min_version_micro)))
20943              ? 0 : 1);
20944 EOF
20945       then
20946         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20947 $as_echo "yes" >&6; }
20948       else
20949         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20950 $as_echo "no" >&6; }
20951         HAVE_DOCBOOK2HTML=no
20952       fi
20953     fi
20954
20955
20956   XSLTPROC_FLAGS=--nonet
20957   DOCBOOK_ROOT=
20958   TYPE_LC=xml
20959   TYPE_UC=XML
20960   DOCBOOK_VERSION=4.1.2
20961
20962   if test ! -f /etc/xml/catalog; then
20963     for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ;
20964     do
20965       if test -d "$i"; then
20966         DOCBOOK_ROOT=$i
20967       fi
20968     done
20969   else
20970     XML_CATALOG=/etc/xml/catalog
20971     CAT_ENTRY_START='<!--'
20972     CAT_ENTRY_END='-->'
20973   fi
20974
20975     # Extract the first word of "xsltproc", so it can be a program name with args.
20976 set dummy xsltproc; ac_word=$2
20977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20978 $as_echo_n "checking for $ac_word... " >&6; }
20979 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
20980   $as_echo_n "(cached) " >&6
20981 else
20982   if test -n "$XSLTPROC"; then
20983   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
20984 else
20985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20986 for as_dir in $PATH
20987 do
20988   IFS=$as_save_IFS
20989   test -z "$as_dir" && as_dir=.
20990     for ac_exec_ext in '' $ac_executable_extensions; do
20991   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20992     ac_cv_prog_XSLTPROC="xsltproc"
20993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20994     break 2
20995   fi
20996 done
20997   done
20998 IFS=$as_save_IFS
20999
21000 fi
21001 fi
21002 XSLTPROC=$ac_cv_prog_XSLTPROC
21003 if test -n "$XSLTPROC"; then
21004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
21005 $as_echo "$XSLTPROC" >&6; }
21006 else
21007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21008 $as_echo "no" >&6; }
21009 fi
21010
21011
21012   XSLTPROC_WORKS=no
21013   if test -n "$XSLTPROC"; then
21014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5
21015 $as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
21016
21017     if test -n "$XML_CATALOG"; then
21018       DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
21019     else
21020       DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl"
21021     fi
21022     $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
21023 <?xml version="1.0" encoding='ISO-8859-1'?>
21024 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
21025 <book id="test">
21026 </book>
21027 END
21028     if test "$?" = 0; then
21029       XSLTPROC_WORKS=yes
21030     fi
21031     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5
21032 $as_echo "$XSLTPROC_WORKS" >&6; }
21033   fi
21034
21035   if test "x$XSLTPROC_WORKS" = "xyes"; then
21036         have_docbook=yes
21037   else
21038         have_docbook=no
21039   fi
21040
21041
21042
21043
21044
21045
21046
21047
21048         # Extract the first word of "dvips", so it can be a program name with args.
21049 set dummy dvips; ac_word=$2
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21051 $as_echo_n "checking for $ac_word... " >&6; }
21052 if test "${ac_cv_prog_HAVE_DVIPS+set}" = set; then :
21053   $as_echo_n "(cached) " >&6
21054 else
21055   if test -n "$HAVE_DVIPS"; then
21056   ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
21057 else
21058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21059 for as_dir in $PATH
21060 do
21061   IFS=$as_save_IFS
21062   test -z "$as_dir" && as_dir=.
21063     for ac_exec_ext in '' $ac_executable_extensions; do
21064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21065     ac_cv_prog_HAVE_DVIPS="yes"
21066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21067     break 2
21068   fi
21069 done
21070   done
21071 IFS=$as_save_IFS
21072
21073   test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
21074 fi
21075 fi
21076 HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
21077 if test -n "$HAVE_DVIPS"; then
21078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5
21079 $as_echo "$HAVE_DVIPS" >&6; }
21080 else
21081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21082 $as_echo "no" >&6; }
21083 fi
21084
21085
21086     # Extract the first word of "xmllint", so it can be a program name with args.
21087 set dummy xmllint; ac_word=$2
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21089 $as_echo_n "checking for $ac_word... " >&6; }
21090 if test "${ac_cv_prog_HAVE_XMLLINT+set}" = set; then :
21091   $as_echo_n "(cached) " >&6
21092 else
21093   if test -n "$HAVE_XMLLINT"; then
21094   ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
21095 else
21096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21097 for as_dir in $PATH
21098 do
21099   IFS=$as_save_IFS
21100   test -z "$as_dir" && as_dir=.
21101     for ac_exec_ext in '' $ac_executable_extensions; do
21102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21103     ac_cv_prog_HAVE_XMLLINT="yes"
21104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21105     break 2
21106   fi
21107 done
21108   done
21109 IFS=$as_save_IFS
21110
21111   test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
21112 fi
21113 fi
21114 HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
21115 if test -n "$HAVE_XMLLINT"; then
21116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5
21117 $as_echo "$HAVE_XMLLINT" >&6; }
21118 else
21119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21120 $as_echo "no" >&6; }
21121 fi
21122
21123
21124
21125         # Extract the first word of "fig2dev", so it can be a program name with args.
21126 set dummy fig2dev; ac_word=$2
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21128 $as_echo_n "checking for $ac_word... " >&6; }
21129 if test "${ac_cv_prog_HAVE_FIG2DEV+set}" = set; then :
21130   $as_echo_n "(cached) " >&6
21131 else
21132   if test -n "$HAVE_FIG2DEV"; then
21133   ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test.
21134 else
21135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21136 for as_dir in $PATH
21137 do
21138   IFS=$as_save_IFS
21139   test -z "$as_dir" && as_dir=.
21140     for ac_exec_ext in '' $ac_executable_extensions; do
21141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21142     ac_cv_prog_HAVE_FIG2DEV="yes"
21143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21144     break 2
21145   fi
21146 done
21147   done
21148 IFS=$as_save_IFS
21149
21150   test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="no"
21151 fi
21152 fi
21153 HAVE_FIG2DEV=$ac_cv_prog_HAVE_FIG2DEV
21154 if test -n "$HAVE_FIG2DEV"; then
21155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FIG2DEV" >&5
21156 $as_echo "$HAVE_FIG2DEV" >&6; }
21157 else
21158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21159 $as_echo "no" >&6; }
21160 fi
21161
21162
21163     if test "x$HAVE_FIG2DEV" = "xno" ; then
21164       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&5
21165 $as_echo "$as_me: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&2;}
21166     fi
21167
21168             HAVE_FIG2DEV_EPS=no
21169     if test "x$HAVE_FIG2DEV" = "xyes" ; then
21170       fig2dev_quiet=`fig2dev -L eps </dev/null 2>&1 >/dev/null`
21171       if test "x$fig2dev_quiet" = "x" ; then
21172         HAVE_FIG2DEV_EPS=yes
21173       fi
21174     fi
21175     HAVE_FIG2DEV_PNG=no
21176     if test "x$HAVE_FIG2DEV" = "xyes" ; then
21177       fig2dev_quiet=`fig2dev -L png </dev/null 2>&1 >/dev/null`
21178       if test "x$fig2dev_quiet" = "x" ; then
21179         HAVE_FIG2DEV_PNG=yes
21180       fi
21181     fi
21182     HAVE_FIG2DEV_PDF=no
21183     if test "x$HAVE_FIG2DEV" = "xyes" ; then
21184       fig2dev_quiet=`fig2dev -L pdf </dev/null 2>&1 >/dev/null`
21185       if test "x$fig2dev_quiet" = "x" ; then
21186         HAVE_FIG2DEV_PDF=yes
21187       fi
21188     fi
21189
21190     # Extract the first word of "pngtopnm", so it can be a program name with args.
21191 set dummy pngtopnm; ac_word=$2
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21193 $as_echo_n "checking for $ac_word... " >&6; }
21194 if test "${ac_cv_prog_HAVE_PNGTOPNM+set}" = set; then :
21195   $as_echo_n "(cached) " >&6
21196 else
21197   if test -n "$HAVE_PNGTOPNM"; then
21198   ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
21199 else
21200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21201 for as_dir in $PATH
21202 do
21203   IFS=$as_save_IFS
21204   test -z "$as_dir" && as_dir=.
21205     for ac_exec_ext in '' $ac_executable_extensions; do
21206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21207     ac_cv_prog_HAVE_PNGTOPNM="yes"
21208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21209     break 2
21210   fi
21211 done
21212   done
21213 IFS=$as_save_IFS
21214
21215   test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
21216 fi
21217 fi
21218 HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
21219 if test -n "$HAVE_PNGTOPNM"; then
21220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5
21221 $as_echo "$HAVE_PNGTOPNM" >&6; }
21222 else
21223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21224 $as_echo "no" >&6; }
21225 fi
21226
21227
21228     # Extract the first word of "pnmtops", so it can be a program name with args.
21229 set dummy pnmtops; ac_word=$2
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21231 $as_echo_n "checking for $ac_word... " >&6; }
21232 if test "${ac_cv_prog_HAVE_PNMTOPS+set}" = set; then :
21233   $as_echo_n "(cached) " >&6
21234 else
21235   if test -n "$HAVE_PNMTOPS"; then
21236   ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
21237 else
21238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21239 for as_dir in $PATH
21240 do
21241   IFS=$as_save_IFS
21242   test -z "$as_dir" && as_dir=.
21243     for ac_exec_ext in '' $ac_executable_extensions; do
21244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21245     ac_cv_prog_HAVE_PNMTOPS="yes"
21246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21247     break 2
21248   fi
21249 done
21250   done
21251 IFS=$as_save_IFS
21252
21253   test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
21254 fi
21255 fi
21256 HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
21257 if test -n "$HAVE_PNMTOPS"; then
21258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5
21259 $as_echo "$HAVE_PNMTOPS" >&6; }
21260 else
21261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21262 $as_echo "no" >&6; }
21263 fi
21264
21265
21266     # Extract the first word of "epstopdf", so it can be a program name with args.
21267 set dummy epstopdf; ac_word=$2
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21269 $as_echo_n "checking for $ac_word... " >&6; }
21270 if test "${ac_cv_prog_HAVE_EPSTOPDF+set}" = set; then :
21271   $as_echo_n "(cached) " >&6
21272 else
21273   if test -n "$HAVE_EPSTOPDF"; then
21274   ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
21275 else
21276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21277 for as_dir in $PATH
21278 do
21279   IFS=$as_save_IFS
21280   test -z "$as_dir" && as_dir=.
21281     for ac_exec_ext in '' $ac_executable_extensions; do
21282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21283     ac_cv_prog_HAVE_EPSTOPDF="yes"
21284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21285     break 2
21286   fi
21287 done
21288   done
21289 IFS=$as_save_IFS
21290
21291   test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
21292 fi
21293 fi
21294 HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
21295 if test -n "$HAVE_EPSTOPDF"; then
21296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5
21297 $as_echo "$HAVE_EPSTOPDF" >&6; }
21298 else
21299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21300 $as_echo "no" >&6; }
21301 fi
21302
21303
21304
21305         if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
21306        test "x$enable_docbook" = "xyes" && \
21307        test "x$HAVE_XMLLINT" = "xyes" && \
21308        test "x$HAVE_FIG2DEV_PNG" = "xyes"; then
21309       DOC_HTML=yes
21310       { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5
21311 $as_echo "$as_me: Will output HTML documentation" >&6;}
21312      else
21313       DOC_HTML=no
21314       { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5
21315 $as_echo "$as_me: Will not output HTML documentation" >&6;}
21316     fi
21317
21318         if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
21319        test "x$enable_docbook" = "xyes" && \
21320        test "x$HAVE_XMLLINT" = "xyes" && \
21321        test "x$HAVE_JADETEX" = "xyes" && \
21322        test "x$HAVE_FIG2DEV_EPS" = "xyes" && \
21323        test "x$HAVE_DVIPS" = "xyes" && \
21324        test "x$HAVE_PNGTOPNM" = "xyes" && \
21325        test "x$HAVE_PNMTOPS" = "xyes"; then
21326       DOC_PS=yes
21327       { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5
21328 $as_echo "$as_me: Will output PS documentation" >&6;}
21329     else
21330       DOC_PS=no
21331       { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5
21332 $as_echo "$as_me: Will not output PS documentation" >&6;}
21333     fi
21334
21335         if test "x$DOC_PS" = "xyes" && \
21336        test "x$enable_docbook" = "xyes" && \
21337        test "x$HAVE_XMLLINT" = "xyes" && \
21338        test "x$HAVE_PS2PDF" = "xyes"; then
21339       DOC_PDF=yes
21340       { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5
21341 $as_echo "$as_me: Will output PDF documentation" >&6;}
21342     else
21343       DOC_PDF=no
21344       { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5
21345 $as_echo "$as_me: Will not output PDF documentation" >&6;}
21346     fi
21347
21348         if test "x$have_docbook" != "xyes"; then
21349       enable_docbook=no
21350     fi
21351   fi
21352
21353     if test "x$have_docbook" = "xyes"; then
21354     { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5
21355 $as_echo "$as_me: Installing documentation in $docdir" >&6;}
21356
21357   fi
21358
21359    if test x$enable_docbook = xyes; then
21360   ENABLE_DOCBOOK_TRUE=
21361   ENABLE_DOCBOOK_FALSE='#'
21362 else
21363   ENABLE_DOCBOOK_TRUE='#'
21364   ENABLE_DOCBOOK_FALSE=
21365 fi
21366
21367    if test x$DOC_HTML = xyes; then
21368   DOC_HTML_TRUE=
21369   DOC_HTML_FALSE='#'
21370 else
21371   DOC_HTML_TRUE='#'
21372   DOC_HTML_FALSE=
21373 fi
21374
21375    if test x$DOC_PDF = xyes; then
21376   DOC_PDF_TRUE=
21377   DOC_PDF_FALSE='#'
21378 else
21379   DOC_PDF_TRUE='#'
21380   DOC_PDF_FALSE=
21381 fi
21382
21383    if test x$DOC_PS = xyes; then
21384   DOC_PS_TRUE=
21385   DOC_PS_FALSE='#'
21386 else
21387   DOC_PS_TRUE='#'
21388   DOC_PS_FALSE=
21389 fi
21390
21391
21392
21393
21394 # Check whether --with-html-dir was given.
21395 if test "${with_html_dir+set}" = set; then :
21396   withval=$with_html_dir;
21397 else
21398   with_html_dir='${datadir}/gtk-doc/html'
21399 fi
21400
21401   HTML_DIR="$with_html_dir"
21402
21403
21404     # Check whether --enable-gtk-doc was given.
21405 if test "${enable_gtk_doc+set}" = set; then :
21406   enableval=$enable_gtk_doc;
21407 else
21408   enable_gtk_doc=no
21409 fi
21410
21411
21412   if test x$enable_gtk_doc = xyes; then
21413     if test -n "$PKG_CONFIG" && \
21414     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
21415   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
21416   ac_status=$?
21417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21418   test $ac_status = 0; }; then
21419   :
21420 else
21421   as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
21422 fi
21423     if test -z "$SED"; then
21424       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
21425 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
21426 if test "${ac_cv_path_SED+set}" = set; then :
21427   $as_echo_n "(cached) " >&6
21428 else
21429             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
21430      for ac_i in 1 2 3 4 5 6 7; do
21431        ac_script="$ac_script$as_nl$ac_script"
21432      done
21433      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
21434      { ac_script=; unset ac_script;}
21435      if test -z "$SED"; then
21436   ac_path_SED_found=false
21437   # Loop through the user's path and test for each of PROGNAME-LIST
21438   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21439 for as_dir in $PATH
21440 do
21441   IFS=$as_save_IFS
21442   test -z "$as_dir" && as_dir=.
21443     for ac_prog in sed gsed; do
21444     for ac_exec_ext in '' $ac_executable_extensions; do
21445       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
21446       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
21447 # Check for GNU ac_path_SED and select it if it is found.
21448   # Check for GNU $ac_path_SED
21449 case `"$ac_path_SED" --version 2>&1` in
21450 *GNU*)
21451   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
21452 *)
21453   ac_count=0
21454   $as_echo_n 0123456789 >"conftest.in"
21455   while :
21456   do
21457     cat "conftest.in" "conftest.in" >"conftest.tmp"
21458     mv "conftest.tmp" "conftest.in"
21459     cp "conftest.in" "conftest.nl"
21460     $as_echo '' >> "conftest.nl"
21461     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
21462     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
21463     as_fn_arith $ac_count + 1 && ac_count=$as_val
21464     if test $ac_count -gt ${ac_path_SED_max-0}; then
21465       # Best one so far, save it but keep looking for a better one
21466       ac_cv_path_SED="$ac_path_SED"
21467       ac_path_SED_max=$ac_count
21468     fi
21469     # 10*(2^10) chars as input seems more than enough
21470     test $ac_count -gt 10 && break
21471   done
21472   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
21473 esac
21474
21475       $ac_path_SED_found && break 3
21476     done
21477   done
21478   done
21479 IFS=$as_save_IFS
21480   if test -z "$ac_cv_path_SED"; then
21481     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
21482   fi
21483 else
21484   ac_cv_path_SED=$SED
21485 fi
21486
21487 fi
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
21489 $as_echo "$ac_cv_path_SED" >&6; }
21490  SED="$ac_cv_path_SED"
21491   rm -f conftest.sed
21492
21493     fi
21494   fi
21495
21496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
21497 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
21498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
21499 $as_echo "$enable_gtk_doc" >&6; }
21500
21501   for ac_prog in gtkdoc-check
21502 do
21503   # Extract the first word of "$ac_prog", so it can be a program name with args.
21504 set dummy $ac_prog; ac_word=$2
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21506 $as_echo_n "checking for $ac_word... " >&6; }
21507 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
21508   $as_echo_n "(cached) " >&6
21509 else
21510   case $GTKDOC_CHECK in
21511   [\\/]* | ?:[\\/]*)
21512   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
21513   ;;
21514   *)
21515   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21516 for as_dir in $PATH
21517 do
21518   IFS=$as_save_IFS
21519   test -z "$as_dir" && as_dir=.
21520     for ac_exec_ext in '' $ac_executable_extensions; do
21521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21522     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
21523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21524     break 2
21525   fi
21526 done
21527   done
21528 IFS=$as_save_IFS
21529
21530   ;;
21531 esac
21532 fi
21533 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
21534 if test -n "$GTKDOC_CHECK"; then
21535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
21536 $as_echo "$GTKDOC_CHECK" >&6; }
21537 else
21538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21539 $as_echo "no" >&6; }
21540 fi
21541
21542
21543   test -n "$GTKDOC_CHECK" && break
21544 done
21545
21546
21547    if test x$enable_gtk_doc = xyes; then
21548   ENABLE_GTK_DOC_TRUE=
21549   ENABLE_GTK_DOC_FALSE='#'
21550 else
21551   ENABLE_GTK_DOC_TRUE='#'
21552   ENABLE_GTK_DOC_FALSE=
21553 fi
21554
21555    if test -n "$LIBTOOL"; then
21556   GTK_DOC_USE_LIBTOOL_TRUE=
21557   GTK_DOC_USE_LIBTOOL_FALSE='#'
21558 else
21559   GTK_DOC_USE_LIBTOOL_TRUE='#'
21560   GTK_DOC_USE_LIBTOOL_FALSE=
21561 fi
21562
21563
21564
21565
21566     PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
21567                      python1.6 python1.5"
21568
21569      { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
21570 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
21571         prog="
21572 import sys, string
21573 minver = '2.1'
21574 # split string by '.' and convert to numeric
21575 minver_info = map(string.atoi, string.split(minver, '.'))
21576 # we can now do comparisons on the two lists:
21577 if sys.version_info >= tuple(minver_info):
21578         sys.exit(0)
21579 else:
21580         sys.exit(1)"
21581
21582     python_good=false
21583     for python_candidate in $PYTHON_CANDIDATES; do
21584       unset PYTHON
21585       # Extract the first word of "$python_candidate", so it can be a program name with args.
21586 set dummy $python_candidate; ac_word=$2
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21588 $as_echo_n "checking for $ac_word... " >&6; }
21589 if test "${ac_cv_path_PYTHON+set}" = set; then :
21590   $as_echo_n "(cached) " >&6
21591 else
21592   case $PYTHON in
21593   [\\/]* | ?:[\\/]*)
21594   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21595   ;;
21596   *)
21597   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21598 for as_dir in $PATH
21599 do
21600   IFS=$as_save_IFS
21601   test -z "$as_dir" && as_dir=.
21602     for ac_exec_ext in '' $ac_executable_extensions; do
21603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21604     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21606     break 2
21607   fi
21608 done
21609   done
21610 IFS=$as_save_IFS
21611
21612   ;;
21613 esac
21614 fi
21615 PYTHON=$ac_cv_path_PYTHON
21616 if test -n "$PYTHON"; then
21617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
21618 $as_echo "$PYTHON" >&6; }
21619 else
21620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21621 $as_echo "no" >&6; }
21622 fi
21623
21624  1> /dev/null 2> /dev/null
21625
21626       if test "x$PYTHON" = "x"; then continue; fi
21627
21628       if $PYTHON -c "$prog" 1>&5 2>&5; then
21629         { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
21630 $as_echo_n "checking \"$PYTHON\":... " >&6; }
21631         { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
21632 $as_echo "okay" >&6; }
21633         python_good=true
21634         break;
21635       else
21636                 unset ac_cv_path_PYTHON
21637       fi
21638     done
21639
21640
21641   if test "$python_good" != "true"; then
21642     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
21643 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
21644     PYTHON=
21645   else
21646
21647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
21648 $as_echo_n "checking local Python configuration... " >&6; }
21649
21650
21651
21652     PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
21653
21654
21655
21656
21657   PYTHON_PREFIX='${prefix}'
21658
21659
21660   PYTHON_EXEC_PREFIX='${exec_prefix}'
21661
21662
21663
21664   PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
21665
21666
21667
21668
21669
21670   pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21671
21672
21673
21674   pkgpythondir=\${pythondir}/$PACKAGE
21675
21676
21677
21678   pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21679
21680
21681
21682   pkgpyexecdir=\${pyexecdir}/$PACKAGE
21683
21684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
21685 $as_echo "looks good" >&6; }
21686
21687   fi
21688
21689
21690
21691   build_plugin_docs=no
21692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
21693 $as_echo_n "checking whether to build plugin documentation... " >&6; }
21694   if test x$enable_gtk_doc = xyes; then
21695     build_plugin_docs=yes
21696     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21697 $as_echo "yes" >&6; }
21698   else
21699     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
21700 $as_echo "no (gtk-doc disabled or not available)" >&6; }
21701   fi
21702
21703    if test x$build_plugin_docs = xyes; then
21704   ENABLE_PLUGIN_DOCS_TRUE=
21705   ENABLE_PLUGIN_DOCS_FALSE='#'
21706 else
21707   ENABLE_PLUGIN_DOCS_TRUE='#'
21708   ENABLE_PLUGIN_DOCS_FALSE=
21709 fi
21710
21711
21712
21713
21714 LIBM=
21715 case $host in
21716 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
21717   # These system don't have libm, or don't need it
21718   ;;
21719 *-ncr-sysv4.3*)
21720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
21721 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
21722 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
21723   $as_echo_n "(cached) " >&6
21724 else
21725   ac_check_lib_save_LIBS=$LIBS
21726 LIBS="-lmw  $LIBS"
21727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21728 /* end confdefs.h.  */
21729
21730 /* Override any GCC internal prototype to avoid an error.
21731    Use char because int might match the return type of a GCC
21732    builtin and then its argument prototype would still apply.  */
21733 #ifdef __cplusplus
21734 extern "C"
21735 #endif
21736 char _mwvalidcheckl ();
21737 int
21738 main ()
21739 {
21740 return _mwvalidcheckl ();
21741   ;
21742   return 0;
21743 }
21744 _ACEOF
21745 if ac_fn_c_try_link "$LINENO"; then :
21746   ac_cv_lib_mw__mwvalidcheckl=yes
21747 else
21748   ac_cv_lib_mw__mwvalidcheckl=no
21749 fi
21750 rm -f core conftest.err conftest.$ac_objext \
21751     conftest$ac_exeext conftest.$ac_ext
21752 LIBS=$ac_check_lib_save_LIBS
21753 fi
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
21755 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
21756 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
21757   LIBM="-lmw"
21758 fi
21759
21760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21761 $as_echo_n "checking for cos in -lm... " >&6; }
21762 if test "${ac_cv_lib_m_cos+set}" = set; then :
21763   $as_echo_n "(cached) " >&6
21764 else
21765   ac_check_lib_save_LIBS=$LIBS
21766 LIBS="-lm  $LIBS"
21767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h.  */
21769
21770 /* Override any GCC internal prototype to avoid an error.
21771    Use char because int might match the return type of a GCC
21772    builtin and then its argument prototype would still apply.  */
21773 #ifdef __cplusplus
21774 extern "C"
21775 #endif
21776 char cos ();
21777 int
21778 main ()
21779 {
21780 return cos ();
21781   ;
21782   return 0;
21783 }
21784 _ACEOF
21785 if ac_fn_c_try_link "$LINENO"; then :
21786   ac_cv_lib_m_cos=yes
21787 else
21788   ac_cv_lib_m_cos=no
21789 fi
21790 rm -f core conftest.err conftest.$ac_objext \
21791     conftest$ac_exeext conftest.$ac_ext
21792 LIBS=$ac_check_lib_save_LIBS
21793 fi
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21795 $as_echo "$ac_cv_lib_m_cos" >&6; }
21796 if test "x$ac_cv_lib_m_cos" = x""yes; then :
21797   LIBM="$LIBM -lm"
21798 fi
21799
21800   ;;
21801 *)
21802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21803 $as_echo_n "checking for cos in -lm... " >&6; }
21804 if test "${ac_cv_lib_m_cos+set}" = set; then :
21805   $as_echo_n "(cached) " >&6
21806 else
21807   ac_check_lib_save_LIBS=$LIBS
21808 LIBS="-lm  $LIBS"
21809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h.  */
21811
21812 /* Override any GCC internal prototype to avoid an error.
21813    Use char because int might match the return type of a GCC
21814    builtin and then its argument prototype would still apply.  */
21815 #ifdef __cplusplus
21816 extern "C"
21817 #endif
21818 char cos ();
21819 int
21820 main ()
21821 {
21822 return cos ();
21823   ;
21824   return 0;
21825 }
21826 _ACEOF
21827 if ac_fn_c_try_link "$LINENO"; then :
21828   ac_cv_lib_m_cos=yes
21829 else
21830   ac_cv_lib_m_cos=no
21831 fi
21832 rm -f core conftest.err conftest.$ac_objext \
21833     conftest$ac_exeext conftest.$ac_ext
21834 LIBS=$ac_check_lib_save_LIBS
21835 fi
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21837 $as_echo "$ac_cv_lib_m_cos" >&6; }
21838 if test "x$ac_cv_lib_m_cos" = x""yes; then :
21839   LIBM="-lm"
21840 fi
21841
21842   ;;
21843 esac
21844
21845
21846
21847
21848
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
21850 $as_echo_n "checking for ANSI C header files... " >&6; }
21851 if test "${ac_cv_header_stdc+set}" = set; then :
21852   $as_echo_n "(cached) " >&6
21853 else
21854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21855 /* end confdefs.h.  */
21856 #include <stdlib.h>
21857 #include <stdarg.h>
21858 #include <string.h>
21859 #include <float.h>
21860
21861 int
21862 main ()
21863 {
21864
21865   ;
21866   return 0;
21867 }
21868 _ACEOF
21869 if ac_fn_c_try_compile "$LINENO"; then :
21870   ac_cv_header_stdc=yes
21871 else
21872   ac_cv_header_stdc=no
21873 fi
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21875
21876 if test $ac_cv_header_stdc = yes; then
21877   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21879 /* end confdefs.h.  */
21880 #include <string.h>
21881
21882 _ACEOF
21883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21884   $EGREP "memchr" >/dev/null 2>&1; then :
21885
21886 else
21887   ac_cv_header_stdc=no
21888 fi
21889 rm -f conftest*
21890
21891 fi
21892
21893 if test $ac_cv_header_stdc = yes; then
21894   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21896 /* end confdefs.h.  */
21897 #include <stdlib.h>
21898
21899 _ACEOF
21900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21901   $EGREP "free" >/dev/null 2>&1; then :
21902
21903 else
21904   ac_cv_header_stdc=no
21905 fi
21906 rm -f conftest*
21907
21908 fi
21909
21910 if test $ac_cv_header_stdc = yes; then
21911   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21912   if test "$cross_compiling" = yes; then :
21913   :
21914 else
21915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21916 /* end confdefs.h.  */
21917 #include <ctype.h>
21918 #include <stdlib.h>
21919 #if ((' ' & 0x0FF) == 0x020)
21920 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21921 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21922 #else
21923 # define ISLOWER(c) \
21924                    (('a' <= (c) && (c) <= 'i') \
21925                      || ('j' <= (c) && (c) <= 'r') \
21926                      || ('s' <= (c) && (c) <= 'z'))
21927 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21928 #endif
21929
21930 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21931 int
21932 main ()
21933 {
21934   int i;
21935   for (i = 0; i < 256; i++)
21936     if (XOR (islower (i), ISLOWER (i))
21937         || toupper (i) != TOUPPER (i))
21938       return 2;
21939   return 0;
21940 }
21941 _ACEOF
21942 if ac_fn_c_try_run "$LINENO"; then :
21943
21944 else
21945   ac_cv_header_stdc=no
21946 fi
21947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21948   conftest.$ac_objext conftest.beam conftest.$ac_ext
21949 fi
21950
21951 fi
21952 fi
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
21954 $as_echo "$ac_cv_header_stdc" >&6; }
21955 if test $ac_cv_header_stdc = yes; then
21956
21957 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
21958
21959 fi
21960
21961
21962 for ac_header in ucontext.h
21963 do :
21964   ac_fn_c_check_header_mongrel "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "$ac_includes_default"
21965 if test "x$ac_cv_header_ucontext_h" = x""yes; then :
21966   cat >>confdefs.h <<_ACEOF
21967 #define HAVE_UCONTEXT_H 1
21968 _ACEOF
21969
21970 fi
21971
21972 done
21973
21974
21975 for ac_header in sys/socket.h
21976 do :
21977   ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
21978 if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
21979   cat >>confdefs.h <<_ACEOF
21980 #define HAVE_SYS_SOCKET_H 1
21981 _ACEOF
21982  HAVE_SYS_SOCKET_H=yes
21983 fi
21984
21985 done
21986
21987  if test "x$HAVE_SYS_SOCKET_H" = "xyes"; then
21988   HAVE_SYS_SOCKET_H_TRUE=
21989   HAVE_SYS_SOCKET_H_FALSE='#'
21990 else
21991   HAVE_SYS_SOCKET_H_TRUE='#'
21992   HAVE_SYS_SOCKET_H_FALSE=
21993 fi
21994
21995
21996 for ac_header in sys/times.h
21997 do :
21998   ac_fn_c_check_header_mongrel "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
21999 if test "x$ac_cv_header_sys_times_h" = x""yes; then :
22000   cat >>confdefs.h <<_ACEOF
22001 #define HAVE_SYS_TIMES_H 1
22002 _ACEOF
22003  HAVE_SYS_TIMES_H=yes
22004 fi
22005
22006 done
22007
22008 for ac_header in unistd.h
22009 do :
22010   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22011 if test "x$ac_cv_header_unistd_h" = x""yes; then :
22012   cat >>confdefs.h <<_ACEOF
22013 #define HAVE_UNISTD_H 1
22014 _ACEOF
22015  HAVE_UNISTD_H=yes
22016 fi
22017
22018 done
22019
22020  if test "x$HAVE_SYS_TIMES_H" = "xyes" -a "x$HAVE_UNISTD_H" = "xyes"; then
22021   HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE=
22022   HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE='#'
22023 else
22024   HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE='#'
22025   HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE=
22026 fi
22027
22028
22029 for ac_header in process.h
22030 do :
22031   ac_fn_c_check_header_mongrel "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
22032 if test "x$ac_cv_header_process_h" = x""yes; then :
22033   cat >>confdefs.h <<_ACEOF
22034 #define HAVE_PROCESS_H 1
22035 _ACEOF
22036
22037 fi
22038
22039 done
22040
22041
22042 for ac_header in sys/utsname.h
22043 do :
22044   ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
22045 if test "x$ac_cv_header_sys_utsname_h" = x""yes; then :
22046   cat >>confdefs.h <<_ACEOF
22047 #define HAVE_SYS_UTSNAME_H 1
22048 _ACEOF
22049
22050 fi
22051
22052 done
22053
22054
22055 for ac_header in stdio_ext.h
22056 do :
22057   ac_fn_c_check_header_mongrel "$LINENO" "stdio_ext.h" "ac_cv_header_stdio_ext_h" "$ac_includes_default"
22058 if test "x$ac_cv_header_stdio_ext_h" = x""yes; then :
22059   cat >>confdefs.h <<_ACEOF
22060 #define HAVE_STDIO_EXT_H 1
22061 _ACEOF
22062
22063 fi
22064
22065 done
22066
22067
22068 for ac_header in pthread.h
22069 do :
22070   ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
22071 if test "x$ac_cv_header_pthread_h" = x""yes; then :
22072   cat >>confdefs.h <<_ACEOF
22073 #define HAVE_PTHREAD_H 1
22074 _ACEOF
22075  HAVE_PTHREAD_H=yes
22076 fi
22077
22078 done
22079
22080  if test "x$HAVE_PTHREAD_H" = "xyes"; then
22081   HAVE_PTHREAD_H_TRUE=
22082   HAVE_PTHREAD_H_FALSE='#'
22083 else
22084   HAVE_PTHREAD_H_TRUE='#'
22085   HAVE_PTHREAD_H_FALSE=
22086 fi
22087
22088
22089 for ac_header in sys/prctl.h
22090 do :
22091   ac_fn_c_check_header_mongrel "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
22092 if test "x$ac_cv_header_sys_prctl_h" = x""yes; then :
22093   cat >>confdefs.h <<_ACEOF
22094 #define HAVE_SYS_PRCTL_H 1
22095 _ACEOF
22096  HAVE_SYS_PRCTL_H=yes
22097 fi
22098
22099 done
22100
22101
22102 for ac_header in valgrind/valgrind.h
22103 do :
22104   ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
22105 if test "x$ac_cv_header_valgrind_valgrind_h" = x""yes; then :
22106   cat >>confdefs.h <<_ACEOF
22107 #define HAVE_VALGRIND_VALGRIND_H 1
22108 _ACEOF
22109  HAVE_VALGRIND_H=yes
22110 fi
22111
22112 done
22113
22114
22115 for ac_header in winsock2.h
22116 do :
22117   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
22118 if test "x$ac_cv_header_winsock2_h" = x""yes; then :
22119   cat >>confdefs.h <<_ACEOF
22120 #define HAVE_WINSOCK2_H 1
22121 _ACEOF
22122  HAVE_WINSOCK2_H=yes
22123 fi
22124
22125 done
22126
22127  if test "x$HAVE_WINSOCK2_H" = "xyes"; then
22128   HAVE_WINSOCK2_H_TRUE=
22129   HAVE_WINSOCK2_H_FALSE='#'
22130 else
22131   HAVE_WINSOCK2_H_TRUE='#'
22132   HAVE_WINSOCK2_H_FALSE=
22133 fi
22134
22135 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
22136   WIN32_LIBS="-lws2_32"
22137
22138 fi
22139
22140 if test "x$BUILD_TESTS" = "xyes"; then
22141
22142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init_set_d in -lgmp" >&5
22143 $as_echo_n "checking for __gmpz_init_set_d in -lgmp... " >&6; }
22144 if test "${ac_cv_lib_gmp___gmpz_init_set_d+set}" = set; then :
22145   $as_echo_n "(cached) " >&6
22146 else
22147   ac_check_lib_save_LIBS=$LIBS
22148 LIBS="-lgmp  $LIBS"
22149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22150 /* end confdefs.h.  */
22151
22152 /* Override any GCC internal prototype to avoid an error.
22153    Use char because int might match the return type of a GCC
22154    builtin and then its argument prototype would still apply.  */
22155 #ifdef __cplusplus
22156 extern "C"
22157 #endif
22158 char __gmpz_init_set_d ();
22159 int
22160 main ()
22161 {
22162 return __gmpz_init_set_d ();
22163   ;
22164   return 0;
22165 }
22166 _ACEOF
22167 if ac_fn_c_try_link "$LINENO"; then :
22168   ac_cv_lib_gmp___gmpz_init_set_d=yes
22169 else
22170   ac_cv_lib_gmp___gmpz_init_set_d=no
22171 fi
22172 rm -f core conftest.err conftest.$ac_objext \
22173     conftest$ac_exeext conftest.$ac_ext
22174 LIBS=$ac_check_lib_save_LIBS
22175 fi
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init_set_d" >&5
22177 $as_echo "$ac_cv_lib_gmp___gmpz_init_set_d" >&6; }
22178 if test "x$ac_cv_lib_gmp___gmpz_init_set_d" = x""yes; then :
22179   HAVE_GMP=yes
22180 else
22181   HAVE_GMP=no
22182 fi
22183
22184   if test "x$HAVE_GMP" = "xyes"; then
22185     ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
22186 if test "x$ac_cv_header_gmp_h" = x""yes; then :
22187   :
22188 else
22189   HAVE_GMP=no
22190 fi
22191
22192
22193     if test "x$HAVE_GMP" = "xyes"; then
22194             GMP_LIBS="-lgmp"
22195
22196
22197 $as_echo "#define HAVE_GMP 1" >>confdefs.h
22198
22199     else
22200       :
22201     fi
22202   else
22203     :
22204   fi
22205
22206
22207
22208
22209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsl_rng_uniform_int in -lgsl" >&5
22210 $as_echo_n "checking for gsl_rng_uniform_int in -lgsl... " >&6; }
22211 if test "${ac_cv_lib_gsl_gsl_rng_uniform_int+set}" = set; then :
22212   $as_echo_n "(cached) " >&6
22213 else
22214   ac_check_lib_save_LIBS=$LIBS
22215 LIBS="-lgsl -lgslcblas $LIBS"
22216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22217 /* end confdefs.h.  */
22218
22219 /* Override any GCC internal prototype to avoid an error.
22220    Use char because int might match the return type of a GCC
22221    builtin and then its argument prototype would still apply.  */
22222 #ifdef __cplusplus
22223 extern "C"
22224 #endif
22225 char gsl_rng_uniform_int ();
22226 int
22227 main ()
22228 {
22229 return gsl_rng_uniform_int ();
22230   ;
22231   return 0;
22232 }
22233 _ACEOF
22234 if ac_fn_c_try_link "$LINENO"; then :
22235   ac_cv_lib_gsl_gsl_rng_uniform_int=yes
22236 else
22237   ac_cv_lib_gsl_gsl_rng_uniform_int=no
22238 fi
22239 rm -f core conftest.err conftest.$ac_objext \
22240     conftest$ac_exeext conftest.$ac_ext
22241 LIBS=$ac_check_lib_save_LIBS
22242 fi
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsl_gsl_rng_uniform_int" >&5
22244 $as_echo "$ac_cv_lib_gsl_gsl_rng_uniform_int" >&6; }
22245 if test "x$ac_cv_lib_gsl_gsl_rng_uniform_int" = x""yes; then :
22246   HAVE_GSL=yes
22247 else
22248   HAVE_GSL=no
22249 fi
22250
22251   if test "x$HAVE_GSL" = "xyes"; then
22252     ac_fn_c_check_header_mongrel "$LINENO" "gsl/gsl_rng.h" "ac_cv_header_gsl_gsl_rng_h" "$ac_includes_default"
22253 if test "x$ac_cv_header_gsl_gsl_rng_h" = x""yes; then :
22254   :
22255 else
22256   HAVE_GSL=no
22257 fi
22258
22259
22260     if test "x$HAVE_GSL" = "xyes"; then
22261             GSL_LIBS="-lgsl -lgslcblas"
22262
22263
22264 $as_echo "#define HAVE_GSL 1" >>confdefs.h
22265
22266     else
22267       :
22268     fi
22269   else
22270     :
22271   fi
22272
22273
22274
22275 fi
22276
22277
22278
22279
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __uint128_t" >&5
22281 $as_echo_n "checking for __uint128_t... " >&6; }
22282 if test "${gst_cv_uint128_t+set}" = set; then :
22283   $as_echo_n "(cached) " >&6
22284 else
22285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22286 /* end confdefs.h.  */
22287
22288 int
22289 main ()
22290 {
22291
22292       static __uint128_t v1 = 100;
22293       static __uint128_t v2 = 10;
22294       static __uint128_t u;
22295       u = v1 / v2;
22296
22297   ;
22298   return 0;
22299 }
22300 _ACEOF
22301 if ac_fn_c_try_link "$LINENO"; then :
22302
22303       gst_cv_uint128_t=yes
22304
22305 else
22306
22307       gst_cv_uint128_t=no
22308
22309 fi
22310 rm -f core conftest.err conftest.$ac_objext \
22311     conftest$ac_exeext conftest.$ac_ext
22312
22313 fi
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_uint128_t" >&5
22315 $as_echo "$gst_cv_uint128_t" >&6; }
22316 if test x$gst_cv_uint128_t = xyes; then
22317
22318 $as_echo "#define HAVE_UINT128_T 1" >>confdefs.h
22319
22320 fi
22321
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff" >&5
22323 $as_echo_n "checking for tm_gmtoff... " >&6; }
22324 if test "$cross_compiling" = yes; then :
22325   have_tm_gmtoff="no (cross compiling)"
22326 else
22327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22328 /* end confdefs.h.  */
22329
22330         #include <time.h>
22331         int main(void) {
22332           struct tm t;
22333           t.tm_gmtoff = 0;
22334           exit(0);
22335         }
22336 _ACEOF
22337 if ac_fn_c_try_run "$LINENO"; then :
22338   have_tm_gmtoff=yes
22339
22340 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
22341
22342 else
22343   have_tm_gmtoff=no
22344 fi
22345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22346   conftest.$ac_objext conftest.beam conftest.$ac_ext
22347 fi
22348
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_tm_gmtoff" >&5
22350 $as_echo "$have_tm_gmtoff" >&6; }
22351
22352
22353
22354 for ac_func in gmtime_r
22355 do :
22356   ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
22357 if test "x$ac_cv_func_gmtime_r" = x""yes; then :
22358   cat >>confdefs.h <<_ACEOF
22359 #define HAVE_GMTIME_R 1
22360 _ACEOF
22361
22362 fi
22363 done
22364
22365 for ac_func in localtime_r
22366 do :
22367   ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
22368 if test "x$ac_cv_func_localtime_r" = x""yes; then :
22369   cat >>confdefs.h <<_ACEOF
22370 #define HAVE_LOCALTIME_R 1
22371 _ACEOF
22372
22373 fi
22374 done
22375
22376 for ac_func in sigaction
22377 do :
22378   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
22379 if test "x$ac_cv_func_sigaction" = x""yes; then :
22380   cat >>confdefs.h <<_ACEOF
22381 #define HAVE_SIGACTION 1
22382 _ACEOF
22383
22384 fi
22385 done
22386
22387
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22389 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
22390 if test "${ac_cv_sys_largefile_source+set}" = set; then :
22391   $as_echo_n "(cached) " >&6
22392 else
22393   while :; do
22394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h.  */
22396 #include <sys/types.h> /* for off_t */
22397      #include <stdio.h>
22398 int
22399 main ()
22400 {
22401 int (*fp) (FILE *, off_t, int) = fseeko;
22402      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22403   ;
22404   return 0;
22405 }
22406 _ACEOF
22407 if ac_fn_c_try_link "$LINENO"; then :
22408   ac_cv_sys_largefile_source=no; break
22409 fi
22410 rm -f core conftest.err conftest.$ac_objext \
22411     conftest$ac_exeext conftest.$ac_ext
22412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22413 /* end confdefs.h.  */
22414 #define _LARGEFILE_SOURCE 1
22415 #include <sys/types.h> /* for off_t */
22416      #include <stdio.h>
22417 int
22418 main ()
22419 {
22420 int (*fp) (FILE *, off_t, int) = fseeko;
22421      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22422   ;
22423   return 0;
22424 }
22425 _ACEOF
22426 if ac_fn_c_try_link "$LINENO"; then :
22427   ac_cv_sys_largefile_source=1; break
22428 fi
22429 rm -f core conftest.err conftest.$ac_objext \
22430     conftest$ac_exeext conftest.$ac_ext
22431   ac_cv_sys_largefile_source=unknown
22432   break
22433 done
22434 fi
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
22436 $as_echo "$ac_cv_sys_largefile_source" >&6; }
22437 case $ac_cv_sys_largefile_source in #(
22438   no | unknown) ;;
22439   *)
22440 cat >>confdefs.h <<_ACEOF
22441 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22442 _ACEOF
22443 ;;
22444 esac
22445 rm -rf conftest*
22446
22447 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22448 # in glibc 2.1.3, but that breaks too many other things.
22449 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22450 if test $ac_cv_sys_largefile_source != unknown; then
22451
22452 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
22453
22454 fi
22455
22456 for ac_func in ftello
22457 do :
22458   ac_fn_c_check_func "$LINENO" "ftello" "ac_cv_func_ftello"
22459 if test "x$ac_cv_func_ftello" = x""yes; then :
22460   cat >>confdefs.h <<_ACEOF
22461 #define HAVE_FTELLO 1
22462 _ACEOF
22463
22464 fi
22465 done
22466
22467
22468 for ac_func in fgetpos
22469 do :
22470   ac_fn_c_check_func "$LINENO" "fgetpos" "ac_cv_func_fgetpos"
22471 if test "x$ac_cv_func_fgetpos" = x""yes; then :
22472   cat >>confdefs.h <<_ACEOF
22473 #define HAVE_FGETPOS 1
22474 _ACEOF
22475
22476 fi
22477 done
22478
22479 for ac_func in fsetpos
22480 do :
22481   ac_fn_c_check_func "$LINENO" "fsetpos" "ac_cv_func_fsetpos"
22482 if test "x$ac_cv_func_fsetpos" = x""yes; then :
22483   cat >>confdefs.h <<_ACEOF
22484 #define HAVE_FSETPOS 1
22485 _ACEOF
22486
22487 fi
22488 done
22489
22490
22491 for ac_func in poll
22492 do :
22493   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
22494 if test "x$ac_cv_func_poll" = x""yes; then :
22495   cat >>confdefs.h <<_ACEOF
22496 #define HAVE_POLL 1
22497 _ACEOF
22498
22499 fi
22500 done
22501
22502 for ac_func in ppoll
22503 do :
22504   ac_fn_c_check_func "$LINENO" "ppoll" "ac_cv_func_ppoll"
22505 if test "x$ac_cv_func_ppoll" = x""yes; then :
22506   cat >>confdefs.h <<_ACEOF
22507 #define HAVE_PPOLL 1
22508 _ACEOF
22509
22510 fi
22511 done
22512
22513 for ac_func in pselect
22514 do :
22515   ac_fn_c_check_func "$LINENO" "pselect" "ac_cv_func_pselect"
22516 if test "x$ac_cv_func_pselect" = x""yes; then :
22517   cat >>confdefs.h <<_ACEOF
22518 #define HAVE_PSELECT 1
22519 _ACEOF
22520
22521 fi
22522 done
22523
22524
22525
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll" >&5
22527 $as_echo_n "checking for broken poll... " >&6; }
22528 if test "$cross_compiling" = yes; then :
22529   broken_poll="no (cross compiling)"
22530 else
22531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h.  */
22533
22534         #include <stdlib.h>
22535         #include <fcntl.h>
22536         #include <poll.h>
22537         #ifdef HAVE_SYS_POLL_H
22538         #include <sys/poll.h>
22539         #endif
22540         int main(void) {
22541           struct pollfd fds[1];
22542           int fd;
22543           fd = open("/dev/null", 1);
22544           fds[0].fd = fd;
22545           fds[0].events = POLLIN;
22546           fds[0].revents = 0;
22547           if (poll(fds, 1, 0) < 0 || (fds[0].revents & POLLNVAL) != 0) {
22548                 exit(1);  /* Does not work for devices -- fail */
22549           }
22550           exit(0);
22551         }
22552 _ACEOF
22553 if ac_fn_c_try_run "$LINENO"; then :
22554   broken_poll=no
22555 else
22556   broken_poll=yes
22557
22558 $as_echo "#define BROKEN_POLL 1" >>confdefs.h
22559
22560 fi
22561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22562   conftest.$ac_objext conftest.beam conftest.$ac_ext
22563 fi
22564
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $broken_poll" >&5
22566 $as_echo "$broken_poll" >&6; }
22567
22568
22569
22570
22571   for ac_header in $ac_header_list
22572 do :
22573   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22574 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
22575 "
22576 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22577   cat >>confdefs.h <<_ACEOF
22578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22579 _ACEOF
22580
22581 fi
22582
22583 done
22584
22585
22586
22587
22588
22589
22590
22591
22592 for ac_func in getpagesize
22593 do :
22594   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
22595 if test "x$ac_cv_func_getpagesize" = x""yes; then :
22596   cat >>confdefs.h <<_ACEOF
22597 #define HAVE_GETPAGESIZE 1
22598 _ACEOF
22599
22600 fi
22601 done
22602
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
22604 $as_echo_n "checking for working mmap... " >&6; }
22605 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
22606   $as_echo_n "(cached) " >&6
22607 else
22608   if test "$cross_compiling" = yes; then :
22609   ac_cv_func_mmap_fixed_mapped=no
22610 else
22611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22612 /* end confdefs.h.  */
22613 $ac_includes_default
22614 /* malloc might have been renamed as rpl_malloc. */
22615 #undef malloc
22616
22617 /* Thanks to Mike Haertel and Jim Avera for this test.
22618    Here is a matrix of mmap possibilities:
22619         mmap private not fixed
22620         mmap private fixed at somewhere currently unmapped
22621         mmap private fixed at somewhere already mapped
22622         mmap shared not fixed
22623         mmap shared fixed at somewhere currently unmapped
22624         mmap shared fixed at somewhere already mapped
22625    For private mappings, we should verify that changes cannot be read()
22626    back from the file, nor mmap's back from the file at a different
22627    address.  (There have been systems where private was not correctly
22628    implemented like the infamous i386 svr4.0, and systems where the
22629    VM page cache was not coherent with the file system buffer cache
22630    like early versions of FreeBSD and possibly contemporary NetBSD.)
22631    For shared mappings, we should conversely verify that changes get
22632    propagated back to all the places they're supposed to be.
22633
22634    Grep wants private fixed already mapped.
22635    The main things grep needs to know about mmap are:
22636    * does it exist and is it safe to write into the mmap'd area
22637    * how to use it (BSD variants)  */
22638
22639 #include <fcntl.h>
22640 #include <sys/mman.h>
22641
22642 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
22643 char *malloc ();
22644 #endif
22645
22646 /* This mess was copied from the GNU getpagesize.h.  */
22647 #ifndef HAVE_GETPAGESIZE
22648 # ifdef _SC_PAGESIZE
22649 #  define getpagesize() sysconf(_SC_PAGESIZE)
22650 # else /* no _SC_PAGESIZE */
22651 #  ifdef HAVE_SYS_PARAM_H
22652 #   include <sys/param.h>
22653 #   ifdef EXEC_PAGESIZE
22654 #    define getpagesize() EXEC_PAGESIZE
22655 #   else /* no EXEC_PAGESIZE */
22656 #    ifdef NBPG
22657 #     define getpagesize() NBPG * CLSIZE
22658 #     ifndef CLSIZE
22659 #      define CLSIZE 1
22660 #     endif /* no CLSIZE */
22661 #    else /* no NBPG */
22662 #     ifdef NBPC
22663 #      define getpagesize() NBPC
22664 #     else /* no NBPC */
22665 #      ifdef PAGESIZE
22666 #       define getpagesize() PAGESIZE
22667 #      endif /* PAGESIZE */
22668 #     endif /* no NBPC */
22669 #    endif /* no NBPG */
22670 #   endif /* no EXEC_PAGESIZE */
22671 #  else /* no HAVE_SYS_PARAM_H */
22672 #   define getpagesize() 8192   /* punt totally */
22673 #  endif /* no HAVE_SYS_PARAM_H */
22674 # endif /* no _SC_PAGESIZE */
22675
22676 #endif /* no HAVE_GETPAGESIZE */
22677
22678 int
22679 main ()
22680 {
22681   char *data, *data2, *data3;
22682   const char *cdata2;
22683   int i, pagesize;
22684   int fd, fd2;
22685
22686   pagesize = getpagesize ();
22687
22688   /* First, make a file with some known garbage in it. */
22689   data = (char *) malloc (pagesize);
22690   if (!data)
22691     return 1;
22692   for (i = 0; i < pagesize; ++i)
22693     *(data + i) = rand ();
22694   umask (0);
22695   fd = creat ("conftest.mmap", 0600);
22696   if (fd < 0)
22697     return 2;
22698   if (write (fd, data, pagesize) != pagesize)
22699     return 3;
22700   close (fd);
22701
22702   /* Next, check that the tail of a page is zero-filled.  File must have
22703      non-zero length, otherwise we risk SIGBUS for entire page.  */
22704   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
22705   if (fd2 < 0)
22706     return 4;
22707   cdata2 = "";
22708   if (write (fd2, cdata2, 1) != 1)
22709     return 5;
22710   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
22711   if (data2 == MAP_FAILED)
22712     return 6;
22713   for (i = 0; i < pagesize; ++i)
22714     if (*(data2 + i))
22715       return 7;
22716   close (fd2);
22717   if (munmap (data2, pagesize))
22718     return 8;
22719
22720   /* Next, try to mmap the file at a fixed address which already has
22721      something else allocated at it.  If we can, also make sure that
22722      we see the same garbage.  */
22723   fd = open ("conftest.mmap", O_RDWR);
22724   if (fd < 0)
22725     return 9;
22726   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22727                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
22728     return 10;
22729   for (i = 0; i < pagesize; ++i)
22730     if (*(data + i) != *(data2 + i))
22731       return 11;
22732
22733   /* Finally, make sure that changes to the mapped area do not
22734      percolate back to the file as seen by read().  (This is a bug on
22735      some variants of i386 svr4.0.)  */
22736   for (i = 0; i < pagesize; ++i)
22737     *(data2 + i) = *(data2 + i) + 1;
22738   data3 = (char *) malloc (pagesize);
22739   if (!data3)
22740     return 12;
22741   if (read (fd, data3, pagesize) != pagesize)
22742     return 13;
22743   for (i = 0; i < pagesize; ++i)
22744     if (*(data + i) != *(data3 + i))
22745       return 14;
22746   close (fd);
22747   return 0;
22748 }
22749 _ACEOF
22750 if ac_fn_c_try_run "$LINENO"; then :
22751   ac_cv_func_mmap_fixed_mapped=yes
22752 else
22753   ac_cv_func_mmap_fixed_mapped=no
22754 fi
22755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22756   conftest.$ac_objext conftest.beam conftest.$ac_ext
22757 fi
22758
22759 fi
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
22761 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
22762 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22763
22764 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
22765
22766 fi
22767 rm -f conftest.mmap conftest.txt
22768
22769  if test "x$ac_cv_func_mmap_fixed_mapped" = "xyes"; then
22770   HAVE_MMAP_TRUE=
22771   HAVE_MMAP_FALSE='#'
22772 else
22773   HAVE_MMAP_TRUE='#'
22774   HAVE_MMAP_FALSE=
22775 fi
22776
22777
22778 for ac_func in posix_memalign
22779 do :
22780   ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
22781 if test "x$ac_cv_func_posix_memalign" = x""yes; then :
22782   cat >>confdefs.h <<_ACEOF
22783 #define HAVE_POSIX_MEMALIGN 1
22784 _ACEOF
22785
22786 fi
22787 done
22788
22789 for ac_func in getpagesize
22790 do :
22791   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
22792 if test "x$ac_cv_func_getpagesize" = x""yes; then :
22793   cat >>confdefs.h <<_ACEOF
22794 #define HAVE_GETPAGESIZE 1
22795 _ACEOF
22796
22797 fi
22798 done
22799
22800
22801 for ac_func in clock_gettime
22802 do :
22803   ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
22804 if test "x$ac_cv_func_clock_gettime" = x""yes; then :
22805   cat >>confdefs.h <<_ACEOF
22806 #define HAVE_CLOCK_GETTIME 1
22807 _ACEOF
22808
22809 else
22810
22811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22812 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22813 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22814   $as_echo_n "(cached) " >&6
22815 else
22816   ac_check_lib_save_LIBS=$LIBS
22817 LIBS="-lrt  $LIBS"
22818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22819 /* end confdefs.h.  */
22820
22821 /* Override any GCC internal prototype to avoid an error.
22822    Use char because int might match the return type of a GCC
22823    builtin and then its argument prototype would still apply.  */
22824 #ifdef __cplusplus
22825 extern "C"
22826 #endif
22827 char clock_gettime ();
22828 int
22829 main ()
22830 {
22831 return clock_gettime ();
22832   ;
22833   return 0;
22834 }
22835 _ACEOF
22836 if ac_fn_c_try_link "$LINENO"; then :
22837   ac_cv_lib_rt_clock_gettime=yes
22838 else
22839   ac_cv_lib_rt_clock_gettime=no
22840 fi
22841 rm -f core conftest.err conftest.$ac_objext \
22842     conftest$ac_exeext conftest.$ac_ext
22843 LIBS=$ac_check_lib_save_LIBS
22844 fi
22845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22846 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22847 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
22848
22849     $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22850
22851     LIBS="$LIBS -lrt"
22852
22853 fi
22854
22855
22856 fi
22857 done
22858
22859
22860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix timers" >&5
22861 $as_echo_n "checking for posix timers... " >&6; }
22862 if test "${gst_cv_posix_timers+set}" = set; then :
22863   $as_echo_n "(cached) " >&6
22864 else
22865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22866 /* end confdefs.h.  */
22867
22868 #include <time.h>
22869 #ifdef HAVE_UNISTD_H
22870 #include <unistd.h>
22871 #endif
22872
22873 int
22874 main ()
22875 {
22876
22877 #if !defined(_POSIX_TIMERS) || _POSIX_TIMERS < 0 || !defined(CLOCK_REALTIME)
22878 #error Either _POSIX_TIMERS or CLOCK_REALTIME not defined
22879 #endif
22880
22881   ;
22882   return 0;
22883 }
22884 _ACEOF
22885 if ac_fn_c_try_compile "$LINENO"; then :
22886
22887       gst_cv_posix_timers=yes
22888
22889 else
22890
22891       gst_cv_posix_timers=no
22892
22893 fi
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22895
22896 fi
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_posix_timers" >&5
22898 $as_echo "$gst_cv_posix_timers" >&6; }
22899
22900 if test "$gst_cv_posix_timers" = "yes"; then
22901
22902 $as_echo "#define HAVE_POSIX_TIMERS 1" >>confdefs.h
22903
22904   GST_HAVE_POSIX_TIMERS_DEFINE="#define GST_HAVE_POSIX_TIMERS 1"
22905 else
22906   GST_HAVE_POSIX_TIMERS_DEFINE="#define GST_HAVE_POSIX_TIMERS 0"
22907 fi
22908
22909  if test "$gst_cv_posix_timers" = "yes"; then
22910   GST_HAVE_POSIX_TIMERS_TRUE=
22911   GST_HAVE_POSIX_TIMERS_FALSE='#'
22912 else
22913   GST_HAVE_POSIX_TIMERS_TRUE='#'
22914   GST_HAVE_POSIX_TIMERS_FALSE=
22915 fi
22916
22917
22918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
22919 $as_echo_n "checking for monotonic clock... " >&6; }
22920 if test "${gst_cv_monotonic_clock+set}" = set; then :
22921   $as_echo_n "(cached) " >&6
22922 else
22923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22924 /* end confdefs.h.  */
22925
22926 #include <time.h>
22927 #ifdef HAVE_UNISTD_H
22928 #include <unistd.h>
22929 #endif
22930
22931 int
22932 main ()
22933 {
22934
22935 #if !defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK < 0 || !defined(CLOCK_MONOTONIC)
22936 #error Either _POSIX_MONOTONIC_CLOCK or CLOCK_MONOTONIC not defined
22937 #endif
22938
22939   ;
22940   return 0;
22941 }
22942 _ACEOF
22943 if ac_fn_c_try_compile "$LINENO"; then :
22944
22945       gst_cv_monotonic_clock=yes
22946
22947 else
22948
22949       gst_cv_monotonic_clock=no
22950
22951 fi
22952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22953
22954 fi
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_monotonic_clock" >&5
22956 $as_echo "$gst_cv_monotonic_clock" >&6; }
22957
22958 if test "$gst_cv_monotonic_clock" = "yes"; then
22959
22960 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
22961
22962   GST_HAVE_MONOTONIC_CLOCK_DEFINE="#define GST_HAVE_MONOTONIC_CLOCK 1"
22963 else
22964   GST_HAVE_MONOTONIC_CLOCK_DEFINE="#define GST_HAVE_MONOTONIC_CLOCK 0"
22965 fi
22966
22967  if test "$gst_cv_monotonic_clock" = "yes"; then
22968   GST_HAVE_MONOTONIC_CLOCK_TRUE=
22969   GST_HAVE_MONOTONIC_CLOCK_FALSE='#'
22970 else
22971   GST_HAVE_MONOTONIC_CLOCK_TRUE='#'
22972   GST_HAVE_MONOTONIC_CLOCK_FALSE=
22973 fi
22974
22975
22976
22977     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
22978 $as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
22979   if test "${gst_cv_have_pretty_function+set}" = set; then :
22980   $as_echo_n "(cached) " >&6
22981 else
22982
22983     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22984 /* end confdefs.h.  */
22985 #include <stdio.h>
22986 int
22987 main ()
22988 {
22989 printf("%s", __PRETTY_FUNCTION__);
22990   ;
22991   return 0;
22992 }
22993 _ACEOF
22994 if ac_fn_c_try_link "$LINENO"; then :
22995   gst_cv_have_pretty_function=yes
22996 else
22997   gst_cv_have_pretty_function=no
22998 fi
22999 rm -f core conftest.err conftest.$ac_objext \
23000     conftest$ac_exeext conftest.$ac_ext
23001
23002 fi
23003
23004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
23005 $as_echo "$gst_cv_have_pretty_function" >&6; }
23006   if test "$gst_cv_have_pretty_function" = yes; then
23007
23008 $as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
23009
23010   fi
23011
23012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
23013 $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
23014   if test "${gst_cv_have_function+set}" = set; then :
23015   $as_echo_n "(cached) " >&6
23016 else
23017
23018     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23019 /* end confdefs.h.  */
23020 #include <stdio.h>
23021 int
23022 main ()
23023 {
23024 printf("%s", __FUNCTION__);
23025   ;
23026   return 0;
23027 }
23028 _ACEOF
23029 if ac_fn_c_try_link "$LINENO"; then :
23030   gst_cv_have_function=yes
23031 else
23032   gst_cv_have_function=no
23033 fi
23034 rm -f core conftest.err conftest.$ac_objext \
23035     conftest$ac_exeext conftest.$ac_ext
23036
23037 fi
23038
23039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
23040 $as_echo "$gst_cv_have_function" >&6; }
23041   if test "$gst_cv_have_function" = yes; then
23042
23043 $as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
23044
23045   fi
23046
23047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
23048 $as_echo_n "checking whether $CC implements __func__... " >&6; }
23049   if test "${gst_cv_have_func+set}" = set; then :
23050   $as_echo_n "(cached) " >&6
23051 else
23052
23053     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23054 /* end confdefs.h.  */
23055 #include <stdio.h>
23056 int
23057 main ()
23058 {
23059 printf("%s", __func__);
23060   ;
23061   return 0;
23062 }
23063 _ACEOF
23064 if ac_fn_c_try_link "$LINENO"; then :
23065   gst_cv_have_func=yes
23066 else
23067   gst_cv_have_func=no
23068 fi
23069 rm -f core conftest.err conftest.$ac_objext \
23070     conftest$ac_exeext conftest.$ac_ext
23071
23072 fi
23073
23074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
23075 $as_echo "$gst_cv_have_func" >&6; }
23076   if test "$gst_cv_have_func" = yes; then
23077
23078 $as_echo "#define HAVE_FUNC 1" >>confdefs.h
23079
23080   fi
23081
23082   if test "$gst_cv_have_pretty_function" = yes; then
23083     function=__PRETTY_FUNCTION__
23084   else
23085     if test "$gst_cv_have_function" = yes; then
23086       function=__FUNCTION__
23087     else
23088       if test "$gst_cv_have_func" = yes; then
23089         function=__func__
23090       else
23091         function=\"\"
23092       fi
23093     fi
23094   fi
23095
23096 cat >>confdefs.h <<_ACEOF
23097 #define GST_FUNCTION $function
23098 _ACEOF
23099
23100
23101
23102 for ac_func in register_printf_specifier register_printf_function
23103 do :
23104   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23106 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23107   cat >>confdefs.h <<_ACEOF
23108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23109 _ACEOF
23110  HAVE_PRINTF_EXTENSION=yes
23111 fi
23112 done
23113
23114
23115 if test "$HAVE_PRINTF_EXTENSION" = yes; then
23116   GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE="#define GST_PTR_FORMAT \"P\""
23117   GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE="#define GST_SEGMENT_FORMAT \"Q\""
23118   GST_USING_PRINTF_EXTENSION_DEFINE="#define GST_USING_PRINTF_EXTENSION"
23119
23120 $as_echo "#define HAVE_PRINTF_EXTENSION 1" >>confdefs.h
23121
23122 else
23123     GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE="#define GST_PTR_FORMAT \"p\""
23124     GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE="#define GST_SEGMENT_FORMAT \"p\""
23125     GST_USING_PRINTF_EXTENSION_DEFINE="#undef GST_USING_PRINTF_EXTENSION"
23126 fi
23127
23128
23129
23130
23131 save_cflags="$CFLAGS"
23132 CFLAGS="$CFLAGS -D_GNU_SOURCE"
23133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
23134 $as_echo_n "checking for dladdr in -ldl... " >&6; }
23135 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
23136   $as_echo_n "(cached) " >&6
23137 else
23138   ac_check_lib_save_LIBS=$LIBS
23139 LIBS="-ldl  $LIBS"
23140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23141 /* end confdefs.h.  */
23142
23143 /* Override any GCC internal prototype to avoid an error.
23144    Use char because int might match the return type of a GCC
23145    builtin and then its argument prototype would still apply.  */
23146 #ifdef __cplusplus
23147 extern "C"
23148 #endif
23149 char dladdr ();
23150 int
23151 main ()
23152 {
23153 return dladdr ();
23154   ;
23155   return 0;
23156 }
23157 _ACEOF
23158 if ac_fn_c_try_link "$LINENO"; then :
23159   ac_cv_lib_dl_dladdr=yes
23160 else
23161   ac_cv_lib_dl_dladdr=no
23162 fi
23163 rm -f core conftest.err conftest.$ac_objext \
23164     conftest$ac_exeext conftest.$ac_ext
23165 LIBS=$ac_check_lib_save_LIBS
23166 fi
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
23168 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
23169 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
23170
23171 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
23172
23173    LIBS="$LIBS -ldl"
23174 fi
23175
23176 CFLAGS="$save_cflags"
23177
23178 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
23179 if test "x$ac_cv_func_socket" = x""yes; then :
23180
23181 else
23182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
23183 $as_echo_n "checking for socket in -lsocket... " >&6; }
23184 if test "${ac_cv_lib_socket_socket+set}" = set; then :
23185   $as_echo_n "(cached) " >&6
23186 else
23187   ac_check_lib_save_LIBS=$LIBS
23188 LIBS="-lsocket  $LIBS"
23189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23190 /* end confdefs.h.  */
23191
23192 /* Override any GCC internal prototype to avoid an error.
23193    Use char because int might match the return type of a GCC
23194    builtin and then its argument prototype would still apply.  */
23195 #ifdef __cplusplus
23196 extern "C"
23197 #endif
23198 char socket ();
23199 int
23200 main ()
23201 {
23202 return socket ();
23203   ;
23204   return 0;
23205 }
23206 _ACEOF
23207 if ac_fn_c_try_link "$LINENO"; then :
23208   ac_cv_lib_socket_socket=yes
23209 else
23210   ac_cv_lib_socket_socket=no
23211 fi
23212 rm -f core conftest.err conftest.$ac_objext \
23213     conftest$ac_exeext conftest.$ac_ext
23214 LIBS=$ac_check_lib_save_LIBS
23215 fi
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
23217 $as_echo "$ac_cv_lib_socket_socket" >&6; }
23218 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
23219   cat >>confdefs.h <<_ACEOF
23220 #define HAVE_LIBSOCKET 1
23221 _ACEOF
23222
23223   LIBS="-lsocket $LIBS"
23224
23225 fi
23226
23227 fi
23228
23229 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23230 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
23231
23232 else
23233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23234 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23235 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
23236   $as_echo_n "(cached) " >&6
23237 else
23238   ac_check_lib_save_LIBS=$LIBS
23239 LIBS="-lnsl  $LIBS"
23240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23241 /* end confdefs.h.  */
23242
23243 /* Override any GCC internal prototype to avoid an error.
23244    Use char because int might match the return type of a GCC
23245    builtin and then its argument prototype would still apply.  */
23246 #ifdef __cplusplus
23247 extern "C"
23248 #endif
23249 char gethostbyname ();
23250 int
23251 main ()
23252 {
23253 return gethostbyname ();
23254   ;
23255   return 0;
23256 }
23257 _ACEOF
23258 if ac_fn_c_try_link "$LINENO"; then :
23259   ac_cv_lib_nsl_gethostbyname=yes
23260 else
23261   ac_cv_lib_nsl_gethostbyname=no
23262 fi
23263 rm -f core conftest.err conftest.$ac_objext \
23264     conftest$ac_exeext conftest.$ac_ext
23265 LIBS=$ac_check_lib_save_LIBS
23266 fi
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23268 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23269 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
23270   cat >>confdefs.h <<_ACEOF
23271 #define HAVE_LIBNSL 1
23272 _ACEOF
23273
23274   LIBS="-lnsl $LIBS"
23275
23276 fi
23277
23278 fi
23279
23280
23281 save_libs="$LIBS"
23282 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
23283 if test "x$ac_cv_func_inet_aton" = x""yes; then :
23284
23285 else
23286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lnsl" >&5
23287 $as_echo_n "checking for inet_aton in -lnsl... " >&6; }
23288 if test "${ac_cv_lib_nsl_inet_aton+set}" = set; then :
23289   $as_echo_n "(cached) " >&6
23290 else
23291   ac_check_lib_save_LIBS=$LIBS
23292 LIBS="-lnsl  $LIBS"
23293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23294 /* end confdefs.h.  */
23295
23296 /* Override any GCC internal prototype to avoid an error.
23297    Use char because int might match the return type of a GCC
23298    builtin and then its argument prototype would still apply.  */
23299 #ifdef __cplusplus
23300 extern "C"
23301 #endif
23302 char inet_aton ();
23303 int
23304 main ()
23305 {
23306 return inet_aton ();
23307   ;
23308   return 0;
23309 }
23310 _ACEOF
23311 if ac_fn_c_try_link "$LINENO"; then :
23312   ac_cv_lib_nsl_inet_aton=yes
23313 else
23314   ac_cv_lib_nsl_inet_aton=no
23315 fi
23316 rm -f core conftest.err conftest.$ac_objext \
23317     conftest$ac_exeext conftest.$ac_ext
23318 LIBS=$ac_check_lib_save_LIBS
23319 fi
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_aton" >&5
23321 $as_echo "$ac_cv_lib_nsl_inet_aton" >&6; }
23322 if test "x$ac_cv_lib_nsl_inet_aton" = x""yes; then :
23323   cat >>confdefs.h <<_ACEOF
23324 #define HAVE_LIBNSL 1
23325 _ACEOF
23326
23327   LIBS="-lnsl $LIBS"
23328
23329 else
23330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lsocket" >&5
23331 $as_echo_n "checking for inet_aton in -lsocket... " >&6; }
23332 if test "${ac_cv_lib_socket_inet_aton+set}" = set; then :
23333   $as_echo_n "(cached) " >&6
23334 else
23335   ac_check_lib_save_LIBS=$LIBS
23336 LIBS="-lsocket  $LIBS"
23337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23338 /* end confdefs.h.  */
23339
23340 /* Override any GCC internal prototype to avoid an error.
23341    Use char because int might match the return type of a GCC
23342    builtin and then its argument prototype would still apply.  */
23343 #ifdef __cplusplus
23344 extern "C"
23345 #endif
23346 char inet_aton ();
23347 int
23348 main ()
23349 {
23350 return inet_aton ();
23351   ;
23352   return 0;
23353 }
23354 _ACEOF
23355 if ac_fn_c_try_link "$LINENO"; then :
23356   ac_cv_lib_socket_inet_aton=yes
23357 else
23358   ac_cv_lib_socket_inet_aton=no
23359 fi
23360 rm -f core conftest.err conftest.$ac_objext \
23361     conftest$ac_exeext conftest.$ac_ext
23362 LIBS=$ac_check_lib_save_LIBS
23363 fi
23364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_aton" >&5
23365 $as_echo "$ac_cv_lib_socket_inet_aton" >&6; }
23366 if test "x$ac_cv_lib_socket_inet_aton" = x""yes; then :
23367   cat >>confdefs.h <<_ACEOF
23368 #define HAVE_LIBSOCKET 1
23369 _ACEOF
23370
23371   LIBS="-lsocket $LIBS"
23372
23373 else
23374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
23375 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
23376 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then :
23377   $as_echo_n "(cached) " >&6
23378 else
23379   ac_check_lib_save_LIBS=$LIBS
23380 LIBS="-lresolv  $LIBS"
23381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23382 /* end confdefs.h.  */
23383
23384 /* Override any GCC internal prototype to avoid an error.
23385    Use char because int might match the return type of a GCC
23386    builtin and then its argument prototype would still apply.  */
23387 #ifdef __cplusplus
23388 extern "C"
23389 #endif
23390 char inet_aton ();
23391 int
23392 main ()
23393 {
23394 return inet_aton ();
23395   ;
23396   return 0;
23397 }
23398 _ACEOF
23399 if ac_fn_c_try_link "$LINENO"; then :
23400   ac_cv_lib_resolv_inet_aton=yes
23401 else
23402   ac_cv_lib_resolv_inet_aton=no
23403 fi
23404 rm -f core conftest.err conftest.$ac_objext \
23405     conftest$ac_exeext conftest.$ac_ext
23406 LIBS=$ac_check_lib_save_LIBS
23407 fi
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
23409 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
23410 if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then :
23411   cat >>confdefs.h <<_ACEOF
23412 #define HAVE_LIBRESOLV 1
23413 _ACEOF
23414
23415   LIBS="-lresolv $LIBS"
23416
23417 else
23418
23419 $as_echo "#define NO_INET_ATON 1" >>confdefs.h
23420
23421 fi
23422
23423 fi
23424
23425 fi
23426
23427 fi
23428
23429 INET_ATON_LIBS=$LIBS
23430
23431 LIBS="$save_libs"
23432
23433
23434 GLIB_REQ=2.22
23435
23436
23437
23438
23439     GLIB_REQ=$GLIB_REQ
23440   if test "x$GLIB_REQ" = "x"
23441   then
23442     as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
23443   fi
23444
23445
23446
23447   which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
23448     required="no"
23449
23450
23451 pkg_failed=no
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
23453 $as_echo_n "checking for GLIB... " >&6; }
23454
23455 if test -n "$PKG_CONFIG"; then
23456     if test -n "$GLIB_CFLAGS"; then
23457         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
23458     else
23459         if test -n "$PKG_CONFIG" && \
23460     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23461   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23462   ac_status=$?
23463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23464   test $ac_status = 0; }; then
23465   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
23466 else
23467   pkg_failed=yes
23468 fi
23469     fi
23470 else
23471         pkg_failed=untried
23472 fi
23473 if test -n "$PKG_CONFIG"; then
23474     if test -n "$GLIB_LIBS"; then
23475         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
23476     else
23477         if test -n "$PKG_CONFIG" && \
23478     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23479   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23480   ac_status=$?
23481   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23482   test $ac_status = 0; }; then
23483   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
23484 else
23485   pkg_failed=yes
23486 fi
23487     fi
23488 else
23489         pkg_failed=untried
23490 fi
23491
23492
23493
23494 if test $pkg_failed = yes; then
23495
23496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23497         _pkg_short_errors_supported=yes
23498 else
23499         _pkg_short_errors_supported=no
23500 fi
23501         if test $_pkg_short_errors_supported = yes; then
23502                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
23503         else
23504                 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
23505         fi
23506         # Put the nasty error message in config.log where it belongs
23507         echo "$GLIB_PKG_ERRORS" >&5
23508
23509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23510 $as_echo "no" >&6; }
23511
23512       HAVE_GLIB="no"
23513       if test "x$required" = "xyes"; then
23514         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23515       else
23516         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23517 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23518       fi
23519
23520 elif test $pkg_failed = untried; then
23521
23522       HAVE_GLIB="no"
23523       if test "x$required" = "xyes"; then
23524         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23525       else
23526         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23527 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23528       fi
23529
23530 else
23531         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
23532         GLIB_LIBS=$pkg_cv_GLIB_LIBS
23533         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23534 $as_echo "yes" >&6; }
23535
23536       HAVE_GLIB="yes"
23537
23538 fi
23539
23540
23541
23542   if test "x$HAVE_GLIB" = "xno"; then
23543     as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
23544   fi
23545
23546         GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
23547
23548     if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23549     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
23550   fi
23551
23552   # Check whether --enable-gobject-cast-checks was given.
23553 if test "${enable_gobject_cast_checks+set}" = set; then :
23554   enableval=$enable_gobject_cast_checks;
23555 else
23556   enable_gobject_cast_checks=auto
23557 fi
23558
23559
23560   if test "x$enable_gobject_cast_checks" = "xauto"; then
23561         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23562       enable_gobject_cast_checks=yes
23563     else
23564       enable_gobject_cast_checks=no
23565     fi
23566   fi
23567
23568   if test "x$enable_gobject_cast_checks" = "xno"; then
23569     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
23570   fi
23571
23572   # Check whether --enable-glib-asserts was given.
23573 if test "${enable_glib_asserts+set}" = set; then :
23574   enableval=$enable_glib_asserts;
23575 else
23576   enable_glib_assertions=auto
23577 fi
23578
23579
23580   if test "x$enable_glib_assertions" = "xauto"; then
23581         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23582       enable_glib_assertions=yes
23583     else
23584       enable_glib_assertions=no
23585     fi
23586   fi
23587
23588   if test "x$enable_glib_assertions" = "xno"; then
23589     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
23590   fi
23591
23592
23593   GIVEN_CFLAGS=$GLIB_CFLAGS
23594   INCLUDE_DIRS=`echo | cpp -v 2>&1`
23595
23596       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
23597   for dir in $INCLUDE_DIRS; do
23598         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
23599   done
23600   GLIB_CFLAGS=$GIVEN_CFLAGS
23601
23602
23603
23604 GST_HAVE_GLIB_2_8_DEFINE="#define GST_HAVE_GLIB_2_8 1"
23605
23606
23607
23608 pkg_failed=no
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB_ONLY" >&5
23610 $as_echo_n "checking for GLIB_ONLY... " >&6; }
23611
23612 if test -n "$PKG_CONFIG"; then
23613     if test -n "$GLIB_ONLY_CFLAGS"; then
23614         pkg_cv_GLIB_ONLY_CFLAGS="$GLIB_ONLY_CFLAGS"
23615     else
23616         if test -n "$PKG_CONFIG" && \
23617     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQ\""; } >&5
23618   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQ") 2>&5
23619   ac_status=$?
23620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23621   test $ac_status = 0; }; then
23622   pkg_cv_GLIB_ONLY_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQ" 2>/dev/null`
23623 else
23624   pkg_failed=yes
23625 fi
23626     fi
23627 else
23628         pkg_failed=untried
23629 fi
23630 if test -n "$PKG_CONFIG"; then
23631     if test -n "$GLIB_ONLY_LIBS"; then
23632         pkg_cv_GLIB_ONLY_LIBS="$GLIB_ONLY_LIBS"
23633     else
23634         if test -n "$PKG_CONFIG" && \
23635     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQ\""; } >&5
23636   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQ") 2>&5
23637   ac_status=$?
23638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23639   test $ac_status = 0; }; then
23640   pkg_cv_GLIB_ONLY_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQ" 2>/dev/null`
23641 else
23642   pkg_failed=yes
23643 fi
23644     fi
23645 else
23646         pkg_failed=untried
23647 fi
23648
23649
23650
23651 if test $pkg_failed = yes; then
23652
23653 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23654         _pkg_short_errors_supported=yes
23655 else
23656         _pkg_short_errors_supported=no
23657 fi
23658         if test $_pkg_short_errors_supported = yes; then
23659                 GLIB_ONLY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQ"`
23660         else
23661                 GLIB_ONLY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQ"`
23662         fi
23663         # Put the nasty error message in config.log where it belongs
23664         echo "$GLIB_ONLY_PKG_ERRORS" >&5
23665
23666         as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQ) were not met:
23667
23668 $GLIB_ONLY_PKG_ERRORS
23669
23670 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23671 installed software in a non-standard prefix.
23672
23673 Alternatively, you may set the environment variables GLIB_ONLY_CFLAGS
23674 and GLIB_ONLY_LIBS to avoid the need to call pkg-config.
23675 See the pkg-config man page for more details.
23676 " "$LINENO" 5
23677 elif test $pkg_failed = untried; then
23678         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23680 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23681 is in your PATH or set the PKG_CONFIG environment variable to the full
23682 path to pkg-config.
23683
23684 Alternatively, you may set the environment variables GLIB_ONLY_CFLAGS
23685 and GLIB_ONLY_LIBS to avoid the need to call pkg-config.
23686 See the pkg-config man page for more details.
23687
23688 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23689 See \`config.log' for more details" "$LINENO" 5 ; }
23690 else
23691         GLIB_ONLY_CFLAGS=$pkg_cv_GLIB_ONLY_CFLAGS
23692         GLIB_ONLY_LIBS=$pkg_cv_GLIB_ONLY_LIBS
23693         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23694 $as_echo "yes" >&6; }
23695         :
23696 fi
23697
23698 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
23699
23700
23701 if test "x$GST_DISABLE_LOADSAVE" = "xyes"
23702 then
23703   { $as_echo "$as_me:${as_lineno-$LINENO}: XML registry and load/save are disabled, not checking for libxml2" >&5
23704 $as_echo "$as_me: XML registry and load/save are disabled, not checking for libxml2" >&6;}
23705   GST_DISABLE_XML_DEFINE="#define GST_DISABLE_XML 1"
23706 else
23707
23708       LIBXML2_REQ=2.4.9
23709
23710
23711
23712 pkg_failed=no
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
23714 $as_echo_n "checking for XML... " >&6; }
23715
23716 if test -n "$PKG_CONFIG"; then
23717     if test -n "$XML_CFLAGS"; then
23718         pkg_cv_XML_CFLAGS="$XML_CFLAGS"
23719     else
23720         if test -n "$PKG_CONFIG" && \
23721     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQ\""; } >&5
23722   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQ") 2>&5
23723   ac_status=$?
23724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23725   test $ac_status = 0; }; then
23726   pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML2_REQ" 2>/dev/null`
23727 else
23728   pkg_failed=yes
23729 fi
23730     fi
23731 else
23732         pkg_failed=untried
23733 fi
23734 if test -n "$PKG_CONFIG"; then
23735     if test -n "$XML_LIBS"; then
23736         pkg_cv_XML_LIBS="$XML_LIBS"
23737     else
23738         if test -n "$PKG_CONFIG" && \
23739     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQ\""; } >&5
23740   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQ") 2>&5
23741   ac_status=$?
23742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23743   test $ac_status = 0; }; then
23744   pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML2_REQ" 2>/dev/null`
23745 else
23746   pkg_failed=yes
23747 fi
23748     fi
23749 else
23750         pkg_failed=untried
23751 fi
23752
23753
23754
23755 if test $pkg_failed = yes; then
23756
23757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23758         _pkg_short_errors_supported=yes
23759 else
23760         _pkg_short_errors_supported=no
23761 fi
23762         if test $_pkg_short_errors_supported = yes; then
23763                 XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML2_REQ"`
23764         else
23765                 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML2_REQ"`
23766         fi
23767         # Put the nasty error message in config.log where it belongs
23768         echo "$XML_PKG_ERRORS" >&5
23769
23770         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23771 $as_echo "no" >&6; }
23772
23773                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23774 $as_echo "no" >&6; }
23775                       HAVE_LIBXML2=no
23776
23777 elif test $pkg_failed = untried; then
23778
23779                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23780 $as_echo "no" >&6; }
23781                       HAVE_LIBXML2=no
23782
23783 else
23784         XML_CFLAGS=$pkg_cv_XML_CFLAGS
23785         XML_LIBS=$pkg_cv_XML_LIBS
23786         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23787 $as_echo "yes" >&6; }
23788         HAVE_LIBXML2=yes
23789 fi
23790   if test "x$HAVE_LIBXML2" = "xyes"; then
23791
23792 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
23793
23794   else
23795     as_fn_error $? "
23796         Need libxml2 and development headers/files to build GStreamer.
23797
23798         You can do without libxml2 if you pass --disable-loadsave to
23799         configure, but that breaks ABI, so don't do that unless you
23800         are building for an embedded setup and know what you are doing.
23801     " "$LINENO" 5
23802   fi
23803     LIBXML_PKG=', libxml-2.0'
23804
23805
23806
23807
23808       ac_save_CFLAGS=$CFLAGS
23809   ac_save_LIBS=$LIBS
23810   CFLAGS="$CFLAGS $XML_CFLAGS"
23811   LIBS="$LIBS $XML_LIBS"
23812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h.  */
23814
23815 #include <libxml/tree.h>
23816 #include <stdio.h>
23817
23818 int
23819 main ()
23820 {
23821
23822 /* function body */
23823
23824   ;
23825   return 0;
23826 }
23827 _ACEOF
23828 if ac_fn_c_try_link "$LINENO"; then :
23829   { $as_echo "$as_me:${as_lineno-$LINENO}: Test xml2 program linked" >&5
23830 $as_echo "$as_me: Test xml2 program linked" >&6;}
23831 else
23832   as_fn_error $? "Could not link libxml2 test program.  Check if you have the necessary dependencies." "$LINENO" 5
23833
23834 fi
23835 rm -f core conftest.err conftest.$ac_objext \
23836     conftest$ac_exeext conftest.$ac_ext
23837   CFLAGS="$ac_save_CFLAGS"
23838   LIBS="$ac_save_LIBS"
23839
23840   GST_DISABLE_XML_DEFINE="/* #undef GST_DISABLE_XML */"
23841 fi
23842
23843
23844 # Check whether --enable-check was given.
23845 if test "${enable_check+set}" = set; then :
23846   enableval=$enable_check;
23847     case "${enableval}" in
23848       yes) BUILD_CHECK=yes ;;
23849       no)  BUILD_CHECK=no ;;
23850       *)   as_fn_error $? "bad value ${enableval} for --disable-check" "$LINENO" 5  ;;
23851     esac
23852
23853 else
23854
23855         case $host_os in
23856       mingw* | msvc* | mks*) BUILD_CHECK=no ;;
23857       *) BUILD_CHECK=yes ;;
23858     esac
23859
23860 fi
23861
23862  if test "x$BUILD_CHECK" = "xyes"; then
23863   HAVE_CHECK_TRUE=
23864   HAVE_CHECK_FALSE='#'
23865 else
23866   HAVE_CHECK_TRUE='#'
23867   HAVE_CHECK_FALSE=
23868 fi
23869
23870
23871
23872 # Check whether --with-buffer-alignment was given.
23873 if test "${with_buffer_alignment+set}" = set; then :
23874   withval=$with_buffer_alignment;
23875     if test "x$withval" = "xyes"
23876     then
23877
23878 $as_echo "#define BUFFER_ALIGNMENT 32" >>confdefs.h
23879
23880     else
23881       case "${withval}" in
23882         malloc)
23883 $as_echo "#define BUFFER_ALIGNMENT_MALLOC 1" >>confdefs.h
23884  ;;
23885         pagesize)
23886 $as_echo "#define BUFFER_ALIGNMENT_PAGESIZE 1" >>confdefs.h
23887  ;;
23888         *)
23889 cat >>confdefs.h <<_ACEOF
23890 #define BUFFER_ALIGNMENT ${withval}
23891 _ACEOF
23892  ;;
23893       esac
23894     fi
23895
23896 else
23897
23898
23899 $as_echo "#define BUFFER_ALIGNMENT_MALLOC 1" >>confdefs.h
23900
23901
23902
23903 fi
23904
23905
23906 # Check whether --enable-Bsymbolic was given.
23907 if test "${enable_Bsymbolic+set}" = set; then :
23908   enableval=$enable_Bsymbolic;
23909 else
23910   SAVED_LDFLAGS="${LDFLAGS}"
23911                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
23912 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
23913                LDFLAGS=-Wl,-Bsymbolic-functions
23914                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h.  */
23916
23917 int
23918 main ()
23919 {
23920 int main (void) { return 0; }
23921   ;
23922   return 0;
23923 }
23924 _ACEOF
23925 if ac_fn_c_try_link "$LINENO"; then :
23926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23927 $as_echo "yes" >&6; }
23928                            enable_Bsymbolic=yes
23929 else
23930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23931 $as_echo "no" >&6; }
23932                            enable_Bsymbolic=no
23933 fi
23934 rm -f core conftest.err conftest.$ac_objext \
23935     conftest$ac_exeext conftest.$ac_ext
23936                LDFLAGS="${SAVED_LDFLAGS}"
23937 fi
23938
23939
23940
23941
23942 GST_LICENSE="LGPL"
23943
23944 cat >>confdefs.h <<_ACEOF
23945 #define GST_LICENSE "$GST_LICENSE"
23946 _ACEOF
23947
23948
23949
23950
23951   EXP_VAR=LIBDIR
23952   FROM_VAR=$libdir
23953
23954     prefix_save=$prefix
23955   exec_prefix_save=$exec_prefix
23956
23957     if test "x$prefix" = "xNONE"; then
23958     prefix="$ac_default_prefix"
23959   fi
23960     if test "x$exec_prefix" = "xNONE"; then
23961     exec_prefix=$prefix
23962   fi
23963
23964   full_var="$FROM_VAR"
23965     while true; do
23966     new_full_var="`eval echo $full_var`"
23967     if test "x$new_full_var" = "x$full_var"; then break; fi
23968     full_var=$new_full_var
23969   done
23970
23971     full_var=$new_full_var
23972   LIBDIR="$full_var"
23973
23974
23975     prefix=$prefix_save
23976   exec_prefix=$exec_prefix_save
23977
23978
23979 cat >>confdefs.h <<_ACEOF
23980 #define LIBDIR "$LIBDIR"
23981 _ACEOF
23982
23983
23984   EXP_VAR=DATADIR
23985   FROM_VAR=$datadir
23986
23987     prefix_save=$prefix
23988   exec_prefix_save=$exec_prefix
23989
23990     if test "x$prefix" = "xNONE"; then
23991     prefix="$ac_default_prefix"
23992   fi
23993     if test "x$exec_prefix" = "xNONE"; then
23994     exec_prefix=$prefix
23995   fi
23996
23997   full_var="$FROM_VAR"
23998     while true; do
23999     new_full_var="`eval echo $full_var`"
24000     if test "x$new_full_var" = "x$full_var"; then break; fi
24001     full_var=$new_full_var
24002   done
24003
24004     full_var=$new_full_var
24005   DATADIR="$full_var"
24006
24007
24008     prefix=$prefix_save
24009   exec_prefix=$exec_prefix_save
24010
24011
24012 cat >>confdefs.h <<_ACEOF
24013 #define GST_DATADIR "$DATADIR"
24014 _ACEOF
24015
24016
24017
24018
24019   EXP_VAR=PLUGINDIR
24020   FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
24021
24022     prefix_save=$prefix
24023   exec_prefix_save=$exec_prefix
24024
24025     if test "x$prefix" = "xNONE"; then
24026     prefix="$ac_default_prefix"
24027   fi
24028     if test "x$exec_prefix" = "xNONE"; then
24029     exec_prefix=$prefix
24030   fi
24031
24032   full_var="$FROM_VAR"
24033     while true; do
24034     new_full_var="`eval echo $full_var`"
24035     if test "x$new_full_var" = "x$full_var"; then break; fi
24036     full_var=$new_full_var
24037   done
24038
24039     full_var=$new_full_var
24040   PLUGINDIR="$full_var"
24041
24042
24043     prefix=$prefix_save
24044   exec_prefix=$exec_prefix_save
24045
24046
24047 cat >>confdefs.h <<_ACEOF
24048 #define PLUGINDIR "$PLUGINDIR"
24049 _ACEOF
24050
24051   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
24052 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
24053
24054     plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
24055
24056
24057
24058 GST_PKG_DEPS="glib-2.0, gobject-2.0, gmodule-no-export-2.0, gthread-2.0"
24059
24060
24061
24062
24063
24064
24065   WARNING_CFLAGS=""
24066   ERROR_CFLAGS=""
24067
24068
24069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24070 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24071
24072   save_CFLAGS="$CFLAGS"
24073   CFLAGS="$CFLAGS -Wall"
24074
24075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24076 /* end confdefs.h.  */
24077
24078 int
24079 main ()
24080 {
24081
24082   ;
24083   return 0;
24084 }
24085 _ACEOF
24086 if ac_fn_c_try_compile "$LINENO"; then :
24087   flag_ok=yes
24088 else
24089   flag_ok=no
24090 fi
24091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24092   CFLAGS="$save_CFLAGS"
24093
24094   if test "X$flag_ok" = Xyes ; then
24095     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
24096     true
24097   else
24098
24099     true
24100   fi
24101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24102 $as_echo "$flag_ok" >&6; }
24103
24104
24105
24106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
24107 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
24108
24109   save_CFLAGS="$CFLAGS"
24110   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
24111
24112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24113 /* end confdefs.h.  */
24114
24115 int
24116 main ()
24117 {
24118
24119   ;
24120   return 0;
24121 }
24122 _ACEOF
24123 if ac_fn_c_try_compile "$LINENO"; then :
24124   flag_ok=yes
24125 else
24126   flag_ok=no
24127 fi
24128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24129   CFLAGS="$save_CFLAGS"
24130
24131   if test "X$flag_ok" = Xyes ; then
24132     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
24133     true
24134   else
24135
24136     true
24137   fi
24138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24139 $as_echo "$flag_ok" >&6; }
24140
24141
24142
24143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
24144 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
24145
24146   save_CFLAGS="$CFLAGS"
24147   CFLAGS="$CFLAGS -Wvla"
24148
24149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h.  */
24151
24152 int
24153 main ()
24154 {
24155
24156   ;
24157   return 0;
24158 }
24159 _ACEOF
24160 if ac_fn_c_try_compile "$LINENO"; then :
24161   flag_ok=yes
24162 else
24163   flag_ok=no
24164 fi
24165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24166   CFLAGS="$save_CFLAGS"
24167
24168   if test "X$flag_ok" = Xyes ; then
24169     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
24170     true
24171   else
24172
24173     true
24174   fi
24175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24176 $as_echo "$flag_ok" >&6; }
24177
24178
24179
24180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
24181 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
24182
24183   save_CFLAGS="$CFLAGS"
24184   CFLAGS="$CFLAGS -Wpointer-arith"
24185
24186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24187 /* end confdefs.h.  */
24188
24189 int
24190 main ()
24191 {
24192
24193   ;
24194   return 0;
24195 }
24196 _ACEOF
24197 if ac_fn_c_try_compile "$LINENO"; then :
24198   flag_ok=yes
24199 else
24200   flag_ok=no
24201 fi
24202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24203   CFLAGS="$save_CFLAGS"
24204
24205   if test "X$flag_ok" = Xyes ; then
24206     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
24207     true
24208   else
24209
24210     true
24211   fi
24212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24213 $as_echo "$flag_ok" >&6; }
24214
24215
24216     if test "x$GST_GIT" != "xno"
24217   then
24218
24219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
24220 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
24221
24222   save_CFLAGS="$CFLAGS"
24223   CFLAGS="$CFLAGS -Werror"
24224
24225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24226 /* end confdefs.h.  */
24227
24228 int
24229 main ()
24230 {
24231
24232   ;
24233   return 0;
24234 }
24235 _ACEOF
24236 if ac_fn_c_try_compile "$LINENO"; then :
24237   flag_ok=yes
24238 else
24239   flag_ok=no
24240 fi
24241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24242   CFLAGS="$save_CFLAGS"
24243
24244   if test "X$flag_ok" = Xyes ; then
24245     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
24246     true
24247   else
24248
24249     true
24250   fi
24251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24252 $as_echo "$flag_ok" >&6; }
24253
24254
24255         if test "x$ERROR_CFLAGS" = "x"
24256     then
24257
24258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
24259 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
24260
24261   save_CFLAGS="$CFLAGS"
24262   CFLAGS="$CFLAGS -errwarn=%all"
24263
24264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24265 /* end confdefs.h.  */
24266
24267 int
24268 main ()
24269 {
24270
24271   ;
24272   return 0;
24273 }
24274 _ACEOF
24275 if ac_fn_c_try_compile "$LINENO"; then :
24276   flag_ok=yes
24277 else
24278   flag_ok=no
24279 fi
24280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24281   CFLAGS="$save_CFLAGS"
24282
24283   if test "X$flag_ok" = Xyes ; then
24284
24285           ERROR_CFLAGS="-errwarn=%all"
24286                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
24287                    'no%E_STATEMENT_NOT_REACHED' \
24288                    'no%E_ARGUEMENT_MISMATCH' \
24289                    'no%E_MACRO_REDEFINED' \
24290                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
24291           do
24292
24293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
24294 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
24295
24296   save_CFLAGS="$CFLAGS"
24297   CFLAGS="$CFLAGS -errwarn=%all,$f"
24298
24299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24300 /* end confdefs.h.  */
24301
24302 int
24303 main ()
24304 {
24305
24306   ;
24307   return 0;
24308 }
24309 _ACEOF
24310 if ac_fn_c_try_compile "$LINENO"; then :
24311   flag_ok=yes
24312 else
24313   flag_ok=no
24314 fi
24315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24316   CFLAGS="$save_CFLAGS"
24317
24318   if test "X$flag_ok" = Xyes ; then
24319
24320               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
24321
24322     true
24323   else
24324
24325     true
24326   fi
24327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24328 $as_echo "$flag_ok" >&6; }
24329
24330           done
24331
24332     true
24333   else
24334
24335     true
24336   fi
24337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24338 $as_echo "$flag_ok" >&6; }
24339
24340     else
24341                         if test -n "$PKG_CONFIG" && \
24342     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
24343   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
24344   ac_status=$?
24345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24346   test $ac_status = 0; }; then
24347
24348
24349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
24350 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
24351
24352   save_CFLAGS="$CFLAGS"
24353   CFLAGS="$CFLAGS -fno-strict-aliasing"
24354
24355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24356 /* end confdefs.h.  */
24357
24358 int
24359 main ()
24360 {
24361
24362   ;
24363   return 0;
24364 }
24365 _ACEOF
24366 if ac_fn_c_try_compile "$LINENO"; then :
24367   flag_ok=yes
24368 else
24369   flag_ok=no
24370 fi
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24372   CFLAGS="$save_CFLAGS"
24373
24374   if test "X$flag_ok" = Xyes ; then
24375     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
24376     true
24377   else
24378
24379     true
24380   fi
24381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24382 $as_echo "$flag_ok" >&6; }
24383
24384
24385 fi
24386     fi
24387   fi
24388
24389   if test "x-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs" != "x"
24390   then
24391     UNSUPPORTED=""
24392     list="-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs"
24393     for each in $list
24394     do
24395
24396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
24397 $as_echo_n "checking to see if compiler understands $each... " >&6; }
24398
24399   save_CFLAGS="$CFLAGS"
24400   CFLAGS="$CFLAGS $each"
24401
24402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24403 /* end confdefs.h.  */
24404
24405 int
24406 main ()
24407 {
24408
24409   ;
24410   return 0;
24411 }
24412 _ACEOF
24413 if ac_fn_c_try_compile "$LINENO"; then :
24414   flag_ok=yes
24415 else
24416   flag_ok=no
24417 fi
24418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24419   CFLAGS="$save_CFLAGS"
24420
24421   if test "X$flag_ok" = Xyes ; then
24422     WARNING_CFLAGS="$WARNING_CFLAGS $each"
24423     true
24424   else
24425     UNSUPPORTED="$UNSUPPORTED $each"
24426     true
24427   fi
24428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24429 $as_echo "$flag_ok" >&6; }
24430
24431     done
24432     if test "X$UNSUPPORTED" != X ; then
24433       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
24434 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
24435     fi
24436   fi
24437
24438
24439
24440   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
24441 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
24442   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
24443 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
24444
24445
24446
24447       if test "x$GST_GIT" = "xyes"; then
24448     GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
24449   else
24450     GST_LEVEL_DEFAULT=GST_LEVEL_NONE
24451   fi
24452
24453 cat >>confdefs.h <<_ACEOF
24454 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
24455 _ACEOF
24456
24457
24458
24459
24460
24461
24462 if test "x$USE_DEBUG" = xyes; then
24463    PROFILE_CFLAGS="-g"
24464 fi
24465
24466
24467 # GST_DISABLE_DEPRECATED: hide the visibility of deprecated
24468 # functionality from the API that gstreamer uses
24469 # GST_REMOVE_DEPRECATED: don't compile deprecated functionality (breaks ABI)
24470 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
24471     DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
24472 else
24473   DEPRECATED_CFLAGS=""
24474 fi
24475
24476
24477 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
24478 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
24479
24480
24481
24482 GST_ALL_CXXFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS $GLIB_EXTRA_CFLAGS $XML_CFLAGS \$(GST_OPTION_CXXFLAGS) \$(ERROR_CXXFLAGS)"
24483 GST_ALL_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS $GLIB_EXTRA_CFLAGS $XML_CFLAGS \$(GST_OPTION_CFLAGS) \$(ERROR_CFLAGS)"
24484
24485 GST_ALL_LIBS="$GLIB_LIBS $LTLIBINTL \$(GCOV_LIBS)"
24486
24487 GST_ALL_LDFLAGS="-no-undefined"
24488 if test "x${enable_Bsymbolic}" = "xyes"; then
24489   GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
24490 fi
24491
24492
24493
24494
24495
24496
24497 GST_LIB_LDFLAGS="-export-symbols-regex \^_*\(gst_\|Gst\|GST_\).*"
24498
24499
24500 GST_OBJ_CFLAGS="\$(GST_ALL_CFLAGS)"
24501 GST_OBJ_CXXFLAGS="\$(GST_ALL_CXXFLAGS)"
24502 GST_OBJ_LIBS="\$(top_builddir)/gst/libgstreamer-$GST_MAJORMINOR.la \$(GST_ALL_LIBS)"
24503
24504
24505
24506
24507 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
24508 GST_PLUGIN_LDFLAGS="$GST_PLUGIN_LDFLAGS"
24509
24510
24511
24512   EXP_VAR=GST_PLUGIN_SCANNER_INSTALLED
24513   FROM_VAR=${libexecdir}/gstreamer-$GST_MAJORMINOR/gst-plugin-scanner
24514
24515     prefix_save=$prefix
24516   exec_prefix_save=$exec_prefix
24517
24518     if test "x$prefix" = "xNONE"; then
24519     prefix="$ac_default_prefix"
24520   fi
24521     if test "x$exec_prefix" = "xNONE"; then
24522     exec_prefix=$prefix
24523   fi
24524
24525   full_var="$FROM_VAR"
24526     while true; do
24527     new_full_var="`eval echo $full_var`"
24528     if test "x$new_full_var" = "x$full_var"; then break; fi
24529     full_var=$new_full_var
24530   done
24531
24532     full_var=$new_full_var
24533   GST_PLUGIN_SCANNER_INSTALLED="$full_var"
24534
24535
24536     prefix=$prefix_save
24537   exec_prefix=$exec_prefix_save
24538
24539
24540 cat >>confdefs.h <<_ACEOF
24541 #define GST_PLUGIN_SCANNER_INSTALLED "$GST_PLUGIN_SCANNER_INSTALLED"
24542 _ACEOF
24543
24544
24545
24546
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: Running check unit test framework checks now..." >&5
24548 $as_echo "$as_me: Running check unit test framework checks now..." >&6;}
24549
24550 CHECK_MAJOR_VERSION=0
24551 CHECK_MINOR_VERSION=9
24552 CHECK_MICRO_VERSION=8
24553 CHECK_VERSION=$CHECK_MAJOR_VERSION.$CHECK_MINOR_VERSION.$CHECK_MICRO_VERSION
24554
24555
24556
24557
24558
24559
24560 for ac_header in unistd.h sys/wait.h sys/time.h
24561 do :
24562   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24563 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
24565   cat >>confdefs.h <<_ACEOF
24566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24567 _ACEOF
24568
24569 fi
24570
24571 done
24572
24573
24574 for ac_func in localtime_r
24575 do :
24576   ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
24577 if test "x$ac_cv_func_localtime_r" = x""yes; then :
24578   cat >>confdefs.h <<_ACEOF
24579 #define HAVE_LOCALTIME_R 1
24580 _ACEOF
24581
24582 fi
24583 done
24584
24585
24586
24587 # ------ AX CREATE STDINT H -------------------------------------
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
24589 $as_echo_n "checking for stdint types... " >&6; }
24590 ac_stdint_h=`echo _stdint.h`
24591 # try to shortcircuit - if the default include path of the compiler
24592 # can find a "stdint.h" header then we assume that all compilers can.
24593 if test "${ac_cv_header_stdint_t+set}" = set; then :
24594   $as_echo_n "(cached) " >&6
24595 else
24596
24597 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
24598 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
24599 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
24600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24601 /* end confdefs.h.  */
24602 #include <stdint.h>
24603 int
24604 main ()
24605 {
24606 int_least32_t v = 0;
24607   ;
24608   return 0;
24609 }
24610 _ACEOF
24611 if ac_fn_c_try_compile "$LINENO"; then :
24612   ac_cv_stdint_result="(assuming C99 compatible system)"
24613  ac_cv_header_stdint_t="stdint.h";
24614 else
24615   ac_cv_header_stdint_t=""
24616 fi
24617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24618 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
24619 CFLAGS="-std=c99"
24620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24621 /* end confdefs.h.  */
24622 #include <stdint.h>
24623 int
24624 main ()
24625 {
24626 int_least32_t v = 0;
24627   ;
24628   return 0;
24629 }
24630 _ACEOF
24631 if ac_fn_c_try_compile "$LINENO"; then :
24632   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
24633 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
24634 fi
24635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636 fi
24637 CXXFLAGS="$old_CXXFLAGS"
24638 CPPFLAGS="$old_CPPFLAGS"
24639 CFLAGS="$old_CFLAGS"
24640 fi
24641
24642
24643 v="... $ac_cv_header_stdint_h"
24644 if test "$ac_stdint_h" = "stdint.h" ; then
24645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
24646 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
24647 elif test "$ac_stdint_h" = "inttypes.h" ; then
24648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
24649 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
24650 elif test "_$ac_cv_header_stdint_t" = "_" ; then
24651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
24652 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
24653 else
24654  ac_cv_header_stdint="$ac_cv_header_stdint_t"
24655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
24656 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
24657 fi
24658
24659 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
24660
24661
24662 inttype_headers=`echo  | sed -e 's/,/ /g'`
24663
24664 ac_cv_stdint_result="(no helpful system typedefs seen)"
24665
24666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24667 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24668 if test "${ac_cv_header_stdint_x+set}" = set; then :
24669   $as_echo_n "(cached) " >&6
24670 else
24671
24672  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
24673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24674 $as_echo "(..)" >&6; }
24675   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
24676   do
24677    unset ac_cv_type_uintptr_t
24678    unset ac_cv_type_uint64_t
24679    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
24680 "
24681 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
24682   ac_cv_header_stdint_x=$i
24683 else
24684   continue
24685 fi
24686
24687    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24688 "
24689 if test "x$ac_cv_type_uint64_t" = x""yes; then :
24690   and64="/uint64_t"
24691 else
24692   and64=""
24693 fi
24694
24695    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
24696  break
24697   done
24698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24699 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24700
24701 fi
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
24703 $as_echo "$ac_cv_header_stdint_x" >&6; }
24704
24705
24706 if test "_$ac_cv_header_stdint_x" = "_" ; then
24707
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24709 $as_echo_n "checking for stdint uint32_t... " >&6; }
24710 if test "${ac_cv_header_stdint_o+set}" = set; then :
24711   $as_echo_n "(cached) " >&6
24712 else
24713
24714  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
24715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24716 $as_echo "(..)" >&6; }
24717   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
24718   do
24719    unset ac_cv_type_uint32_t
24720    unset ac_cv_type_uint64_t
24721    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
24722 "
24723 if test "x$ac_cv_type_uint32_t" = x""yes; then :
24724   ac_cv_header_stdint_o=$i
24725 else
24726   continue
24727 fi
24728
24729    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24730 "
24731 if test "x$ac_cv_type_uint64_t" = x""yes; then :
24732   and64="/uint64_t"
24733 else
24734   and64=""
24735 fi
24736
24737    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
24738  break
24739    break;
24740   done
24741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24742 $as_echo_n "checking for stdint uint32_t... " >&6; }
24743
24744 fi
24745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
24746 $as_echo "$ac_cv_header_stdint_o" >&6; }
24747
24748 fi
24749
24750 if test "_$ac_cv_header_stdint_x" = "_" ; then
24751 if test "_$ac_cv_header_stdint_o" = "_" ; then
24752
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24754 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24755 if test "${ac_cv_header_stdint_u+set}" = set; then :
24756   $as_echo_n "(cached) " >&6
24757 else
24758
24759  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
24760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24761 $as_echo "(..)" >&6; }
24762   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
24763    unset ac_cv_type_u_int32_t
24764    unset ac_cv_type_u_int64_t
24765    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
24766 "
24767 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
24768   ac_cv_header_stdint_u=$i
24769 else
24770   continue
24771 fi
24772
24773    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
24774 "
24775 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
24776   and64="/u_int64_t"
24777 else
24778   and64=""
24779 fi
24780
24781    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
24782  break
24783    break;
24784   done
24785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24786 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24787
24788 fi
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
24790 $as_echo "$ac_cv_header_stdint_u" >&6; }
24791
24792 fi fi
24793
24794 if test "_$ac_cv_header_stdint_x" = "_" ; then
24795    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
24796 $as_echo_n "checking for stdint datatype model... " >&6; }
24797    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24798 $as_echo "(..)" >&6; }
24799
24800    # The cast to long int works around a bug in the HP C Compiler
24801 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24802 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24803 # This bug is HP SR number 8606223364.
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
24805 $as_echo_n "checking size of char... " >&6; }
24806 if test "${ac_cv_sizeof_char+set}" = set; then :
24807   $as_echo_n "(cached) " >&6
24808 else
24809   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
24810
24811 else
24812   if test "$ac_cv_type_char" = yes; then
24813      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24815 as_fn_error 77 "cannot compute sizeof (char)
24816 See \`config.log' for more details" "$LINENO" 5 ; }
24817    else
24818      ac_cv_sizeof_char=0
24819    fi
24820 fi
24821
24822 fi
24823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
24824 $as_echo "$ac_cv_sizeof_char" >&6; }
24825
24826
24827
24828 cat >>confdefs.h <<_ACEOF
24829 #define SIZEOF_CHAR $ac_cv_sizeof_char
24830 _ACEOF
24831
24832
24833    # The cast to long int works around a bug in the HP C Compiler
24834 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24835 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24836 # This bug is HP SR number 8606223364.
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
24838 $as_echo_n "checking size of short... " >&6; }
24839 if test "${ac_cv_sizeof_short+set}" = set; then :
24840   $as_echo_n "(cached) " >&6
24841 else
24842   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
24843
24844 else
24845   if test "$ac_cv_type_short" = yes; then
24846      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24848 as_fn_error 77 "cannot compute sizeof (short)
24849 See \`config.log' for more details" "$LINENO" 5 ; }
24850    else
24851      ac_cv_sizeof_short=0
24852    fi
24853 fi
24854
24855 fi
24856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
24857 $as_echo "$ac_cv_sizeof_short" >&6; }
24858
24859
24860
24861 cat >>confdefs.h <<_ACEOF
24862 #define SIZEOF_SHORT $ac_cv_sizeof_short
24863 _ACEOF
24864
24865
24866    # The cast to long int works around a bug in the HP C Compiler
24867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24869 # This bug is HP SR number 8606223364.
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
24871 $as_echo_n "checking size of int... " >&6; }
24872 if test "${ac_cv_sizeof_int+set}" = set; then :
24873   $as_echo_n "(cached) " >&6
24874 else
24875   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
24876
24877 else
24878   if test "$ac_cv_type_int" = yes; then
24879      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24881 as_fn_error 77 "cannot compute sizeof (int)
24882 See \`config.log' for more details" "$LINENO" 5 ; }
24883    else
24884      ac_cv_sizeof_int=0
24885    fi
24886 fi
24887
24888 fi
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
24890 $as_echo "$ac_cv_sizeof_int" >&6; }
24891
24892
24893
24894 cat >>confdefs.h <<_ACEOF
24895 #define SIZEOF_INT $ac_cv_sizeof_int
24896 _ACEOF
24897
24898
24899    # The cast to long int works around a bug in the HP C Compiler
24900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24902 # This bug is HP SR number 8606223364.
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
24904 $as_echo_n "checking size of long... " >&6; }
24905 if test "${ac_cv_sizeof_long+set}" = set; then :
24906   $as_echo_n "(cached) " >&6
24907 else
24908   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
24909
24910 else
24911   if test "$ac_cv_type_long" = yes; then
24912      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24914 as_fn_error 77 "cannot compute sizeof (long)
24915 See \`config.log' for more details" "$LINENO" 5 ; }
24916    else
24917      ac_cv_sizeof_long=0
24918    fi
24919 fi
24920
24921 fi
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
24923 $as_echo "$ac_cv_sizeof_long" >&6; }
24924
24925
24926
24927 cat >>confdefs.h <<_ACEOF
24928 #define SIZEOF_LONG $ac_cv_sizeof_long
24929 _ACEOF
24930
24931
24932    # The cast to long int works around a bug in the HP C Compiler
24933 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24934 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24935 # This bug is HP SR number 8606223364.
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
24937 $as_echo_n "checking size of void*... " >&6; }
24938 if test "${ac_cv_sizeof_voidp+set}" = set; then :
24939   $as_echo_n "(cached) " >&6
24940 else
24941   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
24942
24943 else
24944   if test "$ac_cv_type_voidp" = yes; then
24945      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24947 as_fn_error 77 "cannot compute sizeof (void*)
24948 See \`config.log' for more details" "$LINENO" 5 ; }
24949    else
24950      ac_cv_sizeof_voidp=0
24951    fi
24952 fi
24953
24954 fi
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
24956 $as_echo "$ac_cv_sizeof_voidp" >&6; }
24957
24958
24959
24960 cat >>confdefs.h <<_ACEOF
24961 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
24962 _ACEOF
24963
24964
24965    ac_cv_char_data_model=""
24966    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
24967    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
24968    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
24969    ac_cv_long_data_model=""
24970    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
24971    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
24972    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
24973    { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
24974 $as_echo_n "checking data model... " >&6; }
24975    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
24976     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
24977     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
24978     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
24979     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
24980     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
24981     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
24982     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
24983     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
24984     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
24985     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
24986     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
24987     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
24988     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
24989     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
24990     222/*|333/*|444/*|666/*|888/*) :
24991                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
24992      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
24993    esac
24994    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
24995 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
24996
24997 fi
24998
24999 if test "_$ac_cv_header_stdint_x" != "_" ; then
25000    ac_cv_header_stdint="$ac_cv_header_stdint_x"
25001 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
25002    ac_cv_header_stdint="$ac_cv_header_stdint_o"
25003 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
25004    ac_cv_header_stdint="$ac_cv_header_stdint_u"
25005 else
25006    ac_cv_header_stdint="stddef.h"
25007 fi
25008
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
25010 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
25011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
25012 $as_echo "($ac_cv_header_stdint)" >&6; }
25013 unset ac_cv_type_int_least32_t
25014 unset ac_cv_type_int_fast32_t
25015 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
25016 "
25017 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
25018
25019 fi
25020
25021 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
25022 "
25023 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
25024
25025 fi
25026
25027 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
25028 "
25029 if test "x$ac_cv_type_intmax_t" = x""yes; then :
25030
25031 fi
25032
25033
25034 fi # shortcircut to system "stdint.h"
25035 # ------------------ PREPARE VARIABLES ------------------------------
25036 if test "$GCC" = "yes" ; then
25037 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
25038 else
25039 ac_cv_stdint_message="using $CC"
25040 fi
25041
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
25043 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
25044
25045 # ----------------- DONE inttypes.h checks START header -------------
25046 ac_config_commands="$ac_config_commands $ac_stdint_h"
25047
25048
25049
25050 enable_subunit=false
25051
25052 if test xfalse = x"$enable_subunit"; then
25053 ENABLE_SUBUNIT="0"
25054 else
25055 ENABLE_SUBUNIT="1"
25056 fi
25057
25058
25059 cat >>confdefs.h <<_ACEOF
25060 #define ENABLE_SUBUNIT $ENABLE_SUBUNIT
25061 _ACEOF
25062
25063
25064  if test x"$enable_subunit" != "xfalse"; then
25065   SUBUNIT_TRUE=
25066   SUBUNIT_FALSE='#'
25067 else
25068   SUBUNIT_TRUE='#'
25069   SUBUNIT_FALSE=
25070 fi
25071
25072
25073
25074
25075 ac_config_files="$ac_config_files Makefile gst/Makefile gst/gstconfig.h gst/gstversion.h gst/parse/Makefile libs/Makefile libs/gst/Makefile libs/gst/base/Makefile libs/gst/check/Makefile libs/gst/check/libcheck/Makefile libs/gst/check/libcheck/check.h libs/gst/controller/Makefile libs/gst/dataprotocol/Makefile libs/gst/helpers/Makefile libs/gst/net/Makefile plugins/Makefile plugins/indexers/Makefile plugins/elements/Makefile po/Makefile.in tests/Makefile tests/benchmarks/Makefile tests/check/Makefile tests/misc/Makefile tests/examples/Makefile tests/examples/adapter/Makefile tests/examples/controller/Makefile tests/examples/stepping/Makefile tests/examples/helloworld/Makefile tests/examples/launch/Makefile tests/examples/manual/Makefile tests/examples/metadata/Makefile tests/examples/queue/Makefile tests/examples/streams/Makefile tests/examples/typefind/Makefile tools/Makefile common/Makefile common/m4/Makefile docs/Makefile docs/design/Makefile docs/faq/Makefile docs/gst/Makefile docs/gst/gstreamer.types docs/libs/Makefile docs/plugins/Makefile docs/manual/Makefile docs/pwg/Makefile docs/slides/Makefile docs/xsl/Makefile docs/version.entities m4/Makefile pkgconfig/Makefile stamp.h pkgconfig/gstreamer.pc pkgconfig/gstreamer-uninstalled.pc pkgconfig/gstreamer-base.pc pkgconfig/gstreamer-base-uninstalled.pc pkgconfig/gstreamer-check.pc pkgconfig/gstreamer-check-uninstalled.pc pkgconfig/gstreamer-controller.pc pkgconfig/gstreamer-controller-uninstalled.pc pkgconfig/gstreamer-dataprotocol.pc pkgconfig/gstreamer-dataprotocol-uninstalled.pc pkgconfig/gstreamer-net.pc pkgconfig/gstreamer-net-uninstalled.pc gst-element-check.m4 gstreamer.spec"
25076
25077
25078 sed \
25079     -e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"/' \
25080     -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
25081     -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
25082     -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
25083     -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
25084     -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
25085     -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
25086     -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
25087     -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
25088     -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
25089     -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
25090     -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
25091     -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
25092     -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
25093     -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
25094     -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
25095     -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
25096     -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
25097     -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
25098     -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
25099     -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
25100     -e 's/.* BUFFER_ALIGNMENT_MALLOC/#define BUFFER_ALIGNMENT_MALLOC 1/' \
25101     -e 's/.* LIBDIR$/#ifdef _DEBUG\n#  define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n#  define LIBDIR PREFIX "\\\\lib"\n#endif/' \
25102     -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
25103     -e 's/.* PACKAGE$/#define PACKAGE "gstreamer"/' \
25104     -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
25105     -e 's/.* PACKAGE_NAME$/#define PACKAGE_NAME "'$PACKAGE_NAME'"/' \
25106     -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
25107     -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
25108     -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
25109     -e 's/.* PLUGINDIR$/#ifdef _DEBUG\n#  define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.10"\n#else\n#  define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.10"\n#endif/' \
25110     -e 's/.* GST_PLUGIN_SCANNER_INSTALLED$/#define GST_PLUGIN_SCANNER_INSTALLED LIBDIR "\\\\gst-plugin-scanner"/' \
25111     -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
25112     config.h.in >win32/common/config.h-new
25113
25114 cat >confcache <<\_ACEOF
25115 # This file is a shell script that caches the results of configure
25116 # tests run on this system so they can be shared between configure
25117 # scripts and configure runs, see configure's option --config-cache.
25118 # It is not useful on other systems.  If it contains results you don't
25119 # want to keep, you may remove or edit it.
25120 #
25121 # config.status only pays attention to the cache file if you give it
25122 # the --recheck option to rerun configure.
25123 #
25124 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25125 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25126 # following values.
25127
25128 _ACEOF
25129
25130 # The following way of writing the cache mishandles newlines in values,
25131 # but we know of no workaround that is simple, portable, and efficient.
25132 # So, we kill variables containing newlines.
25133 # Ultrix sh set writes to stderr and can't be redirected directly,
25134 # and sets the high bit in the cache file unless we assign to the vars.
25135 (
25136   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25137     eval ac_val=\$$ac_var
25138     case $ac_val in #(
25139     *${as_nl}*)
25140       case $ac_var in #(
25141       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25142 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25143       esac
25144       case $ac_var in #(
25145       _ | IFS | as_nl) ;; #(
25146       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25147       *) { eval $ac_var=; unset $ac_var;} ;;
25148       esac ;;
25149     esac
25150   done
25151
25152   (set) 2>&1 |
25153     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25154     *${as_nl}ac_space=\ *)
25155       # `set' does not quote correctly, so add quotes: double-quote
25156       # substitution turns \\\\ into \\, and sed turns \\ into \.
25157       sed -n \
25158         "s/'/'\\\\''/g;
25159           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25160       ;; #(
25161     *)
25162       # `set' quotes correctly as required by POSIX, so do not add quotes.
25163       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25164       ;;
25165     esac |
25166     sort
25167 ) |
25168   sed '
25169      /^ac_cv_env_/b end
25170      t clear
25171      :clear
25172      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25173      t end
25174      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25175      :end' >>confcache
25176 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25177   if test -w "$cache_file"; then
25178     test "x$cache_file" != "x/dev/null" &&
25179       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25180 $as_echo "$as_me: updating cache $cache_file" >&6;}
25181     cat confcache >$cache_file
25182   else
25183     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25184 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25185   fi
25186 fi
25187 rm -f confcache
25188
25189 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25190 # Let make expand exec_prefix.
25191 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25192
25193 DEFS=-DHAVE_CONFIG_H
25194
25195 ac_libobjs=
25196 ac_ltlibobjs=
25197 U=
25198 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25199   # 1. Remove the extension, and $U if already installed.
25200   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25201   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25202   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25203   #    will be set to the directory where LIBOBJS objects are built.
25204   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25205   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25206 done
25207 LIBOBJS=$ac_libobjs
25208
25209 LTLIBOBJS=$ac_ltlibobjs
25210
25211
25212  if test -n "$EXEEXT"; then
25213   am__EXEEXT_TRUE=
25214   am__EXEEXT_FALSE='#'
25215 else
25216   am__EXEEXT_TRUE='#'
25217   am__EXEEXT_FALSE=
25218 fi
25219
25220 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25221   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
25222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25223 fi
25224 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25225   as_fn_error $? "conditional \"AMDEP\" was never defined.
25226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25227 fi
25228 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25229   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25231 fi
25232 if test -z "${GST_DISABLE_GST_DEBUG_TRUE}" && test -z "${GST_DISABLE_GST_DEBUG_FALSE}"; then
25233   as_fn_error $? "conditional \"GST_DISABLE_GST_DEBUG\" was never defined.
25234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25235 fi
25236 if test -z "${GST_DISABLE_LOADSAVE_TRUE}" && test -z "${GST_DISABLE_LOADSAVE_FALSE}"; then
25237   as_fn_error $? "conditional \"GST_DISABLE_LOADSAVE\" was never defined.
25238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25239 fi
25240 if test -z "${GST_DISABLE_PARSE_TRUE}" && test -z "${GST_DISABLE_PARSE_FALSE}"; then
25241   as_fn_error $? "conditional \"GST_DISABLE_PARSE\" was never defined.
25242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25243 fi
25244 if test -z "${GST_DISABLE_OPTION_PARSING_TRUE}" && test -z "${GST_DISABLE_OPTION_PARSING_FALSE}"; then
25245   as_fn_error $? "conditional \"GST_DISABLE_OPTION_PARSING\" was never defined.
25246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25247 fi
25248 if test -z "${GST_DISABLE_TRACE_TRUE}" && test -z "${GST_DISABLE_TRACE_FALSE}"; then
25249   as_fn_error $? "conditional \"GST_DISABLE_TRACE\" was never defined.
25250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25251 fi
25252 if test -z "${GST_DISABLE_ALLOC_TRACE_TRUE}" && test -z "${GST_DISABLE_ALLOC_TRACE_FALSE}"; then
25253   as_fn_error $? "conditional \"GST_DISABLE_ALLOC_TRACE\" was never defined.
25254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25255 fi
25256 if test -z "${GST_DISABLE_REGISTRY_TRUE}" && test -z "${GST_DISABLE_REGISTRY_FALSE}"; then
25257   as_fn_error $? "conditional \"GST_DISABLE_REGISTRY\" was never defined.
25258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25259 fi
25260 if test -z "${GST_DISABLE_NET_TRUE}" && test -z "${GST_DISABLE_NET_FALSE}"; then
25261   as_fn_error $? "conditional \"GST_DISABLE_NET\" was never defined.
25262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25263 fi
25264 if test -z "${GST_DISABLE_PLUGIN_TRUE}" && test -z "${GST_DISABLE_PLUGIN_FALSE}"; then
25265   as_fn_error $? "conditional \"GST_DISABLE_PLUGIN\" was never defined.
25266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25267 fi
25268 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
25269   as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
25270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25271 fi
25272 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
25273   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
25274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25275 fi
25276 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
25277   as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
25278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25279 fi
25280 if test -z "${BUILD_FAILING_TESTS_TRUE}" && test -z "${BUILD_FAILING_TESTS_FALSE}"; then
25281   as_fn_error $? "conditional \"BUILD_FAILING_TESTS\" was never defined.
25282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25283 fi
25284
25285 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
25286   as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
25287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25288 fi
25289 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
25290   as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
25291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25292 fi
25293 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
25294   as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
25295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25296 fi
25297 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
25298   as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
25299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25300 fi
25301 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
25302   as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
25303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25304 fi
25305 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
25306   as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
25307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25308 fi
25309 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
25310   as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
25311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25312 fi
25313 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
25314   as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
25315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25316 fi
25317 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
25318   as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
25319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25320 fi
25321 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
25322   as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
25323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25324 fi
25325 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
25326   as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
25327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25328 fi
25329 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
25330   as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
25331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25332 fi
25333 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
25334   as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
25335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25336 fi
25337 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
25338   as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
25339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25340 fi
25341 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25342   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25344 fi
25345 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
25346   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
25347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25348 fi
25349 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25350   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25352 fi
25353 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25354   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25356 fi
25357 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
25358   as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
25359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25360 fi
25361 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
25362   as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
25363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25364 fi
25365 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
25366   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
25367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25368 fi
25369 if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
25370   as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined.
25371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25372 fi
25373 if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
25374   as_fn_error $? "conditional \"DOC_HTML\" was never defined.
25375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25376 fi
25377 if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
25378   as_fn_error $? "conditional \"DOC_PDF\" was never defined.
25379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25380 fi
25381 if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
25382   as_fn_error $? "conditional \"DOC_PS\" was never defined.
25383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25384 fi
25385 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
25386   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
25387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25388 fi
25389 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
25390   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
25391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25392 fi
25393 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
25394   as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
25395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25396 fi
25397 if test -z "${HAVE_SYS_SOCKET_H_TRUE}" && test -z "${HAVE_SYS_SOCKET_H_FALSE}"; then
25398   as_fn_error $? "conditional \"HAVE_SYS_SOCKET_H\" was never defined.
25399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25400 fi
25401 if test -z "${HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE}" && test -z "${HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE}"; then
25402   as_fn_error $? "conditional \"HAVE_SYS_TIMES_H_AND_UNISTD_H\" was never defined.
25403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25404 fi
25405 if test -z "${HAVE_PTHREAD_H_TRUE}" && test -z "${HAVE_PTHREAD_H_FALSE}"; then
25406   as_fn_error $? "conditional \"HAVE_PTHREAD_H\" was never defined.
25407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25408 fi
25409 if test -z "${HAVE_WINSOCK2_H_TRUE}" && test -z "${HAVE_WINSOCK2_H_FALSE}"; then
25410   as_fn_error $? "conditional \"HAVE_WINSOCK2_H\" was never defined.
25411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25412 fi
25413 if test -z "${HAVE_MMAP_TRUE}" && test -z "${HAVE_MMAP_FALSE}"; then
25414   as_fn_error $? "conditional \"HAVE_MMAP\" was never defined.
25415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25416 fi
25417 if test -z "${GST_HAVE_POSIX_TIMERS_TRUE}" && test -z "${GST_HAVE_POSIX_TIMERS_FALSE}"; then
25418   as_fn_error $? "conditional \"GST_HAVE_POSIX_TIMERS\" was never defined.
25419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25420 fi
25421 if test -z "${GST_HAVE_MONOTONIC_CLOCK_TRUE}" && test -z "${GST_HAVE_MONOTONIC_CLOCK_FALSE}"; then
25422   as_fn_error $? "conditional \"GST_HAVE_MONOTONIC_CLOCK\" was never defined.
25423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25424 fi
25425 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
25426   as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
25427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25428 fi
25429 if test -z "${SUBUNIT_TRUE}" && test -z "${SUBUNIT_FALSE}"; then
25430   as_fn_error $? "conditional \"SUBUNIT\" was never defined.
25431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25432 fi
25433
25434 : ${CONFIG_STATUS=./config.status}
25435 ac_write_fail=0
25436 ac_clean_files_save=$ac_clean_files
25437 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25439 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25440 as_write_fail=0
25441 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25442 #! $SHELL
25443 # Generated by $as_me.
25444 # Run this file to recreate the current configuration.
25445 # Compiler output produced by configure, useful for debugging
25446 # configure, is in config.log if it exists.
25447
25448 debug=false
25449 ac_cs_recheck=false
25450 ac_cs_silent=false
25451
25452 SHELL=\${CONFIG_SHELL-$SHELL}
25453 export SHELL
25454 _ASEOF
25455 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25456 ## -------------------- ##
25457 ## M4sh Initialization. ##
25458 ## -------------------- ##
25459
25460 # Be more Bourne compatible
25461 DUALCASE=1; export DUALCASE # for MKS sh
25462 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25463   emulate sh
25464   NULLCMD=:
25465   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25466   # is contrary to our usage.  Disable this feature.
25467   alias -g '${1+"$@"}'='"$@"'
25468   setopt NO_GLOB_SUBST
25469 else
25470   case `(set -o) 2>/dev/null` in #(
25471   *posix*) :
25472     set -o posix ;; #(
25473   *) :
25474      ;;
25475 esac
25476 fi
25477
25478
25479 as_nl='
25480 '
25481 export as_nl
25482 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25483 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25484 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25485 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25486 # Prefer a ksh shell builtin over an external printf program on Solaris,
25487 # but without wasting forks for bash or zsh.
25488 if test -z "$BASH_VERSION$ZSH_VERSION" \
25489     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25490   as_echo='print -r --'
25491   as_echo_n='print -rn --'
25492 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25493   as_echo='printf %s\n'
25494   as_echo_n='printf %s'
25495 else
25496   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25497     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25498     as_echo_n='/usr/ucb/echo -n'
25499   else
25500     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25501     as_echo_n_body='eval
25502       arg=$1;
25503       case $arg in #(
25504       *"$as_nl"*)
25505         expr "X$arg" : "X\\(.*\\)$as_nl";
25506         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25507       esac;
25508       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25509     '
25510     export as_echo_n_body
25511     as_echo_n='sh -c $as_echo_n_body as_echo'
25512   fi
25513   export as_echo_body
25514   as_echo='sh -c $as_echo_body as_echo'
25515 fi
25516
25517 # The user is always right.
25518 if test "${PATH_SEPARATOR+set}" != set; then
25519   PATH_SEPARATOR=:
25520   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25521     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25522       PATH_SEPARATOR=';'
25523   }
25524 fi
25525
25526
25527 # IFS
25528 # We need space, tab and new line, in precisely that order.  Quoting is
25529 # there to prevent editors from complaining about space-tab.
25530 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25531 # splitting by setting IFS to empty value.)
25532 IFS=" ""        $as_nl"
25533
25534 # Find who we are.  Look in the path if we contain no directory separator.
25535 case $0 in #((
25536   *[\\/]* ) as_myself=$0 ;;
25537   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25538 for as_dir in $PATH
25539 do
25540   IFS=$as_save_IFS
25541   test -z "$as_dir" && as_dir=.
25542     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25543   done
25544 IFS=$as_save_IFS
25545
25546      ;;
25547 esac
25548 # We did not find ourselves, most probably we were run as `sh COMMAND'
25549 # in which case we are not to be found in the path.
25550 if test "x$as_myself" = x; then
25551   as_myself=$0
25552 fi
25553 if test ! -f "$as_myself"; then
25554   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25555   exit 1
25556 fi
25557
25558 # Unset variables that we do not need and which cause bugs (e.g. in
25559 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
25560 # suppresses any "Segmentation fault" message there.  '((' could
25561 # trigger a bug in pdksh 5.2.14.
25562 for as_var in BASH_ENV ENV MAIL MAILPATH
25563 do eval test x\${$as_var+set} = xset \
25564   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25565 done
25566 PS1='$ '
25567 PS2='> '
25568 PS4='+ '
25569
25570 # NLS nuisances.
25571 LC_ALL=C
25572 export LC_ALL
25573 LANGUAGE=C
25574 export LANGUAGE
25575
25576 # CDPATH.
25577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25578
25579
25580 # as_fn_error STATUS ERROR [LINENO LOG_FD]
25581 # ----------------------------------------
25582 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25583 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25584 # script with STATUS, using 1 if that was 0.
25585 as_fn_error ()
25586 {
25587   as_status=$1; test $as_status -eq 0 && as_status=1
25588   if test "$4"; then
25589     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25590     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25591   fi
25592   $as_echo "$as_me: error: $2" >&2
25593   as_fn_exit $as_status
25594 } # as_fn_error
25595
25596
25597 # as_fn_set_status STATUS
25598 # -----------------------
25599 # Set $? to STATUS, without forking.
25600 as_fn_set_status ()
25601 {
25602   return $1
25603 } # as_fn_set_status
25604
25605 # as_fn_exit STATUS
25606 # -----------------
25607 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25608 as_fn_exit ()
25609 {
25610   set +e
25611   as_fn_set_status $1
25612   exit $1
25613 } # as_fn_exit
25614
25615 # as_fn_unset VAR
25616 # ---------------
25617 # Portably unset VAR.
25618 as_fn_unset ()
25619 {
25620   { eval $1=; unset $1;}
25621 }
25622 as_unset=as_fn_unset
25623 # as_fn_append VAR VALUE
25624 # ----------------------
25625 # Append the text in VALUE to the end of the definition contained in VAR. Take
25626 # advantage of any shell optimizations that allow amortized linear growth over
25627 # repeated appends, instead of the typical quadratic growth present in naive
25628 # implementations.
25629 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25630   eval 'as_fn_append ()
25631   {
25632     eval $1+=\$2
25633   }'
25634 else
25635   as_fn_append ()
25636   {
25637     eval $1=\$$1\$2
25638   }
25639 fi # as_fn_append
25640
25641 # as_fn_arith ARG...
25642 # ------------------
25643 # Perform arithmetic evaluation on the ARGs, and store the result in the
25644 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25645 # must be portable across $(()) and expr.
25646 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25647   eval 'as_fn_arith ()
25648   {
25649     as_val=$(( $* ))
25650   }'
25651 else
25652   as_fn_arith ()
25653   {
25654     as_val=`expr "$@" || test $? -eq 1`
25655   }
25656 fi # as_fn_arith
25657
25658
25659 if expr a : '\(a\)' >/dev/null 2>&1 &&
25660    test "X`expr 00001 : '.*\(...\)'`" = X001; then
25661   as_expr=expr
25662 else
25663   as_expr=false
25664 fi
25665
25666 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25667   as_basename=basename
25668 else
25669   as_basename=false
25670 fi
25671
25672 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25673   as_dirname=dirname
25674 else
25675   as_dirname=false
25676 fi
25677
25678 as_me=`$as_basename -- "$0" ||
25679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25680          X"$0" : 'X\(//\)$' \| \
25681          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25682 $as_echo X/"$0" |
25683     sed '/^.*\/\([^/][^/]*\)\/*$/{
25684             s//\1/
25685             q
25686           }
25687           /^X\/\(\/\/\)$/{
25688             s//\1/
25689             q
25690           }
25691           /^X\/\(\/\).*/{
25692             s//\1/
25693             q
25694           }
25695           s/.*/./; q'`
25696
25697 # Avoid depending upon Character Ranges.
25698 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25699 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25700 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25701 as_cr_digits='0123456789'
25702 as_cr_alnum=$as_cr_Letters$as_cr_digits
25703
25704 ECHO_C= ECHO_N= ECHO_T=
25705 case `echo -n x` in #(((((
25706 -n*)
25707   case `echo 'xy\c'` in
25708   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
25709   xy)  ECHO_C='\c';;
25710   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25711        ECHO_T=' ';;
25712   esac;;
25713 *)
25714   ECHO_N='-n';;
25715 esac
25716
25717 rm -f conf$$ conf$$.exe conf$$.file
25718 if test -d conf$$.dir; then
25719   rm -f conf$$.dir/conf$$.file
25720 else
25721   rm -f conf$$.dir
25722   mkdir conf$$.dir 2>/dev/null
25723 fi
25724 if (echo >conf$$.file) 2>/dev/null; then
25725   if ln -s conf$$.file conf$$ 2>/dev/null; then
25726     as_ln_s='ln -s'
25727     # ... but there are two gotchas:
25728     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25729     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25730     # In both cases, we have to default to `cp -p'.
25731     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25732       as_ln_s='cp -p'
25733   elif ln conf$$.file conf$$ 2>/dev/null; then
25734     as_ln_s=ln
25735   else
25736     as_ln_s='cp -p'
25737   fi
25738 else
25739   as_ln_s='cp -p'
25740 fi
25741 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25742 rmdir conf$$.dir 2>/dev/null
25743
25744
25745 # as_fn_mkdir_p
25746 # -------------
25747 # Create "$as_dir" as a directory, including parents if necessary.
25748 as_fn_mkdir_p ()
25749 {
25750
25751   case $as_dir in #(
25752   -*) as_dir=./$as_dir;;
25753   esac
25754   test -d "$as_dir" || eval $as_mkdir_p || {
25755     as_dirs=
25756     while :; do
25757       case $as_dir in #(
25758       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25759       *) as_qdir=$as_dir;;
25760       esac
25761       as_dirs="'$as_qdir' $as_dirs"
25762       as_dir=`$as_dirname -- "$as_dir" ||
25763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25764          X"$as_dir" : 'X\(//\)[^/]' \| \
25765          X"$as_dir" : 'X\(//\)$' \| \
25766          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25767 $as_echo X"$as_dir" |
25768     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25769             s//\1/
25770             q
25771           }
25772           /^X\(\/\/\)[^/].*/{
25773             s//\1/
25774             q
25775           }
25776           /^X\(\/\/\)$/{
25777             s//\1/
25778             q
25779           }
25780           /^X\(\/\).*/{
25781             s//\1/
25782             q
25783           }
25784           s/.*/./; q'`
25785       test -d "$as_dir" && break
25786     done
25787     test -z "$as_dirs" || eval "mkdir $as_dirs"
25788   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25789
25790
25791 } # as_fn_mkdir_p
25792 if mkdir -p . 2>/dev/null; then
25793   as_mkdir_p='mkdir -p "$as_dir"'
25794 else
25795   test -d ./-p && rmdir ./-p
25796   as_mkdir_p=false
25797 fi
25798
25799 if test -x / >/dev/null 2>&1; then
25800   as_test_x='test -x'
25801 else
25802   if ls -dL / >/dev/null 2>&1; then
25803     as_ls_L_option=L
25804   else
25805     as_ls_L_option=
25806   fi
25807   as_test_x='
25808     eval sh -c '\''
25809       if test -d "$1"; then
25810         test -d "$1/.";
25811       else
25812         case $1 in #(
25813         -*)set "./$1";;
25814         esac;
25815         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25816         ???[sx]*):;;*)false;;esac;fi
25817     '\'' sh
25818   '
25819 fi
25820 as_executable_p=$as_test_x
25821
25822 # Sed expression to map a string onto a valid CPP name.
25823 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25824
25825 # Sed expression to map a string onto a valid variable name.
25826 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25827
25828
25829 exec 6>&1
25830 ## ----------------------------------- ##
25831 ## Main body of $CONFIG_STATUS script. ##
25832 ## ----------------------------------- ##
25833 _ASEOF
25834 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25835
25836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25837 # Save the log message, to keep $0 and so on meaningful, and to
25838 # report actual input values of CONFIG_FILES etc. instead of their
25839 # values after options handling.
25840 ac_log="
25841 This file was extended by GStreamer $as_me 0.10.34, which was
25842 generated by GNU Autoconf 2.67.  Invocation command line was
25843
25844   CONFIG_FILES    = $CONFIG_FILES
25845   CONFIG_HEADERS  = $CONFIG_HEADERS
25846   CONFIG_LINKS    = $CONFIG_LINKS
25847   CONFIG_COMMANDS = $CONFIG_COMMANDS
25848   $ $0 $@
25849
25850 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25851 "
25852
25853 _ACEOF
25854
25855 case $ac_config_files in *"
25856 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25857 esac
25858
25859 case $ac_config_headers in *"
25860 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25861 esac
25862
25863
25864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25865 # Files that config.status was made for.
25866 config_files="$ac_config_files"
25867 config_headers="$ac_config_headers"
25868 config_commands="$ac_config_commands"
25869
25870 _ACEOF
25871
25872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25873 ac_cs_usage="\
25874 \`$as_me' instantiates files and other configuration actions
25875 from templates according to the current configuration.  Unless the files
25876 and actions are specified as TAGs, all are instantiated by default.
25877
25878 Usage: $0 [OPTION]... [TAG]...
25879
25880   -h, --help       print this help, then exit
25881   -V, --version    print version number and configuration settings, then exit
25882       --config     print configuration, then exit
25883   -q, --quiet, --silent
25884                    do not print progress messages
25885   -d, --debug      don't remove temporary files
25886       --recheck    update $as_me by reconfiguring in the same conditions
25887       --file=FILE[:TEMPLATE]
25888                    instantiate the configuration file FILE
25889       --header=FILE[:TEMPLATE]
25890                    instantiate the configuration header FILE
25891
25892 Configuration files:
25893 $config_files
25894
25895 Configuration headers:
25896 $config_headers
25897
25898 Configuration commands:
25899 $config_commands
25900
25901 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
25902
25903 _ACEOF
25904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25905 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25906 ac_cs_version="\\
25907 GStreamer config.status 0.10.34
25908 configured by $0, generated by GNU Autoconf 2.67,
25909   with options \\"\$ac_cs_config\\"
25910
25911 Copyright (C) 2010 Free Software Foundation, Inc.
25912 This config.status script is free software; the Free Software Foundation
25913 gives unlimited permission to copy, distribute and modify it."
25914
25915 ac_pwd='$ac_pwd'
25916 srcdir='$srcdir'
25917 INSTALL='$INSTALL'
25918 MKDIR_P='$MKDIR_P'
25919 AWK='$AWK'
25920 test -n "\$AWK" || AWK=awk
25921 _ACEOF
25922
25923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25924 # The default lists apply if the user does not specify any file.
25925 ac_need_defaults=:
25926 while test $# != 0
25927 do
25928   case $1 in
25929   --*=?*)
25930     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25931     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25932     ac_shift=:
25933     ;;
25934   --*=)
25935     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25936     ac_optarg=
25937     ac_shift=:
25938     ;;
25939   *)
25940     ac_option=$1
25941     ac_optarg=$2
25942     ac_shift=shift
25943     ;;
25944   esac
25945
25946   case $ac_option in
25947   # Handling of the options.
25948   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25949     ac_cs_recheck=: ;;
25950   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25951     $as_echo "$ac_cs_version"; exit ;;
25952   --config | --confi | --conf | --con | --co | --c )
25953     $as_echo "$ac_cs_config"; exit ;;
25954   --debug | --debu | --deb | --de | --d | -d )
25955     debug=: ;;
25956   --file | --fil | --fi | --f )
25957     $ac_shift
25958     case $ac_optarg in
25959     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25960     '') as_fn_error $? "missing file argument" ;;
25961     esac
25962     as_fn_append CONFIG_FILES " '$ac_optarg'"
25963     ac_need_defaults=false;;
25964   --header | --heade | --head | --hea )
25965     $ac_shift
25966     case $ac_optarg in
25967     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25968     esac
25969     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25970     ac_need_defaults=false;;
25971   --he | --h)
25972     # Conflict between --help and --header
25973     as_fn_error $? "ambiguous option: \`$1'
25974 Try \`$0 --help' for more information.";;
25975   --help | --hel | -h )
25976     $as_echo "$ac_cs_usage"; exit ;;
25977   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25978   | -silent | --silent | --silen | --sile | --sil | --si | --s)
25979     ac_cs_silent=: ;;
25980
25981   # This is an error.
25982   -*) as_fn_error $? "unrecognized option: \`$1'
25983 Try \`$0 --help' for more information." ;;
25984
25985   *) as_fn_append ac_config_targets " $1"
25986      ac_need_defaults=false ;;
25987
25988   esac
25989   shift
25990 done
25991
25992 ac_configure_extra_args=
25993
25994 if $ac_cs_silent; then
25995   exec 6>/dev/null
25996   ac_configure_extra_args="$ac_configure_extra_args --silent"
25997 fi
25998
25999 _ACEOF
26000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26001 if \$ac_cs_recheck; then
26002   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26003   shift
26004   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26005   CONFIG_SHELL='$SHELL'
26006   export CONFIG_SHELL
26007   exec "\$@"
26008 fi
26009
26010 _ACEOF
26011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26012 exec 5>>config.log
26013 {
26014   echo
26015   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26016 ## Running $as_me. ##
26017 _ASBOX
26018   $as_echo "$ac_log"
26019 } >&5
26020
26021 _ACEOF
26022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26023 #
26024 # INIT-COMMANDS
26025 #
26026 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26027
26028
26029 # The HP-UX ksh and POSIX shell print the target directory to stdout
26030 # if CDPATH is set.
26031 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26032
26033 sed_quote_subst='$sed_quote_subst'
26034 double_quote_subst='$double_quote_subst'
26035 delay_variable_subst='$delay_variable_subst'
26036 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
26037 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
26038 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
26039 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
26040 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
26041 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
26042 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
26043 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
26044 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
26045 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
26046 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
26047 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
26048 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
26049 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
26050 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
26051 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
26052 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
26053 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
26054 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
26055 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
26056 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
26057 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
26058 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
26059 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
26060 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
26061 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
26062 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
26063 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
26064 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
26065 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
26066 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26067 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
26068 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
26069 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
26070 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
26071 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
26072 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
26073 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26074 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26075 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26076 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
26077 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
26078 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
26079 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
26080 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
26081 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
26082 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"`'
26083 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"`'
26084 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
26085 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
26086 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
26087 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
26088 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
26089 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
26090 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
26091 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
26092 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
26093 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
26094 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
26095 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
26096 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
26097 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
26098 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
26099 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
26100 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26101 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26102 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
26103 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
26104 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26105 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26106 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
26107 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26108 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26109 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26110 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26111 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26112 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26113 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
26114 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
26115 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
26116 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26117 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
26118 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
26119 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
26120 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
26121 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
26122 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26123 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
26124 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
26125 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
26126 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
26127 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
26128 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26129 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26130 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26131 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26132 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
26133 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
26134 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
26135 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
26136 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
26137 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26138 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26139 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
26140 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26141 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
26142 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26143 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26144 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26145 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26146 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
26147 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
26148 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26149 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26150 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
26151 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
26152 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
26153 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
26154 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
26155 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
26156 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
26157 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26158 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26159 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
26160 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
26161 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
26162 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26163 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26164 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26165 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26166 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26167 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26168 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26169 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26170 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26171 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26172 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26173 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26174 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26175 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26176 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26177 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26178 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26179 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26180 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26181 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26182 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26183 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26184 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26185 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26186 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26187 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26188 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26189 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26190 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26191 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26192 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26193 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26194 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26195 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26196 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26197 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26198 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26199 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26200 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26201 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26202 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26203 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26204 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26205 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26206 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26207 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26208 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26209
26210 LTCC='$LTCC'
26211 LTCFLAGS='$LTCFLAGS'
26212 compiler='$compiler_DEFAULT'
26213
26214 # Quote evaled strings.
26215 for var in SED \
26216 GREP \
26217 EGREP \
26218 FGREP \
26219 LD \
26220 NM \
26221 LN_S \
26222 lt_SP2NL \
26223 lt_NL2SP \
26224 reload_flag \
26225 deplibs_check_method \
26226 file_magic_cmd \
26227 AR \
26228 AR_FLAGS \
26229 STRIP \
26230 RANLIB \
26231 CC \
26232 CFLAGS \
26233 compiler \
26234 lt_cv_sys_global_symbol_pipe \
26235 lt_cv_sys_global_symbol_to_cdecl \
26236 lt_cv_sys_global_symbol_to_c_name_address \
26237 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26238 SHELL \
26239 ECHO \
26240 lt_prog_compiler_no_builtin_flag \
26241 lt_prog_compiler_wl \
26242 lt_prog_compiler_pic \
26243 lt_prog_compiler_static \
26244 lt_cv_prog_compiler_c_o \
26245 need_locks \
26246 DSYMUTIL \
26247 NMEDIT \
26248 LIPO \
26249 OTOOL \
26250 OTOOL64 \
26251 shrext_cmds \
26252 export_dynamic_flag_spec \
26253 whole_archive_flag_spec \
26254 compiler_needs_object \
26255 with_gnu_ld \
26256 allow_undefined_flag \
26257 no_undefined_flag \
26258 hardcode_libdir_flag_spec \
26259 hardcode_libdir_flag_spec_ld \
26260 hardcode_libdir_separator \
26261 fix_srcfile_path \
26262 exclude_expsyms \
26263 include_expsyms \
26264 file_list_spec \
26265 variables_saved_for_relink \
26266 libname_spec \
26267 library_names_spec \
26268 soname_spec \
26269 finish_eval \
26270 old_striplib \
26271 striplib \
26272 compiler_lib_search_dirs \
26273 predep_objects \
26274 postdep_objects \
26275 predeps \
26276 postdeps \
26277 compiler_lib_search_path \
26278 LD_CXX \
26279 compiler_CXX \
26280 lt_prog_compiler_no_builtin_flag_CXX \
26281 lt_prog_compiler_wl_CXX \
26282 lt_prog_compiler_pic_CXX \
26283 lt_prog_compiler_static_CXX \
26284 lt_cv_prog_compiler_c_o_CXX \
26285 export_dynamic_flag_spec_CXX \
26286 whole_archive_flag_spec_CXX \
26287 compiler_needs_object_CXX \
26288 with_gnu_ld_CXX \
26289 allow_undefined_flag_CXX \
26290 no_undefined_flag_CXX \
26291 hardcode_libdir_flag_spec_CXX \
26292 hardcode_libdir_flag_spec_ld_CXX \
26293 hardcode_libdir_separator_CXX \
26294 fix_srcfile_path_CXX \
26295 exclude_expsyms_CXX \
26296 include_expsyms_CXX \
26297 file_list_spec_CXX \
26298 compiler_lib_search_dirs_CXX \
26299 predep_objects_CXX \
26300 postdep_objects_CXX \
26301 predeps_CXX \
26302 postdeps_CXX \
26303 compiler_lib_search_path_CXX; do
26304     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26305     *[\\\\\\\`\\"\\\$]*)
26306       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26307       ;;
26308     *)
26309       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26310       ;;
26311     esac
26312 done
26313
26314 # Double-quote double-evaled strings.
26315 for var in reload_cmds \
26316 old_postinstall_cmds \
26317 old_postuninstall_cmds \
26318 old_archive_cmds \
26319 extract_expsyms_cmds \
26320 old_archive_from_new_cmds \
26321 old_archive_from_expsyms_cmds \
26322 archive_cmds \
26323 archive_expsym_cmds \
26324 module_cmds \
26325 module_expsym_cmds \
26326 export_symbols_cmds \
26327 prelink_cmds \
26328 postinstall_cmds \
26329 postuninstall_cmds \
26330 finish_cmds \
26331 sys_lib_search_path_spec \
26332 sys_lib_dlsearch_path_spec \
26333 old_archive_cmds_CXX \
26334 old_archive_from_new_cmds_CXX \
26335 old_archive_from_expsyms_cmds_CXX \
26336 archive_cmds_CXX \
26337 archive_expsym_cmds_CXX \
26338 module_cmds_CXX \
26339 module_expsym_cmds_CXX \
26340 export_symbols_cmds_CXX \
26341 prelink_cmds_CXX; do
26342     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26343     *[\\\\\\\`\\"\\\$]*)
26344       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26345       ;;
26346     *)
26347       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26348       ;;
26349     esac
26350 done
26351
26352 # Fix-up fallback echo if it was mangled by the above quoting rules.
26353 case \$lt_ECHO in
26354 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
26355   ;;
26356 esac
26357
26358 ac_aux_dir='$ac_aux_dir'
26359 xsi_shell='$xsi_shell'
26360 lt_shell_append='$lt_shell_append'
26361
26362 # See if we are running on zsh, and set the options which allow our
26363 # commands through without removal of \ escapes INIT.
26364 if test -n "\${ZSH_VERSION+set}" ; then
26365    setopt NO_GLOB_SUBST
26366 fi
26367
26368
26369     PACKAGE='$PACKAGE'
26370     VERSION='$VERSION'
26371     TIMESTAMP='$TIMESTAMP'
26372     RM='$RM'
26373     ofile='$ofile'
26374
26375
26376
26377
26378
26379 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
26380     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
26381     # from automake < 1.5.
26382     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
26383     # Capture the value of LINGUAS because we need it to compute CATALOGS.
26384     LINGUAS="${LINGUAS-%UNSET%}"
26385
26386 # variables for create stdint.h replacement
26387 PACKAGE="$PACKAGE"
26388 VERSION="$VERSION"
26389 ac_stdint_h="$ac_stdint_h"
26390 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
26391 ac_cv_stdint_message="$ac_cv_stdint_message"
26392 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
26393 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
26394 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
26395 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
26396 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26397 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26398 ac_cv_char_data_model="$ac_cv_char_data_model"
26399 ac_cv_long_data_model="$ac_cv_long_data_model"
26400 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26401 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26402 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
26403
26404
26405 _ACEOF
26406
26407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26408
26409 # Handling of arguments.
26410 for ac_config_target in $ac_config_targets
26411 do
26412   case $ac_config_target in
26413     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26414     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26415     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26416     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
26417     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
26418     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26419     "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
26420     "gst/gstconfig.h") CONFIG_FILES="$CONFIG_FILES gst/gstconfig.h" ;;
26421     "gst/gstversion.h") CONFIG_FILES="$CONFIG_FILES gst/gstversion.h" ;;
26422     "gst/parse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/parse/Makefile" ;;
26423     "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
26424     "libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/Makefile" ;;
26425     "libs/gst/base/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/base/Makefile" ;;
26426     "libs/gst/check/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/check/Makefile" ;;
26427     "libs/gst/check/libcheck/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/check/libcheck/Makefile" ;;
26428     "libs/gst/check/libcheck/check.h") CONFIG_FILES="$CONFIG_FILES libs/gst/check/libcheck/check.h" ;;
26429     "libs/gst/controller/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/controller/Makefile" ;;
26430     "libs/gst/dataprotocol/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/dataprotocol/Makefile" ;;
26431     "libs/gst/helpers/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/helpers/Makefile" ;;
26432     "libs/gst/net/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/net/Makefile" ;;
26433     "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
26434     "plugins/indexers/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/indexers/Makefile" ;;
26435     "plugins/elements/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/elements/Makefile" ;;
26436     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
26437     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
26438     "tests/benchmarks/Makefile") CONFIG_FILES="$CONFIG_FILES tests/benchmarks/Makefile" ;;
26439     "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
26440     "tests/misc/Makefile") CONFIG_FILES="$CONFIG_FILES tests/misc/Makefile" ;;
26441     "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
26442     "tests/examples/adapter/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/adapter/Makefile" ;;
26443     "tests/examples/controller/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/controller/Makefile" ;;
26444     "tests/examples/stepping/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/stepping/Makefile" ;;
26445     "tests/examples/helloworld/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/helloworld/Makefile" ;;
26446     "tests/examples/launch/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/launch/Makefile" ;;
26447     "tests/examples/manual/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/manual/Makefile" ;;
26448     "tests/examples/metadata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/metadata/Makefile" ;;
26449     "tests/examples/queue/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/queue/Makefile" ;;
26450     "tests/examples/streams/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/streams/Makefile" ;;
26451     "tests/examples/typefind/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/typefind/Makefile" ;;
26452     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
26453     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
26454     "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
26455     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
26456     "docs/design/Makefile") CONFIG_FILES="$CONFIG_FILES docs/design/Makefile" ;;
26457     "docs/faq/Makefile") CONFIG_FILES="$CONFIG_FILES docs/faq/Makefile" ;;
26458     "docs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES docs/gst/Makefile" ;;
26459     "docs/gst/gstreamer.types") CONFIG_FILES="$CONFIG_FILES docs/gst/gstreamer.types" ;;
26460     "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
26461     "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
26462     "docs/manual/Makefile") CONFIG_FILES="$CONFIG_FILES docs/manual/Makefile" ;;
26463     "docs/pwg/Makefile") CONFIG_FILES="$CONFIG_FILES docs/pwg/Makefile" ;;
26464     "docs/slides/Makefile") CONFIG_FILES="$CONFIG_FILES docs/slides/Makefile" ;;
26465     "docs/xsl/Makefile") CONFIG_FILES="$CONFIG_FILES docs/xsl/Makefile" ;;
26466     "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
26467     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
26468     "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
26469     "stamp.h") CONFIG_FILES="$CONFIG_FILES stamp.h" ;;
26470     "pkgconfig/gstreamer.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer.pc" ;;
26471     "pkgconfig/gstreamer-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-uninstalled.pc" ;;
26472     "pkgconfig/gstreamer-base.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-base.pc" ;;
26473     "pkgconfig/gstreamer-base-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-base-uninstalled.pc" ;;
26474     "pkgconfig/gstreamer-check.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-check.pc" ;;
26475     "pkgconfig/gstreamer-check-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-check-uninstalled.pc" ;;
26476     "pkgconfig/gstreamer-controller.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-controller.pc" ;;
26477     "pkgconfig/gstreamer-controller-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-controller-uninstalled.pc" ;;
26478     "pkgconfig/gstreamer-dataprotocol.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-dataprotocol.pc" ;;
26479     "pkgconfig/gstreamer-dataprotocol-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-dataprotocol-uninstalled.pc" ;;
26480     "pkgconfig/gstreamer-net.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-net.pc" ;;
26481     "pkgconfig/gstreamer-net-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-net-uninstalled.pc" ;;
26482     "gst-element-check.m4") CONFIG_FILES="$CONFIG_FILES gst-element-check.m4" ;;
26483     "gstreamer.spec") CONFIG_FILES="$CONFIG_FILES gstreamer.spec" ;;
26484
26485   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
26486   esac
26487 done
26488
26489
26490 # If the user did not use the arguments to specify the items to instantiate,
26491 # then the envvar interface is used.  Set only those that are not.
26492 # We use the long form for the default assignment because of an extremely
26493 # bizarre bug on SunOS 4.1.3.
26494 if $ac_need_defaults; then
26495   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26496   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26497   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26498 fi
26499
26500 # Have a temporary directory for convenience.  Make it in the build tree
26501 # simply because there is no reason against having it here, and in addition,
26502 # creating and moving files from /tmp can sometimes cause problems.
26503 # Hook for its removal unless debugging.
26504 # Note that there is a small window in which the directory will not be cleaned:
26505 # after its creation but before its name has been assigned to `$tmp'.
26506 $debug ||
26507 {
26508   tmp=
26509   trap 'exit_status=$?
26510   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26511 ' 0
26512   trap 'as_fn_exit 1' 1 2 13 15
26513 }
26514 # Create a (secure) tmp directory for tmp files.
26515
26516 {
26517   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26518   test -n "$tmp" && test -d "$tmp"
26519 }  ||
26520 {
26521   tmp=./conf$$-$RANDOM
26522   (umask 077 && mkdir "$tmp")
26523 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
26524
26525 # Set up the scripts for CONFIG_FILES section.
26526 # No need to generate them if there are no CONFIG_FILES.
26527 # This happens for instance with `./config.status config.h'.
26528 if test -n "$CONFIG_FILES"; then
26529
26530
26531 ac_cr=`echo X | tr X '\015'`
26532 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26533 # But we know of no other shell where ac_cr would be empty at this
26534 # point, so we can use a bashism as a fallback.
26535 if test "x$ac_cr" = x; then
26536   eval ac_cr=\$\'\\r\'
26537 fi
26538 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26539 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26540   ac_cs_awk_cr='\\r'
26541 else
26542   ac_cs_awk_cr=$ac_cr
26543 fi
26544
26545 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26546 _ACEOF
26547
26548
26549 {
26550   echo "cat >conf$$subs.awk <<_ACEOF" &&
26551   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26552   echo "_ACEOF"
26553 } >conf$$subs.sh ||
26554   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26555 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26556 ac_delim='%!_!# '
26557 for ac_last_try in false false false false false :; do
26558   . ./conf$$subs.sh ||
26559     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26560
26561   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26562   if test $ac_delim_n = $ac_delim_num; then
26563     break
26564   elif $ac_last_try; then
26565     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26566   else
26567     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26568   fi
26569 done
26570 rm -f conf$$subs.sh
26571
26572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26573 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26574 _ACEOF
26575 sed -n '
26576 h
26577 s/^/S["/; s/!.*/"]=/
26578 p
26579 g
26580 s/^[^!]*!//
26581 :repl
26582 t repl
26583 s/'"$ac_delim"'$//
26584 t delim
26585 :nl
26586 h
26587 s/\(.\{148\}\)..*/\1/
26588 t more1
26589 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26590 p
26591 n
26592 b repl
26593 :more1
26594 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26595 p
26596 g
26597 s/.\{148\}//
26598 t nl
26599 :delim
26600 h
26601 s/\(.\{148\}\)..*/\1/
26602 t more2
26603 s/["\\]/\\&/g; s/^/"/; s/$/"/
26604 p
26605 b
26606 :more2
26607 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26608 p
26609 g
26610 s/.\{148\}//
26611 t delim
26612 ' <conf$$subs.awk | sed '
26613 /^[^""]/{
26614   N
26615   s/\n//
26616 }
26617 ' >>$CONFIG_STATUS || ac_write_fail=1
26618 rm -f conf$$subs.awk
26619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26620 _ACAWK
26621 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26622   for (key in S) S_is_set[key] = 1
26623   FS = "\a"
26624
26625 }
26626 {
26627   line = $ 0
26628   nfields = split(line, field, "@")
26629   substed = 0
26630   len = length(field[1])
26631   for (i = 2; i < nfields; i++) {
26632     key = field[i]
26633     keylen = length(key)
26634     if (S_is_set[key]) {
26635       value = S[key]
26636       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26637       len += length(value) + length(field[++i])
26638       substed = 1
26639     } else
26640       len += 1 + keylen
26641   }
26642
26643   print line
26644 }
26645
26646 _ACAWK
26647 _ACEOF
26648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26649 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26650   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26651 else
26652   cat
26653 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26654   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
26655 _ACEOF
26656
26657 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26658 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
26659 # trailing colons and then remove the whole line if VPATH becomes empty
26660 # (actually we leave an empty line to preserve line numbers).
26661 if test "x$srcdir" = x.; then
26662   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
26663 h
26664 s///
26665 s/^/:/
26666 s/[      ]*$/:/
26667 s/:\$(srcdir):/:/g
26668 s/:\${srcdir}:/:/g
26669 s/:@srcdir@:/:/g
26670 s/^:*//
26671 s/:*$//
26672 x
26673 s/\(=[   ]*\).*/\1/
26674 G
26675 s/\n//
26676 s/^[^=]*=[       ]*$//
26677 }'
26678 fi
26679
26680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26681 fi # test -n "$CONFIG_FILES"
26682
26683 # Set up the scripts for CONFIG_HEADERS section.
26684 # No need to generate them if there are no CONFIG_HEADERS.
26685 # This happens for instance with `./config.status Makefile'.
26686 if test -n "$CONFIG_HEADERS"; then
26687 cat >"$tmp/defines.awk" <<\_ACAWK ||
26688 BEGIN {
26689 _ACEOF
26690
26691 # Transform confdefs.h into an awk script `defines.awk', embedded as
26692 # here-document in config.status, that substitutes the proper values into
26693 # config.h.in to produce config.h.
26694
26695 # Create a delimiter string that does not exist in confdefs.h, to ease
26696 # handling of long lines.
26697 ac_delim='%!_!# '
26698 for ac_last_try in false false :; do
26699   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26700   if test -z "$ac_t"; then
26701     break
26702   elif $ac_last_try; then
26703     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
26704   else
26705     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26706   fi
26707 done
26708
26709 # For the awk script, D is an array of macro values keyed by name,
26710 # likewise P contains macro parameters if any.  Preserve backslash
26711 # newline sequences.
26712
26713 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26714 sed -n '
26715 s/.\{148\}/&'"$ac_delim"'/g
26716 t rset
26717 :rset
26718 s/^[     ]*#[    ]*define[       ][      ]*/ /
26719 t def
26720 d
26721 :def
26722 s/\\$//
26723 t bsnl
26724 s/["\\]/\\&/g
26725 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26726 D["\1"]=" \3"/p
26727 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
26728 d
26729 :bsnl
26730 s/["\\]/\\&/g
26731 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26732 D["\1"]=" \3\\\\\\n"\\/p
26733 t cont
26734 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26735 t cont
26736 d
26737 :cont
26738 n
26739 s/.\{148\}/&'"$ac_delim"'/g
26740 t clear
26741 :clear
26742 s/\\$//
26743 t bsnlc
26744 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26745 d
26746 :bsnlc
26747 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26748 b cont
26749 ' <confdefs.h | sed '
26750 s/'"$ac_delim"'/"\\\
26751 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26752
26753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26754   for (key in D) D_is_set[key] = 1
26755   FS = "\a"
26756 }
26757 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26758   line = \$ 0
26759   split(line, arg, " ")
26760   if (arg[1] == "#") {
26761     defundef = arg[2]
26762     mac1 = arg[3]
26763   } else {
26764     defundef = substr(arg[1], 2)
26765     mac1 = arg[2]
26766   }
26767   split(mac1, mac2, "(") #)
26768   macro = mac2[1]
26769   prefix = substr(line, 1, index(line, defundef) - 1)
26770   if (D_is_set[macro]) {
26771     # Preserve the white space surrounding the "#".
26772     print prefix "define", macro P[macro] D[macro]
26773     next
26774   } else {
26775     # Replace #undef with comments.  This is necessary, for example,
26776     # in the case of _POSIX_SOURCE, which is predefined and required
26777     # on some systems where configure will not decide to define it.
26778     if (defundef == "undef") {
26779       print "/*", prefix defundef, macro, "*/"
26780       next
26781     }
26782   }
26783 }
26784 { print }
26785 _ACAWK
26786 _ACEOF
26787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26788   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
26789 fi # test -n "$CONFIG_HEADERS"
26790
26791
26792 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26793 shift
26794 for ac_tag
26795 do
26796   case $ac_tag in
26797   :[FHLC]) ac_mode=$ac_tag; continue;;
26798   esac
26799   case $ac_mode$ac_tag in
26800   :[FHL]*:*);;
26801   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
26802   :[FH]-) ac_tag=-:-;;
26803   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26804   esac
26805   ac_save_IFS=$IFS
26806   IFS=:
26807   set x $ac_tag
26808   IFS=$ac_save_IFS
26809   shift
26810   ac_file=$1
26811   shift
26812
26813   case $ac_mode in
26814   :L) ac_source=$1;;
26815   :[FH])
26816     ac_file_inputs=
26817     for ac_f
26818     do
26819       case $ac_f in
26820       -) ac_f="$tmp/stdin";;
26821       *) # Look for the file first in the build tree, then in the source tree
26822          # (if the path is not absolute).  The absolute path cannot be DOS-style,
26823          # because $ac_f cannot contain `:'.
26824          test -f "$ac_f" ||
26825            case $ac_f in
26826            [\\/$]*) false;;
26827            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26828            esac ||
26829            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
26830       esac
26831       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26832       as_fn_append ac_file_inputs " '$ac_f'"
26833     done
26834
26835     # Let's still pretend it is `configure' which instantiates (i.e., don't
26836     # use $as_me), people would be surprised to read:
26837     #    /* config.h.  Generated by config.status.  */
26838     configure_input='Generated from '`
26839           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26840         `' by configure.'
26841     if test x"$ac_file" != x-; then
26842       configure_input="$ac_file.  $configure_input"
26843       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26844 $as_echo "$as_me: creating $ac_file" >&6;}
26845     fi
26846     # Neutralize special characters interpreted by sed in replacement strings.
26847     case $configure_input in #(
26848     *\&* | *\|* | *\\* )
26849        ac_sed_conf_input=`$as_echo "$configure_input" |
26850        sed 's/[\\\\&|]/\\\\&/g'`;; #(
26851     *) ac_sed_conf_input=$configure_input;;
26852     esac
26853
26854     case $ac_tag in
26855     *:-:* | *:-) cat >"$tmp/stdin" \
26856       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
26857     esac
26858     ;;
26859   esac
26860
26861   ac_dir=`$as_dirname -- "$ac_file" ||
26862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26863          X"$ac_file" : 'X\(//\)[^/]' \| \
26864          X"$ac_file" : 'X\(//\)$' \| \
26865          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26866 $as_echo X"$ac_file" |
26867     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26868             s//\1/
26869             q
26870           }
26871           /^X\(\/\/\)[^/].*/{
26872             s//\1/
26873             q
26874           }
26875           /^X\(\/\/\)$/{
26876             s//\1/
26877             q
26878           }
26879           /^X\(\/\).*/{
26880             s//\1/
26881             q
26882           }
26883           s/.*/./; q'`
26884   as_dir="$ac_dir"; as_fn_mkdir_p
26885   ac_builddir=.
26886
26887 case "$ac_dir" in
26888 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26889 *)
26890   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26891   # A ".." for each directory in $ac_dir_suffix.
26892   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26893   case $ac_top_builddir_sub in
26894   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26895   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26896   esac ;;
26897 esac
26898 ac_abs_top_builddir=$ac_pwd
26899 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26900 # for backward compatibility:
26901 ac_top_builddir=$ac_top_build_prefix
26902
26903 case $srcdir in
26904   .)  # We are building in place.
26905     ac_srcdir=.
26906     ac_top_srcdir=$ac_top_builddir_sub
26907     ac_abs_top_srcdir=$ac_pwd ;;
26908   [\\/]* | ?:[\\/]* )  # Absolute name.
26909     ac_srcdir=$srcdir$ac_dir_suffix;
26910     ac_top_srcdir=$srcdir
26911     ac_abs_top_srcdir=$srcdir ;;
26912   *) # Relative name.
26913     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26914     ac_top_srcdir=$ac_top_build_prefix$srcdir
26915     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26916 esac
26917 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26918
26919
26920   case $ac_mode in
26921   :F)
26922   #
26923   # CONFIG_FILE
26924   #
26925
26926   case $INSTALL in
26927   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26928   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26929   esac
26930   ac_MKDIR_P=$MKDIR_P
26931   case $MKDIR_P in
26932   [\\/$]* | ?:[\\/]* ) ;;
26933   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26934   esac
26935 _ACEOF
26936
26937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26938 # If the template does not know about datarootdir, expand it.
26939 # FIXME: This hack should be removed a few years after 2.60.
26940 ac_datarootdir_hack=; ac_datarootdir_seen=
26941 ac_sed_dataroot='
26942 /datarootdir/ {
26943   p
26944   q
26945 }
26946 /@datadir@/p
26947 /@docdir@/p
26948 /@infodir@/p
26949 /@localedir@/p
26950 /@mandir@/p'
26951 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26952 *datarootdir*) ac_datarootdir_seen=yes;;
26953 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26954   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26955 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26956 _ACEOF
26957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26958   ac_datarootdir_hack='
26959   s&@datadir@&$datadir&g
26960   s&@docdir@&$docdir&g
26961   s&@infodir@&$infodir&g
26962   s&@localedir@&$localedir&g
26963   s&@mandir@&$mandir&g
26964   s&\\\${datarootdir}&$datarootdir&g' ;;
26965 esac
26966 _ACEOF
26967
26968 # Neutralize VPATH when `$srcdir' = `.'.
26969 # Shell code in configure.ac might set extrasub.
26970 # FIXME: do we really want to maintain this feature?
26971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26972 ac_sed_extra="$ac_vpsub
26973 $extrasub
26974 _ACEOF
26975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26976 :t
26977 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26978 s|@configure_input@|$ac_sed_conf_input|;t t
26979 s&@top_builddir@&$ac_top_builddir_sub&;t t
26980 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26981 s&@srcdir@&$ac_srcdir&;t t
26982 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26983 s&@top_srcdir@&$ac_top_srcdir&;t t
26984 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26985 s&@builddir@&$ac_builddir&;t t
26986 s&@abs_builddir@&$ac_abs_builddir&;t t
26987 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26988 s&@INSTALL@&$ac_INSTALL&;t t
26989 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26990 $ac_datarootdir_hack
26991 "
26992 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26993   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26994
26995 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26996   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26997   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26998   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26999 which seems to be undefined.  Please make sure it is defined" >&5
27000 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27001 which seems to be undefined.  Please make sure it is defined" >&2;}
27002
27003   rm -f "$tmp/stdin"
27004   case $ac_file in
27005   -) cat "$tmp/out" && rm -f "$tmp/out";;
27006   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27007   esac \
27008   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27009  ;;
27010   :H)
27011   #
27012   # CONFIG_HEADER
27013   #
27014   if test x"$ac_file" != x-; then
27015     {
27016       $as_echo "/* $configure_input  */" \
27017       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27018     } >"$tmp/config.h" \
27019       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27020     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27021       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27022 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27023     else
27024       rm -f "$ac_file"
27025       mv "$tmp/config.h" "$ac_file" \
27026         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27027     fi
27028   else
27029     $as_echo "/* $configure_input  */" \
27030       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27031       || as_fn_error $? "could not create -" "$LINENO" 5
27032   fi
27033 # Compute "$ac_file"'s index in $config_headers.
27034 _am_arg="$ac_file"
27035 _am_stamp_count=1
27036 for _am_header in $config_headers :; do
27037   case $_am_header in
27038     $_am_arg | $_am_arg:* )
27039       break ;;
27040     * )
27041       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27042   esac
27043 done
27044 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27045 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27046          X"$_am_arg" : 'X\(//\)[^/]' \| \
27047          X"$_am_arg" : 'X\(//\)$' \| \
27048          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27049 $as_echo X"$_am_arg" |
27050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27051             s//\1/
27052             q
27053           }
27054           /^X\(\/\/\)[^/].*/{
27055             s//\1/
27056             q
27057           }
27058           /^X\(\/\/\)$/{
27059             s//\1/
27060             q
27061           }
27062           /^X\(\/\).*/{
27063             s//\1/
27064             q
27065           }
27066           s/.*/./; q'`/stamp-h$_am_stamp_count
27067  ;;
27068
27069   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27070 $as_echo "$as_me: executing $ac_file commands" >&6;}
27071  ;;
27072   esac
27073
27074
27075   case $ac_file$ac_mode in
27076     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27077   # Autoconf 2.62 quotes --file arguments for eval, but not when files
27078   # are listed without --file.  Let's play safe and only enable the eval
27079   # if we detect the quoting.
27080   case $CONFIG_FILES in
27081   *\'*) eval set x "$CONFIG_FILES" ;;
27082   *)   set x $CONFIG_FILES ;;
27083   esac
27084   shift
27085   for mf
27086   do
27087     # Strip MF so we end up with the name of the file.
27088     mf=`echo "$mf" | sed -e 's/:.*$//'`
27089     # Check whether this is an Automake generated Makefile or not.
27090     # We used to match only the files named `Makefile.in', but
27091     # some people rename them; so instead we look at the file content.
27092     # Grep'ing the first line is not enough: some people post-process
27093     # each Makefile.in and add a new line on top of each file to say so.
27094     # Grep'ing the whole file is not good either: AIX grep has a line
27095     # limit of 2048, but all sed's we know have understand at least 4000.
27096     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27097       dirpart=`$as_dirname -- "$mf" ||
27098 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27099          X"$mf" : 'X\(//\)[^/]' \| \
27100          X"$mf" : 'X\(//\)$' \| \
27101          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27102 $as_echo X"$mf" |
27103     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27104             s//\1/
27105             q
27106           }
27107           /^X\(\/\/\)[^/].*/{
27108             s//\1/
27109             q
27110           }
27111           /^X\(\/\/\)$/{
27112             s//\1/
27113             q
27114           }
27115           /^X\(\/\).*/{
27116             s//\1/
27117             q
27118           }
27119           s/.*/./; q'`
27120     else
27121       continue
27122     fi
27123     # Extract the definition of DEPDIR, am__include, and am__quote
27124     # from the Makefile without running `make'.
27125     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27126     test -z "$DEPDIR" && continue
27127     am__include=`sed -n 's/^am__include = //p' < "$mf"`
27128     test -z "am__include" && continue
27129     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27130     # When using ansi2knr, U may be empty or an underscore; expand it
27131     U=`sed -n 's/^U = //p' < "$mf"`
27132     # Find all dependency output files, they are included files with
27133     # $(DEPDIR) in their names.  We invoke sed twice because it is the
27134     # simplest approach to changing $(DEPDIR) to its actual value in the
27135     # expansion.
27136     for file in `sed -n "
27137       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27138          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27139       # Make sure the directory exists.
27140       test -f "$dirpart/$file" && continue
27141       fdir=`$as_dirname -- "$file" ||
27142 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27143          X"$file" : 'X\(//\)[^/]' \| \
27144          X"$file" : 'X\(//\)$' \| \
27145          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27146 $as_echo X"$file" |
27147     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27148             s//\1/
27149             q
27150           }
27151           /^X\(\/\/\)[^/].*/{
27152             s//\1/
27153             q
27154           }
27155           /^X\(\/\/\)$/{
27156             s//\1/
27157             q
27158           }
27159           /^X\(\/\).*/{
27160             s//\1/
27161             q
27162           }
27163           s/.*/./; q'`
27164       as_dir=$dirpart/$fdir; as_fn_mkdir_p
27165       # echo "creating $dirpart/$file"
27166       echo '# dummy' > "$dirpart/$file"
27167     done
27168   done
27169 }
27170  ;;
27171     "libtool":C)
27172
27173     # See if we are running on zsh, and set the options which allow our
27174     # commands through without removal of \ escapes.
27175     if test -n "${ZSH_VERSION+set}" ; then
27176       setopt NO_GLOB_SUBST
27177     fi
27178
27179     cfgfile="${ofile}T"
27180     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27181     $RM "$cfgfile"
27182
27183     cat <<_LT_EOF >> "$cfgfile"
27184 #! $SHELL
27185
27186 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27187 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27188 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27189 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27190 #
27191 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27192 #                 2006, 2007, 2008 Free Software Foundation, Inc.
27193 #   Written by Gordon Matzigkeit, 1996
27194 #
27195 #   This file is part of GNU Libtool.
27196 #
27197 # GNU Libtool is free software; you can redistribute it and/or
27198 # modify it under the terms of the GNU General Public License as
27199 # published by the Free Software Foundation; either version 2 of
27200 # the License, or (at your option) any later version.
27201 #
27202 # As a special exception to the GNU General Public License,
27203 # if you distribute this file as part of a program or library that
27204 # is built using GNU Libtool, you may include this file under the
27205 # same distribution terms that you use for the rest of that program.
27206 #
27207 # GNU Libtool is distributed in the hope that it will be useful,
27208 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27209 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27210 # GNU General Public License for more details.
27211 #
27212 # You should have received a copy of the GNU General Public License
27213 # along with GNU Libtool; see the file COPYING.  If not, a copy
27214 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27215 # obtained by writing to the Free Software Foundation, Inc.,
27216 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27217
27218
27219 # The names of the tagged configurations supported by this script.
27220 available_tags="CXX "
27221
27222 # ### BEGIN LIBTOOL CONFIG
27223
27224 # Assembler program.
27225 AS=$AS
27226
27227 # DLL creation program.
27228 DLLTOOL=$DLLTOOL
27229
27230 # Object dumper program.
27231 OBJDUMP=$OBJDUMP
27232
27233 # Which release of libtool.m4 was used?
27234 macro_version=$macro_version
27235 macro_revision=$macro_revision
27236
27237 # Whether or not to build shared libraries.
27238 build_libtool_libs=$enable_shared
27239
27240 # Whether or not to build static libraries.
27241 build_old_libs=$enable_static
27242
27243 # What type of objects to build.
27244 pic_mode=$pic_mode
27245
27246 # Whether or not to optimize for fast installation.
27247 fast_install=$enable_fast_install
27248
27249 # The host system.
27250 host_alias=$host_alias
27251 host=$host
27252 host_os=$host_os
27253
27254 # The build system.
27255 build_alias=$build_alias
27256 build=$build
27257 build_os=$build_os
27258
27259 # A sed program that does not truncate output.
27260 SED=$lt_SED
27261
27262 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27263 Xsed="\$SED -e 1s/^X//"
27264
27265 # A grep program that handles long lines.
27266 GREP=$lt_GREP
27267
27268 # An ERE matcher.
27269 EGREP=$lt_EGREP
27270
27271 # A literal string matcher.
27272 FGREP=$lt_FGREP
27273
27274 # A BSD- or MS-compatible name lister.
27275 NM=$lt_NM
27276
27277 # Whether we need soft or hard links.
27278 LN_S=$lt_LN_S
27279
27280 # What is the maximum length of a command?
27281 max_cmd_len=$max_cmd_len
27282
27283 # Object file suffix (normally "o").
27284 objext=$ac_objext
27285
27286 # Executable file suffix (normally "").
27287 exeext=$exeext
27288
27289 # whether the shell understands "unset".
27290 lt_unset=$lt_unset
27291
27292 # turn spaces into newlines.
27293 SP2NL=$lt_lt_SP2NL
27294
27295 # turn newlines into spaces.
27296 NL2SP=$lt_lt_NL2SP
27297
27298 # How to create reloadable object files.
27299 reload_flag=$lt_reload_flag
27300 reload_cmds=$lt_reload_cmds
27301
27302 # Method to check whether dependent libraries are shared objects.
27303 deplibs_check_method=$lt_deplibs_check_method
27304
27305 # Command to use when deplibs_check_method == "file_magic".
27306 file_magic_cmd=$lt_file_magic_cmd
27307
27308 # The archiver.
27309 AR=$lt_AR
27310 AR_FLAGS=$lt_AR_FLAGS
27311
27312 # A symbol stripping program.
27313 STRIP=$lt_STRIP
27314
27315 # Commands used to install an old-style archive.
27316 RANLIB=$lt_RANLIB
27317 old_postinstall_cmds=$lt_old_postinstall_cmds
27318 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27319
27320 # A C compiler.
27321 LTCC=$lt_CC
27322
27323 # LTCC compiler flags.
27324 LTCFLAGS=$lt_CFLAGS
27325
27326 # Take the output of nm and produce a listing of raw symbols and C names.
27327 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27328
27329 # Transform the output of nm in a proper C declaration.
27330 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27331
27332 # Transform the output of nm in a C name address pair.
27333 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27334
27335 # Transform the output of nm in a C name address pair when lib prefix is needed.
27336 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27337
27338 # The name of the directory that contains temporary libtool files.
27339 objdir=$objdir
27340
27341 # Shell to use when invoking shell scripts.
27342 SHELL=$lt_SHELL
27343
27344 # An echo program that does not interpret backslashes.
27345 ECHO=$lt_ECHO
27346
27347 # Used to examine libraries when file_magic_cmd begins with "file".
27348 MAGIC_CMD=$MAGIC_CMD
27349
27350 # Must we lock files when doing compilation?
27351 need_locks=$lt_need_locks
27352
27353 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27354 DSYMUTIL=$lt_DSYMUTIL
27355
27356 # Tool to change global to local symbols on Mac OS X.
27357 NMEDIT=$lt_NMEDIT
27358
27359 # Tool to manipulate fat objects and archives on Mac OS X.
27360 LIPO=$lt_LIPO
27361
27362 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27363 OTOOL=$lt_OTOOL
27364
27365 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27366 OTOOL64=$lt_OTOOL64
27367
27368 # Old archive suffix (normally "a").
27369 libext=$libext
27370
27371 # Shared library suffix (normally ".so").
27372 shrext_cmds=$lt_shrext_cmds
27373
27374 # The commands to extract the exported symbol list from a shared archive.
27375 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27376
27377 # Variables whose values should be saved in libtool wrapper scripts and
27378 # restored at link time.
27379 variables_saved_for_relink=$lt_variables_saved_for_relink
27380
27381 # Do we need the "lib" prefix for modules?
27382 need_lib_prefix=$need_lib_prefix
27383
27384 # Do we need a version for libraries?
27385 need_version=$need_version
27386
27387 # Library versioning type.
27388 version_type=$version_type
27389
27390 # Shared library runtime path variable.
27391 runpath_var=$runpath_var
27392
27393 # Shared library path variable.
27394 shlibpath_var=$shlibpath_var
27395
27396 # Is shlibpath searched before the hard-coded library search path?
27397 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27398
27399 # Format of library name prefix.
27400 libname_spec=$lt_libname_spec
27401
27402 # List of archive names.  First name is the real one, the rest are links.
27403 # The last name is the one that the linker finds with -lNAME
27404 library_names_spec=$lt_library_names_spec
27405
27406 # The coded name of the library, if different from the real name.
27407 soname_spec=$lt_soname_spec
27408
27409 # Command to use after installation of a shared archive.
27410 postinstall_cmds=$lt_postinstall_cmds
27411
27412 # Command to use after uninstallation of a shared archive.
27413 postuninstall_cmds=$lt_postuninstall_cmds
27414
27415 # Commands used to finish a libtool library installation in a directory.
27416 finish_cmds=$lt_finish_cmds
27417
27418 # As "finish_cmds", except a single script fragment to be evaled but
27419 # not shown.
27420 finish_eval=$lt_finish_eval
27421
27422 # Whether we should hardcode library paths into libraries.
27423 hardcode_into_libs=$hardcode_into_libs
27424
27425 # Compile-time system search path for libraries.
27426 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27427
27428 # Run-time system search path for libraries.
27429 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27430
27431 # Whether dlopen is supported.
27432 dlopen_support=$enable_dlopen
27433
27434 # Whether dlopen of programs is supported.
27435 dlopen_self=$enable_dlopen_self
27436
27437 # Whether dlopen of statically linked programs is supported.
27438 dlopen_self_static=$enable_dlopen_self_static
27439
27440 # Commands to strip libraries.
27441 old_striplib=$lt_old_striplib
27442 striplib=$lt_striplib
27443
27444
27445 # The linker used to build libraries.
27446 LD=$lt_LD
27447
27448 # Commands used to build an old-style archive.
27449 old_archive_cmds=$lt_old_archive_cmds
27450
27451 # A language specific compiler.
27452 CC=$lt_compiler
27453
27454 # Is the compiler the GNU compiler?
27455 with_gcc=$GCC
27456
27457 # Compiler flag to turn off builtin functions.
27458 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27459
27460 # How to pass a linker flag through the compiler.
27461 wl=$lt_lt_prog_compiler_wl
27462
27463 # Additional compiler flags for building library objects.
27464 pic_flag=$lt_lt_prog_compiler_pic
27465
27466 # Compiler flag to prevent dynamic linking.
27467 link_static_flag=$lt_lt_prog_compiler_static
27468
27469 # Does compiler simultaneously support -c and -o options?
27470 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27471
27472 # Whether or not to add -lc for building shared libraries.
27473 build_libtool_need_lc=$archive_cmds_need_lc
27474
27475 # Whether or not to disallow shared libs when runtime libs are static.
27476 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27477
27478 # Compiler flag to allow reflexive dlopens.
27479 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27480
27481 # Compiler flag to generate shared objects directly from archives.
27482 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27483
27484 # Whether the compiler copes with passing no objects directly.
27485 compiler_needs_object=$lt_compiler_needs_object
27486
27487 # Create an old-style archive from a shared archive.
27488 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27489
27490 # Create a temporary old-style archive to link instead of a shared archive.
27491 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27492
27493 # Commands used to build a shared archive.
27494 archive_cmds=$lt_archive_cmds
27495 archive_expsym_cmds=$lt_archive_expsym_cmds
27496
27497 # Commands used to build a loadable module if different from building
27498 # a shared archive.
27499 module_cmds=$lt_module_cmds
27500 module_expsym_cmds=$lt_module_expsym_cmds
27501
27502 # Whether we are building with GNU ld or not.
27503 with_gnu_ld=$lt_with_gnu_ld
27504
27505 # Flag that allows shared libraries with undefined symbols to be built.
27506 allow_undefined_flag=$lt_allow_undefined_flag
27507
27508 # Flag that enforces no undefined symbols.
27509 no_undefined_flag=$lt_no_undefined_flag
27510
27511 # Flag to hardcode \$libdir into a binary during linking.
27512 # This must work even if \$libdir does not exist
27513 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27514
27515 # If ld is used when linking, flag to hardcode \$libdir into a binary
27516 # during linking.  This must work even if \$libdir does not exist.
27517 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27518
27519 # Whether we need a single "-rpath" flag with a separated argument.
27520 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27521
27522 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27523 # DIR into the resulting binary.
27524 hardcode_direct=$hardcode_direct
27525
27526 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27527 # DIR into the resulting binary and the resulting library dependency is
27528 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27529 # library is relocated.
27530 hardcode_direct_absolute=$hardcode_direct_absolute
27531
27532 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27533 # into the resulting binary.
27534 hardcode_minus_L=$hardcode_minus_L
27535
27536 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27537 # into the resulting binary.
27538 hardcode_shlibpath_var=$hardcode_shlibpath_var
27539
27540 # Set to "yes" if building a shared library automatically hardcodes DIR
27541 # into the library and all subsequent libraries and executables linked
27542 # against it.
27543 hardcode_automatic=$hardcode_automatic
27544
27545 # Set to yes if linker adds runtime paths of dependent libraries
27546 # to runtime path list.
27547 inherit_rpath=$inherit_rpath
27548
27549 # Whether libtool must link a program against all its dependency libraries.
27550 link_all_deplibs=$link_all_deplibs
27551
27552 # Fix the shell variable \$srcfile for the compiler.
27553 fix_srcfile_path=$lt_fix_srcfile_path
27554
27555 # Set to "yes" if exported symbols are required.
27556 always_export_symbols=$always_export_symbols
27557
27558 # The commands to list exported symbols.
27559 export_symbols_cmds=$lt_export_symbols_cmds
27560
27561 # Symbols that should not be listed in the preloaded symbols.
27562 exclude_expsyms=$lt_exclude_expsyms
27563
27564 # Symbols that must always be exported.
27565 include_expsyms=$lt_include_expsyms
27566
27567 # Commands necessary for linking programs (against libraries) with templates.
27568 prelink_cmds=$lt_prelink_cmds
27569
27570 # Specify filename containing input files.
27571 file_list_spec=$lt_file_list_spec
27572
27573 # How to hardcode a shared library path into an executable.
27574 hardcode_action=$hardcode_action
27575
27576 # The directories searched by this compiler when creating a shared library.
27577 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27578
27579 # Dependencies to place before and after the objects being linked to
27580 # create a shared library.
27581 predep_objects=$lt_predep_objects
27582 postdep_objects=$lt_postdep_objects
27583 predeps=$lt_predeps
27584 postdeps=$lt_postdeps
27585
27586 # The library search path used internally by the compiler when linking
27587 # a shared library.
27588 compiler_lib_search_path=$lt_compiler_lib_search_path
27589
27590 # ### END LIBTOOL CONFIG
27591
27592 _LT_EOF
27593
27594   case $host_os in
27595   aix3*)
27596     cat <<\_LT_EOF >> "$cfgfile"
27597 # AIX sometimes has problems with the GCC collect2 program.  For some
27598 # reason, if we set the COLLECT_NAMES environment variable, the problems
27599 # vanish in a puff of smoke.
27600 if test "X${COLLECT_NAMES+set}" != Xset; then
27601   COLLECT_NAMES=
27602   export COLLECT_NAMES
27603 fi
27604 _LT_EOF
27605     ;;
27606   esac
27607
27608
27609 ltmain="$ac_aux_dir/ltmain.sh"
27610
27611
27612   # We use sed instead of cat because bash on DJGPP gets confused if
27613   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
27614   # text mode, it properly converts lines to CR/LF.  This bash problem
27615   # is reportedly fixed, but why not run on old versions too?
27616   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27617     || (rm -f "$cfgfile"; exit 1)
27618
27619   case $xsi_shell in
27620   yes)
27621     cat << \_LT_EOF >> "$cfgfile"
27622
27623 # func_dirname file append nondir_replacement
27624 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27625 # otherwise set result to NONDIR_REPLACEMENT.
27626 func_dirname ()
27627 {
27628   case ${1} in
27629     */*) func_dirname_result="${1%/*}${2}" ;;
27630     *  ) func_dirname_result="${3}" ;;
27631   esac
27632 }
27633
27634 # func_basename file
27635 func_basename ()
27636 {
27637   func_basename_result="${1##*/}"
27638 }
27639
27640 # func_dirname_and_basename file append nondir_replacement
27641 # perform func_basename and func_dirname in a single function
27642 # call:
27643 #   dirname:  Compute the dirname of FILE.  If nonempty,
27644 #             add APPEND to the result, otherwise set result
27645 #             to NONDIR_REPLACEMENT.
27646 #             value returned in "$func_dirname_result"
27647 #   basename: Compute filename of FILE.
27648 #             value retuned in "$func_basename_result"
27649 # Implementation must be kept synchronized with func_dirname
27650 # and func_basename. For efficiency, we do not delegate to
27651 # those functions but instead duplicate the functionality here.
27652 func_dirname_and_basename ()
27653 {
27654   case ${1} in
27655     */*) func_dirname_result="${1%/*}${2}" ;;
27656     *  ) func_dirname_result="${3}" ;;
27657   esac
27658   func_basename_result="${1##*/}"
27659 }
27660
27661 # func_stripname prefix suffix name
27662 # strip PREFIX and SUFFIX off of NAME.
27663 # PREFIX and SUFFIX must not contain globbing or regex special
27664 # characters, hashes, percent signs, but SUFFIX may contain a leading
27665 # dot (in which case that matches only a dot).
27666 func_stripname ()
27667 {
27668   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27669   # positional parameters, so assign one to ordinary parameter first.
27670   func_stripname_result=${3}
27671   func_stripname_result=${func_stripname_result#"${1}"}
27672   func_stripname_result=${func_stripname_result%"${2}"}
27673 }
27674
27675 # func_opt_split
27676 func_opt_split ()
27677 {
27678   func_opt_split_opt=${1%%=*}
27679   func_opt_split_arg=${1#*=}
27680 }
27681
27682 # func_lo2o object
27683 func_lo2o ()
27684 {
27685   case ${1} in
27686     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27687     *)    func_lo2o_result=${1} ;;
27688   esac
27689 }
27690
27691 # func_xform libobj-or-source
27692 func_xform ()
27693 {
27694   func_xform_result=${1%.*}.lo
27695 }
27696
27697 # func_arith arithmetic-term...
27698 func_arith ()
27699 {
27700   func_arith_result=$(( $* ))
27701 }
27702
27703 # func_len string
27704 # STRING may not start with a hyphen.
27705 func_len ()
27706 {
27707   func_len_result=${#1}
27708 }
27709
27710 _LT_EOF
27711     ;;
27712   *) # Bourne compatible functions.
27713     cat << \_LT_EOF >> "$cfgfile"
27714
27715 # func_dirname file append nondir_replacement
27716 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27717 # otherwise set result to NONDIR_REPLACEMENT.
27718 func_dirname ()
27719 {
27720   # Extract subdirectory from the argument.
27721   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
27722   if test "X$func_dirname_result" = "X${1}"; then
27723     func_dirname_result="${3}"
27724   else
27725     func_dirname_result="$func_dirname_result${2}"
27726   fi
27727 }
27728
27729 # func_basename file
27730 func_basename ()
27731 {
27732   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
27733 }
27734
27735
27736 # func_stripname prefix suffix name
27737 # strip PREFIX and SUFFIX off of NAME.
27738 # PREFIX and SUFFIX must not contain globbing or regex special
27739 # characters, hashes, percent signs, but SUFFIX may contain a leading
27740 # dot (in which case that matches only a dot).
27741 # func_strip_suffix prefix name
27742 func_stripname ()
27743 {
27744   case ${2} in
27745     .*) func_stripname_result=`$ECHO "X${3}" \
27746            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
27747     *)  func_stripname_result=`$ECHO "X${3}" \
27748            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
27749   esac
27750 }
27751
27752 # sed scripts:
27753 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27754 my_sed_long_arg='1s/^-[^=]*=//'
27755
27756 # func_opt_split
27757 func_opt_split ()
27758 {
27759   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
27760   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
27761 }
27762
27763 # func_lo2o object
27764 func_lo2o ()
27765 {
27766   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
27767 }
27768
27769 # func_xform libobj-or-source
27770 func_xform ()
27771 {
27772   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
27773 }
27774
27775 # func_arith arithmetic-term...
27776 func_arith ()
27777 {
27778   func_arith_result=`expr "$@"`
27779 }
27780
27781 # func_len string
27782 # STRING may not start with a hyphen.
27783 func_len ()
27784 {
27785   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27786 }
27787
27788 _LT_EOF
27789 esac
27790
27791 case $lt_shell_append in
27792   yes)
27793     cat << \_LT_EOF >> "$cfgfile"
27794
27795 # func_append var value
27796 # Append VALUE to the end of shell variable VAR.
27797 func_append ()
27798 {
27799   eval "$1+=\$2"
27800 }
27801 _LT_EOF
27802     ;;
27803   *)
27804     cat << \_LT_EOF >> "$cfgfile"
27805
27806 # func_append var value
27807 # Append VALUE to the end of shell variable VAR.
27808 func_append ()
27809 {
27810   eval "$1=\$$1\$2"
27811 }
27812
27813 _LT_EOF
27814     ;;
27815   esac
27816
27817
27818   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27819     || (rm -f "$cfgfile"; exit 1)
27820
27821   mv -f "$cfgfile" "$ofile" ||
27822     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27823   chmod +x "$ofile"
27824
27825
27826     cat <<_LT_EOF >> "$ofile"
27827
27828 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27829
27830 # The linker used to build libraries.
27831 LD=$lt_LD_CXX
27832
27833 # Commands used to build an old-style archive.
27834 old_archive_cmds=$lt_old_archive_cmds_CXX
27835
27836 # A language specific compiler.
27837 CC=$lt_compiler_CXX
27838
27839 # Is the compiler the GNU compiler?
27840 with_gcc=$GCC_CXX
27841
27842 # Compiler flag to turn off builtin functions.
27843 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27844
27845 # How to pass a linker flag through the compiler.
27846 wl=$lt_lt_prog_compiler_wl_CXX
27847
27848 # Additional compiler flags for building library objects.
27849 pic_flag=$lt_lt_prog_compiler_pic_CXX
27850
27851 # Compiler flag to prevent dynamic linking.
27852 link_static_flag=$lt_lt_prog_compiler_static_CXX
27853
27854 # Does compiler simultaneously support -c and -o options?
27855 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27856
27857 # Whether or not to add -lc for building shared libraries.
27858 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27859
27860 # Whether or not to disallow shared libs when runtime libs are static.
27861 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27862
27863 # Compiler flag to allow reflexive dlopens.
27864 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27865
27866 # Compiler flag to generate shared objects directly from archives.
27867 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27868
27869 # Whether the compiler copes with passing no objects directly.
27870 compiler_needs_object=$lt_compiler_needs_object_CXX
27871
27872 # Create an old-style archive from a shared archive.
27873 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27874
27875 # Create a temporary old-style archive to link instead of a shared archive.
27876 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27877
27878 # Commands used to build a shared archive.
27879 archive_cmds=$lt_archive_cmds_CXX
27880 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27881
27882 # Commands used to build a loadable module if different from building
27883 # a shared archive.
27884 module_cmds=$lt_module_cmds_CXX
27885 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27886
27887 # Whether we are building with GNU ld or not.
27888 with_gnu_ld=$lt_with_gnu_ld_CXX
27889
27890 # Flag that allows shared libraries with undefined symbols to be built.
27891 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27892
27893 # Flag that enforces no undefined symbols.
27894 no_undefined_flag=$lt_no_undefined_flag_CXX
27895
27896 # Flag to hardcode \$libdir into a binary during linking.
27897 # This must work even if \$libdir does not exist
27898 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27899
27900 # If ld is used when linking, flag to hardcode \$libdir into a binary
27901 # during linking.  This must work even if \$libdir does not exist.
27902 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27903
27904 # Whether we need a single "-rpath" flag with a separated argument.
27905 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27906
27907 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27908 # DIR into the resulting binary.
27909 hardcode_direct=$hardcode_direct_CXX
27910
27911 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27912 # DIR into the resulting binary and the resulting library dependency is
27913 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27914 # library is relocated.
27915 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27916
27917 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27918 # into the resulting binary.
27919 hardcode_minus_L=$hardcode_minus_L_CXX
27920
27921 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27922 # into the resulting binary.
27923 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27924
27925 # Set to "yes" if building a shared library automatically hardcodes DIR
27926 # into the library and all subsequent libraries and executables linked
27927 # against it.
27928 hardcode_automatic=$hardcode_automatic_CXX
27929
27930 # Set to yes if linker adds runtime paths of dependent libraries
27931 # to runtime path list.
27932 inherit_rpath=$inherit_rpath_CXX
27933
27934 # Whether libtool must link a program against all its dependency libraries.
27935 link_all_deplibs=$link_all_deplibs_CXX
27936
27937 # Fix the shell variable \$srcfile for the compiler.
27938 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27939
27940 # Set to "yes" if exported symbols are required.
27941 always_export_symbols=$always_export_symbols_CXX
27942
27943 # The commands to list exported symbols.
27944 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27945
27946 # Symbols that should not be listed in the preloaded symbols.
27947 exclude_expsyms=$lt_exclude_expsyms_CXX
27948
27949 # Symbols that must always be exported.
27950 include_expsyms=$lt_include_expsyms_CXX
27951
27952 # Commands necessary for linking programs (against libraries) with templates.
27953 prelink_cmds=$lt_prelink_cmds_CXX
27954
27955 # Specify filename containing input files.
27956 file_list_spec=$lt_file_list_spec_CXX
27957
27958 # How to hardcode a shared library path into an executable.
27959 hardcode_action=$hardcode_action_CXX
27960
27961 # The directories searched by this compiler when creating a shared library.
27962 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27963
27964 # Dependencies to place before and after the objects being linked to
27965 # create a shared library.
27966 predep_objects=$lt_predep_objects_CXX
27967 postdep_objects=$lt_postdep_objects_CXX
27968 predeps=$lt_predeps_CXX
27969 postdeps=$lt_postdeps_CXX
27970
27971 # The library search path used internally by the compiler when linking
27972 # a shared library.
27973 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27974
27975 # ### END LIBTOOL TAG CONFIG: CXX
27976 _LT_EOF
27977
27978  ;;
27979     "po-directories":C)
27980     for ac_file in $CONFIG_FILES; do
27981       # Support "outfile[:infile[:infile...]]"
27982       case "$ac_file" in
27983         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
27984       esac
27985       # PO directories have a Makefile.in generated from Makefile.in.in.
27986       case "$ac_file" in */Makefile.in)
27987         # Adjust a relative srcdir.
27988         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
27989         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
27990         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
27991         # In autoconf-2.13 it is called $ac_given_srcdir.
27992         # In autoconf-2.50 it is called $srcdir.
27993         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
27994         case "$ac_given_srcdir" in
27995           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
27996           /*) top_srcdir="$ac_given_srcdir" ;;
27997           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
27998         esac
27999         # Treat a directory as a PO directory if and only if it has a
28000         # POTFILES.in file. This allows packages to have multiple PO
28001         # directories under different names or in different locations.
28002         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
28003           rm -f "$ac_dir/POTFILES"
28004           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
28005           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
28006           POMAKEFILEDEPS="POTFILES.in"
28007           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
28008           # on $ac_dir but don't depend on user-specified configuration
28009           # parameters.
28010           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
28011             # The LINGUAS file contains the set of available languages.
28012             if test -n "$OBSOLETE_ALL_LINGUAS"; then
28013               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
28014             fi
28015             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
28016             # Hide the ALL_LINGUAS assigment from automake < 1.5.
28017             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
28018             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
28019           else
28020             # The set of available languages was given in configure.in.
28021             # Hide the ALL_LINGUAS assigment from automake < 1.5.
28022             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
28023           fi
28024           # Compute POFILES
28025           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
28026           # Compute UPDATEPOFILES
28027           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
28028           # Compute DUMMYPOFILES
28029           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
28030           # Compute GMOFILES
28031           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
28032           case "$ac_given_srcdir" in
28033             .) srcdirpre= ;;
28034             *) srcdirpre='$(srcdir)/' ;;
28035           esac
28036           POFILES=
28037           UPDATEPOFILES=
28038           DUMMYPOFILES=
28039           GMOFILES=
28040           for lang in $ALL_LINGUAS; do
28041             POFILES="$POFILES $srcdirpre$lang.po"
28042             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
28043             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
28044             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
28045           done
28046           # CATALOGS depends on both $ac_dir and the user's LINGUAS
28047           # environment variable.
28048           INST_LINGUAS=
28049           if test -n "$ALL_LINGUAS"; then
28050             for presentlang in $ALL_LINGUAS; do
28051               useit=no
28052               if test "%UNSET%" != "$LINGUAS"; then
28053                 desiredlanguages="$LINGUAS"
28054               else
28055                 desiredlanguages="$ALL_LINGUAS"
28056               fi
28057               for desiredlang in $desiredlanguages; do
28058                 # Use the presentlang catalog if desiredlang is
28059                 #   a. equal to presentlang, or
28060                 #   b. a variant of presentlang (because in this case,
28061                 #      presentlang can be used as a fallback for messages
28062                 #      which are not translated in the desiredlang catalog).
28063                 case "$desiredlang" in
28064                   "$presentlang"*) useit=yes;;
28065                 esac
28066               done
28067               if test $useit = yes; then
28068                 INST_LINGUAS="$INST_LINGUAS $presentlang"
28069               fi
28070             done
28071           fi
28072           CATALOGS=
28073           if test -n "$INST_LINGUAS"; then
28074             for lang in $INST_LINGUAS; do
28075               CATALOGS="$CATALOGS $lang.gmo"
28076             done
28077           fi
28078           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
28079           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
28080           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
28081             if test -f "$f"; then
28082               case "$f" in
28083                 *.orig | *.bak | *~) ;;
28084                 *) cat "$f" >> "$ac_dir/Makefile" ;;
28085               esac
28086             fi
28087           done
28088         fi
28089         ;;
28090       esac
28091     done ;;
28092     "$ac_stdint_h":C)
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
28094 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
28095 ac_stdint=$tmp/_stdint.h
28096
28097 echo "#ifndef" $_ac_stdint_h >$ac_stdint
28098 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
28099 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
28100 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
28101 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
28102 if test "_$ac_cv_header_stdint_t" != "_" ; then
28103 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
28104 echo "#include <stdint.h>" >>$ac_stdint
28105 echo "#endif" >>$ac_stdint
28106 echo "#endif" >>$ac_stdint
28107 else
28108
28109 cat >>$ac_stdint <<STDINT_EOF
28110
28111 /* ................... shortcircuit part ........................... */
28112
28113 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
28114 #include <stdint.h>
28115 #else
28116 #include <stddef.h>
28117
28118 /* .................... configured part ............................ */
28119
28120 STDINT_EOF
28121
28122 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
28123 if test "_$ac_cv_header_stdint_x" != "_" ; then
28124   ac_header="$ac_cv_header_stdint_x"
28125   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
28126 else
28127   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
28128 fi
28129
28130 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
28131 if  test "_$ac_cv_header_stdint_o" != "_" ; then
28132   ac_header="$ac_cv_header_stdint_o"
28133   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
28134 else
28135   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
28136 fi
28137
28138 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
28139 if  test "_$ac_cv_header_stdint_u" != "_" ; then
28140   ac_header="$ac_cv_header_stdint_u"
28141   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
28142 else
28143   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
28144 fi
28145
28146 echo "" >>$ac_stdint
28147
28148 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
28149   echo "#include <$ac_header>" >>$ac_stdint
28150   echo "" >>$ac_stdint
28151 fi fi
28152
28153 echo "/* which 64bit typedef has been found */" >>$ac_stdint
28154 if test "$ac_cv_type_uint64_t" = "yes" ; then
28155 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
28156 else
28157 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
28158 fi
28159 if test "$ac_cv_type_u_int64_t" = "yes" ; then
28160 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
28161 else
28162 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
28163 fi
28164 echo "" >>$ac_stdint
28165
28166 echo "/* which type model has been detected */" >>$ac_stdint
28167 if test "_$ac_cv_char_data_model" != "_" ; then
28168 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
28169 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
28170 else
28171 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
28172 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
28173 fi
28174 echo "" >>$ac_stdint
28175
28176 echo "/* whether int_least types were detected */" >>$ac_stdint
28177 if test "$ac_cv_type_int_least32_t" = "yes"; then
28178 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
28179 else
28180 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
28181 fi
28182 echo "/* whether int_fast types were detected */" >>$ac_stdint
28183 if test "$ac_cv_type_int_fast32_t" = "yes"; then
28184 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
28185 else
28186 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
28187 fi
28188 echo "/* whether intmax_t type was detected */" >>$ac_stdint
28189 if test "$ac_cv_type_intmax_t" = "yes"; then
28190 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
28191 else
28192 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
28193 fi
28194 echo "" >>$ac_stdint
28195
28196   cat >>$ac_stdint <<STDINT_EOF
28197 /* .................... detections part ............................ */
28198
28199 /* whether we need to define bitspecific types from compiler base types */
28200 #ifndef _STDINT_HEADER_INTPTR
28201 #ifndef _STDINT_HEADER_UINT32
28202 #ifndef _STDINT_HEADER_U_INT32
28203 #define _STDINT_NEED_INT_MODEL_T
28204 #else
28205 #define _STDINT_HAVE_U_INT_TYPES
28206 #endif
28207 #endif
28208 #endif
28209
28210 #ifdef _STDINT_HAVE_U_INT_TYPES
28211 #undef _STDINT_NEED_INT_MODEL_T
28212 #endif
28213
28214 #ifdef  _STDINT_CHAR_MODEL
28215 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
28216 #ifndef _STDINT_BYTE_MODEL
28217 #define _STDINT_BYTE_MODEL 12
28218 #endif
28219 #endif
28220 #endif
28221
28222 #ifndef _STDINT_HAVE_INT_LEAST32_T
28223 #define _STDINT_NEED_INT_LEAST_T
28224 #endif
28225
28226 #ifndef _STDINT_HAVE_INT_FAST32_T
28227 #define _STDINT_NEED_INT_FAST_T
28228 #endif
28229
28230 #ifndef _STDINT_HEADER_INTPTR
28231 #define _STDINT_NEED_INTPTR_T
28232 #ifndef _STDINT_HAVE_INTMAX_T
28233 #define _STDINT_NEED_INTMAX_T
28234 #endif
28235 #endif
28236
28237
28238 /* .................... definition part ............................ */
28239
28240 /* some system headers have good uint64_t */
28241 #ifndef _HAVE_UINT64_T
28242 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
28243 #define _HAVE_UINT64_T
28244 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
28245 #define _HAVE_UINT64_T
28246 typedef u_int64_t uint64_t;
28247 #endif
28248 #endif
28249
28250 #ifndef _HAVE_UINT64_T
28251 /* .. here are some common heuristics using compiler runtime specifics */
28252 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
28253 #define _HAVE_UINT64_T
28254 #define _HAVE_LONGLONG_UINT64_T
28255 typedef long long int64_t;
28256 typedef unsigned long long uint64_t;
28257
28258 #elif !defined __STRICT_ANSI__
28259 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28260 #define _HAVE_UINT64_T
28261 typedef __int64 int64_t;
28262 typedef unsigned __int64 uint64_t;
28263
28264 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
28265 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
28266 #if !defined _NO_LONGLONG
28267 #define _HAVE_UINT64_T
28268 #define _HAVE_LONGLONG_UINT64_T
28269 typedef long long int64_t;
28270 typedef unsigned long long uint64_t;
28271 #endif
28272
28273 #elif defined __alpha || (defined __mips && defined _ABIN32)
28274 #if !defined _NO_LONGLONG
28275 typedef long int64_t;
28276 typedef unsigned long uint64_t;
28277 #endif
28278   /* compiler/cpu type to define int64_t */
28279 #endif
28280 #endif
28281 #endif
28282
28283 #if defined _STDINT_HAVE_U_INT_TYPES
28284 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
28285 typedef u_int8_t uint8_t;
28286 typedef u_int16_t uint16_t;
28287 typedef u_int32_t uint32_t;
28288
28289 /* glibc compatibility */
28290 #ifndef __int8_t_defined
28291 #define __int8_t_defined
28292 #endif
28293 #endif
28294
28295 #ifdef _STDINT_NEED_INT_MODEL_T
28296 /* we must guess all the basic types. Apart from byte-adressable system, */
28297 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
28298 /* (btw, those nibble-addressable systems are way off, or so we assume) */
28299
28300
28301 #if defined _STDINT_BYTE_MODEL
28302 #if _STDINT_LONG_MODEL+0 == 242
28303 /* 2:4:2 =  IP16 = a normal 16-bit system                */
28304 typedef unsigned char   uint8_t;
28305 typedef unsigned short  uint16_t;
28306 typedef unsigned long   uint32_t;
28307 #ifndef __int8_t_defined
28308 #define __int8_t_defined
28309 typedef          char    int8_t;
28310 typedef          short   int16_t;
28311 typedef          long    int32_t;
28312 #endif
28313 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
28314 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
28315 /* 4:4:4 = ILP32 = a normal 32-bit system                */
28316 typedef unsigned char   uint8_t;
28317 typedef unsigned short  uint16_t;
28318 typedef unsigned int    uint32_t;
28319 #ifndef __int8_t_defined
28320 #define __int8_t_defined
28321 typedef          char    int8_t;
28322 typedef          short   int16_t;
28323 typedef          int     int32_t;
28324 #endif
28325 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
28326 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
28327 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
28328 typedef unsigned char   uint8_t;
28329 typedef unsigned short  uint16_t;
28330 typedef unsigned int    uint32_t;
28331 #ifndef __int8_t_defined
28332 #define __int8_t_defined
28333 typedef          char    int8_t;
28334 typedef          short   int16_t;
28335 typedef          int     int32_t;
28336 #endif
28337 /* this system has a "long" of 64bit */
28338 #ifndef _HAVE_UINT64_T
28339 #define _HAVE_UINT64_T
28340 typedef unsigned long   uint64_t;
28341 typedef          long    int64_t;
28342 #endif
28343 #elif _STDINT_LONG_MODEL+0 == 448
28344 /*      LLP64   a 64-bit system derived from a 32-bit system */
28345 typedef unsigned char   uint8_t;
28346 typedef unsigned short  uint16_t;
28347 typedef unsigned int    uint32_t;
28348 #ifndef __int8_t_defined
28349 #define __int8_t_defined
28350 typedef          char    int8_t;
28351 typedef          short   int16_t;
28352 typedef          int     int32_t;
28353 #endif
28354 /* assuming the system has a "long long" */
28355 #ifndef _HAVE_UINT64_T
28356 #define _HAVE_UINT64_T
28357 #define _HAVE_LONGLONG_UINT64_T
28358 typedef unsigned long long uint64_t;
28359 typedef          long long  int64_t;
28360 #endif
28361 #else
28362 #define _STDINT_NO_INT32_T
28363 #endif
28364 #else
28365 #define _STDINT_NO_INT8_T
28366 #define _STDINT_NO_INT32_T
28367 #endif
28368 #endif
28369
28370 /*
28371  * quote from SunOS-5.8 sys/inttypes.h:
28372  * Use at your own risk.  As of February 1996, the committee is squarely
28373  * behind the fixed sized types; the "least" and "fast" types are still being
28374  * discussed.  The probability that the "fast" types may be removed before
28375  * the standard is finalized is high enough that they are not currently
28376  * implemented.
28377  */
28378
28379 #if defined _STDINT_NEED_INT_LEAST_T
28380 typedef  int8_t    int_least8_t;
28381 typedef  int16_t   int_least16_t;
28382 typedef  int32_t   int_least32_t;
28383 #ifdef _HAVE_UINT64_T
28384 typedef  int64_t   int_least64_t;
28385 #endif
28386
28387 typedef uint8_t   uint_least8_t;
28388 typedef uint16_t  uint_least16_t;
28389 typedef uint32_t  uint_least32_t;
28390 #ifdef _HAVE_UINT64_T
28391 typedef uint64_t  uint_least64_t;
28392 #endif
28393   /* least types */
28394 #endif
28395
28396 #if defined _STDINT_NEED_INT_FAST_T
28397 typedef  int8_t    int_fast8_t;
28398 typedef  int       int_fast16_t;
28399 typedef  int32_t   int_fast32_t;
28400 #ifdef _HAVE_UINT64_T
28401 typedef  int64_t   int_fast64_t;
28402 #endif
28403
28404 typedef uint8_t   uint_fast8_t;
28405 typedef unsigned  uint_fast16_t;
28406 typedef uint32_t  uint_fast32_t;
28407 #ifdef _HAVE_UINT64_T
28408 typedef uint64_t  uint_fast64_t;
28409 #endif
28410   /* fast types */
28411 #endif
28412
28413 #ifdef _STDINT_NEED_INTMAX_T
28414 #ifdef _HAVE_UINT64_T
28415 typedef  int64_t       intmax_t;
28416 typedef uint64_t      uintmax_t;
28417 #else
28418 typedef          long  intmax_t;
28419 typedef unsigned long uintmax_t;
28420 #endif
28421 #endif
28422
28423 #ifdef _STDINT_NEED_INTPTR_T
28424 #ifndef __intptr_t_defined
28425 #define __intptr_t_defined
28426 /* we encourage using "long" to store pointer values, never use "int" ! */
28427 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
28428 typedef  unsigned int   uintptr_t;
28429 typedef           int    intptr_t;
28430 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
28431 typedef  unsigned long  uintptr_t;
28432 typedef           long   intptr_t;
28433 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
28434 typedef        uint64_t uintptr_t;
28435 typedef         int64_t  intptr_t;
28436 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
28437 typedef  unsigned long  uintptr_t;
28438 typedef           long   intptr_t;
28439 #endif
28440 #endif
28441 #endif
28442
28443 /* The ISO C99 standard specifies that in C++ implementations these
28444    should only be defined if explicitly requested.  */
28445 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
28446 #ifndef UINT32_C
28447
28448 /* Signed.  */
28449 # define INT8_C(c)      c
28450 # define INT16_C(c)     c
28451 # define INT32_C(c)     c
28452 # ifdef _HAVE_LONGLONG_UINT64_T
28453 #  define INT64_C(c)    c ## L
28454 # else
28455 #  define INT64_C(c)    c ## LL
28456 # endif
28457
28458 /* Unsigned.  */
28459 # define UINT8_C(c)     c ## U
28460 # define UINT16_C(c)    c ## U
28461 # define UINT32_C(c)    c ## U
28462 # ifdef _HAVE_LONGLONG_UINT64_T
28463 #  define UINT64_C(c)   c ## UL
28464 # else
28465 #  define UINT64_C(c)   c ## ULL
28466 # endif
28467
28468 /* Maximal type.  */
28469 # ifdef _HAVE_LONGLONG_UINT64_T
28470 #  define INTMAX_C(c)   c ## L
28471 #  define UINTMAX_C(c)  c ## UL
28472 # else
28473 #  define INTMAX_C(c)   c ## LL
28474 #  define UINTMAX_C(c)  c ## ULL
28475 # endif
28476
28477   /* literalnumbers */
28478 #endif
28479 #endif
28480
28481 /* These limits are merily those of a two complement byte-oriented system */
28482
28483 /* Minimum of signed integral types.  */
28484 # define INT8_MIN               (-128)
28485 # define INT16_MIN              (-32767-1)
28486 # define INT32_MIN              (-2147483647-1)
28487 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
28488 /* Maximum of signed integral types.  */
28489 # define INT8_MAX               (127)
28490 # define INT16_MAX              (32767)
28491 # define INT32_MAX              (2147483647)
28492 # define INT64_MAX              (__INT64_C(9223372036854775807))
28493
28494 /* Maximum of unsigned integral types.  */
28495 # define UINT8_MAX              (255)
28496 # define UINT16_MAX             (65535)
28497 # define UINT32_MAX             (4294967295U)
28498 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
28499
28500 /* Minimum of signed integral types having a minimum size.  */
28501 # define INT_LEAST8_MIN         INT8_MIN
28502 # define INT_LEAST16_MIN        INT16_MIN
28503 # define INT_LEAST32_MIN        INT32_MIN
28504 # define INT_LEAST64_MIN        INT64_MIN
28505 /* Maximum of signed integral types having a minimum size.  */
28506 # define INT_LEAST8_MAX         INT8_MAX
28507 # define INT_LEAST16_MAX        INT16_MAX
28508 # define INT_LEAST32_MAX        INT32_MAX
28509 # define INT_LEAST64_MAX        INT64_MAX
28510
28511 /* Maximum of unsigned integral types having a minimum size.  */
28512 # define UINT_LEAST8_MAX        UINT8_MAX
28513 # define UINT_LEAST16_MAX       UINT16_MAX
28514 # define UINT_LEAST32_MAX       UINT32_MAX
28515 # define UINT_LEAST64_MAX       UINT64_MAX
28516
28517   /* shortcircuit*/
28518 #endif
28519   /* once */
28520 #endif
28521 #endif
28522 STDINT_EOF
28523 fi
28524     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
28525       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
28526 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
28527     else
28528       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
28529 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28530          X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
28531          X"$ac_stdint_h" : 'X\(//\)$' \| \
28532          X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
28533 $as_echo X"$ac_stdint_h" |
28534     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28535             s//\1/
28536             q
28537           }
28538           /^X\(\/\/\)[^/].*/{
28539             s//\1/
28540             q
28541           }
28542           /^X\(\/\/\)$/{
28543             s//\1/
28544             q
28545           }
28546           /^X\(\/\).*/{
28547             s//\1/
28548             q
28549           }
28550           s/.*/./; q'`
28551       as_dir="$ac_dir"; as_fn_mkdir_p
28552       rm -f $ac_stdint_h
28553       mv $ac_stdint $ac_stdint_h
28554     fi
28555  ;;
28556
28557   esac
28558 done # for ac_tag
28559
28560
28561 as_fn_exit 0
28562 _ACEOF
28563 ac_clean_files=$ac_clean_files_save
28564
28565 test $ac_write_fail = 0 ||
28566   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
28567
28568
28569 # configure is writing to config.log, and then calls config.status.
28570 # config.status does its own redirection, appending to config.log.
28571 # Unfortunately, on DOS this fails, as config.log is still kept open
28572 # by configure, so config.status won't be able to write to it; its
28573 # output is simply discarded.  So we exec the FD to /dev/null,
28574 # effectively closing config.log, so it can be properly (re)opened and
28575 # appended to by config.status.  When coming back to configure, we
28576 # need to make the FD available again.
28577 if test "$no_create" != yes; then
28578   ac_cs_success=:
28579   ac_config_status_args=
28580   test "$silent" = yes &&
28581     ac_config_status_args="$ac_config_status_args --quiet"
28582   exec 5>/dev/null
28583   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28584   exec 5>>config.log
28585   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28586   # would make configure fail if this is the last instruction.
28587   $ac_cs_success || as_fn_exit 1
28588 fi
28589 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28590   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28591 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28592 fi
28593
28594
28595 if test "x${GST_DISABLE_GST_DEBUG}" = "xno"; then enable_gst_debug="yes"; fi
28596 if test "x${GST_DISABLE_LOADSAVE}" = "xno"; then enable_loadsave="yes"; fi
28597 if test "x${GST_DISABLE_PARSE}" = "xno"; then enable_parse="yes"; fi
28598 if test "x${GST_DISABLE_OPTION_PARSING}" = "xno"; then enable_option_parsing="yes"; fi
28599 if test "x${GST_DISABLE_TRACE}" = "xno"; then enable_trace="yes"; fi
28600 if test "x${GST_DISABLE_ALLOC_TRACE}" = "xno"; then enable_alloc_trace="yes"; fi
28601 if test "x${GST_DISABLE_PLUGIN}" = "xno"; then enable_plugin="yes"; fi
28602 if test "x${GST_DISABLE_REGISTRY}" = "xno"; then enable_registry="yes"; fi
28603 if test "x${GST_DISABLE_NET}" = "xno"; then enable_net="yes"; fi
28604
28605 echo "
28606
28607 Configuration
28608         Version                    : ${VERSION}
28609         Source code location       : ${srcdir}
28610         Prefix                     : ${prefix}
28611         Compiler                   : ${CC}
28612         Package name               : ${GST_PACKAGE_NAME}
28613         Package origin             : ${GST_PACKAGE_ORIGIN}
28614
28615         Documentation (manuals)    : ${enable_docbook}
28616         Documentation (API)        : ${enable_gtk_doc}
28617
28618         Debug Logging              : ${enable_gst_debug}
28619         Pipeline XML load/save     : ${enable_loadsave}
28620         Command-line parser        : ${enable_parse}
28621         Option parsing in gst_init : ${enable_option_parsing}
28622         Tracing subsystem          : ${enable_trace}
28623         Allocation tracing         : ${enable_alloc_trace}
28624         Plugin registry            : ${enable_registry}
28625         Plugin support             : ${enable_plugin}
28626         Network support            : ${enable_net}
28627         Unit testing support       : ${BUILD_CHECK}
28628
28629         Debug                      : ${USE_DEBUG}
28630         Profiling                  : ${USE_PROFILING}
28631
28632         Building examples          : ${BUILD_EXAMPLES}
28633         Building test apps         : ${BUILD_TESTS}
28634         Building tests that fail   : ${BUILD_FAILING_TESTS}
28635 "