Initial release including wifi display based on gst-rtsp-server-1.4.1
[platform/upstream/gstreamer.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GStreamer RTSP Server Library 1.4.1.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='GStreamer RTSP Server Library'
593 PACKAGE_TARNAME='gst-rtsp-server'
594 PACKAGE_VERSION='1.4.1'
595 PACKAGE_STRING='GStreamer RTSP Server Library 1.4.1'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
597 PACKAGE_URL=''
598
599 ac_unique_file="gst/rtsp-server/rtsp-server.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 HAVE_LIBCGROUP_FALSE
641 HAVE_LIBCGROUP_TRUE
642 LIBCGROUP_LIBS
643 LIBCGROUP_CFLAGS
644 GST_OBJ_LIBS
645 GST_OBJ_CFLAGS
646 GST_LIB_LDFLAGS
647 GST_ALL_LDFLAGS
648 GST_ALL_LIBS
649 GST_ALL_CFLAGS
650 GST_OPTION_CFLAGS
651 DEPRECATED_CFLAGS
652 PROFILE_CFLAGS
653 DEFAULT_VISUALIZER
654 DEFAULT_VIDEOSRC
655 DEFAULT_VIDEOSINK
656 DEFAULT_AUDIOSRC
657 DEFAULT_AUDIOSINK
658 GST_LEVEL_DEFAULT
659 ERROR_CFLAGS
660 WARNING_CFLAGS
661 plugindir
662 PLUGINDIR
663 GST_LICENSE
664 HAVE_CHECK_FALSE
665 HAVE_CHECK_TRUE
666 GST_CHECK_LIBS
667 GST_CHECK_CFLAGS
668 GSTPD_PLUGINS_DIR
669 GST_PLUGINS_BAD_DIR
670 GST_PLUGINS_BAD_LIBS
671 GST_PLUGINS_BAD_CFLAGS
672 GSTPG_PLUGINS_DIR
673 GST_PLUGINS_GOOD_DIR
674 GST_PLUGINS_GOOD_LIBS
675 GST_PLUGINS_GOOD_CFLAGS
676 GSTPB_PLUGINS_DIR
677 GST_PLUGINS_BASE_DIR
678 GST_PLUGINS_BASE_LIBS
679 GST_PLUGINS_BASE_CFLAGS
680 GST_BASE_LIBS
681 GST_BASE_CFLAGS
682 GST_PLUGINS_DIR
683 GST_TOOLS_DIR
684 GST_LIBS
685 GST_CFLAGS
686 GIO_LDFLAGS
687 GIO_LIBS
688 GIO_CFLAGS
689 GLIB_EXTRA_CFLAGS
690 GLIB_MKENUMS
691 GLIB_GENMARSHAL
692 GLIB_LIBS
693 GLIB_CFLAGS
694 GLIB_REQ
695 GTK_DOC_USE_LIBTOOL_FALSE
696 GTK_DOC_USE_LIBTOOL_TRUE
697 GTK_DOC_BUILD_PDF_FALSE
698 GTK_DOC_BUILD_PDF_TRUE
699 GTK_DOC_BUILD_HTML_FALSE
700 GTK_DOC_BUILD_HTML_TRUE
701 ENABLE_GTK_DOC_FALSE
702 ENABLE_GTK_DOC_TRUE
703 GTKDOC_DEPS_LIBS
704 GTKDOC_DEPS_CFLAGS
705 HTML_DIR
706 GTKDOC_MKPDF
707 GTKDOC_REBASE
708 GTKDOC_CHECK
709 DOC_PS_FALSE
710 DOC_PS_TRUE
711 DOC_PDF_FALSE
712 DOC_PDF_TRUE
713 DOC_HTML_FALSE
714 DOC_HTML_TRUE
715 ENABLE_DOCBOOK_FALSE
716 ENABLE_DOCBOOK_TRUE
717 HAVE_EPSTOPDF
718 HAVE_PNMTOPS
719 HAVE_PNGTOPNM
720 HAVE_XMLLINT
721 HAVE_DVIPS
722 CAT_ENTRY_END
723 CAT_ENTRY_START
724 DOCBOOK_ROOT
725 XSLTPROC_FLAGS
726 XML_CATALOG
727 XSLTPROC
728 HAVE_PS2PDF
729 HAVE_JADETEX
730 HAVE_XSLTPROC
731 HAVE_DOCBOOK2PS
732 HAVE_INTROSPECTION_FALSE
733 HAVE_INTROSPECTION_TRUE
734 INTROSPECTION_MAKEFILE
735 INTROSPECTION_LIBS
736 INTROSPECTION_CFLAGS
737 INTROSPECTION_TYPELIBDIR
738 INTROSPECTION_GIRDIR
739 INTROSPECTION_GENERATE
740 INTROSPECTION_COMPILER
741 INTROSPECTION_SCANNER
742 HAVE_VALGRIND_FALSE
743 HAVE_VALGRIND_TRUE
744 VALGRIND_PATH
745 am__fastdepCCAS_FALSE
746 am__fastdepCCAS_TRUE
747 CCASDEPMODE
748 CCAS
749 BUILD_TESTS_FALSE
750 BUILD_TESTS_TRUE
751 GST_PKG_CONFIG_PATH
752 GST_PACKAGE_ORIGIN
753 GST_PACKAGE_NAME
754 GST_GCOV_ENABLED_FALSE
755 GST_GCOV_ENABLED_TRUE
756 CCASFLAGS
757 FFLAGS
758 CXXFLAGS
759 GCOV
760 GCOV_LIBS
761 GCOV_CFLAGS
762 VALGRIND_LIBS
763 VALGRIND_CFLAGS
764 PKG_CONFIG
765 ACLOCAL_AMFLAGS
766 CPP
767 OTOOL64
768 OTOOL
769 LIPO
770 NMEDIT
771 DSYMUTIL
772 MANIFEST_TOOL
773 RANLIB
774 ac_ct_AR
775 AR
776 LN_S
777 NM
778 ac_ct_DUMPBIN
779 DUMPBIN
780 LD
781 FGREP
782 EGREP
783 GREP
784 SED
785 am__fastdepCC_FALSE
786 am__fastdepCC_TRUE
787 CCDEPMODE
788 am__nodep
789 AMDEPBACKSLASH
790 AMDEP_FALSE
791 AMDEP_TRUE
792 am__quote
793 am__include
794 DEPDIR
795 OBJEXT
796 EXEEXT
797 ac_ct_CC
798 CPPFLAGS
799 LDFLAGS
800 CFLAGS
801 CC
802 LIBTOOL
803 OBJDUMP
804 DLLTOOL
805 AS
806 GST_LT_LDFLAGS
807 GST_LIBVERSION
808 GST_AGE
809 GST_REVISION
810 GST_CURRENT
811 GST_API_VERSION
812 MAINT
813 MAINTAINER_MODE_FALSE
814 MAINTAINER_MODE_TRUE
815 PACKAGE_VERSION_RELEASE
816 PACKAGE_VERSION_NANO
817 PACKAGE_VERSION_MICRO
818 PACKAGE_VERSION_MINOR
819 PACKAGE_VERSION_MAJOR
820 AM_BACKSLASH
821 AM_DEFAULT_VERBOSITY
822 AM_DEFAULT_V
823 AM_V
824 am__untar
825 am__tar
826 AMTAR
827 am__leading_dot
828 SET_MAKE
829 AWK
830 mkdir_p
831 MKDIR_P
832 INSTALL_STRIP_PROGRAM
833 STRIP
834 install_sh
835 MAKEINFO
836 AUTOHEADER
837 AUTOMAKE
838 AUTOCONF
839 ACLOCAL
840 VERSION
841 PACKAGE
842 CYGPATH_W
843 am__isrc
844 INSTALL_DATA
845 INSTALL_SCRIPT
846 INSTALL_PROGRAM
847 target_os
848 target_vendor
849 target_cpu
850 target
851 host_os
852 host_vendor
853 host_cpu
854 host
855 build_os
856 build_vendor
857 build_cpu
858 build
859 target_alias
860 host_alias
861 build_alias
862 LIBS
863 ECHO_T
864 ECHO_N
865 ECHO_C
866 DEFS
867 mandir
868 localedir
869 libdir
870 psdir
871 pdfdir
872 dvidir
873 htmldir
874 infodir
875 docdir
876 oldincludedir
877 includedir
878 localstatedir
879 sharedstatedir
880 sysconfdir
881 datadir
882 datarootdir
883 libexecdir
884 sbindir
885 bindir
886 program_transform_name
887 prefix
888 exec_prefix
889 PACKAGE_URL
890 PACKAGE_BUGREPORT
891 PACKAGE_STRING
892 PACKAGE_VERSION
893 PACKAGE_TARNAME
894 PACKAGE_NAME
895 PATH_SEPARATOR
896 SHELL'
897 ac_subst_files=''
898 ac_user_opts='
899 enable_option_checking
900 enable_silent_rules
901 enable_maintainer_mode
902 enable_static
903 enable_shared
904 with_pic
905 enable_fast_install
906 enable_dependency_tracking
907 with_gnu_ld
908 with_sysroot
909 enable_libtool_lock
910 with_autoconf
911 with_autoheader
912 with_automake
913 with_aclocal
914 enable_fatal_warnings
915 enable_debug
916 enable_valgrind
917 enable_gcov
918 with_pkg_config_path
919 with_package_name
920 with_package_origin
921 enable_tests
922 enable_introspection
923 enable_docbook
924 with_html_dir
925 enable_gtk_doc
926 enable_gtk_doc_html
927 enable_gtk_doc_pdf
928 enable_gobject_cast_checks
929 enable_glib_asserts
930 enable_Bsymbolic
931 with_default_audiosink
932 with_default_audiosrc
933 with_default_videosink
934 with_default_videosrc
935 with_default_visualizer
936 '
937       ac_precious_vars='build_alias
938 host_alias
939 target_alias
940 CC
941 CFLAGS
942 LDFLAGS
943 LIBS
944 CPPFLAGS
945 CPP
946 PKG_CONFIG
947 VALGRIND_CFLAGS
948 VALGRIND_LIBS
949 CCAS
950 CCASFLAGS
951 GTKDOC_DEPS_CFLAGS
952 GTKDOC_DEPS_LIBS
953 GLIB_CFLAGS
954 GLIB_LIBS
955 GIO_CFLAGS
956 GIO_LIBS
957 GST_CFLAGS
958 GST_LIBS
959 GST_BASE_CFLAGS
960 GST_BASE_LIBS
961 GST_PLUGINS_BASE_CFLAGS
962 GST_PLUGINS_BASE_LIBS
963 GST_PLUGINS_GOOD_CFLAGS
964 GST_PLUGINS_GOOD_LIBS
965 GST_PLUGINS_BAD_CFLAGS
966 GST_PLUGINS_BAD_LIBS
967 GST_CHECK_CFLAGS
968 GST_CHECK_LIBS
969 LIBCGROUP_CFLAGS
970 LIBCGROUP_LIBS'
971
972
973 # Initialize some variables set by options.
974 ac_init_help=
975 ac_init_version=false
976 ac_unrecognized_opts=
977 ac_unrecognized_sep=
978 # The variables have the same names as the options, with
979 # dashes changed to underlines.
980 cache_file=/dev/null
981 exec_prefix=NONE
982 no_create=
983 no_recursion=
984 prefix=NONE
985 program_prefix=NONE
986 program_suffix=NONE
987 program_transform_name=s,x,x,
988 silent=
989 site=
990 srcdir=
991 verbose=
992 x_includes=NONE
993 x_libraries=NONE
994
995 # Installation directory options.
996 # These are left unexpanded so users can "make install exec_prefix=/foo"
997 # and all the variables that are supposed to be based on exec_prefix
998 # by default will actually change.
999 # Use braces instead of parens because sh, perl, etc. also accept them.
1000 # (The list follows the same order as the GNU Coding Standards.)
1001 bindir='${exec_prefix}/bin'
1002 sbindir='${exec_prefix}/sbin'
1003 libexecdir='${exec_prefix}/libexec'
1004 datarootdir='${prefix}/share'
1005 datadir='${datarootdir}'
1006 sysconfdir='${prefix}/etc'
1007 sharedstatedir='${prefix}/com'
1008 localstatedir='${prefix}/var'
1009 includedir='${prefix}/include'
1010 oldincludedir='/usr/include'
1011 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1012 infodir='${datarootdir}/info'
1013 htmldir='${docdir}'
1014 dvidir='${docdir}'
1015 pdfdir='${docdir}'
1016 psdir='${docdir}'
1017 libdir='${exec_prefix}/lib'
1018 localedir='${datarootdir}/locale'
1019 mandir='${datarootdir}/man'
1020
1021 ac_prev=
1022 ac_dashdash=
1023 for ac_option
1024 do
1025   # If the previous option needs an argument, assign it.
1026   if test -n "$ac_prev"; then
1027     eval $ac_prev=\$ac_option
1028     ac_prev=
1029     continue
1030   fi
1031
1032   case $ac_option in
1033   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1034   *=)   ac_optarg= ;;
1035   *)    ac_optarg=yes ;;
1036   esac
1037
1038   # Accept the important Cygnus configure options, so we can diagnose typos.
1039
1040   case $ac_dashdash$ac_option in
1041   --)
1042     ac_dashdash=yes ;;
1043
1044   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1045     ac_prev=bindir ;;
1046   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1047     bindir=$ac_optarg ;;
1048
1049   -build | --build | --buil | --bui | --bu)
1050     ac_prev=build_alias ;;
1051   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1052     build_alias=$ac_optarg ;;
1053
1054   -cache-file | --cache-file | --cache-fil | --cache-fi \
1055   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1056     ac_prev=cache_file ;;
1057   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1058   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1059     cache_file=$ac_optarg ;;
1060
1061   --config-cache | -C)
1062     cache_file=config.cache ;;
1063
1064   -datadir | --datadir | --datadi | --datad)
1065     ac_prev=datadir ;;
1066   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1067     datadir=$ac_optarg ;;
1068
1069   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1070   | --dataroo | --dataro | --datar)
1071     ac_prev=datarootdir ;;
1072   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1073   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1074     datarootdir=$ac_optarg ;;
1075
1076   -disable-* | --disable-*)
1077     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1078     # Reject names that are not valid shell variable names.
1079     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080       as_fn_error $? "invalid feature name: $ac_useropt"
1081     ac_useropt_orig=$ac_useropt
1082     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083     case $ac_user_opts in
1084       *"
1085 "enable_$ac_useropt"
1086 "*) ;;
1087       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1088          ac_unrecognized_sep=', ';;
1089     esac
1090     eval enable_$ac_useropt=no ;;
1091
1092   -docdir | --docdir | --docdi | --doc | --do)
1093     ac_prev=docdir ;;
1094   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1095     docdir=$ac_optarg ;;
1096
1097   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1098     ac_prev=dvidir ;;
1099   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1100     dvidir=$ac_optarg ;;
1101
1102   -enable-* | --enable-*)
1103     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1104     # Reject names that are not valid shell variable names.
1105     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106       as_fn_error $? "invalid feature name: $ac_useropt"
1107     ac_useropt_orig=$ac_useropt
1108     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109     case $ac_user_opts in
1110       *"
1111 "enable_$ac_useropt"
1112 "*) ;;
1113       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1114          ac_unrecognized_sep=', ';;
1115     esac
1116     eval enable_$ac_useropt=\$ac_optarg ;;
1117
1118   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1119   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1120   | --exec | --exe | --ex)
1121     ac_prev=exec_prefix ;;
1122   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1123   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1124   | --exec=* | --exe=* | --ex=*)
1125     exec_prefix=$ac_optarg ;;
1126
1127   -gas | --gas | --ga | --g)
1128     # Obsolete; use --with-gas.
1129     with_gas=yes ;;
1130
1131   -help | --help | --hel | --he | -h)
1132     ac_init_help=long ;;
1133   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1134     ac_init_help=recursive ;;
1135   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1136     ac_init_help=short ;;
1137
1138   -host | --host | --hos | --ho)
1139     ac_prev=host_alias ;;
1140   -host=* | --host=* | --hos=* | --ho=*)
1141     host_alias=$ac_optarg ;;
1142
1143   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1144     ac_prev=htmldir ;;
1145   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1146   | --ht=*)
1147     htmldir=$ac_optarg ;;
1148
1149   -includedir | --includedir | --includedi | --included | --include \
1150   | --includ | --inclu | --incl | --inc)
1151     ac_prev=includedir ;;
1152   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1153   | --includ=* | --inclu=* | --incl=* | --inc=*)
1154     includedir=$ac_optarg ;;
1155
1156   -infodir | --infodir | --infodi | --infod | --info | --inf)
1157     ac_prev=infodir ;;
1158   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1159     infodir=$ac_optarg ;;
1160
1161   -libdir | --libdir | --libdi | --libd)
1162     ac_prev=libdir ;;
1163   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1164     libdir=$ac_optarg ;;
1165
1166   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1167   | --libexe | --libex | --libe)
1168     ac_prev=libexecdir ;;
1169   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1170   | --libexe=* | --libex=* | --libe=*)
1171     libexecdir=$ac_optarg ;;
1172
1173   -localedir | --localedir | --localedi | --localed | --locale)
1174     ac_prev=localedir ;;
1175   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1176     localedir=$ac_optarg ;;
1177
1178   -localstatedir | --localstatedir | --localstatedi | --localstated \
1179   | --localstate | --localstat | --localsta | --localst | --locals)
1180     ac_prev=localstatedir ;;
1181   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1182   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1183     localstatedir=$ac_optarg ;;
1184
1185   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1186     ac_prev=mandir ;;
1187   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1188     mandir=$ac_optarg ;;
1189
1190   -nfp | --nfp | --nf)
1191     # Obsolete; use --without-fp.
1192     with_fp=no ;;
1193
1194   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1195   | --no-cr | --no-c | -n)
1196     no_create=yes ;;
1197
1198   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1199   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1200     no_recursion=yes ;;
1201
1202   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1203   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1204   | --oldin | --oldi | --old | --ol | --o)
1205     ac_prev=oldincludedir ;;
1206   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1207   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1208   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1209     oldincludedir=$ac_optarg ;;
1210
1211   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1212     ac_prev=prefix ;;
1213   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1214     prefix=$ac_optarg ;;
1215
1216   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1217   | --program-pre | --program-pr | --program-p)
1218     ac_prev=program_prefix ;;
1219   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1220   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1221     program_prefix=$ac_optarg ;;
1222
1223   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1224   | --program-suf | --program-su | --program-s)
1225     ac_prev=program_suffix ;;
1226   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1227   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1228     program_suffix=$ac_optarg ;;
1229
1230   -program-transform-name | --program-transform-name \
1231   | --program-transform-nam | --program-transform-na \
1232   | --program-transform-n | --program-transform- \
1233   | --program-transform | --program-transfor \
1234   | --program-transfo | --program-transf \
1235   | --program-trans | --program-tran \
1236   | --progr-tra | --program-tr | --program-t)
1237     ac_prev=program_transform_name ;;
1238   -program-transform-name=* | --program-transform-name=* \
1239   | --program-transform-nam=* | --program-transform-na=* \
1240   | --program-transform-n=* | --program-transform-=* \
1241   | --program-transform=* | --program-transfor=* \
1242   | --program-transfo=* | --program-transf=* \
1243   | --program-trans=* | --program-tran=* \
1244   | --progr-tra=* | --program-tr=* | --program-t=*)
1245     program_transform_name=$ac_optarg ;;
1246
1247   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1248     ac_prev=pdfdir ;;
1249   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1250     pdfdir=$ac_optarg ;;
1251
1252   -psdir | --psdir | --psdi | --psd | --ps)
1253     ac_prev=psdir ;;
1254   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1255     psdir=$ac_optarg ;;
1256
1257   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1258   | -silent | --silent | --silen | --sile | --sil)
1259     silent=yes ;;
1260
1261   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1262     ac_prev=sbindir ;;
1263   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1264   | --sbi=* | --sb=*)
1265     sbindir=$ac_optarg ;;
1266
1267   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1268   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1269   | --sharedst | --shareds | --shared | --share | --shar \
1270   | --sha | --sh)
1271     ac_prev=sharedstatedir ;;
1272   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1273   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1274   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1275   | --sha=* | --sh=*)
1276     sharedstatedir=$ac_optarg ;;
1277
1278   -site | --site | --sit)
1279     ac_prev=site ;;
1280   -site=* | --site=* | --sit=*)
1281     site=$ac_optarg ;;
1282
1283   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1284     ac_prev=srcdir ;;
1285   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1286     srcdir=$ac_optarg ;;
1287
1288   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1289   | --syscon | --sysco | --sysc | --sys | --sy)
1290     ac_prev=sysconfdir ;;
1291   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1292   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1293     sysconfdir=$ac_optarg ;;
1294
1295   -target | --target | --targe | --targ | --tar | --ta | --t)
1296     ac_prev=target_alias ;;
1297   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1298     target_alias=$ac_optarg ;;
1299
1300   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1301     verbose=yes ;;
1302
1303   -version | --version | --versio | --versi | --vers | -V)
1304     ac_init_version=: ;;
1305
1306   -with-* | --with-*)
1307     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1308     # Reject names that are not valid shell variable names.
1309     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1310       as_fn_error $? "invalid package name: $ac_useropt"
1311     ac_useropt_orig=$ac_useropt
1312     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313     case $ac_user_opts in
1314       *"
1315 "with_$ac_useropt"
1316 "*) ;;
1317       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1318          ac_unrecognized_sep=', ';;
1319     esac
1320     eval with_$ac_useropt=\$ac_optarg ;;
1321
1322   -without-* | --without-*)
1323     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1324     # Reject names that are not valid shell variable names.
1325     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326       as_fn_error $? "invalid package name: $ac_useropt"
1327     ac_useropt_orig=$ac_useropt
1328     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329     case $ac_user_opts in
1330       *"
1331 "with_$ac_useropt"
1332 "*) ;;
1333       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1334          ac_unrecognized_sep=', ';;
1335     esac
1336     eval with_$ac_useropt=no ;;
1337
1338   --x)
1339     # Obsolete; use --with-x.
1340     with_x=yes ;;
1341
1342   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1343   | --x-incl | --x-inc | --x-in | --x-i)
1344     ac_prev=x_includes ;;
1345   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1346   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1347     x_includes=$ac_optarg ;;
1348
1349   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1350   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1351     ac_prev=x_libraries ;;
1352   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1353   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1354     x_libraries=$ac_optarg ;;
1355
1356   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1357 Try \`$0 --help' for more information"
1358     ;;
1359
1360   *=*)
1361     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1362     # Reject names that are not valid shell variable names.
1363     case $ac_envvar in #(
1364       '' | [0-9]* | *[!_$as_cr_alnum]* )
1365       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1366     esac
1367     eval $ac_envvar=\$ac_optarg
1368     export $ac_envvar ;;
1369
1370   *)
1371     # FIXME: should be removed in autoconf 3.0.
1372     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1373     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1374       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1375     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1376     ;;
1377
1378   esac
1379 done
1380
1381 if test -n "$ac_prev"; then
1382   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1383   as_fn_error $? "missing argument to $ac_option"
1384 fi
1385
1386 if test -n "$ac_unrecognized_opts"; then
1387   case $enable_option_checking in
1388     no) ;;
1389     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1390     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1391   esac
1392 fi
1393
1394 # Check all directory arguments for consistency.
1395 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1396                 datadir sysconfdir sharedstatedir localstatedir includedir \
1397                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1398                 libdir localedir mandir
1399 do
1400   eval ac_val=\$$ac_var
1401   # Remove trailing slashes.
1402   case $ac_val in
1403     */ )
1404       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1405       eval $ac_var=\$ac_val;;
1406   esac
1407   # Be sure to have absolute directory names.
1408   case $ac_val in
1409     [\\/$]* | ?:[\\/]* )  continue;;
1410     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1411   esac
1412   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1413 done
1414
1415 # There might be people who depend on the old broken behavior: `$host'
1416 # used to hold the argument of --host etc.
1417 # FIXME: To remove some day.
1418 build=$build_alias
1419 host=$host_alias
1420 target=$target_alias
1421
1422 # FIXME: To remove some day.
1423 if test "x$host_alias" != x; then
1424   if test "x$build_alias" = x; then
1425     cross_compiling=maybe
1426   elif test "x$build_alias" != "x$host_alias"; then
1427     cross_compiling=yes
1428   fi
1429 fi
1430
1431 ac_tool_prefix=
1432 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1433
1434 test "$silent" = yes && exec 6>/dev/null
1435
1436
1437 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1438 ac_ls_di=`ls -di .` &&
1439 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1440   as_fn_error $? "working directory cannot be determined"
1441 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1442   as_fn_error $? "pwd does not report name of working directory"
1443
1444
1445 # Find the source files, if location was not specified.
1446 if test -z "$srcdir"; then
1447   ac_srcdir_defaulted=yes
1448   # Try the directory containing this script, then the parent directory.
1449   ac_confdir=`$as_dirname -- "$as_myself" ||
1450 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1451          X"$as_myself" : 'X\(//\)[^/]' \| \
1452          X"$as_myself" : 'X\(//\)$' \| \
1453          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1454 $as_echo X"$as_myself" |
1455     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1456             s//\1/
1457             q
1458           }
1459           /^X\(\/\/\)[^/].*/{
1460             s//\1/
1461             q
1462           }
1463           /^X\(\/\/\)$/{
1464             s//\1/
1465             q
1466           }
1467           /^X\(\/\).*/{
1468             s//\1/
1469             q
1470           }
1471           s/.*/./; q'`
1472   srcdir=$ac_confdir
1473   if test ! -r "$srcdir/$ac_unique_file"; then
1474     srcdir=..
1475   fi
1476 else
1477   ac_srcdir_defaulted=no
1478 fi
1479 if test ! -r "$srcdir/$ac_unique_file"; then
1480   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1481   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1482 fi
1483 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1484 ac_abs_confdir=`(
1485         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1486         pwd)`
1487 # When building in place, set srcdir=.
1488 if test "$ac_abs_confdir" = "$ac_pwd"; then
1489   srcdir=.
1490 fi
1491 # Remove unnecessary trailing slashes from srcdir.
1492 # Double slashes in file names in object file debugging info
1493 # mess up M-x gdb in Emacs.
1494 case $srcdir in
1495 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1496 esac
1497 for ac_var in $ac_precious_vars; do
1498   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1499   eval ac_env_${ac_var}_value=\$${ac_var}
1500   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1501   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1502 done
1503
1504 #
1505 # Report the --help message.
1506 #
1507 if test "$ac_init_help" = "long"; then
1508   # Omit some internal or obsolete options to make the list less imposing.
1509   # This message is too long to be a string in the A/UX 3.1 sh.
1510   cat <<_ACEOF
1511 \`configure' configures GStreamer RTSP Server Library 1.4.1 to adapt to many kinds of systems.
1512
1513 Usage: $0 [OPTION]... [VAR=VALUE]...
1514
1515 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1516 VAR=VALUE.  See below for descriptions of some of the useful variables.
1517
1518 Defaults for the options are specified in brackets.
1519
1520 Configuration:
1521   -h, --help              display this help and exit
1522       --help=short        display options specific to this package
1523       --help=recursive    display the short help of all the included packages
1524   -V, --version           display version information and exit
1525   -q, --quiet, --silent   do not print \`checking ...' messages
1526       --cache-file=FILE   cache test results in FILE [disabled]
1527   -C, --config-cache      alias for \`--cache-file=config.cache'
1528   -n, --no-create         do not create output files
1529       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1530
1531 Installation directories:
1532   --prefix=PREFIX         install architecture-independent files in PREFIX
1533                           [$ac_default_prefix]
1534   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1535                           [PREFIX]
1536
1537 By default, \`make install' will install all the files in
1538 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1539 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1540 for instance \`--prefix=\$HOME'.
1541
1542 For better control, use the options below.
1543
1544 Fine tuning of the installation directories:
1545   --bindir=DIR            user executables [EPREFIX/bin]
1546   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1547   --libexecdir=DIR        program executables [EPREFIX/libexec]
1548   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1549   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1550   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1551   --libdir=DIR            object code libraries [EPREFIX/lib]
1552   --includedir=DIR        C header files [PREFIX/include]
1553   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1554   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1555   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1556   --infodir=DIR           info documentation [DATAROOTDIR/info]
1557   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1558   --mandir=DIR            man documentation [DATAROOTDIR/man]
1559   --docdir=DIR            documentation root [DATAROOTDIR/doc/gst-rtsp-server]
1560   --htmldir=DIR           html documentation [DOCDIR]
1561   --dvidir=DIR            dvi documentation [DOCDIR]
1562   --pdfdir=DIR            pdf documentation [DOCDIR]
1563   --psdir=DIR             ps documentation [DOCDIR]
1564 _ACEOF
1565
1566   cat <<\_ACEOF
1567
1568 Program names:
1569   --program-prefix=PREFIX            prepend PREFIX to installed program names
1570   --program-suffix=SUFFIX            append SUFFIX to installed program names
1571   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1572
1573 System types:
1574   --build=BUILD     configure for building on BUILD [guessed]
1575   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1576   --target=TARGET   configure for building compilers for TARGET [HOST]
1577 _ACEOF
1578 fi
1579
1580 if test -n "$ac_init_help"; then
1581   case $ac_init_help in
1582      short | recursive ) echo "Configuration of GStreamer RTSP Server Library 1.4.1:";;
1583    esac
1584   cat <<\_ACEOF
1585
1586 Optional Features:
1587   --disable-option-checking  ignore unrecognized --enable/--with options
1588   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1589   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1590   --enable-silent-rules   less verbose build output (undo: "make V=1")
1591   --disable-silent-rules  verbose build output (undo: "make V=0")
1592   --disable-maintainer-mode
1593                           disable make rules and dependencies not useful (and
1594                           sometimes confusing) to the casual installer
1595   --enable-static[=PKGS]  build static libraries [default=no]
1596   --enable-shared[=PKGS]  build shared libraries [default=yes]
1597   --enable-fast-install[=PKGS]
1598                           optimize for fast installation [default=yes]
1599   --enable-dependency-tracking
1600                           do not reject slow dependency extractors
1601   --disable-dependency-tracking
1602                           speeds up one-time build
1603   --disable-libtool-lock  avoid locking (might break parallel builds)
1604   --disable-fatal-warnings
1605                           Don't turn compiler warnings into fatal errors
1606   --disable-debug         disable addition of -g debugging info
1607   --disable-valgrind      disable run-time valgrind detection
1608   --enable-gcov           compile with coverage profiling instrumentation (gcc
1609                           only)
1610   --disable-tests         disable building test apps
1611   --enable-introspection=[no/auto/yes]
1612                           Enable introspection for this build
1613   --enable-docbook        use docbook to build documentation [default=no]
1614   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1615   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1616   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1617   --enable-gobject-cast-checks=[no/auto/yes]
1618                           Enable GObject cast checks
1619   --enable-glib-asserts=[no/auto/yes]
1620                           Enable GLib assertion
1621   --disable-Bsymbolic     avoid linking with -Bsymbolic
1622
1623 Optional Packages:
1624   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1625   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1626   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1627                           both]
1628   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1629   --with-sysroot=DIR Search for dependent libraries within DIR
1630                         (or the compiler's sysroot if not specified).
1631   --with-autoconf         use a different autoconf for regeneration of
1632                           Makefiles
1633   --with-autoheader       use a different autoheader for regeneration of
1634                           Makefiles
1635   --with-automake         use a different automake for regeneration of
1636                           Makefiles
1637   --with-aclocal          use a different aclocal for regeneration of
1638                           Makefiles
1639   --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
1640   --with-package-name     specify package name to use in plugins
1641   --with-package-origin   specify package origin URL to use in plugins
1642   --with-html-dir=PATH    path to installed docs
1643   --with-default-audiosink
1644                           specify default audio sink
1645   --with-default-audiosrc specify default audio source
1646   --with-default-videosink
1647                           specify default video sink
1648   --with-default-videosrc specify default video source
1649   --with-default-visualizer
1650                           specify default visualizer
1651
1652 Some influential environment variables:
1653   CC          C compiler command
1654   CFLAGS      C compiler flags
1655   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1656               nonstandard directory <lib dir>
1657   LIBS        libraries to pass to the linker, e.g. -l<library>
1658   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1659               you have headers in a nonstandard directory <include dir>
1660   CPP         C preprocessor
1661   PKG_CONFIG  path to pkg-config utility
1662   VALGRIND_CFLAGS
1663               C compiler flags for VALGRIND, overriding pkg-config
1664   VALGRIND_LIBS
1665               linker flags for VALGRIND, overriding pkg-config
1666   CCAS        assembler compiler command (defaults to CC)
1667   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1668   GTKDOC_DEPS_CFLAGS
1669               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1670   GTKDOC_DEPS_LIBS
1671               linker flags for GTKDOC_DEPS, overriding pkg-config
1672   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1673   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1674   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1675   GIO_LIBS    linker flags for GIO, overriding pkg-config
1676   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
1677   GST_LIBS    linker flags for GST, overriding pkg-config
1678   GST_BASE_CFLAGS
1679               C compiler flags for GST_BASE, overriding pkg-config
1680   GST_BASE_LIBS
1681               linker flags for GST_BASE, overriding pkg-config
1682   GST_PLUGINS_BASE_CFLAGS
1683               C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1684   GST_PLUGINS_BASE_LIBS
1685               linker flags for GST_PLUGINS_BASE, overriding pkg-config
1686   GST_PLUGINS_GOOD_CFLAGS
1687               C compiler flags for GST_PLUGINS_GOOD, overriding pkg-config
1688   GST_PLUGINS_GOOD_LIBS
1689               linker flags for GST_PLUGINS_GOOD, overriding pkg-config
1690   GST_PLUGINS_BAD_CFLAGS
1691               C compiler flags for GST_PLUGINS_BAD, overriding pkg-config
1692   GST_PLUGINS_BAD_LIBS
1693               linker flags for GST_PLUGINS_BAD, overriding pkg-config
1694   GST_CHECK_CFLAGS
1695               C compiler flags for GST_CHECK, overriding pkg-config
1696   GST_CHECK_LIBS
1697               linker flags for GST_CHECK, overriding pkg-config
1698   LIBCGROUP_CFLAGS
1699               C compiler flags for LIBCGROUP, overriding pkg-config
1700   LIBCGROUP_LIBS
1701               linker flags for LIBCGROUP, overriding pkg-config
1702
1703 Use these variables to override the choices made by `configure' or to help
1704 it to find libraries and programs with nonstandard names/locations.
1705
1706 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1707 _ACEOF
1708 ac_status=$?
1709 fi
1710
1711 if test "$ac_init_help" = "recursive"; then
1712   # If there are subdirs, report their specific --help.
1713   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1714     test -d "$ac_dir" ||
1715       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1716       continue
1717     ac_builddir=.
1718
1719 case "$ac_dir" in
1720 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1721 *)
1722   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1723   # A ".." for each directory in $ac_dir_suffix.
1724   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1725   case $ac_top_builddir_sub in
1726   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1727   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1728   esac ;;
1729 esac
1730 ac_abs_top_builddir=$ac_pwd
1731 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1732 # for backward compatibility:
1733 ac_top_builddir=$ac_top_build_prefix
1734
1735 case $srcdir in
1736   .)  # We are building in place.
1737     ac_srcdir=.
1738     ac_top_srcdir=$ac_top_builddir_sub
1739     ac_abs_top_srcdir=$ac_pwd ;;
1740   [\\/]* | ?:[\\/]* )  # Absolute name.
1741     ac_srcdir=$srcdir$ac_dir_suffix;
1742     ac_top_srcdir=$srcdir
1743     ac_abs_top_srcdir=$srcdir ;;
1744   *) # Relative name.
1745     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1746     ac_top_srcdir=$ac_top_build_prefix$srcdir
1747     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1748 esac
1749 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1750
1751     cd "$ac_dir" || { ac_status=$?; continue; }
1752     # Check for guested configure.
1753     if test -f "$ac_srcdir/configure.gnu"; then
1754       echo &&
1755       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1756     elif test -f "$ac_srcdir/configure"; then
1757       echo &&
1758       $SHELL "$ac_srcdir/configure" --help=recursive
1759     else
1760       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1761     fi || ac_status=$?
1762     cd "$ac_pwd" || { ac_status=$?; break; }
1763   done
1764 fi
1765
1766 test -n "$ac_init_help" && exit $ac_status
1767 if $ac_init_version; then
1768   cat <<\_ACEOF
1769 GStreamer RTSP Server Library configure 1.4.1
1770 generated by GNU Autoconf 2.69
1771
1772 Copyright (C) 2012 Free Software Foundation, Inc.
1773 This configure script is free software; the Free Software Foundation
1774 gives unlimited permission to copy, distribute and modify it.
1775 _ACEOF
1776   exit
1777 fi
1778
1779 ## ------------------------ ##
1780 ## Autoconf initialization. ##
1781 ## ------------------------ ##
1782
1783 # ac_fn_c_try_compile LINENO
1784 # --------------------------
1785 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_compile ()
1787 {
1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789   rm -f conftest.$ac_objext
1790   if { { ac_try="$ac_compile"
1791 case "(($ac_try" in
1792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793   *) ac_try_echo=$ac_try;;
1794 esac
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797   (eval "$ac_compile") 2>conftest.err
1798   ac_status=$?
1799   if test -s conftest.err; then
1800     grep -v '^ *+' conftest.err >conftest.er1
1801     cat conftest.er1 >&5
1802     mv -f conftest.er1 conftest.err
1803   fi
1804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805   test $ac_status = 0; } && {
1806          test -z "$ac_c_werror_flag" ||
1807          test ! -s conftest.err
1808        } && test -s conftest.$ac_objext; then :
1809   ac_retval=0
1810 else
1811   $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1813
1814         ac_retval=1
1815 fi
1816   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817   as_fn_set_status $ac_retval
1818
1819 } # ac_fn_c_try_compile
1820
1821 # ac_fn_c_try_link LINENO
1822 # -----------------------
1823 # Try to link conftest.$ac_ext, and return whether this succeeded.
1824 ac_fn_c_try_link ()
1825 {
1826   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827   rm -f conftest.$ac_objext conftest$ac_exeext
1828   if { { ac_try="$ac_link"
1829 case "(($ac_try" in
1830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831   *) ac_try_echo=$ac_try;;
1832 esac
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835   (eval "$ac_link") 2>conftest.err
1836   ac_status=$?
1837   if test -s conftest.err; then
1838     grep -v '^ *+' conftest.err >conftest.er1
1839     cat conftest.er1 >&5
1840     mv -f conftest.er1 conftest.err
1841   fi
1842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843   test $ac_status = 0; } && {
1844          test -z "$ac_c_werror_flag" ||
1845          test ! -s conftest.err
1846        } && test -s conftest$ac_exeext && {
1847          test "$cross_compiling" = yes ||
1848          test -x conftest$ac_exeext
1849        }; then :
1850   ac_retval=0
1851 else
1852   $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.$ac_ext >&5
1854
1855         ac_retval=1
1856 fi
1857   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1858   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1859   # interfere with the next link command; also delete a directory that is
1860   # left behind by Apple's compiler.  We do this before executing the actions.
1861   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1862   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863   as_fn_set_status $ac_retval
1864
1865 } # ac_fn_c_try_link
1866
1867 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1868 # -------------------------------------------------------
1869 # Tests whether HEADER exists and can be compiled using the include files in
1870 # INCLUDES, setting the cache variable VAR accordingly.
1871 ac_fn_c_check_header_compile ()
1872 {
1873   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \${$3+:} false; then :
1877   $as_echo_n "(cached) " >&6
1878 else
1879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h.  */
1881 $4
1882 #include <$2>
1883 _ACEOF
1884 if ac_fn_c_try_compile "$LINENO"; then :
1885   eval "$3=yes"
1886 else
1887   eval "$3=no"
1888 fi
1889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890 fi
1891 eval ac_res=\$$3
1892                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895
1896 } # ac_fn_c_check_header_compile
1897
1898 # ac_fn_c_try_cpp LINENO
1899 # ----------------------
1900 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1901 ac_fn_c_try_cpp ()
1902 {
1903   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904   if { { ac_try="$ac_cpp conftest.$ac_ext"
1905 case "(($ac_try" in
1906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1907   *) ac_try_echo=$ac_try;;
1908 esac
1909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1910 $as_echo "$ac_try_echo"; } >&5
1911   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1912   ac_status=$?
1913   if test -s conftest.err; then
1914     grep -v '^ *+' conftest.err >conftest.er1
1915     cat conftest.er1 >&5
1916     mv -f conftest.er1 conftest.err
1917   fi
1918   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919   test $ac_status = 0; } > conftest.i && {
1920          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1921          test ! -s conftest.err
1922        }; then :
1923   ac_retval=0
1924 else
1925   $as_echo "$as_me: failed program was:" >&5
1926 sed 's/^/| /' conftest.$ac_ext >&5
1927
1928     ac_retval=1
1929 fi
1930   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931   as_fn_set_status $ac_retval
1932
1933 } # ac_fn_c_try_cpp
1934
1935 # ac_fn_c_try_run LINENO
1936 # ----------------------
1937 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1938 # that executables *can* be run.
1939 ac_fn_c_try_run ()
1940 {
1941   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942   if { { ac_try="$ac_link"
1943 case "(($ac_try" in
1944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1945   *) ac_try_echo=$ac_try;;
1946 esac
1947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1948 $as_echo "$ac_try_echo"; } >&5
1949   (eval "$ac_link") 2>&5
1950   ac_status=$?
1951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1953   { { case "(($ac_try" in
1954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1955   *) ac_try_echo=$ac_try;;
1956 esac
1957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1958 $as_echo "$ac_try_echo"; } >&5
1959   (eval "$ac_try") 2>&5
1960   ac_status=$?
1961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1962   test $ac_status = 0; }; }; then :
1963   ac_retval=0
1964 else
1965   $as_echo "$as_me: program exited with status $ac_status" >&5
1966        $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1968
1969        ac_retval=$ac_status
1970 fi
1971   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1972   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973   as_fn_set_status $ac_retval
1974
1975 } # ac_fn_c_try_run
1976
1977 # ac_fn_c_check_func LINENO FUNC VAR
1978 # ----------------------------------
1979 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1980 ac_fn_c_check_func ()
1981 {
1982   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if eval \${$3+:} false; then :
1986   $as_echo_n "(cached) " >&6
1987 else
1988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h.  */
1990 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1991    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1992 #define $2 innocuous_$2
1993
1994 /* System header to define __stub macros and hopefully few prototypes,
1995     which can conflict with char $2 (); below.
1996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1997     <limits.h> exists even on freestanding compilers.  */
1998
1999 #ifdef __STDC__
2000 # include <limits.h>
2001 #else
2002 # include <assert.h>
2003 #endif
2004
2005 #undef $2
2006
2007 /* Override any GCC internal prototype to avoid an error.
2008    Use char because int might match the return type of a GCC
2009    builtin and then its argument prototype would still apply.  */
2010 #ifdef __cplusplus
2011 extern "C"
2012 #endif
2013 char $2 ();
2014 /* The GNU C library defines this for functions which it implements
2015     to always fail with ENOSYS.  Some functions are actually named
2016     something starting with __ and the normal name is an alias.  */
2017 #if defined __stub_$2 || defined __stub___$2
2018 choke me
2019 #endif
2020
2021 int
2022 main ()
2023 {
2024 return $2 ();
2025   ;
2026   return 0;
2027 }
2028 _ACEOF
2029 if ac_fn_c_try_link "$LINENO"; then :
2030   eval "$3=yes"
2031 else
2032   eval "$3=no"
2033 fi
2034 rm -f core conftest.err conftest.$ac_objext \
2035     conftest$ac_exeext conftest.$ac_ext
2036 fi
2037 eval ac_res=\$$3
2038                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2039 $as_echo "$ac_res" >&6; }
2040   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041
2042 } # ac_fn_c_check_func
2043 cat >config.log <<_ACEOF
2044 This file contains any messages produced by compilers while
2045 running configure, to aid debugging if configure makes a mistake.
2046
2047 It was created by GStreamer RTSP Server Library $as_me 1.4.1, which was
2048 generated by GNU Autoconf 2.69.  Invocation command line was
2049
2050   $ $0 $@
2051
2052 _ACEOF
2053 exec 5>>config.log
2054 {
2055 cat <<_ASUNAME
2056 ## --------- ##
2057 ## Platform. ##
2058 ## --------- ##
2059
2060 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2061 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2062 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2063 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2064 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2065
2066 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2067 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2068
2069 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2070 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2071 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2072 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2073 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2074 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2075 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2076
2077 _ASUNAME
2078
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 for as_dir in $PATH
2081 do
2082   IFS=$as_save_IFS
2083   test -z "$as_dir" && as_dir=.
2084     $as_echo "PATH: $as_dir"
2085   done
2086 IFS=$as_save_IFS
2087
2088 } >&5
2089
2090 cat >&5 <<_ACEOF
2091
2092
2093 ## ----------- ##
2094 ## Core tests. ##
2095 ## ----------- ##
2096
2097 _ACEOF
2098
2099
2100 # Keep a trace of the command line.
2101 # Strip out --no-create and --no-recursion so they do not pile up.
2102 # Strip out --silent because we don't want to record it for future runs.
2103 # Also quote any args containing shell meta-characters.
2104 # Make two passes to allow for proper duplicate-argument suppression.
2105 ac_configure_args=
2106 ac_configure_args0=
2107 ac_configure_args1=
2108 ac_must_keep_next=false
2109 for ac_pass in 1 2
2110 do
2111   for ac_arg
2112   do
2113     case $ac_arg in
2114     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2115     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2116     | -silent | --silent | --silen | --sile | --sil)
2117       continue ;;
2118     *\'*)
2119       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2120     esac
2121     case $ac_pass in
2122     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2123     2)
2124       as_fn_append ac_configure_args1 " '$ac_arg'"
2125       if test $ac_must_keep_next = true; then
2126         ac_must_keep_next=false # Got value, back to normal.
2127       else
2128         case $ac_arg in
2129           *=* | --config-cache | -C | -disable-* | --disable-* \
2130           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2131           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2132           | -with-* | --with-* | -without-* | --without-* | --x)
2133             case "$ac_configure_args0 " in
2134               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2135             esac
2136             ;;
2137           -* ) ac_must_keep_next=true ;;
2138         esac
2139       fi
2140       as_fn_append ac_configure_args " '$ac_arg'"
2141       ;;
2142     esac
2143   done
2144 done
2145 { ac_configure_args0=; unset ac_configure_args0;}
2146 { ac_configure_args1=; unset ac_configure_args1;}
2147
2148 # When interrupted or exit'd, cleanup temporary files, and complete
2149 # config.log.  We remove comments because anyway the quotes in there
2150 # would cause problems or look ugly.
2151 # WARNING: Use '\'' to represent an apostrophe within the trap.
2152 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2153 trap 'exit_status=$?
2154   # Save into config.log some information that might help in debugging.
2155   {
2156     echo
2157
2158     $as_echo "## ---------------- ##
2159 ## Cache variables. ##
2160 ## ---------------- ##"
2161     echo
2162     # The following way of writing the cache mishandles newlines in values,
2163 (
2164   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2165     eval ac_val=\$$ac_var
2166     case $ac_val in #(
2167     *${as_nl}*)
2168       case $ac_var in #(
2169       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2170 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2171       esac
2172       case $ac_var in #(
2173       _ | IFS | as_nl) ;; #(
2174       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2175       *) { eval $ac_var=; unset $ac_var;} ;;
2176       esac ;;
2177     esac
2178   done
2179   (set) 2>&1 |
2180     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2181     *${as_nl}ac_space=\ *)
2182       sed -n \
2183         "s/'\''/'\''\\\\'\'''\''/g;
2184           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2185       ;; #(
2186     *)
2187       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2188       ;;
2189     esac |
2190     sort
2191 )
2192     echo
2193
2194     $as_echo "## ----------------- ##
2195 ## Output variables. ##
2196 ## ----------------- ##"
2197     echo
2198     for ac_var in $ac_subst_vars
2199     do
2200       eval ac_val=\$$ac_var
2201       case $ac_val in
2202       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203       esac
2204       $as_echo "$ac_var='\''$ac_val'\''"
2205     done | sort
2206     echo
2207
2208     if test -n "$ac_subst_files"; then
2209       $as_echo "## ------------------- ##
2210 ## File substitutions. ##
2211 ## ------------------- ##"
2212       echo
2213       for ac_var in $ac_subst_files
2214       do
2215         eval ac_val=\$$ac_var
2216         case $ac_val in
2217         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218         esac
2219         $as_echo "$ac_var='\''$ac_val'\''"
2220       done | sort
2221       echo
2222     fi
2223
2224     if test -s confdefs.h; then
2225       $as_echo "## ----------- ##
2226 ## confdefs.h. ##
2227 ## ----------- ##"
2228       echo
2229       cat confdefs.h
2230       echo
2231     fi
2232     test "$ac_signal" != 0 &&
2233       $as_echo "$as_me: caught signal $ac_signal"
2234     $as_echo "$as_me: exit $exit_status"
2235   } >&5
2236   rm -f core *.core core.conftest.* &&
2237     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2238     exit $exit_status
2239 ' 0
2240 for ac_signal in 1 2 13 15; do
2241   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2242 done
2243 ac_signal=0
2244
2245 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2246 rm -f -r conftest* confdefs.h
2247
2248 $as_echo "/* confdefs.h */" > confdefs.h
2249
2250 # Predefined preprocessor variables.
2251
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_NAME "$PACKAGE_NAME"
2254 _ACEOF
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2258 _ACEOF
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2262 _ACEOF
2263
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_STRING "$PACKAGE_STRING"
2266 _ACEOF
2267
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2270 _ACEOF
2271
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_URL "$PACKAGE_URL"
2274 _ACEOF
2275
2276
2277 # Let the site file select an alternate cache file if it wants to.
2278 # Prefer an explicitly selected file to automatically selected ones.
2279 ac_site_file1=NONE
2280 ac_site_file2=NONE
2281 if test -n "$CONFIG_SITE"; then
2282   # We do not want a PATH search for config.site.
2283   case $CONFIG_SITE in #((
2284     -*)  ac_site_file1=./$CONFIG_SITE;;
2285     */*) ac_site_file1=$CONFIG_SITE;;
2286     *)   ac_site_file1=./$CONFIG_SITE;;
2287   esac
2288 elif test "x$prefix" != xNONE; then
2289   ac_site_file1=$prefix/share/config.site
2290   ac_site_file2=$prefix/etc/config.site
2291 else
2292   ac_site_file1=$ac_default_prefix/share/config.site
2293   ac_site_file2=$ac_default_prefix/etc/config.site
2294 fi
2295 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2296 do
2297   test "x$ac_site_file" = xNONE && continue
2298   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2299     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2300 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2301     sed 's/^/| /' "$ac_site_file" >&5
2302     . "$ac_site_file" \
2303       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2305 as_fn_error $? "failed to load site script $ac_site_file
2306 See \`config.log' for more details" "$LINENO" 5; }
2307   fi
2308 done
2309
2310 if test -r "$cache_file"; then
2311   # Some versions of bash will fail to source /dev/null (special files
2312   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2313   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2314     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2315 $as_echo "$as_me: loading cache $cache_file" >&6;}
2316     case $cache_file in
2317       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2318       *)                      . "./$cache_file";;
2319     esac
2320   fi
2321 else
2322   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2323 $as_echo "$as_me: creating cache $cache_file" >&6;}
2324   >$cache_file
2325 fi
2326
2327 # Check that the precious variables saved in the cache have kept the same
2328 # value.
2329 ac_cache_corrupted=false
2330 for ac_var in $ac_precious_vars; do
2331   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2332   eval ac_new_set=\$ac_env_${ac_var}_set
2333   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2334   eval ac_new_val=\$ac_env_${ac_var}_value
2335   case $ac_old_set,$ac_new_set in
2336     set,)
2337       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2338 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2339       ac_cache_corrupted=: ;;
2340     ,set)
2341       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2342 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2343       ac_cache_corrupted=: ;;
2344     ,);;
2345     *)
2346       if test "x$ac_old_val" != "x$ac_new_val"; then
2347         # differences in whitespace do not lead to failure.
2348         ac_old_val_w=`echo x $ac_old_val`
2349         ac_new_val_w=`echo x $ac_new_val`
2350         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2351           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2352 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2353           ac_cache_corrupted=:
2354         else
2355           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2356 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2357           eval $ac_var=\$ac_old_val
2358         fi
2359         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2360 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2361         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2362 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2363       fi;;
2364   esac
2365   # Pass precious variables to config.status.
2366   if test "$ac_new_set" = set; then
2367     case $ac_new_val in
2368     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2369     *) ac_arg=$ac_var=$ac_new_val ;;
2370     esac
2371     case " $ac_configure_args " in
2372       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2373       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2374     esac
2375   fi
2376 done
2377 if $ac_cache_corrupted; then
2378   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2380   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2381 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2382   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2383 fi
2384 ## -------------------- ##
2385 ## Main body of script. ##
2386 ## -------------------- ##
2387
2388 ac_ext=c
2389 ac_cpp='$CPP $CPPFLAGS'
2390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2393
2394
2395 ac_aux_dir=
2396 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2397   if test -f "$ac_dir/install-sh"; then
2398     ac_aux_dir=$ac_dir
2399     ac_install_sh="$ac_aux_dir/install-sh -c"
2400     break
2401   elif test -f "$ac_dir/install.sh"; then
2402     ac_aux_dir=$ac_dir
2403     ac_install_sh="$ac_aux_dir/install.sh -c"
2404     break
2405   elif test -f "$ac_dir/shtool"; then
2406     ac_aux_dir=$ac_dir
2407     ac_install_sh="$ac_aux_dir/shtool install -c"
2408     break
2409   fi
2410 done
2411 if test -z "$ac_aux_dir"; then
2412   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2413 fi
2414
2415 # These three variables are undocumented and unsupported,
2416 # and are intended to be withdrawn in a future Autoconf release.
2417 # They can cause serious problems if a builder's source tree is in a directory
2418 # whose full name contains unusual characters.
2419 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2420 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2421 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2422
2423
2424 # Make sure we can run config.sub.
2425 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2426   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2427
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2429 $as_echo_n "checking build system type... " >&6; }
2430 if ${ac_cv_build+:} false; then :
2431   $as_echo_n "(cached) " >&6
2432 else
2433   ac_build_alias=$build_alias
2434 test "x$ac_build_alias" = x &&
2435   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2436 test "x$ac_build_alias" = x &&
2437   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2440
2441 fi
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2443 $as_echo "$ac_cv_build" >&6; }
2444 case $ac_cv_build in
2445 *-*-*) ;;
2446 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2447 esac
2448 build=$ac_cv_build
2449 ac_save_IFS=$IFS; IFS='-'
2450 set x $ac_cv_build
2451 shift
2452 build_cpu=$1
2453 build_vendor=$2
2454 shift; shift
2455 # Remember, the first character of IFS is used to create $*,
2456 # except with old shells:
2457 build_os=$*
2458 IFS=$ac_save_IFS
2459 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2460
2461
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2463 $as_echo_n "checking host system type... " >&6; }
2464 if ${ac_cv_host+:} false; then :
2465   $as_echo_n "(cached) " >&6
2466 else
2467   if test "x$host_alias" = x; then
2468   ac_cv_host=$ac_cv_build
2469 else
2470   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2471     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2472 fi
2473
2474 fi
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2476 $as_echo "$ac_cv_host" >&6; }
2477 case $ac_cv_host in
2478 *-*-*) ;;
2479 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2480 esac
2481 host=$ac_cv_host
2482 ac_save_IFS=$IFS; IFS='-'
2483 set x $ac_cv_host
2484 shift
2485 host_cpu=$1
2486 host_vendor=$2
2487 shift; shift
2488 # Remember, the first character of IFS is used to create $*,
2489 # except with old shells:
2490 host_os=$*
2491 IFS=$ac_save_IFS
2492 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2493
2494
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2496 $as_echo_n "checking target system type... " >&6; }
2497 if ${ac_cv_target+:} false; then :
2498   $as_echo_n "(cached) " >&6
2499 else
2500   if test "x$target_alias" = x; then
2501   ac_cv_target=$ac_cv_host
2502 else
2503   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2504     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2505 fi
2506
2507 fi
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2509 $as_echo "$ac_cv_target" >&6; }
2510 case $ac_cv_target in
2511 *-*-*) ;;
2512 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2513 esac
2514 target=$ac_cv_target
2515 ac_save_IFS=$IFS; IFS='-'
2516 set x $ac_cv_target
2517 shift
2518 target_cpu=$1
2519 target_vendor=$2
2520 shift; shift
2521 # Remember, the first character of IFS is used to create $*,
2522 # except with old shells:
2523 target_os=$*
2524 IFS=$ac_save_IFS
2525 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2526
2527
2528 # The aliases save the names the user supplied, while $host etc.
2529 # will get canonicalized.
2530 test -n "$target_alias" &&
2531   test "$program_prefix$program_suffix$program_transform_name" = \
2532     NONENONEs,x,x, &&
2533   program_prefix=${target_alias}-
2534
2535
2536
2537
2538 am__api_version='1.14'
2539
2540 # Find a good install program.  We prefer a C program (faster),
2541 # so one script is as good as another.  But avoid the broken or
2542 # incompatible versions:
2543 # SysV /etc/install, /usr/sbin/install
2544 # SunOS /usr/etc/install
2545 # IRIX /sbin/install
2546 # AIX /bin/install
2547 # AmigaOS /C/install, which installs bootblocks on floppy discs
2548 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2549 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2550 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2551 # OS/2's system install, which has a completely different semantic
2552 # ./install, which can be erroneously created by make from ./install.sh.
2553 # Reject install programs that cannot install multiple files.
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2555 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2556 if test -z "$INSTALL"; then
2557 if ${ac_cv_path_install+:} false; then :
2558   $as_echo_n "(cached) " >&6
2559 else
2560   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 for as_dir in $PATH
2562 do
2563   IFS=$as_save_IFS
2564   test -z "$as_dir" && as_dir=.
2565     # Account for people who put trailing slashes in PATH elements.
2566 case $as_dir/ in #((
2567   ./ | .// | /[cC]/* | \
2568   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2569   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2570   /usr/ucb/* ) ;;
2571   *)
2572     # OSF1 and SCO ODT 3.0 have their own names for install.
2573     # Don't use installbsd from OSF since it installs stuff as root
2574     # by default.
2575     for ac_prog in ginstall scoinst install; do
2576       for ac_exec_ext in '' $ac_executable_extensions; do
2577         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2578           if test $ac_prog = install &&
2579             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2580             # AIX install.  It has an incompatible calling convention.
2581             :
2582           elif test $ac_prog = install &&
2583             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2584             # program-specific install script used by HP pwplus--don't use.
2585             :
2586           else
2587             rm -rf conftest.one conftest.two conftest.dir
2588             echo one > conftest.one
2589             echo two > conftest.two
2590             mkdir conftest.dir
2591             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2592               test -s conftest.one && test -s conftest.two &&
2593               test -s conftest.dir/conftest.one &&
2594               test -s conftest.dir/conftest.two
2595             then
2596               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2597               break 3
2598             fi
2599           fi
2600         fi
2601       done
2602     done
2603     ;;
2604 esac
2605
2606   done
2607 IFS=$as_save_IFS
2608
2609 rm -rf conftest.one conftest.two conftest.dir
2610
2611 fi
2612   if test "${ac_cv_path_install+set}" = set; then
2613     INSTALL=$ac_cv_path_install
2614   else
2615     # As a last resort, use the slow shell script.  Don't cache a
2616     # value for INSTALL within a source directory, because that will
2617     # break other packages using the cache if that directory is
2618     # removed, or if the value is a relative name.
2619     INSTALL=$ac_install_sh
2620   fi
2621 fi
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2623 $as_echo "$INSTALL" >&6; }
2624
2625 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2626 # It thinks the first close brace ends the variable substitution.
2627 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2628
2629 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2630
2631 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2632
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2634 $as_echo_n "checking whether build environment is sane... " >&6; }
2635 # Reject unsafe characters in $srcdir or the absolute working directory
2636 # name.  Accept space and tab only in the latter.
2637 am_lf='
2638 '
2639 case `pwd` in
2640   *[\\\"\#\$\&\'\`$am_lf]*)
2641     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2642 esac
2643 case $srcdir in
2644   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2645     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2646 esac
2647
2648 # Do 'set' in a subshell so we don't clobber the current shell's
2649 # arguments.  Must try -L first in case configure is actually a
2650 # symlink; some systems play weird games with the mod time of symlinks
2651 # (eg FreeBSD returns the mod time of the symlink's containing
2652 # directory).
2653 if (
2654    am_has_slept=no
2655    for am_try in 1 2; do
2656      echo "timestamp, slept: $am_has_slept" > conftest.file
2657      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2658      if test "$*" = "X"; then
2659         # -L didn't work.
2660         set X `ls -t "$srcdir/configure" conftest.file`
2661      fi
2662      if test "$*" != "X $srcdir/configure conftest.file" \
2663         && test "$*" != "X conftest.file $srcdir/configure"; then
2664
2665         # If neither matched, then we have a broken ls.  This can happen
2666         # if, for instance, CONFIG_SHELL is bash and it inherits a
2667         # broken ls alias from the environment.  This has actually
2668         # happened.  Such a system could not be considered "sane".
2669         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2670   alias in your environment" "$LINENO" 5
2671      fi
2672      if test "$2" = conftest.file || test $am_try -eq 2; then
2673        break
2674      fi
2675      # Just in case.
2676      sleep 1
2677      am_has_slept=yes
2678    done
2679    test "$2" = conftest.file
2680    )
2681 then
2682    # Ok.
2683    :
2684 else
2685    as_fn_error $? "newly created file is older than distributed files!
2686 Check your system clock" "$LINENO" 5
2687 fi
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2689 $as_echo "yes" >&6; }
2690 # If we didn't sleep, we still need to ensure time stamps of config.status and
2691 # generated files are strictly newer.
2692 am_sleep_pid=
2693 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2694   ( sleep 1 ) &
2695   am_sleep_pid=$!
2696 fi
2697
2698 rm -f conftest.file
2699
2700 test "$program_prefix" != NONE &&
2701   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2702 # Use a double $ so make ignores it.
2703 test "$program_suffix" != NONE &&
2704   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2705 # Double any \ or $.
2706 # By default was `s,x,x', remove it if useless.
2707 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2708 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2709
2710 # expand $ac_aux_dir to an absolute path
2711 am_aux_dir=`cd $ac_aux_dir && pwd`
2712
2713 if test x"${MISSING+set}" != xset; then
2714   case $am_aux_dir in
2715   *\ * | *\     *)
2716     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2717   *)
2718     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2719   esac
2720 fi
2721 # Use eval to expand $SHELL
2722 if eval "$MISSING --is-lightweight"; then
2723   am_missing_run="$MISSING "
2724 else
2725   am_missing_run=
2726   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2727 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2728 fi
2729
2730 if test x"${install_sh}" != xset; then
2731   case $am_aux_dir in
2732   *\ * | *\     *)
2733     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2734   *)
2735     install_sh="\${SHELL} $am_aux_dir/install-sh"
2736   esac
2737 fi
2738
2739 # Installed binaries are usually stripped using 'strip' when the user
2740 # run "make install-strip".  However 'strip' might not be the right
2741 # tool to use in cross-compilation environments, therefore Automake
2742 # will honor the 'STRIP' environment variable to overrule this program.
2743 if test "$cross_compiling" != no; then
2744   if test -n "$ac_tool_prefix"; then
2745   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2746 set dummy ${ac_tool_prefix}strip; ac_word=$2
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2748 $as_echo_n "checking for $ac_word... " >&6; }
2749 if ${ac_cv_prog_STRIP+:} false; then :
2750   $as_echo_n "(cached) " >&6
2751 else
2752   if test -n "$STRIP"; then
2753   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2754 else
2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 for as_dir in $PATH
2757 do
2758   IFS=$as_save_IFS
2759   test -z "$as_dir" && as_dir=.
2760     for ac_exec_ext in '' $ac_executable_extensions; do
2761   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2762     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2764     break 2
2765   fi
2766 done
2767   done
2768 IFS=$as_save_IFS
2769
2770 fi
2771 fi
2772 STRIP=$ac_cv_prog_STRIP
2773 if test -n "$STRIP"; then
2774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2775 $as_echo "$STRIP" >&6; }
2776 else
2777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2778 $as_echo "no" >&6; }
2779 fi
2780
2781
2782 fi
2783 if test -z "$ac_cv_prog_STRIP"; then
2784   ac_ct_STRIP=$STRIP
2785   # Extract the first word of "strip", so it can be a program name with args.
2786 set dummy strip; ac_word=$2
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788 $as_echo_n "checking for $ac_word... " >&6; }
2789 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2790   $as_echo_n "(cached) " >&6
2791 else
2792   if test -n "$ac_ct_STRIP"; then
2793   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2794 else
2795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 for as_dir in $PATH
2797 do
2798   IFS=$as_save_IFS
2799   test -z "$as_dir" && as_dir=.
2800     for ac_exec_ext in '' $ac_executable_extensions; do
2801   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2802     ac_cv_prog_ac_ct_STRIP="strip"
2803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804     break 2
2805   fi
2806 done
2807   done
2808 IFS=$as_save_IFS
2809
2810 fi
2811 fi
2812 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2813 if test -n "$ac_ct_STRIP"; then
2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2815 $as_echo "$ac_ct_STRIP" >&6; }
2816 else
2817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2819 fi
2820
2821   if test "x$ac_ct_STRIP" = x; then
2822     STRIP=":"
2823   else
2824     case $cross_compiling:$ac_tool_warned in
2825 yes:)
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2828 ac_tool_warned=yes ;;
2829 esac
2830     STRIP=$ac_ct_STRIP
2831   fi
2832 else
2833   STRIP="$ac_cv_prog_STRIP"
2834 fi
2835
2836 fi
2837 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2838
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2840 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2841 if test -z "$MKDIR_P"; then
2842   if ${ac_cv_path_mkdir+:} false; then :
2843   $as_echo_n "(cached) " >&6
2844 else
2845   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2847 do
2848   IFS=$as_save_IFS
2849   test -z "$as_dir" && as_dir=.
2850     for ac_prog in mkdir gmkdir; do
2851          for ac_exec_ext in '' $ac_executable_extensions; do
2852            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2853            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2854              'mkdir (GNU coreutils) '* | \
2855              'mkdir (coreutils) '* | \
2856              'mkdir (fileutils) '4.1*)
2857                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2858                break 3;;
2859            esac
2860          done
2861        done
2862   done
2863 IFS=$as_save_IFS
2864
2865 fi
2866
2867   test -d ./--version && rmdir ./--version
2868   if test "${ac_cv_path_mkdir+set}" = set; then
2869     MKDIR_P="$ac_cv_path_mkdir -p"
2870   else
2871     # As a last resort, use the slow shell script.  Don't cache a
2872     # value for MKDIR_P within a source directory, because that will
2873     # break other packages using the cache if that directory is
2874     # removed, or if the value is a relative name.
2875     MKDIR_P="$ac_install_sh -d"
2876   fi
2877 fi
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2879 $as_echo "$MKDIR_P" >&6; }
2880
2881 for ac_prog in gawk mawk nawk awk
2882 do
2883   # Extract the first word of "$ac_prog", so it can be a program name with args.
2884 set dummy $ac_prog; ac_word=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if ${ac_cv_prog_AWK+:} false; then :
2888   $as_echo_n "(cached) " >&6
2889 else
2890   if test -n "$AWK"; then
2891   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2892 else
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 for as_dir in $PATH
2895 do
2896   IFS=$as_save_IFS
2897   test -z "$as_dir" && as_dir=.
2898     for ac_exec_ext in '' $ac_executable_extensions; do
2899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900     ac_cv_prog_AWK="$ac_prog"
2901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902     break 2
2903   fi
2904 done
2905   done
2906 IFS=$as_save_IFS
2907
2908 fi
2909 fi
2910 AWK=$ac_cv_prog_AWK
2911 if test -n "$AWK"; then
2912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2913 $as_echo "$AWK" >&6; }
2914 else
2915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 $as_echo "no" >&6; }
2917 fi
2918
2919
2920   test -n "$AWK" && break
2921 done
2922
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2924 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2925 set x ${MAKE-make}
2926 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2927 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2928   $as_echo_n "(cached) " >&6
2929 else
2930   cat >conftest.make <<\_ACEOF
2931 SHELL = /bin/sh
2932 all:
2933         @echo '@@@%%%=$(MAKE)=@@@%%%'
2934 _ACEOF
2935 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2936 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2937   *@@@%%%=?*=@@@%%%*)
2938     eval ac_cv_prog_make_${ac_make}_set=yes;;
2939   *)
2940     eval ac_cv_prog_make_${ac_make}_set=no;;
2941 esac
2942 rm -f conftest.make
2943 fi
2944 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2946 $as_echo "yes" >&6; }
2947   SET_MAKE=
2948 else
2949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2951   SET_MAKE="MAKE=${MAKE-make}"
2952 fi
2953
2954 rm -rf .tst 2>/dev/null
2955 mkdir .tst 2>/dev/null
2956 if test -d .tst; then
2957   am__leading_dot=.
2958 else
2959   am__leading_dot=_
2960 fi
2961 rmdir .tst 2>/dev/null
2962
2963 # Check whether --enable-silent-rules was given.
2964 if test "${enable_silent_rules+set}" = set; then :
2965   enableval=$enable_silent_rules;
2966 fi
2967
2968 case $enable_silent_rules in # (((
2969   yes) AM_DEFAULT_VERBOSITY=0;;
2970    no) AM_DEFAULT_VERBOSITY=1;;
2971     *) AM_DEFAULT_VERBOSITY=1;;
2972 esac
2973 am_make=${MAKE-make}
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2975 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2976 if ${am_cv_make_support_nested_variables+:} false; then :
2977   $as_echo_n "(cached) " >&6
2978 else
2979   if $as_echo 'TRUE=$(BAR$(V))
2980 BAR0=false
2981 BAR1=true
2982 V=1
2983 am__doit:
2984         @$(TRUE)
2985 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2986   am_cv_make_support_nested_variables=yes
2987 else
2988   am_cv_make_support_nested_variables=no
2989 fi
2990 fi
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2992 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2993 if test $am_cv_make_support_nested_variables = yes; then
2994     AM_V='$(V)'
2995   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2996 else
2997   AM_V=$AM_DEFAULT_VERBOSITY
2998   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2999 fi
3000 AM_BACKSLASH='\'
3001
3002 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3003   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3004   # is not polluted with repeated "-I."
3005   am__isrc=' -I$(srcdir)'
3006   # test to see if srcdir already configured
3007   if test -f $srcdir/config.status; then
3008     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3009   fi
3010 fi
3011
3012 # test whether we have cygpath
3013 if test -z "$CYGPATH_W"; then
3014   if (cygpath --version) >/dev/null 2>/dev/null; then
3015     CYGPATH_W='cygpath -w'
3016   else
3017     CYGPATH_W=echo
3018   fi
3019 fi
3020
3021
3022 # Define the identity of the package.
3023  PACKAGE='gst-rtsp-server'
3024  VERSION='1.4.1'
3025
3026
3027 cat >>confdefs.h <<_ACEOF
3028 #define PACKAGE "$PACKAGE"
3029 _ACEOF
3030
3031
3032 cat >>confdefs.h <<_ACEOF
3033 #define VERSION "$VERSION"
3034 _ACEOF
3035
3036 # Some tools Automake needs.
3037
3038 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3039
3040
3041 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3042
3043
3044 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3045
3046
3047 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3048
3049
3050 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3051
3052 # For better backward compatibility.  To be removed once Automake 1.9.x
3053 # dies out for good.  For more background, see:
3054 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3055 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3056 mkdir_p='$(MKDIR_P)'
3057
3058 # We need awk for the "check" target.  The system "awk" is bad on
3059 # some platforms.
3060 # Always define AMTAR for backward compatibility.  Yes, it's still used
3061 # in the wild :-(  We should find a proper way to deprecate it ...
3062 AMTAR='$${TAR-tar}'
3063
3064
3065 # We'll loop over all known methods to create a tar archive until one works.
3066 _am_tools='gnutar plaintar pax cpio none'
3067
3068 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3069       # There is notably a 21 bits limit for the UID and the GID.  In fact,
3070       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3071       # and bug#13588).
3072       am_max_uid=2097151 # 2^21 - 1
3073       am_max_gid=$am_max_uid
3074       # The $UID and $GID variables are not portable, so we need to resort
3075       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3076       # below are definitely unexpected, so allow the users to see them
3077       # (that is, avoid stderr redirection).
3078       am_uid=`id -u || echo unknown`
3079       am_gid=`id -g || echo unknown`
3080       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3081 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3082       if test $am_uid -le $am_max_uid; then
3083          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3084 $as_echo "yes" >&6; }
3085       else
3086          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087 $as_echo "no" >&6; }
3088          _am_tools=none
3089       fi
3090       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3091 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3092       if test $am_gid -le $am_max_gid; then
3093          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3094 $as_echo "yes" >&6; }
3095       else
3096         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3098         _am_tools=none
3099       fi
3100
3101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3102 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3103
3104   # Go ahead even if we have the value already cached.  We do so because we
3105   # need to set the values for the 'am__tar' and 'am__untar' variables.
3106   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3107
3108   for _am_tool in $_am_tools; do
3109     case $_am_tool in
3110     gnutar)
3111       for _am_tar in tar gnutar gtar; do
3112         { echo "$as_me:$LINENO: $_am_tar --version" >&5
3113    ($_am_tar --version) >&5 2>&5
3114    ac_status=$?
3115    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116    (exit $ac_status); } && break
3117       done
3118       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3119       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3120       am__untar="$_am_tar -xf -"
3121       ;;
3122     plaintar)
3123       # Must skip GNU tar: if it does not support --format= it doesn't create
3124       # ustar tarball either.
3125       (tar --version) >/dev/null 2>&1 && continue
3126       am__tar='tar chf - "$$tardir"'
3127       am__tar_='tar chf - "$tardir"'
3128       am__untar='tar xf -'
3129       ;;
3130     pax)
3131       am__tar='pax -L -x ustar -w "$$tardir"'
3132       am__tar_='pax -L -x ustar -w "$tardir"'
3133       am__untar='pax -r'
3134       ;;
3135     cpio)
3136       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3137       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3138       am__untar='cpio -i -H ustar -d'
3139       ;;
3140     none)
3141       am__tar=false
3142       am__tar_=false
3143       am__untar=false
3144       ;;
3145     esac
3146
3147     # If the value was cached, stop now.  We just wanted to have am__tar
3148     # and am__untar set.
3149     test -n "${am_cv_prog_tar_ustar}" && break
3150
3151     # tar/untar a dummy directory, and stop if the command works.
3152     rm -rf conftest.dir
3153     mkdir conftest.dir
3154     echo GrepMe > conftest.dir/file
3155     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3156    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3157    ac_status=$?
3158    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159    (exit $ac_status); }
3160     rm -rf conftest.dir
3161     if test -s conftest.tar; then
3162       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3163    ($am__untar <conftest.tar) >&5 2>&5
3164    ac_status=$?
3165    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166    (exit $ac_status); }
3167       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3168    (cat conftest.dir/file) >&5 2>&5
3169    ac_status=$?
3170    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171    (exit $ac_status); }
3172       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3173     fi
3174   done
3175   rm -rf conftest.dir
3176
3177   if ${am_cv_prog_tar_ustar+:} false; then :
3178   $as_echo_n "(cached) " >&6
3179 else
3180   am_cv_prog_tar_ustar=$_am_tool
3181 fi
3182
3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3184 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3185
3186
3187
3188
3189
3190
3191 # POSIX will say in a future version that running "rm -f" with no argument
3192 # is OK; and we want to be able to make that assumption in our Makefile
3193 # recipes.  So use an aggressive probe to check that the usage we want is
3194 # actually supported "in the wild" to an acceptable degree.
3195 # See automake bug#10828.
3196 # To make any issue more visible, cause the running configure to be aborted
3197 # by default if the 'rm' program in use doesn't match our expectations; the
3198 # user can still override this though.
3199 if rm -f && rm -fr && rm -rf; then : OK; else
3200   cat >&2 <<'END'
3201 Oops!
3202
3203 Your 'rm' program seems unable to run without file operands specified
3204 on the command line, even when the '-f' option is present.  This is contrary
3205 to the behaviour of most rm programs out there, and not conforming with
3206 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3207
3208 Please tell bug-automake@gnu.org about your system, including the value
3209 of your $PATH and any error possibly output before this message.  This
3210 can help us improve future automake versions.
3211
3212 END
3213   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3214     echo 'Configuration will proceed anyway, since you have set the' >&2
3215     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3216     echo >&2
3217   else
3218     cat >&2 <<'END'
3219 Aborting the configuration process, to ensure you take notice of the issue.
3220
3221 You can download and install GNU coreutils to get an 'rm' implementation
3222 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3223
3224 If you want to complete the configuration process using your problematic
3225 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3226 to "yes", and re-run configure.
3227
3228 END
3229     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3230   fi
3231 fi
3232
3233
3234
3235   PACKAGE_VERSION_MAJOR=$(echo 1.4.1 | cut -d'.' -f1)
3236   PACKAGE_VERSION_MINOR=$(echo 1.4.1 | cut -d'.' -f2)
3237   PACKAGE_VERSION_MICRO=$(echo 1.4.1 | cut -d'.' -f3)
3238
3239
3240
3241
3242
3243
3244
3245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3246 $as_echo_n "checking nano version... " >&6; }
3247
3248   NANO=$(echo 1.4.1 | cut -d'.' -f4)
3249
3250   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3251     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3252 $as_echo "0 (release)" >&6; }
3253     NANO=0
3254     PACKAGE_VERSION_RELEASE=1
3255     GST_GIT="no"
3256   else
3257     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3258 $as_echo "$NANO" >&6; }
3259     PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3260     if test "x$NANO" != "x1" ; then
3261        GST_GIT="no"
3262     else
3263        GST_GIT="yes"
3264     fi
3265   fi
3266   PACKAGE_VERSION_NANO=$NANO
3267
3268
3269
3270
3271
3272
3273 ac_config_headers="$ac_config_headers config.h"
3274
3275
3276
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3278 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3279     # Check whether --enable-maintainer-mode was given.
3280 if test "${enable_maintainer_mode+set}" = set; then :
3281   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3282 else
3283   USE_MAINTAINER_MODE=yes
3284 fi
3285
3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3287 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3288    if test $USE_MAINTAINER_MODE = yes; then
3289   MAINTAINER_MODE_TRUE=
3290   MAINTAINER_MODE_FALSE='#'
3291 else
3292   MAINTAINER_MODE_TRUE='#'
3293   MAINTAINER_MODE_FALSE=
3294 fi
3295
3296   MAINT=$MAINTAINER_MODE_TRUE
3297
3298
3299
3300
3301
3302 # Check whether --enable-silent-rules was given.
3303 if test "${enable_silent_rules+set}" = set; then :
3304   enableval=$enable_silent_rules;
3305 fi
3306
3307 case $enable_silent_rules in # (((
3308   yes) AM_DEFAULT_VERBOSITY=0;;
3309    no) AM_DEFAULT_VERBOSITY=1;;
3310     *) AM_DEFAULT_VERBOSITY=0;;
3311 esac
3312 am_make=${MAKE-make}
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3314 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3315 if ${am_cv_make_support_nested_variables+:} false; then :
3316   $as_echo_n "(cached) " >&6
3317 else
3318   if $as_echo 'TRUE=$(BAR$(V))
3319 BAR0=false
3320 BAR1=true
3321 V=1
3322 am__doit:
3323         @$(TRUE)
3324 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3325   am_cv_make_support_nested_variables=yes
3326 else
3327   am_cv_make_support_nested_variables=no
3328 fi
3329 fi
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3331 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3332 if test $am_cv_make_support_nested_variables = yes; then
3333     AM_V='$(V)'
3334   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3335 else
3336   AM_V=$AM_DEFAULT_VERBOSITY
3337   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3338 fi
3339 AM_BACKSLASH='\'
3340
3341
3342 GST_API_VERSION=1.0
3343
3344
3345 case `pwd` in
3346   *\ * | *\     *)
3347     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3348 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3349 esac
3350
3351
3352
3353 macro_version='2.4.2'
3354 macro_revision='1.3337'
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368 ltmain="$ac_aux_dir/ltmain.sh"
3369
3370 # Backslashify metacharacters that are still active within
3371 # double-quoted strings.
3372 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3373
3374 # Same as above, but do not quote variable references.
3375 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3376
3377 # Sed substitution to delay expansion of an escaped shell variable in a
3378 # double_quote_subst'ed string.
3379 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3380
3381 # Sed substitution to delay expansion of an escaped single quote.
3382 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3383
3384 # Sed substitution to avoid accidental globbing in evaled expressions
3385 no_glob_subst='s/\*/\\\*/g'
3386
3387 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3388 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3389 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3390
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3392 $as_echo_n "checking how to print strings... " >&6; }
3393 # Test print first, because it will be a builtin if present.
3394 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3395    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3396   ECHO='print -r --'
3397 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3398   ECHO='printf %s\n'
3399 else
3400   # Use this function as a fallback that always works.
3401   func_fallback_echo ()
3402   {
3403     eval 'cat <<_LTECHO_EOF
3404 $1
3405 _LTECHO_EOF'
3406   }
3407   ECHO='func_fallback_echo'
3408 fi
3409
3410 # func_echo_all arg...
3411 # Invoke $ECHO with all args, space-separated.
3412 func_echo_all ()
3413 {
3414     $ECHO ""
3415 }
3416
3417 case "$ECHO" in
3418   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3419 $as_echo "printf" >&6; } ;;
3420   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3421 $as_echo "print -r" >&6; } ;;
3422   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3423 $as_echo "cat" >&6; } ;;
3424 esac
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439 DEPDIR="${am__leading_dot}deps"
3440
3441 ac_config_commands="$ac_config_commands depfiles"
3442
3443
3444 am_make=${MAKE-make}
3445 cat > confinc << 'END'
3446 am__doit:
3447         @echo this is the am__doit target
3448 .PHONY: am__doit
3449 END
3450 # If we don't find an include directive, just comment out the code.
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3452 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3453 am__include="#"
3454 am__quote=
3455 _am_result=none
3456 # First try GNU make style include.
3457 echo "include confinc" > confmf
3458 # Ignore all kinds of additional output from 'make'.
3459 case `$am_make -s -f confmf 2> /dev/null` in #(
3460 *the\ am__doit\ target*)
3461   am__include=include
3462   am__quote=
3463   _am_result=GNU
3464   ;;
3465 esac
3466 # Now try BSD make style include.
3467 if test "$am__include" = "#"; then
3468    echo '.include "confinc"' > confmf
3469    case `$am_make -s -f confmf 2> /dev/null` in #(
3470    *the\ am__doit\ target*)
3471      am__include=.include
3472      am__quote="\""
3473      _am_result=BSD
3474      ;;
3475    esac
3476 fi
3477
3478
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3480 $as_echo "$_am_result" >&6; }
3481 rm -f confinc confmf
3482
3483 # Check whether --enable-dependency-tracking was given.
3484 if test "${enable_dependency_tracking+set}" = set; then :
3485   enableval=$enable_dependency_tracking;
3486 fi
3487
3488 if test "x$enable_dependency_tracking" != xno; then
3489   am_depcomp="$ac_aux_dir/depcomp"
3490   AMDEPBACKSLASH='\'
3491   am__nodep='_no'
3492 fi
3493  if test "x$enable_dependency_tracking" != xno; then
3494   AMDEP_TRUE=
3495   AMDEP_FALSE='#'
3496 else
3497   AMDEP_TRUE='#'
3498   AMDEP_FALSE=
3499 fi
3500
3501
3502 ac_ext=c
3503 ac_cpp='$CPP $CPPFLAGS'
3504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3507 if test -n "$ac_tool_prefix"; then
3508   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3509 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3511 $as_echo_n "checking for $ac_word... " >&6; }
3512 if ${ac_cv_prog_CC+:} false; then :
3513   $as_echo_n "(cached) " >&6
3514 else
3515   if test -n "$CC"; then
3516   ac_cv_prog_CC="$CC" # Let the user override the test.
3517 else
3518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519 for as_dir in $PATH
3520 do
3521   IFS=$as_save_IFS
3522   test -z "$as_dir" && as_dir=.
3523     for ac_exec_ext in '' $ac_executable_extensions; do
3524   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3525     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3527     break 2
3528   fi
3529 done
3530   done
3531 IFS=$as_save_IFS
3532
3533 fi
3534 fi
3535 CC=$ac_cv_prog_CC
3536 if test -n "$CC"; then
3537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3538 $as_echo "$CC" >&6; }
3539 else
3540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3542 fi
3543
3544
3545 fi
3546 if test -z "$ac_cv_prog_CC"; then
3547   ac_ct_CC=$CC
3548   # Extract the first word of "gcc", so it can be a program name with args.
3549 set dummy gcc; ac_word=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3553   $as_echo_n "(cached) " >&6
3554 else
3555   if test -n "$ac_ct_CC"; then
3556   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3557 else
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 for as_dir in $PATH
3560 do
3561   IFS=$as_save_IFS
3562   test -z "$as_dir" && as_dir=.
3563     for ac_exec_ext in '' $ac_executable_extensions; do
3564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3565     ac_cv_prog_ac_ct_CC="gcc"
3566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567     break 2
3568   fi
3569 done
3570   done
3571 IFS=$as_save_IFS
3572
3573 fi
3574 fi
3575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3576 if test -n "$ac_ct_CC"; then
3577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3578 $as_echo "$ac_ct_CC" >&6; }
3579 else
3580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3582 fi
3583
3584   if test "x$ac_ct_CC" = x; then
3585     CC=""
3586   else
3587     case $cross_compiling:$ac_tool_warned in
3588 yes:)
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3591 ac_tool_warned=yes ;;
3592 esac
3593     CC=$ac_ct_CC
3594   fi
3595 else
3596   CC="$ac_cv_prog_CC"
3597 fi
3598
3599 if test -z "$CC"; then
3600           if test -n "$ac_tool_prefix"; then
3601     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3602 set dummy ${ac_tool_prefix}cc; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_CC+:} false; then :
3606   $as_echo_n "(cached) " >&6
3607 else
3608   if test -n "$CC"; then
3609   ac_cv_prog_CC="$CC" # Let the user override the test.
3610 else
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in $PATH
3613 do
3614   IFS=$as_save_IFS
3615   test -z "$as_dir" && as_dir=.
3616     for ac_exec_ext in '' $ac_executable_extensions; do
3617   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618     ac_cv_prog_CC="${ac_tool_prefix}cc"
3619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620     break 2
3621   fi
3622 done
3623   done
3624 IFS=$as_save_IFS
3625
3626 fi
3627 fi
3628 CC=$ac_cv_prog_CC
3629 if test -n "$CC"; then
3630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3631 $as_echo "$CC" >&6; }
3632 else
3633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3635 fi
3636
3637
3638   fi
3639 fi
3640 if test -z "$CC"; then
3641   # Extract the first word of "cc", so it can be a program name with args.
3642 set dummy cc; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_prog_CC+:} false; then :
3646   $as_echo_n "(cached) " >&6
3647 else
3648   if test -n "$CC"; then
3649   ac_cv_prog_CC="$CC" # Let the user override the test.
3650 else
3651   ac_prog_rejected=no
3652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 for as_dir in $PATH
3654 do
3655   IFS=$as_save_IFS
3656   test -z "$as_dir" && as_dir=.
3657     for ac_exec_ext in '' $ac_executable_extensions; do
3658   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3659     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3660        ac_prog_rejected=yes
3661        continue
3662      fi
3663     ac_cv_prog_CC="cc"
3664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665     break 2
3666   fi
3667 done
3668   done
3669 IFS=$as_save_IFS
3670
3671 if test $ac_prog_rejected = yes; then
3672   # We found a bogon in the path, so make sure we never use it.
3673   set dummy $ac_cv_prog_CC
3674   shift
3675   if test $# != 0; then
3676     # We chose a different compiler from the bogus one.
3677     # However, it has the same basename, so the bogon will be chosen
3678     # first if we set CC to just the basename; use the full file name.
3679     shift
3680     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3681   fi
3682 fi
3683 fi
3684 fi
3685 CC=$ac_cv_prog_CC
3686 if test -n "$CC"; then
3687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688 $as_echo "$CC" >&6; }
3689 else
3690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3692 fi
3693
3694
3695 fi
3696 if test -z "$CC"; then
3697   if test -n "$ac_tool_prefix"; then
3698   for ac_prog in cl.exe
3699   do
3700     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3701 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if ${ac_cv_prog_CC+:} false; then :
3705   $as_echo_n "(cached) " >&6
3706 else
3707   if test -n "$CC"; then
3708   ac_cv_prog_CC="$CC" # Let the user override the test.
3709 else
3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 for as_dir in $PATH
3712 do
3713   IFS=$as_save_IFS
3714   test -z "$as_dir" && as_dir=.
3715     for ac_exec_ext in '' $ac_executable_extensions; do
3716   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3717     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719     break 2
3720   fi
3721 done
3722   done
3723 IFS=$as_save_IFS
3724
3725 fi
3726 fi
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 fi
3735
3736
3737     test -n "$CC" && break
3738   done
3739 fi
3740 if test -z "$CC"; then
3741   ac_ct_CC=$CC
3742   for ac_prog in cl.exe
3743 do
3744   # Extract the first word of "$ac_prog", so it can be a program name with args.
3745 set dummy $ac_prog; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3749   $as_echo_n "(cached) " >&6
3750 else
3751   if test -n "$ac_ct_CC"; then
3752   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3753 else
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 for as_dir in $PATH
3756 do
3757   IFS=$as_save_IFS
3758   test -z "$as_dir" && as_dir=.
3759     for ac_exec_ext in '' $ac_executable_extensions; do
3760   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3761     ac_cv_prog_ac_ct_CC="$ac_prog"
3762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763     break 2
3764   fi
3765 done
3766   done
3767 IFS=$as_save_IFS
3768
3769 fi
3770 fi
3771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3772 if test -n "$ac_ct_CC"; then
3773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3774 $as_echo "$ac_ct_CC" >&6; }
3775 else
3776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3778 fi
3779
3780
3781   test -n "$ac_ct_CC" && break
3782 done
3783
3784   if test "x$ac_ct_CC" = x; then
3785     CC=""
3786   else
3787     case $cross_compiling:$ac_tool_warned in
3788 yes:)
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3791 ac_tool_warned=yes ;;
3792 esac
3793     CC=$ac_ct_CC
3794   fi
3795 fi
3796
3797 fi
3798
3799
3800 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802 as_fn_error $? "no acceptable C compiler found in \$PATH
3803 See \`config.log' for more details" "$LINENO" 5; }
3804
3805 # Provide some information about the compiler.
3806 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3807 set X $ac_compile
3808 ac_compiler=$2
3809 for ac_option in --version -v -V -qversion; do
3810   { { ac_try="$ac_compiler $ac_option >&5"
3811 case "(($ac_try" in
3812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813   *) ac_try_echo=$ac_try;;
3814 esac
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 $as_echo "$ac_try_echo"; } >&5
3817   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3818   ac_status=$?
3819   if test -s conftest.err; then
3820     sed '10a\
3821 ... rest of stderr output deleted ...
3822          10q' conftest.err >conftest.er1
3823     cat conftest.er1 >&5
3824   fi
3825   rm -f conftest.er1 conftest.err
3826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827   test $ac_status = 0; }
3828 done
3829
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h.  */
3832
3833 int
3834 main ()
3835 {
3836
3837   ;
3838   return 0;
3839 }
3840 _ACEOF
3841 ac_clean_files_save=$ac_clean_files
3842 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3843 # Try to create an executable without -o first, disregard a.out.
3844 # It will help us diagnose broken compilers, and finding out an intuition
3845 # of exeext.
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3847 $as_echo_n "checking whether the C compiler works... " >&6; }
3848 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3849
3850 # The possible output files:
3851 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3852
3853 ac_rmfiles=
3854 for ac_file in $ac_files
3855 do
3856   case $ac_file in
3857     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3858     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3859   esac
3860 done
3861 rm -f $ac_rmfiles
3862
3863 if { { ac_try="$ac_link_default"
3864 case "(($ac_try" in
3865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866   *) ac_try_echo=$ac_try;;
3867 esac
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870   (eval "$ac_link_default") 2>&5
3871   ac_status=$?
3872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873   test $ac_status = 0; }; then :
3874   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3875 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3876 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3877 # so that the user can short-circuit this test for compilers unknown to
3878 # Autoconf.
3879 for ac_file in $ac_files ''
3880 do
3881   test -f "$ac_file" || continue
3882   case $ac_file in
3883     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3884         ;;
3885     [ab].out )
3886         # We found the default executable, but exeext='' is most
3887         # certainly right.
3888         break;;
3889     *.* )
3890         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3891         then :; else
3892            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3893         fi
3894         # We set ac_cv_exeext here because the later test for it is not
3895         # safe: cross compilers may not add the suffix if given an `-o'
3896         # argument, so we may need to know it at that point already.
3897         # Even if this section looks crufty: it has the advantage of
3898         # actually working.
3899         break;;
3900     * )
3901         break;;
3902   esac
3903 done
3904 test "$ac_cv_exeext" = no && ac_cv_exeext=
3905
3906 else
3907   ac_file=''
3908 fi
3909 if test -z "$ac_file"; then :
3910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3912 $as_echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3914
3915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3917 as_fn_error 77 "C compiler cannot create executables
3918 See \`config.log' for more details" "$LINENO" 5; }
3919 else
3920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3921 $as_echo "yes" >&6; }
3922 fi
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3926 $as_echo "$ac_file" >&6; }
3927 ac_exeext=$ac_cv_exeext
3928
3929 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3930 ac_clean_files=$ac_clean_files_save
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3932 $as_echo_n "checking for suffix of executables... " >&6; }
3933 if { { ac_try="$ac_link"
3934 case "(($ac_try" in
3935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936   *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940   (eval "$ac_link") 2>&5
3941   ac_status=$?
3942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943   test $ac_status = 0; }; then :
3944   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3945 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3946 # work properly (i.e., refer to `conftest.exe'), while it won't with
3947 # `rm'.
3948 for ac_file in conftest.exe conftest conftest.*; do
3949   test -f "$ac_file" || continue
3950   case $ac_file in
3951     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3952     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3953           break;;
3954     * ) break;;
3955   esac
3956 done
3957 else
3958   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3960 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3961 See \`config.log' for more details" "$LINENO" 5; }
3962 fi
3963 rm -f conftest conftest$ac_cv_exeext
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3965 $as_echo "$ac_cv_exeext" >&6; }
3966
3967 rm -f conftest.$ac_ext
3968 EXEEXT=$ac_cv_exeext
3969 ac_exeext=$EXEEXT
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h.  */
3972 #include <stdio.h>
3973 int
3974 main ()
3975 {
3976 FILE *f = fopen ("conftest.out", "w");
3977  return ferror (f) || fclose (f) != 0;
3978
3979   ;
3980   return 0;
3981 }
3982 _ACEOF
3983 ac_clean_files="$ac_clean_files conftest.out"
3984 # Check that the compiler produces executables we can run.  If not, either
3985 # the compiler is broken, or we cross compile.
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3987 $as_echo_n "checking whether we are cross compiling... " >&6; }
3988 if test "$cross_compiling" != yes; then
3989   { { ac_try="$ac_link"
3990 case "(($ac_try" in
3991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992   *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996   (eval "$ac_link") 2>&5
3997   ac_status=$?
3998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999   test $ac_status = 0; }
4000   if { ac_try='./conftest$ac_cv_exeext'
4001   { { case "(($ac_try" in
4002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003   *) ac_try_echo=$ac_try;;
4004 esac
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007   (eval "$ac_try") 2>&5
4008   ac_status=$?
4009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010   test $ac_status = 0; }; }; then
4011     cross_compiling=no
4012   else
4013     if test "$cross_compiling" = maybe; then
4014         cross_compiling=yes
4015     else
4016         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error $? "cannot run C compiled programs.
4019 If you meant to cross compile, use \`--host'.
4020 See \`config.log' for more details" "$LINENO" 5; }
4021     fi
4022   fi
4023 fi
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4025 $as_echo "$cross_compiling" >&6; }
4026
4027 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4028 ac_clean_files=$ac_clean_files_save
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4030 $as_echo_n "checking for suffix of object files... " >&6; }
4031 if ${ac_cv_objext+:} false; then :
4032   $as_echo_n "(cached) " >&6
4033 else
4034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h.  */
4036
4037 int
4038 main ()
4039 {
4040
4041   ;
4042   return 0;
4043 }
4044 _ACEOF
4045 rm -f conftest.o conftest.obj
4046 if { { ac_try="$ac_compile"
4047 case "(($ac_try" in
4048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049   *) ac_try_echo=$ac_try;;
4050 esac
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053   (eval "$ac_compile") 2>&5
4054   ac_status=$?
4055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056   test $ac_status = 0; }; then :
4057   for ac_file in conftest.o conftest.obj conftest.*; do
4058   test -f "$ac_file" || continue;
4059   case $ac_file in
4060     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4061     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4062        break;;
4063   esac
4064 done
4065 else
4066   $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4068
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $? "cannot compute suffix of object files: cannot compile
4072 See \`config.log' for more details" "$LINENO" 5; }
4073 fi
4074 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4075 fi
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4077 $as_echo "$ac_cv_objext" >&6; }
4078 OBJEXT=$ac_cv_objext
4079 ac_objext=$OBJEXT
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4081 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4082 if ${ac_cv_c_compiler_gnu+:} false; then :
4083   $as_echo_n "(cached) " >&6
4084 else
4085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h.  */
4087
4088 int
4089 main ()
4090 {
4091 #ifndef __GNUC__
4092        choke me
4093 #endif
4094
4095   ;
4096   return 0;
4097 }
4098 _ACEOF
4099 if ac_fn_c_try_compile "$LINENO"; then :
4100   ac_compiler_gnu=yes
4101 else
4102   ac_compiler_gnu=no
4103 fi
4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4106
4107 fi
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4109 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4110 if test $ac_compiler_gnu = yes; then
4111   GCC=yes
4112 else
4113   GCC=
4114 fi
4115 ac_test_CFLAGS=${CFLAGS+set}
4116 ac_save_CFLAGS=$CFLAGS
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4118 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4119 if ${ac_cv_prog_cc_g+:} false; then :
4120   $as_echo_n "(cached) " >&6
4121 else
4122   ac_save_c_werror_flag=$ac_c_werror_flag
4123    ac_c_werror_flag=yes
4124    ac_cv_prog_cc_g=no
4125    CFLAGS="-g"
4126    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h.  */
4128
4129 int
4130 main ()
4131 {
4132
4133   ;
4134   return 0;
4135 }
4136 _ACEOF
4137 if ac_fn_c_try_compile "$LINENO"; then :
4138   ac_cv_prog_cc_g=yes
4139 else
4140   CFLAGS=""
4141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h.  */
4143
4144 int
4145 main ()
4146 {
4147
4148   ;
4149   return 0;
4150 }
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153
4154 else
4155   ac_c_werror_flag=$ac_save_c_werror_flag
4156          CFLAGS="-g"
4157          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h.  */
4159
4160 int
4161 main ()
4162 {
4163
4164   ;
4165   return 0;
4166 }
4167 _ACEOF
4168 if ac_fn_c_try_compile "$LINENO"; then :
4169   ac_cv_prog_cc_g=yes
4170 fi
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 fi
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 fi
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176    ac_c_werror_flag=$ac_save_c_werror_flag
4177 fi
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4179 $as_echo "$ac_cv_prog_cc_g" >&6; }
4180 if test "$ac_test_CFLAGS" = set; then
4181   CFLAGS=$ac_save_CFLAGS
4182 elif test $ac_cv_prog_cc_g = yes; then
4183   if test "$GCC" = yes; then
4184     CFLAGS="-g -O2"
4185   else
4186     CFLAGS="-g"
4187   fi
4188 else
4189   if test "$GCC" = yes; then
4190     CFLAGS="-O2"
4191   else
4192     CFLAGS=
4193   fi
4194 fi
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4196 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4197 if ${ac_cv_prog_cc_c89+:} false; then :
4198   $as_echo_n "(cached) " >&6
4199 else
4200   ac_cv_prog_cc_c89=no
4201 ac_save_CC=$CC
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h.  */
4204 #include <stdarg.h>
4205 #include <stdio.h>
4206 struct stat;
4207 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4208 struct buf { int x; };
4209 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4210 static char *e (p, i)
4211      char **p;
4212      int i;
4213 {
4214   return p[i];
4215 }
4216 static char *f (char * (*g) (char **, int), char **p, ...)
4217 {
4218   char *s;
4219   va_list v;
4220   va_start (v,p);
4221   s = g (p, va_arg (v,int));
4222   va_end (v);
4223   return s;
4224 }
4225
4226 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4227    function prototypes and stuff, but not '\xHH' hex character constants.
4228    These don't provoke an error unfortunately, instead are silently treated
4229    as 'x'.  The following induces an error, until -std is added to get
4230    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4231    array size at least.  It's necessary to write '\x00'==0 to get something
4232    that's true only with -std.  */
4233 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4234
4235 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4236    inside strings and character constants.  */
4237 #define FOO(x) 'x'
4238 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4239
4240 int test (int i, double x);
4241 struct s1 {int (*f) (int a);};
4242 struct s2 {int (*f) (double a);};
4243 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4244 int argc;
4245 char **argv;
4246 int
4247 main ()
4248 {
4249 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4250   ;
4251   return 0;
4252 }
4253 _ACEOF
4254 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4255         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4256 do
4257   CC="$ac_save_CC $ac_arg"
4258   if ac_fn_c_try_compile "$LINENO"; then :
4259   ac_cv_prog_cc_c89=$ac_arg
4260 fi
4261 rm -f core conftest.err conftest.$ac_objext
4262   test "x$ac_cv_prog_cc_c89" != "xno" && break
4263 done
4264 rm -f conftest.$ac_ext
4265 CC=$ac_save_CC
4266
4267 fi
4268 # AC_CACHE_VAL
4269 case "x$ac_cv_prog_cc_c89" in
4270   x)
4271     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4272 $as_echo "none needed" >&6; } ;;
4273   xno)
4274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4275 $as_echo "unsupported" >&6; } ;;
4276   *)
4277     CC="$CC $ac_cv_prog_cc_c89"
4278     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4279 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4280 esac
4281 if test "x$ac_cv_prog_cc_c89" != xno; then :
4282
4283 fi
4284
4285 ac_ext=c
4286 ac_cpp='$CPP $CPPFLAGS'
4287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4290
4291 ac_ext=c
4292 ac_cpp='$CPP $CPPFLAGS'
4293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4297 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4298 if ${am_cv_prog_cc_c_o+:} false; then :
4299   $as_echo_n "(cached) " >&6
4300 else
4301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h.  */
4303
4304 int
4305 main ()
4306 {
4307
4308   ;
4309   return 0;
4310 }
4311 _ACEOF
4312   # Make sure it works both with $CC and with simple cc.
4313   # Following AC_PROG_CC_C_O, we do the test twice because some
4314   # compilers refuse to overwrite an existing .o file with -o,
4315   # though they will create one.
4316   am_cv_prog_cc_c_o=yes
4317   for am_i in 1 2; do
4318     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4319    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4320    ac_status=$?
4321    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322    (exit $ac_status); } \
4323          && test -f conftest2.$ac_objext; then
4324       : OK
4325     else
4326       am_cv_prog_cc_c_o=no
4327       break
4328     fi
4329   done
4330   rm -f core conftest*
4331   unset am_i
4332 fi
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4334 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4335 if test "$am_cv_prog_cc_c_o" != yes; then
4336    # Losing compiler, so override with the script.
4337    # FIXME: It is wrong to rewrite CC.
4338    # But if we don't then we get into trouble of one sort or another.
4339    # A longer-term fix would be to have automake use am__CC in this case,
4340    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4341    CC="$am_aux_dir/compile $CC"
4342 fi
4343 ac_ext=c
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348
4349
4350 depcc="$CC"   am_compiler_list=
4351
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4353 $as_echo_n "checking dependency style of $depcc... " >&6; }
4354 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4358   # We make a subdir and do the tests there.  Otherwise we can end up
4359   # making bogus files that we don't know about and never remove.  For
4360   # instance it was reported that on HP-UX the gcc test will end up
4361   # making a dummy file named 'D' -- because '-MD' means "put the output
4362   # in D".
4363   rm -rf conftest.dir
4364   mkdir conftest.dir
4365   # Copy depcomp to subdir because otherwise we won't find it if we're
4366   # using a relative directory.
4367   cp "$am_depcomp" conftest.dir
4368   cd conftest.dir
4369   # We will build objects and dependencies in a subdirectory because
4370   # it helps to detect inapplicable dependency modes.  For instance
4371   # both Tru64's cc and ICC support -MD to output dependencies as a
4372   # side effect of compilation, but ICC will put the dependencies in
4373   # the current directory while Tru64 will put them in the object
4374   # directory.
4375   mkdir sub
4376
4377   am_cv_CC_dependencies_compiler_type=none
4378   if test "$am_compiler_list" = ""; then
4379      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4380   fi
4381   am__universal=false
4382   case " $depcc " in #(
4383      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4384      esac
4385
4386   for depmode in $am_compiler_list; do
4387     # Setup a source with many dependencies, because some compilers
4388     # like to wrap large dependency lists on column 80 (with \), and
4389     # we should not choose a depcomp mode which is confused by this.
4390     #
4391     # We need to recreate these files for each test, as the compiler may
4392     # overwrite some of them when testing with obscure command lines.
4393     # This happens at least with the AIX C compiler.
4394     : > sub/conftest.c
4395     for i in 1 2 3 4 5 6; do
4396       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4397       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4398       # Solaris 10 /bin/sh.
4399       echo '/* dummy */' > sub/conftst$i.h
4400     done
4401     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4402
4403     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4404     # mode.  It turns out that the SunPro C++ compiler does not properly
4405     # handle '-M -o', and we need to detect this.  Also, some Intel
4406     # versions had trouble with output in subdirs.
4407     am__obj=sub/conftest.${OBJEXT-o}
4408     am__minus_obj="-o $am__obj"
4409     case $depmode in
4410     gcc)
4411       # This depmode causes a compiler race in universal mode.
4412       test "$am__universal" = false || continue
4413       ;;
4414     nosideeffect)
4415       # After this tag, mechanisms are not by side-effect, so they'll
4416       # only be used when explicitly requested.
4417       if test "x$enable_dependency_tracking" = xyes; then
4418         continue
4419       else
4420         break
4421       fi
4422       ;;
4423     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4424       # This compiler won't grok '-c -o', but also, the minuso test has
4425       # not run yet.  These depmodes are late enough in the game, and
4426       # so weak that their functioning should not be impacted.
4427       am__obj=conftest.${OBJEXT-o}
4428       am__minus_obj=
4429       ;;
4430     none) break ;;
4431     esac
4432     if depmode=$depmode \
4433        source=sub/conftest.c object=$am__obj \
4434        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4435        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4436          >/dev/null 2>conftest.err &&
4437        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4438        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4439        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4440        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4441       # icc doesn't choke on unknown options, it will just issue warnings
4442       # or remarks (even with -Werror).  So we grep stderr for any message
4443       # that says an option was ignored or not supported.
4444       # When given -MP, icc 7.0 and 7.1 complain thusly:
4445       #   icc: Command line warning: ignoring option '-M'; no argument required
4446       # The diagnosis changed in icc 8.0:
4447       #   icc: Command line remark: option '-MP' not supported
4448       if (grep 'ignoring option' conftest.err ||
4449           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4450         am_cv_CC_dependencies_compiler_type=$depmode
4451         break
4452       fi
4453     fi
4454   done
4455
4456   cd ..
4457   rm -rf conftest.dir
4458 else
4459   am_cv_CC_dependencies_compiler_type=none
4460 fi
4461
4462 fi
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4464 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4465 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4466
4467  if
4468   test "x$enable_dependency_tracking" != xno \
4469   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4470   am__fastdepCC_TRUE=
4471   am__fastdepCC_FALSE='#'
4472 else
4473   am__fastdepCC_TRUE='#'
4474   am__fastdepCC_FALSE=
4475 fi
4476
4477
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4479 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4480 if ${ac_cv_path_SED+:} false; then :
4481   $as_echo_n "(cached) " >&6
4482 else
4483             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4484      for ac_i in 1 2 3 4 5 6 7; do
4485        ac_script="$ac_script$as_nl$ac_script"
4486      done
4487      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4488      { ac_script=; unset ac_script;}
4489      if test -z "$SED"; then
4490   ac_path_SED_found=false
4491   # Loop through the user's path and test for each of PROGNAME-LIST
4492   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 for as_dir in $PATH
4494 do
4495   IFS=$as_save_IFS
4496   test -z "$as_dir" && as_dir=.
4497     for ac_prog in sed gsed; do
4498     for ac_exec_ext in '' $ac_executable_extensions; do
4499       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4500       as_fn_executable_p "$ac_path_SED" || continue
4501 # Check for GNU ac_path_SED and select it if it is found.
4502   # Check for GNU $ac_path_SED
4503 case `"$ac_path_SED" --version 2>&1` in
4504 *GNU*)
4505   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4506 *)
4507   ac_count=0
4508   $as_echo_n 0123456789 >"conftest.in"
4509   while :
4510   do
4511     cat "conftest.in" "conftest.in" >"conftest.tmp"
4512     mv "conftest.tmp" "conftest.in"
4513     cp "conftest.in" "conftest.nl"
4514     $as_echo '' >> "conftest.nl"
4515     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4516     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4517     as_fn_arith $ac_count + 1 && ac_count=$as_val
4518     if test $ac_count -gt ${ac_path_SED_max-0}; then
4519       # Best one so far, save it but keep looking for a better one
4520       ac_cv_path_SED="$ac_path_SED"
4521       ac_path_SED_max=$ac_count
4522     fi
4523     # 10*(2^10) chars as input seems more than enough
4524     test $ac_count -gt 10 && break
4525   done
4526   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4527 esac
4528
4529       $ac_path_SED_found && break 3
4530     done
4531   done
4532   done
4533 IFS=$as_save_IFS
4534   if test -z "$ac_cv_path_SED"; then
4535     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4536   fi
4537 else
4538   ac_cv_path_SED=$SED
4539 fi
4540
4541 fi
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4543 $as_echo "$ac_cv_path_SED" >&6; }
4544  SED="$ac_cv_path_SED"
4545   rm -f conftest.sed
4546
4547 test -z "$SED" && SED=sed
4548 Xsed="$SED -e 1s/^X//"
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4561 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4562 if ${ac_cv_path_GREP+:} false; then :
4563   $as_echo_n "(cached) " >&6
4564 else
4565   if test -z "$GREP"; then
4566   ac_path_GREP_found=false
4567   # Loop through the user's path and test for each of PROGNAME-LIST
4568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4570 do
4571   IFS=$as_save_IFS
4572   test -z "$as_dir" && as_dir=.
4573     for ac_prog in grep ggrep; do
4574     for ac_exec_ext in '' $ac_executable_extensions; do
4575       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4576       as_fn_executable_p "$ac_path_GREP" || continue
4577 # Check for GNU ac_path_GREP and select it if it is found.
4578   # Check for GNU $ac_path_GREP
4579 case `"$ac_path_GREP" --version 2>&1` in
4580 *GNU*)
4581   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4582 *)
4583   ac_count=0
4584   $as_echo_n 0123456789 >"conftest.in"
4585   while :
4586   do
4587     cat "conftest.in" "conftest.in" >"conftest.tmp"
4588     mv "conftest.tmp" "conftest.in"
4589     cp "conftest.in" "conftest.nl"
4590     $as_echo 'GREP' >> "conftest.nl"
4591     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4592     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4593     as_fn_arith $ac_count + 1 && ac_count=$as_val
4594     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4595       # Best one so far, save it but keep looking for a better one
4596       ac_cv_path_GREP="$ac_path_GREP"
4597       ac_path_GREP_max=$ac_count
4598     fi
4599     # 10*(2^10) chars as input seems more than enough
4600     test $ac_count -gt 10 && break
4601   done
4602   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4603 esac
4604
4605       $ac_path_GREP_found && break 3
4606     done
4607   done
4608   done
4609 IFS=$as_save_IFS
4610   if test -z "$ac_cv_path_GREP"; then
4611     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4612   fi
4613 else
4614   ac_cv_path_GREP=$GREP
4615 fi
4616
4617 fi
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4619 $as_echo "$ac_cv_path_GREP" >&6; }
4620  GREP="$ac_cv_path_GREP"
4621
4622
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4624 $as_echo_n "checking for egrep... " >&6; }
4625 if ${ac_cv_path_EGREP+:} false; then :
4626   $as_echo_n "(cached) " >&6
4627 else
4628   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4629    then ac_cv_path_EGREP="$GREP -E"
4630    else
4631      if test -z "$EGREP"; then
4632   ac_path_EGREP_found=false
4633   # Loop through the user's path and test for each of PROGNAME-LIST
4634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4636 do
4637   IFS=$as_save_IFS
4638   test -z "$as_dir" && as_dir=.
4639     for ac_prog in egrep; do
4640     for ac_exec_ext in '' $ac_executable_extensions; do
4641       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4642       as_fn_executable_p "$ac_path_EGREP" || continue
4643 # Check for GNU ac_path_EGREP and select it if it is found.
4644   # Check for GNU $ac_path_EGREP
4645 case `"$ac_path_EGREP" --version 2>&1` in
4646 *GNU*)
4647   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4648 *)
4649   ac_count=0
4650   $as_echo_n 0123456789 >"conftest.in"
4651   while :
4652   do
4653     cat "conftest.in" "conftest.in" >"conftest.tmp"
4654     mv "conftest.tmp" "conftest.in"
4655     cp "conftest.in" "conftest.nl"
4656     $as_echo 'EGREP' >> "conftest.nl"
4657     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4658     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4659     as_fn_arith $ac_count + 1 && ac_count=$as_val
4660     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4661       # Best one so far, save it but keep looking for a better one
4662       ac_cv_path_EGREP="$ac_path_EGREP"
4663       ac_path_EGREP_max=$ac_count
4664     fi
4665     # 10*(2^10) chars as input seems more than enough
4666     test $ac_count -gt 10 && break
4667   done
4668   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4669 esac
4670
4671       $ac_path_EGREP_found && break 3
4672     done
4673   done
4674   done
4675 IFS=$as_save_IFS
4676   if test -z "$ac_cv_path_EGREP"; then
4677     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4678   fi
4679 else
4680   ac_cv_path_EGREP=$EGREP
4681 fi
4682
4683    fi
4684 fi
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4686 $as_echo "$ac_cv_path_EGREP" >&6; }
4687  EGREP="$ac_cv_path_EGREP"
4688
4689
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4691 $as_echo_n "checking for fgrep... " >&6; }
4692 if ${ac_cv_path_FGREP+:} false; then :
4693   $as_echo_n "(cached) " >&6
4694 else
4695   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4696    then ac_cv_path_FGREP="$GREP -F"
4697    else
4698      if test -z "$FGREP"; then
4699   ac_path_FGREP_found=false
4700   # Loop through the user's path and test for each of PROGNAME-LIST
4701   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4703 do
4704   IFS=$as_save_IFS
4705   test -z "$as_dir" && as_dir=.
4706     for ac_prog in fgrep; do
4707     for ac_exec_ext in '' $ac_executable_extensions; do
4708       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4709       as_fn_executable_p "$ac_path_FGREP" || continue
4710 # Check for GNU ac_path_FGREP and select it if it is found.
4711   # Check for GNU $ac_path_FGREP
4712 case `"$ac_path_FGREP" --version 2>&1` in
4713 *GNU*)
4714   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4715 *)
4716   ac_count=0
4717   $as_echo_n 0123456789 >"conftest.in"
4718   while :
4719   do
4720     cat "conftest.in" "conftest.in" >"conftest.tmp"
4721     mv "conftest.tmp" "conftest.in"
4722     cp "conftest.in" "conftest.nl"
4723     $as_echo 'FGREP' >> "conftest.nl"
4724     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4725     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4726     as_fn_arith $ac_count + 1 && ac_count=$as_val
4727     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4728       # Best one so far, save it but keep looking for a better one
4729       ac_cv_path_FGREP="$ac_path_FGREP"
4730       ac_path_FGREP_max=$ac_count
4731     fi
4732     # 10*(2^10) chars as input seems more than enough
4733     test $ac_count -gt 10 && break
4734   done
4735   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4736 esac
4737
4738       $ac_path_FGREP_found && break 3
4739     done
4740   done
4741   done
4742 IFS=$as_save_IFS
4743   if test -z "$ac_cv_path_FGREP"; then
4744     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4745   fi
4746 else
4747   ac_cv_path_FGREP=$FGREP
4748 fi
4749
4750    fi
4751 fi
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4753 $as_echo "$ac_cv_path_FGREP" >&6; }
4754  FGREP="$ac_cv_path_FGREP"
4755
4756
4757 test -z "$GREP" && GREP=grep
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777 # Check whether --with-gnu-ld was given.
4778 if test "${with_gnu_ld+set}" = set; then :
4779   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4780 else
4781   with_gnu_ld=no
4782 fi
4783
4784 ac_prog=ld
4785 if test "$GCC" = yes; then
4786   # Check if gcc -print-prog-name=ld gives a path.
4787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4788 $as_echo_n "checking for ld used by $CC... " >&6; }
4789   case $host in
4790   *-*-mingw*)
4791     # gcc leaves a trailing carriage return which upsets mingw
4792     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4793   *)
4794     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4795   esac
4796   case $ac_prog in
4797     # Accept absolute paths.
4798     [\\/]* | ?:[\\/]*)
4799       re_direlt='/[^/][^/]*/\.\./'
4800       # Canonicalize the pathname of ld
4801       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4802       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4803         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4804       done
4805       test -z "$LD" && LD="$ac_prog"
4806       ;;
4807   "")
4808     # If it fails, then pretend we aren't using GCC.
4809     ac_prog=ld
4810     ;;
4811   *)
4812     # If it is relative, then search for the first ld in PATH.
4813     with_gnu_ld=unknown
4814     ;;
4815   esac
4816 elif test "$with_gnu_ld" = yes; then
4817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4818 $as_echo_n "checking for GNU ld... " >&6; }
4819 else
4820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4821 $as_echo_n "checking for non-GNU ld... " >&6; }
4822 fi
4823 if ${lt_cv_path_LD+:} false; then :
4824   $as_echo_n "(cached) " >&6
4825 else
4826   if test -z "$LD"; then
4827   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4828   for ac_dir in $PATH; do
4829     IFS="$lt_save_ifs"
4830     test -z "$ac_dir" && ac_dir=.
4831     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4832       lt_cv_path_LD="$ac_dir/$ac_prog"
4833       # Check to see if the program is GNU ld.  I'd rather use --version,
4834       # but apparently some variants of GNU ld only accept -v.
4835       # Break only if it was the GNU/non-GNU ld that we prefer.
4836       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4837       *GNU* | *'with BFD'*)
4838         test "$with_gnu_ld" != no && break
4839         ;;
4840       *)
4841         test "$with_gnu_ld" != yes && break
4842         ;;
4843       esac
4844     fi
4845   done
4846   IFS="$lt_save_ifs"
4847 else
4848   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4849 fi
4850 fi
4851
4852 LD="$lt_cv_path_LD"
4853 if test -n "$LD"; then
4854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4855 $as_echo "$LD" >&6; }
4856 else
4857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4859 fi
4860 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4862 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4863 if ${lt_cv_prog_gnu_ld+:} false; then :
4864   $as_echo_n "(cached) " >&6
4865 else
4866   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4867 case `$LD -v 2>&1 </dev/null` in
4868 *GNU* | *'with BFD'*)
4869   lt_cv_prog_gnu_ld=yes
4870   ;;
4871 *)
4872   lt_cv_prog_gnu_ld=no
4873   ;;
4874 esac
4875 fi
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4877 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4878 with_gnu_ld=$lt_cv_prog_gnu_ld
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4889 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4890 if ${lt_cv_path_NM+:} false; then :
4891   $as_echo_n "(cached) " >&6
4892 else
4893   if test -n "$NM"; then
4894   # Let the user override the test.
4895   lt_cv_path_NM="$NM"
4896 else
4897   lt_nm_to_check="${ac_tool_prefix}nm"
4898   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4899     lt_nm_to_check="$lt_nm_to_check nm"
4900   fi
4901   for lt_tmp_nm in $lt_nm_to_check; do
4902     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4903     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4904       IFS="$lt_save_ifs"
4905       test -z "$ac_dir" && ac_dir=.
4906       tmp_nm="$ac_dir/$lt_tmp_nm"
4907       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4908         # Check to see if the nm accepts a BSD-compat flag.
4909         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4910         #   nm: unknown option "B" ignored
4911         # Tru64's nm complains that /dev/null is an invalid object file
4912         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4913         */dev/null* | *'Invalid file or object type'*)
4914           lt_cv_path_NM="$tmp_nm -B"
4915           break
4916           ;;
4917         *)
4918           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4919           */dev/null*)
4920             lt_cv_path_NM="$tmp_nm -p"
4921             break
4922             ;;
4923           *)
4924             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4925             continue # so that we can try to find one that supports BSD flags
4926             ;;
4927           esac
4928           ;;
4929         esac
4930       fi
4931     done
4932     IFS="$lt_save_ifs"
4933   done
4934   : ${lt_cv_path_NM=no}
4935 fi
4936 fi
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4938 $as_echo "$lt_cv_path_NM" >&6; }
4939 if test "$lt_cv_path_NM" != "no"; then
4940   NM="$lt_cv_path_NM"
4941 else
4942   # Didn't find any BSD compatible name lister, look for dumpbin.
4943   if test -n "$DUMPBIN"; then :
4944     # Let the user override the test.
4945   else
4946     if test -n "$ac_tool_prefix"; then
4947   for ac_prog in dumpbin "link -dump"
4948   do
4949     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4950 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if ${ac_cv_prog_DUMPBIN+:} false; then :
4954   $as_echo_n "(cached) " >&6
4955 else
4956   if test -n "$DUMPBIN"; then
4957   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4958 else
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 for as_dir in $PATH
4961 do
4962   IFS=$as_save_IFS
4963   test -z "$as_dir" && as_dir=.
4964     for ac_exec_ext in '' $ac_executable_extensions; do
4965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4966     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968     break 2
4969   fi
4970 done
4971   done
4972 IFS=$as_save_IFS
4973
4974 fi
4975 fi
4976 DUMPBIN=$ac_cv_prog_DUMPBIN
4977 if test -n "$DUMPBIN"; then
4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4979 $as_echo "$DUMPBIN" >&6; }
4980 else
4981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4983 fi
4984
4985
4986     test -n "$DUMPBIN" && break
4987   done
4988 fi
4989 if test -z "$DUMPBIN"; then
4990   ac_ct_DUMPBIN=$DUMPBIN
4991   for ac_prog in dumpbin "link -dump"
4992 do
4993   # Extract the first word of "$ac_prog", so it can be a program name with args.
4994 set dummy $ac_prog; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4998   $as_echo_n "(cached) " >&6
4999 else
5000   if test -n "$ac_ct_DUMPBIN"; then
5001   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5002 else
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH
5005 do
5006   IFS=$as_save_IFS
5007   test -z "$as_dir" && as_dir=.
5008     for ac_exec_ext in '' $ac_executable_extensions; do
5009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012     break 2
5013   fi
5014 done
5015   done
5016 IFS=$as_save_IFS
5017
5018 fi
5019 fi
5020 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5021 if test -n "$ac_ct_DUMPBIN"; then
5022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5023 $as_echo "$ac_ct_DUMPBIN" >&6; }
5024 else
5025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5027 fi
5028
5029
5030   test -n "$ac_ct_DUMPBIN" && break
5031 done
5032
5033   if test "x$ac_ct_DUMPBIN" = x; then
5034     DUMPBIN=":"
5035   else
5036     case $cross_compiling:$ac_tool_warned in
5037 yes:)
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5040 ac_tool_warned=yes ;;
5041 esac
5042     DUMPBIN=$ac_ct_DUMPBIN
5043   fi
5044 fi
5045
5046     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5047     *COFF*)
5048       DUMPBIN="$DUMPBIN -symbols"
5049       ;;
5050     *)
5051       DUMPBIN=:
5052       ;;
5053     esac
5054   fi
5055
5056   if test "$DUMPBIN" != ":"; then
5057     NM="$DUMPBIN"
5058   fi
5059 fi
5060 test -z "$NM" && NM=nm
5061
5062
5063
5064
5065
5066
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5068 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5069 if ${lt_cv_nm_interface+:} false; then :
5070   $as_echo_n "(cached) " >&6
5071 else
5072   lt_cv_nm_interface="BSD nm"
5073   echo "int some_variable = 0;" > conftest.$ac_ext
5074   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5075   (eval "$ac_compile" 2>conftest.err)
5076   cat conftest.err >&5
5077   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5078   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5079   cat conftest.err >&5
5080   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5081   cat conftest.out >&5
5082   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5083     lt_cv_nm_interface="MS dumpbin"
5084   fi
5085   rm -f conftest*
5086 fi
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5088 $as_echo "$lt_cv_nm_interface" >&6; }
5089
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5091 $as_echo_n "checking whether ln -s works... " >&6; }
5092 LN_S=$as_ln_s
5093 if test "$LN_S" = "ln -s"; then
5094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5095 $as_echo "yes" >&6; }
5096 else
5097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5098 $as_echo "no, using $LN_S" >&6; }
5099 fi
5100
5101 # find the maximum length of command line arguments
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5103 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5104 if ${lt_cv_sys_max_cmd_len+:} false; then :
5105   $as_echo_n "(cached) " >&6
5106 else
5107     i=0
5108   teststring="ABCD"
5109
5110   case $build_os in
5111   msdosdjgpp*)
5112     # On DJGPP, this test can blow up pretty badly due to problems in libc
5113     # (any single argument exceeding 2000 bytes causes a buffer overrun
5114     # during glob expansion).  Even if it were fixed, the result of this
5115     # check would be larger than it should be.
5116     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5117     ;;
5118
5119   gnu*)
5120     # Under GNU Hurd, this test is not required because there is
5121     # no limit to the length of command line arguments.
5122     # Libtool will interpret -1 as no limit whatsoever
5123     lt_cv_sys_max_cmd_len=-1;
5124     ;;
5125
5126   cygwin* | mingw* | cegcc*)
5127     # On Win9x/ME, this test blows up -- it succeeds, but takes
5128     # about 5 minutes as the teststring grows exponentially.
5129     # Worse, since 9x/ME are not pre-emptively multitasking,
5130     # you end up with a "frozen" computer, even though with patience
5131     # the test eventually succeeds (with a max line length of 256k).
5132     # Instead, let's just punt: use the minimum linelength reported by
5133     # all of the supported platforms: 8192 (on NT/2K/XP).
5134     lt_cv_sys_max_cmd_len=8192;
5135     ;;
5136
5137   mint*)
5138     # On MiNT this can take a long time and run out of memory.
5139     lt_cv_sys_max_cmd_len=8192;
5140     ;;
5141
5142   amigaos*)
5143     # On AmigaOS with pdksh, this test takes hours, literally.
5144     # So we just punt and use a minimum line length of 8192.
5145     lt_cv_sys_max_cmd_len=8192;
5146     ;;
5147
5148   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5149     # This has been around since 386BSD, at least.  Likely further.
5150     if test -x /sbin/sysctl; then
5151       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5152     elif test -x /usr/sbin/sysctl; then
5153       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5154     else
5155       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5156     fi
5157     # And add a safety zone
5158     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5159     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5160     ;;
5161
5162   interix*)
5163     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5164     lt_cv_sys_max_cmd_len=196608
5165     ;;
5166
5167   os2*)
5168     # The test takes a long time on OS/2.
5169     lt_cv_sys_max_cmd_len=8192
5170     ;;
5171
5172   osf*)
5173     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5174     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5175     # nice to cause kernel panics so lets avoid the loop below.
5176     # First set a reasonable default.
5177     lt_cv_sys_max_cmd_len=16384
5178     #
5179     if test -x /sbin/sysconfig; then
5180       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5181         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5182       esac
5183     fi
5184     ;;
5185   sco3.2v5*)
5186     lt_cv_sys_max_cmd_len=102400
5187     ;;
5188   sysv5* | sco5v6* | sysv4.2uw2*)
5189     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5190     if test -n "$kargmax"; then
5191       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5192     else
5193       lt_cv_sys_max_cmd_len=32768
5194     fi
5195     ;;
5196   *)
5197     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5198     if test -n "$lt_cv_sys_max_cmd_len" && \
5199         test undefined != "$lt_cv_sys_max_cmd_len"; then
5200       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5201       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5202     else
5203       # Make teststring a little bigger before we do anything with it.
5204       # a 1K string should be a reasonable start.
5205       for i in 1 2 3 4 5 6 7 8 ; do
5206         teststring=$teststring$teststring
5207       done
5208       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5209       # If test is not a shell built-in, we'll probably end up computing a
5210       # maximum length that is only half of the actual maximum length, but
5211       # we can't tell.
5212       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5213                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5214               test $i != 17 # 1/2 MB should be enough
5215       do
5216         i=`expr $i + 1`
5217         teststring=$teststring$teststring
5218       done
5219       # Only check the string length outside the loop.
5220       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5221       teststring=
5222       # Add a significant safety factor because C++ compilers can tack on
5223       # massive amounts of additional arguments before passing them to the
5224       # linker.  It appears as though 1/2 is a usable value.
5225       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5226     fi
5227     ;;
5228   esac
5229
5230 fi
5231
5232 if test -n $lt_cv_sys_max_cmd_len ; then
5233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5234 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5235 else
5236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5237 $as_echo "none" >&6; }
5238 fi
5239 max_cmd_len=$lt_cv_sys_max_cmd_len
5240
5241
5242
5243
5244
5245
5246 : ${CP="cp -f"}
5247 : ${MV="mv -f"}
5248 : ${RM="rm -f"}
5249
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5251 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5252 # Try some XSI features
5253 xsi_shell=no
5254 ( _lt_dummy="a/b/c"
5255   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5256       = c,a/b,b/c, \
5257     && eval 'test $(( 1 + 1 )) -eq 2 \
5258     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5259   && xsi_shell=yes
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5261 $as_echo "$xsi_shell" >&6; }
5262
5263
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5265 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5266 lt_shell_append=no
5267 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5268     >/dev/null 2>&1 \
5269   && lt_shell_append=yes
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5271 $as_echo "$lt_shell_append" >&6; }
5272
5273
5274 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5275   lt_unset=unset
5276 else
5277   lt_unset=false
5278 fi
5279
5280
5281
5282
5283
5284 # test EBCDIC or ASCII
5285 case `echo X|tr X '\101'` in
5286  A) # ASCII based system
5287     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5288   lt_SP2NL='tr \040 \012'
5289   lt_NL2SP='tr \015\012 \040\040'
5290   ;;
5291  *) # EBCDIC based system
5292   lt_SP2NL='tr \100 \n'
5293   lt_NL2SP='tr \r\n \100\100'
5294   ;;
5295 esac
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5306 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5307 if ${lt_cv_to_host_file_cmd+:} false; then :
5308   $as_echo_n "(cached) " >&6
5309 else
5310   case $host in
5311   *-*-mingw* )
5312     case $build in
5313       *-*-mingw* ) # actually msys
5314         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5315         ;;
5316       *-*-cygwin* )
5317         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5318         ;;
5319       * ) # otherwise, assume *nix
5320         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5321         ;;
5322     esac
5323     ;;
5324   *-*-cygwin* )
5325     case $build in
5326       *-*-mingw* ) # actually msys
5327         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5328         ;;
5329       *-*-cygwin* )
5330         lt_cv_to_host_file_cmd=func_convert_file_noop
5331         ;;
5332       * ) # otherwise, assume *nix
5333         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5334         ;;
5335     esac
5336     ;;
5337   * ) # unhandled hosts (and "normal" native builds)
5338     lt_cv_to_host_file_cmd=func_convert_file_noop
5339     ;;
5340 esac
5341
5342 fi
5343
5344 to_host_file_cmd=$lt_cv_to_host_file_cmd
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5346 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5347
5348
5349
5350
5351
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5353 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5354 if ${lt_cv_to_tool_file_cmd+:} false; then :
5355   $as_echo_n "(cached) " >&6
5356 else
5357   #assume ordinary cross tools, or native build.
5358 lt_cv_to_tool_file_cmd=func_convert_file_noop
5359 case $host in
5360   *-*-mingw* )
5361     case $build in
5362       *-*-mingw* ) # actually msys
5363         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5364         ;;
5365     esac
5366     ;;
5367 esac
5368
5369 fi
5370
5371 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5373 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5374
5375
5376
5377
5378
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5380 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5381 if ${lt_cv_ld_reload_flag+:} false; then :
5382   $as_echo_n "(cached) " >&6
5383 else
5384   lt_cv_ld_reload_flag='-r'
5385 fi
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5387 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5388 reload_flag=$lt_cv_ld_reload_flag
5389 case $reload_flag in
5390 "" | " "*) ;;
5391 *) reload_flag=" $reload_flag" ;;
5392 esac
5393 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5394 case $host_os in
5395   cygwin* | mingw* | pw32* | cegcc*)
5396     if test "$GCC" != yes; then
5397       reload_cmds=false
5398     fi
5399     ;;
5400   darwin*)
5401     if test "$GCC" = yes; then
5402       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5403     else
5404       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5405     fi
5406     ;;
5407 esac
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417 if test -n "$ac_tool_prefix"; then
5418   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5419 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_OBJDUMP+:} false; then :
5423   $as_echo_n "(cached) " >&6
5424 else
5425   if test -n "$OBJDUMP"; then
5426   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5430 do
5431   IFS=$as_save_IFS
5432   test -z "$as_dir" && as_dir=.
5433     for ac_exec_ext in '' $ac_executable_extensions; do
5434   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437     break 2
5438   fi
5439 done
5440   done
5441 IFS=$as_save_IFS
5442
5443 fi
5444 fi
5445 OBJDUMP=$ac_cv_prog_OBJDUMP
5446 if test -n "$OBJDUMP"; then
5447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5448 $as_echo "$OBJDUMP" >&6; }
5449 else
5450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5452 fi
5453
5454
5455 fi
5456 if test -z "$ac_cv_prog_OBJDUMP"; then
5457   ac_ct_OBJDUMP=$OBJDUMP
5458   # Extract the first word of "objdump", so it can be a program name with args.
5459 set dummy objdump; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5463   $as_echo_n "(cached) " >&6
5464 else
5465   if test -n "$ac_ct_OBJDUMP"; then
5466   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5470 do
5471   IFS=$as_save_IFS
5472   test -z "$as_dir" && as_dir=.
5473     for ac_exec_ext in '' $ac_executable_extensions; do
5474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477     break 2
5478   fi
5479 done
5480   done
5481 IFS=$as_save_IFS
5482
5483 fi
5484 fi
5485 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5486 if test -n "$ac_ct_OBJDUMP"; then
5487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5488 $as_echo "$ac_ct_OBJDUMP" >&6; }
5489 else
5490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5492 fi
5493
5494   if test "x$ac_ct_OBJDUMP" = x; then
5495     OBJDUMP="false"
5496   else
5497     case $cross_compiling:$ac_tool_warned in
5498 yes:)
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5501 ac_tool_warned=yes ;;
5502 esac
5503     OBJDUMP=$ac_ct_OBJDUMP
5504   fi
5505 else
5506   OBJDUMP="$ac_cv_prog_OBJDUMP"
5507 fi
5508
5509 test -z "$OBJDUMP" && OBJDUMP=objdump
5510
5511
5512
5513
5514
5515
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5517 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5518 if ${lt_cv_deplibs_check_method+:} false; then :
5519   $as_echo_n "(cached) " >&6
5520 else
5521   lt_cv_file_magic_cmd='$MAGIC_CMD'
5522 lt_cv_file_magic_test_file=
5523 lt_cv_deplibs_check_method='unknown'
5524 # Need to set the preceding variable on all platforms that support
5525 # interlibrary dependencies.
5526 # 'none' -- dependencies not supported.
5527 # `unknown' -- same as none, but documents that we really don't know.
5528 # 'pass_all' -- all dependencies passed with no checks.
5529 # 'test_compile' -- check by making test program.
5530 # 'file_magic [[regex]]' -- check by looking for files in library path
5531 # which responds to the $file_magic_cmd with a given extended regex.
5532 # If you have `file' or equivalent on your system and you're not sure
5533 # whether `pass_all' will *always* work, you probably want this one.
5534
5535 case $host_os in
5536 aix[4-9]*)
5537   lt_cv_deplibs_check_method=pass_all
5538   ;;
5539
5540 beos*)
5541   lt_cv_deplibs_check_method=pass_all
5542   ;;
5543
5544 bsdi[45]*)
5545   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5546   lt_cv_file_magic_cmd='/usr/bin/file -L'
5547   lt_cv_file_magic_test_file=/shlib/libc.so
5548   ;;
5549
5550 cygwin*)
5551   # func_win32_libid is a shell function defined in ltmain.sh
5552   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5553   lt_cv_file_magic_cmd='func_win32_libid'
5554   ;;
5555
5556 mingw* | pw32*)
5557   # Base MSYS/MinGW do not provide the 'file' command needed by
5558   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5559   # unless we find 'file', for example because we are cross-compiling.
5560   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5561   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5562     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5563     lt_cv_file_magic_cmd='func_win32_libid'
5564   else
5565     # Keep this pattern in sync with the one in func_win32_libid.
5566     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5567     lt_cv_file_magic_cmd='$OBJDUMP -f'
5568   fi
5569   ;;
5570
5571 cegcc*)
5572   # use the weaker test based on 'objdump'. See mingw*.
5573   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5574   lt_cv_file_magic_cmd='$OBJDUMP -f'
5575   ;;
5576
5577 darwin* | rhapsody*)
5578   lt_cv_deplibs_check_method=pass_all
5579   ;;
5580
5581 freebsd* | dragonfly*)
5582   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5583     case $host_cpu in
5584     i*86 )
5585       # Not sure whether the presence of OpenBSD here was a mistake.
5586       # Let's accept both of them until this is cleared up.
5587       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5588       lt_cv_file_magic_cmd=/usr/bin/file
5589       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5590       ;;
5591     esac
5592   else
5593     lt_cv_deplibs_check_method=pass_all
5594   fi
5595   ;;
5596
5597 haiku*)
5598   lt_cv_deplibs_check_method=pass_all
5599   ;;
5600
5601 hpux10.20* | hpux11*)
5602   lt_cv_file_magic_cmd=/usr/bin/file
5603   case $host_cpu in
5604   ia64*)
5605     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5606     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5607     ;;
5608   hppa*64*)
5609     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5610     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5611     ;;
5612   *)
5613     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5614     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5615     ;;
5616   esac
5617   ;;
5618
5619 interix[3-9]*)
5620   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5621   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5622   ;;
5623
5624 irix5* | irix6* | nonstopux*)
5625   case $LD in
5626   *-32|*"-32 ") libmagic=32-bit;;
5627   *-n32|*"-n32 ") libmagic=N32;;
5628   *-64|*"-64 ") libmagic=64-bit;;
5629   *) libmagic=never-match;;
5630   esac
5631   lt_cv_deplibs_check_method=pass_all
5632   ;;
5633
5634 # This must be glibc/ELF.
5635 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5636   lt_cv_deplibs_check_method=pass_all
5637   ;;
5638
5639 netbsd* | netbsdelf*-gnu)
5640   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5641     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5642   else
5643     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5644   fi
5645   ;;
5646
5647 newos6*)
5648   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5649   lt_cv_file_magic_cmd=/usr/bin/file
5650   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5651   ;;
5652
5653 *nto* | *qnx*)
5654   lt_cv_deplibs_check_method=pass_all
5655   ;;
5656
5657 openbsd*)
5658   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5659     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5660   else
5661     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5662   fi
5663   ;;
5664
5665 osf3* | osf4* | osf5*)
5666   lt_cv_deplibs_check_method=pass_all
5667   ;;
5668
5669 rdos*)
5670   lt_cv_deplibs_check_method=pass_all
5671   ;;
5672
5673 solaris*)
5674   lt_cv_deplibs_check_method=pass_all
5675   ;;
5676
5677 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5678   lt_cv_deplibs_check_method=pass_all
5679   ;;
5680
5681 sysv4 | sysv4.3*)
5682   case $host_vendor in
5683   motorola)
5684     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]'
5685     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5686     ;;
5687   ncr)
5688     lt_cv_deplibs_check_method=pass_all
5689     ;;
5690   sequent)
5691     lt_cv_file_magic_cmd='/bin/file'
5692     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5693     ;;
5694   sni)
5695     lt_cv_file_magic_cmd='/bin/file'
5696     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5697     lt_cv_file_magic_test_file=/lib/libc.so
5698     ;;
5699   siemens)
5700     lt_cv_deplibs_check_method=pass_all
5701     ;;
5702   pc)
5703     lt_cv_deplibs_check_method=pass_all
5704     ;;
5705   esac
5706   ;;
5707
5708 tpf*)
5709   lt_cv_deplibs_check_method=pass_all
5710   ;;
5711 esac
5712
5713 fi
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5715 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5716
5717 file_magic_glob=
5718 want_nocaseglob=no
5719 if test "$build" = "$host"; then
5720   case $host_os in
5721   mingw* | pw32*)
5722     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5723       want_nocaseglob=yes
5724     else
5725       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5726     fi
5727     ;;
5728   esac
5729 fi
5730
5731 file_magic_cmd=$lt_cv_file_magic_cmd
5732 deplibs_check_method=$lt_cv_deplibs_check_method
5733 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756 if test -n "$ac_tool_prefix"; then
5757   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5758 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if ${ac_cv_prog_DLLTOOL+:} false; then :
5762   $as_echo_n "(cached) " >&6
5763 else
5764   if test -n "$DLLTOOL"; then
5765   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5766 else
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 for as_dir in $PATH
5769 do
5770   IFS=$as_save_IFS
5771   test -z "$as_dir" && as_dir=.
5772     for ac_exec_ext in '' $ac_executable_extensions; do
5773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776     break 2
5777   fi
5778 done
5779   done
5780 IFS=$as_save_IFS
5781
5782 fi
5783 fi
5784 DLLTOOL=$ac_cv_prog_DLLTOOL
5785 if test -n "$DLLTOOL"; then
5786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5787 $as_echo "$DLLTOOL" >&6; }
5788 else
5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5791 fi
5792
5793
5794 fi
5795 if test -z "$ac_cv_prog_DLLTOOL"; then
5796   ac_ct_DLLTOOL=$DLLTOOL
5797   # Extract the first word of "dlltool", so it can be a program name with args.
5798 set dummy dlltool; ac_word=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5802   $as_echo_n "(cached) " >&6
5803 else
5804   if test -n "$ac_ct_DLLTOOL"; then
5805   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5806 else
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 for as_dir in $PATH
5809 do
5810   IFS=$as_save_IFS
5811   test -z "$as_dir" && as_dir=.
5812     for ac_exec_ext in '' $ac_executable_extensions; do
5813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816     break 2
5817   fi
5818 done
5819   done
5820 IFS=$as_save_IFS
5821
5822 fi
5823 fi
5824 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5825 if test -n "$ac_ct_DLLTOOL"; then
5826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5827 $as_echo "$ac_ct_DLLTOOL" >&6; }
5828 else
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830 $as_echo "no" >&6; }
5831 fi
5832
5833   if test "x$ac_ct_DLLTOOL" = x; then
5834     DLLTOOL="false"
5835   else
5836     case $cross_compiling:$ac_tool_warned in
5837 yes:)
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5840 ac_tool_warned=yes ;;
5841 esac
5842     DLLTOOL=$ac_ct_DLLTOOL
5843   fi
5844 else
5845   DLLTOOL="$ac_cv_prog_DLLTOOL"
5846 fi
5847
5848 test -z "$DLLTOOL" && DLLTOOL=dlltool
5849
5850
5851
5852
5853
5854
5855
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5857 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5858 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5859   $as_echo_n "(cached) " >&6
5860 else
5861   lt_cv_sharedlib_from_linklib_cmd='unknown'
5862
5863 case $host_os in
5864 cygwin* | mingw* | pw32* | cegcc*)
5865   # two different shell functions defined in ltmain.sh
5866   # decide which to use based on capabilities of $DLLTOOL
5867   case `$DLLTOOL --help 2>&1` in
5868   *--identify-strict*)
5869     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5870     ;;
5871   *)
5872     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5873     ;;
5874   esac
5875   ;;
5876 *)
5877   # fallback: assume linklib IS sharedlib
5878   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5879   ;;
5880 esac
5881
5882 fi
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5884 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5885 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5886 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5887
5888
5889
5890
5891
5892
5893
5894
5895 if test -n "$ac_tool_prefix"; then
5896   for ac_prog in ar
5897   do
5898     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_AR+:} false; then :
5903   $as_echo_n "(cached) " >&6
5904 else
5905   if test -n "$AR"; then
5906   ac_cv_prog_AR="$AR" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5910 do
5911   IFS=$as_save_IFS
5912   test -z "$as_dir" && as_dir=.
5913     for ac_exec_ext in '' $ac_executable_extensions; do
5914   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917     break 2
5918   fi
5919 done
5920   done
5921 IFS=$as_save_IFS
5922
5923 fi
5924 fi
5925 AR=$ac_cv_prog_AR
5926 if test -n "$AR"; then
5927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5928 $as_echo "$AR" >&6; }
5929 else
5930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5932 fi
5933
5934
5935     test -n "$AR" && break
5936   done
5937 fi
5938 if test -z "$AR"; then
5939   ac_ct_AR=$AR
5940   for ac_prog in ar
5941 do
5942   # Extract the first word of "$ac_prog", so it can be a program name with args.
5943 set dummy $ac_prog; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5947   $as_echo_n "(cached) " >&6
5948 else
5949   if test -n "$ac_ct_AR"; then
5950   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5951 else
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 for as_dir in $PATH
5954 do
5955   IFS=$as_save_IFS
5956   test -z "$as_dir" && as_dir=.
5957     for ac_exec_ext in '' $ac_executable_extensions; do
5958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959     ac_cv_prog_ac_ct_AR="$ac_prog"
5960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961     break 2
5962   fi
5963 done
5964   done
5965 IFS=$as_save_IFS
5966
5967 fi
5968 fi
5969 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5970 if test -n "$ac_ct_AR"; then
5971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5972 $as_echo "$ac_ct_AR" >&6; }
5973 else
5974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5976 fi
5977
5978
5979   test -n "$ac_ct_AR" && break
5980 done
5981
5982   if test "x$ac_ct_AR" = x; then
5983     AR="false"
5984   else
5985     case $cross_compiling:$ac_tool_warned in
5986 yes:)
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5989 ac_tool_warned=yes ;;
5990 esac
5991     AR=$ac_ct_AR
5992   fi
5993 fi
5994
5995 : ${AR=ar}
5996 : ${AR_FLAGS=cru}
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6009 $as_echo_n "checking for archiver @FILE support... " >&6; }
6010 if ${lt_cv_ar_at_file+:} false; then :
6011   $as_echo_n "(cached) " >&6
6012 else
6013   lt_cv_ar_at_file=no
6014    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6015 /* end confdefs.h.  */
6016
6017 int
6018 main ()
6019 {
6020
6021   ;
6022   return 0;
6023 }
6024 _ACEOF
6025 if ac_fn_c_try_compile "$LINENO"; then :
6026   echo conftest.$ac_objext > conftest.lst
6027       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6028       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6029   (eval $lt_ar_try) 2>&5
6030   ac_status=$?
6031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6032   test $ac_status = 0; }
6033       if test "$ac_status" -eq 0; then
6034         # Ensure the archiver fails upon bogus file names.
6035         rm -f conftest.$ac_objext libconftest.a
6036         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6037   (eval $lt_ar_try) 2>&5
6038   ac_status=$?
6039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6040   test $ac_status = 0; }
6041         if test "$ac_status" -ne 0; then
6042           lt_cv_ar_at_file=@
6043         fi
6044       fi
6045       rm -f conftest.* libconftest.a
6046
6047 fi
6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6049
6050 fi
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6052 $as_echo "$lt_cv_ar_at_file" >&6; }
6053
6054 if test "x$lt_cv_ar_at_file" = xno; then
6055   archiver_list_spec=
6056 else
6057   archiver_list_spec=$lt_cv_ar_at_file
6058 fi
6059
6060
6061
6062
6063
6064
6065
6066 if test -n "$ac_tool_prefix"; then
6067   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6068 set dummy ${ac_tool_prefix}strip; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_STRIP+:} false; then :
6072   $as_echo_n "(cached) " >&6
6073 else
6074   if test -n "$STRIP"; then
6075   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6079 do
6080   IFS=$as_save_IFS
6081   test -z "$as_dir" && as_dir=.
6082     for ac_exec_ext in '' $ac_executable_extensions; do
6083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6084     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086     break 2
6087   fi
6088 done
6089   done
6090 IFS=$as_save_IFS
6091
6092 fi
6093 fi
6094 STRIP=$ac_cv_prog_STRIP
6095 if test -n "$STRIP"; then
6096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6097 $as_echo "$STRIP" >&6; }
6098 else
6099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6101 fi
6102
6103
6104 fi
6105 if test -z "$ac_cv_prog_STRIP"; then
6106   ac_ct_STRIP=$STRIP
6107   # Extract the first word of "strip", so it can be a program name with args.
6108 set dummy strip; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6112   $as_echo_n "(cached) " >&6
6113 else
6114   if test -n "$ac_ct_STRIP"; then
6115   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6119 do
6120   IFS=$as_save_IFS
6121   test -z "$as_dir" && as_dir=.
6122     for ac_exec_ext in '' $ac_executable_extensions; do
6123   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124     ac_cv_prog_ac_ct_STRIP="strip"
6125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126     break 2
6127   fi
6128 done
6129   done
6130 IFS=$as_save_IFS
6131
6132 fi
6133 fi
6134 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6135 if test -n "$ac_ct_STRIP"; then
6136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6137 $as_echo "$ac_ct_STRIP" >&6; }
6138 else
6139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6141 fi
6142
6143   if test "x$ac_ct_STRIP" = x; then
6144     STRIP=":"
6145   else
6146     case $cross_compiling:$ac_tool_warned in
6147 yes:)
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned=yes ;;
6151 esac
6152     STRIP=$ac_ct_STRIP
6153   fi
6154 else
6155   STRIP="$ac_cv_prog_STRIP"
6156 fi
6157
6158 test -z "$STRIP" && STRIP=:
6159
6160
6161
6162
6163
6164
6165 if test -n "$ac_tool_prefix"; then
6166   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6167 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_RANLIB+:} false; then :
6171   $as_echo_n "(cached) " >&6
6172 else
6173   if test -n "$RANLIB"; then
6174   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6175 else
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $PATH
6178 do
6179   IFS=$as_save_IFS
6180   test -z "$as_dir" && as_dir=.
6181     for ac_exec_ext in '' $ac_executable_extensions; do
6182   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185     break 2
6186   fi
6187 done
6188   done
6189 IFS=$as_save_IFS
6190
6191 fi
6192 fi
6193 RANLIB=$ac_cv_prog_RANLIB
6194 if test -n "$RANLIB"; then
6195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6196 $as_echo "$RANLIB" >&6; }
6197 else
6198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6200 fi
6201
6202
6203 fi
6204 if test -z "$ac_cv_prog_RANLIB"; then
6205   ac_ct_RANLIB=$RANLIB
6206   # Extract the first word of "ranlib", so it can be a program name with args.
6207 set dummy ranlib; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6211   $as_echo_n "(cached) " >&6
6212 else
6213   if test -n "$ac_ct_RANLIB"; then
6214   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6218 do
6219   IFS=$as_save_IFS
6220   test -z "$as_dir" && as_dir=.
6221     for ac_exec_ext in '' $ac_executable_extensions; do
6222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223     ac_cv_prog_ac_ct_RANLIB="ranlib"
6224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225     break 2
6226   fi
6227 done
6228   done
6229 IFS=$as_save_IFS
6230
6231 fi
6232 fi
6233 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6234 if test -n "$ac_ct_RANLIB"; then
6235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6236 $as_echo "$ac_ct_RANLIB" >&6; }
6237 else
6238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6240 fi
6241
6242   if test "x$ac_ct_RANLIB" = x; then
6243     RANLIB=":"
6244   else
6245     case $cross_compiling:$ac_tool_warned in
6246 yes:)
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6249 ac_tool_warned=yes ;;
6250 esac
6251     RANLIB=$ac_ct_RANLIB
6252   fi
6253 else
6254   RANLIB="$ac_cv_prog_RANLIB"
6255 fi
6256
6257 test -z "$RANLIB" && RANLIB=:
6258
6259
6260
6261
6262
6263
6264 # Determine commands to create old-style static archives.
6265 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6266 old_postinstall_cmds='chmod 644 $oldlib'
6267 old_postuninstall_cmds=
6268
6269 if test -n "$RANLIB"; then
6270   case $host_os in
6271   openbsd*)
6272     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6273     ;;
6274   *)
6275     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6276     ;;
6277   esac
6278   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6279 fi
6280
6281 case $host_os in
6282   darwin*)
6283     lock_old_archive_extraction=yes ;;
6284   *)
6285     lock_old_archive_extraction=no ;;
6286 esac
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326 # If no C compiler was specified, use CC.
6327 LTCC=${LTCC-"$CC"}
6328
6329 # If no C compiler flags were specified, use CFLAGS.
6330 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6331
6332 # Allow CC to be a program name with arguments.
6333 compiler=$CC
6334
6335
6336 # Check for command to grab the raw symbol name followed by C symbol from nm.
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6338 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6339 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6340   $as_echo_n "(cached) " >&6
6341 else
6342
6343 # These are sane defaults that work on at least a few old systems.
6344 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6345
6346 # Character class describing NM global symbol codes.
6347 symcode='[BCDEGRST]'
6348
6349 # Regexp to match symbols that can be accessed directly from C.
6350 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6351
6352 # Define system-specific variables.
6353 case $host_os in
6354 aix*)
6355   symcode='[BCDT]'
6356   ;;
6357 cygwin* | mingw* | pw32* | cegcc*)
6358   symcode='[ABCDGISTW]'
6359   ;;
6360 hpux*)
6361   if test "$host_cpu" = ia64; then
6362     symcode='[ABCDEGRST]'
6363   fi
6364   ;;
6365 irix* | nonstopux*)
6366   symcode='[BCDEGRST]'
6367   ;;
6368 osf*)
6369   symcode='[BCDEGQRST]'
6370   ;;
6371 solaris*)
6372   symcode='[BDRT]'
6373   ;;
6374 sco3.2v5*)
6375   symcode='[DT]'
6376   ;;
6377 sysv4.2uw2*)
6378   symcode='[DT]'
6379   ;;
6380 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6381   symcode='[ABDT]'
6382   ;;
6383 sysv4)
6384   symcode='[DFNSTU]'
6385   ;;
6386 esac
6387
6388 # If we're using GNU nm, then use its standard symbol codes.
6389 case `$NM -V 2>&1` in
6390 *GNU* | *'with BFD'*)
6391   symcode='[ABCDGIRSTW]' ;;
6392 esac
6393
6394 # Transform an extracted symbol line into a proper C declaration.
6395 # Some systems (esp. on ia64) link data and code symbols differently,
6396 # so use this general approach.
6397 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6398
6399 # Transform an extracted symbol line into symbol name and symbol address
6400 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6401 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'"
6402
6403 # Handle CRLF in mingw tool chain
6404 opt_cr=
6405 case $build_os in
6406 mingw*)
6407   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6408   ;;
6409 esac
6410
6411 # Try without a prefix underscore, then with it.
6412 for ac_symprfx in "" "_"; do
6413
6414   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6415   symxfrm="\\1 $ac_symprfx\\2 \\2"
6416
6417   # Write the raw and C identifiers.
6418   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6419     # Fake it for dumpbin and say T for any non-static function
6420     # and D for any global variable.
6421     # Also find C++ and __fastcall symbols from MSVC++,
6422     # which start with @ or ?.
6423     lt_cv_sys_global_symbol_pipe="$AWK '"\
6424 "     {last_section=section; section=\$ 3};"\
6425 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6426 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6427 "     \$ 0!~/External *\|/{next};"\
6428 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6429 "     {if(hide[section]) next};"\
6430 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6431 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6432 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6433 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6434 "     ' prfx=^$ac_symprfx"
6435   else
6436     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6437   fi
6438   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6439
6440   # Check to see that the pipe works correctly.
6441   pipe_works=no
6442
6443   rm -f conftest*
6444   cat > conftest.$ac_ext <<_LT_EOF
6445 #ifdef __cplusplus
6446 extern "C" {
6447 #endif
6448 char nm_test_var;
6449 void nm_test_func(void);
6450 void nm_test_func(void){}
6451 #ifdef __cplusplus
6452 }
6453 #endif
6454 int main(){nm_test_var='a';nm_test_func();return(0);}
6455 _LT_EOF
6456
6457   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6458   (eval $ac_compile) 2>&5
6459   ac_status=$?
6460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6461   test $ac_status = 0; }; then
6462     # Now try to grab the symbols.
6463     nlist=conftest.nm
6464     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6465   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6466   ac_status=$?
6467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6468   test $ac_status = 0; } && test -s "$nlist"; then
6469       # Try sorting and uniquifying the output.
6470       if sort "$nlist" | uniq > "$nlist"T; then
6471         mv -f "$nlist"T "$nlist"
6472       else
6473         rm -f "$nlist"T
6474       fi
6475
6476       # Make sure that we snagged all the symbols we need.
6477       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6478         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6479           cat <<_LT_EOF > conftest.$ac_ext
6480 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6481 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6482 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6483    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6484 # define LT_DLSYM_CONST
6485 #elif defined(__osf__)
6486 /* This system does not cope well with relocations in const data.  */
6487 # define LT_DLSYM_CONST
6488 #else
6489 # define LT_DLSYM_CONST const
6490 #endif
6491
6492 #ifdef __cplusplus
6493 extern "C" {
6494 #endif
6495
6496 _LT_EOF
6497           # Now generate the symbol file.
6498           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6499
6500           cat <<_LT_EOF >> conftest.$ac_ext
6501
6502 /* The mapping between symbol names and symbols.  */
6503 LT_DLSYM_CONST struct {
6504   const char *name;
6505   void       *address;
6506 }
6507 lt__PROGRAM__LTX_preloaded_symbols[] =
6508 {
6509   { "@PROGRAM@", (void *) 0 },
6510 _LT_EOF
6511           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6512           cat <<\_LT_EOF >> conftest.$ac_ext
6513   {0, (void *) 0}
6514 };
6515
6516 /* This works around a problem in FreeBSD linker */
6517 #ifdef FREEBSD_WORKAROUND
6518 static const void *lt_preloaded_setup() {
6519   return lt__PROGRAM__LTX_preloaded_symbols;
6520 }
6521 #endif
6522
6523 #ifdef __cplusplus
6524 }
6525 #endif
6526 _LT_EOF
6527           # Now try linking the two files.
6528           mv conftest.$ac_objext conftstm.$ac_objext
6529           lt_globsym_save_LIBS=$LIBS
6530           lt_globsym_save_CFLAGS=$CFLAGS
6531           LIBS="conftstm.$ac_objext"
6532           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6533           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6534   (eval $ac_link) 2>&5
6535   ac_status=$?
6536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6537   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6538             pipe_works=yes
6539           fi
6540           LIBS=$lt_globsym_save_LIBS
6541           CFLAGS=$lt_globsym_save_CFLAGS
6542         else
6543           echo "cannot find nm_test_func in $nlist" >&5
6544         fi
6545       else
6546         echo "cannot find nm_test_var in $nlist" >&5
6547       fi
6548     else
6549       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6550     fi
6551   else
6552     echo "$progname: failed program was:" >&5
6553     cat conftest.$ac_ext >&5
6554   fi
6555   rm -rf conftest* conftst*
6556
6557   # Do not use the global_symbol_pipe unless it works.
6558   if test "$pipe_works" = yes; then
6559     break
6560   else
6561     lt_cv_sys_global_symbol_pipe=
6562   fi
6563 done
6564
6565 fi
6566
6567 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6568   lt_cv_sys_global_symbol_to_cdecl=
6569 fi
6570 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6572 $as_echo "failed" >&6; }
6573 else
6574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6575 $as_echo "ok" >&6; }
6576 fi
6577
6578 # Response file support.
6579 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6580   nm_file_list_spec='@'
6581 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6582   nm_file_list_spec='@'
6583 fi
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6612 $as_echo_n "checking for sysroot... " >&6; }
6613
6614 # Check whether --with-sysroot was given.
6615 if test "${with_sysroot+set}" = set; then :
6616   withval=$with_sysroot;
6617 else
6618   with_sysroot=no
6619 fi
6620
6621
6622 lt_sysroot=
6623 case ${with_sysroot} in #(
6624  yes)
6625    if test "$GCC" = yes; then
6626      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6627    fi
6628    ;; #(
6629  /*)
6630    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6631    ;; #(
6632  no|'')
6633    ;; #(
6634  *)
6635    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6636 $as_echo "${with_sysroot}" >&6; }
6637    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6638    ;;
6639 esac
6640
6641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6642 $as_echo "${lt_sysroot:-no}" >&6; }
6643
6644
6645
6646
6647
6648 # Check whether --enable-libtool-lock was given.
6649 if test "${enable_libtool_lock+set}" = set; then :
6650   enableval=$enable_libtool_lock;
6651 fi
6652
6653 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6654
6655 # Some flags need to be propagated to the compiler or linker for good
6656 # libtool support.
6657 case $host in
6658 ia64-*-hpux*)
6659   # Find out which ABI we are using.
6660   echo 'int i;' > conftest.$ac_ext
6661   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6662   (eval $ac_compile) 2>&5
6663   ac_status=$?
6664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6665   test $ac_status = 0; }; then
6666     case `/usr/bin/file conftest.$ac_objext` in
6667       *ELF-32*)
6668         HPUX_IA64_MODE="32"
6669         ;;
6670       *ELF-64*)
6671         HPUX_IA64_MODE="64"
6672         ;;
6673     esac
6674   fi
6675   rm -rf conftest*
6676   ;;
6677 *-*-irix6*)
6678   # Find out which ABI we are using.
6679   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6680   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6681   (eval $ac_compile) 2>&5
6682   ac_status=$?
6683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6684   test $ac_status = 0; }; then
6685     if test "$lt_cv_prog_gnu_ld" = yes; then
6686       case `/usr/bin/file conftest.$ac_objext` in
6687         *32-bit*)
6688           LD="${LD-ld} -melf32bsmip"
6689           ;;
6690         *N32*)
6691           LD="${LD-ld} -melf32bmipn32"
6692           ;;
6693         *64-bit*)
6694           LD="${LD-ld} -melf64bmip"
6695         ;;
6696       esac
6697     else
6698       case `/usr/bin/file conftest.$ac_objext` in
6699         *32-bit*)
6700           LD="${LD-ld} -32"
6701           ;;
6702         *N32*)
6703           LD="${LD-ld} -n32"
6704           ;;
6705         *64-bit*)
6706           LD="${LD-ld} -64"
6707           ;;
6708       esac
6709     fi
6710   fi
6711   rm -rf conftest*
6712   ;;
6713
6714 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6715 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6716   # Find out which ABI we are using.
6717   echo 'int i;' > conftest.$ac_ext
6718   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6719   (eval $ac_compile) 2>&5
6720   ac_status=$?
6721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6722   test $ac_status = 0; }; then
6723     case `/usr/bin/file conftest.o` in
6724       *32-bit*)
6725         case $host in
6726           x86_64-*kfreebsd*-gnu)
6727             LD="${LD-ld} -m elf_i386_fbsd"
6728             ;;
6729           x86_64-*linux*)
6730             case `/usr/bin/file conftest.o` in
6731               *x86-64*)
6732                 LD="${LD-ld} -m elf32_x86_64"
6733                 ;;
6734               *)
6735                 LD="${LD-ld} -m elf_i386"
6736                 ;;
6737             esac
6738             ;;
6739           powerpc64le-*)
6740             LD="${LD-ld} -m elf32lppclinux"
6741             ;;
6742           powerpc64-*)
6743             LD="${LD-ld} -m elf32ppclinux"
6744             ;;
6745           s390x-*linux*)
6746             LD="${LD-ld} -m elf_s390"
6747             ;;
6748           sparc64-*linux*)
6749             LD="${LD-ld} -m elf32_sparc"
6750             ;;
6751         esac
6752         ;;
6753       *64-bit*)
6754         case $host in
6755           x86_64-*kfreebsd*-gnu)
6756             LD="${LD-ld} -m elf_x86_64_fbsd"
6757             ;;
6758           x86_64-*linux*)
6759             LD="${LD-ld} -m elf_x86_64"
6760             ;;
6761           powerpcle-*)
6762             LD="${LD-ld} -m elf64lppc"
6763             ;;
6764           powerpc-*)
6765             LD="${LD-ld} -m elf64ppc"
6766             ;;
6767           s390*-*linux*|s390*-*tpf*)
6768             LD="${LD-ld} -m elf64_s390"
6769             ;;
6770           sparc*-*linux*)
6771             LD="${LD-ld} -m elf64_sparc"
6772             ;;
6773         esac
6774         ;;
6775     esac
6776   fi
6777   rm -rf conftest*
6778   ;;
6779
6780 *-*-sco3.2v5*)
6781   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6782   SAVE_CFLAGS="$CFLAGS"
6783   CFLAGS="$CFLAGS -belf"
6784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6785 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6786 if ${lt_cv_cc_needs_belf+:} false; then :
6787   $as_echo_n "(cached) " >&6
6788 else
6789   ac_ext=c
6790 ac_cpp='$CPP $CPPFLAGS'
6791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6794
6795      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6796 /* end confdefs.h.  */
6797
6798 int
6799 main ()
6800 {
6801
6802   ;
6803   return 0;
6804 }
6805 _ACEOF
6806 if ac_fn_c_try_link "$LINENO"; then :
6807   lt_cv_cc_needs_belf=yes
6808 else
6809   lt_cv_cc_needs_belf=no
6810 fi
6811 rm -f core conftest.err conftest.$ac_objext \
6812     conftest$ac_exeext conftest.$ac_ext
6813      ac_ext=c
6814 ac_cpp='$CPP $CPPFLAGS'
6815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6818
6819 fi
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6821 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6822   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6823     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6824     CFLAGS="$SAVE_CFLAGS"
6825   fi
6826   ;;
6827 *-*solaris*)
6828   # Find out which ABI we are using.
6829   echo 'int i;' > conftest.$ac_ext
6830   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6831   (eval $ac_compile) 2>&5
6832   ac_status=$?
6833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6834   test $ac_status = 0; }; then
6835     case `/usr/bin/file conftest.o` in
6836     *64-bit*)
6837       case $lt_cv_prog_gnu_ld in
6838       yes*)
6839         case $host in
6840         i?86-*-solaris*)
6841           LD="${LD-ld} -m elf_x86_64"
6842           ;;
6843         sparc*-*-solaris*)
6844           LD="${LD-ld} -m elf64_sparc"
6845           ;;
6846         esac
6847         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6848         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6849           LD="${LD-ld}_sol2"
6850         fi
6851         ;;
6852       *)
6853         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6854           LD="${LD-ld} -64"
6855         fi
6856         ;;
6857       esac
6858       ;;
6859     esac
6860   fi
6861   rm -rf conftest*
6862   ;;
6863 esac
6864
6865 need_locks="$enable_libtool_lock"
6866
6867 if test -n "$ac_tool_prefix"; then
6868   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6869 set dummy ${ac_tool_prefix}mt; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6873   $as_echo_n "(cached) " >&6
6874 else
6875   if test -n "$MANIFEST_TOOL"; then
6876   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6877 else
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 for as_dir in $PATH
6880 do
6881   IFS=$as_save_IFS
6882   test -z "$as_dir" && as_dir=.
6883     for ac_exec_ext in '' $ac_executable_extensions; do
6884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6887     break 2
6888   fi
6889 done
6890   done
6891 IFS=$as_save_IFS
6892
6893 fi
6894 fi
6895 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6896 if test -n "$MANIFEST_TOOL"; then
6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6898 $as_echo "$MANIFEST_TOOL" >&6; }
6899 else
6900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6902 fi
6903
6904
6905 fi
6906 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6907   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6908   # Extract the first word of "mt", so it can be a program name with args.
6909 set dummy mt; ac_word=$2
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6911 $as_echo_n "checking for $ac_word... " >&6; }
6912 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6913   $as_echo_n "(cached) " >&6
6914 else
6915   if test -n "$ac_ct_MANIFEST_TOOL"; then
6916   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6917 else
6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 for as_dir in $PATH
6920 do
6921   IFS=$as_save_IFS
6922   test -z "$as_dir" && as_dir=.
6923     for ac_exec_ext in '' $ac_executable_extensions; do
6924   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6925     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6927     break 2
6928   fi
6929 done
6930   done
6931 IFS=$as_save_IFS
6932
6933 fi
6934 fi
6935 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6936 if test -n "$ac_ct_MANIFEST_TOOL"; then
6937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6938 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6939 else
6940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941 $as_echo "no" >&6; }
6942 fi
6943
6944   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6945     MANIFEST_TOOL=":"
6946   else
6947     case $cross_compiling:$ac_tool_warned in
6948 yes:)
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6951 ac_tool_warned=yes ;;
6952 esac
6953     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6954   fi
6955 else
6956   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6957 fi
6958
6959 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6961 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6962 if ${lt_cv_path_mainfest_tool+:} false; then :
6963   $as_echo_n "(cached) " >&6
6964 else
6965   lt_cv_path_mainfest_tool=no
6966   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6967   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6968   cat conftest.err >&5
6969   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6970     lt_cv_path_mainfest_tool=yes
6971   fi
6972   rm -f conftest*
6973 fi
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6975 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6976 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6977   MANIFEST_TOOL=:
6978 fi
6979
6980
6981
6982
6983
6984
6985   case $host_os in
6986     rhapsody* | darwin*)
6987     if test -n "$ac_tool_prefix"; then
6988   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6989 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6993   $as_echo_n "(cached) " >&6
6994 else
6995   if test -n "$DSYMUTIL"; then
6996   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6997 else
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 for as_dir in $PATH
7000 do
7001   IFS=$as_save_IFS
7002   test -z "$as_dir" && as_dir=.
7003     for ac_exec_ext in '' $ac_executable_extensions; do
7004   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007     break 2
7008   fi
7009 done
7010   done
7011 IFS=$as_save_IFS
7012
7013 fi
7014 fi
7015 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7016 if test -n "$DSYMUTIL"; then
7017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7018 $as_echo "$DSYMUTIL" >&6; }
7019 else
7020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7022 fi
7023
7024
7025 fi
7026 if test -z "$ac_cv_prog_DSYMUTIL"; then
7027   ac_ct_DSYMUTIL=$DSYMUTIL
7028   # Extract the first word of "dsymutil", so it can be a program name with args.
7029 set dummy dsymutil; ac_word=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7033   $as_echo_n "(cached) " >&6
7034 else
7035   if test -n "$ac_ct_DSYMUTIL"; then
7036   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7037 else
7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7039 for as_dir in $PATH
7040 do
7041   IFS=$as_save_IFS
7042   test -z "$as_dir" && as_dir=.
7043     for ac_exec_ext in '' $ac_executable_extensions; do
7044   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7045     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047     break 2
7048   fi
7049 done
7050   done
7051 IFS=$as_save_IFS
7052
7053 fi
7054 fi
7055 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7056 if test -n "$ac_ct_DSYMUTIL"; then
7057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7058 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7059 else
7060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7062 fi
7063
7064   if test "x$ac_ct_DSYMUTIL" = x; then
7065     DSYMUTIL=":"
7066   else
7067     case $cross_compiling:$ac_tool_warned in
7068 yes:)
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7071 ac_tool_warned=yes ;;
7072 esac
7073     DSYMUTIL=$ac_ct_DSYMUTIL
7074   fi
7075 else
7076   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7077 fi
7078
7079     if test -n "$ac_tool_prefix"; then
7080   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7081 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_NMEDIT+:} false; then :
7085   $as_echo_n "(cached) " >&6
7086 else
7087   if test -n "$NMEDIT"; then
7088   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7089 else
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in $PATH
7092 do
7093   IFS=$as_save_IFS
7094   test -z "$as_dir" && as_dir=.
7095     for ac_exec_ext in '' $ac_executable_extensions; do
7096   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099     break 2
7100   fi
7101 done
7102   done
7103 IFS=$as_save_IFS
7104
7105 fi
7106 fi
7107 NMEDIT=$ac_cv_prog_NMEDIT
7108 if test -n "$NMEDIT"; then
7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7110 $as_echo "$NMEDIT" >&6; }
7111 else
7112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7114 fi
7115
7116
7117 fi
7118 if test -z "$ac_cv_prog_NMEDIT"; then
7119   ac_ct_NMEDIT=$NMEDIT
7120   # Extract the first word of "nmedit", so it can be a program name with args.
7121 set dummy nmedit; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7125   $as_echo_n "(cached) " >&6
7126 else
7127   if test -n "$ac_ct_NMEDIT"; then
7128   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7129 else
7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 for as_dir in $PATH
7132 do
7133   IFS=$as_save_IFS
7134   test -z "$as_dir" && as_dir=.
7135     for ac_exec_ext in '' $ac_executable_extensions; do
7136   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7137     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139     break 2
7140   fi
7141 done
7142   done
7143 IFS=$as_save_IFS
7144
7145 fi
7146 fi
7147 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7148 if test -n "$ac_ct_NMEDIT"; then
7149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7150 $as_echo "$ac_ct_NMEDIT" >&6; }
7151 else
7152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 $as_echo "no" >&6; }
7154 fi
7155
7156   if test "x$ac_ct_NMEDIT" = x; then
7157     NMEDIT=":"
7158   else
7159     case $cross_compiling:$ac_tool_warned in
7160 yes:)
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7163 ac_tool_warned=yes ;;
7164 esac
7165     NMEDIT=$ac_ct_NMEDIT
7166   fi
7167 else
7168   NMEDIT="$ac_cv_prog_NMEDIT"
7169 fi
7170
7171     if test -n "$ac_tool_prefix"; then
7172   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7173 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_LIPO+:} false; then :
7177   $as_echo_n "(cached) " >&6
7178 else
7179   if test -n "$LIPO"; then
7180   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7181 else
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 for as_dir in $PATH
7184 do
7185   IFS=$as_save_IFS
7186   test -z "$as_dir" && as_dir=.
7187     for ac_exec_ext in '' $ac_executable_extensions; do
7188   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7189     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191     break 2
7192   fi
7193 done
7194   done
7195 IFS=$as_save_IFS
7196
7197 fi
7198 fi
7199 LIPO=$ac_cv_prog_LIPO
7200 if test -n "$LIPO"; then
7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7202 $as_echo "$LIPO" >&6; }
7203 else
7204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7206 fi
7207
7208
7209 fi
7210 if test -z "$ac_cv_prog_LIPO"; then
7211   ac_ct_LIPO=$LIPO
7212   # Extract the first word of "lipo", so it can be a program name with args.
7213 set dummy lipo; ac_word=$2
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7215 $as_echo_n "checking for $ac_word... " >&6; }
7216 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7217   $as_echo_n "(cached) " >&6
7218 else
7219   if test -n "$ac_ct_LIPO"; then
7220   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7221 else
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 for as_dir in $PATH
7224 do
7225   IFS=$as_save_IFS
7226   test -z "$as_dir" && as_dir=.
7227     for ac_exec_ext in '' $ac_executable_extensions; do
7228   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7229     ac_cv_prog_ac_ct_LIPO="lipo"
7230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7231     break 2
7232   fi
7233 done
7234   done
7235 IFS=$as_save_IFS
7236
7237 fi
7238 fi
7239 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7240 if test -n "$ac_ct_LIPO"; then
7241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7242 $as_echo "$ac_ct_LIPO" >&6; }
7243 else
7244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7245 $as_echo "no" >&6; }
7246 fi
7247
7248   if test "x$ac_ct_LIPO" = x; then
7249     LIPO=":"
7250   else
7251     case $cross_compiling:$ac_tool_warned in
7252 yes:)
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7255 ac_tool_warned=yes ;;
7256 esac
7257     LIPO=$ac_ct_LIPO
7258   fi
7259 else
7260   LIPO="$ac_cv_prog_LIPO"
7261 fi
7262
7263     if test -n "$ac_tool_prefix"; then
7264   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7265 set dummy ${ac_tool_prefix}otool; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if ${ac_cv_prog_OTOOL+:} false; then :
7269   $as_echo_n "(cached) " >&6
7270 else
7271   if test -n "$OTOOL"; then
7272   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7273 else
7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275 for as_dir in $PATH
7276 do
7277   IFS=$as_save_IFS
7278   test -z "$as_dir" && as_dir=.
7279     for ac_exec_ext in '' $ac_executable_extensions; do
7280   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7283     break 2
7284   fi
7285 done
7286   done
7287 IFS=$as_save_IFS
7288
7289 fi
7290 fi
7291 OTOOL=$ac_cv_prog_OTOOL
7292 if test -n "$OTOOL"; then
7293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7294 $as_echo "$OTOOL" >&6; }
7295 else
7296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 $as_echo "no" >&6; }
7298 fi
7299
7300
7301 fi
7302 if test -z "$ac_cv_prog_OTOOL"; then
7303   ac_ct_OTOOL=$OTOOL
7304   # Extract the first word of "otool", so it can be a program name with args.
7305 set dummy otool; ac_word=$2
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307 $as_echo_n "checking for $ac_word... " >&6; }
7308 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7309   $as_echo_n "(cached) " >&6
7310 else
7311   if test -n "$ac_ct_OTOOL"; then
7312   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7313 else
7314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7315 for as_dir in $PATH
7316 do
7317   IFS=$as_save_IFS
7318   test -z "$as_dir" && as_dir=.
7319     for ac_exec_ext in '' $ac_executable_extensions; do
7320   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7321     ac_cv_prog_ac_ct_OTOOL="otool"
7322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7323     break 2
7324   fi
7325 done
7326   done
7327 IFS=$as_save_IFS
7328
7329 fi
7330 fi
7331 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7332 if test -n "$ac_ct_OTOOL"; then
7333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7334 $as_echo "$ac_ct_OTOOL" >&6; }
7335 else
7336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7337 $as_echo "no" >&6; }
7338 fi
7339
7340   if test "x$ac_ct_OTOOL" = x; then
7341     OTOOL=":"
7342   else
7343     case $cross_compiling:$ac_tool_warned in
7344 yes:)
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7347 ac_tool_warned=yes ;;
7348 esac
7349     OTOOL=$ac_ct_OTOOL
7350   fi
7351 else
7352   OTOOL="$ac_cv_prog_OTOOL"
7353 fi
7354
7355     if test -n "$ac_tool_prefix"; then
7356   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7357 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_prog_OTOOL64+:} false; then :
7361   $as_echo_n "(cached) " >&6
7362 else
7363   if test -n "$OTOOL64"; then
7364   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7365 else
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 for as_dir in $PATH
7368 do
7369   IFS=$as_save_IFS
7370   test -z "$as_dir" && as_dir=.
7371     for ac_exec_ext in '' $ac_executable_extensions; do
7372   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375     break 2
7376   fi
7377 done
7378   done
7379 IFS=$as_save_IFS
7380
7381 fi
7382 fi
7383 OTOOL64=$ac_cv_prog_OTOOL64
7384 if test -n "$OTOOL64"; then
7385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7386 $as_echo "$OTOOL64" >&6; }
7387 else
7388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7390 fi
7391
7392
7393 fi
7394 if test -z "$ac_cv_prog_OTOOL64"; then
7395   ac_ct_OTOOL64=$OTOOL64
7396   # Extract the first word of "otool64", so it can be a program name with args.
7397 set dummy otool64; ac_word=$2
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399 $as_echo_n "checking for $ac_word... " >&6; }
7400 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7401   $as_echo_n "(cached) " >&6
7402 else
7403   if test -n "$ac_ct_OTOOL64"; then
7404   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7405 else
7406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7407 for as_dir in $PATH
7408 do
7409   IFS=$as_save_IFS
7410   test -z "$as_dir" && as_dir=.
7411     for ac_exec_ext in '' $ac_executable_extensions; do
7412   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7413     ac_cv_prog_ac_ct_OTOOL64="otool64"
7414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415     break 2
7416   fi
7417 done
7418   done
7419 IFS=$as_save_IFS
7420
7421 fi
7422 fi
7423 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7424 if test -n "$ac_ct_OTOOL64"; then
7425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7426 $as_echo "$ac_ct_OTOOL64" >&6; }
7427 else
7428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429 $as_echo "no" >&6; }
7430 fi
7431
7432   if test "x$ac_ct_OTOOL64" = x; then
7433     OTOOL64=":"
7434   else
7435     case $cross_compiling:$ac_tool_warned in
7436 yes:)
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7439 ac_tool_warned=yes ;;
7440 esac
7441     OTOOL64=$ac_ct_OTOOL64
7442   fi
7443 else
7444   OTOOL64="$ac_cv_prog_OTOOL64"
7445 fi
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7474 $as_echo_n "checking for -single_module linker flag... " >&6; }
7475 if ${lt_cv_apple_cc_single_mod+:} false; then :
7476   $as_echo_n "(cached) " >&6
7477 else
7478   lt_cv_apple_cc_single_mod=no
7479       if test -z "${LT_MULTI_MODULE}"; then
7480         # By default we will add the -single_module flag. You can override
7481         # by either setting the environment variable LT_MULTI_MODULE
7482         # non-empty at configure time, or by adding -multi_module to the
7483         # link flags.
7484         rm -rf libconftest.dylib*
7485         echo "int foo(void){return 1;}" > conftest.c
7486         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7487 -dynamiclib -Wl,-single_module conftest.c" >&5
7488         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7489           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7490         _lt_result=$?
7491         # If there is a non-empty error log, and "single_module"
7492         # appears in it, assume the flag caused a linker warning
7493         if test -s conftest.err && $GREP single_module conftest.err; then
7494           cat conftest.err >&5
7495         # Otherwise, if the output was created with a 0 exit code from
7496         # the compiler, it worked.
7497         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7498           lt_cv_apple_cc_single_mod=yes
7499         else
7500           cat conftest.err >&5
7501         fi
7502         rm -rf libconftest.dylib*
7503         rm -f conftest.*
7504       fi
7505 fi
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7507 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7508
7509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7510 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7511 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7512   $as_echo_n "(cached) " >&6
7513 else
7514   lt_cv_ld_exported_symbols_list=no
7515       save_LDFLAGS=$LDFLAGS
7516       echo "_main" > conftest.sym
7517       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519 /* end confdefs.h.  */
7520
7521 int
7522 main ()
7523 {
7524
7525   ;
7526   return 0;
7527 }
7528 _ACEOF
7529 if ac_fn_c_try_link "$LINENO"; then :
7530   lt_cv_ld_exported_symbols_list=yes
7531 else
7532   lt_cv_ld_exported_symbols_list=no
7533 fi
7534 rm -f core conftest.err conftest.$ac_objext \
7535     conftest$ac_exeext conftest.$ac_ext
7536         LDFLAGS="$save_LDFLAGS"
7537
7538 fi
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7540 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7541
7542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7543 $as_echo_n "checking for -force_load linker flag... " >&6; }
7544 if ${lt_cv_ld_force_load+:} false; then :
7545   $as_echo_n "(cached) " >&6
7546 else
7547   lt_cv_ld_force_load=no
7548       cat > conftest.c << _LT_EOF
7549 int forced_loaded() { return 2;}
7550 _LT_EOF
7551       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7552       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7553       echo "$AR cru libconftest.a conftest.o" >&5
7554       $AR cru libconftest.a conftest.o 2>&5
7555       echo "$RANLIB libconftest.a" >&5
7556       $RANLIB libconftest.a 2>&5
7557       cat > conftest.c << _LT_EOF
7558 int main() { return 0;}
7559 _LT_EOF
7560       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7561       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7562       _lt_result=$?
7563       if test -s conftest.err && $GREP force_load conftest.err; then
7564         cat conftest.err >&5
7565       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7566         lt_cv_ld_force_load=yes
7567       else
7568         cat conftest.err >&5
7569       fi
7570         rm -f conftest.err libconftest.a conftest conftest.c
7571         rm -rf conftest.dSYM
7572
7573 fi
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7575 $as_echo "$lt_cv_ld_force_load" >&6; }
7576     case $host_os in
7577     rhapsody* | darwin1.[012])
7578       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7579     darwin1.*)
7580       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7581     darwin*) # darwin 5.x on
7582       # if running on 10.5 or later, the deployment target defaults
7583       # to the OS version, if on x86, and 10.4, the deployment
7584       # target defaults to 10.4. Don't you love it?
7585       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7586         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7587           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7588         10.[012]*)
7589           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7590         10.*)
7591           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7592       esac
7593     ;;
7594   esac
7595     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7596       _lt_dar_single_mod='$single_module'
7597     fi
7598     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7599       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7600     else
7601       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7602     fi
7603     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7604       _lt_dsymutil='~$DSYMUTIL $lib || :'
7605     else
7606       _lt_dsymutil=
7607     fi
7608     ;;
7609   esac
7610
7611 ac_ext=c
7612 ac_cpp='$CPP $CPPFLAGS'
7613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7617 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7618 # On Suns, sometimes $CPP names a directory.
7619 if test -n "$CPP" && test -d "$CPP"; then
7620   CPP=
7621 fi
7622 if test -z "$CPP"; then
7623   if ${ac_cv_prog_CPP+:} false; then :
7624   $as_echo_n "(cached) " >&6
7625 else
7626       # Double quotes because CPP needs to be expanded
7627     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7628     do
7629       ac_preproc_ok=false
7630 for ac_c_preproc_warn_flag in '' yes
7631 do
7632   # Use a header file that comes with gcc, so configuring glibc
7633   # with a fresh cross-compiler works.
7634   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7635   # <limits.h> exists even on freestanding compilers.
7636   # On the NeXT, cc -E runs the code through the compiler's parser,
7637   # not just through cpp. "Syntax error" is here to catch this case.
7638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7639 /* end confdefs.h.  */
7640 #ifdef __STDC__
7641 # include <limits.h>
7642 #else
7643 # include <assert.h>
7644 #endif
7645                      Syntax error
7646 _ACEOF
7647 if ac_fn_c_try_cpp "$LINENO"; then :
7648
7649 else
7650   # Broken: fails on valid input.
7651 continue
7652 fi
7653 rm -f conftest.err conftest.i conftest.$ac_ext
7654
7655   # OK, works on sane cases.  Now check whether nonexistent headers
7656   # can be detected and how.
7657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h.  */
7659 #include <ac_nonexistent.h>
7660 _ACEOF
7661 if ac_fn_c_try_cpp "$LINENO"; then :
7662   # Broken: success on invalid input.
7663 continue
7664 else
7665   # Passes both tests.
7666 ac_preproc_ok=:
7667 break
7668 fi
7669 rm -f conftest.err conftest.i conftest.$ac_ext
7670
7671 done
7672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7673 rm -f conftest.i conftest.err conftest.$ac_ext
7674 if $ac_preproc_ok; then :
7675   break
7676 fi
7677
7678     done
7679     ac_cv_prog_CPP=$CPP
7680
7681 fi
7682   CPP=$ac_cv_prog_CPP
7683 else
7684   ac_cv_prog_CPP=$CPP
7685 fi
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7687 $as_echo "$CPP" >&6; }
7688 ac_preproc_ok=false
7689 for ac_c_preproc_warn_flag in '' yes
7690 do
7691   # Use a header file that comes with gcc, so configuring glibc
7692   # with a fresh cross-compiler works.
7693   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7694   # <limits.h> exists even on freestanding compilers.
7695   # On the NeXT, cc -E runs the code through the compiler's parser,
7696   # not just through cpp. "Syntax error" is here to catch this case.
7697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h.  */
7699 #ifdef __STDC__
7700 # include <limits.h>
7701 #else
7702 # include <assert.h>
7703 #endif
7704                      Syntax error
7705 _ACEOF
7706 if ac_fn_c_try_cpp "$LINENO"; then :
7707
7708 else
7709   # Broken: fails on valid input.
7710 continue
7711 fi
7712 rm -f conftest.err conftest.i conftest.$ac_ext
7713
7714   # OK, works on sane cases.  Now check whether nonexistent headers
7715   # can be detected and how.
7716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h.  */
7718 #include <ac_nonexistent.h>
7719 _ACEOF
7720 if ac_fn_c_try_cpp "$LINENO"; then :
7721   # Broken: success on invalid input.
7722 continue
7723 else
7724   # Passes both tests.
7725 ac_preproc_ok=:
7726 break
7727 fi
7728 rm -f conftest.err conftest.i conftest.$ac_ext
7729
7730 done
7731 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7732 rm -f conftest.i conftest.err conftest.$ac_ext
7733 if $ac_preproc_ok; then :
7734
7735 else
7736   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7738 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7739 See \`config.log' for more details" "$LINENO" 5; }
7740 fi
7741
7742 ac_ext=c
7743 ac_cpp='$CPP $CPPFLAGS'
7744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7747
7748
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7750 $as_echo_n "checking for ANSI C header files... " >&6; }
7751 if ${ac_cv_header_stdc+:} false; then :
7752   $as_echo_n "(cached) " >&6
7753 else
7754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h.  */
7756 #include <stdlib.h>
7757 #include <stdarg.h>
7758 #include <string.h>
7759 #include <float.h>
7760
7761 int
7762 main ()
7763 {
7764
7765   ;
7766   return 0;
7767 }
7768 _ACEOF
7769 if ac_fn_c_try_compile "$LINENO"; then :
7770   ac_cv_header_stdc=yes
7771 else
7772   ac_cv_header_stdc=no
7773 fi
7774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7775
7776 if test $ac_cv_header_stdc = yes; then
7777   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7779 /* end confdefs.h.  */
7780 #include <string.h>
7781
7782 _ACEOF
7783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7784   $EGREP "memchr" >/dev/null 2>&1; then :
7785
7786 else
7787   ac_cv_header_stdc=no
7788 fi
7789 rm -f conftest*
7790
7791 fi
7792
7793 if test $ac_cv_header_stdc = yes; then
7794   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7796 /* end confdefs.h.  */
7797 #include <stdlib.h>
7798
7799 _ACEOF
7800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7801   $EGREP "free" >/dev/null 2>&1; then :
7802
7803 else
7804   ac_cv_header_stdc=no
7805 fi
7806 rm -f conftest*
7807
7808 fi
7809
7810 if test $ac_cv_header_stdc = yes; then
7811   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7812   if test "$cross_compiling" = yes; then :
7813   :
7814 else
7815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7816 /* end confdefs.h.  */
7817 #include <ctype.h>
7818 #include <stdlib.h>
7819 #if ((' ' & 0x0FF) == 0x020)
7820 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7821 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7822 #else
7823 # define ISLOWER(c) \
7824                    (('a' <= (c) && (c) <= 'i') \
7825                      || ('j' <= (c) && (c) <= 'r') \
7826                      || ('s' <= (c) && (c) <= 'z'))
7827 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7828 #endif
7829
7830 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7831 int
7832 main ()
7833 {
7834   int i;
7835   for (i = 0; i < 256; i++)
7836     if (XOR (islower (i), ISLOWER (i))
7837         || toupper (i) != TOUPPER (i))
7838       return 2;
7839   return 0;
7840 }
7841 _ACEOF
7842 if ac_fn_c_try_run "$LINENO"; then :
7843
7844 else
7845   ac_cv_header_stdc=no
7846 fi
7847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7848   conftest.$ac_objext conftest.beam conftest.$ac_ext
7849 fi
7850
7851 fi
7852 fi
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7854 $as_echo "$ac_cv_header_stdc" >&6; }
7855 if test $ac_cv_header_stdc = yes; then
7856
7857 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7858
7859 fi
7860
7861 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7862 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7863                   inttypes.h stdint.h unistd.h
7864 do :
7865   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7866 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7867 "
7868 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7869   cat >>confdefs.h <<_ACEOF
7870 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7871 _ACEOF
7872
7873 fi
7874
7875 done
7876
7877
7878 for ac_header in dlfcn.h
7879 do :
7880   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7881 "
7882 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7883   cat >>confdefs.h <<_ACEOF
7884 #define HAVE_DLFCN_H 1
7885 _ACEOF
7886
7887 fi
7888
7889 done
7890
7891
7892   GST_CURRENT=401
7893   GST_REVISION=0
7894   GST_AGE=401
7895   GST_LIBVERSION=401:0:401
7896
7897
7898
7899
7900
7901   GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
7902   if test ! -z ""
7903   then
7904     GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
7905   fi
7906
7907
7908
7909
7910
7911
7912
7913 # Set options
7914 enable_dlopen=yes
7915 enable_win32_dll=yes
7916
7917 case $host in
7918 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7919   if test -n "$ac_tool_prefix"; then
7920   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7921 set dummy ${ac_tool_prefix}as; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_prog_AS+:} false; then :
7925   $as_echo_n "(cached) " >&6
7926 else
7927   if test -n "$AS"; then
7928   ac_cv_prog_AS="$AS" # Let the user override the test.
7929 else
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931 for as_dir in $PATH
7932 do
7933   IFS=$as_save_IFS
7934   test -z "$as_dir" && as_dir=.
7935     for ac_exec_ext in '' $ac_executable_extensions; do
7936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937     ac_cv_prog_AS="${ac_tool_prefix}as"
7938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939     break 2
7940   fi
7941 done
7942   done
7943 IFS=$as_save_IFS
7944
7945 fi
7946 fi
7947 AS=$ac_cv_prog_AS
7948 if test -n "$AS"; then
7949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7950 $as_echo "$AS" >&6; }
7951 else
7952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7954 fi
7955
7956
7957 fi
7958 if test -z "$ac_cv_prog_AS"; then
7959   ac_ct_AS=$AS
7960   # Extract the first word of "as", so it can be a program name with args.
7961 set dummy as; ac_word=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963 $as_echo_n "checking for $ac_word... " >&6; }
7964 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7965   $as_echo_n "(cached) " >&6
7966 else
7967   if test -n "$ac_ct_AS"; then
7968   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7969 else
7970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 for as_dir in $PATH
7972 do
7973   IFS=$as_save_IFS
7974   test -z "$as_dir" && as_dir=.
7975     for ac_exec_ext in '' $ac_executable_extensions; do
7976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7977     ac_cv_prog_ac_ct_AS="as"
7978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979     break 2
7980   fi
7981 done
7982   done
7983 IFS=$as_save_IFS
7984
7985 fi
7986 fi
7987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7988 if test -n "$ac_ct_AS"; then
7989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7990 $as_echo "$ac_ct_AS" >&6; }
7991 else
7992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7994 fi
7995
7996   if test "x$ac_ct_AS" = x; then
7997     AS="false"
7998   else
7999     case $cross_compiling:$ac_tool_warned in
8000 yes:)
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8003 ac_tool_warned=yes ;;
8004 esac
8005     AS=$ac_ct_AS
8006   fi
8007 else
8008   AS="$ac_cv_prog_AS"
8009 fi
8010
8011   if test -n "$ac_tool_prefix"; then
8012   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8013 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_DLLTOOL+:} false; then :
8017   $as_echo_n "(cached) " >&6
8018 else
8019   if test -n "$DLLTOOL"; then
8020   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8024 do
8025   IFS=$as_save_IFS
8026   test -z "$as_dir" && as_dir=.
8027     for ac_exec_ext in '' $ac_executable_extensions; do
8028   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031     break 2
8032   fi
8033 done
8034   done
8035 IFS=$as_save_IFS
8036
8037 fi
8038 fi
8039 DLLTOOL=$ac_cv_prog_DLLTOOL
8040 if test -n "$DLLTOOL"; then
8041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8042 $as_echo "$DLLTOOL" >&6; }
8043 else
8044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8046 fi
8047
8048
8049 fi
8050 if test -z "$ac_cv_prog_DLLTOOL"; then
8051   ac_ct_DLLTOOL=$DLLTOOL
8052   # Extract the first word of "dlltool", so it can be a program name with args.
8053 set dummy dlltool; ac_word=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8057   $as_echo_n "(cached) " >&6
8058 else
8059   if test -n "$ac_ct_DLLTOOL"; then
8060   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8061 else
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 for as_dir in $PATH
8064 do
8065   IFS=$as_save_IFS
8066   test -z "$as_dir" && as_dir=.
8067     for ac_exec_ext in '' $ac_executable_extensions; do
8068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8069     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8071     break 2
8072   fi
8073 done
8074   done
8075 IFS=$as_save_IFS
8076
8077 fi
8078 fi
8079 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8080 if test -n "$ac_ct_DLLTOOL"; then
8081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8082 $as_echo "$ac_ct_DLLTOOL" >&6; }
8083 else
8084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8086 fi
8087
8088   if test "x$ac_ct_DLLTOOL" = x; then
8089     DLLTOOL="false"
8090   else
8091     case $cross_compiling:$ac_tool_warned in
8092 yes:)
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8095 ac_tool_warned=yes ;;
8096 esac
8097     DLLTOOL=$ac_ct_DLLTOOL
8098   fi
8099 else
8100   DLLTOOL="$ac_cv_prog_DLLTOOL"
8101 fi
8102
8103   if test -n "$ac_tool_prefix"; then
8104   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8105 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 $as_echo_n "checking for $ac_word... " >&6; }
8108 if ${ac_cv_prog_OBJDUMP+:} false; then :
8109   $as_echo_n "(cached) " >&6
8110 else
8111   if test -n "$OBJDUMP"; then
8112   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8113 else
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 for as_dir in $PATH
8116 do
8117   IFS=$as_save_IFS
8118   test -z "$as_dir" && as_dir=.
8119     for ac_exec_ext in '' $ac_executable_extensions; do
8120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8121     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123     break 2
8124   fi
8125 done
8126   done
8127 IFS=$as_save_IFS
8128
8129 fi
8130 fi
8131 OBJDUMP=$ac_cv_prog_OBJDUMP
8132 if test -n "$OBJDUMP"; then
8133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8134 $as_echo "$OBJDUMP" >&6; }
8135 else
8136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8138 fi
8139
8140
8141 fi
8142 if test -z "$ac_cv_prog_OBJDUMP"; then
8143   ac_ct_OBJDUMP=$OBJDUMP
8144   # Extract the first word of "objdump", so it can be a program name with args.
8145 set dummy objdump; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8149   $as_echo_n "(cached) " >&6
8150 else
8151   if test -n "$ac_ct_OBJDUMP"; then
8152   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8153 else
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 for as_dir in $PATH
8156 do
8157   IFS=$as_save_IFS
8158   test -z "$as_dir" && as_dir=.
8159     for ac_exec_ext in '' $ac_executable_extensions; do
8160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163     break 2
8164   fi
8165 done
8166   done
8167 IFS=$as_save_IFS
8168
8169 fi
8170 fi
8171 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8172 if test -n "$ac_ct_OBJDUMP"; then
8173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8174 $as_echo "$ac_ct_OBJDUMP" >&6; }
8175 else
8176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8178 fi
8179
8180   if test "x$ac_ct_OBJDUMP" = x; then
8181     OBJDUMP="false"
8182   else
8183     case $cross_compiling:$ac_tool_warned in
8184 yes:)
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8187 ac_tool_warned=yes ;;
8188 esac
8189     OBJDUMP=$ac_ct_OBJDUMP
8190   fi
8191 else
8192   OBJDUMP="$ac_cv_prog_OBJDUMP"
8193 fi
8194
8195   ;;
8196 esac
8197
8198 test -z "$AS" && AS=as
8199
8200
8201
8202
8203
8204 test -z "$DLLTOOL" && DLLTOOL=dlltool
8205
8206
8207
8208
8209
8210 test -z "$OBJDUMP" && OBJDUMP=objdump
8211
8212
8213
8214
8215 # Check whether --enable-static was given.
8216 if test "${enable_static+set}" = set; then :
8217   enableval=$enable_static; p=${PACKAGE-default}
8218     case $enableval in
8219     yes) enable_static=yes ;;
8220     no) enable_static=no ;;
8221     *)
8222      enable_static=no
8223       # Look at the argument we got.  We use all the common list separators.
8224       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8225       for pkg in $enableval; do
8226         IFS="$lt_save_ifs"
8227         if test "X$pkg" = "X$p"; then
8228           enable_static=yes
8229         fi
8230       done
8231       IFS="$lt_save_ifs"
8232       ;;
8233     esac
8234 else
8235   enable_static=no
8236 fi
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249             # Check whether --enable-shared was given.
8250 if test "${enable_shared+set}" = set; then :
8251   enableval=$enable_shared; p=${PACKAGE-default}
8252     case $enableval in
8253     yes) enable_shared=yes ;;
8254     no) enable_shared=no ;;
8255     *)
8256       enable_shared=no
8257       # Look at the argument we got.  We use all the common list separators.
8258       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8259       for pkg in $enableval; do
8260         IFS="$lt_save_ifs"
8261         if test "X$pkg" = "X$p"; then
8262           enable_shared=yes
8263         fi
8264       done
8265       IFS="$lt_save_ifs"
8266       ;;
8267     esac
8268 else
8269   enable_shared=yes
8270 fi
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282 # Check whether --with-pic was given.
8283 if test "${with_pic+set}" = set; then :
8284   withval=$with_pic; lt_p=${PACKAGE-default}
8285     case $withval in
8286     yes|no) pic_mode=$withval ;;
8287     *)
8288       pic_mode=default
8289       # Look at the argument we got.  We use all the common list separators.
8290       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8291       for lt_pkg in $withval; do
8292         IFS="$lt_save_ifs"
8293         if test "X$lt_pkg" = "X$lt_p"; then
8294           pic_mode=yes
8295         fi
8296       done
8297       IFS="$lt_save_ifs"
8298       ;;
8299     esac
8300 else
8301   pic_mode=default
8302 fi
8303
8304
8305 test -z "$pic_mode" && pic_mode=default
8306
8307
8308
8309
8310
8311
8312
8313   # Check whether --enable-fast-install was given.
8314 if test "${enable_fast_install+set}" = set; then :
8315   enableval=$enable_fast_install; p=${PACKAGE-default}
8316     case $enableval in
8317     yes) enable_fast_install=yes ;;
8318     no) enable_fast_install=no ;;
8319     *)
8320       enable_fast_install=no
8321       # Look at the argument we got.  We use all the common list separators.
8322       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8323       for pkg in $enableval; do
8324         IFS="$lt_save_ifs"
8325         if test "X$pkg" = "X$p"; then
8326           enable_fast_install=yes
8327         fi
8328       done
8329       IFS="$lt_save_ifs"
8330       ;;
8331     esac
8332 else
8333   enable_fast_install=yes
8334 fi
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346 # This can be used to rebuild libtool when needed
8347 LIBTOOL_DEPS="$ltmain"
8348
8349 # Always use our own libtool.
8350 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381 test -z "$LN_S" && LN_S="ln -s"
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396 if test -n "${ZSH_VERSION+set}" ; then
8397    setopt NO_GLOB_SUBST
8398 fi
8399
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8401 $as_echo_n "checking for objdir... " >&6; }
8402 if ${lt_cv_objdir+:} false; then :
8403   $as_echo_n "(cached) " >&6
8404 else
8405   rm -f .libs 2>/dev/null
8406 mkdir .libs 2>/dev/null
8407 if test -d .libs; then
8408   lt_cv_objdir=.libs
8409 else
8410   # MS-DOS does not allow filenames that begin with a dot.
8411   lt_cv_objdir=_libs
8412 fi
8413 rmdir .libs 2>/dev/null
8414 fi
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8416 $as_echo "$lt_cv_objdir" >&6; }
8417 objdir=$lt_cv_objdir
8418
8419
8420
8421
8422
8423 cat >>confdefs.h <<_ACEOF
8424 #define LT_OBJDIR "$lt_cv_objdir/"
8425 _ACEOF
8426
8427
8428
8429
8430 case $host_os in
8431 aix3*)
8432   # AIX sometimes has problems with the GCC collect2 program.  For some
8433   # reason, if we set the COLLECT_NAMES environment variable, the problems
8434   # vanish in a puff of smoke.
8435   if test "X${COLLECT_NAMES+set}" != Xset; then
8436     COLLECT_NAMES=
8437     export COLLECT_NAMES
8438   fi
8439   ;;
8440 esac
8441
8442 # Global variables:
8443 ofile=libtool
8444 can_build_shared=yes
8445
8446 # All known linkers require a `.a' archive for static linking (except MSVC,
8447 # which needs '.lib').
8448 libext=a
8449
8450 with_gnu_ld="$lt_cv_prog_gnu_ld"
8451
8452 old_CC="$CC"
8453 old_CFLAGS="$CFLAGS"
8454
8455 # Set sane defaults for various variables
8456 test -z "$CC" && CC=cc
8457 test -z "$LTCC" && LTCC=$CC
8458 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8459 test -z "$LD" && LD=ld
8460 test -z "$ac_objext" && ac_objext=o
8461
8462 for cc_temp in $compiler""; do
8463   case $cc_temp in
8464     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8465     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8466     \-*) ;;
8467     *) break;;
8468   esac
8469 done
8470 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8471
8472
8473 # Only perform the check for file, if the check method requires it
8474 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8475 case $deplibs_check_method in
8476 file_magic*)
8477   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8478     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8479 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8480 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8481   $as_echo_n "(cached) " >&6
8482 else
8483   case $MAGIC_CMD in
8484 [\\/*] |  ?:[\\/]*)
8485   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8486   ;;
8487 *)
8488   lt_save_MAGIC_CMD="$MAGIC_CMD"
8489   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8490   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8491   for ac_dir in $ac_dummy; do
8492     IFS="$lt_save_ifs"
8493     test -z "$ac_dir" && ac_dir=.
8494     if test -f $ac_dir/${ac_tool_prefix}file; then
8495       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8496       if test -n "$file_magic_test_file"; then
8497         case $deplibs_check_method in
8498         "file_magic "*)
8499           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8500           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8501           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8502             $EGREP "$file_magic_regex" > /dev/null; then
8503             :
8504           else
8505             cat <<_LT_EOF 1>&2
8506
8507 *** Warning: the command libtool uses to detect shared libraries,
8508 *** $file_magic_cmd, produces output that libtool cannot recognize.
8509 *** The result is that libtool may fail to recognize shared libraries
8510 *** as such.  This will affect the creation of libtool libraries that
8511 *** depend on shared libraries, but programs linked with such libtool
8512 *** libraries will work regardless of this problem.  Nevertheless, you
8513 *** may want to report the problem to your system manager and/or to
8514 *** bug-libtool@gnu.org
8515
8516 _LT_EOF
8517           fi ;;
8518         esac
8519       fi
8520       break
8521     fi
8522   done
8523   IFS="$lt_save_ifs"
8524   MAGIC_CMD="$lt_save_MAGIC_CMD"
8525   ;;
8526 esac
8527 fi
8528
8529 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8530 if test -n "$MAGIC_CMD"; then
8531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8532 $as_echo "$MAGIC_CMD" >&6; }
8533 else
8534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 $as_echo "no" >&6; }
8536 fi
8537
8538
8539
8540
8541
8542 if test -z "$lt_cv_path_MAGIC_CMD"; then
8543   if test -n "$ac_tool_prefix"; then
8544     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8545 $as_echo_n "checking for file... " >&6; }
8546 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8547   $as_echo_n "(cached) " >&6
8548 else
8549   case $MAGIC_CMD in
8550 [\\/*] |  ?:[\\/]*)
8551   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8552   ;;
8553 *)
8554   lt_save_MAGIC_CMD="$MAGIC_CMD"
8555   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8556   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8557   for ac_dir in $ac_dummy; do
8558     IFS="$lt_save_ifs"
8559     test -z "$ac_dir" && ac_dir=.
8560     if test -f $ac_dir/file; then
8561       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8562       if test -n "$file_magic_test_file"; then
8563         case $deplibs_check_method in
8564         "file_magic "*)
8565           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8566           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8567           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8568             $EGREP "$file_magic_regex" > /dev/null; then
8569             :
8570           else
8571             cat <<_LT_EOF 1>&2
8572
8573 *** Warning: the command libtool uses to detect shared libraries,
8574 *** $file_magic_cmd, produces output that libtool cannot recognize.
8575 *** The result is that libtool may fail to recognize shared libraries
8576 *** as such.  This will affect the creation of libtool libraries that
8577 *** depend on shared libraries, but programs linked with such libtool
8578 *** libraries will work regardless of this problem.  Nevertheless, you
8579 *** may want to report the problem to your system manager and/or to
8580 *** bug-libtool@gnu.org
8581
8582 _LT_EOF
8583           fi ;;
8584         esac
8585       fi
8586       break
8587     fi
8588   done
8589   IFS="$lt_save_ifs"
8590   MAGIC_CMD="$lt_save_MAGIC_CMD"
8591   ;;
8592 esac
8593 fi
8594
8595 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8596 if test -n "$MAGIC_CMD"; then
8597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8598 $as_echo "$MAGIC_CMD" >&6; }
8599 else
8600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8601 $as_echo "no" >&6; }
8602 fi
8603
8604
8605   else
8606     MAGIC_CMD=:
8607   fi
8608 fi
8609
8610   fi
8611   ;;
8612 esac
8613
8614 # Use C for the default configuration in the libtool script
8615
8616 lt_save_CC="$CC"
8617 ac_ext=c
8618 ac_cpp='$CPP $CPPFLAGS'
8619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8622
8623
8624 # Source file extension for C test sources.
8625 ac_ext=c
8626
8627 # Object file extension for compiled C test sources.
8628 objext=o
8629 objext=$objext
8630
8631 # Code to be used in simple compile tests
8632 lt_simple_compile_test_code="int some_variable = 0;"
8633
8634 # Code to be used in simple link tests
8635 lt_simple_link_test_code='int main(){return(0);}'
8636
8637
8638
8639
8640
8641
8642
8643 # If no C compiler was specified, use CC.
8644 LTCC=${LTCC-"$CC"}
8645
8646 # If no C compiler flags were specified, use CFLAGS.
8647 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8648
8649 # Allow CC to be a program name with arguments.
8650 compiler=$CC
8651
8652 # Save the default compiler, since it gets overwritten when the other
8653 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8654 compiler_DEFAULT=$CC
8655
8656 # save warnings/boilerplate of simple test code
8657 ac_outfile=conftest.$ac_objext
8658 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8659 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8660 _lt_compiler_boilerplate=`cat conftest.err`
8661 $RM conftest*
8662
8663 ac_outfile=conftest.$ac_objext
8664 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8665 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8666 _lt_linker_boilerplate=`cat conftest.err`
8667 $RM -r conftest*
8668
8669
8670 ## CAVEAT EMPTOR:
8671 ## There is no encapsulation within the following macros, do not change
8672 ## the running order or otherwise move them around unless you know exactly
8673 ## what you are doing...
8674 if test -n "$compiler"; then
8675
8676 lt_prog_compiler_no_builtin_flag=
8677
8678 if test "$GCC" = yes; then
8679   case $cc_basename in
8680   nvcc*)
8681     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8682   *)
8683     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8684   esac
8685
8686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8687 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8688 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8689   $as_echo_n "(cached) " >&6
8690 else
8691   lt_cv_prog_compiler_rtti_exceptions=no
8692    ac_outfile=conftest.$ac_objext
8693    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8694    lt_compiler_flag="-fno-rtti -fno-exceptions"
8695    # Insert the option either (1) after the last *FLAGS variable, or
8696    # (2) before a word containing "conftest.", or (3) at the end.
8697    # Note that $ac_compile itself does not contain backslashes and begins
8698    # with a dollar sign (not a hyphen), so the echo should work correctly.
8699    # The option is referenced via a variable to avoid confusing sed.
8700    lt_compile=`echo "$ac_compile" | $SED \
8701    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8702    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8703    -e 's:$: $lt_compiler_flag:'`
8704    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8705    (eval "$lt_compile" 2>conftest.err)
8706    ac_status=$?
8707    cat conftest.err >&5
8708    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709    if (exit $ac_status) && test -s "$ac_outfile"; then
8710      # The compiler can only warn and ignore the option if not recognized
8711      # So say no if there are warnings other than the usual output.
8712      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8713      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8714      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8715        lt_cv_prog_compiler_rtti_exceptions=yes
8716      fi
8717    fi
8718    $RM conftest*
8719
8720 fi
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8722 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8723
8724 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8725     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8726 else
8727     :
8728 fi
8729
8730 fi
8731
8732
8733
8734
8735
8736
8737   lt_prog_compiler_wl=
8738 lt_prog_compiler_pic=
8739 lt_prog_compiler_static=
8740
8741
8742   if test "$GCC" = yes; then
8743     lt_prog_compiler_wl='-Wl,'
8744     lt_prog_compiler_static='-static'
8745
8746     case $host_os in
8747       aix*)
8748       # All AIX code is PIC.
8749       if test "$host_cpu" = ia64; then
8750         # AIX 5 now supports IA64 processor
8751         lt_prog_compiler_static='-Bstatic'
8752       fi
8753       ;;
8754
8755     amigaos*)
8756       case $host_cpu in
8757       powerpc)
8758             # see comment about AmigaOS4 .so support
8759             lt_prog_compiler_pic='-fPIC'
8760         ;;
8761       m68k)
8762             # FIXME: we need at least 68020 code to build shared libraries, but
8763             # adding the `-m68020' flag to GCC prevents building anything better,
8764             # like `-m68040'.
8765             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8766         ;;
8767       esac
8768       ;;
8769
8770     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8771       # PIC is the default for these OSes.
8772       ;;
8773
8774     mingw* | cygwin* | pw32* | os2* | cegcc*)
8775       # This hack is so that the source file can tell whether it is being
8776       # built for inclusion in a dll (and should export symbols for example).
8777       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8778       # (--disable-auto-import) libraries
8779       lt_prog_compiler_pic='-DDLL_EXPORT'
8780       ;;
8781
8782     darwin* | rhapsody*)
8783       # PIC is the default on this platform
8784       # Common symbols not allowed in MH_DYLIB files
8785       lt_prog_compiler_pic='-fno-common'
8786       ;;
8787
8788     haiku*)
8789       # PIC is the default for Haiku.
8790       # The "-static" flag exists, but is broken.
8791       lt_prog_compiler_static=
8792       ;;
8793
8794     hpux*)
8795       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8796       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8797       # sets the default TLS model and affects inlining.
8798       case $host_cpu in
8799       hppa*64*)
8800         # +Z the default
8801         ;;
8802       *)
8803         lt_prog_compiler_pic='-fPIC'
8804         ;;
8805       esac
8806       ;;
8807
8808     interix[3-9]*)
8809       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8810       # Instead, we relocate shared libraries at runtime.
8811       ;;
8812
8813     msdosdjgpp*)
8814       # Just because we use GCC doesn't mean we suddenly get shared libraries
8815       # on systems that don't support them.
8816       lt_prog_compiler_can_build_shared=no
8817       enable_shared=no
8818       ;;
8819
8820     *nto* | *qnx*)
8821       # QNX uses GNU C++, but need to define -shared option too, otherwise
8822       # it will coredump.
8823       lt_prog_compiler_pic='-fPIC -shared'
8824       ;;
8825
8826     sysv4*MP*)
8827       if test -d /usr/nec; then
8828         lt_prog_compiler_pic=-Kconform_pic
8829       fi
8830       ;;
8831
8832     *)
8833       lt_prog_compiler_pic='-fPIC'
8834       ;;
8835     esac
8836
8837     case $cc_basename in
8838     nvcc*) # Cuda Compiler Driver 2.2
8839       lt_prog_compiler_wl='-Xlinker '
8840       if test -n "$lt_prog_compiler_pic"; then
8841         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8842       fi
8843       ;;
8844     esac
8845   else
8846     # PORTME Check for flag to pass linker flags through the system compiler.
8847     case $host_os in
8848     aix*)
8849       lt_prog_compiler_wl='-Wl,'
8850       if test "$host_cpu" = ia64; then
8851         # AIX 5 now supports IA64 processor
8852         lt_prog_compiler_static='-Bstatic'
8853       else
8854         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8855       fi
8856       ;;
8857
8858     mingw* | cygwin* | pw32* | os2* | cegcc*)
8859       # This hack is so that the source file can tell whether it is being
8860       # built for inclusion in a dll (and should export symbols for example).
8861       lt_prog_compiler_pic='-DDLL_EXPORT'
8862       ;;
8863
8864     hpux9* | hpux10* | hpux11*)
8865       lt_prog_compiler_wl='-Wl,'
8866       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8867       # not for PA HP-UX.
8868       case $host_cpu in
8869       hppa*64*|ia64*)
8870         # +Z the default
8871         ;;
8872       *)
8873         lt_prog_compiler_pic='+Z'
8874         ;;
8875       esac
8876       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8877       lt_prog_compiler_static='${wl}-a ${wl}archive'
8878       ;;
8879
8880     irix5* | irix6* | nonstopux*)
8881       lt_prog_compiler_wl='-Wl,'
8882       # PIC (with -KPIC) is the default.
8883       lt_prog_compiler_static='-non_shared'
8884       ;;
8885
8886     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8887       case $cc_basename in
8888       # old Intel for x86_64 which still supported -KPIC.
8889       ecc*)
8890         lt_prog_compiler_wl='-Wl,'
8891         lt_prog_compiler_pic='-KPIC'
8892         lt_prog_compiler_static='-static'
8893         ;;
8894       # icc used to be incompatible with GCC.
8895       # ICC 10 doesn't accept -KPIC any more.
8896       icc* | ifort*)
8897         lt_prog_compiler_wl='-Wl,'
8898         lt_prog_compiler_pic='-fPIC'
8899         lt_prog_compiler_static='-static'
8900         ;;
8901       # Lahey Fortran 8.1.
8902       lf95*)
8903         lt_prog_compiler_wl='-Wl,'
8904         lt_prog_compiler_pic='--shared'
8905         lt_prog_compiler_static='--static'
8906         ;;
8907       nagfor*)
8908         # NAG Fortran compiler
8909         lt_prog_compiler_wl='-Wl,-Wl,,'
8910         lt_prog_compiler_pic='-PIC'
8911         lt_prog_compiler_static='-Bstatic'
8912         ;;
8913       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8914         # Portland Group compilers (*not* the Pentium gcc compiler,
8915         # which looks to be a dead project)
8916         lt_prog_compiler_wl='-Wl,'
8917         lt_prog_compiler_pic='-fpic'
8918         lt_prog_compiler_static='-Bstatic'
8919         ;;
8920       ccc*)
8921         lt_prog_compiler_wl='-Wl,'
8922         # All Alpha code is PIC.
8923         lt_prog_compiler_static='-non_shared'
8924         ;;
8925       xl* | bgxl* | bgf* | mpixl*)
8926         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8927         lt_prog_compiler_wl='-Wl,'
8928         lt_prog_compiler_pic='-qpic'
8929         lt_prog_compiler_static='-qstaticlink'
8930         ;;
8931       *)
8932         case `$CC -V 2>&1 | sed 5q` in
8933         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8934           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8935           lt_prog_compiler_pic='-KPIC'
8936           lt_prog_compiler_static='-Bstatic'
8937           lt_prog_compiler_wl=''
8938           ;;
8939         *Sun\ F* | *Sun*Fortran*)
8940           lt_prog_compiler_pic='-KPIC'
8941           lt_prog_compiler_static='-Bstatic'
8942           lt_prog_compiler_wl='-Qoption ld '
8943           ;;
8944         *Sun\ C*)
8945           # Sun C 5.9
8946           lt_prog_compiler_pic='-KPIC'
8947           lt_prog_compiler_static='-Bstatic'
8948           lt_prog_compiler_wl='-Wl,'
8949           ;;
8950         *Intel*\ [CF]*Compiler*)
8951           lt_prog_compiler_wl='-Wl,'
8952           lt_prog_compiler_pic='-fPIC'
8953           lt_prog_compiler_static='-static'
8954           ;;
8955         *Portland\ Group*)
8956           lt_prog_compiler_wl='-Wl,'
8957           lt_prog_compiler_pic='-fpic'
8958           lt_prog_compiler_static='-Bstatic'
8959           ;;
8960         esac
8961         ;;
8962       esac
8963       ;;
8964
8965     newsos6)
8966       lt_prog_compiler_pic='-KPIC'
8967       lt_prog_compiler_static='-Bstatic'
8968       ;;
8969
8970     *nto* | *qnx*)
8971       # QNX uses GNU C++, but need to define -shared option too, otherwise
8972       # it will coredump.
8973       lt_prog_compiler_pic='-fPIC -shared'
8974       ;;
8975
8976     osf3* | osf4* | osf5*)
8977       lt_prog_compiler_wl='-Wl,'
8978       # All OSF/1 code is PIC.
8979       lt_prog_compiler_static='-non_shared'
8980       ;;
8981
8982     rdos*)
8983       lt_prog_compiler_static='-non_shared'
8984       ;;
8985
8986     solaris*)
8987       lt_prog_compiler_pic='-KPIC'
8988       lt_prog_compiler_static='-Bstatic'
8989       case $cc_basename in
8990       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8991         lt_prog_compiler_wl='-Qoption ld ';;
8992       *)
8993         lt_prog_compiler_wl='-Wl,';;
8994       esac
8995       ;;
8996
8997     sunos4*)
8998       lt_prog_compiler_wl='-Qoption ld '
8999       lt_prog_compiler_pic='-PIC'
9000       lt_prog_compiler_static='-Bstatic'
9001       ;;
9002
9003     sysv4 | sysv4.2uw2* | sysv4.3*)
9004       lt_prog_compiler_wl='-Wl,'
9005       lt_prog_compiler_pic='-KPIC'
9006       lt_prog_compiler_static='-Bstatic'
9007       ;;
9008
9009     sysv4*MP*)
9010       if test -d /usr/nec ;then
9011         lt_prog_compiler_pic='-Kconform_pic'
9012         lt_prog_compiler_static='-Bstatic'
9013       fi
9014       ;;
9015
9016     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9017       lt_prog_compiler_wl='-Wl,'
9018       lt_prog_compiler_pic='-KPIC'
9019       lt_prog_compiler_static='-Bstatic'
9020       ;;
9021
9022     unicos*)
9023       lt_prog_compiler_wl='-Wl,'
9024       lt_prog_compiler_can_build_shared=no
9025       ;;
9026
9027     uts4*)
9028       lt_prog_compiler_pic='-pic'
9029       lt_prog_compiler_static='-Bstatic'
9030       ;;
9031
9032     *)
9033       lt_prog_compiler_can_build_shared=no
9034       ;;
9035     esac
9036   fi
9037
9038 case $host_os in
9039   # For platforms which do not support PIC, -DPIC is meaningless:
9040   *djgpp*)
9041     lt_prog_compiler_pic=
9042     ;;
9043   *)
9044     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9045     ;;
9046 esac
9047
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9049 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9050 if ${lt_cv_prog_compiler_pic+:} false; then :
9051   $as_echo_n "(cached) " >&6
9052 else
9053   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9054 fi
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9056 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9057 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9058
9059 #
9060 # Check to make sure the PIC flag actually works.
9061 #
9062 if test -n "$lt_prog_compiler_pic"; then
9063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9064 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9065 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9066   $as_echo_n "(cached) " >&6
9067 else
9068   lt_cv_prog_compiler_pic_works=no
9069    ac_outfile=conftest.$ac_objext
9070    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9071    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9072    # Insert the option either (1) after the last *FLAGS variable, or
9073    # (2) before a word containing "conftest.", or (3) at the end.
9074    # Note that $ac_compile itself does not contain backslashes and begins
9075    # with a dollar sign (not a hyphen), so the echo should work correctly.
9076    # The option is referenced via a variable to avoid confusing sed.
9077    lt_compile=`echo "$ac_compile" | $SED \
9078    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9079    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9080    -e 's:$: $lt_compiler_flag:'`
9081    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9082    (eval "$lt_compile" 2>conftest.err)
9083    ac_status=$?
9084    cat conftest.err >&5
9085    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086    if (exit $ac_status) && test -s "$ac_outfile"; then
9087      # The compiler can only warn and ignore the option if not recognized
9088      # So say no if there are warnings other than the usual output.
9089      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9090      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9091      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9092        lt_cv_prog_compiler_pic_works=yes
9093      fi
9094    fi
9095    $RM conftest*
9096
9097 fi
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9099 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9100
9101 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9102     case $lt_prog_compiler_pic in
9103      "" | " "*) ;;
9104      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9105      esac
9106 else
9107     lt_prog_compiler_pic=
9108      lt_prog_compiler_can_build_shared=no
9109 fi
9110
9111 fi
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123 #
9124 # Check to make sure the static flag actually works.
9125 #
9126 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9128 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9129 if ${lt_cv_prog_compiler_static_works+:} false; then :
9130   $as_echo_n "(cached) " >&6
9131 else
9132   lt_cv_prog_compiler_static_works=no
9133    save_LDFLAGS="$LDFLAGS"
9134    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9135    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9136    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9137      # The linker can only warn and ignore the option if not recognized
9138      # So say no if there are warnings
9139      if test -s conftest.err; then
9140        # Append any errors to the config.log.
9141        cat conftest.err 1>&5
9142        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9143        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9144        if diff conftest.exp conftest.er2 >/dev/null; then
9145          lt_cv_prog_compiler_static_works=yes
9146        fi
9147      else
9148        lt_cv_prog_compiler_static_works=yes
9149      fi
9150    fi
9151    $RM -r conftest*
9152    LDFLAGS="$save_LDFLAGS"
9153
9154 fi
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9156 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9157
9158 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9159     :
9160 else
9161     lt_prog_compiler_static=
9162 fi
9163
9164
9165
9166
9167
9168
9169
9170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9171 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9172 if ${lt_cv_prog_compiler_c_o+:} false; then :
9173   $as_echo_n "(cached) " >&6
9174 else
9175   lt_cv_prog_compiler_c_o=no
9176    $RM -r conftest 2>/dev/null
9177    mkdir conftest
9178    cd conftest
9179    mkdir out
9180    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9181
9182    lt_compiler_flag="-o out/conftest2.$ac_objext"
9183    # Insert the option either (1) after the last *FLAGS variable, or
9184    # (2) before a word containing "conftest.", or (3) at the end.
9185    # Note that $ac_compile itself does not contain backslashes and begins
9186    # with a dollar sign (not a hyphen), so the echo should work correctly.
9187    lt_compile=`echo "$ac_compile" | $SED \
9188    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9189    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9190    -e 's:$: $lt_compiler_flag:'`
9191    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9192    (eval "$lt_compile" 2>out/conftest.err)
9193    ac_status=$?
9194    cat out/conftest.err >&5
9195    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9197    then
9198      # The compiler can only warn and ignore the option if not recognized
9199      # So say no if there are warnings
9200      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9201      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9202      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9203        lt_cv_prog_compiler_c_o=yes
9204      fi
9205    fi
9206    chmod u+w . 2>&5
9207    $RM conftest*
9208    # SGI C++ compiler will create directory out/ii_files/ for
9209    # template instantiation
9210    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9211    $RM out/* && rmdir out
9212    cd ..
9213    $RM -r conftest
9214    $RM conftest*
9215
9216 fi
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9218 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9219
9220
9221
9222
9223
9224
9225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9226 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9227 if ${lt_cv_prog_compiler_c_o+:} false; then :
9228   $as_echo_n "(cached) " >&6
9229 else
9230   lt_cv_prog_compiler_c_o=no
9231    $RM -r conftest 2>/dev/null
9232    mkdir conftest
9233    cd conftest
9234    mkdir out
9235    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9236
9237    lt_compiler_flag="-o out/conftest2.$ac_objext"
9238    # Insert the option either (1) after the last *FLAGS variable, or
9239    # (2) before a word containing "conftest.", or (3) at the end.
9240    # Note that $ac_compile itself does not contain backslashes and begins
9241    # with a dollar sign (not a hyphen), so the echo should work correctly.
9242    lt_compile=`echo "$ac_compile" | $SED \
9243    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9244    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9245    -e 's:$: $lt_compiler_flag:'`
9246    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9247    (eval "$lt_compile" 2>out/conftest.err)
9248    ac_status=$?
9249    cat out/conftest.err >&5
9250    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9252    then
9253      # The compiler can only warn and ignore the option if not recognized
9254      # So say no if there are warnings
9255      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9256      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9257      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9258        lt_cv_prog_compiler_c_o=yes
9259      fi
9260    fi
9261    chmod u+w . 2>&5
9262    $RM conftest*
9263    # SGI C++ compiler will create directory out/ii_files/ for
9264    # template instantiation
9265    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9266    $RM out/* && rmdir out
9267    cd ..
9268    $RM -r conftest
9269    $RM conftest*
9270
9271 fi
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9273 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9274
9275
9276
9277
9278 hard_links="nottested"
9279 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9280   # do not overwrite the value of need_locks provided by the user
9281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9282 $as_echo_n "checking if we can lock with hard links... " >&6; }
9283   hard_links=yes
9284   $RM conftest*
9285   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9286   touch conftest.a
9287   ln conftest.a conftest.b 2>&5 || hard_links=no
9288   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9290 $as_echo "$hard_links" >&6; }
9291   if test "$hard_links" = no; then
9292     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9293 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9294     need_locks=warn
9295   fi
9296 else
9297   need_locks=no
9298 fi
9299
9300
9301
9302
9303
9304
9305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9306 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9307
9308   runpath_var=
9309   allow_undefined_flag=
9310   always_export_symbols=no
9311   archive_cmds=
9312   archive_expsym_cmds=
9313   compiler_needs_object=no
9314   enable_shared_with_static_runtimes=no
9315   export_dynamic_flag_spec=
9316   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9317   hardcode_automatic=no
9318   hardcode_direct=no
9319   hardcode_direct_absolute=no
9320   hardcode_libdir_flag_spec=
9321   hardcode_libdir_separator=
9322   hardcode_minus_L=no
9323   hardcode_shlibpath_var=unsupported
9324   inherit_rpath=no
9325   link_all_deplibs=unknown
9326   module_cmds=
9327   module_expsym_cmds=
9328   old_archive_from_new_cmds=
9329   old_archive_from_expsyms_cmds=
9330   thread_safe_flag_spec=
9331   whole_archive_flag_spec=
9332   # include_expsyms should be a list of space-separated symbols to be *always*
9333   # included in the symbol list
9334   include_expsyms=
9335   # exclude_expsyms can be an extended regexp of symbols to exclude
9336   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9337   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9338   # as well as any symbol that contains `d'.
9339   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9340   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9341   # platforms (ab)use it in PIC code, but their linkers get confused if
9342   # the symbol is explicitly referenced.  Since portable code cannot
9343   # rely on this symbol name, it's probably fine to never include it in
9344   # preloaded symbol tables.
9345   # Exclude shared library initialization/finalization symbols.
9346   extract_expsyms_cmds=
9347
9348   case $host_os in
9349   cygwin* | mingw* | pw32* | cegcc*)
9350     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9351     # When not using gcc, we currently assume that we are using
9352     # Microsoft Visual C++.
9353     if test "$GCC" != yes; then
9354       with_gnu_ld=no
9355     fi
9356     ;;
9357   interix*)
9358     # we just hope/assume this is gcc and not c89 (= MSVC++)
9359     with_gnu_ld=yes
9360     ;;
9361   openbsd*)
9362     with_gnu_ld=no
9363     ;;
9364   linux* | k*bsd*-gnu | gnu*)
9365     link_all_deplibs=no
9366     ;;
9367   esac
9368
9369   ld_shlibs=yes
9370
9371   # On some targets, GNU ld is compatible enough with the native linker
9372   # that we're better off using the native interface for both.
9373   lt_use_gnu_ld_interface=no
9374   if test "$with_gnu_ld" = yes; then
9375     case $host_os in
9376       aix*)
9377         # The AIX port of GNU ld has always aspired to compatibility
9378         # with the native linker.  However, as the warning in the GNU ld
9379         # block says, versions before 2.19.5* couldn't really create working
9380         # shared libraries, regardless of the interface used.
9381         case `$LD -v 2>&1` in
9382           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9383           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9384           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9385           *)
9386             lt_use_gnu_ld_interface=yes
9387             ;;
9388         esac
9389         ;;
9390       *)
9391         lt_use_gnu_ld_interface=yes
9392         ;;
9393     esac
9394   fi
9395
9396   if test "$lt_use_gnu_ld_interface" = yes; then
9397     # If archive_cmds runs LD, not CC, wlarc should be empty
9398     wlarc='${wl}'
9399
9400     # Set some defaults for GNU ld with shared library support. These
9401     # are reset later if shared libraries are not supported. Putting them
9402     # here allows them to be overridden if necessary.
9403     runpath_var=LD_RUN_PATH
9404     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9405     export_dynamic_flag_spec='${wl}--export-dynamic'
9406     # ancient GNU ld didn't support --whole-archive et. al.
9407     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9408       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9409     else
9410       whole_archive_flag_spec=
9411     fi
9412     supports_anon_versioning=no
9413     case `$LD -v 2>&1` in
9414       *GNU\ gold*) supports_anon_versioning=yes ;;
9415       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9416       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9417       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9418       *\ 2.11.*) ;; # other 2.11 versions
9419       *) supports_anon_versioning=yes ;;
9420     esac
9421
9422     # See if GNU ld supports shared libraries.
9423     case $host_os in
9424     aix[3-9]*)
9425       # On AIX/PPC, the GNU linker is very broken
9426       if test "$host_cpu" != ia64; then
9427         ld_shlibs=no
9428         cat <<_LT_EOF 1>&2
9429
9430 *** Warning: the GNU linker, at least up to release 2.19, is reported
9431 *** to be unable to reliably create shared libraries on AIX.
9432 *** Therefore, libtool is disabling shared libraries support.  If you
9433 *** really care for shared libraries, you may want to install binutils
9434 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9435 *** You will then need to restart the configuration process.
9436
9437 _LT_EOF
9438       fi
9439       ;;
9440
9441     amigaos*)
9442       case $host_cpu in
9443       powerpc)
9444             # see comment about AmigaOS4 .so support
9445             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9446             archive_expsym_cmds=''
9447         ;;
9448       m68k)
9449             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)'
9450             hardcode_libdir_flag_spec='-L$libdir'
9451             hardcode_minus_L=yes
9452         ;;
9453       esac
9454       ;;
9455
9456     beos*)
9457       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9458         allow_undefined_flag=unsupported
9459         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9460         # support --undefined.  This deserves some investigation.  FIXME
9461         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9462       else
9463         ld_shlibs=no
9464       fi
9465       ;;
9466
9467     cygwin* | mingw* | pw32* | cegcc*)
9468       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9469       # as there is no search path for DLLs.
9470       hardcode_libdir_flag_spec='-L$libdir'
9471       export_dynamic_flag_spec='${wl}--export-all-symbols'
9472       allow_undefined_flag=unsupported
9473       always_export_symbols=no
9474       enable_shared_with_static_runtimes=yes
9475       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9476       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9477
9478       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9479         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9480         # If the export-symbols file already is a .def file (1st line
9481         # is EXPORTS), use it as is; otherwise, prepend...
9482         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9483           cp $export_symbols $output_objdir/$soname.def;
9484         else
9485           echo EXPORTS > $output_objdir/$soname.def;
9486           cat $export_symbols >> $output_objdir/$soname.def;
9487         fi~
9488         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9489       else
9490         ld_shlibs=no
9491       fi
9492       ;;
9493
9494     haiku*)
9495       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9496       link_all_deplibs=yes
9497       ;;
9498
9499     interix[3-9]*)
9500       hardcode_direct=no
9501       hardcode_shlibpath_var=no
9502       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9503       export_dynamic_flag_spec='${wl}-E'
9504       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9505       # Instead, shared libraries are loaded at an image base (0x10000000 by
9506       # default) and relocated if they conflict, which is a slow very memory
9507       # consuming and fragmenting process.  To avoid this, we pick a random,
9508       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9509       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9510       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9511       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'
9512       ;;
9513
9514     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9515       tmp_diet=no
9516       if test "$host_os" = linux-dietlibc; then
9517         case $cc_basename in
9518           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9519         esac
9520       fi
9521       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9522          && test "$tmp_diet" = no
9523       then
9524         tmp_addflag=' $pic_flag'
9525         tmp_sharedflag='-shared'
9526         case $cc_basename,$host_cpu in
9527         pgcc*)                          # Portland Group C compiler
9528           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9529           tmp_addflag=' $pic_flag'
9530           ;;
9531         pgf77* | pgf90* | pgf95* | pgfortran*)
9532                                         # Portland Group f77 and f90 compilers
9533           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9534           tmp_addflag=' $pic_flag -Mnomain' ;;
9535         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9536           tmp_addflag=' -i_dynamic' ;;
9537         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9538           tmp_addflag=' -i_dynamic -nofor_main' ;;
9539         ifc* | ifort*)                  # Intel Fortran compiler
9540           tmp_addflag=' -nofor_main' ;;
9541         lf95*)                          # Lahey Fortran 8.1
9542           whole_archive_flag_spec=
9543           tmp_sharedflag='--shared' ;;
9544         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9545           tmp_sharedflag='-qmkshrobj'
9546           tmp_addflag= ;;
9547         nvcc*)  # Cuda Compiler Driver 2.2
9548           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9549           compiler_needs_object=yes
9550           ;;
9551         esac
9552         case `$CC -V 2>&1 | sed 5q` in
9553         *Sun\ C*)                       # Sun C 5.9
9554           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9555           compiler_needs_object=yes
9556           tmp_sharedflag='-G' ;;
9557         *Sun\ F*)                       # Sun Fortran 8.3
9558           tmp_sharedflag='-G' ;;
9559         esac
9560         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9561
9562         if test "x$supports_anon_versioning" = xyes; then
9563           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9564             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9565             echo "local: *; };" >> $output_objdir/$libname.ver~
9566             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9567         fi
9568
9569         case $cc_basename in
9570         xlf* | bgf* | bgxlf* | mpixlf*)
9571           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9572           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9573           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9574           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9575           if test "x$supports_anon_versioning" = xyes; then
9576             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9577               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9578               echo "local: *; };" >> $output_objdir/$libname.ver~
9579               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9580           fi
9581           ;;
9582         esac
9583       else
9584         ld_shlibs=no
9585       fi
9586       ;;
9587
9588     netbsd* | netbsdelf*-gnu)
9589       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9590         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9591         wlarc=
9592       else
9593         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9594         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9595       fi
9596       ;;
9597
9598     solaris*)
9599       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9600         ld_shlibs=no
9601         cat <<_LT_EOF 1>&2
9602
9603 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9604 *** create shared libraries on Solaris systems.  Therefore, libtool
9605 *** is disabling shared libraries support.  We urge you to upgrade GNU
9606 *** binutils to release 2.9.1 or newer.  Another option is to modify
9607 *** your PATH or compiler configuration so that the native linker is
9608 *** used, and then restart.
9609
9610 _LT_EOF
9611       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9612         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9613         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9614       else
9615         ld_shlibs=no
9616       fi
9617       ;;
9618
9619     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9620       case `$LD -v 2>&1` in
9621         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9622         ld_shlibs=no
9623         cat <<_LT_EOF 1>&2
9624
9625 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9626 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9627 *** is disabling shared libraries support.  We urge you to upgrade GNU
9628 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9629 *** your PATH or compiler configuration so that the native linker is
9630 *** used, and then restart.
9631
9632 _LT_EOF
9633         ;;
9634         *)
9635           # For security reasons, it is highly recommended that you always
9636           # use absolute paths for naming shared libraries, and exclude the
9637           # DT_RUNPATH tag from executables and libraries.  But doing so
9638           # requires that you compile everything twice, which is a pain.
9639           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9640             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9641             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9642             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9643           else
9644             ld_shlibs=no
9645           fi
9646         ;;
9647       esac
9648       ;;
9649
9650     sunos4*)
9651       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9652       wlarc=
9653       hardcode_direct=yes
9654       hardcode_shlibpath_var=no
9655       ;;
9656
9657     *)
9658       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9659         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9660         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9661       else
9662         ld_shlibs=no
9663       fi
9664       ;;
9665     esac
9666
9667     if test "$ld_shlibs" = no; then
9668       runpath_var=
9669       hardcode_libdir_flag_spec=
9670       export_dynamic_flag_spec=
9671       whole_archive_flag_spec=
9672     fi
9673   else
9674     # PORTME fill in a description of your system's linker (not GNU ld)
9675     case $host_os in
9676     aix3*)
9677       allow_undefined_flag=unsupported
9678       always_export_symbols=yes
9679       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'
9680       # Note: this linker hardcodes the directories in LIBPATH if there
9681       # are no directories specified by -L.
9682       hardcode_minus_L=yes
9683       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9684         # Neither direct hardcoding nor static linking is supported with a
9685         # broken collect2.
9686         hardcode_direct=unsupported
9687       fi
9688       ;;
9689
9690     aix[4-9]*)
9691       if test "$host_cpu" = ia64; then
9692         # On IA64, the linker does run time linking by default, so we don't
9693         # have to do anything special.
9694         aix_use_runtimelinking=no
9695         exp_sym_flag='-Bexport'
9696         no_entry_flag=""
9697       else
9698         # If we're using GNU nm, then we don't want the "-C" option.
9699         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9700         # Also, AIX nm treats weak defined symbols like other global
9701         # defined symbols, whereas GNU nm marks them as "W".
9702         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9703           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9704         else
9705           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'
9706         fi
9707         aix_use_runtimelinking=no
9708
9709         # Test if we are trying to use run time linking or normal
9710         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9711         # need to do runtime linking.
9712         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9713           for ld_flag in $LDFLAGS; do
9714           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9715             aix_use_runtimelinking=yes
9716             break
9717           fi
9718           done
9719           ;;
9720         esac
9721
9722         exp_sym_flag='-bexport'
9723         no_entry_flag='-bnoentry'
9724       fi
9725
9726       # When large executables or shared objects are built, AIX ld can
9727       # have problems creating the table of contents.  If linking a library
9728       # or program results in "error TOC overflow" add -mminimal-toc to
9729       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9730       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9731
9732       archive_cmds=''
9733       hardcode_direct=yes
9734       hardcode_direct_absolute=yes
9735       hardcode_libdir_separator=':'
9736       link_all_deplibs=yes
9737       file_list_spec='${wl}-f,'
9738
9739       if test "$GCC" = yes; then
9740         case $host_os in aix4.[012]|aix4.[012].*)
9741         # We only want to do this on AIX 4.2 and lower, the check
9742         # below for broken collect2 doesn't work under 4.3+
9743           collect2name=`${CC} -print-prog-name=collect2`
9744           if test -f "$collect2name" &&
9745            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9746           then
9747           # We have reworked collect2
9748           :
9749           else
9750           # We have old collect2
9751           hardcode_direct=unsupported
9752           # It fails to find uninstalled libraries when the uninstalled
9753           # path is not listed in the libpath.  Setting hardcode_minus_L
9754           # to unsupported forces relinking
9755           hardcode_minus_L=yes
9756           hardcode_libdir_flag_spec='-L$libdir'
9757           hardcode_libdir_separator=
9758           fi
9759           ;;
9760         esac
9761         shared_flag='-shared'
9762         if test "$aix_use_runtimelinking" = yes; then
9763           shared_flag="$shared_flag "'${wl}-G'
9764         fi
9765         link_all_deplibs=no
9766       else
9767         # not using gcc
9768         if test "$host_cpu" = ia64; then
9769         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9770         # chokes on -Wl,-G. The following line is correct:
9771           shared_flag='-G'
9772         else
9773           if test "$aix_use_runtimelinking" = yes; then
9774             shared_flag='${wl}-G'
9775           else
9776             shared_flag='${wl}-bM:SRE'
9777           fi
9778         fi
9779       fi
9780
9781       export_dynamic_flag_spec='${wl}-bexpall'
9782       # It seems that -bexpall does not export symbols beginning with
9783       # underscore (_), so it is better to generate a list of symbols to export.
9784       always_export_symbols=yes
9785       if test "$aix_use_runtimelinking" = yes; then
9786         # Warning - without using the other runtime loading flags (-brtl),
9787         # -berok will link without error, but may produce a broken library.
9788         allow_undefined_flag='-berok'
9789         # Determine the default libpath from the value encoded in an
9790         # empty executable.
9791         if test "${lt_cv_aix_libpath+set}" = set; then
9792   aix_libpath=$lt_cv_aix_libpath
9793 else
9794   if ${lt_cv_aix_libpath_+:} false; then :
9795   $as_echo_n "(cached) " >&6
9796 else
9797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h.  */
9799
9800 int
9801 main ()
9802 {
9803
9804   ;
9805   return 0;
9806 }
9807 _ACEOF
9808 if ac_fn_c_try_link "$LINENO"; then :
9809
9810   lt_aix_libpath_sed='
9811       /Import File Strings/,/^$/ {
9812           /^0/ {
9813               s/^0  *\([^ ]*\) *$/\1/
9814               p
9815           }
9816       }'
9817   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9818   # Check for a 64-bit object if we didn't find anything.
9819   if test -z "$lt_cv_aix_libpath_"; then
9820     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9821   fi
9822 fi
9823 rm -f core conftest.err conftest.$ac_objext \
9824     conftest$ac_exeext conftest.$ac_ext
9825   if test -z "$lt_cv_aix_libpath_"; then
9826     lt_cv_aix_libpath_="/usr/lib:/lib"
9827   fi
9828
9829 fi
9830
9831   aix_libpath=$lt_cv_aix_libpath_
9832 fi
9833
9834         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9835         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9836       else
9837         if test "$host_cpu" = ia64; then
9838           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9839           allow_undefined_flag="-z nodefs"
9840           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"
9841         else
9842          # Determine the default libpath from the value encoded in an
9843          # empty executable.
9844          if test "${lt_cv_aix_libpath+set}" = set; then
9845   aix_libpath=$lt_cv_aix_libpath
9846 else
9847   if ${lt_cv_aix_libpath_+:} false; then :
9848   $as_echo_n "(cached) " >&6
9849 else
9850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h.  */
9852
9853 int
9854 main ()
9855 {
9856
9857   ;
9858   return 0;
9859 }
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862
9863   lt_aix_libpath_sed='
9864       /Import File Strings/,/^$/ {
9865           /^0/ {
9866               s/^0  *\([^ ]*\) *$/\1/
9867               p
9868           }
9869       }'
9870   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9871   # Check for a 64-bit object if we didn't find anything.
9872   if test -z "$lt_cv_aix_libpath_"; then
9873     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9874   fi
9875 fi
9876 rm -f core conftest.err conftest.$ac_objext \
9877     conftest$ac_exeext conftest.$ac_ext
9878   if test -z "$lt_cv_aix_libpath_"; then
9879     lt_cv_aix_libpath_="/usr/lib:/lib"
9880   fi
9881
9882 fi
9883
9884   aix_libpath=$lt_cv_aix_libpath_
9885 fi
9886
9887          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9888           # Warning - without using the other run time loading flags,
9889           # -berok will link without error, but may produce a broken library.
9890           no_undefined_flag=' ${wl}-bernotok'
9891           allow_undefined_flag=' ${wl}-berok'
9892           if test "$with_gnu_ld" = yes; then
9893             # We only use this code for GNU lds that support --whole-archive.
9894             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9895           else
9896             # Exported symbols can be pulled into shared objects from archives
9897             whole_archive_flag_spec='$convenience'
9898           fi
9899           archive_cmds_need_lc=yes
9900           # This is similar to how AIX traditionally builds its shared libraries.
9901           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'
9902         fi
9903       fi
9904       ;;
9905
9906     amigaos*)
9907       case $host_cpu in
9908       powerpc)
9909             # see comment about AmigaOS4 .so support
9910             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911             archive_expsym_cmds=''
9912         ;;
9913       m68k)
9914             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)'
9915             hardcode_libdir_flag_spec='-L$libdir'
9916             hardcode_minus_L=yes
9917         ;;
9918       esac
9919       ;;
9920
9921     bsdi[45]*)
9922       export_dynamic_flag_spec=-rdynamic
9923       ;;
9924
9925     cygwin* | mingw* | pw32* | cegcc*)
9926       # When not using gcc, we currently assume that we are using
9927       # Microsoft Visual C++.
9928       # hardcode_libdir_flag_spec is actually meaningless, as there is
9929       # no search path for DLLs.
9930       case $cc_basename in
9931       cl*)
9932         # Native MSVC
9933         hardcode_libdir_flag_spec=' '
9934         allow_undefined_flag=unsupported
9935         always_export_symbols=yes
9936         file_list_spec='@'
9937         # Tell ltmain to make .lib files, not .a files.
9938         libext=lib
9939         # Tell ltmain to make .dll files, not .so files.
9940         shrext_cmds=".dll"
9941         # FIXME: Setting linknames here is a bad hack.
9942         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9943         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9944             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9945           else
9946             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9947           fi~
9948           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9949           linknames='
9950         # The linker will not automatically build a static lib if we build a DLL.
9951         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9952         enable_shared_with_static_runtimes=yes
9953         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9954         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9955         # Don't use ranlib
9956         old_postinstall_cmds='chmod 644 $oldlib'
9957         postlink_cmds='lt_outputfile="@OUTPUT@"~
9958           lt_tool_outputfile="@TOOL_OUTPUT@"~
9959           case $lt_outputfile in
9960             *.exe|*.EXE) ;;
9961             *)
9962               lt_outputfile="$lt_outputfile.exe"
9963               lt_tool_outputfile="$lt_tool_outputfile.exe"
9964               ;;
9965           esac~
9966           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9967             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9968             $RM "$lt_outputfile.manifest";
9969           fi'
9970         ;;
9971       *)
9972         # Assume MSVC wrapper
9973         hardcode_libdir_flag_spec=' '
9974         allow_undefined_flag=unsupported
9975         # Tell ltmain to make .lib files, not .a files.
9976         libext=lib
9977         # Tell ltmain to make .dll files, not .so files.
9978         shrext_cmds=".dll"
9979         # FIXME: Setting linknames here is a bad hack.
9980         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9981         # The linker will automatically build a .lib file if we build a DLL.
9982         old_archive_from_new_cmds='true'
9983         # FIXME: Should let the user specify the lib program.
9984         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9985         enable_shared_with_static_runtimes=yes
9986         ;;
9987       esac
9988       ;;
9989
9990     darwin* | rhapsody*)
9991
9992
9993   archive_cmds_need_lc=no
9994   hardcode_direct=no
9995   hardcode_automatic=yes
9996   hardcode_shlibpath_var=unsupported
9997   if test "$lt_cv_ld_force_load" = "yes"; then
9998     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9999
10000   else
10001     whole_archive_flag_spec=''
10002   fi
10003   link_all_deplibs=yes
10004   allow_undefined_flag="$_lt_dar_allow_undefined"
10005   case $cc_basename in
10006      ifort*) _lt_dar_can_shared=yes ;;
10007      *) _lt_dar_can_shared=$GCC ;;
10008   esac
10009   if test "$_lt_dar_can_shared" = "yes"; then
10010     output_verbose_link_cmd=func_echo_all
10011     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10012     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10013     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}"
10014     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}"
10015
10016   else
10017   ld_shlibs=no
10018   fi
10019
10020       ;;
10021
10022     dgux*)
10023       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024       hardcode_libdir_flag_spec='-L$libdir'
10025       hardcode_shlibpath_var=no
10026       ;;
10027
10028     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10029     # support.  Future versions do this automatically, but an explicit c++rt0.o
10030     # does not break anything, and helps significantly (at the cost of a little
10031     # extra space).
10032     freebsd2.2*)
10033       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10034       hardcode_libdir_flag_spec='-R$libdir'
10035       hardcode_direct=yes
10036       hardcode_shlibpath_var=no
10037       ;;
10038
10039     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10040     freebsd2.*)
10041       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10042       hardcode_direct=yes
10043       hardcode_minus_L=yes
10044       hardcode_shlibpath_var=no
10045       ;;
10046
10047     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10048     freebsd* | dragonfly*)
10049       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10050       hardcode_libdir_flag_spec='-R$libdir'
10051       hardcode_direct=yes
10052       hardcode_shlibpath_var=no
10053       ;;
10054
10055     hpux9*)
10056       if test "$GCC" = yes; then
10057         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10058       else
10059         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'
10060       fi
10061       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10062       hardcode_libdir_separator=:
10063       hardcode_direct=yes
10064
10065       # hardcode_minus_L: Not really in the search PATH,
10066       # but as the default location of the library.
10067       hardcode_minus_L=yes
10068       export_dynamic_flag_spec='${wl}-E'
10069       ;;
10070
10071     hpux10*)
10072       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10073         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10074       else
10075         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10076       fi
10077       if test "$with_gnu_ld" = no; then
10078         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10079         hardcode_libdir_separator=:
10080         hardcode_direct=yes
10081         hardcode_direct_absolute=yes
10082         export_dynamic_flag_spec='${wl}-E'
10083         # hardcode_minus_L: Not really in the search PATH,
10084         # but as the default location of the library.
10085         hardcode_minus_L=yes
10086       fi
10087       ;;
10088
10089     hpux11*)
10090       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10091         case $host_cpu in
10092         hppa*64*)
10093           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10094           ;;
10095         ia64*)
10096           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10097           ;;
10098         *)
10099           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10100           ;;
10101         esac
10102       else
10103         case $host_cpu in
10104         hppa*64*)
10105           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10106           ;;
10107         ia64*)
10108           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10109           ;;
10110         *)
10111
10112           # Older versions of the 11.00 compiler do not understand -b yet
10113           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10114           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10115 $as_echo_n "checking if $CC understands -b... " >&6; }
10116 if ${lt_cv_prog_compiler__b+:} false; then :
10117   $as_echo_n "(cached) " >&6
10118 else
10119   lt_cv_prog_compiler__b=no
10120    save_LDFLAGS="$LDFLAGS"
10121    LDFLAGS="$LDFLAGS -b"
10122    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10123    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10124      # The linker can only warn and ignore the option if not recognized
10125      # So say no if there are warnings
10126      if test -s conftest.err; then
10127        # Append any errors to the config.log.
10128        cat conftest.err 1>&5
10129        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10130        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10131        if diff conftest.exp conftest.er2 >/dev/null; then
10132          lt_cv_prog_compiler__b=yes
10133        fi
10134      else
10135        lt_cv_prog_compiler__b=yes
10136      fi
10137    fi
10138    $RM -r conftest*
10139    LDFLAGS="$save_LDFLAGS"
10140
10141 fi
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10143 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10144
10145 if test x"$lt_cv_prog_compiler__b" = xyes; then
10146     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10147 else
10148     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10149 fi
10150
10151           ;;
10152         esac
10153       fi
10154       if test "$with_gnu_ld" = no; then
10155         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10156         hardcode_libdir_separator=:
10157
10158         case $host_cpu in
10159         hppa*64*|ia64*)
10160           hardcode_direct=no
10161           hardcode_shlibpath_var=no
10162           ;;
10163         *)
10164           hardcode_direct=yes
10165           hardcode_direct_absolute=yes
10166           export_dynamic_flag_spec='${wl}-E'
10167
10168           # hardcode_minus_L: Not really in the search PATH,
10169           # but as the default location of the library.
10170           hardcode_minus_L=yes
10171           ;;
10172         esac
10173       fi
10174       ;;
10175
10176     irix5* | irix6* | nonstopux*)
10177       if test "$GCC" = yes; then
10178         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10179         # Try to use the -exported_symbol ld option, if it does not
10180         # work, assume that -exports_file does not work either and
10181         # implicitly export all symbols.
10182         # This should be the same for all languages, so no per-tag cache variable.
10183         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10184 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10185 if ${lt_cv_irix_exported_symbol+:} false; then :
10186   $as_echo_n "(cached) " >&6
10187 else
10188   save_LDFLAGS="$LDFLAGS"
10189            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10190            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h.  */
10192 int foo (void) { return 0; }
10193 _ACEOF
10194 if ac_fn_c_try_link "$LINENO"; then :
10195   lt_cv_irix_exported_symbol=yes
10196 else
10197   lt_cv_irix_exported_symbol=no
10198 fi
10199 rm -f core conftest.err conftest.$ac_objext \
10200     conftest$ac_exeext conftest.$ac_ext
10201            LDFLAGS="$save_LDFLAGS"
10202 fi
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10204 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10205         if test "$lt_cv_irix_exported_symbol" = yes; then
10206           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10207         fi
10208       else
10209         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10210         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10211       fi
10212       archive_cmds_need_lc='no'
10213       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10214       hardcode_libdir_separator=:
10215       inherit_rpath=yes
10216       link_all_deplibs=yes
10217       ;;
10218
10219     netbsd* | netbsdelf*-gnu)
10220       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10221         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10222       else
10223         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10224       fi
10225       hardcode_libdir_flag_spec='-R$libdir'
10226       hardcode_direct=yes
10227       hardcode_shlibpath_var=no
10228       ;;
10229
10230     newsos6)
10231       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10232       hardcode_direct=yes
10233       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10234       hardcode_libdir_separator=:
10235       hardcode_shlibpath_var=no
10236       ;;
10237
10238     *nto* | *qnx*)
10239       ;;
10240
10241     openbsd*)
10242       if test -f /usr/libexec/ld.so; then
10243         hardcode_direct=yes
10244         hardcode_shlibpath_var=no
10245         hardcode_direct_absolute=yes
10246         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10247           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10248           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10249           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10250           export_dynamic_flag_spec='${wl}-E'
10251         else
10252           case $host_os in
10253            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10254              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10255              hardcode_libdir_flag_spec='-R$libdir'
10256              ;;
10257            *)
10258              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10259              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10260              ;;
10261           esac
10262         fi
10263       else
10264         ld_shlibs=no
10265       fi
10266       ;;
10267
10268     os2*)
10269       hardcode_libdir_flag_spec='-L$libdir'
10270       hardcode_minus_L=yes
10271       allow_undefined_flag=unsupported
10272       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'
10273       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10274       ;;
10275
10276     osf3*)
10277       if test "$GCC" = yes; then
10278         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10279         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10280       else
10281         allow_undefined_flag=' -expect_unresolved \*'
10282         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10283       fi
10284       archive_cmds_need_lc='no'
10285       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10286       hardcode_libdir_separator=:
10287       ;;
10288
10289     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10290       if test "$GCC" = yes; then
10291         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10292         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10293         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10294       else
10295         allow_undefined_flag=' -expect_unresolved \*'
10296         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10297         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~
10298         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10299
10300         # Both c and cxx compiler support -rpath directly
10301         hardcode_libdir_flag_spec='-rpath $libdir'
10302       fi
10303       archive_cmds_need_lc='no'
10304       hardcode_libdir_separator=:
10305       ;;
10306
10307     solaris*)
10308       no_undefined_flag=' -z defs'
10309       if test "$GCC" = yes; then
10310         wlarc='${wl}'
10311         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10312         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10313           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10314       else
10315         case `$CC -V 2>&1` in
10316         *"Compilers 5.0"*)
10317           wlarc=''
10318           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10319           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10320           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10321           ;;
10322         *)
10323           wlarc='${wl}'
10324           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10325           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10326           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10327           ;;
10328         esac
10329       fi
10330       hardcode_libdir_flag_spec='-R$libdir'
10331       hardcode_shlibpath_var=no
10332       case $host_os in
10333       solaris2.[0-5] | solaris2.[0-5].*) ;;
10334       *)
10335         # The compiler driver will combine and reorder linker options,
10336         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10337         # but is careful enough not to reorder.
10338         # Supported since Solaris 2.6 (maybe 2.5.1?)
10339         if test "$GCC" = yes; then
10340           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10341         else
10342           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10343         fi
10344         ;;
10345       esac
10346       link_all_deplibs=yes
10347       ;;
10348
10349     sunos4*)
10350       if test "x$host_vendor" = xsequent; then
10351         # Use $CC to link under sequent, because it throws in some extra .o
10352         # files that make .init and .fini sections work.
10353         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10354       else
10355         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10356       fi
10357       hardcode_libdir_flag_spec='-L$libdir'
10358       hardcode_direct=yes
10359       hardcode_minus_L=yes
10360       hardcode_shlibpath_var=no
10361       ;;
10362
10363     sysv4)
10364       case $host_vendor in
10365         sni)
10366           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10367           hardcode_direct=yes # is this really true???
10368         ;;
10369         siemens)
10370           ## LD is ld it makes a PLAMLIB
10371           ## CC just makes a GrossModule.
10372           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10373           reload_cmds='$CC -r -o $output$reload_objs'
10374           hardcode_direct=no
10375         ;;
10376         motorola)
10377           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10378           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10379         ;;
10380       esac
10381       runpath_var='LD_RUN_PATH'
10382       hardcode_shlibpath_var=no
10383       ;;
10384
10385     sysv4.3*)
10386       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10387       hardcode_shlibpath_var=no
10388       export_dynamic_flag_spec='-Bexport'
10389       ;;
10390
10391     sysv4*MP*)
10392       if test -d /usr/nec; then
10393         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10394         hardcode_shlibpath_var=no
10395         runpath_var=LD_RUN_PATH
10396         hardcode_runpath_var=yes
10397         ld_shlibs=yes
10398       fi
10399       ;;
10400
10401     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10402       no_undefined_flag='${wl}-z,text'
10403       archive_cmds_need_lc=no
10404       hardcode_shlibpath_var=no
10405       runpath_var='LD_RUN_PATH'
10406
10407       if test "$GCC" = yes; then
10408         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10409         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10410       else
10411         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10412         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10413       fi
10414       ;;
10415
10416     sysv5* | sco3.2v5* | sco5v6*)
10417       # Note: We can NOT use -z defs as we might desire, because we do not
10418       # link with -lc, and that would cause any symbols used from libc to
10419       # always be unresolved, which means just about no library would
10420       # ever link correctly.  If we're not using GNU ld we use -z text
10421       # though, which does catch some bad symbols but isn't as heavy-handed
10422       # as -z defs.
10423       no_undefined_flag='${wl}-z,text'
10424       allow_undefined_flag='${wl}-z,nodefs'
10425       archive_cmds_need_lc=no
10426       hardcode_shlibpath_var=no
10427       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10428       hardcode_libdir_separator=':'
10429       link_all_deplibs=yes
10430       export_dynamic_flag_spec='${wl}-Bexport'
10431       runpath_var='LD_RUN_PATH'
10432
10433       if test "$GCC" = yes; then
10434         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10435         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10436       else
10437         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10438         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10439       fi
10440       ;;
10441
10442     uts4*)
10443       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10444       hardcode_libdir_flag_spec='-L$libdir'
10445       hardcode_shlibpath_var=no
10446       ;;
10447
10448     *)
10449       ld_shlibs=no
10450       ;;
10451     esac
10452
10453     if test x$host_vendor = xsni; then
10454       case $host in
10455       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10456         export_dynamic_flag_spec='${wl}-Blargedynsym'
10457         ;;
10458       esac
10459     fi
10460   fi
10461
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10463 $as_echo "$ld_shlibs" >&6; }
10464 test "$ld_shlibs" = no && can_build_shared=no
10465
10466 with_gnu_ld=$with_gnu_ld
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482 #
10483 # Do we need to explicitly link libc?
10484 #
10485 case "x$archive_cmds_need_lc" in
10486 x|xyes)
10487   # Assume -lc should be added
10488   archive_cmds_need_lc=yes
10489
10490   if test "$enable_shared" = yes && test "$GCC" = yes; then
10491     case $archive_cmds in
10492     *'~'*)
10493       # FIXME: we may have to deal with multi-command sequences.
10494       ;;
10495     '$CC '*)
10496       # Test whether the compiler implicitly links with -lc since on some
10497       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10498       # to ld, don't add -lc before -lgcc.
10499       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10500 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10501 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10502   $as_echo_n "(cached) " >&6
10503 else
10504   $RM conftest*
10505         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10506
10507         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10508   (eval $ac_compile) 2>&5
10509   ac_status=$?
10510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10511   test $ac_status = 0; } 2>conftest.err; then
10512           soname=conftest
10513           lib=conftest
10514           libobjs=conftest.$ac_objext
10515           deplibs=
10516           wl=$lt_prog_compiler_wl
10517           pic_flag=$lt_prog_compiler_pic
10518           compiler_flags=-v
10519           linker_flags=-v
10520           verstring=
10521           output_objdir=.
10522           libname=conftest
10523           lt_save_allow_undefined_flag=$allow_undefined_flag
10524           allow_undefined_flag=
10525           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10526   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10527   ac_status=$?
10528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10529   test $ac_status = 0; }
10530           then
10531             lt_cv_archive_cmds_need_lc=no
10532           else
10533             lt_cv_archive_cmds_need_lc=yes
10534           fi
10535           allow_undefined_flag=$lt_save_allow_undefined_flag
10536         else
10537           cat conftest.err 1>&5
10538         fi
10539         $RM conftest*
10540
10541 fi
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10543 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10544       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10545       ;;
10546     esac
10547   fi
10548   ;;
10549 esac
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10703 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10704
10705 if test "$GCC" = yes; then
10706   case $host_os in
10707     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10708     *) lt_awk_arg="/^libraries:/" ;;
10709   esac
10710   case $host_os in
10711     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10712     *) lt_sed_strip_eq="s,=/,/,g" ;;
10713   esac
10714   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10715   case $lt_search_path_spec in
10716   *\;*)
10717     # if the path contains ";" then we assume it to be the separator
10718     # otherwise default to the standard path separator (i.e. ":") - it is
10719     # assumed that no part of a normal pathname contains ";" but that should
10720     # okay in the real world where ";" in dirpaths is itself problematic.
10721     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10722     ;;
10723   *)
10724     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10725     ;;
10726   esac
10727   # Ok, now we have the path, separated by spaces, we can step through it
10728   # and add multilib dir if necessary.
10729   lt_tmp_lt_search_path_spec=
10730   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10731   for lt_sys_path in $lt_search_path_spec; do
10732     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10733       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10734     else
10735       test -d "$lt_sys_path" && \
10736         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10737     fi
10738   done
10739   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10740 BEGIN {RS=" "; FS="/|\n";} {
10741   lt_foo="";
10742   lt_count=0;
10743   for (lt_i = NF; lt_i > 0; lt_i--) {
10744     if ($lt_i != "" && $lt_i != ".") {
10745       if ($lt_i == "..") {
10746         lt_count++;
10747       } else {
10748         if (lt_count == 0) {
10749           lt_foo="/" $lt_i lt_foo;
10750         } else {
10751           lt_count--;
10752         }
10753       }
10754     }
10755   }
10756   if (lt_foo != "") { lt_freq[lt_foo]++; }
10757   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10758 }'`
10759   # AWK program above erroneously prepends '/' to C:/dos/paths
10760   # for these hosts.
10761   case $host_os in
10762     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10763       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10764   esac
10765   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10766 else
10767   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10768 fi
10769 library_names_spec=
10770 libname_spec='lib$name'
10771 soname_spec=
10772 shrext_cmds=".so"
10773 postinstall_cmds=
10774 postuninstall_cmds=
10775 finish_cmds=
10776 finish_eval=
10777 shlibpath_var=
10778 shlibpath_overrides_runpath=unknown
10779 version_type=none
10780 dynamic_linker="$host_os ld.so"
10781 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10782 need_lib_prefix=unknown
10783 hardcode_into_libs=no
10784
10785 # when you set need_version to no, make sure it does not cause -set_version
10786 # flags to be left without arguments
10787 need_version=unknown
10788
10789 case $host_os in
10790 aix3*)
10791   version_type=linux # correct to gnu/linux during the next big refactor
10792   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10793   shlibpath_var=LIBPATH
10794
10795   # AIX 3 has no versioning support, so we append a major version to the name.
10796   soname_spec='${libname}${release}${shared_ext}$major'
10797   ;;
10798
10799 aix[4-9]*)
10800   version_type=linux # correct to gnu/linux during the next big refactor
10801   need_lib_prefix=no
10802   need_version=no
10803   hardcode_into_libs=yes
10804   if test "$host_cpu" = ia64; then
10805     # AIX 5 supports IA64
10806     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10807     shlibpath_var=LD_LIBRARY_PATH
10808   else
10809     # With GCC up to 2.95.x, collect2 would create an import file
10810     # for dependence libraries.  The import file would start with
10811     # the line `#! .'.  This would cause the generated library to
10812     # depend on `.', always an invalid library.  This was fixed in
10813     # development snapshots of GCC prior to 3.0.
10814     case $host_os in
10815       aix4 | aix4.[01] | aix4.[01].*)
10816       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10817            echo ' yes '
10818            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10819         :
10820       else
10821         can_build_shared=no
10822       fi
10823       ;;
10824     esac
10825     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10826     # soname into executable. Probably we can add versioning support to
10827     # collect2, so additional links can be useful in future.
10828     if test "$aix_use_runtimelinking" = yes; then
10829       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10830       # instead of lib<name>.a to let people know that these are not
10831       # typical AIX shared libraries.
10832       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833     else
10834       # We preserve .a as extension for shared libraries through AIX4.2
10835       # and later when we are not doing run time linking.
10836       library_names_spec='${libname}${release}.a $libname.a'
10837       soname_spec='${libname}${release}${shared_ext}$major'
10838     fi
10839     shlibpath_var=LIBPATH
10840   fi
10841   ;;
10842
10843 amigaos*)
10844   case $host_cpu in
10845   powerpc)
10846     # Since July 2007 AmigaOS4 officially supports .so libraries.
10847     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10848     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849     ;;
10850   m68k)
10851     library_names_spec='$libname.ixlibrary $libname.a'
10852     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10853     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10854     ;;
10855   esac
10856   ;;
10857
10858 beos*)
10859   library_names_spec='${libname}${shared_ext}'
10860   dynamic_linker="$host_os ld.so"
10861   shlibpath_var=LIBRARY_PATH
10862   ;;
10863
10864 bsdi[45]*)
10865   version_type=linux # correct to gnu/linux during the next big refactor
10866   need_version=no
10867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10868   soname_spec='${libname}${release}${shared_ext}$major'
10869   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10870   shlibpath_var=LD_LIBRARY_PATH
10871   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10872   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10873   # the default ld.so.conf also contains /usr/contrib/lib and
10874   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10875   # libtool to hard-code these into programs
10876   ;;
10877
10878 cygwin* | mingw* | pw32* | cegcc*)
10879   version_type=windows
10880   shrext_cmds=".dll"
10881   need_version=no
10882   need_lib_prefix=no
10883
10884   case $GCC,$cc_basename in
10885   yes,*)
10886     # gcc
10887     library_names_spec='$libname.dll.a'
10888     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10889     postinstall_cmds='base_file=`basename \${file}`~
10890       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10891       dldir=$destdir/`dirname \$dlpath`~
10892       test -d \$dldir || mkdir -p \$dldir~
10893       $install_prog $dir/$dlname \$dldir/$dlname~
10894       chmod a+x \$dldir/$dlname~
10895       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10896         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10897       fi'
10898     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10899       dlpath=$dir/\$dldll~
10900        $RM \$dlpath'
10901     shlibpath_overrides_runpath=yes
10902
10903     case $host_os in
10904     cygwin*)
10905       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10906       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10907
10908       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10909       ;;
10910     mingw* | cegcc*)
10911       # MinGW DLLs use traditional 'lib' prefix
10912       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10913       ;;
10914     pw32*)
10915       # pw32 DLLs use 'pw' prefix rather than 'lib'
10916       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10917       ;;
10918     esac
10919     dynamic_linker='Win32 ld.exe'
10920     ;;
10921
10922   *,cl*)
10923     # Native MSVC
10924     libname_spec='$name'
10925     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10926     library_names_spec='${libname}.dll.lib'
10927
10928     case $build_os in
10929     mingw*)
10930       sys_lib_search_path_spec=
10931       lt_save_ifs=$IFS
10932       IFS=';'
10933       for lt_path in $LIB
10934       do
10935         IFS=$lt_save_ifs
10936         # Let DOS variable expansion print the short 8.3 style file name.
10937         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10938         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10939       done
10940       IFS=$lt_save_ifs
10941       # Convert to MSYS style.
10942       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10943       ;;
10944     cygwin*)
10945       # Convert to unix form, then to dos form, then back to unix form
10946       # but this time dos style (no spaces!) so that the unix form looks
10947       # like /cygdrive/c/PROGRA~1:/cygdr...
10948       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10949       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10950       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10951       ;;
10952     *)
10953       sys_lib_search_path_spec="$LIB"
10954       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10955         # It is most probably a Windows format PATH.
10956         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10957       else
10958         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10959       fi
10960       # FIXME: find the short name or the path components, as spaces are
10961       # common. (e.g. "Program Files" -> "PROGRA~1")
10962       ;;
10963     esac
10964
10965     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10966     postinstall_cmds='base_file=`basename \${file}`~
10967       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10968       dldir=$destdir/`dirname \$dlpath`~
10969       test -d \$dldir || mkdir -p \$dldir~
10970       $install_prog $dir/$dlname \$dldir/$dlname'
10971     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10972       dlpath=$dir/\$dldll~
10973        $RM \$dlpath'
10974     shlibpath_overrides_runpath=yes
10975     dynamic_linker='Win32 link.exe'
10976     ;;
10977
10978   *)
10979     # Assume MSVC wrapper
10980     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10981     dynamic_linker='Win32 ld.exe'
10982     ;;
10983   esac
10984   # FIXME: first we should search . and the directory the executable is in
10985   shlibpath_var=PATH
10986   ;;
10987
10988 darwin* | rhapsody*)
10989   dynamic_linker="$host_os dyld"
10990   version_type=darwin
10991   need_lib_prefix=no
10992   need_version=no
10993   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10994   soname_spec='${libname}${release}${major}$shared_ext'
10995   shlibpath_overrides_runpath=yes
10996   shlibpath_var=DYLD_LIBRARY_PATH
10997   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10998
10999   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11000   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11001   ;;
11002
11003 dgux*)
11004   version_type=linux # correct to gnu/linux during the next big refactor
11005   need_lib_prefix=no
11006   need_version=no
11007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11008   soname_spec='${libname}${release}${shared_ext}$major'
11009   shlibpath_var=LD_LIBRARY_PATH
11010   ;;
11011
11012 freebsd* | dragonfly*)
11013   # DragonFly does not have aout.  When/if they implement a new
11014   # versioning mechanism, adjust this.
11015   if test -x /usr/bin/objformat; then
11016     objformat=`/usr/bin/objformat`
11017   else
11018     case $host_os in
11019     freebsd[23].*) objformat=aout ;;
11020     *) objformat=elf ;;
11021     esac
11022   fi
11023   version_type=freebsd-$objformat
11024   case $version_type in
11025     freebsd-elf*)
11026       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11027       need_version=no
11028       need_lib_prefix=no
11029       ;;
11030     freebsd-*)
11031       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11032       need_version=yes
11033       ;;
11034   esac
11035   shlibpath_var=LD_LIBRARY_PATH
11036   case $host_os in
11037   freebsd2.*)
11038     shlibpath_overrides_runpath=yes
11039     ;;
11040   freebsd3.[01]* | freebsdelf3.[01]*)
11041     shlibpath_overrides_runpath=yes
11042     hardcode_into_libs=yes
11043     ;;
11044   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11045   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11046     shlibpath_overrides_runpath=no
11047     hardcode_into_libs=yes
11048     ;;
11049   *) # from 4.6 on, and DragonFly
11050     shlibpath_overrides_runpath=yes
11051     hardcode_into_libs=yes
11052     ;;
11053   esac
11054   ;;
11055
11056 haiku*)
11057   version_type=linux # correct to gnu/linux during the next big refactor
11058   need_lib_prefix=no
11059   need_version=no
11060   dynamic_linker="$host_os runtime_loader"
11061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11062   soname_spec='${libname}${release}${shared_ext}$major'
11063   shlibpath_var=LIBRARY_PATH
11064   shlibpath_overrides_runpath=yes
11065   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11066   hardcode_into_libs=yes
11067   ;;
11068
11069 hpux9* | hpux10* | hpux11*)
11070   # Give a soname corresponding to the major version so that dld.sl refuses to
11071   # link against other versions.
11072   version_type=sunos
11073   need_lib_prefix=no
11074   need_version=no
11075   case $host_cpu in
11076   ia64*)
11077     shrext_cmds='.so'
11078     hardcode_into_libs=yes
11079     dynamic_linker="$host_os dld.so"
11080     shlibpath_var=LD_LIBRARY_PATH
11081     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11082     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083     soname_spec='${libname}${release}${shared_ext}$major'
11084     if test "X$HPUX_IA64_MODE" = X32; then
11085       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11086     else
11087       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11088     fi
11089     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11090     ;;
11091   hppa*64*)
11092     shrext_cmds='.sl'
11093     hardcode_into_libs=yes
11094     dynamic_linker="$host_os dld.sl"
11095     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11096     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11097     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11098     soname_spec='${libname}${release}${shared_ext}$major'
11099     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11100     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11101     ;;
11102   *)
11103     shrext_cmds='.sl'
11104     dynamic_linker="$host_os dld.sl"
11105     shlibpath_var=SHLIB_PATH
11106     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11107     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11108     soname_spec='${libname}${release}${shared_ext}$major'
11109     ;;
11110   esac
11111   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11112   postinstall_cmds='chmod 555 $lib'
11113   # or fails outright, so override atomically:
11114   install_override_mode=555
11115   ;;
11116
11117 interix[3-9]*)
11118   version_type=linux # correct to gnu/linux during the next big refactor
11119   need_lib_prefix=no
11120   need_version=no
11121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11122   soname_spec='${libname}${release}${shared_ext}$major'
11123   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11124   shlibpath_var=LD_LIBRARY_PATH
11125   shlibpath_overrides_runpath=no
11126   hardcode_into_libs=yes
11127   ;;
11128
11129 irix5* | irix6* | nonstopux*)
11130   case $host_os in
11131     nonstopux*) version_type=nonstopux ;;
11132     *)
11133         if test "$lt_cv_prog_gnu_ld" = yes; then
11134                 version_type=linux # correct to gnu/linux during the next big refactor
11135         else
11136                 version_type=irix
11137         fi ;;
11138   esac
11139   need_lib_prefix=no
11140   need_version=no
11141   soname_spec='${libname}${release}${shared_ext}$major'
11142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11143   case $host_os in
11144   irix5* | nonstopux*)
11145     libsuff= shlibsuff=
11146     ;;
11147   *)
11148     case $LD in # libtool.m4 will add one of these switches to LD
11149     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11150       libsuff= shlibsuff= libmagic=32-bit;;
11151     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11152       libsuff=32 shlibsuff=N32 libmagic=N32;;
11153     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11154       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11155     *) libsuff= shlibsuff= libmagic=never-match;;
11156     esac
11157     ;;
11158   esac
11159   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11160   shlibpath_overrides_runpath=no
11161   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11162   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11163   hardcode_into_libs=yes
11164   ;;
11165
11166 # No shared lib support for Linux oldld, aout, or coff.
11167 linux*oldld* | linux*aout* | linux*coff*)
11168   dynamic_linker=no
11169   ;;
11170
11171 # This must be glibc/ELF.
11172 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11173   version_type=linux # correct to gnu/linux during the next big refactor
11174   need_lib_prefix=no
11175   need_version=no
11176   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11177   soname_spec='${libname}${release}${shared_ext}$major'
11178   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11179   shlibpath_var=LD_LIBRARY_PATH
11180   shlibpath_overrides_runpath=no
11181
11182   # Some binutils ld are patched to set DT_RUNPATH
11183   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11184   $as_echo_n "(cached) " >&6
11185 else
11186   lt_cv_shlibpath_overrides_runpath=no
11187     save_LDFLAGS=$LDFLAGS
11188     save_libdir=$libdir
11189     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11190          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11191     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h.  */
11193
11194 int
11195 main ()
11196 {
11197
11198   ;
11199   return 0;
11200 }
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"; then :
11203   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11204   lt_cv_shlibpath_overrides_runpath=yes
11205 fi
11206 fi
11207 rm -f core conftest.err conftest.$ac_objext \
11208     conftest$ac_exeext conftest.$ac_ext
11209     LDFLAGS=$save_LDFLAGS
11210     libdir=$save_libdir
11211
11212 fi
11213
11214   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11215
11216   # This implies no fast_install, which is unacceptable.
11217   # Some rework will be needed to allow for fast_install
11218   # before this can be enabled.
11219   hardcode_into_libs=yes
11220
11221   # Append ld.so.conf contents to the search path
11222   if test -f /etc/ld.so.conf; then
11223     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11224     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11225   fi
11226
11227   # We used to test for /lib/ld.so.1 and disable shared libraries on
11228   # powerpc, because MkLinux only supported shared libraries with the
11229   # GNU dynamic linker.  Since this was broken with cross compilers,
11230   # most powerpc-linux boxes support dynamic linking these days and
11231   # people can always --disable-shared, the test was removed, and we
11232   # assume the GNU/Linux dynamic linker is in use.
11233   dynamic_linker='GNU/Linux ld.so'
11234   ;;
11235
11236 netbsdelf*-gnu)
11237   version_type=linux
11238   need_lib_prefix=no
11239   need_version=no
11240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11241   soname_spec='${libname}${release}${shared_ext}$major'
11242   shlibpath_var=LD_LIBRARY_PATH
11243   shlibpath_overrides_runpath=no
11244   hardcode_into_libs=yes
11245   dynamic_linker='NetBSD ld.elf_so'
11246   ;;
11247
11248 netbsd*)
11249   version_type=sunos
11250   need_lib_prefix=no
11251   need_version=no
11252   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11253     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11254     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11255     dynamic_linker='NetBSD (a.out) ld.so'
11256   else
11257     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11258     soname_spec='${libname}${release}${shared_ext}$major'
11259     dynamic_linker='NetBSD ld.elf_so'
11260   fi
11261   shlibpath_var=LD_LIBRARY_PATH
11262   shlibpath_overrides_runpath=yes
11263   hardcode_into_libs=yes
11264   ;;
11265
11266 newsos6)
11267   version_type=linux # correct to gnu/linux during the next big refactor
11268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11269   shlibpath_var=LD_LIBRARY_PATH
11270   shlibpath_overrides_runpath=yes
11271   ;;
11272
11273 *nto* | *qnx*)
11274   version_type=qnx
11275   need_lib_prefix=no
11276   need_version=no
11277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11278   soname_spec='${libname}${release}${shared_ext}$major'
11279   shlibpath_var=LD_LIBRARY_PATH
11280   shlibpath_overrides_runpath=no
11281   hardcode_into_libs=yes
11282   dynamic_linker='ldqnx.so'
11283   ;;
11284
11285 openbsd*)
11286   version_type=sunos
11287   sys_lib_dlsearch_path_spec="/usr/lib"
11288   need_lib_prefix=no
11289   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11290   case $host_os in
11291     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11292     *)                          need_version=no  ;;
11293   esac
11294   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11295   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11296   shlibpath_var=LD_LIBRARY_PATH
11297   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11298     case $host_os in
11299       openbsd2.[89] | openbsd2.[89].*)
11300         shlibpath_overrides_runpath=no
11301         ;;
11302       *)
11303         shlibpath_overrides_runpath=yes
11304         ;;
11305       esac
11306   else
11307     shlibpath_overrides_runpath=yes
11308   fi
11309   ;;
11310
11311 os2*)
11312   libname_spec='$name'
11313   shrext_cmds=".dll"
11314   need_lib_prefix=no
11315   library_names_spec='$libname${shared_ext} $libname.a'
11316   dynamic_linker='OS/2 ld.exe'
11317   shlibpath_var=LIBPATH
11318   ;;
11319
11320 osf3* | osf4* | osf5*)
11321   version_type=osf
11322   need_lib_prefix=no
11323   need_version=no
11324   soname_spec='${libname}${release}${shared_ext}$major'
11325   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11326   shlibpath_var=LD_LIBRARY_PATH
11327   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11328   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11329   ;;
11330
11331 rdos*)
11332   dynamic_linker=no
11333   ;;
11334
11335 solaris*)
11336   version_type=linux # correct to gnu/linux during the next big refactor
11337   need_lib_prefix=no
11338   need_version=no
11339   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11340   soname_spec='${libname}${release}${shared_ext}$major'
11341   shlibpath_var=LD_LIBRARY_PATH
11342   shlibpath_overrides_runpath=yes
11343   hardcode_into_libs=yes
11344   # ldd complains unless libraries are executable
11345   postinstall_cmds='chmod +x $lib'
11346   ;;
11347
11348 sunos4*)
11349   version_type=sunos
11350   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11351   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11352   shlibpath_var=LD_LIBRARY_PATH
11353   shlibpath_overrides_runpath=yes
11354   if test "$with_gnu_ld" = yes; then
11355     need_lib_prefix=no
11356   fi
11357   need_version=yes
11358   ;;
11359
11360 sysv4 | sysv4.3*)
11361   version_type=linux # correct to gnu/linux during the next big refactor
11362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11363   soname_spec='${libname}${release}${shared_ext}$major'
11364   shlibpath_var=LD_LIBRARY_PATH
11365   case $host_vendor in
11366     sni)
11367       shlibpath_overrides_runpath=no
11368       need_lib_prefix=no
11369       runpath_var=LD_RUN_PATH
11370       ;;
11371     siemens)
11372       need_lib_prefix=no
11373       ;;
11374     motorola)
11375       need_lib_prefix=no
11376       need_version=no
11377       shlibpath_overrides_runpath=no
11378       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11379       ;;
11380   esac
11381   ;;
11382
11383 sysv4*MP*)
11384   if test -d /usr/nec ;then
11385     version_type=linux # correct to gnu/linux during the next big refactor
11386     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11387     soname_spec='$libname${shared_ext}.$major'
11388     shlibpath_var=LD_LIBRARY_PATH
11389   fi
11390   ;;
11391
11392 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11393   version_type=freebsd-elf
11394   need_lib_prefix=no
11395   need_version=no
11396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11397   soname_spec='${libname}${release}${shared_ext}$major'
11398   shlibpath_var=LD_LIBRARY_PATH
11399   shlibpath_overrides_runpath=yes
11400   hardcode_into_libs=yes
11401   if test "$with_gnu_ld" = yes; then
11402     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11403   else
11404     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11405     case $host_os in
11406       sco3.2v5*)
11407         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11408         ;;
11409     esac
11410   fi
11411   sys_lib_dlsearch_path_spec='/usr/lib'
11412   ;;
11413
11414 tpf*)
11415   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11416   version_type=linux # correct to gnu/linux during the next big refactor
11417   need_lib_prefix=no
11418   need_version=no
11419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11420   shlibpath_var=LD_LIBRARY_PATH
11421   shlibpath_overrides_runpath=no
11422   hardcode_into_libs=yes
11423   ;;
11424
11425 uts4*)
11426   version_type=linux # correct to gnu/linux during the next big refactor
11427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11428   soname_spec='${libname}${release}${shared_ext}$major'
11429   shlibpath_var=LD_LIBRARY_PATH
11430   ;;
11431
11432 *)
11433   dynamic_linker=no
11434   ;;
11435 esac
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11437 $as_echo "$dynamic_linker" >&6; }
11438 test "$dynamic_linker" = no && can_build_shared=no
11439
11440 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11441 if test "$GCC" = yes; then
11442   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11443 fi
11444
11445 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11446   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11447 fi
11448 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11449   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11450 fi
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11544 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11545 hardcode_action=
11546 if test -n "$hardcode_libdir_flag_spec" ||
11547    test -n "$runpath_var" ||
11548    test "X$hardcode_automatic" = "Xyes" ; then
11549
11550   # We can hardcode non-existent directories.
11551   if test "$hardcode_direct" != no &&
11552      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11553      # have to relink, otherwise we might link with an installed library
11554      # when we should be linking with a yet-to-be-installed one
11555      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11556      test "$hardcode_minus_L" != no; then
11557     # Linking always hardcodes the temporary library directory.
11558     hardcode_action=relink
11559   else
11560     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11561     hardcode_action=immediate
11562   fi
11563 else
11564   # We cannot hardcode anything, or else we can only hardcode existing
11565   # directories.
11566   hardcode_action=unsupported
11567 fi
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11569 $as_echo "$hardcode_action" >&6; }
11570
11571 if test "$hardcode_action" = relink ||
11572    test "$inherit_rpath" = yes; then
11573   # Fast installation is not supported
11574   enable_fast_install=no
11575 elif test "$shlibpath_overrides_runpath" = yes ||
11576      test "$enable_shared" = no; then
11577   # Fast installation is not necessary
11578   enable_fast_install=needless
11579 fi
11580
11581
11582
11583
11584
11585
11586   if test "x$enable_dlopen" != xyes; then
11587   enable_dlopen=unknown
11588   enable_dlopen_self=unknown
11589   enable_dlopen_self_static=unknown
11590 else
11591   lt_cv_dlopen=no
11592   lt_cv_dlopen_libs=
11593
11594   case $host_os in
11595   beos*)
11596     lt_cv_dlopen="load_add_on"
11597     lt_cv_dlopen_libs=
11598     lt_cv_dlopen_self=yes
11599     ;;
11600
11601   mingw* | pw32* | cegcc*)
11602     lt_cv_dlopen="LoadLibrary"
11603     lt_cv_dlopen_libs=
11604     ;;
11605
11606   cygwin*)
11607     lt_cv_dlopen="dlopen"
11608     lt_cv_dlopen_libs=
11609     ;;
11610
11611   darwin*)
11612   # if libdl is installed we need to link against it
11613     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11614 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11615 if ${ac_cv_lib_dl_dlopen+:} false; then :
11616   $as_echo_n "(cached) " >&6
11617 else
11618   ac_check_lib_save_LIBS=$LIBS
11619 LIBS="-ldl  $LIBS"
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h.  */
11622
11623 /* Override any GCC internal prototype to avoid an error.
11624    Use char because int might match the return type of a GCC
11625    builtin and then its argument prototype would still apply.  */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char dlopen ();
11630 int
11631 main ()
11632 {
11633 return dlopen ();
11634   ;
11635   return 0;
11636 }
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
11639   ac_cv_lib_dl_dlopen=yes
11640 else
11641   ac_cv_lib_dl_dlopen=no
11642 fi
11643 rm -f core conftest.err conftest.$ac_objext \
11644     conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_lib_save_LIBS
11646 fi
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11648 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11649 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11650   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11651 else
11652
11653     lt_cv_dlopen="dyld"
11654     lt_cv_dlopen_libs=
11655     lt_cv_dlopen_self=yes
11656
11657 fi
11658
11659     ;;
11660
11661   *)
11662     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11663 if test "x$ac_cv_func_shl_load" = xyes; then :
11664   lt_cv_dlopen="shl_load"
11665 else
11666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11667 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11668 if ${ac_cv_lib_dld_shl_load+:} false; then :
11669   $as_echo_n "(cached) " >&6
11670 else
11671   ac_check_lib_save_LIBS=$LIBS
11672 LIBS="-ldld  $LIBS"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h.  */
11675
11676 /* Override any GCC internal prototype to avoid an error.
11677    Use char because int might match the return type of a GCC
11678    builtin and then its argument prototype would still apply.  */
11679 #ifdef __cplusplus
11680 extern "C"
11681 #endif
11682 char shl_load ();
11683 int
11684 main ()
11685 {
11686 return shl_load ();
11687   ;
11688   return 0;
11689 }
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"; then :
11692   ac_cv_lib_dld_shl_load=yes
11693 else
11694   ac_cv_lib_dld_shl_load=no
11695 fi
11696 rm -f core conftest.err conftest.$ac_objext \
11697     conftest$ac_exeext conftest.$ac_ext
11698 LIBS=$ac_check_lib_save_LIBS
11699 fi
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11701 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11702 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11703   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11704 else
11705   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11706 if test "x$ac_cv_func_dlopen" = xyes; then :
11707   lt_cv_dlopen="dlopen"
11708 else
11709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11710 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11711 if ${ac_cv_lib_dl_dlopen+:} false; then :
11712   $as_echo_n "(cached) " >&6
11713 else
11714   ac_check_lib_save_LIBS=$LIBS
11715 LIBS="-ldl  $LIBS"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h.  */
11718
11719 /* Override any GCC internal prototype to avoid an error.
11720    Use char because int might match the return type of a GCC
11721    builtin and then its argument prototype would still apply.  */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char dlopen ();
11726 int
11727 main ()
11728 {
11729 return dlopen ();
11730   ;
11731   return 0;
11732 }
11733 _ACEOF
11734 if ac_fn_c_try_link "$LINENO"; then :
11735   ac_cv_lib_dl_dlopen=yes
11736 else
11737   ac_cv_lib_dl_dlopen=no
11738 fi
11739 rm -f core conftest.err conftest.$ac_objext \
11740     conftest$ac_exeext conftest.$ac_ext
11741 LIBS=$ac_check_lib_save_LIBS
11742 fi
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11744 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11745 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11746   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11747 else
11748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11749 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11750 if ${ac_cv_lib_svld_dlopen+:} false; then :
11751   $as_echo_n "(cached) " >&6
11752 else
11753   ac_check_lib_save_LIBS=$LIBS
11754 LIBS="-lsvld  $LIBS"
11755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h.  */
11757
11758 /* Override any GCC internal prototype to avoid an error.
11759    Use char because int might match the return type of a GCC
11760    builtin and then its argument prototype would still apply.  */
11761 #ifdef __cplusplus
11762 extern "C"
11763 #endif
11764 char dlopen ();
11765 int
11766 main ()
11767 {
11768 return dlopen ();
11769   ;
11770   return 0;
11771 }
11772 _ACEOF
11773 if ac_fn_c_try_link "$LINENO"; then :
11774   ac_cv_lib_svld_dlopen=yes
11775 else
11776   ac_cv_lib_svld_dlopen=no
11777 fi
11778 rm -f core conftest.err conftest.$ac_objext \
11779     conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_lib_save_LIBS
11781 fi
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11783 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11784 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11785   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11786 else
11787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11788 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11789 if ${ac_cv_lib_dld_dld_link+:} false; then :
11790   $as_echo_n "(cached) " >&6
11791 else
11792   ac_check_lib_save_LIBS=$LIBS
11793 LIBS="-ldld  $LIBS"
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h.  */
11796
11797 /* Override any GCC internal prototype to avoid an error.
11798    Use char because int might match the return type of a GCC
11799    builtin and then its argument prototype would still apply.  */
11800 #ifdef __cplusplus
11801 extern "C"
11802 #endif
11803 char dld_link ();
11804 int
11805 main ()
11806 {
11807 return dld_link ();
11808   ;
11809   return 0;
11810 }
11811 _ACEOF
11812 if ac_fn_c_try_link "$LINENO"; then :
11813   ac_cv_lib_dld_dld_link=yes
11814 else
11815   ac_cv_lib_dld_dld_link=no
11816 fi
11817 rm -f core conftest.err conftest.$ac_objext \
11818     conftest$ac_exeext conftest.$ac_ext
11819 LIBS=$ac_check_lib_save_LIBS
11820 fi
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11822 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11823 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11824   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11825 fi
11826
11827
11828 fi
11829
11830
11831 fi
11832
11833
11834 fi
11835
11836
11837 fi
11838
11839
11840 fi
11841
11842     ;;
11843   esac
11844
11845   if test "x$lt_cv_dlopen" != xno; then
11846     enable_dlopen=yes
11847   else
11848     enable_dlopen=no
11849   fi
11850
11851   case $lt_cv_dlopen in
11852   dlopen)
11853     save_CPPFLAGS="$CPPFLAGS"
11854     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11855
11856     save_LDFLAGS="$LDFLAGS"
11857     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11858
11859     save_LIBS="$LIBS"
11860     LIBS="$lt_cv_dlopen_libs $LIBS"
11861
11862     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11863 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11864 if ${lt_cv_dlopen_self+:} false; then :
11865   $as_echo_n "(cached) " >&6
11866 else
11867           if test "$cross_compiling" = yes; then :
11868   lt_cv_dlopen_self=cross
11869 else
11870   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11871   lt_status=$lt_dlunknown
11872   cat > conftest.$ac_ext <<_LT_EOF
11873 #line $LINENO "configure"
11874 #include "confdefs.h"
11875
11876 #if HAVE_DLFCN_H
11877 #include <dlfcn.h>
11878 #endif
11879
11880 #include <stdio.h>
11881
11882 #ifdef RTLD_GLOBAL
11883 #  define LT_DLGLOBAL           RTLD_GLOBAL
11884 #else
11885 #  ifdef DL_GLOBAL
11886 #    define LT_DLGLOBAL         DL_GLOBAL
11887 #  else
11888 #    define LT_DLGLOBAL         0
11889 #  endif
11890 #endif
11891
11892 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11893    find out it does not work in some platform. */
11894 #ifndef LT_DLLAZY_OR_NOW
11895 #  ifdef RTLD_LAZY
11896 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11897 #  else
11898 #    ifdef DL_LAZY
11899 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11900 #    else
11901 #      ifdef RTLD_NOW
11902 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11903 #      else
11904 #        ifdef DL_NOW
11905 #          define LT_DLLAZY_OR_NOW      DL_NOW
11906 #        else
11907 #          define LT_DLLAZY_OR_NOW      0
11908 #        endif
11909 #      endif
11910 #    endif
11911 #  endif
11912 #endif
11913
11914 /* When -fvisbility=hidden is used, assume the code has been annotated
11915    correspondingly for the symbols needed.  */
11916 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11917 int fnord () __attribute__((visibility("default")));
11918 #endif
11919
11920 int fnord () { return 42; }
11921 int main ()
11922 {
11923   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11924   int status = $lt_dlunknown;
11925
11926   if (self)
11927     {
11928       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11929       else
11930         {
11931           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11932           else puts (dlerror ());
11933         }
11934       /* dlclose (self); */
11935     }
11936   else
11937     puts (dlerror ());
11938
11939   return status;
11940 }
11941 _LT_EOF
11942   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11943   (eval $ac_link) 2>&5
11944   ac_status=$?
11945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11946   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11947     (./conftest; exit; ) >&5 2>/dev/null
11948     lt_status=$?
11949     case x$lt_status in
11950       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11951       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11952       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11953     esac
11954   else :
11955     # compilation failed
11956     lt_cv_dlopen_self=no
11957   fi
11958 fi
11959 rm -fr conftest*
11960
11961
11962 fi
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11964 $as_echo "$lt_cv_dlopen_self" >&6; }
11965
11966     if test "x$lt_cv_dlopen_self" = xyes; then
11967       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11968       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11969 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11970 if ${lt_cv_dlopen_self_static+:} false; then :
11971   $as_echo_n "(cached) " >&6
11972 else
11973           if test "$cross_compiling" = yes; then :
11974   lt_cv_dlopen_self_static=cross
11975 else
11976   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11977   lt_status=$lt_dlunknown
11978   cat > conftest.$ac_ext <<_LT_EOF
11979 #line $LINENO "configure"
11980 #include "confdefs.h"
11981
11982 #if HAVE_DLFCN_H
11983 #include <dlfcn.h>
11984 #endif
11985
11986 #include <stdio.h>
11987
11988 #ifdef RTLD_GLOBAL
11989 #  define LT_DLGLOBAL           RTLD_GLOBAL
11990 #else
11991 #  ifdef DL_GLOBAL
11992 #    define LT_DLGLOBAL         DL_GLOBAL
11993 #  else
11994 #    define LT_DLGLOBAL         0
11995 #  endif
11996 #endif
11997
11998 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11999    find out it does not work in some platform. */
12000 #ifndef LT_DLLAZY_OR_NOW
12001 #  ifdef RTLD_LAZY
12002 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12003 #  else
12004 #    ifdef DL_LAZY
12005 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12006 #    else
12007 #      ifdef RTLD_NOW
12008 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12009 #      else
12010 #        ifdef DL_NOW
12011 #          define LT_DLLAZY_OR_NOW      DL_NOW
12012 #        else
12013 #          define LT_DLLAZY_OR_NOW      0
12014 #        endif
12015 #      endif
12016 #    endif
12017 #  endif
12018 #endif
12019
12020 /* When -fvisbility=hidden is used, assume the code has been annotated
12021    correspondingly for the symbols needed.  */
12022 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12023 int fnord () __attribute__((visibility("default")));
12024 #endif
12025
12026 int fnord () { return 42; }
12027 int main ()
12028 {
12029   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12030   int status = $lt_dlunknown;
12031
12032   if (self)
12033     {
12034       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12035       else
12036         {
12037           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12038           else puts (dlerror ());
12039         }
12040       /* dlclose (self); */
12041     }
12042   else
12043     puts (dlerror ());
12044
12045   return status;
12046 }
12047 _LT_EOF
12048   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12049   (eval $ac_link) 2>&5
12050   ac_status=$?
12051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12052   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12053     (./conftest; exit; ) >&5 2>/dev/null
12054     lt_status=$?
12055     case x$lt_status in
12056       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12057       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12058       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12059     esac
12060   else :
12061     # compilation failed
12062     lt_cv_dlopen_self_static=no
12063   fi
12064 fi
12065 rm -fr conftest*
12066
12067
12068 fi
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12070 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12071     fi
12072
12073     CPPFLAGS="$save_CPPFLAGS"
12074     LDFLAGS="$save_LDFLAGS"
12075     LIBS="$save_LIBS"
12076     ;;
12077   esac
12078
12079   case $lt_cv_dlopen_self in
12080   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12081   *) enable_dlopen_self=unknown ;;
12082   esac
12083
12084   case $lt_cv_dlopen_self_static in
12085   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12086   *) enable_dlopen_self_static=unknown ;;
12087   esac
12088 fi
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106 striplib=
12107 old_striplib=
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12109 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12110 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12111   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12112   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12114 $as_echo "yes" >&6; }
12115 else
12116 # FIXME - insert some real tests, host_os isn't really good enough
12117   case $host_os in
12118   darwin*)
12119     if test -n "$STRIP" ; then
12120       striplib="$STRIP -x"
12121       old_striplib="$STRIP -S"
12122       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12123 $as_echo "yes" >&6; }
12124     else
12125       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12126 $as_echo "no" >&6; }
12127     fi
12128     ;;
12129   *)
12130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12131 $as_echo "no" >&6; }
12132     ;;
12133   esac
12134 fi
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147   # Report which library types will actually be built
12148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12149 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12151 $as_echo "$can_build_shared" >&6; }
12152
12153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12154 $as_echo_n "checking whether to build shared libraries... " >&6; }
12155   test "$can_build_shared" = "no" && enable_shared=no
12156
12157   # On AIX, shared libraries and static libraries use the same namespace, and
12158   # are all built from PIC.
12159   case $host_os in
12160   aix3*)
12161     test "$enable_shared" = yes && enable_static=no
12162     if test -n "$RANLIB"; then
12163       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12164       postinstall_cmds='$RANLIB $lib'
12165     fi
12166     ;;
12167
12168   aix[4-9]*)
12169     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12170       test "$enable_shared" = yes && enable_static=no
12171     fi
12172     ;;
12173   esac
12174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12175 $as_echo "$enable_shared" >&6; }
12176
12177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12178 $as_echo_n "checking whether to build static libraries... " >&6; }
12179   # Make sure either enable_shared or enable_static is yes.
12180   test "$enable_shared" = yes || enable_static=yes
12181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12182 $as_echo "$enable_static" >&6; }
12183
12184
12185
12186
12187 fi
12188 ac_ext=c
12189 ac_cpp='$CPP $CPPFLAGS'
12190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12193
12194 CC="$lt_save_CC"
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210         ac_config_commands="$ac_config_commands libtool"
12211
12212
12213
12214
12215 # Only expand once:
12216
12217
12218
12219
12220 GST_REQ=1.4.0
12221 GSTPB_REQ=1.4.0
12222 GSTPG_REQ=1.4.0
12223 GSTPD_REQ=1.4.0
12224
12225
12226
12227
12228 # Check whether --with-autoconf was given.
12229 if test "${with_autoconf+set}" = set; then :
12230   withval=$with_autoconf;
12231       unset AUTOCONF
12232
12233 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
12234
12235       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
12236 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
12237
12238 fi
12239
12240
12241
12242 # Check whether --with-autoheader was given.
12243 if test "${with_autoheader+set}" = set; then :
12244   withval=$with_autoheader;
12245       unset AUTOHEADER
12246
12247 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
12248
12249       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
12250 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
12251
12252 fi
12253
12254
12255
12256 # Check whether --with-automake was given.
12257 if test "${with_automake+set}" = set; then :
12258   withval=$with_automake;
12259       unset AUTOMAKE
12260
12261 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
12262
12263       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
12264 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
12265
12266 fi
12267
12268
12269
12270 # Check whether --with-aclocal was given.
12271 if test "${with_aclocal+set}" = set; then :
12272   withval=$with_aclocal;
12273       unset ACLOCAL
12274
12275 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
12276
12277       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
12278 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
12279
12280 fi
12281
12282
12283
12284 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
12285
12286
12287
12288 #AM_GNU_GETTEXT_VERSION([0.17])
12289 #AM_GNU_GETTEXT([external])
12290 #AG_GST_GETTEXT([gst-rtsp-server-$GST_API_VERSION])
12291
12292
12293
12294   # Check whether --enable-fatal-warnings was given.
12295 if test "${enable_fatal_warnings+set}" = set; then :
12296   enableval=$enable_fatal_warnings;
12297       case "${enableval}" in
12298         yes) FATAL_WARNINGS=yes ;;
12299         no)  FATAL_WARNINGS=no ;;
12300         *)   as_fn_error $? "bad value ${enableval} for --disable-fatal-warnings" "$LINENO" 5 ;;
12301       esac
12302
12303 else
12304
12305       if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
12306         FATAL_WARNINGS=yes
12307       else
12308         FATAL_WARNINGS=no
12309       fi
12310
12311 fi
12312
12313
12314
12315
12316     # Check whether --enable-debug was given.
12317 if test "${enable_debug+set}" = set; then :
12318   enableval=$enable_debug;
12319       case "${enableval}" in
12320         yes) USE_DEBUG=yes ;;
12321         no)  USE_DEBUG=no ;;
12322         *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
12323       esac
12324
12325 else
12326   USE_DEBUG=yes
12327 fi
12328
12329
12330
12331 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12332         if test -n "$ac_tool_prefix"; then
12333   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12334 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12336 $as_echo_n "checking for $ac_word... " >&6; }
12337 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12338   $as_echo_n "(cached) " >&6
12339 else
12340   case $PKG_CONFIG in
12341   [\\/]* | ?:[\\/]*)
12342   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12343   ;;
12344   *)
12345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12346 for as_dir in $PATH
12347 do
12348   IFS=$as_save_IFS
12349   test -z "$as_dir" && as_dir=.
12350     for ac_exec_ext in '' $ac_executable_extensions; do
12351   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12352     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12354     break 2
12355   fi
12356 done
12357   done
12358 IFS=$as_save_IFS
12359
12360   ;;
12361 esac
12362 fi
12363 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12364 if test -n "$PKG_CONFIG"; then
12365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12366 $as_echo "$PKG_CONFIG" >&6; }
12367 else
12368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12370 fi
12371
12372
12373 fi
12374 if test -z "$ac_cv_path_PKG_CONFIG"; then
12375   ac_pt_PKG_CONFIG=$PKG_CONFIG
12376   # Extract the first word of "pkg-config", so it can be a program name with args.
12377 set dummy pkg-config; ac_word=$2
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12379 $as_echo_n "checking for $ac_word... " >&6; }
12380 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12381   $as_echo_n "(cached) " >&6
12382 else
12383   case $ac_pt_PKG_CONFIG in
12384   [\\/]* | ?:[\\/]*)
12385   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12386   ;;
12387   *)
12388   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12389 for as_dir in $PATH
12390 do
12391   IFS=$as_save_IFS
12392   test -z "$as_dir" && as_dir=.
12393     for ac_exec_ext in '' $ac_executable_extensions; do
12394   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12395     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12397     break 2
12398   fi
12399 done
12400   done
12401 IFS=$as_save_IFS
12402
12403   ;;
12404 esac
12405 fi
12406 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12407 if test -n "$ac_pt_PKG_CONFIG"; then
12408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12409 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12410 else
12411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412 $as_echo "no" >&6; }
12413 fi
12414
12415   if test "x$ac_pt_PKG_CONFIG" = x; then
12416     PKG_CONFIG=""
12417   else
12418     case $cross_compiling:$ac_tool_warned in
12419 yes:)
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12422 ac_tool_warned=yes ;;
12423 esac
12424     PKG_CONFIG=$ac_pt_PKG_CONFIG
12425   fi
12426 else
12427   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12428 fi
12429
12430 fi
12431 if test -n "$PKG_CONFIG"; then
12432         _pkg_min_version=0.9.0
12433         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12434 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12435         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12436                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12437 $as_echo "yes" >&6; }
12438         else
12439                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12440 $as_echo "no" >&6; }
12441                 PKG_CONFIG=""
12442         fi
12443
12444 fi
12445
12446     # Check whether --enable-valgrind was given.
12447 if test "${enable_valgrind+set}" = set; then :
12448   enableval=$enable_valgrind;
12449       case "${enableval}" in
12450         yes) USE_VALGRIND="$USE_DEBUG" ;;
12451         no)  USE_VALGRIND=no ;;
12452         *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
12453       esac
12454
12455 else
12456   USE_VALGRIND="$USE_DEBUG"
12457 fi
12458    VALGRIND_REQ="3.0"
12459   if test "x$USE_VALGRIND" = xyes; then
12460
12461 pkg_failed=no
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
12463 $as_echo_n "checking for VALGRIND... " >&6; }
12464
12465 if test -n "$PKG_CONFIG"; then
12466     if test -n "$VALGRIND_CFLAGS"; then
12467         pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
12468     else
12469         if test -n "$PKG_CONFIG" && \
12470     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
12471   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
12472   ac_status=$?
12473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12474   test $ac_status = 0; }; then
12475   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
12476 else
12477   pkg_failed=yes
12478 fi
12479     fi
12480 else
12481         pkg_failed=untried
12482 fi
12483 if test -n "$PKG_CONFIG"; then
12484     if test -n "$VALGRIND_LIBS"; then
12485         pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
12486     else
12487         if test -n "$PKG_CONFIG" && \
12488     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
12489   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
12490   ac_status=$?
12491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12492   test $ac_status = 0; }; then
12493   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
12494 else
12495   pkg_failed=yes
12496 fi
12497     fi
12498 else
12499         pkg_failed=untried
12500 fi
12501
12502
12503
12504 if test $pkg_failed = yes; then
12505
12506 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12507         _pkg_short_errors_supported=yes
12508 else
12509         _pkg_short_errors_supported=no
12510 fi
12511         if test $_pkg_short_errors_supported = yes; then
12512                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
12513         else
12514                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
12515         fi
12516         # Put the nasty error message in config.log where it belongs
12517         echo "$VALGRIND_PKG_ERRORS" >&5
12518
12519         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12520 $as_echo "no" >&6; }
12521                 USE_VALGRIND="no"
12522 elif test $pkg_failed = untried; then
12523         USE_VALGRIND="no"
12524 else
12525         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
12526         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
12527         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12528 $as_echo "yes" >&6; }
12529         USE_VALGRIND="yes"
12530 fi
12531   fi
12532   if test "x$USE_VALGRIND" = xyes; then
12533
12534 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
12535
12536     { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
12537 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
12538   fi
12539
12540
12541   # Check whether --enable-gcov was given.
12542 if test "${enable_gcov+set}" = set; then :
12543   enableval=$enable_gcov; enable_gcov=$enableval
12544 else
12545   enable_gcov=no
12546 fi
12547
12548   if test x$enable_gcov = xyes ; then
12549     if test "x$GCC" != "xyes"
12550     then
12551       as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
12552     fi
12553
12554
12555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
12556 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
12557
12558   save_CFLAGS="$CFLAGS"
12559   CFLAGS="$CFLAGS "-fprofile-arcs""
12560
12561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h.  */
12563
12564 int
12565 main ()
12566 {
12567
12568   ;
12569   return 0;
12570 }
12571 _ACEOF
12572 if ac_fn_c_try_compile "$LINENO"; then :
12573   flag_ok=yes
12574 else
12575   flag_ok=no
12576 fi
12577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12578   CFLAGS="$save_CFLAGS"
12579
12580   if test "X$flag_ok" = Xyes ; then
12581     GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
12582     true
12583   else
12584     true
12585     true
12586   fi
12587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
12588 $as_echo "$flag_ok" >&6; }
12589
12590
12591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
12592 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
12593
12594   save_CFLAGS="$CFLAGS"
12595   CFLAGS="$CFLAGS "-ftest-coverage""
12596
12597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h.  */
12599
12600 int
12601 main ()
12602 {
12603
12604   ;
12605   return 0;
12606 }
12607 _ACEOF
12608 if ac_fn_c_try_compile "$LINENO"; then :
12609   flag_ok=yes
12610 else
12611   flag_ok=no
12612 fi
12613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12614   CFLAGS="$save_CFLAGS"
12615
12616   if test "X$flag_ok" = Xyes ; then
12617     GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
12618     true
12619   else
12620     true
12621     true
12622   fi
12623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
12624 $as_echo "$flag_ok" >&6; }
12625
12626         GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
12627                 GCOV_LIBS=-lgcov
12628
12629
12630     GCOV=`echo $CC | sed s/gcc/gcov/g`
12631
12632
12633     GST_GCOV_ENABLED=yes
12634
12635 cat >>confdefs.h <<_ACEOF
12636 #define GST_GCOV_ENABLED 1
12637 _ACEOF
12638
12639         if test "x$GST_GCOV_ENABLED" = "xyes"
12640     then
12641       CFLAGS="$CFLAGS -O0"
12642
12643       CXXFLAGS="$CXXFLAGS -O0"
12644
12645       FFLAGS="$FFLAGS -O0"
12646
12647       CCASFLAGS="$CCASFLAGS -O0"
12648
12649       { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
12650 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
12651     fi
12652   fi
12653    if test x$enable_gcov = xyes; then
12654   GST_GCOV_ENABLED_TRUE=
12655   GST_GCOV_ENABLED_FALSE='#'
12656 else
12657   GST_GCOV_ENABLED_TRUE='#'
12658   GST_GCOV_ENABLED_FALSE=
12659 fi
12660
12661
12662
12663
12664 # Check whether --with-pkg-config-path was given.
12665 if test "${with_pkg_config_path+set}" = set; then :
12666   withval=$with_pkg_config_path;
12667        export PKG_CONFIG_PATH=${withval}
12668        { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
12669 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
12670
12671 fi
12672
12673
12674
12675
12676 # Check whether --with-package-name was given.
12677 if test "${with_package_name+set}" = set; then :
12678   withval=$with_package_name;
12679       case "${withval}" in
12680         yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
12681         no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
12682         *)   GST_PACKAGE_NAME="${withval}" ;;
12683       esac
12684
12685 else
12686
12687       P=
12688       if test "x$P" = "x"
12689       then
12690         P=$PACKAGE_NAME
12691       fi
12692
12693       if test "x$PACKAGE_VERSION_NANO" = "x0"
12694       then
12695         GST_PACKAGE_NAME="$P source release"
12696       else
12697         if test "x$PACKAGE_VERSION_NANO" = "x1"
12698         then
12699           GST_PACKAGE_NAME="$P git"
12700         else
12701           GST_PACKAGE_NAME="$P prerelease"
12702         fi
12703       fi
12704
12705
12706 fi
12707
12708   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
12709 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
12710
12711 cat >>confdefs.h <<_ACEOF
12712 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
12713 _ACEOF
12714
12715
12716
12717
12718
12719 # Check whether --with-package-origin was given.
12720 if test "${with_package_origin+set}" = set; then :
12721   withval=$with_package_origin;
12722       case "${withval}" in
12723         yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
12724         no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
12725         *)   GST_PACKAGE_ORIGIN="${withval}" ;;
12726       esac
12727
12728 else
12729   GST_PACKAGE_ORIGIN="Unknown package origin"
12730 fi
12731
12732   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
12733 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
12734
12735 cat >>confdefs.h <<_ACEOF
12736 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
12737 _ACEOF
12738
12739
12740
12741
12742
12743   GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
12744   if test "x$PKG_CONFIG_PATH" != "x"; then
12745     GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
12746   fi
12747
12748   { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
12749 $as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
12750
12751
12752
12753   if test "x$PACKAGE_VERSION_NANO" = "x0"; then
12754
12755       if test "xyes" = "xno" -o "xyes" = "x"; then
12756     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
12757   elif test "xyes" = "xyes"; then
12758             if ( echo yes | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
12759       GST_PACKAGE_RELEASE_DATETIME=yes
12760     else
12761             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gst-rtsp-server.doap" `;
12762       if test "x$YYYY_MM_DD" != "x"; then
12763         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
12764       else
12765         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
12766             release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-rtsp-server.doap\" " "$LINENO" 5
12767         GST_PACKAGE_RELEASE_DATETIME=""
12768       fi
12769     fi
12770     elif ( echo yes | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
12771     GST_PACKAGE_RELEASE_DATETIME=yes
12772   else
12773     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
12774 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
12775     GST_PACKAGE_RELEASE_DATETIME=""
12776   fi
12777
12778   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
12779     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
12780 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
12781   else
12782     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
12783 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
12784
12785
12786 cat >>confdefs.h <<_ACEOF
12787 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
12788 _ACEOF
12789
12790   fi
12791
12792   else
12793
12794       if test "xno" = "xno" -o "xno" = "x"; then
12795     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
12796   elif test "xno" = "xyes"; then
12797             if ( echo no | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
12798       GST_PACKAGE_RELEASE_DATETIME=no
12799     else
12800             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
12801       if test "x$YYYY_MM_DD" != "x"; then
12802         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
12803       else
12804         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
12805             release date for release version  from " "$LINENO" 5
12806         GST_PACKAGE_RELEASE_DATETIME=""
12807       fi
12808     fi
12809     elif ( echo no | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
12810     GST_PACKAGE_RELEASE_DATETIME=no
12811   else
12812     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
12813 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
12814     GST_PACKAGE_RELEASE_DATETIME=""
12815   fi
12816
12817   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
12818     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
12819 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
12820   else
12821     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
12822 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
12823
12824
12825 cat >>confdefs.h <<_ACEOF
12826 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
12827 _ACEOF
12828
12829   fi
12830
12831   fi
12832
12833
12834 # Check whether --enable-tests was given.
12835 if test "${enable_tests+set}" = set; then :
12836   enableval=$enable_tests;
12837     case "${enableval}" in
12838       yes) BUILD_TESTS=yes ;;
12839       no)  BUILD_TESTS=no ;;
12840       *)   as_fn_error $? "bad value ${enableval} for --disable-tests" "$LINENO" 5 ;;
12841     esac
12842
12843 else
12844   BUILD_TESTS=yes
12845 fi
12846   if test "x$BUILD_TESTS" = "xyes"; then
12847   BUILD_TESTS_TRUE=
12848   BUILD_TESTS_FALSE='#'
12849 else
12850   BUILD_TESTS_TRUE='#'
12851   BUILD_TESTS_FALSE=
12852 fi
12853
12854
12855
12856
12857
12858 ac_ext=c
12859 ac_cpp='$CPP $CPPFLAGS'
12860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12863 if test -n "$ac_tool_prefix"; then
12864   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12865 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12867 $as_echo_n "checking for $ac_word... " >&6; }
12868 if ${ac_cv_prog_CC+:} false; then :
12869   $as_echo_n "(cached) " >&6
12870 else
12871   if test -n "$CC"; then
12872   ac_cv_prog_CC="$CC" # Let the user override the test.
12873 else
12874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12875 for as_dir in $PATH
12876 do
12877   IFS=$as_save_IFS
12878   test -z "$as_dir" && as_dir=.
12879     for ac_exec_ext in '' $ac_executable_extensions; do
12880   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12881     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12883     break 2
12884   fi
12885 done
12886   done
12887 IFS=$as_save_IFS
12888
12889 fi
12890 fi
12891 CC=$ac_cv_prog_CC
12892 if test -n "$CC"; then
12893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12894 $as_echo "$CC" >&6; }
12895 else
12896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12897 $as_echo "no" >&6; }
12898 fi
12899
12900
12901 fi
12902 if test -z "$ac_cv_prog_CC"; then
12903   ac_ct_CC=$CC
12904   # Extract the first word of "gcc", so it can be a program name with args.
12905 set dummy gcc; ac_word=$2
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12907 $as_echo_n "checking for $ac_word... " >&6; }
12908 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12909   $as_echo_n "(cached) " >&6
12910 else
12911   if test -n "$ac_ct_CC"; then
12912   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12913 else
12914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12915 for as_dir in $PATH
12916 do
12917   IFS=$as_save_IFS
12918   test -z "$as_dir" && as_dir=.
12919     for ac_exec_ext in '' $ac_executable_extensions; do
12920   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12921     ac_cv_prog_ac_ct_CC="gcc"
12922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12923     break 2
12924   fi
12925 done
12926   done
12927 IFS=$as_save_IFS
12928
12929 fi
12930 fi
12931 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12932 if test -n "$ac_ct_CC"; then
12933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12934 $as_echo "$ac_ct_CC" >&6; }
12935 else
12936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12937 $as_echo "no" >&6; }
12938 fi
12939
12940   if test "x$ac_ct_CC" = x; then
12941     CC=""
12942   else
12943     case $cross_compiling:$ac_tool_warned in
12944 yes:)
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12947 ac_tool_warned=yes ;;
12948 esac
12949     CC=$ac_ct_CC
12950   fi
12951 else
12952   CC="$ac_cv_prog_CC"
12953 fi
12954
12955 if test -z "$CC"; then
12956           if test -n "$ac_tool_prefix"; then
12957     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12958 set dummy ${ac_tool_prefix}cc; ac_word=$2
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12960 $as_echo_n "checking for $ac_word... " >&6; }
12961 if ${ac_cv_prog_CC+:} false; then :
12962   $as_echo_n "(cached) " >&6
12963 else
12964   if test -n "$CC"; then
12965   ac_cv_prog_CC="$CC" # Let the user override the test.
12966 else
12967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12968 for as_dir in $PATH
12969 do
12970   IFS=$as_save_IFS
12971   test -z "$as_dir" && as_dir=.
12972     for ac_exec_ext in '' $ac_executable_extensions; do
12973   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12974     ac_cv_prog_CC="${ac_tool_prefix}cc"
12975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12976     break 2
12977   fi
12978 done
12979   done
12980 IFS=$as_save_IFS
12981
12982 fi
12983 fi
12984 CC=$ac_cv_prog_CC
12985 if test -n "$CC"; then
12986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12987 $as_echo "$CC" >&6; }
12988 else
12989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12990 $as_echo "no" >&6; }
12991 fi
12992
12993
12994   fi
12995 fi
12996 if test -z "$CC"; then
12997   # Extract the first word of "cc", so it can be a program name with args.
12998 set dummy cc; ac_word=$2
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13000 $as_echo_n "checking for $ac_word... " >&6; }
13001 if ${ac_cv_prog_CC+:} false; then :
13002   $as_echo_n "(cached) " >&6
13003 else
13004   if test -n "$CC"; then
13005   ac_cv_prog_CC="$CC" # Let the user override the test.
13006 else
13007   ac_prog_rejected=no
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13010 do
13011   IFS=$as_save_IFS
13012   test -z "$as_dir" && as_dir=.
13013     for ac_exec_ext in '' $ac_executable_extensions; do
13014   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13015     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13016        ac_prog_rejected=yes
13017        continue
13018      fi
13019     ac_cv_prog_CC="cc"
13020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13021     break 2
13022   fi
13023 done
13024   done
13025 IFS=$as_save_IFS
13026
13027 if test $ac_prog_rejected = yes; then
13028   # We found a bogon in the path, so make sure we never use it.
13029   set dummy $ac_cv_prog_CC
13030   shift
13031   if test $# != 0; then
13032     # We chose a different compiler from the bogus one.
13033     # However, it has the same basename, so the bogon will be chosen
13034     # first if we set CC to just the basename; use the full file name.
13035     shift
13036     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13037   fi
13038 fi
13039 fi
13040 fi
13041 CC=$ac_cv_prog_CC
13042 if test -n "$CC"; then
13043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13044 $as_echo "$CC" >&6; }
13045 else
13046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13047 $as_echo "no" >&6; }
13048 fi
13049
13050
13051 fi
13052 if test -z "$CC"; then
13053   if test -n "$ac_tool_prefix"; then
13054   for ac_prog in cl.exe
13055   do
13056     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13057 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13059 $as_echo_n "checking for $ac_word... " >&6; }
13060 if ${ac_cv_prog_CC+:} false; then :
13061   $as_echo_n "(cached) " >&6
13062 else
13063   if test -n "$CC"; then
13064   ac_cv_prog_CC="$CC" # Let the user override the test.
13065 else
13066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13067 for as_dir in $PATH
13068 do
13069   IFS=$as_save_IFS
13070   test -z "$as_dir" && as_dir=.
13071     for ac_exec_ext in '' $ac_executable_extensions; do
13072   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13073     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13075     break 2
13076   fi
13077 done
13078   done
13079 IFS=$as_save_IFS
13080
13081 fi
13082 fi
13083 CC=$ac_cv_prog_CC
13084 if test -n "$CC"; then
13085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13086 $as_echo "$CC" >&6; }
13087 else
13088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13089 $as_echo "no" >&6; }
13090 fi
13091
13092
13093     test -n "$CC" && break
13094   done
13095 fi
13096 if test -z "$CC"; then
13097   ac_ct_CC=$CC
13098   for ac_prog in cl.exe
13099 do
13100   # Extract the first word of "$ac_prog", so it can be a program name with args.
13101 set dummy $ac_prog; ac_word=$2
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13103 $as_echo_n "checking for $ac_word... " >&6; }
13104 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13105   $as_echo_n "(cached) " >&6
13106 else
13107   if test -n "$ac_ct_CC"; then
13108   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13109 else
13110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13111 for as_dir in $PATH
13112 do
13113   IFS=$as_save_IFS
13114   test -z "$as_dir" && as_dir=.
13115     for ac_exec_ext in '' $ac_executable_extensions; do
13116   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13117     ac_cv_prog_ac_ct_CC="$ac_prog"
13118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13119     break 2
13120   fi
13121 done
13122   done
13123 IFS=$as_save_IFS
13124
13125 fi
13126 fi
13127 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13128 if test -n "$ac_ct_CC"; then
13129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13130 $as_echo "$ac_ct_CC" >&6; }
13131 else
13132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13133 $as_echo "no" >&6; }
13134 fi
13135
13136
13137   test -n "$ac_ct_CC" && break
13138 done
13139
13140   if test "x$ac_ct_CC" = x; then
13141     CC=""
13142   else
13143     case $cross_compiling:$ac_tool_warned in
13144 yes:)
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13147 ac_tool_warned=yes ;;
13148 esac
13149     CC=$ac_ct_CC
13150   fi
13151 fi
13152
13153 fi
13154
13155
13156 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13158 as_fn_error $? "no acceptable C compiler found in \$PATH
13159 See \`config.log' for more details" "$LINENO" 5; }
13160
13161 # Provide some information about the compiler.
13162 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13163 set X $ac_compile
13164 ac_compiler=$2
13165 for ac_option in --version -v -V -qversion; do
13166   { { ac_try="$ac_compiler $ac_option >&5"
13167 case "(($ac_try" in
13168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13169   *) ac_try_echo=$ac_try;;
13170 esac
13171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13172 $as_echo "$ac_try_echo"; } >&5
13173   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13174   ac_status=$?
13175   if test -s conftest.err; then
13176     sed '10a\
13177 ... rest of stderr output deleted ...
13178          10q' conftest.err >conftest.er1
13179     cat conftest.er1 >&5
13180   fi
13181   rm -f conftest.er1 conftest.err
13182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13183   test $ac_status = 0; }
13184 done
13185
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13187 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13188 if ${ac_cv_c_compiler_gnu+:} false; then :
13189   $as_echo_n "(cached) " >&6
13190 else
13191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h.  */
13193
13194 int
13195 main ()
13196 {
13197 #ifndef __GNUC__
13198        choke me
13199 #endif
13200
13201   ;
13202   return 0;
13203 }
13204 _ACEOF
13205 if ac_fn_c_try_compile "$LINENO"; then :
13206   ac_compiler_gnu=yes
13207 else
13208   ac_compiler_gnu=no
13209 fi
13210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13211 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13212
13213 fi
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13215 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13216 if test $ac_compiler_gnu = yes; then
13217   GCC=yes
13218 else
13219   GCC=
13220 fi
13221 ac_test_CFLAGS=${CFLAGS+set}
13222 ac_save_CFLAGS=$CFLAGS
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13224 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13225 if ${ac_cv_prog_cc_g+:} false; then :
13226   $as_echo_n "(cached) " >&6
13227 else
13228   ac_save_c_werror_flag=$ac_c_werror_flag
13229    ac_c_werror_flag=yes
13230    ac_cv_prog_cc_g=no
13231    CFLAGS="-g"
13232    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h.  */
13234
13235 int
13236 main ()
13237 {
13238
13239   ;
13240   return 0;
13241 }
13242 _ACEOF
13243 if ac_fn_c_try_compile "$LINENO"; then :
13244   ac_cv_prog_cc_g=yes
13245 else
13246   CFLAGS=""
13247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h.  */
13249
13250 int
13251 main ()
13252 {
13253
13254   ;
13255   return 0;
13256 }
13257 _ACEOF
13258 if ac_fn_c_try_compile "$LINENO"; then :
13259
13260 else
13261   ac_c_werror_flag=$ac_save_c_werror_flag
13262          CFLAGS="-g"
13263          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h.  */
13265
13266 int
13267 main ()
13268 {
13269
13270   ;
13271   return 0;
13272 }
13273 _ACEOF
13274 if ac_fn_c_try_compile "$LINENO"; then :
13275   ac_cv_prog_cc_g=yes
13276 fi
13277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13278 fi
13279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13280 fi
13281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13282    ac_c_werror_flag=$ac_save_c_werror_flag
13283 fi
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13285 $as_echo "$ac_cv_prog_cc_g" >&6; }
13286 if test "$ac_test_CFLAGS" = set; then
13287   CFLAGS=$ac_save_CFLAGS
13288 elif test $ac_cv_prog_cc_g = yes; then
13289   if test "$GCC" = yes; then
13290     CFLAGS="-g -O2"
13291   else
13292     CFLAGS="-g"
13293   fi
13294 else
13295   if test "$GCC" = yes; then
13296     CFLAGS="-O2"
13297   else
13298     CFLAGS=
13299   fi
13300 fi
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13302 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13303 if ${ac_cv_prog_cc_c89+:} false; then :
13304   $as_echo_n "(cached) " >&6
13305 else
13306   ac_cv_prog_cc_c89=no
13307 ac_save_CC=$CC
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h.  */
13310 #include <stdarg.h>
13311 #include <stdio.h>
13312 struct stat;
13313 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13314 struct buf { int x; };
13315 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13316 static char *e (p, i)
13317      char **p;
13318      int i;
13319 {
13320   return p[i];
13321 }
13322 static char *f (char * (*g) (char **, int), char **p, ...)
13323 {
13324   char *s;
13325   va_list v;
13326   va_start (v,p);
13327   s = g (p, va_arg (v,int));
13328   va_end (v);
13329   return s;
13330 }
13331
13332 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13333    function prototypes and stuff, but not '\xHH' hex character constants.
13334    These don't provoke an error unfortunately, instead are silently treated
13335    as 'x'.  The following induces an error, until -std is added to get
13336    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13337    array size at least.  It's necessary to write '\x00'==0 to get something
13338    that's true only with -std.  */
13339 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13340
13341 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13342    inside strings and character constants.  */
13343 #define FOO(x) 'x'
13344 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13345
13346 int test (int i, double x);
13347 struct s1 {int (*f) (int a);};
13348 struct s2 {int (*f) (double a);};
13349 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13350 int argc;
13351 char **argv;
13352 int
13353 main ()
13354 {
13355 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13356   ;
13357   return 0;
13358 }
13359 _ACEOF
13360 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13361         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13362 do
13363   CC="$ac_save_CC $ac_arg"
13364   if ac_fn_c_try_compile "$LINENO"; then :
13365   ac_cv_prog_cc_c89=$ac_arg
13366 fi
13367 rm -f core conftest.err conftest.$ac_objext
13368   test "x$ac_cv_prog_cc_c89" != "xno" && break
13369 done
13370 rm -f conftest.$ac_ext
13371 CC=$ac_save_CC
13372
13373 fi
13374 # AC_CACHE_VAL
13375 case "x$ac_cv_prog_cc_c89" in
13376   x)
13377     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13378 $as_echo "none needed" >&6; } ;;
13379   xno)
13380     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13381 $as_echo "unsupported" >&6; } ;;
13382   *)
13383     CC="$CC $ac_cv_prog_cc_c89"
13384     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13385 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13386 esac
13387 if test "x$ac_cv_prog_cc_c89" != xno; then :
13388
13389 fi
13390
13391 ac_ext=c
13392 ac_cpp='$CPP $CPPFLAGS'
13393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13396
13397 ac_ext=c
13398 ac_cpp='$CPP $CPPFLAGS'
13399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13403 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13404 if ${am_cv_prog_cc_c_o+:} false; then :
13405   $as_echo_n "(cached) " >&6
13406 else
13407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h.  */
13409
13410 int
13411 main ()
13412 {
13413
13414   ;
13415   return 0;
13416 }
13417 _ACEOF
13418   # Make sure it works both with $CC and with simple cc.
13419   # Following AC_PROG_CC_C_O, we do the test twice because some
13420   # compilers refuse to overwrite an existing .o file with -o,
13421   # though they will create one.
13422   am_cv_prog_cc_c_o=yes
13423   for am_i in 1 2; do
13424     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13425    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13426    ac_status=$?
13427    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428    (exit $ac_status); } \
13429          && test -f conftest2.$ac_objext; then
13430       : OK
13431     else
13432       am_cv_prog_cc_c_o=no
13433       break
13434     fi
13435   done
13436   rm -f core conftest*
13437   unset am_i
13438 fi
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13440 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13441 if test "$am_cv_prog_cc_c_o" != yes; then
13442    # Losing compiler, so override with the script.
13443    # FIXME: It is wrong to rewrite CC.
13444    # But if we don't then we get into trouble of one sort or another.
13445    # A longer-term fix would be to have automake use am__CC in this case,
13446    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13447    CC="$am_aux_dir/compile $CC"
13448 fi
13449 ac_ext=c
13450 ac_cpp='$CPP $CPPFLAGS'
13451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13454
13455
13456 depcc="$CC"   am_compiler_list=
13457
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13459 $as_echo_n "checking dependency style of $depcc... " >&6; }
13460 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13461   $as_echo_n "(cached) " >&6
13462 else
13463   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13464   # We make a subdir and do the tests there.  Otherwise we can end up
13465   # making bogus files that we don't know about and never remove.  For
13466   # instance it was reported that on HP-UX the gcc test will end up
13467   # making a dummy file named 'D' -- because '-MD' means "put the output
13468   # in D".
13469   rm -rf conftest.dir
13470   mkdir conftest.dir
13471   # Copy depcomp to subdir because otherwise we won't find it if we're
13472   # using a relative directory.
13473   cp "$am_depcomp" conftest.dir
13474   cd conftest.dir
13475   # We will build objects and dependencies in a subdirectory because
13476   # it helps to detect inapplicable dependency modes.  For instance
13477   # both Tru64's cc and ICC support -MD to output dependencies as a
13478   # side effect of compilation, but ICC will put the dependencies in
13479   # the current directory while Tru64 will put them in the object
13480   # directory.
13481   mkdir sub
13482
13483   am_cv_CC_dependencies_compiler_type=none
13484   if test "$am_compiler_list" = ""; then
13485      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13486   fi
13487   am__universal=false
13488   case " $depcc " in #(
13489      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13490      esac
13491
13492   for depmode in $am_compiler_list; do
13493     # Setup a source with many dependencies, because some compilers
13494     # like to wrap large dependency lists on column 80 (with \), and
13495     # we should not choose a depcomp mode which is confused by this.
13496     #
13497     # We need to recreate these files for each test, as the compiler may
13498     # overwrite some of them when testing with obscure command lines.
13499     # This happens at least with the AIX C compiler.
13500     : > sub/conftest.c
13501     for i in 1 2 3 4 5 6; do
13502       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13503       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13504       # Solaris 10 /bin/sh.
13505       echo '/* dummy */' > sub/conftst$i.h
13506     done
13507     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13508
13509     # We check with '-c' and '-o' for the sake of the "dashmstdout"
13510     # mode.  It turns out that the SunPro C++ compiler does not properly
13511     # handle '-M -o', and we need to detect this.  Also, some Intel
13512     # versions had trouble with output in subdirs.
13513     am__obj=sub/conftest.${OBJEXT-o}
13514     am__minus_obj="-o $am__obj"
13515     case $depmode in
13516     gcc)
13517       # This depmode causes a compiler race in universal mode.
13518       test "$am__universal" = false || continue
13519       ;;
13520     nosideeffect)
13521       # After this tag, mechanisms are not by side-effect, so they'll
13522       # only be used when explicitly requested.
13523       if test "x$enable_dependency_tracking" = xyes; then
13524         continue
13525       else
13526         break
13527       fi
13528       ;;
13529     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13530       # This compiler won't grok '-c -o', but also, the minuso test has
13531       # not run yet.  These depmodes are late enough in the game, and
13532       # so weak that their functioning should not be impacted.
13533       am__obj=conftest.${OBJEXT-o}
13534       am__minus_obj=
13535       ;;
13536     none) break ;;
13537     esac
13538     if depmode=$depmode \
13539        source=sub/conftest.c object=$am__obj \
13540        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13541        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13542          >/dev/null 2>conftest.err &&
13543        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13544        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13545        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13546        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13547       # icc doesn't choke on unknown options, it will just issue warnings
13548       # or remarks (even with -Werror).  So we grep stderr for any message
13549       # that says an option was ignored or not supported.
13550       # When given -MP, icc 7.0 and 7.1 complain thusly:
13551       #   icc: Command line warning: ignoring option '-M'; no argument required
13552       # The diagnosis changed in icc 8.0:
13553       #   icc: Command line remark: option '-MP' not supported
13554       if (grep 'ignoring option' conftest.err ||
13555           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13556         am_cv_CC_dependencies_compiler_type=$depmode
13557         break
13558       fi
13559     fi
13560   done
13561
13562   cd ..
13563   rm -rf conftest.dir
13564 else
13565   am_cv_CC_dependencies_compiler_type=none
13566 fi
13567
13568 fi
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13570 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13571 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13572
13573  if
13574   test "x$enable_dependency_tracking" != xno \
13575   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13576   am__fastdepCC_TRUE=
13577   am__fastdepCC_FALSE='#'
13578 else
13579   am__fastdepCC_TRUE='#'
13580   am__fastdepCC_FALSE=
13581 fi
13582
13583
13584    case $ac_cv_prog_cc_stdc in #(
13585   no) :
13586     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
13587   *) :
13588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13589 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13590 if ${ac_cv_prog_cc_c99+:} false; then :
13591   $as_echo_n "(cached) " >&6
13592 else
13593   ac_cv_prog_cc_c99=no
13594 ac_save_CC=$CC
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h.  */
13597 #include <stdarg.h>
13598 #include <stdbool.h>
13599 #include <stdlib.h>
13600 #include <wchar.h>
13601 #include <stdio.h>
13602
13603 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
13604 #define debug(...) fprintf (stderr, __VA_ARGS__)
13605 #define showlist(...) puts (#__VA_ARGS__)
13606 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13607 static void
13608 test_varargs_macros (void)
13609 {
13610   int x = 1234;
13611   int y = 5678;
13612   debug ("Flag");
13613   debug ("X = %d\n", x);
13614   showlist (The first, second, and third items.);
13615   report (x>y, "x is %d but y is %d", x, y);
13616 }
13617
13618 // Check long long types.
13619 #define BIG64 18446744073709551615ull
13620 #define BIG32 4294967295ul
13621 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13622 #if !BIG_OK
13623   your preprocessor is broken;
13624 #endif
13625 #if BIG_OK
13626 #else
13627   your preprocessor is broken;
13628 #endif
13629 static long long int bignum = -9223372036854775807LL;
13630 static unsigned long long int ubignum = BIG64;
13631
13632 struct incomplete_array
13633 {
13634   int datasize;
13635   double data[];
13636 };
13637
13638 struct named_init {
13639   int number;
13640   const wchar_t *name;
13641   double average;
13642 };
13643
13644 typedef const char *ccp;
13645
13646 static inline int
13647 test_restrict (ccp restrict text)
13648 {
13649   // See if C++-style comments work.
13650   // Iterate through items via the restricted pointer.
13651   // Also check for declarations in for loops.
13652   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13653     continue;
13654   return 0;
13655 }
13656
13657 // Check varargs and va_copy.
13658 static void
13659 test_varargs (const char *format, ...)
13660 {
13661   va_list args;
13662   va_start (args, format);
13663   va_list args_copy;
13664   va_copy (args_copy, args);
13665
13666   const char *str;
13667   int number;
13668   float fnumber;
13669
13670   while (*format)
13671     {
13672       switch (*format++)
13673         {
13674         case 's': // string
13675           str = va_arg (args_copy, const char *);
13676           break;
13677         case 'd': // int
13678           number = va_arg (args_copy, int);
13679           break;
13680         case 'f': // float
13681           fnumber = va_arg (args_copy, double);
13682           break;
13683         default:
13684           break;
13685         }
13686     }
13687   va_end (args_copy);
13688   va_end (args);
13689 }
13690
13691 int
13692 main ()
13693 {
13694
13695   // Check bool.
13696   _Bool success = false;
13697
13698   // Check restrict.
13699   if (test_restrict ("String literal") == 0)
13700     success = true;
13701   char *restrict newvar = "Another string";
13702
13703   // Check varargs.
13704   test_varargs ("s, d' f .", "string", 65, 34.234);
13705   test_varargs_macros ();
13706
13707   // Check flexible array members.
13708   struct incomplete_array *ia =
13709     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13710   ia->datasize = 10;
13711   for (int i = 0; i < ia->datasize; ++i)
13712     ia->data[i] = i * 1.234;
13713
13714   // Check named initializers.
13715   struct named_init ni = {
13716     .number = 34,
13717     .name = L"Test wide string",
13718     .average = 543.34343,
13719   };
13720
13721   ni.number = 58;
13722
13723   int dynamic_array[ni.number];
13724   dynamic_array[ni.number - 1] = 543;
13725
13726   // work around unused variable warnings
13727   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13728           || dynamic_array[ni.number - 1] != 543);
13729
13730   ;
13731   return 0;
13732 }
13733 _ACEOF
13734 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
13735 do
13736   CC="$ac_save_CC $ac_arg"
13737   if ac_fn_c_try_compile "$LINENO"; then :
13738   ac_cv_prog_cc_c99=$ac_arg
13739 fi
13740 rm -f core conftest.err conftest.$ac_objext
13741   test "x$ac_cv_prog_cc_c99" != "xno" && break
13742 done
13743 rm -f conftest.$ac_ext
13744 CC=$ac_save_CC
13745
13746 fi
13747 # AC_CACHE_VAL
13748 case "x$ac_cv_prog_cc_c99" in
13749   x)
13750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13751 $as_echo "none needed" >&6; } ;;
13752   xno)
13753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13754 $as_echo "unsupported" >&6; } ;;
13755   *)
13756     CC="$CC $ac_cv_prog_cc_c99"
13757     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13758 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13759 esac
13760 if test "x$ac_cv_prog_cc_c99" != xno; then :
13761   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
13762 else
13763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13764 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13765 if ${ac_cv_prog_cc_c89+:} false; then :
13766   $as_echo_n "(cached) " >&6
13767 else
13768   ac_cv_prog_cc_c89=no
13769 ac_save_CC=$CC
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h.  */
13772 #include <stdarg.h>
13773 #include <stdio.h>
13774 struct stat;
13775 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13776 struct buf { int x; };
13777 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13778 static char *e (p, i)
13779      char **p;
13780      int i;
13781 {
13782   return p[i];
13783 }
13784 static char *f (char * (*g) (char **, int), char **p, ...)
13785 {
13786   char *s;
13787   va_list v;
13788   va_start (v,p);
13789   s = g (p, va_arg (v,int));
13790   va_end (v);
13791   return s;
13792 }
13793
13794 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13795    function prototypes and stuff, but not '\xHH' hex character constants.
13796    These don't provoke an error unfortunately, instead are silently treated
13797    as 'x'.  The following induces an error, until -std is added to get
13798    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13799    array size at least.  It's necessary to write '\x00'==0 to get something
13800    that's true only with -std.  */
13801 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13802
13803 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13804    inside strings and character constants.  */
13805 #define FOO(x) 'x'
13806 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13807
13808 int test (int i, double x);
13809 struct s1 {int (*f) (int a);};
13810 struct s2 {int (*f) (double a);};
13811 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13812 int argc;
13813 char **argv;
13814 int
13815 main ()
13816 {
13817 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13818   ;
13819   return 0;
13820 }
13821 _ACEOF
13822 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13823         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13824 do
13825   CC="$ac_save_CC $ac_arg"
13826   if ac_fn_c_try_compile "$LINENO"; then :
13827   ac_cv_prog_cc_c89=$ac_arg
13828 fi
13829 rm -f core conftest.err conftest.$ac_objext
13830   test "x$ac_cv_prog_cc_c89" != "xno" && break
13831 done
13832 rm -f conftest.$ac_ext
13833 CC=$ac_save_CC
13834
13835 fi
13836 # AC_CACHE_VAL
13837 case "x$ac_cv_prog_cc_c89" in
13838   x)
13839     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13840 $as_echo "none needed" >&6; } ;;
13841   xno)
13842     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13843 $as_echo "unsupported" >&6; } ;;
13844   *)
13845     CC="$CC $ac_cv_prog_cc_c89"
13846     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13847 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13848 esac
13849 if test "x$ac_cv_prog_cc_c89" != xno; then :
13850   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
13851 else
13852   ac_cv_prog_cc_stdc=no
13853 fi
13854
13855 fi
13856  ;;
13857 esac
13858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
13859 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
13860   if ${ac_cv_prog_cc_stdc+:} false; then :
13861   $as_echo_n "(cached) " >&6
13862 fi
13863
13864   case $ac_cv_prog_cc_stdc in #(
13865   no) :
13866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13867 $as_echo "unsupported" >&6; } ;; #(
13868   '') :
13869     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13870 $as_echo "none needed" >&6; } ;; #(
13871   *) :
13872     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
13873 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
13874 esac
13875
13876
13877
13878
13879 # By default we simply use the C compiler to build assembly code.
13880
13881 test "${CCAS+set}" = set || CCAS=$CC
13882 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
13883
13884
13885
13886 depcc="$CCAS"   am_compiler_list=
13887
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13889 $as_echo_n "checking dependency style of $depcc... " >&6; }
13890 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
13891   $as_echo_n "(cached) " >&6
13892 else
13893   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13894   # We make a subdir and do the tests there.  Otherwise we can end up
13895   # making bogus files that we don't know about and never remove.  For
13896   # instance it was reported that on HP-UX the gcc test will end up
13897   # making a dummy file named 'D' -- because '-MD' means "put the output
13898   # in D".
13899   rm -rf conftest.dir
13900   mkdir conftest.dir
13901   # Copy depcomp to subdir because otherwise we won't find it if we're
13902   # using a relative directory.
13903   cp "$am_depcomp" conftest.dir
13904   cd conftest.dir
13905   # We will build objects and dependencies in a subdirectory because
13906   # it helps to detect inapplicable dependency modes.  For instance
13907   # both Tru64's cc and ICC support -MD to output dependencies as a
13908   # side effect of compilation, but ICC will put the dependencies in
13909   # the current directory while Tru64 will put them in the object
13910   # directory.
13911   mkdir sub
13912
13913   am_cv_CCAS_dependencies_compiler_type=none
13914   if test "$am_compiler_list" = ""; then
13915      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13916   fi
13917   am__universal=false
13918
13919
13920   for depmode in $am_compiler_list; do
13921     # Setup a source with many dependencies, because some compilers
13922     # like to wrap large dependency lists on column 80 (with \), and
13923     # we should not choose a depcomp mode which is confused by this.
13924     #
13925     # We need to recreate these files for each test, as the compiler may
13926     # overwrite some of them when testing with obscure command lines.
13927     # This happens at least with the AIX C compiler.
13928     : > sub/conftest.c
13929     for i in 1 2 3 4 5 6; do
13930       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13931       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13932       # Solaris 10 /bin/sh.
13933       echo '/* dummy */' > sub/conftst$i.h
13934     done
13935     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13936
13937     # We check with '-c' and '-o' for the sake of the "dashmstdout"
13938     # mode.  It turns out that the SunPro C++ compiler does not properly
13939     # handle '-M -o', and we need to detect this.  Also, some Intel
13940     # versions had trouble with output in subdirs.
13941     am__obj=sub/conftest.${OBJEXT-o}
13942     am__minus_obj="-o $am__obj"
13943     case $depmode in
13944     gcc)
13945       # This depmode causes a compiler race in universal mode.
13946       test "$am__universal" = false || continue
13947       ;;
13948     nosideeffect)
13949       # After this tag, mechanisms are not by side-effect, so they'll
13950       # only be used when explicitly requested.
13951       if test "x$enable_dependency_tracking" = xyes; then
13952         continue
13953       else
13954         break
13955       fi
13956       ;;
13957     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13958       # This compiler won't grok '-c -o', but also, the minuso test has
13959       # not run yet.  These depmodes are late enough in the game, and
13960       # so weak that their functioning should not be impacted.
13961       am__obj=conftest.${OBJEXT-o}
13962       am__minus_obj=
13963       ;;
13964     none) break ;;
13965     esac
13966     if depmode=$depmode \
13967        source=sub/conftest.c object=$am__obj \
13968        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13969        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13970          >/dev/null 2>conftest.err &&
13971        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13972        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13973        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13974        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13975       # icc doesn't choke on unknown options, it will just issue warnings
13976       # or remarks (even with -Werror).  So we grep stderr for any message
13977       # that says an option was ignored or not supported.
13978       # When given -MP, icc 7.0 and 7.1 complain thusly:
13979       #   icc: Command line warning: ignoring option '-M'; no argument required
13980       # The diagnosis changed in icc 8.0:
13981       #   icc: Command line remark: option '-MP' not supported
13982       if (grep 'ignoring option' conftest.err ||
13983           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13984         am_cv_CCAS_dependencies_compiler_type=$depmode
13985         break
13986       fi
13987     fi
13988   done
13989
13990   cd ..
13991   rm -rf conftest.dir
13992 else
13993   am_cv_CCAS_dependencies_compiler_type=none
13994 fi
13995
13996 fi
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
13998 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
13999 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
14000
14001  if
14002   test "x$enable_dependency_tracking" != xno \
14003   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
14004   am__fastdepCCAS_TRUE=
14005   am__fastdepCCAS_FALSE='#'
14006 else
14007   am__fastdepCCAS_TRUE='#'
14008   am__fastdepCCAS_FALSE=
14009 fi
14010
14011
14012
14013 # Extract the first word of "valgrind", so it can be a program name with args.
14014 set dummy valgrind; ac_word=$2
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14016 $as_echo_n "checking for $ac_word... " >&6; }
14017 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
14018   $as_echo_n "(cached) " >&6
14019 else
14020   case $VALGRIND_PATH in
14021   [\\/]* | ?:[\\/]*)
14022   ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
14023   ;;
14024   *)
14025   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14026 for as_dir in $PATH
14027 do
14028   IFS=$as_save_IFS
14029   test -z "$as_dir" && as_dir=.
14030     for ac_exec_ext in '' $ac_executable_extensions; do
14031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14032     ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
14033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14034     break 2
14035   fi
14036 done
14037   done
14038 IFS=$as_save_IFS
14039
14040   test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
14041   ;;
14042 esac
14043 fi
14044 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
14045 if test -n "$VALGRIND_PATH"; then
14046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
14047 $as_echo "$VALGRIND_PATH" >&6; }
14048 else
14049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14050 $as_echo "no" >&6; }
14051 fi
14052
14053
14054  if test ! "x$VALGRIND_PATH" = "xno"; then
14055   HAVE_VALGRIND_TRUE=
14056   HAVE_VALGRIND_FALSE='#'
14057 else
14058   HAVE_VALGRIND_TRUE='#'
14059   HAVE_VALGRIND_FALSE=
14060 fi
14061
14062
14063
14064
14065
14066                 # Check whether --enable-introspection was given.
14067 if test "${enable_introspection+set}" = set; then :
14068   enableval=$enable_introspection;
14069 else
14070   enable_introspection=auto
14071 fi
14072
14073
14074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14075 $as_echo_n "checking for gobject-introspection... " >&6; }
14076
14077         case $enable_introspection in #(
14078   no) :
14079             found_introspection="no (disabled, use --enable-introspection to enable)"
14080      ;; #(
14081       yes) :
14082             if test -n "$PKG_CONFIG" && \
14083     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14084   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14085   ac_status=$?
14086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14087   test $ac_status = 0; }; then
14088   :
14089 else
14090   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
14091 fi
14092         if test -n "$PKG_CONFIG" && \
14093     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14094   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14095   ac_status=$?
14096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14097   test $ac_status = 0; }; then
14098   found_introspection=yes
14099 else
14100   as_fn_error $? "You need to have gobject-introspection >= 1.31.1 installed to build GStreamer RTSP Server Library" "$LINENO" 5
14101 fi
14102      ;; #(
14103       auto) :
14104             if test -n "$PKG_CONFIG" && \
14105     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14106   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14107   ac_status=$?
14108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14109   test $ac_status = 0; }; then
14110   found_introspection=yes
14111 else
14112   found_introspection=no
14113 fi
14114      ;; #(
14115   *) :
14116                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14117      ;;
14118 esac
14119     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14120 $as_echo "$found_introspection" >&6; }
14121
14122     INTROSPECTION_SCANNER=
14123     INTROSPECTION_COMPILER=
14124     INTROSPECTION_GENERATE=
14125     INTROSPECTION_GIRDIR=
14126     INTROSPECTION_TYPELIBDIR=
14127     if test "x$found_introspection" = "xyes"; then
14128        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14129        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14130        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14131        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14132        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14133        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14134        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
14135        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
14136     fi
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146      if test "x$found_introspection" = "xyes"; then
14147   HAVE_INTROSPECTION_TRUE=
14148   HAVE_INTROSPECTION_FALSE='#'
14149 else
14150   HAVE_INTROSPECTION_TRUE='#'
14151   HAVE_INTROSPECTION_FALSE=
14152 fi
14153
14154
14155
14156
14157
14158     if test "x$PACKAGE_TARNAME" = "x"
14159   then
14160     as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5
14161   fi
14162   docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_API_VERSION"
14163
14164     # Check whether --enable-docbook was given.
14165 if test "${enable_docbook+set}" = set; then :
14166   enableval=$enable_docbook;
14167 else
14168   enable_docbook=no
14169 fi
14170
14171
14172   have_docbook=no
14173
14174   if test x$enable_docbook = xyes; then
14175
14176         # Extract the first word of "docbook2ps", so it can be a program name with args.
14177 set dummy docbook2ps; ac_word=$2
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14179 $as_echo_n "checking for $ac_word... " >&6; }
14180 if ${ac_cv_prog_HAVE_DOCBOOK2PS+:} false; then :
14181   $as_echo_n "(cached) " >&6
14182 else
14183   if test -n "$HAVE_DOCBOOK2PS"; then
14184   ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
14185 else
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14188 do
14189   IFS=$as_save_IFS
14190   test -z "$as_dir" && as_dir=.
14191     for ac_exec_ext in '' $ac_executable_extensions; do
14192   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14193     ac_cv_prog_HAVE_DOCBOOK2PS="yes"
14194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14195     break 2
14196   fi
14197 done
14198   done
14199 IFS=$as_save_IFS
14200
14201   test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
14202 fi
14203 fi
14204 HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
14205 if test -n "$HAVE_DOCBOOK2PS"; then
14206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5
14207 $as_echo "$HAVE_DOCBOOK2PS" >&6; }
14208 else
14209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210 $as_echo "no" >&6; }
14211 fi
14212
14213
14214     # Extract the first word of "xsltproc", so it can be a program name with args.
14215 set dummy xsltproc; ac_word=$2
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14217 $as_echo_n "checking for $ac_word... " >&6; }
14218 if ${ac_cv_prog_HAVE_XSLTPROC+:} false; then :
14219   $as_echo_n "(cached) " >&6
14220 else
14221   if test -n "$HAVE_XSLTPROC"; then
14222   ac_cv_prog_HAVE_XSLTPROC="$HAVE_XSLTPROC" # Let the user override the test.
14223 else
14224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14225 for as_dir in $PATH
14226 do
14227   IFS=$as_save_IFS
14228   test -z "$as_dir" && as_dir=.
14229     for ac_exec_ext in '' $ac_executable_extensions; do
14230   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14231     ac_cv_prog_HAVE_XSLTPROC="yes"
14232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14233     break 2
14234   fi
14235 done
14236   done
14237 IFS=$as_save_IFS
14238
14239   test -z "$ac_cv_prog_HAVE_XSLTPROC" && ac_cv_prog_HAVE_XSLTPROC="no"
14240 fi
14241 fi
14242 HAVE_XSLTPROC=$ac_cv_prog_HAVE_XSLTPROC
14243 if test -n "$HAVE_XSLTPROC"; then
14244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSLTPROC" >&5
14245 $as_echo "$HAVE_XSLTPROC" >&6; }
14246 else
14247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248 $as_echo "no" >&6; }
14249 fi
14250
14251
14252     # Extract the first word of "jadetex", so it can be a program name with args.
14253 set dummy jadetex; ac_word=$2
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14255 $as_echo_n "checking for $ac_word... " >&6; }
14256 if ${ac_cv_prog_HAVE_JADETEX+:} false; then :
14257   $as_echo_n "(cached) " >&6
14258 else
14259   if test -n "$HAVE_JADETEX"; then
14260   ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
14261 else
14262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14263 for as_dir in $PATH
14264 do
14265   IFS=$as_save_IFS
14266   test -z "$as_dir" && as_dir=.
14267     for ac_exec_ext in '' $ac_executable_extensions; do
14268   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14269     ac_cv_prog_HAVE_JADETEX="yes"
14270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14271     break 2
14272   fi
14273 done
14274   done
14275 IFS=$as_save_IFS
14276
14277   test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
14278 fi
14279 fi
14280 HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
14281 if test -n "$HAVE_JADETEX"; then
14282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5
14283 $as_echo "$HAVE_JADETEX" >&6; }
14284 else
14285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14286 $as_echo "no" >&6; }
14287 fi
14288
14289
14290     # Extract the first word of "ps2pdf", so it can be a program name with args.
14291 set dummy ps2pdf; ac_word=$2
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14293 $as_echo_n "checking for $ac_word... " >&6; }
14294 if ${ac_cv_prog_HAVE_PS2PDF+:} false; then :
14295   $as_echo_n "(cached) " >&6
14296 else
14297   if test -n "$HAVE_PS2PDF"; then
14298   ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
14299 else
14300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14301 for as_dir in $PATH
14302 do
14303   IFS=$as_save_IFS
14304   test -z "$as_dir" && as_dir=.
14305     for ac_exec_ext in '' $ac_executable_extensions; do
14306   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14307     ac_cv_prog_HAVE_PS2PDF="yes"
14308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14309     break 2
14310   fi
14311 done
14312   done
14313 IFS=$as_save_IFS
14314
14315   test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
14316 fi
14317 fi
14318 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
14319 if test -n "$HAVE_PS2PDF"; then
14320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5
14321 $as_echo "$HAVE_PS2PDF" >&6; }
14322 else
14323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14324 $as_echo "no" >&6; }
14325 fi
14326
14327
14328
14329
14330   XSLTPROC_FLAGS=--nonet
14331   DOCBOOK_ROOT=
14332   TYPE_LC=xml
14333   TYPE_UC=XML
14334   DOCBOOK_VERSION=4.1.2
14335
14336   if test -n "$XML_CATALOG_FILES"; then
14337     oldIFS=$IFS
14338     IFS=' '
14339     for xml_catalog_file in $XML_CATALOG_FILES; do
14340       if test -f $xml_catalog_file; then
14341         XML_CATALOG=$xml_catalog_file
14342         CAT_ENTRY_START='<!--'
14343         CAT_ENTRY_END='-->'
14344         break
14345       fi
14346     done
14347     IFS=$oldIFS
14348   elif test ! -f /etc/xml/catalog; then
14349     for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ;
14350     do
14351       if test -d "$i"; then
14352         DOCBOOK_ROOT=$i
14353       fi
14354     done
14355   else
14356     XML_CATALOG=/etc/xml/catalog
14357     CAT_ENTRY_START='<!--'
14358     CAT_ENTRY_END='-->'
14359   fi
14360
14361     # Extract the first word of "xsltproc", so it can be a program name with args.
14362 set dummy xsltproc; ac_word=$2
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14364 $as_echo_n "checking for $ac_word... " >&6; }
14365 if ${ac_cv_prog_XSLTPROC+:} false; then :
14366   $as_echo_n "(cached) " >&6
14367 else
14368   if test -n "$XSLTPROC"; then
14369   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
14370 else
14371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14372 for as_dir in $PATH
14373 do
14374   IFS=$as_save_IFS
14375   test -z "$as_dir" && as_dir=.
14376     for ac_exec_ext in '' $ac_executable_extensions; do
14377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14378     ac_cv_prog_XSLTPROC="xsltproc"
14379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14380     break 2
14381   fi
14382 done
14383   done
14384 IFS=$as_save_IFS
14385
14386 fi
14387 fi
14388 XSLTPROC=$ac_cv_prog_XSLTPROC
14389 if test -n "$XSLTPROC"; then
14390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
14391 $as_echo "$XSLTPROC" >&6; }
14392 else
14393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14394 $as_echo "no" >&6; }
14395 fi
14396
14397
14398   XSLTPROC_WORKS=no
14399   if test -n "$XSLTPROC"; then
14400     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5
14401 $as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
14402
14403     if test -n "$XML_CATALOG"; then
14404       DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
14405     else
14406       DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl"
14407     fi
14408     $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
14409 <?xml version="1.0" encoding='ISO-8859-1'?>
14410 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
14411 <book id="test">
14412 </book>
14413 END
14414     if test "$?" = 0; then
14415       XSLTPROC_WORKS=yes
14416     fi
14417     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5
14418 $as_echo "$XSLTPROC_WORKS" >&6; }
14419   fi
14420
14421   if test "x$XSLTPROC_WORKS" = "xyes"; then
14422         have_docbook=yes
14423   else
14424         have_docbook=no
14425   fi
14426
14427
14428
14429
14430
14431
14432
14433
14434         # Extract the first word of "dvips", so it can be a program name with args.
14435 set dummy dvips; ac_word=$2
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14437 $as_echo_n "checking for $ac_word... " >&6; }
14438 if ${ac_cv_prog_HAVE_DVIPS+:} false; then :
14439   $as_echo_n "(cached) " >&6
14440 else
14441   if test -n "$HAVE_DVIPS"; then
14442   ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
14443 else
14444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14445 for as_dir in $PATH
14446 do
14447   IFS=$as_save_IFS
14448   test -z "$as_dir" && as_dir=.
14449     for ac_exec_ext in '' $ac_executable_extensions; do
14450   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14451     ac_cv_prog_HAVE_DVIPS="yes"
14452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14453     break 2
14454   fi
14455 done
14456   done
14457 IFS=$as_save_IFS
14458
14459   test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
14460 fi
14461 fi
14462 HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
14463 if test -n "$HAVE_DVIPS"; then
14464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5
14465 $as_echo "$HAVE_DVIPS" >&6; }
14466 else
14467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14468 $as_echo "no" >&6; }
14469 fi
14470
14471
14472     # Extract the first word of "xmllint", so it can be a program name with args.
14473 set dummy xmllint; ac_word=$2
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14475 $as_echo_n "checking for $ac_word... " >&6; }
14476 if ${ac_cv_prog_HAVE_XMLLINT+:} false; then :
14477   $as_echo_n "(cached) " >&6
14478 else
14479   if test -n "$HAVE_XMLLINT"; then
14480   ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
14481 else
14482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14483 for as_dir in $PATH
14484 do
14485   IFS=$as_save_IFS
14486   test -z "$as_dir" && as_dir=.
14487     for ac_exec_ext in '' $ac_executable_extensions; do
14488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14489     ac_cv_prog_HAVE_XMLLINT="yes"
14490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14491     break 2
14492   fi
14493 done
14494   done
14495 IFS=$as_save_IFS
14496
14497   test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
14498 fi
14499 fi
14500 HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
14501 if test -n "$HAVE_XMLLINT"; then
14502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5
14503 $as_echo "$HAVE_XMLLINT" >&6; }
14504 else
14505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14506 $as_echo "no" >&6; }
14507 fi
14508
14509
14510
14511     # Extract the first word of "pngtopnm", so it can be a program name with args.
14512 set dummy pngtopnm; ac_word=$2
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14514 $as_echo_n "checking for $ac_word... " >&6; }
14515 if ${ac_cv_prog_HAVE_PNGTOPNM+:} false; then :
14516   $as_echo_n "(cached) " >&6
14517 else
14518   if test -n "$HAVE_PNGTOPNM"; then
14519   ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
14520 else
14521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14522 for as_dir in $PATH
14523 do
14524   IFS=$as_save_IFS
14525   test -z "$as_dir" && as_dir=.
14526     for ac_exec_ext in '' $ac_executable_extensions; do
14527   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14528     ac_cv_prog_HAVE_PNGTOPNM="yes"
14529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14530     break 2
14531   fi
14532 done
14533   done
14534 IFS=$as_save_IFS
14535
14536   test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
14537 fi
14538 fi
14539 HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
14540 if test -n "$HAVE_PNGTOPNM"; then
14541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5
14542 $as_echo "$HAVE_PNGTOPNM" >&6; }
14543 else
14544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14545 $as_echo "no" >&6; }
14546 fi
14547
14548
14549     # Extract the first word of "pnmtops", so it can be a program name with args.
14550 set dummy pnmtops; ac_word=$2
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14552 $as_echo_n "checking for $ac_word... " >&6; }
14553 if ${ac_cv_prog_HAVE_PNMTOPS+:} false; then :
14554   $as_echo_n "(cached) " >&6
14555 else
14556   if test -n "$HAVE_PNMTOPS"; then
14557   ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
14558 else
14559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14560 for as_dir in $PATH
14561 do
14562   IFS=$as_save_IFS
14563   test -z "$as_dir" && as_dir=.
14564     for ac_exec_ext in '' $ac_executable_extensions; do
14565   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14566     ac_cv_prog_HAVE_PNMTOPS="yes"
14567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14568     break 2
14569   fi
14570 done
14571   done
14572 IFS=$as_save_IFS
14573
14574   test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
14575 fi
14576 fi
14577 HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
14578 if test -n "$HAVE_PNMTOPS"; then
14579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5
14580 $as_echo "$HAVE_PNMTOPS" >&6; }
14581 else
14582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14583 $as_echo "no" >&6; }
14584 fi
14585
14586
14587     # Extract the first word of "epstopdf", so it can be a program name with args.
14588 set dummy epstopdf; ac_word=$2
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14590 $as_echo_n "checking for $ac_word... " >&6; }
14591 if ${ac_cv_prog_HAVE_EPSTOPDF+:} false; then :
14592   $as_echo_n "(cached) " >&6
14593 else
14594   if test -n "$HAVE_EPSTOPDF"; then
14595   ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
14596 else
14597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14598 for as_dir in $PATH
14599 do
14600   IFS=$as_save_IFS
14601   test -z "$as_dir" && as_dir=.
14602     for ac_exec_ext in '' $ac_executable_extensions; do
14603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14604     ac_cv_prog_HAVE_EPSTOPDF="yes"
14605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14606     break 2
14607   fi
14608 done
14609   done
14610 IFS=$as_save_IFS
14611
14612   test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
14613 fi
14614 fi
14615 HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
14616 if test -n "$HAVE_EPSTOPDF"; then
14617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5
14618 $as_echo "$HAVE_EPSTOPDF" >&6; }
14619 else
14620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14621 $as_echo "no" >&6; }
14622 fi
14623
14624
14625
14626         if test "x$HAVE_XSLTPROC" = "xyes" && \
14627        test "x$enable_docbook" = "xyes" && \
14628        test "x$HAVE_XMLLINT" = "xyes"; then
14629       DOC_HTML=yes
14630       { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5
14631 $as_echo "$as_me: Will output HTML documentation" >&6;}
14632      else
14633       DOC_HTML=no
14634       { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5
14635 $as_echo "$as_me: Will not output HTML documentation" >&6;}
14636     fi
14637
14638         if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
14639        test "x$enable_docbook" = "xyes" && \
14640        test "x$HAVE_XMLLINT" = "xyes" && \
14641        test "x$HAVE_JADETEX" = "xyes" && \
14642        test "x$HAVE_DVIPS" = "xyes" && \
14643        test "x$HAVE_PNGTOPNM" = "xyes" && \
14644        test "x$HAVE_PNMTOPS" = "xyes"; then
14645       DOC_PS=yes
14646       { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5
14647 $as_echo "$as_me: Will output PS documentation" >&6;}
14648     else
14649       DOC_PS=no
14650       { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5
14651 $as_echo "$as_me: Will not output PS documentation" >&6;}
14652     fi
14653
14654         if test "x$DOC_PS" = "xyes" && \
14655        test "x$enable_docbook" = "xyes" && \
14656        test "x$HAVE_XMLLINT" = "xyes" && \
14657        test "x$HAVE_PS2PDF" = "xyes"; then
14658       DOC_PDF=yes
14659       { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5
14660 $as_echo "$as_me: Will output PDF documentation" >&6;}
14661     else
14662       DOC_PDF=no
14663       { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5
14664 $as_echo "$as_me: Will not output PDF documentation" >&6;}
14665     fi
14666
14667         if test "x$have_docbook" != "xyes"; then
14668       enable_docbook=no
14669     fi
14670   fi
14671
14672     if test "x$have_docbook" = "xyes"; then
14673     { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5
14674 $as_echo "$as_me: Installing documentation in $docdir" >&6;}
14675
14676   fi
14677
14678    if test x$enable_docbook = xyes; then
14679   ENABLE_DOCBOOK_TRUE=
14680   ENABLE_DOCBOOK_FALSE='#'
14681 else
14682   ENABLE_DOCBOOK_TRUE='#'
14683   ENABLE_DOCBOOK_FALSE=
14684 fi
14685
14686    if test x$DOC_HTML = xyes; then
14687   DOC_HTML_TRUE=
14688   DOC_HTML_FALSE='#'
14689 else
14690   DOC_HTML_TRUE='#'
14691   DOC_HTML_FALSE=
14692 fi
14693
14694    if test x$DOC_PDF = xyes; then
14695   DOC_PDF_TRUE=
14696   DOC_PDF_FALSE='#'
14697 else
14698   DOC_PDF_TRUE='#'
14699   DOC_PDF_FALSE=
14700 fi
14701
14702    if test x$DOC_PS = xyes; then
14703   DOC_PS_TRUE=
14704   DOC_PS_FALSE='#'
14705 else
14706   DOC_PS_TRUE='#'
14707   DOC_PS_FALSE=
14708 fi
14709
14710
14711
14712
14713
14714     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14715 set dummy gtkdoc-check; ac_word=$2
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14717 $as_echo_n "checking for $ac_word... " >&6; }
14718 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
14719   $as_echo_n "(cached) " >&6
14720 else
14721   case $GTKDOC_CHECK in
14722   [\\/]* | ?:[\\/]*)
14723   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14724   ;;
14725   *)
14726   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14727 for as_dir in $PATH
14728 do
14729   IFS=$as_save_IFS
14730   test -z "$as_dir" && as_dir=.
14731     for ac_exec_ext in '' $ac_executable_extensions; do
14732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14733     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14735     break 2
14736   fi
14737 done
14738   done
14739 IFS=$as_save_IFS
14740
14741   ;;
14742 esac
14743 fi
14744 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14745 if test -n "$GTKDOC_CHECK"; then
14746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14747 $as_echo "$GTKDOC_CHECK" >&6; }
14748 else
14749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14750 $as_echo "no" >&6; }
14751 fi
14752
14753
14754   for ac_prog in gtkdoc-rebase
14755 do
14756   # Extract the first word of "$ac_prog", so it can be a program name with args.
14757 set dummy $ac_prog; ac_word=$2
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14759 $as_echo_n "checking for $ac_word... " >&6; }
14760 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
14761   $as_echo_n "(cached) " >&6
14762 else
14763   case $GTKDOC_REBASE in
14764   [\\/]* | ?:[\\/]*)
14765   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14766   ;;
14767   *)
14768   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14769 for as_dir in $PATH
14770 do
14771   IFS=$as_save_IFS
14772   test -z "$as_dir" && as_dir=.
14773     for ac_exec_ext in '' $ac_executable_extensions; do
14774   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14775     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14777     break 2
14778   fi
14779 done
14780   done
14781 IFS=$as_save_IFS
14782
14783   ;;
14784 esac
14785 fi
14786 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14787 if test -n "$GTKDOC_REBASE"; then
14788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14789 $as_echo "$GTKDOC_REBASE" >&6; }
14790 else
14791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14792 $as_echo "no" >&6; }
14793 fi
14794
14795
14796   test -n "$GTKDOC_REBASE" && break
14797 done
14798 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14799
14800   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14801 set dummy gtkdoc-mkpdf; ac_word=$2
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14803 $as_echo_n "checking for $ac_word... " >&6; }
14804 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
14805   $as_echo_n "(cached) " >&6
14806 else
14807   case $GTKDOC_MKPDF in
14808   [\\/]* | ?:[\\/]*)
14809   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14810   ;;
14811   *)
14812   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14813 for as_dir in $PATH
14814 do
14815   IFS=$as_save_IFS
14816   test -z "$as_dir" && as_dir=.
14817     for ac_exec_ext in '' $ac_executable_extensions; do
14818   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14819     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14821     break 2
14822   fi
14823 done
14824   done
14825 IFS=$as_save_IFS
14826
14827   ;;
14828 esac
14829 fi
14830 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14831 if test -n "$GTKDOC_MKPDF"; then
14832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14833 $as_echo "$GTKDOC_MKPDF" >&6; }
14834 else
14835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14836 $as_echo "no" >&6; }
14837 fi
14838
14839
14840
14841
14842 # Check whether --with-html-dir was given.
14843 if test "${with_html_dir+set}" = set; then :
14844   withval=$with_html_dir;
14845 else
14846   with_html_dir='${datadir}/gtk-doc/html'
14847 fi
14848
14849   HTML_DIR="$with_html_dir"
14850
14851
14852     # Check whether --enable-gtk-doc was given.
14853 if test "${enable_gtk_doc+set}" = set; then :
14854   enableval=$enable_gtk_doc;
14855 else
14856   enable_gtk_doc=no
14857 fi
14858
14859
14860   if test x$enable_gtk_doc = xyes; then
14861     if test -n "$PKG_CONFIG" && \
14862     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.12\""; } >&5
14863   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.12") 2>&5
14864   ac_status=$?
14865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14866   test $ac_status = 0; }; then
14867   :
14868 else
14869   as_fn_error $? "You need to have gtk-doc >= 1.12 installed to build $PACKAGE_NAME" "$LINENO" 5
14870 fi
14871         if test "x$PACKAGE_NAME" != "xglib"; then
14872
14873 pkg_failed=no
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14875 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14876
14877 if test -n "$PKG_CONFIG"; then
14878     if test -n "$GTKDOC_DEPS_CFLAGS"; then
14879         pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
14880     else
14881         if test -n "$PKG_CONFIG" && \
14882     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
14883   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
14884   ac_status=$?
14885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14886   test $ac_status = 0; }; then
14887   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
14888 else
14889   pkg_failed=yes
14890 fi
14891     fi
14892 else
14893         pkg_failed=untried
14894 fi
14895 if test -n "$PKG_CONFIG"; then
14896     if test -n "$GTKDOC_DEPS_LIBS"; then
14897         pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
14898     else
14899         if test -n "$PKG_CONFIG" && \
14900     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
14901   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
14902   ac_status=$?
14903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14904   test $ac_status = 0; }; then
14905   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
14906 else
14907   pkg_failed=yes
14908 fi
14909     fi
14910 else
14911         pkg_failed=untried
14912 fi
14913
14914
14915
14916 if test $pkg_failed = yes; then
14917
14918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14919         _pkg_short_errors_supported=yes
14920 else
14921         _pkg_short_errors_supported=no
14922 fi
14923         if test $_pkg_short_errors_supported = yes; then
14924                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0"`
14925         else
14926                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0"`
14927         fi
14928         # Put the nasty error message in config.log where it belongs
14929         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14930
14931         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
14932
14933 $GTKDOC_DEPS_PKG_ERRORS
14934
14935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14936 installed software in a non-standard prefix.
14937
14938 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14939 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14940 See the pkg-config man page for more details.
14941 " "$LINENO" 5
14942 elif test $pkg_failed = untried; then
14943         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14945 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14946 is in your PATH or set the PKG_CONFIG environment variable to the full
14947 path to pkg-config.
14948
14949 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
14950 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
14951 See the pkg-config man page for more details.
14952
14953 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14954 See \`config.log' for more details" "$LINENO" 5; }
14955 else
14956         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14957         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
14958         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14959 $as_echo "yes" >&6; }
14960         :
14961 fi
14962     fi
14963         if test -z "$SED"; then
14964       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
14965 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
14966 if ${ac_cv_path_SED+:} false; then :
14967   $as_echo_n "(cached) " >&6
14968 else
14969             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
14970      for ac_i in 1 2 3 4 5 6 7; do
14971        ac_script="$ac_script$as_nl$ac_script"
14972      done
14973      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
14974      { ac_script=; unset ac_script;}
14975      if test -z "$SED"; then
14976   ac_path_SED_found=false
14977   # Loop through the user's path and test for each of PROGNAME-LIST
14978   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14979 for as_dir in $PATH
14980 do
14981   IFS=$as_save_IFS
14982   test -z "$as_dir" && as_dir=.
14983     for ac_prog in sed gsed; do
14984     for ac_exec_ext in '' $ac_executable_extensions; do
14985       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
14986       as_fn_executable_p "$ac_path_SED" || continue
14987 # Check for GNU ac_path_SED and select it if it is found.
14988   # Check for GNU $ac_path_SED
14989 case `"$ac_path_SED" --version 2>&1` in
14990 *GNU*)
14991   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
14992 *)
14993   ac_count=0
14994   $as_echo_n 0123456789 >"conftest.in"
14995   while :
14996   do
14997     cat "conftest.in" "conftest.in" >"conftest.tmp"
14998     mv "conftest.tmp" "conftest.in"
14999     cp "conftest.in" "conftest.nl"
15000     $as_echo '' >> "conftest.nl"
15001     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
15002     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15003     as_fn_arith $ac_count + 1 && ac_count=$as_val
15004     if test $ac_count -gt ${ac_path_SED_max-0}; then
15005       # Best one so far, save it but keep looking for a better one
15006       ac_cv_path_SED="$ac_path_SED"
15007       ac_path_SED_max=$ac_count
15008     fi
15009     # 10*(2^10) chars as input seems more than enough
15010     test $ac_count -gt 10 && break
15011   done
15012   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15013 esac
15014
15015       $ac_path_SED_found && break 3
15016     done
15017   done
15018   done
15019 IFS=$as_save_IFS
15020   if test -z "$ac_cv_path_SED"; then
15021     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
15022   fi
15023 else
15024   ac_cv_path_SED=$SED
15025 fi
15026
15027 fi
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
15029 $as_echo "$ac_cv_path_SED" >&6; }
15030  SED="$ac_cv_path_SED"
15031   rm -f conftest.sed
15032
15033     fi
15034   fi
15035
15036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15037 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15039 $as_echo "$enable_gtk_doc" >&6; }
15040
15041     # Check whether --enable-gtk-doc-html was given.
15042 if test "${enable_gtk_doc_html+set}" = set; then :
15043   enableval=$enable_gtk_doc_html;
15044 else
15045   enable_gtk_doc_html=yes
15046 fi
15047
15048     # Check whether --enable-gtk-doc-pdf was given.
15049 if test "${enable_gtk_doc_pdf+set}" = set; then :
15050   enableval=$enable_gtk_doc_pdf;
15051 else
15052   enable_gtk_doc_pdf=no
15053 fi
15054
15055
15056   if test -z "$GTKDOC_MKPDF"; then
15057     enable_gtk_doc_pdf=no
15058   fi
15059
15060
15061    if test x$enable_gtk_doc = xyes; then
15062   ENABLE_GTK_DOC_TRUE=
15063   ENABLE_GTK_DOC_FALSE='#'
15064 else
15065   ENABLE_GTK_DOC_TRUE='#'
15066   ENABLE_GTK_DOC_FALSE=
15067 fi
15068
15069    if test x$enable_gtk_doc_html = xyes; then
15070   GTK_DOC_BUILD_HTML_TRUE=
15071   GTK_DOC_BUILD_HTML_FALSE='#'
15072 else
15073   GTK_DOC_BUILD_HTML_TRUE='#'
15074   GTK_DOC_BUILD_HTML_FALSE=
15075 fi
15076
15077    if test x$enable_gtk_doc_pdf = xyes; then
15078   GTK_DOC_BUILD_PDF_TRUE=
15079   GTK_DOC_BUILD_PDF_FALSE='#'
15080 else
15081   GTK_DOC_BUILD_PDF_TRUE='#'
15082   GTK_DOC_BUILD_PDF_FALSE=
15083 fi
15084
15085    if test -n "$LIBTOOL"; then
15086   GTK_DOC_USE_LIBTOOL_TRUE=
15087   GTK_DOC_USE_LIBTOOL_FALSE='#'
15088 else
15089   GTK_DOC_USE_LIBTOOL_TRUE='#'
15090   GTK_DOC_USE_LIBTOOL_FALSE=
15091 fi
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102 GLIB_REQ=2.32.0
15103
15104
15105
15106
15107     GLIB_REQ=$GLIB_REQ
15108   if test "x$GLIB_REQ" = "x"
15109   then
15110     as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
15111   fi
15112
15113
15114
15115   which="glib-2.0 >= $GLIB_REQ gobject-2.0 gmodule-no-export-2.0"
15116     required="no"
15117
15118
15119 pkg_failed=no
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
15121 $as_echo_n "checking for GLIB... " >&6; }
15122
15123 if test -n "$PKG_CONFIG"; then
15124     if test -n "$GLIB_CFLAGS"; then
15125         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
15126     else
15127         if test -n "$PKG_CONFIG" && \
15128     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
15129   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
15130   ac_status=$?
15131   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15132   test $ac_status = 0; }; then
15133   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
15134 else
15135   pkg_failed=yes
15136 fi
15137     fi
15138 else
15139         pkg_failed=untried
15140 fi
15141 if test -n "$PKG_CONFIG"; then
15142     if test -n "$GLIB_LIBS"; then
15143         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
15144     else
15145         if test -n "$PKG_CONFIG" && \
15146     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
15147   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
15148   ac_status=$?
15149   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15150   test $ac_status = 0; }; then
15151   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
15152 else
15153   pkg_failed=yes
15154 fi
15155     fi
15156 else
15157         pkg_failed=untried
15158 fi
15159
15160
15161
15162 if test $pkg_failed = yes; then
15163
15164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15165         _pkg_short_errors_supported=yes
15166 else
15167         _pkg_short_errors_supported=no
15168 fi
15169         if test $_pkg_short_errors_supported = yes; then
15170                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
15171         else
15172                 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
15173         fi
15174         # Put the nasty error message in config.log where it belongs
15175         echo "$GLIB_PKG_ERRORS" >&5
15176
15177         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15178 $as_echo "no" >&6; }
15179
15180       HAVE_GLIB="no"
15181       if test "x$required" = "xyes"; then
15182         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
15183       else
15184         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
15185 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
15186       fi
15187
15188 elif test $pkg_failed = untried; then
15189
15190       HAVE_GLIB="no"
15191       if test "x$required" = "xyes"; then
15192         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
15193       else
15194         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
15195 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
15196       fi
15197
15198 else
15199         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
15200         GLIB_LIBS=$pkg_cv_GLIB_LIBS
15201         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15202 $as_echo "yes" >&6; }
15203
15204       HAVE_GLIB="yes"
15205
15206 fi
15207
15208
15209
15210   if test "x$HAVE_GLIB" = "xno"; then
15211     as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
15212   fi
15213
15214         GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
15215
15216     if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
15217     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
15218   fi
15219
15220   # Check whether --enable-gobject-cast-checks was given.
15221 if test "${enable_gobject_cast_checks+set}" = set; then :
15222   enableval=$enable_gobject_cast_checks; enable_gobject_cast_checks=$enableval
15223 else
15224   enable_gobject_cast_checks=auto
15225 fi
15226
15227
15228   if test "x$enable_gobject_cast_checks" = "xauto"; then
15229         if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
15230       enable_gobject_cast_checks=yes
15231     else
15232       enable_gobject_cast_checks=no
15233     fi
15234   fi
15235
15236   if test "x$enable_gobject_cast_checks" = "xno"; then
15237     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
15238   fi
15239
15240   # Check whether --enable-glib-asserts was given.
15241 if test "${enable_glib_asserts+set}" = set; then :
15242   enableval=$enable_glib_asserts; enable_glib_assertions=$enableval
15243 else
15244   enable_glib_assertions=auto
15245 fi
15246
15247
15248   if test "x$enable_glib_assertions" = "xauto"; then
15249         if test "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1" -a "x`expr $PACKAGE_VERSION_MICRO '<' 90`" = "x1"; then
15250       enable_glib_assertions=yes
15251     else
15252       enable_glib_assertions=no
15253     fi
15254   fi
15255
15256   if test "x$enable_glib_assertions" = "xno"; then
15257     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
15258   fi
15259
15260                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-genmarshal" >&5
15261 $as_echo_n "checking for glib-genmarshal... " >&6; }
15262   if test "x$GLIB_GENMARSHAL" != "x"; then
15263     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from environment)" >&5
15264 $as_echo "$GLIB_GENMARSHAL (from environment)" >&6; }
15265   else
15266     GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
15267     if $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then
15268       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL (from pkg-config path)" >&5
15269 $as_echo "$GLIB_GENMARSHAL (from pkg-config path)" >&6; }
15270     else
15271       # Extract the first word of "glib-genmarshal", so it can be a program name with args.
15272 set dummy glib-genmarshal; ac_word=$2
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15274 $as_echo_n "checking for $ac_word... " >&6; }
15275 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
15276   $as_echo_n "(cached) " >&6
15277 else
15278   case $GLIB_GENMARSHAL in
15279   [\\/]* | ?:[\\/]*)
15280   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
15281   ;;
15282   *)
15283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15284 for as_dir in $PATH
15285 do
15286   IFS=$as_save_IFS
15287   test -z "$as_dir" && as_dir=.
15288     for ac_exec_ext in '' $ac_executable_extensions; do
15289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15290     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
15291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15292     break 2
15293   fi
15294 done
15295   done
15296 IFS=$as_save_IFS
15297
15298   test -z "$ac_cv_path_GLIB_GENMARSHAL" && ac_cv_path_GLIB_GENMARSHAL="glib-genmarshal"
15299   ;;
15300 esac
15301 fi
15302 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
15303 if test -n "$GLIB_GENMARSHAL"; then
15304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
15305 $as_echo "$GLIB_GENMARSHAL" >&6; }
15306 else
15307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15308 $as_echo "no" >&6; }
15309 fi
15310
15311
15312       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
15313 $as_echo "$GLIB_GENMARSHAL" >&6; }
15314     fi
15315   fi
15316   if ! $GLIB_GENMARSHAL --version 2>/dev/null >/dev/null; then
15317     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&5
15318 $as_echo "$as_me: WARNING: $GLIB_GENMARSHAL does not seem to work!" >&2;}
15319   fi
15320
15321
15322     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-mkenums" >&5
15323 $as_echo_n "checking for glib-mkenums... " >&6; }
15324   if test "x$GLIB_MKENUMS" != "x"; then
15325     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS (from environment)" >&5
15326 $as_echo "$GLIB_MKENUMS (from environment)" >&6; }
15327   else
15328         GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15329     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
15330 $as_echo "$GLIB_MKENUMS" >&6; }
15331   fi
15332   if ! $GLIB_MKENUMS --version 2>/dev/null >/dev/null; then
15333     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $GLIB_MKENUMS does not seem to work!" >&5
15334 $as_echo "$as_me: WARNING: $GLIB_MKENUMS does not seem to work!" >&2;}
15335   fi
15336
15337
15338
15339
15340
15341 pkg_failed=no
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
15343 $as_echo_n "checking for GIO... " >&6; }
15344
15345 if test -n "$PKG_CONFIG"; then
15346     if test -n "$GIO_CFLAGS"; then
15347         pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
15348     else
15349         if test -n "$PKG_CONFIG" && \
15350     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5
15351   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5
15352   ac_status=$?
15353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15354   test $ac_status = 0; }; then
15355   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GLIB_REQ" 2>/dev/null`
15356 else
15357   pkg_failed=yes
15358 fi
15359     fi
15360 else
15361         pkg_failed=untried
15362 fi
15363 if test -n "$PKG_CONFIG"; then
15364     if test -n "$GIO_LIBS"; then
15365         pkg_cv_GIO_LIBS="$GIO_LIBS"
15366     else
15367         if test -n "$PKG_CONFIG" && \
15368     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQ\""; } >&5
15369   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQ") 2>&5
15370   ac_status=$?
15371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15372   test $ac_status = 0; }; then
15373   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GLIB_REQ" 2>/dev/null`
15374 else
15375   pkg_failed=yes
15376 fi
15377     fi
15378 else
15379         pkg_failed=untried
15380 fi
15381
15382
15383
15384 if test $pkg_failed = yes; then
15385
15386 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15387         _pkg_short_errors_supported=yes
15388 else
15389         _pkg_short_errors_supported=no
15390 fi
15391         if test $_pkg_short_errors_supported = yes; then
15392                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"`
15393         else
15394                 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= $GLIB_REQ"`
15395         fi
15396         # Put the nasty error message in config.log where it belongs
15397         echo "$GIO_PKG_ERRORS" >&5
15398
15399         as_fn_error $? "Package requirements (gio-2.0 >= $GLIB_REQ) were not met:
15400
15401 $GIO_PKG_ERRORS
15402
15403 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15404 installed software in a non-standard prefix.
15405
15406 Alternatively, you may set the environment variables GIO_CFLAGS
15407 and GIO_LIBS to avoid the need to call pkg-config.
15408 See the pkg-config man page for more details.
15409 " "$LINENO" 5
15410 elif test $pkg_failed = untried; then
15411         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15413 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15414 is in your PATH or set the PKG_CONFIG environment variable to the full
15415 path to pkg-config.
15416
15417 Alternatively, you may set the environment variables GIO_CFLAGS
15418 and GIO_LIBS to avoid the need to call pkg-config.
15419 See the pkg-config man page for more details.
15420
15421 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15422 See \`config.log' for more details" "$LINENO" 5; }
15423 else
15424         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
15425         GIO_LIBS=$pkg_cv_GIO_LIBS
15426         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15427 $as_echo "yes" >&6; }
15428         :
15429 fi
15430   if test "x$HAVE_GIO" = "xno"; then
15431     as_fn_error $? "This package requires GIO >= $GLIB_REQ to compile." "$LINENO" 5
15432   fi
15433
15434   GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
15435
15436 cat >>confdefs.h <<_ACEOF
15437 #define GIO_MODULE_DIR "$GIO_MODULE_DIR"
15438 _ACEOF
15439
15440   GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
15441
15442 cat >>confdefs.h <<_ACEOF
15443 #define GIO_LIBDIR "$GIO_LIBDIR"
15444 _ACEOF
15445
15446
15447
15448
15449
15450
15451
15452
15453   module=gstreamer-$GST_API_VERSION
15454   minver=$GST_REQ
15455   name="GStreamer"
15456   required=yes
15457
15458 pkg_failed=no
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
15460 $as_echo_n "checking for GST... " >&6; }
15461
15462 if test -n "$PKG_CONFIG"; then
15463     if test -n "$GST_CFLAGS"; then
15464         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
15465     else
15466         if test -n "$PKG_CONFIG" && \
15467     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15468   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15469   ac_status=$?
15470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15471   test $ac_status = 0; }; then
15472   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15473 else
15474   pkg_failed=yes
15475 fi
15476     fi
15477 else
15478         pkg_failed=untried
15479 fi
15480 if test -n "$PKG_CONFIG"; then
15481     if test -n "$GST_LIBS"; then
15482         pkg_cv_GST_LIBS="$GST_LIBS"
15483     else
15484         if test -n "$PKG_CONFIG" && \
15485     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15486   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15487   ac_status=$?
15488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15489   test $ac_status = 0; }; then
15490   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15491 else
15492   pkg_failed=yes
15493 fi
15494     fi
15495 else
15496         pkg_failed=untried
15497 fi
15498
15499
15500
15501 if test $pkg_failed = yes; then
15502
15503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15504         _pkg_short_errors_supported=yes
15505 else
15506         _pkg_short_errors_supported=no
15507 fi
15508         if test $_pkg_short_errors_supported = yes; then
15509                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15510         else
15511                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15512         fi
15513         # Put the nasty error message in config.log where it belongs
15514         echo "$GST_PKG_ERRORS" >&5
15515
15516         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15517 $as_echo "no" >&6; }
15518
15519       HAVE_GST="no"
15520       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
15521 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
15522       if test "x$required" = "xyes"; then
15523         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15524       else
15525         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15526 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15527       fi
15528
15529 elif test $pkg_failed = untried; then
15530
15531       HAVE_GST="no"
15532       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
15533 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
15534       if test "x$required" = "xyes"; then
15535         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15536       else
15537         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15538 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15539       fi
15540
15541 else
15542         GST_CFLAGS=$pkg_cv_GST_CFLAGS
15543         GST_LIBS=$pkg_cv_GST_LIBS
15544         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15545 $as_echo "yes" >&6; }
15546
15547       HAVE_GST="yes"
15548
15549 fi
15550
15551
15552     if test -z $GST_TOOLS_DIR; then
15553     GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
15554     if test -z $GST_TOOLS_DIR; then
15555       as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
15556     fi
15557   fi
15558   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
15559 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
15560
15561
15562         if test -z $GST_PLUGINS_DIR; then
15563     GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_API_VERSION`
15564     if test -z $GST_PLUGINS_DIR; then
15565       as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
15566     fi
15567   fi
15568   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
15569 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
15570
15571
15572
15573 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
15574 if test -z $GST_TOOLS_DIR; then
15575   as_fn_error $? "no tools dir defined in GStreamer pkg-config file; core upgrade needed." "$LINENO" 5
15576 fi
15577
15578
15579 GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-$GST_API_VERSION --variable pluginsdir`
15580
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&5
15582 $as_echo "$as_me: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&6;}
15583
15584
15585
15586   module=gstreamer-base-$GST_API_VERSION
15587   minver=$GST_REQ
15588   name="GStreamer Base Libraries"
15589   required=yes
15590
15591 pkg_failed=no
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
15593 $as_echo_n "checking for GST_BASE... " >&6; }
15594
15595 if test -n "$PKG_CONFIG"; then
15596     if test -n "$GST_BASE_CFLAGS"; then
15597         pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
15598     else
15599         if test -n "$PKG_CONFIG" && \
15600     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15601   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15602   ac_status=$?
15603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15604   test $ac_status = 0; }; then
15605   pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15606 else
15607   pkg_failed=yes
15608 fi
15609     fi
15610 else
15611         pkg_failed=untried
15612 fi
15613 if test -n "$PKG_CONFIG"; then
15614     if test -n "$GST_BASE_LIBS"; then
15615         pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
15616     else
15617         if test -n "$PKG_CONFIG" && \
15618     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15619   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15620   ac_status=$?
15621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15622   test $ac_status = 0; }; then
15623   pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15624 else
15625   pkg_failed=yes
15626 fi
15627     fi
15628 else
15629         pkg_failed=untried
15630 fi
15631
15632
15633
15634 if test $pkg_failed = yes; then
15635
15636 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15637         _pkg_short_errors_supported=yes
15638 else
15639         _pkg_short_errors_supported=no
15640 fi
15641         if test $_pkg_short_errors_supported = yes; then
15642                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15643         else
15644                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15645         fi
15646         # Put the nasty error message in config.log where it belongs
15647         echo "$GST_BASE_PKG_ERRORS" >&5
15648
15649         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15650 $as_echo "no" >&6; }
15651
15652       HAVE_GST_BASE="no"
15653       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
15654 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
15655       if test "x$required" = "xyes"; then
15656         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15657       else
15658         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15659 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15660       fi
15661
15662 elif test $pkg_failed = untried; then
15663
15664       HAVE_GST_BASE="no"
15665       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
15666 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
15667       if test "x$required" = "xyes"; then
15668         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15669       else
15670         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15671 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15672       fi
15673
15674 else
15675         GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
15676         GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
15677         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15678 $as_echo "yes" >&6; }
15679
15680       HAVE_GST_BASE="yes"
15681
15682 fi
15683
15684
15685
15686
15687
15688
15689   module=gstreamer-plugins-base-$GST_API_VERSION
15690   minver=$GSTPB_REQ
15691   name="GStreamer Base Plugins"
15692   required=yes
15693
15694 pkg_failed=no
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
15696 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
15697
15698 if test -n "$PKG_CONFIG"; then
15699     if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
15700         pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
15701     else
15702         if test -n "$PKG_CONFIG" && \
15703     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15704   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15705   ac_status=$?
15706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15707   test $ac_status = 0; }; then
15708   pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15709 else
15710   pkg_failed=yes
15711 fi
15712     fi
15713 else
15714         pkg_failed=untried
15715 fi
15716 if test -n "$PKG_CONFIG"; then
15717     if test -n "$GST_PLUGINS_BASE_LIBS"; then
15718         pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
15719     else
15720         if test -n "$PKG_CONFIG" && \
15721     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15722   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15723   ac_status=$?
15724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15725   test $ac_status = 0; }; then
15726   pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15727 else
15728   pkg_failed=yes
15729 fi
15730     fi
15731 else
15732         pkg_failed=untried
15733 fi
15734
15735
15736
15737 if test $pkg_failed = yes; then
15738
15739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15740         _pkg_short_errors_supported=yes
15741 else
15742         _pkg_short_errors_supported=no
15743 fi
15744         if test $_pkg_short_errors_supported = yes; then
15745                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15746         else
15747                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15748         fi
15749         # Put the nasty error message in config.log where it belongs
15750         echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
15751
15752         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15753 $as_echo "no" >&6; }
15754
15755       HAVE_GST_PLUGINS_BASE="no"
15756       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
15757 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
15758       if test "x$required" = "xyes"; then
15759         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15760       else
15761         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15762 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15763       fi
15764
15765 elif test $pkg_failed = untried; then
15766
15767       HAVE_GST_PLUGINS_BASE="no"
15768       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
15769 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
15770       if test "x$required" = "xyes"; then
15771         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15772       else
15773         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15774 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15775       fi
15776
15777 else
15778         GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
15779         GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
15780         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15781 $as_echo "yes" >&6; }
15782
15783       HAVE_GST_PLUGINS_BASE="yes"
15784
15785 fi
15786
15787
15788
15789   if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
15790                 if test -z $GSTPB_PLUGINS_DIR; then
15791       GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_API_VERSION`
15792       if test -z $GSTPB_PLUGINS_DIR; then
15793         as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
15794       fi
15795     fi
15796     { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
15797 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
15798     GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
15799
15800
15801   fi
15802
15803 GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_API_VERSION --variable pluginsdir`
15804
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
15806 $as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
15807
15808
15809
15810   module=gstreamer-plugins-good-$GST_API_VERSION
15811   minver=$GSTPG_REQ
15812   name="GStreamer Good Plugins"
15813   required=no
15814
15815 pkg_failed=no
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_GOOD" >&5
15817 $as_echo_n "checking for GST_PLUGINS_GOOD... " >&6; }
15818
15819 if test -n "$PKG_CONFIG"; then
15820     if test -n "$GST_PLUGINS_GOOD_CFLAGS"; then
15821         pkg_cv_GST_PLUGINS_GOOD_CFLAGS="$GST_PLUGINS_GOOD_CFLAGS"
15822     else
15823         if test -n "$PKG_CONFIG" && \
15824     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15825   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15826   ac_status=$?
15827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15828   test $ac_status = 0; }; then
15829   pkg_cv_GST_PLUGINS_GOOD_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15830 else
15831   pkg_failed=yes
15832 fi
15833     fi
15834 else
15835         pkg_failed=untried
15836 fi
15837 if test -n "$PKG_CONFIG"; then
15838     if test -n "$GST_PLUGINS_GOOD_LIBS"; then
15839         pkg_cv_GST_PLUGINS_GOOD_LIBS="$GST_PLUGINS_GOOD_LIBS"
15840     else
15841         if test -n "$PKG_CONFIG" && \
15842     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15843   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15844   ac_status=$?
15845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15846   test $ac_status = 0; }; then
15847   pkg_cv_GST_PLUGINS_GOOD_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15848 else
15849   pkg_failed=yes
15850 fi
15851     fi
15852 else
15853         pkg_failed=untried
15854 fi
15855
15856
15857
15858 if test $pkg_failed = yes; then
15859
15860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15861         _pkg_short_errors_supported=yes
15862 else
15863         _pkg_short_errors_supported=no
15864 fi
15865         if test $_pkg_short_errors_supported = yes; then
15866                 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15867         else
15868                 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15869         fi
15870         # Put the nasty error message in config.log where it belongs
15871         echo "$GST_PLUGINS_GOOD_PKG_ERRORS" >&5
15872
15873         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15874 $as_echo "no" >&6; }
15875
15876       HAVE_GST_PLUGINS_GOOD="no"
15877       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5
15878 $as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;}
15879       if test "x$required" = "xyes"; then
15880         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15881       else
15882         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15883 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15884       fi
15885
15886 elif test $pkg_failed = untried; then
15887
15888       HAVE_GST_PLUGINS_GOOD="no"
15889       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5
15890 $as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;}
15891       if test "x$required" = "xyes"; then
15892         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15893       else
15894         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15895 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15896       fi
15897
15898 else
15899         GST_PLUGINS_GOOD_CFLAGS=$pkg_cv_GST_PLUGINS_GOOD_CFLAGS
15900         GST_PLUGINS_GOOD_LIBS=$pkg_cv_GST_PLUGINS_GOOD_LIBS
15901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15902 $as_echo "yes" >&6; }
15903
15904       HAVE_GST_PLUGINS_GOOD="yes"
15905
15906 fi
15907
15908
15909
15910   if test "x$HAVE_GST_PLUGINS_GOOD" = "xyes"; then
15911                 if test -z $GST_PLUGINS_GOOD_DIR; then
15912       GST_PLUGINS_GOOD_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-good-$GST_API_VERSION`
15913       if test -z $GST_PLUGINS_GOOD_DIR; then
15914         as_fn_error $? "no pluginsdir set in GStreamer Good Plugins pkg-config file" "$LINENO" 5
15915       fi
15916     fi
15917     { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&5
15918 $as_echo "$as_me: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&6;}
15919     GST_PLUGINS_GOOD_DIR="$GST_PLUGINS_GOOD_DIR/gst:$GST_PLUGINS_GOOD_DIR/sys:$GST_PLUGINS_GOOD_DIR/ext"
15920
15921   fi
15922
15923 GSTPG_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-good-$GST_API_VERSION --variable pluginsdir`
15924
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Good Plugins in $GSTPG_PLUGINS_DIR" >&5
15926 $as_echo "$as_me: Using GStreamer Good Plugins in $GSTPG_PLUGINS_DIR" >&6;}
15927
15928
15929
15930   module=gstreamer-plugins-bad-$GST_API_VERSION
15931   minver=$GSTPD_REQ
15932   name="GStreamer Bad Plugins"
15933   required=no
15934
15935 pkg_failed=no
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BAD" >&5
15937 $as_echo_n "checking for GST_PLUGINS_BAD... " >&6; }
15938
15939 if test -n "$PKG_CONFIG"; then
15940     if test -n "$GST_PLUGINS_BAD_CFLAGS"; then
15941         pkg_cv_GST_PLUGINS_BAD_CFLAGS="$GST_PLUGINS_BAD_CFLAGS"
15942     else
15943         if test -n "$PKG_CONFIG" && \
15944     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15945   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15946   ac_status=$?
15947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15948   test $ac_status = 0; }; then
15949   pkg_cv_GST_PLUGINS_BAD_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15950 else
15951   pkg_failed=yes
15952 fi
15953     fi
15954 else
15955         pkg_failed=untried
15956 fi
15957 if test -n "$PKG_CONFIG"; then
15958     if test -n "$GST_PLUGINS_BAD_LIBS"; then
15959         pkg_cv_GST_PLUGINS_BAD_LIBS="$GST_PLUGINS_BAD_LIBS"
15960     else
15961         if test -n "$PKG_CONFIG" && \
15962     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15963   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15964   ac_status=$?
15965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15966   test $ac_status = 0; }; then
15967   pkg_cv_GST_PLUGINS_BAD_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15968 else
15969   pkg_failed=yes
15970 fi
15971     fi
15972 else
15973         pkg_failed=untried
15974 fi
15975
15976
15977
15978 if test $pkg_failed = yes; then
15979
15980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15981         _pkg_short_errors_supported=yes
15982 else
15983         _pkg_short_errors_supported=no
15984 fi
15985         if test $_pkg_short_errors_supported = yes; then
15986                 GST_PLUGINS_BAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15987         else
15988                 GST_PLUGINS_BAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15989         fi
15990         # Put the nasty error message in config.log where it belongs
15991         echo "$GST_PLUGINS_BAD_PKG_ERRORS" >&5
15992
15993         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15994 $as_echo "no" >&6; }
15995
15996       HAVE_GST_PLUGINS_BAD="no"
15997       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BAD_PKG_ERRORS" >&5
15998 $as_echo "$as_me: $GST_PLUGINS_BAD_PKG_ERRORS" >&6;}
15999       if test "x$required" = "xyes"; then
16000         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
16001       else
16002         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
16003 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
16004       fi
16005
16006 elif test $pkg_failed = untried; then
16007
16008       HAVE_GST_PLUGINS_BAD="no"
16009       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BAD_PKG_ERRORS" >&5
16010 $as_echo "$as_me: $GST_PLUGINS_BAD_PKG_ERRORS" >&6;}
16011       if test "x$required" = "xyes"; then
16012         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
16013       else
16014         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
16015 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
16016       fi
16017
16018 else
16019         GST_PLUGINS_BAD_CFLAGS=$pkg_cv_GST_PLUGINS_BAD_CFLAGS
16020         GST_PLUGINS_BAD_LIBS=$pkg_cv_GST_PLUGINS_BAD_LIBS
16021         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16022 $as_echo "yes" >&6; }
16023
16024       HAVE_GST_PLUGINS_BAD="yes"
16025
16026 fi
16027
16028
16029
16030   if test "x$HAVE_GST_PLUGINS_BAD" = "xyes"; then
16031                 if test -z $GST_PLUGINS_BAD_DIR; then
16032       GST_PLUGINS_BAD_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-bad-$GST_API_VERSION`
16033       if test -z $GST_PLUGINS_BAD_DIR; then
16034         as_fn_error $? "no pluginsdir set in GStreamer Bad Plugins pkg-config file" "$LINENO" 5
16035       fi
16036     fi
16037     { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Bad Plugins in $GST_PLUGINS_BAD_DIR" >&5
16038 $as_echo "$as_me: using GStreamer Bad Plugins in $GST_PLUGINS_BAD_DIR" >&6;}
16039     GST_PLUGINS_BAD_DIR="$GST_PLUGINS_BAD_DIR/gst:$GST_PLUGINS_BAD_DIR/sys:$GST_PLUGINS_BAD_DIR/ext"
16040
16041   fi
16042
16043 GSTPD_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-bad-$GST_API_VERSION --variable pluginsdir`
16044
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Bad Plugins in $GSTPD_PLUGINS_DIR" >&5
16046 $as_echo "$as_me: Using GStreamer Bad Plugins in $GSTPD_PLUGINS_DIR" >&6;}
16047
16048
16049
16050   module=gstreamer-check-$GST_API_VERSION
16051   minver=$GST_REQ
16052   name="GStreamer Check unittest Library"
16053   required=no
16054
16055 pkg_failed=no
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
16057 $as_echo_n "checking for GST_CHECK... " >&6; }
16058
16059 if test -n "$PKG_CONFIG"; then
16060     if test -n "$GST_CHECK_CFLAGS"; then
16061         pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
16062     else
16063         if test -n "$PKG_CONFIG" && \
16064     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
16065   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
16066   ac_status=$?
16067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16068   test $ac_status = 0; }; then
16069   pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
16070 else
16071   pkg_failed=yes
16072 fi
16073     fi
16074 else
16075         pkg_failed=untried
16076 fi
16077 if test -n "$PKG_CONFIG"; then
16078     if test -n "$GST_CHECK_LIBS"; then
16079         pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
16080     else
16081         if test -n "$PKG_CONFIG" && \
16082     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
16083   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
16084   ac_status=$?
16085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16086   test $ac_status = 0; }; then
16087   pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
16088 else
16089   pkg_failed=yes
16090 fi
16091     fi
16092 else
16093         pkg_failed=untried
16094 fi
16095
16096
16097
16098 if test $pkg_failed = yes; then
16099
16100 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16101         _pkg_short_errors_supported=yes
16102 else
16103         _pkg_short_errors_supported=no
16104 fi
16105         if test $_pkg_short_errors_supported = yes; then
16106                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
16107         else
16108                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
16109         fi
16110         # Put the nasty error message in config.log where it belongs
16111         echo "$GST_CHECK_PKG_ERRORS" >&5
16112
16113         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16114 $as_echo "no" >&6; }
16115
16116       HAVE_GST_CHECK="no"
16117       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
16118 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
16119       if test "x$required" = "xyes"; then
16120         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
16121       else
16122         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
16123 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
16124       fi
16125
16126 elif test $pkg_failed = untried; then
16127
16128       HAVE_GST_CHECK="no"
16129       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
16130 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
16131       if test "x$required" = "xyes"; then
16132         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
16133       else
16134         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
16135 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
16136       fi
16137
16138 else
16139         GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
16140         GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
16141         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16142 $as_echo "yes" >&6; }
16143
16144       HAVE_GST_CHECK="yes"
16145
16146 fi
16147
16148
16149
16150  if test "x$HAVE_GST_CHECK" = "xyes"; then
16151   HAVE_CHECK_TRUE=
16152   HAVE_CHECK_FALSE='#'
16153 else
16154   HAVE_CHECK_TRUE='#'
16155   HAVE_CHECK_FALSE=
16156 fi
16157
16158
16159 # Check whether --enable-Bsymbolic was given.
16160 if test "${enable_Bsymbolic+set}" = set; then :
16161   enableval=$enable_Bsymbolic;
16162 else
16163   SAVED_LDFLAGS="${LDFLAGS}"
16164                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
16165 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
16166                LDFLAGS=-Wl,-Bsymbolic-functions
16167                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h.  */
16169
16170 int
16171 main ()
16172 {
16173 int main (void) { return 0; }
16174   ;
16175   return 0;
16176 }
16177 _ACEOF
16178 if ac_fn_c_try_link "$LINENO"; then :
16179
16180                            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16181 $as_echo "yes" >&6; }
16182                            enable_Bsymbolic=yes
16183 else
16184
16185                            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16186 $as_echo "no" >&6; }
16187                            enable_Bsymbolic=no
16188 fi
16189 rm -f core conftest.err conftest.$ac_objext \
16190     conftest$ac_exeext conftest.$ac_ext
16191                LDFLAGS="${SAVED_LDFLAGS}"
16192 fi
16193
16194
16195
16196 GST_LICENSE="LGPL"
16197
16198 cat >>confdefs.h <<_ACEOF
16199 #define GST_LICENSE "$GST_LICENSE"
16200 _ACEOF
16201
16202
16203
16204
16205
16206   EXP_VAR=PLUGINDIR
16207   FROM_VAR=${libdir}/gstreamer-$GST_API_VERSION
16208
16209     prefix_save=$prefix
16210   exec_prefix_save=$exec_prefix
16211
16212     if test "x$prefix" = "xNONE"; then
16213     prefix="$ac_default_prefix"
16214   fi
16215     if test "x$exec_prefix" = "xNONE"; then
16216     exec_prefix=$prefix
16217   fi
16218
16219   full_var="$FROM_VAR"
16220     while true; do
16221     new_full_var="`eval echo $full_var`"
16222     if test "x$new_full_var" = "x$full_var"; then break; fi
16223     full_var=$new_full_var
16224   done
16225
16226     full_var=$new_full_var
16227   PLUGINDIR="$full_var"
16228
16229
16230     prefix=$prefix_save
16231   exec_prefix=$exec_prefix_save
16232
16233
16234 cat >>confdefs.h <<_ACEOF
16235 #define PLUGINDIR "$PLUGINDIR"
16236 _ACEOF
16237
16238   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
16239 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
16240
16241     plugindir="\$(libdir)/gstreamer-$GST_API_VERSION"
16242
16243
16244
16245
16246   if test "x$PACKAGE_VERSION_NANO" = "x0"; then
16247
16248       if test "xyes" = "xno" -o "xyes" = "x"; then
16249     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
16250   elif test "xyes" = "xyes"; then
16251             if ( echo yes | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
16252       GST_PACKAGE_RELEASE_DATETIME=yes
16253     else
16254             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gst-rtsp-server.doap" `;
16255       if test "x$YYYY_MM_DD" != "x"; then
16256         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
16257       else
16258         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
16259             release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-rtsp-server.doap\" " "$LINENO" 5
16260         GST_PACKAGE_RELEASE_DATETIME=""
16261       fi
16262     fi
16263     elif ( echo yes | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
16264     GST_PACKAGE_RELEASE_DATETIME=yes
16265   else
16266     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
16267 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
16268     GST_PACKAGE_RELEASE_DATETIME=""
16269   fi
16270
16271   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
16272     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
16273 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
16274   else
16275     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
16276 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
16277
16278
16279 cat >>confdefs.h <<_ACEOF
16280 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
16281 _ACEOF
16282
16283   fi
16284
16285   else
16286
16287       if test "xno" = "xno" -o "xno" = "x"; then
16288     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
16289   elif test "xno" = "xyes"; then
16290             if ( echo no | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
16291       GST_PACKAGE_RELEASE_DATETIME=no
16292     else
16293             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
16294       if test "x$YYYY_MM_DD" != "x"; then
16295         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
16296       else
16297         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
16298             release date for release version  from " "$LINENO" 5
16299         GST_PACKAGE_RELEASE_DATETIME=""
16300       fi
16301     fi
16302     elif ( echo no | grep '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
16303     GST_PACKAGE_RELEASE_DATETIME=no
16304   else
16305     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
16306 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
16307     GST_PACKAGE_RELEASE_DATETIME=""
16308   fi
16309
16310   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
16311     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
16312 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
16313   else
16314     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
16315 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
16316
16317
16318 cat >>confdefs.h <<_ACEOF
16319 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
16320 _ACEOF
16321
16322   fi
16323
16324   fi
16325
16326
16327 # set by AG_GST_PARSE_SUBSYSTEM_DISABLES above
16328 NO_WARNINGS=""
16329
16330
16331
16332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GStreamer debugging system is enabled" >&5
16333 $as_echo_n "checking whether the GStreamer debugging system is enabled... " >&6; }
16334   ac_ext=c
16335 ac_cpp='$CPP $CPPFLAGS'
16336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16339
16340   save_CFLAGS="$CFLAGS"
16341   CFLAGS="$GST_CFLAGS $CFLAGS"
16342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h.  */
16344
16345
16346       #include <gst/gstconfig.h>
16347       #ifdef GST_DISABLE_GST_DEBUG
16348       #error "debugging disabled, make compiler fail"
16349       #endif
16350 _ACEOF
16351 if ac_fn_c_try_compile "$LINENO"; then :
16352    debug_system_enabled=yes
16353 else
16354   debug_system_enabled=no
16355 fi
16356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16357   CFLAGS="$save_CFLAGS"
16358   ac_ext=c
16359 ac_cpp='$CPP $CPPFLAGS'
16360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16363
16364
16365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug_system_enabled" >&5
16366 $as_echo "$debug_system_enabled" >&6; }
16367
16368   if test "x$debug_system_enabled" = "xyes" ; then
16369     NO_WARNINGS=""
16370     true
16371   else
16372     NO_WARNINGS="-Wno-unused"
16373     true
16374   fi
16375
16376
16377
16378
16379
16380
16381   WARNING_CFLAGS=""
16382   ERROR_CFLAGS=""
16383
16384
16385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
16386 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
16387
16388   save_CFLAGS="$CFLAGS"
16389   CFLAGS="$CFLAGS -Wall"
16390
16391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h.  */
16393
16394 int
16395 main ()
16396 {
16397
16398   ;
16399   return 0;
16400 }
16401 _ACEOF
16402 if ac_fn_c_try_compile "$LINENO"; then :
16403   flag_ok=yes
16404 else
16405   flag_ok=no
16406 fi
16407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16408   CFLAGS="$save_CFLAGS"
16409
16410   if test "X$flag_ok" = Xyes ; then
16411     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
16412     true
16413   else
16414
16415     true
16416   fi
16417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16418 $as_echo "$flag_ok" >&6; }
16419
16420
16421
16422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
16423 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
16424
16425   save_CFLAGS="$CFLAGS"
16426   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16427
16428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h.  */
16430
16431 int
16432 main ()
16433 {
16434
16435   ;
16436   return 0;
16437 }
16438 _ACEOF
16439 if ac_fn_c_try_compile "$LINENO"; then :
16440   flag_ok=yes
16441 else
16442   flag_ok=no
16443 fi
16444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16445   CFLAGS="$save_CFLAGS"
16446
16447   if test "X$flag_ok" = Xyes ; then
16448     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
16449     true
16450   else
16451
16452     true
16453   fi
16454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16455 $as_echo "$flag_ok" >&6; }
16456
16457
16458
16459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
16460 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
16461
16462   save_CFLAGS="$CFLAGS"
16463   CFLAGS="$CFLAGS -Wvla"
16464
16465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16466 /* end confdefs.h.  */
16467
16468 int
16469 main ()
16470 {
16471
16472   ;
16473   return 0;
16474 }
16475 _ACEOF
16476 if ac_fn_c_try_compile "$LINENO"; then :
16477   flag_ok=yes
16478 else
16479   flag_ok=no
16480 fi
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482   CFLAGS="$save_CFLAGS"
16483
16484   if test "X$flag_ok" = Xyes ; then
16485     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
16486     true
16487   else
16488
16489     true
16490   fi
16491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16492 $as_echo "$flag_ok" >&6; }
16493
16494
16495
16496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
16497 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
16498
16499   save_CFLAGS="$CFLAGS"
16500   CFLAGS="$CFLAGS -Wpointer-arith"
16501
16502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16503 /* end confdefs.h.  */
16504
16505 int
16506 main ()
16507 {
16508
16509   ;
16510   return 0;
16511 }
16512 _ACEOF
16513 if ac_fn_c_try_compile "$LINENO"; then :
16514   flag_ok=yes
16515 else
16516   flag_ok=no
16517 fi
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519   CFLAGS="$save_CFLAGS"
16520
16521   if test "X$flag_ok" = Xyes ; then
16522     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
16523     true
16524   else
16525
16526     true
16527   fi
16528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16529 $as_echo "$flag_ok" >&6; }
16530
16531
16532     if test "x$FATAL_WARNINGS" != "xno"
16533   then
16534
16535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
16536 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
16537
16538   save_CFLAGS="$CFLAGS"
16539   CFLAGS="$CFLAGS -Werror"
16540
16541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16542 /* end confdefs.h.  */
16543
16544 int
16545 main ()
16546 {
16547
16548   ;
16549   return 0;
16550 }
16551 _ACEOF
16552 if ac_fn_c_try_compile "$LINENO"; then :
16553   flag_ok=yes
16554 else
16555   flag_ok=no
16556 fi
16557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16558   CFLAGS="$save_CFLAGS"
16559
16560   if test "X$flag_ok" = Xyes ; then
16561     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
16562     true
16563   else
16564
16565     true
16566   fi
16567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16568 $as_echo "$flag_ok" >&6; }
16569
16570
16571         if test "x$ERROR_CFLAGS" = "x"
16572     then
16573
16574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
16575 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
16576
16577   save_CFLAGS="$CFLAGS"
16578   CFLAGS="$CFLAGS -errwarn=%all"
16579
16580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h.  */
16582
16583 int
16584 main ()
16585 {
16586
16587   ;
16588   return 0;
16589 }
16590 _ACEOF
16591 if ac_fn_c_try_compile "$LINENO"; then :
16592   flag_ok=yes
16593 else
16594   flag_ok=no
16595 fi
16596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16597   CFLAGS="$save_CFLAGS"
16598
16599   if test "X$flag_ok" = Xyes ; then
16600
16601           ERROR_CFLAGS="-errwarn=%all"
16602                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
16603                    'no%E_STATEMENT_NOT_REACHED' \
16604                    'no%E_ARGUEMENT_MISMATCH' \
16605                    'no%E_MACRO_REDEFINED' \
16606                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
16607           do
16608
16609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
16610 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
16611
16612   save_CFLAGS="$CFLAGS"
16613   CFLAGS="$CFLAGS -errwarn=%all,$f"
16614
16615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h.  */
16617
16618 int
16619 main ()
16620 {
16621
16622   ;
16623   return 0;
16624 }
16625 _ACEOF
16626 if ac_fn_c_try_compile "$LINENO"; then :
16627   flag_ok=yes
16628 else
16629   flag_ok=no
16630 fi
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632   CFLAGS="$save_CFLAGS"
16633
16634   if test "X$flag_ok" = Xyes ; then
16635
16636               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
16637
16638     true
16639   else
16640
16641     true
16642   fi
16643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16644 $as_echo "$flag_ok" >&6; }
16645
16646           done
16647
16648     true
16649   else
16650
16651     true
16652   fi
16653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16654 $as_echo "$flag_ok" >&6; }
16655
16656     else
16657                         if test -n "$PKG_CONFIG" && \
16658     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
16659   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
16660   ac_status=$?
16661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16662   test $ac_status = 0; }; then
16663
16664
16665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
16666 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
16667
16668   save_CFLAGS="$CFLAGS"
16669   CFLAGS="$CFLAGS -fno-strict-aliasing"
16670
16671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h.  */
16673
16674 int
16675 main ()
16676 {
16677
16678   ;
16679   return 0;
16680 }
16681 _ACEOF
16682 if ac_fn_c_try_compile "$LINENO"; then :
16683   flag_ok=yes
16684 else
16685   flag_ok=no
16686 fi
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688   CFLAGS="$save_CFLAGS"
16689
16690   if test "X$flag_ok" = Xyes ; then
16691     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
16692     true
16693   else
16694
16695     true
16696   fi
16697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16698 $as_echo "$flag_ok" >&6; }
16699
16700
16701 fi
16702     fi
16703   fi
16704
16705   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 $NO_WARNINGS" != "x"
16706   then
16707     UNSUPPORTED=""
16708     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 $NO_WARNINGS"
16709     for each in $list
16710     do
16711
16712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
16713 $as_echo_n "checking to see if compiler understands $each... " >&6; }
16714
16715   save_CFLAGS="$CFLAGS"
16716   CFLAGS="$CFLAGS $each"
16717
16718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h.  */
16720
16721 int
16722 main ()
16723 {
16724
16725   ;
16726   return 0;
16727 }
16728 _ACEOF
16729 if ac_fn_c_try_compile "$LINENO"; then :
16730   flag_ok=yes
16731 else
16732   flag_ok=no
16733 fi
16734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16735   CFLAGS="$save_CFLAGS"
16736
16737   if test "X$flag_ok" = Xyes ; then
16738     WARNING_CFLAGS="$WARNING_CFLAGS $each"
16739     true
16740   else
16741     UNSUPPORTED="$UNSUPPORTED $each"
16742     true
16743   fi
16744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16745 $as_echo "$flag_ok" >&6; }
16746
16747     done
16748     if test "X$UNSUPPORTED" != X ; then
16749       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
16750 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
16751     fi
16752   fi
16753
16754
16755
16756   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
16757 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
16758   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
16759 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
16760
16761
16762
16763       if test "x$GST_GIT" = "xyes"; then
16764     GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
16765   else
16766     GST_LEVEL_DEFAULT=GST_LEVEL_NONE
16767   fi
16768
16769 cat >>confdefs.h <<_ACEOF
16770 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
16771 _ACEOF
16772
16773
16774
16775
16776
16777             DEFAULT_AUDIOSINK="autoaudiosink"
16778   DEFAULT_VIDEOSINK="autovideosink"
16779   DEFAULT_AUDIOSRC="alsasrc"
16780   DEFAULT_VIDEOSRC="v4l2src"
16781   DEFAULT_VISUALIZER="goom"
16782   case "$host" in
16783     *-sun-* | *pc-solaris* )
16784       DEFAULT_AUDIOSRC="sunaudiosrc"
16785       ;;
16786     *-darwin* )
16787       DEFAULT_AUDIOSRC="osxaudiosrc"
16788       ;;
16789   esac
16790
16791
16792 # Check whether --with-default-audiosink was given.
16793 if test "${with_default_audiosink+set}" = set; then :
16794   withval=$with_default_audiosink;
16795       case "${withval}" in
16796         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
16797         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
16798         *)   DEFAULT_AUDIOSINK="${withval}" ;;
16799       esac
16800
16801 else
16802
16803       DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
16804
16805 fi
16806
16807   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
16808 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
16809
16810
16811 cat >>confdefs.h <<_ACEOF
16812 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
16813 _ACEOF
16814
16815
16816
16817 # Check whether --with-default-audiosrc was given.
16818 if test "${with_default_audiosrc+set}" = set; then :
16819   withval=$with_default_audiosrc;
16820       case "${withval}" in
16821         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
16822         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
16823         *)   DEFAULT_AUDIOSRC="${withval}" ;;
16824       esac
16825
16826 else
16827
16828       DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
16829
16830 fi
16831
16832   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
16833 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
16834
16835
16836 cat >>confdefs.h <<_ACEOF
16837 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
16838 _ACEOF
16839
16840
16841
16842 # Check whether --with-default-videosink was given.
16843 if test "${with_default_videosink+set}" = set; then :
16844   withval=$with_default_videosink;
16845       case "${withval}" in
16846         yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
16847         no)  as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
16848         *)   DEFAULT_VIDEOSINK="${withval}" ;;
16849       esac
16850
16851 else
16852
16853       DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
16854
16855 fi
16856
16857   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
16858 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
16859
16860
16861 cat >>confdefs.h <<_ACEOF
16862 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
16863 _ACEOF
16864
16865
16866
16867 # Check whether --with-default-videosrc was given.
16868 if test "${with_default_videosrc+set}" = set; then :
16869   withval=$with_default_videosrc;
16870       case "${withval}" in
16871         yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
16872         no)  as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
16873         *)   DEFAULT_VIDEOSRC="${withval}" ;;
16874       esac
16875
16876 else
16877
16878       DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
16879
16880 fi
16881
16882   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
16883 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
16884
16885
16886 cat >>confdefs.h <<_ACEOF
16887 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
16888 _ACEOF
16889
16890
16891
16892 # Check whether --with-default-visualizer was given.
16893 if test "${with_default_visualizer+set}" = set; then :
16894   withval=$with_default_visualizer;
16895       case "${withval}" in
16896         yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
16897         no)  as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
16898         *)   DEFAULT_VISUALIZER="${withval}" ;;
16899       esac
16900
16901 else
16902
16903       DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
16904
16905 fi
16906
16907   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
16908 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
16909
16910
16911 cat >>confdefs.h <<_ACEOF
16912 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
16913 _ACEOF
16914
16915
16916
16917
16918
16919 if test "x$USE_DEBUG" = xyes; then
16920    PROFILE_CFLAGS="-g"
16921 fi
16922
16923
16924 # GST_DISABLE_DEPRECATED: hide the visibility of deprecated
16925 # functionality from the API that gstreamer uses
16926 # GST_REMOVE_DEPRECATED: don't compile deprecated functionality (breaks ABI)
16927 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
16928     DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
16929 else
16930   DEPRECATED_CFLAGS=""
16931 fi
16932
16933
16934 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
16935
16936
16937 GST_CFLAGS="$GST_CFLAGS \$(GST_OPTION_CFLAGS)"
16938
16939
16940
16941 GST_ALL_CFLAGS="-I\$(top_srcdir) -I\$(top_builddir) $GST_PLUGINS_BASE_CFLAGS $GST_CFLAGS \$(GST_OPTION_CFLAGS)"
16942
16943
16944 GST_ALL_LIBS="$GST_LIBS $LTLIBINTL \$(GCOV_LIBS)"
16945
16946
16947 GST_ALL_LDFLAGS="-no-undefined"
16948 if test "x${enable_Bsymbolic}" = "xyes"; then
16949   GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
16950 fi
16951
16952
16953
16954 GST_LIB_LDFLAGS="-export-symbols-regex \^_?\(gst_\|Gst\|GST_\).*"
16955
16956
16957 GST_OBJ_CFLAGS="\$(GST_ALL_CFLAGS)"
16958
16959 GST_OBJ_LIBS="\$(top_builddir)/gst/rtsp-server/libgstrtspserver-$GST_API_VERSION.la \$(GST_ALL_LIBS)"
16960
16961
16962
16963 pkg_failed=no
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCGROUP" >&5
16965 $as_echo_n "checking for LIBCGROUP... " >&6; }
16966
16967 if test -n "$PKG_CONFIG"; then
16968     if test -n "$LIBCGROUP_CFLAGS"; then
16969         pkg_cv_LIBCGROUP_CFLAGS="$LIBCGROUP_CFLAGS"
16970     else
16971         if test -n "$PKG_CONFIG" && \
16972     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcgroup >= 0.26\""; } >&5
16973   ($PKG_CONFIG --exists --print-errors "libcgroup >= 0.26") 2>&5
16974   ac_status=$?
16975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16976   test $ac_status = 0; }; then
16977   pkg_cv_LIBCGROUP_CFLAGS=`$PKG_CONFIG --cflags "libcgroup >= 0.26" 2>/dev/null`
16978 else
16979   pkg_failed=yes
16980 fi
16981     fi
16982 else
16983         pkg_failed=untried
16984 fi
16985 if test -n "$PKG_CONFIG"; then
16986     if test -n "$LIBCGROUP_LIBS"; then
16987         pkg_cv_LIBCGROUP_LIBS="$LIBCGROUP_LIBS"
16988     else
16989         if test -n "$PKG_CONFIG" && \
16990     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcgroup >= 0.26\""; } >&5
16991   ($PKG_CONFIG --exists --print-errors "libcgroup >= 0.26") 2>&5
16992   ac_status=$?
16993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16994   test $ac_status = 0; }; then
16995   pkg_cv_LIBCGROUP_LIBS=`$PKG_CONFIG --libs "libcgroup >= 0.26" 2>/dev/null`
16996 else
16997   pkg_failed=yes
16998 fi
16999     fi
17000 else
17001         pkg_failed=untried
17002 fi
17003
17004
17005
17006 if test $pkg_failed = yes; then
17007
17008 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17009         _pkg_short_errors_supported=yes
17010 else
17011         _pkg_short_errors_supported=no
17012 fi
17013         if test $_pkg_short_errors_supported = yes; then
17014                 LIBCGROUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcgroup >= 0.26"`
17015         else
17016                 LIBCGROUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcgroup >= 0.26"`
17017         fi
17018         # Put the nasty error message in config.log where it belongs
17019         echo "$LIBCGROUP_PKG_ERRORS" >&5
17020
17021         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17022 $as_echo "no" >&6; }
17023                 HAVE_LIBCGROUP="no"
17024 elif test $pkg_failed = untried; then
17025         HAVE_LIBCGROUP="no"
17026 else
17027         LIBCGROUP_CFLAGS=$pkg_cv_LIBCGROUP_CFLAGS
17028         LIBCGROUP_LIBS=$pkg_cv_LIBCGROUP_LIBS
17029         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17030 $as_echo "yes" >&6; }
17031         HAVE_LIBCGROUP="yes"
17032 fi
17033
17034
17035  if test "x$HAVE_LIBCGROUP" = "xyes"; then
17036   HAVE_LIBCGROUP_TRUE=
17037   HAVE_LIBCGROUP_FALSE='#'
17038 else
17039   HAVE_LIBCGROUP_TRUE='#'
17040   HAVE_LIBCGROUP_FALSE=
17041 fi
17042
17043
17044
17045
17046 ac_config_files="$ac_config_files Makefile gst-rtsp.spec common/Makefile common/m4/Makefile gst/Makefile gst/rtsp-server/Makefile examples/Makefile tests/Makefile tests/check/Makefile pkgconfig/Makefile pkgconfig/gstreamer-rtsp-server.pc pkgconfig/gstreamer-rtsp-server-uninstalled.pc docs/Makefile docs/version.entities docs/libs/Makefile"
17047
17048 cat >confcache <<\_ACEOF
17049 # This file is a shell script that caches the results of configure
17050 # tests run on this system so they can be shared between configure
17051 # scripts and configure runs, see configure's option --config-cache.
17052 # It is not useful on other systems.  If it contains results you don't
17053 # want to keep, you may remove or edit it.
17054 #
17055 # config.status only pays attention to the cache file if you give it
17056 # the --recheck option to rerun configure.
17057 #
17058 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17059 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17060 # following values.
17061
17062 _ACEOF
17063
17064 # The following way of writing the cache mishandles newlines in values,
17065 # but we know of no workaround that is simple, portable, and efficient.
17066 # So, we kill variables containing newlines.
17067 # Ultrix sh set writes to stderr and can't be redirected directly,
17068 # and sets the high bit in the cache file unless we assign to the vars.
17069 (
17070   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17071     eval ac_val=\$$ac_var
17072     case $ac_val in #(
17073     *${as_nl}*)
17074       case $ac_var in #(
17075       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17076 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17077       esac
17078       case $ac_var in #(
17079       _ | IFS | as_nl) ;; #(
17080       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17081       *) { eval $ac_var=; unset $ac_var;} ;;
17082       esac ;;
17083     esac
17084   done
17085
17086   (set) 2>&1 |
17087     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17088     *${as_nl}ac_space=\ *)
17089       # `set' does not quote correctly, so add quotes: double-quote
17090       # substitution turns \\\\ into \\, and sed turns \\ into \.
17091       sed -n \
17092         "s/'/'\\\\''/g;
17093           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17094       ;; #(
17095     *)
17096       # `set' quotes correctly as required by POSIX, so do not add quotes.
17097       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17098       ;;
17099     esac |
17100     sort
17101 ) |
17102   sed '
17103      /^ac_cv_env_/b end
17104      t clear
17105      :clear
17106      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17107      t end
17108      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17109      :end' >>confcache
17110 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17111   if test -w "$cache_file"; then
17112     if test "x$cache_file" != "x/dev/null"; then
17113       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17114 $as_echo "$as_me: updating cache $cache_file" >&6;}
17115       if test ! -f "$cache_file" || test -h "$cache_file"; then
17116         cat confcache >"$cache_file"
17117       else
17118         case $cache_file in #(
17119         */* | ?:*)
17120           mv -f confcache "$cache_file"$$ &&
17121           mv -f "$cache_file"$$ "$cache_file" ;; #(
17122         *)
17123           mv -f confcache "$cache_file" ;;
17124         esac
17125       fi
17126     fi
17127   else
17128     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17129 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17130   fi
17131 fi
17132 rm -f confcache
17133
17134 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17135 # Let make expand exec_prefix.
17136 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17137
17138 DEFS=-DHAVE_CONFIG_H
17139
17140 ac_libobjs=
17141 ac_ltlibobjs=
17142 U=
17143 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17144   # 1. Remove the extension, and $U if already installed.
17145   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17146   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17147   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17148   #    will be set to the directory where LIBOBJS objects are built.
17149   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17150   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17151 done
17152 LIBOBJS=$ac_libobjs
17153
17154 LTLIBOBJS=$ac_ltlibobjs
17155
17156
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17158 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17159    if test -n "$am_sleep_pid"; then
17160      # Hide warnings about reused PIDs.
17161      wait $am_sleep_pid 2>/dev/null
17162    fi
17163    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17164 $as_echo "done" >&6; }
17165  if test -n "$EXEEXT"; then
17166   am__EXEEXT_TRUE=
17167   am__EXEEXT_FALSE='#'
17168 else
17169   am__EXEEXT_TRUE='#'
17170   am__EXEEXT_FALSE=
17171 fi
17172
17173 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17174   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17176 fi
17177 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17178   as_fn_error $? "conditional \"AMDEP\" was never defined.
17179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17180 fi
17181 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17182   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17184 fi
17185 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
17186   as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
17187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17188 fi
17189 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
17190   as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
17191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17192 fi
17193 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17194   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17196 fi
17197 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
17198   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
17199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17200 fi
17201 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
17202   as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
17203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17204 fi
17205 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
17206   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
17207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17208 fi
17209 if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
17210   as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined.
17211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17212 fi
17213 if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
17214   as_fn_error $? "conditional \"DOC_HTML\" was never defined.
17215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17216 fi
17217 if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
17218   as_fn_error $? "conditional \"DOC_PDF\" was never defined.
17219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17220 fi
17221 if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
17222   as_fn_error $? "conditional \"DOC_PS\" was never defined.
17223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17224 fi
17225 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
17226   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
17227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17228 fi
17229 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
17230   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
17231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17232 fi
17233 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
17234   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
17235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17236 fi
17237 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17238   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17240 fi
17241 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
17242   as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
17243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17244 fi
17245 if test -z "${HAVE_LIBCGROUP_TRUE}" && test -z "${HAVE_LIBCGROUP_FALSE}"; then
17246   as_fn_error $? "conditional \"HAVE_LIBCGROUP\" was never defined.
17247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17248 fi
17249
17250 : "${CONFIG_STATUS=./config.status}"
17251 ac_write_fail=0
17252 ac_clean_files_save=$ac_clean_files
17253 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17255 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17256 as_write_fail=0
17257 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17258 #! $SHELL
17259 # Generated by $as_me.
17260 # Run this file to recreate the current configuration.
17261 # Compiler output produced by configure, useful for debugging
17262 # configure, is in config.log if it exists.
17263
17264 debug=false
17265 ac_cs_recheck=false
17266 ac_cs_silent=false
17267
17268 SHELL=\${CONFIG_SHELL-$SHELL}
17269 export SHELL
17270 _ASEOF
17271 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17272 ## -------------------- ##
17273 ## M4sh Initialization. ##
17274 ## -------------------- ##
17275
17276 # Be more Bourne compatible
17277 DUALCASE=1; export DUALCASE # for MKS sh
17278 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17279   emulate sh
17280   NULLCMD=:
17281   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17282   # is contrary to our usage.  Disable this feature.
17283   alias -g '${1+"$@"}'='"$@"'
17284   setopt NO_GLOB_SUBST
17285 else
17286   case `(set -o) 2>/dev/null` in #(
17287   *posix*) :
17288     set -o posix ;; #(
17289   *) :
17290      ;;
17291 esac
17292 fi
17293
17294
17295 as_nl='
17296 '
17297 export as_nl
17298 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17299 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17300 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17301 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17302 # Prefer a ksh shell builtin over an external printf program on Solaris,
17303 # but without wasting forks for bash or zsh.
17304 if test -z "$BASH_VERSION$ZSH_VERSION" \
17305     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17306   as_echo='print -r --'
17307   as_echo_n='print -rn --'
17308 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17309   as_echo='printf %s\n'
17310   as_echo_n='printf %s'
17311 else
17312   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17313     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17314     as_echo_n='/usr/ucb/echo -n'
17315   else
17316     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17317     as_echo_n_body='eval
17318       arg=$1;
17319       case $arg in #(
17320       *"$as_nl"*)
17321         expr "X$arg" : "X\\(.*\\)$as_nl";
17322         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17323       esac;
17324       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17325     '
17326     export as_echo_n_body
17327     as_echo_n='sh -c $as_echo_n_body as_echo'
17328   fi
17329   export as_echo_body
17330   as_echo='sh -c $as_echo_body as_echo'
17331 fi
17332
17333 # The user is always right.
17334 if test "${PATH_SEPARATOR+set}" != set; then
17335   PATH_SEPARATOR=:
17336   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17337     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17338       PATH_SEPARATOR=';'
17339   }
17340 fi
17341
17342
17343 # IFS
17344 # We need space, tab and new line, in precisely that order.  Quoting is
17345 # there to prevent editors from complaining about space-tab.
17346 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17347 # splitting by setting IFS to empty value.)
17348 IFS=" ""        $as_nl"
17349
17350 # Find who we are.  Look in the path if we contain no directory separator.
17351 as_myself=
17352 case $0 in #((
17353   *[\\/]* ) as_myself=$0 ;;
17354   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17355 for as_dir in $PATH
17356 do
17357   IFS=$as_save_IFS
17358   test -z "$as_dir" && as_dir=.
17359     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17360   done
17361 IFS=$as_save_IFS
17362
17363      ;;
17364 esac
17365 # We did not find ourselves, most probably we were run as `sh COMMAND'
17366 # in which case we are not to be found in the path.
17367 if test "x$as_myself" = x; then
17368   as_myself=$0
17369 fi
17370 if test ! -f "$as_myself"; then
17371   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17372   exit 1
17373 fi
17374
17375 # Unset variables that we do not need and which cause bugs (e.g. in
17376 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17377 # suppresses any "Segmentation fault" message there.  '((' could
17378 # trigger a bug in pdksh 5.2.14.
17379 for as_var in BASH_ENV ENV MAIL MAILPATH
17380 do eval test x\${$as_var+set} = xset \
17381   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17382 done
17383 PS1='$ '
17384 PS2='> '
17385 PS4='+ '
17386
17387 # NLS nuisances.
17388 LC_ALL=C
17389 export LC_ALL
17390 LANGUAGE=C
17391 export LANGUAGE
17392
17393 # CDPATH.
17394 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17395
17396
17397 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17398 # ----------------------------------------
17399 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17400 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17401 # script with STATUS, using 1 if that was 0.
17402 as_fn_error ()
17403 {
17404   as_status=$1; test $as_status -eq 0 && as_status=1
17405   if test "$4"; then
17406     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17407     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17408   fi
17409   $as_echo "$as_me: error: $2" >&2
17410   as_fn_exit $as_status
17411 } # as_fn_error
17412
17413
17414 # as_fn_set_status STATUS
17415 # -----------------------
17416 # Set $? to STATUS, without forking.
17417 as_fn_set_status ()
17418 {
17419   return $1
17420 } # as_fn_set_status
17421
17422 # as_fn_exit STATUS
17423 # -----------------
17424 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17425 as_fn_exit ()
17426 {
17427   set +e
17428   as_fn_set_status $1
17429   exit $1
17430 } # as_fn_exit
17431
17432 # as_fn_unset VAR
17433 # ---------------
17434 # Portably unset VAR.
17435 as_fn_unset ()
17436 {
17437   { eval $1=; unset $1;}
17438 }
17439 as_unset=as_fn_unset
17440 # as_fn_append VAR VALUE
17441 # ----------------------
17442 # Append the text in VALUE to the end of the definition contained in VAR. Take
17443 # advantage of any shell optimizations that allow amortized linear growth over
17444 # repeated appends, instead of the typical quadratic growth present in naive
17445 # implementations.
17446 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17447   eval 'as_fn_append ()
17448   {
17449     eval $1+=\$2
17450   }'
17451 else
17452   as_fn_append ()
17453   {
17454     eval $1=\$$1\$2
17455   }
17456 fi # as_fn_append
17457
17458 # as_fn_arith ARG...
17459 # ------------------
17460 # Perform arithmetic evaluation on the ARGs, and store the result in the
17461 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17462 # must be portable across $(()) and expr.
17463 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17464   eval 'as_fn_arith ()
17465   {
17466     as_val=$(( $* ))
17467   }'
17468 else
17469   as_fn_arith ()
17470   {
17471     as_val=`expr "$@" || test $? -eq 1`
17472   }
17473 fi # as_fn_arith
17474
17475
17476 if expr a : '\(a\)' >/dev/null 2>&1 &&
17477    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17478   as_expr=expr
17479 else
17480   as_expr=false
17481 fi
17482
17483 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17484   as_basename=basename
17485 else
17486   as_basename=false
17487 fi
17488
17489 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17490   as_dirname=dirname
17491 else
17492   as_dirname=false
17493 fi
17494
17495 as_me=`$as_basename -- "$0" ||
17496 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17497          X"$0" : 'X\(//\)$' \| \
17498          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17499 $as_echo X/"$0" |
17500     sed '/^.*\/\([^/][^/]*\)\/*$/{
17501             s//\1/
17502             q
17503           }
17504           /^X\/\(\/\/\)$/{
17505             s//\1/
17506             q
17507           }
17508           /^X\/\(\/\).*/{
17509             s//\1/
17510             q
17511           }
17512           s/.*/./; q'`
17513
17514 # Avoid depending upon Character Ranges.
17515 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17516 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17517 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17518 as_cr_digits='0123456789'
17519 as_cr_alnum=$as_cr_Letters$as_cr_digits
17520
17521 ECHO_C= ECHO_N= ECHO_T=
17522 case `echo -n x` in #(((((
17523 -n*)
17524   case `echo 'xy\c'` in
17525   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17526   xy)  ECHO_C='\c';;
17527   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17528        ECHO_T=' ';;
17529   esac;;
17530 *)
17531   ECHO_N='-n';;
17532 esac
17533
17534 rm -f conf$$ conf$$.exe conf$$.file
17535 if test -d conf$$.dir; then
17536   rm -f conf$$.dir/conf$$.file
17537 else
17538   rm -f conf$$.dir
17539   mkdir conf$$.dir 2>/dev/null
17540 fi
17541 if (echo >conf$$.file) 2>/dev/null; then
17542   if ln -s conf$$.file conf$$ 2>/dev/null; then
17543     as_ln_s='ln -s'
17544     # ... but there are two gotchas:
17545     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17546     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17547     # In both cases, we have to default to `cp -pR'.
17548     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17549       as_ln_s='cp -pR'
17550   elif ln conf$$.file conf$$ 2>/dev/null; then
17551     as_ln_s=ln
17552   else
17553     as_ln_s='cp -pR'
17554   fi
17555 else
17556   as_ln_s='cp -pR'
17557 fi
17558 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17559 rmdir conf$$.dir 2>/dev/null
17560
17561
17562 # as_fn_mkdir_p
17563 # -------------
17564 # Create "$as_dir" as a directory, including parents if necessary.
17565 as_fn_mkdir_p ()
17566 {
17567
17568   case $as_dir in #(
17569   -*) as_dir=./$as_dir;;
17570   esac
17571   test -d "$as_dir" || eval $as_mkdir_p || {
17572     as_dirs=
17573     while :; do
17574       case $as_dir in #(
17575       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17576       *) as_qdir=$as_dir;;
17577       esac
17578       as_dirs="'$as_qdir' $as_dirs"
17579       as_dir=`$as_dirname -- "$as_dir" ||
17580 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17581          X"$as_dir" : 'X\(//\)[^/]' \| \
17582          X"$as_dir" : 'X\(//\)$' \| \
17583          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17584 $as_echo X"$as_dir" |
17585     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17586             s//\1/
17587             q
17588           }
17589           /^X\(\/\/\)[^/].*/{
17590             s//\1/
17591             q
17592           }
17593           /^X\(\/\/\)$/{
17594             s//\1/
17595             q
17596           }
17597           /^X\(\/\).*/{
17598             s//\1/
17599             q
17600           }
17601           s/.*/./; q'`
17602       test -d "$as_dir" && break
17603     done
17604     test -z "$as_dirs" || eval "mkdir $as_dirs"
17605   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17606
17607
17608 } # as_fn_mkdir_p
17609 if mkdir -p . 2>/dev/null; then
17610   as_mkdir_p='mkdir -p "$as_dir"'
17611 else
17612   test -d ./-p && rmdir ./-p
17613   as_mkdir_p=false
17614 fi
17615
17616
17617 # as_fn_executable_p FILE
17618 # -----------------------
17619 # Test if FILE is an executable regular file.
17620 as_fn_executable_p ()
17621 {
17622   test -f "$1" && test -x "$1"
17623 } # as_fn_executable_p
17624 as_test_x='test -x'
17625 as_executable_p=as_fn_executable_p
17626
17627 # Sed expression to map a string onto a valid CPP name.
17628 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17629
17630 # Sed expression to map a string onto a valid variable name.
17631 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17632
17633
17634 exec 6>&1
17635 ## ----------------------------------- ##
17636 ## Main body of $CONFIG_STATUS script. ##
17637 ## ----------------------------------- ##
17638 _ASEOF
17639 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17640
17641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17642 # Save the log message, to keep $0 and so on meaningful, and to
17643 # report actual input values of CONFIG_FILES etc. instead of their
17644 # values after options handling.
17645 ac_log="
17646 This file was extended by GStreamer RTSP Server Library $as_me 1.4.1, which was
17647 generated by GNU Autoconf 2.69.  Invocation command line was
17648
17649   CONFIG_FILES    = $CONFIG_FILES
17650   CONFIG_HEADERS  = $CONFIG_HEADERS
17651   CONFIG_LINKS    = $CONFIG_LINKS
17652   CONFIG_COMMANDS = $CONFIG_COMMANDS
17653   $ $0 $@
17654
17655 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17656 "
17657
17658 _ACEOF
17659
17660 case $ac_config_files in *"
17661 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17662 esac
17663
17664 case $ac_config_headers in *"
17665 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17666 esac
17667
17668
17669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17670 # Files that config.status was made for.
17671 config_files="$ac_config_files"
17672 config_headers="$ac_config_headers"
17673 config_commands="$ac_config_commands"
17674
17675 _ACEOF
17676
17677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17678 ac_cs_usage="\
17679 \`$as_me' instantiates files and other configuration actions
17680 from templates according to the current configuration.  Unless the files
17681 and actions are specified as TAGs, all are instantiated by default.
17682
17683 Usage: $0 [OPTION]... [TAG]...
17684
17685   -h, --help       print this help, then exit
17686   -V, --version    print version number and configuration settings, then exit
17687       --config     print configuration, then exit
17688   -q, --quiet, --silent
17689                    do not print progress messages
17690   -d, --debug      don't remove temporary files
17691       --recheck    update $as_me by reconfiguring in the same conditions
17692       --file=FILE[:TEMPLATE]
17693                    instantiate the configuration file FILE
17694       --header=FILE[:TEMPLATE]
17695                    instantiate the configuration header FILE
17696
17697 Configuration files:
17698 $config_files
17699
17700 Configuration headers:
17701 $config_headers
17702
17703 Configuration commands:
17704 $config_commands
17705
17706 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
17707
17708 _ACEOF
17709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17710 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17711 ac_cs_version="\\
17712 GStreamer RTSP Server Library config.status 1.4.1
17713 configured by $0, generated by GNU Autoconf 2.69,
17714   with options \\"\$ac_cs_config\\"
17715
17716 Copyright (C) 2012 Free Software Foundation, Inc.
17717 This config.status script is free software; the Free Software Foundation
17718 gives unlimited permission to copy, distribute and modify it."
17719
17720 ac_pwd='$ac_pwd'
17721 srcdir='$srcdir'
17722 INSTALL='$INSTALL'
17723 MKDIR_P='$MKDIR_P'
17724 AWK='$AWK'
17725 test -n "\$AWK" || AWK=awk
17726 _ACEOF
17727
17728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17729 # The default lists apply if the user does not specify any file.
17730 ac_need_defaults=:
17731 while test $# != 0
17732 do
17733   case $1 in
17734   --*=?*)
17735     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17736     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17737     ac_shift=:
17738     ;;
17739   --*=)
17740     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17741     ac_optarg=
17742     ac_shift=:
17743     ;;
17744   *)
17745     ac_option=$1
17746     ac_optarg=$2
17747     ac_shift=shift
17748     ;;
17749   esac
17750
17751   case $ac_option in
17752   # Handling of the options.
17753   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17754     ac_cs_recheck=: ;;
17755   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17756     $as_echo "$ac_cs_version"; exit ;;
17757   --config | --confi | --conf | --con | --co | --c )
17758     $as_echo "$ac_cs_config"; exit ;;
17759   --debug | --debu | --deb | --de | --d | -d )
17760     debug=: ;;
17761   --file | --fil | --fi | --f )
17762     $ac_shift
17763     case $ac_optarg in
17764     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17765     '') as_fn_error $? "missing file argument" ;;
17766     esac
17767     as_fn_append CONFIG_FILES " '$ac_optarg'"
17768     ac_need_defaults=false;;
17769   --header | --heade | --head | --hea )
17770     $ac_shift
17771     case $ac_optarg in
17772     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17773     esac
17774     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17775     ac_need_defaults=false;;
17776   --he | --h)
17777     # Conflict between --help and --header
17778     as_fn_error $? "ambiguous option: \`$1'
17779 Try \`$0 --help' for more information.";;
17780   --help | --hel | -h )
17781     $as_echo "$ac_cs_usage"; exit ;;
17782   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17783   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17784     ac_cs_silent=: ;;
17785
17786   # This is an error.
17787   -*) as_fn_error $? "unrecognized option: \`$1'
17788 Try \`$0 --help' for more information." ;;
17789
17790   *) as_fn_append ac_config_targets " $1"
17791      ac_need_defaults=false ;;
17792
17793   esac
17794   shift
17795 done
17796
17797 ac_configure_extra_args=
17798
17799 if $ac_cs_silent; then
17800   exec 6>/dev/null
17801   ac_configure_extra_args="$ac_configure_extra_args --silent"
17802 fi
17803
17804 _ACEOF
17805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17806 if \$ac_cs_recheck; then
17807   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17808   shift
17809   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17810   CONFIG_SHELL='$SHELL'
17811   export CONFIG_SHELL
17812   exec "\$@"
17813 fi
17814
17815 _ACEOF
17816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17817 exec 5>>config.log
17818 {
17819   echo
17820   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17821 ## Running $as_me. ##
17822 _ASBOX
17823   $as_echo "$ac_log"
17824 } >&5
17825
17826 _ACEOF
17827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17828 #
17829 # INIT-COMMANDS
17830 #
17831 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17832
17833
17834 # The HP-UX ksh and POSIX shell print the target directory to stdout
17835 # if CDPATH is set.
17836 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17837
17838 sed_quote_subst='$sed_quote_subst'
17839 double_quote_subst='$double_quote_subst'
17840 delay_variable_subst='$delay_variable_subst'
17841 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17842 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17843 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17844 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17845 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17846 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17847 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17848 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17849 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17850 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17851 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17852 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17853 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17854 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17855 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17856 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17857 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17858 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17859 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17860 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17861 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17862 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17863 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17864 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17865 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17866 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17867 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17868 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17869 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17870 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17871 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17872 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17873 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17874 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17875 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17876 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17877 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17878 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17879 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17880 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17881 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17882 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17883 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17884 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17885 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17886 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17887 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17888 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17889 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17890 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17891 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17892 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17893 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17894 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17895 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17896 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17897 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17898 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17899 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17900 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17901 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17902 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17903 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17904 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17905 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17906 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17907 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17908 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17909 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17910 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17911 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17912 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17913 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17914 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17915 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17916 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17917 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17918 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17919 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17920 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17921 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17922 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17923 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17924 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17925 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17926 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17927 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17928 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17929 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17930 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17931 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17932 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17933 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17934 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17935 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17936 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17937 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17938 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17939 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17940 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17941 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17942 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17943 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17944 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17945 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17946 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17947 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17948 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17949 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17950 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17951 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17952 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17953 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17954 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17955 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17956 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17957 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17958 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17959 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17960 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17961 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17962 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17963 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17964 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17965 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17966 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17967 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17968 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17969 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17970 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17971 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17972
17973 LTCC='$LTCC'
17974 LTCFLAGS='$LTCFLAGS'
17975 compiler='$compiler_DEFAULT'
17976
17977 # A function that is used when there is no print builtin or printf.
17978 func_fallback_echo ()
17979 {
17980   eval 'cat <<_LTECHO_EOF
17981 \$1
17982 _LTECHO_EOF'
17983 }
17984
17985 # Quote evaled strings.
17986 for var in AS \
17987 DLLTOOL \
17988 OBJDUMP \
17989 SHELL \
17990 ECHO \
17991 PATH_SEPARATOR \
17992 SED \
17993 GREP \
17994 EGREP \
17995 FGREP \
17996 LD \
17997 NM \
17998 LN_S \
17999 lt_SP2NL \
18000 lt_NL2SP \
18001 reload_flag \
18002 deplibs_check_method \
18003 file_magic_cmd \
18004 file_magic_glob \
18005 want_nocaseglob \
18006 sharedlib_from_linklib_cmd \
18007 AR \
18008 AR_FLAGS \
18009 archiver_list_spec \
18010 STRIP \
18011 RANLIB \
18012 CC \
18013 CFLAGS \
18014 compiler \
18015 lt_cv_sys_global_symbol_pipe \
18016 lt_cv_sys_global_symbol_to_cdecl \
18017 lt_cv_sys_global_symbol_to_c_name_address \
18018 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18019 nm_file_list_spec \
18020 lt_prog_compiler_no_builtin_flag \
18021 lt_prog_compiler_pic \
18022 lt_prog_compiler_wl \
18023 lt_prog_compiler_static \
18024 lt_cv_prog_compiler_c_o \
18025 need_locks \
18026 MANIFEST_TOOL \
18027 DSYMUTIL \
18028 NMEDIT \
18029 LIPO \
18030 OTOOL \
18031 OTOOL64 \
18032 shrext_cmds \
18033 export_dynamic_flag_spec \
18034 whole_archive_flag_spec \
18035 compiler_needs_object \
18036 with_gnu_ld \
18037 allow_undefined_flag \
18038 no_undefined_flag \
18039 hardcode_libdir_flag_spec \
18040 hardcode_libdir_separator \
18041 exclude_expsyms \
18042 include_expsyms \
18043 file_list_spec \
18044 variables_saved_for_relink \
18045 libname_spec \
18046 library_names_spec \
18047 soname_spec \
18048 install_override_mode \
18049 finish_eval \
18050 old_striplib \
18051 striplib; do
18052     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18053     *[\\\\\\\`\\"\\\$]*)
18054       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18055       ;;
18056     *)
18057       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18058       ;;
18059     esac
18060 done
18061
18062 # Double-quote double-evaled strings.
18063 for var in reload_cmds \
18064 old_postinstall_cmds \
18065 old_postuninstall_cmds \
18066 old_archive_cmds \
18067 extract_expsyms_cmds \
18068 old_archive_from_new_cmds \
18069 old_archive_from_expsyms_cmds \
18070 archive_cmds \
18071 archive_expsym_cmds \
18072 module_cmds \
18073 module_expsym_cmds \
18074 export_symbols_cmds \
18075 prelink_cmds \
18076 postlink_cmds \
18077 postinstall_cmds \
18078 postuninstall_cmds \
18079 finish_cmds \
18080 sys_lib_search_path_spec \
18081 sys_lib_dlsearch_path_spec; do
18082     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18083     *[\\\\\\\`\\"\\\$]*)
18084       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18085       ;;
18086     *)
18087       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18088       ;;
18089     esac
18090 done
18091
18092 ac_aux_dir='$ac_aux_dir'
18093 xsi_shell='$xsi_shell'
18094 lt_shell_append='$lt_shell_append'
18095
18096 # See if we are running on zsh, and set the options which allow our
18097 # commands through without removal of \ escapes INIT.
18098 if test -n "\${ZSH_VERSION+set}" ; then
18099    setopt NO_GLOB_SUBST
18100 fi
18101
18102
18103     PACKAGE='$PACKAGE'
18104     VERSION='$VERSION'
18105     TIMESTAMP='$TIMESTAMP'
18106     RM='$RM'
18107     ofile='$ofile'
18108
18109
18110
18111
18112 _ACEOF
18113
18114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18115
18116 # Handling of arguments.
18117 for ac_config_target in $ac_config_targets
18118 do
18119   case $ac_config_target in
18120     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18121     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18122     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18123     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18124     "gst-rtsp.spec") CONFIG_FILES="$CONFIG_FILES gst-rtsp.spec" ;;
18125     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
18126     "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
18127     "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
18128     "gst/rtsp-server/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtsp-server/Makefile" ;;
18129     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
18130     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
18131     "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
18132     "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
18133     "pkgconfig/gstreamer-rtsp-server.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp-server.pc" ;;
18134     "pkgconfig/gstreamer-rtsp-server-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp-server-uninstalled.pc" ;;
18135     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
18136     "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
18137     "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
18138
18139   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18140   esac
18141 done
18142
18143
18144 # If the user did not use the arguments to specify the items to instantiate,
18145 # then the envvar interface is used.  Set only those that are not.
18146 # We use the long form for the default assignment because of an extremely
18147 # bizarre bug on SunOS 4.1.3.
18148 if $ac_need_defaults; then
18149   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18150   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18151   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18152 fi
18153
18154 # Have a temporary directory for convenience.  Make it in the build tree
18155 # simply because there is no reason against having it here, and in addition,
18156 # creating and moving files from /tmp can sometimes cause problems.
18157 # Hook for its removal unless debugging.
18158 # Note that there is a small window in which the directory will not be cleaned:
18159 # after its creation but before its name has been assigned to `$tmp'.
18160 $debug ||
18161 {
18162   tmp= ac_tmp=
18163   trap 'exit_status=$?
18164   : "${ac_tmp:=$tmp}"
18165   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18166 ' 0
18167   trap 'as_fn_exit 1' 1 2 13 15
18168 }
18169 # Create a (secure) tmp directory for tmp files.
18170
18171 {
18172   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18173   test -d "$tmp"
18174 }  ||
18175 {
18176   tmp=./conf$$-$RANDOM
18177   (umask 077 && mkdir "$tmp")
18178 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18179 ac_tmp=$tmp
18180
18181 # Set up the scripts for CONFIG_FILES section.
18182 # No need to generate them if there are no CONFIG_FILES.
18183 # This happens for instance with `./config.status config.h'.
18184 if test -n "$CONFIG_FILES"; then
18185
18186
18187 ac_cr=`echo X | tr X '\015'`
18188 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18189 # But we know of no other shell where ac_cr would be empty at this
18190 # point, so we can use a bashism as a fallback.
18191 if test "x$ac_cr" = x; then
18192   eval ac_cr=\$\'\\r\'
18193 fi
18194 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18195 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18196   ac_cs_awk_cr='\\r'
18197 else
18198   ac_cs_awk_cr=$ac_cr
18199 fi
18200
18201 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18202 _ACEOF
18203
18204
18205 {
18206   echo "cat >conf$$subs.awk <<_ACEOF" &&
18207   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18208   echo "_ACEOF"
18209 } >conf$$subs.sh ||
18210   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18211 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18212 ac_delim='%!_!# '
18213 for ac_last_try in false false false false false :; do
18214   . ./conf$$subs.sh ||
18215     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18216
18217   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18218   if test $ac_delim_n = $ac_delim_num; then
18219     break
18220   elif $ac_last_try; then
18221     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18222   else
18223     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18224   fi
18225 done
18226 rm -f conf$$subs.sh
18227
18228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18229 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18230 _ACEOF
18231 sed -n '
18232 h
18233 s/^/S["/; s/!.*/"]=/
18234 p
18235 g
18236 s/^[^!]*!//
18237 :repl
18238 t repl
18239 s/'"$ac_delim"'$//
18240 t delim
18241 :nl
18242 h
18243 s/\(.\{148\}\)..*/\1/
18244 t more1
18245 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18246 p
18247 n
18248 b repl
18249 :more1
18250 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18251 p
18252 g
18253 s/.\{148\}//
18254 t nl
18255 :delim
18256 h
18257 s/\(.\{148\}\)..*/\1/
18258 t more2
18259 s/["\\]/\\&/g; s/^/"/; s/$/"/
18260 p
18261 b
18262 :more2
18263 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18264 p
18265 g
18266 s/.\{148\}//
18267 t delim
18268 ' <conf$$subs.awk | sed '
18269 /^[^""]/{
18270   N
18271   s/\n//
18272 }
18273 ' >>$CONFIG_STATUS || ac_write_fail=1
18274 rm -f conf$$subs.awk
18275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18276 _ACAWK
18277 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18278   for (key in S) S_is_set[key] = 1
18279   FS = "\a"
18280
18281 }
18282 {
18283   line = $ 0
18284   nfields = split(line, field, "@")
18285   substed = 0
18286   len = length(field[1])
18287   for (i = 2; i < nfields; i++) {
18288     key = field[i]
18289     keylen = length(key)
18290     if (S_is_set[key]) {
18291       value = S[key]
18292       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18293       len += length(value) + length(field[++i])
18294       substed = 1
18295     } else
18296       len += 1 + keylen
18297   }
18298
18299   print line
18300 }
18301
18302 _ACAWK
18303 _ACEOF
18304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18305 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18306   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18307 else
18308   cat
18309 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18310   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18311 _ACEOF
18312
18313 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18314 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18315 # trailing colons and then remove the whole line if VPATH becomes empty
18316 # (actually we leave an empty line to preserve line numbers).
18317 if test "x$srcdir" = x.; then
18318   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18319 h
18320 s///
18321 s/^/:/
18322 s/[      ]*$/:/
18323 s/:\$(srcdir):/:/g
18324 s/:\${srcdir}:/:/g
18325 s/:@srcdir@:/:/g
18326 s/^:*//
18327 s/:*$//
18328 x
18329 s/\(=[   ]*\).*/\1/
18330 G
18331 s/\n//
18332 s/^[^=]*=[       ]*$//
18333 }'
18334 fi
18335
18336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18337 fi # test -n "$CONFIG_FILES"
18338
18339 # Set up the scripts for CONFIG_HEADERS section.
18340 # No need to generate them if there are no CONFIG_HEADERS.
18341 # This happens for instance with `./config.status Makefile'.
18342 if test -n "$CONFIG_HEADERS"; then
18343 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18344 BEGIN {
18345 _ACEOF
18346
18347 # Transform confdefs.h into an awk script `defines.awk', embedded as
18348 # here-document in config.status, that substitutes the proper values into
18349 # config.h.in to produce config.h.
18350
18351 # Create a delimiter string that does not exist in confdefs.h, to ease
18352 # handling of long lines.
18353 ac_delim='%!_!# '
18354 for ac_last_try in false false :; do
18355   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18356   if test -z "$ac_tt"; then
18357     break
18358   elif $ac_last_try; then
18359     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18360   else
18361     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18362   fi
18363 done
18364
18365 # For the awk script, D is an array of macro values keyed by name,
18366 # likewise P contains macro parameters if any.  Preserve backslash
18367 # newline sequences.
18368
18369 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18370 sed -n '
18371 s/.\{148\}/&'"$ac_delim"'/g
18372 t rset
18373 :rset
18374 s/^[     ]*#[    ]*define[       ][      ]*/ /
18375 t def
18376 d
18377 :def
18378 s/\\$//
18379 t bsnl
18380 s/["\\]/\\&/g
18381 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18382 D["\1"]=" \3"/p
18383 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
18384 d
18385 :bsnl
18386 s/["\\]/\\&/g
18387 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18388 D["\1"]=" \3\\\\\\n"\\/p
18389 t cont
18390 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18391 t cont
18392 d
18393 :cont
18394 n
18395 s/.\{148\}/&'"$ac_delim"'/g
18396 t clear
18397 :clear
18398 s/\\$//
18399 t bsnlc
18400 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18401 d
18402 :bsnlc
18403 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18404 b cont
18405 ' <confdefs.h | sed '
18406 s/'"$ac_delim"'/"\\\
18407 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18408
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18410   for (key in D) D_is_set[key] = 1
18411   FS = "\a"
18412 }
18413 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18414   line = \$ 0
18415   split(line, arg, " ")
18416   if (arg[1] == "#") {
18417     defundef = arg[2]
18418     mac1 = arg[3]
18419   } else {
18420     defundef = substr(arg[1], 2)
18421     mac1 = arg[2]
18422   }
18423   split(mac1, mac2, "(") #)
18424   macro = mac2[1]
18425   prefix = substr(line, 1, index(line, defundef) - 1)
18426   if (D_is_set[macro]) {
18427     # Preserve the white space surrounding the "#".
18428     print prefix "define", macro P[macro] D[macro]
18429     next
18430   } else {
18431     # Replace #undef with comments.  This is necessary, for example,
18432     # in the case of _POSIX_SOURCE, which is predefined and required
18433     # on some systems where configure will not decide to define it.
18434     if (defundef == "undef") {
18435       print "/*", prefix defundef, macro, "*/"
18436       next
18437     }
18438   }
18439 }
18440 { print }
18441 _ACAWK
18442 _ACEOF
18443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18444   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18445 fi # test -n "$CONFIG_HEADERS"
18446
18447
18448 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18449 shift
18450 for ac_tag
18451 do
18452   case $ac_tag in
18453   :[FHLC]) ac_mode=$ac_tag; continue;;
18454   esac
18455   case $ac_mode$ac_tag in
18456   :[FHL]*:*);;
18457   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18458   :[FH]-) ac_tag=-:-;;
18459   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18460   esac
18461   ac_save_IFS=$IFS
18462   IFS=:
18463   set x $ac_tag
18464   IFS=$ac_save_IFS
18465   shift
18466   ac_file=$1
18467   shift
18468
18469   case $ac_mode in
18470   :L) ac_source=$1;;
18471   :[FH])
18472     ac_file_inputs=
18473     for ac_f
18474     do
18475       case $ac_f in
18476       -) ac_f="$ac_tmp/stdin";;
18477       *) # Look for the file first in the build tree, then in the source tree
18478          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18479          # because $ac_f cannot contain `:'.
18480          test -f "$ac_f" ||
18481            case $ac_f in
18482            [\\/$]*) false;;
18483            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18484            esac ||
18485            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18486       esac
18487       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18488       as_fn_append ac_file_inputs " '$ac_f'"
18489     done
18490
18491     # Let's still pretend it is `configure' which instantiates (i.e., don't
18492     # use $as_me), people would be surprised to read:
18493     #    /* config.h.  Generated by config.status.  */
18494     configure_input='Generated from '`
18495           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18496         `' by configure.'
18497     if test x"$ac_file" != x-; then
18498       configure_input="$ac_file.  $configure_input"
18499       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18500 $as_echo "$as_me: creating $ac_file" >&6;}
18501     fi
18502     # Neutralize special characters interpreted by sed in replacement strings.
18503     case $configure_input in #(
18504     *\&* | *\|* | *\\* )
18505        ac_sed_conf_input=`$as_echo "$configure_input" |
18506        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18507     *) ac_sed_conf_input=$configure_input;;
18508     esac
18509
18510     case $ac_tag in
18511     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18512       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18513     esac
18514     ;;
18515   esac
18516
18517   ac_dir=`$as_dirname -- "$ac_file" ||
18518 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18519          X"$ac_file" : 'X\(//\)[^/]' \| \
18520          X"$ac_file" : 'X\(//\)$' \| \
18521          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18522 $as_echo X"$ac_file" |
18523     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18524             s//\1/
18525             q
18526           }
18527           /^X\(\/\/\)[^/].*/{
18528             s//\1/
18529             q
18530           }
18531           /^X\(\/\/\)$/{
18532             s//\1/
18533             q
18534           }
18535           /^X\(\/\).*/{
18536             s//\1/
18537             q
18538           }
18539           s/.*/./; q'`
18540   as_dir="$ac_dir"; as_fn_mkdir_p
18541   ac_builddir=.
18542
18543 case "$ac_dir" in
18544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18545 *)
18546   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18547   # A ".." for each directory in $ac_dir_suffix.
18548   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18549   case $ac_top_builddir_sub in
18550   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18551   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18552   esac ;;
18553 esac
18554 ac_abs_top_builddir=$ac_pwd
18555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18556 # for backward compatibility:
18557 ac_top_builddir=$ac_top_build_prefix
18558
18559 case $srcdir in
18560   .)  # We are building in place.
18561     ac_srcdir=.
18562     ac_top_srcdir=$ac_top_builddir_sub
18563     ac_abs_top_srcdir=$ac_pwd ;;
18564   [\\/]* | ?:[\\/]* )  # Absolute name.
18565     ac_srcdir=$srcdir$ac_dir_suffix;
18566     ac_top_srcdir=$srcdir
18567     ac_abs_top_srcdir=$srcdir ;;
18568   *) # Relative name.
18569     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18570     ac_top_srcdir=$ac_top_build_prefix$srcdir
18571     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18572 esac
18573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18574
18575
18576   case $ac_mode in
18577   :F)
18578   #
18579   # CONFIG_FILE
18580   #
18581
18582   case $INSTALL in
18583   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18584   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18585   esac
18586   ac_MKDIR_P=$MKDIR_P
18587   case $MKDIR_P in
18588   [\\/$]* | ?:[\\/]* ) ;;
18589   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18590   esac
18591 _ACEOF
18592
18593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18594 # If the template does not know about datarootdir, expand it.
18595 # FIXME: This hack should be removed a few years after 2.60.
18596 ac_datarootdir_hack=; ac_datarootdir_seen=
18597 ac_sed_dataroot='
18598 /datarootdir/ {
18599   p
18600   q
18601 }
18602 /@datadir@/p
18603 /@docdir@/p
18604 /@infodir@/p
18605 /@localedir@/p
18606 /@mandir@/p'
18607 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18608 *datarootdir*) ac_datarootdir_seen=yes;;
18609 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18610   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18611 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18612 _ACEOF
18613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18614   ac_datarootdir_hack='
18615   s&@datadir@&$datadir&g
18616   s&@docdir@&$docdir&g
18617   s&@infodir@&$infodir&g
18618   s&@localedir@&$localedir&g
18619   s&@mandir@&$mandir&g
18620   s&\\\${datarootdir}&$datarootdir&g' ;;
18621 esac
18622 _ACEOF
18623
18624 # Neutralize VPATH when `$srcdir' = `.'.
18625 # Shell code in configure.ac might set extrasub.
18626 # FIXME: do we really want to maintain this feature?
18627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18628 ac_sed_extra="$ac_vpsub
18629 $extrasub
18630 _ACEOF
18631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18632 :t
18633 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18634 s|@configure_input@|$ac_sed_conf_input|;t t
18635 s&@top_builddir@&$ac_top_builddir_sub&;t t
18636 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18637 s&@srcdir@&$ac_srcdir&;t t
18638 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18639 s&@top_srcdir@&$ac_top_srcdir&;t t
18640 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18641 s&@builddir@&$ac_builddir&;t t
18642 s&@abs_builddir@&$ac_abs_builddir&;t t
18643 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18644 s&@INSTALL@&$ac_INSTALL&;t t
18645 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18646 $ac_datarootdir_hack
18647 "
18648 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18649   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18650
18651 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18652   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18653   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18654       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18655   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18656 which seems to be undefined.  Please make sure it is defined" >&5
18657 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18658 which seems to be undefined.  Please make sure it is defined" >&2;}
18659
18660   rm -f "$ac_tmp/stdin"
18661   case $ac_file in
18662   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18663   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18664   esac \
18665   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18666  ;;
18667   :H)
18668   #
18669   # CONFIG_HEADER
18670   #
18671   if test x"$ac_file" != x-; then
18672     {
18673       $as_echo "/* $configure_input  */" \
18674       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18675     } >"$ac_tmp/config.h" \
18676       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18677     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18678       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18679 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18680     else
18681       rm -f "$ac_file"
18682       mv "$ac_tmp/config.h" "$ac_file" \
18683         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18684     fi
18685   else
18686     $as_echo "/* $configure_input  */" \
18687       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18688       || as_fn_error $? "could not create -" "$LINENO" 5
18689   fi
18690 # Compute "$ac_file"'s index in $config_headers.
18691 _am_arg="$ac_file"
18692 _am_stamp_count=1
18693 for _am_header in $config_headers :; do
18694   case $_am_header in
18695     $_am_arg | $_am_arg:* )
18696       break ;;
18697     * )
18698       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18699   esac
18700 done
18701 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18702 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18703          X"$_am_arg" : 'X\(//\)[^/]' \| \
18704          X"$_am_arg" : 'X\(//\)$' \| \
18705          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18706 $as_echo X"$_am_arg" |
18707     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18708             s//\1/
18709             q
18710           }
18711           /^X\(\/\/\)[^/].*/{
18712             s//\1/
18713             q
18714           }
18715           /^X\(\/\/\)$/{
18716             s//\1/
18717             q
18718           }
18719           /^X\(\/\).*/{
18720             s//\1/
18721             q
18722           }
18723           s/.*/./; q'`/stamp-h$_am_stamp_count
18724  ;;
18725
18726   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18727 $as_echo "$as_me: executing $ac_file commands" >&6;}
18728  ;;
18729   esac
18730
18731
18732   case $ac_file$ac_mode in
18733     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18734   # Older Autoconf quotes --file arguments for eval, but not when files
18735   # are listed without --file.  Let's play safe and only enable the eval
18736   # if we detect the quoting.
18737   case $CONFIG_FILES in
18738   *\'*) eval set x "$CONFIG_FILES" ;;
18739   *)   set x $CONFIG_FILES ;;
18740   esac
18741   shift
18742   for mf
18743   do
18744     # Strip MF so we end up with the name of the file.
18745     mf=`echo "$mf" | sed -e 's/:.*$//'`
18746     # Check whether this is an Automake generated Makefile or not.
18747     # We used to match only the files named 'Makefile.in', but
18748     # some people rename them; so instead we look at the file content.
18749     # Grep'ing the first line is not enough: some people post-process
18750     # each Makefile.in and add a new line on top of each file to say so.
18751     # Grep'ing the whole file is not good either: AIX grep has a line
18752     # limit of 2048, but all sed's we know have understand at least 4000.
18753     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18754       dirpart=`$as_dirname -- "$mf" ||
18755 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18756          X"$mf" : 'X\(//\)[^/]' \| \
18757          X"$mf" : 'X\(//\)$' \| \
18758          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18759 $as_echo X"$mf" |
18760     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18761             s//\1/
18762             q
18763           }
18764           /^X\(\/\/\)[^/].*/{
18765             s//\1/
18766             q
18767           }
18768           /^X\(\/\/\)$/{
18769             s//\1/
18770             q
18771           }
18772           /^X\(\/\).*/{
18773             s//\1/
18774             q
18775           }
18776           s/.*/./; q'`
18777     else
18778       continue
18779     fi
18780     # Extract the definition of DEPDIR, am__include, and am__quote
18781     # from the Makefile without running 'make'.
18782     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18783     test -z "$DEPDIR" && continue
18784     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18785     test -z "$am__include" && continue
18786     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18787     # Find all dependency output files, they are included files with
18788     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18789     # simplest approach to changing $(DEPDIR) to its actual value in the
18790     # expansion.
18791     for file in `sed -n "
18792       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18793          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18794       # Make sure the directory exists.
18795       test -f "$dirpart/$file" && continue
18796       fdir=`$as_dirname -- "$file" ||
18797 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18798          X"$file" : 'X\(//\)[^/]' \| \
18799          X"$file" : 'X\(//\)$' \| \
18800          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18801 $as_echo X"$file" |
18802     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18803             s//\1/
18804             q
18805           }
18806           /^X\(\/\/\)[^/].*/{
18807             s//\1/
18808             q
18809           }
18810           /^X\(\/\/\)$/{
18811             s//\1/
18812             q
18813           }
18814           /^X\(\/\).*/{
18815             s//\1/
18816             q
18817           }
18818           s/.*/./; q'`
18819       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18820       # echo "creating $dirpart/$file"
18821       echo '# dummy' > "$dirpart/$file"
18822     done
18823   done
18824 }
18825  ;;
18826     "libtool":C)
18827
18828     # See if we are running on zsh, and set the options which allow our
18829     # commands through without removal of \ escapes.
18830     if test -n "${ZSH_VERSION+set}" ; then
18831       setopt NO_GLOB_SUBST
18832     fi
18833
18834     cfgfile="${ofile}T"
18835     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18836     $RM "$cfgfile"
18837
18838     cat <<_LT_EOF >> "$cfgfile"
18839 #! $SHELL
18840
18841 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18842 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18843 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18844 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18845 #
18846 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18847 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18848 #                 Foundation, Inc.
18849 #   Written by Gordon Matzigkeit, 1996
18850 #
18851 #   This file is part of GNU Libtool.
18852 #
18853 # GNU Libtool is free software; you can redistribute it and/or
18854 # modify it under the terms of the GNU General Public License as
18855 # published by the Free Software Foundation; either version 2 of
18856 # the License, or (at your option) any later version.
18857 #
18858 # As a special exception to the GNU General Public License,
18859 # if you distribute this file as part of a program or library that
18860 # is built using GNU Libtool, you may include this file under the
18861 # same distribution terms that you use for the rest of that program.
18862 #
18863 # GNU Libtool is distributed in the hope that it will be useful,
18864 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18865 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18866 # GNU General Public License for more details.
18867 #
18868 # You should have received a copy of the GNU General Public License
18869 # along with GNU Libtool; see the file COPYING.  If not, a copy
18870 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18871 # obtained by writing to the Free Software Foundation, Inc.,
18872 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18873
18874
18875 # The names of the tagged configurations supported by this script.
18876 available_tags=""
18877
18878 # ### BEGIN LIBTOOL CONFIG
18879
18880 # Which release of libtool.m4 was used?
18881 macro_version=$macro_version
18882 macro_revision=$macro_revision
18883
18884 # Assembler program.
18885 AS=$lt_AS
18886
18887 # DLL creation program.
18888 DLLTOOL=$lt_DLLTOOL
18889
18890 # Object dumper program.
18891 OBJDUMP=$lt_OBJDUMP
18892
18893 # Whether or not to build static libraries.
18894 build_old_libs=$enable_static
18895
18896 # Whether or not to build shared libraries.
18897 build_libtool_libs=$enable_shared
18898
18899 # What type of objects to build.
18900 pic_mode=$pic_mode
18901
18902 # Whether or not to optimize for fast installation.
18903 fast_install=$enable_fast_install
18904
18905 # Shell to use when invoking shell scripts.
18906 SHELL=$lt_SHELL
18907
18908 # An echo program that protects backslashes.
18909 ECHO=$lt_ECHO
18910
18911 # The PATH separator for the build system.
18912 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18913
18914 # The host system.
18915 host_alias=$host_alias
18916 host=$host
18917 host_os=$host_os
18918
18919 # The build system.
18920 build_alias=$build_alias
18921 build=$build
18922 build_os=$build_os
18923
18924 # A sed program that does not truncate output.
18925 SED=$lt_SED
18926
18927 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18928 Xsed="\$SED -e 1s/^X//"
18929
18930 # A grep program that handles long lines.
18931 GREP=$lt_GREP
18932
18933 # An ERE matcher.
18934 EGREP=$lt_EGREP
18935
18936 # A literal string matcher.
18937 FGREP=$lt_FGREP
18938
18939 # A BSD- or MS-compatible name lister.
18940 NM=$lt_NM
18941
18942 # Whether we need soft or hard links.
18943 LN_S=$lt_LN_S
18944
18945 # What is the maximum length of a command?
18946 max_cmd_len=$max_cmd_len
18947
18948 # Object file suffix (normally "o").
18949 objext=$ac_objext
18950
18951 # Executable file suffix (normally "").
18952 exeext=$exeext
18953
18954 # whether the shell understands "unset".
18955 lt_unset=$lt_unset
18956
18957 # turn spaces into newlines.
18958 SP2NL=$lt_lt_SP2NL
18959
18960 # turn newlines into spaces.
18961 NL2SP=$lt_lt_NL2SP
18962
18963 # convert \$build file names to \$host format.
18964 to_host_file_cmd=$lt_cv_to_host_file_cmd
18965
18966 # convert \$build files to toolchain format.
18967 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18968
18969 # Method to check whether dependent libraries are shared objects.
18970 deplibs_check_method=$lt_deplibs_check_method
18971
18972 # Command to use when deplibs_check_method = "file_magic".
18973 file_magic_cmd=$lt_file_magic_cmd
18974
18975 # How to find potential files when deplibs_check_method = "file_magic".
18976 file_magic_glob=$lt_file_magic_glob
18977
18978 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18979 want_nocaseglob=$lt_want_nocaseglob
18980
18981 # Command to associate shared and link libraries.
18982 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18983
18984 # The archiver.
18985 AR=$lt_AR
18986
18987 # Flags to create an archive.
18988 AR_FLAGS=$lt_AR_FLAGS
18989
18990 # How to feed a file listing to the archiver.
18991 archiver_list_spec=$lt_archiver_list_spec
18992
18993 # A symbol stripping program.
18994 STRIP=$lt_STRIP
18995
18996 # Commands used to install an old-style archive.
18997 RANLIB=$lt_RANLIB
18998 old_postinstall_cmds=$lt_old_postinstall_cmds
18999 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19000
19001 # Whether to use a lock for old archive extraction.
19002 lock_old_archive_extraction=$lock_old_archive_extraction
19003
19004 # A C compiler.
19005 LTCC=$lt_CC
19006
19007 # LTCC compiler flags.
19008 LTCFLAGS=$lt_CFLAGS
19009
19010 # Take the output of nm and produce a listing of raw symbols and C names.
19011 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19012
19013 # Transform the output of nm in a proper C declaration.
19014 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19015
19016 # Transform the output of nm in a C name address pair.
19017 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19018
19019 # Transform the output of nm in a C name address pair when lib prefix is needed.
19020 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19021
19022 # Specify filename containing input files for \$NM.
19023 nm_file_list_spec=$lt_nm_file_list_spec
19024
19025 # The root where to search for dependent libraries,and in which our libraries should be installed.
19026 lt_sysroot=$lt_sysroot
19027
19028 # The name of the directory that contains temporary libtool files.
19029 objdir=$objdir
19030
19031 # Used to examine libraries when file_magic_cmd begins with "file".
19032 MAGIC_CMD=$MAGIC_CMD
19033
19034 # Must we lock files when doing compilation?
19035 need_locks=$lt_need_locks
19036
19037 # Manifest tool.
19038 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19039
19040 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19041 DSYMUTIL=$lt_DSYMUTIL
19042
19043 # Tool to change global to local symbols on Mac OS X.
19044 NMEDIT=$lt_NMEDIT
19045
19046 # Tool to manipulate fat objects and archives on Mac OS X.
19047 LIPO=$lt_LIPO
19048
19049 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19050 OTOOL=$lt_OTOOL
19051
19052 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19053 OTOOL64=$lt_OTOOL64
19054
19055 # Old archive suffix (normally "a").
19056 libext=$libext
19057
19058 # Shared library suffix (normally ".so").
19059 shrext_cmds=$lt_shrext_cmds
19060
19061 # The commands to extract the exported symbol list from a shared archive.
19062 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19063
19064 # Variables whose values should be saved in libtool wrapper scripts and
19065 # restored at link time.
19066 variables_saved_for_relink=$lt_variables_saved_for_relink
19067
19068 # Do we need the "lib" prefix for modules?
19069 need_lib_prefix=$need_lib_prefix
19070
19071 # Do we need a version for libraries?
19072 need_version=$need_version
19073
19074 # Library versioning type.
19075 version_type=$version_type
19076
19077 # Shared library runtime path variable.
19078 runpath_var=$runpath_var
19079
19080 # Shared library path variable.
19081 shlibpath_var=$shlibpath_var
19082
19083 # Is shlibpath searched before the hard-coded library search path?
19084 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19085
19086 # Format of library name prefix.
19087 libname_spec=$lt_libname_spec
19088
19089 # List of archive names.  First name is the real one, the rest are links.
19090 # The last name is the one that the linker finds with -lNAME
19091 library_names_spec=$lt_library_names_spec
19092
19093 # The coded name of the library, if different from the real name.
19094 soname_spec=$lt_soname_spec
19095
19096 # Permission mode override for installation of shared libraries.
19097 install_override_mode=$lt_install_override_mode
19098
19099 # Command to use after installation of a shared archive.
19100 postinstall_cmds=$lt_postinstall_cmds
19101
19102 # Command to use after uninstallation of a shared archive.
19103 postuninstall_cmds=$lt_postuninstall_cmds
19104
19105 # Commands used to finish a libtool library installation in a directory.
19106 finish_cmds=$lt_finish_cmds
19107
19108 # As "finish_cmds", except a single script fragment to be evaled but
19109 # not shown.
19110 finish_eval=$lt_finish_eval
19111
19112 # Whether we should hardcode library paths into libraries.
19113 hardcode_into_libs=$hardcode_into_libs
19114
19115 # Compile-time system search path for libraries.
19116 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19117
19118 # Run-time system search path for libraries.
19119 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19120
19121 # Whether dlopen is supported.
19122 dlopen_support=$enable_dlopen
19123
19124 # Whether dlopen of programs is supported.
19125 dlopen_self=$enable_dlopen_self
19126
19127 # Whether dlopen of statically linked programs is supported.
19128 dlopen_self_static=$enable_dlopen_self_static
19129
19130 # Commands to strip libraries.
19131 old_striplib=$lt_old_striplib
19132 striplib=$lt_striplib
19133
19134
19135 # The linker used to build libraries.
19136 LD=$lt_LD
19137
19138 # How to create reloadable object files.
19139 reload_flag=$lt_reload_flag
19140 reload_cmds=$lt_reload_cmds
19141
19142 # Commands used to build an old-style archive.
19143 old_archive_cmds=$lt_old_archive_cmds
19144
19145 # A language specific compiler.
19146 CC=$lt_compiler
19147
19148 # Is the compiler the GNU compiler?
19149 with_gcc=$GCC
19150
19151 # Compiler flag to turn off builtin functions.
19152 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19153
19154 # Additional compiler flags for building library objects.
19155 pic_flag=$lt_lt_prog_compiler_pic
19156
19157 # How to pass a linker flag through the compiler.
19158 wl=$lt_lt_prog_compiler_wl
19159
19160 # Compiler flag to prevent dynamic linking.
19161 link_static_flag=$lt_lt_prog_compiler_static
19162
19163 # Does compiler simultaneously support -c and -o options?
19164 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19165
19166 # Whether or not to add -lc for building shared libraries.
19167 build_libtool_need_lc=$archive_cmds_need_lc
19168
19169 # Whether or not to disallow shared libs when runtime libs are static.
19170 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19171
19172 # Compiler flag to allow reflexive dlopens.
19173 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19174
19175 # Compiler flag to generate shared objects directly from archives.
19176 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19177
19178 # Whether the compiler copes with passing no objects directly.
19179 compiler_needs_object=$lt_compiler_needs_object
19180
19181 # Create an old-style archive from a shared archive.
19182 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19183
19184 # Create a temporary old-style archive to link instead of a shared archive.
19185 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19186
19187 # Commands used to build a shared archive.
19188 archive_cmds=$lt_archive_cmds
19189 archive_expsym_cmds=$lt_archive_expsym_cmds
19190
19191 # Commands used to build a loadable module if different from building
19192 # a shared archive.
19193 module_cmds=$lt_module_cmds
19194 module_expsym_cmds=$lt_module_expsym_cmds
19195
19196 # Whether we are building with GNU ld or not.
19197 with_gnu_ld=$lt_with_gnu_ld
19198
19199 # Flag that allows shared libraries with undefined symbols to be built.
19200 allow_undefined_flag=$lt_allow_undefined_flag
19201
19202 # Flag that enforces no undefined symbols.
19203 no_undefined_flag=$lt_no_undefined_flag
19204
19205 # Flag to hardcode \$libdir into a binary during linking.
19206 # This must work even if \$libdir does not exist
19207 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19208
19209 # Whether we need a single "-rpath" flag with a separated argument.
19210 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19211
19212 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19213 # DIR into the resulting binary.
19214 hardcode_direct=$hardcode_direct
19215
19216 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19217 # DIR into the resulting binary and the resulting library dependency is
19218 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19219 # library is relocated.
19220 hardcode_direct_absolute=$hardcode_direct_absolute
19221
19222 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19223 # into the resulting binary.
19224 hardcode_minus_L=$hardcode_minus_L
19225
19226 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19227 # into the resulting binary.
19228 hardcode_shlibpath_var=$hardcode_shlibpath_var
19229
19230 # Set to "yes" if building a shared library automatically hardcodes DIR
19231 # into the library and all subsequent libraries and executables linked
19232 # against it.
19233 hardcode_automatic=$hardcode_automatic
19234
19235 # Set to yes if linker adds runtime paths of dependent libraries
19236 # to runtime path list.
19237 inherit_rpath=$inherit_rpath
19238
19239 # Whether libtool must link a program against all its dependency libraries.
19240 link_all_deplibs=$link_all_deplibs
19241
19242 # Set to "yes" if exported symbols are required.
19243 always_export_symbols=$always_export_symbols
19244
19245 # The commands to list exported symbols.
19246 export_symbols_cmds=$lt_export_symbols_cmds
19247
19248 # Symbols that should not be listed in the preloaded symbols.
19249 exclude_expsyms=$lt_exclude_expsyms
19250
19251 # Symbols that must always be exported.
19252 include_expsyms=$lt_include_expsyms
19253
19254 # Commands necessary for linking programs (against libraries) with templates.
19255 prelink_cmds=$lt_prelink_cmds
19256
19257 # Commands necessary for finishing linking programs.
19258 postlink_cmds=$lt_postlink_cmds
19259
19260 # Specify filename containing input files.
19261 file_list_spec=$lt_file_list_spec
19262
19263 # How to hardcode a shared library path into an executable.
19264 hardcode_action=$hardcode_action
19265
19266 # ### END LIBTOOL CONFIG
19267
19268 _LT_EOF
19269
19270   case $host_os in
19271   aix3*)
19272     cat <<\_LT_EOF >> "$cfgfile"
19273 # AIX sometimes has problems with the GCC collect2 program.  For some
19274 # reason, if we set the COLLECT_NAMES environment variable, the problems
19275 # vanish in a puff of smoke.
19276 if test "X${COLLECT_NAMES+set}" != Xset; then
19277   COLLECT_NAMES=
19278   export COLLECT_NAMES
19279 fi
19280 _LT_EOF
19281     ;;
19282   esac
19283
19284
19285 ltmain="$ac_aux_dir/ltmain.sh"
19286
19287
19288   # We use sed instead of cat because bash on DJGPP gets confused if
19289   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19290   # text mode, it properly converts lines to CR/LF.  This bash problem
19291   # is reportedly fixed, but why not run on old versions too?
19292   sed '$q' "$ltmain" >> "$cfgfile" \
19293      || (rm -f "$cfgfile"; exit 1)
19294
19295   if test x"$xsi_shell" = xyes; then
19296   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19297 func_dirname ()\
19298 {\
19299 \    case ${1} in\
19300 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19301 \      *  ) func_dirname_result="${3}" ;;\
19302 \    esac\
19303 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19304   && mv -f "$cfgfile.tmp" "$cfgfile" \
19305     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19306 test 0 -eq $? || _lt_function_replace_fail=:
19307
19308
19309   sed -e '/^func_basename ()$/,/^} # func_basename /c\
19310 func_basename ()\
19311 {\
19312 \    func_basename_result="${1##*/}"\
19313 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19314   && mv -f "$cfgfile.tmp" "$cfgfile" \
19315     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19316 test 0 -eq $? || _lt_function_replace_fail=:
19317
19318
19319   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19320 func_dirname_and_basename ()\
19321 {\
19322 \    case ${1} in\
19323 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19324 \      *  ) func_dirname_result="${3}" ;;\
19325 \    esac\
19326 \    func_basename_result="${1##*/}"\
19327 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19328   && mv -f "$cfgfile.tmp" "$cfgfile" \
19329     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19330 test 0 -eq $? || _lt_function_replace_fail=:
19331
19332
19333   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19334 func_stripname ()\
19335 {\
19336 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19337 \    # positional parameters, so assign one to ordinary parameter first.\
19338 \    func_stripname_result=${3}\
19339 \    func_stripname_result=${func_stripname_result#"${1}"}\
19340 \    func_stripname_result=${func_stripname_result%"${2}"}\
19341 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19342   && mv -f "$cfgfile.tmp" "$cfgfile" \
19343     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19344 test 0 -eq $? || _lt_function_replace_fail=:
19345
19346
19347   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19348 func_split_long_opt ()\
19349 {\
19350 \    func_split_long_opt_name=${1%%=*}\
19351 \    func_split_long_opt_arg=${1#*=}\
19352 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19353   && mv -f "$cfgfile.tmp" "$cfgfile" \
19354     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19355 test 0 -eq $? || _lt_function_replace_fail=:
19356
19357
19358   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19359 func_split_short_opt ()\
19360 {\
19361 \    func_split_short_opt_arg=${1#??}\
19362 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19363 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19364   && mv -f "$cfgfile.tmp" "$cfgfile" \
19365     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19366 test 0 -eq $? || _lt_function_replace_fail=:
19367
19368
19369   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19370 func_lo2o ()\
19371 {\
19372 \    case ${1} in\
19373 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19374 \      *)    func_lo2o_result=${1} ;;\
19375 \    esac\
19376 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19377   && mv -f "$cfgfile.tmp" "$cfgfile" \
19378     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19379 test 0 -eq $? || _lt_function_replace_fail=:
19380
19381
19382   sed -e '/^func_xform ()$/,/^} # func_xform /c\
19383 func_xform ()\
19384 {\
19385     func_xform_result=${1%.*}.lo\
19386 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19387   && mv -f "$cfgfile.tmp" "$cfgfile" \
19388     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19389 test 0 -eq $? || _lt_function_replace_fail=:
19390
19391
19392   sed -e '/^func_arith ()$/,/^} # func_arith /c\
19393 func_arith ()\
19394 {\
19395     func_arith_result=$(( $* ))\
19396 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19397   && mv -f "$cfgfile.tmp" "$cfgfile" \
19398     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19399 test 0 -eq $? || _lt_function_replace_fail=:
19400
19401
19402   sed -e '/^func_len ()$/,/^} # func_len /c\
19403 func_len ()\
19404 {\
19405     func_len_result=${#1}\
19406 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19407   && mv -f "$cfgfile.tmp" "$cfgfile" \
19408     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19409 test 0 -eq $? || _lt_function_replace_fail=:
19410
19411 fi
19412
19413 if test x"$lt_shell_append" = xyes; then
19414   sed -e '/^func_append ()$/,/^} # func_append /c\
19415 func_append ()\
19416 {\
19417     eval "${1}+=\\${2}"\
19418 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19419   && mv -f "$cfgfile.tmp" "$cfgfile" \
19420     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19421 test 0 -eq $? || _lt_function_replace_fail=:
19422
19423
19424   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19425 func_append_quoted ()\
19426 {\
19427 \    func_quote_for_eval "${2}"\
19428 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19429 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19430   && mv -f "$cfgfile.tmp" "$cfgfile" \
19431     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19432 test 0 -eq $? || _lt_function_replace_fail=:
19433
19434
19435   # Save a `func_append' function call where possible by direct use of '+='
19436   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19437     && mv -f "$cfgfile.tmp" "$cfgfile" \
19438       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19439   test 0 -eq $? || _lt_function_replace_fail=:
19440 else
19441   # Save a `func_append' function call even when '+=' is not available
19442   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19443     && mv -f "$cfgfile.tmp" "$cfgfile" \
19444       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19445   test 0 -eq $? || _lt_function_replace_fail=:
19446 fi
19447
19448 if test x"$_lt_function_replace_fail" = x":"; then
19449   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19450 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19451 fi
19452
19453
19454    mv -f "$cfgfile" "$ofile" ||
19455     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19456   chmod +x "$ofile"
19457
19458  ;;
19459
19460   esac
19461 done # for ac_tag
19462
19463
19464 as_fn_exit 0
19465 _ACEOF
19466 ac_clean_files=$ac_clean_files_save
19467
19468 test $ac_write_fail = 0 ||
19469   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19470
19471
19472 # configure is writing to config.log, and then calls config.status.
19473 # config.status does its own redirection, appending to config.log.
19474 # Unfortunately, on DOS this fails, as config.log is still kept open
19475 # by configure, so config.status won't be able to write to it; its
19476 # output is simply discarded.  So we exec the FD to /dev/null,
19477 # effectively closing config.log, so it can be properly (re)opened and
19478 # appended to by config.status.  When coming back to configure, we
19479 # need to make the FD available again.
19480 if test "$no_create" != yes; then
19481   ac_cs_success=:
19482   ac_config_status_args=
19483   test "$silent" = yes &&
19484     ac_config_status_args="$ac_config_status_args --quiet"
19485   exec 5>/dev/null
19486   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19487   exec 5>>config.log
19488   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19489   # would make configure fail if this is the last instruction.
19490   $ac_cs_success || as_fn_exit 1
19491 fi
19492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19493   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19494 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19495 fi
19496
19497
19498 echo "
19499
19500 Configuration
19501         Version                    : ${VERSION}
19502         Source code location       : ${srcdir}
19503         Prefix                     : ${prefix}
19504         Compiler                   : ${CC}
19505         CGroups example            : ${HAVE_LIBCGROUP}
19506
19507 gst-rtsp-server configured. Type 'make' to build.
19508 "