Update Changelog
[profile/ivi/rygel-gst-0-10-fullscreen-renderer.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-fullscreen-renderer 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-fullscreen-renderer'
593 PACKAGE_TARNAME='rygel-gst-0-10-fullscreen-renderer'
594 PACKAGE_VERSION='1.17.4'
595 PACKAGE_STRING='rygel-gst-0-10-fullscreen-renderer 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/fullscreen-renderer.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 AM_BACKSLASH
642 AM_DEFAULT_V
643 AM_V
644 ALL_LINGUAS
645 INTLTOOL_PERL
646 MSGMERGE
647 INTLTOOL_POLICY_RULE
648 INTLTOOL_SERVICE_RULE
649 INTLTOOL_THEME_RULE
650 INTLTOOL_SCHEMAS_RULE
651 INTLTOOL_CAVES_RULE
652 INTLTOOL_XML_NOMERGE_RULE
653 INTLTOOL_XML_RULE
654 INTLTOOL_KBD_RULE
655 INTLTOOL_XAM_RULE
656 INTLTOOL_UI_RULE
657 INTLTOOL_SOUNDLIST_RULE
658 INTLTOOL_SHEET_RULE
659 INTLTOOL_SERVER_RULE
660 INTLTOOL_PONG_RULE
661 INTLTOOL_OAF_RULE
662 INTLTOOL_PROP_RULE
663 INTLTOOL_KEYS_RULE
664 INTLTOOL_DIRECTORY_RULE
665 INTLTOOL_DESKTOP_RULE
666 intltool__v_merge_options_0
667 intltool__v_merge_options_
668 INTLTOOL_V_MERGE_OPTIONS
669 INTLTOOL__v_MERGE_0
670 INTLTOOL__v_MERGE_
671 INTLTOOL_V_MERGE
672 AM_DEFAULT_VERBOSITY
673 INTLTOOL_EXTRACT
674 INTLTOOL_MERGE
675 INTLTOOL_UPDATE
676 MKINSTALLDIRS
677 POSUB
678 POFILES
679 PO_IN_DATADIR_FALSE
680 PO_IN_DATADIR_TRUE
681 INTLLIBS
682 INSTOBJEXT
683 GMOFILES
684 DATADIRNAME
685 CATOBJEXT
686 CATALOGS
687 XGETTEXT
688 GMSGFMT
689 MSGFMT_OPTS
690 MSGFMT
691 USE_NLS
692 GETTEXT_PACKAGE
693 RYGEL_PLUGIN_DIR
694 RYGEL_PLUGIN_LINKER_FLAGS
695 BUILD_PLUGIN_FALSE
696 BUILD_PLUGIN_TRUE
697 BUILD_UI_FALSE
698 BUILD_UI_TRUE
699 GTK_LIBS
700 GTK_CFLAGS
701 DEPS_LIBS
702 DEPS_CFLAGS
703 PKG_CONFIG_LIBDIR
704 PKG_CONFIG_PATH
705 PKG_CONFIG
706 OTOOL64
707 OTOOL
708 LIPO
709 NMEDIT
710 DSYMUTIL
711 MANIFEST_TOOL
712 RANLIB
713 ac_ct_AR
714 AR
715 DLLTOOL
716 OBJDUMP
717 LN_S
718 NM
719 ac_ct_DUMPBIN
720 DUMPBIN
721 LD
722 FGREP
723 SED
724 host_os
725 host_vendor
726 host_cpu
727 host
728 build_os
729 build_vendor
730 build_cpu
731 build
732 LIBTOOL
733 MAINT
734 MAINTAINER_MODE_FALSE
735 MAINTAINER_MODE_TRUE
736 am__fastdepCC_FALSE
737 am__fastdepCC_TRUE
738 CCDEPMODE
739 am__nodep
740 AMDEPBACKSLASH
741 AMDEP_FALSE
742 AMDEP_TRUE
743 am__quote
744 am__include
745 DEPDIR
746 am__untar
747 am__tar
748 AMTAR
749 am__leading_dot
750 SET_MAKE
751 AWK
752 mkdir_p
753 MKDIR_P
754 INSTALL_STRIP_PROGRAM
755 STRIP
756 install_sh
757 MAKEINFO
758 AUTOHEADER
759 AUTOMAKE
760 AUTOCONF
761 ACLOCAL
762 PACKAGE
763 CYGPATH_W
764 am__isrc
765 INSTALL_DATA
766 INSTALL_SCRIPT
767 INSTALL_PROGRAM
768 VERSION
769 EGREP
770 GREP
771 CPP
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
778 CC
779 target_alias
780 host_alias
781 build_alias
782 LIBS
783 ECHO_T
784 ECHO_N
785 ECHO_C
786 DEFS
787 mandir
788 localedir
789 libdir
790 psdir
791 pdfdir
792 dvidir
793 htmldir
794 infodir
795 docdir
796 oldincludedir
797 includedir
798 localstatedir
799 sharedstatedir
800 sysconfdir
801 datadir
802 datarootdir
803 libexecdir
804 sbindir
805 bindir
806 program_transform_name
807 prefix
808 exec_prefix
809 PACKAGE_URL
810 PACKAGE_BUGREPORT
811 PACKAGE_STRING
812 PACKAGE_VERSION
813 PACKAGE_TARNAME
814 PACKAGE_NAME
815 PATH_SEPARATOR
816 SHELL'
817 ac_subst_files=''
818 ac_user_opts='
819 enable_option_checking
820 enable_dependency_tracking
821 enable_maintainer_mode
822 enable_static
823 enable_shared
824 with_pic
825 enable_fast_install
826 with_gnu_ld
827 with_sysroot
828 enable_libtool_lock
829 enable_debug
830 enable_strict_cc
831 enable_plugin
832 enable_nls
833 enable_silent_rules
834 '
835       ac_precious_vars='build_alias
836 host_alias
837 target_alias
838 CC
839 CFLAGS
840 LDFLAGS
841 LIBS
842 CPPFLAGS
843 CPP
844 PKG_CONFIG
845 PKG_CONFIG_PATH
846 PKG_CONFIG_LIBDIR
847 DEPS_CFLAGS
848 DEPS_LIBS
849 GTK_CFLAGS
850 GTK_LIBS'
851
852
853 # Initialize some variables set by options.
854 ac_init_help=
855 ac_init_version=false
856 ac_unrecognized_opts=
857 ac_unrecognized_sep=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
860 cache_file=/dev/null
861 exec_prefix=NONE
862 no_create=
863 no_recursion=
864 prefix=NONE
865 program_prefix=NONE
866 program_suffix=NONE
867 program_transform_name=s,x,x,
868 silent=
869 site=
870 srcdir=
871 verbose=
872 x_includes=NONE
873 x_libraries=NONE
874
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir='${exec_prefix}/bin'
882 sbindir='${exec_prefix}/sbin'
883 libexecdir='${exec_prefix}/libexec'
884 datarootdir='${prefix}/share'
885 datadir='${datarootdir}'
886 sysconfdir='${prefix}/etc'
887 sharedstatedir='${prefix}/com'
888 localstatedir='${prefix}/var'
889 includedir='${prefix}/include'
890 oldincludedir='/usr/include'
891 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
892 infodir='${datarootdir}/info'
893 htmldir='${docdir}'
894 dvidir='${docdir}'
895 pdfdir='${docdir}'
896 psdir='${docdir}'
897 libdir='${exec_prefix}/lib'
898 localedir='${datarootdir}/locale'
899 mandir='${datarootdir}/man'
900
901 ac_prev=
902 ac_dashdash=
903 for ac_option
904 do
905   # If the previous option needs an argument, assign it.
906   if test -n "$ac_prev"; then
907     eval $ac_prev=\$ac_option
908     ac_prev=
909     continue
910   fi
911
912   case $ac_option in
913   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
914   *=)   ac_optarg= ;;
915   *)    ac_optarg=yes ;;
916   esac
917
918   # Accept the important Cygnus configure options, so we can diagnose typos.
919
920   case $ac_dashdash$ac_option in
921   --)
922     ac_dashdash=yes ;;
923
924   -bindir | --bindir | --bindi | --bind | --bin | --bi)
925     ac_prev=bindir ;;
926   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
927     bindir=$ac_optarg ;;
928
929   -build | --build | --buil | --bui | --bu)
930     ac_prev=build_alias ;;
931   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
932     build_alias=$ac_optarg ;;
933
934   -cache-file | --cache-file | --cache-fil | --cache-fi \
935   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
936     ac_prev=cache_file ;;
937   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
938   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
939     cache_file=$ac_optarg ;;
940
941   --config-cache | -C)
942     cache_file=config.cache ;;
943
944   -datadir | --datadir | --datadi | --datad)
945     ac_prev=datadir ;;
946   -datadir=* | --datadir=* | --datadi=* | --datad=*)
947     datadir=$ac_optarg ;;
948
949   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
950   | --dataroo | --dataro | --datar)
951     ac_prev=datarootdir ;;
952   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
953   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
954     datarootdir=$ac_optarg ;;
955
956   -disable-* | --disable-*)
957     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958     # Reject names that are not valid shell variable names.
959     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960       as_fn_error $? "invalid feature name: $ac_useropt"
961     ac_useropt_orig=$ac_useropt
962     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963     case $ac_user_opts in
964       *"
965 "enable_$ac_useropt"
966 "*) ;;
967       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968          ac_unrecognized_sep=', ';;
969     esac
970     eval enable_$ac_useropt=no ;;
971
972   -docdir | --docdir | --docdi | --doc | --do)
973     ac_prev=docdir ;;
974   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
975     docdir=$ac_optarg ;;
976
977   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
978     ac_prev=dvidir ;;
979   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
980     dvidir=$ac_optarg ;;
981
982   -enable-* | --enable-*)
983     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984     # Reject names that are not valid shell variable names.
985     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986       as_fn_error $? "invalid feature name: $ac_useropt"
987     ac_useropt_orig=$ac_useropt
988     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989     case $ac_user_opts in
990       *"
991 "enable_$ac_useropt"
992 "*) ;;
993       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994          ac_unrecognized_sep=', ';;
995     esac
996     eval enable_$ac_useropt=\$ac_optarg ;;
997
998   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000   | --exec | --exe | --ex)
1001     ac_prev=exec_prefix ;;
1002   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004   | --exec=* | --exe=* | --ex=*)
1005     exec_prefix=$ac_optarg ;;
1006
1007   -gas | --gas | --ga | --g)
1008     # Obsolete; use --with-gas.
1009     with_gas=yes ;;
1010
1011   -help | --help | --hel | --he | -h)
1012     ac_init_help=long ;;
1013   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1014     ac_init_help=recursive ;;
1015   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1016     ac_init_help=short ;;
1017
1018   -host | --host | --hos | --ho)
1019     ac_prev=host_alias ;;
1020   -host=* | --host=* | --hos=* | --ho=*)
1021     host_alias=$ac_optarg ;;
1022
1023   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1024     ac_prev=htmldir ;;
1025   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1026   | --ht=*)
1027     htmldir=$ac_optarg ;;
1028
1029   -includedir | --includedir | --includedi | --included | --include \
1030   | --includ | --inclu | --incl | --inc)
1031     ac_prev=includedir ;;
1032   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033   | --includ=* | --inclu=* | --incl=* | --inc=*)
1034     includedir=$ac_optarg ;;
1035
1036   -infodir | --infodir | --infodi | --infod | --info | --inf)
1037     ac_prev=infodir ;;
1038   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039     infodir=$ac_optarg ;;
1040
1041   -libdir | --libdir | --libdi | --libd)
1042     ac_prev=libdir ;;
1043   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044     libdir=$ac_optarg ;;
1045
1046   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047   | --libexe | --libex | --libe)
1048     ac_prev=libexecdir ;;
1049   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050   | --libexe=* | --libex=* | --libe=*)
1051     libexecdir=$ac_optarg ;;
1052
1053   -localedir | --localedir | --localedi | --localed | --locale)
1054     ac_prev=localedir ;;
1055   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056     localedir=$ac_optarg ;;
1057
1058   -localstatedir | --localstatedir | --localstatedi | --localstated \
1059   | --localstate | --localstat | --localsta | --localst | --locals)
1060     ac_prev=localstatedir ;;
1061   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063     localstatedir=$ac_optarg ;;
1064
1065   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1066     ac_prev=mandir ;;
1067   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068     mandir=$ac_optarg ;;
1069
1070   -nfp | --nfp | --nf)
1071     # Obsolete; use --without-fp.
1072     with_fp=no ;;
1073
1074   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075   | --no-cr | --no-c | -n)
1076     no_create=yes ;;
1077
1078   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1080     no_recursion=yes ;;
1081
1082   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084   | --oldin | --oldi | --old | --ol | --o)
1085     ac_prev=oldincludedir ;;
1086   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089     oldincludedir=$ac_optarg ;;
1090
1091   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1092     ac_prev=prefix ;;
1093   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094     prefix=$ac_optarg ;;
1095
1096   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097   | --program-pre | --program-pr | --program-p)
1098     ac_prev=program_prefix ;;
1099   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101     program_prefix=$ac_optarg ;;
1102
1103   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104   | --program-suf | --program-su | --program-s)
1105     ac_prev=program_suffix ;;
1106   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108     program_suffix=$ac_optarg ;;
1109
1110   -program-transform-name | --program-transform-name \
1111   | --program-transform-nam | --program-transform-na \
1112   | --program-transform-n | --program-transform- \
1113   | --program-transform | --program-transfor \
1114   | --program-transfo | --program-transf \
1115   | --program-trans | --program-tran \
1116   | --progr-tra | --program-tr | --program-t)
1117     ac_prev=program_transform_name ;;
1118   -program-transform-name=* | --program-transform-name=* \
1119   | --program-transform-nam=* | --program-transform-na=* \
1120   | --program-transform-n=* | --program-transform-=* \
1121   | --program-transform=* | --program-transfor=* \
1122   | --program-transfo=* | --program-transf=* \
1123   | --program-trans=* | --program-tran=* \
1124   | --progr-tra=* | --program-tr=* | --program-t=*)
1125     program_transform_name=$ac_optarg ;;
1126
1127   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1128     ac_prev=pdfdir ;;
1129   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130     pdfdir=$ac_optarg ;;
1131
1132   -psdir | --psdir | --psdi | --psd | --ps)
1133     ac_prev=psdir ;;
1134   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1135     psdir=$ac_optarg ;;
1136
1137   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138   | -silent | --silent | --silen | --sile | --sil)
1139     silent=yes ;;
1140
1141   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1142     ac_prev=sbindir ;;
1143   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1144   | --sbi=* | --sb=*)
1145     sbindir=$ac_optarg ;;
1146
1147   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1148   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1149   | --sharedst | --shareds | --shared | --share | --shar \
1150   | --sha | --sh)
1151     ac_prev=sharedstatedir ;;
1152   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1153   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1154   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1155   | --sha=* | --sh=*)
1156     sharedstatedir=$ac_optarg ;;
1157
1158   -site | --site | --sit)
1159     ac_prev=site ;;
1160   -site=* | --site=* | --sit=*)
1161     site=$ac_optarg ;;
1162
1163   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1164     ac_prev=srcdir ;;
1165   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1166     srcdir=$ac_optarg ;;
1167
1168   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1169   | --syscon | --sysco | --sysc | --sys | --sy)
1170     ac_prev=sysconfdir ;;
1171   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1172   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1173     sysconfdir=$ac_optarg ;;
1174
1175   -target | --target | --targe | --targ | --tar | --ta | --t)
1176     ac_prev=target_alias ;;
1177   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1178     target_alias=$ac_optarg ;;
1179
1180   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1181     verbose=yes ;;
1182
1183   -version | --version | --versio | --versi | --vers | -V)
1184     ac_init_version=: ;;
1185
1186   -with-* | --with-*)
1187     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188     # Reject names that are not valid shell variable names.
1189     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190       as_fn_error $? "invalid package name: $ac_useropt"
1191     ac_useropt_orig=$ac_useropt
1192     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193     case $ac_user_opts in
1194       *"
1195 "with_$ac_useropt"
1196 "*) ;;
1197       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1198          ac_unrecognized_sep=', ';;
1199     esac
1200     eval with_$ac_useropt=\$ac_optarg ;;
1201
1202   -without-* | --without-*)
1203     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1204     # Reject names that are not valid shell variable names.
1205     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206       as_fn_error $? "invalid package name: $ac_useropt"
1207     ac_useropt_orig=$ac_useropt
1208     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209     case $ac_user_opts in
1210       *"
1211 "with_$ac_useropt"
1212 "*) ;;
1213       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214          ac_unrecognized_sep=', ';;
1215     esac
1216     eval with_$ac_useropt=no ;;
1217
1218   --x)
1219     # Obsolete; use --with-x.
1220     with_x=yes ;;
1221
1222   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1223   | --x-incl | --x-inc | --x-in | --x-i)
1224     ac_prev=x_includes ;;
1225   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1226   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1227     x_includes=$ac_optarg ;;
1228
1229   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1230   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1231     ac_prev=x_libraries ;;
1232   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1233   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1234     x_libraries=$ac_optarg ;;
1235
1236   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1237 Try \`$0 --help' for more information"
1238     ;;
1239
1240   *=*)
1241     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1242     # Reject names that are not valid shell variable names.
1243     case $ac_envvar in #(
1244       '' | [0-9]* | *[!_$as_cr_alnum]* )
1245       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1246     esac
1247     eval $ac_envvar=\$ac_optarg
1248     export $ac_envvar ;;
1249
1250   *)
1251     # FIXME: should be removed in autoconf 3.0.
1252     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1254       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1256     ;;
1257
1258   esac
1259 done
1260
1261 if test -n "$ac_prev"; then
1262   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1263   as_fn_error $? "missing argument to $ac_option"
1264 fi
1265
1266 if test -n "$ac_unrecognized_opts"; then
1267   case $enable_option_checking in
1268     no) ;;
1269     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1270     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1271   esac
1272 fi
1273
1274 # Check all directory arguments for consistency.
1275 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276                 datadir sysconfdir sharedstatedir localstatedir includedir \
1277                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278                 libdir localedir mandir
1279 do
1280   eval ac_val=\$$ac_var
1281   # Remove trailing slashes.
1282   case $ac_val in
1283     */ )
1284       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285       eval $ac_var=\$ac_val;;
1286   esac
1287   # Be sure to have absolute directory names.
1288   case $ac_val in
1289     [\\/$]* | ?:[\\/]* )  continue;;
1290     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1291   esac
1292   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1293 done
1294
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1298 build=$build_alias
1299 host=$host_alias
1300 target=$target_alias
1301
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x; then
1304   if test "x$build_alias" = x; then
1305     cross_compiling=maybe
1306   elif test "x$build_alias" != "x$host_alias"; then
1307     cross_compiling=yes
1308   fi
1309 fi
1310
1311 ac_tool_prefix=
1312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1313
1314 test "$silent" = yes && exec 6>/dev/null
1315
1316
1317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di=`ls -di .` &&
1319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1320   as_fn_error $? "working directory cannot be determined"
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322   as_fn_error $? "pwd does not report name of working directory"
1323
1324
1325 # Find the source files, if location was not specified.
1326 if test -z "$srcdir"; then
1327   ac_srcdir_defaulted=yes
1328   # Try the directory containing this script, then the parent directory.
1329   ac_confdir=`$as_dirname -- "$as_myself" ||
1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1331          X"$as_myself" : 'X\(//\)[^/]' \| \
1332          X"$as_myself" : 'X\(//\)$' \| \
1333          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1334 $as_echo X"$as_myself" |
1335     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1336             s//\1/
1337             q
1338           }
1339           /^X\(\/\/\)[^/].*/{
1340             s//\1/
1341             q
1342           }
1343           /^X\(\/\/\)$/{
1344             s//\1/
1345             q
1346           }
1347           /^X\(\/\).*/{
1348             s//\1/
1349             q
1350           }
1351           s/.*/./; q'`
1352   srcdir=$ac_confdir
1353   if test ! -r "$srcdir/$ac_unique_file"; then
1354     srcdir=..
1355   fi
1356 else
1357   ac_srcdir_defaulted=no
1358 fi
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1361   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1362 fi
1363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1364 ac_abs_confdir=`(
1365         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1366         pwd)`
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1369   srcdir=.
1370 fi
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1374 case $srcdir in
1375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1376 esac
1377 for ac_var in $ac_precious_vars; do
1378   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1379   eval ac_env_${ac_var}_value=\$${ac_var}
1380   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1381   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1382 done
1383
1384 #
1385 # Report the --help message.
1386 #
1387 if test "$ac_init_help" = "long"; then
1388   # Omit some internal or obsolete options to make the list less imposing.
1389   # This message is too long to be a string in the A/UX 3.1 sh.
1390   cat <<_ACEOF
1391 \`configure' configures rygel-gst-0-10-fullscreen-renderer 1.17.4 to adapt to many kinds of systems.
1392
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1394
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE.  See below for descriptions of some of the useful variables.
1397
1398 Defaults for the options are specified in brackets.
1399
1400 Configuration:
1401   -h, --help              display this help and exit
1402       --help=short        display options specific to this package
1403       --help=recursive    display the short help of all the included packages
1404   -V, --version           display version information and exit
1405   -q, --quiet, --silent   do not print \`checking ...' messages
1406       --cache-file=FILE   cache test results in FILE [disabled]
1407   -C, --config-cache      alias for \`--cache-file=config.cache'
1408   -n, --no-create         do not create output files
1409       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1410
1411 Installation directories:
1412   --prefix=PREFIX         install architecture-independent files in PREFIX
1413                           [$ac_default_prefix]
1414   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1415                           [PREFIX]
1416
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1421
1422 For better control, use the options below.
1423
1424 Fine tuning of the installation directories:
1425   --bindir=DIR            user executables [EPREFIX/bin]
1426   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1427   --libexecdir=DIR        program executables [EPREFIX/libexec]
1428   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1429   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1430   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1431   --libdir=DIR            object code libraries [EPREFIX/lib]
1432   --includedir=DIR        C header files [PREFIX/include]
1433   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1434   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1435   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1436   --infodir=DIR           info documentation [DATAROOTDIR/info]
1437   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1438   --mandir=DIR            man documentation [DATAROOTDIR/man]
1439   --docdir=DIR            documentation root
1440                           [DATAROOTDIR/doc/rygel-gst-0-10-fullscreen-renderer]
1441   --htmldir=DIR           html documentation [DOCDIR]
1442   --dvidir=DIR            dvi documentation [DOCDIR]
1443   --pdfdir=DIR            pdf documentation [DOCDIR]
1444   --psdir=DIR             ps documentation [DOCDIR]
1445 _ACEOF
1446
1447   cat <<\_ACEOF
1448
1449 Program names:
1450   --program-prefix=PREFIX            prepend PREFIX to installed program names
1451   --program-suffix=SUFFIX            append SUFFIX to installed program names
1452   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1453
1454 System types:
1455   --build=BUILD     configure for building on BUILD [guessed]
1456   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1457 _ACEOF
1458 fi
1459
1460 if test -n "$ac_init_help"; then
1461   case $ac_init_help in
1462      short | recursive ) echo "Configuration of rygel-gst-0-10-fullscreen-renderer 1.17.4:";;
1463    esac
1464   cat <<\_ACEOF
1465
1466 Optional Features:
1467   --disable-option-checking  ignore unrecognized --enable/--with options
1468   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1469   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1470   --disable-dependency-tracking  speeds up one-time build
1471   --enable-dependency-tracking   do not reject slow dependency extractors
1472   --disable-maintainer-mode  disable make rules and dependencies not useful
1473                           (and sometimes confusing) to the casual installer
1474   --enable-static[=PKGS]  build static libraries [default=no]
1475   --enable-shared[=PKGS]  build shared libraries [default=yes]
1476   --enable-fast-install[=PKGS]
1477                           optimize for fast installation [default=yes]
1478   --disable-libtool-lock  avoid locking (might break parallel builds)
1479   --enable-debug          enable debugging
1480   --enable-strict-cc      enable strict C compiler
1481   --enable-plugin         Build a Rygel plugin
1482   --disable-nls           do not use Native Language Support
1483   --enable-silent-rules          less verbose build output (undo: `make V=1')
1484   --disable-silent-rules         verbose build output (undo: `make V=0')
1485
1486 Optional Packages:
1487   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1488   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1489   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1490                           both]
1491   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1492   --with-sysroot=DIR Search for dependent libraries within DIR
1493                         (or the compiler's sysroot if not specified).
1494
1495 Some influential environment variables:
1496   CC          C compiler command
1497   CFLAGS      C compiler flags
1498   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1499               nonstandard directory <lib dir>
1500   LIBS        libraries to pass to the linker, e.g. -l<library>
1501   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502               you have headers in a nonstandard directory <include dir>
1503   CPP         C preprocessor
1504   PKG_CONFIG  path to pkg-config utility
1505   PKG_CONFIG_PATH
1506               directories to add to pkg-config's search path
1507   PKG_CONFIG_LIBDIR
1508               path overriding pkg-config's built-in search path
1509   DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1510   DEPS_LIBS   linker flags for DEPS, overriding pkg-config
1511   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1512   GTK_LIBS    linker flags for GTK, overriding pkg-config
1513
1514 Use these variables to override the choices made by `configure' or to help
1515 it to find libraries and programs with nonstandard names/locations.
1516
1517 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
1518 rygel-gst-0-10-fullscreen-renderer home page: <http://live.gnome.org/Rygel>.
1519 _ACEOF
1520 ac_status=$?
1521 fi
1522
1523 if test "$ac_init_help" = "recursive"; then
1524   # If there are subdirs, report their specific --help.
1525   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1526     test -d "$ac_dir" ||
1527       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1528       continue
1529     ac_builddir=.
1530
1531 case "$ac_dir" in
1532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533 *)
1534   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1535   # A ".." for each directory in $ac_dir_suffix.
1536   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1537   case $ac_top_builddir_sub in
1538   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1540   esac ;;
1541 esac
1542 ac_abs_top_builddir=$ac_pwd
1543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1544 # for backward compatibility:
1545 ac_top_builddir=$ac_top_build_prefix
1546
1547 case $srcdir in
1548   .)  # We are building in place.
1549     ac_srcdir=.
1550     ac_top_srcdir=$ac_top_builddir_sub
1551     ac_abs_top_srcdir=$ac_pwd ;;
1552   [\\/]* | ?:[\\/]* )  # Absolute name.
1553     ac_srcdir=$srcdir$ac_dir_suffix;
1554     ac_top_srcdir=$srcdir
1555     ac_abs_top_srcdir=$srcdir ;;
1556   *) # Relative name.
1557     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1558     ac_top_srcdir=$ac_top_build_prefix$srcdir
1559     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1560 esac
1561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1562
1563     cd "$ac_dir" || { ac_status=$?; continue; }
1564     # Check for guested configure.
1565     if test -f "$ac_srcdir/configure.gnu"; then
1566       echo &&
1567       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1568     elif test -f "$ac_srcdir/configure"; then
1569       echo &&
1570       $SHELL "$ac_srcdir/configure" --help=recursive
1571     else
1572       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1573     fi || ac_status=$?
1574     cd "$ac_pwd" || { ac_status=$?; break; }
1575   done
1576 fi
1577
1578 test -n "$ac_init_help" && exit $ac_status
1579 if $ac_init_version; then
1580   cat <<\_ACEOF
1581 rygel-gst-0-10-fullscreen-renderer configure 1.17.4
1582 generated by GNU Autoconf 2.69
1583
1584 Copyright (C) 2012 Free Software Foundation, Inc.
1585 This configure script is free software; the Free Software Foundation
1586 gives unlimited permission to copy, distribute and modify it.
1587 _ACEOF
1588   exit
1589 fi
1590
1591 ## ------------------------ ##
1592 ## Autoconf initialization. ##
1593 ## ------------------------ ##
1594
1595 # ac_fn_c_try_compile LINENO
1596 # --------------------------
1597 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_compile ()
1599 {
1600   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601   rm -f conftest.$ac_objext
1602   if { { ac_try="$ac_compile"
1603 case "(($ac_try" in
1604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605   *) ac_try_echo=$ac_try;;
1606 esac
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609   (eval "$ac_compile") 2>conftest.err
1610   ac_status=$?
1611   if test -s conftest.err; then
1612     grep -v '^ *+' conftest.err >conftest.er1
1613     cat conftest.er1 >&5
1614     mv -f conftest.er1 conftest.err
1615   fi
1616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617   test $ac_status = 0; } && {
1618          test -z "$ac_c_werror_flag" ||
1619          test ! -s conftest.err
1620        } && test -s conftest.$ac_objext; then :
1621   ac_retval=0
1622 else
1623   $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.$ac_ext >&5
1625
1626         ac_retval=1
1627 fi
1628   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629   as_fn_set_status $ac_retval
1630
1631 } # ac_fn_c_try_compile
1632
1633 # ac_fn_c_try_link LINENO
1634 # -----------------------
1635 # Try to link conftest.$ac_ext, and return whether this succeeded.
1636 ac_fn_c_try_link ()
1637 {
1638   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639   rm -f conftest.$ac_objext conftest$ac_exeext
1640   if { { ac_try="$ac_link"
1641 case "(($ac_try" in
1642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643   *) ac_try_echo=$ac_try;;
1644 esac
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647   (eval "$ac_link") 2>conftest.err
1648   ac_status=$?
1649   if test -s conftest.err; then
1650     grep -v '^ *+' conftest.err >conftest.er1
1651     cat conftest.er1 >&5
1652     mv -f conftest.er1 conftest.err
1653   fi
1654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655   test $ac_status = 0; } && {
1656          test -z "$ac_c_werror_flag" ||
1657          test ! -s conftest.err
1658        } && test -s conftest$ac_exeext && {
1659          test "$cross_compiling" = yes ||
1660          test -x conftest$ac_exeext
1661        }; then :
1662   ac_retval=0
1663 else
1664   $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.$ac_ext >&5
1666
1667         ac_retval=1
1668 fi
1669   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1670   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1671   # interfere with the next link command; also delete a directory that is
1672   # left behind by Apple's compiler.  We do this before executing the actions.
1673   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675   as_fn_set_status $ac_retval
1676
1677 } # ac_fn_c_try_link
1678
1679 # ac_fn_c_try_cpp LINENO
1680 # ----------------------
1681 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_c_try_cpp ()
1683 {
1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685   if { { ac_try="$ac_cpp conftest.$ac_ext"
1686 case "(($ac_try" in
1687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688   *) ac_try_echo=$ac_try;;
1689 esac
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1693   ac_status=$?
1694   if test -s conftest.err; then
1695     grep -v '^ *+' conftest.err >conftest.er1
1696     cat conftest.er1 >&5
1697     mv -f conftest.er1 conftest.err
1698   fi
1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700   test $ac_status = 0; } > conftest.i && {
1701          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1702          test ! -s conftest.err
1703        }; then :
1704   ac_retval=0
1705 else
1706   $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1708
1709     ac_retval=1
1710 fi
1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712   as_fn_set_status $ac_retval
1713
1714 } # ac_fn_c_try_cpp
1715
1716 # ac_fn_c_try_run LINENO
1717 # ----------------------
1718 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1719 # that executables *can* be run.
1720 ac_fn_c_try_run ()
1721 {
1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723   if { { ac_try="$ac_link"
1724 case "(($ac_try" in
1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726   *) ac_try_echo=$ac_try;;
1727 esac
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730   (eval "$ac_link") 2>&5
1731   ac_status=$?
1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1734   { { case "(($ac_try" in
1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736   *) ac_try_echo=$ac_try;;
1737 esac
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740   (eval "$ac_try") 2>&5
1741   ac_status=$?
1742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743   test $ac_status = 0; }; }; then :
1744   ac_retval=0
1745 else
1746   $as_echo "$as_me: program exited with status $ac_status" >&5
1747        $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1749
1750        ac_retval=$ac_status
1751 fi
1752   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754   as_fn_set_status $ac_retval
1755
1756 } # ac_fn_c_try_run
1757
1758 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1759 # -------------------------------------------------------
1760 # Tests whether HEADER exists and can be compiled using the include files in
1761 # INCLUDES, setting the cache variable VAR accordingly.
1762 ac_fn_c_check_header_compile ()
1763 {
1764   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if eval \${$3+:} false; then :
1768   $as_echo_n "(cached) " >&6
1769 else
1770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h.  */
1772 $4
1773 #include <$2>
1774 _ACEOF
1775 if ac_fn_c_try_compile "$LINENO"; then :
1776   eval "$3=yes"
1777 else
1778   eval "$3=no"
1779 fi
1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1781 fi
1782 eval ac_res=\$$3
1783                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786
1787 } # ac_fn_c_check_header_compile
1788
1789 # ac_fn_c_check_func LINENO FUNC VAR
1790 # ----------------------------------
1791 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1792 ac_fn_c_check_func ()
1793 {
1794   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \${$3+:} false; then :
1798   $as_echo_n "(cached) " >&6
1799 else
1800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h.  */
1802 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1803    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1804 #define $2 innocuous_$2
1805
1806 /* System header to define __stub macros and hopefully few prototypes,
1807     which can conflict with char $2 (); below.
1808     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1809     <limits.h> exists even on freestanding compilers.  */
1810
1811 #ifdef __STDC__
1812 # include <limits.h>
1813 #else
1814 # include <assert.h>
1815 #endif
1816
1817 #undef $2
1818
1819 /* Override any GCC internal prototype to avoid an error.
1820    Use char because int might match the return type of a GCC
1821    builtin and then its argument prototype would still apply.  */
1822 #ifdef __cplusplus
1823 extern "C"
1824 #endif
1825 char $2 ();
1826 /* The GNU C library defines this for functions which it implements
1827     to always fail with ENOSYS.  Some functions are actually named
1828     something starting with __ and the normal name is an alias.  */
1829 #if defined __stub_$2 || defined __stub___$2
1830 choke me
1831 #endif
1832
1833 int
1834 main ()
1835 {
1836 return $2 ();
1837   ;
1838   return 0;
1839 }
1840 _ACEOF
1841 if ac_fn_c_try_link "$LINENO"; then :
1842   eval "$3=yes"
1843 else
1844   eval "$3=no"
1845 fi
1846 rm -f core conftest.err conftest.$ac_objext \
1847     conftest$ac_exeext conftest.$ac_ext
1848 fi
1849 eval ac_res=\$$3
1850                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853
1854 } # ac_fn_c_check_func
1855
1856 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1857 # -------------------------------------------------------
1858 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1859 # the include files in INCLUDES and setting the cache variable VAR
1860 # accordingly.
1861 ac_fn_c_check_header_mongrel ()
1862 {
1863   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864   if eval \${$3+:} false; then :
1865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if eval \${$3+:} false; then :
1868   $as_echo_n "(cached) " >&6
1869 fi
1870 eval ac_res=\$$3
1871                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 else
1874   # Is the header compilable?
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1876 $as_echo_n "checking $2 usability... " >&6; }
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h.  */
1879 $4
1880 #include <$2>
1881 _ACEOF
1882 if ac_fn_c_try_compile "$LINENO"; then :
1883   ac_header_compiler=yes
1884 else
1885   ac_header_compiler=no
1886 fi
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1889 $as_echo "$ac_header_compiler" >&6; }
1890
1891 # Is the header present?
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1893 $as_echo_n "checking $2 presence... " >&6; }
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h.  */
1896 #include <$2>
1897 _ACEOF
1898 if ac_fn_c_try_cpp "$LINENO"; then :
1899   ac_header_preproc=yes
1900 else
1901   ac_header_preproc=no
1902 fi
1903 rm -f conftest.err conftest.i conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1905 $as_echo "$ac_header_preproc" >&6; }
1906
1907 # So?  What about this header?
1908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1909   yes:no: )
1910     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1911 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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     ;;
1915   no:yes:* )
1916     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1917 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1918     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1919 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1920     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1921 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1922     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1923 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1924     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1925 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1926 ( $as_echo "## -------------------------------------------------------------------- ##
1927 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel ##
1928 ## -------------------------------------------------------------------- ##"
1929      ) | sed "s/^/$as_me: WARNING:     /" >&2
1930     ;;
1931 esac
1932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933 $as_echo_n "checking for $2... " >&6; }
1934 if eval \${$3+:} false; then :
1935   $as_echo_n "(cached) " >&6
1936 else
1937   eval "$3=\$ac_header_compiler"
1938 fi
1939 eval ac_res=\$$3
1940                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 fi
1943   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944
1945 } # ac_fn_c_check_header_mongrel
1946 cat >config.log <<_ACEOF
1947 This file contains any messages produced by compilers while
1948 running configure, to aid debugging if configure makes a mistake.
1949
1950 It was created by rygel-gst-0-10-fullscreen-renderer $as_me 1.17.4, which was
1951 generated by GNU Autoconf 2.69.  Invocation command line was
1952
1953   $ $0 $@
1954
1955 _ACEOF
1956 exec 5>>config.log
1957 {
1958 cat <<_ASUNAME
1959 ## --------- ##
1960 ## Platform. ##
1961 ## --------- ##
1962
1963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1968
1969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1970 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1971
1972 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1973 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1975 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1976 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1977 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1978 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1979
1980 _ASUNAME
1981
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 for as_dir in $PATH
1984 do
1985   IFS=$as_save_IFS
1986   test -z "$as_dir" && as_dir=.
1987     $as_echo "PATH: $as_dir"
1988   done
1989 IFS=$as_save_IFS
1990
1991 } >&5
1992
1993 cat >&5 <<_ACEOF
1994
1995
1996 ## ----------- ##
1997 ## Core tests. ##
1998 ## ----------- ##
1999
2000 _ACEOF
2001
2002
2003 # Keep a trace of the command line.
2004 # Strip out --no-create and --no-recursion so they do not pile up.
2005 # Strip out --silent because we don't want to record it for future runs.
2006 # Also quote any args containing shell meta-characters.
2007 # Make two passes to allow for proper duplicate-argument suppression.
2008 ac_configure_args=
2009 ac_configure_args0=
2010 ac_configure_args1=
2011 ac_must_keep_next=false
2012 for ac_pass in 1 2
2013 do
2014   for ac_arg
2015   do
2016     case $ac_arg in
2017     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2018     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2019     | -silent | --silent | --silen | --sile | --sil)
2020       continue ;;
2021     *\'*)
2022       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2023     esac
2024     case $ac_pass in
2025     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2026     2)
2027       as_fn_append ac_configure_args1 " '$ac_arg'"
2028       if test $ac_must_keep_next = true; then
2029         ac_must_keep_next=false # Got value, back to normal.
2030       else
2031         case $ac_arg in
2032           *=* | --config-cache | -C | -disable-* | --disable-* \
2033           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2034           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2035           | -with-* | --with-* | -without-* | --without-* | --x)
2036             case "$ac_configure_args0 " in
2037               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2038             esac
2039             ;;
2040           -* ) ac_must_keep_next=true ;;
2041         esac
2042       fi
2043       as_fn_append ac_configure_args " '$ac_arg'"
2044       ;;
2045     esac
2046   done
2047 done
2048 { ac_configure_args0=; unset ac_configure_args0;}
2049 { ac_configure_args1=; unset ac_configure_args1;}
2050
2051 # When interrupted or exit'd, cleanup temporary files, and complete
2052 # config.log.  We remove comments because anyway the quotes in there
2053 # would cause problems or look ugly.
2054 # WARNING: Use '\'' to represent an apostrophe within the trap.
2055 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2056 trap 'exit_status=$?
2057   # Save into config.log some information that might help in debugging.
2058   {
2059     echo
2060
2061     $as_echo "## ---------------- ##
2062 ## Cache variables. ##
2063 ## ---------------- ##"
2064     echo
2065     # The following way of writing the cache mishandles newlines in values,
2066 (
2067   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2068     eval ac_val=\$$ac_var
2069     case $ac_val in #(
2070     *${as_nl}*)
2071       case $ac_var in #(
2072       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2074       esac
2075       case $ac_var in #(
2076       _ | IFS | as_nl) ;; #(
2077       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2078       *) { eval $ac_var=; unset $ac_var;} ;;
2079       esac ;;
2080     esac
2081   done
2082   (set) 2>&1 |
2083     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2084     *${as_nl}ac_space=\ *)
2085       sed -n \
2086         "s/'\''/'\''\\\\'\'''\''/g;
2087           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2088       ;; #(
2089     *)
2090       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2091       ;;
2092     esac |
2093     sort
2094 )
2095     echo
2096
2097     $as_echo "## ----------------- ##
2098 ## Output variables. ##
2099 ## ----------------- ##"
2100     echo
2101     for ac_var in $ac_subst_vars
2102     do
2103       eval ac_val=\$$ac_var
2104       case $ac_val in
2105       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2106       esac
2107       $as_echo "$ac_var='\''$ac_val'\''"
2108     done | sort
2109     echo
2110
2111     if test -n "$ac_subst_files"; then
2112       $as_echo "## ------------------- ##
2113 ## File substitutions. ##
2114 ## ------------------- ##"
2115       echo
2116       for ac_var in $ac_subst_files
2117       do
2118         eval ac_val=\$$ac_var
2119         case $ac_val in
2120         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2121         esac
2122         $as_echo "$ac_var='\''$ac_val'\''"
2123       done | sort
2124       echo
2125     fi
2126
2127     if test -s confdefs.h; then
2128       $as_echo "## ----------- ##
2129 ## confdefs.h. ##
2130 ## ----------- ##"
2131       echo
2132       cat confdefs.h
2133       echo
2134     fi
2135     test "$ac_signal" != 0 &&
2136       $as_echo "$as_me: caught signal $ac_signal"
2137     $as_echo "$as_me: exit $exit_status"
2138   } >&5
2139   rm -f core *.core core.conftest.* &&
2140     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2141     exit $exit_status
2142 ' 0
2143 for ac_signal in 1 2 13 15; do
2144   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2145 done
2146 ac_signal=0
2147
2148 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2149 rm -f -r conftest* confdefs.h
2150
2151 $as_echo "/* confdefs.h */" > confdefs.h
2152
2153 # Predefined preprocessor variables.
2154
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_NAME "$PACKAGE_NAME"
2157 _ACEOF
2158
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2161 _ACEOF
2162
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2165 _ACEOF
2166
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_STRING "$PACKAGE_STRING"
2169 _ACEOF
2170
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2173 _ACEOF
2174
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_URL "$PACKAGE_URL"
2177 _ACEOF
2178
2179
2180 # Let the site file select an alternate cache file if it wants to.
2181 # Prefer an explicitly selected file to automatically selected ones.
2182 ac_site_file1=NONE
2183 ac_site_file2=NONE
2184 if test -n "$CONFIG_SITE"; then
2185   # We do not want a PATH search for config.site.
2186   case $CONFIG_SITE in #((
2187     -*)  ac_site_file1=./$CONFIG_SITE;;
2188     */*) ac_site_file1=$CONFIG_SITE;;
2189     *)   ac_site_file1=./$CONFIG_SITE;;
2190   esac
2191 elif test "x$prefix" != xNONE; then
2192   ac_site_file1=$prefix/share/config.site
2193   ac_site_file2=$prefix/etc/config.site
2194 else
2195   ac_site_file1=$ac_default_prefix/share/config.site
2196   ac_site_file2=$ac_default_prefix/etc/config.site
2197 fi
2198 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2199 do
2200   test "x$ac_site_file" = xNONE && continue
2201   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2202     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2203 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2204     sed 's/^/| /' "$ac_site_file" >&5
2205     . "$ac_site_file" \
2206       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208 as_fn_error $? "failed to load site script $ac_site_file
2209 See \`config.log' for more details" "$LINENO" 5; }
2210   fi
2211 done
2212
2213 if test -r "$cache_file"; then
2214   # Some versions of bash will fail to source /dev/null (special files
2215   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2216   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2217     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2218 $as_echo "$as_me: loading cache $cache_file" >&6;}
2219     case $cache_file in
2220       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2221       *)                      . "./$cache_file";;
2222     esac
2223   fi
2224 else
2225   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2226 $as_echo "$as_me: creating cache $cache_file" >&6;}
2227   >$cache_file
2228 fi
2229
2230 as_fn_append ac_header_list " stdlib.h"
2231 as_fn_append ac_header_list " unistd.h"
2232 as_fn_append ac_header_list " sys/param.h"
2233 # Check that the precious variables saved in the cache have kept the same
2234 # value.
2235 ac_cache_corrupted=false
2236 for ac_var in $ac_precious_vars; do
2237   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2238   eval ac_new_set=\$ac_env_${ac_var}_set
2239   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2240   eval ac_new_val=\$ac_env_${ac_var}_value
2241   case $ac_old_set,$ac_new_set in
2242     set,)
2243       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2244 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2245       ac_cache_corrupted=: ;;
2246     ,set)
2247       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2248 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2249       ac_cache_corrupted=: ;;
2250     ,);;
2251     *)
2252       if test "x$ac_old_val" != "x$ac_new_val"; then
2253         # differences in whitespace do not lead to failure.
2254         ac_old_val_w=`echo x $ac_old_val`
2255         ac_new_val_w=`echo x $ac_new_val`
2256         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2257           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2258 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2259           ac_cache_corrupted=:
2260         else
2261           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2262 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2263           eval $ac_var=\$ac_old_val
2264         fi
2265         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2266 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2267         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2268 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2269       fi;;
2270   esac
2271   # Pass precious variables to config.status.
2272   if test "$ac_new_set" = set; then
2273     case $ac_new_val in
2274     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2275     *) ac_arg=$ac_var=$ac_new_val ;;
2276     esac
2277     case " $ac_configure_args " in
2278       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2279       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2280     esac
2281   fi
2282 done
2283 if $ac_cache_corrupted; then
2284   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2286   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2287 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2288   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2289 fi
2290 ## -------------------- ##
2291 ## Main body of script. ##
2292 ## -------------------- ##
2293
2294 ac_ext=c
2295 ac_cpp='$CPP $CPPFLAGS'
2296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2299
2300
2301 ac_aux_dir=
2302 for ac_dir in build-aux "$srcdir"/build-aux; do
2303   if test -f "$ac_dir/install-sh"; then
2304     ac_aux_dir=$ac_dir
2305     ac_install_sh="$ac_aux_dir/install-sh -c"
2306     break
2307   elif test -f "$ac_dir/install.sh"; then
2308     ac_aux_dir=$ac_dir
2309     ac_install_sh="$ac_aux_dir/install.sh -c"
2310     break
2311   elif test -f "$ac_dir/shtool"; then
2312     ac_aux_dir=$ac_dir
2313     ac_install_sh="$ac_aux_dir/shtool install -c"
2314     break
2315   fi
2316 done
2317 if test -z "$ac_aux_dir"; then
2318   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2319 fi
2320
2321 # These three variables are undocumented and unsupported,
2322 # and are intended to be withdrawn in a future Autoconf release.
2323 # They can cause serious problems if a builder's source tree is in a directory
2324 # whose full name contains unusual characters.
2325 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2326 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2327 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2328
2329
2330
2331
2332 ac_config_headers="$ac_config_headers config.h"
2333
2334
2335
2336 ac_ext=c
2337 ac_cpp='$CPP $CPPFLAGS'
2338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2341 if test -n "$ac_tool_prefix"; then
2342   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2343 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2345 $as_echo_n "checking for $ac_word... " >&6; }
2346 if ${ac_cv_prog_CC+:} false; then :
2347   $as_echo_n "(cached) " >&6
2348 else
2349   if test -n "$CC"; then
2350   ac_cv_prog_CC="$CC" # Let the user override the test.
2351 else
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353 for as_dir in $PATH
2354 do
2355   IFS=$as_save_IFS
2356   test -z "$as_dir" && as_dir=.
2357     for ac_exec_ext in '' $ac_executable_extensions; do
2358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2359     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2361     break 2
2362   fi
2363 done
2364   done
2365 IFS=$as_save_IFS
2366
2367 fi
2368 fi
2369 CC=$ac_cv_prog_CC
2370 if test -n "$CC"; then
2371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2372 $as_echo "$CC" >&6; }
2373 else
2374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2375 $as_echo "no" >&6; }
2376 fi
2377
2378
2379 fi
2380 if test -z "$ac_cv_prog_CC"; then
2381   ac_ct_CC=$CC
2382   # Extract the first word of "gcc", so it can be a program name with args.
2383 set dummy gcc; ac_word=$2
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2387   $as_echo_n "(cached) " >&6
2388 else
2389   if test -n "$ac_ct_CC"; then
2390   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2391 else
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 for as_dir in $PATH
2394 do
2395   IFS=$as_save_IFS
2396   test -z "$as_dir" && as_dir=.
2397     for ac_exec_ext in '' $ac_executable_extensions; do
2398   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2399     ac_cv_prog_ac_ct_CC="gcc"
2400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2401     break 2
2402   fi
2403 done
2404   done
2405 IFS=$as_save_IFS
2406
2407 fi
2408 fi
2409 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2410 if test -n "$ac_ct_CC"; then
2411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2412 $as_echo "$ac_ct_CC" >&6; }
2413 else
2414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415 $as_echo "no" >&6; }
2416 fi
2417
2418   if test "x$ac_ct_CC" = x; then
2419     CC=""
2420   else
2421     case $cross_compiling:$ac_tool_warned in
2422 yes:)
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2425 ac_tool_warned=yes ;;
2426 esac
2427     CC=$ac_ct_CC
2428   fi
2429 else
2430   CC="$ac_cv_prog_CC"
2431 fi
2432
2433 if test -z "$CC"; then
2434           if test -n "$ac_tool_prefix"; then
2435     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2436 set dummy ${ac_tool_prefix}cc; ac_word=$2
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2438 $as_echo_n "checking for $ac_word... " >&6; }
2439 if ${ac_cv_prog_CC+:} false; then :
2440   $as_echo_n "(cached) " >&6
2441 else
2442   if test -n "$CC"; then
2443   ac_cv_prog_CC="$CC" # Let the user override the test.
2444 else
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 for as_dir in $PATH
2447 do
2448   IFS=$as_save_IFS
2449   test -z "$as_dir" && as_dir=.
2450     for ac_exec_ext in '' $ac_executable_extensions; do
2451   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2452     ac_cv_prog_CC="${ac_tool_prefix}cc"
2453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2454     break 2
2455   fi
2456 done
2457   done
2458 IFS=$as_save_IFS
2459
2460 fi
2461 fi
2462 CC=$ac_cv_prog_CC
2463 if test -n "$CC"; then
2464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2465 $as_echo "$CC" >&6; }
2466 else
2467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2469 fi
2470
2471
2472   fi
2473 fi
2474 if test -z "$CC"; then
2475   # Extract the first word of "cc", so it can be a program name with args.
2476 set dummy cc; ac_word=$2
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if ${ac_cv_prog_CC+:} false; then :
2480   $as_echo_n "(cached) " >&6
2481 else
2482   if test -n "$CC"; then
2483   ac_cv_prog_CC="$CC" # Let the user override the test.
2484 else
2485   ac_prog_rejected=no
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 for as_dir in $PATH
2488 do
2489   IFS=$as_save_IFS
2490   test -z "$as_dir" && as_dir=.
2491     for ac_exec_ext in '' $ac_executable_extensions; do
2492   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2493     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2494        ac_prog_rejected=yes
2495        continue
2496      fi
2497     ac_cv_prog_CC="cc"
2498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2499     break 2
2500   fi
2501 done
2502   done
2503 IFS=$as_save_IFS
2504
2505 if test $ac_prog_rejected = yes; then
2506   # We found a bogon in the path, so make sure we never use it.
2507   set dummy $ac_cv_prog_CC
2508   shift
2509   if test $# != 0; then
2510     # We chose a different compiler from the bogus one.
2511     # However, it has the same basename, so the bogon will be chosen
2512     # first if we set CC to just the basename; use the full file name.
2513     shift
2514     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2515   fi
2516 fi
2517 fi
2518 fi
2519 CC=$ac_cv_prog_CC
2520 if test -n "$CC"; then
2521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2522 $as_echo "$CC" >&6; }
2523 else
2524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2526 fi
2527
2528
2529 fi
2530 if test -z "$CC"; then
2531   if test -n "$ac_tool_prefix"; then
2532   for ac_prog in cl.exe
2533   do
2534     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2535 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2537 $as_echo_n "checking for $ac_word... " >&6; }
2538 if ${ac_cv_prog_CC+:} false; then :
2539   $as_echo_n "(cached) " >&6
2540 else
2541   if test -n "$CC"; then
2542   ac_cv_prog_CC="$CC" # Let the user override the test.
2543 else
2544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545 for as_dir in $PATH
2546 do
2547   IFS=$as_save_IFS
2548   test -z "$as_dir" && as_dir=.
2549     for ac_exec_ext in '' $ac_executable_extensions; do
2550   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2551     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2553     break 2
2554   fi
2555 done
2556   done
2557 IFS=$as_save_IFS
2558
2559 fi
2560 fi
2561 CC=$ac_cv_prog_CC
2562 if test -n "$CC"; then
2563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2564 $as_echo "$CC" >&6; }
2565 else
2566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2567 $as_echo "no" >&6; }
2568 fi
2569
2570
2571     test -n "$CC" && break
2572   done
2573 fi
2574 if test -z "$CC"; then
2575   ac_ct_CC=$CC
2576   for ac_prog in cl.exe
2577 do
2578   # Extract the first word of "$ac_prog", so it can be a program name with args.
2579 set dummy $ac_prog; ac_word=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2583   $as_echo_n "(cached) " >&6
2584 else
2585   if test -n "$ac_ct_CC"; then
2586   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2587 else
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 for as_dir in $PATH
2590 do
2591   IFS=$as_save_IFS
2592   test -z "$as_dir" && as_dir=.
2593     for ac_exec_ext in '' $ac_executable_extensions; do
2594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595     ac_cv_prog_ac_ct_CC="$ac_prog"
2596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2597     break 2
2598   fi
2599 done
2600   done
2601 IFS=$as_save_IFS
2602
2603 fi
2604 fi
2605 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2606 if test -n "$ac_ct_CC"; then
2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2608 $as_echo "$ac_ct_CC" >&6; }
2609 else
2610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2612 fi
2613
2614
2615   test -n "$ac_ct_CC" && break
2616 done
2617
2618   if test "x$ac_ct_CC" = x; then
2619     CC=""
2620   else
2621     case $cross_compiling:$ac_tool_warned in
2622 yes:)
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2625 ac_tool_warned=yes ;;
2626 esac
2627     CC=$ac_ct_CC
2628   fi
2629 fi
2630
2631 fi
2632
2633
2634 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2636 as_fn_error $? "no acceptable C compiler found in \$PATH
2637 See \`config.log' for more details" "$LINENO" 5; }
2638
2639 # Provide some information about the compiler.
2640 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2641 set X $ac_compile
2642 ac_compiler=$2
2643 for ac_option in --version -v -V -qversion; do
2644   { { ac_try="$ac_compiler $ac_option >&5"
2645 case "(($ac_try" in
2646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647   *) ac_try_echo=$ac_try;;
2648 esac
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2652   ac_status=$?
2653   if test -s conftest.err; then
2654     sed '10a\
2655 ... rest of stderr output deleted ...
2656          10q' conftest.err >conftest.er1
2657     cat conftest.er1 >&5
2658   fi
2659   rm -f conftest.er1 conftest.err
2660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2661   test $ac_status = 0; }
2662 done
2663
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h.  */
2666
2667 int
2668 main ()
2669 {
2670
2671   ;
2672   return 0;
2673 }
2674 _ACEOF
2675 ac_clean_files_save=$ac_clean_files
2676 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2677 # Try to create an executable without -o first, disregard a.out.
2678 # It will help us diagnose broken compilers, and finding out an intuition
2679 # of exeext.
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2681 $as_echo_n "checking whether the C compiler works... " >&6; }
2682 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2683
2684 # The possible output files:
2685 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2686
2687 ac_rmfiles=
2688 for ac_file in $ac_files
2689 do
2690   case $ac_file in
2691     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2692     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2693   esac
2694 done
2695 rm -f $ac_rmfiles
2696
2697 if { { ac_try="$ac_link_default"
2698 case "(($ac_try" in
2699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700   *) ac_try_echo=$ac_try;;
2701 esac
2702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2703 $as_echo "$ac_try_echo"; } >&5
2704   (eval "$ac_link_default") 2>&5
2705   ac_status=$?
2706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2707   test $ac_status = 0; }; then :
2708   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2709 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2710 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2711 # so that the user can short-circuit this test for compilers unknown to
2712 # Autoconf.
2713 for ac_file in $ac_files ''
2714 do
2715   test -f "$ac_file" || continue
2716   case $ac_file in
2717     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2718         ;;
2719     [ab].out )
2720         # We found the default executable, but exeext='' is most
2721         # certainly right.
2722         break;;
2723     *.* )
2724         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2725         then :; else
2726            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2727         fi
2728         # We set ac_cv_exeext here because the later test for it is not
2729         # safe: cross compilers may not add the suffix if given an `-o'
2730         # argument, so we may need to know it at that point already.
2731         # Even if this section looks crufty: it has the advantage of
2732         # actually working.
2733         break;;
2734     * )
2735         break;;
2736   esac
2737 done
2738 test "$ac_cv_exeext" = no && ac_cv_exeext=
2739
2740 else
2741   ac_file=''
2742 fi
2743 if test -z "$ac_file"; then :
2744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2746 $as_echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2748
2749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2751 as_fn_error 77 "C compiler cannot create executables
2752 See \`config.log' for more details" "$LINENO" 5; }
2753 else
2754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755 $as_echo "yes" >&6; }
2756 fi
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2758 $as_echo_n "checking for C compiler default output file name... " >&6; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2760 $as_echo "$ac_file" >&6; }
2761 ac_exeext=$ac_cv_exeext
2762
2763 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2764 ac_clean_files=$ac_clean_files_save
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2766 $as_echo_n "checking for suffix of executables... " >&6; }
2767 if { { ac_try="$ac_link"
2768 case "(($ac_try" in
2769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770   *) ac_try_echo=$ac_try;;
2771 esac
2772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2773 $as_echo "$ac_try_echo"; } >&5
2774   (eval "$ac_link") 2>&5
2775   ac_status=$?
2776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777   test $ac_status = 0; }; then :
2778   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2779 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2780 # work properly (i.e., refer to `conftest.exe'), while it won't with
2781 # `rm'.
2782 for ac_file in conftest.exe conftest conftest.*; do
2783   test -f "$ac_file" || continue
2784   case $ac_file in
2785     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2786     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2787           break;;
2788     * ) break;;
2789   esac
2790 done
2791 else
2792   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2794 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2795 See \`config.log' for more details" "$LINENO" 5; }
2796 fi
2797 rm -f conftest conftest$ac_cv_exeext
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2799 $as_echo "$ac_cv_exeext" >&6; }
2800
2801 rm -f conftest.$ac_ext
2802 EXEEXT=$ac_cv_exeext
2803 ac_exeext=$EXEEXT
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h.  */
2806 #include <stdio.h>
2807 int
2808 main ()
2809 {
2810 FILE *f = fopen ("conftest.out", "w");
2811  return ferror (f) || fclose (f) != 0;
2812
2813   ;
2814   return 0;
2815 }
2816 _ACEOF
2817 ac_clean_files="$ac_clean_files conftest.out"
2818 # Check that the compiler produces executables we can run.  If not, either
2819 # the compiler is broken, or we cross compile.
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2821 $as_echo_n "checking whether we are cross compiling... " >&6; }
2822 if test "$cross_compiling" != yes; then
2823   { { ac_try="$ac_link"
2824 case "(($ac_try" in
2825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826   *) ac_try_echo=$ac_try;;
2827 esac
2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2829 $as_echo "$ac_try_echo"; } >&5
2830   (eval "$ac_link") 2>&5
2831   ac_status=$?
2832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2833   test $ac_status = 0; }
2834   if { ac_try='./conftest$ac_cv_exeext'
2835   { { case "(($ac_try" in
2836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837   *) ac_try_echo=$ac_try;;
2838 esac
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841   (eval "$ac_try") 2>&5
2842   ac_status=$?
2843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844   test $ac_status = 0; }; }; then
2845     cross_compiling=no
2846   else
2847     if test "$cross_compiling" = maybe; then
2848         cross_compiling=yes
2849     else
2850         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2852 as_fn_error $? "cannot run C compiled programs.
2853 If you meant to cross compile, use \`--host'.
2854 See \`config.log' for more details" "$LINENO" 5; }
2855     fi
2856   fi
2857 fi
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2859 $as_echo "$cross_compiling" >&6; }
2860
2861 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2862 ac_clean_files=$ac_clean_files_save
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2864 $as_echo_n "checking for suffix of object files... " >&6; }
2865 if ${ac_cv_objext+:} false; then :
2866   $as_echo_n "(cached) " >&6
2867 else
2868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h.  */
2870
2871 int
2872 main ()
2873 {
2874
2875   ;
2876   return 0;
2877 }
2878 _ACEOF
2879 rm -f conftest.o conftest.obj
2880 if { { ac_try="$ac_compile"
2881 case "(($ac_try" in
2882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883   *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887   (eval "$ac_compile") 2>&5
2888   ac_status=$?
2889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890   test $ac_status = 0; }; then :
2891   for ac_file in conftest.o conftest.obj conftest.*; do
2892   test -f "$ac_file" || continue;
2893   case $ac_file in
2894     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2895     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2896        break;;
2897   esac
2898 done
2899 else
2900   $as_echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2902
2903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 as_fn_error $? "cannot compute suffix of object files: cannot compile
2906 See \`config.log' for more details" "$LINENO" 5; }
2907 fi
2908 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2909 fi
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2911 $as_echo "$ac_cv_objext" >&6; }
2912 OBJEXT=$ac_cv_objext
2913 ac_objext=$OBJEXT
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2915 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2916 if ${ac_cv_c_compiler_gnu+:} false; then :
2917   $as_echo_n "(cached) " >&6
2918 else
2919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2920 /* end confdefs.h.  */
2921
2922 int
2923 main ()
2924 {
2925 #ifndef __GNUC__
2926        choke me
2927 #endif
2928
2929   ;
2930   return 0;
2931 }
2932 _ACEOF
2933 if ac_fn_c_try_compile "$LINENO"; then :
2934   ac_compiler_gnu=yes
2935 else
2936   ac_compiler_gnu=no
2937 fi
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2940
2941 fi
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2943 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2944 if test $ac_compiler_gnu = yes; then
2945   GCC=yes
2946 else
2947   GCC=
2948 fi
2949 ac_test_CFLAGS=${CFLAGS+set}
2950 ac_save_CFLAGS=$CFLAGS
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2952 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2953 if ${ac_cv_prog_cc_g+:} false; then :
2954   $as_echo_n "(cached) " >&6
2955 else
2956   ac_save_c_werror_flag=$ac_c_werror_flag
2957    ac_c_werror_flag=yes
2958    ac_cv_prog_cc_g=no
2959    CFLAGS="-g"
2960    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h.  */
2962
2963 int
2964 main ()
2965 {
2966
2967   ;
2968   return 0;
2969 }
2970 _ACEOF
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972   ac_cv_prog_cc_g=yes
2973 else
2974   CFLAGS=""
2975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h.  */
2977
2978 int
2979 main ()
2980 {
2981
2982   ;
2983   return 0;
2984 }
2985 _ACEOF
2986 if ac_fn_c_try_compile "$LINENO"; then :
2987
2988 else
2989   ac_c_werror_flag=$ac_save_c_werror_flag
2990          CFLAGS="-g"
2991          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h.  */
2993
2994 int
2995 main ()
2996 {
2997
2998   ;
2999   return 0;
3000 }
3001 _ACEOF
3002 if ac_fn_c_try_compile "$LINENO"; then :
3003   ac_cv_prog_cc_g=yes
3004 fi
3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 fi
3007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3008 fi
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010    ac_c_werror_flag=$ac_save_c_werror_flag
3011 fi
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3013 $as_echo "$ac_cv_prog_cc_g" >&6; }
3014 if test "$ac_test_CFLAGS" = set; then
3015   CFLAGS=$ac_save_CFLAGS
3016 elif test $ac_cv_prog_cc_g = yes; then
3017   if test "$GCC" = yes; then
3018     CFLAGS="-g -O2"
3019   else
3020     CFLAGS="-g"
3021   fi
3022 else
3023   if test "$GCC" = yes; then
3024     CFLAGS="-O2"
3025   else
3026     CFLAGS=
3027   fi
3028 fi
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3030 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3031 if ${ac_cv_prog_cc_c89+:} false; then :
3032   $as_echo_n "(cached) " >&6
3033 else
3034   ac_cv_prog_cc_c89=no
3035 ac_save_CC=$CC
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h.  */
3038 #include <stdarg.h>
3039 #include <stdio.h>
3040 struct stat;
3041 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3042 struct buf { int x; };
3043 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3044 static char *e (p, i)
3045      char **p;
3046      int i;
3047 {
3048   return p[i];
3049 }
3050 static char *f (char * (*g) (char **, int), char **p, ...)
3051 {
3052   char *s;
3053   va_list v;
3054   va_start (v,p);
3055   s = g (p, va_arg (v,int));
3056   va_end (v);
3057   return s;
3058 }
3059
3060 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3061    function prototypes and stuff, but not '\xHH' hex character constants.
3062    These don't provoke an error unfortunately, instead are silently treated
3063    as 'x'.  The following induces an error, until -std is added to get
3064    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3065    array size at least.  It's necessary to write '\x00'==0 to get something
3066    that's true only with -std.  */
3067 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3068
3069 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3070    inside strings and character constants.  */
3071 #define FOO(x) 'x'
3072 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3073
3074 int test (int i, double x);
3075 struct s1 {int (*f) (int a);};
3076 struct s2 {int (*f) (double a);};
3077 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3078 int argc;
3079 char **argv;
3080 int
3081 main ()
3082 {
3083 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3084   ;
3085   return 0;
3086 }
3087 _ACEOF
3088 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3089         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3090 do
3091   CC="$ac_save_CC $ac_arg"
3092   if ac_fn_c_try_compile "$LINENO"; then :
3093   ac_cv_prog_cc_c89=$ac_arg
3094 fi
3095 rm -f core conftest.err conftest.$ac_objext
3096   test "x$ac_cv_prog_cc_c89" != "xno" && break
3097 done
3098 rm -f conftest.$ac_ext
3099 CC=$ac_save_CC
3100
3101 fi
3102 # AC_CACHE_VAL
3103 case "x$ac_cv_prog_cc_c89" in
3104   x)
3105     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3106 $as_echo "none needed" >&6; } ;;
3107   xno)
3108     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3109 $as_echo "unsupported" >&6; } ;;
3110   *)
3111     CC="$CC $ac_cv_prog_cc_c89"
3112     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3113 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3114 esac
3115 if test "x$ac_cv_prog_cc_c89" != xno; then :
3116
3117 fi
3118
3119 ac_ext=c
3120 ac_cpp='$CPP $CPPFLAGS'
3121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3124
3125
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3127 $as_echo_n "checking for library containing strerror... " >&6; }
3128 if ${ac_cv_search_strerror+:} false; then :
3129   $as_echo_n "(cached) " >&6
3130 else
3131   ac_func_search_save_LIBS=$LIBS
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h.  */
3134
3135 /* Override any GCC internal prototype to avoid an error.
3136    Use char because int might match the return type of a GCC
3137    builtin and then its argument prototype would still apply.  */
3138 #ifdef __cplusplus
3139 extern "C"
3140 #endif
3141 char strerror ();
3142 int
3143 main ()
3144 {
3145 return strerror ();
3146   ;
3147   return 0;
3148 }
3149 _ACEOF
3150 for ac_lib in '' cposix; do
3151   if test -z "$ac_lib"; then
3152     ac_res="none required"
3153   else
3154     ac_res=-l$ac_lib
3155     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3156   fi
3157   if ac_fn_c_try_link "$LINENO"; then :
3158   ac_cv_search_strerror=$ac_res
3159 fi
3160 rm -f core conftest.err conftest.$ac_objext \
3161     conftest$ac_exeext
3162   if ${ac_cv_search_strerror+:} false; then :
3163   break
3164 fi
3165 done
3166 if ${ac_cv_search_strerror+:} false; then :
3167
3168 else
3169   ac_cv_search_strerror=no
3170 fi
3171 rm conftest.$ac_ext
3172 LIBS=$ac_func_search_save_LIBS
3173 fi
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3175 $as_echo "$ac_cv_search_strerror" >&6; }
3176 ac_res=$ac_cv_search_strerror
3177 if test "$ac_res" != no; then :
3178   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3179
3180 fi
3181
3182 ac_ext=c
3183 ac_cpp='$CPP $CPPFLAGS'
3184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3187 if test -n "$ac_tool_prefix"; then
3188   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3189 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if ${ac_cv_prog_CC+:} false; then :
3193   $as_echo_n "(cached) " >&6
3194 else
3195   if test -n "$CC"; then
3196   ac_cv_prog_CC="$CC" # Let the user override the test.
3197 else
3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199 for as_dir in $PATH
3200 do
3201   IFS=$as_save_IFS
3202   test -z "$as_dir" && as_dir=.
3203     for ac_exec_ext in '' $ac_executable_extensions; do
3204   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3205     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207     break 2
3208   fi
3209 done
3210   done
3211 IFS=$as_save_IFS
3212
3213 fi
3214 fi
3215 CC=$ac_cv_prog_CC
3216 if test -n "$CC"; then
3217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3218 $as_echo "$CC" >&6; }
3219 else
3220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3222 fi
3223
3224
3225 fi
3226 if test -z "$ac_cv_prog_CC"; then
3227   ac_ct_CC=$CC
3228   # Extract the first word of "gcc", so it can be a program name with args.
3229 set dummy gcc; ac_word=$2
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231 $as_echo_n "checking for $ac_word... " >&6; }
3232 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3233   $as_echo_n "(cached) " >&6
3234 else
3235   if test -n "$ac_ct_CC"; then
3236   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3237 else
3238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239 for as_dir in $PATH
3240 do
3241   IFS=$as_save_IFS
3242   test -z "$as_dir" && as_dir=.
3243     for ac_exec_ext in '' $ac_executable_extensions; do
3244   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3245     ac_cv_prog_ac_ct_CC="gcc"
3246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247     break 2
3248   fi
3249 done
3250   done
3251 IFS=$as_save_IFS
3252
3253 fi
3254 fi
3255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3256 if test -n "$ac_ct_CC"; then
3257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3258 $as_echo "$ac_ct_CC" >&6; }
3259 else
3260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3262 fi
3263
3264   if test "x$ac_ct_CC" = x; then
3265     CC=""
3266   else
3267     case $cross_compiling:$ac_tool_warned in
3268 yes:)
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3271 ac_tool_warned=yes ;;
3272 esac
3273     CC=$ac_ct_CC
3274   fi
3275 else
3276   CC="$ac_cv_prog_CC"
3277 fi
3278
3279 if test -z "$CC"; then
3280           if test -n "$ac_tool_prefix"; then
3281     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3282 set dummy ${ac_tool_prefix}cc; ac_word=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_prog_CC+:} false; then :
3286   $as_echo_n "(cached) " >&6
3287 else
3288   if test -n "$CC"; then
3289   ac_cv_prog_CC="$CC" # Let the user override the test.
3290 else
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 for as_dir in $PATH
3293 do
3294   IFS=$as_save_IFS
3295   test -z "$as_dir" && as_dir=.
3296     for ac_exec_ext in '' $ac_executable_extensions; do
3297   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3298     ac_cv_prog_CC="${ac_tool_prefix}cc"
3299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300     break 2
3301   fi
3302 done
3303   done
3304 IFS=$as_save_IFS
3305
3306 fi
3307 fi
3308 CC=$ac_cv_prog_CC
3309 if test -n "$CC"; then
3310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3311 $as_echo "$CC" >&6; }
3312 else
3313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3315 fi
3316
3317
3318   fi
3319 fi
3320 if test -z "$CC"; then
3321   # Extract the first word of "cc", so it can be a program name with args.
3322 set dummy cc; ac_word=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_prog_CC+:} false; then :
3326   $as_echo_n "(cached) " >&6
3327 else
3328   if test -n "$CC"; then
3329   ac_cv_prog_CC="$CC" # Let the user override the test.
3330 else
3331   ac_prog_rejected=no
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3334 do
3335   IFS=$as_save_IFS
3336   test -z "$as_dir" && as_dir=.
3337     for ac_exec_ext in '' $ac_executable_extensions; do
3338   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3339     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3340        ac_prog_rejected=yes
3341        continue
3342      fi
3343     ac_cv_prog_CC="cc"
3344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345     break 2
3346   fi
3347 done
3348   done
3349 IFS=$as_save_IFS
3350
3351 if test $ac_prog_rejected = yes; then
3352   # We found a bogon in the path, so make sure we never use it.
3353   set dummy $ac_cv_prog_CC
3354   shift
3355   if test $# != 0; then
3356     # We chose a different compiler from the bogus one.
3357     # However, it has the same basename, so the bogon will be chosen
3358     # first if we set CC to just the basename; use the full file name.
3359     shift
3360     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3361   fi
3362 fi
3363 fi
3364 fi
3365 CC=$ac_cv_prog_CC
3366 if test -n "$CC"; then
3367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3368 $as_echo "$CC" >&6; }
3369 else
3370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371 $as_echo "no" >&6; }
3372 fi
3373
3374
3375 fi
3376 if test -z "$CC"; then
3377   if test -n "$ac_tool_prefix"; then
3378   for ac_prog in cl.exe
3379   do
3380     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3383 $as_echo_n "checking for $ac_word... " >&6; }
3384 if ${ac_cv_prog_CC+:} false; then :
3385   $as_echo_n "(cached) " >&6
3386 else
3387   if test -n "$CC"; then
3388   ac_cv_prog_CC="$CC" # Let the user override the test.
3389 else
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391 for as_dir in $PATH
3392 do
3393   IFS=$as_save_IFS
3394   test -z "$as_dir" && as_dir=.
3395     for ac_exec_ext in '' $ac_executable_extensions; do
3396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3397     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3399     break 2
3400   fi
3401 done
3402   done
3403 IFS=$as_save_IFS
3404
3405 fi
3406 fi
3407 CC=$ac_cv_prog_CC
3408 if test -n "$CC"; then
3409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3410 $as_echo "$CC" >&6; }
3411 else
3412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3414 fi
3415
3416
3417     test -n "$CC" && break
3418   done
3419 fi
3420 if test -z "$CC"; then
3421   ac_ct_CC=$CC
3422   for ac_prog in cl.exe
3423 do
3424   # Extract the first word of "$ac_prog", so it can be a program name with args.
3425 set dummy $ac_prog; ac_word=$2
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3427 $as_echo_n "checking for $ac_word... " >&6; }
3428 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3429   $as_echo_n "(cached) " >&6
3430 else
3431   if test -n "$ac_ct_CC"; then
3432   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3433 else
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435 for as_dir in $PATH
3436 do
3437   IFS=$as_save_IFS
3438   test -z "$as_dir" && as_dir=.
3439     for ac_exec_ext in '' $ac_executable_extensions; do
3440   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3441     ac_cv_prog_ac_ct_CC="$ac_prog"
3442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443     break 2
3444   fi
3445 done
3446   done
3447 IFS=$as_save_IFS
3448
3449 fi
3450 fi
3451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3452 if test -n "$ac_ct_CC"; then
3453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3454 $as_echo "$ac_ct_CC" >&6; }
3455 else
3456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3458 fi
3459
3460
3461   test -n "$ac_ct_CC" && break
3462 done
3463
3464   if test "x$ac_ct_CC" = x; then
3465     CC=""
3466   else
3467     case $cross_compiling:$ac_tool_warned in
3468 yes:)
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3471 ac_tool_warned=yes ;;
3472 esac
3473     CC=$ac_ct_CC
3474   fi
3475 fi
3476
3477 fi
3478
3479
3480 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3482 as_fn_error $? "no acceptable C compiler found in \$PATH
3483 See \`config.log' for more details" "$LINENO" 5; }
3484
3485 # Provide some information about the compiler.
3486 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3487 set X $ac_compile
3488 ac_compiler=$2
3489 for ac_option in --version -v -V -qversion; do
3490   { { ac_try="$ac_compiler $ac_option >&5"
3491 case "(($ac_try" in
3492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493   *) ac_try_echo=$ac_try;;
3494 esac
3495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3496 $as_echo "$ac_try_echo"; } >&5
3497   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3498   ac_status=$?
3499   if test -s conftest.err; then
3500     sed '10a\
3501 ... rest of stderr output deleted ...
3502          10q' conftest.err >conftest.er1
3503     cat conftest.er1 >&5
3504   fi
3505   rm -f conftest.er1 conftest.err
3506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3507   test $ac_status = 0; }
3508 done
3509
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3511 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3512 if ${ac_cv_c_compiler_gnu+:} false; then :
3513   $as_echo_n "(cached) " >&6
3514 else
3515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h.  */
3517
3518 int
3519 main ()
3520 {
3521 #ifndef __GNUC__
3522        choke me
3523 #endif
3524
3525   ;
3526   return 0;
3527 }
3528 _ACEOF
3529 if ac_fn_c_try_compile "$LINENO"; then :
3530   ac_compiler_gnu=yes
3531 else
3532   ac_compiler_gnu=no
3533 fi
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3536
3537 fi
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3539 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3540 if test $ac_compiler_gnu = yes; then
3541   GCC=yes
3542 else
3543   GCC=
3544 fi
3545 ac_test_CFLAGS=${CFLAGS+set}
3546 ac_save_CFLAGS=$CFLAGS
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3548 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3549 if ${ac_cv_prog_cc_g+:} false; then :
3550   $as_echo_n "(cached) " >&6
3551 else
3552   ac_save_c_werror_flag=$ac_c_werror_flag
3553    ac_c_werror_flag=yes
3554    ac_cv_prog_cc_g=no
3555    CFLAGS="-g"
3556    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h.  */
3558
3559 int
3560 main ()
3561 {
3562
3563   ;
3564   return 0;
3565 }
3566 _ACEOF
3567 if ac_fn_c_try_compile "$LINENO"; then :
3568   ac_cv_prog_cc_g=yes
3569 else
3570   CFLAGS=""
3571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h.  */
3573
3574 int
3575 main ()
3576 {
3577
3578   ;
3579   return 0;
3580 }
3581 _ACEOF
3582 if ac_fn_c_try_compile "$LINENO"; then :
3583
3584 else
3585   ac_c_werror_flag=$ac_save_c_werror_flag
3586          CFLAGS="-g"
3587          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h.  */
3589
3590 int
3591 main ()
3592 {
3593
3594   ;
3595   return 0;
3596 }
3597 _ACEOF
3598 if ac_fn_c_try_compile "$LINENO"; then :
3599   ac_cv_prog_cc_g=yes
3600 fi
3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 fi
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 fi
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606    ac_c_werror_flag=$ac_save_c_werror_flag
3607 fi
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3609 $as_echo "$ac_cv_prog_cc_g" >&6; }
3610 if test "$ac_test_CFLAGS" = set; then
3611   CFLAGS=$ac_save_CFLAGS
3612 elif test $ac_cv_prog_cc_g = yes; then
3613   if test "$GCC" = yes; then
3614     CFLAGS="-g -O2"
3615   else
3616     CFLAGS="-g"
3617   fi
3618 else
3619   if test "$GCC" = yes; then
3620     CFLAGS="-O2"
3621   else
3622     CFLAGS=
3623   fi
3624 fi
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3626 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3627 if ${ac_cv_prog_cc_c89+:} false; then :
3628   $as_echo_n "(cached) " >&6
3629 else
3630   ac_cv_prog_cc_c89=no
3631 ac_save_CC=$CC
3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633 /* end confdefs.h.  */
3634 #include <stdarg.h>
3635 #include <stdio.h>
3636 struct stat;
3637 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3638 struct buf { int x; };
3639 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3640 static char *e (p, i)
3641      char **p;
3642      int i;
3643 {
3644   return p[i];
3645 }
3646 static char *f (char * (*g) (char **, int), char **p, ...)
3647 {
3648   char *s;
3649   va_list v;
3650   va_start (v,p);
3651   s = g (p, va_arg (v,int));
3652   va_end (v);
3653   return s;
3654 }
3655
3656 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3657    function prototypes and stuff, but not '\xHH' hex character constants.
3658    These don't provoke an error unfortunately, instead are silently treated
3659    as 'x'.  The following induces an error, until -std is added to get
3660    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3661    array size at least.  It's necessary to write '\x00'==0 to get something
3662    that's true only with -std.  */
3663 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3664
3665 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3666    inside strings and character constants.  */
3667 #define FOO(x) 'x'
3668 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3669
3670 int test (int i, double x);
3671 struct s1 {int (*f) (int a);};
3672 struct s2 {int (*f) (double a);};
3673 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3674 int argc;
3675 char **argv;
3676 int
3677 main ()
3678 {
3679 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3680   ;
3681   return 0;
3682 }
3683 _ACEOF
3684 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3685         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3686 do
3687   CC="$ac_save_CC $ac_arg"
3688   if ac_fn_c_try_compile "$LINENO"; then :
3689   ac_cv_prog_cc_c89=$ac_arg
3690 fi
3691 rm -f core conftest.err conftest.$ac_objext
3692   test "x$ac_cv_prog_cc_c89" != "xno" && break
3693 done
3694 rm -f conftest.$ac_ext
3695 CC=$ac_save_CC
3696
3697 fi
3698 # AC_CACHE_VAL
3699 case "x$ac_cv_prog_cc_c89" in
3700   x)
3701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3702 $as_echo "none needed" >&6; } ;;
3703   xno)
3704     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3705 $as_echo "unsupported" >&6; } ;;
3706   *)
3707     CC="$CC $ac_cv_prog_cc_c89"
3708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3709 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3710 esac
3711 if test "x$ac_cv_prog_cc_c89" != xno; then :
3712
3713 fi
3714
3715 ac_ext=c
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720
3721 ac_ext=c
3722 ac_cpp='$CPP $CPPFLAGS'
3723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3727 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3728 # On Suns, sometimes $CPP names a directory.
3729 if test -n "$CPP" && test -d "$CPP"; then
3730   CPP=
3731 fi
3732 if test -z "$CPP"; then
3733   if ${ac_cv_prog_CPP+:} false; then :
3734   $as_echo_n "(cached) " >&6
3735 else
3736       # Double quotes because CPP needs to be expanded
3737     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3738     do
3739       ac_preproc_ok=false
3740 for ac_c_preproc_warn_flag in '' yes
3741 do
3742   # Use a header file that comes with gcc, so configuring glibc
3743   # with a fresh cross-compiler works.
3744   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3745   # <limits.h> exists even on freestanding compilers.
3746   # On the NeXT, cc -E runs the code through the compiler's parser,
3747   # not just through cpp. "Syntax error" is here to catch this case.
3748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h.  */
3750 #ifdef __STDC__
3751 # include <limits.h>
3752 #else
3753 # include <assert.h>
3754 #endif
3755                      Syntax error
3756 _ACEOF
3757 if ac_fn_c_try_cpp "$LINENO"; then :
3758
3759 else
3760   # Broken: fails on valid input.
3761 continue
3762 fi
3763 rm -f conftest.err conftest.i conftest.$ac_ext
3764
3765   # OK, works on sane cases.  Now check whether nonexistent headers
3766   # can be detected and how.
3767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h.  */
3769 #include <ac_nonexistent.h>
3770 _ACEOF
3771 if ac_fn_c_try_cpp "$LINENO"; then :
3772   # Broken: success on invalid input.
3773 continue
3774 else
3775   # Passes both tests.
3776 ac_preproc_ok=:
3777 break
3778 fi
3779 rm -f conftest.err conftest.i conftest.$ac_ext
3780
3781 done
3782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3783 rm -f conftest.i conftest.err conftest.$ac_ext
3784 if $ac_preproc_ok; then :
3785   break
3786 fi
3787
3788     done
3789     ac_cv_prog_CPP=$CPP
3790
3791 fi
3792   CPP=$ac_cv_prog_CPP
3793 else
3794   ac_cv_prog_CPP=$CPP
3795 fi
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3797 $as_echo "$CPP" >&6; }
3798 ac_preproc_ok=false
3799 for ac_c_preproc_warn_flag in '' yes
3800 do
3801   # Use a header file that comes with gcc, so configuring glibc
3802   # with a fresh cross-compiler works.
3803   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804   # <limits.h> exists even on freestanding compilers.
3805   # On the NeXT, cc -E runs the code through the compiler's parser,
3806   # not just through cpp. "Syntax error" is here to catch this case.
3807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h.  */
3809 #ifdef __STDC__
3810 # include <limits.h>
3811 #else
3812 # include <assert.h>
3813 #endif
3814                      Syntax error
3815 _ACEOF
3816 if ac_fn_c_try_cpp "$LINENO"; then :
3817
3818 else
3819   # Broken: fails on valid input.
3820 continue
3821 fi
3822 rm -f conftest.err conftest.i conftest.$ac_ext
3823
3824   # OK, works on sane cases.  Now check whether nonexistent headers
3825   # can be detected and how.
3826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h.  */
3828 #include <ac_nonexistent.h>
3829 _ACEOF
3830 if ac_fn_c_try_cpp "$LINENO"; then :
3831   # Broken: success on invalid input.
3832 continue
3833 else
3834   # Passes both tests.
3835 ac_preproc_ok=:
3836 break
3837 fi
3838 rm -f conftest.err conftest.i conftest.$ac_ext
3839
3840 done
3841 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3842 rm -f conftest.i conftest.err conftest.$ac_ext
3843 if $ac_preproc_ok; then :
3844
3845 else
3846   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3849 See \`config.log' for more details" "$LINENO" 5; }
3850 fi
3851
3852 ac_ext=c
3853 ac_cpp='$CPP $CPPFLAGS'
3854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3857
3858
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3860 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3861 if ${ac_cv_path_GREP+:} false; then :
3862   $as_echo_n "(cached) " >&6
3863 else
3864   if test -z "$GREP"; then
3865   ac_path_GREP_found=false
3866   # Loop through the user's path and test for each of PROGNAME-LIST
3867   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3869 do
3870   IFS=$as_save_IFS
3871   test -z "$as_dir" && as_dir=.
3872     for ac_prog in grep ggrep; do
3873     for ac_exec_ext in '' $ac_executable_extensions; do
3874       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3875       as_fn_executable_p "$ac_path_GREP" || continue
3876 # Check for GNU ac_path_GREP and select it if it is found.
3877   # Check for GNU $ac_path_GREP
3878 case `"$ac_path_GREP" --version 2>&1` in
3879 *GNU*)
3880   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3881 *)
3882   ac_count=0
3883   $as_echo_n 0123456789 >"conftest.in"
3884   while :
3885   do
3886     cat "conftest.in" "conftest.in" >"conftest.tmp"
3887     mv "conftest.tmp" "conftest.in"
3888     cp "conftest.in" "conftest.nl"
3889     $as_echo 'GREP' >> "conftest.nl"
3890     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3891     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3892     as_fn_arith $ac_count + 1 && ac_count=$as_val
3893     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3894       # Best one so far, save it but keep looking for a better one
3895       ac_cv_path_GREP="$ac_path_GREP"
3896       ac_path_GREP_max=$ac_count
3897     fi
3898     # 10*(2^10) chars as input seems more than enough
3899     test $ac_count -gt 10 && break
3900   done
3901   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3902 esac
3903
3904       $ac_path_GREP_found && break 3
3905     done
3906   done
3907   done
3908 IFS=$as_save_IFS
3909   if test -z "$ac_cv_path_GREP"; then
3910     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3911   fi
3912 else
3913   ac_cv_path_GREP=$GREP
3914 fi
3915
3916 fi
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3918 $as_echo "$ac_cv_path_GREP" >&6; }
3919  GREP="$ac_cv_path_GREP"
3920
3921
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3923 $as_echo_n "checking for egrep... " >&6; }
3924 if ${ac_cv_path_EGREP+:} false; then :
3925   $as_echo_n "(cached) " >&6
3926 else
3927   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3928    then ac_cv_path_EGREP="$GREP -E"
3929    else
3930      if test -z "$EGREP"; then
3931   ac_path_EGREP_found=false
3932   # Loop through the user's path and test for each of PROGNAME-LIST
3933   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3935 do
3936   IFS=$as_save_IFS
3937   test -z "$as_dir" && as_dir=.
3938     for ac_prog in egrep; do
3939     for ac_exec_ext in '' $ac_executable_extensions; do
3940       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3941       as_fn_executable_p "$ac_path_EGREP" || continue
3942 # Check for GNU ac_path_EGREP and select it if it is found.
3943   # Check for GNU $ac_path_EGREP
3944 case `"$ac_path_EGREP" --version 2>&1` in
3945 *GNU*)
3946   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3947 *)
3948   ac_count=0
3949   $as_echo_n 0123456789 >"conftest.in"
3950   while :
3951   do
3952     cat "conftest.in" "conftest.in" >"conftest.tmp"
3953     mv "conftest.tmp" "conftest.in"
3954     cp "conftest.in" "conftest.nl"
3955     $as_echo 'EGREP' >> "conftest.nl"
3956     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3957     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3958     as_fn_arith $ac_count + 1 && ac_count=$as_val
3959     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3960       # Best one so far, save it but keep looking for a better one
3961       ac_cv_path_EGREP="$ac_path_EGREP"
3962       ac_path_EGREP_max=$ac_count
3963     fi
3964     # 10*(2^10) chars as input seems more than enough
3965     test $ac_count -gt 10 && break
3966   done
3967   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3968 esac
3969
3970       $ac_path_EGREP_found && break 3
3971     done
3972   done
3973   done
3974 IFS=$as_save_IFS
3975   if test -z "$ac_cv_path_EGREP"; then
3976     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3977   fi
3978 else
3979   ac_cv_path_EGREP=$EGREP
3980 fi
3981
3982    fi
3983 fi
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3985 $as_echo "$ac_cv_path_EGREP" >&6; }
3986  EGREP="$ac_cv_path_EGREP"
3987
3988
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3990 $as_echo_n "checking for ANSI C header files... " >&6; }
3991 if ${ac_cv_header_stdc+:} false; then :
3992   $as_echo_n "(cached) " >&6
3993 else
3994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h.  */
3996 #include <stdlib.h>
3997 #include <stdarg.h>
3998 #include <string.h>
3999 #include <float.h>
4000
4001 int
4002 main ()
4003 {
4004
4005   ;
4006   return 0;
4007 }
4008 _ACEOF
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010   ac_cv_header_stdc=yes
4011 else
4012   ac_cv_header_stdc=no
4013 fi
4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4015
4016 if test $ac_cv_header_stdc = yes; then
4017   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h.  */
4020 #include <string.h>
4021
4022 _ACEOF
4023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4024   $EGREP "memchr" >/dev/null 2>&1; then :
4025
4026 else
4027   ac_cv_header_stdc=no
4028 fi
4029 rm -f conftest*
4030
4031 fi
4032
4033 if test $ac_cv_header_stdc = yes; then
4034   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h.  */
4037 #include <stdlib.h>
4038
4039 _ACEOF
4040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4041   $EGREP "free" >/dev/null 2>&1; then :
4042
4043 else
4044   ac_cv_header_stdc=no
4045 fi
4046 rm -f conftest*
4047
4048 fi
4049
4050 if test $ac_cv_header_stdc = yes; then
4051   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4052   if test "$cross_compiling" = yes; then :
4053   :
4054 else
4055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h.  */
4057 #include <ctype.h>
4058 #include <stdlib.h>
4059 #if ((' ' & 0x0FF) == 0x020)
4060 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4061 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4062 #else
4063 # define ISLOWER(c) \
4064                    (('a' <= (c) && (c) <= 'i') \
4065                      || ('j' <= (c) && (c) <= 'r') \
4066                      || ('s' <= (c) && (c) <= 'z'))
4067 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4068 #endif
4069
4070 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4071 int
4072 main ()
4073 {
4074   int i;
4075   for (i = 0; i < 256; i++)
4076     if (XOR (islower (i), ISLOWER (i))
4077         || toupper (i) != TOUPPER (i))
4078       return 2;
4079   return 0;
4080 }
4081 _ACEOF
4082 if ac_fn_c_try_run "$LINENO"; then :
4083
4084 else
4085   ac_cv_header_stdc=no
4086 fi
4087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4088   conftest.$ac_objext conftest.beam conftest.$ac_ext
4089 fi
4090
4091 fi
4092 fi
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4094 $as_echo "$ac_cv_header_stdc" >&6; }
4095 if test $ac_cv_header_stdc = yes; then
4096
4097 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4098
4099 fi
4100
4101 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4102 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4103                   inttypes.h stdint.h unistd.h
4104 do :
4105   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4106 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4107 "
4108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4109   cat >>confdefs.h <<_ACEOF
4110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4111 _ACEOF
4112
4113 fi
4114
4115 done
4116
4117
4118
4119
4120
4121   for ac_header in $ac_header_list
4122 do :
4123   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4124 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4125 "
4126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4127   cat >>confdefs.h <<_ACEOF
4128 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4129 _ACEOF
4130
4131 fi
4132
4133 done
4134
4135
4136
4137
4138
4139
4140
4141
4142 for ac_func in getpagesize
4143 do :
4144   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4145 if test "x$ac_cv_func_getpagesize" = xyes; then :
4146   cat >>confdefs.h <<_ACEOF
4147 #define HAVE_GETPAGESIZE 1
4148 _ACEOF
4149
4150 fi
4151 done
4152
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4154 $as_echo_n "checking for working mmap... " >&6; }
4155 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
4156   $as_echo_n "(cached) " >&6
4157 else
4158   if test "$cross_compiling" = yes; then :
4159   ac_cv_func_mmap_fixed_mapped=no
4160 else
4161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h.  */
4163 $ac_includes_default
4164 /* malloc might have been renamed as rpl_malloc. */
4165 #undef malloc
4166
4167 /* Thanks to Mike Haertel and Jim Avera for this test.
4168    Here is a matrix of mmap possibilities:
4169         mmap private not fixed
4170         mmap private fixed at somewhere currently unmapped
4171         mmap private fixed at somewhere already mapped
4172         mmap shared not fixed
4173         mmap shared fixed at somewhere currently unmapped
4174         mmap shared fixed at somewhere already mapped
4175    For private mappings, we should verify that changes cannot be read()
4176    back from the file, nor mmap's back from the file at a different
4177    address.  (There have been systems where private was not correctly
4178    implemented like the infamous i386 svr4.0, and systems where the
4179    VM page cache was not coherent with the file system buffer cache
4180    like early versions of FreeBSD and possibly contemporary NetBSD.)
4181    For shared mappings, we should conversely verify that changes get
4182    propagated back to all the places they're supposed to be.
4183
4184    Grep wants private fixed already mapped.
4185    The main things grep needs to know about mmap are:
4186    * does it exist and is it safe to write into the mmap'd area
4187    * how to use it (BSD variants)  */
4188
4189 #include <fcntl.h>
4190 #include <sys/mman.h>
4191
4192 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4193 char *malloc ();
4194 #endif
4195
4196 /* This mess was copied from the GNU getpagesize.h.  */
4197 #ifndef HAVE_GETPAGESIZE
4198 # ifdef _SC_PAGESIZE
4199 #  define getpagesize() sysconf(_SC_PAGESIZE)
4200 # else /* no _SC_PAGESIZE */
4201 #  ifdef HAVE_SYS_PARAM_H
4202 #   include <sys/param.h>
4203 #   ifdef EXEC_PAGESIZE
4204 #    define getpagesize() EXEC_PAGESIZE
4205 #   else /* no EXEC_PAGESIZE */
4206 #    ifdef NBPG
4207 #     define getpagesize() NBPG * CLSIZE
4208 #     ifndef CLSIZE
4209 #      define CLSIZE 1
4210 #     endif /* no CLSIZE */
4211 #    else /* no NBPG */
4212 #     ifdef NBPC
4213 #      define getpagesize() NBPC
4214 #     else /* no NBPC */
4215 #      ifdef PAGESIZE
4216 #       define getpagesize() PAGESIZE
4217 #      endif /* PAGESIZE */
4218 #     endif /* no NBPC */
4219 #    endif /* no NBPG */
4220 #   endif /* no EXEC_PAGESIZE */
4221 #  else /* no HAVE_SYS_PARAM_H */
4222 #   define getpagesize() 8192   /* punt totally */
4223 #  endif /* no HAVE_SYS_PARAM_H */
4224 # endif /* no _SC_PAGESIZE */
4225
4226 #endif /* no HAVE_GETPAGESIZE */
4227
4228 int
4229 main ()
4230 {
4231   char *data, *data2, *data3;
4232   const char *cdata2;
4233   int i, pagesize;
4234   int fd, fd2;
4235
4236   pagesize = getpagesize ();
4237
4238   /* First, make a file with some known garbage in it. */
4239   data = (char *) malloc (pagesize);
4240   if (!data)
4241     return 1;
4242   for (i = 0; i < pagesize; ++i)
4243     *(data + i) = rand ();
4244   umask (0);
4245   fd = creat ("conftest.mmap", 0600);
4246   if (fd < 0)
4247     return 2;
4248   if (write (fd, data, pagesize) != pagesize)
4249     return 3;
4250   close (fd);
4251
4252   /* Next, check that the tail of a page is zero-filled.  File must have
4253      non-zero length, otherwise we risk SIGBUS for entire page.  */
4254   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4255   if (fd2 < 0)
4256     return 4;
4257   cdata2 = "";
4258   if (write (fd2, cdata2, 1) != 1)
4259     return 5;
4260   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4261   if (data2 == MAP_FAILED)
4262     return 6;
4263   for (i = 0; i < pagesize; ++i)
4264     if (*(data2 + i))
4265       return 7;
4266   close (fd2);
4267   if (munmap (data2, pagesize))
4268     return 8;
4269
4270   /* Next, try to mmap the file at a fixed address which already has
4271      something else allocated at it.  If we can, also make sure that
4272      we see the same garbage.  */
4273   fd = open ("conftest.mmap", O_RDWR);
4274   if (fd < 0)
4275     return 9;
4276   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4277                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
4278     return 10;
4279   for (i = 0; i < pagesize; ++i)
4280     if (*(data + i) != *(data2 + i))
4281       return 11;
4282
4283   /* Finally, make sure that changes to the mapped area do not
4284      percolate back to the file as seen by read().  (This is a bug on
4285      some variants of i386 svr4.0.)  */
4286   for (i = 0; i < pagesize; ++i)
4287     *(data2 + i) = *(data2 + i) + 1;
4288   data3 = (char *) malloc (pagesize);
4289   if (!data3)
4290     return 12;
4291   if (read (fd, data3, pagesize) != pagesize)
4292     return 13;
4293   for (i = 0; i < pagesize; ++i)
4294     if (*(data + i) != *(data3 + i))
4295       return 14;
4296   close (fd);
4297   return 0;
4298 }
4299 _ACEOF
4300 if ac_fn_c_try_run "$LINENO"; then :
4301   ac_cv_func_mmap_fixed_mapped=yes
4302 else
4303   ac_cv_func_mmap_fixed_mapped=no
4304 fi
4305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4306   conftest.$ac_objext conftest.beam conftest.$ac_ext
4307 fi
4308
4309 fi
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4311 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4312 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4313
4314 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4315
4316 fi
4317 rm -f conftest.mmap conftest.txt
4318
4319
4320
4321
4322 am__api_version='1.11'
4323
4324 # Find a good install program.  We prefer a C program (faster),
4325 # so one script is as good as another.  But avoid the broken or
4326 # incompatible versions:
4327 # SysV /etc/install, /usr/sbin/install
4328 # SunOS /usr/etc/install
4329 # IRIX /sbin/install
4330 # AIX /bin/install
4331 # AmigaOS /C/install, which installs bootblocks on floppy discs
4332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4335 # OS/2's system install, which has a completely different semantic
4336 # ./install, which can be erroneously created by make from ./install.sh.
4337 # Reject install programs that cannot install multiple files.
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4339 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4340 if test -z "$INSTALL"; then
4341 if ${ac_cv_path_install+:} false; then :
4342   $as_echo_n "(cached) " >&6
4343 else
4344   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH
4346 do
4347   IFS=$as_save_IFS
4348   test -z "$as_dir" && as_dir=.
4349     # Account for people who put trailing slashes in PATH elements.
4350 case $as_dir/ in #((
4351   ./ | .// | /[cC]/* | \
4352   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4353   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4354   /usr/ucb/* ) ;;
4355   *)
4356     # OSF1 and SCO ODT 3.0 have their own names for install.
4357     # Don't use installbsd from OSF since it installs stuff as root
4358     # by default.
4359     for ac_prog in ginstall scoinst install; do
4360       for ac_exec_ext in '' $ac_executable_extensions; do
4361         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4362           if test $ac_prog = install &&
4363             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4364             # AIX install.  It has an incompatible calling convention.
4365             :
4366           elif test $ac_prog = install &&
4367             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4368             # program-specific install script used by HP pwplus--don't use.
4369             :
4370           else
4371             rm -rf conftest.one conftest.two conftest.dir
4372             echo one > conftest.one
4373             echo two > conftest.two
4374             mkdir conftest.dir
4375             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4376               test -s conftest.one && test -s conftest.two &&
4377               test -s conftest.dir/conftest.one &&
4378               test -s conftest.dir/conftest.two
4379             then
4380               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4381               break 3
4382             fi
4383           fi
4384         fi
4385       done
4386     done
4387     ;;
4388 esac
4389
4390   done
4391 IFS=$as_save_IFS
4392
4393 rm -rf conftest.one conftest.two conftest.dir
4394
4395 fi
4396   if test "${ac_cv_path_install+set}" = set; then
4397     INSTALL=$ac_cv_path_install
4398   else
4399     # As a last resort, use the slow shell script.  Don't cache a
4400     # value for INSTALL within a source directory, because that will
4401     # break other packages using the cache if that directory is
4402     # removed, or if the value is a relative name.
4403     INSTALL=$ac_install_sh
4404   fi
4405 fi
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4407 $as_echo "$INSTALL" >&6; }
4408
4409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4410 # It thinks the first close brace ends the variable substitution.
4411 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4412
4413 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4414
4415 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4416
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4418 $as_echo_n "checking whether build environment is sane... " >&6; }
4419 # Just in case
4420 sleep 1
4421 echo timestamp > conftest.file
4422 # Reject unsafe characters in $srcdir or the absolute working directory
4423 # name.  Accept space and tab only in the latter.
4424 am_lf='
4425 '
4426 case `pwd` in
4427   *[\\\"\#\$\&\'\`$am_lf]*)
4428     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4429 esac
4430 case $srcdir in
4431   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
4432     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4433 esac
4434
4435 # Do `set' in a subshell so we don't clobber the current shell's
4436 # arguments.  Must try -L first in case configure is actually a
4437 # symlink; some systems play weird games with the mod time of symlinks
4438 # (eg FreeBSD returns the mod time of the symlink's containing
4439 # directory).
4440 if (
4441    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4442    if test "$*" = "X"; then
4443       # -L didn't work.
4444       set X `ls -t "$srcdir/configure" conftest.file`
4445    fi
4446    rm -f conftest.file
4447    if test "$*" != "X $srcdir/configure conftest.file" \
4448       && test "$*" != "X conftest.file $srcdir/configure"; then
4449
4450       # If neither matched, then we have a broken ls.  This can happen
4451       # if, for instance, CONFIG_SHELL is bash and it inherits a
4452       # broken ls alias from the environment.  This has actually
4453       # happened.  Such a system could not be considered "sane".
4454       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4455 alias in your environment" "$LINENO" 5
4456    fi
4457
4458    test "$2" = conftest.file
4459    )
4460 then
4461    # Ok.
4462    :
4463 else
4464    as_fn_error $? "newly created file is older than distributed files!
4465 Check your system clock" "$LINENO" 5
4466 fi
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4468 $as_echo "yes" >&6; }
4469 test "$program_prefix" != NONE &&
4470   program_transform_name="s&^&$program_prefix&;$program_transform_name"
4471 # Use a double $ so make ignores it.
4472 test "$program_suffix" != NONE &&
4473   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4474 # Double any \ or $.
4475 # By default was `s,x,x', remove it if useless.
4476 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4477 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4478
4479 # expand $ac_aux_dir to an absolute path
4480 am_aux_dir=`cd $ac_aux_dir && pwd`
4481
4482 if test x"${MISSING+set}" != xset; then
4483   case $am_aux_dir in
4484   *\ * | *\     *)
4485     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4486   *)
4487     MISSING="\${SHELL} $am_aux_dir/missing" ;;
4488   esac
4489 fi
4490 # Use eval to expand $SHELL
4491 if eval "$MISSING --run true"; then
4492   am_missing_run="$MISSING --run "
4493 else
4494   am_missing_run=
4495   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4496 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4497 fi
4498
4499 if test x"${install_sh}" != xset; then
4500   case $am_aux_dir in
4501   *\ * | *\     *)
4502     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4503   *)
4504     install_sh="\${SHELL} $am_aux_dir/install-sh"
4505   esac
4506 fi
4507
4508 # Installed binaries are usually stripped using `strip' when the user
4509 # run `make install-strip'.  However `strip' might not be the right
4510 # tool to use in cross-compilation environments, therefore Automake
4511 # will honor the `STRIP' environment variable to overrule this program.
4512 if test "$cross_compiling" != no; then
4513   if test -n "$ac_tool_prefix"; then
4514   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4515 set dummy ${ac_tool_prefix}strip; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if ${ac_cv_prog_STRIP+:} false; then :
4519   $as_echo_n "(cached) " >&6
4520 else
4521   if test -n "$STRIP"; then
4522   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4523 else
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH
4526 do
4527   IFS=$as_save_IFS
4528   test -z "$as_dir" && as_dir=.
4529     for ac_exec_ext in '' $ac_executable_extensions; do
4530   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533     break 2
4534   fi
4535 done
4536   done
4537 IFS=$as_save_IFS
4538
4539 fi
4540 fi
4541 STRIP=$ac_cv_prog_STRIP
4542 if test -n "$STRIP"; then
4543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4544 $as_echo "$STRIP" >&6; }
4545 else
4546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4548 fi
4549
4550
4551 fi
4552 if test -z "$ac_cv_prog_STRIP"; then
4553   ac_ct_STRIP=$STRIP
4554   # Extract the first word of "strip", so it can be a program name with args.
4555 set dummy strip; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4559   $as_echo_n "(cached) " >&6
4560 else
4561   if test -n "$ac_ct_STRIP"; then
4562   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4563 else
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH
4566 do
4567   IFS=$as_save_IFS
4568   test -z "$as_dir" && as_dir=.
4569     for ac_exec_ext in '' $ac_executable_extensions; do
4570   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571     ac_cv_prog_ac_ct_STRIP="strip"
4572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573     break 2
4574   fi
4575 done
4576   done
4577 IFS=$as_save_IFS
4578
4579 fi
4580 fi
4581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4582 if test -n "$ac_ct_STRIP"; then
4583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4584 $as_echo "$ac_ct_STRIP" >&6; }
4585 else
4586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4588 fi
4589
4590   if test "x$ac_ct_STRIP" = x; then
4591     STRIP=":"
4592   else
4593     case $cross_compiling:$ac_tool_warned in
4594 yes:)
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4597 ac_tool_warned=yes ;;
4598 esac
4599     STRIP=$ac_ct_STRIP
4600   fi
4601 else
4602   STRIP="$ac_cv_prog_STRIP"
4603 fi
4604
4605 fi
4606 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4607
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4609 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4610 if test -z "$MKDIR_P"; then
4611   if ${ac_cv_path_mkdir+:} false; then :
4612   $as_echo_n "(cached) " >&6
4613 else
4614   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4616 do
4617   IFS=$as_save_IFS
4618   test -z "$as_dir" && as_dir=.
4619     for ac_prog in mkdir gmkdir; do
4620          for ac_exec_ext in '' $ac_executable_extensions; do
4621            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4622            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4623              'mkdir (GNU coreutils) '* | \
4624              'mkdir (coreutils) '* | \
4625              'mkdir (fileutils) '4.1*)
4626                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4627                break 3;;
4628            esac
4629          done
4630        done
4631   done
4632 IFS=$as_save_IFS
4633
4634 fi
4635
4636   test -d ./--version && rmdir ./--version
4637   if test "${ac_cv_path_mkdir+set}" = set; then
4638     MKDIR_P="$ac_cv_path_mkdir -p"
4639   else
4640     # As a last resort, use the slow shell script.  Don't cache a
4641     # value for MKDIR_P within a source directory, because that will
4642     # break other packages using the cache if that directory is
4643     # removed, or if the value is a relative name.
4644     MKDIR_P="$ac_install_sh -d"
4645   fi
4646 fi
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4648 $as_echo "$MKDIR_P" >&6; }
4649
4650 mkdir_p="$MKDIR_P"
4651 case $mkdir_p in
4652   [\\/$]* | ?:[\\/]*) ;;
4653   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4654 esac
4655
4656 for ac_prog in gawk mawk nawk awk
4657 do
4658   # Extract the first word of "$ac_prog", so it can be a program name with args.
4659 set dummy $ac_prog; ac_word=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_AWK+:} false; then :
4663   $as_echo_n "(cached) " >&6
4664 else
4665   if test -n "$AWK"; then
4666   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4667 else
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH
4670 do
4671   IFS=$as_save_IFS
4672   test -z "$as_dir" && as_dir=.
4673     for ac_exec_ext in '' $ac_executable_extensions; do
4674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675     ac_cv_prog_AWK="$ac_prog"
4676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677     break 2
4678   fi
4679 done
4680   done
4681 IFS=$as_save_IFS
4682
4683 fi
4684 fi
4685 AWK=$ac_cv_prog_AWK
4686 if test -n "$AWK"; then
4687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4688 $as_echo "$AWK" >&6; }
4689 else
4690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4692 fi
4693
4694
4695   test -n "$AWK" && break
4696 done
4697
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4699 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4700 set x ${MAKE-make}
4701 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4702 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4703   $as_echo_n "(cached) " >&6
4704 else
4705   cat >conftest.make <<\_ACEOF
4706 SHELL = /bin/sh
4707 all:
4708         @echo '@@@%%%=$(MAKE)=@@@%%%'
4709 _ACEOF
4710 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4711 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4712   *@@@%%%=?*=@@@%%%*)
4713     eval ac_cv_prog_make_${ac_make}_set=yes;;
4714   *)
4715     eval ac_cv_prog_make_${ac_make}_set=no;;
4716 esac
4717 rm -f conftest.make
4718 fi
4719 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4721 $as_echo "yes" >&6; }
4722   SET_MAKE=
4723 else
4724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4726   SET_MAKE="MAKE=${MAKE-make}"
4727 fi
4728
4729 rm -rf .tst 2>/dev/null
4730 mkdir .tst 2>/dev/null
4731 if test -d .tst; then
4732   am__leading_dot=.
4733 else
4734   am__leading_dot=_
4735 fi
4736 rmdir .tst 2>/dev/null
4737
4738 DEPDIR="${am__leading_dot}deps"
4739
4740 ac_config_commands="$ac_config_commands depfiles"
4741
4742
4743 am_make=${MAKE-make}
4744 cat > confinc << 'END'
4745 am__doit:
4746         @echo this is the am__doit target
4747 .PHONY: am__doit
4748 END
4749 # If we don't find an include directive, just comment out the code.
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4751 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4752 am__include="#"
4753 am__quote=
4754 _am_result=none
4755 # First try GNU make style include.
4756 echo "include confinc" > confmf
4757 # Ignore all kinds of additional output from `make'.
4758 case `$am_make -s -f confmf 2> /dev/null` in #(
4759 *the\ am__doit\ target*)
4760   am__include=include
4761   am__quote=
4762   _am_result=GNU
4763   ;;
4764 esac
4765 # Now try BSD make style include.
4766 if test "$am__include" = "#"; then
4767    echo '.include "confinc"' > confmf
4768    case `$am_make -s -f confmf 2> /dev/null` in #(
4769    *the\ am__doit\ target*)
4770      am__include=.include
4771      am__quote="\""
4772      _am_result=BSD
4773      ;;
4774    esac
4775 fi
4776
4777
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4779 $as_echo "$_am_result" >&6; }
4780 rm -f confinc confmf
4781
4782 # Check whether --enable-dependency-tracking was given.
4783 if test "${enable_dependency_tracking+set}" = set; then :
4784   enableval=$enable_dependency_tracking;
4785 fi
4786
4787 if test "x$enable_dependency_tracking" != xno; then
4788   am_depcomp="$ac_aux_dir/depcomp"
4789   AMDEPBACKSLASH='\'
4790   am__nodep='_no'
4791 fi
4792  if test "x$enable_dependency_tracking" != xno; then
4793   AMDEP_TRUE=
4794   AMDEP_FALSE='#'
4795 else
4796   AMDEP_TRUE='#'
4797   AMDEP_FALSE=
4798 fi
4799
4800
4801 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4802   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4803   # is not polluted with repeated "-I."
4804   am__isrc=' -I$(srcdir)'
4805   # test to see if srcdir already configured
4806   if test -f $srcdir/config.status; then
4807     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4808   fi
4809 fi
4810
4811 # test whether we have cygpath
4812 if test -z "$CYGPATH_W"; then
4813   if (cygpath --version) >/dev/null 2>/dev/null; then
4814     CYGPATH_W='cygpath -w'
4815   else
4816     CYGPATH_W=echo
4817   fi
4818 fi
4819
4820
4821 # Define the identity of the package.
4822  PACKAGE='rygel-gst-0-10-fullscreen-renderer'
4823  VERSION='1.17.4'
4824
4825
4826 cat >>confdefs.h <<_ACEOF
4827 #define PACKAGE "$PACKAGE"
4828 _ACEOF
4829
4830
4831 cat >>confdefs.h <<_ACEOF
4832 #define VERSION "$VERSION"
4833 _ACEOF
4834
4835 # Some tools Automake needs.
4836
4837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4838
4839
4840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4841
4842
4843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4844
4845
4846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4847
4848
4849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4850
4851 # We need awk for the "check" target.  The system "awk" is bad on
4852 # some platforms.
4853 # Always define AMTAR for backward compatibility.  Yes, it's still used
4854 # in the wild :-(  We should find a proper way to deprecate it ...
4855 AMTAR='$${TAR-tar}'
4856
4857
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4859 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
4860 # Loop over all known methods to create a tar archive until one works.
4861 _am_tools='gnutar plaintar pax cpio none'
4862 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4863 # Do not fold the above two line into one, because Tru64 sh and
4864 # Solaris sh will not grok spaces in the rhs of `-'.
4865 for _am_tool in $_am_tools
4866 do
4867   case $_am_tool in
4868   gnutar)
4869     for _am_tar in tar gnutar gtar;
4870     do
4871       { echo "$as_me:$LINENO: $_am_tar --version" >&5
4872    ($_am_tar --version) >&5 2>&5
4873    ac_status=$?
4874    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875    (exit $ac_status); } && break
4876     done
4877     am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4878     am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4879     am__untar="$_am_tar -xf -"
4880     ;;
4881   plaintar)
4882     # Must skip GNU tar: if it does not support --format= it doesn't create
4883     # ustar tarball either.
4884     (tar --version) >/dev/null 2>&1 && continue
4885     am__tar='tar chf - "$$tardir"'
4886     am__tar_='tar chf - "$tardir"'
4887     am__untar='tar xf -'
4888     ;;
4889   pax)
4890     am__tar='pax -L -x ustar -w "$$tardir"'
4891     am__tar_='pax -L -x ustar -w "$tardir"'
4892     am__untar='pax -r'
4893     ;;
4894   cpio)
4895     am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4896     am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4897     am__untar='cpio -i -H ustar -d'
4898     ;;
4899   none)
4900     am__tar=false
4901     am__tar_=false
4902     am__untar=false
4903     ;;
4904   esac
4905
4906   # If the value was cached, stop now.  We just wanted to have am__tar
4907   # and am__untar set.
4908   test -n "${am_cv_prog_tar_ustar}" && break
4909
4910   # tar/untar a dummy directory, and stop if the command works
4911   rm -rf conftest.dir
4912   mkdir conftest.dir
4913   echo GrepMe > conftest.dir/file
4914   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4915    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4916    ac_status=$?
4917    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918    (exit $ac_status); }
4919   rm -rf conftest.dir
4920   if test -s conftest.tar; then
4921     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4922    ($am__untar <conftest.tar) >&5 2>&5
4923    ac_status=$?
4924    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925    (exit $ac_status); }
4926     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4927   fi
4928 done
4929 rm -rf conftest.dir
4930
4931 if ${am_cv_prog_tar_ustar+:} false; then :
4932   $as_echo_n "(cached) " >&6
4933 else
4934   am_cv_prog_tar_ustar=$_am_tool
4935 fi
4936
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4938 $as_echo "$am_cv_prog_tar_ustar" >&6; }
4939
4940
4941
4942
4943 depcc="$CC"   am_compiler_list=
4944
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4946 $as_echo_n "checking dependency style of $depcc... " >&6; }
4947 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4948   $as_echo_n "(cached) " >&6
4949 else
4950   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4951   # We make a subdir and do the tests there.  Otherwise we can end up
4952   # making bogus files that we don't know about and never remove.  For
4953   # instance it was reported that on HP-UX the gcc test will end up
4954   # making a dummy file named `D' -- because `-MD' means `put the output
4955   # in D'.
4956   rm -rf conftest.dir
4957   mkdir conftest.dir
4958   # Copy depcomp to subdir because otherwise we won't find it if we're
4959   # using a relative directory.
4960   cp "$am_depcomp" conftest.dir
4961   cd conftest.dir
4962   # We will build objects and dependencies in a subdirectory because
4963   # it helps to detect inapplicable dependency modes.  For instance
4964   # both Tru64's cc and ICC support -MD to output dependencies as a
4965   # side effect of compilation, but ICC will put the dependencies in
4966   # the current directory while Tru64 will put them in the object
4967   # directory.
4968   mkdir sub
4969
4970   am_cv_CC_dependencies_compiler_type=none
4971   if test "$am_compiler_list" = ""; then
4972      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4973   fi
4974   am__universal=false
4975   case " $depcc " in #(
4976      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4977      esac
4978
4979   for depmode in $am_compiler_list; do
4980     # Setup a source with many dependencies, because some compilers
4981     # like to wrap large dependency lists on column 80 (with \), and
4982     # we should not choose a depcomp mode which is confused by this.
4983     #
4984     # We need to recreate these files for each test, as the compiler may
4985     # overwrite some of them when testing with obscure command lines.
4986     # This happens at least with the AIX C compiler.
4987     : > sub/conftest.c
4988     for i in 1 2 3 4 5 6; do
4989       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4990       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4991       # Solaris 8's {/usr,}/bin/sh.
4992       touch sub/conftst$i.h
4993     done
4994     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4995
4996     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4997     # mode.  It turns out that the SunPro C++ compiler does not properly
4998     # handle `-M -o', and we need to detect this.  Also, some Intel
4999     # versions had trouble with output in subdirs
5000     am__obj=sub/conftest.${OBJEXT-o}
5001     am__minus_obj="-o $am__obj"
5002     case $depmode in
5003     gcc)
5004       # This depmode causes a compiler race in universal mode.
5005       test "$am__universal" = false || continue
5006       ;;
5007     nosideeffect)
5008       # after this tag, mechanisms are not by side-effect, so they'll
5009       # only be used when explicitly requested
5010       if test "x$enable_dependency_tracking" = xyes; then
5011         continue
5012       else
5013         break
5014       fi
5015       ;;
5016     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5017       # This compiler won't grok `-c -o', but also, the minuso test has
5018       # not run yet.  These depmodes are late enough in the game, and
5019       # so weak that their functioning should not be impacted.
5020       am__obj=conftest.${OBJEXT-o}
5021       am__minus_obj=
5022       ;;
5023     none) break ;;
5024     esac
5025     if depmode=$depmode \
5026        source=sub/conftest.c object=$am__obj \
5027        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5028        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5029          >/dev/null 2>conftest.err &&
5030        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5031        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5032        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5033        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5034       # icc doesn't choke on unknown options, it will just issue warnings
5035       # or remarks (even with -Werror).  So we grep stderr for any message
5036       # that says an option was ignored or not supported.
5037       # When given -MP, icc 7.0 and 7.1 complain thusly:
5038       #   icc: Command line warning: ignoring option '-M'; no argument required
5039       # The diagnosis changed in icc 8.0:
5040       #   icc: Command line remark: option '-MP' not supported
5041       if (grep 'ignoring option' conftest.err ||
5042           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5043         am_cv_CC_dependencies_compiler_type=$depmode
5044         break
5045       fi
5046     fi
5047   done
5048
5049   cd ..
5050   rm -rf conftest.dir
5051 else
5052   am_cv_CC_dependencies_compiler_type=none
5053 fi
5054
5055 fi
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5057 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5058 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5059
5060  if
5061   test "x$enable_dependency_tracking" != xno \
5062   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5063   am__fastdepCC_TRUE=
5064   am__fastdepCC_FALSE='#'
5065 else
5066   am__fastdepCC_TRUE='#'
5067   am__fastdepCC_FALSE=
5068 fi
5069
5070
5071
5072
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5074 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5075     # Check whether --enable-maintainer-mode was given.
5076 if test "${enable_maintainer_mode+set}" = set; then :
5077   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5078 else
5079   USE_MAINTAINER_MODE=yes
5080 fi
5081
5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5083 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5084    if test $USE_MAINTAINER_MODE = yes; then
5085   MAINTAINER_MODE_TRUE=
5086   MAINTAINER_MODE_FALSE='#'
5087 else
5088   MAINTAINER_MODE_TRUE='#'
5089   MAINTAINER_MODE_FALSE=
5090 fi
5091
5092   MAINT=$MAINTAINER_MODE_TRUE
5093
5094
5095
5096
5097 case `pwd` in
5098   *\ * | *\     *)
5099     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5100 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5101 esac
5102
5103
5104
5105 macro_version='2.4.2'
5106 macro_revision='1.3337'
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120 ltmain="$ac_aux_dir/ltmain.sh"
5121
5122 # Make sure we can run config.sub.
5123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5124   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5125
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5127 $as_echo_n "checking build system type... " >&6; }
5128 if ${ac_cv_build+:} false; then :
5129   $as_echo_n "(cached) " >&6
5130 else
5131   ac_build_alias=$build_alias
5132 test "x$ac_build_alias" = x &&
5133   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5134 test "x$ac_build_alias" = x &&
5135   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5136 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5137   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5138
5139 fi
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5141 $as_echo "$ac_cv_build" >&6; }
5142 case $ac_cv_build in
5143 *-*-*) ;;
5144 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5145 esac
5146 build=$ac_cv_build
5147 ac_save_IFS=$IFS; IFS='-'
5148 set x $ac_cv_build
5149 shift
5150 build_cpu=$1
5151 build_vendor=$2
5152 shift; shift
5153 # Remember, the first character of IFS is used to create $*,
5154 # except with old shells:
5155 build_os=$*
5156 IFS=$ac_save_IFS
5157 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5158
5159
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5161 $as_echo_n "checking host system type... " >&6; }
5162 if ${ac_cv_host+:} false; then :
5163   $as_echo_n "(cached) " >&6
5164 else
5165   if test "x$host_alias" = x; then
5166   ac_cv_host=$ac_cv_build
5167 else
5168   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5169     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5170 fi
5171
5172 fi
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5174 $as_echo "$ac_cv_host" >&6; }
5175 case $ac_cv_host in
5176 *-*-*) ;;
5177 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5178 esac
5179 host=$ac_cv_host
5180 ac_save_IFS=$IFS; IFS='-'
5181 set x $ac_cv_host
5182 shift
5183 host_cpu=$1
5184 host_vendor=$2
5185 shift; shift
5186 # Remember, the first character of IFS is used to create $*,
5187 # except with old shells:
5188 host_os=$*
5189 IFS=$ac_save_IFS
5190 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5191
5192
5193 # Backslashify metacharacters that are still active within
5194 # double-quoted strings.
5195 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5196
5197 # Same as above, but do not quote variable references.
5198 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5199
5200 # Sed substitution to delay expansion of an escaped shell variable in a
5201 # double_quote_subst'ed string.
5202 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5203
5204 # Sed substitution to delay expansion of an escaped single quote.
5205 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5206
5207 # Sed substitution to avoid accidental globbing in evaled expressions
5208 no_glob_subst='s/\*/\\\*/g'
5209
5210 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5211 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5212 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5213
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5215 $as_echo_n "checking how to print strings... " >&6; }
5216 # Test print first, because it will be a builtin if present.
5217 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5218    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5219   ECHO='print -r --'
5220 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5221   ECHO='printf %s\n'
5222 else
5223   # Use this function as a fallback that always works.
5224   func_fallback_echo ()
5225   {
5226     eval 'cat <<_LTECHO_EOF
5227 $1
5228 _LTECHO_EOF'
5229   }
5230   ECHO='func_fallback_echo'
5231 fi
5232
5233 # func_echo_all arg...
5234 # Invoke $ECHO with all args, space-separated.
5235 func_echo_all ()
5236 {
5237     $ECHO ""
5238 }
5239
5240 case "$ECHO" in
5241   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5242 $as_echo "printf" >&6; } ;;
5243   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5244 $as_echo "print -r" >&6; } ;;
5245   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5246 $as_echo "cat" >&6; } ;;
5247 esac
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5263 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5264 if ${ac_cv_path_SED+:} false; then :
5265   $as_echo_n "(cached) " >&6
5266 else
5267             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5268      for ac_i in 1 2 3 4 5 6 7; do
5269        ac_script="$ac_script$as_nl$ac_script"
5270      done
5271      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5272      { ac_script=; unset ac_script;}
5273      if test -z "$SED"; then
5274   ac_path_SED_found=false
5275   # Loop through the user's path and test for each of PROGNAME-LIST
5276   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5277 for as_dir in $PATH
5278 do
5279   IFS=$as_save_IFS
5280   test -z "$as_dir" && as_dir=.
5281     for ac_prog in sed gsed; do
5282     for ac_exec_ext in '' $ac_executable_extensions; do
5283       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5284       as_fn_executable_p "$ac_path_SED" || continue
5285 # Check for GNU ac_path_SED and select it if it is found.
5286   # Check for GNU $ac_path_SED
5287 case `"$ac_path_SED" --version 2>&1` in
5288 *GNU*)
5289   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5290 *)
5291   ac_count=0
5292   $as_echo_n 0123456789 >"conftest.in"
5293   while :
5294   do
5295     cat "conftest.in" "conftest.in" >"conftest.tmp"
5296     mv "conftest.tmp" "conftest.in"
5297     cp "conftest.in" "conftest.nl"
5298     $as_echo '' >> "conftest.nl"
5299     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5300     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5301     as_fn_arith $ac_count + 1 && ac_count=$as_val
5302     if test $ac_count -gt ${ac_path_SED_max-0}; then
5303       # Best one so far, save it but keep looking for a better one
5304       ac_cv_path_SED="$ac_path_SED"
5305       ac_path_SED_max=$ac_count
5306     fi
5307     # 10*(2^10) chars as input seems more than enough
5308     test $ac_count -gt 10 && break
5309   done
5310   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5311 esac
5312
5313       $ac_path_SED_found && break 3
5314     done
5315   done
5316   done
5317 IFS=$as_save_IFS
5318   if test -z "$ac_cv_path_SED"; then
5319     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5320   fi
5321 else
5322   ac_cv_path_SED=$SED
5323 fi
5324
5325 fi
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5327 $as_echo "$ac_cv_path_SED" >&6; }
5328  SED="$ac_cv_path_SED"
5329   rm -f conftest.sed
5330
5331 test -z "$SED" && SED=sed
5332 Xsed="$SED -e 1s/^X//"
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5345 $as_echo_n "checking for fgrep... " >&6; }
5346 if ${ac_cv_path_FGREP+:} false; then :
5347   $as_echo_n "(cached) " >&6
5348 else
5349   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5350    then ac_cv_path_FGREP="$GREP -F"
5351    else
5352      if test -z "$FGREP"; then
5353   ac_path_FGREP_found=false
5354   # Loop through the user's path and test for each of PROGNAME-LIST
5355   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5357 do
5358   IFS=$as_save_IFS
5359   test -z "$as_dir" && as_dir=.
5360     for ac_prog in fgrep; do
5361     for ac_exec_ext in '' $ac_executable_extensions; do
5362       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5363       as_fn_executable_p "$ac_path_FGREP" || continue
5364 # Check for GNU ac_path_FGREP and select it if it is found.
5365   # Check for GNU $ac_path_FGREP
5366 case `"$ac_path_FGREP" --version 2>&1` in
5367 *GNU*)
5368   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5369 *)
5370   ac_count=0
5371   $as_echo_n 0123456789 >"conftest.in"
5372   while :
5373   do
5374     cat "conftest.in" "conftest.in" >"conftest.tmp"
5375     mv "conftest.tmp" "conftest.in"
5376     cp "conftest.in" "conftest.nl"
5377     $as_echo 'FGREP' >> "conftest.nl"
5378     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5379     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5380     as_fn_arith $ac_count + 1 && ac_count=$as_val
5381     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5382       # Best one so far, save it but keep looking for a better one
5383       ac_cv_path_FGREP="$ac_path_FGREP"
5384       ac_path_FGREP_max=$ac_count
5385     fi
5386     # 10*(2^10) chars as input seems more than enough
5387     test $ac_count -gt 10 && break
5388   done
5389   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5390 esac
5391
5392       $ac_path_FGREP_found && break 3
5393     done
5394   done
5395   done
5396 IFS=$as_save_IFS
5397   if test -z "$ac_cv_path_FGREP"; then
5398     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5399   fi
5400 else
5401   ac_cv_path_FGREP=$FGREP
5402 fi
5403
5404    fi
5405 fi
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5407 $as_echo "$ac_cv_path_FGREP" >&6; }
5408  FGREP="$ac_cv_path_FGREP"
5409
5410
5411 test -z "$GREP" && GREP=grep
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431 # Check whether --with-gnu-ld was given.
5432 if test "${with_gnu_ld+set}" = set; then :
5433   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5434 else
5435   with_gnu_ld=no
5436 fi
5437
5438 ac_prog=ld
5439 if test "$GCC" = yes; then
5440   # Check if gcc -print-prog-name=ld gives a path.
5441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5442 $as_echo_n "checking for ld used by $CC... " >&6; }
5443   case $host in
5444   *-*-mingw*)
5445     # gcc leaves a trailing carriage return which upsets mingw
5446     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5447   *)
5448     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5449   esac
5450   case $ac_prog in
5451     # Accept absolute paths.
5452     [\\/]* | ?:[\\/]*)
5453       re_direlt='/[^/][^/]*/\.\./'
5454       # Canonicalize the pathname of ld
5455       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5456       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5457         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5458       done
5459       test -z "$LD" && LD="$ac_prog"
5460       ;;
5461   "")
5462     # If it fails, then pretend we aren't using GCC.
5463     ac_prog=ld
5464     ;;
5465   *)
5466     # If it is relative, then search for the first ld in PATH.
5467     with_gnu_ld=unknown
5468     ;;
5469   esac
5470 elif test "$with_gnu_ld" = yes; then
5471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5472 $as_echo_n "checking for GNU ld... " >&6; }
5473 else
5474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5475 $as_echo_n "checking for non-GNU ld... " >&6; }
5476 fi
5477 if ${lt_cv_path_LD+:} false; then :
5478   $as_echo_n "(cached) " >&6
5479 else
5480   if test -z "$LD"; then
5481   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5482   for ac_dir in $PATH; do
5483     IFS="$lt_save_ifs"
5484     test -z "$ac_dir" && ac_dir=.
5485     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5486       lt_cv_path_LD="$ac_dir/$ac_prog"
5487       # Check to see if the program is GNU ld.  I'd rather use --version,
5488       # but apparently some variants of GNU ld only accept -v.
5489       # Break only if it was the GNU/non-GNU ld that we prefer.
5490       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5491       *GNU* | *'with BFD'*)
5492         test "$with_gnu_ld" != no && break
5493         ;;
5494       *)
5495         test "$with_gnu_ld" != yes && break
5496         ;;
5497       esac
5498     fi
5499   done
5500   IFS="$lt_save_ifs"
5501 else
5502   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5503 fi
5504 fi
5505
5506 LD="$lt_cv_path_LD"
5507 if test -n "$LD"; then
5508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5509 $as_echo "$LD" >&6; }
5510 else
5511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5513 fi
5514 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5516 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5517 if ${lt_cv_prog_gnu_ld+:} false; then :
5518   $as_echo_n "(cached) " >&6
5519 else
5520   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5521 case `$LD -v 2>&1 </dev/null` in
5522 *GNU* | *'with BFD'*)
5523   lt_cv_prog_gnu_ld=yes
5524   ;;
5525 *)
5526   lt_cv_prog_gnu_ld=no
5527   ;;
5528 esac
5529 fi
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5531 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5532 with_gnu_ld=$lt_cv_prog_gnu_ld
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5543 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5544 if ${lt_cv_path_NM+:} false; then :
5545   $as_echo_n "(cached) " >&6
5546 else
5547   if test -n "$NM"; then
5548   # Let the user override the test.
5549   lt_cv_path_NM="$NM"
5550 else
5551   lt_nm_to_check="${ac_tool_prefix}nm"
5552   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5553     lt_nm_to_check="$lt_nm_to_check nm"
5554   fi
5555   for lt_tmp_nm in $lt_nm_to_check; do
5556     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5557     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5558       IFS="$lt_save_ifs"
5559       test -z "$ac_dir" && ac_dir=.
5560       tmp_nm="$ac_dir/$lt_tmp_nm"
5561       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5562         # Check to see if the nm accepts a BSD-compat flag.
5563         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5564         #   nm: unknown option "B" ignored
5565         # Tru64's nm complains that /dev/null is an invalid object file
5566         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5567         */dev/null* | *'Invalid file or object type'*)
5568           lt_cv_path_NM="$tmp_nm -B"
5569           break
5570           ;;
5571         *)
5572           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5573           */dev/null*)
5574             lt_cv_path_NM="$tmp_nm -p"
5575             break
5576             ;;
5577           *)
5578             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5579             continue # so that we can try to find one that supports BSD flags
5580             ;;
5581           esac
5582           ;;
5583         esac
5584       fi
5585     done
5586     IFS="$lt_save_ifs"
5587   done
5588   : ${lt_cv_path_NM=no}
5589 fi
5590 fi
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5592 $as_echo "$lt_cv_path_NM" >&6; }
5593 if test "$lt_cv_path_NM" != "no"; then
5594   NM="$lt_cv_path_NM"
5595 else
5596   # Didn't find any BSD compatible name lister, look for dumpbin.
5597   if test -n "$DUMPBIN"; then :
5598     # Let the user override the test.
5599   else
5600     if test -n "$ac_tool_prefix"; then
5601   for ac_prog in dumpbin "link -dump"
5602   do
5603     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_DUMPBIN+:} false; then :
5608   $as_echo_n "(cached) " >&6
5609 else
5610   if test -n "$DUMPBIN"; then
5611   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5615 do
5616   IFS=$as_save_IFS
5617   test -z "$as_dir" && as_dir=.
5618     for ac_exec_ext in '' $ac_executable_extensions; do
5619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622     break 2
5623   fi
5624 done
5625   done
5626 IFS=$as_save_IFS
5627
5628 fi
5629 fi
5630 DUMPBIN=$ac_cv_prog_DUMPBIN
5631 if test -n "$DUMPBIN"; then
5632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5633 $as_echo "$DUMPBIN" >&6; }
5634 else
5635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5637 fi
5638
5639
5640     test -n "$DUMPBIN" && break
5641   done
5642 fi
5643 if test -z "$DUMPBIN"; then
5644   ac_ct_DUMPBIN=$DUMPBIN
5645   for ac_prog in dumpbin "link -dump"
5646 do
5647   # Extract the first word of "$ac_prog", so it can be a program name with args.
5648 set dummy $ac_prog; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5652   $as_echo_n "(cached) " >&6
5653 else
5654   if test -n "$ac_ct_DUMPBIN"; then
5655   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5656 else
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $PATH
5659 do
5660   IFS=$as_save_IFS
5661   test -z "$as_dir" && as_dir=.
5662     for ac_exec_ext in '' $ac_executable_extensions; do
5663   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666     break 2
5667   fi
5668 done
5669   done
5670 IFS=$as_save_IFS
5671
5672 fi
5673 fi
5674 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5675 if test -n "$ac_ct_DUMPBIN"; then
5676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5677 $as_echo "$ac_ct_DUMPBIN" >&6; }
5678 else
5679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5681 fi
5682
5683
5684   test -n "$ac_ct_DUMPBIN" && break
5685 done
5686
5687   if test "x$ac_ct_DUMPBIN" = x; then
5688     DUMPBIN=":"
5689   else
5690     case $cross_compiling:$ac_tool_warned in
5691 yes:)
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5694 ac_tool_warned=yes ;;
5695 esac
5696     DUMPBIN=$ac_ct_DUMPBIN
5697   fi
5698 fi
5699
5700     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5701     *COFF*)
5702       DUMPBIN="$DUMPBIN -symbols"
5703       ;;
5704     *)
5705       DUMPBIN=:
5706       ;;
5707     esac
5708   fi
5709
5710   if test "$DUMPBIN" != ":"; then
5711     NM="$DUMPBIN"
5712   fi
5713 fi
5714 test -z "$NM" && NM=nm
5715
5716
5717
5718
5719
5720
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5722 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5723 if ${lt_cv_nm_interface+:} false; then :
5724   $as_echo_n "(cached) " >&6
5725 else
5726   lt_cv_nm_interface="BSD nm"
5727   echo "int some_variable = 0;" > conftest.$ac_ext
5728   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5729   (eval "$ac_compile" 2>conftest.err)
5730   cat conftest.err >&5
5731   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5732   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5733   cat conftest.err >&5
5734   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5735   cat conftest.out >&5
5736   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5737     lt_cv_nm_interface="MS dumpbin"
5738   fi
5739   rm -f conftest*
5740 fi
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5742 $as_echo "$lt_cv_nm_interface" >&6; }
5743
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5745 $as_echo_n "checking whether ln -s works... " >&6; }
5746 LN_S=$as_ln_s
5747 if test "$LN_S" = "ln -s"; then
5748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5749 $as_echo "yes" >&6; }
5750 else
5751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5752 $as_echo "no, using $LN_S" >&6; }
5753 fi
5754
5755 # find the maximum length of command line arguments
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5757 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5758 if ${lt_cv_sys_max_cmd_len+:} false; then :
5759   $as_echo_n "(cached) " >&6
5760 else
5761     i=0
5762   teststring="ABCD"
5763
5764   case $build_os in
5765   msdosdjgpp*)
5766     # On DJGPP, this test can blow up pretty badly due to problems in libc
5767     # (any single argument exceeding 2000 bytes causes a buffer overrun
5768     # during glob expansion).  Even if it were fixed, the result of this
5769     # check would be larger than it should be.
5770     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5771     ;;
5772
5773   gnu*)
5774     # Under GNU Hurd, this test is not required because there is
5775     # no limit to the length of command line arguments.
5776     # Libtool will interpret -1 as no limit whatsoever
5777     lt_cv_sys_max_cmd_len=-1;
5778     ;;
5779
5780   cygwin* | mingw* | cegcc*)
5781     # On Win9x/ME, this test blows up -- it succeeds, but takes
5782     # about 5 minutes as the teststring grows exponentially.
5783     # Worse, since 9x/ME are not pre-emptively multitasking,
5784     # you end up with a "frozen" computer, even though with patience
5785     # the test eventually succeeds (with a max line length of 256k).
5786     # Instead, let's just punt: use the minimum linelength reported by
5787     # all of the supported platforms: 8192 (on NT/2K/XP).
5788     lt_cv_sys_max_cmd_len=8192;
5789     ;;
5790
5791   mint*)
5792     # On MiNT this can take a long time and run out of memory.
5793     lt_cv_sys_max_cmd_len=8192;
5794     ;;
5795
5796   amigaos*)
5797     # On AmigaOS with pdksh, this test takes hours, literally.
5798     # So we just punt and use a minimum line length of 8192.
5799     lt_cv_sys_max_cmd_len=8192;
5800     ;;
5801
5802   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5803     # This has been around since 386BSD, at least.  Likely further.
5804     if test -x /sbin/sysctl; then
5805       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5806     elif test -x /usr/sbin/sysctl; then
5807       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5808     else
5809       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5810     fi
5811     # And add a safety zone
5812     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5813     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5814     ;;
5815
5816   interix*)
5817     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5818     lt_cv_sys_max_cmd_len=196608
5819     ;;
5820
5821   os2*)
5822     # The test takes a long time on OS/2.
5823     lt_cv_sys_max_cmd_len=8192
5824     ;;
5825
5826   osf*)
5827     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5828     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5829     # nice to cause kernel panics so lets avoid the loop below.
5830     # First set a reasonable default.
5831     lt_cv_sys_max_cmd_len=16384
5832     #
5833     if test -x /sbin/sysconfig; then
5834       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5835         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5836       esac
5837     fi
5838     ;;
5839   sco3.2v5*)
5840     lt_cv_sys_max_cmd_len=102400
5841     ;;
5842   sysv5* | sco5v6* | sysv4.2uw2*)
5843     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5844     if test -n "$kargmax"; then
5845       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5846     else
5847       lt_cv_sys_max_cmd_len=32768
5848     fi
5849     ;;
5850   *)
5851     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5852     if test -n "$lt_cv_sys_max_cmd_len"; then
5853       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5854       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5855     else
5856       # Make teststring a little bigger before we do anything with it.
5857       # a 1K string should be a reasonable start.
5858       for i in 1 2 3 4 5 6 7 8 ; do
5859         teststring=$teststring$teststring
5860       done
5861       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5862       # If test is not a shell built-in, we'll probably end up computing a
5863       # maximum length that is only half of the actual maximum length, but
5864       # we can't tell.
5865       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5866                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5867               test $i != 17 # 1/2 MB should be enough
5868       do
5869         i=`expr $i + 1`
5870         teststring=$teststring$teststring
5871       done
5872       # Only check the string length outside the loop.
5873       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5874       teststring=
5875       # Add a significant safety factor because C++ compilers can tack on
5876       # massive amounts of additional arguments before passing them to the
5877       # linker.  It appears as though 1/2 is a usable value.
5878       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5879     fi
5880     ;;
5881   esac
5882
5883 fi
5884
5885 if test -n $lt_cv_sys_max_cmd_len ; then
5886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5887 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5888 else
5889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5890 $as_echo "none" >&6; }
5891 fi
5892 max_cmd_len=$lt_cv_sys_max_cmd_len
5893
5894
5895
5896
5897
5898
5899 : ${CP="cp -f"}
5900 : ${MV="mv -f"}
5901 : ${RM="rm -f"}
5902
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5904 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5905 # Try some XSI features
5906 xsi_shell=no
5907 ( _lt_dummy="a/b/c"
5908   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5909       = c,a/b,b/c, \
5910     && eval 'test $(( 1 + 1 )) -eq 2 \
5911     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5912   && xsi_shell=yes
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5914 $as_echo "$xsi_shell" >&6; }
5915
5916
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5918 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5919 lt_shell_append=no
5920 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5921     >/dev/null 2>&1 \
5922   && lt_shell_append=yes
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5924 $as_echo "$lt_shell_append" >&6; }
5925
5926
5927 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5928   lt_unset=unset
5929 else
5930   lt_unset=false
5931 fi
5932
5933
5934
5935
5936
5937 # test EBCDIC or ASCII
5938 case `echo X|tr X '\101'` in
5939  A) # ASCII based system
5940     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5941   lt_SP2NL='tr \040 \012'
5942   lt_NL2SP='tr \015\012 \040\040'
5943   ;;
5944  *) # EBCDIC based system
5945   lt_SP2NL='tr \100 \n'
5946   lt_NL2SP='tr \r\n \100\100'
5947   ;;
5948 esac
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5959 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5960 if ${lt_cv_to_host_file_cmd+:} false; then :
5961   $as_echo_n "(cached) " >&6
5962 else
5963   case $host in
5964   *-*-mingw* )
5965     case $build in
5966       *-*-mingw* ) # actually msys
5967         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5968         ;;
5969       *-*-cygwin* )
5970         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5971         ;;
5972       * ) # otherwise, assume *nix
5973         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5974         ;;
5975     esac
5976     ;;
5977   *-*-cygwin* )
5978     case $build in
5979       *-*-mingw* ) # actually msys
5980         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5981         ;;
5982       *-*-cygwin* )
5983         lt_cv_to_host_file_cmd=func_convert_file_noop
5984         ;;
5985       * ) # otherwise, assume *nix
5986         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5987         ;;
5988     esac
5989     ;;
5990   * ) # unhandled hosts (and "normal" native builds)
5991     lt_cv_to_host_file_cmd=func_convert_file_noop
5992     ;;
5993 esac
5994
5995 fi
5996
5997 to_host_file_cmd=$lt_cv_to_host_file_cmd
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5999 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6000
6001
6002
6003
6004
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6006 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6007 if ${lt_cv_to_tool_file_cmd+:} false; then :
6008   $as_echo_n "(cached) " >&6
6009 else
6010   #assume ordinary cross tools, or native build.
6011 lt_cv_to_tool_file_cmd=func_convert_file_noop
6012 case $host in
6013   *-*-mingw* )
6014     case $build in
6015       *-*-mingw* ) # actually msys
6016         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6017         ;;
6018     esac
6019     ;;
6020 esac
6021
6022 fi
6023
6024 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6026 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6027
6028
6029
6030
6031
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6033 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6034 if ${lt_cv_ld_reload_flag+:} false; then :
6035   $as_echo_n "(cached) " >&6
6036 else
6037   lt_cv_ld_reload_flag='-r'
6038 fi
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6040 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6041 reload_flag=$lt_cv_ld_reload_flag
6042 case $reload_flag in
6043 "" | " "*) ;;
6044 *) reload_flag=" $reload_flag" ;;
6045 esac
6046 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6047 case $host_os in
6048   cygwin* | mingw* | pw32* | cegcc*)
6049     if test "$GCC" != yes; then
6050       reload_cmds=false
6051     fi
6052     ;;
6053   darwin*)
6054     if test "$GCC" = yes; then
6055       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6056     else
6057       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6058     fi
6059     ;;
6060 esac
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070 if test -n "$ac_tool_prefix"; then
6071   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6072 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_OBJDUMP+:} false; then :
6076   $as_echo_n "(cached) " >&6
6077 else
6078   if test -n "$OBJDUMP"; then
6079   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6083 do
6084   IFS=$as_save_IFS
6085   test -z "$as_dir" && as_dir=.
6086     for ac_exec_ext in '' $ac_executable_extensions; do
6087   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090     break 2
6091   fi
6092 done
6093   done
6094 IFS=$as_save_IFS
6095
6096 fi
6097 fi
6098 OBJDUMP=$ac_cv_prog_OBJDUMP
6099 if test -n "$OBJDUMP"; then
6100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6101 $as_echo "$OBJDUMP" >&6; }
6102 else
6103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6105 fi
6106
6107
6108 fi
6109 if test -z "$ac_cv_prog_OBJDUMP"; then
6110   ac_ct_OBJDUMP=$OBJDUMP
6111   # Extract the first word of "objdump", so it can be a program name with args.
6112 set dummy objdump; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6116   $as_echo_n "(cached) " >&6
6117 else
6118   if test -n "$ac_ct_OBJDUMP"; then
6119   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6123 do
6124   IFS=$as_save_IFS
6125   test -z "$as_dir" && as_dir=.
6126     for ac_exec_ext in '' $ac_executable_extensions; do
6127   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6128     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130     break 2
6131   fi
6132 done
6133   done
6134 IFS=$as_save_IFS
6135
6136 fi
6137 fi
6138 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6139 if test -n "$ac_ct_OBJDUMP"; then
6140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6141 $as_echo "$ac_ct_OBJDUMP" >&6; }
6142 else
6143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6145 fi
6146
6147   if test "x$ac_ct_OBJDUMP" = x; then
6148     OBJDUMP="false"
6149   else
6150     case $cross_compiling:$ac_tool_warned in
6151 yes:)
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6154 ac_tool_warned=yes ;;
6155 esac
6156     OBJDUMP=$ac_ct_OBJDUMP
6157   fi
6158 else
6159   OBJDUMP="$ac_cv_prog_OBJDUMP"
6160 fi
6161
6162 test -z "$OBJDUMP" && OBJDUMP=objdump
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6173 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6174 if ${lt_cv_deplibs_check_method+:} false; then :
6175   $as_echo_n "(cached) " >&6
6176 else
6177   lt_cv_file_magic_cmd='$MAGIC_CMD'
6178 lt_cv_file_magic_test_file=
6179 lt_cv_deplibs_check_method='unknown'
6180 # Need to set the preceding variable on all platforms that support
6181 # interlibrary dependencies.
6182 # 'none' -- dependencies not supported.
6183 # `unknown' -- same as none, but documents that we really don't know.
6184 # 'pass_all' -- all dependencies passed with no checks.
6185 # 'test_compile' -- check by making test program.
6186 # 'file_magic [[regex]]' -- check by looking for files in library path
6187 # which responds to the $file_magic_cmd with a given extended regex.
6188 # If you have `file' or equivalent on your system and you're not sure
6189 # whether `pass_all' will *always* work, you probably want this one.
6190
6191 case $host_os in
6192 aix[4-9]*)
6193   lt_cv_deplibs_check_method=pass_all
6194   ;;
6195
6196 beos*)
6197   lt_cv_deplibs_check_method=pass_all
6198   ;;
6199
6200 bsdi[45]*)
6201   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6202   lt_cv_file_magic_cmd='/usr/bin/file -L'
6203   lt_cv_file_magic_test_file=/shlib/libc.so
6204   ;;
6205
6206 cygwin*)
6207   # func_win32_libid is a shell function defined in ltmain.sh
6208   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6209   lt_cv_file_magic_cmd='func_win32_libid'
6210   ;;
6211
6212 mingw* | pw32*)
6213   # Base MSYS/MinGW do not provide the 'file' command needed by
6214   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6215   # unless we find 'file', for example because we are cross-compiling.
6216   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6217   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6218     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6219     lt_cv_file_magic_cmd='func_win32_libid'
6220   else
6221     # Keep this pattern in sync with the one in func_win32_libid.
6222     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6223     lt_cv_file_magic_cmd='$OBJDUMP -f'
6224   fi
6225   ;;
6226
6227 cegcc*)
6228   # use the weaker test based on 'objdump'. See mingw*.
6229   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6230   lt_cv_file_magic_cmd='$OBJDUMP -f'
6231   ;;
6232
6233 darwin* | rhapsody*)
6234   lt_cv_deplibs_check_method=pass_all
6235   ;;
6236
6237 freebsd* | dragonfly*)
6238   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6239     case $host_cpu in
6240     i*86 )
6241       # Not sure whether the presence of OpenBSD here was a mistake.
6242       # Let's accept both of them until this is cleared up.
6243       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6244       lt_cv_file_magic_cmd=/usr/bin/file
6245       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6246       ;;
6247     esac
6248   else
6249     lt_cv_deplibs_check_method=pass_all
6250   fi
6251   ;;
6252
6253 gnu*)
6254   lt_cv_deplibs_check_method=pass_all
6255   ;;
6256
6257 haiku*)
6258   lt_cv_deplibs_check_method=pass_all
6259   ;;
6260
6261 hpux10.20* | hpux11*)
6262   lt_cv_file_magic_cmd=/usr/bin/file
6263   case $host_cpu in
6264   ia64*)
6265     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6266     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6267     ;;
6268   hppa*64*)
6269     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]'
6270     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6271     ;;
6272   *)
6273     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6274     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6275     ;;
6276   esac
6277   ;;
6278
6279 interix[3-9]*)
6280   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6281   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6282   ;;
6283
6284 irix5* | irix6* | nonstopux*)
6285   case $LD in
6286   *-32|*"-32 ") libmagic=32-bit;;
6287   *-n32|*"-n32 ") libmagic=N32;;
6288   *-64|*"-64 ") libmagic=64-bit;;
6289   *) libmagic=never-match;;
6290   esac
6291   lt_cv_deplibs_check_method=pass_all
6292   ;;
6293
6294 # This must be glibc/ELF.
6295 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6296   lt_cv_deplibs_check_method=pass_all
6297   ;;
6298
6299 netbsd* | netbsdelf*-gnu)
6300   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6301     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6302   else
6303     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6304   fi
6305   ;;
6306
6307 newos6*)
6308   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6309   lt_cv_file_magic_cmd=/usr/bin/file
6310   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6311   ;;
6312
6313 *nto* | *qnx*)
6314   lt_cv_deplibs_check_method=pass_all
6315   ;;
6316
6317 openbsd*)
6318   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6319     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6320   else
6321     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6322   fi
6323   ;;
6324
6325 osf3* | osf4* | osf5*)
6326   lt_cv_deplibs_check_method=pass_all
6327   ;;
6328
6329 rdos*)
6330   lt_cv_deplibs_check_method=pass_all
6331   ;;
6332
6333 solaris*)
6334   lt_cv_deplibs_check_method=pass_all
6335   ;;
6336
6337 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6338   lt_cv_deplibs_check_method=pass_all
6339   ;;
6340
6341 sysv4 | sysv4.3*)
6342   case $host_vendor in
6343   motorola)
6344     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]'
6345     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6346     ;;
6347   ncr)
6348     lt_cv_deplibs_check_method=pass_all
6349     ;;
6350   sequent)
6351     lt_cv_file_magic_cmd='/bin/file'
6352     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6353     ;;
6354   sni)
6355     lt_cv_file_magic_cmd='/bin/file'
6356     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6357     lt_cv_file_magic_test_file=/lib/libc.so
6358     ;;
6359   siemens)
6360     lt_cv_deplibs_check_method=pass_all
6361     ;;
6362   pc)
6363     lt_cv_deplibs_check_method=pass_all
6364     ;;
6365   esac
6366   ;;
6367
6368 tpf*)
6369   lt_cv_deplibs_check_method=pass_all
6370   ;;
6371 esac
6372
6373 fi
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6375 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6376
6377 file_magic_glob=
6378 want_nocaseglob=no
6379 if test "$build" = "$host"; then
6380   case $host_os in
6381   mingw* | pw32*)
6382     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6383       want_nocaseglob=yes
6384     else
6385       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6386     fi
6387     ;;
6388   esac
6389 fi
6390
6391 file_magic_cmd=$lt_cv_file_magic_cmd
6392 deplibs_check_method=$lt_cv_deplibs_check_method
6393 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416 if test -n "$ac_tool_prefix"; then
6417   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6418 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if ${ac_cv_prog_DLLTOOL+:} false; then :
6422   $as_echo_n "(cached) " >&6
6423 else
6424   if test -n "$DLLTOOL"; then
6425   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6426 else
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH
6429 do
6430   IFS=$as_save_IFS
6431   test -z "$as_dir" && as_dir=.
6432     for ac_exec_ext in '' $ac_executable_extensions; do
6433   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6434     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436     break 2
6437   fi
6438 done
6439   done
6440 IFS=$as_save_IFS
6441
6442 fi
6443 fi
6444 DLLTOOL=$ac_cv_prog_DLLTOOL
6445 if test -n "$DLLTOOL"; then
6446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6447 $as_echo "$DLLTOOL" >&6; }
6448 else
6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6451 fi
6452
6453
6454 fi
6455 if test -z "$ac_cv_prog_DLLTOOL"; then
6456   ac_ct_DLLTOOL=$DLLTOOL
6457   # Extract the first word of "dlltool", so it can be a program name with args.
6458 set dummy dlltool; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6462   $as_echo_n "(cached) " >&6
6463 else
6464   if test -n "$ac_ct_DLLTOOL"; then
6465   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6469 do
6470   IFS=$as_save_IFS
6471   test -z "$as_dir" && as_dir=.
6472     for ac_exec_ext in '' $ac_executable_extensions; do
6473   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6474     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476     break 2
6477   fi
6478 done
6479   done
6480 IFS=$as_save_IFS
6481
6482 fi
6483 fi
6484 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6485 if test -n "$ac_ct_DLLTOOL"; then
6486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6487 $as_echo "$ac_ct_DLLTOOL" >&6; }
6488 else
6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6491 fi
6492
6493   if test "x$ac_ct_DLLTOOL" = x; then
6494     DLLTOOL="false"
6495   else
6496     case $cross_compiling:$ac_tool_warned in
6497 yes:)
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6501 esac
6502     DLLTOOL=$ac_ct_DLLTOOL
6503   fi
6504 else
6505   DLLTOOL="$ac_cv_prog_DLLTOOL"
6506 fi
6507
6508 test -z "$DLLTOOL" && DLLTOOL=dlltool
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6520 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6521 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6522   $as_echo_n "(cached) " >&6
6523 else
6524   lt_cv_sharedlib_from_linklib_cmd='unknown'
6525
6526 case $host_os in
6527 cygwin* | mingw* | pw32* | cegcc*)
6528   # two different shell functions defined in ltmain.sh
6529   # decide which to use based on capabilities of $DLLTOOL
6530   case `$DLLTOOL --help 2>&1` in
6531   *--identify-strict*)
6532     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6533     ;;
6534   *)
6535     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6536     ;;
6537   esac
6538   ;;
6539 *)
6540   # fallback: assume linklib IS sharedlib
6541   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6542   ;;
6543 esac
6544
6545 fi
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6547 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6548 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6549 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6550
6551
6552
6553
6554
6555
6556
6557 if test -n "$ac_tool_prefix"; then
6558   for ac_prog in ar
6559   do
6560     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6561 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563 $as_echo_n "checking for $ac_word... " >&6; }
6564 if ${ac_cv_prog_AR+:} false; then :
6565   $as_echo_n "(cached) " >&6
6566 else
6567   if test -n "$AR"; then
6568   ac_cv_prog_AR="$AR" # Let the user override the test.
6569 else
6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 for as_dir in $PATH
6572 do
6573   IFS=$as_save_IFS
6574   test -z "$as_dir" && as_dir=.
6575     for ac_exec_ext in '' $ac_executable_extensions; do
6576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6577     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579     break 2
6580   fi
6581 done
6582   done
6583 IFS=$as_save_IFS
6584
6585 fi
6586 fi
6587 AR=$ac_cv_prog_AR
6588 if test -n "$AR"; then
6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6590 $as_echo "$AR" >&6; }
6591 else
6592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 $as_echo "no" >&6; }
6594 fi
6595
6596
6597     test -n "$AR" && break
6598   done
6599 fi
6600 if test -z "$AR"; then
6601   ac_ct_AR=$AR
6602   for ac_prog in ar
6603 do
6604   # Extract the first word of "$ac_prog", so it can be a program name with args.
6605 set dummy $ac_prog; ac_word=$2
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 $as_echo_n "checking for $ac_word... " >&6; }
6608 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6609   $as_echo_n "(cached) " >&6
6610 else
6611   if test -n "$ac_ct_AR"; then
6612   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6613 else
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 for as_dir in $PATH
6616 do
6617   IFS=$as_save_IFS
6618   test -z "$as_dir" && as_dir=.
6619     for ac_exec_ext in '' $ac_executable_extensions; do
6620   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6621     ac_cv_prog_ac_ct_AR="$ac_prog"
6622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6623     break 2
6624   fi
6625 done
6626   done
6627 IFS=$as_save_IFS
6628
6629 fi
6630 fi
6631 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6632 if test -n "$ac_ct_AR"; then
6633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6634 $as_echo "$ac_ct_AR" >&6; }
6635 else
6636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 $as_echo "no" >&6; }
6638 fi
6639
6640
6641   test -n "$ac_ct_AR" && break
6642 done
6643
6644   if test "x$ac_ct_AR" = x; then
6645     AR="false"
6646   else
6647     case $cross_compiling:$ac_tool_warned in
6648 yes:)
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6651 ac_tool_warned=yes ;;
6652 esac
6653     AR=$ac_ct_AR
6654   fi
6655 fi
6656
6657 : ${AR=ar}
6658 : ${AR_FLAGS=cru}
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6671 $as_echo_n "checking for archiver @FILE support... " >&6; }
6672 if ${lt_cv_ar_at_file+:} false; then :
6673   $as_echo_n "(cached) " >&6
6674 else
6675   lt_cv_ar_at_file=no
6676    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h.  */
6678
6679 int
6680 main ()
6681 {
6682
6683   ;
6684   return 0;
6685 }
6686 _ACEOF
6687 if ac_fn_c_try_compile "$LINENO"; then :
6688   echo conftest.$ac_objext > conftest.lst
6689       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6690       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6691   (eval $lt_ar_try) 2>&5
6692   ac_status=$?
6693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6694   test $ac_status = 0; }
6695       if test "$ac_status" -eq 0; then
6696         # Ensure the archiver fails upon bogus file names.
6697         rm -f conftest.$ac_objext libconftest.a
6698         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6699   (eval $lt_ar_try) 2>&5
6700   ac_status=$?
6701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6702   test $ac_status = 0; }
6703         if test "$ac_status" -ne 0; then
6704           lt_cv_ar_at_file=@
6705         fi
6706       fi
6707       rm -f conftest.* libconftest.a
6708
6709 fi
6710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6711
6712 fi
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6714 $as_echo "$lt_cv_ar_at_file" >&6; }
6715
6716 if test "x$lt_cv_ar_at_file" = xno; then
6717   archiver_list_spec=
6718 else
6719   archiver_list_spec=$lt_cv_ar_at_file
6720 fi
6721
6722
6723
6724
6725
6726
6727
6728 if test -n "$ac_tool_prefix"; then
6729   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6730 set dummy ${ac_tool_prefix}strip; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_prog_STRIP+:} false; then :
6734   $as_echo_n "(cached) " >&6
6735 else
6736   if test -n "$STRIP"; then
6737   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6741 do
6742   IFS=$as_save_IFS
6743   test -z "$as_dir" && as_dir=.
6744     for ac_exec_ext in '' $ac_executable_extensions; do
6745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748     break 2
6749   fi
6750 done
6751   done
6752 IFS=$as_save_IFS
6753
6754 fi
6755 fi
6756 STRIP=$ac_cv_prog_STRIP
6757 if test -n "$STRIP"; then
6758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6759 $as_echo "$STRIP" >&6; }
6760 else
6761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6763 fi
6764
6765
6766 fi
6767 if test -z "$ac_cv_prog_STRIP"; then
6768   ac_ct_STRIP=$STRIP
6769   # Extract the first word of "strip", so it can be a program name with args.
6770 set dummy strip; ac_word=$2
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6772 $as_echo_n "checking for $ac_word... " >&6; }
6773 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6774   $as_echo_n "(cached) " >&6
6775 else
6776   if test -n "$ac_ct_STRIP"; then
6777   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6778 else
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 for as_dir in $PATH
6781 do
6782   IFS=$as_save_IFS
6783   test -z "$as_dir" && as_dir=.
6784     for ac_exec_ext in '' $ac_executable_extensions; do
6785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6786     ac_cv_prog_ac_ct_STRIP="strip"
6787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6788     break 2
6789   fi
6790 done
6791   done
6792 IFS=$as_save_IFS
6793
6794 fi
6795 fi
6796 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6797 if test -n "$ac_ct_STRIP"; then
6798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6799 $as_echo "$ac_ct_STRIP" >&6; }
6800 else
6801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 $as_echo "no" >&6; }
6803 fi
6804
6805   if test "x$ac_ct_STRIP" = x; then
6806     STRIP=":"
6807   else
6808     case $cross_compiling:$ac_tool_warned in
6809 yes:)
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6812 ac_tool_warned=yes ;;
6813 esac
6814     STRIP=$ac_ct_STRIP
6815   fi
6816 else
6817   STRIP="$ac_cv_prog_STRIP"
6818 fi
6819
6820 test -z "$STRIP" && STRIP=:
6821
6822
6823
6824
6825
6826
6827 if test -n "$ac_tool_prefix"; then
6828   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_RANLIB+:} false; then :
6833   $as_echo_n "(cached) " >&6
6834 else
6835   if test -n "$RANLIB"; then
6836   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6840 do
6841   IFS=$as_save_IFS
6842   test -z "$as_dir" && as_dir=.
6843     for ac_exec_ext in '' $ac_executable_extensions; do
6844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847     break 2
6848   fi
6849 done
6850   done
6851 IFS=$as_save_IFS
6852
6853 fi
6854 fi
6855 RANLIB=$ac_cv_prog_RANLIB
6856 if test -n "$RANLIB"; then
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6858 $as_echo "$RANLIB" >&6; }
6859 else
6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6862 fi
6863
6864
6865 fi
6866 if test -z "$ac_cv_prog_RANLIB"; then
6867   ac_ct_RANLIB=$RANLIB
6868   # Extract the first word of "ranlib", so it can be a program name with args.
6869 set dummy ranlib; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6873   $as_echo_n "(cached) " >&6
6874 else
6875   if test -n "$ac_ct_RANLIB"; then
6876   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6877 else
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 for as_dir in $PATH
6880 do
6881   IFS=$as_save_IFS
6882   test -z "$as_dir" && as_dir=.
6883     for ac_exec_ext in '' $ac_executable_extensions; do
6884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885     ac_cv_prog_ac_ct_RANLIB="ranlib"
6886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6887     break 2
6888   fi
6889 done
6890   done
6891 IFS=$as_save_IFS
6892
6893 fi
6894 fi
6895 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6896 if test -n "$ac_ct_RANLIB"; then
6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6898 $as_echo "$ac_ct_RANLIB" >&6; }
6899 else
6900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6902 fi
6903
6904   if test "x$ac_ct_RANLIB" = x; then
6905     RANLIB=":"
6906   else
6907     case $cross_compiling:$ac_tool_warned in
6908 yes:)
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911 ac_tool_warned=yes ;;
6912 esac
6913     RANLIB=$ac_ct_RANLIB
6914   fi
6915 else
6916   RANLIB="$ac_cv_prog_RANLIB"
6917 fi
6918
6919 test -z "$RANLIB" && RANLIB=:
6920
6921
6922
6923
6924
6925
6926 # Determine commands to create old-style static archives.
6927 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6928 old_postinstall_cmds='chmod 644 $oldlib'
6929 old_postuninstall_cmds=
6930
6931 if test -n "$RANLIB"; then
6932   case $host_os in
6933   openbsd*)
6934     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6935     ;;
6936   *)
6937     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6938     ;;
6939   esac
6940   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6941 fi
6942
6943 case $host_os in
6944   darwin*)
6945     lock_old_archive_extraction=yes ;;
6946   *)
6947     lock_old_archive_extraction=no ;;
6948 esac
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
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988 # If no C compiler was specified, use CC.
6989 LTCC=${LTCC-"$CC"}
6990
6991 # If no C compiler flags were specified, use CFLAGS.
6992 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6993
6994 # Allow CC to be a program name with arguments.
6995 compiler=$CC
6996
6997
6998 # Check for command to grab the raw symbol name followed by C symbol from nm.
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7000 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7001 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7002   $as_echo_n "(cached) " >&6
7003 else
7004
7005 # These are sane defaults that work on at least a few old systems.
7006 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7007
7008 # Character class describing NM global symbol codes.
7009 symcode='[BCDEGRST]'
7010
7011 # Regexp to match symbols that can be accessed directly from C.
7012 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7013
7014 # Define system-specific variables.
7015 case $host_os in
7016 aix*)
7017   symcode='[BCDT]'
7018   ;;
7019 cygwin* | mingw* | pw32* | cegcc*)
7020   symcode='[ABCDGISTW]'
7021   ;;
7022 hpux*)
7023   if test "$host_cpu" = ia64; then
7024     symcode='[ABCDEGRST]'
7025   fi
7026   ;;
7027 irix* | nonstopux*)
7028   symcode='[BCDEGRST]'
7029   ;;
7030 osf*)
7031   symcode='[BCDEGQRST]'
7032   ;;
7033 solaris*)
7034   symcode='[BDRT]'
7035   ;;
7036 sco3.2v5*)
7037   symcode='[DT]'
7038   ;;
7039 sysv4.2uw2*)
7040   symcode='[DT]'
7041   ;;
7042 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7043   symcode='[ABDT]'
7044   ;;
7045 sysv4)
7046   symcode='[DFNSTU]'
7047   ;;
7048 esac
7049
7050 # If we're using GNU nm, then use its standard symbol codes.
7051 case `$NM -V 2>&1` in
7052 *GNU* | *'with BFD'*)
7053   symcode='[ABCDGIRSTW]' ;;
7054 esac
7055
7056 # Transform an extracted symbol line into a proper C declaration.
7057 # Some systems (esp. on ia64) link data and code symbols differently,
7058 # so use this general approach.
7059 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7060
7061 # Transform an extracted symbol line into symbol name and symbol address
7062 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7063 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'"
7064
7065 # Handle CRLF in mingw tool chain
7066 opt_cr=
7067 case $build_os in
7068 mingw*)
7069   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7070   ;;
7071 esac
7072
7073 # Try without a prefix underscore, then with it.
7074 for ac_symprfx in "" "_"; do
7075
7076   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7077   symxfrm="\\1 $ac_symprfx\\2 \\2"
7078
7079   # Write the raw and C identifiers.
7080   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7081     # Fake it for dumpbin and say T for any non-static function
7082     # and D for any global variable.
7083     # Also find C++ and __fastcall symbols from MSVC++,
7084     # which start with @ or ?.
7085     lt_cv_sys_global_symbol_pipe="$AWK '"\
7086 "     {last_section=section; section=\$ 3};"\
7087 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7088 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7089 "     \$ 0!~/External *\|/{next};"\
7090 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7091 "     {if(hide[section]) next};"\
7092 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7093 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7094 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7095 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7096 "     ' prfx=^$ac_symprfx"
7097   else
7098     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7099   fi
7100   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7101
7102   # Check to see that the pipe works correctly.
7103   pipe_works=no
7104
7105   rm -f conftest*
7106   cat > conftest.$ac_ext <<_LT_EOF
7107 #ifdef __cplusplus
7108 extern "C" {
7109 #endif
7110 char nm_test_var;
7111 void nm_test_func(void);
7112 void nm_test_func(void){}
7113 #ifdef __cplusplus
7114 }
7115 #endif
7116 int main(){nm_test_var='a';nm_test_func();return(0);}
7117 _LT_EOF
7118
7119   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7120   (eval $ac_compile) 2>&5
7121   ac_status=$?
7122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7123   test $ac_status = 0; }; then
7124     # Now try to grab the symbols.
7125     nlist=conftest.nm
7126     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7127   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7128   ac_status=$?
7129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7130   test $ac_status = 0; } && test -s "$nlist"; then
7131       # Try sorting and uniquifying the output.
7132       if sort "$nlist" | uniq > "$nlist"T; then
7133         mv -f "$nlist"T "$nlist"
7134       else
7135         rm -f "$nlist"T
7136       fi
7137
7138       # Make sure that we snagged all the symbols we need.
7139       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7140         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7141           cat <<_LT_EOF > conftest.$ac_ext
7142 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7143 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7144 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7145    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7146 # define LT_DLSYM_CONST
7147 #elif defined(__osf__)
7148 /* This system does not cope well with relocations in const data.  */
7149 # define LT_DLSYM_CONST
7150 #else
7151 # define LT_DLSYM_CONST const
7152 #endif
7153
7154 #ifdef __cplusplus
7155 extern "C" {
7156 #endif
7157
7158 _LT_EOF
7159           # Now generate the symbol file.
7160           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7161
7162           cat <<_LT_EOF >> conftest.$ac_ext
7163
7164 /* The mapping between symbol names and symbols.  */
7165 LT_DLSYM_CONST struct {
7166   const char *name;
7167   void       *address;
7168 }
7169 lt__PROGRAM__LTX_preloaded_symbols[] =
7170 {
7171   { "@PROGRAM@", (void *) 0 },
7172 _LT_EOF
7173           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7174           cat <<\_LT_EOF >> conftest.$ac_ext
7175   {0, (void *) 0}
7176 };
7177
7178 /* This works around a problem in FreeBSD linker */
7179 #ifdef FREEBSD_WORKAROUND
7180 static const void *lt_preloaded_setup() {
7181   return lt__PROGRAM__LTX_preloaded_symbols;
7182 }
7183 #endif
7184
7185 #ifdef __cplusplus
7186 }
7187 #endif
7188 _LT_EOF
7189           # Now try linking the two files.
7190           mv conftest.$ac_objext conftstm.$ac_objext
7191           lt_globsym_save_LIBS=$LIBS
7192           lt_globsym_save_CFLAGS=$CFLAGS
7193           LIBS="conftstm.$ac_objext"
7194           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7195           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7196   (eval $ac_link) 2>&5
7197   ac_status=$?
7198   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7200             pipe_works=yes
7201           fi
7202           LIBS=$lt_globsym_save_LIBS
7203           CFLAGS=$lt_globsym_save_CFLAGS
7204         else
7205           echo "cannot find nm_test_func in $nlist" >&5
7206         fi
7207       else
7208         echo "cannot find nm_test_var in $nlist" >&5
7209       fi
7210     else
7211       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7212     fi
7213   else
7214     echo "$progname: failed program was:" >&5
7215     cat conftest.$ac_ext >&5
7216   fi
7217   rm -rf conftest* conftst*
7218
7219   # Do not use the global_symbol_pipe unless it works.
7220   if test "$pipe_works" = yes; then
7221     break
7222   else
7223     lt_cv_sys_global_symbol_pipe=
7224   fi
7225 done
7226
7227 fi
7228
7229 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7230   lt_cv_sys_global_symbol_to_cdecl=
7231 fi
7232 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7234 $as_echo "failed" >&6; }
7235 else
7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7237 $as_echo "ok" >&6; }
7238 fi
7239
7240 # Response file support.
7241 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7242   nm_file_list_spec='@'
7243 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7244   nm_file_list_spec='@'
7245 fi
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7274 $as_echo_n "checking for sysroot... " >&6; }
7275
7276 # Check whether --with-sysroot was given.
7277 if test "${with_sysroot+set}" = set; then :
7278   withval=$with_sysroot;
7279 else
7280   with_sysroot=no
7281 fi
7282
7283
7284 lt_sysroot=
7285 case ${with_sysroot} in #(
7286  yes)
7287    if test "$GCC" = yes; then
7288      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7289    fi
7290    ;; #(
7291  /*)
7292    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7293    ;; #(
7294  no|'')
7295    ;; #(
7296  *)
7297    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7298 $as_echo "${with_sysroot}" >&6; }
7299    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7300    ;;
7301 esac
7302
7303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7304 $as_echo "${lt_sysroot:-no}" >&6; }
7305
7306
7307
7308
7309
7310 # Check whether --enable-libtool-lock was given.
7311 if test "${enable_libtool_lock+set}" = set; then :
7312   enableval=$enable_libtool_lock;
7313 fi
7314
7315 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7316
7317 # Some flags need to be propagated to the compiler or linker for good
7318 # libtool support.
7319 case $host in
7320 ia64-*-hpux*)
7321   # Find out which ABI we are using.
7322   echo 'int i;' > conftest.$ac_ext
7323   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7324   (eval $ac_compile) 2>&5
7325   ac_status=$?
7326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7327   test $ac_status = 0; }; then
7328     case `/usr/bin/file conftest.$ac_objext` in
7329       *ELF-32*)
7330         HPUX_IA64_MODE="32"
7331         ;;
7332       *ELF-64*)
7333         HPUX_IA64_MODE="64"
7334         ;;
7335     esac
7336   fi
7337   rm -rf conftest*
7338   ;;
7339 *-*-irix6*)
7340   # Find out which ABI we are using.
7341   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7342   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7343   (eval $ac_compile) 2>&5
7344   ac_status=$?
7345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7346   test $ac_status = 0; }; then
7347     if test "$lt_cv_prog_gnu_ld" = yes; then
7348       case `/usr/bin/file conftest.$ac_objext` in
7349         *32-bit*)
7350           LD="${LD-ld} -melf32bsmip"
7351           ;;
7352         *N32*)
7353           LD="${LD-ld} -melf32bmipn32"
7354           ;;
7355         *64-bit*)
7356           LD="${LD-ld} -melf64bmip"
7357         ;;
7358       esac
7359     else
7360       case `/usr/bin/file conftest.$ac_objext` in
7361         *32-bit*)
7362           LD="${LD-ld} -32"
7363           ;;
7364         *N32*)
7365           LD="${LD-ld} -n32"
7366           ;;
7367         *64-bit*)
7368           LD="${LD-ld} -64"
7369           ;;
7370       esac
7371     fi
7372   fi
7373   rm -rf conftest*
7374   ;;
7375
7376 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7377 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7378   # Find out which ABI we are using.
7379   echo 'int i;' > conftest.$ac_ext
7380   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7381   (eval $ac_compile) 2>&5
7382   ac_status=$?
7383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7384   test $ac_status = 0; }; then
7385     case `/usr/bin/file conftest.o` in
7386       *32-bit*)
7387         case $host in
7388           x86_64-*kfreebsd*-gnu)
7389             LD="${LD-ld} -m elf_i386_fbsd"
7390             ;;
7391           x86_64-*linux*)
7392             LD="${LD-ld} -m elf_i386"
7393             ;;
7394           ppc64-*linux*|powerpc64-*linux*)
7395             LD="${LD-ld} -m elf32ppclinux"
7396             ;;
7397           s390x-*linux*)
7398             LD="${LD-ld} -m elf_s390"
7399             ;;
7400           sparc64-*linux*)
7401             LD="${LD-ld} -m elf32_sparc"
7402             ;;
7403         esac
7404         ;;
7405       *64-bit*)
7406         case $host in
7407           x86_64-*kfreebsd*-gnu)
7408             LD="${LD-ld} -m elf_x86_64_fbsd"
7409             ;;
7410           x86_64-*linux*)
7411             LD="${LD-ld} -m elf_x86_64"
7412             ;;
7413           ppc*-*linux*|powerpc*-*linux*)
7414             LD="${LD-ld} -m elf64ppc"
7415             ;;
7416           s390*-*linux*|s390*-*tpf*)
7417             LD="${LD-ld} -m elf64_s390"
7418             ;;
7419           sparc*-*linux*)
7420             LD="${LD-ld} -m elf64_sparc"
7421             ;;
7422         esac
7423         ;;
7424     esac
7425   fi
7426   rm -rf conftest*
7427   ;;
7428
7429 *-*-sco3.2v5*)
7430   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7431   SAVE_CFLAGS="$CFLAGS"
7432   CFLAGS="$CFLAGS -belf"
7433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7434 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7435 if ${lt_cv_cc_needs_belf+:} false; then :
7436   $as_echo_n "(cached) " >&6
7437 else
7438   ac_ext=c
7439 ac_cpp='$CPP $CPPFLAGS'
7440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7443
7444      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h.  */
7446
7447 int
7448 main ()
7449 {
7450
7451   ;
7452   return 0;
7453 }
7454 _ACEOF
7455 if ac_fn_c_try_link "$LINENO"; then :
7456   lt_cv_cc_needs_belf=yes
7457 else
7458   lt_cv_cc_needs_belf=no
7459 fi
7460 rm -f core conftest.err conftest.$ac_objext \
7461     conftest$ac_exeext conftest.$ac_ext
7462      ac_ext=c
7463 ac_cpp='$CPP $CPPFLAGS'
7464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7467
7468 fi
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7470 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7471   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7472     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7473     CFLAGS="$SAVE_CFLAGS"
7474   fi
7475   ;;
7476 *-*solaris*)
7477   # Find out which ABI we are using.
7478   echo 'int i;' > conftest.$ac_ext
7479   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7480   (eval $ac_compile) 2>&5
7481   ac_status=$?
7482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7483   test $ac_status = 0; }; then
7484     case `/usr/bin/file conftest.o` in
7485     *64-bit*)
7486       case $lt_cv_prog_gnu_ld in
7487       yes*)
7488         case $host in
7489         i?86-*-solaris*)
7490           LD="${LD-ld} -m elf_x86_64"
7491           ;;
7492         sparc*-*-solaris*)
7493           LD="${LD-ld} -m elf64_sparc"
7494           ;;
7495         esac
7496         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7497         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7498           LD="${LD-ld}_sol2"
7499         fi
7500         ;;
7501       *)
7502         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7503           LD="${LD-ld} -64"
7504         fi
7505         ;;
7506       esac
7507       ;;
7508     esac
7509   fi
7510   rm -rf conftest*
7511   ;;
7512 esac
7513
7514 need_locks="$enable_libtool_lock"
7515
7516 if test -n "$ac_tool_prefix"; then
7517   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7518 set dummy ${ac_tool_prefix}mt; ac_word=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7522   $as_echo_n "(cached) " >&6
7523 else
7524   if test -n "$MANIFEST_TOOL"; then
7525   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7526 else
7527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 for as_dir in $PATH
7529 do
7530   IFS=$as_save_IFS
7531   test -z "$as_dir" && as_dir=.
7532     for ac_exec_ext in '' $ac_executable_extensions; do
7533   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7534     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7536     break 2
7537   fi
7538 done
7539   done
7540 IFS=$as_save_IFS
7541
7542 fi
7543 fi
7544 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7545 if test -n "$MANIFEST_TOOL"; then
7546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7547 $as_echo "$MANIFEST_TOOL" >&6; }
7548 else
7549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 $as_echo "no" >&6; }
7551 fi
7552
7553
7554 fi
7555 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7556   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7557   # Extract the first word of "mt", so it can be a program name with args.
7558 set dummy mt; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7562   $as_echo_n "(cached) " >&6
7563 else
7564   if test -n "$ac_ct_MANIFEST_TOOL"; then
7565   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7566 else
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 for as_dir in $PATH
7569 do
7570   IFS=$as_save_IFS
7571   test -z "$as_dir" && as_dir=.
7572     for ac_exec_ext in '' $ac_executable_extensions; do
7573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7574     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7576     break 2
7577   fi
7578 done
7579   done
7580 IFS=$as_save_IFS
7581
7582 fi
7583 fi
7584 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7585 if test -n "$ac_ct_MANIFEST_TOOL"; then
7586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7587 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7588 else
7589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7591 fi
7592
7593   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7594     MANIFEST_TOOL=":"
7595   else
7596     case $cross_compiling:$ac_tool_warned in
7597 yes:)
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7600 ac_tool_warned=yes ;;
7601 esac
7602     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7603   fi
7604 else
7605   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7606 fi
7607
7608 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7610 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7611 if ${lt_cv_path_mainfest_tool+:} false; then :
7612   $as_echo_n "(cached) " >&6
7613 else
7614   lt_cv_path_mainfest_tool=no
7615   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7616   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7617   cat conftest.err >&5
7618   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7619     lt_cv_path_mainfest_tool=yes
7620   fi
7621   rm -f conftest*
7622 fi
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7624 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7625 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7626   MANIFEST_TOOL=:
7627 fi
7628
7629
7630
7631
7632
7633
7634   case $host_os in
7635     rhapsody* | darwin*)
7636     if test -n "$ac_tool_prefix"; then
7637   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7638 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7642   $as_echo_n "(cached) " >&6
7643 else
7644   if test -n "$DSYMUTIL"; then
7645   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7646 else
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7648 for as_dir in $PATH
7649 do
7650   IFS=$as_save_IFS
7651   test -z "$as_dir" && as_dir=.
7652     for ac_exec_ext in '' $ac_executable_extensions; do
7653   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7654     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7656     break 2
7657   fi
7658 done
7659   done
7660 IFS=$as_save_IFS
7661
7662 fi
7663 fi
7664 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7665 if test -n "$DSYMUTIL"; then
7666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7667 $as_echo "$DSYMUTIL" >&6; }
7668 else
7669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7671 fi
7672
7673
7674 fi
7675 if test -z "$ac_cv_prog_DSYMUTIL"; then
7676   ac_ct_DSYMUTIL=$DSYMUTIL
7677   # Extract the first word of "dsymutil", so it can be a program name with args.
7678 set dummy dsymutil; ac_word=$2
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680 $as_echo_n "checking for $ac_word... " >&6; }
7681 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7682   $as_echo_n "(cached) " >&6
7683 else
7684   if test -n "$ac_ct_DSYMUTIL"; then
7685   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7686 else
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 for as_dir in $PATH
7689 do
7690   IFS=$as_save_IFS
7691   test -z "$as_dir" && as_dir=.
7692     for ac_exec_ext in '' $ac_executable_extensions; do
7693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7694     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7696     break 2
7697   fi
7698 done
7699   done
7700 IFS=$as_save_IFS
7701
7702 fi
7703 fi
7704 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7705 if test -n "$ac_ct_DSYMUTIL"; then
7706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7707 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7708 else
7709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7711 fi
7712
7713   if test "x$ac_ct_DSYMUTIL" = x; then
7714     DSYMUTIL=":"
7715   else
7716     case $cross_compiling:$ac_tool_warned in
7717 yes:)
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7720 ac_tool_warned=yes ;;
7721 esac
7722     DSYMUTIL=$ac_ct_DSYMUTIL
7723   fi
7724 else
7725   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7726 fi
7727
7728     if test -n "$ac_tool_prefix"; then
7729   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7730 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7733 if ${ac_cv_prog_NMEDIT+:} false; then :
7734   $as_echo_n "(cached) " >&6
7735 else
7736   if test -n "$NMEDIT"; then
7737   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7738 else
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740 for as_dir in $PATH
7741 do
7742   IFS=$as_save_IFS
7743   test -z "$as_dir" && as_dir=.
7744     for ac_exec_ext in '' $ac_executable_extensions; do
7745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7746     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7748     break 2
7749   fi
7750 done
7751   done
7752 IFS=$as_save_IFS
7753
7754 fi
7755 fi
7756 NMEDIT=$ac_cv_prog_NMEDIT
7757 if test -n "$NMEDIT"; then
7758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7759 $as_echo "$NMEDIT" >&6; }
7760 else
7761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7763 fi
7764
7765
7766 fi
7767 if test -z "$ac_cv_prog_NMEDIT"; then
7768   ac_ct_NMEDIT=$NMEDIT
7769   # Extract the first word of "nmedit", so it can be a program name with args.
7770 set dummy nmedit; ac_word=$2
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7772 $as_echo_n "checking for $ac_word... " >&6; }
7773 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7774   $as_echo_n "(cached) " >&6
7775 else
7776   if test -n "$ac_ct_NMEDIT"; then
7777   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7778 else
7779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780 for as_dir in $PATH
7781 do
7782   IFS=$as_save_IFS
7783   test -z "$as_dir" && as_dir=.
7784     for ac_exec_ext in '' $ac_executable_extensions; do
7785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7786     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7788     break 2
7789   fi
7790 done
7791   done
7792 IFS=$as_save_IFS
7793
7794 fi
7795 fi
7796 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7797 if test -n "$ac_ct_NMEDIT"; then
7798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7799 $as_echo "$ac_ct_NMEDIT" >&6; }
7800 else
7801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7803 fi
7804
7805   if test "x$ac_ct_NMEDIT" = x; then
7806     NMEDIT=":"
7807   else
7808     case $cross_compiling:$ac_tool_warned in
7809 yes:)
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7812 ac_tool_warned=yes ;;
7813 esac
7814     NMEDIT=$ac_ct_NMEDIT
7815   fi
7816 else
7817   NMEDIT="$ac_cv_prog_NMEDIT"
7818 fi
7819
7820     if test -n "$ac_tool_prefix"; then
7821   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7822 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7824 $as_echo_n "checking for $ac_word... " >&6; }
7825 if ${ac_cv_prog_LIPO+:} false; then :
7826   $as_echo_n "(cached) " >&6
7827 else
7828   if test -n "$LIPO"; then
7829   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7830 else
7831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832 for as_dir in $PATH
7833 do
7834   IFS=$as_save_IFS
7835   test -z "$as_dir" && as_dir=.
7836     for ac_exec_ext in '' $ac_executable_extensions; do
7837   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7838     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7840     break 2
7841   fi
7842 done
7843   done
7844 IFS=$as_save_IFS
7845
7846 fi
7847 fi
7848 LIPO=$ac_cv_prog_LIPO
7849 if test -n "$LIPO"; then
7850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7851 $as_echo "$LIPO" >&6; }
7852 else
7853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7854 $as_echo "no" >&6; }
7855 fi
7856
7857
7858 fi
7859 if test -z "$ac_cv_prog_LIPO"; then
7860   ac_ct_LIPO=$LIPO
7861   # Extract the first word of "lipo", so it can be a program name with args.
7862 set dummy lipo; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864 $as_echo_n "checking for $ac_word... " >&6; }
7865 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7866   $as_echo_n "(cached) " >&6
7867 else
7868   if test -n "$ac_ct_LIPO"; then
7869   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7870 else
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 for as_dir in $PATH
7873 do
7874   IFS=$as_save_IFS
7875   test -z "$as_dir" && as_dir=.
7876     for ac_exec_ext in '' $ac_executable_extensions; do
7877   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878     ac_cv_prog_ac_ct_LIPO="lipo"
7879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880     break 2
7881   fi
7882 done
7883   done
7884 IFS=$as_save_IFS
7885
7886 fi
7887 fi
7888 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7889 if test -n "$ac_ct_LIPO"; then
7890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7891 $as_echo "$ac_ct_LIPO" >&6; }
7892 else
7893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 $as_echo "no" >&6; }
7895 fi
7896
7897   if test "x$ac_ct_LIPO" = x; then
7898     LIPO=":"
7899   else
7900     case $cross_compiling:$ac_tool_warned in
7901 yes:)
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7904 ac_tool_warned=yes ;;
7905 esac
7906     LIPO=$ac_ct_LIPO
7907   fi
7908 else
7909   LIPO="$ac_cv_prog_LIPO"
7910 fi
7911
7912     if test -n "$ac_tool_prefix"; then
7913   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}otool; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_OTOOL+:} false; then :
7918   $as_echo_n "(cached) " >&6
7919 else
7920   if test -n "$OTOOL"; then
7921   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7925 do
7926   IFS=$as_save_IFS
7927   test -z "$as_dir" && as_dir=.
7928     for ac_exec_ext in '' $ac_executable_extensions; do
7929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932     break 2
7933   fi
7934 done
7935   done
7936 IFS=$as_save_IFS
7937
7938 fi
7939 fi
7940 OTOOL=$ac_cv_prog_OTOOL
7941 if test -n "$OTOOL"; then
7942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7943 $as_echo "$OTOOL" >&6; }
7944 else
7945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7947 fi
7948
7949
7950 fi
7951 if test -z "$ac_cv_prog_OTOOL"; then
7952   ac_ct_OTOOL=$OTOOL
7953   # Extract the first word of "otool", so it can be a program name with args.
7954 set dummy otool; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7958   $as_echo_n "(cached) " >&6
7959 else
7960   if test -n "$ac_ct_OTOOL"; then
7961   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7962 else
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964 for as_dir in $PATH
7965 do
7966   IFS=$as_save_IFS
7967   test -z "$as_dir" && as_dir=.
7968     for ac_exec_ext in '' $ac_executable_extensions; do
7969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970     ac_cv_prog_ac_ct_OTOOL="otool"
7971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972     break 2
7973   fi
7974 done
7975   done
7976 IFS=$as_save_IFS
7977
7978 fi
7979 fi
7980 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7981 if test -n "$ac_ct_OTOOL"; then
7982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7983 $as_echo "$ac_ct_OTOOL" >&6; }
7984 else
7985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7987 fi
7988
7989   if test "x$ac_ct_OTOOL" = x; then
7990     OTOOL=":"
7991   else
7992     case $cross_compiling:$ac_tool_warned in
7993 yes:)
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996 ac_tool_warned=yes ;;
7997 esac
7998     OTOOL=$ac_ct_OTOOL
7999   fi
8000 else
8001   OTOOL="$ac_cv_prog_OTOOL"
8002 fi
8003
8004     if test -n "$ac_tool_prefix"; then
8005   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8006 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8008 $as_echo_n "checking for $ac_word... " >&6; }
8009 if ${ac_cv_prog_OTOOL64+:} false; then :
8010   $as_echo_n "(cached) " >&6
8011 else
8012   if test -n "$OTOOL64"; then
8013   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8014 else
8015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016 for as_dir in $PATH
8017 do
8018   IFS=$as_save_IFS
8019   test -z "$as_dir" && as_dir=.
8020     for ac_exec_ext in '' $ac_executable_extensions; do
8021   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8022     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8024     break 2
8025   fi
8026 done
8027   done
8028 IFS=$as_save_IFS
8029
8030 fi
8031 fi
8032 OTOOL64=$ac_cv_prog_OTOOL64
8033 if test -n "$OTOOL64"; then
8034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8035 $as_echo "$OTOOL64" >&6; }
8036 else
8037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
8039 fi
8040
8041
8042 fi
8043 if test -z "$ac_cv_prog_OTOOL64"; then
8044   ac_ct_OTOOL64=$OTOOL64
8045   # Extract the first word of "otool64", so it can be a program name with args.
8046 set dummy otool64; ac_word=$2
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8048 $as_echo_n "checking for $ac_word... " >&6; }
8049 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8050   $as_echo_n "(cached) " >&6
8051 else
8052   if test -n "$ac_ct_OTOOL64"; then
8053   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8054 else
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056 for as_dir in $PATH
8057 do
8058   IFS=$as_save_IFS
8059   test -z "$as_dir" && as_dir=.
8060     for ac_exec_ext in '' $ac_executable_extensions; do
8061   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062     ac_cv_prog_ac_ct_OTOOL64="otool64"
8063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8064     break 2
8065   fi
8066 done
8067   done
8068 IFS=$as_save_IFS
8069
8070 fi
8071 fi
8072 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8073 if test -n "$ac_ct_OTOOL64"; then
8074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8075 $as_echo "$ac_ct_OTOOL64" >&6; }
8076 else
8077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078 $as_echo "no" >&6; }
8079 fi
8080
8081   if test "x$ac_ct_OTOOL64" = x; then
8082     OTOOL64=":"
8083   else
8084     case $cross_compiling:$ac_tool_warned in
8085 yes:)
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8088 ac_tool_warned=yes ;;
8089 esac
8090     OTOOL64=$ac_ct_OTOOL64
8091   fi
8092 else
8093   OTOOL64="$ac_cv_prog_OTOOL64"
8094 fi
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8123 $as_echo_n "checking for -single_module linker flag... " >&6; }
8124 if ${lt_cv_apple_cc_single_mod+:} false; then :
8125   $as_echo_n "(cached) " >&6
8126 else
8127   lt_cv_apple_cc_single_mod=no
8128       if test -z "${LT_MULTI_MODULE}"; then
8129         # By default we will add the -single_module flag. You can override
8130         # by either setting the environment variable LT_MULTI_MODULE
8131         # non-empty at configure time, or by adding -multi_module to the
8132         # link flags.
8133         rm -rf libconftest.dylib*
8134         echo "int foo(void){return 1;}" > conftest.c
8135         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8136 -dynamiclib -Wl,-single_module conftest.c" >&5
8137         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8138           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8139         _lt_result=$?
8140         # If there is a non-empty error log, and "single_module"
8141         # appears in it, assume the flag caused a linker warning
8142         if test -s conftest.err && $GREP single_module conftest.err; then
8143           cat conftest.err >&5
8144         # Otherwise, if the output was created with a 0 exit code from
8145         # the compiler, it worked.
8146         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8147           lt_cv_apple_cc_single_mod=yes
8148         else
8149           cat conftest.err >&5
8150         fi
8151         rm -rf libconftest.dylib*
8152         rm -f conftest.*
8153       fi
8154 fi
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8156 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8157
8158     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8159 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8160 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8161   $as_echo_n "(cached) " >&6
8162 else
8163   lt_cv_ld_exported_symbols_list=no
8164       save_LDFLAGS=$LDFLAGS
8165       echo "_main" > conftest.sym
8166       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h.  */
8169
8170 int
8171 main ()
8172 {
8173
8174   ;
8175   return 0;
8176 }
8177 _ACEOF
8178 if ac_fn_c_try_link "$LINENO"; then :
8179   lt_cv_ld_exported_symbols_list=yes
8180 else
8181   lt_cv_ld_exported_symbols_list=no
8182 fi
8183 rm -f core conftest.err conftest.$ac_objext \
8184     conftest$ac_exeext conftest.$ac_ext
8185         LDFLAGS="$save_LDFLAGS"
8186
8187 fi
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8189 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8190
8191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8192 $as_echo_n "checking for -force_load linker flag... " >&6; }
8193 if ${lt_cv_ld_force_load+:} false; then :
8194   $as_echo_n "(cached) " >&6
8195 else
8196   lt_cv_ld_force_load=no
8197       cat > conftest.c << _LT_EOF
8198 int forced_loaded() { return 2;}
8199 _LT_EOF
8200       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8201       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8202       echo "$AR cru libconftest.a conftest.o" >&5
8203       $AR cru libconftest.a conftest.o 2>&5
8204       echo "$RANLIB libconftest.a" >&5
8205       $RANLIB libconftest.a 2>&5
8206       cat > conftest.c << _LT_EOF
8207 int main() { return 0;}
8208 _LT_EOF
8209       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8210       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8211       _lt_result=$?
8212       if test -s conftest.err && $GREP force_load conftest.err; then
8213         cat conftest.err >&5
8214       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8215         lt_cv_ld_force_load=yes
8216       else
8217         cat conftest.err >&5
8218       fi
8219         rm -f conftest.err libconftest.a conftest conftest.c
8220         rm -rf conftest.dSYM
8221
8222 fi
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8224 $as_echo "$lt_cv_ld_force_load" >&6; }
8225     case $host_os in
8226     rhapsody* | darwin1.[012])
8227       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8228     darwin1.*)
8229       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8230     darwin*) # darwin 5.x on
8231       # if running on 10.5 or later, the deployment target defaults
8232       # to the OS version, if on x86, and 10.4, the deployment
8233       # target defaults to 10.4. Don't you love it?
8234       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8235         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8236           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8237         10.[012]*)
8238           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8239         10.*)
8240           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8241       esac
8242     ;;
8243   esac
8244     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8245       _lt_dar_single_mod='$single_module'
8246     fi
8247     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8248       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8249     else
8250       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8251     fi
8252     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8253       _lt_dsymutil='~$DSYMUTIL $lib || :'
8254     else
8255       _lt_dsymutil=
8256     fi
8257     ;;
8258   esac
8259
8260 for ac_header in dlfcn.h
8261 do :
8262   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8263 "
8264 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8265   cat >>confdefs.h <<_ACEOF
8266 #define HAVE_DLFCN_H 1
8267 _ACEOF
8268
8269 fi
8270
8271 done
8272
8273
8274
8275
8276
8277 # Set options
8278 enable_dlopen=yes
8279 # Check whether --enable-static was given.
8280 if test "${enable_static+set}" = set; then :
8281   enableval=$enable_static; p=${PACKAGE-default}
8282     case $enableval in
8283     yes) enable_static=yes ;;
8284     no) enable_static=no ;;
8285     *)
8286      enable_static=no
8287       # Look at the argument we got.  We use all the common list separators.
8288       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8289       for pkg in $enableval; do
8290         IFS="$lt_save_ifs"
8291         if test "X$pkg" = "X$p"; then
8292           enable_static=yes
8293         fi
8294       done
8295       IFS="$lt_save_ifs"
8296       ;;
8297     esac
8298 else
8299   enable_static=no
8300 fi
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312   enable_win32_dll=no
8313
8314
8315             # Check whether --enable-shared was given.
8316 if test "${enable_shared+set}" = set; then :
8317   enableval=$enable_shared; p=${PACKAGE-default}
8318     case $enableval in
8319     yes) enable_shared=yes ;;
8320     no) enable_shared=no ;;
8321     *)
8322       enable_shared=no
8323       # Look at the argument we got.  We use all the common list separators.
8324       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8325       for pkg in $enableval; do
8326         IFS="$lt_save_ifs"
8327         if test "X$pkg" = "X$p"; then
8328           enable_shared=yes
8329         fi
8330       done
8331       IFS="$lt_save_ifs"
8332       ;;
8333     esac
8334 else
8335   enable_shared=yes
8336 fi
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348 # Check whether --with-pic was given.
8349 if test "${with_pic+set}" = set; then :
8350   withval=$with_pic; lt_p=${PACKAGE-default}
8351     case $withval in
8352     yes|no) pic_mode=$withval ;;
8353     *)
8354       pic_mode=default
8355       # Look at the argument we got.  We use all the common list separators.
8356       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8357       for lt_pkg in $withval; do
8358         IFS="$lt_save_ifs"
8359         if test "X$lt_pkg" = "X$lt_p"; then
8360           pic_mode=yes
8361         fi
8362       done
8363       IFS="$lt_save_ifs"
8364       ;;
8365     esac
8366 else
8367   pic_mode=default
8368 fi
8369
8370
8371 test -z "$pic_mode" && pic_mode=default
8372
8373
8374
8375
8376
8377
8378
8379   # Check whether --enable-fast-install was given.
8380 if test "${enable_fast_install+set}" = set; then :
8381   enableval=$enable_fast_install; p=${PACKAGE-default}
8382     case $enableval in
8383     yes) enable_fast_install=yes ;;
8384     no) enable_fast_install=no ;;
8385     *)
8386       enable_fast_install=no
8387       # Look at the argument we got.  We use all the common list separators.
8388       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8389       for pkg in $enableval; do
8390         IFS="$lt_save_ifs"
8391         if test "X$pkg" = "X$p"; then
8392           enable_fast_install=yes
8393         fi
8394       done
8395       IFS="$lt_save_ifs"
8396       ;;
8397     esac
8398 else
8399   enable_fast_install=yes
8400 fi
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412 # This can be used to rebuild libtool when needed
8413 LIBTOOL_DEPS="$ltmain"
8414
8415 # Always use our own libtool.
8416 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447 test -z "$LN_S" && LN_S="ln -s"
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462 if test -n "${ZSH_VERSION+set}" ; then
8463    setopt NO_GLOB_SUBST
8464 fi
8465
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8467 $as_echo_n "checking for objdir... " >&6; }
8468 if ${lt_cv_objdir+:} false; then :
8469   $as_echo_n "(cached) " >&6
8470 else
8471   rm -f .libs 2>/dev/null
8472 mkdir .libs 2>/dev/null
8473 if test -d .libs; then
8474   lt_cv_objdir=.libs
8475 else
8476   # MS-DOS does not allow filenames that begin with a dot.
8477   lt_cv_objdir=_libs
8478 fi
8479 rmdir .libs 2>/dev/null
8480 fi
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8482 $as_echo "$lt_cv_objdir" >&6; }
8483 objdir=$lt_cv_objdir
8484
8485
8486
8487
8488
8489 cat >>confdefs.h <<_ACEOF
8490 #define LT_OBJDIR "$lt_cv_objdir/"
8491 _ACEOF
8492
8493
8494
8495
8496 case $host_os in
8497 aix3*)
8498   # AIX sometimes has problems with the GCC collect2 program.  For some
8499   # reason, if we set the COLLECT_NAMES environment variable, the problems
8500   # vanish in a puff of smoke.
8501   if test "X${COLLECT_NAMES+set}" != Xset; then
8502     COLLECT_NAMES=
8503     export COLLECT_NAMES
8504   fi
8505   ;;
8506 esac
8507
8508 # Global variables:
8509 ofile=libtool
8510 can_build_shared=yes
8511
8512 # All known linkers require a `.a' archive for static linking (except MSVC,
8513 # which needs '.lib').
8514 libext=a
8515
8516 with_gnu_ld="$lt_cv_prog_gnu_ld"
8517
8518 old_CC="$CC"
8519 old_CFLAGS="$CFLAGS"
8520
8521 # Set sane defaults for various variables
8522 test -z "$CC" && CC=cc
8523 test -z "$LTCC" && LTCC=$CC
8524 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8525 test -z "$LD" && LD=ld
8526 test -z "$ac_objext" && ac_objext=o
8527
8528 for cc_temp in $compiler""; do
8529   case $cc_temp in
8530     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8531     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8532     \-*) ;;
8533     *) break;;
8534   esac
8535 done
8536 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8537
8538
8539 # Only perform the check for file, if the check method requires it
8540 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8541 case $deplibs_check_method in
8542 file_magic*)
8543   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8544     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8545 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8546 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8547   $as_echo_n "(cached) " >&6
8548 else
8549   case $MAGIC_CMD in
8550 [\\/*] |  ?:[\\/]*)
8551   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8552   ;;
8553 *)
8554   lt_save_MAGIC_CMD="$MAGIC_CMD"
8555   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8556   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8557   for ac_dir in $ac_dummy; do
8558     IFS="$lt_save_ifs"
8559     test -z "$ac_dir" && ac_dir=.
8560     if test -f $ac_dir/${ac_tool_prefix}file; then
8561       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8562       if test -n "$file_magic_test_file"; then
8563         case $deplibs_check_method in
8564         "file_magic "*)
8565           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8566           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8567           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8568             $EGREP "$file_magic_regex" > /dev/null; then
8569             :
8570           else
8571             cat <<_LT_EOF 1>&2
8572
8573 *** Warning: the command libtool uses to detect shared libraries,
8574 *** $file_magic_cmd, produces output that libtool cannot recognize.
8575 *** The result is that libtool may fail to recognize shared libraries
8576 *** as such.  This will affect the creation of libtool libraries that
8577 *** depend on shared libraries, but programs linked with such libtool
8578 *** libraries will work regardless of this problem.  Nevertheless, you
8579 *** may want to report the problem to your system manager and/or to
8580 *** bug-libtool@gnu.org
8581
8582 _LT_EOF
8583           fi ;;
8584         esac
8585       fi
8586       break
8587     fi
8588   done
8589   IFS="$lt_save_ifs"
8590   MAGIC_CMD="$lt_save_MAGIC_CMD"
8591   ;;
8592 esac
8593 fi
8594
8595 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8596 if test -n "$MAGIC_CMD"; then
8597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8598 $as_echo "$MAGIC_CMD" >&6; }
8599 else
8600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8601 $as_echo "no" >&6; }
8602 fi
8603
8604
8605
8606
8607
8608 if test -z "$lt_cv_path_MAGIC_CMD"; then
8609   if test -n "$ac_tool_prefix"; then
8610     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8611 $as_echo_n "checking for file... " >&6; }
8612 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8613   $as_echo_n "(cached) " >&6
8614 else
8615   case $MAGIC_CMD in
8616 [\\/*] |  ?:[\\/]*)
8617   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8618   ;;
8619 *)
8620   lt_save_MAGIC_CMD="$MAGIC_CMD"
8621   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8622   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8623   for ac_dir in $ac_dummy; do
8624     IFS="$lt_save_ifs"
8625     test -z "$ac_dir" && ac_dir=.
8626     if test -f $ac_dir/file; then
8627       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8628       if test -n "$file_magic_test_file"; then
8629         case $deplibs_check_method in
8630         "file_magic "*)
8631           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8632           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8633           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8634             $EGREP "$file_magic_regex" > /dev/null; then
8635             :
8636           else
8637             cat <<_LT_EOF 1>&2
8638
8639 *** Warning: the command libtool uses to detect shared libraries,
8640 *** $file_magic_cmd, produces output that libtool cannot recognize.
8641 *** The result is that libtool may fail to recognize shared libraries
8642 *** as such.  This will affect the creation of libtool libraries that
8643 *** depend on shared libraries, but programs linked with such libtool
8644 *** libraries will work regardless of this problem.  Nevertheless, you
8645 *** may want to report the problem to your system manager and/or to
8646 *** bug-libtool@gnu.org
8647
8648 _LT_EOF
8649           fi ;;
8650         esac
8651       fi
8652       break
8653     fi
8654   done
8655   IFS="$lt_save_ifs"
8656   MAGIC_CMD="$lt_save_MAGIC_CMD"
8657   ;;
8658 esac
8659 fi
8660
8661 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8662 if test -n "$MAGIC_CMD"; then
8663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8664 $as_echo "$MAGIC_CMD" >&6; }
8665 else
8666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8667 $as_echo "no" >&6; }
8668 fi
8669
8670
8671   else
8672     MAGIC_CMD=:
8673   fi
8674 fi
8675
8676   fi
8677   ;;
8678 esac
8679
8680 # Use C for the default configuration in the libtool script
8681
8682 lt_save_CC="$CC"
8683 ac_ext=c
8684 ac_cpp='$CPP $CPPFLAGS'
8685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8688
8689
8690 # Source file extension for C test sources.
8691 ac_ext=c
8692
8693 # Object file extension for compiled C test sources.
8694 objext=o
8695 objext=$objext
8696
8697 # Code to be used in simple compile tests
8698 lt_simple_compile_test_code="int some_variable = 0;"
8699
8700 # Code to be used in simple link tests
8701 lt_simple_link_test_code='int main(){return(0);}'
8702
8703
8704
8705
8706
8707
8708
8709 # If no C compiler was specified, use CC.
8710 LTCC=${LTCC-"$CC"}
8711
8712 # If no C compiler flags were specified, use CFLAGS.
8713 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8714
8715 # Allow CC to be a program name with arguments.
8716 compiler=$CC
8717
8718 # Save the default compiler, since it gets overwritten when the other
8719 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8720 compiler_DEFAULT=$CC
8721
8722 # save warnings/boilerplate of simple test code
8723 ac_outfile=conftest.$ac_objext
8724 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8725 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8726 _lt_compiler_boilerplate=`cat conftest.err`
8727 $RM conftest*
8728
8729 ac_outfile=conftest.$ac_objext
8730 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8731 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8732 _lt_linker_boilerplate=`cat conftest.err`
8733 $RM -r conftest*
8734
8735
8736 ## CAVEAT EMPTOR:
8737 ## There is no encapsulation within the following macros, do not change
8738 ## the running order or otherwise move them around unless you know exactly
8739 ## what you are doing...
8740 if test -n "$compiler"; then
8741
8742 lt_prog_compiler_no_builtin_flag=
8743
8744 if test "$GCC" = yes; then
8745   case $cc_basename in
8746   nvcc*)
8747     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8748   *)
8749     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8750   esac
8751
8752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8753 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8754 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8755   $as_echo_n "(cached) " >&6
8756 else
8757   lt_cv_prog_compiler_rtti_exceptions=no
8758    ac_outfile=conftest.$ac_objext
8759    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8760    lt_compiler_flag="-fno-rtti -fno-exceptions"
8761    # Insert the option either (1) after the last *FLAGS variable, or
8762    # (2) before a word containing "conftest.", or (3) at the end.
8763    # Note that $ac_compile itself does not contain backslashes and begins
8764    # with a dollar sign (not a hyphen), so the echo should work correctly.
8765    # The option is referenced via a variable to avoid confusing sed.
8766    lt_compile=`echo "$ac_compile" | $SED \
8767    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8768    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8769    -e 's:$: $lt_compiler_flag:'`
8770    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8771    (eval "$lt_compile" 2>conftest.err)
8772    ac_status=$?
8773    cat conftest.err >&5
8774    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775    if (exit $ac_status) && test -s "$ac_outfile"; then
8776      # The compiler can only warn and ignore the option if not recognized
8777      # So say no if there are warnings other than the usual output.
8778      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8779      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8780      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8781        lt_cv_prog_compiler_rtti_exceptions=yes
8782      fi
8783    fi
8784    $RM conftest*
8785
8786 fi
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8788 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8789
8790 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8791     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8792 else
8793     :
8794 fi
8795
8796 fi
8797
8798
8799
8800
8801
8802
8803   lt_prog_compiler_wl=
8804 lt_prog_compiler_pic=
8805 lt_prog_compiler_static=
8806
8807
8808   if test "$GCC" = yes; then
8809     lt_prog_compiler_wl='-Wl,'
8810     lt_prog_compiler_static='-static'
8811
8812     case $host_os in
8813       aix*)
8814       # All AIX code is PIC.
8815       if test "$host_cpu" = ia64; then
8816         # AIX 5 now supports IA64 processor
8817         lt_prog_compiler_static='-Bstatic'
8818       fi
8819       ;;
8820
8821     amigaos*)
8822       case $host_cpu in
8823       powerpc)
8824             # see comment about AmigaOS4 .so support
8825             lt_prog_compiler_pic='-fPIC'
8826         ;;
8827       m68k)
8828             # FIXME: we need at least 68020 code to build shared libraries, but
8829             # adding the `-m68020' flag to GCC prevents building anything better,
8830             # like `-m68040'.
8831             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8832         ;;
8833       esac
8834       ;;
8835
8836     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8837       # PIC is the default for these OSes.
8838       ;;
8839
8840     mingw* | cygwin* | pw32* | os2* | cegcc*)
8841       # This hack is so that the source file can tell whether it is being
8842       # built for inclusion in a dll (and should export symbols for example).
8843       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8844       # (--disable-auto-import) libraries
8845       lt_prog_compiler_pic='-DDLL_EXPORT'
8846       ;;
8847
8848     darwin* | rhapsody*)
8849       # PIC is the default on this platform
8850       # Common symbols not allowed in MH_DYLIB files
8851       lt_prog_compiler_pic='-fno-common'
8852       ;;
8853
8854     haiku*)
8855       # PIC is the default for Haiku.
8856       # The "-static" flag exists, but is broken.
8857       lt_prog_compiler_static=
8858       ;;
8859
8860     hpux*)
8861       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8862       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8863       # sets the default TLS model and affects inlining.
8864       case $host_cpu in
8865       hppa*64*)
8866         # +Z the default
8867         ;;
8868       *)
8869         lt_prog_compiler_pic='-fPIC'
8870         ;;
8871       esac
8872       ;;
8873
8874     interix[3-9]*)
8875       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8876       # Instead, we relocate shared libraries at runtime.
8877       ;;
8878
8879     msdosdjgpp*)
8880       # Just because we use GCC doesn't mean we suddenly get shared libraries
8881       # on systems that don't support them.
8882       lt_prog_compiler_can_build_shared=no
8883       enable_shared=no
8884       ;;
8885
8886     *nto* | *qnx*)
8887       # QNX uses GNU C++, but need to define -shared option too, otherwise
8888       # it will coredump.
8889       lt_prog_compiler_pic='-fPIC -shared'
8890       ;;
8891
8892     sysv4*MP*)
8893       if test -d /usr/nec; then
8894         lt_prog_compiler_pic=-Kconform_pic
8895       fi
8896       ;;
8897
8898     *)
8899       lt_prog_compiler_pic='-fPIC'
8900       ;;
8901     esac
8902
8903     case $cc_basename in
8904     nvcc*) # Cuda Compiler Driver 2.2
8905       lt_prog_compiler_wl='-Xlinker '
8906       if test -n "$lt_prog_compiler_pic"; then
8907         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8908       fi
8909       ;;
8910     esac
8911   else
8912     # PORTME Check for flag to pass linker flags through the system compiler.
8913     case $host_os in
8914     aix*)
8915       lt_prog_compiler_wl='-Wl,'
8916       if test "$host_cpu" = ia64; then
8917         # AIX 5 now supports IA64 processor
8918         lt_prog_compiler_static='-Bstatic'
8919       else
8920         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8921       fi
8922       ;;
8923
8924     mingw* | cygwin* | pw32* | os2* | cegcc*)
8925       # This hack is so that the source file can tell whether it is being
8926       # built for inclusion in a dll (and should export symbols for example).
8927       lt_prog_compiler_pic='-DDLL_EXPORT'
8928       ;;
8929
8930     hpux9* | hpux10* | hpux11*)
8931       lt_prog_compiler_wl='-Wl,'
8932       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8933       # not for PA HP-UX.
8934       case $host_cpu in
8935       hppa*64*|ia64*)
8936         # +Z the default
8937         ;;
8938       *)
8939         lt_prog_compiler_pic='+Z'
8940         ;;
8941       esac
8942       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8943       lt_prog_compiler_static='${wl}-a ${wl}archive'
8944       ;;
8945
8946     irix5* | irix6* | nonstopux*)
8947       lt_prog_compiler_wl='-Wl,'
8948       # PIC (with -KPIC) is the default.
8949       lt_prog_compiler_static='-non_shared'
8950       ;;
8951
8952     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8953       case $cc_basename in
8954       # old Intel for x86_64 which still supported -KPIC.
8955       ecc*)
8956         lt_prog_compiler_wl='-Wl,'
8957         lt_prog_compiler_pic='-KPIC'
8958         lt_prog_compiler_static='-static'
8959         ;;
8960       # icc used to be incompatible with GCC.
8961       # ICC 10 doesn't accept -KPIC any more.
8962       icc* | ifort*)
8963         lt_prog_compiler_wl='-Wl,'
8964         lt_prog_compiler_pic='-fPIC'
8965         lt_prog_compiler_static='-static'
8966         ;;
8967       # Lahey Fortran 8.1.
8968       lf95*)
8969         lt_prog_compiler_wl='-Wl,'
8970         lt_prog_compiler_pic='--shared'
8971         lt_prog_compiler_static='--static'
8972         ;;
8973       nagfor*)
8974         # NAG Fortran compiler
8975         lt_prog_compiler_wl='-Wl,-Wl,,'
8976         lt_prog_compiler_pic='-PIC'
8977         lt_prog_compiler_static='-Bstatic'
8978         ;;
8979       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8980         # Portland Group compilers (*not* the Pentium gcc compiler,
8981         # which looks to be a dead project)
8982         lt_prog_compiler_wl='-Wl,'
8983         lt_prog_compiler_pic='-fpic'
8984         lt_prog_compiler_static='-Bstatic'
8985         ;;
8986       ccc*)
8987         lt_prog_compiler_wl='-Wl,'
8988         # All Alpha code is PIC.
8989         lt_prog_compiler_static='-non_shared'
8990         ;;
8991       xl* | bgxl* | bgf* | mpixl*)
8992         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8993         lt_prog_compiler_wl='-Wl,'
8994         lt_prog_compiler_pic='-qpic'
8995         lt_prog_compiler_static='-qstaticlink'
8996         ;;
8997       *)
8998         case `$CC -V 2>&1 | sed 5q` in
8999         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9000           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9001           lt_prog_compiler_pic='-KPIC'
9002           lt_prog_compiler_static='-Bstatic'
9003           lt_prog_compiler_wl=''
9004           ;;
9005         *Sun\ F* | *Sun*Fortran*)
9006           lt_prog_compiler_pic='-KPIC'
9007           lt_prog_compiler_static='-Bstatic'
9008           lt_prog_compiler_wl='-Qoption ld '
9009           ;;
9010         *Sun\ C*)
9011           # Sun C 5.9
9012           lt_prog_compiler_pic='-KPIC'
9013           lt_prog_compiler_static='-Bstatic'
9014           lt_prog_compiler_wl='-Wl,'
9015           ;;
9016         *Intel*\ [CF]*Compiler*)
9017           lt_prog_compiler_wl='-Wl,'
9018           lt_prog_compiler_pic='-fPIC'
9019           lt_prog_compiler_static='-static'
9020           ;;
9021         *Portland\ Group*)
9022           lt_prog_compiler_wl='-Wl,'
9023           lt_prog_compiler_pic='-fpic'
9024           lt_prog_compiler_static='-Bstatic'
9025           ;;
9026         esac
9027         ;;
9028       esac
9029       ;;
9030
9031     newsos6)
9032       lt_prog_compiler_pic='-KPIC'
9033       lt_prog_compiler_static='-Bstatic'
9034       ;;
9035
9036     *nto* | *qnx*)
9037       # QNX uses GNU C++, but need to define -shared option too, otherwise
9038       # it will coredump.
9039       lt_prog_compiler_pic='-fPIC -shared'
9040       ;;
9041
9042     osf3* | osf4* | osf5*)
9043       lt_prog_compiler_wl='-Wl,'
9044       # All OSF/1 code is PIC.
9045       lt_prog_compiler_static='-non_shared'
9046       ;;
9047
9048     rdos*)
9049       lt_prog_compiler_static='-non_shared'
9050       ;;
9051
9052     solaris*)
9053       lt_prog_compiler_pic='-KPIC'
9054       lt_prog_compiler_static='-Bstatic'
9055       case $cc_basename in
9056       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9057         lt_prog_compiler_wl='-Qoption ld ';;
9058       *)
9059         lt_prog_compiler_wl='-Wl,';;
9060       esac
9061       ;;
9062
9063     sunos4*)
9064       lt_prog_compiler_wl='-Qoption ld '
9065       lt_prog_compiler_pic='-PIC'
9066       lt_prog_compiler_static='-Bstatic'
9067       ;;
9068
9069     sysv4 | sysv4.2uw2* | sysv4.3*)
9070       lt_prog_compiler_wl='-Wl,'
9071       lt_prog_compiler_pic='-KPIC'
9072       lt_prog_compiler_static='-Bstatic'
9073       ;;
9074
9075     sysv4*MP*)
9076       if test -d /usr/nec ;then
9077         lt_prog_compiler_pic='-Kconform_pic'
9078         lt_prog_compiler_static='-Bstatic'
9079       fi
9080       ;;
9081
9082     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9083       lt_prog_compiler_wl='-Wl,'
9084       lt_prog_compiler_pic='-KPIC'
9085       lt_prog_compiler_static='-Bstatic'
9086       ;;
9087
9088     unicos*)
9089       lt_prog_compiler_wl='-Wl,'
9090       lt_prog_compiler_can_build_shared=no
9091       ;;
9092
9093     uts4*)
9094       lt_prog_compiler_pic='-pic'
9095       lt_prog_compiler_static='-Bstatic'
9096       ;;
9097
9098     *)
9099       lt_prog_compiler_can_build_shared=no
9100       ;;
9101     esac
9102   fi
9103
9104 case $host_os in
9105   # For platforms which do not support PIC, -DPIC is meaningless:
9106   *djgpp*)
9107     lt_prog_compiler_pic=
9108     ;;
9109   *)
9110     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9111     ;;
9112 esac
9113
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9115 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9116 if ${lt_cv_prog_compiler_pic+:} false; then :
9117   $as_echo_n "(cached) " >&6
9118 else
9119   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9120 fi
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9122 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9123 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9124
9125 #
9126 # Check to make sure the PIC flag actually works.
9127 #
9128 if test -n "$lt_prog_compiler_pic"; then
9129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9130 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9131 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9132   $as_echo_n "(cached) " >&6
9133 else
9134   lt_cv_prog_compiler_pic_works=no
9135    ac_outfile=conftest.$ac_objext
9136    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9137    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9138    # Insert the option either (1) after the last *FLAGS variable, or
9139    # (2) before a word containing "conftest.", or (3) at the end.
9140    # Note that $ac_compile itself does not contain backslashes and begins
9141    # with a dollar sign (not a hyphen), so the echo should work correctly.
9142    # The option is referenced via a variable to avoid confusing sed.
9143    lt_compile=`echo "$ac_compile" | $SED \
9144    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9145    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9146    -e 's:$: $lt_compiler_flag:'`
9147    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9148    (eval "$lt_compile" 2>conftest.err)
9149    ac_status=$?
9150    cat conftest.err >&5
9151    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152    if (exit $ac_status) && test -s "$ac_outfile"; then
9153      # The compiler can only warn and ignore the option if not recognized
9154      # So say no if there are warnings other than the usual output.
9155      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9156      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9157      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9158        lt_cv_prog_compiler_pic_works=yes
9159      fi
9160    fi
9161    $RM conftest*
9162
9163 fi
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9165 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9166
9167 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9168     case $lt_prog_compiler_pic in
9169      "" | " "*) ;;
9170      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9171      esac
9172 else
9173     lt_prog_compiler_pic=
9174      lt_prog_compiler_can_build_shared=no
9175 fi
9176
9177 fi
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189 #
9190 # Check to make sure the static flag actually works.
9191 #
9192 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9194 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9195 if ${lt_cv_prog_compiler_static_works+:} false; then :
9196   $as_echo_n "(cached) " >&6
9197 else
9198   lt_cv_prog_compiler_static_works=no
9199    save_LDFLAGS="$LDFLAGS"
9200    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9201    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9202    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9203      # The linker can only warn and ignore the option if not recognized
9204      # So say no if there are warnings
9205      if test -s conftest.err; then
9206        # Append any errors to the config.log.
9207        cat conftest.err 1>&5
9208        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9209        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9210        if diff conftest.exp conftest.er2 >/dev/null; then
9211          lt_cv_prog_compiler_static_works=yes
9212        fi
9213      else
9214        lt_cv_prog_compiler_static_works=yes
9215      fi
9216    fi
9217    $RM -r conftest*
9218    LDFLAGS="$save_LDFLAGS"
9219
9220 fi
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9222 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9223
9224 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9225     :
9226 else
9227     lt_prog_compiler_static=
9228 fi
9229
9230
9231
9232
9233
9234
9235
9236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9237 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9238 if ${lt_cv_prog_compiler_c_o+:} false; then :
9239   $as_echo_n "(cached) " >&6
9240 else
9241   lt_cv_prog_compiler_c_o=no
9242    $RM -r conftest 2>/dev/null
9243    mkdir conftest
9244    cd conftest
9245    mkdir out
9246    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9247
9248    lt_compiler_flag="-o out/conftest2.$ac_objext"
9249    # Insert the option either (1) after the last *FLAGS variable, or
9250    # (2) before a word containing "conftest.", or (3) at the end.
9251    # Note that $ac_compile itself does not contain backslashes and begins
9252    # with a dollar sign (not a hyphen), so the echo should work correctly.
9253    lt_compile=`echo "$ac_compile" | $SED \
9254    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9255    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9256    -e 's:$: $lt_compiler_flag:'`
9257    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9258    (eval "$lt_compile" 2>out/conftest.err)
9259    ac_status=$?
9260    cat out/conftest.err >&5
9261    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9263    then
9264      # The compiler can only warn and ignore the option if not recognized
9265      # So say no if there are warnings
9266      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9267      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9268      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9269        lt_cv_prog_compiler_c_o=yes
9270      fi
9271    fi
9272    chmod u+w . 2>&5
9273    $RM conftest*
9274    # SGI C++ compiler will create directory out/ii_files/ for
9275    # template instantiation
9276    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9277    $RM out/* && rmdir out
9278    cd ..
9279    $RM -r conftest
9280    $RM conftest*
9281
9282 fi
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9284 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9285
9286
9287
9288
9289
9290
9291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9292 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9293 if ${lt_cv_prog_compiler_c_o+:} false; then :
9294   $as_echo_n "(cached) " >&6
9295 else
9296   lt_cv_prog_compiler_c_o=no
9297    $RM -r conftest 2>/dev/null
9298    mkdir conftest
9299    cd conftest
9300    mkdir out
9301    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9302
9303    lt_compiler_flag="-o out/conftest2.$ac_objext"
9304    # Insert the option either (1) after the last *FLAGS variable, or
9305    # (2) before a word containing "conftest.", or (3) at the end.
9306    # Note that $ac_compile itself does not contain backslashes and begins
9307    # with a dollar sign (not a hyphen), so the echo should work correctly.
9308    lt_compile=`echo "$ac_compile" | $SED \
9309    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9310    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9311    -e 's:$: $lt_compiler_flag:'`
9312    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9313    (eval "$lt_compile" 2>out/conftest.err)
9314    ac_status=$?
9315    cat out/conftest.err >&5
9316    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9318    then
9319      # The compiler can only warn and ignore the option if not recognized
9320      # So say no if there are warnings
9321      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9322      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9323      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9324        lt_cv_prog_compiler_c_o=yes
9325      fi
9326    fi
9327    chmod u+w . 2>&5
9328    $RM conftest*
9329    # SGI C++ compiler will create directory out/ii_files/ for
9330    # template instantiation
9331    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9332    $RM out/* && rmdir out
9333    cd ..
9334    $RM -r conftest
9335    $RM conftest*
9336
9337 fi
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9339 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9340
9341
9342
9343
9344 hard_links="nottested"
9345 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9346   # do not overwrite the value of need_locks provided by the user
9347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9348 $as_echo_n "checking if we can lock with hard links... " >&6; }
9349   hard_links=yes
9350   $RM conftest*
9351   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9352   touch conftest.a
9353   ln conftest.a conftest.b 2>&5 || hard_links=no
9354   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9356 $as_echo "$hard_links" >&6; }
9357   if test "$hard_links" = no; then
9358     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9359 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9360     need_locks=warn
9361   fi
9362 else
9363   need_locks=no
9364 fi
9365
9366
9367
9368
9369
9370
9371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9372 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9373
9374   runpath_var=
9375   allow_undefined_flag=
9376   always_export_symbols=no
9377   archive_cmds=
9378   archive_expsym_cmds=
9379   compiler_needs_object=no
9380   enable_shared_with_static_runtimes=no
9381   export_dynamic_flag_spec=
9382   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9383   hardcode_automatic=no
9384   hardcode_direct=no
9385   hardcode_direct_absolute=no
9386   hardcode_libdir_flag_spec=
9387   hardcode_libdir_separator=
9388   hardcode_minus_L=no
9389   hardcode_shlibpath_var=unsupported
9390   inherit_rpath=no
9391   link_all_deplibs=unknown
9392   module_cmds=
9393   module_expsym_cmds=
9394   old_archive_from_new_cmds=
9395   old_archive_from_expsyms_cmds=
9396   thread_safe_flag_spec=
9397   whole_archive_flag_spec=
9398   # include_expsyms should be a list of space-separated symbols to be *always*
9399   # included in the symbol list
9400   include_expsyms=
9401   # exclude_expsyms can be an extended regexp of symbols to exclude
9402   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9403   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9404   # as well as any symbol that contains `d'.
9405   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9406   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9407   # platforms (ab)use it in PIC code, but their linkers get confused if
9408   # the symbol is explicitly referenced.  Since portable code cannot
9409   # rely on this symbol name, it's probably fine to never include it in
9410   # preloaded symbol tables.
9411   # Exclude shared library initialization/finalization symbols.
9412   extract_expsyms_cmds=
9413
9414   case $host_os in
9415   cygwin* | mingw* | pw32* | cegcc*)
9416     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9417     # When not using gcc, we currently assume that we are using
9418     # Microsoft Visual C++.
9419     if test "$GCC" != yes; then
9420       with_gnu_ld=no
9421     fi
9422     ;;
9423   interix*)
9424     # we just hope/assume this is gcc and not c89 (= MSVC++)
9425     with_gnu_ld=yes
9426     ;;
9427   openbsd*)
9428     with_gnu_ld=no
9429     ;;
9430   linux* | k*bsd*-gnu | gnu*)
9431     link_all_deplibs=no
9432     ;;
9433   esac
9434
9435   ld_shlibs=yes
9436
9437   # On some targets, GNU ld is compatible enough with the native linker
9438   # that we're better off using the native interface for both.
9439   lt_use_gnu_ld_interface=no
9440   if test "$with_gnu_ld" = yes; then
9441     case $host_os in
9442       aix*)
9443         # The AIX port of GNU ld has always aspired to compatibility
9444         # with the native linker.  However, as the warning in the GNU ld
9445         # block says, versions before 2.19.5* couldn't really create working
9446         # shared libraries, regardless of the interface used.
9447         case `$LD -v 2>&1` in
9448           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9449           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9450           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9451           *)
9452             lt_use_gnu_ld_interface=yes
9453             ;;
9454         esac
9455         ;;
9456       *)
9457         lt_use_gnu_ld_interface=yes
9458         ;;
9459     esac
9460   fi
9461
9462   if test "$lt_use_gnu_ld_interface" = yes; then
9463     # If archive_cmds runs LD, not CC, wlarc should be empty
9464     wlarc='${wl}'
9465
9466     # Set some defaults for GNU ld with shared library support. These
9467     # are reset later if shared libraries are not supported. Putting them
9468     # here allows them to be overridden if necessary.
9469     runpath_var=LD_RUN_PATH
9470     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9471     export_dynamic_flag_spec='${wl}--export-dynamic'
9472     # ancient GNU ld didn't support --whole-archive et. al.
9473     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9474       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9475     else
9476       whole_archive_flag_spec=
9477     fi
9478     supports_anon_versioning=no
9479     case `$LD -v 2>&1` in
9480       *GNU\ gold*) supports_anon_versioning=yes ;;
9481       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9482       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9483       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9484       *\ 2.11.*) ;; # other 2.11 versions
9485       *) supports_anon_versioning=yes ;;
9486     esac
9487
9488     # See if GNU ld supports shared libraries.
9489     case $host_os in
9490     aix[3-9]*)
9491       # On AIX/PPC, the GNU linker is very broken
9492       if test "$host_cpu" != ia64; then
9493         ld_shlibs=no
9494         cat <<_LT_EOF 1>&2
9495
9496 *** Warning: the GNU linker, at least up to release 2.19, is reported
9497 *** to be unable to reliably create shared libraries on AIX.
9498 *** Therefore, libtool is disabling shared libraries support.  If you
9499 *** really care for shared libraries, you may want to install binutils
9500 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9501 *** You will then need to restart the configuration process.
9502
9503 _LT_EOF
9504       fi
9505       ;;
9506
9507     amigaos*)
9508       case $host_cpu in
9509       powerpc)
9510             # see comment about AmigaOS4 .so support
9511             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9512             archive_expsym_cmds=''
9513         ;;
9514       m68k)
9515             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)'
9516             hardcode_libdir_flag_spec='-L$libdir'
9517             hardcode_minus_L=yes
9518         ;;
9519       esac
9520       ;;
9521
9522     beos*)
9523       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9524         allow_undefined_flag=unsupported
9525         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9526         # support --undefined.  This deserves some investigation.  FIXME
9527         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9528       else
9529         ld_shlibs=no
9530       fi
9531       ;;
9532
9533     cygwin* | mingw* | pw32* | cegcc*)
9534       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9535       # as there is no search path for DLLs.
9536       hardcode_libdir_flag_spec='-L$libdir'
9537       export_dynamic_flag_spec='${wl}--export-all-symbols'
9538       allow_undefined_flag=unsupported
9539       always_export_symbols=no
9540       enable_shared_with_static_runtimes=yes
9541       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'
9542       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9543
9544       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9545         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9546         # If the export-symbols file already is a .def file (1st line
9547         # is EXPORTS), use it as is; otherwise, prepend...
9548         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9549           cp $export_symbols $output_objdir/$soname.def;
9550         else
9551           echo EXPORTS > $output_objdir/$soname.def;
9552           cat $export_symbols >> $output_objdir/$soname.def;
9553         fi~
9554         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9555       else
9556         ld_shlibs=no
9557       fi
9558       ;;
9559
9560     haiku*)
9561       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562       link_all_deplibs=yes
9563       ;;
9564
9565     interix[3-9]*)
9566       hardcode_direct=no
9567       hardcode_shlibpath_var=no
9568       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9569       export_dynamic_flag_spec='${wl}-E'
9570       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9571       # Instead, shared libraries are loaded at an image base (0x10000000 by
9572       # default) and relocated if they conflict, which is a slow very memory
9573       # consuming and fragmenting process.  To avoid this, we pick a random,
9574       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9575       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9576       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9577       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'
9578       ;;
9579
9580     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9581       tmp_diet=no
9582       if test "$host_os" = linux-dietlibc; then
9583         case $cc_basename in
9584           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9585         esac
9586       fi
9587       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9588          && test "$tmp_diet" = no
9589       then
9590         tmp_addflag=' $pic_flag'
9591         tmp_sharedflag='-shared'
9592         case $cc_basename,$host_cpu in
9593         pgcc*)                          # Portland Group C compiler
9594           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'
9595           tmp_addflag=' $pic_flag'
9596           ;;
9597         pgf77* | pgf90* | pgf95* | pgfortran*)
9598                                         # Portland Group f77 and f90 compilers
9599           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'
9600           tmp_addflag=' $pic_flag -Mnomain' ;;
9601         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9602           tmp_addflag=' -i_dynamic' ;;
9603         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9604           tmp_addflag=' -i_dynamic -nofor_main' ;;
9605         ifc* | ifort*)                  # Intel Fortran compiler
9606           tmp_addflag=' -nofor_main' ;;
9607         lf95*)                          # Lahey Fortran 8.1
9608           whole_archive_flag_spec=
9609           tmp_sharedflag='--shared' ;;
9610         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9611           tmp_sharedflag='-qmkshrobj'
9612           tmp_addflag= ;;
9613         nvcc*)  # Cuda Compiler Driver 2.2
9614           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'
9615           compiler_needs_object=yes
9616           ;;
9617         esac
9618         case `$CC -V 2>&1 | sed 5q` in
9619         *Sun\ C*)                       # Sun C 5.9
9620           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'
9621           compiler_needs_object=yes
9622           tmp_sharedflag='-G' ;;
9623         *Sun\ F*)                       # Sun Fortran 8.3
9624           tmp_sharedflag='-G' ;;
9625         esac
9626         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9627
9628         if test "x$supports_anon_versioning" = xyes; then
9629           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9630             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9631             echo "local: *; };" >> $output_objdir/$libname.ver~
9632             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9633         fi
9634
9635         case $cc_basename in
9636         xlf* | bgf* | bgxlf* | mpixlf*)
9637           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9638           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9639           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9640           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9641           if test "x$supports_anon_versioning" = xyes; then
9642             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9643               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9644               echo "local: *; };" >> $output_objdir/$libname.ver~
9645               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9646           fi
9647           ;;
9648         esac
9649       else
9650         ld_shlibs=no
9651       fi
9652       ;;
9653
9654     netbsd* | netbsdelf*-gnu)
9655       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9656         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9657         wlarc=
9658       else
9659         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9660         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9661       fi
9662       ;;
9663
9664     solaris*)
9665       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9666         ld_shlibs=no
9667         cat <<_LT_EOF 1>&2
9668
9669 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9670 *** create shared libraries on Solaris systems.  Therefore, libtool
9671 *** is disabling shared libraries support.  We urge you to upgrade GNU
9672 *** binutils to release 2.9.1 or newer.  Another option is to modify
9673 *** your PATH or compiler configuration so that the native linker is
9674 *** used, and then restart.
9675
9676 _LT_EOF
9677       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9678         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9679         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9680       else
9681         ld_shlibs=no
9682       fi
9683       ;;
9684
9685     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9686       case `$LD -v 2>&1` in
9687         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9688         ld_shlibs=no
9689         cat <<_LT_EOF 1>&2
9690
9691 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9692 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9693 *** is disabling shared libraries support.  We urge you to upgrade GNU
9694 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9695 *** your PATH or compiler configuration so that the native linker is
9696 *** used, and then restart.
9697
9698 _LT_EOF
9699         ;;
9700         *)
9701           # For security reasons, it is highly recommended that you always
9702           # use absolute paths for naming shared libraries, and exclude the
9703           # DT_RUNPATH tag from executables and libraries.  But doing so
9704           # requires that you compile everything twice, which is a pain.
9705           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9706             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9707             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9708             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9709           else
9710             ld_shlibs=no
9711           fi
9712         ;;
9713       esac
9714       ;;
9715
9716     sunos4*)
9717       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9718       wlarc=
9719       hardcode_direct=yes
9720       hardcode_shlibpath_var=no
9721       ;;
9722
9723     *)
9724       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9725         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9726         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9727       else
9728         ld_shlibs=no
9729       fi
9730       ;;
9731     esac
9732
9733     if test "$ld_shlibs" = no; then
9734       runpath_var=
9735       hardcode_libdir_flag_spec=
9736       export_dynamic_flag_spec=
9737       whole_archive_flag_spec=
9738     fi
9739   else
9740     # PORTME fill in a description of your system's linker (not GNU ld)
9741     case $host_os in
9742     aix3*)
9743       allow_undefined_flag=unsupported
9744       always_export_symbols=yes
9745       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'
9746       # Note: this linker hardcodes the directories in LIBPATH if there
9747       # are no directories specified by -L.
9748       hardcode_minus_L=yes
9749       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9750         # Neither direct hardcoding nor static linking is supported with a
9751         # broken collect2.
9752         hardcode_direct=unsupported
9753       fi
9754       ;;
9755
9756     aix[4-9]*)
9757       if test "$host_cpu" = ia64; then
9758         # On IA64, the linker does run time linking by default, so we don't
9759         # have to do anything special.
9760         aix_use_runtimelinking=no
9761         exp_sym_flag='-Bexport'
9762         no_entry_flag=""
9763       else
9764         # If we're using GNU nm, then we don't want the "-C" option.
9765         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9766         # Also, AIX nm treats weak defined symbols like other global
9767         # defined symbols, whereas GNU nm marks them as "W".
9768         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9769           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'
9770         else
9771           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'
9772         fi
9773         aix_use_runtimelinking=no
9774
9775         # Test if we are trying to use run time linking or normal
9776         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9777         # need to do runtime linking.
9778         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9779           for ld_flag in $LDFLAGS; do
9780           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9781             aix_use_runtimelinking=yes
9782             break
9783           fi
9784           done
9785           ;;
9786         esac
9787
9788         exp_sym_flag='-bexport'
9789         no_entry_flag='-bnoentry'
9790       fi
9791
9792       # When large executables or shared objects are built, AIX ld can
9793       # have problems creating the table of contents.  If linking a library
9794       # or program results in "error TOC overflow" add -mminimal-toc to
9795       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9796       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9797
9798       archive_cmds=''
9799       hardcode_direct=yes
9800       hardcode_direct_absolute=yes
9801       hardcode_libdir_separator=':'
9802       link_all_deplibs=yes
9803       file_list_spec='${wl}-f,'
9804
9805       if test "$GCC" = yes; then
9806         case $host_os in aix4.[012]|aix4.[012].*)
9807         # We only want to do this on AIX 4.2 and lower, the check
9808         # below for broken collect2 doesn't work under 4.3+
9809           collect2name=`${CC} -print-prog-name=collect2`
9810           if test -f "$collect2name" &&
9811            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9812           then
9813           # We have reworked collect2
9814           :
9815           else
9816           # We have old collect2
9817           hardcode_direct=unsupported
9818           # It fails to find uninstalled libraries when the uninstalled
9819           # path is not listed in the libpath.  Setting hardcode_minus_L
9820           # to unsupported forces relinking
9821           hardcode_minus_L=yes
9822           hardcode_libdir_flag_spec='-L$libdir'
9823           hardcode_libdir_separator=
9824           fi
9825           ;;
9826         esac
9827         shared_flag='-shared'
9828         if test "$aix_use_runtimelinking" = yes; then
9829           shared_flag="$shared_flag "'${wl}-G'
9830         fi
9831         link_all_deplibs=no
9832       else
9833         # not using gcc
9834         if test "$host_cpu" = ia64; then
9835         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9836         # chokes on -Wl,-G. The following line is correct:
9837           shared_flag='-G'
9838         else
9839           if test "$aix_use_runtimelinking" = yes; then
9840             shared_flag='${wl}-G'
9841           else
9842             shared_flag='${wl}-bM:SRE'
9843           fi
9844         fi
9845       fi
9846
9847       export_dynamic_flag_spec='${wl}-bexpall'
9848       # It seems that -bexpall does not export symbols beginning with
9849       # underscore (_), so it is better to generate a list of symbols to export.
9850       always_export_symbols=yes
9851       if test "$aix_use_runtimelinking" = yes; then
9852         # Warning - without using the other runtime loading flags (-brtl),
9853         # -berok will link without error, but may produce a broken library.
9854         allow_undefined_flag='-berok'
9855         # Determine the default libpath from the value encoded in an
9856         # empty executable.
9857         if test "${lt_cv_aix_libpath+set}" = set; then
9858   aix_libpath=$lt_cv_aix_libpath
9859 else
9860   if ${lt_cv_aix_libpath_+:} false; then :
9861   $as_echo_n "(cached) " >&6
9862 else
9863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h.  */
9865
9866 int
9867 main ()
9868 {
9869
9870   ;
9871   return 0;
9872 }
9873 _ACEOF
9874 if ac_fn_c_try_link "$LINENO"; then :
9875
9876   lt_aix_libpath_sed='
9877       /Import File Strings/,/^$/ {
9878           /^0/ {
9879               s/^0  *\([^ ]*\) *$/\1/
9880               p
9881           }
9882       }'
9883   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9884   # Check for a 64-bit object if we didn't find anything.
9885   if test -z "$lt_cv_aix_libpath_"; then
9886     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9887   fi
9888 fi
9889 rm -f core conftest.err conftest.$ac_objext \
9890     conftest$ac_exeext conftest.$ac_ext
9891   if test -z "$lt_cv_aix_libpath_"; then
9892     lt_cv_aix_libpath_="/usr/lib:/lib"
9893   fi
9894
9895 fi
9896
9897   aix_libpath=$lt_cv_aix_libpath_
9898 fi
9899
9900         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9901         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"
9902       else
9903         if test "$host_cpu" = ia64; then
9904           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9905           allow_undefined_flag="-z nodefs"
9906           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"
9907         else
9908          # Determine the default libpath from the value encoded in an
9909          # empty executable.
9910          if test "${lt_cv_aix_libpath+set}" = set; then
9911   aix_libpath=$lt_cv_aix_libpath
9912 else
9913   if ${lt_cv_aix_libpath_+:} false; then :
9914   $as_echo_n "(cached) " >&6
9915 else
9916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h.  */
9918
9919 int
9920 main ()
9921 {
9922
9923   ;
9924   return 0;
9925 }
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928
9929   lt_aix_libpath_sed='
9930       /Import File Strings/,/^$/ {
9931           /^0/ {
9932               s/^0  *\([^ ]*\) *$/\1/
9933               p
9934           }
9935       }'
9936   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9937   # Check for a 64-bit object if we didn't find anything.
9938   if test -z "$lt_cv_aix_libpath_"; then
9939     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9940   fi
9941 fi
9942 rm -f core conftest.err conftest.$ac_objext \
9943     conftest$ac_exeext conftest.$ac_ext
9944   if test -z "$lt_cv_aix_libpath_"; then
9945     lt_cv_aix_libpath_="/usr/lib:/lib"
9946   fi
9947
9948 fi
9949
9950   aix_libpath=$lt_cv_aix_libpath_
9951 fi
9952
9953          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9954           # Warning - without using the other run time loading flags,
9955           # -berok will link without error, but may produce a broken library.
9956           no_undefined_flag=' ${wl}-bernotok'
9957           allow_undefined_flag=' ${wl}-berok'
9958           if test "$with_gnu_ld" = yes; then
9959             # We only use this code for GNU lds that support --whole-archive.
9960             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9961           else
9962             # Exported symbols can be pulled into shared objects from archives
9963             whole_archive_flag_spec='$convenience'
9964           fi
9965           archive_cmds_need_lc=yes
9966           # This is similar to how AIX traditionally builds its shared libraries.
9967           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'
9968         fi
9969       fi
9970       ;;
9971
9972     amigaos*)
9973       case $host_cpu in
9974       powerpc)
9975             # see comment about AmigaOS4 .so support
9976             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9977             archive_expsym_cmds=''
9978         ;;
9979       m68k)
9980             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)'
9981             hardcode_libdir_flag_spec='-L$libdir'
9982             hardcode_minus_L=yes
9983         ;;
9984       esac
9985       ;;
9986
9987     bsdi[45]*)
9988       export_dynamic_flag_spec=-rdynamic
9989       ;;
9990
9991     cygwin* | mingw* | pw32* | cegcc*)
9992       # When not using gcc, we currently assume that we are using
9993       # Microsoft Visual C++.
9994       # hardcode_libdir_flag_spec is actually meaningless, as there is
9995       # no search path for DLLs.
9996       case $cc_basename in
9997       cl*)
9998         # Native MSVC
9999         hardcode_libdir_flag_spec=' '
10000         allow_undefined_flag=unsupported
10001         always_export_symbols=yes
10002         file_list_spec='@'
10003         # Tell ltmain to make .lib files, not .a files.
10004         libext=lib
10005         # Tell ltmain to make .dll files, not .so files.
10006         shrext_cmds=".dll"
10007         # FIXME: Setting linknames here is a bad hack.
10008         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10009         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10010             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10011           else
10012             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10013           fi~
10014           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10015           linknames='
10016         # The linker will not automatically build a static lib if we build a DLL.
10017         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10018         enable_shared_with_static_runtimes=yes
10019         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10020         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10021         # Don't use ranlib
10022         old_postinstall_cmds='chmod 644 $oldlib'
10023         postlink_cmds='lt_outputfile="@OUTPUT@"~
10024           lt_tool_outputfile="@TOOL_OUTPUT@"~
10025           case $lt_outputfile in
10026             *.exe|*.EXE) ;;
10027             *)
10028               lt_outputfile="$lt_outputfile.exe"
10029               lt_tool_outputfile="$lt_tool_outputfile.exe"
10030               ;;
10031           esac~
10032           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10033             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10034             $RM "$lt_outputfile.manifest";
10035           fi'
10036         ;;
10037       *)
10038         # Assume MSVC wrapper
10039         hardcode_libdir_flag_spec=' '
10040         allow_undefined_flag=unsupported
10041         # Tell ltmain to make .lib files, not .a files.
10042         libext=lib
10043         # Tell ltmain to make .dll files, not .so files.
10044         shrext_cmds=".dll"
10045         # FIXME: Setting linknames here is a bad hack.
10046         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10047         # The linker will automatically build a .lib file if we build a DLL.
10048         old_archive_from_new_cmds='true'
10049         # FIXME: Should let the user specify the lib program.
10050         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10051         enable_shared_with_static_runtimes=yes
10052         ;;
10053       esac
10054       ;;
10055
10056     darwin* | rhapsody*)
10057
10058
10059   archive_cmds_need_lc=no
10060   hardcode_direct=no
10061   hardcode_automatic=yes
10062   hardcode_shlibpath_var=unsupported
10063   if test "$lt_cv_ld_force_load" = "yes"; then
10064     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\"`'
10065
10066   else
10067     whole_archive_flag_spec=''
10068   fi
10069   link_all_deplibs=yes
10070   allow_undefined_flag="$_lt_dar_allow_undefined"
10071   case $cc_basename in
10072      ifort*) _lt_dar_can_shared=yes ;;
10073      *) _lt_dar_can_shared=$GCC ;;
10074   esac
10075   if test "$_lt_dar_can_shared" = "yes"; then
10076     output_verbose_link_cmd=func_echo_all
10077     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10078     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10079     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}"
10080     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}"
10081
10082   else
10083   ld_shlibs=no
10084   fi
10085
10086       ;;
10087
10088     dgux*)
10089       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10090       hardcode_libdir_flag_spec='-L$libdir'
10091       hardcode_shlibpath_var=no
10092       ;;
10093
10094     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10095     # support.  Future versions do this automatically, but an explicit c++rt0.o
10096     # does not break anything, and helps significantly (at the cost of a little
10097     # extra space).
10098     freebsd2.2*)
10099       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10100       hardcode_libdir_flag_spec='-R$libdir'
10101       hardcode_direct=yes
10102       hardcode_shlibpath_var=no
10103       ;;
10104
10105     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10106     freebsd2.*)
10107       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10108       hardcode_direct=yes
10109       hardcode_minus_L=yes
10110       hardcode_shlibpath_var=no
10111       ;;
10112
10113     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10114     freebsd* | dragonfly*)
10115       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10116       hardcode_libdir_flag_spec='-R$libdir'
10117       hardcode_direct=yes
10118       hardcode_shlibpath_var=no
10119       ;;
10120
10121     hpux9*)
10122       if test "$GCC" = yes; then
10123         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'
10124       else
10125         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'
10126       fi
10127       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10128       hardcode_libdir_separator=:
10129       hardcode_direct=yes
10130
10131       # hardcode_minus_L: Not really in the search PATH,
10132       # but as the default location of the library.
10133       hardcode_minus_L=yes
10134       export_dynamic_flag_spec='${wl}-E'
10135       ;;
10136
10137     hpux10*)
10138       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10139         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10140       else
10141         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10142       fi
10143       if test "$with_gnu_ld" = no; then
10144         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10145         hardcode_libdir_separator=:
10146         hardcode_direct=yes
10147         hardcode_direct_absolute=yes
10148         export_dynamic_flag_spec='${wl}-E'
10149         # hardcode_minus_L: Not really in the search PATH,
10150         # but as the default location of the library.
10151         hardcode_minus_L=yes
10152       fi
10153       ;;
10154
10155     hpux11*)
10156       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10157         case $host_cpu in
10158         hppa*64*)
10159           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10160           ;;
10161         ia64*)
10162           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10163           ;;
10164         *)
10165           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10166           ;;
10167         esac
10168       else
10169         case $host_cpu in
10170         hppa*64*)
10171           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10172           ;;
10173         ia64*)
10174           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10175           ;;
10176         *)
10177
10178           # Older versions of the 11.00 compiler do not understand -b yet
10179           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10180           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10181 $as_echo_n "checking if $CC understands -b... " >&6; }
10182 if ${lt_cv_prog_compiler__b+:} false; then :
10183   $as_echo_n "(cached) " >&6
10184 else
10185   lt_cv_prog_compiler__b=no
10186    save_LDFLAGS="$LDFLAGS"
10187    LDFLAGS="$LDFLAGS -b"
10188    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10189    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10190      # The linker can only warn and ignore the option if not recognized
10191      # So say no if there are warnings
10192      if test -s conftest.err; then
10193        # Append any errors to the config.log.
10194        cat conftest.err 1>&5
10195        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10196        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10197        if diff conftest.exp conftest.er2 >/dev/null; then
10198          lt_cv_prog_compiler__b=yes
10199        fi
10200      else
10201        lt_cv_prog_compiler__b=yes
10202      fi
10203    fi
10204    $RM -r conftest*
10205    LDFLAGS="$save_LDFLAGS"
10206
10207 fi
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10209 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10210
10211 if test x"$lt_cv_prog_compiler__b" = xyes; then
10212     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10213 else
10214     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10215 fi
10216
10217           ;;
10218         esac
10219       fi
10220       if test "$with_gnu_ld" = no; then
10221         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10222         hardcode_libdir_separator=:
10223
10224         case $host_cpu in
10225         hppa*64*|ia64*)
10226           hardcode_direct=no
10227           hardcode_shlibpath_var=no
10228           ;;
10229         *)
10230           hardcode_direct=yes
10231           hardcode_direct_absolute=yes
10232           export_dynamic_flag_spec='${wl}-E'
10233
10234           # hardcode_minus_L: Not really in the search PATH,
10235           # but as the default location of the library.
10236           hardcode_minus_L=yes
10237           ;;
10238         esac
10239       fi
10240       ;;
10241
10242     irix5* | irix6* | nonstopux*)
10243       if test "$GCC" = yes; then
10244         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'
10245         # Try to use the -exported_symbol ld option, if it does not
10246         # work, assume that -exports_file does not work either and
10247         # implicitly export all symbols.
10248         # This should be the same for all languages, so no per-tag cache variable.
10249         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10250 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10251 if ${lt_cv_irix_exported_symbol+:} false; then :
10252   $as_echo_n "(cached) " >&6
10253 else
10254   save_LDFLAGS="$LDFLAGS"
10255            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10256            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h.  */
10258 int foo (void) { return 0; }
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"; then :
10261   lt_cv_irix_exported_symbol=yes
10262 else
10263   lt_cv_irix_exported_symbol=no
10264 fi
10265 rm -f core conftest.err conftest.$ac_objext \
10266     conftest$ac_exeext conftest.$ac_ext
10267            LDFLAGS="$save_LDFLAGS"
10268 fi
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10270 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10271         if test "$lt_cv_irix_exported_symbol" = yes; then
10272           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'
10273         fi
10274       else
10275         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'
10276         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'
10277       fi
10278       archive_cmds_need_lc='no'
10279       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10280       hardcode_libdir_separator=:
10281       inherit_rpath=yes
10282       link_all_deplibs=yes
10283       ;;
10284
10285     netbsd* | netbsdelf*-gnu)
10286       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10287         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10288       else
10289         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10290       fi
10291       hardcode_libdir_flag_spec='-R$libdir'
10292       hardcode_direct=yes
10293       hardcode_shlibpath_var=no
10294       ;;
10295
10296     newsos6)
10297       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10298       hardcode_direct=yes
10299       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10300       hardcode_libdir_separator=:
10301       hardcode_shlibpath_var=no
10302       ;;
10303
10304     *nto* | *qnx*)
10305       ;;
10306
10307     openbsd*)
10308       if test -f /usr/libexec/ld.so; then
10309         hardcode_direct=yes
10310         hardcode_shlibpath_var=no
10311         hardcode_direct_absolute=yes
10312         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10313           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10314           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10315           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10316           export_dynamic_flag_spec='${wl}-E'
10317         else
10318           case $host_os in
10319            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10320              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10321              hardcode_libdir_flag_spec='-R$libdir'
10322              ;;
10323            *)
10324              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10325              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10326              ;;
10327           esac
10328         fi
10329       else
10330         ld_shlibs=no
10331       fi
10332       ;;
10333
10334     os2*)
10335       hardcode_libdir_flag_spec='-L$libdir'
10336       hardcode_minus_L=yes
10337       allow_undefined_flag=unsupported
10338       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'
10339       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10340       ;;
10341
10342     osf3*)
10343       if test "$GCC" = yes; then
10344         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10345         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'
10346       else
10347         allow_undefined_flag=' -expect_unresolved \*'
10348         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'
10349       fi
10350       archive_cmds_need_lc='no'
10351       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10352       hardcode_libdir_separator=:
10353       ;;
10354
10355     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10356       if test "$GCC" = yes; then
10357         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10358         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'
10359         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10360       else
10361         allow_undefined_flag=' -expect_unresolved \*'
10362         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'
10363         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~
10364         $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'
10365
10366         # Both c and cxx compiler support -rpath directly
10367         hardcode_libdir_flag_spec='-rpath $libdir'
10368       fi
10369       archive_cmds_need_lc='no'
10370       hardcode_libdir_separator=:
10371       ;;
10372
10373     solaris*)
10374       no_undefined_flag=' -z defs'
10375       if test "$GCC" = yes; then
10376         wlarc='${wl}'
10377         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10378         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10379           $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'
10380       else
10381         case `$CC -V 2>&1` in
10382         *"Compilers 5.0"*)
10383           wlarc=''
10384           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10385           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10386           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10387           ;;
10388         *)
10389           wlarc='${wl}'
10390           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10391           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10392           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10393           ;;
10394         esac
10395       fi
10396       hardcode_libdir_flag_spec='-R$libdir'
10397       hardcode_shlibpath_var=no
10398       case $host_os in
10399       solaris2.[0-5] | solaris2.[0-5].*) ;;
10400       *)
10401         # The compiler driver will combine and reorder linker options,
10402         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10403         # but is careful enough not to reorder.
10404         # Supported since Solaris 2.6 (maybe 2.5.1?)
10405         if test "$GCC" = yes; then
10406           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10407         else
10408           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10409         fi
10410         ;;
10411       esac
10412       link_all_deplibs=yes
10413       ;;
10414
10415     sunos4*)
10416       if test "x$host_vendor" = xsequent; then
10417         # Use $CC to link under sequent, because it throws in some extra .o
10418         # files that make .init and .fini sections work.
10419         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10420       else
10421         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10422       fi
10423       hardcode_libdir_flag_spec='-L$libdir'
10424       hardcode_direct=yes
10425       hardcode_minus_L=yes
10426       hardcode_shlibpath_var=no
10427       ;;
10428
10429     sysv4)
10430       case $host_vendor in
10431         sni)
10432           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10433           hardcode_direct=yes # is this really true???
10434         ;;
10435         siemens)
10436           ## LD is ld it makes a PLAMLIB
10437           ## CC just makes a GrossModule.
10438           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10439           reload_cmds='$CC -r -o $output$reload_objs'
10440           hardcode_direct=no
10441         ;;
10442         motorola)
10443           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10444           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10445         ;;
10446       esac
10447       runpath_var='LD_RUN_PATH'
10448       hardcode_shlibpath_var=no
10449       ;;
10450
10451     sysv4.3*)
10452       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10453       hardcode_shlibpath_var=no
10454       export_dynamic_flag_spec='-Bexport'
10455       ;;
10456
10457     sysv4*MP*)
10458       if test -d /usr/nec; then
10459         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10460         hardcode_shlibpath_var=no
10461         runpath_var=LD_RUN_PATH
10462         hardcode_runpath_var=yes
10463         ld_shlibs=yes
10464       fi
10465       ;;
10466
10467     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10468       no_undefined_flag='${wl}-z,text'
10469       archive_cmds_need_lc=no
10470       hardcode_shlibpath_var=no
10471       runpath_var='LD_RUN_PATH'
10472
10473       if test "$GCC" = yes; then
10474         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10475         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10476       else
10477         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10478         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10479       fi
10480       ;;
10481
10482     sysv5* | sco3.2v5* | sco5v6*)
10483       # Note: We can NOT use -z defs as we might desire, because we do not
10484       # link with -lc, and that would cause any symbols used from libc to
10485       # always be unresolved, which means just about no library would
10486       # ever link correctly.  If we're not using GNU ld we use -z text
10487       # though, which does catch some bad symbols but isn't as heavy-handed
10488       # as -z defs.
10489       no_undefined_flag='${wl}-z,text'
10490       allow_undefined_flag='${wl}-z,nodefs'
10491       archive_cmds_need_lc=no
10492       hardcode_shlibpath_var=no
10493       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10494       hardcode_libdir_separator=':'
10495       link_all_deplibs=yes
10496       export_dynamic_flag_spec='${wl}-Bexport'
10497       runpath_var='LD_RUN_PATH'
10498
10499       if test "$GCC" = yes; then
10500         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10501         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10502       else
10503         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10504         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10505       fi
10506       ;;
10507
10508     uts4*)
10509       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10510       hardcode_libdir_flag_spec='-L$libdir'
10511       hardcode_shlibpath_var=no
10512       ;;
10513
10514     *)
10515       ld_shlibs=no
10516       ;;
10517     esac
10518
10519     if test x$host_vendor = xsni; then
10520       case $host in
10521       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10522         export_dynamic_flag_spec='${wl}-Blargedynsym'
10523         ;;
10524       esac
10525     fi
10526   fi
10527
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10529 $as_echo "$ld_shlibs" >&6; }
10530 test "$ld_shlibs" = no && can_build_shared=no
10531
10532 with_gnu_ld=$with_gnu_ld
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548 #
10549 # Do we need to explicitly link libc?
10550 #
10551 case "x$archive_cmds_need_lc" in
10552 x|xyes)
10553   # Assume -lc should be added
10554   archive_cmds_need_lc=yes
10555
10556   if test "$enable_shared" = yes && test "$GCC" = yes; then
10557     case $archive_cmds in
10558     *'~'*)
10559       # FIXME: we may have to deal with multi-command sequences.
10560       ;;
10561     '$CC '*)
10562       # Test whether the compiler implicitly links with -lc since on some
10563       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10564       # to ld, don't add -lc before -lgcc.
10565       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10566 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10567 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10568   $as_echo_n "(cached) " >&6
10569 else
10570   $RM conftest*
10571         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10572
10573         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10574   (eval $ac_compile) 2>&5
10575   ac_status=$?
10576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10577   test $ac_status = 0; } 2>conftest.err; then
10578           soname=conftest
10579           lib=conftest
10580           libobjs=conftest.$ac_objext
10581           deplibs=
10582           wl=$lt_prog_compiler_wl
10583           pic_flag=$lt_prog_compiler_pic
10584           compiler_flags=-v
10585           linker_flags=-v
10586           verstring=
10587           output_objdir=.
10588           libname=conftest
10589           lt_save_allow_undefined_flag=$allow_undefined_flag
10590           allow_undefined_flag=
10591           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10592   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10593   ac_status=$?
10594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10595   test $ac_status = 0; }
10596           then
10597             lt_cv_archive_cmds_need_lc=no
10598           else
10599             lt_cv_archive_cmds_need_lc=yes
10600           fi
10601           allow_undefined_flag=$lt_save_allow_undefined_flag
10602         else
10603           cat conftest.err 1>&5
10604         fi
10605         $RM conftest*
10606
10607 fi
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10609 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10610       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10611       ;;
10612     esac
10613   fi
10614   ;;
10615 esac
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
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10769 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10770
10771 if test "$GCC" = yes; then
10772   case $host_os in
10773     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10774     *) lt_awk_arg="/^libraries:/" ;;
10775   esac
10776   case $host_os in
10777     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10778     *) lt_sed_strip_eq="s,=/,/,g" ;;
10779   esac
10780   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10781   case $lt_search_path_spec in
10782   *\;*)
10783     # if the path contains ";" then we assume it to be the separator
10784     # otherwise default to the standard path separator (i.e. ":") - it is
10785     # assumed that no part of a normal pathname contains ";" but that should
10786     # okay in the real world where ";" in dirpaths is itself problematic.
10787     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10788     ;;
10789   *)
10790     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10791     ;;
10792   esac
10793   # Ok, now we have the path, separated by spaces, we can step through it
10794   # and add multilib dir if necessary.
10795   lt_tmp_lt_search_path_spec=
10796   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10797   for lt_sys_path in $lt_search_path_spec; do
10798     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10799       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10800     else
10801       test -d "$lt_sys_path" && \
10802         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10803     fi
10804   done
10805   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10806 BEGIN {RS=" "; FS="/|\n";} {
10807   lt_foo="";
10808   lt_count=0;
10809   for (lt_i = NF; lt_i > 0; lt_i--) {
10810     if ($lt_i != "" && $lt_i != ".") {
10811       if ($lt_i == "..") {
10812         lt_count++;
10813       } else {
10814         if (lt_count == 0) {
10815           lt_foo="/" $lt_i lt_foo;
10816         } else {
10817           lt_count--;
10818         }
10819       }
10820     }
10821   }
10822   if (lt_foo != "") { lt_freq[lt_foo]++; }
10823   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10824 }'`
10825   # AWK program above erroneously prepends '/' to C:/dos/paths
10826   # for these hosts.
10827   case $host_os in
10828     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10829       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10830   esac
10831   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10832 else
10833   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10834 fi
10835 library_names_spec=
10836 libname_spec='lib$name'
10837 soname_spec=
10838 shrext_cmds=".so"
10839 postinstall_cmds=
10840 postuninstall_cmds=
10841 finish_cmds=
10842 finish_eval=
10843 shlibpath_var=
10844 shlibpath_overrides_runpath=unknown
10845 version_type=none
10846 dynamic_linker="$host_os ld.so"
10847 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10848 need_lib_prefix=unknown
10849 hardcode_into_libs=no
10850
10851 # when you set need_version to no, make sure it does not cause -set_version
10852 # flags to be left without arguments
10853 need_version=unknown
10854
10855 case $host_os in
10856 aix3*)
10857   version_type=linux # correct to gnu/linux during the next big refactor
10858   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10859   shlibpath_var=LIBPATH
10860
10861   # AIX 3 has no versioning support, so we append a major version to the name.
10862   soname_spec='${libname}${release}${shared_ext}$major'
10863   ;;
10864
10865 aix[4-9]*)
10866   version_type=linux # correct to gnu/linux during the next big refactor
10867   need_lib_prefix=no
10868   need_version=no
10869   hardcode_into_libs=yes
10870   if test "$host_cpu" = ia64; then
10871     # AIX 5 supports IA64
10872     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10873     shlibpath_var=LD_LIBRARY_PATH
10874   else
10875     # With GCC up to 2.95.x, collect2 would create an import file
10876     # for dependence libraries.  The import file would start with
10877     # the line `#! .'.  This would cause the generated library to
10878     # depend on `.', always an invalid library.  This was fixed in
10879     # development snapshots of GCC prior to 3.0.
10880     case $host_os in
10881       aix4 | aix4.[01] | aix4.[01].*)
10882       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10883            echo ' yes '
10884            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10885         :
10886       else
10887         can_build_shared=no
10888       fi
10889       ;;
10890     esac
10891     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10892     # soname into executable. Probably we can add versioning support to
10893     # collect2, so additional links can be useful in future.
10894     if test "$aix_use_runtimelinking" = yes; then
10895       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10896       # instead of lib<name>.a to let people know that these are not
10897       # typical AIX shared libraries.
10898       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10899     else
10900       # We preserve .a as extension for shared libraries through AIX4.2
10901       # and later when we are not doing run time linking.
10902       library_names_spec='${libname}${release}.a $libname.a'
10903       soname_spec='${libname}${release}${shared_ext}$major'
10904     fi
10905     shlibpath_var=LIBPATH
10906   fi
10907   ;;
10908
10909 amigaos*)
10910   case $host_cpu in
10911   powerpc)
10912     # Since July 2007 AmigaOS4 officially supports .so libraries.
10913     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10914     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915     ;;
10916   m68k)
10917     library_names_spec='$libname.ixlibrary $libname.a'
10918     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10919     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'
10920     ;;
10921   esac
10922   ;;
10923
10924 beos*)
10925   library_names_spec='${libname}${shared_ext}'
10926   dynamic_linker="$host_os ld.so"
10927   shlibpath_var=LIBRARY_PATH
10928   ;;
10929
10930 bsdi[45]*)
10931   version_type=linux # correct to gnu/linux during the next big refactor
10932   need_version=no
10933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10934   soname_spec='${libname}${release}${shared_ext}$major'
10935   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10936   shlibpath_var=LD_LIBRARY_PATH
10937   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10938   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10939   # the default ld.so.conf also contains /usr/contrib/lib and
10940   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10941   # libtool to hard-code these into programs
10942   ;;
10943
10944 cygwin* | mingw* | pw32* | cegcc*)
10945   version_type=windows
10946   shrext_cmds=".dll"
10947   need_version=no
10948   need_lib_prefix=no
10949
10950   case $GCC,$cc_basename in
10951   yes,*)
10952     # gcc
10953     library_names_spec='$libname.dll.a'
10954     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10955     postinstall_cmds='base_file=`basename \${file}`~
10956       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10957       dldir=$destdir/`dirname \$dlpath`~
10958       test -d \$dldir || mkdir -p \$dldir~
10959       $install_prog $dir/$dlname \$dldir/$dlname~
10960       chmod a+x \$dldir/$dlname~
10961       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10962         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10963       fi'
10964     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10965       dlpath=$dir/\$dldll~
10966        $RM \$dlpath'
10967     shlibpath_overrides_runpath=yes
10968
10969     case $host_os in
10970     cygwin*)
10971       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10972       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10973
10974       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10975       ;;
10976     mingw* | cegcc*)
10977       # MinGW DLLs use traditional 'lib' prefix
10978       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10979       ;;
10980     pw32*)
10981       # pw32 DLLs use 'pw' prefix rather than 'lib'
10982       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10983       ;;
10984     esac
10985     dynamic_linker='Win32 ld.exe'
10986     ;;
10987
10988   *,cl*)
10989     # Native MSVC
10990     libname_spec='$name'
10991     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10992     library_names_spec='${libname}.dll.lib'
10993
10994     case $build_os in
10995     mingw*)
10996       sys_lib_search_path_spec=
10997       lt_save_ifs=$IFS
10998       IFS=';'
10999       for lt_path in $LIB
11000       do
11001         IFS=$lt_save_ifs
11002         # Let DOS variable expansion print the short 8.3 style file name.
11003         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11004         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11005       done
11006       IFS=$lt_save_ifs
11007       # Convert to MSYS style.
11008       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11009       ;;
11010     cygwin*)
11011       # Convert to unix form, then to dos form, then back to unix form
11012       # but this time dos style (no spaces!) so that the unix form looks
11013       # like /cygdrive/c/PROGRA~1:/cygdr...
11014       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11015       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11016       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11017       ;;
11018     *)
11019       sys_lib_search_path_spec="$LIB"
11020       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11021         # It is most probably a Windows format PATH.
11022         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11023       else
11024         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11025       fi
11026       # FIXME: find the short name or the path components, as spaces are
11027       # common. (e.g. "Program Files" -> "PROGRA~1")
11028       ;;
11029     esac
11030
11031     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11032     postinstall_cmds='base_file=`basename \${file}`~
11033       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11034       dldir=$destdir/`dirname \$dlpath`~
11035       test -d \$dldir || mkdir -p \$dldir~
11036       $install_prog $dir/$dlname \$dldir/$dlname'
11037     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11038       dlpath=$dir/\$dldll~
11039        $RM \$dlpath'
11040     shlibpath_overrides_runpath=yes
11041     dynamic_linker='Win32 link.exe'
11042     ;;
11043
11044   *)
11045     # Assume MSVC wrapper
11046     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11047     dynamic_linker='Win32 ld.exe'
11048     ;;
11049   esac
11050   # FIXME: first we should search . and the directory the executable is in
11051   shlibpath_var=PATH
11052   ;;
11053
11054 darwin* | rhapsody*)
11055   dynamic_linker="$host_os dyld"
11056   version_type=darwin
11057   need_lib_prefix=no
11058   need_version=no
11059   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11060   soname_spec='${libname}${release}${major}$shared_ext'
11061   shlibpath_overrides_runpath=yes
11062   shlibpath_var=DYLD_LIBRARY_PATH
11063   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11064
11065   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11066   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11067   ;;
11068
11069 dgux*)
11070   version_type=linux # correct to gnu/linux during the next big refactor
11071   need_lib_prefix=no
11072   need_version=no
11073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11074   soname_spec='${libname}${release}${shared_ext}$major'
11075   shlibpath_var=LD_LIBRARY_PATH
11076   ;;
11077
11078 freebsd* | dragonfly*)
11079   # DragonFly does not have aout.  When/if they implement a new
11080   # versioning mechanism, adjust this.
11081   if test -x /usr/bin/objformat; then
11082     objformat=`/usr/bin/objformat`
11083   else
11084     case $host_os in
11085     freebsd[23].*) objformat=aout ;;
11086     *) objformat=elf ;;
11087     esac
11088   fi
11089   version_type=freebsd-$objformat
11090   case $version_type in
11091     freebsd-elf*)
11092       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11093       need_version=no
11094       need_lib_prefix=no
11095       ;;
11096     freebsd-*)
11097       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11098       need_version=yes
11099       ;;
11100   esac
11101   shlibpath_var=LD_LIBRARY_PATH
11102   case $host_os in
11103   freebsd2.*)
11104     shlibpath_overrides_runpath=yes
11105     ;;
11106   freebsd3.[01]* | freebsdelf3.[01]*)
11107     shlibpath_overrides_runpath=yes
11108     hardcode_into_libs=yes
11109     ;;
11110   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11111   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11112     shlibpath_overrides_runpath=no
11113     hardcode_into_libs=yes
11114     ;;
11115   *) # from 4.6 on, and DragonFly
11116     shlibpath_overrides_runpath=yes
11117     hardcode_into_libs=yes
11118     ;;
11119   esac
11120   ;;
11121
11122 gnu*)
11123   version_type=linux # correct to gnu/linux during the next big refactor
11124   need_lib_prefix=no
11125   need_version=no
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=LD_LIBRARY_PATH
11129   shlibpath_overrides_runpath=no
11130   hardcode_into_libs=yes
11131   ;;
11132
11133 haiku*)
11134   version_type=linux # correct to gnu/linux during the next big refactor
11135   need_lib_prefix=no
11136   need_version=no
11137   dynamic_linker="$host_os runtime_loader"
11138   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11139   soname_spec='${libname}${release}${shared_ext}$major'
11140   shlibpath_var=LIBRARY_PATH
11141   shlibpath_overrides_runpath=yes
11142   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11143   hardcode_into_libs=yes
11144   ;;
11145
11146 hpux9* | hpux10* | hpux11*)
11147   # Give a soname corresponding to the major version so that dld.sl refuses to
11148   # link against other versions.
11149   version_type=sunos
11150   need_lib_prefix=no
11151   need_version=no
11152   case $host_cpu in
11153   ia64*)
11154     shrext_cmds='.so'
11155     hardcode_into_libs=yes
11156     dynamic_linker="$host_os dld.so"
11157     shlibpath_var=LD_LIBRARY_PATH
11158     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11159     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11160     soname_spec='${libname}${release}${shared_ext}$major'
11161     if test "X$HPUX_IA64_MODE" = X32; then
11162       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11163     else
11164       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11165     fi
11166     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11167     ;;
11168   hppa*64*)
11169     shrext_cmds='.sl'
11170     hardcode_into_libs=yes
11171     dynamic_linker="$host_os dld.sl"
11172     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11173     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11174     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11175     soname_spec='${libname}${release}${shared_ext}$major'
11176     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11177     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11178     ;;
11179   *)
11180     shrext_cmds='.sl'
11181     dynamic_linker="$host_os dld.sl"
11182     shlibpath_var=SHLIB_PATH
11183     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11184     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11185     soname_spec='${libname}${release}${shared_ext}$major'
11186     ;;
11187   esac
11188   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11189   postinstall_cmds='chmod 555 $lib'
11190   # or fails outright, so override atomically:
11191   install_override_mode=555
11192   ;;
11193
11194 interix[3-9]*)
11195   version_type=linux # correct to gnu/linux during the next big refactor
11196   need_lib_prefix=no
11197   need_version=no
11198   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11199   soname_spec='${libname}${release}${shared_ext}$major'
11200   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11201   shlibpath_var=LD_LIBRARY_PATH
11202   shlibpath_overrides_runpath=no
11203   hardcode_into_libs=yes
11204   ;;
11205
11206 irix5* | irix6* | nonstopux*)
11207   case $host_os in
11208     nonstopux*) version_type=nonstopux ;;
11209     *)
11210         if test "$lt_cv_prog_gnu_ld" = yes; then
11211                 version_type=linux # correct to gnu/linux during the next big refactor
11212         else
11213                 version_type=irix
11214         fi ;;
11215   esac
11216   need_lib_prefix=no
11217   need_version=no
11218   soname_spec='${libname}${release}${shared_ext}$major'
11219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11220   case $host_os in
11221   irix5* | nonstopux*)
11222     libsuff= shlibsuff=
11223     ;;
11224   *)
11225     case $LD in # libtool.m4 will add one of these switches to LD
11226     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11227       libsuff= shlibsuff= libmagic=32-bit;;
11228     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11229       libsuff=32 shlibsuff=N32 libmagic=N32;;
11230     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11231       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11232     *) libsuff= shlibsuff= libmagic=never-match;;
11233     esac
11234     ;;
11235   esac
11236   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11237   shlibpath_overrides_runpath=no
11238   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11239   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11240   hardcode_into_libs=yes
11241   ;;
11242
11243 # No shared lib support for Linux oldld, aout, or coff.
11244 linux*oldld* | linux*aout* | linux*coff*)
11245   dynamic_linker=no
11246   ;;
11247
11248 # This must be glibc/ELF.
11249 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11250   version_type=linux # correct to gnu/linux during the next big refactor
11251   need_lib_prefix=no
11252   need_version=no
11253   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11254   soname_spec='${libname}${release}${shared_ext}$major'
11255   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11256   shlibpath_var=LD_LIBRARY_PATH
11257   shlibpath_overrides_runpath=no
11258
11259   # Some binutils ld are patched to set DT_RUNPATH
11260   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11261   $as_echo_n "(cached) " >&6
11262 else
11263   lt_cv_shlibpath_overrides_runpath=no
11264     save_LDFLAGS=$LDFLAGS
11265     save_libdir=$libdir
11266     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11267          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11268     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h.  */
11270
11271 int
11272 main ()
11273 {
11274
11275   ;
11276   return 0;
11277 }
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11281   lt_cv_shlibpath_overrides_runpath=yes
11282 fi
11283 fi
11284 rm -f core conftest.err conftest.$ac_objext \
11285     conftest$ac_exeext conftest.$ac_ext
11286     LDFLAGS=$save_LDFLAGS
11287     libdir=$save_libdir
11288
11289 fi
11290
11291   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11292
11293   # This implies no fast_install, which is unacceptable.
11294   # Some rework will be needed to allow for fast_install
11295   # before this can be enabled.
11296   hardcode_into_libs=yes
11297
11298   # Append ld.so.conf contents to the search path
11299   if test -f /etc/ld.so.conf; then
11300     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' ' '`
11301     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11302   fi
11303
11304   # We used to test for /lib/ld.so.1 and disable shared libraries on
11305   # powerpc, because MkLinux only supported shared libraries with the
11306   # GNU dynamic linker.  Since this was broken with cross compilers,
11307   # most powerpc-linux boxes support dynamic linking these days and
11308   # people can always --disable-shared, the test was removed, and we
11309   # assume the GNU/Linux dynamic linker is in use.
11310   dynamic_linker='GNU/Linux ld.so'
11311   ;;
11312
11313 netbsdelf*-gnu)
11314   version_type=linux
11315   need_lib_prefix=no
11316   need_version=no
11317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11318   soname_spec='${libname}${release}${shared_ext}$major'
11319   shlibpath_var=LD_LIBRARY_PATH
11320   shlibpath_overrides_runpath=no
11321   hardcode_into_libs=yes
11322   dynamic_linker='NetBSD ld.elf_so'
11323   ;;
11324
11325 netbsd*)
11326   version_type=sunos
11327   need_lib_prefix=no
11328   need_version=no
11329   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11330     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11331     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11332     dynamic_linker='NetBSD (a.out) ld.so'
11333   else
11334     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11335     soname_spec='${libname}${release}${shared_ext}$major'
11336     dynamic_linker='NetBSD ld.elf_so'
11337   fi
11338   shlibpath_var=LD_LIBRARY_PATH
11339   shlibpath_overrides_runpath=yes
11340   hardcode_into_libs=yes
11341   ;;
11342
11343 newsos6)
11344   version_type=linux # correct to gnu/linux during the next big refactor
11345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346   shlibpath_var=LD_LIBRARY_PATH
11347   shlibpath_overrides_runpath=yes
11348   ;;
11349
11350 *nto* | *qnx*)
11351   version_type=qnx
11352   need_lib_prefix=no
11353   need_version=no
11354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11355   soname_spec='${libname}${release}${shared_ext}$major'
11356   shlibpath_var=LD_LIBRARY_PATH
11357   shlibpath_overrides_runpath=no
11358   hardcode_into_libs=yes
11359   dynamic_linker='ldqnx.so'
11360   ;;
11361
11362 openbsd*)
11363   version_type=sunos
11364   sys_lib_dlsearch_path_spec="/usr/lib"
11365   need_lib_prefix=no
11366   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11367   case $host_os in
11368     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11369     *)                          need_version=no  ;;
11370   esac
11371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11372   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11373   shlibpath_var=LD_LIBRARY_PATH
11374   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11375     case $host_os in
11376       openbsd2.[89] | openbsd2.[89].*)
11377         shlibpath_overrides_runpath=no
11378         ;;
11379       *)
11380         shlibpath_overrides_runpath=yes
11381         ;;
11382       esac
11383   else
11384     shlibpath_overrides_runpath=yes
11385   fi
11386   ;;
11387
11388 os2*)
11389   libname_spec='$name'
11390   shrext_cmds=".dll"
11391   need_lib_prefix=no
11392   library_names_spec='$libname${shared_ext} $libname.a'
11393   dynamic_linker='OS/2 ld.exe'
11394   shlibpath_var=LIBPATH
11395   ;;
11396
11397 osf3* | osf4* | osf5*)
11398   version_type=osf
11399   need_lib_prefix=no
11400   need_version=no
11401   soname_spec='${libname}${release}${shared_ext}$major'
11402   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403   shlibpath_var=LD_LIBRARY_PATH
11404   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11405   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11406   ;;
11407
11408 rdos*)
11409   dynamic_linker=no
11410   ;;
11411
11412 solaris*)
11413   version_type=linux # correct to gnu/linux during the next big refactor
11414   need_lib_prefix=no
11415   need_version=no
11416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11417   soname_spec='${libname}${release}${shared_ext}$major'
11418   shlibpath_var=LD_LIBRARY_PATH
11419   shlibpath_overrides_runpath=yes
11420   hardcode_into_libs=yes
11421   # ldd complains unless libraries are executable
11422   postinstall_cmds='chmod +x $lib'
11423   ;;
11424
11425 sunos4*)
11426   version_type=sunos
11427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11428   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11429   shlibpath_var=LD_LIBRARY_PATH
11430   shlibpath_overrides_runpath=yes
11431   if test "$with_gnu_ld" = yes; then
11432     need_lib_prefix=no
11433   fi
11434   need_version=yes
11435   ;;
11436
11437 sysv4 | sysv4.3*)
11438   version_type=linux # correct to gnu/linux during the next big refactor
11439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440   soname_spec='${libname}${release}${shared_ext}$major'
11441   shlibpath_var=LD_LIBRARY_PATH
11442   case $host_vendor in
11443     sni)
11444       shlibpath_overrides_runpath=no
11445       need_lib_prefix=no
11446       runpath_var=LD_RUN_PATH
11447       ;;
11448     siemens)
11449       need_lib_prefix=no
11450       ;;
11451     motorola)
11452       need_lib_prefix=no
11453       need_version=no
11454       shlibpath_overrides_runpath=no
11455       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11456       ;;
11457   esac
11458   ;;
11459
11460 sysv4*MP*)
11461   if test -d /usr/nec ;then
11462     version_type=linux # correct to gnu/linux during the next big refactor
11463     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11464     soname_spec='$libname${shared_ext}.$major'
11465     shlibpath_var=LD_LIBRARY_PATH
11466   fi
11467   ;;
11468
11469 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11470   version_type=freebsd-elf
11471   need_lib_prefix=no
11472   need_version=no
11473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11474   soname_spec='${libname}${release}${shared_ext}$major'
11475   shlibpath_var=LD_LIBRARY_PATH
11476   shlibpath_overrides_runpath=yes
11477   hardcode_into_libs=yes
11478   if test "$with_gnu_ld" = yes; then
11479     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11480   else
11481     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11482     case $host_os in
11483       sco3.2v5*)
11484         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11485         ;;
11486     esac
11487   fi
11488   sys_lib_dlsearch_path_spec='/usr/lib'
11489   ;;
11490
11491 tpf*)
11492   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11493   version_type=linux # correct to gnu/linux during the next big refactor
11494   need_lib_prefix=no
11495   need_version=no
11496   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497   shlibpath_var=LD_LIBRARY_PATH
11498   shlibpath_overrides_runpath=no
11499   hardcode_into_libs=yes
11500   ;;
11501
11502 uts4*)
11503   version_type=linux # correct to gnu/linux during the next big refactor
11504   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505   soname_spec='${libname}${release}${shared_ext}$major'
11506   shlibpath_var=LD_LIBRARY_PATH
11507   ;;
11508
11509 *)
11510   dynamic_linker=no
11511   ;;
11512 esac
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11514 $as_echo "$dynamic_linker" >&6; }
11515 test "$dynamic_linker" = no && can_build_shared=no
11516
11517 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11518 if test "$GCC" = yes; then
11519   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11520 fi
11521
11522 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11523   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11524 fi
11525 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11526   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11527 fi
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
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11621 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11622 hardcode_action=
11623 if test -n "$hardcode_libdir_flag_spec" ||
11624    test -n "$runpath_var" ||
11625    test "X$hardcode_automatic" = "Xyes" ; then
11626
11627   # We can hardcode non-existent directories.
11628   if test "$hardcode_direct" != no &&
11629      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11630      # have to relink, otherwise we might link with an installed library
11631      # when we should be linking with a yet-to-be-installed one
11632      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11633      test "$hardcode_minus_L" != no; then
11634     # Linking always hardcodes the temporary library directory.
11635     hardcode_action=relink
11636   else
11637     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11638     hardcode_action=immediate
11639   fi
11640 else
11641   # We cannot hardcode anything, or else we can only hardcode existing
11642   # directories.
11643   hardcode_action=unsupported
11644 fi
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11646 $as_echo "$hardcode_action" >&6; }
11647
11648 if test "$hardcode_action" = relink ||
11649    test "$inherit_rpath" = yes; then
11650   # Fast installation is not supported
11651   enable_fast_install=no
11652 elif test "$shlibpath_overrides_runpath" = yes ||
11653      test "$enable_shared" = no; then
11654   # Fast installation is not necessary
11655   enable_fast_install=needless
11656 fi
11657
11658
11659
11660
11661
11662
11663   if test "x$enable_dlopen" != xyes; then
11664   enable_dlopen=unknown
11665   enable_dlopen_self=unknown
11666   enable_dlopen_self_static=unknown
11667 else
11668   lt_cv_dlopen=no
11669   lt_cv_dlopen_libs=
11670
11671   case $host_os in
11672   beos*)
11673     lt_cv_dlopen="load_add_on"
11674     lt_cv_dlopen_libs=
11675     lt_cv_dlopen_self=yes
11676     ;;
11677
11678   mingw* | pw32* | cegcc*)
11679     lt_cv_dlopen="LoadLibrary"
11680     lt_cv_dlopen_libs=
11681     ;;
11682
11683   cygwin*)
11684     lt_cv_dlopen="dlopen"
11685     lt_cv_dlopen_libs=
11686     ;;
11687
11688   darwin*)
11689   # if libdl is installed we need to link against it
11690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11691 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11692 if ${ac_cv_lib_dl_dlopen+:} false; then :
11693   $as_echo_n "(cached) " >&6
11694 else
11695   ac_check_lib_save_LIBS=$LIBS
11696 LIBS="-ldl  $LIBS"
11697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h.  */
11699
11700 /* Override any GCC internal prototype to avoid an error.
11701    Use char because int might match the return type of a GCC
11702    builtin and then its argument prototype would still apply.  */
11703 #ifdef __cplusplus
11704 extern "C"
11705 #endif
11706 char dlopen ();
11707 int
11708 main ()
11709 {
11710 return dlopen ();
11711   ;
11712   return 0;
11713 }
11714 _ACEOF
11715 if ac_fn_c_try_link "$LINENO"; then :
11716   ac_cv_lib_dl_dlopen=yes
11717 else
11718   ac_cv_lib_dl_dlopen=no
11719 fi
11720 rm -f core conftest.err conftest.$ac_objext \
11721     conftest$ac_exeext conftest.$ac_ext
11722 LIBS=$ac_check_lib_save_LIBS
11723 fi
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11725 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11726 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11727   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11728 else
11729
11730     lt_cv_dlopen="dyld"
11731     lt_cv_dlopen_libs=
11732     lt_cv_dlopen_self=yes
11733
11734 fi
11735
11736     ;;
11737
11738   *)
11739     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11740 if test "x$ac_cv_func_shl_load" = xyes; then :
11741   lt_cv_dlopen="shl_load"
11742 else
11743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11744 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11745 if ${ac_cv_lib_dld_shl_load+:} false; then :
11746   $as_echo_n "(cached) " >&6
11747 else
11748   ac_check_lib_save_LIBS=$LIBS
11749 LIBS="-ldld  $LIBS"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h.  */
11752
11753 /* Override any GCC internal prototype to avoid an error.
11754    Use char because int might match the return type of a GCC
11755    builtin and then its argument prototype would still apply.  */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char shl_load ();
11760 int
11761 main ()
11762 {
11763 return shl_load ();
11764   ;
11765   return 0;
11766 }
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769   ac_cv_lib_dld_shl_load=yes
11770 else
11771   ac_cv_lib_dld_shl_load=no
11772 fi
11773 rm -f core conftest.err conftest.$ac_objext \
11774     conftest$ac_exeext conftest.$ac_ext
11775 LIBS=$ac_check_lib_save_LIBS
11776 fi
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11778 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11779 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11780   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11781 else
11782   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11783 if test "x$ac_cv_func_dlopen" = xyes; then :
11784   lt_cv_dlopen="dlopen"
11785 else
11786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11787 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11788 if ${ac_cv_lib_dl_dlopen+:} false; then :
11789   $as_echo_n "(cached) " >&6
11790 else
11791   ac_check_lib_save_LIBS=$LIBS
11792 LIBS="-ldl  $LIBS"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h.  */
11795
11796 /* Override any GCC internal prototype to avoid an error.
11797    Use char because int might match the return type of a GCC
11798    builtin and then its argument prototype would still apply.  */
11799 #ifdef __cplusplus
11800 extern "C"
11801 #endif
11802 char dlopen ();
11803 int
11804 main ()
11805 {
11806 return dlopen ();
11807   ;
11808   return 0;
11809 }
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"; then :
11812   ac_cv_lib_dl_dlopen=yes
11813 else
11814   ac_cv_lib_dl_dlopen=no
11815 fi
11816 rm -f core conftest.err conftest.$ac_objext \
11817     conftest$ac_exeext conftest.$ac_ext
11818 LIBS=$ac_check_lib_save_LIBS
11819 fi
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11821 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11822 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11823   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11824 else
11825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11826 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11827 if ${ac_cv_lib_svld_dlopen+:} false; then :
11828   $as_echo_n "(cached) " >&6
11829 else
11830   ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lsvld  $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h.  */
11834
11835 /* Override any GCC internal prototype to avoid an error.
11836    Use char because int might match the return type of a GCC
11837    builtin and then its argument prototype would still apply.  */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char dlopen ();
11842 int
11843 main ()
11844 {
11845 return dlopen ();
11846   ;
11847   return 0;
11848 }
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851   ac_cv_lib_svld_dlopen=yes
11852 else
11853   ac_cv_lib_svld_dlopen=no
11854 fi
11855 rm -f core conftest.err conftest.$ac_objext \
11856     conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11858 fi
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11860 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11861 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11862   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11863 else
11864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11865 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11866 if ${ac_cv_lib_dld_dld_link+:} false; then :
11867   $as_echo_n "(cached) " >&6
11868 else
11869   ac_check_lib_save_LIBS=$LIBS
11870 LIBS="-ldld  $LIBS"
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h.  */
11873
11874 /* Override any GCC internal prototype to avoid an error.
11875    Use char because int might match the return type of a GCC
11876    builtin and then its argument prototype would still apply.  */
11877 #ifdef __cplusplus
11878 extern "C"
11879 #endif
11880 char dld_link ();
11881 int
11882 main ()
11883 {
11884 return dld_link ();
11885   ;
11886   return 0;
11887 }
11888 _ACEOF
11889 if ac_fn_c_try_link "$LINENO"; then :
11890   ac_cv_lib_dld_dld_link=yes
11891 else
11892   ac_cv_lib_dld_dld_link=no
11893 fi
11894 rm -f core conftest.err conftest.$ac_objext \
11895     conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_lib_save_LIBS
11897 fi
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11899 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11900 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11901   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11902 fi
11903
11904
11905 fi
11906
11907
11908 fi
11909
11910
11911 fi
11912
11913
11914 fi
11915
11916
11917 fi
11918
11919     ;;
11920   esac
11921
11922   if test "x$lt_cv_dlopen" != xno; then
11923     enable_dlopen=yes
11924   else
11925     enable_dlopen=no
11926   fi
11927
11928   case $lt_cv_dlopen in
11929   dlopen)
11930     save_CPPFLAGS="$CPPFLAGS"
11931     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11932
11933     save_LDFLAGS="$LDFLAGS"
11934     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11935
11936     save_LIBS="$LIBS"
11937     LIBS="$lt_cv_dlopen_libs $LIBS"
11938
11939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11940 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11941 if ${lt_cv_dlopen_self+:} false; then :
11942   $as_echo_n "(cached) " >&6
11943 else
11944           if test "$cross_compiling" = yes; then :
11945   lt_cv_dlopen_self=cross
11946 else
11947   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11948   lt_status=$lt_dlunknown
11949   cat > conftest.$ac_ext <<_LT_EOF
11950 #line $LINENO "configure"
11951 #include "confdefs.h"
11952
11953 #if HAVE_DLFCN_H
11954 #include <dlfcn.h>
11955 #endif
11956
11957 #include <stdio.h>
11958
11959 #ifdef RTLD_GLOBAL
11960 #  define LT_DLGLOBAL           RTLD_GLOBAL
11961 #else
11962 #  ifdef DL_GLOBAL
11963 #    define LT_DLGLOBAL         DL_GLOBAL
11964 #  else
11965 #    define LT_DLGLOBAL         0
11966 #  endif
11967 #endif
11968
11969 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11970    find out it does not work in some platform. */
11971 #ifndef LT_DLLAZY_OR_NOW
11972 #  ifdef RTLD_LAZY
11973 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11974 #  else
11975 #    ifdef DL_LAZY
11976 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11977 #    else
11978 #      ifdef RTLD_NOW
11979 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11980 #      else
11981 #        ifdef DL_NOW
11982 #          define LT_DLLAZY_OR_NOW      DL_NOW
11983 #        else
11984 #          define LT_DLLAZY_OR_NOW      0
11985 #        endif
11986 #      endif
11987 #    endif
11988 #  endif
11989 #endif
11990
11991 /* When -fvisbility=hidden is used, assume the code has been annotated
11992    correspondingly for the symbols needed.  */
11993 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11994 int fnord () __attribute__((visibility("default")));
11995 #endif
11996
11997 int fnord () { return 42; }
11998 int main ()
11999 {
12000   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12001   int status = $lt_dlunknown;
12002
12003   if (self)
12004     {
12005       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12006       else
12007         {
12008           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12009           else puts (dlerror ());
12010         }
12011       /* dlclose (self); */
12012     }
12013   else
12014     puts (dlerror ());
12015
12016   return status;
12017 }
12018 _LT_EOF
12019   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12020   (eval $ac_link) 2>&5
12021   ac_status=$?
12022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12023   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12024     (./conftest; exit; ) >&5 2>/dev/null
12025     lt_status=$?
12026     case x$lt_status in
12027       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12028       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12029       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12030     esac
12031   else :
12032     # compilation failed
12033     lt_cv_dlopen_self=no
12034   fi
12035 fi
12036 rm -fr conftest*
12037
12038
12039 fi
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12041 $as_echo "$lt_cv_dlopen_self" >&6; }
12042
12043     if test "x$lt_cv_dlopen_self" = xyes; then
12044       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12045       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12046 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12047 if ${lt_cv_dlopen_self_static+:} false; then :
12048   $as_echo_n "(cached) " >&6
12049 else
12050           if test "$cross_compiling" = yes; then :
12051   lt_cv_dlopen_self_static=cross
12052 else
12053   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12054   lt_status=$lt_dlunknown
12055   cat > conftest.$ac_ext <<_LT_EOF
12056 #line $LINENO "configure"
12057 #include "confdefs.h"
12058
12059 #if HAVE_DLFCN_H
12060 #include <dlfcn.h>
12061 #endif
12062
12063 #include <stdio.h>
12064
12065 #ifdef RTLD_GLOBAL
12066 #  define LT_DLGLOBAL           RTLD_GLOBAL
12067 #else
12068 #  ifdef DL_GLOBAL
12069 #    define LT_DLGLOBAL         DL_GLOBAL
12070 #  else
12071 #    define LT_DLGLOBAL         0
12072 #  endif
12073 #endif
12074
12075 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12076    find out it does not work in some platform. */
12077 #ifndef LT_DLLAZY_OR_NOW
12078 #  ifdef RTLD_LAZY
12079 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12080 #  else
12081 #    ifdef DL_LAZY
12082 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12083 #    else
12084 #      ifdef RTLD_NOW
12085 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12086 #      else
12087 #        ifdef DL_NOW
12088 #          define LT_DLLAZY_OR_NOW      DL_NOW
12089 #        else
12090 #          define LT_DLLAZY_OR_NOW      0
12091 #        endif
12092 #      endif
12093 #    endif
12094 #  endif
12095 #endif
12096
12097 /* When -fvisbility=hidden is used, assume the code has been annotated
12098    correspondingly for the symbols needed.  */
12099 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12100 int fnord () __attribute__((visibility("default")));
12101 #endif
12102
12103 int fnord () { return 42; }
12104 int main ()
12105 {
12106   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12107   int status = $lt_dlunknown;
12108
12109   if (self)
12110     {
12111       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12112       else
12113         {
12114           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12115           else puts (dlerror ());
12116         }
12117       /* dlclose (self); */
12118     }
12119   else
12120     puts (dlerror ());
12121
12122   return status;
12123 }
12124 _LT_EOF
12125   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12126   (eval $ac_link) 2>&5
12127   ac_status=$?
12128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12129   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12130     (./conftest; exit; ) >&5 2>/dev/null
12131     lt_status=$?
12132     case x$lt_status in
12133       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12134       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12135       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12136     esac
12137   else :
12138     # compilation failed
12139     lt_cv_dlopen_self_static=no
12140   fi
12141 fi
12142 rm -fr conftest*
12143
12144
12145 fi
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12147 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12148     fi
12149
12150     CPPFLAGS="$save_CPPFLAGS"
12151     LDFLAGS="$save_LDFLAGS"
12152     LIBS="$save_LIBS"
12153     ;;
12154   esac
12155
12156   case $lt_cv_dlopen_self in
12157   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12158   *) enable_dlopen_self=unknown ;;
12159   esac
12160
12161   case $lt_cv_dlopen_self_static in
12162   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12163   *) enable_dlopen_self_static=unknown ;;
12164   esac
12165 fi
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183 striplib=
12184 old_striplib=
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12186 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12187 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12188   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12189   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12191 $as_echo "yes" >&6; }
12192 else
12193 # FIXME - insert some real tests, host_os isn't really good enough
12194   case $host_os in
12195   darwin*)
12196     if test -n "$STRIP" ; then
12197       striplib="$STRIP -x"
12198       old_striplib="$STRIP -S"
12199       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12200 $as_echo "yes" >&6; }
12201     else
12202       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12203 $as_echo "no" >&6; }
12204     fi
12205     ;;
12206   *)
12207     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12208 $as_echo "no" >&6; }
12209     ;;
12210   esac
12211 fi
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224   # Report which library types will actually be built
12225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12226 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12228 $as_echo "$can_build_shared" >&6; }
12229
12230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12231 $as_echo_n "checking whether to build shared libraries... " >&6; }
12232   test "$can_build_shared" = "no" && enable_shared=no
12233
12234   # On AIX, shared libraries and static libraries use the same namespace, and
12235   # are all built from PIC.
12236   case $host_os in
12237   aix3*)
12238     test "$enable_shared" = yes && enable_static=no
12239     if test -n "$RANLIB"; then
12240       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12241       postinstall_cmds='$RANLIB $lib'
12242     fi
12243     ;;
12244
12245   aix[4-9]*)
12246     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12247       test "$enable_shared" = yes && enable_static=no
12248     fi
12249     ;;
12250   esac
12251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12252 $as_echo "$enable_shared" >&6; }
12253
12254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12255 $as_echo_n "checking whether to build static libraries... " >&6; }
12256   # Make sure either enable_shared or enable_static is yes.
12257   test "$enable_shared" = yes || enable_static=yes
12258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12259 $as_echo "$enable_static" >&6; }
12260
12261
12262
12263
12264 fi
12265 ac_ext=c
12266 ac_cpp='$CPP $CPPFLAGS'
12267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12270
12271 CC="$lt_save_CC"
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287         ac_config_commands="$ac_config_commands libtool"
12288
12289
12290
12291
12292 # Only expand once:
12293
12294
12295
12296 LIBRYGEL_RENDERER_GST_REQUIRED=0.17.4
12297 GSTREAMER_REQUIRED=0.10.36
12298 GTK_REQUIRED=3.0.0
12299 REQUIRED_MODULES='gio-2.0 rygel-renderer-2.0 >= $LIBRYGEL_RENDERER_GST_REQUIRED
12300                   gstreamer-0.10 >= $GSTREAMER_REQUIRED
12301                   gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED
12302                   gstreamer-video-0.10 >= $GSTREAMER_REQUIRED
12303                   gstreamer-interfaces-0.10 >= $GSTREAMER_REQUIRED'
12304
12305
12306
12307
12308
12309
12310
12311 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12312         if test -n "$ac_tool_prefix"; then
12313   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12314 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12316 $as_echo_n "checking for $ac_word... " >&6; }
12317 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12318   $as_echo_n "(cached) " >&6
12319 else
12320   case $PKG_CONFIG in
12321   [\\/]* | ?:[\\/]*)
12322   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12323   ;;
12324   *)
12325   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12326 for as_dir in $PATH
12327 do
12328   IFS=$as_save_IFS
12329   test -z "$as_dir" && as_dir=.
12330     for ac_exec_ext in '' $ac_executable_extensions; do
12331   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12332     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12334     break 2
12335   fi
12336 done
12337   done
12338 IFS=$as_save_IFS
12339
12340   ;;
12341 esac
12342 fi
12343 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12344 if test -n "$PKG_CONFIG"; then
12345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12346 $as_echo "$PKG_CONFIG" >&6; }
12347 else
12348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12349 $as_echo "no" >&6; }
12350 fi
12351
12352
12353 fi
12354 if test -z "$ac_cv_path_PKG_CONFIG"; then
12355   ac_pt_PKG_CONFIG=$PKG_CONFIG
12356   # Extract the first word of "pkg-config", so it can be a program name with args.
12357 set dummy pkg-config; ac_word=$2
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12359 $as_echo_n "checking for $ac_word... " >&6; }
12360 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12361   $as_echo_n "(cached) " >&6
12362 else
12363   case $ac_pt_PKG_CONFIG in
12364   [\\/]* | ?:[\\/]*)
12365   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12366   ;;
12367   *)
12368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12369 for as_dir in $PATH
12370 do
12371   IFS=$as_save_IFS
12372   test -z "$as_dir" && as_dir=.
12373     for ac_exec_ext in '' $ac_executable_extensions; do
12374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12375     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12377     break 2
12378   fi
12379 done
12380   done
12381 IFS=$as_save_IFS
12382
12383   ;;
12384 esac
12385 fi
12386 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12387 if test -n "$ac_pt_PKG_CONFIG"; then
12388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12389 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12390 else
12391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12392 $as_echo "no" >&6; }
12393 fi
12394
12395   if test "x$ac_pt_PKG_CONFIG" = x; then
12396     PKG_CONFIG=""
12397   else
12398     case $cross_compiling:$ac_tool_warned in
12399 yes:)
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12402 ac_tool_warned=yes ;;
12403 esac
12404     PKG_CONFIG=$ac_pt_PKG_CONFIG
12405   fi
12406 else
12407   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12408 fi
12409
12410 fi
12411 if test -n "$PKG_CONFIG"; then
12412         _pkg_min_version=0.9.0
12413         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12414 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12415         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12416                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12417 $as_echo "yes" >&6; }
12418         else
12419                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12420 $as_echo "no" >&6; }
12421                 PKG_CONFIG=""
12422         fi
12423 fi
12424
12425 pkg_failed=no
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
12427 $as_echo_n "checking for DEPS... " >&6; }
12428
12429 if test -n "$DEPS_CFLAGS"; then
12430     pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
12431  elif test -n "$PKG_CONFIG"; then
12432     if test -n "$PKG_CONFIG" && \
12433     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
12434   ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
12435   ac_status=$?
12436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12437   test $ac_status = 0; }; then
12438   pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$REQUIRED_MODULES" 2>/dev/null`
12439                       test "x$?" != "x0" && pkg_failed=yes
12440 else
12441   pkg_failed=yes
12442 fi
12443  else
12444     pkg_failed=untried
12445 fi
12446 if test -n "$DEPS_LIBS"; then
12447     pkg_cv_DEPS_LIBS="$DEPS_LIBS"
12448  elif test -n "$PKG_CONFIG"; then
12449     if test -n "$PKG_CONFIG" && \
12450     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
12451   ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
12452   ac_status=$?
12453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12454   test $ac_status = 0; }; then
12455   pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "$REQUIRED_MODULES" 2>/dev/null`
12456                       test "x$?" != "x0" && pkg_failed=yes
12457 else
12458   pkg_failed=yes
12459 fi
12460  else
12461     pkg_failed=untried
12462 fi
12463
12464
12465
12466 if test $pkg_failed = yes; then
12467         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12468 $as_echo "no" >&6; }
12469
12470 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12471         _pkg_short_errors_supported=yes
12472 else
12473         _pkg_short_errors_supported=no
12474 fi
12475         if test $_pkg_short_errors_supported = yes; then
12476                 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
12477         else
12478                 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
12479         fi
12480         # Put the nasty error message in config.log where it belongs
12481         echo "$DEPS_PKG_ERRORS" >&5
12482
12483         as_fn_error $? "Package requirements ($REQUIRED_MODULES) were not met:
12484
12485 $DEPS_PKG_ERRORS
12486
12487 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12488 installed software in a non-standard prefix.
12489
12490 Alternatively, you may set the environment variables DEPS_CFLAGS
12491 and DEPS_LIBS to avoid the need to call pkg-config.
12492 See the pkg-config man page for more details." "$LINENO" 5
12493 elif test $pkg_failed = untried; then
12494         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12495 $as_echo "no" >&6; }
12496         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12498 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12499 is in your PATH or set the PKG_CONFIG environment variable to the full
12500 path to pkg-config.
12501
12502 Alternatively, you may set the environment variables DEPS_CFLAGS
12503 and DEPS_LIBS to avoid the need to call pkg-config.
12504 See the pkg-config man page for more details.
12505
12506 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12507 See \`config.log' for more details" "$LINENO" 5; }
12508 else
12509         DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
12510         DEPS_LIBS=$pkg_cv_DEPS_LIBS
12511         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12512 $as_echo "yes" >&6; }
12513
12514 fi
12515
12516 pkg_failed=no
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12518 $as_echo_n "checking for GTK... " >&6; }
12519
12520 if test -n "$GTK_CFLAGS"; then
12521     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12522  elif test -n "$PKG_CONFIG"; then
12523     if test -n "$PKG_CONFIG" && \
12524     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
12525   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
12526   ac_status=$?
12527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12528   test $ac_status = 0; }; then
12529   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
12530                       test "x$?" != "x0" && pkg_failed=yes
12531 else
12532   pkg_failed=yes
12533 fi
12534  else
12535     pkg_failed=untried
12536 fi
12537 if test -n "$GTK_LIBS"; then
12538     pkg_cv_GTK_LIBS="$GTK_LIBS"
12539  elif test -n "$PKG_CONFIG"; then
12540     if test -n "$PKG_CONFIG" && \
12541     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
12542   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
12543   ac_status=$?
12544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12545   test $ac_status = 0; }; then
12546   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
12547                       test "x$?" != "x0" && pkg_failed=yes
12548 else
12549   pkg_failed=yes
12550 fi
12551  else
12552     pkg_failed=untried
12553 fi
12554
12555
12556
12557 if test $pkg_failed = yes; then
12558         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12559 $as_echo "no" >&6; }
12560
12561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12562         _pkg_short_errors_supported=yes
12563 else
12564         _pkg_short_errors_supported=no
12565 fi
12566         if test $_pkg_short_errors_supported = yes; then
12567                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
12568         else
12569                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
12570         fi
12571         # Put the nasty error message in config.log where it belongs
12572         echo "$GTK_PKG_ERRORS" >&5
12573
12574         have_gtk=no
12575 elif test $pkg_failed = untried; then
12576         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 $as_echo "no" >&6; }
12578         have_gtk=no
12579 else
12580         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12581         GTK_LIBS=$pkg_cv_GTK_LIBS
12582         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12583 $as_echo "yes" >&6; }
12584         have_gtk=yes
12585 fi
12586
12587  if test "x$have_gtk" = "xyes"; then
12588   BUILD_UI_TRUE=
12589   BUILD_UI_FALSE='#'
12590 else
12591   BUILD_UI_TRUE='#'
12592   BUILD_UI_FALSE=
12593 fi
12594
12595
12596 # Check whether --enable-debug was given.
12597 if test "${enable_debug+set}" = set; then :
12598   enableval=$enable_debug;
12599 else
12600   enable_debug=no
12601 fi
12602
12603 if test "x$enable_debug" = "xyes"; then
12604         CFLAGS="$CFLAGS -O0 -g"
12605 fi
12606
12607 # Check whether --enable-strict-cc was given.
12608 if test "${enable_strict_cc+set}" = set; then :
12609   enableval=$enable_strict_cc;
12610 else
12611   enable_strict_cc=no
12612 fi
12613
12614 if test "x$enable_strict_cc" = "xyes"; then
12615         CFLAGS="$CFLAGS -Wall -Werror"
12616 fi
12617
12618 # Check whether --enable-plugin was given.
12619 if test "${enable_plugin+set}" = set; then :
12620   enableval=$enable_plugin;
12621 else
12622   enable_plugin=no
12623 fi
12624
12625  if test "x$enable_plugin" = "xyes"; then
12626   BUILD_PLUGIN_TRUE=
12627   BUILD_PLUGIN_FALSE='#'
12628 else
12629   BUILD_PLUGIN_TRUE='#'
12630   BUILD_PLUGIN_FALSE=
12631 fi
12632
12633 if test "x$enable_plugin" = "xyes"; then :
12634
12635         RYGEL_PLUGIN_LINKER_FLAGS="`$PKG_CONFIG --variable=plugin_ldflags rygel-core-2.0`"
12636
12637         RYGEL_PLUGIN_DIR="`$PKG_CONFIG --variable=plugindir rygel-core-2.0`"
12638
12639
12640 fi
12641
12642 GETTEXT_PACKAGE=rygel-gst-0-10-fullscreen-renderer
12643
12644
12645 cat >>confdefs.h <<_ACEOF
12646 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12647 _ACEOF
12648
12649
12650
12651    for ac_header in locale.h
12652 do :
12653   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12654 if test "x$ac_cv_header_locale_h" = xyes; then :
12655   cat >>confdefs.h <<_ACEOF
12656 #define HAVE_LOCALE_H 1
12657 _ACEOF
12658
12659 fi
12660
12661 done
12662
12663     if test $ac_cv_header_locale_h = yes; then
12664     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12665 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12666 if ${am_cv_val_LC_MESSAGES+:} false; then :
12667   $as_echo_n "(cached) " >&6
12668 else
12669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h.  */
12671 #include <locale.h>
12672 int
12673 main ()
12674 {
12675 return LC_MESSAGES
12676   ;
12677   return 0;
12678 }
12679 _ACEOF
12680 if ac_fn_c_try_link "$LINENO"; then :
12681   am_cv_val_LC_MESSAGES=yes
12682 else
12683   am_cv_val_LC_MESSAGES=no
12684 fi
12685 rm -f core conftest.err conftest.$ac_objext \
12686     conftest$ac_exeext conftest.$ac_ext
12687 fi
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12689 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12690     if test $am_cv_val_LC_MESSAGES = yes; then
12691
12692 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12693
12694     fi
12695   fi
12696      USE_NLS=yes
12697
12698
12699     gt_cv_have_gettext=no
12700
12701     CATOBJEXT=NONE
12702     XGETTEXT=:
12703     INTLLIBS=
12704
12705     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12706 if test "x$ac_cv_header_libintl_h" = xyes; then :
12707   gt_cv_func_dgettext_libintl="no"
12708       libintl_extra_libs=""
12709
12710       #
12711       # First check in libc
12712       #
12713       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12714 $as_echo_n "checking for ngettext in libc... " >&6; }
12715 if ${gt_cv_func_ngettext_libc+:} false; then :
12716   $as_echo_n "(cached) " >&6
12717 else
12718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h.  */
12720
12721 #include <libintl.h>
12722
12723 int
12724 main ()
12725 {
12726 return !ngettext ("","", 1)
12727   ;
12728   return 0;
12729 }
12730 _ACEOF
12731 if ac_fn_c_try_link "$LINENO"; then :
12732   gt_cv_func_ngettext_libc=yes
12733 else
12734   gt_cv_func_ngettext_libc=no
12735 fi
12736 rm -f core conftest.err conftest.$ac_objext \
12737     conftest$ac_exeext conftest.$ac_ext
12738
12739 fi
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12741 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12742
12743       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12744               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12745 $as_echo_n "checking for dgettext in libc... " >&6; }
12746 if ${gt_cv_func_dgettext_libc+:} false; then :
12747   $as_echo_n "(cached) " >&6
12748 else
12749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h.  */
12751
12752 #include <libintl.h>
12753
12754 int
12755 main ()
12756 {
12757 return !dgettext ("","")
12758   ;
12759   return 0;
12760 }
12761 _ACEOF
12762 if ac_fn_c_try_link "$LINENO"; then :
12763   gt_cv_func_dgettext_libc=yes
12764 else
12765   gt_cv_func_dgettext_libc=no
12766 fi
12767 rm -f core conftest.err conftest.$ac_objext \
12768     conftest$ac_exeext conftest.$ac_ext
12769
12770 fi
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12772 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12773       fi
12774
12775       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12776         for ac_func in bind_textdomain_codeset
12777 do :
12778   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12779 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12780   cat >>confdefs.h <<_ACEOF
12781 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12782 _ACEOF
12783
12784 fi
12785 done
12786
12787       fi
12788
12789       #
12790       # If we don't have everything we want, check in libintl
12791       #
12792       if test "$gt_cv_func_dgettext_libc" != "yes" \
12793          || test "$gt_cv_func_ngettext_libc" != "yes" \
12794          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12795
12796         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12797 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12798 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12799   $as_echo_n "(cached) " >&6
12800 else
12801   ac_check_lib_save_LIBS=$LIBS
12802 LIBS="-lintl  $LIBS"
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h.  */
12805
12806 /* Override any GCC internal prototype to avoid an error.
12807    Use char because int might match the return type of a GCC
12808    builtin and then its argument prototype would still apply.  */
12809 #ifdef __cplusplus
12810 extern "C"
12811 #endif
12812 char bindtextdomain ();
12813 int
12814 main ()
12815 {
12816 return bindtextdomain ();
12817   ;
12818   return 0;
12819 }
12820 _ACEOF
12821 if ac_fn_c_try_link "$LINENO"; then :
12822   ac_cv_lib_intl_bindtextdomain=yes
12823 else
12824   ac_cv_lib_intl_bindtextdomain=no
12825 fi
12826 rm -f core conftest.err conftest.$ac_objext \
12827     conftest$ac_exeext conftest.$ac_ext
12828 LIBS=$ac_check_lib_save_LIBS
12829 fi
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12831 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12832 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12834 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12835 if ${ac_cv_lib_intl_ngettext+:} false; then :
12836   $as_echo_n "(cached) " >&6
12837 else
12838   ac_check_lib_save_LIBS=$LIBS
12839 LIBS="-lintl  $LIBS"
12840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h.  */
12842
12843 /* Override any GCC internal prototype to avoid an error.
12844    Use char because int might match the return type of a GCC
12845    builtin and then its argument prototype would still apply.  */
12846 #ifdef __cplusplus
12847 extern "C"
12848 #endif
12849 char ngettext ();
12850 int
12851 main ()
12852 {
12853 return ngettext ();
12854   ;
12855   return 0;
12856 }
12857 _ACEOF
12858 if ac_fn_c_try_link "$LINENO"; then :
12859   ac_cv_lib_intl_ngettext=yes
12860 else
12861   ac_cv_lib_intl_ngettext=no
12862 fi
12863 rm -f core conftest.err conftest.$ac_objext \
12864     conftest$ac_exeext conftest.$ac_ext
12865 LIBS=$ac_check_lib_save_LIBS
12866 fi
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12868 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12869 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12871 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12872 if ${ac_cv_lib_intl_dgettext+:} false; then :
12873   $as_echo_n "(cached) " >&6
12874 else
12875   ac_check_lib_save_LIBS=$LIBS
12876 LIBS="-lintl  $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h.  */
12879
12880 /* Override any GCC internal prototype to avoid an error.
12881    Use char because int might match the return type of a GCC
12882    builtin and then its argument prototype would still apply.  */
12883 #ifdef __cplusplus
12884 extern "C"
12885 #endif
12886 char dgettext ();
12887 int
12888 main ()
12889 {
12890 return dgettext ();
12891   ;
12892   return 0;
12893 }
12894 _ACEOF
12895 if ac_fn_c_try_link "$LINENO"; then :
12896   ac_cv_lib_intl_dgettext=yes
12897 else
12898   ac_cv_lib_intl_dgettext=no
12899 fi
12900 rm -f core conftest.err conftest.$ac_objext \
12901     conftest$ac_exeext conftest.$ac_ext
12902 LIBS=$ac_check_lib_save_LIBS
12903 fi
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12905 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12906 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12907   gt_cv_func_dgettext_libintl=yes
12908 fi
12909
12910 fi
12911
12912 fi
12913
12914
12915         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12916           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12917 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12918           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12919 $as_echo "" >&6; }
12920           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12921 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12922 if ${ac_cv_lib_intl_ngettext+:} false; then :
12923   $as_echo_n "(cached) " >&6
12924 else
12925   ac_check_lib_save_LIBS=$LIBS
12926 LIBS="-lintl -liconv $LIBS"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h.  */
12929
12930 /* Override any GCC internal prototype to avoid an error.
12931    Use char because int might match the return type of a GCC
12932    builtin and then its argument prototype would still apply.  */
12933 #ifdef __cplusplus
12934 extern "C"
12935 #endif
12936 char ngettext ();
12937 int
12938 main ()
12939 {
12940 return ngettext ();
12941   ;
12942   return 0;
12943 }
12944 _ACEOF
12945 if ac_fn_c_try_link "$LINENO"; then :
12946   ac_cv_lib_intl_ngettext=yes
12947 else
12948   ac_cv_lib_intl_ngettext=no
12949 fi
12950 rm -f core conftest.err conftest.$ac_objext \
12951     conftest$ac_exeext conftest.$ac_ext
12952 LIBS=$ac_check_lib_save_LIBS
12953 fi
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12955 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12956 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12958 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12959 if ${ac_cv_lib_intl_dcgettext+:} false; then :
12960   $as_echo_n "(cached) " >&6
12961 else
12962   ac_check_lib_save_LIBS=$LIBS
12963 LIBS="-lintl -liconv $LIBS"
12964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h.  */
12966
12967 /* Override any GCC internal prototype to avoid an error.
12968    Use char because int might match the return type of a GCC
12969    builtin and then its argument prototype would still apply.  */
12970 #ifdef __cplusplus
12971 extern "C"
12972 #endif
12973 char dcgettext ();
12974 int
12975 main ()
12976 {
12977 return dcgettext ();
12978   ;
12979   return 0;
12980 }
12981 _ACEOF
12982 if ac_fn_c_try_link "$LINENO"; then :
12983   ac_cv_lib_intl_dcgettext=yes
12984 else
12985   ac_cv_lib_intl_dcgettext=no
12986 fi
12987 rm -f core conftest.err conftest.$ac_objext \
12988     conftest$ac_exeext conftest.$ac_ext
12989 LIBS=$ac_check_lib_save_LIBS
12990 fi
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12992 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12993 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12994   gt_cv_func_dgettext_libintl=yes
12995                         libintl_extra_libs=-liconv
12996 else
12997   :
12998 fi
12999
13000 else
13001   :
13002 fi
13003
13004         fi
13005
13006         #
13007         # If we found libintl, then check in it for bind_textdomain_codeset();
13008         # we'll prefer libc if neither have bind_textdomain_codeset(),
13009         # and both have dgettext and ngettext
13010         #
13011         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13012           glib_save_LIBS="$LIBS"
13013           LIBS="$LIBS -lintl $libintl_extra_libs"
13014           unset ac_cv_func_bind_textdomain_codeset
13015           for ac_func in bind_textdomain_codeset
13016 do :
13017   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13018 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13019   cat >>confdefs.h <<_ACEOF
13020 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
13021 _ACEOF
13022
13023 fi
13024 done
13025
13026           LIBS="$glib_save_LIBS"
13027
13028           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13029             gt_cv_func_dgettext_libc=no
13030           else
13031             if test "$gt_cv_func_dgettext_libc" = "yes" \
13032                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
13033               gt_cv_func_dgettext_libintl=no
13034             fi
13035           fi
13036         fi
13037       fi
13038
13039       if test "$gt_cv_func_dgettext_libc" = "yes" \
13040         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
13041         gt_cv_have_gettext=yes
13042       fi
13043
13044       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13045         INTLLIBS="-lintl $libintl_extra_libs"
13046       fi
13047
13048       if test "$gt_cv_have_gettext" = "yes"; then
13049
13050 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13051
13052         # Extract the first word of "msgfmt", so it can be a program name with args.
13053 set dummy msgfmt; ac_word=$2
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13055 $as_echo_n "checking for $ac_word... " >&6; }
13056 if ${ac_cv_path_MSGFMT+:} false; then :
13057   $as_echo_n "(cached) " >&6
13058 else
13059   case "$MSGFMT" in
13060   /*)
13061   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13062   ;;
13063   *)
13064   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13065   for ac_dir in $PATH; do
13066     test -z "$ac_dir" && ac_dir=.
13067     if test -f $ac_dir/$ac_word; then
13068       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13069         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13070         break
13071       fi
13072     fi
13073   done
13074   IFS="$ac_save_ifs"
13075   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13076   ;;
13077 esac
13078 fi
13079 MSGFMT="$ac_cv_path_MSGFMT"
13080 if test "$MSGFMT" != "no"; then
13081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13082 $as_echo "$MSGFMT" >&6; }
13083 else
13084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13085 $as_echo "no" >&6; }
13086 fi
13087         if test "$MSGFMT" != "no"; then
13088           glib_save_LIBS="$LIBS"
13089           LIBS="$LIBS $INTLLIBS"
13090           for ac_func in dcgettext
13091 do :
13092   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13093 if test "x$ac_cv_func_dcgettext" = xyes; then :
13094   cat >>confdefs.h <<_ACEOF
13095 #define HAVE_DCGETTEXT 1
13096 _ACEOF
13097
13098 fi
13099 done
13100
13101           MSGFMT_OPTS=
13102           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13103 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
13104           cat >conftest.foo <<_ACEOF
13105
13106 msgid ""
13107 msgstr ""
13108 "Content-Type: text/plain; charset=UTF-8\n"
13109 "Project-Id-Version: test 1.0\n"
13110 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
13111 "Last-Translator: test <foo@bar.xx>\n"
13112 "Language-Team: C <LL@li.org>\n"
13113 "MIME-Version: 1.0\n"
13114 "Content-Transfer-Encoding: 8bit\n"
13115
13116 _ACEOF
13117 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13118   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13119   ac_status=$?
13120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13121   test $ac_status = 0; }; then
13122   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13123 $as_echo "yes" >&6; }
13124 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13126 echo "$as_me: failed input was:" >&5
13127 sed 's/^/| /' conftest.foo >&5
13128 fi
13129
13130           # Extract the first word of "gmsgfmt", so it can be a program name with args.
13131 set dummy gmsgfmt; ac_word=$2
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13133 $as_echo_n "checking for $ac_word... " >&6; }
13134 if ${ac_cv_path_GMSGFMT+:} false; then :
13135   $as_echo_n "(cached) " >&6
13136 else
13137   case $GMSGFMT in
13138   [\\/]* | ?:[\\/]*)
13139   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13140   ;;
13141   *)
13142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13143 for as_dir in $PATH
13144 do
13145   IFS=$as_save_IFS
13146   test -z "$as_dir" && as_dir=.
13147     for ac_exec_ext in '' $ac_executable_extensions; do
13148   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13149     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13151     break 2
13152   fi
13153 done
13154   done
13155 IFS=$as_save_IFS
13156
13157   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13158   ;;
13159 esac
13160 fi
13161 GMSGFMT=$ac_cv_path_GMSGFMT
13162 if test -n "$GMSGFMT"; then
13163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13164 $as_echo "$GMSGFMT" >&6; }
13165 else
13166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13167 $as_echo "no" >&6; }
13168 fi
13169
13170
13171           # Extract the first word of "xgettext", so it can be a program name with args.
13172 set dummy xgettext; ac_word=$2
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13174 $as_echo_n "checking for $ac_word... " >&6; }
13175 if ${ac_cv_path_XGETTEXT+:} false; then :
13176   $as_echo_n "(cached) " >&6
13177 else
13178   case "$XGETTEXT" in
13179   /*)
13180   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13181   ;;
13182   *)
13183   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13184   for ac_dir in $PATH; do
13185     test -z "$ac_dir" && ac_dir=.
13186     if test -f $ac_dir/$ac_word; then
13187       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13188         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13189         break
13190       fi
13191     fi
13192   done
13193   IFS="$ac_save_ifs"
13194   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13195   ;;
13196 esac
13197 fi
13198 XGETTEXT="$ac_cv_path_XGETTEXT"
13199 if test "$XGETTEXT" != ":"; then
13200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13201 $as_echo "$XGETTEXT" >&6; }
13202 else
13203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13204 $as_echo "no" >&6; }
13205 fi
13206
13207           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h.  */
13209
13210 int
13211 main ()
13212 {
13213 extern int _nl_msg_cat_cntr;
13214                          return _nl_msg_cat_cntr
13215   ;
13216   return 0;
13217 }
13218 _ACEOF
13219 if ac_fn_c_try_link "$LINENO"; then :
13220   CATOBJEXT=.gmo
13221              DATADIRNAME=share
13222 else
13223   case $host in
13224             *-*-solaris*)
13225                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13226 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13227   CATOBJEXT=.gmo
13228                DATADIRNAME=share
13229 else
13230   CATOBJEXT=.mo
13231                DATADIRNAME=lib
13232 fi
13233
13234             ;;
13235             *-*-openbsd*)
13236             CATOBJEXT=.mo
13237             DATADIRNAME=share
13238             ;;
13239             *)
13240             CATOBJEXT=.mo
13241             DATADIRNAME=lib
13242             ;;
13243             esac
13244 fi
13245 rm -f core conftest.err conftest.$ac_objext \
13246     conftest$ac_exeext conftest.$ac_ext
13247           LIBS="$glib_save_LIBS"
13248           INSTOBJEXT=.mo
13249         else
13250           gt_cv_have_gettext=no
13251         fi
13252       fi
13253
13254 fi
13255
13256
13257
13258     if test "$gt_cv_have_gettext" = "yes" ; then
13259
13260 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13261
13262     fi
13263
13264         if test "$XGETTEXT" != ":"; then
13265                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13266         : ;
13267       else
13268         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13269 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13270         XGETTEXT=":"
13271       fi
13272     fi
13273
13274     # We need to process the po/ directory.
13275     POSUB=po
13276
13277     ac_config_commands="$ac_config_commands default-1"
13278
13279
13280                 for lang in $ALL_LINGUAS; do
13281       GMOFILES="$GMOFILES $lang.gmo"
13282       POFILES="$POFILES $lang.po"
13283     done
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297    if test "$gt_cv_have_gettext" = "yes"; then
13298      if test "x$ALL_LINGUAS" = "x"; then
13299        LINGUAS=
13300      else
13301        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13302 $as_echo_n "checking for catalogs to be installed... " >&6; }
13303        NEW_LINGUAS=
13304        for presentlang in $ALL_LINGUAS; do
13305          useit=no
13306          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13307            desiredlanguages="$LINGUAS"
13308          else
13309            desiredlanguages="$ALL_LINGUAS"
13310          fi
13311          for desiredlang in $desiredlanguages; do
13312            # Use the presentlang catalog if desiredlang is
13313            #   a. equal to presentlang, or
13314            #   b. a variant of presentlang (because in this case,
13315            #      presentlang can be used as a fallback for messages
13316            #      which are not translated in the desiredlang catalog).
13317            case "$desiredlang" in
13318              "$presentlang"*) useit=yes;;
13319            esac
13320          done
13321          if test $useit = yes; then
13322            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13323          fi
13324        done
13325        LINGUAS=$NEW_LINGUAS
13326        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13327 $as_echo "$LINGUAS" >&6; }
13328      fi
13329
13330           if test -n "$LINGUAS"; then
13331        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13332      fi
13333    fi
13334
13335             MKINSTALLDIRS=
13336    if test -n "$ac_aux_dir"; then
13337      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13338    fi
13339    if test -z "$MKINSTALLDIRS"; then
13340      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13341    fi
13342
13343
13344          test -d po || mkdir po
13345    if test "x$srcdir" != "x."; then
13346      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13347        posrcprefix="$srcdir/"
13348      else
13349        posrcprefix="../$srcdir/"
13350      fi
13351    else
13352      posrcprefix="../"
13353    fi
13354    rm -f po/POTFILES
13355    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13356         < $srcdir/po/POTFILES.in > po/POTFILES
13357
13358
13359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13360 $as_echo_n "checking whether NLS is requested... " >&6; }
13361     # Check whether --enable-nls was given.
13362 if test "${enable_nls+set}" = set; then :
13363   enableval=$enable_nls; USE_NLS=$enableval
13364 else
13365   USE_NLS=yes
13366 fi
13367
13368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13369 $as_echo "$USE_NLS" >&6; }
13370
13371
13372
13373
13374 case "$am__api_version" in
13375     1.01234)
13376         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13377     ;;
13378     *)
13379     ;;
13380 esac
13381
13382 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13383 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13384 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13385 if test -n "0.40.0"; then
13386     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
13387 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
13388     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13389 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13390     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13391         as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
13392 fi
13393
13394 # Extract the first word of "intltool-update", so it can be a program name with args.
13395 set dummy intltool-update; ac_word=$2
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13397 $as_echo_n "checking for $ac_word... " >&6; }
13398 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13399   $as_echo_n "(cached) " >&6
13400 else
13401   case $INTLTOOL_UPDATE in
13402   [\\/]* | ?:[\\/]*)
13403   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13404   ;;
13405   *)
13406   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13407 for as_dir in $PATH
13408 do
13409   IFS=$as_save_IFS
13410   test -z "$as_dir" && as_dir=.
13411     for ac_exec_ext in '' $ac_executable_extensions; do
13412   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13413     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13415     break 2
13416   fi
13417 done
13418   done
13419 IFS=$as_save_IFS
13420
13421   ;;
13422 esac
13423 fi
13424 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13425 if test -n "$INTLTOOL_UPDATE"; then
13426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13427 $as_echo "$INTLTOOL_UPDATE" >&6; }
13428 else
13429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13430 $as_echo "no" >&6; }
13431 fi
13432
13433
13434 # Extract the first word of "intltool-merge", so it can be a program name with args.
13435 set dummy intltool-merge; ac_word=$2
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13437 $as_echo_n "checking for $ac_word... " >&6; }
13438 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13439   $as_echo_n "(cached) " >&6
13440 else
13441   case $INTLTOOL_MERGE in
13442   [\\/]* | ?:[\\/]*)
13443   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13444   ;;
13445   *)
13446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13447 for as_dir in $PATH
13448 do
13449   IFS=$as_save_IFS
13450   test -z "$as_dir" && as_dir=.
13451     for ac_exec_ext in '' $ac_executable_extensions; do
13452   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13453     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13455     break 2
13456   fi
13457 done
13458   done
13459 IFS=$as_save_IFS
13460
13461   ;;
13462 esac
13463 fi
13464 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13465 if test -n "$INTLTOOL_MERGE"; then
13466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13467 $as_echo "$INTLTOOL_MERGE" >&6; }
13468 else
13469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13470 $as_echo "no" >&6; }
13471 fi
13472
13473
13474 # Extract the first word of "intltool-extract", so it can be a program name with args.
13475 set dummy intltool-extract; ac_word=$2
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13477 $as_echo_n "checking for $ac_word... " >&6; }
13478 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13479   $as_echo_n "(cached) " >&6
13480 else
13481   case $INTLTOOL_EXTRACT in
13482   [\\/]* | ?:[\\/]*)
13483   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13484   ;;
13485   *)
13486   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13487 for as_dir in $PATH
13488 do
13489   IFS=$as_save_IFS
13490   test -z "$as_dir" && as_dir=.
13491     for ac_exec_ext in '' $ac_executable_extensions; do
13492   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13493     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13495     break 2
13496   fi
13497 done
13498   done
13499 IFS=$as_save_IFS
13500
13501   ;;
13502 esac
13503 fi
13504 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13505 if test -n "$INTLTOOL_EXTRACT"; then
13506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13507 $as_echo "$INTLTOOL_EXTRACT" >&6; }
13508 else
13509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13510 $as_echo "no" >&6; }
13511 fi
13512
13513
13514 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13515     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13516 fi
13517
13518 if test -z "$AM_DEFAULT_VERBOSITY"; then
13519   AM_DEFAULT_VERBOSITY=1
13520 fi
13521
13522
13523 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13524 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13525 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
13526
13527
13528
13529
13530 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13531 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13532 intltool__v_merge_options_0='-q'
13533
13534
13535
13536
13537   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 $< $@'
13538 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 $< $@'
13539      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 $< $@'
13540      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 $< $@'
13541       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 $< $@'
13542      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 $< $@'
13543    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 $< $@'
13544     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 $< $@'
13545 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 $< $@'
13546        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 $< $@'
13547       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 $< $@'
13548 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13549       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 $< $@'
13550 else
13551       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'
13552 fi
13553       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 $< $@'
13554       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 $< $@'
13555     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 $< $@'
13556   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 $< $@'
13557     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 $< $@'
13558     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 $< $@'
13559    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 $< $@'
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657 # Check the gettext tools to make sure they are GNU
13658 # Extract the first word of "xgettext", so it can be a program name with args.
13659 set dummy xgettext; ac_word=$2
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13661 $as_echo_n "checking for $ac_word... " >&6; }
13662 if ${ac_cv_path_XGETTEXT+:} false; then :
13663   $as_echo_n "(cached) " >&6
13664 else
13665   case $XGETTEXT in
13666   [\\/]* | ?:[\\/]*)
13667   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13668   ;;
13669   *)
13670   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13671 for as_dir in $PATH
13672 do
13673   IFS=$as_save_IFS
13674   test -z "$as_dir" && as_dir=.
13675     for ac_exec_ext in '' $ac_executable_extensions; do
13676   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13677     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13679     break 2
13680   fi
13681 done
13682   done
13683 IFS=$as_save_IFS
13684
13685   ;;
13686 esac
13687 fi
13688 XGETTEXT=$ac_cv_path_XGETTEXT
13689 if test -n "$XGETTEXT"; then
13690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13691 $as_echo "$XGETTEXT" >&6; }
13692 else
13693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13694 $as_echo "no" >&6; }
13695 fi
13696
13697
13698 # Extract the first word of "msgmerge", so it can be a program name with args.
13699 set dummy msgmerge; ac_word=$2
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13701 $as_echo_n "checking for $ac_word... " >&6; }
13702 if ${ac_cv_path_MSGMERGE+:} false; then :
13703   $as_echo_n "(cached) " >&6
13704 else
13705   case $MSGMERGE in
13706   [\\/]* | ?:[\\/]*)
13707   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13708   ;;
13709   *)
13710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13711 for as_dir in $PATH
13712 do
13713   IFS=$as_save_IFS
13714   test -z "$as_dir" && as_dir=.
13715     for ac_exec_ext in '' $ac_executable_extensions; do
13716   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13717     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13719     break 2
13720   fi
13721 done
13722   done
13723 IFS=$as_save_IFS
13724
13725   ;;
13726 esac
13727 fi
13728 MSGMERGE=$ac_cv_path_MSGMERGE
13729 if test -n "$MSGMERGE"; then
13730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13731 $as_echo "$MSGMERGE" >&6; }
13732 else
13733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13734 $as_echo "no" >&6; }
13735 fi
13736
13737
13738 # Extract the first word of "msgfmt", so it can be a program name with args.
13739 set dummy msgfmt; ac_word=$2
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13741 $as_echo_n "checking for $ac_word... " >&6; }
13742 if ${ac_cv_path_MSGFMT+:} false; then :
13743   $as_echo_n "(cached) " >&6
13744 else
13745   case $MSGFMT in
13746   [\\/]* | ?:[\\/]*)
13747   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13748   ;;
13749   *)
13750   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13751 for as_dir in $PATH
13752 do
13753   IFS=$as_save_IFS
13754   test -z "$as_dir" && as_dir=.
13755     for ac_exec_ext in '' $ac_executable_extensions; do
13756   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13757     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13759     break 2
13760   fi
13761 done
13762   done
13763 IFS=$as_save_IFS
13764
13765   ;;
13766 esac
13767 fi
13768 MSGFMT=$ac_cv_path_MSGFMT
13769 if test -n "$MSGFMT"; then
13770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13771 $as_echo "$MSGFMT" >&6; }
13772 else
13773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13774 $as_echo "no" >&6; }
13775 fi
13776
13777
13778 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13779 set dummy gmsgfmt; ac_word=$2
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13781 $as_echo_n "checking for $ac_word... " >&6; }
13782 if ${ac_cv_path_GMSGFMT+:} false; then :
13783   $as_echo_n "(cached) " >&6
13784 else
13785   case $GMSGFMT in
13786   [\\/]* | ?:[\\/]*)
13787   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13788   ;;
13789   *)
13790   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13791 for as_dir in $PATH
13792 do
13793   IFS=$as_save_IFS
13794   test -z "$as_dir" && as_dir=.
13795     for ac_exec_ext in '' $ac_executable_extensions; do
13796   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13797     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13799     break 2
13800   fi
13801 done
13802   done
13803 IFS=$as_save_IFS
13804
13805   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13806   ;;
13807 esac
13808 fi
13809 GMSGFMT=$ac_cv_path_GMSGFMT
13810 if test -n "$GMSGFMT"; then
13811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13812 $as_echo "$GMSGFMT" >&6; }
13813 else
13814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13815 $as_echo "no" >&6; }
13816 fi
13817
13818
13819 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13820     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13821 fi
13822 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13823 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13824 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13825 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13826     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13827 fi
13828
13829 # Extract the first word of "perl", so it can be a program name with args.
13830 set dummy perl; ac_word=$2
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13832 $as_echo_n "checking for $ac_word... " >&6; }
13833 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13834   $as_echo_n "(cached) " >&6
13835 else
13836   case $INTLTOOL_PERL in
13837   [\\/]* | ?:[\\/]*)
13838   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13839   ;;
13840   *)
13841   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842 for as_dir in $PATH
13843 do
13844   IFS=$as_save_IFS
13845   test -z "$as_dir" && as_dir=.
13846     for ac_exec_ext in '' $ac_executable_extensions; do
13847   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13848     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13850     break 2
13851   fi
13852 done
13853   done
13854 IFS=$as_save_IFS
13855
13856   ;;
13857 esac
13858 fi
13859 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13860 if test -n "$INTLTOOL_PERL"; then
13861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13862 $as_echo "$INTLTOOL_PERL" >&6; }
13863 else
13864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13865 $as_echo "no" >&6; }
13866 fi
13867
13868
13869 if test -z "$INTLTOOL_PERL"; then
13870    as_fn_error $? "perl not found" "$LINENO" 5
13871 fi
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13873 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
13874 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13875 if test $? -ne 0; then
13876    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13877 else
13878    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13879    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13880 $as_echo "$IT_PERL_VERSION" >&6; }
13881 fi
13882 if test "x" != "xno-xml"; then
13883    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13884 $as_echo_n "checking for XML::Parser... " >&6; }
13885    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13886        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13887 $as_echo "ok" >&6; }
13888    else
13889        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13890    fi
13891 fi
13892
13893 # Substitute ALL_LINGUAS so we can use it in po/Makefile
13894
13895
13896 # Set DATADIRNAME correctly if it is not set yet
13897 # (copied from glib-gettext.m4)
13898 if test -z "$DATADIRNAME"; then
13899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h.  */
13901
13902 int
13903 main ()
13904 {
13905 extern int _nl_msg_cat_cntr;
13906                        return _nl_msg_cat_cntr
13907   ;
13908   return 0;
13909 }
13910 _ACEOF
13911 if ac_fn_c_try_link "$LINENO"; then :
13912   DATADIRNAME=share
13913 else
13914   case $host in
13915     *-*-solaris*)
13916                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13917 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13918   DATADIRNAME=share
13919 else
13920   DATADIRNAME=lib
13921 fi
13922
13923     ;;
13924     *)
13925     DATADIRNAME=lib
13926     ;;
13927     esac
13928 fi
13929 rm -f core conftest.err conftest.$ac_objext \
13930     conftest$ac_exeext conftest.$ac_ext
13931 fi
13932
13933
13934
13935
13936
13937
13938 # Check whether --enable-silent-rules was given.
13939 if test "${enable_silent_rules+set}" = set; then :
13940   enableval=$enable_silent_rules;
13941 fi
13942
13943 case $enable_silent_rules in
13944 yes) AM_DEFAULT_VERBOSITY=0;;
13945 no)  AM_DEFAULT_VERBOSITY=1;;
13946 *)   AM_DEFAULT_VERBOSITY=0;;
13947 esac
13948 am_make=${MAKE-make}
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13950 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13951 if ${am_cv_make_support_nested_variables+:} false; then :
13952   $as_echo_n "(cached) " >&6
13953 else
13954   if $as_echo 'TRUE=$(BAR$(V))
13955 BAR0=false
13956 BAR1=true
13957 V=1
13958 am__doit:
13959         @$(TRUE)
13960 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
13961   am_cv_make_support_nested_variables=yes
13962 else
13963   am_cv_make_support_nested_variables=no
13964 fi
13965 fi
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13967 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13968 if test $am_cv_make_support_nested_variables = yes; then
13969     AM_V='$(V)'
13970   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
13971 else
13972   AM_V=$AM_DEFAULT_VERBOSITY
13973   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
13974 fi
13975 AM_BACKSLASH='\'
13976
13977
13978 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
13979
13980 cat >confcache <<\_ACEOF
13981 # This file is a shell script that caches the results of configure
13982 # tests run on this system so they can be shared between configure
13983 # scripts and configure runs, see configure's option --config-cache.
13984 # It is not useful on other systems.  If it contains results you don't
13985 # want to keep, you may remove or edit it.
13986 #
13987 # config.status only pays attention to the cache file if you give it
13988 # the --recheck option to rerun configure.
13989 #
13990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13992 # following values.
13993
13994 _ACEOF
13995
13996 # The following way of writing the cache mishandles newlines in values,
13997 # but we know of no workaround that is simple, portable, and efficient.
13998 # So, we kill variables containing newlines.
13999 # Ultrix sh set writes to stderr and can't be redirected directly,
14000 # and sets the high bit in the cache file unless we assign to the vars.
14001 (
14002   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14003     eval ac_val=\$$ac_var
14004     case $ac_val in #(
14005     *${as_nl}*)
14006       case $ac_var in #(
14007       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14009       esac
14010       case $ac_var in #(
14011       _ | IFS | as_nl) ;; #(
14012       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14013       *) { eval $ac_var=; unset $ac_var;} ;;
14014       esac ;;
14015     esac
14016   done
14017
14018   (set) 2>&1 |
14019     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14020     *${as_nl}ac_space=\ *)
14021       # `set' does not quote correctly, so add quotes: double-quote
14022       # substitution turns \\\\ into \\, and sed turns \\ into \.
14023       sed -n \
14024         "s/'/'\\\\''/g;
14025           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14026       ;; #(
14027     *)
14028       # `set' quotes correctly as required by POSIX, so do not add quotes.
14029       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14030       ;;
14031     esac |
14032     sort
14033 ) |
14034   sed '
14035      /^ac_cv_env_/b end
14036      t clear
14037      :clear
14038      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14039      t end
14040      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14041      :end' >>confcache
14042 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14043   if test -w "$cache_file"; then
14044     if test "x$cache_file" != "x/dev/null"; then
14045       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14046 $as_echo "$as_me: updating cache $cache_file" >&6;}
14047       if test ! -f "$cache_file" || test -h "$cache_file"; then
14048         cat confcache >"$cache_file"
14049       else
14050         case $cache_file in #(
14051         */* | ?:*)
14052           mv -f confcache "$cache_file"$$ &&
14053           mv -f "$cache_file"$$ "$cache_file" ;; #(
14054         *)
14055           mv -f confcache "$cache_file" ;;
14056         esac
14057       fi
14058     fi
14059   else
14060     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14061 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14062   fi
14063 fi
14064 rm -f confcache
14065
14066 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14067 # Let make expand exec_prefix.
14068 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14069
14070 DEFS=-DHAVE_CONFIG_H
14071
14072 ac_libobjs=
14073 ac_ltlibobjs=
14074 U=
14075 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14076   # 1. Remove the extension, and $U if already installed.
14077   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14078   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14079   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14080   #    will be set to the directory where LIBOBJS objects are built.
14081   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14082   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14083 done
14084 LIBOBJS=$ac_libobjs
14085
14086 LTLIBOBJS=$ac_ltlibobjs
14087
14088
14089 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14090   as_fn_error $? "conditional \"AMDEP\" was never defined.
14091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14092 fi
14093 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14094   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14096 fi
14097  if test -n "$EXEEXT"; then
14098   am__EXEEXT_TRUE=
14099   am__EXEEXT_FALSE='#'
14100 else
14101   am__EXEEXT_TRUE='#'
14102   am__EXEEXT_FALSE=
14103 fi
14104
14105 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14106   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14108 fi
14109 if test -z "${BUILD_UI_TRUE}" && test -z "${BUILD_UI_FALSE}"; then
14110   as_fn_error $? "conditional \"BUILD_UI\" was never defined.
14111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14112 fi
14113 if test -z "${BUILD_PLUGIN_TRUE}" && test -z "${BUILD_PLUGIN_FALSE}"; then
14114   as_fn_error $? "conditional \"BUILD_PLUGIN\" was never defined.
14115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14116 fi
14117
14118   ac_config_commands="$ac_config_commands po/stamp-it"
14119
14120
14121
14122 : "${CONFIG_STATUS=./config.status}"
14123 ac_write_fail=0
14124 ac_clean_files_save=$ac_clean_files
14125 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14127 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14128 as_write_fail=0
14129 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14130 #! $SHELL
14131 # Generated by $as_me.
14132 # Run this file to recreate the current configuration.
14133 # Compiler output produced by configure, useful for debugging
14134 # configure, is in config.log if it exists.
14135
14136 debug=false
14137 ac_cs_recheck=false
14138 ac_cs_silent=false
14139
14140 SHELL=\${CONFIG_SHELL-$SHELL}
14141 export SHELL
14142 _ASEOF
14143 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14144 ## -------------------- ##
14145 ## M4sh Initialization. ##
14146 ## -------------------- ##
14147
14148 # Be more Bourne compatible
14149 DUALCASE=1; export DUALCASE # for MKS sh
14150 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14151   emulate sh
14152   NULLCMD=:
14153   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14154   # is contrary to our usage.  Disable this feature.
14155   alias -g '${1+"$@"}'='"$@"'
14156   setopt NO_GLOB_SUBST
14157 else
14158   case `(set -o) 2>/dev/null` in #(
14159   *posix*) :
14160     set -o posix ;; #(
14161   *) :
14162      ;;
14163 esac
14164 fi
14165
14166
14167 as_nl='
14168 '
14169 export as_nl
14170 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14171 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14172 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14173 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14174 # Prefer a ksh shell builtin over an external printf program on Solaris,
14175 # but without wasting forks for bash or zsh.
14176 if test -z "$BASH_VERSION$ZSH_VERSION" \
14177     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14178   as_echo='print -r --'
14179   as_echo_n='print -rn --'
14180 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14181   as_echo='printf %s\n'
14182   as_echo_n='printf %s'
14183 else
14184   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14185     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14186     as_echo_n='/usr/ucb/echo -n'
14187   else
14188     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14189     as_echo_n_body='eval
14190       arg=$1;
14191       case $arg in #(
14192       *"$as_nl"*)
14193         expr "X$arg" : "X\\(.*\\)$as_nl";
14194         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14195       esac;
14196       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14197     '
14198     export as_echo_n_body
14199     as_echo_n='sh -c $as_echo_n_body as_echo'
14200   fi
14201   export as_echo_body
14202   as_echo='sh -c $as_echo_body as_echo'
14203 fi
14204
14205 # The user is always right.
14206 if test "${PATH_SEPARATOR+set}" != set; then
14207   PATH_SEPARATOR=:
14208   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14209     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14210       PATH_SEPARATOR=';'
14211   }
14212 fi
14213
14214
14215 # IFS
14216 # We need space, tab and new line, in precisely that order.  Quoting is
14217 # there to prevent editors from complaining about space-tab.
14218 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14219 # splitting by setting IFS to empty value.)
14220 IFS=" ""        $as_nl"
14221
14222 # Find who we are.  Look in the path if we contain no directory separator.
14223 as_myself=
14224 case $0 in #((
14225   *[\\/]* ) as_myself=$0 ;;
14226   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14227 for as_dir in $PATH
14228 do
14229   IFS=$as_save_IFS
14230   test -z "$as_dir" && as_dir=.
14231     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14232   done
14233 IFS=$as_save_IFS
14234
14235      ;;
14236 esac
14237 # We did not find ourselves, most probably we were run as `sh COMMAND'
14238 # in which case we are not to be found in the path.
14239 if test "x$as_myself" = x; then
14240   as_myself=$0
14241 fi
14242 if test ! -f "$as_myself"; then
14243   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14244   exit 1
14245 fi
14246
14247 # Unset variables that we do not need and which cause bugs (e.g. in
14248 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14249 # suppresses any "Segmentation fault" message there.  '((' could
14250 # trigger a bug in pdksh 5.2.14.
14251 for as_var in BASH_ENV ENV MAIL MAILPATH
14252 do eval test x\${$as_var+set} = xset \
14253   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14254 done
14255 PS1='$ '
14256 PS2='> '
14257 PS4='+ '
14258
14259 # NLS nuisances.
14260 LC_ALL=C
14261 export LC_ALL
14262 LANGUAGE=C
14263 export LANGUAGE
14264
14265 # CDPATH.
14266 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14267
14268
14269 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14270 # ----------------------------------------
14271 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14272 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14273 # script with STATUS, using 1 if that was 0.
14274 as_fn_error ()
14275 {
14276   as_status=$1; test $as_status -eq 0 && as_status=1
14277   if test "$4"; then
14278     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14279     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14280   fi
14281   $as_echo "$as_me: error: $2" >&2
14282   as_fn_exit $as_status
14283 } # as_fn_error
14284
14285
14286 # as_fn_set_status STATUS
14287 # -----------------------
14288 # Set $? to STATUS, without forking.
14289 as_fn_set_status ()
14290 {
14291   return $1
14292 } # as_fn_set_status
14293
14294 # as_fn_exit STATUS
14295 # -----------------
14296 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14297 as_fn_exit ()
14298 {
14299   set +e
14300   as_fn_set_status $1
14301   exit $1
14302 } # as_fn_exit
14303
14304 # as_fn_unset VAR
14305 # ---------------
14306 # Portably unset VAR.
14307 as_fn_unset ()
14308 {
14309   { eval $1=; unset $1;}
14310 }
14311 as_unset=as_fn_unset
14312 # as_fn_append VAR VALUE
14313 # ----------------------
14314 # Append the text in VALUE to the end of the definition contained in VAR. Take
14315 # advantage of any shell optimizations that allow amortized linear growth over
14316 # repeated appends, instead of the typical quadratic growth present in naive
14317 # implementations.
14318 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14319   eval 'as_fn_append ()
14320   {
14321     eval $1+=\$2
14322   }'
14323 else
14324   as_fn_append ()
14325   {
14326     eval $1=\$$1\$2
14327   }
14328 fi # as_fn_append
14329
14330 # as_fn_arith ARG...
14331 # ------------------
14332 # Perform arithmetic evaluation on the ARGs, and store the result in the
14333 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14334 # must be portable across $(()) and expr.
14335 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14336   eval 'as_fn_arith ()
14337   {
14338     as_val=$(( $* ))
14339   }'
14340 else
14341   as_fn_arith ()
14342   {
14343     as_val=`expr "$@" || test $? -eq 1`
14344   }
14345 fi # as_fn_arith
14346
14347
14348 if expr a : '\(a\)' >/dev/null 2>&1 &&
14349    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14350   as_expr=expr
14351 else
14352   as_expr=false
14353 fi
14354
14355 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14356   as_basename=basename
14357 else
14358   as_basename=false
14359 fi
14360
14361 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14362   as_dirname=dirname
14363 else
14364   as_dirname=false
14365 fi
14366
14367 as_me=`$as_basename -- "$0" ||
14368 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14369          X"$0" : 'X\(//\)$' \| \
14370          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14371 $as_echo X/"$0" |
14372     sed '/^.*\/\([^/][^/]*\)\/*$/{
14373             s//\1/
14374             q
14375           }
14376           /^X\/\(\/\/\)$/{
14377             s//\1/
14378             q
14379           }
14380           /^X\/\(\/\).*/{
14381             s//\1/
14382             q
14383           }
14384           s/.*/./; q'`
14385
14386 # Avoid depending upon Character Ranges.
14387 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14388 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14389 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14390 as_cr_digits='0123456789'
14391 as_cr_alnum=$as_cr_Letters$as_cr_digits
14392
14393 ECHO_C= ECHO_N= ECHO_T=
14394 case `echo -n x` in #(((((
14395 -n*)
14396   case `echo 'xy\c'` in
14397   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14398   xy)  ECHO_C='\c';;
14399   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14400        ECHO_T=' ';;
14401   esac;;
14402 *)
14403   ECHO_N='-n';;
14404 esac
14405
14406 rm -f conf$$ conf$$.exe conf$$.file
14407 if test -d conf$$.dir; then
14408   rm -f conf$$.dir/conf$$.file
14409 else
14410   rm -f conf$$.dir
14411   mkdir conf$$.dir 2>/dev/null
14412 fi
14413 if (echo >conf$$.file) 2>/dev/null; then
14414   if ln -s conf$$.file conf$$ 2>/dev/null; then
14415     as_ln_s='ln -s'
14416     # ... but there are two gotchas:
14417     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14418     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14419     # In both cases, we have to default to `cp -pR'.
14420     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14421       as_ln_s='cp -pR'
14422   elif ln conf$$.file conf$$ 2>/dev/null; then
14423     as_ln_s=ln
14424   else
14425     as_ln_s='cp -pR'
14426   fi
14427 else
14428   as_ln_s='cp -pR'
14429 fi
14430 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14431 rmdir conf$$.dir 2>/dev/null
14432
14433
14434 # as_fn_mkdir_p
14435 # -------------
14436 # Create "$as_dir" as a directory, including parents if necessary.
14437 as_fn_mkdir_p ()
14438 {
14439
14440   case $as_dir in #(
14441   -*) as_dir=./$as_dir;;
14442   esac
14443   test -d "$as_dir" || eval $as_mkdir_p || {
14444     as_dirs=
14445     while :; do
14446       case $as_dir in #(
14447       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14448       *) as_qdir=$as_dir;;
14449       esac
14450       as_dirs="'$as_qdir' $as_dirs"
14451       as_dir=`$as_dirname -- "$as_dir" ||
14452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14453          X"$as_dir" : 'X\(//\)[^/]' \| \
14454          X"$as_dir" : 'X\(//\)$' \| \
14455          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14456 $as_echo X"$as_dir" |
14457     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14458             s//\1/
14459             q
14460           }
14461           /^X\(\/\/\)[^/].*/{
14462             s//\1/
14463             q
14464           }
14465           /^X\(\/\/\)$/{
14466             s//\1/
14467             q
14468           }
14469           /^X\(\/\).*/{
14470             s//\1/
14471             q
14472           }
14473           s/.*/./; q'`
14474       test -d "$as_dir" && break
14475     done
14476     test -z "$as_dirs" || eval "mkdir $as_dirs"
14477   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14478
14479
14480 } # as_fn_mkdir_p
14481 if mkdir -p . 2>/dev/null; then
14482   as_mkdir_p='mkdir -p "$as_dir"'
14483 else
14484   test -d ./-p && rmdir ./-p
14485   as_mkdir_p=false
14486 fi
14487
14488
14489 # as_fn_executable_p FILE
14490 # -----------------------
14491 # Test if FILE is an executable regular file.
14492 as_fn_executable_p ()
14493 {
14494   test -f "$1" && test -x "$1"
14495 } # as_fn_executable_p
14496 as_test_x='test -x'
14497 as_executable_p=as_fn_executable_p
14498
14499 # Sed expression to map a string onto a valid CPP name.
14500 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14501
14502 # Sed expression to map a string onto a valid variable name.
14503 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14504
14505
14506 exec 6>&1
14507 ## ----------------------------------- ##
14508 ## Main body of $CONFIG_STATUS script. ##
14509 ## ----------------------------------- ##
14510 _ASEOF
14511 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14512
14513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14514 # Save the log message, to keep $0 and so on meaningful, and to
14515 # report actual input values of CONFIG_FILES etc. instead of their
14516 # values after options handling.
14517 ac_log="
14518 This file was extended by rygel-gst-0-10-fullscreen-renderer $as_me 1.17.4, which was
14519 generated by GNU Autoconf 2.69.  Invocation command line was
14520
14521   CONFIG_FILES    = $CONFIG_FILES
14522   CONFIG_HEADERS  = $CONFIG_HEADERS
14523   CONFIG_LINKS    = $CONFIG_LINKS
14524   CONFIG_COMMANDS = $CONFIG_COMMANDS
14525   $ $0 $@
14526
14527 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14528 "
14529
14530 _ACEOF
14531
14532 case $ac_config_files in *"
14533 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14534 esac
14535
14536 case $ac_config_headers in *"
14537 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14538 esac
14539
14540
14541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14542 # Files that config.status was made for.
14543 config_files="$ac_config_files"
14544 config_headers="$ac_config_headers"
14545 config_commands="$ac_config_commands"
14546
14547 _ACEOF
14548
14549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14550 ac_cs_usage="\
14551 \`$as_me' instantiates files and other configuration actions
14552 from templates according to the current configuration.  Unless the files
14553 and actions are specified as TAGs, all are instantiated by default.
14554
14555 Usage: $0 [OPTION]... [TAG]...
14556
14557   -h, --help       print this help, then exit
14558   -V, --version    print version number and configuration settings, then exit
14559       --config     print configuration, then exit
14560   -q, --quiet, --silent
14561                    do not print progress messages
14562   -d, --debug      don't remove temporary files
14563       --recheck    update $as_me by reconfiguring in the same conditions
14564       --file=FILE[:TEMPLATE]
14565                    instantiate the configuration file FILE
14566       --header=FILE[:TEMPLATE]
14567                    instantiate the configuration header FILE
14568
14569 Configuration files:
14570 $config_files
14571
14572 Configuration headers:
14573 $config_headers
14574
14575 Configuration commands:
14576 $config_commands
14577
14578 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
14579 rygel-gst-0-10-fullscreen-renderer home page: <http://live.gnome.org/Rygel>."
14580
14581 _ACEOF
14582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14583 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14584 ac_cs_version="\\
14585 rygel-gst-0-10-fullscreen-renderer config.status 1.17.4
14586 configured by $0, generated by GNU Autoconf 2.69,
14587   with options \\"\$ac_cs_config\\"
14588
14589 Copyright (C) 2012 Free Software Foundation, Inc.
14590 This config.status script is free software; the Free Software Foundation
14591 gives unlimited permission to copy, distribute and modify it."
14592
14593 ac_pwd='$ac_pwd'
14594 srcdir='$srcdir'
14595 INSTALL='$INSTALL'
14596 MKDIR_P='$MKDIR_P'
14597 AWK='$AWK'
14598 test -n "\$AWK" || AWK=awk
14599 _ACEOF
14600
14601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14602 # The default lists apply if the user does not specify any file.
14603 ac_need_defaults=:
14604 while test $# != 0
14605 do
14606   case $1 in
14607   --*=?*)
14608     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14609     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14610     ac_shift=:
14611     ;;
14612   --*=)
14613     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14614     ac_optarg=
14615     ac_shift=:
14616     ;;
14617   *)
14618     ac_option=$1
14619     ac_optarg=$2
14620     ac_shift=shift
14621     ;;
14622   esac
14623
14624   case $ac_option in
14625   # Handling of the options.
14626   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14627     ac_cs_recheck=: ;;
14628   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14629     $as_echo "$ac_cs_version"; exit ;;
14630   --config | --confi | --conf | --con | --co | --c )
14631     $as_echo "$ac_cs_config"; exit ;;
14632   --debug | --debu | --deb | --de | --d | -d )
14633     debug=: ;;
14634   --file | --fil | --fi | --f )
14635     $ac_shift
14636     case $ac_optarg in
14637     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14638     '') as_fn_error $? "missing file argument" ;;
14639     esac
14640     as_fn_append CONFIG_FILES " '$ac_optarg'"
14641     ac_need_defaults=false;;
14642   --header | --heade | --head | --hea )
14643     $ac_shift
14644     case $ac_optarg in
14645     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14646     esac
14647     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14648     ac_need_defaults=false;;
14649   --he | --h)
14650     # Conflict between --help and --header
14651     as_fn_error $? "ambiguous option: \`$1'
14652 Try \`$0 --help' for more information.";;
14653   --help | --hel | -h )
14654     $as_echo "$ac_cs_usage"; exit ;;
14655   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14656   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14657     ac_cs_silent=: ;;
14658
14659   # This is an error.
14660   -*) as_fn_error $? "unrecognized option: \`$1'
14661 Try \`$0 --help' for more information." ;;
14662
14663   *) as_fn_append ac_config_targets " $1"
14664      ac_need_defaults=false ;;
14665
14666   esac
14667   shift
14668 done
14669
14670 ac_configure_extra_args=
14671
14672 if $ac_cs_silent; then
14673   exec 6>/dev/null
14674   ac_configure_extra_args="$ac_configure_extra_args --silent"
14675 fi
14676
14677 _ACEOF
14678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14679 if \$ac_cs_recheck; then
14680   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14681   shift
14682   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14683   CONFIG_SHELL='$SHELL'
14684   export CONFIG_SHELL
14685   exec "\$@"
14686 fi
14687
14688 _ACEOF
14689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14690 exec 5>>config.log
14691 {
14692   echo
14693   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14694 ## Running $as_me. ##
14695 _ASBOX
14696   $as_echo "$ac_log"
14697 } >&5
14698
14699 _ACEOF
14700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14701 #
14702 # INIT-COMMANDS
14703 #
14704 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14705
14706
14707 # The HP-UX ksh and POSIX shell print the target directory to stdout
14708 # if CDPATH is set.
14709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14710
14711 sed_quote_subst='$sed_quote_subst'
14712 double_quote_subst='$double_quote_subst'
14713 delay_variable_subst='$delay_variable_subst'
14714 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14715 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14716 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14717 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14718 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14719 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14720 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14721 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14722 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14723 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14724 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14725 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14726 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14727 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14728 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14729 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14730 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14731 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14732 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14733 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14734 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14735 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14736 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14737 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14738 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14739 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14740 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14741 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14742 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14743 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14744 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14745 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14746 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14747 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14748 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14749 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14750 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14751 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14752 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14753 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14754 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14755 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14756 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14757 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14758 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14759 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14760 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14761 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14762 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14763 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14764 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14765 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14766 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14767 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14768 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14770 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"`'
14771 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14772 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14773 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14774 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14775 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14776 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14777 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14778 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14779 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14780 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14781 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14782 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14783 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14784 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14785 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14786 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14787 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14788 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14789 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14790 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14791 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14792 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14793 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14794 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14795 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14796 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14797 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14798 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14799 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14800 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14801 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14802 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14803 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14804 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14805 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14806 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14807 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14808 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14809 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14810 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14811 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14812 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14813 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14814 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14815 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14816 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14817 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14818 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14819 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14820 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14821 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14822 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14823 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14824 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14825 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14826 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14827 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14828 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14829 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14830 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14831 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14832 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14833 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14834 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14835 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14836 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14837 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14838 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14839 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14840 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14841 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14842 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14843 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14844
14845 LTCC='$LTCC'
14846 LTCFLAGS='$LTCFLAGS'
14847 compiler='$compiler_DEFAULT'
14848
14849 # A function that is used when there is no print builtin or printf.
14850 func_fallback_echo ()
14851 {
14852   eval 'cat <<_LTECHO_EOF
14853 \$1
14854 _LTECHO_EOF'
14855 }
14856
14857 # Quote evaled strings.
14858 for var in SHELL \
14859 ECHO \
14860 PATH_SEPARATOR \
14861 SED \
14862 GREP \
14863 EGREP \
14864 FGREP \
14865 LD \
14866 NM \
14867 LN_S \
14868 lt_SP2NL \
14869 lt_NL2SP \
14870 reload_flag \
14871 OBJDUMP \
14872 deplibs_check_method \
14873 file_magic_cmd \
14874 file_magic_glob \
14875 want_nocaseglob \
14876 DLLTOOL \
14877 sharedlib_from_linklib_cmd \
14878 AR \
14879 AR_FLAGS \
14880 archiver_list_spec \
14881 STRIP \
14882 RANLIB \
14883 CC \
14884 CFLAGS \
14885 compiler \
14886 lt_cv_sys_global_symbol_pipe \
14887 lt_cv_sys_global_symbol_to_cdecl \
14888 lt_cv_sys_global_symbol_to_c_name_address \
14889 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14890 nm_file_list_spec \
14891 lt_prog_compiler_no_builtin_flag \
14892 lt_prog_compiler_pic \
14893 lt_prog_compiler_wl \
14894 lt_prog_compiler_static \
14895 lt_cv_prog_compiler_c_o \
14896 need_locks \
14897 MANIFEST_TOOL \
14898 DSYMUTIL \
14899 NMEDIT \
14900 LIPO \
14901 OTOOL \
14902 OTOOL64 \
14903 shrext_cmds \
14904 export_dynamic_flag_spec \
14905 whole_archive_flag_spec \
14906 compiler_needs_object \
14907 with_gnu_ld \
14908 allow_undefined_flag \
14909 no_undefined_flag \
14910 hardcode_libdir_flag_spec \
14911 hardcode_libdir_separator \
14912 exclude_expsyms \
14913 include_expsyms \
14914 file_list_spec \
14915 variables_saved_for_relink \
14916 libname_spec \
14917 library_names_spec \
14918 soname_spec \
14919 install_override_mode \
14920 finish_eval \
14921 old_striplib \
14922 striplib; do
14923     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14924     *[\\\\\\\`\\"\\\$]*)
14925       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14926       ;;
14927     *)
14928       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14929       ;;
14930     esac
14931 done
14932
14933 # Double-quote double-evaled strings.
14934 for var in reload_cmds \
14935 old_postinstall_cmds \
14936 old_postuninstall_cmds \
14937 old_archive_cmds \
14938 extract_expsyms_cmds \
14939 old_archive_from_new_cmds \
14940 old_archive_from_expsyms_cmds \
14941 archive_cmds \
14942 archive_expsym_cmds \
14943 module_cmds \
14944 module_expsym_cmds \
14945 export_symbols_cmds \
14946 prelink_cmds \
14947 postlink_cmds \
14948 postinstall_cmds \
14949 postuninstall_cmds \
14950 finish_cmds \
14951 sys_lib_search_path_spec \
14952 sys_lib_dlsearch_path_spec; do
14953     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14954     *[\\\\\\\`\\"\\\$]*)
14955       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14956       ;;
14957     *)
14958       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14959       ;;
14960     esac
14961 done
14962
14963 ac_aux_dir='$ac_aux_dir'
14964 xsi_shell='$xsi_shell'
14965 lt_shell_append='$lt_shell_append'
14966
14967 # See if we are running on zsh, and set the options which allow our
14968 # commands through without removal of \ escapes INIT.
14969 if test -n "\${ZSH_VERSION+set}" ; then
14970    setopt NO_GLOB_SUBST
14971 fi
14972
14973
14974     PACKAGE='$PACKAGE'
14975     VERSION='$VERSION'
14976     TIMESTAMP='$TIMESTAMP'
14977     RM='$RM'
14978     ofile='$ofile'
14979
14980
14981
14982
14983
14984 _ACEOF
14985
14986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14987
14988 # Handling of arguments.
14989 for ac_config_target in $ac_config_targets
14990 do
14991   case $ac_config_target in
14992     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14993     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14994     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14995     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14996     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14997     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14998     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14999     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15000
15001   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15002   esac
15003 done
15004
15005
15006 # If the user did not use the arguments to specify the items to instantiate,
15007 # then the envvar interface is used.  Set only those that are not.
15008 # We use the long form for the default assignment because of an extremely
15009 # bizarre bug on SunOS 4.1.3.
15010 if $ac_need_defaults; then
15011   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15012   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15013   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15014 fi
15015
15016 # Have a temporary directory for convenience.  Make it in the build tree
15017 # simply because there is no reason against having it here, and in addition,
15018 # creating and moving files from /tmp can sometimes cause problems.
15019 # Hook for its removal unless debugging.
15020 # Note that there is a small window in which the directory will not be cleaned:
15021 # after its creation but before its name has been assigned to `$tmp'.
15022 $debug ||
15023 {
15024   tmp= ac_tmp=
15025   trap 'exit_status=$?
15026   : "${ac_tmp:=$tmp}"
15027   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15028 ' 0
15029   trap 'as_fn_exit 1' 1 2 13 15
15030 }
15031 # Create a (secure) tmp directory for tmp files.
15032
15033 {
15034   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15035   test -d "$tmp"
15036 }  ||
15037 {
15038   tmp=./conf$$-$RANDOM
15039   (umask 077 && mkdir "$tmp")
15040 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15041 ac_tmp=$tmp
15042
15043 # Set up the scripts for CONFIG_FILES section.
15044 # No need to generate them if there are no CONFIG_FILES.
15045 # This happens for instance with `./config.status config.h'.
15046 if test -n "$CONFIG_FILES"; then
15047
15048
15049 ac_cr=`echo X | tr X '\015'`
15050 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15051 # But we know of no other shell where ac_cr would be empty at this
15052 # point, so we can use a bashism as a fallback.
15053 if test "x$ac_cr" = x; then
15054   eval ac_cr=\$\'\\r\'
15055 fi
15056 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15057 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15058   ac_cs_awk_cr='\\r'
15059 else
15060   ac_cs_awk_cr=$ac_cr
15061 fi
15062
15063 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15064 _ACEOF
15065
15066
15067 {
15068   echo "cat >conf$$subs.awk <<_ACEOF" &&
15069   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15070   echo "_ACEOF"
15071 } >conf$$subs.sh ||
15072   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15073 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15074 ac_delim='%!_!# '
15075 for ac_last_try in false false false false false :; do
15076   . ./conf$$subs.sh ||
15077     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15078
15079   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15080   if test $ac_delim_n = $ac_delim_num; then
15081     break
15082   elif $ac_last_try; then
15083     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15084   else
15085     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15086   fi
15087 done
15088 rm -f conf$$subs.sh
15089
15090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15091 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15092 _ACEOF
15093 sed -n '
15094 h
15095 s/^/S["/; s/!.*/"]=/
15096 p
15097 g
15098 s/^[^!]*!//
15099 :repl
15100 t repl
15101 s/'"$ac_delim"'$//
15102 t delim
15103 :nl
15104 h
15105 s/\(.\{148\}\)..*/\1/
15106 t more1
15107 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15108 p
15109 n
15110 b repl
15111 :more1
15112 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15113 p
15114 g
15115 s/.\{148\}//
15116 t nl
15117 :delim
15118 h
15119 s/\(.\{148\}\)..*/\1/
15120 t more2
15121 s/["\\]/\\&/g; s/^/"/; s/$/"/
15122 p
15123 b
15124 :more2
15125 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15126 p
15127 g
15128 s/.\{148\}//
15129 t delim
15130 ' <conf$$subs.awk | sed '
15131 /^[^""]/{
15132   N
15133   s/\n//
15134 }
15135 ' >>$CONFIG_STATUS || ac_write_fail=1
15136 rm -f conf$$subs.awk
15137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15138 _ACAWK
15139 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15140   for (key in S) S_is_set[key] = 1
15141   FS = "\a"
15142
15143 }
15144 {
15145   line = $ 0
15146   nfields = split(line, field, "@")
15147   substed = 0
15148   len = length(field[1])
15149   for (i = 2; i < nfields; i++) {
15150     key = field[i]
15151     keylen = length(key)
15152     if (S_is_set[key]) {
15153       value = S[key]
15154       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15155       len += length(value) + length(field[++i])
15156       substed = 1
15157     } else
15158       len += 1 + keylen
15159   }
15160
15161   print line
15162 }
15163
15164 _ACAWK
15165 _ACEOF
15166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15167 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15168   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15169 else
15170   cat
15171 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15172   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15173 _ACEOF
15174
15175 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15176 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15177 # trailing colons and then remove the whole line if VPATH becomes empty
15178 # (actually we leave an empty line to preserve line numbers).
15179 if test "x$srcdir" = x.; then
15180   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15181 h
15182 s///
15183 s/^/:/
15184 s/[      ]*$/:/
15185 s/:\$(srcdir):/:/g
15186 s/:\${srcdir}:/:/g
15187 s/:@srcdir@:/:/g
15188 s/^:*//
15189 s/:*$//
15190 x
15191 s/\(=[   ]*\).*/\1/
15192 G
15193 s/\n//
15194 s/^[^=]*=[       ]*$//
15195 }'
15196 fi
15197
15198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15199 fi # test -n "$CONFIG_FILES"
15200
15201 # Set up the scripts for CONFIG_HEADERS section.
15202 # No need to generate them if there are no CONFIG_HEADERS.
15203 # This happens for instance with `./config.status Makefile'.
15204 if test -n "$CONFIG_HEADERS"; then
15205 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15206 BEGIN {
15207 _ACEOF
15208
15209 # Transform confdefs.h into an awk script `defines.awk', embedded as
15210 # here-document in config.status, that substitutes the proper values into
15211 # config.h.in to produce config.h.
15212
15213 # Create a delimiter string that does not exist in confdefs.h, to ease
15214 # handling of long lines.
15215 ac_delim='%!_!# '
15216 for ac_last_try in false false :; do
15217   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15218   if test -z "$ac_tt"; then
15219     break
15220   elif $ac_last_try; then
15221     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15222   else
15223     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15224   fi
15225 done
15226
15227 # For the awk script, D is an array of macro values keyed by name,
15228 # likewise P contains macro parameters if any.  Preserve backslash
15229 # newline sequences.
15230
15231 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15232 sed -n '
15233 s/.\{148\}/&'"$ac_delim"'/g
15234 t rset
15235 :rset
15236 s/^[     ]*#[    ]*define[       ][      ]*/ /
15237 t def
15238 d
15239 :def
15240 s/\\$//
15241 t bsnl
15242 s/["\\]/\\&/g
15243 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15244 D["\1"]=" \3"/p
15245 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15246 d
15247 :bsnl
15248 s/["\\]/\\&/g
15249 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15250 D["\1"]=" \3\\\\\\n"\\/p
15251 t cont
15252 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15253 t cont
15254 d
15255 :cont
15256 n
15257 s/.\{148\}/&'"$ac_delim"'/g
15258 t clear
15259 :clear
15260 s/\\$//
15261 t bsnlc
15262 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15263 d
15264 :bsnlc
15265 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15266 b cont
15267 ' <confdefs.h | sed '
15268 s/'"$ac_delim"'/"\\\
15269 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15270
15271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15272   for (key in D) D_is_set[key] = 1
15273   FS = "\a"
15274 }
15275 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15276   line = \$ 0
15277   split(line, arg, " ")
15278   if (arg[1] == "#") {
15279     defundef = arg[2]
15280     mac1 = arg[3]
15281   } else {
15282     defundef = substr(arg[1], 2)
15283     mac1 = arg[2]
15284   }
15285   split(mac1, mac2, "(") #)
15286   macro = mac2[1]
15287   prefix = substr(line, 1, index(line, defundef) - 1)
15288   if (D_is_set[macro]) {
15289     # Preserve the white space surrounding the "#".
15290     print prefix "define", macro P[macro] D[macro]
15291     next
15292   } else {
15293     # Replace #undef with comments.  This is necessary, for example,
15294     # in the case of _POSIX_SOURCE, which is predefined and required
15295     # on some systems where configure will not decide to define it.
15296     if (defundef == "undef") {
15297       print "/*", prefix defundef, macro, "*/"
15298       next
15299     }
15300   }
15301 }
15302 { print }
15303 _ACAWK
15304 _ACEOF
15305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15306   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15307 fi # test -n "$CONFIG_HEADERS"
15308
15309
15310 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15311 shift
15312 for ac_tag
15313 do
15314   case $ac_tag in
15315   :[FHLC]) ac_mode=$ac_tag; continue;;
15316   esac
15317   case $ac_mode$ac_tag in
15318   :[FHL]*:*);;
15319   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15320   :[FH]-) ac_tag=-:-;;
15321   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15322   esac
15323   ac_save_IFS=$IFS
15324   IFS=:
15325   set x $ac_tag
15326   IFS=$ac_save_IFS
15327   shift
15328   ac_file=$1
15329   shift
15330
15331   case $ac_mode in
15332   :L) ac_source=$1;;
15333   :[FH])
15334     ac_file_inputs=
15335     for ac_f
15336     do
15337       case $ac_f in
15338       -) ac_f="$ac_tmp/stdin";;
15339       *) # Look for the file first in the build tree, then in the source tree
15340          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15341          # because $ac_f cannot contain `:'.
15342          test -f "$ac_f" ||
15343            case $ac_f in
15344            [\\/$]*) false;;
15345            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15346            esac ||
15347            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15348       esac
15349       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15350       as_fn_append ac_file_inputs " '$ac_f'"
15351     done
15352
15353     # Let's still pretend it is `configure' which instantiates (i.e., don't
15354     # use $as_me), people would be surprised to read:
15355     #    /* config.h.  Generated by config.status.  */
15356     configure_input='Generated from '`
15357           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15358         `' by configure.'
15359     if test x"$ac_file" != x-; then
15360       configure_input="$ac_file.  $configure_input"
15361       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15362 $as_echo "$as_me: creating $ac_file" >&6;}
15363     fi
15364     # Neutralize special characters interpreted by sed in replacement strings.
15365     case $configure_input in #(
15366     *\&* | *\|* | *\\* )
15367        ac_sed_conf_input=`$as_echo "$configure_input" |
15368        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15369     *) ac_sed_conf_input=$configure_input;;
15370     esac
15371
15372     case $ac_tag in
15373     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15374       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15375     esac
15376     ;;
15377   esac
15378
15379   ac_dir=`$as_dirname -- "$ac_file" ||
15380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15381          X"$ac_file" : 'X\(//\)[^/]' \| \
15382          X"$ac_file" : 'X\(//\)$' \| \
15383          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15384 $as_echo X"$ac_file" |
15385     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15386             s//\1/
15387             q
15388           }
15389           /^X\(\/\/\)[^/].*/{
15390             s//\1/
15391             q
15392           }
15393           /^X\(\/\/\)$/{
15394             s//\1/
15395             q
15396           }
15397           /^X\(\/\).*/{
15398             s//\1/
15399             q
15400           }
15401           s/.*/./; q'`
15402   as_dir="$ac_dir"; as_fn_mkdir_p
15403   ac_builddir=.
15404
15405 case "$ac_dir" in
15406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15407 *)
15408   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15409   # A ".." for each directory in $ac_dir_suffix.
15410   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15411   case $ac_top_builddir_sub in
15412   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15413   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15414   esac ;;
15415 esac
15416 ac_abs_top_builddir=$ac_pwd
15417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15418 # for backward compatibility:
15419 ac_top_builddir=$ac_top_build_prefix
15420
15421 case $srcdir in
15422   .)  # We are building in place.
15423     ac_srcdir=.
15424     ac_top_srcdir=$ac_top_builddir_sub
15425     ac_abs_top_srcdir=$ac_pwd ;;
15426   [\\/]* | ?:[\\/]* )  # Absolute name.
15427     ac_srcdir=$srcdir$ac_dir_suffix;
15428     ac_top_srcdir=$srcdir
15429     ac_abs_top_srcdir=$srcdir ;;
15430   *) # Relative name.
15431     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15432     ac_top_srcdir=$ac_top_build_prefix$srcdir
15433     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15434 esac
15435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15436
15437
15438   case $ac_mode in
15439   :F)
15440   #
15441   # CONFIG_FILE
15442   #
15443
15444   case $INSTALL in
15445   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15446   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15447   esac
15448   ac_MKDIR_P=$MKDIR_P
15449   case $MKDIR_P in
15450   [\\/$]* | ?:[\\/]* ) ;;
15451   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15452   esac
15453 _ACEOF
15454
15455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15456 # If the template does not know about datarootdir, expand it.
15457 # FIXME: This hack should be removed a few years after 2.60.
15458 ac_datarootdir_hack=; ac_datarootdir_seen=
15459 ac_sed_dataroot='
15460 /datarootdir/ {
15461   p
15462   q
15463 }
15464 /@datadir@/p
15465 /@docdir@/p
15466 /@infodir@/p
15467 /@localedir@/p
15468 /@mandir@/p'
15469 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15470 *datarootdir*) ac_datarootdir_seen=yes;;
15471 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15472   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15473 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15474 _ACEOF
15475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15476   ac_datarootdir_hack='
15477   s&@datadir@&$datadir&g
15478   s&@docdir@&$docdir&g
15479   s&@infodir@&$infodir&g
15480   s&@localedir@&$localedir&g
15481   s&@mandir@&$mandir&g
15482   s&\\\${datarootdir}&$datarootdir&g' ;;
15483 esac
15484 _ACEOF
15485
15486 # Neutralize VPATH when `$srcdir' = `.'.
15487 # Shell code in configure.ac might set extrasub.
15488 # FIXME: do we really want to maintain this feature?
15489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15490 ac_sed_extra="$ac_vpsub
15491 $extrasub
15492 _ACEOF
15493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15494 :t
15495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15496 s|@configure_input@|$ac_sed_conf_input|;t t
15497 s&@top_builddir@&$ac_top_builddir_sub&;t t
15498 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15499 s&@srcdir@&$ac_srcdir&;t t
15500 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15501 s&@top_srcdir@&$ac_top_srcdir&;t t
15502 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15503 s&@builddir@&$ac_builddir&;t t
15504 s&@abs_builddir@&$ac_abs_builddir&;t t
15505 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15506 s&@INSTALL@&$ac_INSTALL&;t t
15507 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15508 $ac_datarootdir_hack
15509 "
15510 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15511   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15512
15513 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15514   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15515   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15516       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15517   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15518 which seems to be undefined.  Please make sure it is defined" >&5
15519 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15520 which seems to be undefined.  Please make sure it is defined" >&2;}
15521
15522   rm -f "$ac_tmp/stdin"
15523   case $ac_file in
15524   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15525   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15526   esac \
15527   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15528  ;;
15529   :H)
15530   #
15531   # CONFIG_HEADER
15532   #
15533   if test x"$ac_file" != x-; then
15534     {
15535       $as_echo "/* $configure_input  */" \
15536       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15537     } >"$ac_tmp/config.h" \
15538       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15539     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15540       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15541 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15542     else
15543       rm -f "$ac_file"
15544       mv "$ac_tmp/config.h" "$ac_file" \
15545         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15546     fi
15547   else
15548     $as_echo "/* $configure_input  */" \
15549       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15550       || as_fn_error $? "could not create -" "$LINENO" 5
15551   fi
15552 # Compute "$ac_file"'s index in $config_headers.
15553 _am_arg="$ac_file"
15554 _am_stamp_count=1
15555 for _am_header in $config_headers :; do
15556   case $_am_header in
15557     $_am_arg | $_am_arg:* )
15558       break ;;
15559     * )
15560       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15561   esac
15562 done
15563 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15564 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15565          X"$_am_arg" : 'X\(//\)[^/]' \| \
15566          X"$_am_arg" : 'X\(//\)$' \| \
15567          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15568 $as_echo X"$_am_arg" |
15569     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15570             s//\1/
15571             q
15572           }
15573           /^X\(\/\/\)[^/].*/{
15574             s//\1/
15575             q
15576           }
15577           /^X\(\/\/\)$/{
15578             s//\1/
15579             q
15580           }
15581           /^X\(\/\).*/{
15582             s//\1/
15583             q
15584           }
15585           s/.*/./; q'`/stamp-h$_am_stamp_count
15586  ;;
15587
15588   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15589 $as_echo "$as_me: executing $ac_file commands" >&6;}
15590  ;;
15591   esac
15592
15593
15594   case $ac_file$ac_mode in
15595     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15596   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15597   # are listed without --file.  Let's play safe and only enable the eval
15598   # if we detect the quoting.
15599   case $CONFIG_FILES in
15600   *\'*) eval set x "$CONFIG_FILES" ;;
15601   *)   set x $CONFIG_FILES ;;
15602   esac
15603   shift
15604   for mf
15605   do
15606     # Strip MF so we end up with the name of the file.
15607     mf=`echo "$mf" | sed -e 's/:.*$//'`
15608     # Check whether this is an Automake generated Makefile or not.
15609     # We used to match only the files named `Makefile.in', but
15610     # some people rename them; so instead we look at the file content.
15611     # Grep'ing the first line is not enough: some people post-process
15612     # each Makefile.in and add a new line on top of each file to say so.
15613     # Grep'ing the whole file is not good either: AIX grep has a line
15614     # limit of 2048, but all sed's we know have understand at least 4000.
15615     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15616       dirpart=`$as_dirname -- "$mf" ||
15617 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15618          X"$mf" : 'X\(//\)[^/]' \| \
15619          X"$mf" : 'X\(//\)$' \| \
15620          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15621 $as_echo X"$mf" |
15622     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15623             s//\1/
15624             q
15625           }
15626           /^X\(\/\/\)[^/].*/{
15627             s//\1/
15628             q
15629           }
15630           /^X\(\/\/\)$/{
15631             s//\1/
15632             q
15633           }
15634           /^X\(\/\).*/{
15635             s//\1/
15636             q
15637           }
15638           s/.*/./; q'`
15639     else
15640       continue
15641     fi
15642     # Extract the definition of DEPDIR, am__include, and am__quote
15643     # from the Makefile without running `make'.
15644     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15645     test -z "$DEPDIR" && continue
15646     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15647     test -z "am__include" && continue
15648     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15649     # When using ansi2knr, U may be empty or an underscore; expand it
15650     U=`sed -n 's/^U = //p' < "$mf"`
15651     # Find all dependency output files, they are included files with
15652     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15653     # simplest approach to changing $(DEPDIR) to its actual value in the
15654     # expansion.
15655     for file in `sed -n "
15656       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15657          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15658       # Make sure the directory exists.
15659       test -f "$dirpart/$file" && continue
15660       fdir=`$as_dirname -- "$file" ||
15661 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15662          X"$file" : 'X\(//\)[^/]' \| \
15663          X"$file" : 'X\(//\)$' \| \
15664          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15665 $as_echo X"$file" |
15666     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15667             s//\1/
15668             q
15669           }
15670           /^X\(\/\/\)[^/].*/{
15671             s//\1/
15672             q
15673           }
15674           /^X\(\/\/\)$/{
15675             s//\1/
15676             q
15677           }
15678           /^X\(\/\).*/{
15679             s//\1/
15680             q
15681           }
15682           s/.*/./; q'`
15683       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15684       # echo "creating $dirpart/$file"
15685       echo '# dummy' > "$dirpart/$file"
15686     done
15687   done
15688 }
15689  ;;
15690     "libtool":C)
15691
15692     # See if we are running on zsh, and set the options which allow our
15693     # commands through without removal of \ escapes.
15694     if test -n "${ZSH_VERSION+set}" ; then
15695       setopt NO_GLOB_SUBST
15696     fi
15697
15698     cfgfile="${ofile}T"
15699     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15700     $RM "$cfgfile"
15701
15702     cat <<_LT_EOF >> "$cfgfile"
15703 #! $SHELL
15704
15705 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15706 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15707 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15708 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15709 #
15710 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15711 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15712 #                 Foundation, Inc.
15713 #   Written by Gordon Matzigkeit, 1996
15714 #
15715 #   This file is part of GNU Libtool.
15716 #
15717 # GNU Libtool is free software; you can redistribute it and/or
15718 # modify it under the terms of the GNU General Public License as
15719 # published by the Free Software Foundation; either version 2 of
15720 # the License, or (at your option) any later version.
15721 #
15722 # As a special exception to the GNU General Public License,
15723 # if you distribute this file as part of a program or library that
15724 # is built using GNU Libtool, you may include this file under the
15725 # same distribution terms that you use for the rest of that program.
15726 #
15727 # GNU Libtool is distributed in the hope that it will be useful,
15728 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15729 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15730 # GNU General Public License for more details.
15731 #
15732 # You should have received a copy of the GNU General Public License
15733 # along with GNU Libtool; see the file COPYING.  If not, a copy
15734 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15735 # obtained by writing to the Free Software Foundation, Inc.,
15736 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15737
15738
15739 # The names of the tagged configurations supported by this script.
15740 available_tags=""
15741
15742 # ### BEGIN LIBTOOL CONFIG
15743
15744 # Which release of libtool.m4 was used?
15745 macro_version=$macro_version
15746 macro_revision=$macro_revision
15747
15748 # Whether or not to build static libraries.
15749 build_old_libs=$enable_static
15750
15751 # Whether or not to build shared libraries.
15752 build_libtool_libs=$enable_shared
15753
15754 # What type of objects to build.
15755 pic_mode=$pic_mode
15756
15757 # Whether or not to optimize for fast installation.
15758 fast_install=$enable_fast_install
15759
15760 # Shell to use when invoking shell scripts.
15761 SHELL=$lt_SHELL
15762
15763 # An echo program that protects backslashes.
15764 ECHO=$lt_ECHO
15765
15766 # The PATH separator for the build system.
15767 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15768
15769 # The host system.
15770 host_alias=$host_alias
15771 host=$host
15772 host_os=$host_os
15773
15774 # The build system.
15775 build_alias=$build_alias
15776 build=$build
15777 build_os=$build_os
15778
15779 # A sed program that does not truncate output.
15780 SED=$lt_SED
15781
15782 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15783 Xsed="\$SED -e 1s/^X//"
15784
15785 # A grep program that handles long lines.
15786 GREP=$lt_GREP
15787
15788 # An ERE matcher.
15789 EGREP=$lt_EGREP
15790
15791 # A literal string matcher.
15792 FGREP=$lt_FGREP
15793
15794 # A BSD- or MS-compatible name lister.
15795 NM=$lt_NM
15796
15797 # Whether we need soft or hard links.
15798 LN_S=$lt_LN_S
15799
15800 # What is the maximum length of a command?
15801 max_cmd_len=$max_cmd_len
15802
15803 # Object file suffix (normally "o").
15804 objext=$ac_objext
15805
15806 # Executable file suffix (normally "").
15807 exeext=$exeext
15808
15809 # whether the shell understands "unset".
15810 lt_unset=$lt_unset
15811
15812 # turn spaces into newlines.
15813 SP2NL=$lt_lt_SP2NL
15814
15815 # turn newlines into spaces.
15816 NL2SP=$lt_lt_NL2SP
15817
15818 # convert \$build file names to \$host format.
15819 to_host_file_cmd=$lt_cv_to_host_file_cmd
15820
15821 # convert \$build files to toolchain format.
15822 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15823
15824 # An object symbol dumper.
15825 OBJDUMP=$lt_OBJDUMP
15826
15827 # Method to check whether dependent libraries are shared objects.
15828 deplibs_check_method=$lt_deplibs_check_method
15829
15830 # Command to use when deplibs_check_method = "file_magic".
15831 file_magic_cmd=$lt_file_magic_cmd
15832
15833 # How to find potential files when deplibs_check_method = "file_magic".
15834 file_magic_glob=$lt_file_magic_glob
15835
15836 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15837 want_nocaseglob=$lt_want_nocaseglob
15838
15839 # DLL creation program.
15840 DLLTOOL=$lt_DLLTOOL
15841
15842 # Command to associate shared and link libraries.
15843 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15844
15845 # The archiver.
15846 AR=$lt_AR
15847
15848 # Flags to create an archive.
15849 AR_FLAGS=$lt_AR_FLAGS
15850
15851 # How to feed a file listing to the archiver.
15852 archiver_list_spec=$lt_archiver_list_spec
15853
15854 # A symbol stripping program.
15855 STRIP=$lt_STRIP
15856
15857 # Commands used to install an old-style archive.
15858 RANLIB=$lt_RANLIB
15859 old_postinstall_cmds=$lt_old_postinstall_cmds
15860 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15861
15862 # Whether to use a lock for old archive extraction.
15863 lock_old_archive_extraction=$lock_old_archive_extraction
15864
15865 # A C compiler.
15866 LTCC=$lt_CC
15867
15868 # LTCC compiler flags.
15869 LTCFLAGS=$lt_CFLAGS
15870
15871 # Take the output of nm and produce a listing of raw symbols and C names.
15872 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15873
15874 # Transform the output of nm in a proper C declaration.
15875 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15876
15877 # Transform the output of nm in a C name address pair.
15878 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15879
15880 # Transform the output of nm in a C name address pair when lib prefix is needed.
15881 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15882
15883 # Specify filename containing input files for \$NM.
15884 nm_file_list_spec=$lt_nm_file_list_spec
15885
15886 # The root where to search for dependent libraries,and in which our libraries should be installed.
15887 lt_sysroot=$lt_sysroot
15888
15889 # The name of the directory that contains temporary libtool files.
15890 objdir=$objdir
15891
15892 # Used to examine libraries when file_magic_cmd begins with "file".
15893 MAGIC_CMD=$MAGIC_CMD
15894
15895 # Must we lock files when doing compilation?
15896 need_locks=$lt_need_locks
15897
15898 # Manifest tool.
15899 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15900
15901 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15902 DSYMUTIL=$lt_DSYMUTIL
15903
15904 # Tool to change global to local symbols on Mac OS X.
15905 NMEDIT=$lt_NMEDIT
15906
15907 # Tool to manipulate fat objects and archives on Mac OS X.
15908 LIPO=$lt_LIPO
15909
15910 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15911 OTOOL=$lt_OTOOL
15912
15913 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15914 OTOOL64=$lt_OTOOL64
15915
15916 # Old archive suffix (normally "a").
15917 libext=$libext
15918
15919 # Shared library suffix (normally ".so").
15920 shrext_cmds=$lt_shrext_cmds
15921
15922 # The commands to extract the exported symbol list from a shared archive.
15923 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15924
15925 # Variables whose values should be saved in libtool wrapper scripts and
15926 # restored at link time.
15927 variables_saved_for_relink=$lt_variables_saved_for_relink
15928
15929 # Do we need the "lib" prefix for modules?
15930 need_lib_prefix=$need_lib_prefix
15931
15932 # Do we need a version for libraries?
15933 need_version=$need_version
15934
15935 # Library versioning type.
15936 version_type=$version_type
15937
15938 # Shared library runtime path variable.
15939 runpath_var=$runpath_var
15940
15941 # Shared library path variable.
15942 shlibpath_var=$shlibpath_var
15943
15944 # Is shlibpath searched before the hard-coded library search path?
15945 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15946
15947 # Format of library name prefix.
15948 libname_spec=$lt_libname_spec
15949
15950 # List of archive names.  First name is the real one, the rest are links.
15951 # The last name is the one that the linker finds with -lNAME
15952 library_names_spec=$lt_library_names_spec
15953
15954 # The coded name of the library, if different from the real name.
15955 soname_spec=$lt_soname_spec
15956
15957 # Permission mode override for installation of shared libraries.
15958 install_override_mode=$lt_install_override_mode
15959
15960 # Command to use after installation of a shared archive.
15961 postinstall_cmds=$lt_postinstall_cmds
15962
15963 # Command to use after uninstallation of a shared archive.
15964 postuninstall_cmds=$lt_postuninstall_cmds
15965
15966 # Commands used to finish a libtool library installation in a directory.
15967 finish_cmds=$lt_finish_cmds
15968
15969 # As "finish_cmds", except a single script fragment to be evaled but
15970 # not shown.
15971 finish_eval=$lt_finish_eval
15972
15973 # Whether we should hardcode library paths into libraries.
15974 hardcode_into_libs=$hardcode_into_libs
15975
15976 # Compile-time system search path for libraries.
15977 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15978
15979 # Run-time system search path for libraries.
15980 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15981
15982 # Whether dlopen is supported.
15983 dlopen_support=$enable_dlopen
15984
15985 # Whether dlopen of programs is supported.
15986 dlopen_self=$enable_dlopen_self
15987
15988 # Whether dlopen of statically linked programs is supported.
15989 dlopen_self_static=$enable_dlopen_self_static
15990
15991 # Commands to strip libraries.
15992 old_striplib=$lt_old_striplib
15993 striplib=$lt_striplib
15994
15995
15996 # The linker used to build libraries.
15997 LD=$lt_LD
15998
15999 # How to create reloadable object files.
16000 reload_flag=$lt_reload_flag
16001 reload_cmds=$lt_reload_cmds
16002
16003 # Commands used to build an old-style archive.
16004 old_archive_cmds=$lt_old_archive_cmds
16005
16006 # A language specific compiler.
16007 CC=$lt_compiler
16008
16009 # Is the compiler the GNU compiler?
16010 with_gcc=$GCC
16011
16012 # Compiler flag to turn off builtin functions.
16013 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16014
16015 # Additional compiler flags for building library objects.
16016 pic_flag=$lt_lt_prog_compiler_pic
16017
16018 # How to pass a linker flag through the compiler.
16019 wl=$lt_lt_prog_compiler_wl
16020
16021 # Compiler flag to prevent dynamic linking.
16022 link_static_flag=$lt_lt_prog_compiler_static
16023
16024 # Does compiler simultaneously support -c and -o options?
16025 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16026
16027 # Whether or not to add -lc for building shared libraries.
16028 build_libtool_need_lc=$archive_cmds_need_lc
16029
16030 # Whether or not to disallow shared libs when runtime libs are static.
16031 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16032
16033 # Compiler flag to allow reflexive dlopens.
16034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16035
16036 # Compiler flag to generate shared objects directly from archives.
16037 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16038
16039 # Whether the compiler copes with passing no objects directly.
16040 compiler_needs_object=$lt_compiler_needs_object
16041
16042 # Create an old-style archive from a shared archive.
16043 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16044
16045 # Create a temporary old-style archive to link instead of a shared archive.
16046 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16047
16048 # Commands used to build a shared archive.
16049 archive_cmds=$lt_archive_cmds
16050 archive_expsym_cmds=$lt_archive_expsym_cmds
16051
16052 # Commands used to build a loadable module if different from building
16053 # a shared archive.
16054 module_cmds=$lt_module_cmds
16055 module_expsym_cmds=$lt_module_expsym_cmds
16056
16057 # Whether we are building with GNU ld or not.
16058 with_gnu_ld=$lt_with_gnu_ld
16059
16060 # Flag that allows shared libraries with undefined symbols to be built.
16061 allow_undefined_flag=$lt_allow_undefined_flag
16062
16063 # Flag that enforces no undefined symbols.
16064 no_undefined_flag=$lt_no_undefined_flag
16065
16066 # Flag to hardcode \$libdir into a binary during linking.
16067 # This must work even if \$libdir does not exist
16068 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16069
16070 # Whether we need a single "-rpath" flag with a separated argument.
16071 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16072
16073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16074 # DIR into the resulting binary.
16075 hardcode_direct=$hardcode_direct
16076
16077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16078 # DIR into the resulting binary and the resulting library dependency is
16079 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16080 # library is relocated.
16081 hardcode_direct_absolute=$hardcode_direct_absolute
16082
16083 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16084 # into the resulting binary.
16085 hardcode_minus_L=$hardcode_minus_L
16086
16087 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16088 # into the resulting binary.
16089 hardcode_shlibpath_var=$hardcode_shlibpath_var
16090
16091 # Set to "yes" if building a shared library automatically hardcodes DIR
16092 # into the library and all subsequent libraries and executables linked
16093 # against it.
16094 hardcode_automatic=$hardcode_automatic
16095
16096 # Set to yes if linker adds runtime paths of dependent libraries
16097 # to runtime path list.
16098 inherit_rpath=$inherit_rpath
16099
16100 # Whether libtool must link a program against all its dependency libraries.
16101 link_all_deplibs=$link_all_deplibs
16102
16103 # Set to "yes" if exported symbols are required.
16104 always_export_symbols=$always_export_symbols
16105
16106 # The commands to list exported symbols.
16107 export_symbols_cmds=$lt_export_symbols_cmds
16108
16109 # Symbols that should not be listed in the preloaded symbols.
16110 exclude_expsyms=$lt_exclude_expsyms
16111
16112 # Symbols that must always be exported.
16113 include_expsyms=$lt_include_expsyms
16114
16115 # Commands necessary for linking programs (against libraries) with templates.
16116 prelink_cmds=$lt_prelink_cmds
16117
16118 # Commands necessary for finishing linking programs.
16119 postlink_cmds=$lt_postlink_cmds
16120
16121 # Specify filename containing input files.
16122 file_list_spec=$lt_file_list_spec
16123
16124 # How to hardcode a shared library path into an executable.
16125 hardcode_action=$hardcode_action
16126
16127 # ### END LIBTOOL CONFIG
16128
16129 _LT_EOF
16130
16131   case $host_os in
16132   aix3*)
16133     cat <<\_LT_EOF >> "$cfgfile"
16134 # AIX sometimes has problems with the GCC collect2 program.  For some
16135 # reason, if we set the COLLECT_NAMES environment variable, the problems
16136 # vanish in a puff of smoke.
16137 if test "X${COLLECT_NAMES+set}" != Xset; then
16138   COLLECT_NAMES=
16139   export COLLECT_NAMES
16140 fi
16141 _LT_EOF
16142     ;;
16143   esac
16144
16145
16146 ltmain="$ac_aux_dir/ltmain.sh"
16147
16148
16149   # We use sed instead of cat because bash on DJGPP gets confused if
16150   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16151   # text mode, it properly converts lines to CR/LF.  This bash problem
16152   # is reportedly fixed, but why not run on old versions too?
16153   sed '$q' "$ltmain" >> "$cfgfile" \
16154      || (rm -f "$cfgfile"; exit 1)
16155
16156   if test x"$xsi_shell" = xyes; then
16157   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16158 func_dirname ()\
16159 {\
16160 \    case ${1} in\
16161 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16162 \      *  ) func_dirname_result="${3}" ;;\
16163 \    esac\
16164 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16165   && mv -f "$cfgfile.tmp" "$cfgfile" \
16166     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16167 test 0 -eq $? || _lt_function_replace_fail=:
16168
16169
16170   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16171 func_basename ()\
16172 {\
16173 \    func_basename_result="${1##*/}"\
16174 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16175   && mv -f "$cfgfile.tmp" "$cfgfile" \
16176     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16177 test 0 -eq $? || _lt_function_replace_fail=:
16178
16179
16180   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16181 func_dirname_and_basename ()\
16182 {\
16183 \    case ${1} in\
16184 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16185 \      *  ) func_dirname_result="${3}" ;;\
16186 \    esac\
16187 \    func_basename_result="${1##*/}"\
16188 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16189   && mv -f "$cfgfile.tmp" "$cfgfile" \
16190     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16191 test 0 -eq $? || _lt_function_replace_fail=:
16192
16193
16194   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16195 func_stripname ()\
16196 {\
16197 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16198 \    # positional parameters, so assign one to ordinary parameter first.\
16199 \    func_stripname_result=${3}\
16200 \    func_stripname_result=${func_stripname_result#"${1}"}\
16201 \    func_stripname_result=${func_stripname_result%"${2}"}\
16202 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16203   && mv -f "$cfgfile.tmp" "$cfgfile" \
16204     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16205 test 0 -eq $? || _lt_function_replace_fail=:
16206
16207
16208   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16209 func_split_long_opt ()\
16210 {\
16211 \    func_split_long_opt_name=${1%%=*}\
16212 \    func_split_long_opt_arg=${1#*=}\
16213 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16214   && mv -f "$cfgfile.tmp" "$cfgfile" \
16215     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16216 test 0 -eq $? || _lt_function_replace_fail=:
16217
16218
16219   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16220 func_split_short_opt ()\
16221 {\
16222 \    func_split_short_opt_arg=${1#??}\
16223 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16224 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16225   && mv -f "$cfgfile.tmp" "$cfgfile" \
16226     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16227 test 0 -eq $? || _lt_function_replace_fail=:
16228
16229
16230   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16231 func_lo2o ()\
16232 {\
16233 \    case ${1} in\
16234 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16235 \      *)    func_lo2o_result=${1} ;;\
16236 \    esac\
16237 } # Extended-shell func_lo2o 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_xform ()$/,/^} # func_xform /c\
16244 func_xform ()\
16245 {\
16246     func_xform_result=${1%.*}.lo\
16247 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16248   && mv -f "$cfgfile.tmp" "$cfgfile" \
16249     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16250 test 0 -eq $? || _lt_function_replace_fail=:
16251
16252
16253   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16254 func_arith ()\
16255 {\
16256     func_arith_result=$(( $* ))\
16257 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16258   && mv -f "$cfgfile.tmp" "$cfgfile" \
16259     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16260 test 0 -eq $? || _lt_function_replace_fail=:
16261
16262
16263   sed -e '/^func_len ()$/,/^} # func_len /c\
16264 func_len ()\
16265 {\
16266     func_len_result=${#1}\
16267 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16268   && mv -f "$cfgfile.tmp" "$cfgfile" \
16269     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16270 test 0 -eq $? || _lt_function_replace_fail=:
16271
16272 fi
16273
16274 if test x"$lt_shell_append" = xyes; then
16275   sed -e '/^func_append ()$/,/^} # func_append /c\
16276 func_append ()\
16277 {\
16278     eval "${1}+=\\${2}"\
16279 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16280   && mv -f "$cfgfile.tmp" "$cfgfile" \
16281     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16282 test 0 -eq $? || _lt_function_replace_fail=:
16283
16284
16285   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16286 func_append_quoted ()\
16287 {\
16288 \    func_quote_for_eval "${2}"\
16289 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16290 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16291   && mv -f "$cfgfile.tmp" "$cfgfile" \
16292     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16293 test 0 -eq $? || _lt_function_replace_fail=:
16294
16295
16296   # Save a `func_append' function call where possible by direct use of '+='
16297   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16298     && mv -f "$cfgfile.tmp" "$cfgfile" \
16299       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16300   test 0 -eq $? || _lt_function_replace_fail=:
16301 else
16302   # Save a `func_append' function call even when '+=' is not available
16303   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 fi
16308
16309 if test x"$_lt_function_replace_fail" = x":"; then
16310   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16311 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16312 fi
16313
16314
16315    mv -f "$cfgfile" "$ofile" ||
16316     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16317   chmod +x "$ofile"
16318
16319  ;;
16320     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16321         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16322       esac ;;
16323     "po/stamp-it":C)
16324     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16325        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16326     fi
16327     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16328     >"po/stamp-it.tmp"
16329     sed '/^#/d
16330          s/^[[].*] *//
16331          /^[    ]*$/d
16332         '"s|^|  $ac_top_srcdir/|" \
16333       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16334
16335     sed '/^POTFILES =/,/[^\\]$/ {
16336                 /^POTFILES =/!d
16337                 r po/POTFILES
16338           }
16339          ' "po/Makefile.in" >"po/Makefile"
16340     rm -f "po/Makefile.tmp"
16341     mv "po/stamp-it.tmp" "po/stamp-it"
16342    ;;
16343
16344   esac
16345 done # for ac_tag
16346
16347
16348 as_fn_exit 0
16349 _ACEOF
16350 ac_clean_files=$ac_clean_files_save
16351
16352 test $ac_write_fail = 0 ||
16353   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16354
16355
16356 # configure is writing to config.log, and then calls config.status.
16357 # config.status does its own redirection, appending to config.log.
16358 # Unfortunately, on DOS this fails, as config.log is still kept open
16359 # by configure, so config.status won't be able to write to it; its
16360 # output is simply discarded.  So we exec the FD to /dev/null,
16361 # effectively closing config.log, so it can be properly (re)opened and
16362 # appended to by config.status.  When coming back to configure, we
16363 # need to make the FD available again.
16364 if test "$no_create" != yes; then
16365   ac_cs_success=:
16366   ac_config_status_args=
16367   test "$silent" = yes &&
16368     ac_config_status_args="$ac_config_status_args --quiet"
16369   exec 5>/dev/null
16370   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16371   exec 5>>config.log
16372   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16373   # would make configure fail if this is the last instruction.
16374   $ac_cs_success || as_fn_exit 1
16375 fi
16376 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16377   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16378 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16379 fi
16380
16381
16382 echo "
16383
16384                     ${PACKAGE} ${VERSION}
16385                     ============
16386
16387
16388         Prefix:                 ${prefix}
16389         Source code location:   ${srcdir}
16390         Compiler:               ${CC}
16391         CFLAGS:                 ${CFLAGS}
16392         Fullscreen renderer:    ${have_gtk}
16393         Plugin:                 ${enable_plugin}
16394 "