Update Changelog
[profile/ivi/rygel-gst-0-10-media-engine.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for rygel-gst-0-10-media-engine 1.17.4.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
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 test \$(( 1 + 1 )) = 2 || exit 1
202
203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207     PATH=/empty FPATH=/empty; export PATH FPATH
208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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=Rygel
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='rygel-gst-0-10-media-engine'
593 PACKAGE_TARNAME='rygel-gst-0-10-media-engine'
594 PACKAGE_VERSION='1.17.4'
595 PACKAGE_STRING='rygel-gst-0-10-media-engine 1.17.4'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel'
597 PACKAGE_URL='http://live.gnome.org/Rygel'
598
599 ac_unique_file="src/rygel-gst-utils.c"
600 ac_header_list=
601 # Factoring default headers for most tests.
602 ac_includes_default="\
603 #include <stdio.h>
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
606 #endif
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
609 #endif
610 #ifdef STDC_HEADERS
611 # include <stdlib.h>
612 # include <stddef.h>
613 #else
614 # ifdef HAVE_STDLIB_H
615 #  include <stdlib.h>
616 # endif
617 #endif
618 #ifdef HAVE_STRING_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
620 #  include <memory.h>
621 # endif
622 # include <string.h>
623 #endif
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
626 #endif
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
629 #endif
630 #ifdef HAVE_STDINT_H
631 # include <stdint.h>
632 #endif
633 #ifdef HAVE_UNISTD_H
634 # include <unistd.h>
635 #endif"
636
637 ac_subst_vars='am__EXEEXT_FALSE
638 am__EXEEXT_TRUE
639 LTLIBOBJS
640 LIBOBJS
641 RYGEL_ENGINE_DIR
642 RYGEL_PLUGIN_LINKER_FLAGS
643 AM_BACKSLASH
644 AM_DEFAULT_V
645 AM_V
646 ALL_LINGUAS
647 INTLTOOL_PERL
648 MSGMERGE
649 INTLTOOL_POLICY_RULE
650 INTLTOOL_SERVICE_RULE
651 INTLTOOL_THEME_RULE
652 INTLTOOL_SCHEMAS_RULE
653 INTLTOOL_CAVES_RULE
654 INTLTOOL_XML_NOMERGE_RULE
655 INTLTOOL_XML_RULE
656 INTLTOOL_KBD_RULE
657 INTLTOOL_XAM_RULE
658 INTLTOOL_UI_RULE
659 INTLTOOL_SOUNDLIST_RULE
660 INTLTOOL_SHEET_RULE
661 INTLTOOL_SERVER_RULE
662 INTLTOOL_PONG_RULE
663 INTLTOOL_OAF_RULE
664 INTLTOOL_PROP_RULE
665 INTLTOOL_KEYS_RULE
666 INTLTOOL_DIRECTORY_RULE
667 INTLTOOL_DESKTOP_RULE
668 intltool__v_merge_options_0
669 intltool__v_merge_options_
670 INTLTOOL_V_MERGE_OPTIONS
671 INTLTOOL__v_MERGE_0
672 INTLTOOL__v_MERGE_
673 INTLTOOL_V_MERGE
674 AM_DEFAULT_VERBOSITY
675 INTLTOOL_EXTRACT
676 INTLTOOL_MERGE
677 INTLTOOL_UPDATE
678 MKINSTALLDIRS
679 POSUB
680 POFILES
681 PO_IN_DATADIR_FALSE
682 PO_IN_DATADIR_TRUE
683 INTLLIBS
684 INSTOBJEXT
685 GMOFILES
686 DATADIRNAME
687 CATOBJEXT
688 CATALOGS
689 XGETTEXT
690 GMSGFMT
691 MSGFMT_OPTS
692 MSGFMT
693 USE_NLS
694 GETTEXT_PACKAGE
695 DEPS_LIBS
696 DEPS_CFLAGS
697 PKG_CONFIG_LIBDIR
698 PKG_CONFIG_PATH
699 PKG_CONFIG
700 OTOOL64
701 OTOOL
702 LIPO
703 NMEDIT
704 DSYMUTIL
705 MANIFEST_TOOL
706 RANLIB
707 ac_ct_AR
708 AR
709 DLLTOOL
710 OBJDUMP
711 LN_S
712 NM
713 ac_ct_DUMPBIN
714 DUMPBIN
715 LD
716 FGREP
717 SED
718 host_os
719 host_vendor
720 host_cpu
721 host
722 build_os
723 build_vendor
724 build_cpu
725 build
726 LIBTOOL
727 MAINT
728 MAINTAINER_MODE_FALSE
729 MAINTAINER_MODE_TRUE
730 am__fastdepCC_FALSE
731 am__fastdepCC_TRUE
732 CCDEPMODE
733 am__nodep
734 AMDEPBACKSLASH
735 AMDEP_FALSE
736 AMDEP_TRUE
737 am__quote
738 am__include
739 DEPDIR
740 am__untar
741 am__tar
742 AMTAR
743 am__leading_dot
744 SET_MAKE
745 AWK
746 mkdir_p
747 MKDIR_P
748 INSTALL_STRIP_PROGRAM
749 STRIP
750 install_sh
751 MAKEINFO
752 AUTOHEADER
753 AUTOMAKE
754 AUTOCONF
755 ACLOCAL
756 PACKAGE
757 CYGPATH_W
758 am__isrc
759 INSTALL_DATA
760 INSTALL_SCRIPT
761 INSTALL_PROGRAM
762 VERSION
763 EGREP
764 GREP
765 CPP
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
772 CC
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 localstatedir
793 sharedstatedir
794 sysconfdir
795 datadir
796 datarootdir
797 libexecdir
798 sbindir
799 bindir
800 program_transform_name
801 prefix
802 exec_prefix
803 PACKAGE_URL
804 PACKAGE_BUGREPORT
805 PACKAGE_STRING
806 PACKAGE_VERSION
807 PACKAGE_TARNAME
808 PACKAGE_NAME
809 PATH_SEPARATOR
810 SHELL'
811 ac_subst_files=''
812 ac_user_opts='
813 enable_option_checking
814 enable_dependency_tracking
815 enable_maintainer_mode
816 enable_static
817 enable_shared
818 with_pic
819 enable_fast_install
820 with_gnu_ld
821 with_sysroot
822 enable_libtool_lock
823 enable_debug
824 enable_strict_cc
825 enable_nls
826 enable_silent_rules
827 '
828       ac_precious_vars='build_alias
829 host_alias
830 target_alias
831 CC
832 CFLAGS
833 LDFLAGS
834 LIBS
835 CPPFLAGS
836 CPP
837 PKG_CONFIG
838 PKG_CONFIG_PATH
839 PKG_CONFIG_LIBDIR
840 DEPS_CFLAGS
841 DEPS_LIBS'
842
843
844 # Initialize some variables set by options.
845 ac_init_help=
846 ac_init_version=false
847 ac_unrecognized_opts=
848 ac_unrecognized_sep=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
851 cache_file=/dev/null
852 exec_prefix=NONE
853 no_create=
854 no_recursion=
855 prefix=NONE
856 program_prefix=NONE
857 program_suffix=NONE
858 program_transform_name=s,x,x,
859 silent=
860 site=
861 srcdir=
862 verbose=
863 x_includes=NONE
864 x_libraries=NONE
865
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir='${exec_prefix}/bin'
873 sbindir='${exec_prefix}/sbin'
874 libexecdir='${exec_prefix}/libexec'
875 datarootdir='${prefix}/share'
876 datadir='${datarootdir}'
877 sysconfdir='${prefix}/etc'
878 sharedstatedir='${prefix}/com'
879 localstatedir='${prefix}/var'
880 includedir='${prefix}/include'
881 oldincludedir='/usr/include'
882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
883 infodir='${datarootdir}/info'
884 htmldir='${docdir}'
885 dvidir='${docdir}'
886 pdfdir='${docdir}'
887 psdir='${docdir}'
888 libdir='${exec_prefix}/lib'
889 localedir='${datarootdir}/locale'
890 mandir='${datarootdir}/man'
891
892 ac_prev=
893 ac_dashdash=
894 for ac_option
895 do
896   # If the previous option needs an argument, assign it.
897   if test -n "$ac_prev"; then
898     eval $ac_prev=\$ac_option
899     ac_prev=
900     continue
901   fi
902
903   case $ac_option in
904   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905   *=)   ac_optarg= ;;
906   *)    ac_optarg=yes ;;
907   esac
908
909   # Accept the important Cygnus configure options, so we can diagnose typos.
910
911   case $ac_dashdash$ac_option in
912   --)
913     ac_dashdash=yes ;;
914
915   -bindir | --bindir | --bindi | --bind | --bin | --bi)
916     ac_prev=bindir ;;
917   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
918     bindir=$ac_optarg ;;
919
920   -build | --build | --buil | --bui | --bu)
921     ac_prev=build_alias ;;
922   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
923     build_alias=$ac_optarg ;;
924
925   -cache-file | --cache-file | --cache-fil | --cache-fi \
926   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
927     ac_prev=cache_file ;;
928   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
929   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
930     cache_file=$ac_optarg ;;
931
932   --config-cache | -C)
933     cache_file=config.cache ;;
934
935   -datadir | --datadir | --datadi | --datad)
936     ac_prev=datadir ;;
937   -datadir=* | --datadir=* | --datadi=* | --datad=*)
938     datadir=$ac_optarg ;;
939
940   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
941   | --dataroo | --dataro | --datar)
942     ac_prev=datarootdir ;;
943   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
944   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
945     datarootdir=$ac_optarg ;;
946
947   -disable-* | --disable-*)
948     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949     # Reject names that are not valid shell variable names.
950     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951       as_fn_error $? "invalid feature name: $ac_useropt"
952     ac_useropt_orig=$ac_useropt
953     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954     case $ac_user_opts in
955       *"
956 "enable_$ac_useropt"
957 "*) ;;
958       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959          ac_unrecognized_sep=', ';;
960     esac
961     eval enable_$ac_useropt=no ;;
962
963   -docdir | --docdir | --docdi | --doc | --do)
964     ac_prev=docdir ;;
965   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
966     docdir=$ac_optarg ;;
967
968   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
969     ac_prev=dvidir ;;
970   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
971     dvidir=$ac_optarg ;;
972
973   -enable-* | --enable-*)
974     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975     # Reject names that are not valid shell variable names.
976     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977       as_fn_error $? "invalid feature name: $ac_useropt"
978     ac_useropt_orig=$ac_useropt
979     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980     case $ac_user_opts in
981       *"
982 "enable_$ac_useropt"
983 "*) ;;
984       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985          ac_unrecognized_sep=', ';;
986     esac
987     eval enable_$ac_useropt=\$ac_optarg ;;
988
989   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
990   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
991   | --exec | --exe | --ex)
992     ac_prev=exec_prefix ;;
993   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
994   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
995   | --exec=* | --exe=* | --ex=*)
996     exec_prefix=$ac_optarg ;;
997
998   -gas | --gas | --ga | --g)
999     # Obsolete; use --with-gas.
1000     with_gas=yes ;;
1001
1002   -help | --help | --hel | --he | -h)
1003     ac_init_help=long ;;
1004   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1005     ac_init_help=recursive ;;
1006   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1007     ac_init_help=short ;;
1008
1009   -host | --host | --hos | --ho)
1010     ac_prev=host_alias ;;
1011   -host=* | --host=* | --hos=* | --ho=*)
1012     host_alias=$ac_optarg ;;
1013
1014   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1015     ac_prev=htmldir ;;
1016   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1017   | --ht=*)
1018     htmldir=$ac_optarg ;;
1019
1020   -includedir | --includedir | --includedi | --included | --include \
1021   | --includ | --inclu | --incl | --inc)
1022     ac_prev=includedir ;;
1023   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1024   | --includ=* | --inclu=* | --incl=* | --inc=*)
1025     includedir=$ac_optarg ;;
1026
1027   -infodir | --infodir | --infodi | --infod | --info | --inf)
1028     ac_prev=infodir ;;
1029   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1030     infodir=$ac_optarg ;;
1031
1032   -libdir | --libdir | --libdi | --libd)
1033     ac_prev=libdir ;;
1034   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1035     libdir=$ac_optarg ;;
1036
1037   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1038   | --libexe | --libex | --libe)
1039     ac_prev=libexecdir ;;
1040   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1041   | --libexe=* | --libex=* | --libe=*)
1042     libexecdir=$ac_optarg ;;
1043
1044   -localedir | --localedir | --localedi | --localed | --locale)
1045     ac_prev=localedir ;;
1046   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1047     localedir=$ac_optarg ;;
1048
1049   -localstatedir | --localstatedir | --localstatedi | --localstated \
1050   | --localstate | --localstat | --localsta | --localst | --locals)
1051     ac_prev=localstatedir ;;
1052   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1053   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1054     localstatedir=$ac_optarg ;;
1055
1056   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1057     ac_prev=mandir ;;
1058   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1059     mandir=$ac_optarg ;;
1060
1061   -nfp | --nfp | --nf)
1062     # Obsolete; use --without-fp.
1063     with_fp=no ;;
1064
1065   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1066   | --no-cr | --no-c | -n)
1067     no_create=yes ;;
1068
1069   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1070   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071     no_recursion=yes ;;
1072
1073   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1074   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1075   | --oldin | --oldi | --old | --ol | --o)
1076     ac_prev=oldincludedir ;;
1077   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1078   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1079   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1080     oldincludedir=$ac_optarg ;;
1081
1082   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1083     ac_prev=prefix ;;
1084   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1085     prefix=$ac_optarg ;;
1086
1087   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1088   | --program-pre | --program-pr | --program-p)
1089     ac_prev=program_prefix ;;
1090   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1091   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1092     program_prefix=$ac_optarg ;;
1093
1094   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1095   | --program-suf | --program-su | --program-s)
1096     ac_prev=program_suffix ;;
1097   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1098   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1099     program_suffix=$ac_optarg ;;
1100
1101   -program-transform-name | --program-transform-name \
1102   | --program-transform-nam | --program-transform-na \
1103   | --program-transform-n | --program-transform- \
1104   | --program-transform | --program-transfor \
1105   | --program-transfo | --program-transf \
1106   | --program-trans | --program-tran \
1107   | --progr-tra | --program-tr | --program-t)
1108     ac_prev=program_transform_name ;;
1109   -program-transform-name=* | --program-transform-name=* \
1110   | --program-transform-nam=* | --program-transform-na=* \
1111   | --program-transform-n=* | --program-transform-=* \
1112   | --program-transform=* | --program-transfor=* \
1113   | --program-transfo=* | --program-transf=* \
1114   | --program-trans=* | --program-tran=* \
1115   | --progr-tra=* | --program-tr=* | --program-t=*)
1116     program_transform_name=$ac_optarg ;;
1117
1118   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1119     ac_prev=pdfdir ;;
1120   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1121     pdfdir=$ac_optarg ;;
1122
1123   -psdir | --psdir | --psdi | --psd | --ps)
1124     ac_prev=psdir ;;
1125   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126     psdir=$ac_optarg ;;
1127
1128   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1129   | -silent | --silent | --silen | --sile | --sil)
1130     silent=yes ;;
1131
1132   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1133     ac_prev=sbindir ;;
1134   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1135   | --sbi=* | --sb=*)
1136     sbindir=$ac_optarg ;;
1137
1138   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1139   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1140   | --sharedst | --shareds | --shared | --share | --shar \
1141   | --sha | --sh)
1142     ac_prev=sharedstatedir ;;
1143   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1144   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1145   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1146   | --sha=* | --sh=*)
1147     sharedstatedir=$ac_optarg ;;
1148
1149   -site | --site | --sit)
1150     ac_prev=site ;;
1151   -site=* | --site=* | --sit=*)
1152     site=$ac_optarg ;;
1153
1154   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1155     ac_prev=srcdir ;;
1156   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1157     srcdir=$ac_optarg ;;
1158
1159   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1160   | --syscon | --sysco | --sysc | --sys | --sy)
1161     ac_prev=sysconfdir ;;
1162   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1163   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1164     sysconfdir=$ac_optarg ;;
1165
1166   -target | --target | --targe | --targ | --tar | --ta | --t)
1167     ac_prev=target_alias ;;
1168   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1169     target_alias=$ac_optarg ;;
1170
1171   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172     verbose=yes ;;
1173
1174   -version | --version | --versio | --versi | --vers | -V)
1175     ac_init_version=: ;;
1176
1177   -with-* | --with-*)
1178     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179     # Reject names that are not valid shell variable names.
1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181       as_fn_error $? "invalid package name: $ac_useropt"
1182     ac_useropt_orig=$ac_useropt
1183     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184     case $ac_user_opts in
1185       *"
1186 "with_$ac_useropt"
1187 "*) ;;
1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189          ac_unrecognized_sep=', ';;
1190     esac
1191     eval with_$ac_useropt=\$ac_optarg ;;
1192
1193   -without-* | --without-*)
1194     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195     # Reject names that are not valid shell variable names.
1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197       as_fn_error $? "invalid package name: $ac_useropt"
1198     ac_useropt_orig=$ac_useropt
1199     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200     case $ac_user_opts in
1201       *"
1202 "with_$ac_useropt"
1203 "*) ;;
1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205          ac_unrecognized_sep=', ';;
1206     esac
1207     eval with_$ac_useropt=no ;;
1208
1209   --x)
1210     # Obsolete; use --with-x.
1211     with_x=yes ;;
1212
1213   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214   | --x-incl | --x-inc | --x-in | --x-i)
1215     ac_prev=x_includes ;;
1216   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218     x_includes=$ac_optarg ;;
1219
1220   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222     ac_prev=x_libraries ;;
1223   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225     x_libraries=$ac_optarg ;;
1226
1227   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information"
1229     ;;
1230
1231   *=*)
1232     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1233     # Reject names that are not valid shell variable names.
1234     case $ac_envvar in #(
1235       '' | [0-9]* | *[!_$as_cr_alnum]* )
1236       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1237     esac
1238     eval $ac_envvar=\$ac_optarg
1239     export $ac_envvar ;;
1240
1241   *)
1242     # FIXME: should be removed in autoconf 3.0.
1243     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1247     ;;
1248
1249   esac
1250 done
1251
1252 if test -n "$ac_prev"; then
1253   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254   as_fn_error $? "missing argument to $ac_option"
1255 fi
1256
1257 if test -n "$ac_unrecognized_opts"; then
1258   case $enable_option_checking in
1259     no) ;;
1260     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1261     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262   esac
1263 fi
1264
1265 # Check all directory arguments for consistency.
1266 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267                 datadir sysconfdir sharedstatedir localstatedir includedir \
1268                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269                 libdir localedir mandir
1270 do
1271   eval ac_val=\$$ac_var
1272   # Remove trailing slashes.
1273   case $ac_val in
1274     */ )
1275       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276       eval $ac_var=\$ac_val;;
1277   esac
1278   # Be sure to have absolute directory names.
1279   case $ac_val in
1280     [\\/$]* | ?:[\\/]* )  continue;;
1281     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1282   esac
1283   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1284 done
1285
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1289 build=$build_alias
1290 host=$host_alias
1291 target=$target_alias
1292
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x; then
1295   if test "x$build_alias" = x; then
1296     cross_compiling=maybe
1297   elif test "x$build_alias" != "x$host_alias"; then
1298     cross_compiling=yes
1299   fi
1300 fi
1301
1302 ac_tool_prefix=
1303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1304
1305 test "$silent" = yes && exec 6>/dev/null
1306
1307
1308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di=`ls -di .` &&
1310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1311   as_fn_error $? "working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313   as_fn_error $? "pwd does not report name of working directory"
1314
1315
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318   ac_srcdir_defaulted=yes
1319   # Try the directory containing this script, then the parent directory.
1320   ac_confdir=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322          X"$as_myself" : 'X\(//\)[^/]' \| \
1323          X"$as_myself" : 'X\(//\)$' \| \
1324          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327             s//\1/
1328             q
1329           }
1330           /^X\(\/\/\)[^/].*/{
1331             s//\1/
1332             q
1333           }
1334           /^X\(\/\/\)$/{
1335             s//\1/
1336             q
1337           }
1338           /^X\(\/\).*/{
1339             s//\1/
1340             q
1341           }
1342           s/.*/./; q'`
1343   srcdir=$ac_confdir
1344   if test ! -r "$srcdir/$ac_unique_file"; then
1345     srcdir=..
1346   fi
1347 else
1348   ac_srcdir_defaulted=no
1349 fi
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1352   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1353 fi
1354 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 ac_abs_confdir=`(
1356         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357         pwd)`
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360   srcdir=.
1361 fi
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1365 case $srcdir in
1366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 esac
1368 for ac_var in $ac_precious_vars; do
1369   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1370   eval ac_env_${ac_var}_value=\$${ac_var}
1371   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1372   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1373 done
1374
1375 #
1376 # Report the --help message.
1377 #
1378 if test "$ac_init_help" = "long"; then
1379   # Omit some internal or obsolete options to make the list less imposing.
1380   # This message is too long to be a string in the A/UX 3.1 sh.
1381   cat <<_ACEOF
1382 \`configure' configures rygel-gst-0-10-media-engine 1.17.4 to adapt to many kinds of systems.
1383
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1385
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE.  See below for descriptions of some of the useful variables.
1388
1389 Defaults for the options are specified in brackets.
1390
1391 Configuration:
1392   -h, --help              display this help and exit
1393       --help=short        display options specific to this package
1394       --help=recursive    display the short help of all the included packages
1395   -V, --version           display version information and exit
1396   -q, --quiet, --silent   do not print \`checking ...' messages
1397       --cache-file=FILE   cache test results in FILE [disabled]
1398   -C, --config-cache      alias for \`--cache-file=config.cache'
1399   -n, --no-create         do not create output files
1400       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1401
1402 Installation directories:
1403   --prefix=PREFIX         install architecture-independent files in PREFIX
1404                           [$ac_default_prefix]
1405   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1406                           [PREFIX]
1407
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1412
1413 For better control, use the options below.
1414
1415 Fine tuning of the installation directories:
1416   --bindir=DIR            user executables [EPREFIX/bin]
1417   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1418   --libexecdir=DIR        program executables [EPREFIX/libexec]
1419   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1420   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1421   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1422   --libdir=DIR            object code libraries [EPREFIX/lib]
1423   --includedir=DIR        C header files [PREFIX/include]
1424   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1425   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1426   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1427   --infodir=DIR           info documentation [DATAROOTDIR/info]
1428   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1429   --mandir=DIR            man documentation [DATAROOTDIR/man]
1430   --docdir=DIR            documentation root
1431                           [DATAROOTDIR/doc/rygel-gst-0-10-media-engine]
1432   --htmldir=DIR           html documentation [DOCDIR]
1433   --dvidir=DIR            dvi documentation [DOCDIR]
1434   --pdfdir=DIR            pdf documentation [DOCDIR]
1435   --psdir=DIR             ps documentation [DOCDIR]
1436 _ACEOF
1437
1438   cat <<\_ACEOF
1439
1440 Program names:
1441   --program-prefix=PREFIX            prepend PREFIX to installed program names
1442   --program-suffix=SUFFIX            append SUFFIX to installed program names
1443   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1444
1445 System types:
1446   --build=BUILD     configure for building on BUILD [guessed]
1447   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1448 _ACEOF
1449 fi
1450
1451 if test -n "$ac_init_help"; then
1452   case $ac_init_help in
1453      short | recursive ) echo "Configuration of rygel-gst-0-10-media-engine 1.17.4:";;
1454    esac
1455   cat <<\_ACEOF
1456
1457 Optional Features:
1458   --disable-option-checking  ignore unrecognized --enable/--with options
1459   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1460   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1461   --disable-dependency-tracking  speeds up one-time build
1462   --enable-dependency-tracking   do not reject slow dependency extractors
1463   --disable-maintainer-mode  disable make rules and dependencies not useful
1464                           (and sometimes confusing) to the casual installer
1465   --enable-static[=PKGS]  build static libraries [default=no]
1466   --enable-shared[=PKGS]  build shared libraries [default=yes]
1467   --enable-fast-install[=PKGS]
1468                           optimize for fast installation [default=yes]
1469   --disable-libtool-lock  avoid locking (might break parallel builds)
1470   --enable-debug          enable debugging
1471   --enable-strict-cc      enable strict C compiler
1472   --disable-nls           do not use Native Language Support
1473   --enable-silent-rules          less verbose build output (undo: `make V=1')
1474   --disable-silent-rules         verbose build output (undo: `make V=0')
1475
1476 Optional Packages:
1477   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1478   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1479   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1480                           both]
1481   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1482   --with-sysroot=DIR Search for dependent libraries within DIR
1483                         (or the compiler's sysroot if not specified).
1484
1485 Some influential environment variables:
1486   CC          C compiler command
1487   CFLAGS      C compiler flags
1488   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1489               nonstandard directory <lib dir>
1490   LIBS        libraries to pass to the linker, e.g. -l<library>
1491   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492               you have headers in a nonstandard directory <include dir>
1493   CPP         C preprocessor
1494   PKG_CONFIG  path to pkg-config utility
1495   PKG_CONFIG_PATH
1496               directories to add to pkg-config's search path
1497   PKG_CONFIG_LIBDIR
1498               path overriding pkg-config's built-in search path
1499   DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1500   DEPS_LIBS   linker flags for DEPS, overriding pkg-config
1501
1502 Use these variables to override the choices made by `configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1504
1505 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
1506 rygel-gst-0-10-media-engine home page: <http://live.gnome.org/Rygel>.
1507 _ACEOF
1508 ac_status=$?
1509 fi
1510
1511 if test "$ac_init_help" = "recursive"; then
1512   # If there are subdirs, report their specific --help.
1513   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1514     test -d "$ac_dir" ||
1515       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1516       continue
1517     ac_builddir=.
1518
1519 case "$ac_dir" in
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 *)
1522   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1523   # A ".." for each directory in $ac_dir_suffix.
1524   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1525   case $ac_top_builddir_sub in
1526   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528   esac ;;
1529 esac
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1534
1535 case $srcdir in
1536   .)  # We are building in place.
1537     ac_srcdir=.
1538     ac_top_srcdir=$ac_top_builddir_sub
1539     ac_abs_top_srcdir=$ac_pwd ;;
1540   [\\/]* | ?:[\\/]* )  # Absolute name.
1541     ac_srcdir=$srcdir$ac_dir_suffix;
1542     ac_top_srcdir=$srcdir
1543     ac_abs_top_srcdir=$srcdir ;;
1544   *) # Relative name.
1545     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546     ac_top_srcdir=$ac_top_build_prefix$srcdir
1547     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 esac
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550
1551     cd "$ac_dir" || { ac_status=$?; continue; }
1552     # Check for guested configure.
1553     if test -f "$ac_srcdir/configure.gnu"; then
1554       echo &&
1555       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556     elif test -f "$ac_srcdir/configure"; then
1557       echo &&
1558       $SHELL "$ac_srcdir/configure" --help=recursive
1559     else
1560       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561     fi || ac_status=$?
1562     cd "$ac_pwd" || { ac_status=$?; break; }
1563   done
1564 fi
1565
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1568   cat <<\_ACEOF
1569 rygel-gst-0-10-media-engine configure 1.17.4
1570 generated by GNU Autoconf 2.69
1571
1572 Copyright (C) 2012 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1575 _ACEOF
1576   exit
1577 fi
1578
1579 ## ------------------------ ##
1580 ## Autoconf initialization. ##
1581 ## ------------------------ ##
1582
1583 # ac_fn_c_try_compile LINENO
1584 # --------------------------
1585 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1586 ac_fn_c_try_compile ()
1587 {
1588   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589   rm -f conftest.$ac_objext
1590   if { { ac_try="$ac_compile"
1591 case "(($ac_try" in
1592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593   *) ac_try_echo=$ac_try;;
1594 esac
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597   (eval "$ac_compile") 2>conftest.err
1598   ac_status=$?
1599   if test -s conftest.err; then
1600     grep -v '^ *+' conftest.err >conftest.er1
1601     cat conftest.er1 >&5
1602     mv -f conftest.er1 conftest.err
1603   fi
1604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605   test $ac_status = 0; } && {
1606          test -z "$ac_c_werror_flag" ||
1607          test ! -s conftest.err
1608        } && test -s conftest.$ac_objext; then :
1609   ac_retval=0
1610 else
1611   $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1613
1614         ac_retval=1
1615 fi
1616   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617   as_fn_set_status $ac_retval
1618
1619 } # ac_fn_c_try_compile
1620
1621 # ac_fn_c_try_link LINENO
1622 # -----------------------
1623 # Try to link conftest.$ac_ext, and return whether this succeeded.
1624 ac_fn_c_try_link ()
1625 {
1626   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627   rm -f conftest.$ac_objext conftest$ac_exeext
1628   if { { ac_try="$ac_link"
1629 case "(($ac_try" in
1630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631   *) ac_try_echo=$ac_try;;
1632 esac
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635   (eval "$ac_link") 2>conftest.err
1636   ac_status=$?
1637   if test -s conftest.err; then
1638     grep -v '^ *+' conftest.err >conftest.er1
1639     cat conftest.er1 >&5
1640     mv -f conftest.er1 conftest.err
1641   fi
1642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643   test $ac_status = 0; } && {
1644          test -z "$ac_c_werror_flag" ||
1645          test ! -s conftest.err
1646        } && test -s conftest$ac_exeext && {
1647          test "$cross_compiling" = yes ||
1648          test -x conftest$ac_exeext
1649        }; then :
1650   ac_retval=0
1651 else
1652   $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1654
1655         ac_retval=1
1656 fi
1657   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1658   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1659   # interfere with the next link command; also delete a directory that is
1660   # left behind by Apple's compiler.  We do this before executing the actions.
1661   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1662   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663   as_fn_set_status $ac_retval
1664
1665 } # ac_fn_c_try_link
1666
1667 # ac_fn_c_try_cpp LINENO
1668 # ----------------------
1669 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_cpp ()
1671 {
1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673   if { { ac_try="$ac_cpp conftest.$ac_ext"
1674 case "(($ac_try" in
1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676   *) ac_try_echo=$ac_try;;
1677 esac
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1681   ac_status=$?
1682   if test -s conftest.err; then
1683     grep -v '^ *+' conftest.err >conftest.er1
1684     cat conftest.er1 >&5
1685     mv -f conftest.er1 conftest.err
1686   fi
1687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688   test $ac_status = 0; } > conftest.i && {
1689          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1690          test ! -s conftest.err
1691        }; then :
1692   ac_retval=0
1693 else
1694   $as_echo "$as_me: failed program was:" >&5
1695 sed 's/^/| /' conftest.$ac_ext >&5
1696
1697     ac_retval=1
1698 fi
1699   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700   as_fn_set_status $ac_retval
1701
1702 } # ac_fn_c_try_cpp
1703
1704 # ac_fn_c_try_run LINENO
1705 # ----------------------
1706 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1707 # that executables *can* be run.
1708 ac_fn_c_try_run ()
1709 {
1710   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711   if { { ac_try="$ac_link"
1712 case "(($ac_try" in
1713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714   *) ac_try_echo=$ac_try;;
1715 esac
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718   (eval "$ac_link") 2>&5
1719   ac_status=$?
1720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1722   { { case "(($ac_try" in
1723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724   *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728   (eval "$ac_try") 2>&5
1729   ac_status=$?
1730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731   test $ac_status = 0; }; }; then :
1732   ac_retval=0
1733 else
1734   $as_echo "$as_me: program exited with status $ac_status" >&5
1735        $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5
1737
1738        ac_retval=$ac_status
1739 fi
1740   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742   as_fn_set_status $ac_retval
1743
1744 } # ac_fn_c_try_run
1745
1746 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1747 # -------------------------------------------------------
1748 # Tests whether HEADER exists and can be compiled using the include files in
1749 # INCLUDES, setting the cache variable VAR accordingly.
1750 ac_fn_c_check_header_compile ()
1751 {
1752   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if eval \${$3+:} false; then :
1756   $as_echo_n "(cached) " >&6
1757 else
1758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h.  */
1760 $4
1761 #include <$2>
1762 _ACEOF
1763 if ac_fn_c_try_compile "$LINENO"; then :
1764   eval "$3=yes"
1765 else
1766   eval "$3=no"
1767 fi
1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769 fi
1770 eval ac_res=\$$3
1771                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774
1775 } # ac_fn_c_check_header_compile
1776
1777 # ac_fn_c_check_func LINENO FUNC VAR
1778 # ----------------------------------
1779 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1780 ac_fn_c_check_func ()
1781 {
1782   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786   $as_echo_n "(cached) " >&6
1787 else
1788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h.  */
1790 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1792 #define $2 innocuous_$2
1793
1794 /* System header to define __stub macros and hopefully few prototypes,
1795     which can conflict with char $2 (); below.
1796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1797     <limits.h> exists even on freestanding compilers.  */
1798
1799 #ifdef __STDC__
1800 # include <limits.h>
1801 #else
1802 # include <assert.h>
1803 #endif
1804
1805 #undef $2
1806
1807 /* Override any GCC internal prototype to avoid an error.
1808    Use char because int might match the return type of a GCC
1809    builtin and then its argument prototype would still apply.  */
1810 #ifdef __cplusplus
1811 extern "C"
1812 #endif
1813 char $2 ();
1814 /* The GNU C library defines this for functions which it implements
1815     to always fail with ENOSYS.  Some functions are actually named
1816     something starting with __ and the normal name is an alias.  */
1817 #if defined __stub_$2 || defined __stub___$2
1818 choke me
1819 #endif
1820
1821 int
1822 main ()
1823 {
1824 return $2 ();
1825   ;
1826   return 0;
1827 }
1828 _ACEOF
1829 if ac_fn_c_try_link "$LINENO"; then :
1830   eval "$3=yes"
1831 else
1832   eval "$3=no"
1833 fi
1834 rm -f core conftest.err conftest.$ac_objext \
1835     conftest$ac_exeext conftest.$ac_ext
1836 fi
1837 eval ac_res=\$$3
1838                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1840   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841
1842 } # ac_fn_c_check_func
1843
1844 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1845 # -------------------------------------------------------
1846 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1847 # the include files in INCLUDES and setting the cache variable VAR
1848 # accordingly.
1849 ac_fn_c_check_header_mongrel ()
1850 {
1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852   if eval \${$3+:} false; then :
1853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval \${$3+:} false; then :
1856   $as_echo_n "(cached) " >&6
1857 fi
1858 eval ac_res=\$$3
1859                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 else
1862   # Is the header compilable?
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1864 $as_echo_n "checking $2 usability... " >&6; }
1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h.  */
1867 $4
1868 #include <$2>
1869 _ACEOF
1870 if ac_fn_c_try_compile "$LINENO"; then :
1871   ac_header_compiler=yes
1872 else
1873   ac_header_compiler=no
1874 fi
1875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1877 $as_echo "$ac_header_compiler" >&6; }
1878
1879 # Is the header present?
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1881 $as_echo_n "checking $2 presence... " >&6; }
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h.  */
1884 #include <$2>
1885 _ACEOF
1886 if ac_fn_c_try_cpp "$LINENO"; then :
1887   ac_header_preproc=yes
1888 else
1889   ac_header_preproc=no
1890 fi
1891 rm -f conftest.err conftest.i conftest.$ac_ext
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1893 $as_echo "$ac_header_preproc" >&6; }
1894
1895 # So?  What about this header?
1896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1897   yes:no: )
1898     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1899 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1900     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1901 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1902     ;;
1903   no:yes:* )
1904     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1905 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1906     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1907 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1908     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1909 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1910     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1911 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1912     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1913 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1914 ( $as_echo "## -------------------------------------------------------------------- ##
1915 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel ##
1916 ## -------------------------------------------------------------------- ##"
1917      ) | sed "s/^/$as_me: WARNING:     /" >&2
1918     ;;
1919 esac
1920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \${$3+:} false; then :
1923   $as_echo_n "(cached) " >&6
1924 else
1925   eval "$3=\$ac_header_compiler"
1926 fi
1927 eval ac_res=\$$3
1928                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1930 fi
1931   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932
1933 } # ac_fn_c_check_header_mongrel
1934 cat >config.log <<_ACEOF
1935 This file contains any messages produced by compilers while
1936 running configure, to aid debugging if configure makes a mistake.
1937
1938 It was created by rygel-gst-0-10-media-engine $as_me 1.17.4, which was
1939 generated by GNU Autoconf 2.69.  Invocation command line was
1940
1941   $ $0 $@
1942
1943 _ACEOF
1944 exec 5>>config.log
1945 {
1946 cat <<_ASUNAME
1947 ## --------- ##
1948 ## Platform. ##
1949 ## --------- ##
1950
1951 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1952 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1953 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1954 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1955 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1956
1957 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1958 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1959
1960 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1961 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1962 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1963 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1964 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1965 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1966 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1967
1968 _ASUNAME
1969
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 for as_dir in $PATH
1972 do
1973   IFS=$as_save_IFS
1974   test -z "$as_dir" && as_dir=.
1975     $as_echo "PATH: $as_dir"
1976   done
1977 IFS=$as_save_IFS
1978
1979 } >&5
1980
1981 cat >&5 <<_ACEOF
1982
1983
1984 ## ----------- ##
1985 ## Core tests. ##
1986 ## ----------- ##
1987
1988 _ACEOF
1989
1990
1991 # Keep a trace of the command line.
1992 # Strip out --no-create and --no-recursion so they do not pile up.
1993 # Strip out --silent because we don't want to record it for future runs.
1994 # Also quote any args containing shell meta-characters.
1995 # Make two passes to allow for proper duplicate-argument suppression.
1996 ac_configure_args=
1997 ac_configure_args0=
1998 ac_configure_args1=
1999 ac_must_keep_next=false
2000 for ac_pass in 1 2
2001 do
2002   for ac_arg
2003   do
2004     case $ac_arg in
2005     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2006     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2007     | -silent | --silent | --silen | --sile | --sil)
2008       continue ;;
2009     *\'*)
2010       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2011     esac
2012     case $ac_pass in
2013     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2014     2)
2015       as_fn_append ac_configure_args1 " '$ac_arg'"
2016       if test $ac_must_keep_next = true; then
2017         ac_must_keep_next=false # Got value, back to normal.
2018       else
2019         case $ac_arg in
2020           *=* | --config-cache | -C | -disable-* | --disable-* \
2021           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2022           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2023           | -with-* | --with-* | -without-* | --without-* | --x)
2024             case "$ac_configure_args0 " in
2025               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2026             esac
2027             ;;
2028           -* ) ac_must_keep_next=true ;;
2029         esac
2030       fi
2031       as_fn_append ac_configure_args " '$ac_arg'"
2032       ;;
2033     esac
2034   done
2035 done
2036 { ac_configure_args0=; unset ac_configure_args0;}
2037 { ac_configure_args1=; unset ac_configure_args1;}
2038
2039 # When interrupted or exit'd, cleanup temporary files, and complete
2040 # config.log.  We remove comments because anyway the quotes in there
2041 # would cause problems or look ugly.
2042 # WARNING: Use '\'' to represent an apostrophe within the trap.
2043 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2044 trap 'exit_status=$?
2045   # Save into config.log some information that might help in debugging.
2046   {
2047     echo
2048
2049     $as_echo "## ---------------- ##
2050 ## Cache variables. ##
2051 ## ---------------- ##"
2052     echo
2053     # The following way of writing the cache mishandles newlines in values,
2054 (
2055   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2056     eval ac_val=\$$ac_var
2057     case $ac_val in #(
2058     *${as_nl}*)
2059       case $ac_var in #(
2060       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2062       esac
2063       case $ac_var in #(
2064       _ | IFS | as_nl) ;; #(
2065       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2066       *) { eval $ac_var=; unset $ac_var;} ;;
2067       esac ;;
2068     esac
2069   done
2070   (set) 2>&1 |
2071     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2072     *${as_nl}ac_space=\ *)
2073       sed -n \
2074         "s/'\''/'\''\\\\'\'''\''/g;
2075           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2076       ;; #(
2077     *)
2078       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2079       ;;
2080     esac |
2081     sort
2082 )
2083     echo
2084
2085     $as_echo "## ----------------- ##
2086 ## Output variables. ##
2087 ## ----------------- ##"
2088     echo
2089     for ac_var in $ac_subst_vars
2090     do
2091       eval ac_val=\$$ac_var
2092       case $ac_val in
2093       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2094       esac
2095       $as_echo "$ac_var='\''$ac_val'\''"
2096     done | sort
2097     echo
2098
2099     if test -n "$ac_subst_files"; then
2100       $as_echo "## ------------------- ##
2101 ## File substitutions. ##
2102 ## ------------------- ##"
2103       echo
2104       for ac_var in $ac_subst_files
2105       do
2106         eval ac_val=\$$ac_var
2107         case $ac_val in
2108         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2109         esac
2110         $as_echo "$ac_var='\''$ac_val'\''"
2111       done | sort
2112       echo
2113     fi
2114
2115     if test -s confdefs.h; then
2116       $as_echo "## ----------- ##
2117 ## confdefs.h. ##
2118 ## ----------- ##"
2119       echo
2120       cat confdefs.h
2121       echo
2122     fi
2123     test "$ac_signal" != 0 &&
2124       $as_echo "$as_me: caught signal $ac_signal"
2125     $as_echo "$as_me: exit $exit_status"
2126   } >&5
2127   rm -f core *.core core.conftest.* &&
2128     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2129     exit $exit_status
2130 ' 0
2131 for ac_signal in 1 2 13 15; do
2132   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2133 done
2134 ac_signal=0
2135
2136 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2137 rm -f -r conftest* confdefs.h
2138
2139 $as_echo "/* confdefs.h */" > confdefs.h
2140
2141 # Predefined preprocessor variables.
2142
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_NAME "$PACKAGE_NAME"
2145 _ACEOF
2146
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2149 _ACEOF
2150
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2153 _ACEOF
2154
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_STRING "$PACKAGE_STRING"
2157 _ACEOF
2158
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2161 _ACEOF
2162
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_URL "$PACKAGE_URL"
2165 _ACEOF
2166
2167
2168 # Let the site file select an alternate cache file if it wants to.
2169 # Prefer an explicitly selected file to automatically selected ones.
2170 ac_site_file1=NONE
2171 ac_site_file2=NONE
2172 if test -n "$CONFIG_SITE"; then
2173   # We do not want a PATH search for config.site.
2174   case $CONFIG_SITE in #((
2175     -*)  ac_site_file1=./$CONFIG_SITE;;
2176     */*) ac_site_file1=$CONFIG_SITE;;
2177     *)   ac_site_file1=./$CONFIG_SITE;;
2178   esac
2179 elif test "x$prefix" != xNONE; then
2180   ac_site_file1=$prefix/share/config.site
2181   ac_site_file2=$prefix/etc/config.site
2182 else
2183   ac_site_file1=$ac_default_prefix/share/config.site
2184   ac_site_file2=$ac_default_prefix/etc/config.site
2185 fi
2186 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2187 do
2188   test "x$ac_site_file" = xNONE && continue
2189   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2190     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2191 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2192     sed 's/^/| /' "$ac_site_file" >&5
2193     . "$ac_site_file" \
2194       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2196 as_fn_error $? "failed to load site script $ac_site_file
2197 See \`config.log' for more details" "$LINENO" 5; }
2198   fi
2199 done
2200
2201 if test -r "$cache_file"; then
2202   # Some versions of bash will fail to source /dev/null (special files
2203   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2204   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2205     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2206 $as_echo "$as_me: loading cache $cache_file" >&6;}
2207     case $cache_file in
2208       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2209       *)                      . "./$cache_file";;
2210     esac
2211   fi
2212 else
2213   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2214 $as_echo "$as_me: creating cache $cache_file" >&6;}
2215   >$cache_file
2216 fi
2217
2218 as_fn_append ac_header_list " stdlib.h"
2219 as_fn_append ac_header_list " unistd.h"
2220 as_fn_append ac_header_list " sys/param.h"
2221 # Check that the precious variables saved in the cache have kept the same
2222 # value.
2223 ac_cache_corrupted=false
2224 for ac_var in $ac_precious_vars; do
2225   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2226   eval ac_new_set=\$ac_env_${ac_var}_set
2227   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2228   eval ac_new_val=\$ac_env_${ac_var}_value
2229   case $ac_old_set,$ac_new_set in
2230     set,)
2231       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2232 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2233       ac_cache_corrupted=: ;;
2234     ,set)
2235       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2236 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2237       ac_cache_corrupted=: ;;
2238     ,);;
2239     *)
2240       if test "x$ac_old_val" != "x$ac_new_val"; then
2241         # differences in whitespace do not lead to failure.
2242         ac_old_val_w=`echo x $ac_old_val`
2243         ac_new_val_w=`echo x $ac_new_val`
2244         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2245           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2246 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2247           ac_cache_corrupted=:
2248         else
2249           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2250 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2251           eval $ac_var=\$ac_old_val
2252         fi
2253         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2254 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2255         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2256 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2257       fi;;
2258   esac
2259   # Pass precious variables to config.status.
2260   if test "$ac_new_set" = set; then
2261     case $ac_new_val in
2262     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2263     *) ac_arg=$ac_var=$ac_new_val ;;
2264     esac
2265     case " $ac_configure_args " in
2266       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2267       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2268     esac
2269   fi
2270 done
2271 if $ac_cache_corrupted; then
2272   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2274   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2275 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2276   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2277 fi
2278 ## -------------------- ##
2279 ## Main body of script. ##
2280 ## -------------------- ##
2281
2282 ac_ext=c
2283 ac_cpp='$CPP $CPPFLAGS'
2284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2287
2288
2289 ac_aux_dir=
2290 for ac_dir in build-aux "$srcdir"/build-aux; do
2291   if test -f "$ac_dir/install-sh"; then
2292     ac_aux_dir=$ac_dir
2293     ac_install_sh="$ac_aux_dir/install-sh -c"
2294     break
2295   elif test -f "$ac_dir/install.sh"; then
2296     ac_aux_dir=$ac_dir
2297     ac_install_sh="$ac_aux_dir/install.sh -c"
2298     break
2299   elif test -f "$ac_dir/shtool"; then
2300     ac_aux_dir=$ac_dir
2301     ac_install_sh="$ac_aux_dir/shtool install -c"
2302     break
2303   fi
2304 done
2305 if test -z "$ac_aux_dir"; then
2306   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2307 fi
2308
2309 # These three variables are undocumented and unsupported,
2310 # and are intended to be withdrawn in a future Autoconf release.
2311 # They can cause serious problems if a builder's source tree is in a directory
2312 # whose full name contains unusual characters.
2313 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2314 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2315 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2316
2317
2318
2319
2320 ac_config_headers="$ac_config_headers config.h"
2321
2322
2323
2324 ac_ext=c
2325 ac_cpp='$CPP $CPPFLAGS'
2326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2329 if test -n "$ac_tool_prefix"; then
2330   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2331 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if ${ac_cv_prog_CC+:} false; then :
2335   $as_echo_n "(cached) " >&6
2336 else
2337   if test -n "$CC"; then
2338   ac_cv_prog_CC="$CC" # Let the user override the test.
2339 else
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 for as_dir in $PATH
2342 do
2343   IFS=$as_save_IFS
2344   test -z "$as_dir" && as_dir=.
2345     for ac_exec_ext in '' $ac_executable_extensions; do
2346   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2347     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2349     break 2
2350   fi
2351 done
2352   done
2353 IFS=$as_save_IFS
2354
2355 fi
2356 fi
2357 CC=$ac_cv_prog_CC
2358 if test -n "$CC"; then
2359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2360 $as_echo "$CC" >&6; }
2361 else
2362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2364 fi
2365
2366
2367 fi
2368 if test -z "$ac_cv_prog_CC"; then
2369   ac_ct_CC=$CC
2370   # Extract the first word of "gcc", so it can be a program name with args.
2371 set dummy gcc; ac_word=$2
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2373 $as_echo_n "checking for $ac_word... " >&6; }
2374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2375   $as_echo_n "(cached) " >&6
2376 else
2377   if test -n "$ac_ct_CC"; then
2378   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2379 else
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381 for as_dir in $PATH
2382 do
2383   IFS=$as_save_IFS
2384   test -z "$as_dir" && as_dir=.
2385     for ac_exec_ext in '' $ac_executable_extensions; do
2386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2387     ac_cv_prog_ac_ct_CC="gcc"
2388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2389     break 2
2390   fi
2391 done
2392   done
2393 IFS=$as_save_IFS
2394
2395 fi
2396 fi
2397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2398 if test -n "$ac_ct_CC"; then
2399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2400 $as_echo "$ac_ct_CC" >&6; }
2401 else
2402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2403 $as_echo "no" >&6; }
2404 fi
2405
2406   if test "x$ac_ct_CC" = x; then
2407     CC=""
2408   else
2409     case $cross_compiling:$ac_tool_warned in
2410 yes:)
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2413 ac_tool_warned=yes ;;
2414 esac
2415     CC=$ac_ct_CC
2416   fi
2417 else
2418   CC="$ac_cv_prog_CC"
2419 fi
2420
2421 if test -z "$CC"; then
2422           if test -n "$ac_tool_prefix"; then
2423     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2424 set dummy ${ac_tool_prefix}cc; ac_word=$2
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if ${ac_cv_prog_CC+:} false; then :
2428   $as_echo_n "(cached) " >&6
2429 else
2430   if test -n "$CC"; then
2431   ac_cv_prog_CC="$CC" # Let the user override the test.
2432 else
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 for as_dir in $PATH
2435 do
2436   IFS=$as_save_IFS
2437   test -z "$as_dir" && as_dir=.
2438     for ac_exec_ext in '' $ac_executable_extensions; do
2439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2440     ac_cv_prog_CC="${ac_tool_prefix}cc"
2441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442     break 2
2443   fi
2444 done
2445   done
2446 IFS=$as_save_IFS
2447
2448 fi
2449 fi
2450 CC=$ac_cv_prog_CC
2451 if test -n "$CC"; then
2452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2453 $as_echo "$CC" >&6; }
2454 else
2455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2456 $as_echo "no" >&6; }
2457 fi
2458
2459
2460   fi
2461 fi
2462 if test -z "$CC"; then
2463   # Extract the first word of "cc", so it can be a program name with args.
2464 set dummy cc; ac_word=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if ${ac_cv_prog_CC+:} false; then :
2468   $as_echo_n "(cached) " >&6
2469 else
2470   if test -n "$CC"; then
2471   ac_cv_prog_CC="$CC" # Let the user override the test.
2472 else
2473   ac_prog_rejected=no
2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 for as_dir in $PATH
2476 do
2477   IFS=$as_save_IFS
2478   test -z "$as_dir" && as_dir=.
2479     for ac_exec_ext in '' $ac_executable_extensions; do
2480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2481     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2482        ac_prog_rejected=yes
2483        continue
2484      fi
2485     ac_cv_prog_CC="cc"
2486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487     break 2
2488   fi
2489 done
2490   done
2491 IFS=$as_save_IFS
2492
2493 if test $ac_prog_rejected = yes; then
2494   # We found a bogon in the path, so make sure we never use it.
2495   set dummy $ac_cv_prog_CC
2496   shift
2497   if test $# != 0; then
2498     # We chose a different compiler from the bogus one.
2499     # However, it has the same basename, so the bogon will be chosen
2500     # first if we set CC to just the basename; use the full file name.
2501     shift
2502     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2503   fi
2504 fi
2505 fi
2506 fi
2507 CC=$ac_cv_prog_CC
2508 if test -n "$CC"; then
2509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2510 $as_echo "$CC" >&6; }
2511 else
2512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2514 fi
2515
2516
2517 fi
2518 if test -z "$CC"; then
2519   if test -n "$ac_tool_prefix"; then
2520   for ac_prog in cl.exe
2521   do
2522     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if ${ac_cv_prog_CC+:} false; then :
2527   $as_echo_n "(cached) " >&6
2528 else
2529   if test -n "$CC"; then
2530   ac_cv_prog_CC="$CC" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2534 do
2535   IFS=$as_save_IFS
2536   test -z "$as_dir" && as_dir=.
2537     for ac_exec_ext in '' $ac_executable_extensions; do
2538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541     break 2
2542   fi
2543 done
2544   done
2545 IFS=$as_save_IFS
2546
2547 fi
2548 fi
2549 CC=$ac_cv_prog_CC
2550 if test -n "$CC"; then
2551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2552 $as_echo "$CC" >&6; }
2553 else
2554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2556 fi
2557
2558
2559     test -n "$CC" && break
2560   done
2561 fi
2562 if test -z "$CC"; then
2563   ac_ct_CC=$CC
2564   for ac_prog in cl.exe
2565 do
2566   # Extract the first word of "$ac_prog", so it can be a program name with args.
2567 set dummy $ac_prog; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2571   $as_echo_n "(cached) " >&6
2572 else
2573   if test -n "$ac_ct_CC"; then
2574   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2575 else
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 for as_dir in $PATH
2578 do
2579   IFS=$as_save_IFS
2580   test -z "$as_dir" && as_dir=.
2581     for ac_exec_ext in '' $ac_executable_extensions; do
2582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2583     ac_cv_prog_ac_ct_CC="$ac_prog"
2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585     break 2
2586   fi
2587 done
2588   done
2589 IFS=$as_save_IFS
2590
2591 fi
2592 fi
2593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2594 if test -n "$ac_ct_CC"; then
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2596 $as_echo "$ac_ct_CC" >&6; }
2597 else
2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2600 fi
2601
2602
2603   test -n "$ac_ct_CC" && break
2604 done
2605
2606   if test "x$ac_ct_CC" = x; then
2607     CC=""
2608   else
2609     case $cross_compiling:$ac_tool_warned in
2610 yes:)
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2613 ac_tool_warned=yes ;;
2614 esac
2615     CC=$ac_ct_CC
2616   fi
2617 fi
2618
2619 fi
2620
2621
2622 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2624 as_fn_error $? "no acceptable C compiler found in \$PATH
2625 See \`config.log' for more details" "$LINENO" 5; }
2626
2627 # Provide some information about the compiler.
2628 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2629 set X $ac_compile
2630 ac_compiler=$2
2631 for ac_option in --version -v -V -qversion; do
2632   { { ac_try="$ac_compiler $ac_option >&5"
2633 case "(($ac_try" in
2634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635   *) ac_try_echo=$ac_try;;
2636 esac
2637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2640   ac_status=$?
2641   if test -s conftest.err; then
2642     sed '10a\
2643 ... rest of stderr output deleted ...
2644          10q' conftest.err >conftest.er1
2645     cat conftest.er1 >&5
2646   fi
2647   rm -f conftest.er1 conftest.err
2648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2649   test $ac_status = 0; }
2650 done
2651
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h.  */
2654
2655 int
2656 main ()
2657 {
2658
2659   ;
2660   return 0;
2661 }
2662 _ACEOF
2663 ac_clean_files_save=$ac_clean_files
2664 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2665 # Try to create an executable without -o first, disregard a.out.
2666 # It will help us diagnose broken compilers, and finding out an intuition
2667 # of exeext.
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2669 $as_echo_n "checking whether the C compiler works... " >&6; }
2670 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2671
2672 # The possible output files:
2673 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2674
2675 ac_rmfiles=
2676 for ac_file in $ac_files
2677 do
2678   case $ac_file in
2679     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2680     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2681   esac
2682 done
2683 rm -f $ac_rmfiles
2684
2685 if { { ac_try="$ac_link_default"
2686 case "(($ac_try" in
2687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688   *) ac_try_echo=$ac_try;;
2689 esac
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692   (eval "$ac_link_default") 2>&5
2693   ac_status=$?
2694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695   test $ac_status = 0; }; then :
2696   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2697 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2698 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2699 # so that the user can short-circuit this test for compilers unknown to
2700 # Autoconf.
2701 for ac_file in $ac_files ''
2702 do
2703   test -f "$ac_file" || continue
2704   case $ac_file in
2705     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2706         ;;
2707     [ab].out )
2708         # We found the default executable, but exeext='' is most
2709         # certainly right.
2710         break;;
2711     *.* )
2712         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2713         then :; else
2714            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2715         fi
2716         # We set ac_cv_exeext here because the later test for it is not
2717         # safe: cross compilers may not add the suffix if given an `-o'
2718         # argument, so we may need to know it at that point already.
2719         # Even if this section looks crufty: it has the advantage of
2720         # actually working.
2721         break;;
2722     * )
2723         break;;
2724   esac
2725 done
2726 test "$ac_cv_exeext" = no && ac_cv_exeext=
2727
2728 else
2729   ac_file=''
2730 fi
2731 if test -z "$ac_file"; then :
2732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2736
2737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2739 as_fn_error 77 "C compiler cannot create executables
2740 See \`config.log' for more details" "$LINENO" 5; }
2741 else
2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2743 $as_echo "yes" >&6; }
2744 fi
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2746 $as_echo_n "checking for C compiler default output file name... " >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2748 $as_echo "$ac_file" >&6; }
2749 ac_exeext=$ac_cv_exeext
2750
2751 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2752 ac_clean_files=$ac_clean_files_save
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2754 $as_echo_n "checking for suffix of executables... " >&6; }
2755 if { { ac_try="$ac_link"
2756 case "(($ac_try" in
2757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758   *) ac_try_echo=$ac_try;;
2759 esac
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762   (eval "$ac_link") 2>&5
2763   ac_status=$?
2764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765   test $ac_status = 0; }; then :
2766   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2767 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2768 # work properly (i.e., refer to `conftest.exe'), while it won't with
2769 # `rm'.
2770 for ac_file in conftest.exe conftest conftest.*; do
2771   test -f "$ac_file" || continue
2772   case $ac_file in
2773     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2774     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2775           break;;
2776     * ) break;;
2777   esac
2778 done
2779 else
2780   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2782 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2783 See \`config.log' for more details" "$LINENO" 5; }
2784 fi
2785 rm -f conftest conftest$ac_cv_exeext
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2787 $as_echo "$ac_cv_exeext" >&6; }
2788
2789 rm -f conftest.$ac_ext
2790 EXEEXT=$ac_cv_exeext
2791 ac_exeext=$EXEEXT
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h.  */
2794 #include <stdio.h>
2795 int
2796 main ()
2797 {
2798 FILE *f = fopen ("conftest.out", "w");
2799  return ferror (f) || fclose (f) != 0;
2800
2801   ;
2802   return 0;
2803 }
2804 _ACEOF
2805 ac_clean_files="$ac_clean_files conftest.out"
2806 # Check that the compiler produces executables we can run.  If not, either
2807 # the compiler is broken, or we cross compile.
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2809 $as_echo_n "checking whether we are cross compiling... " >&6; }
2810 if test "$cross_compiling" != yes; then
2811   { { ac_try="$ac_link"
2812 case "(($ac_try" in
2813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814   *) ac_try_echo=$ac_try;;
2815 esac
2816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2817 $as_echo "$ac_try_echo"; } >&5
2818   (eval "$ac_link") 2>&5
2819   ac_status=$?
2820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2821   test $ac_status = 0; }
2822   if { ac_try='./conftest$ac_cv_exeext'
2823   { { case "(($ac_try" in
2824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825   *) ac_try_echo=$ac_try;;
2826 esac
2827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2828 $as_echo "$ac_try_echo"; } >&5
2829   (eval "$ac_try") 2>&5
2830   ac_status=$?
2831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832   test $ac_status = 0; }; }; then
2833     cross_compiling=no
2834   else
2835     if test "$cross_compiling" = maybe; then
2836         cross_compiling=yes
2837     else
2838         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2840 as_fn_error $? "cannot run C compiled programs.
2841 If you meant to cross compile, use \`--host'.
2842 See \`config.log' for more details" "$LINENO" 5; }
2843     fi
2844   fi
2845 fi
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2847 $as_echo "$cross_compiling" >&6; }
2848
2849 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2850 ac_clean_files=$ac_clean_files_save
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2852 $as_echo_n "checking for suffix of object files... " >&6; }
2853 if ${ac_cv_objext+:} false; then :
2854   $as_echo_n "(cached) " >&6
2855 else
2856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h.  */
2858
2859 int
2860 main ()
2861 {
2862
2863   ;
2864   return 0;
2865 }
2866 _ACEOF
2867 rm -f conftest.o conftest.obj
2868 if { { ac_try="$ac_compile"
2869 case "(($ac_try" in
2870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871   *) ac_try_echo=$ac_try;;
2872 esac
2873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2874 $as_echo "$ac_try_echo"; } >&5
2875   (eval "$ac_compile") 2>&5
2876   ac_status=$?
2877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2878   test $ac_status = 0; }; then :
2879   for ac_file in conftest.o conftest.obj conftest.*; do
2880   test -f "$ac_file" || continue;
2881   case $ac_file in
2882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2883     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2884        break;;
2885   esac
2886 done
2887 else
2888   $as_echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2890
2891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2893 as_fn_error $? "cannot compute suffix of object files: cannot compile
2894 See \`config.log' for more details" "$LINENO" 5; }
2895 fi
2896 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2897 fi
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2899 $as_echo "$ac_cv_objext" >&6; }
2900 OBJEXT=$ac_cv_objext
2901 ac_objext=$OBJEXT
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2903 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2904 if ${ac_cv_c_compiler_gnu+:} false; then :
2905   $as_echo_n "(cached) " >&6
2906 else
2907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h.  */
2909
2910 int
2911 main ()
2912 {
2913 #ifndef __GNUC__
2914        choke me
2915 #endif
2916
2917   ;
2918   return 0;
2919 }
2920 _ACEOF
2921 if ac_fn_c_try_compile "$LINENO"; then :
2922   ac_compiler_gnu=yes
2923 else
2924   ac_compiler_gnu=no
2925 fi
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2928
2929 fi
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2931 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2932 if test $ac_compiler_gnu = yes; then
2933   GCC=yes
2934 else
2935   GCC=
2936 fi
2937 ac_test_CFLAGS=${CFLAGS+set}
2938 ac_save_CFLAGS=$CFLAGS
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2940 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2941 if ${ac_cv_prog_cc_g+:} false; then :
2942   $as_echo_n "(cached) " >&6
2943 else
2944   ac_save_c_werror_flag=$ac_c_werror_flag
2945    ac_c_werror_flag=yes
2946    ac_cv_prog_cc_g=no
2947    CFLAGS="-g"
2948    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h.  */
2950
2951 int
2952 main ()
2953 {
2954
2955   ;
2956   return 0;
2957 }
2958 _ACEOF
2959 if ac_fn_c_try_compile "$LINENO"; then :
2960   ac_cv_prog_cc_g=yes
2961 else
2962   CFLAGS=""
2963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h.  */
2965
2966 int
2967 main ()
2968 {
2969
2970   ;
2971   return 0;
2972 }
2973 _ACEOF
2974 if ac_fn_c_try_compile "$LINENO"; then :
2975
2976 else
2977   ac_c_werror_flag=$ac_save_c_werror_flag
2978          CFLAGS="-g"
2979          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h.  */
2981
2982 int
2983 main ()
2984 {
2985
2986   ;
2987   return 0;
2988 }
2989 _ACEOF
2990 if ac_fn_c_try_compile "$LINENO"; then :
2991   ac_cv_prog_cc_g=yes
2992 fi
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 fi
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2996 fi
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998    ac_c_werror_flag=$ac_save_c_werror_flag
2999 fi
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3001 $as_echo "$ac_cv_prog_cc_g" >&6; }
3002 if test "$ac_test_CFLAGS" = set; then
3003   CFLAGS=$ac_save_CFLAGS
3004 elif test $ac_cv_prog_cc_g = yes; then
3005   if test "$GCC" = yes; then
3006     CFLAGS="-g -O2"
3007   else
3008     CFLAGS="-g"
3009   fi
3010 else
3011   if test "$GCC" = yes; then
3012     CFLAGS="-O2"
3013   else
3014     CFLAGS=
3015   fi
3016 fi
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3018 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3019 if ${ac_cv_prog_cc_c89+:} false; then :
3020   $as_echo_n "(cached) " >&6
3021 else
3022   ac_cv_prog_cc_c89=no
3023 ac_save_CC=$CC
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h.  */
3026 #include <stdarg.h>
3027 #include <stdio.h>
3028 struct stat;
3029 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3030 struct buf { int x; };
3031 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3032 static char *e (p, i)
3033      char **p;
3034      int i;
3035 {
3036   return p[i];
3037 }
3038 static char *f (char * (*g) (char **, int), char **p, ...)
3039 {
3040   char *s;
3041   va_list v;
3042   va_start (v,p);
3043   s = g (p, va_arg (v,int));
3044   va_end (v);
3045   return s;
3046 }
3047
3048 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3049    function prototypes and stuff, but not '\xHH' hex character constants.
3050    These don't provoke an error unfortunately, instead are silently treated
3051    as 'x'.  The following induces an error, until -std is added to get
3052    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3053    array size at least.  It's necessary to write '\x00'==0 to get something
3054    that's true only with -std.  */
3055 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3056
3057 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3058    inside strings and character constants.  */
3059 #define FOO(x) 'x'
3060 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3061
3062 int test (int i, double x);
3063 struct s1 {int (*f) (int a);};
3064 struct s2 {int (*f) (double a);};
3065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3066 int argc;
3067 char **argv;
3068 int
3069 main ()
3070 {
3071 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3072   ;
3073   return 0;
3074 }
3075 _ACEOF
3076 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3077         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3078 do
3079   CC="$ac_save_CC $ac_arg"
3080   if ac_fn_c_try_compile "$LINENO"; then :
3081   ac_cv_prog_cc_c89=$ac_arg
3082 fi
3083 rm -f core conftest.err conftest.$ac_objext
3084   test "x$ac_cv_prog_cc_c89" != "xno" && break
3085 done
3086 rm -f conftest.$ac_ext
3087 CC=$ac_save_CC
3088
3089 fi
3090 # AC_CACHE_VAL
3091 case "x$ac_cv_prog_cc_c89" in
3092   x)
3093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3094 $as_echo "none needed" >&6; } ;;
3095   xno)
3096     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3097 $as_echo "unsupported" >&6; } ;;
3098   *)
3099     CC="$CC $ac_cv_prog_cc_c89"
3100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3101 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3102 esac
3103 if test "x$ac_cv_prog_cc_c89" != xno; then :
3104
3105 fi
3106
3107 ac_ext=c
3108 ac_cpp='$CPP $CPPFLAGS'
3109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3112
3113
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3115 $as_echo_n "checking for library containing strerror... " >&6; }
3116 if ${ac_cv_search_strerror+:} false; then :
3117   $as_echo_n "(cached) " >&6
3118 else
3119   ac_func_search_save_LIBS=$LIBS
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h.  */
3122
3123 /* Override any GCC internal prototype to avoid an error.
3124    Use char because int might match the return type of a GCC
3125    builtin and then its argument prototype would still apply.  */
3126 #ifdef __cplusplus
3127 extern "C"
3128 #endif
3129 char strerror ();
3130 int
3131 main ()
3132 {
3133 return strerror ();
3134   ;
3135   return 0;
3136 }
3137 _ACEOF
3138 for ac_lib in '' cposix; do
3139   if test -z "$ac_lib"; then
3140     ac_res="none required"
3141   else
3142     ac_res=-l$ac_lib
3143     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3144   fi
3145   if ac_fn_c_try_link "$LINENO"; then :
3146   ac_cv_search_strerror=$ac_res
3147 fi
3148 rm -f core conftest.err conftest.$ac_objext \
3149     conftest$ac_exeext
3150   if ${ac_cv_search_strerror+:} false; then :
3151   break
3152 fi
3153 done
3154 if ${ac_cv_search_strerror+:} false; then :
3155
3156 else
3157   ac_cv_search_strerror=no
3158 fi
3159 rm conftest.$ac_ext
3160 LIBS=$ac_func_search_save_LIBS
3161 fi
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3163 $as_echo "$ac_cv_search_strerror" >&6; }
3164 ac_res=$ac_cv_search_strerror
3165 if test "$ac_res" != no; then :
3166   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3167
3168 fi
3169
3170 ac_ext=c
3171 ac_cpp='$CPP $CPPFLAGS'
3172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3175 if test -n "$ac_tool_prefix"; then
3176   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3177 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_CC+:} false; then :
3181   $as_echo_n "(cached) " >&6
3182 else
3183   if test -n "$CC"; then
3184   ac_cv_prog_CC="$CC" # Let the user override the test.
3185 else
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 for as_dir in $PATH
3188 do
3189   IFS=$as_save_IFS
3190   test -z "$as_dir" && as_dir=.
3191     for ac_exec_ext in '' $ac_executable_extensions; do
3192   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3195     break 2
3196   fi
3197 done
3198   done
3199 IFS=$as_save_IFS
3200
3201 fi
3202 fi
3203 CC=$ac_cv_prog_CC
3204 if test -n "$CC"; then
3205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3206 $as_echo "$CC" >&6; }
3207 else
3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3210 fi
3211
3212
3213 fi
3214 if test -z "$ac_cv_prog_CC"; then
3215   ac_ct_CC=$CC
3216   # Extract the first word of "gcc", so it can be a program name with args.
3217 set dummy gcc; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3221   $as_echo_n "(cached) " >&6
3222 else
3223   if test -n "$ac_ct_CC"; then
3224   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3228 do
3229   IFS=$as_save_IFS
3230   test -z "$as_dir" && as_dir=.
3231     for ac_exec_ext in '' $ac_executable_extensions; do
3232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3233     ac_cv_prog_ac_ct_CC="gcc"
3234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235     break 2
3236   fi
3237 done
3238   done
3239 IFS=$as_save_IFS
3240
3241 fi
3242 fi
3243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3244 if test -n "$ac_ct_CC"; then
3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3246 $as_echo "$ac_ct_CC" >&6; }
3247 else
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 fi
3251
3252   if test "x$ac_ct_CC" = x; then
3253     CC=""
3254   else
3255     case $cross_compiling:$ac_tool_warned in
3256 yes:)
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3259 ac_tool_warned=yes ;;
3260 esac
3261     CC=$ac_ct_CC
3262   fi
3263 else
3264   CC="$ac_cv_prog_CC"
3265 fi
3266
3267 if test -z "$CC"; then
3268           if test -n "$ac_tool_prefix"; then
3269     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3270 set dummy ${ac_tool_prefix}cc; ac_word=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if ${ac_cv_prog_CC+:} false; then :
3274   $as_echo_n "(cached) " >&6
3275 else
3276   if test -n "$CC"; then
3277   ac_cv_prog_CC="$CC" # Let the user override the test.
3278 else
3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280 for as_dir in $PATH
3281 do
3282   IFS=$as_save_IFS
3283   test -z "$as_dir" && as_dir=.
3284     for ac_exec_ext in '' $ac_executable_extensions; do
3285   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3286     ac_cv_prog_CC="${ac_tool_prefix}cc"
3287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288     break 2
3289   fi
3290 done
3291   done
3292 IFS=$as_save_IFS
3293
3294 fi
3295 fi
3296 CC=$ac_cv_prog_CC
3297 if test -n "$CC"; then
3298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3299 $as_echo "$CC" >&6; }
3300 else
3301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3303 fi
3304
3305
3306   fi
3307 fi
3308 if test -z "$CC"; then
3309   # Extract the first word of "cc", so it can be a program name with args.
3310 set dummy cc; ac_word=$2
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if ${ac_cv_prog_CC+:} false; then :
3314   $as_echo_n "(cached) " >&6
3315 else
3316   if test -n "$CC"; then
3317   ac_cv_prog_CC="$CC" # Let the user override the test.
3318 else
3319   ac_prog_rejected=no
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321 for as_dir in $PATH
3322 do
3323   IFS=$as_save_IFS
3324   test -z "$as_dir" && as_dir=.
3325     for ac_exec_ext in '' $ac_executable_extensions; do
3326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3327     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3328        ac_prog_rejected=yes
3329        continue
3330      fi
3331     ac_cv_prog_CC="cc"
3332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3333     break 2
3334   fi
3335 done
3336   done
3337 IFS=$as_save_IFS
3338
3339 if test $ac_prog_rejected = yes; then
3340   # We found a bogon in the path, so make sure we never use it.
3341   set dummy $ac_cv_prog_CC
3342   shift
3343   if test $# != 0; then
3344     # We chose a different compiler from the bogus one.
3345     # However, it has the same basename, so the bogon will be chosen
3346     # first if we set CC to just the basename; use the full file name.
3347     shift
3348     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3349   fi
3350 fi
3351 fi
3352 fi
3353 CC=$ac_cv_prog_CC
3354 if test -n "$CC"; then
3355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3356 $as_echo "$CC" >&6; }
3357 else
3358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3360 fi
3361
3362
3363 fi
3364 if test -z "$CC"; then
3365   if test -n "$ac_tool_prefix"; then
3366   for ac_prog in cl.exe
3367   do
3368     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3371 $as_echo_n "checking for $ac_word... " >&6; }
3372 if ${ac_cv_prog_CC+:} false; then :
3373   $as_echo_n "(cached) " >&6
3374 else
3375   if test -n "$CC"; then
3376   ac_cv_prog_CC="$CC" # Let the user override the test.
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH
3380 do
3381   IFS=$as_save_IFS
3382   test -z "$as_dir" && as_dir=.
3383     for ac_exec_ext in '' $ac_executable_extensions; do
3384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3385     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3387     break 2
3388   fi
3389 done
3390   done
3391 IFS=$as_save_IFS
3392
3393 fi
3394 fi
3395 CC=$ac_cv_prog_CC
3396 if test -n "$CC"; then
3397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3398 $as_echo "$CC" >&6; }
3399 else
3400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401 $as_echo "no" >&6; }
3402 fi
3403
3404
3405     test -n "$CC" && break
3406   done
3407 fi
3408 if test -z "$CC"; then
3409   ac_ct_CC=$CC
3410   for ac_prog in cl.exe
3411 do
3412   # Extract the first word of "$ac_prog", so it can be a program name with args.
3413 set dummy $ac_prog; ac_word=$2
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3415 $as_echo_n "checking for $ac_word... " >&6; }
3416 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3417   $as_echo_n "(cached) " >&6
3418 else
3419   if test -n "$ac_ct_CC"; then
3420   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3421 else
3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423 for as_dir in $PATH
3424 do
3425   IFS=$as_save_IFS
3426   test -z "$as_dir" && as_dir=.
3427     for ac_exec_ext in '' $ac_executable_extensions; do
3428   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3429     ac_cv_prog_ac_ct_CC="$ac_prog"
3430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3431     break 2
3432   fi
3433 done
3434   done
3435 IFS=$as_save_IFS
3436
3437 fi
3438 fi
3439 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3440 if test -n "$ac_ct_CC"; then
3441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3442 $as_echo "$ac_ct_CC" >&6; }
3443 else
3444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445 $as_echo "no" >&6; }
3446 fi
3447
3448
3449   test -n "$ac_ct_CC" && break
3450 done
3451
3452   if test "x$ac_ct_CC" = x; then
3453     CC=""
3454   else
3455     case $cross_compiling:$ac_tool_warned in
3456 yes:)
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3459 ac_tool_warned=yes ;;
3460 esac
3461     CC=$ac_ct_CC
3462   fi
3463 fi
3464
3465 fi
3466
3467
3468 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470 as_fn_error $? "no acceptable C compiler found in \$PATH
3471 See \`config.log' for more details" "$LINENO" 5; }
3472
3473 # Provide some information about the compiler.
3474 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3475 set X $ac_compile
3476 ac_compiler=$2
3477 for ac_option in --version -v -V -qversion; do
3478   { { ac_try="$ac_compiler $ac_option >&5"
3479 case "(($ac_try" in
3480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481   *) ac_try_echo=$ac_try;;
3482 esac
3483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484 $as_echo "$ac_try_echo"; } >&5
3485   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3486   ac_status=$?
3487   if test -s conftest.err; then
3488     sed '10a\
3489 ... rest of stderr output deleted ...
3490          10q' conftest.err >conftest.er1
3491     cat conftest.er1 >&5
3492   fi
3493   rm -f conftest.er1 conftest.err
3494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495   test $ac_status = 0; }
3496 done
3497
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3499 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3500 if ${ac_cv_c_compiler_gnu+:} false; then :
3501   $as_echo_n "(cached) " >&6
3502 else
3503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h.  */
3505
3506 int
3507 main ()
3508 {
3509 #ifndef __GNUC__
3510        choke me
3511 #endif
3512
3513   ;
3514   return 0;
3515 }
3516 _ACEOF
3517 if ac_fn_c_try_compile "$LINENO"; then :
3518   ac_compiler_gnu=yes
3519 else
3520   ac_compiler_gnu=no
3521 fi
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524
3525 fi
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3527 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528 if test $ac_compiler_gnu = yes; then
3529   GCC=yes
3530 else
3531   GCC=
3532 fi
3533 ac_test_CFLAGS=${CFLAGS+set}
3534 ac_save_CFLAGS=$CFLAGS
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3536 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3537 if ${ac_cv_prog_cc_g+:} false; then :
3538   $as_echo_n "(cached) " >&6
3539 else
3540   ac_save_c_werror_flag=$ac_c_werror_flag
3541    ac_c_werror_flag=yes
3542    ac_cv_prog_cc_g=no
3543    CFLAGS="-g"
3544    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h.  */
3546
3547 int
3548 main ()
3549 {
3550
3551   ;
3552   return 0;
3553 }
3554 _ACEOF
3555 if ac_fn_c_try_compile "$LINENO"; then :
3556   ac_cv_prog_cc_g=yes
3557 else
3558   CFLAGS=""
3559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h.  */
3561
3562 int
3563 main ()
3564 {
3565
3566   ;
3567   return 0;
3568 }
3569 _ACEOF
3570 if ac_fn_c_try_compile "$LINENO"; then :
3571
3572 else
3573   ac_c_werror_flag=$ac_save_c_werror_flag
3574          CFLAGS="-g"
3575          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h.  */
3577
3578 int
3579 main ()
3580 {
3581
3582   ;
3583   return 0;
3584 }
3585 _ACEOF
3586 if ac_fn_c_try_compile "$LINENO"; then :
3587   ac_cv_prog_cc_g=yes
3588 fi
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590 fi
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 fi
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594    ac_c_werror_flag=$ac_save_c_werror_flag
3595 fi
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3597 $as_echo "$ac_cv_prog_cc_g" >&6; }
3598 if test "$ac_test_CFLAGS" = set; then
3599   CFLAGS=$ac_save_CFLAGS
3600 elif test $ac_cv_prog_cc_g = yes; then
3601   if test "$GCC" = yes; then
3602     CFLAGS="-g -O2"
3603   else
3604     CFLAGS="-g"
3605   fi
3606 else
3607   if test "$GCC" = yes; then
3608     CFLAGS="-O2"
3609   else
3610     CFLAGS=
3611   fi
3612 fi
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615 if ${ac_cv_prog_cc_c89+:} false; then :
3616   $as_echo_n "(cached) " >&6
3617 else
3618   ac_cv_prog_cc_c89=no
3619 ac_save_CC=$CC
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h.  */
3622 #include <stdarg.h>
3623 #include <stdio.h>
3624 struct stat;
3625 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3626 struct buf { int x; };
3627 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3628 static char *e (p, i)
3629      char **p;
3630      int i;
3631 {
3632   return p[i];
3633 }
3634 static char *f (char * (*g) (char **, int), char **p, ...)
3635 {
3636   char *s;
3637   va_list v;
3638   va_start (v,p);
3639   s = g (p, va_arg (v,int));
3640   va_end (v);
3641   return s;
3642 }
3643
3644 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3645    function prototypes and stuff, but not '\xHH' hex character constants.
3646    These don't provoke an error unfortunately, instead are silently treated
3647    as 'x'.  The following induces an error, until -std is added to get
3648    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3649    array size at least.  It's necessary to write '\x00'==0 to get something
3650    that's true only with -std.  */
3651 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3652
3653 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3654    inside strings and character constants.  */
3655 #define FOO(x) 'x'
3656 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3657
3658 int test (int i, double x);
3659 struct s1 {int (*f) (int a);};
3660 struct s2 {int (*f) (double a);};
3661 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3662 int argc;
3663 char **argv;
3664 int
3665 main ()
3666 {
3667 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3668   ;
3669   return 0;
3670 }
3671 _ACEOF
3672 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3673         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3674 do
3675   CC="$ac_save_CC $ac_arg"
3676   if ac_fn_c_try_compile "$LINENO"; then :
3677   ac_cv_prog_cc_c89=$ac_arg
3678 fi
3679 rm -f core conftest.err conftest.$ac_objext
3680   test "x$ac_cv_prog_cc_c89" != "xno" && break
3681 done
3682 rm -f conftest.$ac_ext
3683 CC=$ac_save_CC
3684
3685 fi
3686 # AC_CACHE_VAL
3687 case "x$ac_cv_prog_cc_c89" in
3688   x)
3689     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3690 $as_echo "none needed" >&6; } ;;
3691   xno)
3692     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3693 $as_echo "unsupported" >&6; } ;;
3694   *)
3695     CC="$CC $ac_cv_prog_cc_c89"
3696     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3697 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3698 esac
3699 if test "x$ac_cv_prog_cc_c89" != xno; then :
3700
3701 fi
3702
3703 ac_ext=c
3704 ac_cpp='$CPP $CPPFLAGS'
3705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708
3709 ac_ext=c
3710 ac_cpp='$CPP $CPPFLAGS'
3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3715 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3716 # On Suns, sometimes $CPP names a directory.
3717 if test -n "$CPP" && test -d "$CPP"; then
3718   CPP=
3719 fi
3720 if test -z "$CPP"; then
3721   if ${ac_cv_prog_CPP+:} false; then :
3722   $as_echo_n "(cached) " >&6
3723 else
3724       # Double quotes because CPP needs to be expanded
3725     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3726     do
3727       ac_preproc_ok=false
3728 for ac_c_preproc_warn_flag in '' yes
3729 do
3730   # Use a header file that comes with gcc, so configuring glibc
3731   # with a fresh cross-compiler works.
3732   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3733   # <limits.h> exists even on freestanding compilers.
3734   # On the NeXT, cc -E runs the code through the compiler's parser,
3735   # not just through cpp. "Syntax error" is here to catch this case.
3736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h.  */
3738 #ifdef __STDC__
3739 # include <limits.h>
3740 #else
3741 # include <assert.h>
3742 #endif
3743                      Syntax error
3744 _ACEOF
3745 if ac_fn_c_try_cpp "$LINENO"; then :
3746
3747 else
3748   # Broken: fails on valid input.
3749 continue
3750 fi
3751 rm -f conftest.err conftest.i conftest.$ac_ext
3752
3753   # OK, works on sane cases.  Now check whether nonexistent headers
3754   # can be detected and how.
3755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h.  */
3757 #include <ac_nonexistent.h>
3758 _ACEOF
3759 if ac_fn_c_try_cpp "$LINENO"; then :
3760   # Broken: success on invalid input.
3761 continue
3762 else
3763   # Passes both tests.
3764 ac_preproc_ok=:
3765 break
3766 fi
3767 rm -f conftest.err conftest.i conftest.$ac_ext
3768
3769 done
3770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3771 rm -f conftest.i conftest.err conftest.$ac_ext
3772 if $ac_preproc_ok; then :
3773   break
3774 fi
3775
3776     done
3777     ac_cv_prog_CPP=$CPP
3778
3779 fi
3780   CPP=$ac_cv_prog_CPP
3781 else
3782   ac_cv_prog_CPP=$CPP
3783 fi
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3785 $as_echo "$CPP" >&6; }
3786 ac_preproc_ok=false
3787 for ac_c_preproc_warn_flag in '' yes
3788 do
3789   # Use a header file that comes with gcc, so configuring glibc
3790   # with a fresh cross-compiler works.
3791   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3792   # <limits.h> exists even on freestanding compilers.
3793   # On the NeXT, cc -E runs the code through the compiler's parser,
3794   # not just through cpp. "Syntax error" is here to catch this case.
3795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h.  */
3797 #ifdef __STDC__
3798 # include <limits.h>
3799 #else
3800 # include <assert.h>
3801 #endif
3802                      Syntax error
3803 _ACEOF
3804 if ac_fn_c_try_cpp "$LINENO"; then :
3805
3806 else
3807   # Broken: fails on valid input.
3808 continue
3809 fi
3810 rm -f conftest.err conftest.i conftest.$ac_ext
3811
3812   # OK, works on sane cases.  Now check whether nonexistent headers
3813   # can be detected and how.
3814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h.  */
3816 #include <ac_nonexistent.h>
3817 _ACEOF
3818 if ac_fn_c_try_cpp "$LINENO"; then :
3819   # Broken: success on invalid input.
3820 continue
3821 else
3822   # Passes both tests.
3823 ac_preproc_ok=:
3824 break
3825 fi
3826 rm -f conftest.err conftest.i conftest.$ac_ext
3827
3828 done
3829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3830 rm -f conftest.i conftest.err conftest.$ac_ext
3831 if $ac_preproc_ok; then :
3832
3833 else
3834   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3837 See \`config.log' for more details" "$LINENO" 5; }
3838 fi
3839
3840 ac_ext=c
3841 ac_cpp='$CPP $CPPFLAGS'
3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845
3846
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3848 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3849 if ${ac_cv_path_GREP+:} false; then :
3850   $as_echo_n "(cached) " >&6
3851 else
3852   if test -z "$GREP"; then
3853   ac_path_GREP_found=false
3854   # Loop through the user's path and test for each of PROGNAME-LIST
3855   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3857 do
3858   IFS=$as_save_IFS
3859   test -z "$as_dir" && as_dir=.
3860     for ac_prog in grep ggrep; do
3861     for ac_exec_ext in '' $ac_executable_extensions; do
3862       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3863       as_fn_executable_p "$ac_path_GREP" || continue
3864 # Check for GNU ac_path_GREP and select it if it is found.
3865   # Check for GNU $ac_path_GREP
3866 case `"$ac_path_GREP" --version 2>&1` in
3867 *GNU*)
3868   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3869 *)
3870   ac_count=0
3871   $as_echo_n 0123456789 >"conftest.in"
3872   while :
3873   do
3874     cat "conftest.in" "conftest.in" >"conftest.tmp"
3875     mv "conftest.tmp" "conftest.in"
3876     cp "conftest.in" "conftest.nl"
3877     $as_echo 'GREP' >> "conftest.nl"
3878     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3879     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3880     as_fn_arith $ac_count + 1 && ac_count=$as_val
3881     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3882       # Best one so far, save it but keep looking for a better one
3883       ac_cv_path_GREP="$ac_path_GREP"
3884       ac_path_GREP_max=$ac_count
3885     fi
3886     # 10*(2^10) chars as input seems more than enough
3887     test $ac_count -gt 10 && break
3888   done
3889   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3890 esac
3891
3892       $ac_path_GREP_found && break 3
3893     done
3894   done
3895   done
3896 IFS=$as_save_IFS
3897   if test -z "$ac_cv_path_GREP"; then
3898     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3899   fi
3900 else
3901   ac_cv_path_GREP=$GREP
3902 fi
3903
3904 fi
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3906 $as_echo "$ac_cv_path_GREP" >&6; }
3907  GREP="$ac_cv_path_GREP"
3908
3909
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3911 $as_echo_n "checking for egrep... " >&6; }
3912 if ${ac_cv_path_EGREP+:} false; then :
3913   $as_echo_n "(cached) " >&6
3914 else
3915   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3916    then ac_cv_path_EGREP="$GREP -E"
3917    else
3918      if test -z "$EGREP"; then
3919   ac_path_EGREP_found=false
3920   # Loop through the user's path and test for each of PROGNAME-LIST
3921   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3923 do
3924   IFS=$as_save_IFS
3925   test -z "$as_dir" && as_dir=.
3926     for ac_prog in egrep; do
3927     for ac_exec_ext in '' $ac_executable_extensions; do
3928       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3929       as_fn_executable_p "$ac_path_EGREP" || continue
3930 # Check for GNU ac_path_EGREP and select it if it is found.
3931   # Check for GNU $ac_path_EGREP
3932 case `"$ac_path_EGREP" --version 2>&1` in
3933 *GNU*)
3934   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3935 *)
3936   ac_count=0
3937   $as_echo_n 0123456789 >"conftest.in"
3938   while :
3939   do
3940     cat "conftest.in" "conftest.in" >"conftest.tmp"
3941     mv "conftest.tmp" "conftest.in"
3942     cp "conftest.in" "conftest.nl"
3943     $as_echo 'EGREP' >> "conftest.nl"
3944     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3945     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3946     as_fn_arith $ac_count + 1 && ac_count=$as_val
3947     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3948       # Best one so far, save it but keep looking for a better one
3949       ac_cv_path_EGREP="$ac_path_EGREP"
3950       ac_path_EGREP_max=$ac_count
3951     fi
3952     # 10*(2^10) chars as input seems more than enough
3953     test $ac_count -gt 10 && break
3954   done
3955   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3956 esac
3957
3958       $ac_path_EGREP_found && break 3
3959     done
3960   done
3961   done
3962 IFS=$as_save_IFS
3963   if test -z "$ac_cv_path_EGREP"; then
3964     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3965   fi
3966 else
3967   ac_cv_path_EGREP=$EGREP
3968 fi
3969
3970    fi
3971 fi
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3973 $as_echo "$ac_cv_path_EGREP" >&6; }
3974  EGREP="$ac_cv_path_EGREP"
3975
3976
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3978 $as_echo_n "checking for ANSI C header files... " >&6; }
3979 if ${ac_cv_header_stdc+:} false; then :
3980   $as_echo_n "(cached) " >&6
3981 else
3982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h.  */
3984 #include <stdlib.h>
3985 #include <stdarg.h>
3986 #include <string.h>
3987 #include <float.h>
3988
3989 int
3990 main ()
3991 {
3992
3993   ;
3994   return 0;
3995 }
3996 _ACEOF
3997 if ac_fn_c_try_compile "$LINENO"; then :
3998   ac_cv_header_stdc=yes
3999 else
4000   ac_cv_header_stdc=no
4001 fi
4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003
4004 if test $ac_cv_header_stdc = yes; then
4005   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h.  */
4008 #include <string.h>
4009
4010 _ACEOF
4011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4012   $EGREP "memchr" >/dev/null 2>&1; then :
4013
4014 else
4015   ac_cv_header_stdc=no
4016 fi
4017 rm -f conftest*
4018
4019 fi
4020
4021 if test $ac_cv_header_stdc = yes; then
4022   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h.  */
4025 #include <stdlib.h>
4026
4027 _ACEOF
4028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4029   $EGREP "free" >/dev/null 2>&1; then :
4030
4031 else
4032   ac_cv_header_stdc=no
4033 fi
4034 rm -f conftest*
4035
4036 fi
4037
4038 if test $ac_cv_header_stdc = yes; then
4039   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4040   if test "$cross_compiling" = yes; then :
4041   :
4042 else
4043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h.  */
4045 #include <ctype.h>
4046 #include <stdlib.h>
4047 #if ((' ' & 0x0FF) == 0x020)
4048 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4049 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4050 #else
4051 # define ISLOWER(c) \
4052                    (('a' <= (c) && (c) <= 'i') \
4053                      || ('j' <= (c) && (c) <= 'r') \
4054                      || ('s' <= (c) && (c) <= 'z'))
4055 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4056 #endif
4057
4058 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4059 int
4060 main ()
4061 {
4062   int i;
4063   for (i = 0; i < 256; i++)
4064     if (XOR (islower (i), ISLOWER (i))
4065         || toupper (i) != TOUPPER (i))
4066       return 2;
4067   return 0;
4068 }
4069 _ACEOF
4070 if ac_fn_c_try_run "$LINENO"; then :
4071
4072 else
4073   ac_cv_header_stdc=no
4074 fi
4075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4076   conftest.$ac_objext conftest.beam conftest.$ac_ext
4077 fi
4078
4079 fi
4080 fi
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4082 $as_echo "$ac_cv_header_stdc" >&6; }
4083 if test $ac_cv_header_stdc = yes; then
4084
4085 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4086
4087 fi
4088
4089 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4090 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4091                   inttypes.h stdint.h unistd.h
4092 do :
4093   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4094 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4095 "
4096 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4097   cat >>confdefs.h <<_ACEOF
4098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4099 _ACEOF
4100
4101 fi
4102
4103 done
4104
4105
4106
4107
4108
4109   for ac_header in $ac_header_list
4110 do :
4111   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4113 "
4114 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4115   cat >>confdefs.h <<_ACEOF
4116 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4117 _ACEOF
4118
4119 fi
4120
4121 done
4122
4123
4124
4125
4126
4127
4128
4129
4130 for ac_func in getpagesize
4131 do :
4132   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4133 if test "x$ac_cv_func_getpagesize" = xyes; then :
4134   cat >>confdefs.h <<_ACEOF
4135 #define HAVE_GETPAGESIZE 1
4136 _ACEOF
4137
4138 fi
4139 done
4140
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4142 $as_echo_n "checking for working mmap... " >&6; }
4143 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
4144   $as_echo_n "(cached) " >&6
4145 else
4146   if test "$cross_compiling" = yes; then :
4147   ac_cv_func_mmap_fixed_mapped=no
4148 else
4149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4150 /* end confdefs.h.  */
4151 $ac_includes_default
4152 /* malloc might have been renamed as rpl_malloc. */
4153 #undef malloc
4154
4155 /* Thanks to Mike Haertel and Jim Avera for this test.
4156    Here is a matrix of mmap possibilities:
4157         mmap private not fixed
4158         mmap private fixed at somewhere currently unmapped
4159         mmap private fixed at somewhere already mapped
4160         mmap shared not fixed
4161         mmap shared fixed at somewhere currently unmapped
4162         mmap shared fixed at somewhere already mapped
4163    For private mappings, we should verify that changes cannot be read()
4164    back from the file, nor mmap's back from the file at a different
4165    address.  (There have been systems where private was not correctly
4166    implemented like the infamous i386 svr4.0, and systems where the
4167    VM page cache was not coherent with the file system buffer cache
4168    like early versions of FreeBSD and possibly contemporary NetBSD.)
4169    For shared mappings, we should conversely verify that changes get
4170    propagated back to all the places they're supposed to be.
4171
4172    Grep wants private fixed already mapped.
4173    The main things grep needs to know about mmap are:
4174    * does it exist and is it safe to write into the mmap'd area
4175    * how to use it (BSD variants)  */
4176
4177 #include <fcntl.h>
4178 #include <sys/mman.h>
4179
4180 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4181 char *malloc ();
4182 #endif
4183
4184 /* This mess was copied from the GNU getpagesize.h.  */
4185 #ifndef HAVE_GETPAGESIZE
4186 # ifdef _SC_PAGESIZE
4187 #  define getpagesize() sysconf(_SC_PAGESIZE)
4188 # else /* no _SC_PAGESIZE */
4189 #  ifdef HAVE_SYS_PARAM_H
4190 #   include <sys/param.h>
4191 #   ifdef EXEC_PAGESIZE
4192 #    define getpagesize() EXEC_PAGESIZE
4193 #   else /* no EXEC_PAGESIZE */
4194 #    ifdef NBPG
4195 #     define getpagesize() NBPG * CLSIZE
4196 #     ifndef CLSIZE
4197 #      define CLSIZE 1
4198 #     endif /* no CLSIZE */
4199 #    else /* no NBPG */
4200 #     ifdef NBPC
4201 #      define getpagesize() NBPC
4202 #     else /* no NBPC */
4203 #      ifdef PAGESIZE
4204 #       define getpagesize() PAGESIZE
4205 #      endif /* PAGESIZE */
4206 #     endif /* no NBPC */
4207 #    endif /* no NBPG */
4208 #   endif /* no EXEC_PAGESIZE */
4209 #  else /* no HAVE_SYS_PARAM_H */
4210 #   define getpagesize() 8192   /* punt totally */
4211 #  endif /* no HAVE_SYS_PARAM_H */
4212 # endif /* no _SC_PAGESIZE */
4213
4214 #endif /* no HAVE_GETPAGESIZE */
4215
4216 int
4217 main ()
4218 {
4219   char *data, *data2, *data3;
4220   const char *cdata2;
4221   int i, pagesize;
4222   int fd, fd2;
4223
4224   pagesize = getpagesize ();
4225
4226   /* First, make a file with some known garbage in it. */
4227   data = (char *) malloc (pagesize);
4228   if (!data)
4229     return 1;
4230   for (i = 0; i < pagesize; ++i)
4231     *(data + i) = rand ();
4232   umask (0);
4233   fd = creat ("conftest.mmap", 0600);
4234   if (fd < 0)
4235     return 2;
4236   if (write (fd, data, pagesize) != pagesize)
4237     return 3;
4238   close (fd);
4239
4240   /* Next, check that the tail of a page is zero-filled.  File must have
4241      non-zero length, otherwise we risk SIGBUS for entire page.  */
4242   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4243   if (fd2 < 0)
4244     return 4;
4245   cdata2 = "";
4246   if (write (fd2, cdata2, 1) != 1)
4247     return 5;
4248   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4249   if (data2 == MAP_FAILED)
4250     return 6;
4251   for (i = 0; i < pagesize; ++i)
4252     if (*(data2 + i))
4253       return 7;
4254   close (fd2);
4255   if (munmap (data2, pagesize))
4256     return 8;
4257
4258   /* Next, try to mmap the file at a fixed address which already has
4259      something else allocated at it.  If we can, also make sure that
4260      we see the same garbage.  */
4261   fd = open ("conftest.mmap", O_RDWR);
4262   if (fd < 0)
4263     return 9;
4264   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4265                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
4266     return 10;
4267   for (i = 0; i < pagesize; ++i)
4268     if (*(data + i) != *(data2 + i))
4269       return 11;
4270
4271   /* Finally, make sure that changes to the mapped area do not
4272      percolate back to the file as seen by read().  (This is a bug on
4273      some variants of i386 svr4.0.)  */
4274   for (i = 0; i < pagesize; ++i)
4275     *(data2 + i) = *(data2 + i) + 1;
4276   data3 = (char *) malloc (pagesize);
4277   if (!data3)
4278     return 12;
4279   if (read (fd, data3, pagesize) != pagesize)
4280     return 13;
4281   for (i = 0; i < pagesize; ++i)
4282     if (*(data + i) != *(data3 + i))
4283       return 14;
4284   close (fd);
4285   return 0;
4286 }
4287 _ACEOF
4288 if ac_fn_c_try_run "$LINENO"; then :
4289   ac_cv_func_mmap_fixed_mapped=yes
4290 else
4291   ac_cv_func_mmap_fixed_mapped=no
4292 fi
4293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4294   conftest.$ac_objext conftest.beam conftest.$ac_ext
4295 fi
4296
4297 fi
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4299 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4300 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4301
4302 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4303
4304 fi
4305 rm -f conftest.mmap conftest.txt
4306
4307
4308
4309
4310 am__api_version='1.11'
4311
4312 # Find a good install program.  We prefer a C program (faster),
4313 # so one script is as good as another.  But avoid the broken or
4314 # incompatible versions:
4315 # SysV /etc/install, /usr/sbin/install
4316 # SunOS /usr/etc/install
4317 # IRIX /sbin/install
4318 # AIX /bin/install
4319 # AmigaOS /C/install, which installs bootblocks on floppy discs
4320 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4321 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4322 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4323 # OS/2's system install, which has a completely different semantic
4324 # ./install, which can be erroneously created by make from ./install.sh.
4325 # Reject install programs that cannot install multiple files.
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4327 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4328 if test -z "$INSTALL"; then
4329 if ${ac_cv_path_install+:} false; then :
4330   $as_echo_n "(cached) " >&6
4331 else
4332   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4333 for as_dir in $PATH
4334 do
4335   IFS=$as_save_IFS
4336   test -z "$as_dir" && as_dir=.
4337     # Account for people who put trailing slashes in PATH elements.
4338 case $as_dir/ in #((
4339   ./ | .// | /[cC]/* | \
4340   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4341   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4342   /usr/ucb/* ) ;;
4343   *)
4344     # OSF1 and SCO ODT 3.0 have their own names for install.
4345     # Don't use installbsd from OSF since it installs stuff as root
4346     # by default.
4347     for ac_prog in ginstall scoinst install; do
4348       for ac_exec_ext in '' $ac_executable_extensions; do
4349         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4350           if test $ac_prog = install &&
4351             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4352             # AIX install.  It has an incompatible calling convention.
4353             :
4354           elif test $ac_prog = install &&
4355             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4356             # program-specific install script used by HP pwplus--don't use.
4357             :
4358           else
4359             rm -rf conftest.one conftest.two conftest.dir
4360             echo one > conftest.one
4361             echo two > conftest.two
4362             mkdir conftest.dir
4363             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4364               test -s conftest.one && test -s conftest.two &&
4365               test -s conftest.dir/conftest.one &&
4366               test -s conftest.dir/conftest.two
4367             then
4368               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4369               break 3
4370             fi
4371           fi
4372         fi
4373       done
4374     done
4375     ;;
4376 esac
4377
4378   done
4379 IFS=$as_save_IFS
4380
4381 rm -rf conftest.one conftest.two conftest.dir
4382
4383 fi
4384   if test "${ac_cv_path_install+set}" = set; then
4385     INSTALL=$ac_cv_path_install
4386   else
4387     # As a last resort, use the slow shell script.  Don't cache a
4388     # value for INSTALL within a source directory, because that will
4389     # break other packages using the cache if that directory is
4390     # removed, or if the value is a relative name.
4391     INSTALL=$ac_install_sh
4392   fi
4393 fi
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4395 $as_echo "$INSTALL" >&6; }
4396
4397 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4398 # It thinks the first close brace ends the variable substitution.
4399 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4400
4401 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4402
4403 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4404
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4406 $as_echo_n "checking whether build environment is sane... " >&6; }
4407 # Just in case
4408 sleep 1
4409 echo timestamp > conftest.file
4410 # Reject unsafe characters in $srcdir or the absolute working directory
4411 # name.  Accept space and tab only in the latter.
4412 am_lf='
4413 '
4414 case `pwd` in
4415   *[\\\"\#\$\&\'\`$am_lf]*)
4416     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4417 esac
4418 case $srcdir in
4419   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
4420     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4421 esac
4422
4423 # Do `set' in a subshell so we don't clobber the current shell's
4424 # arguments.  Must try -L first in case configure is actually a
4425 # symlink; some systems play weird games with the mod time of symlinks
4426 # (eg FreeBSD returns the mod time of the symlink's containing
4427 # directory).
4428 if (
4429    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4430    if test "$*" = "X"; then
4431       # -L didn't work.
4432       set X `ls -t "$srcdir/configure" conftest.file`
4433    fi
4434    rm -f conftest.file
4435    if test "$*" != "X $srcdir/configure conftest.file" \
4436       && test "$*" != "X conftest.file $srcdir/configure"; then
4437
4438       # If neither matched, then we have a broken ls.  This can happen
4439       # if, for instance, CONFIG_SHELL is bash and it inherits a
4440       # broken ls alias from the environment.  This has actually
4441       # happened.  Such a system could not be considered "sane".
4442       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4443 alias in your environment" "$LINENO" 5
4444    fi
4445
4446    test "$2" = conftest.file
4447    )
4448 then
4449    # Ok.
4450    :
4451 else
4452    as_fn_error $? "newly created file is older than distributed files!
4453 Check your system clock" "$LINENO" 5
4454 fi
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4456 $as_echo "yes" >&6; }
4457 test "$program_prefix" != NONE &&
4458   program_transform_name="s&^&$program_prefix&;$program_transform_name"
4459 # Use a double $ so make ignores it.
4460 test "$program_suffix" != NONE &&
4461   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4462 # Double any \ or $.
4463 # By default was `s,x,x', remove it if useless.
4464 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4465 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4466
4467 # expand $ac_aux_dir to an absolute path
4468 am_aux_dir=`cd $ac_aux_dir && pwd`
4469
4470 if test x"${MISSING+set}" != xset; then
4471   case $am_aux_dir in
4472   *\ * | *\     *)
4473     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4474   *)
4475     MISSING="\${SHELL} $am_aux_dir/missing" ;;
4476   esac
4477 fi
4478 # Use eval to expand $SHELL
4479 if eval "$MISSING --run true"; then
4480   am_missing_run="$MISSING --run "
4481 else
4482   am_missing_run=
4483   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4484 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4485 fi
4486
4487 if test x"${install_sh}" != xset; then
4488   case $am_aux_dir in
4489   *\ * | *\     *)
4490     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4491   *)
4492     install_sh="\${SHELL} $am_aux_dir/install-sh"
4493   esac
4494 fi
4495
4496 # Installed binaries are usually stripped using `strip' when the user
4497 # run `make install-strip'.  However `strip' might not be the right
4498 # tool to use in cross-compilation environments, therefore Automake
4499 # will honor the `STRIP' environment variable to overrule this program.
4500 if test "$cross_compiling" != no; then
4501   if test -n "$ac_tool_prefix"; then
4502   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4503 set dummy ${ac_tool_prefix}strip; ac_word=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if ${ac_cv_prog_STRIP+:} false; then :
4507   $as_echo_n "(cached) " >&6
4508 else
4509   if test -n "$STRIP"; then
4510   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4511 else
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 for as_dir in $PATH
4514 do
4515   IFS=$as_save_IFS
4516   test -z "$as_dir" && as_dir=.
4517     for ac_exec_ext in '' $ac_executable_extensions; do
4518   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521     break 2
4522   fi
4523 done
4524   done
4525 IFS=$as_save_IFS
4526
4527 fi
4528 fi
4529 STRIP=$ac_cv_prog_STRIP
4530 if test -n "$STRIP"; then
4531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4532 $as_echo "$STRIP" >&6; }
4533 else
4534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4536 fi
4537
4538
4539 fi
4540 if test -z "$ac_cv_prog_STRIP"; then
4541   ac_ct_STRIP=$STRIP
4542   # Extract the first word of "strip", so it can be a program name with args.
4543 set dummy strip; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4547   $as_echo_n "(cached) " >&6
4548 else
4549   if test -n "$ac_ct_STRIP"; then
4550   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4554 do
4555   IFS=$as_save_IFS
4556   test -z "$as_dir" && as_dir=.
4557     for ac_exec_ext in '' $ac_executable_extensions; do
4558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559     ac_cv_prog_ac_ct_STRIP="strip"
4560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561     break 2
4562   fi
4563 done
4564   done
4565 IFS=$as_save_IFS
4566
4567 fi
4568 fi
4569 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4570 if test -n "$ac_ct_STRIP"; then
4571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4572 $as_echo "$ac_ct_STRIP" >&6; }
4573 else
4574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4576 fi
4577
4578   if test "x$ac_ct_STRIP" = x; then
4579     STRIP=":"
4580   else
4581     case $cross_compiling:$ac_tool_warned in
4582 yes:)
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4585 ac_tool_warned=yes ;;
4586 esac
4587     STRIP=$ac_ct_STRIP
4588   fi
4589 else
4590   STRIP="$ac_cv_prog_STRIP"
4591 fi
4592
4593 fi
4594 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4595
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4597 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4598 if test -z "$MKDIR_P"; then
4599   if ${ac_cv_path_mkdir+:} false; then :
4600   $as_echo_n "(cached) " >&6
4601 else
4602   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4604 do
4605   IFS=$as_save_IFS
4606   test -z "$as_dir" && as_dir=.
4607     for ac_prog in mkdir gmkdir; do
4608          for ac_exec_ext in '' $ac_executable_extensions; do
4609            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4610            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4611              'mkdir (GNU coreutils) '* | \
4612              'mkdir (coreutils) '* | \
4613              'mkdir (fileutils) '4.1*)
4614                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4615                break 3;;
4616            esac
4617          done
4618        done
4619   done
4620 IFS=$as_save_IFS
4621
4622 fi
4623
4624   test -d ./--version && rmdir ./--version
4625   if test "${ac_cv_path_mkdir+set}" = set; then
4626     MKDIR_P="$ac_cv_path_mkdir -p"
4627   else
4628     # As a last resort, use the slow shell script.  Don't cache a
4629     # value for MKDIR_P within a source directory, because that will
4630     # break other packages using the cache if that directory is
4631     # removed, or if the value is a relative name.
4632     MKDIR_P="$ac_install_sh -d"
4633   fi
4634 fi
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4636 $as_echo "$MKDIR_P" >&6; }
4637
4638 mkdir_p="$MKDIR_P"
4639 case $mkdir_p in
4640   [\\/$]* | ?:[\\/]*) ;;
4641   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4642 esac
4643
4644 for ac_prog in gawk mawk nawk awk
4645 do
4646   # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy $ac_prog; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_AWK+:} false; then :
4651   $as_echo_n "(cached) " >&6
4652 else
4653   if test -n "$AWK"; then
4654   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4655 else
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH
4658 do
4659   IFS=$as_save_IFS
4660   test -z "$as_dir" && as_dir=.
4661     for ac_exec_ext in '' $ac_executable_extensions; do
4662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663     ac_cv_prog_AWK="$ac_prog"
4664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665     break 2
4666   fi
4667 done
4668   done
4669 IFS=$as_save_IFS
4670
4671 fi
4672 fi
4673 AWK=$ac_cv_prog_AWK
4674 if test -n "$AWK"; then
4675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4676 $as_echo "$AWK" >&6; }
4677 else
4678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4680 fi
4681
4682
4683   test -n "$AWK" && break
4684 done
4685
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4687 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4688 set x ${MAKE-make}
4689 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4690 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4691   $as_echo_n "(cached) " >&6
4692 else
4693   cat >conftest.make <<\_ACEOF
4694 SHELL = /bin/sh
4695 all:
4696         @echo '@@@%%%=$(MAKE)=@@@%%%'
4697 _ACEOF
4698 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4699 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4700   *@@@%%%=?*=@@@%%%*)
4701     eval ac_cv_prog_make_${ac_make}_set=yes;;
4702   *)
4703     eval ac_cv_prog_make_${ac_make}_set=no;;
4704 esac
4705 rm -f conftest.make
4706 fi
4707 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4709 $as_echo "yes" >&6; }
4710   SET_MAKE=
4711 else
4712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4714   SET_MAKE="MAKE=${MAKE-make}"
4715 fi
4716
4717 rm -rf .tst 2>/dev/null
4718 mkdir .tst 2>/dev/null
4719 if test -d .tst; then
4720   am__leading_dot=.
4721 else
4722   am__leading_dot=_
4723 fi
4724 rmdir .tst 2>/dev/null
4725
4726 DEPDIR="${am__leading_dot}deps"
4727
4728 ac_config_commands="$ac_config_commands depfiles"
4729
4730
4731 am_make=${MAKE-make}
4732 cat > confinc << 'END'
4733 am__doit:
4734         @echo this is the am__doit target
4735 .PHONY: am__doit
4736 END
4737 # If we don't find an include directive, just comment out the code.
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4739 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4740 am__include="#"
4741 am__quote=
4742 _am_result=none
4743 # First try GNU make style include.
4744 echo "include confinc" > confmf
4745 # Ignore all kinds of additional output from `make'.
4746 case `$am_make -s -f confmf 2> /dev/null` in #(
4747 *the\ am__doit\ target*)
4748   am__include=include
4749   am__quote=
4750   _am_result=GNU
4751   ;;
4752 esac
4753 # Now try BSD make style include.
4754 if test "$am__include" = "#"; then
4755    echo '.include "confinc"' > confmf
4756    case `$am_make -s -f confmf 2> /dev/null` in #(
4757    *the\ am__doit\ target*)
4758      am__include=.include
4759      am__quote="\""
4760      _am_result=BSD
4761      ;;
4762    esac
4763 fi
4764
4765
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4767 $as_echo "$_am_result" >&6; }
4768 rm -f confinc confmf
4769
4770 # Check whether --enable-dependency-tracking was given.
4771 if test "${enable_dependency_tracking+set}" = set; then :
4772   enableval=$enable_dependency_tracking;
4773 fi
4774
4775 if test "x$enable_dependency_tracking" != xno; then
4776   am_depcomp="$ac_aux_dir/depcomp"
4777   AMDEPBACKSLASH='\'
4778   am__nodep='_no'
4779 fi
4780  if test "x$enable_dependency_tracking" != xno; then
4781   AMDEP_TRUE=
4782   AMDEP_FALSE='#'
4783 else
4784   AMDEP_TRUE='#'
4785   AMDEP_FALSE=
4786 fi
4787
4788
4789 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4790   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4791   # is not polluted with repeated "-I."
4792   am__isrc=' -I$(srcdir)'
4793   # test to see if srcdir already configured
4794   if test -f $srcdir/config.status; then
4795     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4796   fi
4797 fi
4798
4799 # test whether we have cygpath
4800 if test -z "$CYGPATH_W"; then
4801   if (cygpath --version) >/dev/null 2>/dev/null; then
4802     CYGPATH_W='cygpath -w'
4803   else
4804     CYGPATH_W=echo
4805   fi
4806 fi
4807
4808
4809 # Define the identity of the package.
4810  PACKAGE='rygel-gst-0-10-media-engine'
4811  VERSION='1.17.4'
4812
4813
4814 cat >>confdefs.h <<_ACEOF
4815 #define PACKAGE "$PACKAGE"
4816 _ACEOF
4817
4818
4819 cat >>confdefs.h <<_ACEOF
4820 #define VERSION "$VERSION"
4821 _ACEOF
4822
4823 # Some tools Automake needs.
4824
4825 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4826
4827
4828 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4829
4830
4831 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4832
4833
4834 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4835
4836
4837 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4838
4839 # We need awk for the "check" target.  The system "awk" is bad on
4840 # some platforms.
4841 # Always define AMTAR for backward compatibility.  Yes, it's still used
4842 # in the wild :-(  We should find a proper way to deprecate it ...
4843 AMTAR='$${TAR-tar}'
4844
4845
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4847 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
4848 # Loop over all known methods to create a tar archive until one works.
4849 _am_tools='gnutar plaintar pax cpio none'
4850 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4851 # Do not fold the above two line into one, because Tru64 sh and
4852 # Solaris sh will not grok spaces in the rhs of `-'.
4853 for _am_tool in $_am_tools
4854 do
4855   case $_am_tool in
4856   gnutar)
4857     for _am_tar in tar gnutar gtar;
4858     do
4859       { echo "$as_me:$LINENO: $_am_tar --version" >&5
4860    ($_am_tar --version) >&5 2>&5
4861    ac_status=$?
4862    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863    (exit $ac_status); } && break
4864     done
4865     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4866     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4867     am__untar="$_am_tar -xf -"
4868     ;;
4869   plaintar)
4870     # Must skip GNU tar: if it does not support --format= it doesn't create
4871     # ustar tarball either.
4872     (tar --version) >/dev/null 2>&1 && continue
4873     am__tar='tar chf - "$$tardir"'
4874     am__tar_='tar chf - "$tardir"'
4875     am__untar='tar xf -'
4876     ;;
4877   pax)
4878     am__tar='pax -L -x ustar -w "$$tardir"'
4879     am__tar_='pax -L -x ustar -w "$tardir"'
4880     am__untar='pax -r'
4881     ;;
4882   cpio)
4883     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4884     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4885     am__untar='cpio -i -H ustar -d'
4886     ;;
4887   none)
4888     am__tar=false
4889     am__tar_=false
4890     am__untar=false
4891     ;;
4892   esac
4893
4894   # If the value was cached, stop now.  We just wanted to have am__tar
4895   # and am__untar set.
4896   test -n "${am_cv_prog_tar_ustar}" && break
4897
4898   # tar/untar a dummy directory, and stop if the command works
4899   rm -rf conftest.dir
4900   mkdir conftest.dir
4901   echo GrepMe > conftest.dir/file
4902   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4903    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4904    ac_status=$?
4905    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906    (exit $ac_status); }
4907   rm -rf conftest.dir
4908   if test -s conftest.tar; then
4909     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4910    ($am__untar <conftest.tar) >&5 2>&5
4911    ac_status=$?
4912    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913    (exit $ac_status); }
4914     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4915   fi
4916 done
4917 rm -rf conftest.dir
4918
4919 if ${am_cv_prog_tar_ustar+:} false; then :
4920   $as_echo_n "(cached) " >&6
4921 else
4922   am_cv_prog_tar_ustar=$_am_tool
4923 fi
4924
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4926 $as_echo "$am_cv_prog_tar_ustar" >&6; }
4927
4928
4929
4930
4931 depcc="$CC"   am_compiler_list=
4932
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4934 $as_echo_n "checking dependency style of $depcc... " >&6; }
4935 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4936   $as_echo_n "(cached) " >&6
4937 else
4938   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4939   # We make a subdir and do the tests there.  Otherwise we can end up
4940   # making bogus files that we don't know about and never remove.  For
4941   # instance it was reported that on HP-UX the gcc test will end up
4942   # making a dummy file named `D' -- because `-MD' means `put the output
4943   # in D'.
4944   rm -rf conftest.dir
4945   mkdir conftest.dir
4946   # Copy depcomp to subdir because otherwise we won't find it if we're
4947   # using a relative directory.
4948   cp "$am_depcomp" conftest.dir
4949   cd conftest.dir
4950   # We will build objects and dependencies in a subdirectory because
4951   # it helps to detect inapplicable dependency modes.  For instance
4952   # both Tru64's cc and ICC support -MD to output dependencies as a
4953   # side effect of compilation, but ICC will put the dependencies in
4954   # the current directory while Tru64 will put them in the object
4955   # directory.
4956   mkdir sub
4957
4958   am_cv_CC_dependencies_compiler_type=none
4959   if test "$am_compiler_list" = ""; then
4960      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4961   fi
4962   am__universal=false
4963   case " $depcc " in #(
4964      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4965      esac
4966
4967   for depmode in $am_compiler_list; do
4968     # Setup a source with many dependencies, because some compilers
4969     # like to wrap large dependency lists on column 80 (with \), and
4970     # we should not choose a depcomp mode which is confused by this.
4971     #
4972     # We need to recreate these files for each test, as the compiler may
4973     # overwrite some of them when testing with obscure command lines.
4974     # This happens at least with the AIX C compiler.
4975     : > sub/conftest.c
4976     for i in 1 2 3 4 5 6; do
4977       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4978       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4979       # Solaris 8's {/usr,}/bin/sh.
4980       touch sub/conftst$i.h
4981     done
4982     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4983
4984     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4985     # mode.  It turns out that the SunPro C++ compiler does not properly
4986     # handle `-M -o', and we need to detect this.  Also, some Intel
4987     # versions had trouble with output in subdirs
4988     am__obj=sub/conftest.${OBJEXT-o}
4989     am__minus_obj="-o $am__obj"
4990     case $depmode in
4991     gcc)
4992       # This depmode causes a compiler race in universal mode.
4993       test "$am__universal" = false || continue
4994       ;;
4995     nosideeffect)
4996       # after this tag, mechanisms are not by side-effect, so they'll
4997       # only be used when explicitly requested
4998       if test "x$enable_dependency_tracking" = xyes; then
4999         continue
5000       else
5001         break
5002       fi
5003       ;;
5004     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5005       # This compiler won't grok `-c -o', but also, the minuso test has
5006       # not run yet.  These depmodes are late enough in the game, and
5007       # so weak that their functioning should not be impacted.
5008       am__obj=conftest.${OBJEXT-o}
5009       am__minus_obj=
5010       ;;
5011     none) break ;;
5012     esac
5013     if depmode=$depmode \
5014        source=sub/conftest.c object=$am__obj \
5015        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5016        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5017          >/dev/null 2>conftest.err &&
5018        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5019        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5020        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5021        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5022       # icc doesn't choke on unknown options, it will just issue warnings
5023       # or remarks (even with -Werror).  So we grep stderr for any message
5024       # that says an option was ignored or not supported.
5025       # When given -MP, icc 7.0 and 7.1 complain thusly:
5026       #   icc: Command line warning: ignoring option '-M'; no argument required
5027       # The diagnosis changed in icc 8.0:
5028       #   icc: Command line remark: option '-MP' not supported
5029       if (grep 'ignoring option' conftest.err ||
5030           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5031         am_cv_CC_dependencies_compiler_type=$depmode
5032         break
5033       fi
5034     fi
5035   done
5036
5037   cd ..
5038   rm -rf conftest.dir
5039 else
5040   am_cv_CC_dependencies_compiler_type=none
5041 fi
5042
5043 fi
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5045 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5046 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5047
5048  if
5049   test "x$enable_dependency_tracking" != xno \
5050   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5051   am__fastdepCC_TRUE=
5052   am__fastdepCC_FALSE='#'
5053 else
5054   am__fastdepCC_TRUE='#'
5055   am__fastdepCC_FALSE=
5056 fi
5057
5058
5059
5060
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5062 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5063     # Check whether --enable-maintainer-mode was given.
5064 if test "${enable_maintainer_mode+set}" = set; then :
5065   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5066 else
5067   USE_MAINTAINER_MODE=yes
5068 fi
5069
5070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5071 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5072    if test $USE_MAINTAINER_MODE = yes; then
5073   MAINTAINER_MODE_TRUE=
5074   MAINTAINER_MODE_FALSE='#'
5075 else
5076   MAINTAINER_MODE_TRUE='#'
5077   MAINTAINER_MODE_FALSE=
5078 fi
5079
5080   MAINT=$MAINTAINER_MODE_TRUE
5081
5082
5083
5084
5085 case `pwd` in
5086   *\ * | *\     *)
5087     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5088 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5089 esac
5090
5091
5092
5093 macro_version='2.4.2'
5094 macro_revision='1.3337'
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108 ltmain="$ac_aux_dir/ltmain.sh"
5109
5110 # Make sure we can run config.sub.
5111 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5112   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5113
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5115 $as_echo_n "checking build system type... " >&6; }
5116 if ${ac_cv_build+:} false; then :
5117   $as_echo_n "(cached) " >&6
5118 else
5119   ac_build_alias=$build_alias
5120 test "x$ac_build_alias" = x &&
5121   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5122 test "x$ac_build_alias" = x &&
5123   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5124 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5125   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5126
5127 fi
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5129 $as_echo "$ac_cv_build" >&6; }
5130 case $ac_cv_build in
5131 *-*-*) ;;
5132 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5133 esac
5134 build=$ac_cv_build
5135 ac_save_IFS=$IFS; IFS='-'
5136 set x $ac_cv_build
5137 shift
5138 build_cpu=$1
5139 build_vendor=$2
5140 shift; shift
5141 # Remember, the first character of IFS is used to create $*,
5142 # except with old shells:
5143 build_os=$*
5144 IFS=$ac_save_IFS
5145 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5146
5147
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5149 $as_echo_n "checking host system type... " >&6; }
5150 if ${ac_cv_host+:} false; then :
5151   $as_echo_n "(cached) " >&6
5152 else
5153   if test "x$host_alias" = x; then
5154   ac_cv_host=$ac_cv_build
5155 else
5156   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5157     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5158 fi
5159
5160 fi
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5162 $as_echo "$ac_cv_host" >&6; }
5163 case $ac_cv_host in
5164 *-*-*) ;;
5165 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5166 esac
5167 host=$ac_cv_host
5168 ac_save_IFS=$IFS; IFS='-'
5169 set x $ac_cv_host
5170 shift
5171 host_cpu=$1
5172 host_vendor=$2
5173 shift; shift
5174 # Remember, the first character of IFS is used to create $*,
5175 # except with old shells:
5176 host_os=$*
5177 IFS=$ac_save_IFS
5178 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5179
5180
5181 # Backslashify metacharacters that are still active within
5182 # double-quoted strings.
5183 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5184
5185 # Same as above, but do not quote variable references.
5186 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5187
5188 # Sed substitution to delay expansion of an escaped shell variable in a
5189 # double_quote_subst'ed string.
5190 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5191
5192 # Sed substitution to delay expansion of an escaped single quote.
5193 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5194
5195 # Sed substitution to avoid accidental globbing in evaled expressions
5196 no_glob_subst='s/\*/\\\*/g'
5197
5198 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5199 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5200 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5201
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5203 $as_echo_n "checking how to print strings... " >&6; }
5204 # Test print first, because it will be a builtin if present.
5205 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5206    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5207   ECHO='print -r --'
5208 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5209   ECHO='printf %s\n'
5210 else
5211   # Use this function as a fallback that always works.
5212   func_fallback_echo ()
5213   {
5214     eval 'cat <<_LTECHO_EOF
5215 $1
5216 _LTECHO_EOF'
5217   }
5218   ECHO='func_fallback_echo'
5219 fi
5220
5221 # func_echo_all arg...
5222 # Invoke $ECHO with all args, space-separated.
5223 func_echo_all ()
5224 {
5225     $ECHO ""
5226 }
5227
5228 case "$ECHO" in
5229   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5230 $as_echo "printf" >&6; } ;;
5231   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5232 $as_echo "print -r" >&6; } ;;
5233   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5234 $as_echo "cat" >&6; } ;;
5235 esac
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5251 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5252 if ${ac_cv_path_SED+:} false; then :
5253   $as_echo_n "(cached) " >&6
5254 else
5255             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5256      for ac_i in 1 2 3 4 5 6 7; do
5257        ac_script="$ac_script$as_nl$ac_script"
5258      done
5259      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5260      { ac_script=; unset ac_script;}
5261      if test -z "$SED"; then
5262   ac_path_SED_found=false
5263   # Loop through the user's path and test for each of PROGNAME-LIST
5264   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH
5266 do
5267   IFS=$as_save_IFS
5268   test -z "$as_dir" && as_dir=.
5269     for ac_prog in sed gsed; do
5270     for ac_exec_ext in '' $ac_executable_extensions; do
5271       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5272       as_fn_executable_p "$ac_path_SED" || continue
5273 # Check for GNU ac_path_SED and select it if it is found.
5274   # Check for GNU $ac_path_SED
5275 case `"$ac_path_SED" --version 2>&1` in
5276 *GNU*)
5277   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5278 *)
5279   ac_count=0
5280   $as_echo_n 0123456789 >"conftest.in"
5281   while :
5282   do
5283     cat "conftest.in" "conftest.in" >"conftest.tmp"
5284     mv "conftest.tmp" "conftest.in"
5285     cp "conftest.in" "conftest.nl"
5286     $as_echo '' >> "conftest.nl"
5287     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5288     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5289     as_fn_arith $ac_count + 1 && ac_count=$as_val
5290     if test $ac_count -gt ${ac_path_SED_max-0}; then
5291       # Best one so far, save it but keep looking for a better one
5292       ac_cv_path_SED="$ac_path_SED"
5293       ac_path_SED_max=$ac_count
5294     fi
5295     # 10*(2^10) chars as input seems more than enough
5296     test $ac_count -gt 10 && break
5297   done
5298   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5299 esac
5300
5301       $ac_path_SED_found && break 3
5302     done
5303   done
5304   done
5305 IFS=$as_save_IFS
5306   if test -z "$ac_cv_path_SED"; then
5307     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5308   fi
5309 else
5310   ac_cv_path_SED=$SED
5311 fi
5312
5313 fi
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5315 $as_echo "$ac_cv_path_SED" >&6; }
5316  SED="$ac_cv_path_SED"
5317   rm -f conftest.sed
5318
5319 test -z "$SED" && SED=sed
5320 Xsed="$SED -e 1s/^X//"
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5333 $as_echo_n "checking for fgrep... " >&6; }
5334 if ${ac_cv_path_FGREP+:} false; then :
5335   $as_echo_n "(cached) " >&6
5336 else
5337   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5338    then ac_cv_path_FGREP="$GREP -F"
5339    else
5340      if test -z "$FGREP"; then
5341   ac_path_FGREP_found=false
5342   # Loop through the user's path and test for each of PROGNAME-LIST
5343   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5345 do
5346   IFS=$as_save_IFS
5347   test -z "$as_dir" && as_dir=.
5348     for ac_prog in fgrep; do
5349     for ac_exec_ext in '' $ac_executable_extensions; do
5350       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5351       as_fn_executable_p "$ac_path_FGREP" || continue
5352 # Check for GNU ac_path_FGREP and select it if it is found.
5353   # Check for GNU $ac_path_FGREP
5354 case `"$ac_path_FGREP" --version 2>&1` in
5355 *GNU*)
5356   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5357 *)
5358   ac_count=0
5359   $as_echo_n 0123456789 >"conftest.in"
5360   while :
5361   do
5362     cat "conftest.in" "conftest.in" >"conftest.tmp"
5363     mv "conftest.tmp" "conftest.in"
5364     cp "conftest.in" "conftest.nl"
5365     $as_echo 'FGREP' >> "conftest.nl"
5366     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5367     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5368     as_fn_arith $ac_count + 1 && ac_count=$as_val
5369     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5370       # Best one so far, save it but keep looking for a better one
5371       ac_cv_path_FGREP="$ac_path_FGREP"
5372       ac_path_FGREP_max=$ac_count
5373     fi
5374     # 10*(2^10) chars as input seems more than enough
5375     test $ac_count -gt 10 && break
5376   done
5377   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5378 esac
5379
5380       $ac_path_FGREP_found && break 3
5381     done
5382   done
5383   done
5384 IFS=$as_save_IFS
5385   if test -z "$ac_cv_path_FGREP"; then
5386     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5387   fi
5388 else
5389   ac_cv_path_FGREP=$FGREP
5390 fi
5391
5392    fi
5393 fi
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5395 $as_echo "$ac_cv_path_FGREP" >&6; }
5396  FGREP="$ac_cv_path_FGREP"
5397
5398
5399 test -z "$GREP" && GREP=grep
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419 # Check whether --with-gnu-ld was given.
5420 if test "${with_gnu_ld+set}" = set; then :
5421   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5422 else
5423   with_gnu_ld=no
5424 fi
5425
5426 ac_prog=ld
5427 if test "$GCC" = yes; then
5428   # Check if gcc -print-prog-name=ld gives a path.
5429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5430 $as_echo_n "checking for ld used by $CC... " >&6; }
5431   case $host in
5432   *-*-mingw*)
5433     # gcc leaves a trailing carriage return which upsets mingw
5434     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5435   *)
5436     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5437   esac
5438   case $ac_prog in
5439     # Accept absolute paths.
5440     [\\/]* | ?:[\\/]*)
5441       re_direlt='/[^/][^/]*/\.\./'
5442       # Canonicalize the pathname of ld
5443       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5444       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5445         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5446       done
5447       test -z "$LD" && LD="$ac_prog"
5448       ;;
5449   "")
5450     # If it fails, then pretend we aren't using GCC.
5451     ac_prog=ld
5452     ;;
5453   *)
5454     # If it is relative, then search for the first ld in PATH.
5455     with_gnu_ld=unknown
5456     ;;
5457   esac
5458 elif test "$with_gnu_ld" = yes; then
5459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5460 $as_echo_n "checking for GNU ld... " >&6; }
5461 else
5462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5463 $as_echo_n "checking for non-GNU ld... " >&6; }
5464 fi
5465 if ${lt_cv_path_LD+:} false; then :
5466   $as_echo_n "(cached) " >&6
5467 else
5468   if test -z "$LD"; then
5469   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5470   for ac_dir in $PATH; do
5471     IFS="$lt_save_ifs"
5472     test -z "$ac_dir" && ac_dir=.
5473     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5474       lt_cv_path_LD="$ac_dir/$ac_prog"
5475       # Check to see if the program is GNU ld.  I'd rather use --version,
5476       # but apparently some variants of GNU ld only accept -v.
5477       # Break only if it was the GNU/non-GNU ld that we prefer.
5478       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5479       *GNU* | *'with BFD'*)
5480         test "$with_gnu_ld" != no && break
5481         ;;
5482       *)
5483         test "$with_gnu_ld" != yes && break
5484         ;;
5485       esac
5486     fi
5487   done
5488   IFS="$lt_save_ifs"
5489 else
5490   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5491 fi
5492 fi
5493
5494 LD="$lt_cv_path_LD"
5495 if test -n "$LD"; then
5496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5497 $as_echo "$LD" >&6; }
5498 else
5499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5501 fi
5502 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5504 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5505 if ${lt_cv_prog_gnu_ld+:} false; then :
5506   $as_echo_n "(cached) " >&6
5507 else
5508   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5509 case `$LD -v 2>&1 </dev/null` in
5510 *GNU* | *'with BFD'*)
5511   lt_cv_prog_gnu_ld=yes
5512   ;;
5513 *)
5514   lt_cv_prog_gnu_ld=no
5515   ;;
5516 esac
5517 fi
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5519 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5520 with_gnu_ld=$lt_cv_prog_gnu_ld
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5531 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5532 if ${lt_cv_path_NM+:} false; then :
5533   $as_echo_n "(cached) " >&6
5534 else
5535   if test -n "$NM"; then
5536   # Let the user override the test.
5537   lt_cv_path_NM="$NM"
5538 else
5539   lt_nm_to_check="${ac_tool_prefix}nm"
5540   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5541     lt_nm_to_check="$lt_nm_to_check nm"
5542   fi
5543   for lt_tmp_nm in $lt_nm_to_check; do
5544     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5545     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5546       IFS="$lt_save_ifs"
5547       test -z "$ac_dir" && ac_dir=.
5548       tmp_nm="$ac_dir/$lt_tmp_nm"
5549       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5550         # Check to see if the nm accepts a BSD-compat flag.
5551         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5552         #   nm: unknown option "B" ignored
5553         # Tru64's nm complains that /dev/null is an invalid object file
5554         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5555         */dev/null* | *'Invalid file or object type'*)
5556           lt_cv_path_NM="$tmp_nm -B"
5557           break
5558           ;;
5559         *)
5560           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5561           */dev/null*)
5562             lt_cv_path_NM="$tmp_nm -p"
5563             break
5564             ;;
5565           *)
5566             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5567             continue # so that we can try to find one that supports BSD flags
5568             ;;
5569           esac
5570           ;;
5571         esac
5572       fi
5573     done
5574     IFS="$lt_save_ifs"
5575   done
5576   : ${lt_cv_path_NM=no}
5577 fi
5578 fi
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5580 $as_echo "$lt_cv_path_NM" >&6; }
5581 if test "$lt_cv_path_NM" != "no"; then
5582   NM="$lt_cv_path_NM"
5583 else
5584   # Didn't find any BSD compatible name lister, look for dumpbin.
5585   if test -n "$DUMPBIN"; then :
5586     # Let the user override the test.
5587   else
5588     if test -n "$ac_tool_prefix"; then
5589   for ac_prog in dumpbin "link -dump"
5590   do
5591     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5592 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_DUMPBIN+:} false; then :
5596   $as_echo_n "(cached) " >&6
5597 else
5598   if test -n "$DUMPBIN"; then
5599   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5603 do
5604   IFS=$as_save_IFS
5605   test -z "$as_dir" && as_dir=.
5606     for ac_exec_ext in '' $ac_executable_extensions; do
5607   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610     break 2
5611   fi
5612 done
5613   done
5614 IFS=$as_save_IFS
5615
5616 fi
5617 fi
5618 DUMPBIN=$ac_cv_prog_DUMPBIN
5619 if test -n "$DUMPBIN"; then
5620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5621 $as_echo "$DUMPBIN" >&6; }
5622 else
5623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5625 fi
5626
5627
5628     test -n "$DUMPBIN" && break
5629   done
5630 fi
5631 if test -z "$DUMPBIN"; then
5632   ac_ct_DUMPBIN=$DUMPBIN
5633   for ac_prog in dumpbin "link -dump"
5634 do
5635   # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy $ac_prog; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5640   $as_echo_n "(cached) " >&6
5641 else
5642   if test -n "$ac_ct_DUMPBIN"; then
5643   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5644 else
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 for as_dir in $PATH
5647 do
5648   IFS=$as_save_IFS
5649   test -z "$as_dir" && as_dir=.
5650     for ac_exec_ext in '' $ac_executable_extensions; do
5651   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654     break 2
5655   fi
5656 done
5657   done
5658 IFS=$as_save_IFS
5659
5660 fi
5661 fi
5662 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5663 if test -n "$ac_ct_DUMPBIN"; then
5664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5665 $as_echo "$ac_ct_DUMPBIN" >&6; }
5666 else
5667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5669 fi
5670
5671
5672   test -n "$ac_ct_DUMPBIN" && break
5673 done
5674
5675   if test "x$ac_ct_DUMPBIN" = x; then
5676     DUMPBIN=":"
5677   else
5678     case $cross_compiling:$ac_tool_warned in
5679 yes:)
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5682 ac_tool_warned=yes ;;
5683 esac
5684     DUMPBIN=$ac_ct_DUMPBIN
5685   fi
5686 fi
5687
5688     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5689     *COFF*)
5690       DUMPBIN="$DUMPBIN -symbols"
5691       ;;
5692     *)
5693       DUMPBIN=:
5694       ;;
5695     esac
5696   fi
5697
5698   if test "$DUMPBIN" != ":"; then
5699     NM="$DUMPBIN"
5700   fi
5701 fi
5702 test -z "$NM" && NM=nm
5703
5704
5705
5706
5707
5708
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5710 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5711 if ${lt_cv_nm_interface+:} false; then :
5712   $as_echo_n "(cached) " >&6
5713 else
5714   lt_cv_nm_interface="BSD nm"
5715   echo "int some_variable = 0;" > conftest.$ac_ext
5716   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5717   (eval "$ac_compile" 2>conftest.err)
5718   cat conftest.err >&5
5719   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5720   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5721   cat conftest.err >&5
5722   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5723   cat conftest.out >&5
5724   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5725     lt_cv_nm_interface="MS dumpbin"
5726   fi
5727   rm -f conftest*
5728 fi
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5730 $as_echo "$lt_cv_nm_interface" >&6; }
5731
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5733 $as_echo_n "checking whether ln -s works... " >&6; }
5734 LN_S=$as_ln_s
5735 if test "$LN_S" = "ln -s"; then
5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5737 $as_echo "yes" >&6; }
5738 else
5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5740 $as_echo "no, using $LN_S" >&6; }
5741 fi
5742
5743 # find the maximum length of command line arguments
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5745 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5746 if ${lt_cv_sys_max_cmd_len+:} false; then :
5747   $as_echo_n "(cached) " >&6
5748 else
5749     i=0
5750   teststring="ABCD"
5751
5752   case $build_os in
5753   msdosdjgpp*)
5754     # On DJGPP, this test can blow up pretty badly due to problems in libc
5755     # (any single argument exceeding 2000 bytes causes a buffer overrun
5756     # during glob expansion).  Even if it were fixed, the result of this
5757     # check would be larger than it should be.
5758     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5759     ;;
5760
5761   gnu*)
5762     # Under GNU Hurd, this test is not required because there is
5763     # no limit to the length of command line arguments.
5764     # Libtool will interpret -1 as no limit whatsoever
5765     lt_cv_sys_max_cmd_len=-1;
5766     ;;
5767
5768   cygwin* | mingw* | cegcc*)
5769     # On Win9x/ME, this test blows up -- it succeeds, but takes
5770     # about 5 minutes as the teststring grows exponentially.
5771     # Worse, since 9x/ME are not pre-emptively multitasking,
5772     # you end up with a "frozen" computer, even though with patience
5773     # the test eventually succeeds (with a max line length of 256k).
5774     # Instead, let's just punt: use the minimum linelength reported by
5775     # all of the supported platforms: 8192 (on NT/2K/XP).
5776     lt_cv_sys_max_cmd_len=8192;
5777     ;;
5778
5779   mint*)
5780     # On MiNT this can take a long time and run out of memory.
5781     lt_cv_sys_max_cmd_len=8192;
5782     ;;
5783
5784   amigaos*)
5785     # On AmigaOS with pdksh, this test takes hours, literally.
5786     # So we just punt and use a minimum line length of 8192.
5787     lt_cv_sys_max_cmd_len=8192;
5788     ;;
5789
5790   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5791     # This has been around since 386BSD, at least.  Likely further.
5792     if test -x /sbin/sysctl; then
5793       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5794     elif test -x /usr/sbin/sysctl; then
5795       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5796     else
5797       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5798     fi
5799     # And add a safety zone
5800     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5801     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5802     ;;
5803
5804   interix*)
5805     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5806     lt_cv_sys_max_cmd_len=196608
5807     ;;
5808
5809   os2*)
5810     # The test takes a long time on OS/2.
5811     lt_cv_sys_max_cmd_len=8192
5812     ;;
5813
5814   osf*)
5815     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5816     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5817     # nice to cause kernel panics so lets avoid the loop below.
5818     # First set a reasonable default.
5819     lt_cv_sys_max_cmd_len=16384
5820     #
5821     if test -x /sbin/sysconfig; then
5822       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5823         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5824       esac
5825     fi
5826     ;;
5827   sco3.2v5*)
5828     lt_cv_sys_max_cmd_len=102400
5829     ;;
5830   sysv5* | sco5v6* | sysv4.2uw2*)
5831     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5832     if test -n "$kargmax"; then
5833       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5834     else
5835       lt_cv_sys_max_cmd_len=32768
5836     fi
5837     ;;
5838   *)
5839     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5840     if test -n "$lt_cv_sys_max_cmd_len"; then
5841       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5842       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5843     else
5844       # Make teststring a little bigger before we do anything with it.
5845       # a 1K string should be a reasonable start.
5846       for i in 1 2 3 4 5 6 7 8 ; do
5847         teststring=$teststring$teststring
5848       done
5849       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5850       # If test is not a shell built-in, we'll probably end up computing a
5851       # maximum length that is only half of the actual maximum length, but
5852       # we can't tell.
5853       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5854                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5855               test $i != 17 # 1/2 MB should be enough
5856       do
5857         i=`expr $i + 1`
5858         teststring=$teststring$teststring
5859       done
5860       # Only check the string length outside the loop.
5861       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5862       teststring=
5863       # Add a significant safety factor because C++ compilers can tack on
5864       # massive amounts of additional arguments before passing them to the
5865       # linker.  It appears as though 1/2 is a usable value.
5866       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5867     fi
5868     ;;
5869   esac
5870
5871 fi
5872
5873 if test -n $lt_cv_sys_max_cmd_len ; then
5874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5875 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5876 else
5877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5878 $as_echo "none" >&6; }
5879 fi
5880 max_cmd_len=$lt_cv_sys_max_cmd_len
5881
5882
5883
5884
5885
5886
5887 : ${CP="cp -f"}
5888 : ${MV="mv -f"}
5889 : ${RM="rm -f"}
5890
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5892 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5893 # Try some XSI features
5894 xsi_shell=no
5895 ( _lt_dummy="a/b/c"
5896   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5897       = c,a/b,b/c, \
5898     && eval 'test $(( 1 + 1 )) -eq 2 \
5899     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5900   && xsi_shell=yes
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5902 $as_echo "$xsi_shell" >&6; }
5903
5904
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5906 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5907 lt_shell_append=no
5908 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5909     >/dev/null 2>&1 \
5910   && lt_shell_append=yes
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5912 $as_echo "$lt_shell_append" >&6; }
5913
5914
5915 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5916   lt_unset=unset
5917 else
5918   lt_unset=false
5919 fi
5920
5921
5922
5923
5924
5925 # test EBCDIC or ASCII
5926 case `echo X|tr X '\101'` in
5927  A) # ASCII based system
5928     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5929   lt_SP2NL='tr \040 \012'
5930   lt_NL2SP='tr \015\012 \040\040'
5931   ;;
5932  *) # EBCDIC based system
5933   lt_SP2NL='tr \100 \n'
5934   lt_NL2SP='tr \r\n \100\100'
5935   ;;
5936 esac
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5947 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5948 if ${lt_cv_to_host_file_cmd+:} false; then :
5949   $as_echo_n "(cached) " >&6
5950 else
5951   case $host in
5952   *-*-mingw* )
5953     case $build in
5954       *-*-mingw* ) # actually msys
5955         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5956         ;;
5957       *-*-cygwin* )
5958         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5959         ;;
5960       * ) # otherwise, assume *nix
5961         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5962         ;;
5963     esac
5964     ;;
5965   *-*-cygwin* )
5966     case $build in
5967       *-*-mingw* ) # actually msys
5968         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5969         ;;
5970       *-*-cygwin* )
5971         lt_cv_to_host_file_cmd=func_convert_file_noop
5972         ;;
5973       * ) # otherwise, assume *nix
5974         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5975         ;;
5976     esac
5977     ;;
5978   * ) # unhandled hosts (and "normal" native builds)
5979     lt_cv_to_host_file_cmd=func_convert_file_noop
5980     ;;
5981 esac
5982
5983 fi
5984
5985 to_host_file_cmd=$lt_cv_to_host_file_cmd
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5987 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5988
5989
5990
5991
5992
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5994 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5995 if ${lt_cv_to_tool_file_cmd+:} false; then :
5996   $as_echo_n "(cached) " >&6
5997 else
5998   #assume ordinary cross tools, or native build.
5999 lt_cv_to_tool_file_cmd=func_convert_file_noop
6000 case $host in
6001   *-*-mingw* )
6002     case $build in
6003       *-*-mingw* ) # actually msys
6004         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6005         ;;
6006     esac
6007     ;;
6008 esac
6009
6010 fi
6011
6012 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6014 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6015
6016
6017
6018
6019
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6021 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6022 if ${lt_cv_ld_reload_flag+:} false; then :
6023   $as_echo_n "(cached) " >&6
6024 else
6025   lt_cv_ld_reload_flag='-r'
6026 fi
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6028 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6029 reload_flag=$lt_cv_ld_reload_flag
6030 case $reload_flag in
6031 "" | " "*) ;;
6032 *) reload_flag=" $reload_flag" ;;
6033 esac
6034 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6035 case $host_os in
6036   cygwin* | mingw* | pw32* | cegcc*)
6037     if test "$GCC" != yes; then
6038       reload_cmds=false
6039     fi
6040     ;;
6041   darwin*)
6042     if test "$GCC" = yes; then
6043       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6044     else
6045       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6046     fi
6047     ;;
6048 esac
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058 if test -n "$ac_tool_prefix"; then
6059   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_OBJDUMP+:} false; then :
6064   $as_echo_n "(cached) " >&6
6065 else
6066   if test -n "$OBJDUMP"; then
6067   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6071 do
6072   IFS=$as_save_IFS
6073   test -z "$as_dir" && as_dir=.
6074     for ac_exec_ext in '' $ac_executable_extensions; do
6075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078     break 2
6079   fi
6080 done
6081   done
6082 IFS=$as_save_IFS
6083
6084 fi
6085 fi
6086 OBJDUMP=$ac_cv_prog_OBJDUMP
6087 if test -n "$OBJDUMP"; then
6088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6089 $as_echo "$OBJDUMP" >&6; }
6090 else
6091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6093 fi
6094
6095
6096 fi
6097 if test -z "$ac_cv_prog_OBJDUMP"; then
6098   ac_ct_OBJDUMP=$OBJDUMP
6099   # Extract the first word of "objdump", so it can be a program name with args.
6100 set dummy objdump; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6104   $as_echo_n "(cached) " >&6
6105 else
6106   if test -n "$ac_ct_OBJDUMP"; then
6107   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6108 else
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 for as_dir in $PATH
6111 do
6112   IFS=$as_save_IFS
6113   test -z "$as_dir" && as_dir=.
6114     for ac_exec_ext in '' $ac_executable_extensions; do
6115   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118     break 2
6119   fi
6120 done
6121   done
6122 IFS=$as_save_IFS
6123
6124 fi
6125 fi
6126 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6127 if test -n "$ac_ct_OBJDUMP"; then
6128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6129 $as_echo "$ac_ct_OBJDUMP" >&6; }
6130 else
6131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6133 fi
6134
6135   if test "x$ac_ct_OBJDUMP" = x; then
6136     OBJDUMP="false"
6137   else
6138     case $cross_compiling:$ac_tool_warned in
6139 yes:)
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 ac_tool_warned=yes ;;
6143 esac
6144     OBJDUMP=$ac_ct_OBJDUMP
6145   fi
6146 else
6147   OBJDUMP="$ac_cv_prog_OBJDUMP"
6148 fi
6149
6150 test -z "$OBJDUMP" && OBJDUMP=objdump
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6161 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6162 if ${lt_cv_deplibs_check_method+:} false; then :
6163   $as_echo_n "(cached) " >&6
6164 else
6165   lt_cv_file_magic_cmd='$MAGIC_CMD'
6166 lt_cv_file_magic_test_file=
6167 lt_cv_deplibs_check_method='unknown'
6168 # Need to set the preceding variable on all platforms that support
6169 # interlibrary dependencies.
6170 # 'none' -- dependencies not supported.
6171 # `unknown' -- same as none, but documents that we really don't know.
6172 # 'pass_all' -- all dependencies passed with no checks.
6173 # 'test_compile' -- check by making test program.
6174 # 'file_magic [[regex]]' -- check by looking for files in library path
6175 # which responds to the $file_magic_cmd with a given extended regex.
6176 # If you have `file' or equivalent on your system and you're not sure
6177 # whether `pass_all' will *always* work, you probably want this one.
6178
6179 case $host_os in
6180 aix[4-9]*)
6181   lt_cv_deplibs_check_method=pass_all
6182   ;;
6183
6184 beos*)
6185   lt_cv_deplibs_check_method=pass_all
6186   ;;
6187
6188 bsdi[45]*)
6189   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6190   lt_cv_file_magic_cmd='/usr/bin/file -L'
6191   lt_cv_file_magic_test_file=/shlib/libc.so
6192   ;;
6193
6194 cygwin*)
6195   # func_win32_libid is a shell function defined in ltmain.sh
6196   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6197   lt_cv_file_magic_cmd='func_win32_libid'
6198   ;;
6199
6200 mingw* | pw32*)
6201   # Base MSYS/MinGW do not provide the 'file' command needed by
6202   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6203   # unless we find 'file', for example because we are cross-compiling.
6204   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6205   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6206     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6207     lt_cv_file_magic_cmd='func_win32_libid'
6208   else
6209     # Keep this pattern in sync with the one in func_win32_libid.
6210     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6211     lt_cv_file_magic_cmd='$OBJDUMP -f'
6212   fi
6213   ;;
6214
6215 cegcc*)
6216   # use the weaker test based on 'objdump'. See mingw*.
6217   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6218   lt_cv_file_magic_cmd='$OBJDUMP -f'
6219   ;;
6220
6221 darwin* | rhapsody*)
6222   lt_cv_deplibs_check_method=pass_all
6223   ;;
6224
6225 freebsd* | dragonfly*)
6226   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6227     case $host_cpu in
6228     i*86 )
6229       # Not sure whether the presence of OpenBSD here was a mistake.
6230       # Let's accept both of them until this is cleared up.
6231       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6232       lt_cv_file_magic_cmd=/usr/bin/file
6233       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6234       ;;
6235     esac
6236   else
6237     lt_cv_deplibs_check_method=pass_all
6238   fi
6239   ;;
6240
6241 gnu*)
6242   lt_cv_deplibs_check_method=pass_all
6243   ;;
6244
6245 haiku*)
6246   lt_cv_deplibs_check_method=pass_all
6247   ;;
6248
6249 hpux10.20* | hpux11*)
6250   lt_cv_file_magic_cmd=/usr/bin/file
6251   case $host_cpu in
6252   ia64*)
6253     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6254     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6255     ;;
6256   hppa*64*)
6257     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]'
6258     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6259     ;;
6260   *)
6261     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6262     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6263     ;;
6264   esac
6265   ;;
6266
6267 interix[3-9]*)
6268   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6269   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6270   ;;
6271
6272 irix5* | irix6* | nonstopux*)
6273   case $LD in
6274   *-32|*"-32 ") libmagic=32-bit;;
6275   *-n32|*"-n32 ") libmagic=N32;;
6276   *-64|*"-64 ") libmagic=64-bit;;
6277   *) libmagic=never-match;;
6278   esac
6279   lt_cv_deplibs_check_method=pass_all
6280   ;;
6281
6282 # This must be glibc/ELF.
6283 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6284   lt_cv_deplibs_check_method=pass_all
6285   ;;
6286
6287 netbsd* | netbsdelf*-gnu)
6288   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6289     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6290   else
6291     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6292   fi
6293   ;;
6294
6295 newos6*)
6296   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6297   lt_cv_file_magic_cmd=/usr/bin/file
6298   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6299   ;;
6300
6301 *nto* | *qnx*)
6302   lt_cv_deplibs_check_method=pass_all
6303   ;;
6304
6305 openbsd*)
6306   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6307     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6308   else
6309     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6310   fi
6311   ;;
6312
6313 osf3* | osf4* | osf5*)
6314   lt_cv_deplibs_check_method=pass_all
6315   ;;
6316
6317 rdos*)
6318   lt_cv_deplibs_check_method=pass_all
6319   ;;
6320
6321 solaris*)
6322   lt_cv_deplibs_check_method=pass_all
6323   ;;
6324
6325 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6326   lt_cv_deplibs_check_method=pass_all
6327   ;;
6328
6329 sysv4 | sysv4.3*)
6330   case $host_vendor in
6331   motorola)
6332     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]'
6333     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6334     ;;
6335   ncr)
6336     lt_cv_deplibs_check_method=pass_all
6337     ;;
6338   sequent)
6339     lt_cv_file_magic_cmd='/bin/file'
6340     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6341     ;;
6342   sni)
6343     lt_cv_file_magic_cmd='/bin/file'
6344     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6345     lt_cv_file_magic_test_file=/lib/libc.so
6346     ;;
6347   siemens)
6348     lt_cv_deplibs_check_method=pass_all
6349     ;;
6350   pc)
6351     lt_cv_deplibs_check_method=pass_all
6352     ;;
6353   esac
6354   ;;
6355
6356 tpf*)
6357   lt_cv_deplibs_check_method=pass_all
6358   ;;
6359 esac
6360
6361 fi
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6363 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6364
6365 file_magic_glob=
6366 want_nocaseglob=no
6367 if test "$build" = "$host"; then
6368   case $host_os in
6369   mingw* | pw32*)
6370     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6371       want_nocaseglob=yes
6372     else
6373       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6374     fi
6375     ;;
6376   esac
6377 fi
6378
6379 file_magic_cmd=$lt_cv_file_magic_cmd
6380 deplibs_check_method=$lt_cv_deplibs_check_method
6381 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404 if test -n "$ac_tool_prefix"; then
6405   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6406 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if ${ac_cv_prog_DLLTOOL+:} false; then :
6410   $as_echo_n "(cached) " >&6
6411 else
6412   if test -n "$DLLTOOL"; then
6413   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6414 else
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 for as_dir in $PATH
6417 do
6418   IFS=$as_save_IFS
6419   test -z "$as_dir" && as_dir=.
6420     for ac_exec_ext in '' $ac_executable_extensions; do
6421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6422     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424     break 2
6425   fi
6426 done
6427   done
6428 IFS=$as_save_IFS
6429
6430 fi
6431 fi
6432 DLLTOOL=$ac_cv_prog_DLLTOOL
6433 if test -n "$DLLTOOL"; then
6434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6435 $as_echo "$DLLTOOL" >&6; }
6436 else
6437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6439 fi
6440
6441
6442 fi
6443 if test -z "$ac_cv_prog_DLLTOOL"; then
6444   ac_ct_DLLTOOL=$DLLTOOL
6445   # Extract the first word of "dlltool", so it can be a program name with args.
6446 set dummy dlltool; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6450   $as_echo_n "(cached) " >&6
6451 else
6452   if test -n "$ac_ct_DLLTOOL"; then
6453   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6454 else
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6457 do
6458   IFS=$as_save_IFS
6459   test -z "$as_dir" && as_dir=.
6460     for ac_exec_ext in '' $ac_executable_extensions; do
6461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6462     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464     break 2
6465   fi
6466 done
6467   done
6468 IFS=$as_save_IFS
6469
6470 fi
6471 fi
6472 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6473 if test -n "$ac_ct_DLLTOOL"; then
6474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6475 $as_echo "$ac_ct_DLLTOOL" >&6; }
6476 else
6477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6479 fi
6480
6481   if test "x$ac_ct_DLLTOOL" = x; then
6482     DLLTOOL="false"
6483   else
6484     case $cross_compiling:$ac_tool_warned in
6485 yes:)
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6488 ac_tool_warned=yes ;;
6489 esac
6490     DLLTOOL=$ac_ct_DLLTOOL
6491   fi
6492 else
6493   DLLTOOL="$ac_cv_prog_DLLTOOL"
6494 fi
6495
6496 test -z "$DLLTOOL" && DLLTOOL=dlltool
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6508 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6509 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6510   $as_echo_n "(cached) " >&6
6511 else
6512   lt_cv_sharedlib_from_linklib_cmd='unknown'
6513
6514 case $host_os in
6515 cygwin* | mingw* | pw32* | cegcc*)
6516   # two different shell functions defined in ltmain.sh
6517   # decide which to use based on capabilities of $DLLTOOL
6518   case `$DLLTOOL --help 2>&1` in
6519   *--identify-strict*)
6520     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6521     ;;
6522   *)
6523     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6524     ;;
6525   esac
6526   ;;
6527 *)
6528   # fallback: assume linklib IS sharedlib
6529   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6530   ;;
6531 esac
6532
6533 fi
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6535 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6536 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6537 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6538
6539
6540
6541
6542
6543
6544
6545 if test -n "$ac_tool_prefix"; then
6546   for ac_prog in ar
6547   do
6548     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if ${ac_cv_prog_AR+:} false; then :
6553   $as_echo_n "(cached) " >&6
6554 else
6555   if test -n "$AR"; then
6556   ac_cv_prog_AR="$AR" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6560 do
6561   IFS=$as_save_IFS
6562   test -z "$as_dir" && as_dir=.
6563     for ac_exec_ext in '' $ac_executable_extensions; do
6564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6565     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567     break 2
6568   fi
6569 done
6570   done
6571 IFS=$as_save_IFS
6572
6573 fi
6574 fi
6575 AR=$ac_cv_prog_AR
6576 if test -n "$AR"; then
6577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6578 $as_echo "$AR" >&6; }
6579 else
6580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6582 fi
6583
6584
6585     test -n "$AR" && break
6586   done
6587 fi
6588 if test -z "$AR"; then
6589   ac_ct_AR=$AR
6590   for ac_prog in ar
6591 do
6592   # Extract the first word of "$ac_prog", so it can be a program name with args.
6593 set dummy $ac_prog; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 $as_echo_n "checking for $ac_word... " >&6; }
6596 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6597   $as_echo_n "(cached) " >&6
6598 else
6599   if test -n "$ac_ct_AR"; then
6600   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6601 else
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 for as_dir in $PATH
6604 do
6605   IFS=$as_save_IFS
6606   test -z "$as_dir" && as_dir=.
6607     for ac_exec_ext in '' $ac_executable_extensions; do
6608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6609     ac_cv_prog_ac_ct_AR="$ac_prog"
6610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611     break 2
6612   fi
6613 done
6614   done
6615 IFS=$as_save_IFS
6616
6617 fi
6618 fi
6619 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6620 if test -n "$ac_ct_AR"; then
6621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6622 $as_echo "$ac_ct_AR" >&6; }
6623 else
6624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 $as_echo "no" >&6; }
6626 fi
6627
6628
6629   test -n "$ac_ct_AR" && break
6630 done
6631
6632   if test "x$ac_ct_AR" = x; then
6633     AR="false"
6634   else
6635     case $cross_compiling:$ac_tool_warned in
6636 yes:)
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6639 ac_tool_warned=yes ;;
6640 esac
6641     AR=$ac_ct_AR
6642   fi
6643 fi
6644
6645 : ${AR=ar}
6646 : ${AR_FLAGS=cru}
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6659 $as_echo_n "checking for archiver @FILE support... " >&6; }
6660 if ${lt_cv_ar_at_file+:} false; then :
6661   $as_echo_n "(cached) " >&6
6662 else
6663   lt_cv_ar_at_file=no
6664    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h.  */
6666
6667 int
6668 main ()
6669 {
6670
6671   ;
6672   return 0;
6673 }
6674 _ACEOF
6675 if ac_fn_c_try_compile "$LINENO"; then :
6676   echo conftest.$ac_objext > conftest.lst
6677       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6678       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6679   (eval $lt_ar_try) 2>&5
6680   ac_status=$?
6681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6682   test $ac_status = 0; }
6683       if test "$ac_status" -eq 0; then
6684         # Ensure the archiver fails upon bogus file names.
6685         rm -f conftest.$ac_objext libconftest.a
6686         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6687   (eval $lt_ar_try) 2>&5
6688   ac_status=$?
6689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690   test $ac_status = 0; }
6691         if test "$ac_status" -ne 0; then
6692           lt_cv_ar_at_file=@
6693         fi
6694       fi
6695       rm -f conftest.* libconftest.a
6696
6697 fi
6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6699
6700 fi
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6702 $as_echo "$lt_cv_ar_at_file" >&6; }
6703
6704 if test "x$lt_cv_ar_at_file" = xno; then
6705   archiver_list_spec=
6706 else
6707   archiver_list_spec=$lt_cv_ar_at_file
6708 fi
6709
6710
6711
6712
6713
6714
6715
6716 if test -n "$ac_tool_prefix"; then
6717   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}strip; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if ${ac_cv_prog_STRIP+:} false; then :
6722   $as_echo_n "(cached) " >&6
6723 else
6724   if test -n "$STRIP"; then
6725   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6729 do
6730   IFS=$as_save_IFS
6731   test -z "$as_dir" && as_dir=.
6732     for ac_exec_ext in '' $ac_executable_extensions; do
6733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6734     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736     break 2
6737   fi
6738 done
6739   done
6740 IFS=$as_save_IFS
6741
6742 fi
6743 fi
6744 STRIP=$ac_cv_prog_STRIP
6745 if test -n "$STRIP"; then
6746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6747 $as_echo "$STRIP" >&6; }
6748 else
6749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6751 fi
6752
6753
6754 fi
6755 if test -z "$ac_cv_prog_STRIP"; then
6756   ac_ct_STRIP=$STRIP
6757   # Extract the first word of "strip", so it can be a program name with args.
6758 set dummy strip; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6762   $as_echo_n "(cached) " >&6
6763 else
6764   if test -n "$ac_ct_STRIP"; then
6765   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6769 do
6770   IFS=$as_save_IFS
6771   test -z "$as_dir" && as_dir=.
6772     for ac_exec_ext in '' $ac_executable_extensions; do
6773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6774     ac_cv_prog_ac_ct_STRIP="strip"
6775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776     break 2
6777   fi
6778 done
6779   done
6780 IFS=$as_save_IFS
6781
6782 fi
6783 fi
6784 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6785 if test -n "$ac_ct_STRIP"; then
6786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6787 $as_echo "$ac_ct_STRIP" >&6; }
6788 else
6789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6791 fi
6792
6793   if test "x$ac_ct_STRIP" = x; then
6794     STRIP=":"
6795   else
6796     case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802     STRIP=$ac_ct_STRIP
6803   fi
6804 else
6805   STRIP="$ac_cv_prog_STRIP"
6806 fi
6807
6808 test -z "$STRIP" && STRIP=:
6809
6810
6811
6812
6813
6814
6815 if test -n "$ac_tool_prefix"; then
6816   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6817 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 $as_echo_n "checking for $ac_word... " >&6; }
6820 if ${ac_cv_prog_RANLIB+:} false; then :
6821   $as_echo_n "(cached) " >&6
6822 else
6823   if test -n "$RANLIB"; then
6824   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6825 else
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 for as_dir in $PATH
6828 do
6829   IFS=$as_save_IFS
6830   test -z "$as_dir" && as_dir=.
6831     for ac_exec_ext in '' $ac_executable_extensions; do
6832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6833     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6835     break 2
6836   fi
6837 done
6838   done
6839 IFS=$as_save_IFS
6840
6841 fi
6842 fi
6843 RANLIB=$ac_cv_prog_RANLIB
6844 if test -n "$RANLIB"; then
6845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6846 $as_echo "$RANLIB" >&6; }
6847 else
6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 $as_echo "no" >&6; }
6850 fi
6851
6852
6853 fi
6854 if test -z "$ac_cv_prog_RANLIB"; then
6855   ac_ct_RANLIB=$RANLIB
6856   # Extract the first word of "ranlib", so it can be a program name with args.
6857 set dummy ranlib; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; }
6860 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6861   $as_echo_n "(cached) " >&6
6862 else
6863   if test -n "$ac_ct_RANLIB"; then
6864   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6865 else
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 for as_dir in $PATH
6868 do
6869   IFS=$as_save_IFS
6870   test -z "$as_dir" && as_dir=.
6871     for ac_exec_ext in '' $ac_executable_extensions; do
6872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6873     ac_cv_prog_ac_ct_RANLIB="ranlib"
6874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6875     break 2
6876   fi
6877 done
6878   done
6879 IFS=$as_save_IFS
6880
6881 fi
6882 fi
6883 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6884 if test -n "$ac_ct_RANLIB"; then
6885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6886 $as_echo "$ac_ct_RANLIB" >&6; }
6887 else
6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6890 fi
6891
6892   if test "x$ac_ct_RANLIB" = x; then
6893     RANLIB=":"
6894   else
6895     case $cross_compiling:$ac_tool_warned in
6896 yes:)
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6899 ac_tool_warned=yes ;;
6900 esac
6901     RANLIB=$ac_ct_RANLIB
6902   fi
6903 else
6904   RANLIB="$ac_cv_prog_RANLIB"
6905 fi
6906
6907 test -z "$RANLIB" && RANLIB=:
6908
6909
6910
6911
6912
6913
6914 # Determine commands to create old-style static archives.
6915 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6916 old_postinstall_cmds='chmod 644 $oldlib'
6917 old_postuninstall_cmds=
6918
6919 if test -n "$RANLIB"; then
6920   case $host_os in
6921   openbsd*)
6922     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6923     ;;
6924   *)
6925     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6926     ;;
6927   esac
6928   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6929 fi
6930
6931 case $host_os in
6932   darwin*)
6933     lock_old_archive_extraction=yes ;;
6934   *)
6935     lock_old_archive_extraction=no ;;
6936 esac
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976 # If no C compiler was specified, use CC.
6977 LTCC=${LTCC-"$CC"}
6978
6979 # If no C compiler flags were specified, use CFLAGS.
6980 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6981
6982 # Allow CC to be a program name with arguments.
6983 compiler=$CC
6984
6985
6986 # Check for command to grab the raw symbol name followed by C symbol from nm.
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6988 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6989 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6990   $as_echo_n "(cached) " >&6
6991 else
6992
6993 # These are sane defaults that work on at least a few old systems.
6994 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6995
6996 # Character class describing NM global symbol codes.
6997 symcode='[BCDEGRST]'
6998
6999 # Regexp to match symbols that can be accessed directly from C.
7000 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7001
7002 # Define system-specific variables.
7003 case $host_os in
7004 aix*)
7005   symcode='[BCDT]'
7006   ;;
7007 cygwin* | mingw* | pw32* | cegcc*)
7008   symcode='[ABCDGISTW]'
7009   ;;
7010 hpux*)
7011   if test "$host_cpu" = ia64; then
7012     symcode='[ABCDEGRST]'
7013   fi
7014   ;;
7015 irix* | nonstopux*)
7016   symcode='[BCDEGRST]'
7017   ;;
7018 osf*)
7019   symcode='[BCDEGQRST]'
7020   ;;
7021 solaris*)
7022   symcode='[BDRT]'
7023   ;;
7024 sco3.2v5*)
7025   symcode='[DT]'
7026   ;;
7027 sysv4.2uw2*)
7028   symcode='[DT]'
7029   ;;
7030 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7031   symcode='[ABDT]'
7032   ;;
7033 sysv4)
7034   symcode='[DFNSTU]'
7035   ;;
7036 esac
7037
7038 # If we're using GNU nm, then use its standard symbol codes.
7039 case `$NM -V 2>&1` in
7040 *GNU* | *'with BFD'*)
7041   symcode='[ABCDGIRSTW]' ;;
7042 esac
7043
7044 # Transform an extracted symbol line into a proper C declaration.
7045 # Some systems (esp. on ia64) link data and code symbols differently,
7046 # so use this general approach.
7047 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7048
7049 # Transform an extracted symbol line into symbol name and symbol address
7050 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7051 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'"
7052
7053 # Handle CRLF in mingw tool chain
7054 opt_cr=
7055 case $build_os in
7056 mingw*)
7057   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7058   ;;
7059 esac
7060
7061 # Try without a prefix underscore, then with it.
7062 for ac_symprfx in "" "_"; do
7063
7064   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7065   symxfrm="\\1 $ac_symprfx\\2 \\2"
7066
7067   # Write the raw and C identifiers.
7068   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7069     # Fake it for dumpbin and say T for any non-static function
7070     # and D for any global variable.
7071     # Also find C++ and __fastcall symbols from MSVC++,
7072     # which start with @ or ?.
7073     lt_cv_sys_global_symbol_pipe="$AWK '"\
7074 "     {last_section=section; section=\$ 3};"\
7075 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7076 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7077 "     \$ 0!~/External *\|/{next};"\
7078 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7079 "     {if(hide[section]) next};"\
7080 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7081 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7082 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7083 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7084 "     ' prfx=^$ac_symprfx"
7085   else
7086     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7087   fi
7088   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7089
7090   # Check to see that the pipe works correctly.
7091   pipe_works=no
7092
7093   rm -f conftest*
7094   cat > conftest.$ac_ext <<_LT_EOF
7095 #ifdef __cplusplus
7096 extern "C" {
7097 #endif
7098 char nm_test_var;
7099 void nm_test_func(void);
7100 void nm_test_func(void){}
7101 #ifdef __cplusplus
7102 }
7103 #endif
7104 int main(){nm_test_var='a';nm_test_func();return(0);}
7105 _LT_EOF
7106
7107   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7108   (eval $ac_compile) 2>&5
7109   ac_status=$?
7110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7111   test $ac_status = 0; }; then
7112     # Now try to grab the symbols.
7113     nlist=conftest.nm
7114     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7115   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7116   ac_status=$?
7117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7118   test $ac_status = 0; } && test -s "$nlist"; then
7119       # Try sorting and uniquifying the output.
7120       if sort "$nlist" | uniq > "$nlist"T; then
7121         mv -f "$nlist"T "$nlist"
7122       else
7123         rm -f "$nlist"T
7124       fi
7125
7126       # Make sure that we snagged all the symbols we need.
7127       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7128         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7129           cat <<_LT_EOF > conftest.$ac_ext
7130 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7131 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7132 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7133    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7134 # define LT_DLSYM_CONST
7135 #elif defined(__osf__)
7136 /* This system does not cope well with relocations in const data.  */
7137 # define LT_DLSYM_CONST
7138 #else
7139 # define LT_DLSYM_CONST const
7140 #endif
7141
7142 #ifdef __cplusplus
7143 extern "C" {
7144 #endif
7145
7146 _LT_EOF
7147           # Now generate the symbol file.
7148           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7149
7150           cat <<_LT_EOF >> conftest.$ac_ext
7151
7152 /* The mapping between symbol names and symbols.  */
7153 LT_DLSYM_CONST struct {
7154   const char *name;
7155   void       *address;
7156 }
7157 lt__PROGRAM__LTX_preloaded_symbols[] =
7158 {
7159   { "@PROGRAM@", (void *) 0 },
7160 _LT_EOF
7161           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7162           cat <<\_LT_EOF >> conftest.$ac_ext
7163   {0, (void *) 0}
7164 };
7165
7166 /* This works around a problem in FreeBSD linker */
7167 #ifdef FREEBSD_WORKAROUND
7168 static const void *lt_preloaded_setup() {
7169   return lt__PROGRAM__LTX_preloaded_symbols;
7170 }
7171 #endif
7172
7173 #ifdef __cplusplus
7174 }
7175 #endif
7176 _LT_EOF
7177           # Now try linking the two files.
7178           mv conftest.$ac_objext conftstm.$ac_objext
7179           lt_globsym_save_LIBS=$LIBS
7180           lt_globsym_save_CFLAGS=$CFLAGS
7181           LIBS="conftstm.$ac_objext"
7182           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7183           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7184   (eval $ac_link) 2>&5
7185   ac_status=$?
7186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7187   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7188             pipe_works=yes
7189           fi
7190           LIBS=$lt_globsym_save_LIBS
7191           CFLAGS=$lt_globsym_save_CFLAGS
7192         else
7193           echo "cannot find nm_test_func in $nlist" >&5
7194         fi
7195       else
7196         echo "cannot find nm_test_var in $nlist" >&5
7197       fi
7198     else
7199       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7200     fi
7201   else
7202     echo "$progname: failed program was:" >&5
7203     cat conftest.$ac_ext >&5
7204   fi
7205   rm -rf conftest* conftst*
7206
7207   # Do not use the global_symbol_pipe unless it works.
7208   if test "$pipe_works" = yes; then
7209     break
7210   else
7211     lt_cv_sys_global_symbol_pipe=
7212   fi
7213 done
7214
7215 fi
7216
7217 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7218   lt_cv_sys_global_symbol_to_cdecl=
7219 fi
7220 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7222 $as_echo "failed" >&6; }
7223 else
7224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7225 $as_echo "ok" >&6; }
7226 fi
7227
7228 # Response file support.
7229 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7230   nm_file_list_spec='@'
7231 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7232   nm_file_list_spec='@'
7233 fi
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7262 $as_echo_n "checking for sysroot... " >&6; }
7263
7264 # Check whether --with-sysroot was given.
7265 if test "${with_sysroot+set}" = set; then :
7266   withval=$with_sysroot;
7267 else
7268   with_sysroot=no
7269 fi
7270
7271
7272 lt_sysroot=
7273 case ${with_sysroot} in #(
7274  yes)
7275    if test "$GCC" = yes; then
7276      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7277    fi
7278    ;; #(
7279  /*)
7280    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7281    ;; #(
7282  no|'')
7283    ;; #(
7284  *)
7285    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7286 $as_echo "${with_sysroot}" >&6; }
7287    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7288    ;;
7289 esac
7290
7291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7292 $as_echo "${lt_sysroot:-no}" >&6; }
7293
7294
7295
7296
7297
7298 # Check whether --enable-libtool-lock was given.
7299 if test "${enable_libtool_lock+set}" = set; then :
7300   enableval=$enable_libtool_lock;
7301 fi
7302
7303 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7304
7305 # Some flags need to be propagated to the compiler or linker for good
7306 # libtool support.
7307 case $host in
7308 ia64-*-hpux*)
7309   # Find out which ABI we are using.
7310   echo 'int i;' > conftest.$ac_ext
7311   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7312   (eval $ac_compile) 2>&5
7313   ac_status=$?
7314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7315   test $ac_status = 0; }; then
7316     case `/usr/bin/file conftest.$ac_objext` in
7317       *ELF-32*)
7318         HPUX_IA64_MODE="32"
7319         ;;
7320       *ELF-64*)
7321         HPUX_IA64_MODE="64"
7322         ;;
7323     esac
7324   fi
7325   rm -rf conftest*
7326   ;;
7327 *-*-irix6*)
7328   # Find out which ABI we are using.
7329   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7330   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7331   (eval $ac_compile) 2>&5
7332   ac_status=$?
7333   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7334   test $ac_status = 0; }; then
7335     if test "$lt_cv_prog_gnu_ld" = yes; then
7336       case `/usr/bin/file conftest.$ac_objext` in
7337         *32-bit*)
7338           LD="${LD-ld} -melf32bsmip"
7339           ;;
7340         *N32*)
7341           LD="${LD-ld} -melf32bmipn32"
7342           ;;
7343         *64-bit*)
7344           LD="${LD-ld} -melf64bmip"
7345         ;;
7346       esac
7347     else
7348       case `/usr/bin/file conftest.$ac_objext` in
7349         *32-bit*)
7350           LD="${LD-ld} -32"
7351           ;;
7352         *N32*)
7353           LD="${LD-ld} -n32"
7354           ;;
7355         *64-bit*)
7356           LD="${LD-ld} -64"
7357           ;;
7358       esac
7359     fi
7360   fi
7361   rm -rf conftest*
7362   ;;
7363
7364 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7365 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7366   # Find out which ABI we are using.
7367   echo 'int i;' > conftest.$ac_ext
7368   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7369   (eval $ac_compile) 2>&5
7370   ac_status=$?
7371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7372   test $ac_status = 0; }; then
7373     case `/usr/bin/file conftest.o` in
7374       *32-bit*)
7375         case $host in
7376           x86_64-*kfreebsd*-gnu)
7377             LD="${LD-ld} -m elf_i386_fbsd"
7378             ;;
7379           x86_64-*linux*)
7380             LD="${LD-ld} -m elf_i386"
7381             ;;
7382           ppc64-*linux*|powerpc64-*linux*)
7383             LD="${LD-ld} -m elf32ppclinux"
7384             ;;
7385           s390x-*linux*)
7386             LD="${LD-ld} -m elf_s390"
7387             ;;
7388           sparc64-*linux*)
7389             LD="${LD-ld} -m elf32_sparc"
7390             ;;
7391         esac
7392         ;;
7393       *64-bit*)
7394         case $host in
7395           x86_64-*kfreebsd*-gnu)
7396             LD="${LD-ld} -m elf_x86_64_fbsd"
7397             ;;
7398           x86_64-*linux*)
7399             LD="${LD-ld} -m elf_x86_64"
7400             ;;
7401           ppc*-*linux*|powerpc*-*linux*)
7402             LD="${LD-ld} -m elf64ppc"
7403             ;;
7404           s390*-*linux*|s390*-*tpf*)
7405             LD="${LD-ld} -m elf64_s390"
7406             ;;
7407           sparc*-*linux*)
7408             LD="${LD-ld} -m elf64_sparc"
7409             ;;
7410         esac
7411         ;;
7412     esac
7413   fi
7414   rm -rf conftest*
7415   ;;
7416
7417 *-*-sco3.2v5*)
7418   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7419   SAVE_CFLAGS="$CFLAGS"
7420   CFLAGS="$CFLAGS -belf"
7421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7422 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7423 if ${lt_cv_cc_needs_belf+:} false; then :
7424   $as_echo_n "(cached) " >&6
7425 else
7426   ac_ext=c
7427 ac_cpp='$CPP $CPPFLAGS'
7428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7431
7432      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h.  */
7434
7435 int
7436 main ()
7437 {
7438
7439   ;
7440   return 0;
7441 }
7442 _ACEOF
7443 if ac_fn_c_try_link "$LINENO"; then :
7444   lt_cv_cc_needs_belf=yes
7445 else
7446   lt_cv_cc_needs_belf=no
7447 fi
7448 rm -f core conftest.err conftest.$ac_objext \
7449     conftest$ac_exeext conftest.$ac_ext
7450      ac_ext=c
7451 ac_cpp='$CPP $CPPFLAGS'
7452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7455
7456 fi
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7458 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7459   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7460     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7461     CFLAGS="$SAVE_CFLAGS"
7462   fi
7463   ;;
7464 *-*solaris*)
7465   # Find out which ABI we are using.
7466   echo 'int i;' > conftest.$ac_ext
7467   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7468   (eval $ac_compile) 2>&5
7469   ac_status=$?
7470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7471   test $ac_status = 0; }; then
7472     case `/usr/bin/file conftest.o` in
7473     *64-bit*)
7474       case $lt_cv_prog_gnu_ld in
7475       yes*)
7476         case $host in
7477         i?86-*-solaris*)
7478           LD="${LD-ld} -m elf_x86_64"
7479           ;;
7480         sparc*-*-solaris*)
7481           LD="${LD-ld} -m elf64_sparc"
7482           ;;
7483         esac
7484         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7485         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7486           LD="${LD-ld}_sol2"
7487         fi
7488         ;;
7489       *)
7490         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7491           LD="${LD-ld} -64"
7492         fi
7493         ;;
7494       esac
7495       ;;
7496     esac
7497   fi
7498   rm -rf conftest*
7499   ;;
7500 esac
7501
7502 need_locks="$enable_libtool_lock"
7503
7504 if test -n "$ac_tool_prefix"; then
7505   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7506 set dummy ${ac_tool_prefix}mt; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7510   $as_echo_n "(cached) " >&6
7511 else
7512   if test -n "$MANIFEST_TOOL"; then
7513   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7517 do
7518   IFS=$as_save_IFS
7519   test -z "$as_dir" && as_dir=.
7520     for ac_exec_ext in '' $ac_executable_extensions; do
7521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524     break 2
7525   fi
7526 done
7527   done
7528 IFS=$as_save_IFS
7529
7530 fi
7531 fi
7532 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7533 if test -n "$MANIFEST_TOOL"; then
7534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7535 $as_echo "$MANIFEST_TOOL" >&6; }
7536 else
7537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7539 fi
7540
7541
7542 fi
7543 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7544   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7545   # Extract the first word of "mt", so it can be a program name with args.
7546 set dummy mt; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7550   $as_echo_n "(cached) " >&6
7551 else
7552   if test -n "$ac_ct_MANIFEST_TOOL"; then
7553   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7557 do
7558   IFS=$as_save_IFS
7559   test -z "$as_dir" && as_dir=.
7560     for ac_exec_ext in '' $ac_executable_extensions; do
7561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564     break 2
7565   fi
7566 done
7567   done
7568 IFS=$as_save_IFS
7569
7570 fi
7571 fi
7572 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7573 if test -n "$ac_ct_MANIFEST_TOOL"; then
7574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7575 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7576 else
7577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7579 fi
7580
7581   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7582     MANIFEST_TOOL=":"
7583   else
7584     case $cross_compiling:$ac_tool_warned in
7585 yes:)
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7588 ac_tool_warned=yes ;;
7589 esac
7590     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7591   fi
7592 else
7593   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7594 fi
7595
7596 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7598 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7599 if ${lt_cv_path_mainfest_tool+:} false; then :
7600   $as_echo_n "(cached) " >&6
7601 else
7602   lt_cv_path_mainfest_tool=no
7603   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7604   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7605   cat conftest.err >&5
7606   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7607     lt_cv_path_mainfest_tool=yes
7608   fi
7609   rm -f conftest*
7610 fi
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7612 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7613 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7614   MANIFEST_TOOL=:
7615 fi
7616
7617
7618
7619
7620
7621
7622   case $host_os in
7623     rhapsody* | darwin*)
7624     if test -n "$ac_tool_prefix"; then
7625   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7630   $as_echo_n "(cached) " >&6
7631 else
7632   if test -n "$DSYMUTIL"; then
7633   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7637 do
7638   IFS=$as_save_IFS
7639   test -z "$as_dir" && as_dir=.
7640     for ac_exec_ext in '' $ac_executable_extensions; do
7641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7642     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644     break 2
7645   fi
7646 done
7647   done
7648 IFS=$as_save_IFS
7649
7650 fi
7651 fi
7652 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7653 if test -n "$DSYMUTIL"; then
7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7655 $as_echo "$DSYMUTIL" >&6; }
7656 else
7657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7659 fi
7660
7661
7662 fi
7663 if test -z "$ac_cv_prog_DSYMUTIL"; then
7664   ac_ct_DSYMUTIL=$DSYMUTIL
7665   # Extract the first word of "dsymutil", so it can be a program name with args.
7666 set dummy dsymutil; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7670   $as_echo_n "(cached) " >&6
7671 else
7672   if test -n "$ac_ct_DSYMUTIL"; then
7673   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7677 do
7678   IFS=$as_save_IFS
7679   test -z "$as_dir" && as_dir=.
7680     for ac_exec_ext in '' $ac_executable_extensions; do
7681   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7682     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684     break 2
7685   fi
7686 done
7687   done
7688 IFS=$as_save_IFS
7689
7690 fi
7691 fi
7692 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7693 if test -n "$ac_ct_DSYMUTIL"; then
7694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7695 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7696 else
7697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7699 fi
7700
7701   if test "x$ac_ct_DSYMUTIL" = x; then
7702     DSYMUTIL=":"
7703   else
7704     case $cross_compiling:$ac_tool_warned in
7705 yes:)
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7709 esac
7710     DSYMUTIL=$ac_ct_DSYMUTIL
7711   fi
7712 else
7713   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7714 fi
7715
7716     if test -n "$ac_tool_prefix"; then
7717   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if ${ac_cv_prog_NMEDIT+:} false; then :
7722   $as_echo_n "(cached) " >&6
7723 else
7724   if test -n "$NMEDIT"; then
7725   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7729 do
7730   IFS=$as_save_IFS
7731   test -z "$as_dir" && as_dir=.
7732     for ac_exec_ext in '' $ac_executable_extensions; do
7733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7734     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736     break 2
7737   fi
7738 done
7739   done
7740 IFS=$as_save_IFS
7741
7742 fi
7743 fi
7744 NMEDIT=$ac_cv_prog_NMEDIT
7745 if test -n "$NMEDIT"; then
7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7747 $as_echo "$NMEDIT" >&6; }
7748 else
7749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7751 fi
7752
7753
7754 fi
7755 if test -z "$ac_cv_prog_NMEDIT"; then
7756   ac_ct_NMEDIT=$NMEDIT
7757   # Extract the first word of "nmedit", so it can be a program name with args.
7758 set dummy nmedit; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7762   $as_echo_n "(cached) " >&6
7763 else
7764   if test -n "$ac_ct_NMEDIT"; then
7765   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7766 else
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 for as_dir in $PATH
7769 do
7770   IFS=$as_save_IFS
7771   test -z "$as_dir" && as_dir=.
7772     for ac_exec_ext in '' $ac_executable_extensions; do
7773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7774     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776     break 2
7777   fi
7778 done
7779   done
7780 IFS=$as_save_IFS
7781
7782 fi
7783 fi
7784 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7785 if test -n "$ac_ct_NMEDIT"; then
7786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7787 $as_echo "$ac_ct_NMEDIT" >&6; }
7788 else
7789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7791 fi
7792
7793   if test "x$ac_ct_NMEDIT" = x; then
7794     NMEDIT=":"
7795   else
7796     case $cross_compiling:$ac_tool_warned in
7797 yes:)
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7801 esac
7802     NMEDIT=$ac_ct_NMEDIT
7803   fi
7804 else
7805   NMEDIT="$ac_cv_prog_NMEDIT"
7806 fi
7807
7808     if test -n "$ac_tool_prefix"; then
7809   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7810 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7812 $as_echo_n "checking for $ac_word... " >&6; }
7813 if ${ac_cv_prog_LIPO+:} false; then :
7814   $as_echo_n "(cached) " >&6
7815 else
7816   if test -n "$LIPO"; then
7817   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7818 else
7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820 for as_dir in $PATH
7821 do
7822   IFS=$as_save_IFS
7823   test -z "$as_dir" && as_dir=.
7824     for ac_exec_ext in '' $ac_executable_extensions; do
7825   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7826     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7828     break 2
7829   fi
7830 done
7831   done
7832 IFS=$as_save_IFS
7833
7834 fi
7835 fi
7836 LIPO=$ac_cv_prog_LIPO
7837 if test -n "$LIPO"; then
7838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7839 $as_echo "$LIPO" >&6; }
7840 else
7841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7843 fi
7844
7845
7846 fi
7847 if test -z "$ac_cv_prog_LIPO"; then
7848   ac_ct_LIPO=$LIPO
7849   # Extract the first word of "lipo", so it can be a program name with args.
7850 set dummy lipo; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7852 $as_echo_n "checking for $ac_word... " >&6; }
7853 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7854   $as_echo_n "(cached) " >&6
7855 else
7856   if test -n "$ac_ct_LIPO"; then
7857   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7858 else
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 for as_dir in $PATH
7861 do
7862   IFS=$as_save_IFS
7863   test -z "$as_dir" && as_dir=.
7864     for ac_exec_ext in '' $ac_executable_extensions; do
7865   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7866     ac_cv_prog_ac_ct_LIPO="lipo"
7867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7868     break 2
7869   fi
7870 done
7871   done
7872 IFS=$as_save_IFS
7873
7874 fi
7875 fi
7876 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7877 if test -n "$ac_ct_LIPO"; then
7878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7879 $as_echo "$ac_ct_LIPO" >&6; }
7880 else
7881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 $as_echo "no" >&6; }
7883 fi
7884
7885   if test "x$ac_ct_LIPO" = x; then
7886     LIPO=":"
7887   else
7888     case $cross_compiling:$ac_tool_warned in
7889 yes:)
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7892 ac_tool_warned=yes ;;
7893 esac
7894     LIPO=$ac_ct_LIPO
7895   fi
7896 else
7897   LIPO="$ac_cv_prog_LIPO"
7898 fi
7899
7900     if test -n "$ac_tool_prefix"; then
7901   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7902 set dummy ${ac_tool_prefix}otool; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7904 $as_echo_n "checking for $ac_word... " >&6; }
7905 if ${ac_cv_prog_OTOOL+:} false; then :
7906   $as_echo_n "(cached) " >&6
7907 else
7908   if test -n "$OTOOL"; then
7909   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7910 else
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 for as_dir in $PATH
7913 do
7914   IFS=$as_save_IFS
7915   test -z "$as_dir" && as_dir=.
7916     for ac_exec_ext in '' $ac_executable_extensions; do
7917   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7920     break 2
7921   fi
7922 done
7923   done
7924 IFS=$as_save_IFS
7925
7926 fi
7927 fi
7928 OTOOL=$ac_cv_prog_OTOOL
7929 if test -n "$OTOOL"; then
7930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7931 $as_echo "$OTOOL" >&6; }
7932 else
7933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7934 $as_echo "no" >&6; }
7935 fi
7936
7937
7938 fi
7939 if test -z "$ac_cv_prog_OTOOL"; then
7940   ac_ct_OTOOL=$OTOOL
7941   # Extract the first word of "otool", so it can be a program name with args.
7942 set dummy otool; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7946   $as_echo_n "(cached) " >&6
7947 else
7948   if test -n "$ac_ct_OTOOL"; then
7949   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7950 else
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 for as_dir in $PATH
7953 do
7954   IFS=$as_save_IFS
7955   test -z "$as_dir" && as_dir=.
7956     for ac_exec_ext in '' $ac_executable_extensions; do
7957   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958     ac_cv_prog_ac_ct_OTOOL="otool"
7959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7960     break 2
7961   fi
7962 done
7963   done
7964 IFS=$as_save_IFS
7965
7966 fi
7967 fi
7968 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7969 if test -n "$ac_ct_OTOOL"; then
7970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7971 $as_echo "$ac_ct_OTOOL" >&6; }
7972 else
7973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7975 fi
7976
7977   if test "x$ac_ct_OTOOL" = x; then
7978     OTOOL=":"
7979   else
7980     case $cross_compiling:$ac_tool_warned in
7981 yes:)
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7984 ac_tool_warned=yes ;;
7985 esac
7986     OTOOL=$ac_ct_OTOOL
7987   fi
7988 else
7989   OTOOL="$ac_cv_prog_OTOOL"
7990 fi
7991
7992     if test -n "$ac_tool_prefix"; then
7993   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7994 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7996 $as_echo_n "checking for $ac_word... " >&6; }
7997 if ${ac_cv_prog_OTOOL64+:} false; then :
7998   $as_echo_n "(cached) " >&6
7999 else
8000   if test -n "$OTOOL64"; then
8001   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8002 else
8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8004 for as_dir in $PATH
8005 do
8006   IFS=$as_save_IFS
8007   test -z "$as_dir" && as_dir=.
8008     for ac_exec_ext in '' $ac_executable_extensions; do
8009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8010     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8012     break 2
8013   fi
8014 done
8015   done
8016 IFS=$as_save_IFS
8017
8018 fi
8019 fi
8020 OTOOL64=$ac_cv_prog_OTOOL64
8021 if test -n "$OTOOL64"; then
8022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8023 $as_echo "$OTOOL64" >&6; }
8024 else
8025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 $as_echo "no" >&6; }
8027 fi
8028
8029
8030 fi
8031 if test -z "$ac_cv_prog_OTOOL64"; then
8032   ac_ct_OTOOL64=$OTOOL64
8033   # Extract the first word of "otool64", so it can be a program name with args.
8034 set dummy otool64; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 $as_echo_n "checking for $ac_word... " >&6; }
8037 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8038   $as_echo_n "(cached) " >&6
8039 else
8040   if test -n "$ac_ct_OTOOL64"; then
8041   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8042 else
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8044 for as_dir in $PATH
8045 do
8046   IFS=$as_save_IFS
8047   test -z "$as_dir" && as_dir=.
8048     for ac_exec_ext in '' $ac_executable_extensions; do
8049   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050     ac_cv_prog_ac_ct_OTOOL64="otool64"
8051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052     break 2
8053   fi
8054 done
8055   done
8056 IFS=$as_save_IFS
8057
8058 fi
8059 fi
8060 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8061 if test -n "$ac_ct_OTOOL64"; then
8062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8063 $as_echo "$ac_ct_OTOOL64" >&6; }
8064 else
8065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8067 fi
8068
8069   if test "x$ac_ct_OTOOL64" = x; then
8070     OTOOL64=":"
8071   else
8072     case $cross_compiling:$ac_tool_warned in
8073 yes:)
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8076 ac_tool_warned=yes ;;
8077 esac
8078     OTOOL64=$ac_ct_OTOOL64
8079   fi
8080 else
8081   OTOOL64="$ac_cv_prog_OTOOL64"
8082 fi
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8111 $as_echo_n "checking for -single_module linker flag... " >&6; }
8112 if ${lt_cv_apple_cc_single_mod+:} false; then :
8113   $as_echo_n "(cached) " >&6
8114 else
8115   lt_cv_apple_cc_single_mod=no
8116       if test -z "${LT_MULTI_MODULE}"; then
8117         # By default we will add the -single_module flag. You can override
8118         # by either setting the environment variable LT_MULTI_MODULE
8119         # non-empty at configure time, or by adding -multi_module to the
8120         # link flags.
8121         rm -rf libconftest.dylib*
8122         echo "int foo(void){return 1;}" > conftest.c
8123         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8124 -dynamiclib -Wl,-single_module conftest.c" >&5
8125         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8126           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8127         _lt_result=$?
8128         # If there is a non-empty error log, and "single_module"
8129         # appears in it, assume the flag caused a linker warning
8130         if test -s conftest.err && $GREP single_module conftest.err; then
8131           cat conftest.err >&5
8132         # Otherwise, if the output was created with a 0 exit code from
8133         # the compiler, it worked.
8134         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8135           lt_cv_apple_cc_single_mod=yes
8136         else
8137           cat conftest.err >&5
8138         fi
8139         rm -rf libconftest.dylib*
8140         rm -f conftest.*
8141       fi
8142 fi
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8144 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8145
8146     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8147 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8148 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8149   $as_echo_n "(cached) " >&6
8150 else
8151   lt_cv_ld_exported_symbols_list=no
8152       save_LDFLAGS=$LDFLAGS
8153       echo "_main" > conftest.sym
8154       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8156 /* end confdefs.h.  */
8157
8158 int
8159 main ()
8160 {
8161
8162   ;
8163   return 0;
8164 }
8165 _ACEOF
8166 if ac_fn_c_try_link "$LINENO"; then :
8167   lt_cv_ld_exported_symbols_list=yes
8168 else
8169   lt_cv_ld_exported_symbols_list=no
8170 fi
8171 rm -f core conftest.err conftest.$ac_objext \
8172     conftest$ac_exeext conftest.$ac_ext
8173         LDFLAGS="$save_LDFLAGS"
8174
8175 fi
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8177 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8178
8179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8180 $as_echo_n "checking for -force_load linker flag... " >&6; }
8181 if ${lt_cv_ld_force_load+:} false; then :
8182   $as_echo_n "(cached) " >&6
8183 else
8184   lt_cv_ld_force_load=no
8185       cat > conftest.c << _LT_EOF
8186 int forced_loaded() { return 2;}
8187 _LT_EOF
8188       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8189       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8190       echo "$AR cru libconftest.a conftest.o" >&5
8191       $AR cru libconftest.a conftest.o 2>&5
8192       echo "$RANLIB libconftest.a" >&5
8193       $RANLIB libconftest.a 2>&5
8194       cat > conftest.c << _LT_EOF
8195 int main() { return 0;}
8196 _LT_EOF
8197       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8198       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8199       _lt_result=$?
8200       if test -s conftest.err && $GREP force_load conftest.err; then
8201         cat conftest.err >&5
8202       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8203         lt_cv_ld_force_load=yes
8204       else
8205         cat conftest.err >&5
8206       fi
8207         rm -f conftest.err libconftest.a conftest conftest.c
8208         rm -rf conftest.dSYM
8209
8210 fi
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8212 $as_echo "$lt_cv_ld_force_load" >&6; }
8213     case $host_os in
8214     rhapsody* | darwin1.[012])
8215       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8216     darwin1.*)
8217       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8218     darwin*) # darwin 5.x on
8219       # if running on 10.5 or later, the deployment target defaults
8220       # to the OS version, if on x86, and 10.4, the deployment
8221       # target defaults to 10.4. Don't you love it?
8222       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8223         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8224           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8225         10.[012]*)
8226           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8227         10.*)
8228           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8229       esac
8230     ;;
8231   esac
8232     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8233       _lt_dar_single_mod='$single_module'
8234     fi
8235     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8236       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8237     else
8238       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8239     fi
8240     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8241       _lt_dsymutil='~$DSYMUTIL $lib || :'
8242     else
8243       _lt_dsymutil=
8244     fi
8245     ;;
8246   esac
8247
8248 for ac_header in dlfcn.h
8249 do :
8250   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8251 "
8252 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8253   cat >>confdefs.h <<_ACEOF
8254 #define HAVE_DLFCN_H 1
8255 _ACEOF
8256
8257 fi
8258
8259 done
8260
8261
8262
8263
8264
8265 # Set options
8266 enable_dlopen=yes
8267 # Check whether --enable-static was given.
8268 if test "${enable_static+set}" = set; then :
8269   enableval=$enable_static; p=${PACKAGE-default}
8270     case $enableval in
8271     yes) enable_static=yes ;;
8272     no) enable_static=no ;;
8273     *)
8274      enable_static=no
8275       # Look at the argument we got.  We use all the common list separators.
8276       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8277       for pkg in $enableval; do
8278         IFS="$lt_save_ifs"
8279         if test "X$pkg" = "X$p"; then
8280           enable_static=yes
8281         fi
8282       done
8283       IFS="$lt_save_ifs"
8284       ;;
8285     esac
8286 else
8287   enable_static=no
8288 fi
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300   enable_win32_dll=no
8301
8302
8303             # Check whether --enable-shared was given.
8304 if test "${enable_shared+set}" = set; then :
8305   enableval=$enable_shared; p=${PACKAGE-default}
8306     case $enableval in
8307     yes) enable_shared=yes ;;
8308     no) enable_shared=no ;;
8309     *)
8310       enable_shared=no
8311       # Look at the argument we got.  We use all the common list separators.
8312       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8313       for pkg in $enableval; do
8314         IFS="$lt_save_ifs"
8315         if test "X$pkg" = "X$p"; then
8316           enable_shared=yes
8317         fi
8318       done
8319       IFS="$lt_save_ifs"
8320       ;;
8321     esac
8322 else
8323   enable_shared=yes
8324 fi
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336 # Check whether --with-pic was given.
8337 if test "${with_pic+set}" = set; then :
8338   withval=$with_pic; lt_p=${PACKAGE-default}
8339     case $withval in
8340     yes|no) pic_mode=$withval ;;
8341     *)
8342       pic_mode=default
8343       # Look at the argument we got.  We use all the common list separators.
8344       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8345       for lt_pkg in $withval; do
8346         IFS="$lt_save_ifs"
8347         if test "X$lt_pkg" = "X$lt_p"; then
8348           pic_mode=yes
8349         fi
8350       done
8351       IFS="$lt_save_ifs"
8352       ;;
8353     esac
8354 else
8355   pic_mode=default
8356 fi
8357
8358
8359 test -z "$pic_mode" && pic_mode=default
8360
8361
8362
8363
8364
8365
8366
8367   # Check whether --enable-fast-install was given.
8368 if test "${enable_fast_install+set}" = set; then :
8369   enableval=$enable_fast_install; p=${PACKAGE-default}
8370     case $enableval in
8371     yes) enable_fast_install=yes ;;
8372     no) enable_fast_install=no ;;
8373     *)
8374       enable_fast_install=no
8375       # Look at the argument we got.  We use all the common list separators.
8376       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8377       for pkg in $enableval; do
8378         IFS="$lt_save_ifs"
8379         if test "X$pkg" = "X$p"; then
8380           enable_fast_install=yes
8381         fi
8382       done
8383       IFS="$lt_save_ifs"
8384       ;;
8385     esac
8386 else
8387   enable_fast_install=yes
8388 fi
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400 # This can be used to rebuild libtool when needed
8401 LIBTOOL_DEPS="$ltmain"
8402
8403 # Always use our own libtool.
8404 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435 test -z "$LN_S" && LN_S="ln -s"
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450 if test -n "${ZSH_VERSION+set}" ; then
8451    setopt NO_GLOB_SUBST
8452 fi
8453
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8455 $as_echo_n "checking for objdir... " >&6; }
8456 if ${lt_cv_objdir+:} false; then :
8457   $as_echo_n "(cached) " >&6
8458 else
8459   rm -f .libs 2>/dev/null
8460 mkdir .libs 2>/dev/null
8461 if test -d .libs; then
8462   lt_cv_objdir=.libs
8463 else
8464   # MS-DOS does not allow filenames that begin with a dot.
8465   lt_cv_objdir=_libs
8466 fi
8467 rmdir .libs 2>/dev/null
8468 fi
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8470 $as_echo "$lt_cv_objdir" >&6; }
8471 objdir=$lt_cv_objdir
8472
8473
8474
8475
8476
8477 cat >>confdefs.h <<_ACEOF
8478 #define LT_OBJDIR "$lt_cv_objdir/"
8479 _ACEOF
8480
8481
8482
8483
8484 case $host_os in
8485 aix3*)
8486   # AIX sometimes has problems with the GCC collect2 program.  For some
8487   # reason, if we set the COLLECT_NAMES environment variable, the problems
8488   # vanish in a puff of smoke.
8489   if test "X${COLLECT_NAMES+set}" != Xset; then
8490     COLLECT_NAMES=
8491     export COLLECT_NAMES
8492   fi
8493   ;;
8494 esac
8495
8496 # Global variables:
8497 ofile=libtool
8498 can_build_shared=yes
8499
8500 # All known linkers require a `.a' archive for static linking (except MSVC,
8501 # which needs '.lib').
8502 libext=a
8503
8504 with_gnu_ld="$lt_cv_prog_gnu_ld"
8505
8506 old_CC="$CC"
8507 old_CFLAGS="$CFLAGS"
8508
8509 # Set sane defaults for various variables
8510 test -z "$CC" && CC=cc
8511 test -z "$LTCC" && LTCC=$CC
8512 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8513 test -z "$LD" && LD=ld
8514 test -z "$ac_objext" && ac_objext=o
8515
8516 for cc_temp in $compiler""; do
8517   case $cc_temp in
8518     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8519     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8520     \-*) ;;
8521     *) break;;
8522   esac
8523 done
8524 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8525
8526
8527 # Only perform the check for file, if the check method requires it
8528 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8529 case $deplibs_check_method in
8530 file_magic*)
8531   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8532     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8533 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8534 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8535   $as_echo_n "(cached) " >&6
8536 else
8537   case $MAGIC_CMD in
8538 [\\/*] |  ?:[\\/]*)
8539   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8540   ;;
8541 *)
8542   lt_save_MAGIC_CMD="$MAGIC_CMD"
8543   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8544   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8545   for ac_dir in $ac_dummy; do
8546     IFS="$lt_save_ifs"
8547     test -z "$ac_dir" && ac_dir=.
8548     if test -f $ac_dir/${ac_tool_prefix}file; then
8549       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8550       if test -n "$file_magic_test_file"; then
8551         case $deplibs_check_method in
8552         "file_magic "*)
8553           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8554           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8555           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8556             $EGREP "$file_magic_regex" > /dev/null; then
8557             :
8558           else
8559             cat <<_LT_EOF 1>&2
8560
8561 *** Warning: the command libtool uses to detect shared libraries,
8562 *** $file_magic_cmd, produces output that libtool cannot recognize.
8563 *** The result is that libtool may fail to recognize shared libraries
8564 *** as such.  This will affect the creation of libtool libraries that
8565 *** depend on shared libraries, but programs linked with such libtool
8566 *** libraries will work regardless of this problem.  Nevertheless, you
8567 *** may want to report the problem to your system manager and/or to
8568 *** bug-libtool@gnu.org
8569
8570 _LT_EOF
8571           fi ;;
8572         esac
8573       fi
8574       break
8575     fi
8576   done
8577   IFS="$lt_save_ifs"
8578   MAGIC_CMD="$lt_save_MAGIC_CMD"
8579   ;;
8580 esac
8581 fi
8582
8583 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8584 if test -n "$MAGIC_CMD"; then
8585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8586 $as_echo "$MAGIC_CMD" >&6; }
8587 else
8588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8589 $as_echo "no" >&6; }
8590 fi
8591
8592
8593
8594
8595
8596 if test -z "$lt_cv_path_MAGIC_CMD"; then
8597   if test -n "$ac_tool_prefix"; then
8598     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8599 $as_echo_n "checking for file... " >&6; }
8600 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8601   $as_echo_n "(cached) " >&6
8602 else
8603   case $MAGIC_CMD in
8604 [\\/*] |  ?:[\\/]*)
8605   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8606   ;;
8607 *)
8608   lt_save_MAGIC_CMD="$MAGIC_CMD"
8609   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8610   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8611   for ac_dir in $ac_dummy; do
8612     IFS="$lt_save_ifs"
8613     test -z "$ac_dir" && ac_dir=.
8614     if test -f $ac_dir/file; then
8615       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8616       if test -n "$file_magic_test_file"; then
8617         case $deplibs_check_method in
8618         "file_magic "*)
8619           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8620           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8621           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8622             $EGREP "$file_magic_regex" > /dev/null; then
8623             :
8624           else
8625             cat <<_LT_EOF 1>&2
8626
8627 *** Warning: the command libtool uses to detect shared libraries,
8628 *** $file_magic_cmd, produces output that libtool cannot recognize.
8629 *** The result is that libtool may fail to recognize shared libraries
8630 *** as such.  This will affect the creation of libtool libraries that
8631 *** depend on shared libraries, but programs linked with such libtool
8632 *** libraries will work regardless of this problem.  Nevertheless, you
8633 *** may want to report the problem to your system manager and/or to
8634 *** bug-libtool@gnu.org
8635
8636 _LT_EOF
8637           fi ;;
8638         esac
8639       fi
8640       break
8641     fi
8642   done
8643   IFS="$lt_save_ifs"
8644   MAGIC_CMD="$lt_save_MAGIC_CMD"
8645   ;;
8646 esac
8647 fi
8648
8649 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8650 if test -n "$MAGIC_CMD"; then
8651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8652 $as_echo "$MAGIC_CMD" >&6; }
8653 else
8654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8655 $as_echo "no" >&6; }
8656 fi
8657
8658
8659   else
8660     MAGIC_CMD=:
8661   fi
8662 fi
8663
8664   fi
8665   ;;
8666 esac
8667
8668 # Use C for the default configuration in the libtool script
8669
8670 lt_save_CC="$CC"
8671 ac_ext=c
8672 ac_cpp='$CPP $CPPFLAGS'
8673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8676
8677
8678 # Source file extension for C test sources.
8679 ac_ext=c
8680
8681 # Object file extension for compiled C test sources.
8682 objext=o
8683 objext=$objext
8684
8685 # Code to be used in simple compile tests
8686 lt_simple_compile_test_code="int some_variable = 0;"
8687
8688 # Code to be used in simple link tests
8689 lt_simple_link_test_code='int main(){return(0);}'
8690
8691
8692
8693
8694
8695
8696
8697 # If no C compiler was specified, use CC.
8698 LTCC=${LTCC-"$CC"}
8699
8700 # If no C compiler flags were specified, use CFLAGS.
8701 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8702
8703 # Allow CC to be a program name with arguments.
8704 compiler=$CC
8705
8706 # Save the default compiler, since it gets overwritten when the other
8707 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8708 compiler_DEFAULT=$CC
8709
8710 # save warnings/boilerplate of simple test code
8711 ac_outfile=conftest.$ac_objext
8712 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8713 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8714 _lt_compiler_boilerplate=`cat conftest.err`
8715 $RM conftest*
8716
8717 ac_outfile=conftest.$ac_objext
8718 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8719 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8720 _lt_linker_boilerplate=`cat conftest.err`
8721 $RM -r conftest*
8722
8723
8724 ## CAVEAT EMPTOR:
8725 ## There is no encapsulation within the following macros, do not change
8726 ## the running order or otherwise move them around unless you know exactly
8727 ## what you are doing...
8728 if test -n "$compiler"; then
8729
8730 lt_prog_compiler_no_builtin_flag=
8731
8732 if test "$GCC" = yes; then
8733   case $cc_basename in
8734   nvcc*)
8735     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8736   *)
8737     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8738   esac
8739
8740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8741 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8742 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8743   $as_echo_n "(cached) " >&6
8744 else
8745   lt_cv_prog_compiler_rtti_exceptions=no
8746    ac_outfile=conftest.$ac_objext
8747    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8748    lt_compiler_flag="-fno-rtti -fno-exceptions"
8749    # Insert the option either (1) after the last *FLAGS variable, or
8750    # (2) before a word containing "conftest.", or (3) at the end.
8751    # Note that $ac_compile itself does not contain backslashes and begins
8752    # with a dollar sign (not a hyphen), so the echo should work correctly.
8753    # The option is referenced via a variable to avoid confusing sed.
8754    lt_compile=`echo "$ac_compile" | $SED \
8755    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8756    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8757    -e 's:$: $lt_compiler_flag:'`
8758    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8759    (eval "$lt_compile" 2>conftest.err)
8760    ac_status=$?
8761    cat conftest.err >&5
8762    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763    if (exit $ac_status) && test -s "$ac_outfile"; then
8764      # The compiler can only warn and ignore the option if not recognized
8765      # So say no if there are warnings other than the usual output.
8766      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8767      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8768      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8769        lt_cv_prog_compiler_rtti_exceptions=yes
8770      fi
8771    fi
8772    $RM conftest*
8773
8774 fi
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8776 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8777
8778 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8779     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8780 else
8781     :
8782 fi
8783
8784 fi
8785
8786
8787
8788
8789
8790
8791   lt_prog_compiler_wl=
8792 lt_prog_compiler_pic=
8793 lt_prog_compiler_static=
8794
8795
8796   if test "$GCC" = yes; then
8797     lt_prog_compiler_wl='-Wl,'
8798     lt_prog_compiler_static='-static'
8799
8800     case $host_os in
8801       aix*)
8802       # All AIX code is PIC.
8803       if test "$host_cpu" = ia64; then
8804         # AIX 5 now supports IA64 processor
8805         lt_prog_compiler_static='-Bstatic'
8806       fi
8807       ;;
8808
8809     amigaos*)
8810       case $host_cpu in
8811       powerpc)
8812             # see comment about AmigaOS4 .so support
8813             lt_prog_compiler_pic='-fPIC'
8814         ;;
8815       m68k)
8816             # FIXME: we need at least 68020 code to build shared libraries, but
8817             # adding the `-m68020' flag to GCC prevents building anything better,
8818             # like `-m68040'.
8819             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8820         ;;
8821       esac
8822       ;;
8823
8824     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8825       # PIC is the default for these OSes.
8826       ;;
8827
8828     mingw* | cygwin* | pw32* | os2* | cegcc*)
8829       # This hack is so that the source file can tell whether it is being
8830       # built for inclusion in a dll (and should export symbols for example).
8831       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8832       # (--disable-auto-import) libraries
8833       lt_prog_compiler_pic='-DDLL_EXPORT'
8834       ;;
8835
8836     darwin* | rhapsody*)
8837       # PIC is the default on this platform
8838       # Common symbols not allowed in MH_DYLIB files
8839       lt_prog_compiler_pic='-fno-common'
8840       ;;
8841
8842     haiku*)
8843       # PIC is the default for Haiku.
8844       # The "-static" flag exists, but is broken.
8845       lt_prog_compiler_static=
8846       ;;
8847
8848     hpux*)
8849       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8850       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8851       # sets the default TLS model and affects inlining.
8852       case $host_cpu in
8853       hppa*64*)
8854         # +Z the default
8855         ;;
8856       *)
8857         lt_prog_compiler_pic='-fPIC'
8858         ;;
8859       esac
8860       ;;
8861
8862     interix[3-9]*)
8863       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8864       # Instead, we relocate shared libraries at runtime.
8865       ;;
8866
8867     msdosdjgpp*)
8868       # Just because we use GCC doesn't mean we suddenly get shared libraries
8869       # on systems that don't support them.
8870       lt_prog_compiler_can_build_shared=no
8871       enable_shared=no
8872       ;;
8873
8874     *nto* | *qnx*)
8875       # QNX uses GNU C++, but need to define -shared option too, otherwise
8876       # it will coredump.
8877       lt_prog_compiler_pic='-fPIC -shared'
8878       ;;
8879
8880     sysv4*MP*)
8881       if test -d /usr/nec; then
8882         lt_prog_compiler_pic=-Kconform_pic
8883       fi
8884       ;;
8885
8886     *)
8887       lt_prog_compiler_pic='-fPIC'
8888       ;;
8889     esac
8890
8891     case $cc_basename in
8892     nvcc*) # Cuda Compiler Driver 2.2
8893       lt_prog_compiler_wl='-Xlinker '
8894       if test -n "$lt_prog_compiler_pic"; then
8895         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8896       fi
8897       ;;
8898     esac
8899   else
8900     # PORTME Check for flag to pass linker flags through the system compiler.
8901     case $host_os in
8902     aix*)
8903       lt_prog_compiler_wl='-Wl,'
8904       if test "$host_cpu" = ia64; then
8905         # AIX 5 now supports IA64 processor
8906         lt_prog_compiler_static='-Bstatic'
8907       else
8908         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8909       fi
8910       ;;
8911
8912     mingw* | cygwin* | pw32* | os2* | cegcc*)
8913       # This hack is so that the source file can tell whether it is being
8914       # built for inclusion in a dll (and should export symbols for example).
8915       lt_prog_compiler_pic='-DDLL_EXPORT'
8916       ;;
8917
8918     hpux9* | hpux10* | hpux11*)
8919       lt_prog_compiler_wl='-Wl,'
8920       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8921       # not for PA HP-UX.
8922       case $host_cpu in
8923       hppa*64*|ia64*)
8924         # +Z the default
8925         ;;
8926       *)
8927         lt_prog_compiler_pic='+Z'
8928         ;;
8929       esac
8930       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8931       lt_prog_compiler_static='${wl}-a ${wl}archive'
8932       ;;
8933
8934     irix5* | irix6* | nonstopux*)
8935       lt_prog_compiler_wl='-Wl,'
8936       # PIC (with -KPIC) is the default.
8937       lt_prog_compiler_static='-non_shared'
8938       ;;
8939
8940     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8941       case $cc_basename in
8942       # old Intel for x86_64 which still supported -KPIC.
8943       ecc*)
8944         lt_prog_compiler_wl='-Wl,'
8945         lt_prog_compiler_pic='-KPIC'
8946         lt_prog_compiler_static='-static'
8947         ;;
8948       # icc used to be incompatible with GCC.
8949       # ICC 10 doesn't accept -KPIC any more.
8950       icc* | ifort*)
8951         lt_prog_compiler_wl='-Wl,'
8952         lt_prog_compiler_pic='-fPIC'
8953         lt_prog_compiler_static='-static'
8954         ;;
8955       # Lahey Fortran 8.1.
8956       lf95*)
8957         lt_prog_compiler_wl='-Wl,'
8958         lt_prog_compiler_pic='--shared'
8959         lt_prog_compiler_static='--static'
8960         ;;
8961       nagfor*)
8962         # NAG Fortran compiler
8963         lt_prog_compiler_wl='-Wl,-Wl,,'
8964         lt_prog_compiler_pic='-PIC'
8965         lt_prog_compiler_static='-Bstatic'
8966         ;;
8967       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8968         # Portland Group compilers (*not* the Pentium gcc compiler,
8969         # which looks to be a dead project)
8970         lt_prog_compiler_wl='-Wl,'
8971         lt_prog_compiler_pic='-fpic'
8972         lt_prog_compiler_static='-Bstatic'
8973         ;;
8974       ccc*)
8975         lt_prog_compiler_wl='-Wl,'
8976         # All Alpha code is PIC.
8977         lt_prog_compiler_static='-non_shared'
8978         ;;
8979       xl* | bgxl* | bgf* | mpixl*)
8980         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8981         lt_prog_compiler_wl='-Wl,'
8982         lt_prog_compiler_pic='-qpic'
8983         lt_prog_compiler_static='-qstaticlink'
8984         ;;
8985       *)
8986         case `$CC -V 2>&1 | sed 5q` in
8987         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8988           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8989           lt_prog_compiler_pic='-KPIC'
8990           lt_prog_compiler_static='-Bstatic'
8991           lt_prog_compiler_wl=''
8992           ;;
8993         *Sun\ F* | *Sun*Fortran*)
8994           lt_prog_compiler_pic='-KPIC'
8995           lt_prog_compiler_static='-Bstatic'
8996           lt_prog_compiler_wl='-Qoption ld '
8997           ;;
8998         *Sun\ C*)
8999           # Sun C 5.9
9000           lt_prog_compiler_pic='-KPIC'
9001           lt_prog_compiler_static='-Bstatic'
9002           lt_prog_compiler_wl='-Wl,'
9003           ;;
9004         *Intel*\ [CF]*Compiler*)
9005           lt_prog_compiler_wl='-Wl,'
9006           lt_prog_compiler_pic='-fPIC'
9007           lt_prog_compiler_static='-static'
9008           ;;
9009         *Portland\ Group*)
9010           lt_prog_compiler_wl='-Wl,'
9011           lt_prog_compiler_pic='-fpic'
9012           lt_prog_compiler_static='-Bstatic'
9013           ;;
9014         esac
9015         ;;
9016       esac
9017       ;;
9018
9019     newsos6)
9020       lt_prog_compiler_pic='-KPIC'
9021       lt_prog_compiler_static='-Bstatic'
9022       ;;
9023
9024     *nto* | *qnx*)
9025       # QNX uses GNU C++, but need to define -shared option too, otherwise
9026       # it will coredump.
9027       lt_prog_compiler_pic='-fPIC -shared'
9028       ;;
9029
9030     osf3* | osf4* | osf5*)
9031       lt_prog_compiler_wl='-Wl,'
9032       # All OSF/1 code is PIC.
9033       lt_prog_compiler_static='-non_shared'
9034       ;;
9035
9036     rdos*)
9037       lt_prog_compiler_static='-non_shared'
9038       ;;
9039
9040     solaris*)
9041       lt_prog_compiler_pic='-KPIC'
9042       lt_prog_compiler_static='-Bstatic'
9043       case $cc_basename in
9044       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9045         lt_prog_compiler_wl='-Qoption ld ';;
9046       *)
9047         lt_prog_compiler_wl='-Wl,';;
9048       esac
9049       ;;
9050
9051     sunos4*)
9052       lt_prog_compiler_wl='-Qoption ld '
9053       lt_prog_compiler_pic='-PIC'
9054       lt_prog_compiler_static='-Bstatic'
9055       ;;
9056
9057     sysv4 | sysv4.2uw2* | sysv4.3*)
9058       lt_prog_compiler_wl='-Wl,'
9059       lt_prog_compiler_pic='-KPIC'
9060       lt_prog_compiler_static='-Bstatic'
9061       ;;
9062
9063     sysv4*MP*)
9064       if test -d /usr/nec ;then
9065         lt_prog_compiler_pic='-Kconform_pic'
9066         lt_prog_compiler_static='-Bstatic'
9067       fi
9068       ;;
9069
9070     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9071       lt_prog_compiler_wl='-Wl,'
9072       lt_prog_compiler_pic='-KPIC'
9073       lt_prog_compiler_static='-Bstatic'
9074       ;;
9075
9076     unicos*)
9077       lt_prog_compiler_wl='-Wl,'
9078       lt_prog_compiler_can_build_shared=no
9079       ;;
9080
9081     uts4*)
9082       lt_prog_compiler_pic='-pic'
9083       lt_prog_compiler_static='-Bstatic'
9084       ;;
9085
9086     *)
9087       lt_prog_compiler_can_build_shared=no
9088       ;;
9089     esac
9090   fi
9091
9092 case $host_os in
9093   # For platforms which do not support PIC, -DPIC is meaningless:
9094   *djgpp*)
9095     lt_prog_compiler_pic=
9096     ;;
9097   *)
9098     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9099     ;;
9100 esac
9101
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9103 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9104 if ${lt_cv_prog_compiler_pic+:} false; then :
9105   $as_echo_n "(cached) " >&6
9106 else
9107   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9108 fi
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9110 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9111 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9112
9113 #
9114 # Check to make sure the PIC flag actually works.
9115 #
9116 if test -n "$lt_prog_compiler_pic"; then
9117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9118 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9119 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9120   $as_echo_n "(cached) " >&6
9121 else
9122   lt_cv_prog_compiler_pic_works=no
9123    ac_outfile=conftest.$ac_objext
9124    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9125    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9126    # Insert the option either (1) after the last *FLAGS variable, or
9127    # (2) before a word containing "conftest.", or (3) at the end.
9128    # Note that $ac_compile itself does not contain backslashes and begins
9129    # with a dollar sign (not a hyphen), so the echo should work correctly.
9130    # The option is referenced via a variable to avoid confusing sed.
9131    lt_compile=`echo "$ac_compile" | $SED \
9132    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9133    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9134    -e 's:$: $lt_compiler_flag:'`
9135    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9136    (eval "$lt_compile" 2>conftest.err)
9137    ac_status=$?
9138    cat conftest.err >&5
9139    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140    if (exit $ac_status) && test -s "$ac_outfile"; then
9141      # The compiler can only warn and ignore the option if not recognized
9142      # So say no if there are warnings other than the usual output.
9143      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9144      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9145      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9146        lt_cv_prog_compiler_pic_works=yes
9147      fi
9148    fi
9149    $RM conftest*
9150
9151 fi
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9153 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9154
9155 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9156     case $lt_prog_compiler_pic in
9157      "" | " "*) ;;
9158      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9159      esac
9160 else
9161     lt_prog_compiler_pic=
9162      lt_prog_compiler_can_build_shared=no
9163 fi
9164
9165 fi
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177 #
9178 # Check to make sure the static flag actually works.
9179 #
9180 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9182 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9183 if ${lt_cv_prog_compiler_static_works+:} false; then :
9184   $as_echo_n "(cached) " >&6
9185 else
9186   lt_cv_prog_compiler_static_works=no
9187    save_LDFLAGS="$LDFLAGS"
9188    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9189    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9190    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9191      # The linker can only warn and ignore the option if not recognized
9192      # So say no if there are warnings
9193      if test -s conftest.err; then
9194        # Append any errors to the config.log.
9195        cat conftest.err 1>&5
9196        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9197        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9198        if diff conftest.exp conftest.er2 >/dev/null; then
9199          lt_cv_prog_compiler_static_works=yes
9200        fi
9201      else
9202        lt_cv_prog_compiler_static_works=yes
9203      fi
9204    fi
9205    $RM -r conftest*
9206    LDFLAGS="$save_LDFLAGS"
9207
9208 fi
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9210 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9211
9212 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9213     :
9214 else
9215     lt_prog_compiler_static=
9216 fi
9217
9218
9219
9220
9221
9222
9223
9224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9225 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9226 if ${lt_cv_prog_compiler_c_o+:} false; then :
9227   $as_echo_n "(cached) " >&6
9228 else
9229   lt_cv_prog_compiler_c_o=no
9230    $RM -r conftest 2>/dev/null
9231    mkdir conftest
9232    cd conftest
9233    mkdir out
9234    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9235
9236    lt_compiler_flag="-o out/conftest2.$ac_objext"
9237    # Insert the option either (1) after the last *FLAGS variable, or
9238    # (2) before a word containing "conftest.", or (3) at the end.
9239    # Note that $ac_compile itself does not contain backslashes and begins
9240    # with a dollar sign (not a hyphen), so the echo should work correctly.
9241    lt_compile=`echo "$ac_compile" | $SED \
9242    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9243    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9244    -e 's:$: $lt_compiler_flag:'`
9245    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9246    (eval "$lt_compile" 2>out/conftest.err)
9247    ac_status=$?
9248    cat out/conftest.err >&5
9249    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9251    then
9252      # The compiler can only warn and ignore the option if not recognized
9253      # So say no if there are warnings
9254      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9255      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9256      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9257        lt_cv_prog_compiler_c_o=yes
9258      fi
9259    fi
9260    chmod u+w . 2>&5
9261    $RM conftest*
9262    # SGI C++ compiler will create directory out/ii_files/ for
9263    # template instantiation
9264    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9265    $RM out/* && rmdir out
9266    cd ..
9267    $RM -r conftest
9268    $RM conftest*
9269
9270 fi
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9272 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9273
9274
9275
9276
9277
9278
9279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9280 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9281 if ${lt_cv_prog_compiler_c_o+:} false; then :
9282   $as_echo_n "(cached) " >&6
9283 else
9284   lt_cv_prog_compiler_c_o=no
9285    $RM -r conftest 2>/dev/null
9286    mkdir conftest
9287    cd conftest
9288    mkdir out
9289    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9290
9291    lt_compiler_flag="-o out/conftest2.$ac_objext"
9292    # Insert the option either (1) after the last *FLAGS variable, or
9293    # (2) before a word containing "conftest.", or (3) at the end.
9294    # Note that $ac_compile itself does not contain backslashes and begins
9295    # with a dollar sign (not a hyphen), so the echo should work correctly.
9296    lt_compile=`echo "$ac_compile" | $SED \
9297    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9298    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9299    -e 's:$: $lt_compiler_flag:'`
9300    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9301    (eval "$lt_compile" 2>out/conftest.err)
9302    ac_status=$?
9303    cat out/conftest.err >&5
9304    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9306    then
9307      # The compiler can only warn and ignore the option if not recognized
9308      # So say no if there are warnings
9309      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9310      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9311      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9312        lt_cv_prog_compiler_c_o=yes
9313      fi
9314    fi
9315    chmod u+w . 2>&5
9316    $RM conftest*
9317    # SGI C++ compiler will create directory out/ii_files/ for
9318    # template instantiation
9319    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9320    $RM out/* && rmdir out
9321    cd ..
9322    $RM -r conftest
9323    $RM conftest*
9324
9325 fi
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9327 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9328
9329
9330
9331
9332 hard_links="nottested"
9333 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9334   # do not overwrite the value of need_locks provided by the user
9335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9336 $as_echo_n "checking if we can lock with hard links... " >&6; }
9337   hard_links=yes
9338   $RM conftest*
9339   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9340   touch conftest.a
9341   ln conftest.a conftest.b 2>&5 || hard_links=no
9342   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9344 $as_echo "$hard_links" >&6; }
9345   if test "$hard_links" = no; then
9346     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9347 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9348     need_locks=warn
9349   fi
9350 else
9351   need_locks=no
9352 fi
9353
9354
9355
9356
9357
9358
9359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9360 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9361
9362   runpath_var=
9363   allow_undefined_flag=
9364   always_export_symbols=no
9365   archive_cmds=
9366   archive_expsym_cmds=
9367   compiler_needs_object=no
9368   enable_shared_with_static_runtimes=no
9369   export_dynamic_flag_spec=
9370   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9371   hardcode_automatic=no
9372   hardcode_direct=no
9373   hardcode_direct_absolute=no
9374   hardcode_libdir_flag_spec=
9375   hardcode_libdir_separator=
9376   hardcode_minus_L=no
9377   hardcode_shlibpath_var=unsupported
9378   inherit_rpath=no
9379   link_all_deplibs=unknown
9380   module_cmds=
9381   module_expsym_cmds=
9382   old_archive_from_new_cmds=
9383   old_archive_from_expsyms_cmds=
9384   thread_safe_flag_spec=
9385   whole_archive_flag_spec=
9386   # include_expsyms should be a list of space-separated symbols to be *always*
9387   # included in the symbol list
9388   include_expsyms=
9389   # exclude_expsyms can be an extended regexp of symbols to exclude
9390   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9391   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9392   # as well as any symbol that contains `d'.
9393   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9394   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9395   # platforms (ab)use it in PIC code, but their linkers get confused if
9396   # the symbol is explicitly referenced.  Since portable code cannot
9397   # rely on this symbol name, it's probably fine to never include it in
9398   # preloaded symbol tables.
9399   # Exclude shared library initialization/finalization symbols.
9400   extract_expsyms_cmds=
9401
9402   case $host_os in
9403   cygwin* | mingw* | pw32* | cegcc*)
9404     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9405     # When not using gcc, we currently assume that we are using
9406     # Microsoft Visual C++.
9407     if test "$GCC" != yes; then
9408       with_gnu_ld=no
9409     fi
9410     ;;
9411   interix*)
9412     # we just hope/assume this is gcc and not c89 (= MSVC++)
9413     with_gnu_ld=yes
9414     ;;
9415   openbsd*)
9416     with_gnu_ld=no
9417     ;;
9418   linux* | k*bsd*-gnu | gnu*)
9419     link_all_deplibs=no
9420     ;;
9421   esac
9422
9423   ld_shlibs=yes
9424
9425   # On some targets, GNU ld is compatible enough with the native linker
9426   # that we're better off using the native interface for both.
9427   lt_use_gnu_ld_interface=no
9428   if test "$with_gnu_ld" = yes; then
9429     case $host_os in
9430       aix*)
9431         # The AIX port of GNU ld has always aspired to compatibility
9432         # with the native linker.  However, as the warning in the GNU ld
9433         # block says, versions before 2.19.5* couldn't really create working
9434         # shared libraries, regardless of the interface used.
9435         case `$LD -v 2>&1` in
9436           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9437           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9438           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9439           *)
9440             lt_use_gnu_ld_interface=yes
9441             ;;
9442         esac
9443         ;;
9444       *)
9445         lt_use_gnu_ld_interface=yes
9446         ;;
9447     esac
9448   fi
9449
9450   if test "$lt_use_gnu_ld_interface" = yes; then
9451     # If archive_cmds runs LD, not CC, wlarc should be empty
9452     wlarc='${wl}'
9453
9454     # Set some defaults for GNU ld with shared library support. These
9455     # are reset later if shared libraries are not supported. Putting them
9456     # here allows them to be overridden if necessary.
9457     runpath_var=LD_RUN_PATH
9458     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9459     export_dynamic_flag_spec='${wl}--export-dynamic'
9460     # ancient GNU ld didn't support --whole-archive et. al.
9461     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9462       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9463     else
9464       whole_archive_flag_spec=
9465     fi
9466     supports_anon_versioning=no
9467     case `$LD -v 2>&1` in
9468       *GNU\ gold*) supports_anon_versioning=yes ;;
9469       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9470       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9471       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9472       *\ 2.11.*) ;; # other 2.11 versions
9473       *) supports_anon_versioning=yes ;;
9474     esac
9475
9476     # See if GNU ld supports shared libraries.
9477     case $host_os in
9478     aix[3-9]*)
9479       # On AIX/PPC, the GNU linker is very broken
9480       if test "$host_cpu" != ia64; then
9481         ld_shlibs=no
9482         cat <<_LT_EOF 1>&2
9483
9484 *** Warning: the GNU linker, at least up to release 2.19, is reported
9485 *** to be unable to reliably create shared libraries on AIX.
9486 *** Therefore, libtool is disabling shared libraries support.  If you
9487 *** really care for shared libraries, you may want to install binutils
9488 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9489 *** You will then need to restart the configuration process.
9490
9491 _LT_EOF
9492       fi
9493       ;;
9494
9495     amigaos*)
9496       case $host_cpu in
9497       powerpc)
9498             # see comment about AmigaOS4 .so support
9499             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500             archive_expsym_cmds=''
9501         ;;
9502       m68k)
9503             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)'
9504             hardcode_libdir_flag_spec='-L$libdir'
9505             hardcode_minus_L=yes
9506         ;;
9507       esac
9508       ;;
9509
9510     beos*)
9511       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9512         allow_undefined_flag=unsupported
9513         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9514         # support --undefined.  This deserves some investigation.  FIXME
9515         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9516       else
9517         ld_shlibs=no
9518       fi
9519       ;;
9520
9521     cygwin* | mingw* | pw32* | cegcc*)
9522       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9523       # as there is no search path for DLLs.
9524       hardcode_libdir_flag_spec='-L$libdir'
9525       export_dynamic_flag_spec='${wl}--export-all-symbols'
9526       allow_undefined_flag=unsupported
9527       always_export_symbols=no
9528       enable_shared_with_static_runtimes=yes
9529       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'
9530       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9531
9532       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9533         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9534         # If the export-symbols file already is a .def file (1st line
9535         # is EXPORTS), use it as is; otherwise, prepend...
9536         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9537           cp $export_symbols $output_objdir/$soname.def;
9538         else
9539           echo EXPORTS > $output_objdir/$soname.def;
9540           cat $export_symbols >> $output_objdir/$soname.def;
9541         fi~
9542         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9543       else
9544         ld_shlibs=no
9545       fi
9546       ;;
9547
9548     haiku*)
9549       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550       link_all_deplibs=yes
9551       ;;
9552
9553     interix[3-9]*)
9554       hardcode_direct=no
9555       hardcode_shlibpath_var=no
9556       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9557       export_dynamic_flag_spec='${wl}-E'
9558       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9559       # Instead, shared libraries are loaded at an image base (0x10000000 by
9560       # default) and relocated if they conflict, which is a slow very memory
9561       # consuming and fragmenting process.  To avoid this, we pick a random,
9562       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9563       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9564       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9565       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'
9566       ;;
9567
9568     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9569       tmp_diet=no
9570       if test "$host_os" = linux-dietlibc; then
9571         case $cc_basename in
9572           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9573         esac
9574       fi
9575       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9576          && test "$tmp_diet" = no
9577       then
9578         tmp_addflag=' $pic_flag'
9579         tmp_sharedflag='-shared'
9580         case $cc_basename,$host_cpu in
9581         pgcc*)                          # Portland Group C compiler
9582           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'
9583           tmp_addflag=' $pic_flag'
9584           ;;
9585         pgf77* | pgf90* | pgf95* | pgfortran*)
9586                                         # Portland Group f77 and f90 compilers
9587           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'
9588           tmp_addflag=' $pic_flag -Mnomain' ;;
9589         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9590           tmp_addflag=' -i_dynamic' ;;
9591         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9592           tmp_addflag=' -i_dynamic -nofor_main' ;;
9593         ifc* | ifort*)                  # Intel Fortran compiler
9594           tmp_addflag=' -nofor_main' ;;
9595         lf95*)                          # Lahey Fortran 8.1
9596           whole_archive_flag_spec=
9597           tmp_sharedflag='--shared' ;;
9598         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9599           tmp_sharedflag='-qmkshrobj'
9600           tmp_addflag= ;;
9601         nvcc*)  # Cuda Compiler Driver 2.2
9602           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'
9603           compiler_needs_object=yes
9604           ;;
9605         esac
9606         case `$CC -V 2>&1 | sed 5q` in
9607         *Sun\ C*)                       # Sun C 5.9
9608           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'
9609           compiler_needs_object=yes
9610           tmp_sharedflag='-G' ;;
9611         *Sun\ F*)                       # Sun Fortran 8.3
9612           tmp_sharedflag='-G' ;;
9613         esac
9614         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9615
9616         if test "x$supports_anon_versioning" = xyes; then
9617           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9618             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9619             echo "local: *; };" >> $output_objdir/$libname.ver~
9620             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9621         fi
9622
9623         case $cc_basename in
9624         xlf* | bgf* | bgxlf* | mpixlf*)
9625           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9626           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9627           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9628           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9629           if test "x$supports_anon_versioning" = xyes; then
9630             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9631               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9632               echo "local: *; };" >> $output_objdir/$libname.ver~
9633               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9634           fi
9635           ;;
9636         esac
9637       else
9638         ld_shlibs=no
9639       fi
9640       ;;
9641
9642     netbsd* | netbsdelf*-gnu)
9643       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9644         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9645         wlarc=
9646       else
9647         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9648         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9649       fi
9650       ;;
9651
9652     solaris*)
9653       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9654         ld_shlibs=no
9655         cat <<_LT_EOF 1>&2
9656
9657 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9658 *** create shared libraries on Solaris systems.  Therefore, libtool
9659 *** is disabling shared libraries support.  We urge you to upgrade GNU
9660 *** binutils to release 2.9.1 or newer.  Another option is to modify
9661 *** your PATH or compiler configuration so that the native linker is
9662 *** used, and then restart.
9663
9664 _LT_EOF
9665       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9666         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9667         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9668       else
9669         ld_shlibs=no
9670       fi
9671       ;;
9672
9673     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9674       case `$LD -v 2>&1` in
9675         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9676         ld_shlibs=no
9677         cat <<_LT_EOF 1>&2
9678
9679 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9680 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9681 *** is disabling shared libraries support.  We urge you to upgrade GNU
9682 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9683 *** your PATH or compiler configuration so that the native linker is
9684 *** used, and then restart.
9685
9686 _LT_EOF
9687         ;;
9688         *)
9689           # For security reasons, it is highly recommended that you always
9690           # use absolute paths for naming shared libraries, and exclude the
9691           # DT_RUNPATH tag from executables and libraries.  But doing so
9692           # requires that you compile everything twice, which is a pain.
9693           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9694             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9695             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9696             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9697           else
9698             ld_shlibs=no
9699           fi
9700         ;;
9701       esac
9702       ;;
9703
9704     sunos4*)
9705       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9706       wlarc=
9707       hardcode_direct=yes
9708       hardcode_shlibpath_var=no
9709       ;;
9710
9711     *)
9712       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9713         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9714         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9715       else
9716         ld_shlibs=no
9717       fi
9718       ;;
9719     esac
9720
9721     if test "$ld_shlibs" = no; then
9722       runpath_var=
9723       hardcode_libdir_flag_spec=
9724       export_dynamic_flag_spec=
9725       whole_archive_flag_spec=
9726     fi
9727   else
9728     # PORTME fill in a description of your system's linker (not GNU ld)
9729     case $host_os in
9730     aix3*)
9731       allow_undefined_flag=unsupported
9732       always_export_symbols=yes
9733       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'
9734       # Note: this linker hardcodes the directories in LIBPATH if there
9735       # are no directories specified by -L.
9736       hardcode_minus_L=yes
9737       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9738         # Neither direct hardcoding nor static linking is supported with a
9739         # broken collect2.
9740         hardcode_direct=unsupported
9741       fi
9742       ;;
9743
9744     aix[4-9]*)
9745       if test "$host_cpu" = ia64; then
9746         # On IA64, the linker does run time linking by default, so we don't
9747         # have to do anything special.
9748         aix_use_runtimelinking=no
9749         exp_sym_flag='-Bexport'
9750         no_entry_flag=""
9751       else
9752         # If we're using GNU nm, then we don't want the "-C" option.
9753         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9754         # Also, AIX nm treats weak defined symbols like other global
9755         # defined symbols, whereas GNU nm marks them as "W".
9756         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9757           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'
9758         else
9759           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'
9760         fi
9761         aix_use_runtimelinking=no
9762
9763         # Test if we are trying to use run time linking or normal
9764         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9765         # need to do runtime linking.
9766         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9767           for ld_flag in $LDFLAGS; do
9768           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9769             aix_use_runtimelinking=yes
9770             break
9771           fi
9772           done
9773           ;;
9774         esac
9775
9776         exp_sym_flag='-bexport'
9777         no_entry_flag='-bnoentry'
9778       fi
9779
9780       # When large executables or shared objects are built, AIX ld can
9781       # have problems creating the table of contents.  If linking a library
9782       # or program results in "error TOC overflow" add -mminimal-toc to
9783       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9784       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9785
9786       archive_cmds=''
9787       hardcode_direct=yes
9788       hardcode_direct_absolute=yes
9789       hardcode_libdir_separator=':'
9790       link_all_deplibs=yes
9791       file_list_spec='${wl}-f,'
9792
9793       if test "$GCC" = yes; then
9794         case $host_os in aix4.[012]|aix4.[012].*)
9795         # We only want to do this on AIX 4.2 and lower, the check
9796         # below for broken collect2 doesn't work under 4.3+
9797           collect2name=`${CC} -print-prog-name=collect2`
9798           if test -f "$collect2name" &&
9799            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9800           then
9801           # We have reworked collect2
9802           :
9803           else
9804           # We have old collect2
9805           hardcode_direct=unsupported
9806           # It fails to find uninstalled libraries when the uninstalled
9807           # path is not listed in the libpath.  Setting hardcode_minus_L
9808           # to unsupported forces relinking
9809           hardcode_minus_L=yes
9810           hardcode_libdir_flag_spec='-L$libdir'
9811           hardcode_libdir_separator=
9812           fi
9813           ;;
9814         esac
9815         shared_flag='-shared'
9816         if test "$aix_use_runtimelinking" = yes; then
9817           shared_flag="$shared_flag "'${wl}-G'
9818         fi
9819         link_all_deplibs=no
9820       else
9821         # not using gcc
9822         if test "$host_cpu" = ia64; then
9823         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9824         # chokes on -Wl,-G. The following line is correct:
9825           shared_flag='-G'
9826         else
9827           if test "$aix_use_runtimelinking" = yes; then
9828             shared_flag='${wl}-G'
9829           else
9830             shared_flag='${wl}-bM:SRE'
9831           fi
9832         fi
9833       fi
9834
9835       export_dynamic_flag_spec='${wl}-bexpall'
9836       # It seems that -bexpall does not export symbols beginning with
9837       # underscore (_), so it is better to generate a list of symbols to export.
9838       always_export_symbols=yes
9839       if test "$aix_use_runtimelinking" = yes; then
9840         # Warning - without using the other runtime loading flags (-brtl),
9841         # -berok will link without error, but may produce a broken library.
9842         allow_undefined_flag='-berok'
9843         # Determine the default libpath from the value encoded in an
9844         # empty executable.
9845         if test "${lt_cv_aix_libpath+set}" = set; then
9846   aix_libpath=$lt_cv_aix_libpath
9847 else
9848   if ${lt_cv_aix_libpath_+:} false; then :
9849   $as_echo_n "(cached) " >&6
9850 else
9851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h.  */
9853
9854 int
9855 main ()
9856 {
9857
9858   ;
9859   return 0;
9860 }
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863
9864   lt_aix_libpath_sed='
9865       /Import File Strings/,/^$/ {
9866           /^0/ {
9867               s/^0  *\([^ ]*\) *$/\1/
9868               p
9869           }
9870       }'
9871   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9872   # Check for a 64-bit object if we didn't find anything.
9873   if test -z "$lt_cv_aix_libpath_"; then
9874     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9875   fi
9876 fi
9877 rm -f core conftest.err conftest.$ac_objext \
9878     conftest$ac_exeext conftest.$ac_ext
9879   if test -z "$lt_cv_aix_libpath_"; then
9880     lt_cv_aix_libpath_="/usr/lib:/lib"
9881   fi
9882
9883 fi
9884
9885   aix_libpath=$lt_cv_aix_libpath_
9886 fi
9887
9888         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9889         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"
9890       else
9891         if test "$host_cpu" = ia64; then
9892           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9893           allow_undefined_flag="-z nodefs"
9894           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"
9895         else
9896          # Determine the default libpath from the value encoded in an
9897          # empty executable.
9898          if test "${lt_cv_aix_libpath+set}" = set; then
9899   aix_libpath=$lt_cv_aix_libpath
9900 else
9901   if ${lt_cv_aix_libpath_+:} false; then :
9902   $as_echo_n "(cached) " >&6
9903 else
9904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h.  */
9906
9907 int
9908 main ()
9909 {
9910
9911   ;
9912   return 0;
9913 }
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916
9917   lt_aix_libpath_sed='
9918       /Import File Strings/,/^$/ {
9919           /^0/ {
9920               s/^0  *\([^ ]*\) *$/\1/
9921               p
9922           }
9923       }'
9924   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9925   # Check for a 64-bit object if we didn't find anything.
9926   if test -z "$lt_cv_aix_libpath_"; then
9927     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9928   fi
9929 fi
9930 rm -f core conftest.err conftest.$ac_objext \
9931     conftest$ac_exeext conftest.$ac_ext
9932   if test -z "$lt_cv_aix_libpath_"; then
9933     lt_cv_aix_libpath_="/usr/lib:/lib"
9934   fi
9935
9936 fi
9937
9938   aix_libpath=$lt_cv_aix_libpath_
9939 fi
9940
9941          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9942           # Warning - without using the other run time loading flags,
9943           # -berok will link without error, but may produce a broken library.
9944           no_undefined_flag=' ${wl}-bernotok'
9945           allow_undefined_flag=' ${wl}-berok'
9946           if test "$with_gnu_ld" = yes; then
9947             # We only use this code for GNU lds that support --whole-archive.
9948             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9949           else
9950             # Exported symbols can be pulled into shared objects from archives
9951             whole_archive_flag_spec='$convenience'
9952           fi
9953           archive_cmds_need_lc=yes
9954           # This is similar to how AIX traditionally builds its shared libraries.
9955           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'
9956         fi
9957       fi
9958       ;;
9959
9960     amigaos*)
9961       case $host_cpu in
9962       powerpc)
9963             # see comment about AmigaOS4 .so support
9964             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9965             archive_expsym_cmds=''
9966         ;;
9967       m68k)
9968             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)'
9969             hardcode_libdir_flag_spec='-L$libdir'
9970             hardcode_minus_L=yes
9971         ;;
9972       esac
9973       ;;
9974
9975     bsdi[45]*)
9976       export_dynamic_flag_spec=-rdynamic
9977       ;;
9978
9979     cygwin* | mingw* | pw32* | cegcc*)
9980       # When not using gcc, we currently assume that we are using
9981       # Microsoft Visual C++.
9982       # hardcode_libdir_flag_spec is actually meaningless, as there is
9983       # no search path for DLLs.
9984       case $cc_basename in
9985       cl*)
9986         # Native MSVC
9987         hardcode_libdir_flag_spec=' '
9988         allow_undefined_flag=unsupported
9989         always_export_symbols=yes
9990         file_list_spec='@'
9991         # Tell ltmain to make .lib files, not .a files.
9992         libext=lib
9993         # Tell ltmain to make .dll files, not .so files.
9994         shrext_cmds=".dll"
9995         # FIXME: Setting linknames here is a bad hack.
9996         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9997         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9998             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9999           else
10000             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10001           fi~
10002           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10003           linknames='
10004         # The linker will not automatically build a static lib if we build a DLL.
10005         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10006         enable_shared_with_static_runtimes=yes
10007         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10008         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10009         # Don't use ranlib
10010         old_postinstall_cmds='chmod 644 $oldlib'
10011         postlink_cmds='lt_outputfile="@OUTPUT@"~
10012           lt_tool_outputfile="@TOOL_OUTPUT@"~
10013           case $lt_outputfile in
10014             *.exe|*.EXE) ;;
10015             *)
10016               lt_outputfile="$lt_outputfile.exe"
10017               lt_tool_outputfile="$lt_tool_outputfile.exe"
10018               ;;
10019           esac~
10020           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10021             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10022             $RM "$lt_outputfile.manifest";
10023           fi'
10024         ;;
10025       *)
10026         # Assume MSVC wrapper
10027         hardcode_libdir_flag_spec=' '
10028         allow_undefined_flag=unsupported
10029         # Tell ltmain to make .lib files, not .a files.
10030         libext=lib
10031         # Tell ltmain to make .dll files, not .so files.
10032         shrext_cmds=".dll"
10033         # FIXME: Setting linknames here is a bad hack.
10034         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10035         # The linker will automatically build a .lib file if we build a DLL.
10036         old_archive_from_new_cmds='true'
10037         # FIXME: Should let the user specify the lib program.
10038         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10039         enable_shared_with_static_runtimes=yes
10040         ;;
10041       esac
10042       ;;
10043
10044     darwin* | rhapsody*)
10045
10046
10047   archive_cmds_need_lc=no
10048   hardcode_direct=no
10049   hardcode_automatic=yes
10050   hardcode_shlibpath_var=unsupported
10051   if test "$lt_cv_ld_force_load" = "yes"; then
10052     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\"`'
10053
10054   else
10055     whole_archive_flag_spec=''
10056   fi
10057   link_all_deplibs=yes
10058   allow_undefined_flag="$_lt_dar_allow_undefined"
10059   case $cc_basename in
10060      ifort*) _lt_dar_can_shared=yes ;;
10061      *) _lt_dar_can_shared=$GCC ;;
10062   esac
10063   if test "$_lt_dar_can_shared" = "yes"; then
10064     output_verbose_link_cmd=func_echo_all
10065     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10066     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10067     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}"
10068     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}"
10069
10070   else
10071   ld_shlibs=no
10072   fi
10073
10074       ;;
10075
10076     dgux*)
10077       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078       hardcode_libdir_flag_spec='-L$libdir'
10079       hardcode_shlibpath_var=no
10080       ;;
10081
10082     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10083     # support.  Future versions do this automatically, but an explicit c++rt0.o
10084     # does not break anything, and helps significantly (at the cost of a little
10085     # extra space).
10086     freebsd2.2*)
10087       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10088       hardcode_libdir_flag_spec='-R$libdir'
10089       hardcode_direct=yes
10090       hardcode_shlibpath_var=no
10091       ;;
10092
10093     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10094     freebsd2.*)
10095       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10096       hardcode_direct=yes
10097       hardcode_minus_L=yes
10098       hardcode_shlibpath_var=no
10099       ;;
10100
10101     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10102     freebsd* | dragonfly*)
10103       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10104       hardcode_libdir_flag_spec='-R$libdir'
10105       hardcode_direct=yes
10106       hardcode_shlibpath_var=no
10107       ;;
10108
10109     hpux9*)
10110       if test "$GCC" = yes; then
10111         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'
10112       else
10113         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'
10114       fi
10115       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10116       hardcode_libdir_separator=:
10117       hardcode_direct=yes
10118
10119       # hardcode_minus_L: Not really in the search PATH,
10120       # but as the default location of the library.
10121       hardcode_minus_L=yes
10122       export_dynamic_flag_spec='${wl}-E'
10123       ;;
10124
10125     hpux10*)
10126       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10127         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10128       else
10129         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10130       fi
10131       if test "$with_gnu_ld" = no; then
10132         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10133         hardcode_libdir_separator=:
10134         hardcode_direct=yes
10135         hardcode_direct_absolute=yes
10136         export_dynamic_flag_spec='${wl}-E'
10137         # hardcode_minus_L: Not really in the search PATH,
10138         # but as the default location of the library.
10139         hardcode_minus_L=yes
10140       fi
10141       ;;
10142
10143     hpux11*)
10144       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10145         case $host_cpu in
10146         hppa*64*)
10147           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10148           ;;
10149         ia64*)
10150           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10151           ;;
10152         *)
10153           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10154           ;;
10155         esac
10156       else
10157         case $host_cpu in
10158         hppa*64*)
10159           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10160           ;;
10161         ia64*)
10162           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10163           ;;
10164         *)
10165
10166           # Older versions of the 11.00 compiler do not understand -b yet
10167           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10168           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10169 $as_echo_n "checking if $CC understands -b... " >&6; }
10170 if ${lt_cv_prog_compiler__b+:} false; then :
10171   $as_echo_n "(cached) " >&6
10172 else
10173   lt_cv_prog_compiler__b=no
10174    save_LDFLAGS="$LDFLAGS"
10175    LDFLAGS="$LDFLAGS -b"
10176    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10177    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10178      # The linker can only warn and ignore the option if not recognized
10179      # So say no if there are warnings
10180      if test -s conftest.err; then
10181        # Append any errors to the config.log.
10182        cat conftest.err 1>&5
10183        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10184        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10185        if diff conftest.exp conftest.er2 >/dev/null; then
10186          lt_cv_prog_compiler__b=yes
10187        fi
10188      else
10189        lt_cv_prog_compiler__b=yes
10190      fi
10191    fi
10192    $RM -r conftest*
10193    LDFLAGS="$save_LDFLAGS"
10194
10195 fi
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10197 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10198
10199 if test x"$lt_cv_prog_compiler__b" = xyes; then
10200     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10201 else
10202     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10203 fi
10204
10205           ;;
10206         esac
10207       fi
10208       if test "$with_gnu_ld" = no; then
10209         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10210         hardcode_libdir_separator=:
10211
10212         case $host_cpu in
10213         hppa*64*|ia64*)
10214           hardcode_direct=no
10215           hardcode_shlibpath_var=no
10216           ;;
10217         *)
10218           hardcode_direct=yes
10219           hardcode_direct_absolute=yes
10220           export_dynamic_flag_spec='${wl}-E'
10221
10222           # hardcode_minus_L: Not really in the search PATH,
10223           # but as the default location of the library.
10224           hardcode_minus_L=yes
10225           ;;
10226         esac
10227       fi
10228       ;;
10229
10230     irix5* | irix6* | nonstopux*)
10231       if test "$GCC" = yes; then
10232         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'
10233         # Try to use the -exported_symbol ld option, if it does not
10234         # work, assume that -exports_file does not work either and
10235         # implicitly export all symbols.
10236         # This should be the same for all languages, so no per-tag cache variable.
10237         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10238 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10239 if ${lt_cv_irix_exported_symbol+:} false; then :
10240   $as_echo_n "(cached) " >&6
10241 else
10242   save_LDFLAGS="$LDFLAGS"
10243            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10244            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h.  */
10246 int foo (void) { return 0; }
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"; then :
10249   lt_cv_irix_exported_symbol=yes
10250 else
10251   lt_cv_irix_exported_symbol=no
10252 fi
10253 rm -f core conftest.err conftest.$ac_objext \
10254     conftest$ac_exeext conftest.$ac_ext
10255            LDFLAGS="$save_LDFLAGS"
10256 fi
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10258 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10259         if test "$lt_cv_irix_exported_symbol" = yes; then
10260           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'
10261         fi
10262       else
10263         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'
10264         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'
10265       fi
10266       archive_cmds_need_lc='no'
10267       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10268       hardcode_libdir_separator=:
10269       inherit_rpath=yes
10270       link_all_deplibs=yes
10271       ;;
10272
10273     netbsd* | netbsdelf*-gnu)
10274       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10275         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10276       else
10277         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10278       fi
10279       hardcode_libdir_flag_spec='-R$libdir'
10280       hardcode_direct=yes
10281       hardcode_shlibpath_var=no
10282       ;;
10283
10284     newsos6)
10285       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10286       hardcode_direct=yes
10287       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10288       hardcode_libdir_separator=:
10289       hardcode_shlibpath_var=no
10290       ;;
10291
10292     *nto* | *qnx*)
10293       ;;
10294
10295     openbsd*)
10296       if test -f /usr/libexec/ld.so; then
10297         hardcode_direct=yes
10298         hardcode_shlibpath_var=no
10299         hardcode_direct_absolute=yes
10300         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10301           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10302           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10303           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10304           export_dynamic_flag_spec='${wl}-E'
10305         else
10306           case $host_os in
10307            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10308              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10309              hardcode_libdir_flag_spec='-R$libdir'
10310              ;;
10311            *)
10312              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10313              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10314              ;;
10315           esac
10316         fi
10317       else
10318         ld_shlibs=no
10319       fi
10320       ;;
10321
10322     os2*)
10323       hardcode_libdir_flag_spec='-L$libdir'
10324       hardcode_minus_L=yes
10325       allow_undefined_flag=unsupported
10326       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'
10327       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10328       ;;
10329
10330     osf3*)
10331       if test "$GCC" = yes; then
10332         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10333         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'
10334       else
10335         allow_undefined_flag=' -expect_unresolved \*'
10336         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'
10337       fi
10338       archive_cmds_need_lc='no'
10339       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10340       hardcode_libdir_separator=:
10341       ;;
10342
10343     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10344       if test "$GCC" = yes; then
10345         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10346         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'
10347         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10348       else
10349         allow_undefined_flag=' -expect_unresolved \*'
10350         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'
10351         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~
10352         $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'
10353
10354         # Both c and cxx compiler support -rpath directly
10355         hardcode_libdir_flag_spec='-rpath $libdir'
10356       fi
10357       archive_cmds_need_lc='no'
10358       hardcode_libdir_separator=:
10359       ;;
10360
10361     solaris*)
10362       no_undefined_flag=' -z defs'
10363       if test "$GCC" = yes; then
10364         wlarc='${wl}'
10365         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10366         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10367           $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'
10368       else
10369         case `$CC -V 2>&1` in
10370         *"Compilers 5.0"*)
10371           wlarc=''
10372           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10373           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10374           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10375           ;;
10376         *)
10377           wlarc='${wl}'
10378           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10379           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10380           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10381           ;;
10382         esac
10383       fi
10384       hardcode_libdir_flag_spec='-R$libdir'
10385       hardcode_shlibpath_var=no
10386       case $host_os in
10387       solaris2.[0-5] | solaris2.[0-5].*) ;;
10388       *)
10389         # The compiler driver will combine and reorder linker options,
10390         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10391         # but is careful enough not to reorder.
10392         # Supported since Solaris 2.6 (maybe 2.5.1?)
10393         if test "$GCC" = yes; then
10394           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10395         else
10396           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10397         fi
10398         ;;
10399       esac
10400       link_all_deplibs=yes
10401       ;;
10402
10403     sunos4*)
10404       if test "x$host_vendor" = xsequent; then
10405         # Use $CC to link under sequent, because it throws in some extra .o
10406         # files that make .init and .fini sections work.
10407         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10408       else
10409         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10410       fi
10411       hardcode_libdir_flag_spec='-L$libdir'
10412       hardcode_direct=yes
10413       hardcode_minus_L=yes
10414       hardcode_shlibpath_var=no
10415       ;;
10416
10417     sysv4)
10418       case $host_vendor in
10419         sni)
10420           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10421           hardcode_direct=yes # is this really true???
10422         ;;
10423         siemens)
10424           ## LD is ld it makes a PLAMLIB
10425           ## CC just makes a GrossModule.
10426           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10427           reload_cmds='$CC -r -o $output$reload_objs'
10428           hardcode_direct=no
10429         ;;
10430         motorola)
10431           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10432           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10433         ;;
10434       esac
10435       runpath_var='LD_RUN_PATH'
10436       hardcode_shlibpath_var=no
10437       ;;
10438
10439     sysv4.3*)
10440       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10441       hardcode_shlibpath_var=no
10442       export_dynamic_flag_spec='-Bexport'
10443       ;;
10444
10445     sysv4*MP*)
10446       if test -d /usr/nec; then
10447         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10448         hardcode_shlibpath_var=no
10449         runpath_var=LD_RUN_PATH
10450         hardcode_runpath_var=yes
10451         ld_shlibs=yes
10452       fi
10453       ;;
10454
10455     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10456       no_undefined_flag='${wl}-z,text'
10457       archive_cmds_need_lc=no
10458       hardcode_shlibpath_var=no
10459       runpath_var='LD_RUN_PATH'
10460
10461       if test "$GCC" = yes; then
10462         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10463         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10464       else
10465         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10466         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10467       fi
10468       ;;
10469
10470     sysv5* | sco3.2v5* | sco5v6*)
10471       # Note: We can NOT use -z defs as we might desire, because we do not
10472       # link with -lc, and that would cause any symbols used from libc to
10473       # always be unresolved, which means just about no library would
10474       # ever link correctly.  If we're not using GNU ld we use -z text
10475       # though, which does catch some bad symbols but isn't as heavy-handed
10476       # as -z defs.
10477       no_undefined_flag='${wl}-z,text'
10478       allow_undefined_flag='${wl}-z,nodefs'
10479       archive_cmds_need_lc=no
10480       hardcode_shlibpath_var=no
10481       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10482       hardcode_libdir_separator=':'
10483       link_all_deplibs=yes
10484       export_dynamic_flag_spec='${wl}-Bexport'
10485       runpath_var='LD_RUN_PATH'
10486
10487       if test "$GCC" = yes; then
10488         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10489         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10490       else
10491         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10492         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10493       fi
10494       ;;
10495
10496     uts4*)
10497       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10498       hardcode_libdir_flag_spec='-L$libdir'
10499       hardcode_shlibpath_var=no
10500       ;;
10501
10502     *)
10503       ld_shlibs=no
10504       ;;
10505     esac
10506
10507     if test x$host_vendor = xsni; then
10508       case $host in
10509       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10510         export_dynamic_flag_spec='${wl}-Blargedynsym'
10511         ;;
10512       esac
10513     fi
10514   fi
10515
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10517 $as_echo "$ld_shlibs" >&6; }
10518 test "$ld_shlibs" = no && can_build_shared=no
10519
10520 with_gnu_ld=$with_gnu_ld
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536 #
10537 # Do we need to explicitly link libc?
10538 #
10539 case "x$archive_cmds_need_lc" in
10540 x|xyes)
10541   # Assume -lc should be added
10542   archive_cmds_need_lc=yes
10543
10544   if test "$enable_shared" = yes && test "$GCC" = yes; then
10545     case $archive_cmds in
10546     *'~'*)
10547       # FIXME: we may have to deal with multi-command sequences.
10548       ;;
10549     '$CC '*)
10550       # Test whether the compiler implicitly links with -lc since on some
10551       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10552       # to ld, don't add -lc before -lgcc.
10553       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10554 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10555 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10556   $as_echo_n "(cached) " >&6
10557 else
10558   $RM conftest*
10559         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10560
10561         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10562   (eval $ac_compile) 2>&5
10563   ac_status=$?
10564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10565   test $ac_status = 0; } 2>conftest.err; then
10566           soname=conftest
10567           lib=conftest
10568           libobjs=conftest.$ac_objext
10569           deplibs=
10570           wl=$lt_prog_compiler_wl
10571           pic_flag=$lt_prog_compiler_pic
10572           compiler_flags=-v
10573           linker_flags=-v
10574           verstring=
10575           output_objdir=.
10576           libname=conftest
10577           lt_save_allow_undefined_flag=$allow_undefined_flag
10578           allow_undefined_flag=
10579           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10580   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10581   ac_status=$?
10582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10583   test $ac_status = 0; }
10584           then
10585             lt_cv_archive_cmds_need_lc=no
10586           else
10587             lt_cv_archive_cmds_need_lc=yes
10588           fi
10589           allow_undefined_flag=$lt_save_allow_undefined_flag
10590         else
10591           cat conftest.err 1>&5
10592         fi
10593         $RM conftest*
10594
10595 fi
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10597 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10598       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10599       ;;
10600     esac
10601   fi
10602   ;;
10603 esac
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
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10757 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10758
10759 if test "$GCC" = yes; then
10760   case $host_os in
10761     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10762     *) lt_awk_arg="/^libraries:/" ;;
10763   esac
10764   case $host_os in
10765     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10766     *) lt_sed_strip_eq="s,=/,/,g" ;;
10767   esac
10768   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10769   case $lt_search_path_spec in
10770   *\;*)
10771     # if the path contains ";" then we assume it to be the separator
10772     # otherwise default to the standard path separator (i.e. ":") - it is
10773     # assumed that no part of a normal pathname contains ";" but that should
10774     # okay in the real world where ";" in dirpaths is itself problematic.
10775     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10776     ;;
10777   *)
10778     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10779     ;;
10780   esac
10781   # Ok, now we have the path, separated by spaces, we can step through it
10782   # and add multilib dir if necessary.
10783   lt_tmp_lt_search_path_spec=
10784   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10785   for lt_sys_path in $lt_search_path_spec; do
10786     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10787       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10788     else
10789       test -d "$lt_sys_path" && \
10790         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10791     fi
10792   done
10793   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10794 BEGIN {RS=" "; FS="/|\n";} {
10795   lt_foo="";
10796   lt_count=0;
10797   for (lt_i = NF; lt_i > 0; lt_i--) {
10798     if ($lt_i != "" && $lt_i != ".") {
10799       if ($lt_i == "..") {
10800         lt_count++;
10801       } else {
10802         if (lt_count == 0) {
10803           lt_foo="/" $lt_i lt_foo;
10804         } else {
10805           lt_count--;
10806         }
10807       }
10808     }
10809   }
10810   if (lt_foo != "") { lt_freq[lt_foo]++; }
10811   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10812 }'`
10813   # AWK program above erroneously prepends '/' to C:/dos/paths
10814   # for these hosts.
10815   case $host_os in
10816     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10817       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10818   esac
10819   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10820 else
10821   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10822 fi
10823 library_names_spec=
10824 libname_spec='lib$name'
10825 soname_spec=
10826 shrext_cmds=".so"
10827 postinstall_cmds=
10828 postuninstall_cmds=
10829 finish_cmds=
10830 finish_eval=
10831 shlibpath_var=
10832 shlibpath_overrides_runpath=unknown
10833 version_type=none
10834 dynamic_linker="$host_os ld.so"
10835 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10836 need_lib_prefix=unknown
10837 hardcode_into_libs=no
10838
10839 # when you set need_version to no, make sure it does not cause -set_version
10840 # flags to be left without arguments
10841 need_version=unknown
10842
10843 case $host_os in
10844 aix3*)
10845   version_type=linux # correct to gnu/linux during the next big refactor
10846   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10847   shlibpath_var=LIBPATH
10848
10849   # AIX 3 has no versioning support, so we append a major version to the name.
10850   soname_spec='${libname}${release}${shared_ext}$major'
10851   ;;
10852
10853 aix[4-9]*)
10854   version_type=linux # correct to gnu/linux during the next big refactor
10855   need_lib_prefix=no
10856   need_version=no
10857   hardcode_into_libs=yes
10858   if test "$host_cpu" = ia64; then
10859     # AIX 5 supports IA64
10860     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10861     shlibpath_var=LD_LIBRARY_PATH
10862   else
10863     # With GCC up to 2.95.x, collect2 would create an import file
10864     # for dependence libraries.  The import file would start with
10865     # the line `#! .'.  This would cause the generated library to
10866     # depend on `.', always an invalid library.  This was fixed in
10867     # development snapshots of GCC prior to 3.0.
10868     case $host_os in
10869       aix4 | aix4.[01] | aix4.[01].*)
10870       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10871            echo ' yes '
10872            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10873         :
10874       else
10875         can_build_shared=no
10876       fi
10877       ;;
10878     esac
10879     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10880     # soname into executable. Probably we can add versioning support to
10881     # collect2, so additional links can be useful in future.
10882     if test "$aix_use_runtimelinking" = yes; then
10883       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10884       # instead of lib<name>.a to let people know that these are not
10885       # typical AIX shared libraries.
10886       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887     else
10888       # We preserve .a as extension for shared libraries through AIX4.2
10889       # and later when we are not doing run time linking.
10890       library_names_spec='${libname}${release}.a $libname.a'
10891       soname_spec='${libname}${release}${shared_ext}$major'
10892     fi
10893     shlibpath_var=LIBPATH
10894   fi
10895   ;;
10896
10897 amigaos*)
10898   case $host_cpu in
10899   powerpc)
10900     # Since July 2007 AmigaOS4 officially supports .so libraries.
10901     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10902     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903     ;;
10904   m68k)
10905     library_names_spec='$libname.ixlibrary $libname.a'
10906     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10907     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'
10908     ;;
10909   esac
10910   ;;
10911
10912 beos*)
10913   library_names_spec='${libname}${shared_ext}'
10914   dynamic_linker="$host_os ld.so"
10915   shlibpath_var=LIBRARY_PATH
10916   ;;
10917
10918 bsdi[45]*)
10919   version_type=linux # correct to gnu/linux during the next big refactor
10920   need_version=no
10921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922   soname_spec='${libname}${release}${shared_ext}$major'
10923   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10924   shlibpath_var=LD_LIBRARY_PATH
10925   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10926   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10927   # the default ld.so.conf also contains /usr/contrib/lib and
10928   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10929   # libtool to hard-code these into programs
10930   ;;
10931
10932 cygwin* | mingw* | pw32* | cegcc*)
10933   version_type=windows
10934   shrext_cmds=".dll"
10935   need_version=no
10936   need_lib_prefix=no
10937
10938   case $GCC,$cc_basename in
10939   yes,*)
10940     # gcc
10941     library_names_spec='$libname.dll.a'
10942     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10943     postinstall_cmds='base_file=`basename \${file}`~
10944       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10945       dldir=$destdir/`dirname \$dlpath`~
10946       test -d \$dldir || mkdir -p \$dldir~
10947       $install_prog $dir/$dlname \$dldir/$dlname~
10948       chmod a+x \$dldir/$dlname~
10949       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10950         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10951       fi'
10952     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10953       dlpath=$dir/\$dldll~
10954        $RM \$dlpath'
10955     shlibpath_overrides_runpath=yes
10956
10957     case $host_os in
10958     cygwin*)
10959       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10960       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10961
10962       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10963       ;;
10964     mingw* | cegcc*)
10965       # MinGW DLLs use traditional 'lib' prefix
10966       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10967       ;;
10968     pw32*)
10969       # pw32 DLLs use 'pw' prefix rather than 'lib'
10970       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10971       ;;
10972     esac
10973     dynamic_linker='Win32 ld.exe'
10974     ;;
10975
10976   *,cl*)
10977     # Native MSVC
10978     libname_spec='$name'
10979     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10980     library_names_spec='${libname}.dll.lib'
10981
10982     case $build_os in
10983     mingw*)
10984       sys_lib_search_path_spec=
10985       lt_save_ifs=$IFS
10986       IFS=';'
10987       for lt_path in $LIB
10988       do
10989         IFS=$lt_save_ifs
10990         # Let DOS variable expansion print the short 8.3 style file name.
10991         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10992         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10993       done
10994       IFS=$lt_save_ifs
10995       # Convert to MSYS style.
10996       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10997       ;;
10998     cygwin*)
10999       # Convert to unix form, then to dos form, then back to unix form
11000       # but this time dos style (no spaces!) so that the unix form looks
11001       # like /cygdrive/c/PROGRA~1:/cygdr...
11002       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11003       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11004       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11005       ;;
11006     *)
11007       sys_lib_search_path_spec="$LIB"
11008       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11009         # It is most probably a Windows format PATH.
11010         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11011       else
11012         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11013       fi
11014       # FIXME: find the short name or the path components, as spaces are
11015       # common. (e.g. "Program Files" -> "PROGRA~1")
11016       ;;
11017     esac
11018
11019     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11020     postinstall_cmds='base_file=`basename \${file}`~
11021       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11022       dldir=$destdir/`dirname \$dlpath`~
11023       test -d \$dldir || mkdir -p \$dldir~
11024       $install_prog $dir/$dlname \$dldir/$dlname'
11025     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11026       dlpath=$dir/\$dldll~
11027        $RM \$dlpath'
11028     shlibpath_overrides_runpath=yes
11029     dynamic_linker='Win32 link.exe'
11030     ;;
11031
11032   *)
11033     # Assume MSVC wrapper
11034     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11035     dynamic_linker='Win32 ld.exe'
11036     ;;
11037   esac
11038   # FIXME: first we should search . and the directory the executable is in
11039   shlibpath_var=PATH
11040   ;;
11041
11042 darwin* | rhapsody*)
11043   dynamic_linker="$host_os dyld"
11044   version_type=darwin
11045   need_lib_prefix=no
11046   need_version=no
11047   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11048   soname_spec='${libname}${release}${major}$shared_ext'
11049   shlibpath_overrides_runpath=yes
11050   shlibpath_var=DYLD_LIBRARY_PATH
11051   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11052
11053   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11054   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11055   ;;
11056
11057 dgux*)
11058   version_type=linux # correct to gnu/linux during the next big refactor
11059   need_lib_prefix=no
11060   need_version=no
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=LD_LIBRARY_PATH
11064   ;;
11065
11066 freebsd* | dragonfly*)
11067   # DragonFly does not have aout.  When/if they implement a new
11068   # versioning mechanism, adjust this.
11069   if test -x /usr/bin/objformat; then
11070     objformat=`/usr/bin/objformat`
11071   else
11072     case $host_os in
11073     freebsd[23].*) objformat=aout ;;
11074     *) objformat=elf ;;
11075     esac
11076   fi
11077   version_type=freebsd-$objformat
11078   case $version_type in
11079     freebsd-elf*)
11080       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11081       need_version=no
11082       need_lib_prefix=no
11083       ;;
11084     freebsd-*)
11085       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11086       need_version=yes
11087       ;;
11088   esac
11089   shlibpath_var=LD_LIBRARY_PATH
11090   case $host_os in
11091   freebsd2.*)
11092     shlibpath_overrides_runpath=yes
11093     ;;
11094   freebsd3.[01]* | freebsdelf3.[01]*)
11095     shlibpath_overrides_runpath=yes
11096     hardcode_into_libs=yes
11097     ;;
11098   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11099   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11100     shlibpath_overrides_runpath=no
11101     hardcode_into_libs=yes
11102     ;;
11103   *) # from 4.6 on, and DragonFly
11104     shlibpath_overrides_runpath=yes
11105     hardcode_into_libs=yes
11106     ;;
11107   esac
11108   ;;
11109
11110 gnu*)
11111   version_type=linux # correct to gnu/linux during the next big refactor
11112   need_lib_prefix=no
11113   need_version=no
11114   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11115   soname_spec='${libname}${release}${shared_ext}$major'
11116   shlibpath_var=LD_LIBRARY_PATH
11117   shlibpath_overrides_runpath=no
11118   hardcode_into_libs=yes
11119   ;;
11120
11121 haiku*)
11122   version_type=linux # correct to gnu/linux during the next big refactor
11123   need_lib_prefix=no
11124   need_version=no
11125   dynamic_linker="$host_os runtime_loader"
11126   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11127   soname_spec='${libname}${release}${shared_ext}$major'
11128   shlibpath_var=LIBRARY_PATH
11129   shlibpath_overrides_runpath=yes
11130   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11131   hardcode_into_libs=yes
11132   ;;
11133
11134 hpux9* | hpux10* | hpux11*)
11135   # Give a soname corresponding to the major version so that dld.sl refuses to
11136   # link against other versions.
11137   version_type=sunos
11138   need_lib_prefix=no
11139   need_version=no
11140   case $host_cpu in
11141   ia64*)
11142     shrext_cmds='.so'
11143     hardcode_into_libs=yes
11144     dynamic_linker="$host_os dld.so"
11145     shlibpath_var=LD_LIBRARY_PATH
11146     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11147     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148     soname_spec='${libname}${release}${shared_ext}$major'
11149     if test "X$HPUX_IA64_MODE" = X32; then
11150       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11151     else
11152       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11153     fi
11154     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11155     ;;
11156   hppa*64*)
11157     shrext_cmds='.sl'
11158     hardcode_into_libs=yes
11159     dynamic_linker="$host_os dld.sl"
11160     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11161     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11162     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163     soname_spec='${libname}${release}${shared_ext}$major'
11164     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11165     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11166     ;;
11167   *)
11168     shrext_cmds='.sl'
11169     dynamic_linker="$host_os dld.sl"
11170     shlibpath_var=SHLIB_PATH
11171     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11172     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173     soname_spec='${libname}${release}${shared_ext}$major'
11174     ;;
11175   esac
11176   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11177   postinstall_cmds='chmod 555 $lib'
11178   # or fails outright, so override atomically:
11179   install_override_mode=555
11180   ;;
11181
11182 interix[3-9]*)
11183   version_type=linux # correct to gnu/linux during the next big refactor
11184   need_lib_prefix=no
11185   need_version=no
11186   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11187   soname_spec='${libname}${release}${shared_ext}$major'
11188   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11189   shlibpath_var=LD_LIBRARY_PATH
11190   shlibpath_overrides_runpath=no
11191   hardcode_into_libs=yes
11192   ;;
11193
11194 irix5* | irix6* | nonstopux*)
11195   case $host_os in
11196     nonstopux*) version_type=nonstopux ;;
11197     *)
11198         if test "$lt_cv_prog_gnu_ld" = yes; then
11199                 version_type=linux # correct to gnu/linux during the next big refactor
11200         else
11201                 version_type=irix
11202         fi ;;
11203   esac
11204   need_lib_prefix=no
11205   need_version=no
11206   soname_spec='${libname}${release}${shared_ext}$major'
11207   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11208   case $host_os in
11209   irix5* | nonstopux*)
11210     libsuff= shlibsuff=
11211     ;;
11212   *)
11213     case $LD in # libtool.m4 will add one of these switches to LD
11214     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11215       libsuff= shlibsuff= libmagic=32-bit;;
11216     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11217       libsuff=32 shlibsuff=N32 libmagic=N32;;
11218     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11219       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11220     *) libsuff= shlibsuff= libmagic=never-match;;
11221     esac
11222     ;;
11223   esac
11224   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11225   shlibpath_overrides_runpath=no
11226   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11227   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11228   hardcode_into_libs=yes
11229   ;;
11230
11231 # No shared lib support for Linux oldld, aout, or coff.
11232 linux*oldld* | linux*aout* | linux*coff*)
11233   dynamic_linker=no
11234   ;;
11235
11236 # This must be glibc/ELF.
11237 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11238   version_type=linux # correct to gnu/linux during the next big refactor
11239   need_lib_prefix=no
11240   need_version=no
11241   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11242   soname_spec='${libname}${release}${shared_ext}$major'
11243   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11244   shlibpath_var=LD_LIBRARY_PATH
11245   shlibpath_overrides_runpath=no
11246
11247   # Some binutils ld are patched to set DT_RUNPATH
11248   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11249   $as_echo_n "(cached) " >&6
11250 else
11251   lt_cv_shlibpath_overrides_runpath=no
11252     save_LDFLAGS=$LDFLAGS
11253     save_libdir=$libdir
11254     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11255          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11256     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h.  */
11258
11259 int
11260 main ()
11261 {
11262
11263   ;
11264   return 0;
11265 }
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"; then :
11268   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11269   lt_cv_shlibpath_overrides_runpath=yes
11270 fi
11271 fi
11272 rm -f core conftest.err conftest.$ac_objext \
11273     conftest$ac_exeext conftest.$ac_ext
11274     LDFLAGS=$save_LDFLAGS
11275     libdir=$save_libdir
11276
11277 fi
11278
11279   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11280
11281   # This implies no fast_install, which is unacceptable.
11282   # Some rework will be needed to allow for fast_install
11283   # before this can be enabled.
11284   hardcode_into_libs=yes
11285
11286   # Append ld.so.conf contents to the search path
11287   if test -f /etc/ld.so.conf; then
11288     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' ' '`
11289     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11290   fi
11291
11292   # We used to test for /lib/ld.so.1 and disable shared libraries on
11293   # powerpc, because MkLinux only supported shared libraries with the
11294   # GNU dynamic linker.  Since this was broken with cross compilers,
11295   # most powerpc-linux boxes support dynamic linking these days and
11296   # people can always --disable-shared, the test was removed, and we
11297   # assume the GNU/Linux dynamic linker is in use.
11298   dynamic_linker='GNU/Linux ld.so'
11299   ;;
11300
11301 netbsdelf*-gnu)
11302   version_type=linux
11303   need_lib_prefix=no
11304   need_version=no
11305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11306   soname_spec='${libname}${release}${shared_ext}$major'
11307   shlibpath_var=LD_LIBRARY_PATH
11308   shlibpath_overrides_runpath=no
11309   hardcode_into_libs=yes
11310   dynamic_linker='NetBSD ld.elf_so'
11311   ;;
11312
11313 netbsd*)
11314   version_type=sunos
11315   need_lib_prefix=no
11316   need_version=no
11317   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11318     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11319     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11320     dynamic_linker='NetBSD (a.out) ld.so'
11321   else
11322     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11323     soname_spec='${libname}${release}${shared_ext}$major'
11324     dynamic_linker='NetBSD ld.elf_so'
11325   fi
11326   shlibpath_var=LD_LIBRARY_PATH
11327   shlibpath_overrides_runpath=yes
11328   hardcode_into_libs=yes
11329   ;;
11330
11331 newsos6)
11332   version_type=linux # correct to gnu/linux during the next big refactor
11333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11334   shlibpath_var=LD_LIBRARY_PATH
11335   shlibpath_overrides_runpath=yes
11336   ;;
11337
11338 *nto* | *qnx*)
11339   version_type=qnx
11340   need_lib_prefix=no
11341   need_version=no
11342   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11343   soname_spec='${libname}${release}${shared_ext}$major'
11344   shlibpath_var=LD_LIBRARY_PATH
11345   shlibpath_overrides_runpath=no
11346   hardcode_into_libs=yes
11347   dynamic_linker='ldqnx.so'
11348   ;;
11349
11350 openbsd*)
11351   version_type=sunos
11352   sys_lib_dlsearch_path_spec="/usr/lib"
11353   need_lib_prefix=no
11354   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11355   case $host_os in
11356     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11357     *)                          need_version=no  ;;
11358   esac
11359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11360   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11361   shlibpath_var=LD_LIBRARY_PATH
11362   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11363     case $host_os in
11364       openbsd2.[89] | openbsd2.[89].*)
11365         shlibpath_overrides_runpath=no
11366         ;;
11367       *)
11368         shlibpath_overrides_runpath=yes
11369         ;;
11370       esac
11371   else
11372     shlibpath_overrides_runpath=yes
11373   fi
11374   ;;
11375
11376 os2*)
11377   libname_spec='$name'
11378   shrext_cmds=".dll"
11379   need_lib_prefix=no
11380   library_names_spec='$libname${shared_ext} $libname.a'
11381   dynamic_linker='OS/2 ld.exe'
11382   shlibpath_var=LIBPATH
11383   ;;
11384
11385 osf3* | osf4* | osf5*)
11386   version_type=osf
11387   need_lib_prefix=no
11388   need_version=no
11389   soname_spec='${libname}${release}${shared_ext}$major'
11390   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11391   shlibpath_var=LD_LIBRARY_PATH
11392   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11393   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11394   ;;
11395
11396 rdos*)
11397   dynamic_linker=no
11398   ;;
11399
11400 solaris*)
11401   version_type=linux # correct to gnu/linux during the next big refactor
11402   need_lib_prefix=no
11403   need_version=no
11404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11405   soname_spec='${libname}${release}${shared_ext}$major'
11406   shlibpath_var=LD_LIBRARY_PATH
11407   shlibpath_overrides_runpath=yes
11408   hardcode_into_libs=yes
11409   # ldd complains unless libraries are executable
11410   postinstall_cmds='chmod +x $lib'
11411   ;;
11412
11413 sunos4*)
11414   version_type=sunos
11415   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11416   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11417   shlibpath_var=LD_LIBRARY_PATH
11418   shlibpath_overrides_runpath=yes
11419   if test "$with_gnu_ld" = yes; then
11420     need_lib_prefix=no
11421   fi
11422   need_version=yes
11423   ;;
11424
11425 sysv4 | sysv4.3*)
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   case $host_vendor in
11431     sni)
11432       shlibpath_overrides_runpath=no
11433       need_lib_prefix=no
11434       runpath_var=LD_RUN_PATH
11435       ;;
11436     siemens)
11437       need_lib_prefix=no
11438       ;;
11439     motorola)
11440       need_lib_prefix=no
11441       need_version=no
11442       shlibpath_overrides_runpath=no
11443       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11444       ;;
11445   esac
11446   ;;
11447
11448 sysv4*MP*)
11449   if test -d /usr/nec ;then
11450     version_type=linux # correct to gnu/linux during the next big refactor
11451     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11452     soname_spec='$libname${shared_ext}.$major'
11453     shlibpath_var=LD_LIBRARY_PATH
11454   fi
11455   ;;
11456
11457 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11458   version_type=freebsd-elf
11459   need_lib_prefix=no
11460   need_version=no
11461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11462   soname_spec='${libname}${release}${shared_ext}$major'
11463   shlibpath_var=LD_LIBRARY_PATH
11464   shlibpath_overrides_runpath=yes
11465   hardcode_into_libs=yes
11466   if test "$with_gnu_ld" = yes; then
11467     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11468   else
11469     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11470     case $host_os in
11471       sco3.2v5*)
11472         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11473         ;;
11474     esac
11475   fi
11476   sys_lib_dlsearch_path_spec='/usr/lib'
11477   ;;
11478
11479 tpf*)
11480   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11481   version_type=linux # correct to gnu/linux during the next big refactor
11482   need_lib_prefix=no
11483   need_version=no
11484   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11485   shlibpath_var=LD_LIBRARY_PATH
11486   shlibpath_overrides_runpath=no
11487   hardcode_into_libs=yes
11488   ;;
11489
11490 uts4*)
11491   version_type=linux # correct to gnu/linux during the next big refactor
11492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11493   soname_spec='${libname}${release}${shared_ext}$major'
11494   shlibpath_var=LD_LIBRARY_PATH
11495   ;;
11496
11497 *)
11498   dynamic_linker=no
11499   ;;
11500 esac
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11502 $as_echo "$dynamic_linker" >&6; }
11503 test "$dynamic_linker" = no && can_build_shared=no
11504
11505 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11506 if test "$GCC" = yes; then
11507   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11508 fi
11509
11510 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11511   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11512 fi
11513 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11514   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11515 fi
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
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11609 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11610 hardcode_action=
11611 if test -n "$hardcode_libdir_flag_spec" ||
11612    test -n "$runpath_var" ||
11613    test "X$hardcode_automatic" = "Xyes" ; then
11614
11615   # We can hardcode non-existent directories.
11616   if test "$hardcode_direct" != no &&
11617      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11618      # have to relink, otherwise we might link with an installed library
11619      # when we should be linking with a yet-to-be-installed one
11620      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11621      test "$hardcode_minus_L" != no; then
11622     # Linking always hardcodes the temporary library directory.
11623     hardcode_action=relink
11624   else
11625     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11626     hardcode_action=immediate
11627   fi
11628 else
11629   # We cannot hardcode anything, or else we can only hardcode existing
11630   # directories.
11631   hardcode_action=unsupported
11632 fi
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11634 $as_echo "$hardcode_action" >&6; }
11635
11636 if test "$hardcode_action" = relink ||
11637    test "$inherit_rpath" = yes; then
11638   # Fast installation is not supported
11639   enable_fast_install=no
11640 elif test "$shlibpath_overrides_runpath" = yes ||
11641      test "$enable_shared" = no; then
11642   # Fast installation is not necessary
11643   enable_fast_install=needless
11644 fi
11645
11646
11647
11648
11649
11650
11651   if test "x$enable_dlopen" != xyes; then
11652   enable_dlopen=unknown
11653   enable_dlopen_self=unknown
11654   enable_dlopen_self_static=unknown
11655 else
11656   lt_cv_dlopen=no
11657   lt_cv_dlopen_libs=
11658
11659   case $host_os in
11660   beos*)
11661     lt_cv_dlopen="load_add_on"
11662     lt_cv_dlopen_libs=
11663     lt_cv_dlopen_self=yes
11664     ;;
11665
11666   mingw* | pw32* | cegcc*)
11667     lt_cv_dlopen="LoadLibrary"
11668     lt_cv_dlopen_libs=
11669     ;;
11670
11671   cygwin*)
11672     lt_cv_dlopen="dlopen"
11673     lt_cv_dlopen_libs=
11674     ;;
11675
11676   darwin*)
11677   # if libdl is installed we need to link against it
11678     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11679 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11680 if ${ac_cv_lib_dl_dlopen+:} false; then :
11681   $as_echo_n "(cached) " >&6
11682 else
11683   ac_check_lib_save_LIBS=$LIBS
11684 LIBS="-ldl  $LIBS"
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h.  */
11687
11688 /* Override any GCC internal prototype to avoid an error.
11689    Use char because int might match the return type of a GCC
11690    builtin and then its argument prototype would still apply.  */
11691 #ifdef __cplusplus
11692 extern "C"
11693 #endif
11694 char dlopen ();
11695 int
11696 main ()
11697 {
11698 return dlopen ();
11699   ;
11700   return 0;
11701 }
11702 _ACEOF
11703 if ac_fn_c_try_link "$LINENO"; then :
11704   ac_cv_lib_dl_dlopen=yes
11705 else
11706   ac_cv_lib_dl_dlopen=no
11707 fi
11708 rm -f core conftest.err conftest.$ac_objext \
11709     conftest$ac_exeext conftest.$ac_ext
11710 LIBS=$ac_check_lib_save_LIBS
11711 fi
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11713 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11714 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11715   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11716 else
11717
11718     lt_cv_dlopen="dyld"
11719     lt_cv_dlopen_libs=
11720     lt_cv_dlopen_self=yes
11721
11722 fi
11723
11724     ;;
11725
11726   *)
11727     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11728 if test "x$ac_cv_func_shl_load" = xyes; then :
11729   lt_cv_dlopen="shl_load"
11730 else
11731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11732 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11733 if ${ac_cv_lib_dld_shl_load+:} false; then :
11734   $as_echo_n "(cached) " >&6
11735 else
11736   ac_check_lib_save_LIBS=$LIBS
11737 LIBS="-ldld  $LIBS"
11738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11739 /* end confdefs.h.  */
11740
11741 /* Override any GCC internal prototype to avoid an error.
11742    Use char because int might match the return type of a GCC
11743    builtin and then its argument prototype would still apply.  */
11744 #ifdef __cplusplus
11745 extern "C"
11746 #endif
11747 char shl_load ();
11748 int
11749 main ()
11750 {
11751 return shl_load ();
11752   ;
11753   return 0;
11754 }
11755 _ACEOF
11756 if ac_fn_c_try_link "$LINENO"; then :
11757   ac_cv_lib_dld_shl_load=yes
11758 else
11759   ac_cv_lib_dld_shl_load=no
11760 fi
11761 rm -f core conftest.err conftest.$ac_objext \
11762     conftest$ac_exeext conftest.$ac_ext
11763 LIBS=$ac_check_lib_save_LIBS
11764 fi
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11766 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11767 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11768   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11769 else
11770   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11771 if test "x$ac_cv_func_dlopen" = xyes; then :
11772   lt_cv_dlopen="dlopen"
11773 else
11774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11775 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11776 if ${ac_cv_lib_dl_dlopen+:} false; then :
11777   $as_echo_n "(cached) " >&6
11778 else
11779   ac_check_lib_save_LIBS=$LIBS
11780 LIBS="-ldl  $LIBS"
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h.  */
11783
11784 /* Override any GCC internal prototype to avoid an error.
11785    Use char because int might match the return type of a GCC
11786    builtin and then its argument prototype would still apply.  */
11787 #ifdef __cplusplus
11788 extern "C"
11789 #endif
11790 char dlopen ();
11791 int
11792 main ()
11793 {
11794 return dlopen ();
11795   ;
11796   return 0;
11797 }
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"; then :
11800   ac_cv_lib_dl_dlopen=yes
11801 else
11802   ac_cv_lib_dl_dlopen=no
11803 fi
11804 rm -f core conftest.err conftest.$ac_objext \
11805     conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_lib_save_LIBS
11807 fi
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11809 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11810 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11811   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11812 else
11813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11814 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11815 if ${ac_cv_lib_svld_dlopen+:} false; then :
11816   $as_echo_n "(cached) " >&6
11817 else
11818   ac_check_lib_save_LIBS=$LIBS
11819 LIBS="-lsvld  $LIBS"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h.  */
11822
11823 /* Override any GCC internal prototype to avoid an error.
11824    Use char because int might match the return type of a GCC
11825    builtin and then its argument prototype would still apply.  */
11826 #ifdef __cplusplus
11827 extern "C"
11828 #endif
11829 char dlopen ();
11830 int
11831 main ()
11832 {
11833 return dlopen ();
11834   ;
11835   return 0;
11836 }
11837 _ACEOF
11838 if ac_fn_c_try_link "$LINENO"; then :
11839   ac_cv_lib_svld_dlopen=yes
11840 else
11841   ac_cv_lib_svld_dlopen=no
11842 fi
11843 rm -f core conftest.err conftest.$ac_objext \
11844     conftest$ac_exeext conftest.$ac_ext
11845 LIBS=$ac_check_lib_save_LIBS
11846 fi
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11848 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11849 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11850   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11851 else
11852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11853 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11854 if ${ac_cv_lib_dld_dld_link+:} false; then :
11855   $as_echo_n "(cached) " >&6
11856 else
11857   ac_check_lib_save_LIBS=$LIBS
11858 LIBS="-ldld  $LIBS"
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h.  */
11861
11862 /* Override any GCC internal prototype to avoid an error.
11863    Use char because int might match the return type of a GCC
11864    builtin and then its argument prototype would still apply.  */
11865 #ifdef __cplusplus
11866 extern "C"
11867 #endif
11868 char dld_link ();
11869 int
11870 main ()
11871 {
11872 return dld_link ();
11873   ;
11874   return 0;
11875 }
11876 _ACEOF
11877 if ac_fn_c_try_link "$LINENO"; then :
11878   ac_cv_lib_dld_dld_link=yes
11879 else
11880   ac_cv_lib_dld_dld_link=no
11881 fi
11882 rm -f core conftest.err conftest.$ac_objext \
11883     conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_lib_save_LIBS
11885 fi
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11887 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11888 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11889   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11890 fi
11891
11892
11893 fi
11894
11895
11896 fi
11897
11898
11899 fi
11900
11901
11902 fi
11903
11904
11905 fi
11906
11907     ;;
11908   esac
11909
11910   if test "x$lt_cv_dlopen" != xno; then
11911     enable_dlopen=yes
11912   else
11913     enable_dlopen=no
11914   fi
11915
11916   case $lt_cv_dlopen in
11917   dlopen)
11918     save_CPPFLAGS="$CPPFLAGS"
11919     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11920
11921     save_LDFLAGS="$LDFLAGS"
11922     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11923
11924     save_LIBS="$LIBS"
11925     LIBS="$lt_cv_dlopen_libs $LIBS"
11926
11927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11928 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11929 if ${lt_cv_dlopen_self+:} false; then :
11930   $as_echo_n "(cached) " >&6
11931 else
11932           if test "$cross_compiling" = yes; then :
11933   lt_cv_dlopen_self=cross
11934 else
11935   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11936   lt_status=$lt_dlunknown
11937   cat > conftest.$ac_ext <<_LT_EOF
11938 #line $LINENO "configure"
11939 #include "confdefs.h"
11940
11941 #if HAVE_DLFCN_H
11942 #include <dlfcn.h>
11943 #endif
11944
11945 #include <stdio.h>
11946
11947 #ifdef RTLD_GLOBAL
11948 #  define LT_DLGLOBAL           RTLD_GLOBAL
11949 #else
11950 #  ifdef DL_GLOBAL
11951 #    define LT_DLGLOBAL         DL_GLOBAL
11952 #  else
11953 #    define LT_DLGLOBAL         0
11954 #  endif
11955 #endif
11956
11957 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11958    find out it does not work in some platform. */
11959 #ifndef LT_DLLAZY_OR_NOW
11960 #  ifdef RTLD_LAZY
11961 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11962 #  else
11963 #    ifdef DL_LAZY
11964 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11965 #    else
11966 #      ifdef RTLD_NOW
11967 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11968 #      else
11969 #        ifdef DL_NOW
11970 #          define LT_DLLAZY_OR_NOW      DL_NOW
11971 #        else
11972 #          define LT_DLLAZY_OR_NOW      0
11973 #        endif
11974 #      endif
11975 #    endif
11976 #  endif
11977 #endif
11978
11979 /* When -fvisbility=hidden is used, assume the code has been annotated
11980    correspondingly for the symbols needed.  */
11981 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11982 int fnord () __attribute__((visibility("default")));
11983 #endif
11984
11985 int fnord () { return 42; }
11986 int main ()
11987 {
11988   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11989   int status = $lt_dlunknown;
11990
11991   if (self)
11992     {
11993       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11994       else
11995         {
11996           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11997           else puts (dlerror ());
11998         }
11999       /* dlclose (self); */
12000     }
12001   else
12002     puts (dlerror ());
12003
12004   return status;
12005 }
12006 _LT_EOF
12007   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12008   (eval $ac_link) 2>&5
12009   ac_status=$?
12010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12011   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12012     (./conftest; exit; ) >&5 2>/dev/null
12013     lt_status=$?
12014     case x$lt_status in
12015       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12016       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12017       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12018     esac
12019   else :
12020     # compilation failed
12021     lt_cv_dlopen_self=no
12022   fi
12023 fi
12024 rm -fr conftest*
12025
12026
12027 fi
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12029 $as_echo "$lt_cv_dlopen_self" >&6; }
12030
12031     if test "x$lt_cv_dlopen_self" = xyes; then
12032       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12033       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12034 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12035 if ${lt_cv_dlopen_self_static+:} false; then :
12036   $as_echo_n "(cached) " >&6
12037 else
12038           if test "$cross_compiling" = yes; then :
12039   lt_cv_dlopen_self_static=cross
12040 else
12041   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12042   lt_status=$lt_dlunknown
12043   cat > conftest.$ac_ext <<_LT_EOF
12044 #line $LINENO "configure"
12045 #include "confdefs.h"
12046
12047 #if HAVE_DLFCN_H
12048 #include <dlfcn.h>
12049 #endif
12050
12051 #include <stdio.h>
12052
12053 #ifdef RTLD_GLOBAL
12054 #  define LT_DLGLOBAL           RTLD_GLOBAL
12055 #else
12056 #  ifdef DL_GLOBAL
12057 #    define LT_DLGLOBAL         DL_GLOBAL
12058 #  else
12059 #    define LT_DLGLOBAL         0
12060 #  endif
12061 #endif
12062
12063 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12064    find out it does not work in some platform. */
12065 #ifndef LT_DLLAZY_OR_NOW
12066 #  ifdef RTLD_LAZY
12067 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12068 #  else
12069 #    ifdef DL_LAZY
12070 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12071 #    else
12072 #      ifdef RTLD_NOW
12073 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12074 #      else
12075 #        ifdef DL_NOW
12076 #          define LT_DLLAZY_OR_NOW      DL_NOW
12077 #        else
12078 #          define LT_DLLAZY_OR_NOW      0
12079 #        endif
12080 #      endif
12081 #    endif
12082 #  endif
12083 #endif
12084
12085 /* When -fvisbility=hidden is used, assume the code has been annotated
12086    correspondingly for the symbols needed.  */
12087 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12088 int fnord () __attribute__((visibility("default")));
12089 #endif
12090
12091 int fnord () { return 42; }
12092 int main ()
12093 {
12094   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12095   int status = $lt_dlunknown;
12096
12097   if (self)
12098     {
12099       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12100       else
12101         {
12102           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12103           else puts (dlerror ());
12104         }
12105       /* dlclose (self); */
12106     }
12107   else
12108     puts (dlerror ());
12109
12110   return status;
12111 }
12112 _LT_EOF
12113   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12114   (eval $ac_link) 2>&5
12115   ac_status=$?
12116   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12117   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12118     (./conftest; exit; ) >&5 2>/dev/null
12119     lt_status=$?
12120     case x$lt_status in
12121       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12122       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12123       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12124     esac
12125   else :
12126     # compilation failed
12127     lt_cv_dlopen_self_static=no
12128   fi
12129 fi
12130 rm -fr conftest*
12131
12132
12133 fi
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12135 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12136     fi
12137
12138     CPPFLAGS="$save_CPPFLAGS"
12139     LDFLAGS="$save_LDFLAGS"
12140     LIBS="$save_LIBS"
12141     ;;
12142   esac
12143
12144   case $lt_cv_dlopen_self in
12145   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12146   *) enable_dlopen_self=unknown ;;
12147   esac
12148
12149   case $lt_cv_dlopen_self_static in
12150   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12151   *) enable_dlopen_self_static=unknown ;;
12152   esac
12153 fi
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171 striplib=
12172 old_striplib=
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12174 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12175 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12176   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12177   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12179 $as_echo "yes" >&6; }
12180 else
12181 # FIXME - insert some real tests, host_os isn't really good enough
12182   case $host_os in
12183   darwin*)
12184     if test -n "$STRIP" ; then
12185       striplib="$STRIP -x"
12186       old_striplib="$STRIP -S"
12187       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12188 $as_echo "yes" >&6; }
12189     else
12190       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12191 $as_echo "no" >&6; }
12192     fi
12193     ;;
12194   *)
12195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12196 $as_echo "no" >&6; }
12197     ;;
12198   esac
12199 fi
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212   # Report which library types will actually be built
12213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12214 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12216 $as_echo "$can_build_shared" >&6; }
12217
12218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12219 $as_echo_n "checking whether to build shared libraries... " >&6; }
12220   test "$can_build_shared" = "no" && enable_shared=no
12221
12222   # On AIX, shared libraries and static libraries use the same namespace, and
12223   # are all built from PIC.
12224   case $host_os in
12225   aix3*)
12226     test "$enable_shared" = yes && enable_static=no
12227     if test -n "$RANLIB"; then
12228       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12229       postinstall_cmds='$RANLIB $lib'
12230     fi
12231     ;;
12232
12233   aix[4-9]*)
12234     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12235       test "$enable_shared" = yes && enable_static=no
12236     fi
12237     ;;
12238   esac
12239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12240 $as_echo "$enable_shared" >&6; }
12241
12242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12243 $as_echo_n "checking whether to build static libraries... " >&6; }
12244   # Make sure either enable_shared or enable_static is yes.
12245   test "$enable_shared" = yes || enable_static=yes
12246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12247 $as_echo "$enable_static" >&6; }
12248
12249
12250
12251
12252 fi
12253 ac_ext=c
12254 ac_cpp='$CPP $CPPFLAGS'
12255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12258
12259 CC="$lt_save_CC"
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275         ac_config_commands="$ac_config_commands libtool"
12276
12277
12278
12279
12280 # Only expand once:
12281
12282
12283
12284 LIBRYGEL_SERVER_REQUIRED=0.17.4
12285 GUPNP_DLNA_REQUIRED=0.9.5
12286 GSTREAMER_REQUIRED=0.10.36
12287 GSTPBU_REQUIRED=0.10.35
12288 REQUIRED_MODULES='gio-2.0 rygel-server-2.0 >= $LIBRYGEL_SERVER_REQUIRED gupnp-dlna-2.0 >= $GUPNP_DLNA_REQUIRED gstreamer-0.10 >= $GSTREAMER_REQUIRED gstreamer-base-0.10 >= $GSTREAMER_REQUIRED gstreamer-pbutils-0.10 >= $GSTPBU_REQUIRED'
12289
12290
12291
12292
12293
12294
12295
12296 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12297         if test -n "$ac_tool_prefix"; then
12298   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12299 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12301 $as_echo_n "checking for $ac_word... " >&6; }
12302 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12303   $as_echo_n "(cached) " >&6
12304 else
12305   case $PKG_CONFIG in
12306   [\\/]* | ?:[\\/]*)
12307   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12308   ;;
12309   *)
12310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12311 for as_dir in $PATH
12312 do
12313   IFS=$as_save_IFS
12314   test -z "$as_dir" && as_dir=.
12315     for ac_exec_ext in '' $ac_executable_extensions; do
12316   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12317     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12319     break 2
12320   fi
12321 done
12322   done
12323 IFS=$as_save_IFS
12324
12325   ;;
12326 esac
12327 fi
12328 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12329 if test -n "$PKG_CONFIG"; then
12330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12331 $as_echo "$PKG_CONFIG" >&6; }
12332 else
12333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12335 fi
12336
12337
12338 fi
12339 if test -z "$ac_cv_path_PKG_CONFIG"; then
12340   ac_pt_PKG_CONFIG=$PKG_CONFIG
12341   # Extract the first word of "pkg-config", so it can be a program name with args.
12342 set dummy pkg-config; ac_word=$2
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12344 $as_echo_n "checking for $ac_word... " >&6; }
12345 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12346   $as_echo_n "(cached) " >&6
12347 else
12348   case $ac_pt_PKG_CONFIG in
12349   [\\/]* | ?:[\\/]*)
12350   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12351   ;;
12352   *)
12353   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12354 for as_dir in $PATH
12355 do
12356   IFS=$as_save_IFS
12357   test -z "$as_dir" && as_dir=.
12358     for ac_exec_ext in '' $ac_executable_extensions; do
12359   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12360     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12362     break 2
12363   fi
12364 done
12365   done
12366 IFS=$as_save_IFS
12367
12368   ;;
12369 esac
12370 fi
12371 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12372 if test -n "$ac_pt_PKG_CONFIG"; then
12373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12374 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12375 else
12376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12378 fi
12379
12380   if test "x$ac_pt_PKG_CONFIG" = x; then
12381     PKG_CONFIG=""
12382   else
12383     case $cross_compiling:$ac_tool_warned in
12384 yes:)
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12387 ac_tool_warned=yes ;;
12388 esac
12389     PKG_CONFIG=$ac_pt_PKG_CONFIG
12390   fi
12391 else
12392   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12393 fi
12394
12395 fi
12396 if test -n "$PKG_CONFIG"; then
12397         _pkg_min_version=0.9.0
12398         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12399 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12400         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12401                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12402 $as_echo "yes" >&6; }
12403         else
12404                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12405 $as_echo "no" >&6; }
12406                 PKG_CONFIG=""
12407         fi
12408 fi
12409
12410 pkg_failed=no
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
12412 $as_echo_n "checking for DEPS... " >&6; }
12413
12414 if test -n "$DEPS_CFLAGS"; then
12415     pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
12416  elif test -n "$PKG_CONFIG"; then
12417     if test -n "$PKG_CONFIG" && \
12418     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
12419   ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
12420   ac_status=$?
12421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12422   test $ac_status = 0; }; then
12423   pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$REQUIRED_MODULES" 2>/dev/null`
12424                       test "x$?" != "x0" && pkg_failed=yes
12425 else
12426   pkg_failed=yes
12427 fi
12428  else
12429     pkg_failed=untried
12430 fi
12431 if test -n "$DEPS_LIBS"; then
12432     pkg_cv_DEPS_LIBS="$DEPS_LIBS"
12433  elif test -n "$PKG_CONFIG"; then
12434     if test -n "$PKG_CONFIG" && \
12435     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
12436   ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
12437   ac_status=$?
12438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12439   test $ac_status = 0; }; then
12440   pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "$REQUIRED_MODULES" 2>/dev/null`
12441                       test "x$?" != "x0" && pkg_failed=yes
12442 else
12443   pkg_failed=yes
12444 fi
12445  else
12446     pkg_failed=untried
12447 fi
12448
12449
12450
12451 if test $pkg_failed = yes; then
12452         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12453 $as_echo "no" >&6; }
12454
12455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12456         _pkg_short_errors_supported=yes
12457 else
12458         _pkg_short_errors_supported=no
12459 fi
12460         if test $_pkg_short_errors_supported = yes; then
12461                 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
12462         else
12463                 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
12464         fi
12465         # Put the nasty error message in config.log where it belongs
12466         echo "$DEPS_PKG_ERRORS" >&5
12467
12468         as_fn_error $? "Package requirements ($REQUIRED_MODULES) were not met:
12469
12470 $DEPS_PKG_ERRORS
12471
12472 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12473 installed software in a non-standard prefix.
12474
12475 Alternatively, you may set the environment variables DEPS_CFLAGS
12476 and DEPS_LIBS to avoid the need to call pkg-config.
12477 See the pkg-config man page for more details." "$LINENO" 5
12478 elif test $pkg_failed = untried; then
12479         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12480 $as_echo "no" >&6; }
12481         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12483 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12484 is in your PATH or set the PKG_CONFIG environment variable to the full
12485 path to pkg-config.
12486
12487 Alternatively, you may set the environment variables DEPS_CFLAGS
12488 and DEPS_LIBS to avoid the need to call pkg-config.
12489 See the pkg-config man page for more details.
12490
12491 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12492 See \`config.log' for more details" "$LINENO" 5; }
12493 else
12494         DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
12495         DEPS_LIBS=$pkg_cv_DEPS_LIBS
12496         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12497 $as_echo "yes" >&6; }
12498
12499 fi
12500
12501 # Check whether --enable-debug was given.
12502 if test "${enable_debug+set}" = set; then :
12503   enableval=$enable_debug;
12504 else
12505   enable_debug=no
12506 fi
12507
12508 if test "x$enable_debug" = "xyes"; then
12509         CFLAGS="$CFLAGS -O0 -g"
12510 fi
12511
12512 # Check whether --enable-strict-cc was given.
12513 if test "${enable_strict_cc+set}" = set; then :
12514   enableval=$enable_strict_cc;
12515 else
12516   enable_strict_cc=no
12517 fi
12518
12519 if test "x$enable_strict_cc" = "xyes"; then
12520         CFLAGS="$CFLAGS -Wall -Werror"
12521 fi
12522
12523
12524 GETTEXT_PACKAGE=rygel-gst-0-10-media-engine
12525
12526
12527 cat >>confdefs.h <<_ACEOF
12528 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12529 _ACEOF
12530
12531
12532
12533    for ac_header in locale.h
12534 do :
12535   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12536 if test "x$ac_cv_header_locale_h" = xyes; then :
12537   cat >>confdefs.h <<_ACEOF
12538 #define HAVE_LOCALE_H 1
12539 _ACEOF
12540
12541 fi
12542
12543 done
12544
12545     if test $ac_cv_header_locale_h = yes; then
12546     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12547 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12548 if ${am_cv_val_LC_MESSAGES+:} false; then :
12549   $as_echo_n "(cached) " >&6
12550 else
12551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12552 /* end confdefs.h.  */
12553 #include <locale.h>
12554 int
12555 main ()
12556 {
12557 return LC_MESSAGES
12558   ;
12559   return 0;
12560 }
12561 _ACEOF
12562 if ac_fn_c_try_link "$LINENO"; then :
12563   am_cv_val_LC_MESSAGES=yes
12564 else
12565   am_cv_val_LC_MESSAGES=no
12566 fi
12567 rm -f core conftest.err conftest.$ac_objext \
12568     conftest$ac_exeext conftest.$ac_ext
12569 fi
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12571 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12572     if test $am_cv_val_LC_MESSAGES = yes; then
12573
12574 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12575
12576     fi
12577   fi
12578      USE_NLS=yes
12579
12580
12581     gt_cv_have_gettext=no
12582
12583     CATOBJEXT=NONE
12584     XGETTEXT=:
12585     INTLLIBS=
12586
12587     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12588 if test "x$ac_cv_header_libintl_h" = xyes; then :
12589   gt_cv_func_dgettext_libintl="no"
12590       libintl_extra_libs=""
12591
12592       #
12593       # First check in libc
12594       #
12595       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12596 $as_echo_n "checking for ngettext in libc... " >&6; }
12597 if ${gt_cv_func_ngettext_libc+:} false; then :
12598   $as_echo_n "(cached) " >&6
12599 else
12600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h.  */
12602
12603 #include <libintl.h>
12604
12605 int
12606 main ()
12607 {
12608 return !ngettext ("","", 1)
12609   ;
12610   return 0;
12611 }
12612 _ACEOF
12613 if ac_fn_c_try_link "$LINENO"; then :
12614   gt_cv_func_ngettext_libc=yes
12615 else
12616   gt_cv_func_ngettext_libc=no
12617 fi
12618 rm -f core conftest.err conftest.$ac_objext \
12619     conftest$ac_exeext conftest.$ac_ext
12620
12621 fi
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12623 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12624
12625       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12626               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12627 $as_echo_n "checking for dgettext in libc... " >&6; }
12628 if ${gt_cv_func_dgettext_libc+:} false; then :
12629   $as_echo_n "(cached) " >&6
12630 else
12631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h.  */
12633
12634 #include <libintl.h>
12635
12636 int
12637 main ()
12638 {
12639 return !dgettext ("","")
12640   ;
12641   return 0;
12642 }
12643 _ACEOF
12644 if ac_fn_c_try_link "$LINENO"; then :
12645   gt_cv_func_dgettext_libc=yes
12646 else
12647   gt_cv_func_dgettext_libc=no
12648 fi
12649 rm -f core conftest.err conftest.$ac_objext \
12650     conftest$ac_exeext conftest.$ac_ext
12651
12652 fi
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12654 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12655       fi
12656
12657       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12658         for ac_func in bind_textdomain_codeset
12659 do :
12660   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12661 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12662   cat >>confdefs.h <<_ACEOF
12663 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12664 _ACEOF
12665
12666 fi
12667 done
12668
12669       fi
12670
12671       #
12672       # If we don't have everything we want, check in libintl
12673       #
12674       if test "$gt_cv_func_dgettext_libc" != "yes" \
12675          || test "$gt_cv_func_ngettext_libc" != "yes" \
12676          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12677
12678         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12679 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12680 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12681   $as_echo_n "(cached) " >&6
12682 else
12683   ac_check_lib_save_LIBS=$LIBS
12684 LIBS="-lintl  $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h.  */
12687
12688 /* Override any GCC internal prototype to avoid an error.
12689    Use char because int might match the return type of a GCC
12690    builtin and then its argument prototype would still apply.  */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char bindtextdomain ();
12695 int
12696 main ()
12697 {
12698 return bindtextdomain ();
12699   ;
12700   return 0;
12701 }
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704   ac_cv_lib_intl_bindtextdomain=yes
12705 else
12706   ac_cv_lib_intl_bindtextdomain=no
12707 fi
12708 rm -f core conftest.err conftest.$ac_objext \
12709     conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_lib_save_LIBS
12711 fi
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12713 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12714 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12716 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12717 if ${ac_cv_lib_intl_ngettext+:} false; then :
12718   $as_echo_n "(cached) " >&6
12719 else
12720   ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-lintl  $LIBS"
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h.  */
12724
12725 /* Override any GCC internal prototype to avoid an error.
12726    Use char because int might match the return type of a GCC
12727    builtin and then its argument prototype would still apply.  */
12728 #ifdef __cplusplus
12729 extern "C"
12730 #endif
12731 char ngettext ();
12732 int
12733 main ()
12734 {
12735 return ngettext ();
12736   ;
12737   return 0;
12738 }
12739 _ACEOF
12740 if ac_fn_c_try_link "$LINENO"; then :
12741   ac_cv_lib_intl_ngettext=yes
12742 else
12743   ac_cv_lib_intl_ngettext=no
12744 fi
12745 rm -f core conftest.err conftest.$ac_objext \
12746     conftest$ac_exeext conftest.$ac_ext
12747 LIBS=$ac_check_lib_save_LIBS
12748 fi
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12750 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12751 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12753 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12754 if ${ac_cv_lib_intl_dgettext+:} false; then :
12755   $as_echo_n "(cached) " >&6
12756 else
12757   ac_check_lib_save_LIBS=$LIBS
12758 LIBS="-lintl  $LIBS"
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h.  */
12761
12762 /* Override any GCC internal prototype to avoid an error.
12763    Use char because int might match the return type of a GCC
12764    builtin and then its argument prototype would still apply.  */
12765 #ifdef __cplusplus
12766 extern "C"
12767 #endif
12768 char dgettext ();
12769 int
12770 main ()
12771 {
12772 return dgettext ();
12773   ;
12774   return 0;
12775 }
12776 _ACEOF
12777 if ac_fn_c_try_link "$LINENO"; then :
12778   ac_cv_lib_intl_dgettext=yes
12779 else
12780   ac_cv_lib_intl_dgettext=no
12781 fi
12782 rm -f core conftest.err conftest.$ac_objext \
12783     conftest$ac_exeext conftest.$ac_ext
12784 LIBS=$ac_check_lib_save_LIBS
12785 fi
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12787 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12788 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12789   gt_cv_func_dgettext_libintl=yes
12790 fi
12791
12792 fi
12793
12794 fi
12795
12796
12797         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12798           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12799 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12800           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12801 $as_echo "" >&6; }
12802           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12803 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12804 if ${ac_cv_lib_intl_ngettext+:} false; then :
12805   $as_echo_n "(cached) " >&6
12806 else
12807   ac_check_lib_save_LIBS=$LIBS
12808 LIBS="-lintl -liconv $LIBS"
12809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12810 /* end confdefs.h.  */
12811
12812 /* Override any GCC internal prototype to avoid an error.
12813    Use char because int might match the return type of a GCC
12814    builtin and then its argument prototype would still apply.  */
12815 #ifdef __cplusplus
12816 extern "C"
12817 #endif
12818 char ngettext ();
12819 int
12820 main ()
12821 {
12822 return ngettext ();
12823   ;
12824   return 0;
12825 }
12826 _ACEOF
12827 if ac_fn_c_try_link "$LINENO"; then :
12828   ac_cv_lib_intl_ngettext=yes
12829 else
12830   ac_cv_lib_intl_ngettext=no
12831 fi
12832 rm -f core conftest.err conftest.$ac_objext \
12833     conftest$ac_exeext conftest.$ac_ext
12834 LIBS=$ac_check_lib_save_LIBS
12835 fi
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12837 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12838 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12840 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12841 if ${ac_cv_lib_intl_dcgettext+:} false; then :
12842   $as_echo_n "(cached) " >&6
12843 else
12844   ac_check_lib_save_LIBS=$LIBS
12845 LIBS="-lintl -liconv $LIBS"
12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h.  */
12848
12849 /* Override any GCC internal prototype to avoid an error.
12850    Use char because int might match the return type of a GCC
12851    builtin and then its argument prototype would still apply.  */
12852 #ifdef __cplusplus
12853 extern "C"
12854 #endif
12855 char dcgettext ();
12856 int
12857 main ()
12858 {
12859 return dcgettext ();
12860   ;
12861   return 0;
12862 }
12863 _ACEOF
12864 if ac_fn_c_try_link "$LINENO"; then :
12865   ac_cv_lib_intl_dcgettext=yes
12866 else
12867   ac_cv_lib_intl_dcgettext=no
12868 fi
12869 rm -f core conftest.err conftest.$ac_objext \
12870     conftest$ac_exeext conftest.$ac_ext
12871 LIBS=$ac_check_lib_save_LIBS
12872 fi
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12874 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12875 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12876   gt_cv_func_dgettext_libintl=yes
12877                         libintl_extra_libs=-liconv
12878 else
12879   :
12880 fi
12881
12882 else
12883   :
12884 fi
12885
12886         fi
12887
12888         #
12889         # If we found libintl, then check in it for bind_textdomain_codeset();
12890         # we'll prefer libc if neither have bind_textdomain_codeset(),
12891         # and both have dgettext and ngettext
12892         #
12893         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12894           glib_save_LIBS="$LIBS"
12895           LIBS="$LIBS -lintl $libintl_extra_libs"
12896           unset ac_cv_func_bind_textdomain_codeset
12897           for ac_func in bind_textdomain_codeset
12898 do :
12899   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12900 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12901   cat >>confdefs.h <<_ACEOF
12902 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12903 _ACEOF
12904
12905 fi
12906 done
12907
12908           LIBS="$glib_save_LIBS"
12909
12910           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12911             gt_cv_func_dgettext_libc=no
12912           else
12913             if test "$gt_cv_func_dgettext_libc" = "yes" \
12914                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12915               gt_cv_func_dgettext_libintl=no
12916             fi
12917           fi
12918         fi
12919       fi
12920
12921       if test "$gt_cv_func_dgettext_libc" = "yes" \
12922         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12923         gt_cv_have_gettext=yes
12924       fi
12925
12926       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12927         INTLLIBS="-lintl $libintl_extra_libs"
12928       fi
12929
12930       if test "$gt_cv_have_gettext" = "yes"; then
12931
12932 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12933
12934         # Extract the first word of "msgfmt", so it can be a program name with args.
12935 set dummy msgfmt; ac_word=$2
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12937 $as_echo_n "checking for $ac_word... " >&6; }
12938 if ${ac_cv_path_MSGFMT+:} false; then :
12939   $as_echo_n "(cached) " >&6
12940 else
12941   case "$MSGFMT" in
12942   /*)
12943   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12944   ;;
12945   *)
12946   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12947   for ac_dir in $PATH; do
12948     test -z "$ac_dir" && ac_dir=.
12949     if test -f $ac_dir/$ac_word; then
12950       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12951         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12952         break
12953       fi
12954     fi
12955   done
12956   IFS="$ac_save_ifs"
12957   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12958   ;;
12959 esac
12960 fi
12961 MSGFMT="$ac_cv_path_MSGFMT"
12962 if test "$MSGFMT" != "no"; then
12963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12964 $as_echo "$MSGFMT" >&6; }
12965 else
12966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12967 $as_echo "no" >&6; }
12968 fi
12969         if test "$MSGFMT" != "no"; then
12970           glib_save_LIBS="$LIBS"
12971           LIBS="$LIBS $INTLLIBS"
12972           for ac_func in dcgettext
12973 do :
12974   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12975 if test "x$ac_cv_func_dcgettext" = xyes; then :
12976   cat >>confdefs.h <<_ACEOF
12977 #define HAVE_DCGETTEXT 1
12978 _ACEOF
12979
12980 fi
12981 done
12982
12983           MSGFMT_OPTS=
12984           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12985 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12986           cat >conftest.foo <<_ACEOF
12987
12988 msgid ""
12989 msgstr ""
12990 "Content-Type: text/plain; charset=UTF-8\n"
12991 "Project-Id-Version: test 1.0\n"
12992 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12993 "Last-Translator: test <foo@bar.xx>\n"
12994 "Language-Team: C <LL@li.org>\n"
12995 "MIME-Version: 1.0\n"
12996 "Content-Transfer-Encoding: 8bit\n"
12997
12998 _ACEOF
12999 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13000   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13001   ac_status=$?
13002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13003   test $ac_status = 0; }; then
13004   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13005 $as_echo "yes" >&6; }
13006 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13007 $as_echo "no" >&6; }
13008 echo "$as_me: failed input was:" >&5
13009 sed 's/^/| /' conftest.foo >&5
13010 fi
13011
13012           # Extract the first word of "gmsgfmt", so it can be a program name with args.
13013 set dummy gmsgfmt; ac_word=$2
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13015 $as_echo_n "checking for $ac_word... " >&6; }
13016 if ${ac_cv_path_GMSGFMT+:} false; then :
13017   $as_echo_n "(cached) " >&6
13018 else
13019   case $GMSGFMT in
13020   [\\/]* | ?:[\\/]*)
13021   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13022   ;;
13023   *)
13024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13025 for as_dir in $PATH
13026 do
13027   IFS=$as_save_IFS
13028   test -z "$as_dir" && as_dir=.
13029     for ac_exec_ext in '' $ac_executable_extensions; do
13030   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13031     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13033     break 2
13034   fi
13035 done
13036   done
13037 IFS=$as_save_IFS
13038
13039   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13040   ;;
13041 esac
13042 fi
13043 GMSGFMT=$ac_cv_path_GMSGFMT
13044 if test -n "$GMSGFMT"; then
13045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13046 $as_echo "$GMSGFMT" >&6; }
13047 else
13048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13049 $as_echo "no" >&6; }
13050 fi
13051
13052
13053           # Extract the first word of "xgettext", so it can be a program name with args.
13054 set dummy xgettext; ac_word=$2
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13056 $as_echo_n "checking for $ac_word... " >&6; }
13057 if ${ac_cv_path_XGETTEXT+:} false; then :
13058   $as_echo_n "(cached) " >&6
13059 else
13060   case "$XGETTEXT" in
13061   /*)
13062   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13063   ;;
13064   *)
13065   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13066   for ac_dir in $PATH; do
13067     test -z "$ac_dir" && ac_dir=.
13068     if test -f $ac_dir/$ac_word; then
13069       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13070         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13071         break
13072       fi
13073     fi
13074   done
13075   IFS="$ac_save_ifs"
13076   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13077   ;;
13078 esac
13079 fi
13080 XGETTEXT="$ac_cv_path_XGETTEXT"
13081 if test "$XGETTEXT" != ":"; then
13082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13083 $as_echo "$XGETTEXT" >&6; }
13084 else
13085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13086 $as_echo "no" >&6; }
13087 fi
13088
13089           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h.  */
13091
13092 int
13093 main ()
13094 {
13095 extern int _nl_msg_cat_cntr;
13096                          return _nl_msg_cat_cntr
13097   ;
13098   return 0;
13099 }
13100 _ACEOF
13101 if ac_fn_c_try_link "$LINENO"; then :
13102   CATOBJEXT=.gmo
13103              DATADIRNAME=share
13104 else
13105   case $host in
13106             *-*-solaris*)
13107                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13108 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13109   CATOBJEXT=.gmo
13110                DATADIRNAME=share
13111 else
13112   CATOBJEXT=.mo
13113                DATADIRNAME=lib
13114 fi
13115
13116             ;;
13117             *-*-openbsd*)
13118             CATOBJEXT=.mo
13119             DATADIRNAME=share
13120             ;;
13121             *)
13122             CATOBJEXT=.mo
13123             DATADIRNAME=lib
13124             ;;
13125             esac
13126 fi
13127 rm -f core conftest.err conftest.$ac_objext \
13128     conftest$ac_exeext conftest.$ac_ext
13129           LIBS="$glib_save_LIBS"
13130           INSTOBJEXT=.mo
13131         else
13132           gt_cv_have_gettext=no
13133         fi
13134       fi
13135
13136 fi
13137
13138
13139
13140     if test "$gt_cv_have_gettext" = "yes" ; then
13141
13142 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13143
13144     fi
13145
13146         if test "$XGETTEXT" != ":"; then
13147                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13148         : ;
13149       else
13150         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13151 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13152         XGETTEXT=":"
13153       fi
13154     fi
13155
13156     # We need to process the po/ directory.
13157     POSUB=po
13158
13159     ac_config_commands="$ac_config_commands default-1"
13160
13161
13162                 for lang in $ALL_LINGUAS; do
13163       GMOFILES="$GMOFILES $lang.gmo"
13164       POFILES="$POFILES $lang.po"
13165     done
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179    if test "$gt_cv_have_gettext" = "yes"; then
13180      if test "x$ALL_LINGUAS" = "x"; then
13181        LINGUAS=
13182      else
13183        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13184 $as_echo_n "checking for catalogs to be installed... " >&6; }
13185        NEW_LINGUAS=
13186        for presentlang in $ALL_LINGUAS; do
13187          useit=no
13188          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13189            desiredlanguages="$LINGUAS"
13190          else
13191            desiredlanguages="$ALL_LINGUAS"
13192          fi
13193          for desiredlang in $desiredlanguages; do
13194            # Use the presentlang catalog if desiredlang is
13195            #   a. equal to presentlang, or
13196            #   b. a variant of presentlang (because in this case,
13197            #      presentlang can be used as a fallback for messages
13198            #      which are not translated in the desiredlang catalog).
13199            case "$desiredlang" in
13200              "$presentlang"*) useit=yes;;
13201            esac
13202          done
13203          if test $useit = yes; then
13204            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13205          fi
13206        done
13207        LINGUAS=$NEW_LINGUAS
13208        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13209 $as_echo "$LINGUAS" >&6; }
13210      fi
13211
13212           if test -n "$LINGUAS"; then
13213        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13214      fi
13215    fi
13216
13217             MKINSTALLDIRS=
13218    if test -n "$ac_aux_dir"; then
13219      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13220    fi
13221    if test -z "$MKINSTALLDIRS"; then
13222      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13223    fi
13224
13225
13226          test -d po || mkdir po
13227    if test "x$srcdir" != "x."; then
13228      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13229        posrcprefix="$srcdir/"
13230      else
13231        posrcprefix="../$srcdir/"
13232      fi
13233    else
13234      posrcprefix="../"
13235    fi
13236    rm -f po/POTFILES
13237    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13238         < $srcdir/po/POTFILES.in > po/POTFILES
13239
13240
13241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13242 $as_echo_n "checking whether NLS is requested... " >&6; }
13243     # Check whether --enable-nls was given.
13244 if test "${enable_nls+set}" = set; then :
13245   enableval=$enable_nls; USE_NLS=$enableval
13246 else
13247   USE_NLS=yes
13248 fi
13249
13250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13251 $as_echo "$USE_NLS" >&6; }
13252
13253
13254
13255
13256 case "$am__api_version" in
13257     1.01234)
13258         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13259     ;;
13260     *)
13261     ;;
13262 esac
13263
13264 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13265 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13266 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13267 if test -n "0.40.0"; then
13268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
13269 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
13270     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13271 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13272     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13273         as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
13274 fi
13275
13276 # Extract the first word of "intltool-update", so it can be a program name with args.
13277 set dummy intltool-update; ac_word=$2
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13279 $as_echo_n "checking for $ac_word... " >&6; }
13280 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13281   $as_echo_n "(cached) " >&6
13282 else
13283   case $INTLTOOL_UPDATE in
13284   [\\/]* | ?:[\\/]*)
13285   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13286   ;;
13287   *)
13288   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13289 for as_dir in $PATH
13290 do
13291   IFS=$as_save_IFS
13292   test -z "$as_dir" && as_dir=.
13293     for ac_exec_ext in '' $ac_executable_extensions; do
13294   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13295     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13297     break 2
13298   fi
13299 done
13300   done
13301 IFS=$as_save_IFS
13302
13303   ;;
13304 esac
13305 fi
13306 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13307 if test -n "$INTLTOOL_UPDATE"; then
13308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13309 $as_echo "$INTLTOOL_UPDATE" >&6; }
13310 else
13311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13312 $as_echo "no" >&6; }
13313 fi
13314
13315
13316 # Extract the first word of "intltool-merge", so it can be a program name with args.
13317 set dummy intltool-merge; ac_word=$2
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13319 $as_echo_n "checking for $ac_word... " >&6; }
13320 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13321   $as_echo_n "(cached) " >&6
13322 else
13323   case $INTLTOOL_MERGE in
13324   [\\/]* | ?:[\\/]*)
13325   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13326   ;;
13327   *)
13328   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13329 for as_dir in $PATH
13330 do
13331   IFS=$as_save_IFS
13332   test -z "$as_dir" && as_dir=.
13333     for ac_exec_ext in '' $ac_executable_extensions; do
13334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13335     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13337     break 2
13338   fi
13339 done
13340   done
13341 IFS=$as_save_IFS
13342
13343   ;;
13344 esac
13345 fi
13346 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13347 if test -n "$INTLTOOL_MERGE"; then
13348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13349 $as_echo "$INTLTOOL_MERGE" >&6; }
13350 else
13351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13352 $as_echo "no" >&6; }
13353 fi
13354
13355
13356 # Extract the first word of "intltool-extract", so it can be a program name with args.
13357 set dummy intltool-extract; ac_word=$2
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13359 $as_echo_n "checking for $ac_word... " >&6; }
13360 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13361   $as_echo_n "(cached) " >&6
13362 else
13363   case $INTLTOOL_EXTRACT in
13364   [\\/]* | ?:[\\/]*)
13365   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13366   ;;
13367   *)
13368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13369 for as_dir in $PATH
13370 do
13371   IFS=$as_save_IFS
13372   test -z "$as_dir" && as_dir=.
13373     for ac_exec_ext in '' $ac_executable_extensions; do
13374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13375     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13377     break 2
13378   fi
13379 done
13380   done
13381 IFS=$as_save_IFS
13382
13383   ;;
13384 esac
13385 fi
13386 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13387 if test -n "$INTLTOOL_EXTRACT"; then
13388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13389 $as_echo "$INTLTOOL_EXTRACT" >&6; }
13390 else
13391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13392 $as_echo "no" >&6; }
13393 fi
13394
13395
13396 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13397     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13398 fi
13399
13400 if test -z "$AM_DEFAULT_VERBOSITY"; then
13401   AM_DEFAULT_VERBOSITY=1
13402 fi
13403
13404
13405 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13406 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13407 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
13408
13409
13410
13411
13412 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13413 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13414 intltool__v_merge_options_0='-q'
13415
13416
13417
13418
13419   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13420 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13421      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13422      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13423       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
13424      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13425    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13426     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13427 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13428        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13429       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13430 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13431       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
13432 else
13433       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
13434 fi
13435       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13436       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13437     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13438   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13439     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13440     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13441    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539 # Check the gettext tools to make sure they are GNU
13540 # Extract the first word of "xgettext", so it can be a program name with args.
13541 set dummy xgettext; ac_word=$2
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13543 $as_echo_n "checking for $ac_word... " >&6; }
13544 if ${ac_cv_path_XGETTEXT+:} false; then :
13545   $as_echo_n "(cached) " >&6
13546 else
13547   case $XGETTEXT in
13548   [\\/]* | ?:[\\/]*)
13549   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13550   ;;
13551   *)
13552   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13553 for as_dir in $PATH
13554 do
13555   IFS=$as_save_IFS
13556   test -z "$as_dir" && as_dir=.
13557     for ac_exec_ext in '' $ac_executable_extensions; do
13558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13559     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13561     break 2
13562   fi
13563 done
13564   done
13565 IFS=$as_save_IFS
13566
13567   ;;
13568 esac
13569 fi
13570 XGETTEXT=$ac_cv_path_XGETTEXT
13571 if test -n "$XGETTEXT"; then
13572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13573 $as_echo "$XGETTEXT" >&6; }
13574 else
13575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13576 $as_echo "no" >&6; }
13577 fi
13578
13579
13580 # Extract the first word of "msgmerge", so it can be a program name with args.
13581 set dummy msgmerge; ac_word=$2
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13583 $as_echo_n "checking for $ac_word... " >&6; }
13584 if ${ac_cv_path_MSGMERGE+:} false; then :
13585   $as_echo_n "(cached) " >&6
13586 else
13587   case $MSGMERGE in
13588   [\\/]* | ?:[\\/]*)
13589   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13590   ;;
13591   *)
13592   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13593 for as_dir in $PATH
13594 do
13595   IFS=$as_save_IFS
13596   test -z "$as_dir" && as_dir=.
13597     for ac_exec_ext in '' $ac_executable_extensions; do
13598   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13599     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13601     break 2
13602   fi
13603 done
13604   done
13605 IFS=$as_save_IFS
13606
13607   ;;
13608 esac
13609 fi
13610 MSGMERGE=$ac_cv_path_MSGMERGE
13611 if test -n "$MSGMERGE"; then
13612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13613 $as_echo "$MSGMERGE" >&6; }
13614 else
13615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13616 $as_echo "no" >&6; }
13617 fi
13618
13619
13620 # Extract the first word of "msgfmt", so it can be a program name with args.
13621 set dummy msgfmt; ac_word=$2
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13623 $as_echo_n "checking for $ac_word... " >&6; }
13624 if ${ac_cv_path_MSGFMT+:} false; then :
13625   $as_echo_n "(cached) " >&6
13626 else
13627   case $MSGFMT in
13628   [\\/]* | ?:[\\/]*)
13629   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13630   ;;
13631   *)
13632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13633 for as_dir in $PATH
13634 do
13635   IFS=$as_save_IFS
13636   test -z "$as_dir" && as_dir=.
13637     for ac_exec_ext in '' $ac_executable_extensions; do
13638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13639     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13641     break 2
13642   fi
13643 done
13644   done
13645 IFS=$as_save_IFS
13646
13647   ;;
13648 esac
13649 fi
13650 MSGFMT=$ac_cv_path_MSGFMT
13651 if test -n "$MSGFMT"; then
13652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13653 $as_echo "$MSGFMT" >&6; }
13654 else
13655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13656 $as_echo "no" >&6; }
13657 fi
13658
13659
13660 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13661 set dummy gmsgfmt; ac_word=$2
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13663 $as_echo_n "checking for $ac_word... " >&6; }
13664 if ${ac_cv_path_GMSGFMT+:} false; then :
13665   $as_echo_n "(cached) " >&6
13666 else
13667   case $GMSGFMT in
13668   [\\/]* | ?:[\\/]*)
13669   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13670   ;;
13671   *)
13672   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13673 for as_dir in $PATH
13674 do
13675   IFS=$as_save_IFS
13676   test -z "$as_dir" && as_dir=.
13677     for ac_exec_ext in '' $ac_executable_extensions; do
13678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13679     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13681     break 2
13682   fi
13683 done
13684   done
13685 IFS=$as_save_IFS
13686
13687   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13688   ;;
13689 esac
13690 fi
13691 GMSGFMT=$ac_cv_path_GMSGFMT
13692 if test -n "$GMSGFMT"; then
13693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13694 $as_echo "$GMSGFMT" >&6; }
13695 else
13696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697 $as_echo "no" >&6; }
13698 fi
13699
13700
13701 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13702     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13703 fi
13704 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13705 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13706 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13707 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13708     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13709 fi
13710
13711 # Extract the first word of "perl", so it can be a program name with args.
13712 set dummy perl; ac_word=$2
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13714 $as_echo_n "checking for $ac_word... " >&6; }
13715 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13716   $as_echo_n "(cached) " >&6
13717 else
13718   case $INTLTOOL_PERL in
13719   [\\/]* | ?:[\\/]*)
13720   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13721   ;;
13722   *)
13723   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13724 for as_dir in $PATH
13725 do
13726   IFS=$as_save_IFS
13727   test -z "$as_dir" && as_dir=.
13728     for ac_exec_ext in '' $ac_executable_extensions; do
13729   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13730     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13732     break 2
13733   fi
13734 done
13735   done
13736 IFS=$as_save_IFS
13737
13738   ;;
13739 esac
13740 fi
13741 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13742 if test -n "$INTLTOOL_PERL"; then
13743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13744 $as_echo "$INTLTOOL_PERL" >&6; }
13745 else
13746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13747 $as_echo "no" >&6; }
13748 fi
13749
13750
13751 if test -z "$INTLTOOL_PERL"; then
13752    as_fn_error $? "perl not found" "$LINENO" 5
13753 fi
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13755 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
13756 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13757 if test $? -ne 0; then
13758    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13759 else
13760    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13761    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13762 $as_echo "$IT_PERL_VERSION" >&6; }
13763 fi
13764 if test "x" != "xno-xml"; then
13765    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13766 $as_echo_n "checking for XML::Parser... " >&6; }
13767    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13768        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13769 $as_echo "ok" >&6; }
13770    else
13771        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13772    fi
13773 fi
13774
13775 # Substitute ALL_LINGUAS so we can use it in po/Makefile
13776
13777
13778 # Set DATADIRNAME correctly if it is not set yet
13779 # (copied from glib-gettext.m4)
13780 if test -z "$DATADIRNAME"; then
13781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h.  */
13783
13784 int
13785 main ()
13786 {
13787 extern int _nl_msg_cat_cntr;
13788                        return _nl_msg_cat_cntr
13789   ;
13790   return 0;
13791 }
13792 _ACEOF
13793 if ac_fn_c_try_link "$LINENO"; then :
13794   DATADIRNAME=share
13795 else
13796   case $host in
13797     *-*-solaris*)
13798                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13799 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13800   DATADIRNAME=share
13801 else
13802   DATADIRNAME=lib
13803 fi
13804
13805     ;;
13806     *)
13807     DATADIRNAME=lib
13808     ;;
13809     esac
13810 fi
13811 rm -f core conftest.err conftest.$ac_objext \
13812     conftest$ac_exeext conftest.$ac_ext
13813 fi
13814
13815
13816
13817
13818
13819
13820 # Check whether --enable-silent-rules was given.
13821 if test "${enable_silent_rules+set}" = set; then :
13822   enableval=$enable_silent_rules;
13823 fi
13824
13825 case $enable_silent_rules in
13826 yes) AM_DEFAULT_VERBOSITY=0;;
13827 no)  AM_DEFAULT_VERBOSITY=1;;
13828 *)   AM_DEFAULT_VERBOSITY=0;;
13829 esac
13830 am_make=${MAKE-make}
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13832 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13833 if ${am_cv_make_support_nested_variables+:} false; then :
13834   $as_echo_n "(cached) " >&6
13835 else
13836   if $as_echo 'TRUE=$(BAR$(V))
13837 BAR0=false
13838 BAR1=true
13839 V=1
13840 am__doit:
13841         @$(TRUE)
13842 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
13843   am_cv_make_support_nested_variables=yes
13844 else
13845   am_cv_make_support_nested_variables=no
13846 fi
13847 fi
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13849 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13850 if test $am_cv_make_support_nested_variables = yes; then
13851     AM_V='$(V)'
13852   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
13853 else
13854   AM_V=$AM_DEFAULT_VERBOSITY
13855   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
13856 fi
13857 AM_BACKSLASH='\'
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13868         if test -n "$ac_tool_prefix"; then
13869   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13870 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13872 $as_echo_n "checking for $ac_word... " >&6; }
13873 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13874   $as_echo_n "(cached) " >&6
13875 else
13876   case $PKG_CONFIG in
13877   [\\/]* | ?:[\\/]*)
13878   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13879   ;;
13880   *)
13881   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13882 for as_dir in $PATH
13883 do
13884   IFS=$as_save_IFS
13885   test -z "$as_dir" && as_dir=.
13886     for ac_exec_ext in '' $ac_executable_extensions; do
13887   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13888     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13889     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13890     break 2
13891   fi
13892 done
13893   done
13894 IFS=$as_save_IFS
13895
13896   ;;
13897 esac
13898 fi
13899 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13900 if test -n "$PKG_CONFIG"; then
13901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13902 $as_echo "$PKG_CONFIG" >&6; }
13903 else
13904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13905 $as_echo "no" >&6; }
13906 fi
13907
13908
13909 fi
13910 if test -z "$ac_cv_path_PKG_CONFIG"; then
13911   ac_pt_PKG_CONFIG=$PKG_CONFIG
13912   # Extract the first word of "pkg-config", so it can be a program name with args.
13913 set dummy pkg-config; ac_word=$2
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13915 $as_echo_n "checking for $ac_word... " >&6; }
13916 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13917   $as_echo_n "(cached) " >&6
13918 else
13919   case $ac_pt_PKG_CONFIG in
13920   [\\/]* | ?:[\\/]*)
13921   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13922   ;;
13923   *)
13924   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13925 for as_dir in $PATH
13926 do
13927   IFS=$as_save_IFS
13928   test -z "$as_dir" && as_dir=.
13929     for ac_exec_ext in '' $ac_executable_extensions; do
13930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13931     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13933     break 2
13934   fi
13935 done
13936   done
13937 IFS=$as_save_IFS
13938
13939   ;;
13940 esac
13941 fi
13942 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13943 if test -n "$ac_pt_PKG_CONFIG"; then
13944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13945 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13946 else
13947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13948 $as_echo "no" >&6; }
13949 fi
13950
13951   if test "x$ac_pt_PKG_CONFIG" = x; then
13952     PKG_CONFIG=""
13953   else
13954     case $cross_compiling:$ac_tool_warned in
13955 yes:)
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13958 ac_tool_warned=yes ;;
13959 esac
13960     PKG_CONFIG=$ac_pt_PKG_CONFIG
13961   fi
13962 else
13963   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13964 fi
13965
13966 fi
13967 if test -n "$PKG_CONFIG"; then
13968         _pkg_min_version=0.9.0
13969         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13970 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13971         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13972                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13973 $as_echo "yes" >&6; }
13974         else
13975                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13976 $as_echo "no" >&6; }
13977                 PKG_CONFIG=""
13978         fi
13979 fi
13980
13981 RYGEL_PLUGIN_LINKER_FLAGS="`$PKG_CONFIG --variable=plugin_ldflags rygel-core-2.0`"
13982
13983
13984 if test "x$RYGEL_PLUGIN_LINKER_FLAGS" = 'x'
13985 then
13986         as_fn_error $? "Could not get Rygel plugin linker flags" "$LINENO" 5
13987 fi
13988
13989 RYGEL_ENGINE_DIR="`$PKG_CONFIG --variable=enginedir rygel-server-2.0`"
13990
13991
13992 if test "x$RYGEL_ENGINE_DIR" = 'x'
13993 then
13994         as_fn_error $? "Could not get Rygel media engine installation directory" "$LINENO" 5
13995 fi
13996
13997 ac_config_files="$ac_config_files Makefile data/Makefile src/Makefile tests/Makefile po/Makefile.in"
13998
13999 cat >confcache <<\_ACEOF
14000 # This file is a shell script that caches the results of configure
14001 # tests run on this system so they can be shared between configure
14002 # scripts and configure runs, see configure's option --config-cache.
14003 # It is not useful on other systems.  If it contains results you don't
14004 # want to keep, you may remove or edit it.
14005 #
14006 # config.status only pays attention to the cache file if you give it
14007 # the --recheck option to rerun configure.
14008 #
14009 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14011 # following values.
14012
14013 _ACEOF
14014
14015 # The following way of writing the cache mishandles newlines in values,
14016 # but we know of no workaround that is simple, portable, and efficient.
14017 # So, we kill variables containing newlines.
14018 # Ultrix sh set writes to stderr and can't be redirected directly,
14019 # and sets the high bit in the cache file unless we assign to the vars.
14020 (
14021   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14022     eval ac_val=\$$ac_var
14023     case $ac_val in #(
14024     *${as_nl}*)
14025       case $ac_var in #(
14026       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14027 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14028       esac
14029       case $ac_var in #(
14030       _ | IFS | as_nl) ;; #(
14031       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14032       *) { eval $ac_var=; unset $ac_var;} ;;
14033       esac ;;
14034     esac
14035   done
14036
14037   (set) 2>&1 |
14038     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14039     *${as_nl}ac_space=\ *)
14040       # `set' does not quote correctly, so add quotes: double-quote
14041       # substitution turns \\\\ into \\, and sed turns \\ into \.
14042       sed -n \
14043         "s/'/'\\\\''/g;
14044           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14045       ;; #(
14046     *)
14047       # `set' quotes correctly as required by POSIX, so do not add quotes.
14048       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14049       ;;
14050     esac |
14051     sort
14052 ) |
14053   sed '
14054      /^ac_cv_env_/b end
14055      t clear
14056      :clear
14057      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14058      t end
14059      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14060      :end' >>confcache
14061 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14062   if test -w "$cache_file"; then
14063     if test "x$cache_file" != "x/dev/null"; then
14064       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14065 $as_echo "$as_me: updating cache $cache_file" >&6;}
14066       if test ! -f "$cache_file" || test -h "$cache_file"; then
14067         cat confcache >"$cache_file"
14068       else
14069         case $cache_file in #(
14070         */* | ?:*)
14071           mv -f confcache "$cache_file"$$ &&
14072           mv -f "$cache_file"$$ "$cache_file" ;; #(
14073         *)
14074           mv -f confcache "$cache_file" ;;
14075         esac
14076       fi
14077     fi
14078   else
14079     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14080 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14081   fi
14082 fi
14083 rm -f confcache
14084
14085 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14086 # Let make expand exec_prefix.
14087 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14088
14089 DEFS=-DHAVE_CONFIG_H
14090
14091 ac_libobjs=
14092 ac_ltlibobjs=
14093 U=
14094 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14095   # 1. Remove the extension, and $U if already installed.
14096   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14097   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14098   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14099   #    will be set to the directory where LIBOBJS objects are built.
14100   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14101   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14102 done
14103 LIBOBJS=$ac_libobjs
14104
14105 LTLIBOBJS=$ac_ltlibobjs
14106
14107
14108 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14109   as_fn_error $? "conditional \"AMDEP\" was never defined.
14110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14111 fi
14112 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14113   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14115 fi
14116  if test -n "$EXEEXT"; then
14117   am__EXEEXT_TRUE=
14118   am__EXEEXT_FALSE='#'
14119 else
14120   am__EXEEXT_TRUE='#'
14121   am__EXEEXT_FALSE=
14122 fi
14123
14124 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14125   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14127 fi
14128
14129   ac_config_commands="$ac_config_commands po/stamp-it"
14130
14131
14132
14133 : "${CONFIG_STATUS=./config.status}"
14134 ac_write_fail=0
14135 ac_clean_files_save=$ac_clean_files
14136 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14138 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14139 as_write_fail=0
14140 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14141 #! $SHELL
14142 # Generated by $as_me.
14143 # Run this file to recreate the current configuration.
14144 # Compiler output produced by configure, useful for debugging
14145 # configure, is in config.log if it exists.
14146
14147 debug=false
14148 ac_cs_recheck=false
14149 ac_cs_silent=false
14150
14151 SHELL=\${CONFIG_SHELL-$SHELL}
14152 export SHELL
14153 _ASEOF
14154 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14155 ## -------------------- ##
14156 ## M4sh Initialization. ##
14157 ## -------------------- ##
14158
14159 # Be more Bourne compatible
14160 DUALCASE=1; export DUALCASE # for MKS sh
14161 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14162   emulate sh
14163   NULLCMD=:
14164   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14165   # is contrary to our usage.  Disable this feature.
14166   alias -g '${1+"$@"}'='"$@"'
14167   setopt NO_GLOB_SUBST
14168 else
14169   case `(set -o) 2>/dev/null` in #(
14170   *posix*) :
14171     set -o posix ;; #(
14172   *) :
14173      ;;
14174 esac
14175 fi
14176
14177
14178 as_nl='
14179 '
14180 export as_nl
14181 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14182 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14183 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14184 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14185 # Prefer a ksh shell builtin over an external printf program on Solaris,
14186 # but without wasting forks for bash or zsh.
14187 if test -z "$BASH_VERSION$ZSH_VERSION" \
14188     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14189   as_echo='print -r --'
14190   as_echo_n='print -rn --'
14191 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14192   as_echo='printf %s\n'
14193   as_echo_n='printf %s'
14194 else
14195   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14196     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14197     as_echo_n='/usr/ucb/echo -n'
14198   else
14199     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14200     as_echo_n_body='eval
14201       arg=$1;
14202       case $arg in #(
14203       *"$as_nl"*)
14204         expr "X$arg" : "X\\(.*\\)$as_nl";
14205         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14206       esac;
14207       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14208     '
14209     export as_echo_n_body
14210     as_echo_n='sh -c $as_echo_n_body as_echo'
14211   fi
14212   export as_echo_body
14213   as_echo='sh -c $as_echo_body as_echo'
14214 fi
14215
14216 # The user is always right.
14217 if test "${PATH_SEPARATOR+set}" != set; then
14218   PATH_SEPARATOR=:
14219   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14220     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14221       PATH_SEPARATOR=';'
14222   }
14223 fi
14224
14225
14226 # IFS
14227 # We need space, tab and new line, in precisely that order.  Quoting is
14228 # there to prevent editors from complaining about space-tab.
14229 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14230 # splitting by setting IFS to empty value.)
14231 IFS=" ""        $as_nl"
14232
14233 # Find who we are.  Look in the path if we contain no directory separator.
14234 as_myself=
14235 case $0 in #((
14236   *[\\/]* ) as_myself=$0 ;;
14237   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14238 for as_dir in $PATH
14239 do
14240   IFS=$as_save_IFS
14241   test -z "$as_dir" && as_dir=.
14242     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14243   done
14244 IFS=$as_save_IFS
14245
14246      ;;
14247 esac
14248 # We did not find ourselves, most probably we were run as `sh COMMAND'
14249 # in which case we are not to be found in the path.
14250 if test "x$as_myself" = x; then
14251   as_myself=$0
14252 fi
14253 if test ! -f "$as_myself"; then
14254   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14255   exit 1
14256 fi
14257
14258 # Unset variables that we do not need and which cause bugs (e.g. in
14259 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14260 # suppresses any "Segmentation fault" message there.  '((' could
14261 # trigger a bug in pdksh 5.2.14.
14262 for as_var in BASH_ENV ENV MAIL MAILPATH
14263 do eval test x\${$as_var+set} = xset \
14264   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14265 done
14266 PS1='$ '
14267 PS2='> '
14268 PS4='+ '
14269
14270 # NLS nuisances.
14271 LC_ALL=C
14272 export LC_ALL
14273 LANGUAGE=C
14274 export LANGUAGE
14275
14276 # CDPATH.
14277 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14278
14279
14280 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14281 # ----------------------------------------
14282 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14283 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14284 # script with STATUS, using 1 if that was 0.
14285 as_fn_error ()
14286 {
14287   as_status=$1; test $as_status -eq 0 && as_status=1
14288   if test "$4"; then
14289     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14290     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14291   fi
14292   $as_echo "$as_me: error: $2" >&2
14293   as_fn_exit $as_status
14294 } # as_fn_error
14295
14296
14297 # as_fn_set_status STATUS
14298 # -----------------------
14299 # Set $? to STATUS, without forking.
14300 as_fn_set_status ()
14301 {
14302   return $1
14303 } # as_fn_set_status
14304
14305 # as_fn_exit STATUS
14306 # -----------------
14307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14308 as_fn_exit ()
14309 {
14310   set +e
14311   as_fn_set_status $1
14312   exit $1
14313 } # as_fn_exit
14314
14315 # as_fn_unset VAR
14316 # ---------------
14317 # Portably unset VAR.
14318 as_fn_unset ()
14319 {
14320   { eval $1=; unset $1;}
14321 }
14322 as_unset=as_fn_unset
14323 # as_fn_append VAR VALUE
14324 # ----------------------
14325 # Append the text in VALUE to the end of the definition contained in VAR. Take
14326 # advantage of any shell optimizations that allow amortized linear growth over
14327 # repeated appends, instead of the typical quadratic growth present in naive
14328 # implementations.
14329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14330   eval 'as_fn_append ()
14331   {
14332     eval $1+=\$2
14333   }'
14334 else
14335   as_fn_append ()
14336   {
14337     eval $1=\$$1\$2
14338   }
14339 fi # as_fn_append
14340
14341 # as_fn_arith ARG...
14342 # ------------------
14343 # Perform arithmetic evaluation on the ARGs, and store the result in the
14344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14345 # must be portable across $(()) and expr.
14346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14347   eval 'as_fn_arith ()
14348   {
14349     as_val=$(( $* ))
14350   }'
14351 else
14352   as_fn_arith ()
14353   {
14354     as_val=`expr "$@" || test $? -eq 1`
14355   }
14356 fi # as_fn_arith
14357
14358
14359 if expr a : '\(a\)' >/dev/null 2>&1 &&
14360    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14361   as_expr=expr
14362 else
14363   as_expr=false
14364 fi
14365
14366 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14367   as_basename=basename
14368 else
14369   as_basename=false
14370 fi
14371
14372 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14373   as_dirname=dirname
14374 else
14375   as_dirname=false
14376 fi
14377
14378 as_me=`$as_basename -- "$0" ||
14379 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14380          X"$0" : 'X\(//\)$' \| \
14381          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14382 $as_echo X/"$0" |
14383     sed '/^.*\/\([^/][^/]*\)\/*$/{
14384             s//\1/
14385             q
14386           }
14387           /^X\/\(\/\/\)$/{
14388             s//\1/
14389             q
14390           }
14391           /^X\/\(\/\).*/{
14392             s//\1/
14393             q
14394           }
14395           s/.*/./; q'`
14396
14397 # Avoid depending upon Character Ranges.
14398 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14399 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14400 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14401 as_cr_digits='0123456789'
14402 as_cr_alnum=$as_cr_Letters$as_cr_digits
14403
14404 ECHO_C= ECHO_N= ECHO_T=
14405 case `echo -n x` in #(((((
14406 -n*)
14407   case `echo 'xy\c'` in
14408   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14409   xy)  ECHO_C='\c';;
14410   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14411        ECHO_T=' ';;
14412   esac;;
14413 *)
14414   ECHO_N='-n';;
14415 esac
14416
14417 rm -f conf$$ conf$$.exe conf$$.file
14418 if test -d conf$$.dir; then
14419   rm -f conf$$.dir/conf$$.file
14420 else
14421   rm -f conf$$.dir
14422   mkdir conf$$.dir 2>/dev/null
14423 fi
14424 if (echo >conf$$.file) 2>/dev/null; then
14425   if ln -s conf$$.file conf$$ 2>/dev/null; then
14426     as_ln_s='ln -s'
14427     # ... but there are two gotchas:
14428     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14429     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14430     # In both cases, we have to default to `cp -pR'.
14431     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14432       as_ln_s='cp -pR'
14433   elif ln conf$$.file conf$$ 2>/dev/null; then
14434     as_ln_s=ln
14435   else
14436     as_ln_s='cp -pR'
14437   fi
14438 else
14439   as_ln_s='cp -pR'
14440 fi
14441 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14442 rmdir conf$$.dir 2>/dev/null
14443
14444
14445 # as_fn_mkdir_p
14446 # -------------
14447 # Create "$as_dir" as a directory, including parents if necessary.
14448 as_fn_mkdir_p ()
14449 {
14450
14451   case $as_dir in #(
14452   -*) as_dir=./$as_dir;;
14453   esac
14454   test -d "$as_dir" || eval $as_mkdir_p || {
14455     as_dirs=
14456     while :; do
14457       case $as_dir in #(
14458       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14459       *) as_qdir=$as_dir;;
14460       esac
14461       as_dirs="'$as_qdir' $as_dirs"
14462       as_dir=`$as_dirname -- "$as_dir" ||
14463 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14464          X"$as_dir" : 'X\(//\)[^/]' \| \
14465          X"$as_dir" : 'X\(//\)$' \| \
14466          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14467 $as_echo X"$as_dir" |
14468     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14469             s//\1/
14470             q
14471           }
14472           /^X\(\/\/\)[^/].*/{
14473             s//\1/
14474             q
14475           }
14476           /^X\(\/\/\)$/{
14477             s//\1/
14478             q
14479           }
14480           /^X\(\/\).*/{
14481             s//\1/
14482             q
14483           }
14484           s/.*/./; q'`
14485       test -d "$as_dir" && break
14486     done
14487     test -z "$as_dirs" || eval "mkdir $as_dirs"
14488   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14489
14490
14491 } # as_fn_mkdir_p
14492 if mkdir -p . 2>/dev/null; then
14493   as_mkdir_p='mkdir -p "$as_dir"'
14494 else
14495   test -d ./-p && rmdir ./-p
14496   as_mkdir_p=false
14497 fi
14498
14499
14500 # as_fn_executable_p FILE
14501 # -----------------------
14502 # Test if FILE is an executable regular file.
14503 as_fn_executable_p ()
14504 {
14505   test -f "$1" && test -x "$1"
14506 } # as_fn_executable_p
14507 as_test_x='test -x'
14508 as_executable_p=as_fn_executable_p
14509
14510 # Sed expression to map a string onto a valid CPP name.
14511 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14512
14513 # Sed expression to map a string onto a valid variable name.
14514 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14515
14516
14517 exec 6>&1
14518 ## ----------------------------------- ##
14519 ## Main body of $CONFIG_STATUS script. ##
14520 ## ----------------------------------- ##
14521 _ASEOF
14522 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14523
14524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14525 # Save the log message, to keep $0 and so on meaningful, and to
14526 # report actual input values of CONFIG_FILES etc. instead of their
14527 # values after options handling.
14528 ac_log="
14529 This file was extended by rygel-gst-0-10-media-engine $as_me 1.17.4, which was
14530 generated by GNU Autoconf 2.69.  Invocation command line was
14531
14532   CONFIG_FILES    = $CONFIG_FILES
14533   CONFIG_HEADERS  = $CONFIG_HEADERS
14534   CONFIG_LINKS    = $CONFIG_LINKS
14535   CONFIG_COMMANDS = $CONFIG_COMMANDS
14536   $ $0 $@
14537
14538 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14539 "
14540
14541 _ACEOF
14542
14543 case $ac_config_files in *"
14544 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14545 esac
14546
14547 case $ac_config_headers in *"
14548 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14549 esac
14550
14551
14552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14553 # Files that config.status was made for.
14554 config_files="$ac_config_files"
14555 config_headers="$ac_config_headers"
14556 config_commands="$ac_config_commands"
14557
14558 _ACEOF
14559
14560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14561 ac_cs_usage="\
14562 \`$as_me' instantiates files and other configuration actions
14563 from templates according to the current configuration.  Unless the files
14564 and actions are specified as TAGs, all are instantiated by default.
14565
14566 Usage: $0 [OPTION]... [TAG]...
14567
14568   -h, --help       print this help, then exit
14569   -V, --version    print version number and configuration settings, then exit
14570       --config     print configuration, then exit
14571   -q, --quiet, --silent
14572                    do not print progress messages
14573   -d, --debug      don't remove temporary files
14574       --recheck    update $as_me by reconfiguring in the same conditions
14575       --file=FILE[:TEMPLATE]
14576                    instantiate the configuration file FILE
14577       --header=FILE[:TEMPLATE]
14578                    instantiate the configuration header FILE
14579
14580 Configuration files:
14581 $config_files
14582
14583 Configuration headers:
14584 $config_headers
14585
14586 Configuration commands:
14587 $config_commands
14588
14589 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
14590 rygel-gst-0-10-media-engine home page: <http://live.gnome.org/Rygel>."
14591
14592 _ACEOF
14593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14594 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14595 ac_cs_version="\\
14596 rygel-gst-0-10-media-engine config.status 1.17.4
14597 configured by $0, generated by GNU Autoconf 2.69,
14598   with options \\"\$ac_cs_config\\"
14599
14600 Copyright (C) 2012 Free Software Foundation, Inc.
14601 This config.status script is free software; the Free Software Foundation
14602 gives unlimited permission to copy, distribute and modify it."
14603
14604 ac_pwd='$ac_pwd'
14605 srcdir='$srcdir'
14606 INSTALL='$INSTALL'
14607 MKDIR_P='$MKDIR_P'
14608 AWK='$AWK'
14609 test -n "\$AWK" || AWK=awk
14610 _ACEOF
14611
14612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14613 # The default lists apply if the user does not specify any file.
14614 ac_need_defaults=:
14615 while test $# != 0
14616 do
14617   case $1 in
14618   --*=?*)
14619     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14620     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14621     ac_shift=:
14622     ;;
14623   --*=)
14624     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14625     ac_optarg=
14626     ac_shift=:
14627     ;;
14628   *)
14629     ac_option=$1
14630     ac_optarg=$2
14631     ac_shift=shift
14632     ;;
14633   esac
14634
14635   case $ac_option in
14636   # Handling of the options.
14637   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14638     ac_cs_recheck=: ;;
14639   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14640     $as_echo "$ac_cs_version"; exit ;;
14641   --config | --confi | --conf | --con | --co | --c )
14642     $as_echo "$ac_cs_config"; exit ;;
14643   --debug | --debu | --deb | --de | --d | -d )
14644     debug=: ;;
14645   --file | --fil | --fi | --f )
14646     $ac_shift
14647     case $ac_optarg in
14648     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14649     '') as_fn_error $? "missing file argument" ;;
14650     esac
14651     as_fn_append CONFIG_FILES " '$ac_optarg'"
14652     ac_need_defaults=false;;
14653   --header | --heade | --head | --hea )
14654     $ac_shift
14655     case $ac_optarg in
14656     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14657     esac
14658     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14659     ac_need_defaults=false;;
14660   --he | --h)
14661     # Conflict between --help and --header
14662     as_fn_error $? "ambiguous option: \`$1'
14663 Try \`$0 --help' for more information.";;
14664   --help | --hel | -h )
14665     $as_echo "$ac_cs_usage"; exit ;;
14666   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14667   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14668     ac_cs_silent=: ;;
14669
14670   # This is an error.
14671   -*) as_fn_error $? "unrecognized option: \`$1'
14672 Try \`$0 --help' for more information." ;;
14673
14674   *) as_fn_append ac_config_targets " $1"
14675      ac_need_defaults=false ;;
14676
14677   esac
14678   shift
14679 done
14680
14681 ac_configure_extra_args=
14682
14683 if $ac_cs_silent; then
14684   exec 6>/dev/null
14685   ac_configure_extra_args="$ac_configure_extra_args --silent"
14686 fi
14687
14688 _ACEOF
14689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14690 if \$ac_cs_recheck; then
14691   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14692   shift
14693   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14694   CONFIG_SHELL='$SHELL'
14695   export CONFIG_SHELL
14696   exec "\$@"
14697 fi
14698
14699 _ACEOF
14700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14701 exec 5>>config.log
14702 {
14703   echo
14704   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14705 ## Running $as_me. ##
14706 _ASBOX
14707   $as_echo "$ac_log"
14708 } >&5
14709
14710 _ACEOF
14711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14712 #
14713 # INIT-COMMANDS
14714 #
14715 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14716
14717
14718 # The HP-UX ksh and POSIX shell print the target directory to stdout
14719 # if CDPATH is set.
14720 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14721
14722 sed_quote_subst='$sed_quote_subst'
14723 double_quote_subst='$double_quote_subst'
14724 delay_variable_subst='$delay_variable_subst'
14725 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14726 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14727 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14728 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14729 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14730 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14731 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14732 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14733 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14734 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14735 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14736 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14737 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14738 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14739 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14740 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14741 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14742 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14743 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14744 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14745 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14746 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14747 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14748 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14749 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14750 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14751 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14752 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14753 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14754 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14755 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14756 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14757 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14758 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14759 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14760 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14761 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14762 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14763 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14764 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14765 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14766 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14767 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14768 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14769 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14770 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14771 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14772 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14773 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14774 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14775 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14776 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14777 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14778 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14779 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14780 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14781 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"`'
14782 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14783 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14784 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14785 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14786 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14787 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14788 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14789 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14790 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14791 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14792 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14793 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14794 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14795 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14796 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14797 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14798 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14799 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14800 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14801 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14802 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14803 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14804 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14805 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14806 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14807 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14808 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14809 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14810 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14811 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14812 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14813 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14814 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14815 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14816 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14817 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14818 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14819 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14820 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14821 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14822 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14823 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14824 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14825 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14826 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14827 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14828 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14829 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14830 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14831 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14832 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14833 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14834 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14835 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14836 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14837 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14838 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14839 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14840 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14841 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14842 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14843 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14844 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14845 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14846 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14847 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14848 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14849 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14850 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14851 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14852 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14853 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14854 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14855
14856 LTCC='$LTCC'
14857 LTCFLAGS='$LTCFLAGS'
14858 compiler='$compiler_DEFAULT'
14859
14860 # A function that is used when there is no print builtin or printf.
14861 func_fallback_echo ()
14862 {
14863   eval 'cat <<_LTECHO_EOF
14864 \$1
14865 _LTECHO_EOF'
14866 }
14867
14868 # Quote evaled strings.
14869 for var in SHELL \
14870 ECHO \
14871 PATH_SEPARATOR \
14872 SED \
14873 GREP \
14874 EGREP \
14875 FGREP \
14876 LD \
14877 NM \
14878 LN_S \
14879 lt_SP2NL \
14880 lt_NL2SP \
14881 reload_flag \
14882 OBJDUMP \
14883 deplibs_check_method \
14884 file_magic_cmd \
14885 file_magic_glob \
14886 want_nocaseglob \
14887 DLLTOOL \
14888 sharedlib_from_linklib_cmd \
14889 AR \
14890 AR_FLAGS \
14891 archiver_list_spec \
14892 STRIP \
14893 RANLIB \
14894 CC \
14895 CFLAGS \
14896 compiler \
14897 lt_cv_sys_global_symbol_pipe \
14898 lt_cv_sys_global_symbol_to_cdecl \
14899 lt_cv_sys_global_symbol_to_c_name_address \
14900 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14901 nm_file_list_spec \
14902 lt_prog_compiler_no_builtin_flag \
14903 lt_prog_compiler_pic \
14904 lt_prog_compiler_wl \
14905 lt_prog_compiler_static \
14906 lt_cv_prog_compiler_c_o \
14907 need_locks \
14908 MANIFEST_TOOL \
14909 DSYMUTIL \
14910 NMEDIT \
14911 LIPO \
14912 OTOOL \
14913 OTOOL64 \
14914 shrext_cmds \
14915 export_dynamic_flag_spec \
14916 whole_archive_flag_spec \
14917 compiler_needs_object \
14918 with_gnu_ld \
14919 allow_undefined_flag \
14920 no_undefined_flag \
14921 hardcode_libdir_flag_spec \
14922 hardcode_libdir_separator \
14923 exclude_expsyms \
14924 include_expsyms \
14925 file_list_spec \
14926 variables_saved_for_relink \
14927 libname_spec \
14928 library_names_spec \
14929 soname_spec \
14930 install_override_mode \
14931 finish_eval \
14932 old_striplib \
14933 striplib; do
14934     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14935     *[\\\\\\\`\\"\\\$]*)
14936       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14937       ;;
14938     *)
14939       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14940       ;;
14941     esac
14942 done
14943
14944 # Double-quote double-evaled strings.
14945 for var in reload_cmds \
14946 old_postinstall_cmds \
14947 old_postuninstall_cmds \
14948 old_archive_cmds \
14949 extract_expsyms_cmds \
14950 old_archive_from_new_cmds \
14951 old_archive_from_expsyms_cmds \
14952 archive_cmds \
14953 archive_expsym_cmds \
14954 module_cmds \
14955 module_expsym_cmds \
14956 export_symbols_cmds \
14957 prelink_cmds \
14958 postlink_cmds \
14959 postinstall_cmds \
14960 postuninstall_cmds \
14961 finish_cmds \
14962 sys_lib_search_path_spec \
14963 sys_lib_dlsearch_path_spec; do
14964     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14965     *[\\\\\\\`\\"\\\$]*)
14966       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14967       ;;
14968     *)
14969       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14970       ;;
14971     esac
14972 done
14973
14974 ac_aux_dir='$ac_aux_dir'
14975 xsi_shell='$xsi_shell'
14976 lt_shell_append='$lt_shell_append'
14977
14978 # See if we are running on zsh, and set the options which allow our
14979 # commands through without removal of \ escapes INIT.
14980 if test -n "\${ZSH_VERSION+set}" ; then
14981    setopt NO_GLOB_SUBST
14982 fi
14983
14984
14985     PACKAGE='$PACKAGE'
14986     VERSION='$VERSION'
14987     TIMESTAMP='$TIMESTAMP'
14988     RM='$RM'
14989     ofile='$ofile'
14990
14991
14992
14993
14994
14995 _ACEOF
14996
14997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14998
14999 # Handling of arguments.
15000 for ac_config_target in $ac_config_targets
15001 do
15002   case $ac_config_target in
15003     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15004     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15005     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15006     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15007     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15008     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15009     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15010     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15011     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15012     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15013
15014   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15015   esac
15016 done
15017
15018
15019 # If the user did not use the arguments to specify the items to instantiate,
15020 # then the envvar interface is used.  Set only those that are not.
15021 # We use the long form for the default assignment because of an extremely
15022 # bizarre bug on SunOS 4.1.3.
15023 if $ac_need_defaults; then
15024   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15025   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15026   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15027 fi
15028
15029 # Have a temporary directory for convenience.  Make it in the build tree
15030 # simply because there is no reason against having it here, and in addition,
15031 # creating and moving files from /tmp can sometimes cause problems.
15032 # Hook for its removal unless debugging.
15033 # Note that there is a small window in which the directory will not be cleaned:
15034 # after its creation but before its name has been assigned to `$tmp'.
15035 $debug ||
15036 {
15037   tmp= ac_tmp=
15038   trap 'exit_status=$?
15039   : "${ac_tmp:=$tmp}"
15040   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15041 ' 0
15042   trap 'as_fn_exit 1' 1 2 13 15
15043 }
15044 # Create a (secure) tmp directory for tmp files.
15045
15046 {
15047   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15048   test -d "$tmp"
15049 }  ||
15050 {
15051   tmp=./conf$$-$RANDOM
15052   (umask 077 && mkdir "$tmp")
15053 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15054 ac_tmp=$tmp
15055
15056 # Set up the scripts for CONFIG_FILES section.
15057 # No need to generate them if there are no CONFIG_FILES.
15058 # This happens for instance with `./config.status config.h'.
15059 if test -n "$CONFIG_FILES"; then
15060
15061
15062 ac_cr=`echo X | tr X '\015'`
15063 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15064 # But we know of no other shell where ac_cr would be empty at this
15065 # point, so we can use a bashism as a fallback.
15066 if test "x$ac_cr" = x; then
15067   eval ac_cr=\$\'\\r\'
15068 fi
15069 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15070 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15071   ac_cs_awk_cr='\\r'
15072 else
15073   ac_cs_awk_cr=$ac_cr
15074 fi
15075
15076 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15077 _ACEOF
15078
15079
15080 {
15081   echo "cat >conf$$subs.awk <<_ACEOF" &&
15082   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15083   echo "_ACEOF"
15084 } >conf$$subs.sh ||
15085   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15086 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15087 ac_delim='%!_!# '
15088 for ac_last_try in false false false false false :; do
15089   . ./conf$$subs.sh ||
15090     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15091
15092   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15093   if test $ac_delim_n = $ac_delim_num; then
15094     break
15095   elif $ac_last_try; then
15096     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15097   else
15098     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15099   fi
15100 done
15101 rm -f conf$$subs.sh
15102
15103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15104 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15105 _ACEOF
15106 sed -n '
15107 h
15108 s/^/S["/; s/!.*/"]=/
15109 p
15110 g
15111 s/^[^!]*!//
15112 :repl
15113 t repl
15114 s/'"$ac_delim"'$//
15115 t delim
15116 :nl
15117 h
15118 s/\(.\{148\}\)..*/\1/
15119 t more1
15120 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15121 p
15122 n
15123 b repl
15124 :more1
15125 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15126 p
15127 g
15128 s/.\{148\}//
15129 t nl
15130 :delim
15131 h
15132 s/\(.\{148\}\)..*/\1/
15133 t more2
15134 s/["\\]/\\&/g; s/^/"/; s/$/"/
15135 p
15136 b
15137 :more2
15138 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15139 p
15140 g
15141 s/.\{148\}//
15142 t delim
15143 ' <conf$$subs.awk | sed '
15144 /^[^""]/{
15145   N
15146   s/\n//
15147 }
15148 ' >>$CONFIG_STATUS || ac_write_fail=1
15149 rm -f conf$$subs.awk
15150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15151 _ACAWK
15152 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15153   for (key in S) S_is_set[key] = 1
15154   FS = "\a"
15155
15156 }
15157 {
15158   line = $ 0
15159   nfields = split(line, field, "@")
15160   substed = 0
15161   len = length(field[1])
15162   for (i = 2; i < nfields; i++) {
15163     key = field[i]
15164     keylen = length(key)
15165     if (S_is_set[key]) {
15166       value = S[key]
15167       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15168       len += length(value) + length(field[++i])
15169       substed = 1
15170     } else
15171       len += 1 + keylen
15172   }
15173
15174   print line
15175 }
15176
15177 _ACAWK
15178 _ACEOF
15179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15180 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15181   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15182 else
15183   cat
15184 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15185   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15186 _ACEOF
15187
15188 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15189 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15190 # trailing colons and then remove the whole line if VPATH becomes empty
15191 # (actually we leave an empty line to preserve line numbers).
15192 if test "x$srcdir" = x.; then
15193   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15194 h
15195 s///
15196 s/^/:/
15197 s/[      ]*$/:/
15198 s/:\$(srcdir):/:/g
15199 s/:\${srcdir}:/:/g
15200 s/:@srcdir@:/:/g
15201 s/^:*//
15202 s/:*$//
15203 x
15204 s/\(=[   ]*\).*/\1/
15205 G
15206 s/\n//
15207 s/^[^=]*=[       ]*$//
15208 }'
15209 fi
15210
15211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15212 fi # test -n "$CONFIG_FILES"
15213
15214 # Set up the scripts for CONFIG_HEADERS section.
15215 # No need to generate them if there are no CONFIG_HEADERS.
15216 # This happens for instance with `./config.status Makefile'.
15217 if test -n "$CONFIG_HEADERS"; then
15218 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15219 BEGIN {
15220 _ACEOF
15221
15222 # Transform confdefs.h into an awk script `defines.awk', embedded as
15223 # here-document in config.status, that substitutes the proper values into
15224 # config.h.in to produce config.h.
15225
15226 # Create a delimiter string that does not exist in confdefs.h, to ease
15227 # handling of long lines.
15228 ac_delim='%!_!# '
15229 for ac_last_try in false false :; do
15230   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15231   if test -z "$ac_tt"; then
15232     break
15233   elif $ac_last_try; then
15234     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15235   else
15236     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15237   fi
15238 done
15239
15240 # For the awk script, D is an array of macro values keyed by name,
15241 # likewise P contains macro parameters if any.  Preserve backslash
15242 # newline sequences.
15243
15244 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15245 sed -n '
15246 s/.\{148\}/&'"$ac_delim"'/g
15247 t rset
15248 :rset
15249 s/^[     ]*#[    ]*define[       ][      ]*/ /
15250 t def
15251 d
15252 :def
15253 s/\\$//
15254 t bsnl
15255 s/["\\]/\\&/g
15256 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15257 D["\1"]=" \3"/p
15258 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15259 d
15260 :bsnl
15261 s/["\\]/\\&/g
15262 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15263 D["\1"]=" \3\\\\\\n"\\/p
15264 t cont
15265 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15266 t cont
15267 d
15268 :cont
15269 n
15270 s/.\{148\}/&'"$ac_delim"'/g
15271 t clear
15272 :clear
15273 s/\\$//
15274 t bsnlc
15275 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15276 d
15277 :bsnlc
15278 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15279 b cont
15280 ' <confdefs.h | sed '
15281 s/'"$ac_delim"'/"\\\
15282 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15283
15284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15285   for (key in D) D_is_set[key] = 1
15286   FS = "\a"
15287 }
15288 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15289   line = \$ 0
15290   split(line, arg, " ")
15291   if (arg[1] == "#") {
15292     defundef = arg[2]
15293     mac1 = arg[3]
15294   } else {
15295     defundef = substr(arg[1], 2)
15296     mac1 = arg[2]
15297   }
15298   split(mac1, mac2, "(") #)
15299   macro = mac2[1]
15300   prefix = substr(line, 1, index(line, defundef) - 1)
15301   if (D_is_set[macro]) {
15302     # Preserve the white space surrounding the "#".
15303     print prefix "define", macro P[macro] D[macro]
15304     next
15305   } else {
15306     # Replace #undef with comments.  This is necessary, for example,
15307     # in the case of _POSIX_SOURCE, which is predefined and required
15308     # on some systems where configure will not decide to define it.
15309     if (defundef == "undef") {
15310       print "/*", prefix defundef, macro, "*/"
15311       next
15312     }
15313   }
15314 }
15315 { print }
15316 _ACAWK
15317 _ACEOF
15318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15319   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15320 fi # test -n "$CONFIG_HEADERS"
15321
15322
15323 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15324 shift
15325 for ac_tag
15326 do
15327   case $ac_tag in
15328   :[FHLC]) ac_mode=$ac_tag; continue;;
15329   esac
15330   case $ac_mode$ac_tag in
15331   :[FHL]*:*);;
15332   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15333   :[FH]-) ac_tag=-:-;;
15334   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15335   esac
15336   ac_save_IFS=$IFS
15337   IFS=:
15338   set x $ac_tag
15339   IFS=$ac_save_IFS
15340   shift
15341   ac_file=$1
15342   shift
15343
15344   case $ac_mode in
15345   :L) ac_source=$1;;
15346   :[FH])
15347     ac_file_inputs=
15348     for ac_f
15349     do
15350       case $ac_f in
15351       -) ac_f="$ac_tmp/stdin";;
15352       *) # Look for the file first in the build tree, then in the source tree
15353          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15354          # because $ac_f cannot contain `:'.
15355          test -f "$ac_f" ||
15356            case $ac_f in
15357            [\\/$]*) false;;
15358            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15359            esac ||
15360            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15361       esac
15362       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15363       as_fn_append ac_file_inputs " '$ac_f'"
15364     done
15365
15366     # Let's still pretend it is `configure' which instantiates (i.e., don't
15367     # use $as_me), people would be surprised to read:
15368     #    /* config.h.  Generated by config.status.  */
15369     configure_input='Generated from '`
15370           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15371         `' by configure.'
15372     if test x"$ac_file" != x-; then
15373       configure_input="$ac_file.  $configure_input"
15374       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15375 $as_echo "$as_me: creating $ac_file" >&6;}
15376     fi
15377     # Neutralize special characters interpreted by sed in replacement strings.
15378     case $configure_input in #(
15379     *\&* | *\|* | *\\* )
15380        ac_sed_conf_input=`$as_echo "$configure_input" |
15381        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15382     *) ac_sed_conf_input=$configure_input;;
15383     esac
15384
15385     case $ac_tag in
15386     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15387       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15388     esac
15389     ;;
15390   esac
15391
15392   ac_dir=`$as_dirname -- "$ac_file" ||
15393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15394          X"$ac_file" : 'X\(//\)[^/]' \| \
15395          X"$ac_file" : 'X\(//\)$' \| \
15396          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15397 $as_echo X"$ac_file" |
15398     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15399             s//\1/
15400             q
15401           }
15402           /^X\(\/\/\)[^/].*/{
15403             s//\1/
15404             q
15405           }
15406           /^X\(\/\/\)$/{
15407             s//\1/
15408             q
15409           }
15410           /^X\(\/\).*/{
15411             s//\1/
15412             q
15413           }
15414           s/.*/./; q'`
15415   as_dir="$ac_dir"; as_fn_mkdir_p
15416   ac_builddir=.
15417
15418 case "$ac_dir" in
15419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15420 *)
15421   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15422   # A ".." for each directory in $ac_dir_suffix.
15423   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15424   case $ac_top_builddir_sub in
15425   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15426   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15427   esac ;;
15428 esac
15429 ac_abs_top_builddir=$ac_pwd
15430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15431 # for backward compatibility:
15432 ac_top_builddir=$ac_top_build_prefix
15433
15434 case $srcdir in
15435   .)  # We are building in place.
15436     ac_srcdir=.
15437     ac_top_srcdir=$ac_top_builddir_sub
15438     ac_abs_top_srcdir=$ac_pwd ;;
15439   [\\/]* | ?:[\\/]* )  # Absolute name.
15440     ac_srcdir=$srcdir$ac_dir_suffix;
15441     ac_top_srcdir=$srcdir
15442     ac_abs_top_srcdir=$srcdir ;;
15443   *) # Relative name.
15444     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15445     ac_top_srcdir=$ac_top_build_prefix$srcdir
15446     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15447 esac
15448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15449
15450
15451   case $ac_mode in
15452   :F)
15453   #
15454   # CONFIG_FILE
15455   #
15456
15457   case $INSTALL in
15458   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15459   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15460   esac
15461   ac_MKDIR_P=$MKDIR_P
15462   case $MKDIR_P in
15463   [\\/$]* | ?:[\\/]* ) ;;
15464   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15465   esac
15466 _ACEOF
15467
15468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15469 # If the template does not know about datarootdir, expand it.
15470 # FIXME: This hack should be removed a few years after 2.60.
15471 ac_datarootdir_hack=; ac_datarootdir_seen=
15472 ac_sed_dataroot='
15473 /datarootdir/ {
15474   p
15475   q
15476 }
15477 /@datadir@/p
15478 /@docdir@/p
15479 /@infodir@/p
15480 /@localedir@/p
15481 /@mandir@/p'
15482 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15483 *datarootdir*) ac_datarootdir_seen=yes;;
15484 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15485   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15486 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15487 _ACEOF
15488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15489   ac_datarootdir_hack='
15490   s&@datadir@&$datadir&g
15491   s&@docdir@&$docdir&g
15492   s&@infodir@&$infodir&g
15493   s&@localedir@&$localedir&g
15494   s&@mandir@&$mandir&g
15495   s&\\\${datarootdir}&$datarootdir&g' ;;
15496 esac
15497 _ACEOF
15498
15499 # Neutralize VPATH when `$srcdir' = `.'.
15500 # Shell code in configure.ac might set extrasub.
15501 # FIXME: do we really want to maintain this feature?
15502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15503 ac_sed_extra="$ac_vpsub
15504 $extrasub
15505 _ACEOF
15506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15507 :t
15508 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15509 s|@configure_input@|$ac_sed_conf_input|;t t
15510 s&@top_builddir@&$ac_top_builddir_sub&;t t
15511 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15512 s&@srcdir@&$ac_srcdir&;t t
15513 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15514 s&@top_srcdir@&$ac_top_srcdir&;t t
15515 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15516 s&@builddir@&$ac_builddir&;t t
15517 s&@abs_builddir@&$ac_abs_builddir&;t t
15518 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15519 s&@INSTALL@&$ac_INSTALL&;t t
15520 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15521 $ac_datarootdir_hack
15522 "
15523 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15524   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15525
15526 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15527   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15528   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15529       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15530   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15531 which seems to be undefined.  Please make sure it is defined" >&5
15532 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15533 which seems to be undefined.  Please make sure it is defined" >&2;}
15534
15535   rm -f "$ac_tmp/stdin"
15536   case $ac_file in
15537   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15538   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15539   esac \
15540   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15541  ;;
15542   :H)
15543   #
15544   # CONFIG_HEADER
15545   #
15546   if test x"$ac_file" != x-; then
15547     {
15548       $as_echo "/* $configure_input  */" \
15549       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15550     } >"$ac_tmp/config.h" \
15551       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15552     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15553       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15554 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15555     else
15556       rm -f "$ac_file"
15557       mv "$ac_tmp/config.h" "$ac_file" \
15558         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15559     fi
15560   else
15561     $as_echo "/* $configure_input  */" \
15562       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15563       || as_fn_error $? "could not create -" "$LINENO" 5
15564   fi
15565 # Compute "$ac_file"'s index in $config_headers.
15566 _am_arg="$ac_file"
15567 _am_stamp_count=1
15568 for _am_header in $config_headers :; do
15569   case $_am_header in
15570     $_am_arg | $_am_arg:* )
15571       break ;;
15572     * )
15573       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15574   esac
15575 done
15576 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15577 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15578          X"$_am_arg" : 'X\(//\)[^/]' \| \
15579          X"$_am_arg" : 'X\(//\)$' \| \
15580          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15581 $as_echo X"$_am_arg" |
15582     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15583             s//\1/
15584             q
15585           }
15586           /^X\(\/\/\)[^/].*/{
15587             s//\1/
15588             q
15589           }
15590           /^X\(\/\/\)$/{
15591             s//\1/
15592             q
15593           }
15594           /^X\(\/\).*/{
15595             s//\1/
15596             q
15597           }
15598           s/.*/./; q'`/stamp-h$_am_stamp_count
15599  ;;
15600
15601   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15602 $as_echo "$as_me: executing $ac_file commands" >&6;}
15603  ;;
15604   esac
15605
15606
15607   case $ac_file$ac_mode in
15608     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15609   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15610   # are listed without --file.  Let's play safe and only enable the eval
15611   # if we detect the quoting.
15612   case $CONFIG_FILES in
15613   *\'*) eval set x "$CONFIG_FILES" ;;
15614   *)   set x $CONFIG_FILES ;;
15615   esac
15616   shift
15617   for mf
15618   do
15619     # Strip MF so we end up with the name of the file.
15620     mf=`echo "$mf" | sed -e 's/:.*$//'`
15621     # Check whether this is an Automake generated Makefile or not.
15622     # We used to match only the files named `Makefile.in', but
15623     # some people rename them; so instead we look at the file content.
15624     # Grep'ing the first line is not enough: some people post-process
15625     # each Makefile.in and add a new line on top of each file to say so.
15626     # Grep'ing the whole file is not good either: AIX grep has a line
15627     # limit of 2048, but all sed's we know have understand at least 4000.
15628     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15629       dirpart=`$as_dirname -- "$mf" ||
15630 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15631          X"$mf" : 'X\(//\)[^/]' \| \
15632          X"$mf" : 'X\(//\)$' \| \
15633          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15634 $as_echo X"$mf" |
15635     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15636             s//\1/
15637             q
15638           }
15639           /^X\(\/\/\)[^/].*/{
15640             s//\1/
15641             q
15642           }
15643           /^X\(\/\/\)$/{
15644             s//\1/
15645             q
15646           }
15647           /^X\(\/\).*/{
15648             s//\1/
15649             q
15650           }
15651           s/.*/./; q'`
15652     else
15653       continue
15654     fi
15655     # Extract the definition of DEPDIR, am__include, and am__quote
15656     # from the Makefile without running `make'.
15657     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15658     test -z "$DEPDIR" && continue
15659     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15660     test -z "am__include" && continue
15661     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15662     # When using ansi2knr, U may be empty or an underscore; expand it
15663     U=`sed -n 's/^U = //p' < "$mf"`
15664     # Find all dependency output files, they are included files with
15665     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15666     # simplest approach to changing $(DEPDIR) to its actual value in the
15667     # expansion.
15668     for file in `sed -n "
15669       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15670          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15671       # Make sure the directory exists.
15672       test -f "$dirpart/$file" && continue
15673       fdir=`$as_dirname -- "$file" ||
15674 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15675          X"$file" : 'X\(//\)[^/]' \| \
15676          X"$file" : 'X\(//\)$' \| \
15677          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15678 $as_echo X"$file" |
15679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15680             s//\1/
15681             q
15682           }
15683           /^X\(\/\/\)[^/].*/{
15684             s//\1/
15685             q
15686           }
15687           /^X\(\/\/\)$/{
15688             s//\1/
15689             q
15690           }
15691           /^X\(\/\).*/{
15692             s//\1/
15693             q
15694           }
15695           s/.*/./; q'`
15696       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15697       # echo "creating $dirpart/$file"
15698       echo '# dummy' > "$dirpart/$file"
15699     done
15700   done
15701 }
15702  ;;
15703     "libtool":C)
15704
15705     # See if we are running on zsh, and set the options which allow our
15706     # commands through without removal of \ escapes.
15707     if test -n "${ZSH_VERSION+set}" ; then
15708       setopt NO_GLOB_SUBST
15709     fi
15710
15711     cfgfile="${ofile}T"
15712     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15713     $RM "$cfgfile"
15714
15715     cat <<_LT_EOF >> "$cfgfile"
15716 #! $SHELL
15717
15718 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15719 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15720 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15721 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15722 #
15723 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15724 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15725 #                 Foundation, Inc.
15726 #   Written by Gordon Matzigkeit, 1996
15727 #
15728 #   This file is part of GNU Libtool.
15729 #
15730 # GNU Libtool is free software; you can redistribute it and/or
15731 # modify it under the terms of the GNU General Public License as
15732 # published by the Free Software Foundation; either version 2 of
15733 # the License, or (at your option) any later version.
15734 #
15735 # As a special exception to the GNU General Public License,
15736 # if you distribute this file as part of a program or library that
15737 # is built using GNU Libtool, you may include this file under the
15738 # same distribution terms that you use for the rest of that program.
15739 #
15740 # GNU Libtool is distributed in the hope that it will be useful,
15741 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15742 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15743 # GNU General Public License for more details.
15744 #
15745 # You should have received a copy of the GNU General Public License
15746 # along with GNU Libtool; see the file COPYING.  If not, a copy
15747 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15748 # obtained by writing to the Free Software Foundation, Inc.,
15749 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15750
15751
15752 # The names of the tagged configurations supported by this script.
15753 available_tags=""
15754
15755 # ### BEGIN LIBTOOL CONFIG
15756
15757 # Which release of libtool.m4 was used?
15758 macro_version=$macro_version
15759 macro_revision=$macro_revision
15760
15761 # Whether or not to build static libraries.
15762 build_old_libs=$enable_static
15763
15764 # Whether or not to build shared libraries.
15765 build_libtool_libs=$enable_shared
15766
15767 # What type of objects to build.
15768 pic_mode=$pic_mode
15769
15770 # Whether or not to optimize for fast installation.
15771 fast_install=$enable_fast_install
15772
15773 # Shell to use when invoking shell scripts.
15774 SHELL=$lt_SHELL
15775
15776 # An echo program that protects backslashes.
15777 ECHO=$lt_ECHO
15778
15779 # The PATH separator for the build system.
15780 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15781
15782 # The host system.
15783 host_alias=$host_alias
15784 host=$host
15785 host_os=$host_os
15786
15787 # The build system.
15788 build_alias=$build_alias
15789 build=$build
15790 build_os=$build_os
15791
15792 # A sed program that does not truncate output.
15793 SED=$lt_SED
15794
15795 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15796 Xsed="\$SED -e 1s/^X//"
15797
15798 # A grep program that handles long lines.
15799 GREP=$lt_GREP
15800
15801 # An ERE matcher.
15802 EGREP=$lt_EGREP
15803
15804 # A literal string matcher.
15805 FGREP=$lt_FGREP
15806
15807 # A BSD- or MS-compatible name lister.
15808 NM=$lt_NM
15809
15810 # Whether we need soft or hard links.
15811 LN_S=$lt_LN_S
15812
15813 # What is the maximum length of a command?
15814 max_cmd_len=$max_cmd_len
15815
15816 # Object file suffix (normally "o").
15817 objext=$ac_objext
15818
15819 # Executable file suffix (normally "").
15820 exeext=$exeext
15821
15822 # whether the shell understands "unset".
15823 lt_unset=$lt_unset
15824
15825 # turn spaces into newlines.
15826 SP2NL=$lt_lt_SP2NL
15827
15828 # turn newlines into spaces.
15829 NL2SP=$lt_lt_NL2SP
15830
15831 # convert \$build file names to \$host format.
15832 to_host_file_cmd=$lt_cv_to_host_file_cmd
15833
15834 # convert \$build files to toolchain format.
15835 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15836
15837 # An object symbol dumper.
15838 OBJDUMP=$lt_OBJDUMP
15839
15840 # Method to check whether dependent libraries are shared objects.
15841 deplibs_check_method=$lt_deplibs_check_method
15842
15843 # Command to use when deplibs_check_method = "file_magic".
15844 file_magic_cmd=$lt_file_magic_cmd
15845
15846 # How to find potential files when deplibs_check_method = "file_magic".
15847 file_magic_glob=$lt_file_magic_glob
15848
15849 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15850 want_nocaseglob=$lt_want_nocaseglob
15851
15852 # DLL creation program.
15853 DLLTOOL=$lt_DLLTOOL
15854
15855 # Command to associate shared and link libraries.
15856 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15857
15858 # The archiver.
15859 AR=$lt_AR
15860
15861 # Flags to create an archive.
15862 AR_FLAGS=$lt_AR_FLAGS
15863
15864 # How to feed a file listing to the archiver.
15865 archiver_list_spec=$lt_archiver_list_spec
15866
15867 # A symbol stripping program.
15868 STRIP=$lt_STRIP
15869
15870 # Commands used to install an old-style archive.
15871 RANLIB=$lt_RANLIB
15872 old_postinstall_cmds=$lt_old_postinstall_cmds
15873 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15874
15875 # Whether to use a lock for old archive extraction.
15876 lock_old_archive_extraction=$lock_old_archive_extraction
15877
15878 # A C compiler.
15879 LTCC=$lt_CC
15880
15881 # LTCC compiler flags.
15882 LTCFLAGS=$lt_CFLAGS
15883
15884 # Take the output of nm and produce a listing of raw symbols and C names.
15885 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15886
15887 # Transform the output of nm in a proper C declaration.
15888 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15889
15890 # Transform the output of nm in a C name address pair.
15891 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15892
15893 # Transform the output of nm in a C name address pair when lib prefix is needed.
15894 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15895
15896 # Specify filename containing input files for \$NM.
15897 nm_file_list_spec=$lt_nm_file_list_spec
15898
15899 # The root where to search for dependent libraries,and in which our libraries should be installed.
15900 lt_sysroot=$lt_sysroot
15901
15902 # The name of the directory that contains temporary libtool files.
15903 objdir=$objdir
15904
15905 # Used to examine libraries when file_magic_cmd begins with "file".
15906 MAGIC_CMD=$MAGIC_CMD
15907
15908 # Must we lock files when doing compilation?
15909 need_locks=$lt_need_locks
15910
15911 # Manifest tool.
15912 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15913
15914 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15915 DSYMUTIL=$lt_DSYMUTIL
15916
15917 # Tool to change global to local symbols on Mac OS X.
15918 NMEDIT=$lt_NMEDIT
15919
15920 # Tool to manipulate fat objects and archives on Mac OS X.
15921 LIPO=$lt_LIPO
15922
15923 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15924 OTOOL=$lt_OTOOL
15925
15926 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15927 OTOOL64=$lt_OTOOL64
15928
15929 # Old archive suffix (normally "a").
15930 libext=$libext
15931
15932 # Shared library suffix (normally ".so").
15933 shrext_cmds=$lt_shrext_cmds
15934
15935 # The commands to extract the exported symbol list from a shared archive.
15936 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15937
15938 # Variables whose values should be saved in libtool wrapper scripts and
15939 # restored at link time.
15940 variables_saved_for_relink=$lt_variables_saved_for_relink
15941
15942 # Do we need the "lib" prefix for modules?
15943 need_lib_prefix=$need_lib_prefix
15944
15945 # Do we need a version for libraries?
15946 need_version=$need_version
15947
15948 # Library versioning type.
15949 version_type=$version_type
15950
15951 # Shared library runtime path variable.
15952 runpath_var=$runpath_var
15953
15954 # Shared library path variable.
15955 shlibpath_var=$shlibpath_var
15956
15957 # Is shlibpath searched before the hard-coded library search path?
15958 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15959
15960 # Format of library name prefix.
15961 libname_spec=$lt_libname_spec
15962
15963 # List of archive names.  First name is the real one, the rest are links.
15964 # The last name is the one that the linker finds with -lNAME
15965 library_names_spec=$lt_library_names_spec
15966
15967 # The coded name of the library, if different from the real name.
15968 soname_spec=$lt_soname_spec
15969
15970 # Permission mode override for installation of shared libraries.
15971 install_override_mode=$lt_install_override_mode
15972
15973 # Command to use after installation of a shared archive.
15974 postinstall_cmds=$lt_postinstall_cmds
15975
15976 # Command to use after uninstallation of a shared archive.
15977 postuninstall_cmds=$lt_postuninstall_cmds
15978
15979 # Commands used to finish a libtool library installation in a directory.
15980 finish_cmds=$lt_finish_cmds
15981
15982 # As "finish_cmds", except a single script fragment to be evaled but
15983 # not shown.
15984 finish_eval=$lt_finish_eval
15985
15986 # Whether we should hardcode library paths into libraries.
15987 hardcode_into_libs=$hardcode_into_libs
15988
15989 # Compile-time system search path for libraries.
15990 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15991
15992 # Run-time system search path for libraries.
15993 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15994
15995 # Whether dlopen is supported.
15996 dlopen_support=$enable_dlopen
15997
15998 # Whether dlopen of programs is supported.
15999 dlopen_self=$enable_dlopen_self
16000
16001 # Whether dlopen of statically linked programs is supported.
16002 dlopen_self_static=$enable_dlopen_self_static
16003
16004 # Commands to strip libraries.
16005 old_striplib=$lt_old_striplib
16006 striplib=$lt_striplib
16007
16008
16009 # The linker used to build libraries.
16010 LD=$lt_LD
16011
16012 # How to create reloadable object files.
16013 reload_flag=$lt_reload_flag
16014 reload_cmds=$lt_reload_cmds
16015
16016 # Commands used to build an old-style archive.
16017 old_archive_cmds=$lt_old_archive_cmds
16018
16019 # A language specific compiler.
16020 CC=$lt_compiler
16021
16022 # Is the compiler the GNU compiler?
16023 with_gcc=$GCC
16024
16025 # Compiler flag to turn off builtin functions.
16026 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16027
16028 # Additional compiler flags for building library objects.
16029 pic_flag=$lt_lt_prog_compiler_pic
16030
16031 # How to pass a linker flag through the compiler.
16032 wl=$lt_lt_prog_compiler_wl
16033
16034 # Compiler flag to prevent dynamic linking.
16035 link_static_flag=$lt_lt_prog_compiler_static
16036
16037 # Does compiler simultaneously support -c and -o options?
16038 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16039
16040 # Whether or not to add -lc for building shared libraries.
16041 build_libtool_need_lc=$archive_cmds_need_lc
16042
16043 # Whether or not to disallow shared libs when runtime libs are static.
16044 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16045
16046 # Compiler flag to allow reflexive dlopens.
16047 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16048
16049 # Compiler flag to generate shared objects directly from archives.
16050 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16051
16052 # Whether the compiler copes with passing no objects directly.
16053 compiler_needs_object=$lt_compiler_needs_object
16054
16055 # Create an old-style archive from a shared archive.
16056 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16057
16058 # Create a temporary old-style archive to link instead of a shared archive.
16059 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16060
16061 # Commands used to build a shared archive.
16062 archive_cmds=$lt_archive_cmds
16063 archive_expsym_cmds=$lt_archive_expsym_cmds
16064
16065 # Commands used to build a loadable module if different from building
16066 # a shared archive.
16067 module_cmds=$lt_module_cmds
16068 module_expsym_cmds=$lt_module_expsym_cmds
16069
16070 # Whether we are building with GNU ld or not.
16071 with_gnu_ld=$lt_with_gnu_ld
16072
16073 # Flag that allows shared libraries with undefined symbols to be built.
16074 allow_undefined_flag=$lt_allow_undefined_flag
16075
16076 # Flag that enforces no undefined symbols.
16077 no_undefined_flag=$lt_no_undefined_flag
16078
16079 # Flag to hardcode \$libdir into a binary during linking.
16080 # This must work even if \$libdir does not exist
16081 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16082
16083 # Whether we need a single "-rpath" flag with a separated argument.
16084 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16085
16086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16087 # DIR into the resulting binary.
16088 hardcode_direct=$hardcode_direct
16089
16090 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16091 # DIR into the resulting binary and the resulting library dependency is
16092 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16093 # library is relocated.
16094 hardcode_direct_absolute=$hardcode_direct_absolute
16095
16096 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16097 # into the resulting binary.
16098 hardcode_minus_L=$hardcode_minus_L
16099
16100 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16101 # into the resulting binary.
16102 hardcode_shlibpath_var=$hardcode_shlibpath_var
16103
16104 # Set to "yes" if building a shared library automatically hardcodes DIR
16105 # into the library and all subsequent libraries and executables linked
16106 # against it.
16107 hardcode_automatic=$hardcode_automatic
16108
16109 # Set to yes if linker adds runtime paths of dependent libraries
16110 # to runtime path list.
16111 inherit_rpath=$inherit_rpath
16112
16113 # Whether libtool must link a program against all its dependency libraries.
16114 link_all_deplibs=$link_all_deplibs
16115
16116 # Set to "yes" if exported symbols are required.
16117 always_export_symbols=$always_export_symbols
16118
16119 # The commands to list exported symbols.
16120 export_symbols_cmds=$lt_export_symbols_cmds
16121
16122 # Symbols that should not be listed in the preloaded symbols.
16123 exclude_expsyms=$lt_exclude_expsyms
16124
16125 # Symbols that must always be exported.
16126 include_expsyms=$lt_include_expsyms
16127
16128 # Commands necessary for linking programs (against libraries) with templates.
16129 prelink_cmds=$lt_prelink_cmds
16130
16131 # Commands necessary for finishing linking programs.
16132 postlink_cmds=$lt_postlink_cmds
16133
16134 # Specify filename containing input files.
16135 file_list_spec=$lt_file_list_spec
16136
16137 # How to hardcode a shared library path into an executable.
16138 hardcode_action=$hardcode_action
16139
16140 # ### END LIBTOOL CONFIG
16141
16142 _LT_EOF
16143
16144   case $host_os in
16145   aix3*)
16146     cat <<\_LT_EOF >> "$cfgfile"
16147 # AIX sometimes has problems with the GCC collect2 program.  For some
16148 # reason, if we set the COLLECT_NAMES environment variable, the problems
16149 # vanish in a puff of smoke.
16150 if test "X${COLLECT_NAMES+set}" != Xset; then
16151   COLLECT_NAMES=
16152   export COLLECT_NAMES
16153 fi
16154 _LT_EOF
16155     ;;
16156   esac
16157
16158
16159 ltmain="$ac_aux_dir/ltmain.sh"
16160
16161
16162   # We use sed instead of cat because bash on DJGPP gets confused if
16163   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16164   # text mode, it properly converts lines to CR/LF.  This bash problem
16165   # is reportedly fixed, but why not run on old versions too?
16166   sed '$q' "$ltmain" >> "$cfgfile" \
16167      || (rm -f "$cfgfile"; exit 1)
16168
16169   if test x"$xsi_shell" = xyes; then
16170   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16171 func_dirname ()\
16172 {\
16173 \    case ${1} in\
16174 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16175 \      *  ) func_dirname_result="${3}" ;;\
16176 \    esac\
16177 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16178   && mv -f "$cfgfile.tmp" "$cfgfile" \
16179     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16180 test 0 -eq $? || _lt_function_replace_fail=:
16181
16182
16183   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16184 func_basename ()\
16185 {\
16186 \    func_basename_result="${1##*/}"\
16187 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16188   && mv -f "$cfgfile.tmp" "$cfgfile" \
16189     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16190 test 0 -eq $? || _lt_function_replace_fail=:
16191
16192
16193   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16194 func_dirname_and_basename ()\
16195 {\
16196 \    case ${1} in\
16197 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16198 \      *  ) func_dirname_result="${3}" ;;\
16199 \    esac\
16200 \    func_basename_result="${1##*/}"\
16201 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16202   && mv -f "$cfgfile.tmp" "$cfgfile" \
16203     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16204 test 0 -eq $? || _lt_function_replace_fail=:
16205
16206
16207   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16208 func_stripname ()\
16209 {\
16210 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16211 \    # positional parameters, so assign one to ordinary parameter first.\
16212 \    func_stripname_result=${3}\
16213 \    func_stripname_result=${func_stripname_result#"${1}"}\
16214 \    func_stripname_result=${func_stripname_result%"${2}"}\
16215 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16216   && mv -f "$cfgfile.tmp" "$cfgfile" \
16217     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16218 test 0 -eq $? || _lt_function_replace_fail=:
16219
16220
16221   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16222 func_split_long_opt ()\
16223 {\
16224 \    func_split_long_opt_name=${1%%=*}\
16225 \    func_split_long_opt_arg=${1#*=}\
16226 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16227   && mv -f "$cfgfile.tmp" "$cfgfile" \
16228     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16229 test 0 -eq $? || _lt_function_replace_fail=:
16230
16231
16232   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16233 func_split_short_opt ()\
16234 {\
16235 \    func_split_short_opt_arg=${1#??}\
16236 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16237 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16238   && mv -f "$cfgfile.tmp" "$cfgfile" \
16239     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16240 test 0 -eq $? || _lt_function_replace_fail=:
16241
16242
16243   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16244 func_lo2o ()\
16245 {\
16246 \    case ${1} in\
16247 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16248 \      *)    func_lo2o_result=${1} ;;\
16249 \    esac\
16250 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16251   && mv -f "$cfgfile.tmp" "$cfgfile" \
16252     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16253 test 0 -eq $? || _lt_function_replace_fail=:
16254
16255
16256   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16257 func_xform ()\
16258 {\
16259     func_xform_result=${1%.*}.lo\
16260 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16261   && mv -f "$cfgfile.tmp" "$cfgfile" \
16262     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16263 test 0 -eq $? || _lt_function_replace_fail=:
16264
16265
16266   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16267 func_arith ()\
16268 {\
16269     func_arith_result=$(( $* ))\
16270 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16271   && mv -f "$cfgfile.tmp" "$cfgfile" \
16272     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16273 test 0 -eq $? || _lt_function_replace_fail=:
16274
16275
16276   sed -e '/^func_len ()$/,/^} # func_len /c\
16277 func_len ()\
16278 {\
16279     func_len_result=${#1}\
16280 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16281   && mv -f "$cfgfile.tmp" "$cfgfile" \
16282     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16283 test 0 -eq $? || _lt_function_replace_fail=:
16284
16285 fi
16286
16287 if test x"$lt_shell_append" = xyes; then
16288   sed -e '/^func_append ()$/,/^} # func_append /c\
16289 func_append ()\
16290 {\
16291     eval "${1}+=\\${2}"\
16292 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16293   && mv -f "$cfgfile.tmp" "$cfgfile" \
16294     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16295 test 0 -eq $? || _lt_function_replace_fail=:
16296
16297
16298   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16299 func_append_quoted ()\
16300 {\
16301 \    func_quote_for_eval "${2}"\
16302 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16303 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16304   && mv -f "$cfgfile.tmp" "$cfgfile" \
16305     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16306 test 0 -eq $? || _lt_function_replace_fail=:
16307
16308
16309   # Save a `func_append' function call where possible by direct use of '+='
16310   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16311     && mv -f "$cfgfile.tmp" "$cfgfile" \
16312       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16313   test 0 -eq $? || _lt_function_replace_fail=:
16314 else
16315   # Save a `func_append' function call even when '+=' is not available
16316   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16317     && mv -f "$cfgfile.tmp" "$cfgfile" \
16318       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16319   test 0 -eq $? || _lt_function_replace_fail=:
16320 fi
16321
16322 if test x"$_lt_function_replace_fail" = x":"; then
16323   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16324 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16325 fi
16326
16327
16328    mv -f "$cfgfile" "$ofile" ||
16329     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16330   chmod +x "$ofile"
16331
16332  ;;
16333     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16334         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16335       esac ;;
16336     "po/stamp-it":C)
16337     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16338        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16339     fi
16340     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16341     >"po/stamp-it.tmp"
16342     sed '/^#/d
16343          s/^[[].*] *//
16344          /^[    ]*$/d
16345         '"s|^|  $ac_top_srcdir/|" \
16346       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16347
16348     sed '/^POTFILES =/,/[^\\]$/ {
16349                 /^POTFILES =/!d
16350                 r po/POTFILES
16351           }
16352          ' "po/Makefile.in" >"po/Makefile"
16353     rm -f "po/Makefile.tmp"
16354     mv "po/stamp-it.tmp" "po/stamp-it"
16355    ;;
16356
16357   esac
16358 done # for ac_tag
16359
16360
16361 as_fn_exit 0
16362 _ACEOF
16363 ac_clean_files=$ac_clean_files_save
16364
16365 test $ac_write_fail = 0 ||
16366   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16367
16368
16369 # configure is writing to config.log, and then calls config.status.
16370 # config.status does its own redirection, appending to config.log.
16371 # Unfortunately, on DOS this fails, as config.log is still kept open
16372 # by configure, so config.status won't be able to write to it; its
16373 # output is simply discarded.  So we exec the FD to /dev/null,
16374 # effectively closing config.log, so it can be properly (re)opened and
16375 # appended to by config.status.  When coming back to configure, we
16376 # need to make the FD available again.
16377 if test "$no_create" != yes; then
16378   ac_cs_success=:
16379   ac_config_status_args=
16380   test "$silent" = yes &&
16381     ac_config_status_args="$ac_config_status_args --quiet"
16382   exec 5>/dev/null
16383   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16384   exec 5>>config.log
16385   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16386   # would make configure fail if this is the last instruction.
16387   $ac_cs_success || as_fn_exit 1
16388 fi
16389 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16390   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16391 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16392 fi
16393
16394
16395 echo "
16396
16397                     ${PACKAGE} ${VERSION}
16398                     ============
16399
16400
16401         Prefix:                 ${prefix}
16402         Source code location:   ${srcdir}
16403         Compiler:               ${CC}
16404         CFLAGS:                 ${CFLAGS}
16405 "