packaging: exclude on non X11 configuration
[platform/core/uifw/at-spi2-atk.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for at-spi2-atk 2.5.92.
4 #
5 # Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: accessibility-atspi@lists.linux-foundation.org about
279 $0: your system, including any error possibly output before
280 $0: this message. Then install a modern shell, or manually
281 $0: run the script under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='at-spi2-atk'
592 PACKAGE_TARNAME='at-spi2-atk'
593 PACKAGE_VERSION='2.5.92'
594 PACKAGE_STRING='at-spi2-atk 2.5.92'
595 PACKAGE_BUGREPORT='accessibility-atspi@lists.linux-foundation.org'
596 PACKAGE_URL=''
597
598 # Factoring default headers for most tests.
599 ac_includes_default="\
600 #include <stdio.h>
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
603 #endif
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
606 #endif
607 #ifdef STDC_HEADERS
608 # include <stdlib.h>
609 # include <stddef.h>
610 #else
611 # ifdef HAVE_STDLIB_H
612 #  include <stdlib.h>
613 # endif
614 #endif
615 #ifdef HAVE_STRING_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617 #  include <memory.h>
618 # endif
619 # include <string.h>
620 #endif
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_UNISTD_H
631 # include <unistd.h>
632 #endif"
633
634 ac_subst_vars='am__EXEEXT_FALSE
635 am__EXEEXT_TRUE
636 LTLIBOBJS
637 LIBOBJS
638 P2P_CFLAGS
639 DBIND_ALIGNOF_DBIND_STRUCT
640 DBIND_ALIGNOF_DBIND_POINTER
641 DBIND_ALIGNOF_DOUBLE
642 DBIND_ALIGNOF_DBUS_INT64_T
643 DBIND_ALIGNOF_DBUS_INT32_T
644 DBIND_ALIGNOF_DBUS_INT16_T
645 DBIND_ALIGNOF_DBUS_BOOL_T
646 DBIND_ALIGNOF_CHAR
647 EXTRA_SOCKET_LIBS
648 LIBTOOL_EXPORT_OPTIONS
649 GSETTINGS_RULES
650 GLIB_COMPILE_SCHEMAS
651 gsettingsschemadir
652 GSETTINGS_DISABLE_SCHEMAS_COMPILE
653 ATSPI_LIBS
654 ATSPI_CFLAGS
655 ATK_LIBS
656 ATK_CFLAGS
657 GMODULE_LIBS
658 GMODULE_CFLAGS
659 GOBJ_LIBS
660 GOBJ_CFLAGS
661 GLIB_LIBS
662 GLIB_CFLAGS
663 DBUS_LIBS
664 DBUS_CFLAGS
665 GETTEXT_PACKAGE
666 PKG_CONFIG_LIBDIR
667 PKG_CONFIG_PATH
668 PKG_CONFIG
669 CPP
670 OTOOL64
671 OTOOL
672 LIPO
673 NMEDIT
674 DSYMUTIL
675 MANIFEST_TOOL
676 RANLIB
677 ac_ct_AR
678 AR
679 DLLTOOL
680 OBJDUMP
681 LN_S
682 NM
683 ac_ct_DUMPBIN
684 DUMPBIN
685 LD
686 FGREP
687 EGREP
688 GREP
689 SED
690 host_os
691 host_vendor
692 host_cpu
693 host
694 build_os
695 build_vendor
696 build_cpu
697 build
698 LIBTOOL
699 am__fastdepCC_FALSE
700 am__fastdepCC_TRUE
701 CCDEPMODE
702 am__nodep
703 AMDEPBACKSLASH
704 AMDEP_FALSE
705 AMDEP_TRUE
706 am__quote
707 am__include
708 DEPDIR
709 OBJEXT
710 EXEEXT
711 ac_ct_CC
712 CPPFLAGS
713 LDFLAGS
714 CFLAGS
715 CC
716 AM_BACKSLASH
717 AM_DEFAULT_VERBOSITY
718 AM_DEFAULT_V
719 AM_V
720 am__untar
721 am__tar
722 AMTAR
723 am__leading_dot
724 SET_MAKE
725 AWK
726 mkdir_p
727 MKDIR_P
728 INSTALL_STRIP_PROGRAM
729 STRIP
730 install_sh
731 MAKEINFO
732 AUTOHEADER
733 AUTOMAKE
734 AUTOCONF
735 ACLOCAL
736 VERSION
737 PACKAGE
738 CYGPATH_W
739 am__isrc
740 INSTALL_DATA
741 INSTALL_SCRIPT
742 INSTALL_PROGRAM
743 LT_AGE
744 LT_REVISION
745 LT_CURRENT
746 LT_RELEASE
747 LT_VERSION_INFO
748 AT_SPI_ATK_VERSION
749 target_alias
750 host_alias
751 build_alias
752 LIBS
753 ECHO_T
754 ECHO_N
755 ECHO_C
756 DEFS
757 mandir
758 localedir
759 libdir
760 psdir
761 pdfdir
762 dvidir
763 htmldir
764 infodir
765 docdir
766 oldincludedir
767 includedir
768 localstatedir
769 sharedstatedir
770 sysconfdir
771 datadir
772 datarootdir
773 libexecdir
774 sbindir
775 bindir
776 program_transform_name
777 prefix
778 exec_prefix
779 PACKAGE_URL
780 PACKAGE_BUGREPORT
781 PACKAGE_STRING
782 PACKAGE_VERSION
783 PACKAGE_TARNAME
784 PACKAGE_NAME
785 PATH_SEPARATOR
786 SHELL'
787 ac_subst_files=''
788 ac_user_opts='
789 enable_option_checking
790 enable_silent_rules
791 enable_dependency_tracking
792 enable_static
793 enable_shared
794 with_pic
795 enable_fast_install
796 with_gnu_ld
797 with_sysroot
798 enable_libtool_lock
799 enable_schemas_compile
800 enable_p2p
801 '
802       ac_precious_vars='build_alias
803 host_alias
804 target_alias
805 CC
806 CFLAGS
807 LDFLAGS
808 LIBS
809 CPPFLAGS
810 CPP
811 PKG_CONFIG
812 PKG_CONFIG_PATH
813 PKG_CONFIG_LIBDIR
814 DBUS_CFLAGS
815 DBUS_LIBS
816 GLIB_CFLAGS
817 GLIB_LIBS
818 GOBJ_CFLAGS
819 GOBJ_LIBS
820 GMODULE_CFLAGS
821 GMODULE_LIBS
822 ATK_CFLAGS
823 ATK_LIBS
824 ATSPI_CFLAGS
825 ATSPI_LIBS'
826
827
828 # Initialize some variables set by options.
829 ac_init_help=
830 ac_init_version=false
831 ac_unrecognized_opts=
832 ac_unrecognized_sep=
833 # The variables have the same names as the options, with
834 # dashes changed to underlines.
835 cache_file=/dev/null
836 exec_prefix=NONE
837 no_create=
838 no_recursion=
839 prefix=NONE
840 program_prefix=NONE
841 program_suffix=NONE
842 program_transform_name=s,x,x,
843 silent=
844 site=
845 srcdir=
846 verbose=
847 x_includes=NONE
848 x_libraries=NONE
849
850 # Installation directory options.
851 # These are left unexpanded so users can "make install exec_prefix=/foo"
852 # and all the variables that are supposed to be based on exec_prefix
853 # by default will actually change.
854 # Use braces instead of parens because sh, perl, etc. also accept them.
855 # (The list follows the same order as the GNU Coding Standards.)
856 bindir='${exec_prefix}/bin'
857 sbindir='${exec_prefix}/sbin'
858 libexecdir='${exec_prefix}/libexec'
859 datarootdir='${prefix}/share'
860 datadir='${datarootdir}'
861 sysconfdir='${prefix}/etc'
862 sharedstatedir='${prefix}/com'
863 localstatedir='${prefix}/var'
864 includedir='${prefix}/include'
865 oldincludedir='/usr/include'
866 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
867 infodir='${datarootdir}/info'
868 htmldir='${docdir}'
869 dvidir='${docdir}'
870 pdfdir='${docdir}'
871 psdir='${docdir}'
872 libdir='${exec_prefix}/lib'
873 localedir='${datarootdir}/locale'
874 mandir='${datarootdir}/man'
875
876 ac_prev=
877 ac_dashdash=
878 for ac_option
879 do
880   # If the previous option needs an argument, assign it.
881   if test -n "$ac_prev"; then
882     eval $ac_prev=\$ac_option
883     ac_prev=
884     continue
885   fi
886
887   case $ac_option in
888   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
889   *=)   ac_optarg= ;;
890   *)    ac_optarg=yes ;;
891   esac
892
893   # Accept the important Cygnus configure options, so we can diagnose typos.
894
895   case $ac_dashdash$ac_option in
896   --)
897     ac_dashdash=yes ;;
898
899   -bindir | --bindir | --bindi | --bind | --bin | --bi)
900     ac_prev=bindir ;;
901   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
902     bindir=$ac_optarg ;;
903
904   -build | --build | --buil | --bui | --bu)
905     ac_prev=build_alias ;;
906   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
907     build_alias=$ac_optarg ;;
908
909   -cache-file | --cache-file | --cache-fil | --cache-fi \
910   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
911     ac_prev=cache_file ;;
912   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
913   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
914     cache_file=$ac_optarg ;;
915
916   --config-cache | -C)
917     cache_file=config.cache ;;
918
919   -datadir | --datadir | --datadi | --datad)
920     ac_prev=datadir ;;
921   -datadir=* | --datadir=* | --datadi=* | --datad=*)
922     datadir=$ac_optarg ;;
923
924   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
925   | --dataroo | --dataro | --datar)
926     ac_prev=datarootdir ;;
927   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
928   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
929     datarootdir=$ac_optarg ;;
930
931   -disable-* | --disable-*)
932     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933     # Reject names that are not valid shell variable names.
934     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935       as_fn_error $? "invalid feature name: $ac_useropt"
936     ac_useropt_orig=$ac_useropt
937     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938     case $ac_user_opts in
939       *"
940 "enable_$ac_useropt"
941 "*) ;;
942       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943          ac_unrecognized_sep=', ';;
944     esac
945     eval enable_$ac_useropt=no ;;
946
947   -docdir | --docdir | --docdi | --doc | --do)
948     ac_prev=docdir ;;
949   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
950     docdir=$ac_optarg ;;
951
952   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
953     ac_prev=dvidir ;;
954   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
955     dvidir=$ac_optarg ;;
956
957   -enable-* | --enable-*)
958     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959     # Reject names that are not valid shell variable names.
960     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961       as_fn_error $? "invalid feature name: $ac_useropt"
962     ac_useropt_orig=$ac_useropt
963     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964     case $ac_user_opts in
965       *"
966 "enable_$ac_useropt"
967 "*) ;;
968       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969          ac_unrecognized_sep=', ';;
970     esac
971     eval enable_$ac_useropt=\$ac_optarg ;;
972
973   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975   | --exec | --exe | --ex)
976     ac_prev=exec_prefix ;;
977   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
978   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
979   | --exec=* | --exe=* | --ex=*)
980     exec_prefix=$ac_optarg ;;
981
982   -gas | --gas | --ga | --g)
983     # Obsolete; use --with-gas.
984     with_gas=yes ;;
985
986   -help | --help | --hel | --he | -h)
987     ac_init_help=long ;;
988   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
989     ac_init_help=recursive ;;
990   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
991     ac_init_help=short ;;
992
993   -host | --host | --hos | --ho)
994     ac_prev=host_alias ;;
995   -host=* | --host=* | --hos=* | --ho=*)
996     host_alias=$ac_optarg ;;
997
998   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
999     ac_prev=htmldir ;;
1000   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1001   | --ht=*)
1002     htmldir=$ac_optarg ;;
1003
1004   -includedir | --includedir | --includedi | --included | --include \
1005   | --includ | --inclu | --incl | --inc)
1006     ac_prev=includedir ;;
1007   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1008   | --includ=* | --inclu=* | --incl=* | --inc=*)
1009     includedir=$ac_optarg ;;
1010
1011   -infodir | --infodir | --infodi | --infod | --info | --inf)
1012     ac_prev=infodir ;;
1013   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1014     infodir=$ac_optarg ;;
1015
1016   -libdir | --libdir | --libdi | --libd)
1017     ac_prev=libdir ;;
1018   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1019     libdir=$ac_optarg ;;
1020
1021   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1022   | --libexe | --libex | --libe)
1023     ac_prev=libexecdir ;;
1024   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1025   | --libexe=* | --libex=* | --libe=*)
1026     libexecdir=$ac_optarg ;;
1027
1028   -localedir | --localedir | --localedi | --localed | --locale)
1029     ac_prev=localedir ;;
1030   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1031     localedir=$ac_optarg ;;
1032
1033   -localstatedir | --localstatedir | --localstatedi | --localstated \
1034   | --localstate | --localstat | --localsta | --localst | --locals)
1035     ac_prev=localstatedir ;;
1036   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1037   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1038     localstatedir=$ac_optarg ;;
1039
1040   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1041     ac_prev=mandir ;;
1042   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1043     mandir=$ac_optarg ;;
1044
1045   -nfp | --nfp | --nf)
1046     # Obsolete; use --without-fp.
1047     with_fp=no ;;
1048
1049   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1050   | --no-cr | --no-c | -n)
1051     no_create=yes ;;
1052
1053   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1055     no_recursion=yes ;;
1056
1057   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1058   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1059   | --oldin | --oldi | --old | --ol | --o)
1060     ac_prev=oldincludedir ;;
1061   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1062   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1063   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1064     oldincludedir=$ac_optarg ;;
1065
1066   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1067     ac_prev=prefix ;;
1068   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1069     prefix=$ac_optarg ;;
1070
1071   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1072   | --program-pre | --program-pr | --program-p)
1073     ac_prev=program_prefix ;;
1074   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1075   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1076     program_prefix=$ac_optarg ;;
1077
1078   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1079   | --program-suf | --program-su | --program-s)
1080     ac_prev=program_suffix ;;
1081   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1082   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1083     program_suffix=$ac_optarg ;;
1084
1085   -program-transform-name | --program-transform-name \
1086   | --program-transform-nam | --program-transform-na \
1087   | --program-transform-n | --program-transform- \
1088   | --program-transform | --program-transfor \
1089   | --program-transfo | --program-transf \
1090   | --program-trans | --program-tran \
1091   | --progr-tra | --program-tr | --program-t)
1092     ac_prev=program_transform_name ;;
1093   -program-transform-name=* | --program-transform-name=* \
1094   | --program-transform-nam=* | --program-transform-na=* \
1095   | --program-transform-n=* | --program-transform-=* \
1096   | --program-transform=* | --program-transfor=* \
1097   | --program-transfo=* | --program-transf=* \
1098   | --program-trans=* | --program-tran=* \
1099   | --progr-tra=* | --program-tr=* | --program-t=*)
1100     program_transform_name=$ac_optarg ;;
1101
1102   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1103     ac_prev=pdfdir ;;
1104   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1105     pdfdir=$ac_optarg ;;
1106
1107   -psdir | --psdir | --psdi | --psd | --ps)
1108     ac_prev=psdir ;;
1109   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1110     psdir=$ac_optarg ;;
1111
1112   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1113   | -silent | --silent | --silen | --sile | --sil)
1114     silent=yes ;;
1115
1116   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1117     ac_prev=sbindir ;;
1118   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1119   | --sbi=* | --sb=*)
1120     sbindir=$ac_optarg ;;
1121
1122   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1123   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1124   | --sharedst | --shareds | --shared | --share | --shar \
1125   | --sha | --sh)
1126     ac_prev=sharedstatedir ;;
1127   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1128   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1129   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1130   | --sha=* | --sh=*)
1131     sharedstatedir=$ac_optarg ;;
1132
1133   -site | --site | --sit)
1134     ac_prev=site ;;
1135   -site=* | --site=* | --sit=*)
1136     site=$ac_optarg ;;
1137
1138   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1139     ac_prev=srcdir ;;
1140   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1141     srcdir=$ac_optarg ;;
1142
1143   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1144   | --syscon | --sysco | --sysc | --sys | --sy)
1145     ac_prev=sysconfdir ;;
1146   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1147   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1148     sysconfdir=$ac_optarg ;;
1149
1150   -target | --target | --targe | --targ | --tar | --ta | --t)
1151     ac_prev=target_alias ;;
1152   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1153     target_alias=$ac_optarg ;;
1154
1155   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1156     verbose=yes ;;
1157
1158   -version | --version | --versio | --versi | --vers | -V)
1159     ac_init_version=: ;;
1160
1161   -with-* | --with-*)
1162     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163     # Reject names that are not valid shell variable names.
1164     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165       as_fn_error $? "invalid package name: $ac_useropt"
1166     ac_useropt_orig=$ac_useropt
1167     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168     case $ac_user_opts in
1169       *"
1170 "with_$ac_useropt"
1171 "*) ;;
1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173          ac_unrecognized_sep=', ';;
1174     esac
1175     eval with_$ac_useropt=\$ac_optarg ;;
1176
1177   -without-* | --without-*)
1178     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179     # Reject names that are not valid shell variable names.
1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181       as_fn_error $? "invalid package name: $ac_useropt"
1182     ac_useropt_orig=$ac_useropt
1183     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184     case $ac_user_opts in
1185       *"
1186 "with_$ac_useropt"
1187 "*) ;;
1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189          ac_unrecognized_sep=', ';;
1190     esac
1191     eval with_$ac_useropt=no ;;
1192
1193   --x)
1194     # Obsolete; use --with-x.
1195     with_x=yes ;;
1196
1197   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1198   | --x-incl | --x-inc | --x-in | --x-i)
1199     ac_prev=x_includes ;;
1200   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1201   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1202     x_includes=$ac_optarg ;;
1203
1204   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1205   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1206     ac_prev=x_libraries ;;
1207   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1208   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1209     x_libraries=$ac_optarg ;;
1210
1211   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1212 Try \`$0 --help' for more information"
1213     ;;
1214
1215   *=*)
1216     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1217     # Reject names that are not valid shell variable names.
1218     case $ac_envvar in #(
1219       '' | [0-9]* | *[!_$as_cr_alnum]* )
1220       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1221     esac
1222     eval $ac_envvar=\$ac_optarg
1223     export $ac_envvar ;;
1224
1225   *)
1226     # FIXME: should be removed in autoconf 3.0.
1227     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1229       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1231     ;;
1232
1233   esac
1234 done
1235
1236 if test -n "$ac_prev"; then
1237   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1238   as_fn_error $? "missing argument to $ac_option"
1239 fi
1240
1241 if test -n "$ac_unrecognized_opts"; then
1242   case $enable_option_checking in
1243     no) ;;
1244     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1245     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1246   esac
1247 fi
1248
1249 # Check all directory arguments for consistency.
1250 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251                 datadir sysconfdir sharedstatedir localstatedir includedir \
1252                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253                 libdir localedir mandir
1254 do
1255   eval ac_val=\$$ac_var
1256   # Remove trailing slashes.
1257   case $ac_val in
1258     */ )
1259       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260       eval $ac_var=\$ac_val;;
1261   esac
1262   # Be sure to have absolute directory names.
1263   case $ac_val in
1264     [\\/$]* | ?:[\\/]* )  continue;;
1265     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1266   esac
1267   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1268 done
1269
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1273 build=$build_alias
1274 host=$host_alias
1275 target=$target_alias
1276
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x; then
1279   if test "x$build_alias" = x; then
1280     cross_compiling=maybe
1281   elif test "x$build_alias" != "x$host_alias"; then
1282     cross_compiling=yes
1283   fi
1284 fi
1285
1286 ac_tool_prefix=
1287 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1288
1289 test "$silent" = yes && exec 6>/dev/null
1290
1291
1292 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1293 ac_ls_di=`ls -di .` &&
1294 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1295   as_fn_error $? "working directory cannot be determined"
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297   as_fn_error $? "pwd does not report name of working directory"
1298
1299
1300 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then
1302   ac_srcdir_defaulted=yes
1303   # Try the directory containing this script, then the parent directory.
1304   ac_confdir=`$as_dirname -- "$as_myself" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306          X"$as_myself" : 'X\(//\)[^/]' \| \
1307          X"$as_myself" : 'X\(//\)$' \| \
1308          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" |
1310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1311             s//\1/
1312             q
1313           }
1314           /^X\(\/\/\)[^/].*/{
1315             s//\1/
1316             q
1317           }
1318           /^X\(\/\/\)$/{
1319             s//\1/
1320             q
1321           }
1322           /^X\(\/\).*/{
1323             s//\1/
1324             q
1325           }
1326           s/.*/./; q'`
1327   srcdir=$ac_confdir
1328   if test ! -r "$srcdir/$ac_unique_file"; then
1329     srcdir=..
1330   fi
1331 else
1332   ac_srcdir_defaulted=no
1333 fi
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1335   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1336   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1337 fi
1338 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1339 ac_abs_confdir=`(
1340         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1341         pwd)`
1342 # When building in place, set srcdir=.
1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
1344   srcdir=.
1345 fi
1346 # Remove unnecessary trailing slashes from srcdir.
1347 # Double slashes in file names in object file debugging info
1348 # mess up M-x gdb in Emacs.
1349 case $srcdir in
1350 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1351 esac
1352 for ac_var in $ac_precious_vars; do
1353   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1354   eval ac_env_${ac_var}_value=\$${ac_var}
1355   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1356   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1357 done
1358
1359 #
1360 # Report the --help message.
1361 #
1362 if test "$ac_init_help" = "long"; then
1363   # Omit some internal or obsolete options to make the list less imposing.
1364   # This message is too long to be a string in the A/UX 3.1 sh.
1365   cat <<_ACEOF
1366 \`configure' configures at-spi2-atk 2.5.92 to adapt to many kinds of systems.
1367
1368 Usage: $0 [OPTION]... [VAR=VALUE]...
1369
1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1371 VAR=VALUE.  See below for descriptions of some of the useful variables.
1372
1373 Defaults for the options are specified in brackets.
1374
1375 Configuration:
1376   -h, --help              display this help and exit
1377       --help=short        display options specific to this package
1378       --help=recursive    display the short help of all the included packages
1379   -V, --version           display version information and exit
1380   -q, --quiet, --silent   do not print \`checking ...' messages
1381       --cache-file=FILE   cache test results in FILE [disabled]
1382   -C, --config-cache      alias for \`--cache-file=config.cache'
1383   -n, --no-create         do not create output files
1384       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1385
1386 Installation directories:
1387   --prefix=PREFIX         install architecture-independent files in PREFIX
1388                           [$ac_default_prefix]
1389   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1390                           [PREFIX]
1391
1392 By default, \`make install' will install all the files in
1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395 for instance \`--prefix=\$HOME'.
1396
1397 For better control, use the options below.
1398
1399 Fine tuning of the installation directories:
1400   --bindir=DIR            user executables [EPREFIX/bin]
1401   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1402   --libexecdir=DIR        program executables [EPREFIX/libexec]
1403   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1404   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1405   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1406   --libdir=DIR            object code libraries [EPREFIX/lib]
1407   --includedir=DIR        C header files [PREFIX/include]
1408   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1409   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1410   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1411   --infodir=DIR           info documentation [DATAROOTDIR/info]
1412   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1413   --mandir=DIR            man documentation [DATAROOTDIR/man]
1414   --docdir=DIR            documentation root [DATAROOTDIR/doc/at-spi2-atk]
1415   --htmldir=DIR           html documentation [DOCDIR]
1416   --dvidir=DIR            dvi documentation [DOCDIR]
1417   --pdfdir=DIR            pdf documentation [DOCDIR]
1418   --psdir=DIR             ps documentation [DOCDIR]
1419 _ACEOF
1420
1421   cat <<\_ACEOF
1422
1423 Program names:
1424   --program-prefix=PREFIX            prepend PREFIX to installed program names
1425   --program-suffix=SUFFIX            append SUFFIX to installed program names
1426   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1427
1428 System types:
1429   --build=BUILD     configure for building on BUILD [guessed]
1430   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1431 _ACEOF
1432 fi
1433
1434 if test -n "$ac_init_help"; then
1435   case $ac_init_help in
1436      short | recursive ) echo "Configuration of at-spi2-atk 2.5.92:";;
1437    esac
1438   cat <<\_ACEOF
1439
1440 Optional Features:
1441   --disable-option-checking  ignore unrecognized --enable/--with options
1442   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1443   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1444   --enable-silent-rules   less verbose build output (undo: "make V=1")
1445   --disable-silent-rules  verbose build output (undo: "make V=0")
1446   --enable-dependency-tracking
1447                           do not reject slow dependency extractors
1448   --disable-dependency-tracking
1449                           speeds up one-time build
1450   --enable-static[=PKGS]  build static libraries [default=no]
1451   --enable-shared[=PKGS]  build shared libraries [default=yes]
1452   --enable-fast-install[=PKGS]
1453                           optimize for fast installation [default=yes]
1454   --disable-libtool-lock  avoid locking (might break parallel builds)
1455   --disable-schemas-compile
1456                           Disable regeneration of gschemas.compiled on install
1457   --enable-p2p  Allow peer-to-peer DBus connections default=yes
1458
1459 Optional Packages:
1460   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1461   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1462   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1463                           both]
1464   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1465   --with-sysroot=DIR Search for dependent libraries within DIR
1466                         (or the compiler's sysroot if not specified).
1467
1468 Some influential environment variables:
1469   CC          C compiler command
1470   CFLAGS      C compiler flags
1471   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1472               nonstandard directory <lib dir>
1473   LIBS        libraries to pass to the linker, e.g. -l<library>
1474   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1475               you have headers in a nonstandard directory <include dir>
1476   CPP         C preprocessor
1477   PKG_CONFIG  path to pkg-config utility
1478   PKG_CONFIG_PATH
1479               directories to add to pkg-config's search path
1480   PKG_CONFIG_LIBDIR
1481               path overriding pkg-config's built-in search path
1482   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1483   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1484   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1485   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1486   GOBJ_CFLAGS C compiler flags for GOBJ, overriding pkg-config
1487   GOBJ_LIBS   linker flags for GOBJ, overriding pkg-config
1488   GMODULE_CFLAGS
1489               C compiler flags for GMODULE, overriding pkg-config
1490   GMODULE_LIBS
1491               linker flags for GMODULE, overriding pkg-config
1492   ATK_CFLAGS  C compiler flags for ATK, overriding pkg-config
1493   ATK_LIBS    linker flags for ATK, overriding pkg-config
1494   ATSPI_CFLAGS
1495               C compiler flags for ATSPI, overriding pkg-config
1496   ATSPI_LIBS  linker flags for ATSPI, overriding pkg-config
1497
1498 Use these variables to override the choices made by `configure' or to help
1499 it to find libraries and programs with nonstandard names/locations.
1500
1501 Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
1502 _ACEOF
1503 ac_status=$?
1504 fi
1505
1506 if test "$ac_init_help" = "recursive"; then
1507   # If there are subdirs, report their specific --help.
1508   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1509     test -d "$ac_dir" ||
1510       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1511       continue
1512     ac_builddir=.
1513
1514 case "$ac_dir" in
1515 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1516 *)
1517   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1518   # A ".." for each directory in $ac_dir_suffix.
1519   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1520   case $ac_top_builddir_sub in
1521   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1523   esac ;;
1524 esac
1525 ac_abs_top_builddir=$ac_pwd
1526 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1527 # for backward compatibility:
1528 ac_top_builddir=$ac_top_build_prefix
1529
1530 case $srcdir in
1531   .)  # We are building in place.
1532     ac_srcdir=.
1533     ac_top_srcdir=$ac_top_builddir_sub
1534     ac_abs_top_srcdir=$ac_pwd ;;
1535   [\\/]* | ?:[\\/]* )  # Absolute name.
1536     ac_srcdir=$srcdir$ac_dir_suffix;
1537     ac_top_srcdir=$srcdir
1538     ac_abs_top_srcdir=$srcdir ;;
1539   *) # Relative name.
1540     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1541     ac_top_srcdir=$ac_top_build_prefix$srcdir
1542     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1543 esac
1544 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1545
1546     cd "$ac_dir" || { ac_status=$?; continue; }
1547     # Check for guested configure.
1548     if test -f "$ac_srcdir/configure.gnu"; then
1549       echo &&
1550       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1551     elif test -f "$ac_srcdir/configure"; then
1552       echo &&
1553       $SHELL "$ac_srcdir/configure" --help=recursive
1554     else
1555       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1556     fi || ac_status=$?
1557     cd "$ac_pwd" || { ac_status=$?; break; }
1558   done
1559 fi
1560
1561 test -n "$ac_init_help" && exit $ac_status
1562 if $ac_init_version; then
1563   cat <<\_ACEOF
1564 at-spi2-atk configure 2.5.92
1565 generated by GNU Autoconf 2.69
1566
1567 Copyright (C) 2012 Free Software Foundation, Inc.
1568 This configure script is free software; the Free Software Foundation
1569 gives unlimited permission to copy, distribute and modify it.
1570 _ACEOF
1571   exit
1572 fi
1573
1574 ## ------------------------ ##
1575 ## Autoconf initialization. ##
1576 ## ------------------------ ##
1577
1578 # ac_fn_c_try_compile LINENO
1579 # --------------------------
1580 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1581 ac_fn_c_try_compile ()
1582 {
1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584   rm -f conftest.$ac_objext
1585   if { { ac_try="$ac_compile"
1586 case "(($ac_try" in
1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588   *) ac_try_echo=$ac_try;;
1589 esac
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592   (eval "$ac_compile") 2>conftest.err
1593   ac_status=$?
1594   if test -s conftest.err; then
1595     grep -v '^ *+' conftest.err >conftest.er1
1596     cat conftest.er1 >&5
1597     mv -f conftest.er1 conftest.err
1598   fi
1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600   test $ac_status = 0; } && {
1601          test -z "$ac_c_werror_flag" ||
1602          test ! -s conftest.err
1603        } && test -s conftest.$ac_objext; then :
1604   ac_retval=0
1605 else
1606   $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1608
1609         ac_retval=1
1610 fi
1611   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612   as_fn_set_status $ac_retval
1613
1614 } # ac_fn_c_try_compile
1615
1616 # ac_fn_c_try_link LINENO
1617 # -----------------------
1618 # Try to link conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_link ()
1620 {
1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622   rm -f conftest.$ac_objext conftest$ac_exeext
1623   if { { ac_try="$ac_link"
1624 case "(($ac_try" in
1625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626   *) ac_try_echo=$ac_try;;
1627 esac
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630   (eval "$ac_link") 2>conftest.err
1631   ac_status=$?
1632   if test -s conftest.err; then
1633     grep -v '^ *+' conftest.err >conftest.er1
1634     cat conftest.er1 >&5
1635     mv -f conftest.er1 conftest.err
1636   fi
1637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638   test $ac_status = 0; } && {
1639          test -z "$ac_c_werror_flag" ||
1640          test ! -s conftest.err
1641        } && test -s conftest$ac_exeext && {
1642          test "$cross_compiling" = yes ||
1643          test -x conftest$ac_exeext
1644        }; then :
1645   ac_retval=0
1646 else
1647   $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1649
1650         ac_retval=1
1651 fi
1652   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1653   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1654   # interfere with the next link command; also delete a directory that is
1655   # left behind by Apple's compiler.  We do this before executing the actions.
1656   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1657   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658   as_fn_set_status $ac_retval
1659
1660 } # ac_fn_c_try_link
1661
1662 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1663 # -------------------------------------------------------
1664 # Tests whether HEADER exists and can be compiled using the include files in
1665 # INCLUDES, setting the cache variable VAR accordingly.
1666 ac_fn_c_check_header_compile ()
1667 {
1668   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1670 $as_echo_n "checking for $2... " >&6; }
1671 if eval \${$3+:} false; then :
1672   $as_echo_n "(cached) " >&6
1673 else
1674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675 /* end confdefs.h.  */
1676 $4
1677 #include <$2>
1678 _ACEOF
1679 if ac_fn_c_try_compile "$LINENO"; then :
1680   eval "$3=yes"
1681 else
1682   eval "$3=no"
1683 fi
1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1685 fi
1686 eval ac_res=\$$3
1687                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1689   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690
1691 } # ac_fn_c_check_header_compile
1692
1693 # ac_fn_c_try_cpp LINENO
1694 # ----------------------
1695 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_c_try_cpp ()
1697 {
1698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699   if { { ac_try="$ac_cpp conftest.$ac_ext"
1700 case "(($ac_try" in
1701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702   *) ac_try_echo=$ac_try;;
1703 esac
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1707   ac_status=$?
1708   if test -s conftest.err; then
1709     grep -v '^ *+' conftest.err >conftest.er1
1710     cat conftest.er1 >&5
1711     mv -f conftest.er1 conftest.err
1712   fi
1713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714   test $ac_status = 0; } > conftest.i && {
1715          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1716          test ! -s conftest.err
1717        }; then :
1718   ac_retval=0
1719 else
1720   $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1722
1723     ac_retval=1
1724 fi
1725   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726   as_fn_set_status $ac_retval
1727
1728 } # ac_fn_c_try_cpp
1729
1730 # ac_fn_c_try_run LINENO
1731 # ----------------------
1732 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1733 # that executables *can* be run.
1734 ac_fn_c_try_run ()
1735 {
1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737   if { { ac_try="$ac_link"
1738 case "(($ac_try" in
1739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740   *) ac_try_echo=$ac_try;;
1741 esac
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744   (eval "$ac_link") 2>&5
1745   ac_status=$?
1746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1748   { { case "(($ac_try" in
1749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1750   *) ac_try_echo=$ac_try;;
1751 esac
1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754   (eval "$ac_try") 2>&5
1755   ac_status=$?
1756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757   test $ac_status = 0; }; }; then :
1758   ac_retval=0
1759 else
1760   $as_echo "$as_me: program exited with status $ac_status" >&5
1761        $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1763
1764        ac_retval=$ac_status
1765 fi
1766   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1767   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768   as_fn_set_status $ac_retval
1769
1770 } # ac_fn_c_try_run
1771
1772 # ac_fn_c_check_func LINENO FUNC VAR
1773 # ----------------------------------
1774 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1775 ac_fn_c_check_func ()
1776 {
1777   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \${$3+:} false; then :
1781   $as_echo_n "(cached) " >&6
1782 else
1783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h.  */
1785 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1787 #define $2 innocuous_$2
1788
1789 /* System header to define __stub macros and hopefully few prototypes,
1790     which can conflict with char $2 (); below.
1791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1792     <limits.h> exists even on freestanding compilers.  */
1793
1794 #ifdef __STDC__
1795 # include <limits.h>
1796 #else
1797 # include <assert.h>
1798 #endif
1799
1800 #undef $2
1801
1802 /* Override any GCC internal prototype to avoid an error.
1803    Use char because int might match the return type of a GCC
1804    builtin and then its argument prototype would still apply.  */
1805 #ifdef __cplusplus
1806 extern "C"
1807 #endif
1808 char $2 ();
1809 /* The GNU C library defines this for functions which it implements
1810     to always fail with ENOSYS.  Some functions are actually named
1811     something starting with __ and the normal name is an alias.  */
1812 #if defined __stub_$2 || defined __stub___$2
1813 choke me
1814 #endif
1815
1816 int
1817 main ()
1818 {
1819 return $2 ();
1820   ;
1821   return 0;
1822 }
1823 _ACEOF
1824 if ac_fn_c_try_link "$LINENO"; then :
1825   eval "$3=yes"
1826 else
1827   eval "$3=no"
1828 fi
1829 rm -f core conftest.err conftest.$ac_objext \
1830     conftest$ac_exeext conftest.$ac_ext
1831 fi
1832 eval ac_res=\$$3
1833                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834 $as_echo "$ac_res" >&6; }
1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836
1837 } # ac_fn_c_check_func
1838 cat >config.log <<_ACEOF
1839 This file contains any messages produced by compilers while
1840 running configure, to aid debugging if configure makes a mistake.
1841
1842 It was created by at-spi2-atk $as_me 2.5.92, which was
1843 generated by GNU Autoconf 2.69.  Invocation command line was
1844
1845   $ $0 $@
1846
1847 _ACEOF
1848 exec 5>>config.log
1849 {
1850 cat <<_ASUNAME
1851 ## --------- ##
1852 ## Platform. ##
1853 ## --------- ##
1854
1855 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1856 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1857 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1858 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1859 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1860
1861 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1862 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1863
1864 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1865 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1866 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1867 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1868 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1869 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1870 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1871
1872 _ASUNAME
1873
1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 for as_dir in $PATH
1876 do
1877   IFS=$as_save_IFS
1878   test -z "$as_dir" && as_dir=.
1879     $as_echo "PATH: $as_dir"
1880   done
1881 IFS=$as_save_IFS
1882
1883 } >&5
1884
1885 cat >&5 <<_ACEOF
1886
1887
1888 ## ----------- ##
1889 ## Core tests. ##
1890 ## ----------- ##
1891
1892 _ACEOF
1893
1894
1895 # Keep a trace of the command line.
1896 # Strip out --no-create and --no-recursion so they do not pile up.
1897 # Strip out --silent because we don't want to record it for future runs.
1898 # Also quote any args containing shell meta-characters.
1899 # Make two passes to allow for proper duplicate-argument suppression.
1900 ac_configure_args=
1901 ac_configure_args0=
1902 ac_configure_args1=
1903 ac_must_keep_next=false
1904 for ac_pass in 1 2
1905 do
1906   for ac_arg
1907   do
1908     case $ac_arg in
1909     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1910     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1911     | -silent | --silent | --silen | --sile | --sil)
1912       continue ;;
1913     *\'*)
1914       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1915     esac
1916     case $ac_pass in
1917     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1918     2)
1919       as_fn_append ac_configure_args1 " '$ac_arg'"
1920       if test $ac_must_keep_next = true; then
1921         ac_must_keep_next=false # Got value, back to normal.
1922       else
1923         case $ac_arg in
1924           *=* | --config-cache | -C | -disable-* | --disable-* \
1925           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1926           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1927           | -with-* | --with-* | -without-* | --without-* | --x)
1928             case "$ac_configure_args0 " in
1929               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1930             esac
1931             ;;
1932           -* ) ac_must_keep_next=true ;;
1933         esac
1934       fi
1935       as_fn_append ac_configure_args " '$ac_arg'"
1936       ;;
1937     esac
1938   done
1939 done
1940 { ac_configure_args0=; unset ac_configure_args0;}
1941 { ac_configure_args1=; unset ac_configure_args1;}
1942
1943 # When interrupted or exit'd, cleanup temporary files, and complete
1944 # config.log.  We remove comments because anyway the quotes in there
1945 # would cause problems or look ugly.
1946 # WARNING: Use '\'' to represent an apostrophe within the trap.
1947 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1948 trap 'exit_status=$?
1949   # Save into config.log some information that might help in debugging.
1950   {
1951     echo
1952
1953     $as_echo "## ---------------- ##
1954 ## Cache variables. ##
1955 ## ---------------- ##"
1956     echo
1957     # The following way of writing the cache mishandles newlines in values,
1958 (
1959   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1960     eval ac_val=\$$ac_var
1961     case $ac_val in #(
1962     *${as_nl}*)
1963       case $ac_var in #(
1964       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1965 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1966       esac
1967       case $ac_var in #(
1968       _ | IFS | as_nl) ;; #(
1969       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1970       *) { eval $ac_var=; unset $ac_var;} ;;
1971       esac ;;
1972     esac
1973   done
1974   (set) 2>&1 |
1975     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1976     *${as_nl}ac_space=\ *)
1977       sed -n \
1978         "s/'\''/'\''\\\\'\'''\''/g;
1979           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1980       ;; #(
1981     *)
1982       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1983       ;;
1984     esac |
1985     sort
1986 )
1987     echo
1988
1989     $as_echo "## ----------------- ##
1990 ## Output variables. ##
1991 ## ----------------- ##"
1992     echo
1993     for ac_var in $ac_subst_vars
1994     do
1995       eval ac_val=\$$ac_var
1996       case $ac_val in
1997       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1998       esac
1999       $as_echo "$ac_var='\''$ac_val'\''"
2000     done | sort
2001     echo
2002
2003     if test -n "$ac_subst_files"; then
2004       $as_echo "## ------------------- ##
2005 ## File substitutions. ##
2006 ## ------------------- ##"
2007       echo
2008       for ac_var in $ac_subst_files
2009       do
2010         eval ac_val=\$$ac_var
2011         case $ac_val in
2012         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2013         esac
2014         $as_echo "$ac_var='\''$ac_val'\''"
2015       done | sort
2016       echo
2017     fi
2018
2019     if test -s confdefs.h; then
2020       $as_echo "## ----------- ##
2021 ## confdefs.h. ##
2022 ## ----------- ##"
2023       echo
2024       cat confdefs.h
2025       echo
2026     fi
2027     test "$ac_signal" != 0 &&
2028       $as_echo "$as_me: caught signal $ac_signal"
2029     $as_echo "$as_me: exit $exit_status"
2030   } >&5
2031   rm -f core *.core core.conftest.* &&
2032     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2033     exit $exit_status
2034 ' 0
2035 for ac_signal in 1 2 13 15; do
2036   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2037 done
2038 ac_signal=0
2039
2040 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2041 rm -f -r conftest* confdefs.h
2042
2043 $as_echo "/* confdefs.h */" > confdefs.h
2044
2045 # Predefined preprocessor variables.
2046
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_NAME "$PACKAGE_NAME"
2049 _ACEOF
2050
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2053 _ACEOF
2054
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2057 _ACEOF
2058
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_STRING "$PACKAGE_STRING"
2061 _ACEOF
2062
2063 cat >>confdefs.h <<_ACEOF
2064 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2065 _ACEOF
2066
2067 cat >>confdefs.h <<_ACEOF
2068 #define PACKAGE_URL "$PACKAGE_URL"
2069 _ACEOF
2070
2071
2072 # Let the site file select an alternate cache file if it wants to.
2073 # Prefer an explicitly selected file to automatically selected ones.
2074 ac_site_file1=NONE
2075 ac_site_file2=NONE
2076 if test -n "$CONFIG_SITE"; then
2077   # We do not want a PATH search for config.site.
2078   case $CONFIG_SITE in #((
2079     -*)  ac_site_file1=./$CONFIG_SITE;;
2080     */*) ac_site_file1=$CONFIG_SITE;;
2081     *)   ac_site_file1=./$CONFIG_SITE;;
2082   esac
2083 elif test "x$prefix" != xNONE; then
2084   ac_site_file1=$prefix/share/config.site
2085   ac_site_file2=$prefix/etc/config.site
2086 else
2087   ac_site_file1=$ac_default_prefix/share/config.site
2088   ac_site_file2=$ac_default_prefix/etc/config.site
2089 fi
2090 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2091 do
2092   test "x$ac_site_file" = xNONE && continue
2093   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2094     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2095 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2096     sed 's/^/| /' "$ac_site_file" >&5
2097     . "$ac_site_file" \
2098       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2100 as_fn_error $? "failed to load site script $ac_site_file
2101 See \`config.log' for more details" "$LINENO" 5; }
2102   fi
2103 done
2104
2105 if test -r "$cache_file"; then
2106   # Some versions of bash will fail to source /dev/null (special files
2107   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2108   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2109     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2110 $as_echo "$as_me: loading cache $cache_file" >&6;}
2111     case $cache_file in
2112       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2113       *)                      . "./$cache_file";;
2114     esac
2115   fi
2116 else
2117   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2118 $as_echo "$as_me: creating cache $cache_file" >&6;}
2119   >$cache_file
2120 fi
2121
2122 # Check that the precious variables saved in the cache have kept the same
2123 # value.
2124 ac_cache_corrupted=false
2125 for ac_var in $ac_precious_vars; do
2126   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2127   eval ac_new_set=\$ac_env_${ac_var}_set
2128   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2129   eval ac_new_val=\$ac_env_${ac_var}_value
2130   case $ac_old_set,$ac_new_set in
2131     set,)
2132       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2133 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2134       ac_cache_corrupted=: ;;
2135     ,set)
2136       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2137 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2138       ac_cache_corrupted=: ;;
2139     ,);;
2140     *)
2141       if test "x$ac_old_val" != "x$ac_new_val"; then
2142         # differences in whitespace do not lead to failure.
2143         ac_old_val_w=`echo x $ac_old_val`
2144         ac_new_val_w=`echo x $ac_new_val`
2145         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2146           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2147 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2148           ac_cache_corrupted=:
2149         else
2150           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2151 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2152           eval $ac_var=\$ac_old_val
2153         fi
2154         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2155 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2156         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2157 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2158       fi;;
2159   esac
2160   # Pass precious variables to config.status.
2161   if test "$ac_new_set" = set; then
2162     case $ac_new_val in
2163     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2164     *) ac_arg=$ac_var=$ac_new_val ;;
2165     esac
2166     case " $ac_configure_args " in
2167       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2168       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2169     esac
2170   fi
2171 done
2172 if $ac_cache_corrupted; then
2173   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2175   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2176 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2177   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2178 fi
2179 ## -------------------- ##
2180 ## Main body of script. ##
2181 ## -------------------- ##
2182
2183 ac_ext=c
2184 ac_cpp='$CPP $CPPFLAGS'
2185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2188
2189
2190 ac_aux_dir=
2191 for ac_dir in config "$srcdir"/config; do
2192   if test -f "$ac_dir/install-sh"; then
2193     ac_aux_dir=$ac_dir
2194     ac_install_sh="$ac_aux_dir/install-sh -c"
2195     break
2196   elif test -f "$ac_dir/install.sh"; then
2197     ac_aux_dir=$ac_dir
2198     ac_install_sh="$ac_aux_dir/install.sh -c"
2199     break
2200   elif test -f "$ac_dir/shtool"; then
2201     ac_aux_dir=$ac_dir
2202     ac_install_sh="$ac_aux_dir/shtool install -c"
2203     break
2204   fi
2205 done
2206 if test -z "$ac_aux_dir"; then
2207   as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2208 fi
2209
2210 # These three variables are undocumented and unsupported,
2211 # and are intended to be withdrawn in a future Autoconf release.
2212 # They can cause serious problems if a builder's source tree is in a directory
2213 # whose full name contains unusual characters.
2214 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2215 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2216 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2217
2218
2219
2220 AT_SPI_ATK_MAJOR_VERSION=0
2221 AT_SPI_ATK_MINOR_VERSION=3
2222 AT_SPI_ATK_INTERFACE_AGE=0
2223 AT_SPI_ATK_BINARY_AGE=0
2224 AT_SPI_ATK_VERSION="$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION"
2225
2226
2227 # libtool versioning
2228 LT_RELEASE=$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION
2229 LT_CURRENT=0
2230 LT_REVISION=0
2231 LT_AGE=0
2232 LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
2233
2234
2235
2236
2237
2238
2239 am__api_version='1.12'
2240
2241 # Find a good install program.  We prefer a C program (faster),
2242 # so one script is as good as another.  But avoid the broken or
2243 # incompatible versions:
2244 # SysV /etc/install, /usr/sbin/install
2245 # SunOS /usr/etc/install
2246 # IRIX /sbin/install
2247 # AIX /bin/install
2248 # AmigaOS /C/install, which installs bootblocks on floppy discs
2249 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2250 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2251 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2252 # OS/2's system install, which has a completely different semantic
2253 # ./install, which can be erroneously created by make from ./install.sh.
2254 # Reject install programs that cannot install multiple files.
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2256 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2257 if test -z "$INSTALL"; then
2258 if ${ac_cv_path_install+:} false; then :
2259   $as_echo_n "(cached) " >&6
2260 else
2261   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2262 for as_dir in $PATH
2263 do
2264   IFS=$as_save_IFS
2265   test -z "$as_dir" && as_dir=.
2266     # Account for people who put trailing slashes in PATH elements.
2267 case $as_dir/ in #((
2268   ./ | .// | /[cC]/* | \
2269   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2270   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2271   /usr/ucb/* ) ;;
2272   *)
2273     # OSF1 and SCO ODT 3.0 have their own names for install.
2274     # Don't use installbsd from OSF since it installs stuff as root
2275     # by default.
2276     for ac_prog in ginstall scoinst install; do
2277       for ac_exec_ext in '' $ac_executable_extensions; do
2278         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2279           if test $ac_prog = install &&
2280             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2281             # AIX install.  It has an incompatible calling convention.
2282             :
2283           elif test $ac_prog = install &&
2284             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2285             # program-specific install script used by HP pwplus--don't use.
2286             :
2287           else
2288             rm -rf conftest.one conftest.two conftest.dir
2289             echo one > conftest.one
2290             echo two > conftest.two
2291             mkdir conftest.dir
2292             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2293               test -s conftest.one && test -s conftest.two &&
2294               test -s conftest.dir/conftest.one &&
2295               test -s conftest.dir/conftest.two
2296             then
2297               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2298               break 3
2299             fi
2300           fi
2301         fi
2302       done
2303     done
2304     ;;
2305 esac
2306
2307   done
2308 IFS=$as_save_IFS
2309
2310 rm -rf conftest.one conftest.two conftest.dir
2311
2312 fi
2313   if test "${ac_cv_path_install+set}" = set; then
2314     INSTALL=$ac_cv_path_install
2315   else
2316     # As a last resort, use the slow shell script.  Don't cache a
2317     # value for INSTALL within a source directory, because that will
2318     # break other packages using the cache if that directory is
2319     # removed, or if the value is a relative name.
2320     INSTALL=$ac_install_sh
2321   fi
2322 fi
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2324 $as_echo "$INSTALL" >&6; }
2325
2326 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2327 # It thinks the first close brace ends the variable substitution.
2328 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2329
2330 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2331
2332 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2333
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2335 $as_echo_n "checking whether build environment is sane... " >&6; }
2336 # Reject unsafe characters in $srcdir or the absolute working directory
2337 # name.  Accept space and tab only in the latter.
2338 am_lf='
2339 '
2340 case `pwd` in
2341   *[\\\"\#\$\&\'\`$am_lf]*)
2342     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2343 esac
2344 case $srcdir in
2345   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2346     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2347 esac
2348
2349 # Do 'set' in a subshell so we don't clobber the current shell's
2350 # arguments.  Must try -L first in case configure is actually a
2351 # symlink; some systems play weird games with the mod time of symlinks
2352 # (eg FreeBSD returns the mod time of the symlink's containing
2353 # directory).
2354 if (
2355    am_has_slept=no
2356    for am_try in 1 2; do
2357      echo "timestamp, slept: $am_has_slept" > conftest.file
2358      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2359      if test "$*" = "X"; then
2360         # -L didn't work.
2361         set X `ls -t "$srcdir/configure" conftest.file`
2362      fi
2363      if test "$*" != "X $srcdir/configure conftest.file" \
2364         && test "$*" != "X conftest.file $srcdir/configure"; then
2365
2366         # If neither matched, then we have a broken ls.  This can happen
2367         # if, for instance, CONFIG_SHELL is bash and it inherits a
2368         # broken ls alias from the environment.  This has actually
2369         # happened.  Such a system could not be considered "sane".
2370         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2371   alias in your environment" "$LINENO" 5
2372      fi
2373      if test "$2" = conftest.file || test $am_try -eq 2; then
2374        break
2375      fi
2376      # Just in case.
2377      sleep 1
2378      am_has_slept=yes
2379    done
2380    test "$2" = conftest.file
2381    )
2382 then
2383    # Ok.
2384    :
2385 else
2386    as_fn_error $? "newly created file is older than distributed files!
2387 Check your system clock" "$LINENO" 5
2388 fi
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2390 $as_echo "yes" >&6; }
2391 # If we didn't sleep, we still need to ensure time stamps of config.status and
2392 # generated files are strictly newer.
2393 am_sleep_pid=
2394 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2395   ( sleep 1 ) &
2396   am_sleep_pid=$!
2397 fi
2398
2399 rm -f conftest.file
2400
2401 test "$program_prefix" != NONE &&
2402   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2403 # Use a double $ so make ignores it.
2404 test "$program_suffix" != NONE &&
2405   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2406 # Double any \ or $.
2407 # By default was `s,x,x', remove it if useless.
2408 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2409 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2410
2411 # expand $ac_aux_dir to an absolute path
2412 am_aux_dir=`cd $ac_aux_dir && pwd`
2413
2414 if test x"${MISSING+set}" != xset; then
2415   case $am_aux_dir in
2416   *\ * | *\     *)
2417     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2418   *)
2419     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2420   esac
2421 fi
2422 # Use eval to expand $SHELL
2423 if eval "$MISSING --run true"; then
2424   am_missing_run="$MISSING --run "
2425 else
2426   am_missing_run=
2427   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2428 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2429 fi
2430
2431 if test x"${install_sh}" != xset; then
2432   case $am_aux_dir in
2433   *\ * | *\     *)
2434     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2435   *)
2436     install_sh="\${SHELL} $am_aux_dir/install-sh"
2437   esac
2438 fi
2439
2440 # Installed binaries are usually stripped using 'strip' when the user
2441 # run "make install-strip".  However 'strip' might not be the right
2442 # tool to use in cross-compilation environments, therefore Automake
2443 # will honor the 'STRIP' environment variable to overrule this program.
2444 if test "$cross_compiling" != no; then
2445   if test -n "$ac_tool_prefix"; then
2446   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2447 set dummy ${ac_tool_prefix}strip; ac_word=$2
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449 $as_echo_n "checking for $ac_word... " >&6; }
2450 if ${ac_cv_prog_STRIP+:} false; then :
2451   $as_echo_n "(cached) " >&6
2452 else
2453   if test -n "$STRIP"; then
2454   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2455 else
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH
2458 do
2459   IFS=$as_save_IFS
2460   test -z "$as_dir" && as_dir=.
2461     for ac_exec_ext in '' $ac_executable_extensions; do
2462   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2463     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465     break 2
2466   fi
2467 done
2468   done
2469 IFS=$as_save_IFS
2470
2471 fi
2472 fi
2473 STRIP=$ac_cv_prog_STRIP
2474 if test -n "$STRIP"; then
2475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2476 $as_echo "$STRIP" >&6; }
2477 else
2478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479 $as_echo "no" >&6; }
2480 fi
2481
2482
2483 fi
2484 if test -z "$ac_cv_prog_STRIP"; then
2485   ac_ct_STRIP=$STRIP
2486   # Extract the first word of "strip", so it can be a program name with args.
2487 set dummy strip; ac_word=$2
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2489 $as_echo_n "checking for $ac_word... " >&6; }
2490 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2491   $as_echo_n "(cached) " >&6
2492 else
2493   if test -n "$ac_ct_STRIP"; then
2494   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2495 else
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 for as_dir in $PATH
2498 do
2499   IFS=$as_save_IFS
2500   test -z "$as_dir" && as_dir=.
2501     for ac_exec_ext in '' $ac_executable_extensions; do
2502   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2503     ac_cv_prog_ac_ct_STRIP="strip"
2504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2505     break 2
2506   fi
2507 done
2508   done
2509 IFS=$as_save_IFS
2510
2511 fi
2512 fi
2513 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2514 if test -n "$ac_ct_STRIP"; then
2515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2516 $as_echo "$ac_ct_STRIP" >&6; }
2517 else
2518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2519 $as_echo "no" >&6; }
2520 fi
2521
2522   if test "x$ac_ct_STRIP" = x; then
2523     STRIP=":"
2524   else
2525     case $cross_compiling:$ac_tool_warned in
2526 yes:)
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2529 ac_tool_warned=yes ;;
2530 esac
2531     STRIP=$ac_ct_STRIP
2532   fi
2533 else
2534   STRIP="$ac_cv_prog_STRIP"
2535 fi
2536
2537 fi
2538 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2539
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2541 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2542 if test -z "$MKDIR_P"; then
2543   if ${ac_cv_path_mkdir+:} false; then :
2544   $as_echo_n "(cached) " >&6
2545 else
2546   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2548 do
2549   IFS=$as_save_IFS
2550   test -z "$as_dir" && as_dir=.
2551     for ac_prog in mkdir gmkdir; do
2552          for ac_exec_ext in '' $ac_executable_extensions; do
2553            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2554            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2555              'mkdir (GNU coreutils) '* | \
2556              'mkdir (coreutils) '* | \
2557              'mkdir (fileutils) '4.1*)
2558                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2559                break 3;;
2560            esac
2561          done
2562        done
2563   done
2564 IFS=$as_save_IFS
2565
2566 fi
2567
2568   test -d ./--version && rmdir ./--version
2569   if test "${ac_cv_path_mkdir+set}" = set; then
2570     MKDIR_P="$ac_cv_path_mkdir -p"
2571   else
2572     # As a last resort, use the slow shell script.  Don't cache a
2573     # value for MKDIR_P within a source directory, because that will
2574     # break other packages using the cache if that directory is
2575     # removed, or if the value is a relative name.
2576     MKDIR_P="$ac_install_sh -d"
2577   fi
2578 fi
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2580 $as_echo "$MKDIR_P" >&6; }
2581
2582 for ac_prog in gawk mawk nawk awk
2583 do
2584   # Extract the first word of "$ac_prog", so it can be a program name with args.
2585 set dummy $ac_prog; ac_word=$2
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if ${ac_cv_prog_AWK+:} false; then :
2589   $as_echo_n "(cached) " >&6
2590 else
2591   if test -n "$AWK"; then
2592   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2593 else
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2596 do
2597   IFS=$as_save_IFS
2598   test -z "$as_dir" && as_dir=.
2599     for ac_exec_ext in '' $ac_executable_extensions; do
2600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2601     ac_cv_prog_AWK="$ac_prog"
2602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2603     break 2
2604   fi
2605 done
2606   done
2607 IFS=$as_save_IFS
2608
2609 fi
2610 fi
2611 AWK=$ac_cv_prog_AWK
2612 if test -n "$AWK"; then
2613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2614 $as_echo "$AWK" >&6; }
2615 else
2616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2617 $as_echo "no" >&6; }
2618 fi
2619
2620
2621   test -n "$AWK" && break
2622 done
2623
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2625 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2626 set x ${MAKE-make}
2627 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2628 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2629   $as_echo_n "(cached) " >&6
2630 else
2631   cat >conftest.make <<\_ACEOF
2632 SHELL = /bin/sh
2633 all:
2634         @echo '@@@%%%=$(MAKE)=@@@%%%'
2635 _ACEOF
2636 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2637 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2638   *@@@%%%=?*=@@@%%%*)
2639     eval ac_cv_prog_make_${ac_make}_set=yes;;
2640   *)
2641     eval ac_cv_prog_make_${ac_make}_set=no;;
2642 esac
2643 rm -f conftest.make
2644 fi
2645 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2647 $as_echo "yes" >&6; }
2648   SET_MAKE=
2649 else
2650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2652   SET_MAKE="MAKE=${MAKE-make}"
2653 fi
2654
2655 rm -rf .tst 2>/dev/null
2656 mkdir .tst 2>/dev/null
2657 if test -d .tst; then
2658   am__leading_dot=.
2659 else
2660   am__leading_dot=_
2661 fi
2662 rmdir .tst 2>/dev/null
2663
2664 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2665   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2666   # is not polluted with repeated "-I."
2667   am__isrc=' -I$(srcdir)'
2668   # test to see if srcdir already configured
2669   if test -f $srcdir/config.status; then
2670     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2671   fi
2672 fi
2673
2674 # test whether we have cygpath
2675 if test -z "$CYGPATH_W"; then
2676   if (cygpath --version) >/dev/null 2>/dev/null; then
2677     CYGPATH_W='cygpath -w'
2678   else
2679     CYGPATH_W=echo
2680   fi
2681 fi
2682
2683
2684 # Define the identity of the package.
2685  PACKAGE='at-spi2-atk'
2686  VERSION='2.5.92'
2687
2688
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE "$PACKAGE"
2691 _ACEOF
2692
2693
2694 cat >>confdefs.h <<_ACEOF
2695 #define VERSION "$VERSION"
2696 _ACEOF
2697
2698 # Some tools Automake needs.
2699
2700 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2701
2702
2703 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2704
2705
2706 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2707
2708
2709 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2710
2711
2712 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2713
2714 mkdir_p="$MKDIR_P"
2715 # We need awk for the "check" target.  The system "awk" is bad on
2716 # some platforms.
2717 # Always define AMTAR for backward compatibility.  Yes, it's still used
2718 # in the wild :-(  We should find a proper way to deprecate it ...
2719 AMTAR='$${TAR-tar}'
2720
2721 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2722
2723
2724
2725
2726
2727
2728 # Enable silent build when available (Automake 1.11)
2729 # Check whether --enable-silent-rules was given.
2730 if test "${enable_silent_rules+set}" = set; then :
2731   enableval=$enable_silent_rules;
2732 fi
2733
2734 case $enable_silent_rules in # (((
2735   yes) AM_DEFAULT_VERBOSITY=0;;
2736    no) AM_DEFAULT_VERBOSITY=1;;
2737     *) AM_DEFAULT_VERBOSITY=0;;
2738 esac
2739 am_make=${MAKE-make}
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2741 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2742 if ${am_cv_make_support_nested_variables+:} false; then :
2743   $as_echo_n "(cached) " >&6
2744 else
2745   if $as_echo 'TRUE=$(BAR$(V))
2746 BAR0=false
2747 BAR1=true
2748 V=1
2749 am__doit:
2750         @$(TRUE)
2751 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2752   am_cv_make_support_nested_variables=yes
2753 else
2754   am_cv_make_support_nested_variables=no
2755 fi
2756 fi
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2758 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2759 if test $am_cv_make_support_nested_variables = yes; then
2760     AM_V='$(V)'
2761   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2762 else
2763   AM_V=$AM_DEFAULT_VERBOSITY
2764   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2765 fi
2766 AM_BACKSLASH='\'
2767
2768
2769 ac_ext=c
2770 ac_cpp='$CPP $CPPFLAGS'
2771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2774 if test -n "$ac_tool_prefix"; then
2775   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2776 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if ${ac_cv_prog_CC+:} false; then :
2780   $as_echo_n "(cached) " >&6
2781 else
2782   if test -n "$CC"; then
2783   ac_cv_prog_CC="$CC" # Let the user override the test.
2784 else
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 for as_dir in $PATH
2787 do
2788   IFS=$as_save_IFS
2789   test -z "$as_dir" && as_dir=.
2790     for ac_exec_ext in '' $ac_executable_extensions; do
2791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2792     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794     break 2
2795   fi
2796 done
2797   done
2798 IFS=$as_save_IFS
2799
2800 fi
2801 fi
2802 CC=$ac_cv_prog_CC
2803 if test -n "$CC"; then
2804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2805 $as_echo "$CC" >&6; }
2806 else
2807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2809 fi
2810
2811
2812 fi
2813 if test -z "$ac_cv_prog_CC"; then
2814   ac_ct_CC=$CC
2815   # Extract the first word of "gcc", so it can be a program name with args.
2816 set dummy gcc; ac_word=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2820   $as_echo_n "(cached) " >&6
2821 else
2822   if test -n "$ac_ct_CC"; then
2823   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2824 else
2825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 for as_dir in $PATH
2827 do
2828   IFS=$as_save_IFS
2829   test -z "$as_dir" && as_dir=.
2830     for ac_exec_ext in '' $ac_executable_extensions; do
2831   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2832     ac_cv_prog_ac_ct_CC="gcc"
2833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834     break 2
2835   fi
2836 done
2837   done
2838 IFS=$as_save_IFS
2839
2840 fi
2841 fi
2842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2843 if test -n "$ac_ct_CC"; then
2844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2845 $as_echo "$ac_ct_CC" >&6; }
2846 else
2847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848 $as_echo "no" >&6; }
2849 fi
2850
2851   if test "x$ac_ct_CC" = x; then
2852     CC=""
2853   else
2854     case $cross_compiling:$ac_tool_warned in
2855 yes:)
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2858 ac_tool_warned=yes ;;
2859 esac
2860     CC=$ac_ct_CC
2861   fi
2862 else
2863   CC="$ac_cv_prog_CC"
2864 fi
2865
2866 if test -z "$CC"; then
2867           if test -n "$ac_tool_prefix"; then
2868     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2869 set dummy ${ac_tool_prefix}cc; ac_word=$2
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871 $as_echo_n "checking for $ac_word... " >&6; }
2872 if ${ac_cv_prog_CC+:} false; then :
2873   $as_echo_n "(cached) " >&6
2874 else
2875   if test -n "$CC"; then
2876   ac_cv_prog_CC="$CC" # Let the user override the test.
2877 else
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 for as_dir in $PATH
2880 do
2881   IFS=$as_save_IFS
2882   test -z "$as_dir" && as_dir=.
2883     for ac_exec_ext in '' $ac_executable_extensions; do
2884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2885     ac_cv_prog_CC="${ac_tool_prefix}cc"
2886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2887     break 2
2888   fi
2889 done
2890   done
2891 IFS=$as_save_IFS
2892
2893 fi
2894 fi
2895 CC=$ac_cv_prog_CC
2896 if test -n "$CC"; then
2897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2898 $as_echo "$CC" >&6; }
2899 else
2900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901 $as_echo "no" >&6; }
2902 fi
2903
2904
2905   fi
2906 fi
2907 if test -z "$CC"; then
2908   # Extract the first word of "cc", so it can be a program name with args.
2909 set dummy cc; ac_word=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if ${ac_cv_prog_CC+:} false; then :
2913   $as_echo_n "(cached) " >&6
2914 else
2915   if test -n "$CC"; then
2916   ac_cv_prog_CC="$CC" # Let the user override the test.
2917 else
2918   ac_prog_rejected=no
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2921 do
2922   IFS=$as_save_IFS
2923   test -z "$as_dir" && as_dir=.
2924     for ac_exec_ext in '' $ac_executable_extensions; do
2925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2927        ac_prog_rejected=yes
2928        continue
2929      fi
2930     ac_cv_prog_CC="cc"
2931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932     break 2
2933   fi
2934 done
2935   done
2936 IFS=$as_save_IFS
2937
2938 if test $ac_prog_rejected = yes; then
2939   # We found a bogon in the path, so make sure we never use it.
2940   set dummy $ac_cv_prog_CC
2941   shift
2942   if test $# != 0; then
2943     # We chose a different compiler from the bogus one.
2944     # However, it has the same basename, so the bogon will be chosen
2945     # first if we set CC to just the basename; use the full file name.
2946     shift
2947     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2948   fi
2949 fi
2950 fi
2951 fi
2952 CC=$ac_cv_prog_CC
2953 if test -n "$CC"; then
2954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2955 $as_echo "$CC" >&6; }
2956 else
2957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2959 fi
2960
2961
2962 fi
2963 if test -z "$CC"; then
2964   if test -n "$ac_tool_prefix"; then
2965   for ac_prog in cl.exe
2966   do
2967     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2968 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if ${ac_cv_prog_CC+:} false; then :
2972   $as_echo_n "(cached) " >&6
2973 else
2974   if test -n "$CC"; then
2975   ac_cv_prog_CC="$CC" # Let the user override the test.
2976 else
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 for as_dir in $PATH
2979 do
2980   IFS=$as_save_IFS
2981   test -z "$as_dir" && as_dir=.
2982     for ac_exec_ext in '' $ac_executable_extensions; do
2983   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986     break 2
2987   fi
2988 done
2989   done
2990 IFS=$as_save_IFS
2991
2992 fi
2993 fi
2994 CC=$ac_cv_prog_CC
2995 if test -n "$CC"; then
2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2997 $as_echo "$CC" >&6; }
2998 else
2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3001 fi
3002
3003
3004     test -n "$CC" && break
3005   done
3006 fi
3007 if test -z "$CC"; then
3008   ac_ct_CC=$CC
3009   for ac_prog in cl.exe
3010 do
3011   # Extract the first word of "$ac_prog", so it can be a program name with args.
3012 set dummy $ac_prog; ac_word=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3016   $as_echo_n "(cached) " >&6
3017 else
3018   if test -n "$ac_ct_CC"; then
3019   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3020 else
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 for as_dir in $PATH
3023 do
3024   IFS=$as_save_IFS
3025   test -z "$as_dir" && as_dir=.
3026     for ac_exec_ext in '' $ac_executable_extensions; do
3027   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028     ac_cv_prog_ac_ct_CC="$ac_prog"
3029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3030     break 2
3031   fi
3032 done
3033   done
3034 IFS=$as_save_IFS
3035
3036 fi
3037 fi
3038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3039 if test -n "$ac_ct_CC"; then
3040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3041 $as_echo "$ac_ct_CC" >&6; }
3042 else
3043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3045 fi
3046
3047
3048   test -n "$ac_ct_CC" && break
3049 done
3050
3051   if test "x$ac_ct_CC" = x; then
3052     CC=""
3053   else
3054     case $cross_compiling:$ac_tool_warned in
3055 yes:)
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3058 ac_tool_warned=yes ;;
3059 esac
3060     CC=$ac_ct_CC
3061   fi
3062 fi
3063
3064 fi
3065
3066
3067 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3069 as_fn_error $? "no acceptable C compiler found in \$PATH
3070 See \`config.log' for more details" "$LINENO" 5; }
3071
3072 # Provide some information about the compiler.
3073 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3074 set X $ac_compile
3075 ac_compiler=$2
3076 for ac_option in --version -v -V -qversion; do
3077   { { ac_try="$ac_compiler $ac_option >&5"
3078 case "(($ac_try" in
3079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080   *) ac_try_echo=$ac_try;;
3081 esac
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3085   ac_status=$?
3086   if test -s conftest.err; then
3087     sed '10a\
3088 ... rest of stderr output deleted ...
3089          10q' conftest.err >conftest.er1
3090     cat conftest.er1 >&5
3091   fi
3092   rm -f conftest.er1 conftest.err
3093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3094   test $ac_status = 0; }
3095 done
3096
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h.  */
3099
3100 int
3101 main ()
3102 {
3103
3104   ;
3105   return 0;
3106 }
3107 _ACEOF
3108 ac_clean_files_save=$ac_clean_files
3109 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3110 # Try to create an executable without -o first, disregard a.out.
3111 # It will help us diagnose broken compilers, and finding out an intuition
3112 # of exeext.
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3114 $as_echo_n "checking whether the C compiler works... " >&6; }
3115 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3116
3117 # The possible output files:
3118 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3119
3120 ac_rmfiles=
3121 for ac_file in $ac_files
3122 do
3123   case $ac_file in
3124     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3125     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3126   esac
3127 done
3128 rm -f $ac_rmfiles
3129
3130 if { { ac_try="$ac_link_default"
3131 case "(($ac_try" in
3132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133   *) ac_try_echo=$ac_try;;
3134 esac
3135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3136 $as_echo "$ac_try_echo"; } >&5
3137   (eval "$ac_link_default") 2>&5
3138   ac_status=$?
3139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3140   test $ac_status = 0; }; then :
3141   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3142 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3143 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3144 # so that the user can short-circuit this test for compilers unknown to
3145 # Autoconf.
3146 for ac_file in $ac_files ''
3147 do
3148   test -f "$ac_file" || continue
3149   case $ac_file in
3150     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3151         ;;
3152     [ab].out )
3153         # We found the default executable, but exeext='' is most
3154         # certainly right.
3155         break;;
3156     *.* )
3157         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3158         then :; else
3159            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3160         fi
3161         # We set ac_cv_exeext here because the later test for it is not
3162         # safe: cross compilers may not add the suffix if given an `-o'
3163         # argument, so we may need to know it at that point already.
3164         # Even if this section looks crufty: it has the advantage of
3165         # actually working.
3166         break;;
3167     * )
3168         break;;
3169   esac
3170 done
3171 test "$ac_cv_exeext" = no && ac_cv_exeext=
3172
3173 else
3174   ac_file=''
3175 fi
3176 if test -z "$ac_file"; then :
3177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3179 $as_echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3181
3182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3184 as_fn_error 77 "C compiler cannot create executables
3185 See \`config.log' for more details" "$LINENO" 5; }
3186 else
3187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3188 $as_echo "yes" >&6; }
3189 fi
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3191 $as_echo_n "checking for C compiler default output file name... " >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3193 $as_echo "$ac_file" >&6; }
3194 ac_exeext=$ac_cv_exeext
3195
3196 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3197 ac_clean_files=$ac_clean_files_save
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3199 $as_echo_n "checking for suffix of executables... " >&6; }
3200 if { { ac_try="$ac_link"
3201 case "(($ac_try" in
3202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203   *) ac_try_echo=$ac_try;;
3204 esac
3205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207   (eval "$ac_link") 2>&5
3208   ac_status=$?
3209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3210   test $ac_status = 0; }; then :
3211   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3212 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3213 # work properly (i.e., refer to `conftest.exe'), while it won't with
3214 # `rm'.
3215 for ac_file in conftest.exe conftest conftest.*; do
3216   test -f "$ac_file" || continue
3217   case $ac_file in
3218     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3219     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3220           break;;
3221     * ) break;;
3222   esac
3223 done
3224 else
3225   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3228 See \`config.log' for more details" "$LINENO" 5; }
3229 fi
3230 rm -f conftest conftest$ac_cv_exeext
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3232 $as_echo "$ac_cv_exeext" >&6; }
3233
3234 rm -f conftest.$ac_ext
3235 EXEEXT=$ac_cv_exeext
3236 ac_exeext=$EXEEXT
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h.  */
3239 #include <stdio.h>
3240 int
3241 main ()
3242 {
3243 FILE *f = fopen ("conftest.out", "w");
3244  return ferror (f) || fclose (f) != 0;
3245
3246   ;
3247   return 0;
3248 }
3249 _ACEOF
3250 ac_clean_files="$ac_clean_files conftest.out"
3251 # Check that the compiler produces executables we can run.  If not, either
3252 # the compiler is broken, or we cross compile.
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3254 $as_echo_n "checking whether we are cross compiling... " >&6; }
3255 if test "$cross_compiling" != yes; then
3256   { { ac_try="$ac_link"
3257 case "(($ac_try" in
3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259   *) ac_try_echo=$ac_try;;
3260 esac
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263   (eval "$ac_link") 2>&5
3264   ac_status=$?
3265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266   test $ac_status = 0; }
3267   if { ac_try='./conftest$ac_cv_exeext'
3268   { { case "(($ac_try" in
3269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270   *) ac_try_echo=$ac_try;;
3271 esac
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 $as_echo "$ac_try_echo"; } >&5
3274   (eval "$ac_try") 2>&5
3275   ac_status=$?
3276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277   test $ac_status = 0; }; }; then
3278     cross_compiling=no
3279   else
3280     if test "$cross_compiling" = maybe; then
3281         cross_compiling=yes
3282     else
3283         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $? "cannot run C compiled programs.
3286 If you meant to cross compile, use \`--host'.
3287 See \`config.log' for more details" "$LINENO" 5; }
3288     fi
3289   fi
3290 fi
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3292 $as_echo "$cross_compiling" >&6; }
3293
3294 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3295 ac_clean_files=$ac_clean_files_save
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3297 $as_echo_n "checking for suffix of object files... " >&6; }
3298 if ${ac_cv_objext+:} false; then :
3299   $as_echo_n "(cached) " >&6
3300 else
3301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h.  */
3303
3304 int
3305 main ()
3306 {
3307
3308   ;
3309   return 0;
3310 }
3311 _ACEOF
3312 rm -f conftest.o conftest.obj
3313 if { { ac_try="$ac_compile"
3314 case "(($ac_try" in
3315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3316   *) ac_try_echo=$ac_try;;
3317 esac
3318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3319 $as_echo "$ac_try_echo"; } >&5
3320   (eval "$ac_compile") 2>&5
3321   ac_status=$?
3322   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323   test $ac_status = 0; }; then :
3324   for ac_file in conftest.o conftest.obj conftest.*; do
3325   test -f "$ac_file" || continue;
3326   case $ac_file in
3327     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3328     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3329        break;;
3330   esac
3331 done
3332 else
3333   $as_echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3335
3336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 as_fn_error $? "cannot compute suffix of object files: cannot compile
3339 See \`config.log' for more details" "$LINENO" 5; }
3340 fi
3341 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3342 fi
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3344 $as_echo "$ac_cv_objext" >&6; }
3345 OBJEXT=$ac_cv_objext
3346 ac_objext=$OBJEXT
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3348 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3349 if ${ac_cv_c_compiler_gnu+:} false; then :
3350   $as_echo_n "(cached) " >&6
3351 else
3352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h.  */
3354
3355 int
3356 main ()
3357 {
3358 #ifndef __GNUC__
3359        choke me
3360 #endif
3361
3362   ;
3363   return 0;
3364 }
3365 _ACEOF
3366 if ac_fn_c_try_compile "$LINENO"; then :
3367   ac_compiler_gnu=yes
3368 else
3369   ac_compiler_gnu=no
3370 fi
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3373
3374 fi
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3376 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3377 if test $ac_compiler_gnu = yes; then
3378   GCC=yes
3379 else
3380   GCC=
3381 fi
3382 ac_test_CFLAGS=${CFLAGS+set}
3383 ac_save_CFLAGS=$CFLAGS
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3385 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3386 if ${ac_cv_prog_cc_g+:} false; then :
3387   $as_echo_n "(cached) " >&6
3388 else
3389   ac_save_c_werror_flag=$ac_c_werror_flag
3390    ac_c_werror_flag=yes
3391    ac_cv_prog_cc_g=no
3392    CFLAGS="-g"
3393    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h.  */
3395
3396 int
3397 main ()
3398 {
3399
3400   ;
3401   return 0;
3402 }
3403 _ACEOF
3404 if ac_fn_c_try_compile "$LINENO"; then :
3405   ac_cv_prog_cc_g=yes
3406 else
3407   CFLAGS=""
3408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h.  */
3410
3411 int
3412 main ()
3413 {
3414
3415   ;
3416   return 0;
3417 }
3418 _ACEOF
3419 if ac_fn_c_try_compile "$LINENO"; then :
3420
3421 else
3422   ac_c_werror_flag=$ac_save_c_werror_flag
3423          CFLAGS="-g"
3424          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h.  */
3426
3427 int
3428 main ()
3429 {
3430
3431   ;
3432   return 0;
3433 }
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3436   ac_cv_prog_cc_g=yes
3437 fi
3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 fi
3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441 fi
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443    ac_c_werror_flag=$ac_save_c_werror_flag
3444 fi
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3446 $as_echo "$ac_cv_prog_cc_g" >&6; }
3447 if test "$ac_test_CFLAGS" = set; then
3448   CFLAGS=$ac_save_CFLAGS
3449 elif test $ac_cv_prog_cc_g = yes; then
3450   if test "$GCC" = yes; then
3451     CFLAGS="-g -O2"
3452   else
3453     CFLAGS="-g"
3454   fi
3455 else
3456   if test "$GCC" = yes; then
3457     CFLAGS="-O2"
3458   else
3459     CFLAGS=
3460   fi
3461 fi
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3463 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3464 if ${ac_cv_prog_cc_c89+:} false; then :
3465   $as_echo_n "(cached) " >&6
3466 else
3467   ac_cv_prog_cc_c89=no
3468 ac_save_CC=$CC
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h.  */
3471 #include <stdarg.h>
3472 #include <stdio.h>
3473 struct stat;
3474 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3475 struct buf { int x; };
3476 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3477 static char *e (p, i)
3478      char **p;
3479      int i;
3480 {
3481   return p[i];
3482 }
3483 static char *f (char * (*g) (char **, int), char **p, ...)
3484 {
3485   char *s;
3486   va_list v;
3487   va_start (v,p);
3488   s = g (p, va_arg (v,int));
3489   va_end (v);
3490   return s;
3491 }
3492
3493 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3494    function prototypes and stuff, but not '\xHH' hex character constants.
3495    These don't provoke an error unfortunately, instead are silently treated
3496    as 'x'.  The following induces an error, until -std is added to get
3497    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3498    array size at least.  It's necessary to write '\x00'==0 to get something
3499    that's true only with -std.  */
3500 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3501
3502 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3503    inside strings and character constants.  */
3504 #define FOO(x) 'x'
3505 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3506
3507 int test (int i, double x);
3508 struct s1 {int (*f) (int a);};
3509 struct s2 {int (*f) (double a);};
3510 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3511 int argc;
3512 char **argv;
3513 int
3514 main ()
3515 {
3516 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3517   ;
3518   return 0;
3519 }
3520 _ACEOF
3521 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3522         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3523 do
3524   CC="$ac_save_CC $ac_arg"
3525   if ac_fn_c_try_compile "$LINENO"; then :
3526   ac_cv_prog_cc_c89=$ac_arg
3527 fi
3528 rm -f core conftest.err conftest.$ac_objext
3529   test "x$ac_cv_prog_cc_c89" != "xno" && break
3530 done
3531 rm -f conftest.$ac_ext
3532 CC=$ac_save_CC
3533
3534 fi
3535 # AC_CACHE_VAL
3536 case "x$ac_cv_prog_cc_c89" in
3537   x)
3538     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3539 $as_echo "none needed" >&6; } ;;
3540   xno)
3541     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3542 $as_echo "unsupported" >&6; } ;;
3543   *)
3544     CC="$CC $ac_cv_prog_cc_c89"
3545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3546 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3547 esac
3548 if test "x$ac_cv_prog_cc_c89" != xno; then :
3549
3550 fi
3551
3552 ac_ext=c
3553 ac_cpp='$CPP $CPPFLAGS'
3554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3557 DEPDIR="${am__leading_dot}deps"
3558
3559 ac_config_commands="$ac_config_commands depfiles"
3560
3561
3562 am_make=${MAKE-make}
3563 cat > confinc << 'END'
3564 am__doit:
3565         @echo this is the am__doit target
3566 .PHONY: am__doit
3567 END
3568 # If we don't find an include directive, just comment out the code.
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3570 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3571 am__include="#"
3572 am__quote=
3573 _am_result=none
3574 # First try GNU make style include.
3575 echo "include confinc" > confmf
3576 # Ignore all kinds of additional output from 'make'.
3577 case `$am_make -s -f confmf 2> /dev/null` in #(
3578 *the\ am__doit\ target*)
3579   am__include=include
3580   am__quote=
3581   _am_result=GNU
3582   ;;
3583 esac
3584 # Now try BSD make style include.
3585 if test "$am__include" = "#"; then
3586    echo '.include "confinc"' > confmf
3587    case `$am_make -s -f confmf 2> /dev/null` in #(
3588    *the\ am__doit\ target*)
3589      am__include=.include
3590      am__quote="\""
3591      _am_result=BSD
3592      ;;
3593    esac
3594 fi
3595
3596
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3598 $as_echo "$_am_result" >&6; }
3599 rm -f confinc confmf
3600
3601 # Check whether --enable-dependency-tracking was given.
3602 if test "${enable_dependency_tracking+set}" = set; then :
3603   enableval=$enable_dependency_tracking;
3604 fi
3605
3606 if test "x$enable_dependency_tracking" != xno; then
3607   am_depcomp="$ac_aux_dir/depcomp"
3608   AMDEPBACKSLASH='\'
3609   am__nodep='_no'
3610 fi
3611  if test "x$enable_dependency_tracking" != xno; then
3612   AMDEP_TRUE=
3613   AMDEP_FALSE='#'
3614 else
3615   AMDEP_TRUE='#'
3616   AMDEP_FALSE=
3617 fi
3618
3619
3620
3621 depcc="$CC"   am_compiler_list=
3622
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3624 $as_echo_n "checking dependency style of $depcc... " >&6; }
3625 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3626   $as_echo_n "(cached) " >&6
3627 else
3628   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3629   # We make a subdir and do the tests there.  Otherwise we can end up
3630   # making bogus files that we don't know about and never remove.  For
3631   # instance it was reported that on HP-UX the gcc test will end up
3632   # making a dummy file named 'D' -- because '-MD' means "put the output
3633   # in D".
3634   rm -rf conftest.dir
3635   mkdir conftest.dir
3636   # Copy depcomp to subdir because otherwise we won't find it if we're
3637   # using a relative directory.
3638   cp "$am_depcomp" conftest.dir
3639   cd conftest.dir
3640   # We will build objects and dependencies in a subdirectory because
3641   # it helps to detect inapplicable dependency modes.  For instance
3642   # both Tru64's cc and ICC support -MD to output dependencies as a
3643   # side effect of compilation, but ICC will put the dependencies in
3644   # the current directory while Tru64 will put them in the object
3645   # directory.
3646   mkdir sub
3647
3648   am_cv_CC_dependencies_compiler_type=none
3649   if test "$am_compiler_list" = ""; then
3650      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3651   fi
3652   am__universal=false
3653   case " $depcc " in #(
3654      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3655      esac
3656
3657   for depmode in $am_compiler_list; do
3658     # Setup a source with many dependencies, because some compilers
3659     # like to wrap large dependency lists on column 80 (with \), and
3660     # we should not choose a depcomp mode which is confused by this.
3661     #
3662     # We need to recreate these files for each test, as the compiler may
3663     # overwrite some of them when testing with obscure command lines.
3664     # This happens at least with the AIX C compiler.
3665     : > sub/conftest.c
3666     for i in 1 2 3 4 5 6; do
3667       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3668       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3669       # Solaris 10 /bin/sh.
3670       echo '/* dummy */' > sub/conftst$i.h
3671     done
3672     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3673
3674     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3675     # mode.  It turns out that the SunPro C++ compiler does not properly
3676     # handle '-M -o', and we need to detect this.  Also, some Intel
3677     # versions had trouble with output in subdirs.
3678     am__obj=sub/conftest.${OBJEXT-o}
3679     am__minus_obj="-o $am__obj"
3680     case $depmode in
3681     gcc)
3682       # This depmode causes a compiler race in universal mode.
3683       test "$am__universal" = false || continue
3684       ;;
3685     nosideeffect)
3686       # After this tag, mechanisms are not by side-effect, so they'll
3687       # only be used when explicitly requested.
3688       if test "x$enable_dependency_tracking" = xyes; then
3689         continue
3690       else
3691         break
3692       fi
3693       ;;
3694     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3695       # This compiler won't grok '-c -o', but also, the minuso test has
3696       # not run yet.  These depmodes are late enough in the game, and
3697       # so weak that their functioning should not be impacted.
3698       am__obj=conftest.${OBJEXT-o}
3699       am__minus_obj=
3700       ;;
3701     none) break ;;
3702     esac
3703     if depmode=$depmode \
3704        source=sub/conftest.c object=$am__obj \
3705        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3706        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3707          >/dev/null 2>conftest.err &&
3708        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3709        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3710        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3711        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3712       # icc doesn't choke on unknown options, it will just issue warnings
3713       # or remarks (even with -Werror).  So we grep stderr for any message
3714       # that says an option was ignored or not supported.
3715       # When given -MP, icc 7.0 and 7.1 complain thusly:
3716       #   icc: Command line warning: ignoring option '-M'; no argument required
3717       # The diagnosis changed in icc 8.0:
3718       #   icc: Command line remark: option '-MP' not supported
3719       if (grep 'ignoring option' conftest.err ||
3720           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3721         am_cv_CC_dependencies_compiler_type=$depmode
3722         break
3723       fi
3724     fi
3725   done
3726
3727   cd ..
3728   rm -rf conftest.dir
3729 else
3730   am_cv_CC_dependencies_compiler_type=none
3731 fi
3732
3733 fi
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3735 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3736 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3737
3738  if
3739   test "x$enable_dependency_tracking" != xno \
3740   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3741   am__fastdepCC_TRUE=
3742   am__fastdepCC_FALSE='#'
3743 else
3744   am__fastdepCC_TRUE='#'
3745   am__fastdepCC_FALSE=
3746 fi
3747
3748
3749 # Check whether --enable-static was given.
3750 if test "${enable_static+set}" = set; then :
3751   enableval=$enable_static; p=${PACKAGE-default}
3752     case $enableval in
3753     yes) enable_static=yes ;;
3754     no) enable_static=no ;;
3755     *)
3756      enable_static=no
3757       # Look at the argument we got.  We use all the common list separators.
3758       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3759       for pkg in $enableval; do
3760         IFS="$lt_save_ifs"
3761         if test "X$pkg" = "X$p"; then
3762           enable_static=yes
3763         fi
3764       done
3765       IFS="$lt_save_ifs"
3766       ;;
3767     esac
3768 else
3769   enable_static=no
3770 fi
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780 case `pwd` in
3781   *\ * | *\     *)
3782     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3783 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3784 esac
3785
3786
3787
3788 macro_version='2.4.2'
3789 macro_revision='1.3337'
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803 ltmain="$ac_aux_dir/ltmain.sh"
3804
3805 # Make sure we can run config.sub.
3806 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3807   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3808
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3810 $as_echo_n "checking build system type... " >&6; }
3811 if ${ac_cv_build+:} false; then :
3812   $as_echo_n "(cached) " >&6
3813 else
3814   ac_build_alias=$build_alias
3815 test "x$ac_build_alias" = x &&
3816   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3817 test "x$ac_build_alias" = x &&
3818   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3819 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3820   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3821
3822 fi
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3824 $as_echo "$ac_cv_build" >&6; }
3825 case $ac_cv_build in
3826 *-*-*) ;;
3827 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3828 esac
3829 build=$ac_cv_build
3830 ac_save_IFS=$IFS; IFS='-'
3831 set x $ac_cv_build
3832 shift
3833 build_cpu=$1
3834 build_vendor=$2
3835 shift; shift
3836 # Remember, the first character of IFS is used to create $*,
3837 # except with old shells:
3838 build_os=$*
3839 IFS=$ac_save_IFS
3840 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3841
3842
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3844 $as_echo_n "checking host system type... " >&6; }
3845 if ${ac_cv_host+:} false; then :
3846   $as_echo_n "(cached) " >&6
3847 else
3848   if test "x$host_alias" = x; then
3849   ac_cv_host=$ac_cv_build
3850 else
3851   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3852     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3853 fi
3854
3855 fi
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3857 $as_echo "$ac_cv_host" >&6; }
3858 case $ac_cv_host in
3859 *-*-*) ;;
3860 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3861 esac
3862 host=$ac_cv_host
3863 ac_save_IFS=$IFS; IFS='-'
3864 set x $ac_cv_host
3865 shift
3866 host_cpu=$1
3867 host_vendor=$2
3868 shift; shift
3869 # Remember, the first character of IFS is used to create $*,
3870 # except with old shells:
3871 host_os=$*
3872 IFS=$ac_save_IFS
3873 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3874
3875
3876 # Backslashify metacharacters that are still active within
3877 # double-quoted strings.
3878 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3879
3880 # Same as above, but do not quote variable references.
3881 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3882
3883 # Sed substitution to delay expansion of an escaped shell variable in a
3884 # double_quote_subst'ed string.
3885 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3886
3887 # Sed substitution to delay expansion of an escaped single quote.
3888 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3889
3890 # Sed substitution to avoid accidental globbing in evaled expressions
3891 no_glob_subst='s/\*/\\\*/g'
3892
3893 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3894 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3895 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3896
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3898 $as_echo_n "checking how to print strings... " >&6; }
3899 # Test print first, because it will be a builtin if present.
3900 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3901    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3902   ECHO='print -r --'
3903 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3904   ECHO='printf %s\n'
3905 else
3906   # Use this function as a fallback that always works.
3907   func_fallback_echo ()
3908   {
3909     eval 'cat <<_LTECHO_EOF
3910 $1
3911 _LTECHO_EOF'
3912   }
3913   ECHO='func_fallback_echo'
3914 fi
3915
3916 # func_echo_all arg...
3917 # Invoke $ECHO with all args, space-separated.
3918 func_echo_all ()
3919 {
3920     $ECHO ""
3921 }
3922
3923 case "$ECHO" in
3924   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3925 $as_echo "printf" >&6; } ;;
3926   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3927 $as_echo "print -r" >&6; } ;;
3928   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3929 $as_echo "cat" >&6; } ;;
3930 esac
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3946 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3947 if ${ac_cv_path_SED+:} false; then :
3948   $as_echo_n "(cached) " >&6
3949 else
3950             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3951      for ac_i in 1 2 3 4 5 6 7; do
3952        ac_script="$ac_script$as_nl$ac_script"
3953      done
3954      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3955      { ac_script=; unset ac_script;}
3956      if test -z "$SED"; then
3957   ac_path_SED_found=false
3958   # Loop through the user's path and test for each of PROGNAME-LIST
3959   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960 for as_dir in $PATH
3961 do
3962   IFS=$as_save_IFS
3963   test -z "$as_dir" && as_dir=.
3964     for ac_prog in sed gsed; do
3965     for ac_exec_ext in '' $ac_executable_extensions; do
3966       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3967       as_fn_executable_p "$ac_path_SED" || continue
3968 # Check for GNU ac_path_SED and select it if it is found.
3969   # Check for GNU $ac_path_SED
3970 case `"$ac_path_SED" --version 2>&1` in
3971 *GNU*)
3972   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3973 *)
3974   ac_count=0
3975   $as_echo_n 0123456789 >"conftest.in"
3976   while :
3977   do
3978     cat "conftest.in" "conftest.in" >"conftest.tmp"
3979     mv "conftest.tmp" "conftest.in"
3980     cp "conftest.in" "conftest.nl"
3981     $as_echo '' >> "conftest.nl"
3982     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3983     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3984     as_fn_arith $ac_count + 1 && ac_count=$as_val
3985     if test $ac_count -gt ${ac_path_SED_max-0}; then
3986       # Best one so far, save it but keep looking for a better one
3987       ac_cv_path_SED="$ac_path_SED"
3988       ac_path_SED_max=$ac_count
3989     fi
3990     # 10*(2^10) chars as input seems more than enough
3991     test $ac_count -gt 10 && break
3992   done
3993   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3994 esac
3995
3996       $ac_path_SED_found && break 3
3997     done
3998   done
3999   done
4000 IFS=$as_save_IFS
4001   if test -z "$ac_cv_path_SED"; then
4002     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4003   fi
4004 else
4005   ac_cv_path_SED=$SED
4006 fi
4007
4008 fi
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4010 $as_echo "$ac_cv_path_SED" >&6; }
4011  SED="$ac_cv_path_SED"
4012   rm -f conftest.sed
4013
4014 test -z "$SED" && SED=sed
4015 Xsed="$SED -e 1s/^X//"
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4028 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4029 if ${ac_cv_path_GREP+:} false; then :
4030   $as_echo_n "(cached) " >&6
4031 else
4032   if test -z "$GREP"; then
4033   ac_path_GREP_found=false
4034   # Loop through the user's path and test for each of PROGNAME-LIST
4035   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4037 do
4038   IFS=$as_save_IFS
4039   test -z "$as_dir" && as_dir=.
4040     for ac_prog in grep ggrep; do
4041     for ac_exec_ext in '' $ac_executable_extensions; do
4042       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4043       as_fn_executable_p "$ac_path_GREP" || continue
4044 # Check for GNU ac_path_GREP and select it if it is found.
4045   # Check for GNU $ac_path_GREP
4046 case `"$ac_path_GREP" --version 2>&1` in
4047 *GNU*)
4048   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4049 *)
4050   ac_count=0
4051   $as_echo_n 0123456789 >"conftest.in"
4052   while :
4053   do
4054     cat "conftest.in" "conftest.in" >"conftest.tmp"
4055     mv "conftest.tmp" "conftest.in"
4056     cp "conftest.in" "conftest.nl"
4057     $as_echo 'GREP' >> "conftest.nl"
4058     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4059     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4060     as_fn_arith $ac_count + 1 && ac_count=$as_val
4061     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4062       # Best one so far, save it but keep looking for a better one
4063       ac_cv_path_GREP="$ac_path_GREP"
4064       ac_path_GREP_max=$ac_count
4065     fi
4066     # 10*(2^10) chars as input seems more than enough
4067     test $ac_count -gt 10 && break
4068   done
4069   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4070 esac
4071
4072       $ac_path_GREP_found && break 3
4073     done
4074   done
4075   done
4076 IFS=$as_save_IFS
4077   if test -z "$ac_cv_path_GREP"; then
4078     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4079   fi
4080 else
4081   ac_cv_path_GREP=$GREP
4082 fi
4083
4084 fi
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4086 $as_echo "$ac_cv_path_GREP" >&6; }
4087  GREP="$ac_cv_path_GREP"
4088
4089
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4091 $as_echo_n "checking for egrep... " >&6; }
4092 if ${ac_cv_path_EGREP+:} false; then :
4093   $as_echo_n "(cached) " >&6
4094 else
4095   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4096    then ac_cv_path_EGREP="$GREP -E"
4097    else
4098      if test -z "$EGREP"; then
4099   ac_path_EGREP_found=false
4100   # Loop through the user's path and test for each of PROGNAME-LIST
4101   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4103 do
4104   IFS=$as_save_IFS
4105   test -z "$as_dir" && as_dir=.
4106     for ac_prog in egrep; do
4107     for ac_exec_ext in '' $ac_executable_extensions; do
4108       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4109       as_fn_executable_p "$ac_path_EGREP" || continue
4110 # Check for GNU ac_path_EGREP and select it if it is found.
4111   # Check for GNU $ac_path_EGREP
4112 case `"$ac_path_EGREP" --version 2>&1` in
4113 *GNU*)
4114   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4115 *)
4116   ac_count=0
4117   $as_echo_n 0123456789 >"conftest.in"
4118   while :
4119   do
4120     cat "conftest.in" "conftest.in" >"conftest.tmp"
4121     mv "conftest.tmp" "conftest.in"
4122     cp "conftest.in" "conftest.nl"
4123     $as_echo 'EGREP' >> "conftest.nl"
4124     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4125     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4126     as_fn_arith $ac_count + 1 && ac_count=$as_val
4127     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4128       # Best one so far, save it but keep looking for a better one
4129       ac_cv_path_EGREP="$ac_path_EGREP"
4130       ac_path_EGREP_max=$ac_count
4131     fi
4132     # 10*(2^10) chars as input seems more than enough
4133     test $ac_count -gt 10 && break
4134   done
4135   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4136 esac
4137
4138       $ac_path_EGREP_found && break 3
4139     done
4140   done
4141   done
4142 IFS=$as_save_IFS
4143   if test -z "$ac_cv_path_EGREP"; then
4144     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4145   fi
4146 else
4147   ac_cv_path_EGREP=$EGREP
4148 fi
4149
4150    fi
4151 fi
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4153 $as_echo "$ac_cv_path_EGREP" >&6; }
4154  EGREP="$ac_cv_path_EGREP"
4155
4156
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4158 $as_echo_n "checking for fgrep... " >&6; }
4159 if ${ac_cv_path_FGREP+:} false; then :
4160   $as_echo_n "(cached) " >&6
4161 else
4162   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4163    then ac_cv_path_FGREP="$GREP -F"
4164    else
4165      if test -z "$FGREP"; then
4166   ac_path_FGREP_found=false
4167   # Loop through the user's path and test for each of PROGNAME-LIST
4168   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4169 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4170 do
4171   IFS=$as_save_IFS
4172   test -z "$as_dir" && as_dir=.
4173     for ac_prog in fgrep; do
4174     for ac_exec_ext in '' $ac_executable_extensions; do
4175       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4176       as_fn_executable_p "$ac_path_FGREP" || continue
4177 # Check for GNU ac_path_FGREP and select it if it is found.
4178   # Check for GNU $ac_path_FGREP
4179 case `"$ac_path_FGREP" --version 2>&1` in
4180 *GNU*)
4181   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4182 *)
4183   ac_count=0
4184   $as_echo_n 0123456789 >"conftest.in"
4185   while :
4186   do
4187     cat "conftest.in" "conftest.in" >"conftest.tmp"
4188     mv "conftest.tmp" "conftest.in"
4189     cp "conftest.in" "conftest.nl"
4190     $as_echo 'FGREP' >> "conftest.nl"
4191     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4192     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4193     as_fn_arith $ac_count + 1 && ac_count=$as_val
4194     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4195       # Best one so far, save it but keep looking for a better one
4196       ac_cv_path_FGREP="$ac_path_FGREP"
4197       ac_path_FGREP_max=$ac_count
4198     fi
4199     # 10*(2^10) chars as input seems more than enough
4200     test $ac_count -gt 10 && break
4201   done
4202   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4203 esac
4204
4205       $ac_path_FGREP_found && break 3
4206     done
4207   done
4208   done
4209 IFS=$as_save_IFS
4210   if test -z "$ac_cv_path_FGREP"; then
4211     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4212   fi
4213 else
4214   ac_cv_path_FGREP=$FGREP
4215 fi
4216
4217    fi
4218 fi
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4220 $as_echo "$ac_cv_path_FGREP" >&6; }
4221  FGREP="$ac_cv_path_FGREP"
4222
4223
4224 test -z "$GREP" && GREP=grep
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244 # Check whether --with-gnu-ld was given.
4245 if test "${with_gnu_ld+set}" = set; then :
4246   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4247 else
4248   with_gnu_ld=no
4249 fi
4250
4251 ac_prog=ld
4252 if test "$GCC" = yes; then
4253   # Check if gcc -print-prog-name=ld gives a path.
4254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4255 $as_echo_n "checking for ld used by $CC... " >&6; }
4256   case $host in
4257   *-*-mingw*)
4258     # gcc leaves a trailing carriage return which upsets mingw
4259     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4260   *)
4261     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4262   esac
4263   case $ac_prog in
4264     # Accept absolute paths.
4265     [\\/]* | ?:[\\/]*)
4266       re_direlt='/[^/][^/]*/\.\./'
4267       # Canonicalize the pathname of ld
4268       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4269       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4270         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4271       done
4272       test -z "$LD" && LD="$ac_prog"
4273       ;;
4274   "")
4275     # If it fails, then pretend we aren't using GCC.
4276     ac_prog=ld
4277     ;;
4278   *)
4279     # If it is relative, then search for the first ld in PATH.
4280     with_gnu_ld=unknown
4281     ;;
4282   esac
4283 elif test "$with_gnu_ld" = yes; then
4284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4285 $as_echo_n "checking for GNU ld... " >&6; }
4286 else
4287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4288 $as_echo_n "checking for non-GNU ld... " >&6; }
4289 fi
4290 if ${lt_cv_path_LD+:} false; then :
4291   $as_echo_n "(cached) " >&6
4292 else
4293   if test -z "$LD"; then
4294   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4295   for ac_dir in $PATH; do
4296     IFS="$lt_save_ifs"
4297     test -z "$ac_dir" && ac_dir=.
4298     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4299       lt_cv_path_LD="$ac_dir/$ac_prog"
4300       # Check to see if the program is GNU ld.  I'd rather use --version,
4301       # but apparently some variants of GNU ld only accept -v.
4302       # Break only if it was the GNU/non-GNU ld that we prefer.
4303       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4304       *GNU* | *'with BFD'*)
4305         test "$with_gnu_ld" != no && break
4306         ;;
4307       *)
4308         test "$with_gnu_ld" != yes && break
4309         ;;
4310       esac
4311     fi
4312   done
4313   IFS="$lt_save_ifs"
4314 else
4315   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4316 fi
4317 fi
4318
4319 LD="$lt_cv_path_LD"
4320 if test -n "$LD"; then
4321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4322 $as_echo "$LD" >&6; }
4323 else
4324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4326 fi
4327 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4329 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4330 if ${lt_cv_prog_gnu_ld+:} false; then :
4331   $as_echo_n "(cached) " >&6
4332 else
4333   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4334 case `$LD -v 2>&1 </dev/null` in
4335 *GNU* | *'with BFD'*)
4336   lt_cv_prog_gnu_ld=yes
4337   ;;
4338 *)
4339   lt_cv_prog_gnu_ld=no
4340   ;;
4341 esac
4342 fi
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4344 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4345 with_gnu_ld=$lt_cv_prog_gnu_ld
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4356 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4357 if ${lt_cv_path_NM+:} false; then :
4358   $as_echo_n "(cached) " >&6
4359 else
4360   if test -n "$NM"; then
4361   # Let the user override the test.
4362   lt_cv_path_NM="$NM"
4363 else
4364   lt_nm_to_check="${ac_tool_prefix}nm"
4365   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4366     lt_nm_to_check="$lt_nm_to_check nm"
4367   fi
4368   for lt_tmp_nm in $lt_nm_to_check; do
4369     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4370     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4371       IFS="$lt_save_ifs"
4372       test -z "$ac_dir" && ac_dir=.
4373       tmp_nm="$ac_dir/$lt_tmp_nm"
4374       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4375         # Check to see if the nm accepts a BSD-compat flag.
4376         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4377         #   nm: unknown option "B" ignored
4378         # Tru64's nm complains that /dev/null is an invalid object file
4379         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4380         */dev/null* | *'Invalid file or object type'*)
4381           lt_cv_path_NM="$tmp_nm -B"
4382           break
4383           ;;
4384         *)
4385           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4386           */dev/null*)
4387             lt_cv_path_NM="$tmp_nm -p"
4388             break
4389             ;;
4390           *)
4391             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4392             continue # so that we can try to find one that supports BSD flags
4393             ;;
4394           esac
4395           ;;
4396         esac
4397       fi
4398     done
4399     IFS="$lt_save_ifs"
4400   done
4401   : ${lt_cv_path_NM=no}
4402 fi
4403 fi
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4405 $as_echo "$lt_cv_path_NM" >&6; }
4406 if test "$lt_cv_path_NM" != "no"; then
4407   NM="$lt_cv_path_NM"
4408 else
4409   # Didn't find any BSD compatible name lister, look for dumpbin.
4410   if test -n "$DUMPBIN"; then :
4411     # Let the user override the test.
4412   else
4413     if test -n "$ac_tool_prefix"; then
4414   for ac_prog in dumpbin "link -dump"
4415   do
4416     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4417 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_DUMPBIN+:} false; then :
4421   $as_echo_n "(cached) " >&6
4422 else
4423   if test -n "$DUMPBIN"; then
4424   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4425 else
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 for as_dir in $PATH
4428 do
4429   IFS=$as_save_IFS
4430   test -z "$as_dir" && as_dir=.
4431     for ac_exec_ext in '' $ac_executable_extensions; do
4432   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435     break 2
4436   fi
4437 done
4438   done
4439 IFS=$as_save_IFS
4440
4441 fi
4442 fi
4443 DUMPBIN=$ac_cv_prog_DUMPBIN
4444 if test -n "$DUMPBIN"; then
4445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4446 $as_echo "$DUMPBIN" >&6; }
4447 else
4448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4450 fi
4451
4452
4453     test -n "$DUMPBIN" && break
4454   done
4455 fi
4456 if test -z "$DUMPBIN"; then
4457   ac_ct_DUMPBIN=$DUMPBIN
4458   for ac_prog in dumpbin "link -dump"
4459 do
4460   # Extract the first word of "$ac_prog", so it can be a program name with args.
4461 set dummy $ac_prog; ac_word=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4465   $as_echo_n "(cached) " >&6
4466 else
4467   if test -n "$ac_ct_DUMPBIN"; then
4468   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4469 else
4470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4471 for as_dir in $PATH
4472 do
4473   IFS=$as_save_IFS
4474   test -z "$as_dir" && as_dir=.
4475     for ac_exec_ext in '' $ac_executable_extensions; do
4476   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4477     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4479     break 2
4480   fi
4481 done
4482   done
4483 IFS=$as_save_IFS
4484
4485 fi
4486 fi
4487 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4488 if test -n "$ac_ct_DUMPBIN"; then
4489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4490 $as_echo "$ac_ct_DUMPBIN" >&6; }
4491 else
4492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493 $as_echo "no" >&6; }
4494 fi
4495
4496
4497   test -n "$ac_ct_DUMPBIN" && break
4498 done
4499
4500   if test "x$ac_ct_DUMPBIN" = x; then
4501     DUMPBIN=":"
4502   else
4503     case $cross_compiling:$ac_tool_warned in
4504 yes:)
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4507 ac_tool_warned=yes ;;
4508 esac
4509     DUMPBIN=$ac_ct_DUMPBIN
4510   fi
4511 fi
4512
4513     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4514     *COFF*)
4515       DUMPBIN="$DUMPBIN -symbols"
4516       ;;
4517     *)
4518       DUMPBIN=:
4519       ;;
4520     esac
4521   fi
4522
4523   if test "$DUMPBIN" != ":"; then
4524     NM="$DUMPBIN"
4525   fi
4526 fi
4527 test -z "$NM" && NM=nm
4528
4529
4530
4531
4532
4533
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4535 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4536 if ${lt_cv_nm_interface+:} false; then :
4537   $as_echo_n "(cached) " >&6
4538 else
4539   lt_cv_nm_interface="BSD nm"
4540   echo "int some_variable = 0;" > conftest.$ac_ext
4541   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4542   (eval "$ac_compile" 2>conftest.err)
4543   cat conftest.err >&5
4544   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4545   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4546   cat conftest.err >&5
4547   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4548   cat conftest.out >&5
4549   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4550     lt_cv_nm_interface="MS dumpbin"
4551   fi
4552   rm -f conftest*
4553 fi
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4555 $as_echo "$lt_cv_nm_interface" >&6; }
4556
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4558 $as_echo_n "checking whether ln -s works... " >&6; }
4559 LN_S=$as_ln_s
4560 if test "$LN_S" = "ln -s"; then
4561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4562 $as_echo "yes" >&6; }
4563 else
4564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4565 $as_echo "no, using $LN_S" >&6; }
4566 fi
4567
4568 # find the maximum length of command line arguments
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4570 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4571 if ${lt_cv_sys_max_cmd_len+:} false; then :
4572   $as_echo_n "(cached) " >&6
4573 else
4574     i=0
4575   teststring="ABCD"
4576
4577   case $build_os in
4578   msdosdjgpp*)
4579     # On DJGPP, this test can blow up pretty badly due to problems in libc
4580     # (any single argument exceeding 2000 bytes causes a buffer overrun
4581     # during glob expansion).  Even if it were fixed, the result of this
4582     # check would be larger than it should be.
4583     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4584     ;;
4585
4586   gnu*)
4587     # Under GNU Hurd, this test is not required because there is
4588     # no limit to the length of command line arguments.
4589     # Libtool will interpret -1 as no limit whatsoever
4590     lt_cv_sys_max_cmd_len=-1;
4591     ;;
4592
4593   cygwin* | mingw* | cegcc*)
4594     # On Win9x/ME, this test blows up -- it succeeds, but takes
4595     # about 5 minutes as the teststring grows exponentially.
4596     # Worse, since 9x/ME are not pre-emptively multitasking,
4597     # you end up with a "frozen" computer, even though with patience
4598     # the test eventually succeeds (with a max line length of 256k).
4599     # Instead, let's just punt: use the minimum linelength reported by
4600     # all of the supported platforms: 8192 (on NT/2K/XP).
4601     lt_cv_sys_max_cmd_len=8192;
4602     ;;
4603
4604   mint*)
4605     # On MiNT this can take a long time and run out of memory.
4606     lt_cv_sys_max_cmd_len=8192;
4607     ;;
4608
4609   amigaos*)
4610     # On AmigaOS with pdksh, this test takes hours, literally.
4611     # So we just punt and use a minimum line length of 8192.
4612     lt_cv_sys_max_cmd_len=8192;
4613     ;;
4614
4615   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4616     # This has been around since 386BSD, at least.  Likely further.
4617     if test -x /sbin/sysctl; then
4618       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4619     elif test -x /usr/sbin/sysctl; then
4620       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4621     else
4622       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4623     fi
4624     # And add a safety zone
4625     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4626     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4627     ;;
4628
4629   interix*)
4630     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4631     lt_cv_sys_max_cmd_len=196608
4632     ;;
4633
4634   os2*)
4635     # The test takes a long time on OS/2.
4636     lt_cv_sys_max_cmd_len=8192
4637     ;;
4638
4639   osf*)
4640     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4641     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4642     # nice to cause kernel panics so lets avoid the loop below.
4643     # First set a reasonable default.
4644     lt_cv_sys_max_cmd_len=16384
4645     #
4646     if test -x /sbin/sysconfig; then
4647       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4648         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4649       esac
4650     fi
4651     ;;
4652   sco3.2v5*)
4653     lt_cv_sys_max_cmd_len=102400
4654     ;;
4655   sysv5* | sco5v6* | sysv4.2uw2*)
4656     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4657     if test -n "$kargmax"; then
4658       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4659     else
4660       lt_cv_sys_max_cmd_len=32768
4661     fi
4662     ;;
4663   *)
4664     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4665     if test -n "$lt_cv_sys_max_cmd_len"; then
4666       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4667       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4668     else
4669       # Make teststring a little bigger before we do anything with it.
4670       # a 1K string should be a reasonable start.
4671       for i in 1 2 3 4 5 6 7 8 ; do
4672         teststring=$teststring$teststring
4673       done
4674       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4675       # If test is not a shell built-in, we'll probably end up computing a
4676       # maximum length that is only half of the actual maximum length, but
4677       # we can't tell.
4678       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4679                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4680               test $i != 17 # 1/2 MB should be enough
4681       do
4682         i=`expr $i + 1`
4683         teststring=$teststring$teststring
4684       done
4685       # Only check the string length outside the loop.
4686       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4687       teststring=
4688       # Add a significant safety factor because C++ compilers can tack on
4689       # massive amounts of additional arguments before passing them to the
4690       # linker.  It appears as though 1/2 is a usable value.
4691       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4692     fi
4693     ;;
4694   esac
4695
4696 fi
4697
4698 if test -n $lt_cv_sys_max_cmd_len ; then
4699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4700 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4701 else
4702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4703 $as_echo "none" >&6; }
4704 fi
4705 max_cmd_len=$lt_cv_sys_max_cmd_len
4706
4707
4708
4709
4710
4711
4712 : ${CP="cp -f"}
4713 : ${MV="mv -f"}
4714 : ${RM="rm -f"}
4715
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4717 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4718 # Try some XSI features
4719 xsi_shell=no
4720 ( _lt_dummy="a/b/c"
4721   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4722       = c,a/b,b/c, \
4723     && eval 'test $(( 1 + 1 )) -eq 2 \
4724     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4725   && xsi_shell=yes
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4727 $as_echo "$xsi_shell" >&6; }
4728
4729
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4731 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4732 lt_shell_append=no
4733 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4734     >/dev/null 2>&1 \
4735   && lt_shell_append=yes
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4737 $as_echo "$lt_shell_append" >&6; }
4738
4739
4740 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4741   lt_unset=unset
4742 else
4743   lt_unset=false
4744 fi
4745
4746
4747
4748
4749
4750 # test EBCDIC or ASCII
4751 case `echo X|tr X '\101'` in
4752  A) # ASCII based system
4753     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4754   lt_SP2NL='tr \040 \012'
4755   lt_NL2SP='tr \015\012 \040\040'
4756   ;;
4757  *) # EBCDIC based system
4758   lt_SP2NL='tr \100 \n'
4759   lt_NL2SP='tr \r\n \100\100'
4760   ;;
4761 esac
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4772 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4773 if ${lt_cv_to_host_file_cmd+:} false; then :
4774   $as_echo_n "(cached) " >&6
4775 else
4776   case $host in
4777   *-*-mingw* )
4778     case $build in
4779       *-*-mingw* ) # actually msys
4780         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4781         ;;
4782       *-*-cygwin* )
4783         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4784         ;;
4785       * ) # otherwise, assume *nix
4786         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4787         ;;
4788     esac
4789     ;;
4790   *-*-cygwin* )
4791     case $build in
4792       *-*-mingw* ) # actually msys
4793         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4794         ;;
4795       *-*-cygwin* )
4796         lt_cv_to_host_file_cmd=func_convert_file_noop
4797         ;;
4798       * ) # otherwise, assume *nix
4799         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4800         ;;
4801     esac
4802     ;;
4803   * ) # unhandled hosts (and "normal" native builds)
4804     lt_cv_to_host_file_cmd=func_convert_file_noop
4805     ;;
4806 esac
4807
4808 fi
4809
4810 to_host_file_cmd=$lt_cv_to_host_file_cmd
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4812 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4813
4814
4815
4816
4817
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4819 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4820 if ${lt_cv_to_tool_file_cmd+:} false; then :
4821   $as_echo_n "(cached) " >&6
4822 else
4823   #assume ordinary cross tools, or native build.
4824 lt_cv_to_tool_file_cmd=func_convert_file_noop
4825 case $host in
4826   *-*-mingw* )
4827     case $build in
4828       *-*-mingw* ) # actually msys
4829         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4830         ;;
4831     esac
4832     ;;
4833 esac
4834
4835 fi
4836
4837 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4839 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4840
4841
4842
4843
4844
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4846 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4847 if ${lt_cv_ld_reload_flag+:} false; then :
4848   $as_echo_n "(cached) " >&6
4849 else
4850   lt_cv_ld_reload_flag='-r'
4851 fi
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4853 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4854 reload_flag=$lt_cv_ld_reload_flag
4855 case $reload_flag in
4856 "" | " "*) ;;
4857 *) reload_flag=" $reload_flag" ;;
4858 esac
4859 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4860 case $host_os in
4861   cygwin* | mingw* | pw32* | cegcc*)
4862     if test "$GCC" != yes; then
4863       reload_cmds=false
4864     fi
4865     ;;
4866   darwin*)
4867     if test "$GCC" = yes; then
4868       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4869     else
4870       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4871     fi
4872     ;;
4873 esac
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883 if test -n "$ac_tool_prefix"; then
4884   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4885 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_OBJDUMP+:} false; then :
4889   $as_echo_n "(cached) " >&6
4890 else
4891   if test -n "$OBJDUMP"; then
4892   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4896 do
4897   IFS=$as_save_IFS
4898   test -z "$as_dir" && as_dir=.
4899     for ac_exec_ext in '' $ac_executable_extensions; do
4900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4901     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903     break 2
4904   fi
4905 done
4906   done
4907 IFS=$as_save_IFS
4908
4909 fi
4910 fi
4911 OBJDUMP=$ac_cv_prog_OBJDUMP
4912 if test -n "$OBJDUMP"; then
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4914 $as_echo "$OBJDUMP" >&6; }
4915 else
4916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4918 fi
4919
4920
4921 fi
4922 if test -z "$ac_cv_prog_OBJDUMP"; then
4923   ac_ct_OBJDUMP=$OBJDUMP
4924   # Extract the first word of "objdump", so it can be a program name with args.
4925 set dummy objdump; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4929   $as_echo_n "(cached) " >&6
4930 else
4931   if test -n "$ac_ct_OBJDUMP"; then
4932   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4936 do
4937   IFS=$as_save_IFS
4938   test -z "$as_dir" && as_dir=.
4939     for ac_exec_ext in '' $ac_executable_extensions; do
4940   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943     break 2
4944   fi
4945 done
4946   done
4947 IFS=$as_save_IFS
4948
4949 fi
4950 fi
4951 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4952 if test -n "$ac_ct_OBJDUMP"; then
4953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4954 $as_echo "$ac_ct_OBJDUMP" >&6; }
4955 else
4956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 fi
4959
4960   if test "x$ac_ct_OBJDUMP" = x; then
4961     OBJDUMP="false"
4962   else
4963     case $cross_compiling:$ac_tool_warned in
4964 yes:)
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4968 esac
4969     OBJDUMP=$ac_ct_OBJDUMP
4970   fi
4971 else
4972   OBJDUMP="$ac_cv_prog_OBJDUMP"
4973 fi
4974
4975 test -z "$OBJDUMP" && OBJDUMP=objdump
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4986 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4987 if ${lt_cv_deplibs_check_method+:} false; then :
4988   $as_echo_n "(cached) " >&6
4989 else
4990   lt_cv_file_magic_cmd='$MAGIC_CMD'
4991 lt_cv_file_magic_test_file=
4992 lt_cv_deplibs_check_method='unknown'
4993 # Need to set the preceding variable on all platforms that support
4994 # interlibrary dependencies.
4995 # 'none' -- dependencies not supported.
4996 # `unknown' -- same as none, but documents that we really don't know.
4997 # 'pass_all' -- all dependencies passed with no checks.
4998 # 'test_compile' -- check by making test program.
4999 # 'file_magic [[regex]]' -- check by looking for files in library path
5000 # which responds to the $file_magic_cmd with a given extended regex.
5001 # If you have `file' or equivalent on your system and you're not sure
5002 # whether `pass_all' will *always* work, you probably want this one.
5003
5004 case $host_os in
5005 aix[4-9]*)
5006   lt_cv_deplibs_check_method=pass_all
5007   ;;
5008
5009 beos*)
5010   lt_cv_deplibs_check_method=pass_all
5011   ;;
5012
5013 bsdi[45]*)
5014   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5015   lt_cv_file_magic_cmd='/usr/bin/file -L'
5016   lt_cv_file_magic_test_file=/shlib/libc.so
5017   ;;
5018
5019 cygwin*)
5020   # func_win32_libid is a shell function defined in ltmain.sh
5021   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5022   lt_cv_file_magic_cmd='func_win32_libid'
5023   ;;
5024
5025 mingw* | pw32*)
5026   # Base MSYS/MinGW do not provide the 'file' command needed by
5027   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5028   # unless we find 'file', for example because we are cross-compiling.
5029   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5030   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5031     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5032     lt_cv_file_magic_cmd='func_win32_libid'
5033   else
5034     # Keep this pattern in sync with the one in func_win32_libid.
5035     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5036     lt_cv_file_magic_cmd='$OBJDUMP -f'
5037   fi
5038   ;;
5039
5040 cegcc*)
5041   # use the weaker test based on 'objdump'. See mingw*.
5042   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5043   lt_cv_file_magic_cmd='$OBJDUMP -f'
5044   ;;
5045
5046 darwin* | rhapsody*)
5047   lt_cv_deplibs_check_method=pass_all
5048   ;;
5049
5050 freebsd* | dragonfly*)
5051   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5052     case $host_cpu in
5053     i*86 )
5054       # Not sure whether the presence of OpenBSD here was a mistake.
5055       # Let's accept both of them until this is cleared up.
5056       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5057       lt_cv_file_magic_cmd=/usr/bin/file
5058       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5059       ;;
5060     esac
5061   else
5062     lt_cv_deplibs_check_method=pass_all
5063   fi
5064   ;;
5065
5066 gnu*)
5067   lt_cv_deplibs_check_method=pass_all
5068   ;;
5069
5070 haiku*)
5071   lt_cv_deplibs_check_method=pass_all
5072   ;;
5073
5074 hpux10.20* | hpux11*)
5075   lt_cv_file_magic_cmd=/usr/bin/file
5076   case $host_cpu in
5077   ia64*)
5078     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5079     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5080     ;;
5081   hppa*64*)
5082     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]'
5083     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5084     ;;
5085   *)
5086     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5087     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5088     ;;
5089   esac
5090   ;;
5091
5092 interix[3-9]*)
5093   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5094   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5095   ;;
5096
5097 irix5* | irix6* | nonstopux*)
5098   case $LD in
5099   *-32|*"-32 ") libmagic=32-bit;;
5100   *-n32|*"-n32 ") libmagic=N32;;
5101   *-64|*"-64 ") libmagic=64-bit;;
5102   *) libmagic=never-match;;
5103   esac
5104   lt_cv_deplibs_check_method=pass_all
5105   ;;
5106
5107 # This must be glibc/ELF.
5108 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5109   lt_cv_deplibs_check_method=pass_all
5110   ;;
5111
5112 netbsd*)
5113   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5114     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5115   else
5116     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5117   fi
5118   ;;
5119
5120 newos6*)
5121   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5122   lt_cv_file_magic_cmd=/usr/bin/file
5123   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5124   ;;
5125
5126 *nto* | *qnx*)
5127   lt_cv_deplibs_check_method=pass_all
5128   ;;
5129
5130 openbsd*)
5131   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5132     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5133   else
5134     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5135   fi
5136   ;;
5137
5138 osf3* | osf4* | osf5*)
5139   lt_cv_deplibs_check_method=pass_all
5140   ;;
5141
5142 rdos*)
5143   lt_cv_deplibs_check_method=pass_all
5144   ;;
5145
5146 solaris*)
5147   lt_cv_deplibs_check_method=pass_all
5148   ;;
5149
5150 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5151   lt_cv_deplibs_check_method=pass_all
5152   ;;
5153
5154 sysv4 | sysv4.3*)
5155   case $host_vendor in
5156   motorola)
5157     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]'
5158     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5159     ;;
5160   ncr)
5161     lt_cv_deplibs_check_method=pass_all
5162     ;;
5163   sequent)
5164     lt_cv_file_magic_cmd='/bin/file'
5165     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5166     ;;
5167   sni)
5168     lt_cv_file_magic_cmd='/bin/file'
5169     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5170     lt_cv_file_magic_test_file=/lib/libc.so
5171     ;;
5172   siemens)
5173     lt_cv_deplibs_check_method=pass_all
5174     ;;
5175   pc)
5176     lt_cv_deplibs_check_method=pass_all
5177     ;;
5178   esac
5179   ;;
5180
5181 tpf*)
5182   lt_cv_deplibs_check_method=pass_all
5183   ;;
5184 esac
5185
5186 fi
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5188 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5189
5190 file_magic_glob=
5191 want_nocaseglob=no
5192 if test "$build" = "$host"; then
5193   case $host_os in
5194   mingw* | pw32*)
5195     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5196       want_nocaseglob=yes
5197     else
5198       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5199     fi
5200     ;;
5201   esac
5202 fi
5203
5204 file_magic_cmd=$lt_cv_file_magic_cmd
5205 deplibs_check_method=$lt_cv_deplibs_check_method
5206 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229 if test -n "$ac_tool_prefix"; then
5230   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5231 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5233 $as_echo_n "checking for $ac_word... " >&6; }
5234 if ${ac_cv_prog_DLLTOOL+:} false; then :
5235   $as_echo_n "(cached) " >&6
5236 else
5237   if test -n "$DLLTOOL"; then
5238   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5239 else
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH
5242 do
5243   IFS=$as_save_IFS
5244   test -z "$as_dir" && as_dir=.
5245     for ac_exec_ext in '' $ac_executable_extensions; do
5246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249     break 2
5250   fi
5251 done
5252   done
5253 IFS=$as_save_IFS
5254
5255 fi
5256 fi
5257 DLLTOOL=$ac_cv_prog_DLLTOOL
5258 if test -n "$DLLTOOL"; then
5259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5260 $as_echo "$DLLTOOL" >&6; }
5261 else
5262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5263 $as_echo "no" >&6; }
5264 fi
5265
5266
5267 fi
5268 if test -z "$ac_cv_prog_DLLTOOL"; then
5269   ac_ct_DLLTOOL=$DLLTOOL
5270   # Extract the first word of "dlltool", so it can be a program name with args.
5271 set dummy dlltool; ac_word=$2
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5273 $as_echo_n "checking for $ac_word... " >&6; }
5274 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5275   $as_echo_n "(cached) " >&6
5276 else
5277   if test -n "$ac_ct_DLLTOOL"; then
5278   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5282 do
5283   IFS=$as_save_IFS
5284   test -z "$as_dir" && as_dir=.
5285     for ac_exec_ext in '' $ac_executable_extensions; do
5286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289     break 2
5290   fi
5291 done
5292   done
5293 IFS=$as_save_IFS
5294
5295 fi
5296 fi
5297 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5298 if test -n "$ac_ct_DLLTOOL"; then
5299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5300 $as_echo "$ac_ct_DLLTOOL" >&6; }
5301 else
5302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5304 fi
5305
5306   if test "x$ac_ct_DLLTOOL" = x; then
5307     DLLTOOL="false"
5308   else
5309     case $cross_compiling:$ac_tool_warned in
5310 yes:)
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5313 ac_tool_warned=yes ;;
5314 esac
5315     DLLTOOL=$ac_ct_DLLTOOL
5316   fi
5317 else
5318   DLLTOOL="$ac_cv_prog_DLLTOOL"
5319 fi
5320
5321 test -z "$DLLTOOL" && DLLTOOL=dlltool
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5333 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5334 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5335   $as_echo_n "(cached) " >&6
5336 else
5337   lt_cv_sharedlib_from_linklib_cmd='unknown'
5338
5339 case $host_os in
5340 cygwin* | mingw* | pw32* | cegcc*)
5341   # two different shell functions defined in ltmain.sh
5342   # decide which to use based on capabilities of $DLLTOOL
5343   case `$DLLTOOL --help 2>&1` in
5344   *--identify-strict*)
5345     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5346     ;;
5347   *)
5348     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5349     ;;
5350   esac
5351   ;;
5352 *)
5353   # fallback: assume linklib IS sharedlib
5354   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5355   ;;
5356 esac
5357
5358 fi
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5360 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5361 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5362 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5363
5364
5365
5366
5367
5368
5369
5370
5371 if test -n "$ac_tool_prefix"; then
5372   for ac_prog in ar
5373   do
5374     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_AR+:} false; then :
5379   $as_echo_n "(cached) " >&6
5380 else
5381   if test -n "$AR"; then
5382   ac_cv_prog_AR="$AR" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5386 do
5387   IFS=$as_save_IFS
5388   test -z "$as_dir" && as_dir=.
5389     for ac_exec_ext in '' $ac_executable_extensions; do
5390   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393     break 2
5394   fi
5395 done
5396   done
5397 IFS=$as_save_IFS
5398
5399 fi
5400 fi
5401 AR=$ac_cv_prog_AR
5402 if test -n "$AR"; then
5403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5404 $as_echo "$AR" >&6; }
5405 else
5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5408 fi
5409
5410
5411     test -n "$AR" && break
5412   done
5413 fi
5414 if test -z "$AR"; then
5415   ac_ct_AR=$AR
5416   for ac_prog in ar
5417 do
5418   # Extract the first word of "$ac_prog", so it can be a program name with args.
5419 set dummy $ac_prog; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5423   $as_echo_n "(cached) " >&6
5424 else
5425   if test -n "$ac_ct_AR"; then
5426   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5430 do
5431   IFS=$as_save_IFS
5432   test -z "$as_dir" && as_dir=.
5433     for ac_exec_ext in '' $ac_executable_extensions; do
5434   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435     ac_cv_prog_ac_ct_AR="$ac_prog"
5436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437     break 2
5438   fi
5439 done
5440   done
5441 IFS=$as_save_IFS
5442
5443 fi
5444 fi
5445 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5446 if test -n "$ac_ct_AR"; then
5447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5448 $as_echo "$ac_ct_AR" >&6; }
5449 else
5450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5452 fi
5453
5454
5455   test -n "$ac_ct_AR" && break
5456 done
5457
5458   if test "x$ac_ct_AR" = x; then
5459     AR="false"
5460   else
5461     case $cross_compiling:$ac_tool_warned in
5462 yes:)
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5465 ac_tool_warned=yes ;;
5466 esac
5467     AR=$ac_ct_AR
5468   fi
5469 fi
5470
5471 : ${AR=ar}
5472 : ${AR_FLAGS=cru}
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5485 $as_echo_n "checking for archiver @FILE support... " >&6; }
5486 if ${lt_cv_ar_at_file+:} false; then :
5487   $as_echo_n "(cached) " >&6
5488 else
5489   lt_cv_ar_at_file=no
5490    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h.  */
5492
5493 int
5494 main ()
5495 {
5496
5497   ;
5498   return 0;
5499 }
5500 _ACEOF
5501 if ac_fn_c_try_compile "$LINENO"; then :
5502   echo conftest.$ac_objext > conftest.lst
5503       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5504       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5505   (eval $lt_ar_try) 2>&5
5506   ac_status=$?
5507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5508   test $ac_status = 0; }
5509       if test "$ac_status" -eq 0; then
5510         # Ensure the archiver fails upon bogus file names.
5511         rm -f conftest.$ac_objext libconftest.a
5512         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5513   (eval $lt_ar_try) 2>&5
5514   ac_status=$?
5515   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5516   test $ac_status = 0; }
5517         if test "$ac_status" -ne 0; then
5518           lt_cv_ar_at_file=@
5519         fi
5520       fi
5521       rm -f conftest.* libconftest.a
5522
5523 fi
5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5525
5526 fi
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5528 $as_echo "$lt_cv_ar_at_file" >&6; }
5529
5530 if test "x$lt_cv_ar_at_file" = xno; then
5531   archiver_list_spec=
5532 else
5533   archiver_list_spec=$lt_cv_ar_at_file
5534 fi
5535
5536
5537
5538
5539
5540
5541
5542 if test -n "$ac_tool_prefix"; then
5543   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}strip; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_STRIP+:} false; then :
5548   $as_echo_n "(cached) " >&6
5549 else
5550   if test -n "$STRIP"; then
5551   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5555 do
5556   IFS=$as_save_IFS
5557   test -z "$as_dir" && as_dir=.
5558     for ac_exec_ext in '' $ac_executable_extensions; do
5559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562     break 2
5563   fi
5564 done
5565   done
5566 IFS=$as_save_IFS
5567
5568 fi
5569 fi
5570 STRIP=$ac_cv_prog_STRIP
5571 if test -n "$STRIP"; then
5572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5573 $as_echo "$STRIP" >&6; }
5574 else
5575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5577 fi
5578
5579
5580 fi
5581 if test -z "$ac_cv_prog_STRIP"; then
5582   ac_ct_STRIP=$STRIP
5583   # Extract the first word of "strip", so it can be a program name with args.
5584 set dummy strip; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5588   $as_echo_n "(cached) " >&6
5589 else
5590   if test -n "$ac_ct_STRIP"; then
5591   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5595 do
5596   IFS=$as_save_IFS
5597   test -z "$as_dir" && as_dir=.
5598     for ac_exec_ext in '' $ac_executable_extensions; do
5599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600     ac_cv_prog_ac_ct_STRIP="strip"
5601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602     break 2
5603   fi
5604 done
5605   done
5606 IFS=$as_save_IFS
5607
5608 fi
5609 fi
5610 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5611 if test -n "$ac_ct_STRIP"; then
5612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5613 $as_echo "$ac_ct_STRIP" >&6; }
5614 else
5615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5617 fi
5618
5619   if test "x$ac_ct_STRIP" = x; then
5620     STRIP=":"
5621   else
5622     case $cross_compiling:$ac_tool_warned in
5623 yes:)
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned=yes ;;
5627 esac
5628     STRIP=$ac_ct_STRIP
5629   fi
5630 else
5631   STRIP="$ac_cv_prog_STRIP"
5632 fi
5633
5634 test -z "$STRIP" && STRIP=:
5635
5636
5637
5638
5639
5640
5641 if test -n "$ac_tool_prefix"; then
5642   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5643 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_prog_RANLIB+:} false; then :
5647   $as_echo_n "(cached) " >&6
5648 else
5649   if test -n "$RANLIB"; then
5650   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5651 else
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 for as_dir in $PATH
5654 do
5655   IFS=$as_save_IFS
5656   test -z "$as_dir" && as_dir=.
5657     for ac_exec_ext in '' $ac_executable_extensions; do
5658   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5659     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661     break 2
5662   fi
5663 done
5664   done
5665 IFS=$as_save_IFS
5666
5667 fi
5668 fi
5669 RANLIB=$ac_cv_prog_RANLIB
5670 if test -n "$RANLIB"; then
5671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5672 $as_echo "$RANLIB" >&6; }
5673 else
5674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5676 fi
5677
5678
5679 fi
5680 if test -z "$ac_cv_prog_RANLIB"; then
5681   ac_ct_RANLIB=$RANLIB
5682   # Extract the first word of "ranlib", so it can be a program name with args.
5683 set dummy ranlib; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5687   $as_echo_n "(cached) " >&6
5688 else
5689   if test -n "$ac_ct_RANLIB"; then
5690   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5691 else
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH
5694 do
5695   IFS=$as_save_IFS
5696   test -z "$as_dir" && as_dir=.
5697     for ac_exec_ext in '' $ac_executable_extensions; do
5698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699     ac_cv_prog_ac_ct_RANLIB="ranlib"
5700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701     break 2
5702   fi
5703 done
5704   done
5705 IFS=$as_save_IFS
5706
5707 fi
5708 fi
5709 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5710 if test -n "$ac_ct_RANLIB"; then
5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5712 $as_echo "$ac_ct_RANLIB" >&6; }
5713 else
5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5716 fi
5717
5718   if test "x$ac_ct_RANLIB" = x; then
5719     RANLIB=":"
5720   else
5721     case $cross_compiling:$ac_tool_warned in
5722 yes:)
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5725 ac_tool_warned=yes ;;
5726 esac
5727     RANLIB=$ac_ct_RANLIB
5728   fi
5729 else
5730   RANLIB="$ac_cv_prog_RANLIB"
5731 fi
5732
5733 test -z "$RANLIB" && RANLIB=:
5734
5735
5736
5737
5738
5739
5740 # Determine commands to create old-style static archives.
5741 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5742 old_postinstall_cmds='chmod 644 $oldlib'
5743 old_postuninstall_cmds=
5744
5745 if test -n "$RANLIB"; then
5746   case $host_os in
5747   openbsd*)
5748     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5749     ;;
5750   *)
5751     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5752     ;;
5753   esac
5754   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5755 fi
5756
5757 case $host_os in
5758   darwin*)
5759     lock_old_archive_extraction=yes ;;
5760   *)
5761     lock_old_archive_extraction=no ;;
5762 esac
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802 # If no C compiler was specified, use CC.
5803 LTCC=${LTCC-"$CC"}
5804
5805 # If no C compiler flags were specified, use CFLAGS.
5806 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5807
5808 # Allow CC to be a program name with arguments.
5809 compiler=$CC
5810
5811
5812 # Check for command to grab the raw symbol name followed by C symbol from nm.
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5814 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5815 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5816   $as_echo_n "(cached) " >&6
5817 else
5818
5819 # These are sane defaults that work on at least a few old systems.
5820 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5821
5822 # Character class describing NM global symbol codes.
5823 symcode='[BCDEGRST]'
5824
5825 # Regexp to match symbols that can be accessed directly from C.
5826 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5827
5828 # Define system-specific variables.
5829 case $host_os in
5830 aix*)
5831   symcode='[BCDT]'
5832   ;;
5833 cygwin* | mingw* | pw32* | cegcc*)
5834   symcode='[ABCDGISTW]'
5835   ;;
5836 hpux*)
5837   if test "$host_cpu" = ia64; then
5838     symcode='[ABCDEGRST]'
5839   fi
5840   ;;
5841 irix* | nonstopux*)
5842   symcode='[BCDEGRST]'
5843   ;;
5844 osf*)
5845   symcode='[BCDEGQRST]'
5846   ;;
5847 solaris*)
5848   symcode='[BDRT]'
5849   ;;
5850 sco3.2v5*)
5851   symcode='[DT]'
5852   ;;
5853 sysv4.2uw2*)
5854   symcode='[DT]'
5855   ;;
5856 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5857   symcode='[ABDT]'
5858   ;;
5859 sysv4)
5860   symcode='[DFNSTU]'
5861   ;;
5862 esac
5863
5864 # If we're using GNU nm, then use its standard symbol codes.
5865 case `$NM -V 2>&1` in
5866 *GNU* | *'with BFD'*)
5867   symcode='[ABCDGIRSTW]' ;;
5868 esac
5869
5870 # Transform an extracted symbol line into a proper C declaration.
5871 # Some systems (esp. on ia64) link data and code symbols differently,
5872 # so use this general approach.
5873 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5874
5875 # Transform an extracted symbol line into symbol name and symbol address
5876 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5877 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'"
5878
5879 # Handle CRLF in mingw tool chain
5880 opt_cr=
5881 case $build_os in
5882 mingw*)
5883   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5884   ;;
5885 esac
5886
5887 # Try without a prefix underscore, then with it.
5888 for ac_symprfx in "" "_"; do
5889
5890   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5891   symxfrm="\\1 $ac_symprfx\\2 \\2"
5892
5893   # Write the raw and C identifiers.
5894   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5895     # Fake it for dumpbin and say T for any non-static function
5896     # and D for any global variable.
5897     # Also find C++ and __fastcall symbols from MSVC++,
5898     # which start with @ or ?.
5899     lt_cv_sys_global_symbol_pipe="$AWK '"\
5900 "     {last_section=section; section=\$ 3};"\
5901 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5902 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5903 "     \$ 0!~/External *\|/{next};"\
5904 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5905 "     {if(hide[section]) next};"\
5906 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5907 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5908 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5909 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5910 "     ' prfx=^$ac_symprfx"
5911   else
5912     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5913   fi
5914   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5915
5916   # Check to see that the pipe works correctly.
5917   pipe_works=no
5918
5919   rm -f conftest*
5920   cat > conftest.$ac_ext <<_LT_EOF
5921 #ifdef __cplusplus
5922 extern "C" {
5923 #endif
5924 char nm_test_var;
5925 void nm_test_func(void);
5926 void nm_test_func(void){}
5927 #ifdef __cplusplus
5928 }
5929 #endif
5930 int main(){nm_test_var='a';nm_test_func();return(0);}
5931 _LT_EOF
5932
5933   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5934   (eval $ac_compile) 2>&5
5935   ac_status=$?
5936   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5937   test $ac_status = 0; }; then
5938     # Now try to grab the symbols.
5939     nlist=conftest.nm
5940     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5941   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5942   ac_status=$?
5943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5944   test $ac_status = 0; } && test -s "$nlist"; then
5945       # Try sorting and uniquifying the output.
5946       if sort "$nlist" | uniq > "$nlist"T; then
5947         mv -f "$nlist"T "$nlist"
5948       else
5949         rm -f "$nlist"T
5950       fi
5951
5952       # Make sure that we snagged all the symbols we need.
5953       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5954         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5955           cat <<_LT_EOF > conftest.$ac_ext
5956 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5957 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5958 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5959    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5960 # define LT_DLSYM_CONST
5961 #elif defined(__osf__)
5962 /* This system does not cope well with relocations in const data.  */
5963 # define LT_DLSYM_CONST
5964 #else
5965 # define LT_DLSYM_CONST const
5966 #endif
5967
5968 #ifdef __cplusplus
5969 extern "C" {
5970 #endif
5971
5972 _LT_EOF
5973           # Now generate the symbol file.
5974           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5975
5976           cat <<_LT_EOF >> conftest.$ac_ext
5977
5978 /* The mapping between symbol names and symbols.  */
5979 LT_DLSYM_CONST struct {
5980   const char *name;
5981   void       *address;
5982 }
5983 lt__PROGRAM__LTX_preloaded_symbols[] =
5984 {
5985   { "@PROGRAM@", (void *) 0 },
5986 _LT_EOF
5987           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5988           cat <<\_LT_EOF >> conftest.$ac_ext
5989   {0, (void *) 0}
5990 };
5991
5992 /* This works around a problem in FreeBSD linker */
5993 #ifdef FREEBSD_WORKAROUND
5994 static const void *lt_preloaded_setup() {
5995   return lt__PROGRAM__LTX_preloaded_symbols;
5996 }
5997 #endif
5998
5999 #ifdef __cplusplus
6000 }
6001 #endif
6002 _LT_EOF
6003           # Now try linking the two files.
6004           mv conftest.$ac_objext conftstm.$ac_objext
6005           lt_globsym_save_LIBS=$LIBS
6006           lt_globsym_save_CFLAGS=$CFLAGS
6007           LIBS="conftstm.$ac_objext"
6008           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6009           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6010   (eval $ac_link) 2>&5
6011   ac_status=$?
6012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6013   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6014             pipe_works=yes
6015           fi
6016           LIBS=$lt_globsym_save_LIBS
6017           CFLAGS=$lt_globsym_save_CFLAGS
6018         else
6019           echo "cannot find nm_test_func in $nlist" >&5
6020         fi
6021       else
6022         echo "cannot find nm_test_var in $nlist" >&5
6023       fi
6024     else
6025       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6026     fi
6027   else
6028     echo "$progname: failed program was:" >&5
6029     cat conftest.$ac_ext >&5
6030   fi
6031   rm -rf conftest* conftst*
6032
6033   # Do not use the global_symbol_pipe unless it works.
6034   if test "$pipe_works" = yes; then
6035     break
6036   else
6037     lt_cv_sys_global_symbol_pipe=
6038   fi
6039 done
6040
6041 fi
6042
6043 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6044   lt_cv_sys_global_symbol_to_cdecl=
6045 fi
6046 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6048 $as_echo "failed" >&6; }
6049 else
6050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6051 $as_echo "ok" >&6; }
6052 fi
6053
6054 # Response file support.
6055 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6056   nm_file_list_spec='@'
6057 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6058   nm_file_list_spec='@'
6059 fi
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6088 $as_echo_n "checking for sysroot... " >&6; }
6089
6090 # Check whether --with-sysroot was given.
6091 if test "${with_sysroot+set}" = set; then :
6092   withval=$with_sysroot;
6093 else
6094   with_sysroot=no
6095 fi
6096
6097
6098 lt_sysroot=
6099 case ${with_sysroot} in #(
6100  yes)
6101    if test "$GCC" = yes; then
6102      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6103    fi
6104    ;; #(
6105  /*)
6106    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6107    ;; #(
6108  no|'')
6109    ;; #(
6110  *)
6111    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6112 $as_echo "${with_sysroot}" >&6; }
6113    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6114    ;;
6115 esac
6116
6117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6118 $as_echo "${lt_sysroot:-no}" >&6; }
6119
6120
6121
6122
6123
6124 # Check whether --enable-libtool-lock was given.
6125 if test "${enable_libtool_lock+set}" = set; then :
6126   enableval=$enable_libtool_lock;
6127 fi
6128
6129 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6130
6131 # Some flags need to be propagated to the compiler or linker for good
6132 # libtool support.
6133 case $host in
6134 ia64-*-hpux*)
6135   # Find out which ABI we are using.
6136   echo 'int i;' > conftest.$ac_ext
6137   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6138   (eval $ac_compile) 2>&5
6139   ac_status=$?
6140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6141   test $ac_status = 0; }; then
6142     case `/usr/bin/file conftest.$ac_objext` in
6143       *ELF-32*)
6144         HPUX_IA64_MODE="32"
6145         ;;
6146       *ELF-64*)
6147         HPUX_IA64_MODE="64"
6148         ;;
6149     esac
6150   fi
6151   rm -rf conftest*
6152   ;;
6153 *-*-irix6*)
6154   # Find out which ABI we are using.
6155   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6156   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6157   (eval $ac_compile) 2>&5
6158   ac_status=$?
6159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6160   test $ac_status = 0; }; then
6161     if test "$lt_cv_prog_gnu_ld" = yes; then
6162       case `/usr/bin/file conftest.$ac_objext` in
6163         *32-bit*)
6164           LD="${LD-ld} -melf32bsmip"
6165           ;;
6166         *N32*)
6167           LD="${LD-ld} -melf32bmipn32"
6168           ;;
6169         *64-bit*)
6170           LD="${LD-ld} -melf64bmip"
6171         ;;
6172       esac
6173     else
6174       case `/usr/bin/file conftest.$ac_objext` in
6175         *32-bit*)
6176           LD="${LD-ld} -32"
6177           ;;
6178         *N32*)
6179           LD="${LD-ld} -n32"
6180           ;;
6181         *64-bit*)
6182           LD="${LD-ld} -64"
6183           ;;
6184       esac
6185     fi
6186   fi
6187   rm -rf conftest*
6188   ;;
6189
6190 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6191 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6192   # Find out which ABI we are using.
6193   echo 'int i;' > conftest.$ac_ext
6194   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6195   (eval $ac_compile) 2>&5
6196   ac_status=$?
6197   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6198   test $ac_status = 0; }; then
6199     case `/usr/bin/file conftest.o` in
6200       *32-bit*)
6201         case $host in
6202           x86_64-*kfreebsd*-gnu)
6203             LD="${LD-ld} -m elf_i386_fbsd"
6204             ;;
6205           x86_64-*linux*)
6206             LD="${LD-ld} -m elf_i386"
6207             ;;
6208           ppc64-*linux*|powerpc64-*linux*)
6209             LD="${LD-ld} -m elf32ppclinux"
6210             ;;
6211           s390x-*linux*)
6212             LD="${LD-ld} -m elf_s390"
6213             ;;
6214           sparc64-*linux*)
6215             LD="${LD-ld} -m elf32_sparc"
6216             ;;
6217         esac
6218         ;;
6219       *64-bit*)
6220         case $host in
6221           x86_64-*kfreebsd*-gnu)
6222             LD="${LD-ld} -m elf_x86_64_fbsd"
6223             ;;
6224           x86_64-*linux*)
6225             LD="${LD-ld} -m elf_x86_64"
6226             ;;
6227           ppc*-*linux*|powerpc*-*linux*)
6228             LD="${LD-ld} -m elf64ppc"
6229             ;;
6230           s390*-*linux*|s390*-*tpf*)
6231             LD="${LD-ld} -m elf64_s390"
6232             ;;
6233           sparc*-*linux*)
6234             LD="${LD-ld} -m elf64_sparc"
6235             ;;
6236         esac
6237         ;;
6238     esac
6239   fi
6240   rm -rf conftest*
6241   ;;
6242
6243 *-*-sco3.2v5*)
6244   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6245   SAVE_CFLAGS="$CFLAGS"
6246   CFLAGS="$CFLAGS -belf"
6247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6248 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6249 if ${lt_cv_cc_needs_belf+:} false; then :
6250   $as_echo_n "(cached) " >&6
6251 else
6252   ac_ext=c
6253 ac_cpp='$CPP $CPPFLAGS'
6254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6257
6258      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h.  */
6260
6261 int
6262 main ()
6263 {
6264
6265   ;
6266   return 0;
6267 }
6268 _ACEOF
6269 if ac_fn_c_try_link "$LINENO"; then :
6270   lt_cv_cc_needs_belf=yes
6271 else
6272   lt_cv_cc_needs_belf=no
6273 fi
6274 rm -f core conftest.err conftest.$ac_objext \
6275     conftest$ac_exeext conftest.$ac_ext
6276      ac_ext=c
6277 ac_cpp='$CPP $CPPFLAGS'
6278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6281
6282 fi
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6284 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6285   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6286     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6287     CFLAGS="$SAVE_CFLAGS"
6288   fi
6289   ;;
6290 *-*solaris*)
6291   # Find out which ABI we are using.
6292   echo 'int i;' > conftest.$ac_ext
6293   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6294   (eval $ac_compile) 2>&5
6295   ac_status=$?
6296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6297   test $ac_status = 0; }; then
6298     case `/usr/bin/file conftest.o` in
6299     *64-bit*)
6300       case $lt_cv_prog_gnu_ld in
6301       yes*)
6302         case $host in
6303         i?86-*-solaris*)
6304           LD="${LD-ld} -m elf_x86_64"
6305           ;;
6306         sparc*-*-solaris*)
6307           LD="${LD-ld} -m elf64_sparc"
6308           ;;
6309         esac
6310         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6311         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6312           LD="${LD-ld}_sol2"
6313         fi
6314         ;;
6315       *)
6316         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6317           LD="${LD-ld} -64"
6318         fi
6319         ;;
6320       esac
6321       ;;
6322     esac
6323   fi
6324   rm -rf conftest*
6325   ;;
6326 esac
6327
6328 need_locks="$enable_libtool_lock"
6329
6330 if test -n "$ac_tool_prefix"; then
6331   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6332 set dummy ${ac_tool_prefix}mt; ac_word=$2
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6336   $as_echo_n "(cached) " >&6
6337 else
6338   if test -n "$MANIFEST_TOOL"; then
6339   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6340 else
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 for as_dir in $PATH
6343 do
6344   IFS=$as_save_IFS
6345   test -z "$as_dir" && as_dir=.
6346     for ac_exec_ext in '' $ac_executable_extensions; do
6347   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6348     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350     break 2
6351   fi
6352 done
6353   done
6354 IFS=$as_save_IFS
6355
6356 fi
6357 fi
6358 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6359 if test -n "$MANIFEST_TOOL"; then
6360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6361 $as_echo "$MANIFEST_TOOL" >&6; }
6362 else
6363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6365 fi
6366
6367
6368 fi
6369 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6370   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6371   # Extract the first word of "mt", so it can be a program name with args.
6372 set dummy mt; ac_word=$2
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374 $as_echo_n "checking for $ac_word... " >&6; }
6375 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6376   $as_echo_n "(cached) " >&6
6377 else
6378   if test -n "$ac_ct_MANIFEST_TOOL"; then
6379   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6380 else
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 for as_dir in $PATH
6383 do
6384   IFS=$as_save_IFS
6385   test -z "$as_dir" && as_dir=.
6386     for ac_exec_ext in '' $ac_executable_extensions; do
6387   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6388     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390     break 2
6391   fi
6392 done
6393   done
6394 IFS=$as_save_IFS
6395
6396 fi
6397 fi
6398 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6399 if test -n "$ac_ct_MANIFEST_TOOL"; then
6400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6401 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6402 else
6403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6404 $as_echo "no" >&6; }
6405 fi
6406
6407   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6408     MANIFEST_TOOL=":"
6409   else
6410     case $cross_compiling:$ac_tool_warned in
6411 yes:)
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6414 ac_tool_warned=yes ;;
6415 esac
6416     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6417   fi
6418 else
6419   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6420 fi
6421
6422 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6424 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6425 if ${lt_cv_path_mainfest_tool+:} false; then :
6426   $as_echo_n "(cached) " >&6
6427 else
6428   lt_cv_path_mainfest_tool=no
6429   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6430   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6431   cat conftest.err >&5
6432   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6433     lt_cv_path_mainfest_tool=yes
6434   fi
6435   rm -f conftest*
6436 fi
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6438 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6439 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6440   MANIFEST_TOOL=:
6441 fi
6442
6443
6444
6445
6446
6447
6448   case $host_os in
6449     rhapsody* | darwin*)
6450     if test -n "$ac_tool_prefix"; then
6451   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6452 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454 $as_echo_n "checking for $ac_word... " >&6; }
6455 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6456   $as_echo_n "(cached) " >&6
6457 else
6458   if test -n "$DSYMUTIL"; then
6459   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6460 else
6461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462 for as_dir in $PATH
6463 do
6464   IFS=$as_save_IFS
6465   test -z "$as_dir" && as_dir=.
6466     for ac_exec_ext in '' $ac_executable_extensions; do
6467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6468     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6470     break 2
6471   fi
6472 done
6473   done
6474 IFS=$as_save_IFS
6475
6476 fi
6477 fi
6478 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6479 if test -n "$DSYMUTIL"; then
6480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6481 $as_echo "$DSYMUTIL" >&6; }
6482 else
6483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 $as_echo "no" >&6; }
6485 fi
6486
6487
6488 fi
6489 if test -z "$ac_cv_prog_DSYMUTIL"; then
6490   ac_ct_DSYMUTIL=$DSYMUTIL
6491   # Extract the first word of "dsymutil", so it can be a program name with args.
6492 set dummy dsymutil; ac_word=$2
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494 $as_echo_n "checking for $ac_word... " >&6; }
6495 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6496   $as_echo_n "(cached) " >&6
6497 else
6498   if test -n "$ac_ct_DSYMUTIL"; then
6499   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6500 else
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502 for as_dir in $PATH
6503 do
6504   IFS=$as_save_IFS
6505   test -z "$as_dir" && as_dir=.
6506     for ac_exec_ext in '' $ac_executable_extensions; do
6507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6508     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6510     break 2
6511   fi
6512 done
6513   done
6514 IFS=$as_save_IFS
6515
6516 fi
6517 fi
6518 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6519 if test -n "$ac_ct_DSYMUTIL"; then
6520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6521 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6522 else
6523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524 $as_echo "no" >&6; }
6525 fi
6526
6527   if test "x$ac_ct_DSYMUTIL" = x; then
6528     DSYMUTIL=":"
6529   else
6530     case $cross_compiling:$ac_tool_warned in
6531 yes:)
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6534 ac_tool_warned=yes ;;
6535 esac
6536     DSYMUTIL=$ac_ct_DSYMUTIL
6537   fi
6538 else
6539   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6540 fi
6541
6542     if test -n "$ac_tool_prefix"; then
6543   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6544 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_NMEDIT+:} false; then :
6548   $as_echo_n "(cached) " >&6
6549 else
6550   if test -n "$NMEDIT"; then
6551   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6555 do
6556   IFS=$as_save_IFS
6557   test -z "$as_dir" && as_dir=.
6558     for ac_exec_ext in '' $ac_executable_extensions; do
6559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562     break 2
6563   fi
6564 done
6565   done
6566 IFS=$as_save_IFS
6567
6568 fi
6569 fi
6570 NMEDIT=$ac_cv_prog_NMEDIT
6571 if test -n "$NMEDIT"; then
6572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6573 $as_echo "$NMEDIT" >&6; }
6574 else
6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6577 fi
6578
6579
6580 fi
6581 if test -z "$ac_cv_prog_NMEDIT"; then
6582   ac_ct_NMEDIT=$NMEDIT
6583   # Extract the first word of "nmedit", so it can be a program name with args.
6584 set dummy nmedit; ac_word=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6588   $as_echo_n "(cached) " >&6
6589 else
6590   if test -n "$ac_ct_NMEDIT"; then
6591   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6592 else
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6594 for as_dir in $PATH
6595 do
6596   IFS=$as_save_IFS
6597   test -z "$as_dir" && as_dir=.
6598     for ac_exec_ext in '' $ac_executable_extensions; do
6599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6602     break 2
6603   fi
6604 done
6605   done
6606 IFS=$as_save_IFS
6607
6608 fi
6609 fi
6610 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6611 if test -n "$ac_ct_NMEDIT"; then
6612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6613 $as_echo "$ac_ct_NMEDIT" >&6; }
6614 else
6615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6617 fi
6618
6619   if test "x$ac_ct_NMEDIT" = x; then
6620     NMEDIT=":"
6621   else
6622     case $cross_compiling:$ac_tool_warned in
6623 yes:)
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6626 ac_tool_warned=yes ;;
6627 esac
6628     NMEDIT=$ac_ct_NMEDIT
6629   fi
6630 else
6631   NMEDIT="$ac_cv_prog_NMEDIT"
6632 fi
6633
6634     if test -n "$ac_tool_prefix"; then
6635   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6636 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_LIPO+:} false; then :
6640   $as_echo_n "(cached) " >&6
6641 else
6642   if test -n "$LIPO"; then
6643   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6644 else
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 for as_dir in $PATH
6647 do
6648   IFS=$as_save_IFS
6649   test -z "$as_dir" && as_dir=.
6650     for ac_exec_ext in '' $ac_executable_extensions; do
6651   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654     break 2
6655   fi
6656 done
6657   done
6658 IFS=$as_save_IFS
6659
6660 fi
6661 fi
6662 LIPO=$ac_cv_prog_LIPO
6663 if test -n "$LIPO"; then
6664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6665 $as_echo "$LIPO" >&6; }
6666 else
6667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6669 fi
6670
6671
6672 fi
6673 if test -z "$ac_cv_prog_LIPO"; then
6674   ac_ct_LIPO=$LIPO
6675   # Extract the first word of "lipo", so it can be a program name with args.
6676 set dummy lipo; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6680   $as_echo_n "(cached) " >&6
6681 else
6682   if test -n "$ac_ct_LIPO"; then
6683   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6687 do
6688   IFS=$as_save_IFS
6689   test -z "$as_dir" && as_dir=.
6690     for ac_exec_ext in '' $ac_executable_extensions; do
6691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6692     ac_cv_prog_ac_ct_LIPO="lipo"
6693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694     break 2
6695   fi
6696 done
6697   done
6698 IFS=$as_save_IFS
6699
6700 fi
6701 fi
6702 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6703 if test -n "$ac_ct_LIPO"; then
6704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6705 $as_echo "$ac_ct_LIPO" >&6; }
6706 else
6707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6709 fi
6710
6711   if test "x$ac_ct_LIPO" = x; then
6712     LIPO=":"
6713   else
6714     case $cross_compiling:$ac_tool_warned in
6715 yes:)
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6718 ac_tool_warned=yes ;;
6719 esac
6720     LIPO=$ac_ct_LIPO
6721   fi
6722 else
6723   LIPO="$ac_cv_prog_LIPO"
6724 fi
6725
6726     if test -n "$ac_tool_prefix"; then
6727   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6728 set dummy ${ac_tool_prefix}otool; ac_word=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if ${ac_cv_prog_OTOOL+:} false; then :
6732   $as_echo_n "(cached) " >&6
6733 else
6734   if test -n "$OTOOL"; then
6735   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6736 else
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 for as_dir in $PATH
6739 do
6740   IFS=$as_save_IFS
6741   test -z "$as_dir" && as_dir=.
6742     for ac_exec_ext in '' $ac_executable_extensions; do
6743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6744     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746     break 2
6747   fi
6748 done
6749   done
6750 IFS=$as_save_IFS
6751
6752 fi
6753 fi
6754 OTOOL=$ac_cv_prog_OTOOL
6755 if test -n "$OTOOL"; then
6756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6757 $as_echo "$OTOOL" >&6; }
6758 else
6759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6761 fi
6762
6763
6764 fi
6765 if test -z "$ac_cv_prog_OTOOL"; then
6766   ac_ct_OTOOL=$OTOOL
6767   # Extract the first word of "otool", so it can be a program name with args.
6768 set dummy otool; ac_word=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6772   $as_echo_n "(cached) " >&6
6773 else
6774   if test -n "$ac_ct_OTOOL"; then
6775   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6776 else
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 for as_dir in $PATH
6779 do
6780   IFS=$as_save_IFS
6781   test -z "$as_dir" && as_dir=.
6782     for ac_exec_ext in '' $ac_executable_extensions; do
6783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6784     ac_cv_prog_ac_ct_OTOOL="otool"
6785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786     break 2
6787   fi
6788 done
6789   done
6790 IFS=$as_save_IFS
6791
6792 fi
6793 fi
6794 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6795 if test -n "$ac_ct_OTOOL"; then
6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6797 $as_echo "$ac_ct_OTOOL" >&6; }
6798 else
6799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6801 fi
6802
6803   if test "x$ac_ct_OTOOL" = x; then
6804     OTOOL=":"
6805   else
6806     case $cross_compiling:$ac_tool_warned in
6807 yes:)
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6810 ac_tool_warned=yes ;;
6811 esac
6812     OTOOL=$ac_ct_OTOOL
6813   fi
6814 else
6815   OTOOL="$ac_cv_prog_OTOOL"
6816 fi
6817
6818     if test -n "$ac_tool_prefix"; then
6819   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6820 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6822 $as_echo_n "checking for $ac_word... " >&6; }
6823 if ${ac_cv_prog_OTOOL64+:} false; then :
6824   $as_echo_n "(cached) " >&6
6825 else
6826   if test -n "$OTOOL64"; then
6827   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6828 else
6829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830 for as_dir in $PATH
6831 do
6832   IFS=$as_save_IFS
6833   test -z "$as_dir" && as_dir=.
6834     for ac_exec_ext in '' $ac_executable_extensions; do
6835   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6836     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6838     break 2
6839   fi
6840 done
6841   done
6842 IFS=$as_save_IFS
6843
6844 fi
6845 fi
6846 OTOOL64=$ac_cv_prog_OTOOL64
6847 if test -n "$OTOOL64"; then
6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6849 $as_echo "$OTOOL64" >&6; }
6850 else
6851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6853 fi
6854
6855
6856 fi
6857 if test -z "$ac_cv_prog_OTOOL64"; then
6858   ac_ct_OTOOL64=$OTOOL64
6859   # Extract the first word of "otool64", so it can be a program name with args.
6860 set dummy otool64; ac_word=$2
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862 $as_echo_n "checking for $ac_word... " >&6; }
6863 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6864   $as_echo_n "(cached) " >&6
6865 else
6866   if test -n "$ac_ct_OTOOL64"; then
6867   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6868 else
6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 for as_dir in $PATH
6871 do
6872   IFS=$as_save_IFS
6873   test -z "$as_dir" && as_dir=.
6874     for ac_exec_ext in '' $ac_executable_extensions; do
6875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6876     ac_cv_prog_ac_ct_OTOOL64="otool64"
6877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6878     break 2
6879   fi
6880 done
6881   done
6882 IFS=$as_save_IFS
6883
6884 fi
6885 fi
6886 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6887 if test -n "$ac_ct_OTOOL64"; then
6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6889 $as_echo "$ac_ct_OTOOL64" >&6; }
6890 else
6891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 $as_echo "no" >&6; }
6893 fi
6894
6895   if test "x$ac_ct_OTOOL64" = x; then
6896     OTOOL64=":"
6897   else
6898     case $cross_compiling:$ac_tool_warned in
6899 yes:)
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned=yes ;;
6903 esac
6904     OTOOL64=$ac_ct_OTOOL64
6905   fi
6906 else
6907   OTOOL64="$ac_cv_prog_OTOOL64"
6908 fi
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6937 $as_echo_n "checking for -single_module linker flag... " >&6; }
6938 if ${lt_cv_apple_cc_single_mod+:} false; then :
6939   $as_echo_n "(cached) " >&6
6940 else
6941   lt_cv_apple_cc_single_mod=no
6942       if test -z "${LT_MULTI_MODULE}"; then
6943         # By default we will add the -single_module flag. You can override
6944         # by either setting the environment variable LT_MULTI_MODULE
6945         # non-empty at configure time, or by adding -multi_module to the
6946         # link flags.
6947         rm -rf libconftest.dylib*
6948         echo "int foo(void){return 1;}" > conftest.c
6949         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6950 -dynamiclib -Wl,-single_module conftest.c" >&5
6951         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6952           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6953         _lt_result=$?
6954         # If there is a non-empty error log, and "single_module"
6955         # appears in it, assume the flag caused a linker warning
6956         if test -s conftest.err && $GREP single_module conftest.err; then
6957           cat conftest.err >&5
6958         # Otherwise, if the output was created with a 0 exit code from
6959         # the compiler, it worked.
6960         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6961           lt_cv_apple_cc_single_mod=yes
6962         else
6963           cat conftest.err >&5
6964         fi
6965         rm -rf libconftest.dylib*
6966         rm -f conftest.*
6967       fi
6968 fi
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6970 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6971
6972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6973 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6974 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6975   $as_echo_n "(cached) " >&6
6976 else
6977   lt_cv_ld_exported_symbols_list=no
6978       save_LDFLAGS=$LDFLAGS
6979       echo "_main" > conftest.sym
6980       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h.  */
6983
6984 int
6985 main ()
6986 {
6987
6988   ;
6989   return 0;
6990 }
6991 _ACEOF
6992 if ac_fn_c_try_link "$LINENO"; then :
6993   lt_cv_ld_exported_symbols_list=yes
6994 else
6995   lt_cv_ld_exported_symbols_list=no
6996 fi
6997 rm -f core conftest.err conftest.$ac_objext \
6998     conftest$ac_exeext conftest.$ac_ext
6999         LDFLAGS="$save_LDFLAGS"
7000
7001 fi
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7003 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7004
7005     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7006 $as_echo_n "checking for -force_load linker flag... " >&6; }
7007 if ${lt_cv_ld_force_load+:} false; then :
7008   $as_echo_n "(cached) " >&6
7009 else
7010   lt_cv_ld_force_load=no
7011       cat > conftest.c << _LT_EOF
7012 int forced_loaded() { return 2;}
7013 _LT_EOF
7014       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7015       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7016       echo "$AR cru libconftest.a conftest.o" >&5
7017       $AR cru libconftest.a conftest.o 2>&5
7018       echo "$RANLIB libconftest.a" >&5
7019       $RANLIB libconftest.a 2>&5
7020       cat > conftest.c << _LT_EOF
7021 int main() { return 0;}
7022 _LT_EOF
7023       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7024       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7025       _lt_result=$?
7026       if test -s conftest.err && $GREP force_load conftest.err; then
7027         cat conftest.err >&5
7028       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7029         lt_cv_ld_force_load=yes
7030       else
7031         cat conftest.err >&5
7032       fi
7033         rm -f conftest.err libconftest.a conftest conftest.c
7034         rm -rf conftest.dSYM
7035
7036 fi
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7038 $as_echo "$lt_cv_ld_force_load" >&6; }
7039     case $host_os in
7040     rhapsody* | darwin1.[012])
7041       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7042     darwin1.*)
7043       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7044     darwin*) # darwin 5.x on
7045       # if running on 10.5 or later, the deployment target defaults
7046       # to the OS version, if on x86, and 10.4, the deployment
7047       # target defaults to 10.4. Don't you love it?
7048       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7049         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7050           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7051         10.[012]*)
7052           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7053         10.*)
7054           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7055       esac
7056     ;;
7057   esac
7058     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7059       _lt_dar_single_mod='$single_module'
7060     fi
7061     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7062       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7063     else
7064       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7065     fi
7066     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7067       _lt_dsymutil='~$DSYMUTIL $lib || :'
7068     else
7069       _lt_dsymutil=
7070     fi
7071     ;;
7072   esac
7073
7074 ac_ext=c
7075 ac_cpp='$CPP $CPPFLAGS'
7076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7080 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7081 # On Suns, sometimes $CPP names a directory.
7082 if test -n "$CPP" && test -d "$CPP"; then
7083   CPP=
7084 fi
7085 if test -z "$CPP"; then
7086   if ${ac_cv_prog_CPP+:} false; then :
7087   $as_echo_n "(cached) " >&6
7088 else
7089       # Double quotes because CPP needs to be expanded
7090     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7091     do
7092       ac_preproc_ok=false
7093 for ac_c_preproc_warn_flag in '' yes
7094 do
7095   # Use a header file that comes with gcc, so configuring glibc
7096   # with a fresh cross-compiler works.
7097   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7098   # <limits.h> exists even on freestanding compilers.
7099   # On the NeXT, cc -E runs the code through the compiler's parser,
7100   # not just through cpp. "Syntax error" is here to catch this case.
7101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h.  */
7103 #ifdef __STDC__
7104 # include <limits.h>
7105 #else
7106 # include <assert.h>
7107 #endif
7108                      Syntax error
7109 _ACEOF
7110 if ac_fn_c_try_cpp "$LINENO"; then :
7111
7112 else
7113   # Broken: fails on valid input.
7114 continue
7115 fi
7116 rm -f conftest.err conftest.i conftest.$ac_ext
7117
7118   # OK, works on sane cases.  Now check whether nonexistent headers
7119   # can be detected and how.
7120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h.  */
7122 #include <ac_nonexistent.h>
7123 _ACEOF
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7125   # Broken: success on invalid input.
7126 continue
7127 else
7128   # Passes both tests.
7129 ac_preproc_ok=:
7130 break
7131 fi
7132 rm -f conftest.err conftest.i conftest.$ac_ext
7133
7134 done
7135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7136 rm -f conftest.i conftest.err conftest.$ac_ext
7137 if $ac_preproc_ok; then :
7138   break
7139 fi
7140
7141     done
7142     ac_cv_prog_CPP=$CPP
7143
7144 fi
7145   CPP=$ac_cv_prog_CPP
7146 else
7147   ac_cv_prog_CPP=$CPP
7148 fi
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7150 $as_echo "$CPP" >&6; }
7151 ac_preproc_ok=false
7152 for ac_c_preproc_warn_flag in '' yes
7153 do
7154   # Use a header file that comes with gcc, so configuring glibc
7155   # with a fresh cross-compiler works.
7156   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7157   # <limits.h> exists even on freestanding compilers.
7158   # On the NeXT, cc -E runs the code through the compiler's parser,
7159   # not just through cpp. "Syntax error" is here to catch this case.
7160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7161 /* end confdefs.h.  */
7162 #ifdef __STDC__
7163 # include <limits.h>
7164 #else
7165 # include <assert.h>
7166 #endif
7167                      Syntax error
7168 _ACEOF
7169 if ac_fn_c_try_cpp "$LINENO"; then :
7170
7171 else
7172   # Broken: fails on valid input.
7173 continue
7174 fi
7175 rm -f conftest.err conftest.i conftest.$ac_ext
7176
7177   # OK, works on sane cases.  Now check whether nonexistent headers
7178   # can be detected and how.
7179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h.  */
7181 #include <ac_nonexistent.h>
7182 _ACEOF
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7184   # Broken: success on invalid input.
7185 continue
7186 else
7187   # Passes both tests.
7188 ac_preproc_ok=:
7189 break
7190 fi
7191 rm -f conftest.err conftest.i conftest.$ac_ext
7192
7193 done
7194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7195 rm -f conftest.i conftest.err conftest.$ac_ext
7196 if $ac_preproc_ok; then :
7197
7198 else
7199   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7201 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7202 See \`config.log' for more details" "$LINENO" 5; }
7203 fi
7204
7205 ac_ext=c
7206 ac_cpp='$CPP $CPPFLAGS'
7207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7210
7211
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7213 $as_echo_n "checking for ANSI C header files... " >&6; }
7214 if ${ac_cv_header_stdc+:} false; then :
7215   $as_echo_n "(cached) " >&6
7216 else
7217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h.  */
7219 #include <stdlib.h>
7220 #include <stdarg.h>
7221 #include <string.h>
7222 #include <float.h>
7223
7224 int
7225 main ()
7226 {
7227
7228   ;
7229   return 0;
7230 }
7231 _ACEOF
7232 if ac_fn_c_try_compile "$LINENO"; then :
7233   ac_cv_header_stdc=yes
7234 else
7235   ac_cv_header_stdc=no
7236 fi
7237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7238
7239 if test $ac_cv_header_stdc = yes; then
7240   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h.  */
7243 #include <string.h>
7244
7245 _ACEOF
7246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7247   $EGREP "memchr" >/dev/null 2>&1; then :
7248
7249 else
7250   ac_cv_header_stdc=no
7251 fi
7252 rm -f conftest*
7253
7254 fi
7255
7256 if test $ac_cv_header_stdc = yes; then
7257   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h.  */
7260 #include <stdlib.h>
7261
7262 _ACEOF
7263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7264   $EGREP "free" >/dev/null 2>&1; then :
7265
7266 else
7267   ac_cv_header_stdc=no
7268 fi
7269 rm -f conftest*
7270
7271 fi
7272
7273 if test $ac_cv_header_stdc = yes; then
7274   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7275   if test "$cross_compiling" = yes; then :
7276   :
7277 else
7278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h.  */
7280 #include <ctype.h>
7281 #include <stdlib.h>
7282 #if ((' ' & 0x0FF) == 0x020)
7283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7285 #else
7286 # define ISLOWER(c) \
7287                    (('a' <= (c) && (c) <= 'i') \
7288                      || ('j' <= (c) && (c) <= 'r') \
7289                      || ('s' <= (c) && (c) <= 'z'))
7290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7291 #endif
7292
7293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7294 int
7295 main ()
7296 {
7297   int i;
7298   for (i = 0; i < 256; i++)
7299     if (XOR (islower (i), ISLOWER (i))
7300         || toupper (i) != TOUPPER (i))
7301       return 2;
7302   return 0;
7303 }
7304 _ACEOF
7305 if ac_fn_c_try_run "$LINENO"; then :
7306
7307 else
7308   ac_cv_header_stdc=no
7309 fi
7310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7311   conftest.$ac_objext conftest.beam conftest.$ac_ext
7312 fi
7313
7314 fi
7315 fi
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7317 $as_echo "$ac_cv_header_stdc" >&6; }
7318 if test $ac_cv_header_stdc = yes; then
7319
7320 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7321
7322 fi
7323
7324 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7325 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7326                   inttypes.h stdint.h unistd.h
7327 do :
7328   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7329 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7330 "
7331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7332   cat >>confdefs.h <<_ACEOF
7333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7334 _ACEOF
7335
7336 fi
7337
7338 done
7339
7340
7341 for ac_header in dlfcn.h
7342 do :
7343   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7344 "
7345 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7346   cat >>confdefs.h <<_ACEOF
7347 #define HAVE_DLFCN_H 1
7348 _ACEOF
7349
7350 fi
7351
7352 done
7353
7354
7355
7356
7357
7358 # Set options
7359
7360
7361
7362         enable_dlopen=no
7363
7364
7365   enable_win32_dll=no
7366
7367
7368             # Check whether --enable-shared was given.
7369 if test "${enable_shared+set}" = set; then :
7370   enableval=$enable_shared; p=${PACKAGE-default}
7371     case $enableval in
7372     yes) enable_shared=yes ;;
7373     no) enable_shared=no ;;
7374     *)
7375       enable_shared=no
7376       # Look at the argument we got.  We use all the common list separators.
7377       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7378       for pkg in $enableval; do
7379         IFS="$lt_save_ifs"
7380         if test "X$pkg" = "X$p"; then
7381           enable_shared=yes
7382         fi
7383       done
7384       IFS="$lt_save_ifs"
7385       ;;
7386     esac
7387 else
7388   enable_shared=yes
7389 fi
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401 # Check whether --with-pic was given.
7402 if test "${with_pic+set}" = set; then :
7403   withval=$with_pic; lt_p=${PACKAGE-default}
7404     case $withval in
7405     yes|no) pic_mode=$withval ;;
7406     *)
7407       pic_mode=default
7408       # Look at the argument we got.  We use all the common list separators.
7409       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7410       for lt_pkg in $withval; do
7411         IFS="$lt_save_ifs"
7412         if test "X$lt_pkg" = "X$lt_p"; then
7413           pic_mode=yes
7414         fi
7415       done
7416       IFS="$lt_save_ifs"
7417       ;;
7418     esac
7419 else
7420   pic_mode=default
7421 fi
7422
7423
7424 test -z "$pic_mode" && pic_mode=default
7425
7426
7427
7428
7429
7430
7431
7432   # Check whether --enable-fast-install was given.
7433 if test "${enable_fast_install+set}" = set; then :
7434   enableval=$enable_fast_install; p=${PACKAGE-default}
7435     case $enableval in
7436     yes) enable_fast_install=yes ;;
7437     no) enable_fast_install=no ;;
7438     *)
7439       enable_fast_install=no
7440       # Look at the argument we got.  We use all the common list separators.
7441       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7442       for pkg in $enableval; do
7443         IFS="$lt_save_ifs"
7444         if test "X$pkg" = "X$p"; then
7445           enable_fast_install=yes
7446         fi
7447       done
7448       IFS="$lt_save_ifs"
7449       ;;
7450     esac
7451 else
7452   enable_fast_install=yes
7453 fi
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465 # This can be used to rebuild libtool when needed
7466 LIBTOOL_DEPS="$ltmain"
7467
7468 # Always use our own libtool.
7469 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500 test -z "$LN_S" && LN_S="ln -s"
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515 if test -n "${ZSH_VERSION+set}" ; then
7516    setopt NO_GLOB_SUBST
7517 fi
7518
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7520 $as_echo_n "checking for objdir... " >&6; }
7521 if ${lt_cv_objdir+:} false; then :
7522   $as_echo_n "(cached) " >&6
7523 else
7524   rm -f .libs 2>/dev/null
7525 mkdir .libs 2>/dev/null
7526 if test -d .libs; then
7527   lt_cv_objdir=.libs
7528 else
7529   # MS-DOS does not allow filenames that begin with a dot.
7530   lt_cv_objdir=_libs
7531 fi
7532 rmdir .libs 2>/dev/null
7533 fi
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7535 $as_echo "$lt_cv_objdir" >&6; }
7536 objdir=$lt_cv_objdir
7537
7538
7539
7540
7541
7542 cat >>confdefs.h <<_ACEOF
7543 #define LT_OBJDIR "$lt_cv_objdir/"
7544 _ACEOF
7545
7546
7547
7548
7549 case $host_os in
7550 aix3*)
7551   # AIX sometimes has problems with the GCC collect2 program.  For some
7552   # reason, if we set the COLLECT_NAMES environment variable, the problems
7553   # vanish in a puff of smoke.
7554   if test "X${COLLECT_NAMES+set}" != Xset; then
7555     COLLECT_NAMES=
7556     export COLLECT_NAMES
7557   fi
7558   ;;
7559 esac
7560
7561 # Global variables:
7562 ofile=libtool
7563 can_build_shared=yes
7564
7565 # All known linkers require a `.a' archive for static linking (except MSVC,
7566 # which needs '.lib').
7567 libext=a
7568
7569 with_gnu_ld="$lt_cv_prog_gnu_ld"
7570
7571 old_CC="$CC"
7572 old_CFLAGS="$CFLAGS"
7573
7574 # Set sane defaults for various variables
7575 test -z "$CC" && CC=cc
7576 test -z "$LTCC" && LTCC=$CC
7577 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7578 test -z "$LD" && LD=ld
7579 test -z "$ac_objext" && ac_objext=o
7580
7581 for cc_temp in $compiler""; do
7582   case $cc_temp in
7583     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7584     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7585     \-*) ;;
7586     *) break;;
7587   esac
7588 done
7589 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7590
7591
7592 # Only perform the check for file, if the check method requires it
7593 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7594 case $deplibs_check_method in
7595 file_magic*)
7596   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7598 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7599 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7600   $as_echo_n "(cached) " >&6
7601 else
7602   case $MAGIC_CMD in
7603 [\\/*] |  ?:[\\/]*)
7604   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7605   ;;
7606 *)
7607   lt_save_MAGIC_CMD="$MAGIC_CMD"
7608   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7609   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7610   for ac_dir in $ac_dummy; do
7611     IFS="$lt_save_ifs"
7612     test -z "$ac_dir" && ac_dir=.
7613     if test -f $ac_dir/${ac_tool_prefix}file; then
7614       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7615       if test -n "$file_magic_test_file"; then
7616         case $deplibs_check_method in
7617         "file_magic "*)
7618           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7619           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7620           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7621             $EGREP "$file_magic_regex" > /dev/null; then
7622             :
7623           else
7624             cat <<_LT_EOF 1>&2
7625
7626 *** Warning: the command libtool uses to detect shared libraries,
7627 *** $file_magic_cmd, produces output that libtool cannot recognize.
7628 *** The result is that libtool may fail to recognize shared libraries
7629 *** as such.  This will affect the creation of libtool libraries that
7630 *** depend on shared libraries, but programs linked with such libtool
7631 *** libraries will work regardless of this problem.  Nevertheless, you
7632 *** may want to report the problem to your system manager and/or to
7633 *** bug-libtool@gnu.org
7634
7635 _LT_EOF
7636           fi ;;
7637         esac
7638       fi
7639       break
7640     fi
7641   done
7642   IFS="$lt_save_ifs"
7643   MAGIC_CMD="$lt_save_MAGIC_CMD"
7644   ;;
7645 esac
7646 fi
7647
7648 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7649 if test -n "$MAGIC_CMD"; then
7650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7651 $as_echo "$MAGIC_CMD" >&6; }
7652 else
7653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7655 fi
7656
7657
7658
7659
7660
7661 if test -z "$lt_cv_path_MAGIC_CMD"; then
7662   if test -n "$ac_tool_prefix"; then
7663     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7664 $as_echo_n "checking for file... " >&6; }
7665 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7666   $as_echo_n "(cached) " >&6
7667 else
7668   case $MAGIC_CMD in
7669 [\\/*] |  ?:[\\/]*)
7670   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7671   ;;
7672 *)
7673   lt_save_MAGIC_CMD="$MAGIC_CMD"
7674   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7675   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7676   for ac_dir in $ac_dummy; do
7677     IFS="$lt_save_ifs"
7678     test -z "$ac_dir" && ac_dir=.
7679     if test -f $ac_dir/file; then
7680       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7681       if test -n "$file_magic_test_file"; then
7682         case $deplibs_check_method in
7683         "file_magic "*)
7684           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7685           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7686           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7687             $EGREP "$file_magic_regex" > /dev/null; then
7688             :
7689           else
7690             cat <<_LT_EOF 1>&2
7691
7692 *** Warning: the command libtool uses to detect shared libraries,
7693 *** $file_magic_cmd, produces output that libtool cannot recognize.
7694 *** The result is that libtool may fail to recognize shared libraries
7695 *** as such.  This will affect the creation of libtool libraries that
7696 *** depend on shared libraries, but programs linked with such libtool
7697 *** libraries will work regardless of this problem.  Nevertheless, you
7698 *** may want to report the problem to your system manager and/or to
7699 *** bug-libtool@gnu.org
7700
7701 _LT_EOF
7702           fi ;;
7703         esac
7704       fi
7705       break
7706     fi
7707   done
7708   IFS="$lt_save_ifs"
7709   MAGIC_CMD="$lt_save_MAGIC_CMD"
7710   ;;
7711 esac
7712 fi
7713
7714 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7715 if test -n "$MAGIC_CMD"; then
7716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7717 $as_echo "$MAGIC_CMD" >&6; }
7718 else
7719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7720 $as_echo "no" >&6; }
7721 fi
7722
7723
7724   else
7725     MAGIC_CMD=:
7726   fi
7727 fi
7728
7729   fi
7730   ;;
7731 esac
7732
7733 # Use C for the default configuration in the libtool script
7734
7735 lt_save_CC="$CC"
7736 ac_ext=c
7737 ac_cpp='$CPP $CPPFLAGS'
7738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7741
7742
7743 # Source file extension for C test sources.
7744 ac_ext=c
7745
7746 # Object file extension for compiled C test sources.
7747 objext=o
7748 objext=$objext
7749
7750 # Code to be used in simple compile tests
7751 lt_simple_compile_test_code="int some_variable = 0;"
7752
7753 # Code to be used in simple link tests
7754 lt_simple_link_test_code='int main(){return(0);}'
7755
7756
7757
7758
7759
7760
7761
7762 # If no C compiler was specified, use CC.
7763 LTCC=${LTCC-"$CC"}
7764
7765 # If no C compiler flags were specified, use CFLAGS.
7766 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7767
7768 # Allow CC to be a program name with arguments.
7769 compiler=$CC
7770
7771 # Save the default compiler, since it gets overwritten when the other
7772 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7773 compiler_DEFAULT=$CC
7774
7775 # save warnings/boilerplate of simple test code
7776 ac_outfile=conftest.$ac_objext
7777 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7778 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7779 _lt_compiler_boilerplate=`cat conftest.err`
7780 $RM conftest*
7781
7782 ac_outfile=conftest.$ac_objext
7783 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7784 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7785 _lt_linker_boilerplate=`cat conftest.err`
7786 $RM -r conftest*
7787
7788
7789 if test -n "$compiler"; then
7790
7791 lt_prog_compiler_no_builtin_flag=
7792
7793 if test "$GCC" = yes; then
7794   case $cc_basename in
7795   nvcc*)
7796     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7797   *)
7798     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7799   esac
7800
7801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7802 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7803 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7804   $as_echo_n "(cached) " >&6
7805 else
7806   lt_cv_prog_compiler_rtti_exceptions=no
7807    ac_outfile=conftest.$ac_objext
7808    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7809    lt_compiler_flag="-fno-rtti -fno-exceptions"
7810    # Insert the option either (1) after the last *FLAGS variable, or
7811    # (2) before a word containing "conftest.", or (3) at the end.
7812    # Note that $ac_compile itself does not contain backslashes and begins
7813    # with a dollar sign (not a hyphen), so the echo should work correctly.
7814    # The option is referenced via a variable to avoid confusing sed.
7815    lt_compile=`echo "$ac_compile" | $SED \
7816    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7817    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7818    -e 's:$: $lt_compiler_flag:'`
7819    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7820    (eval "$lt_compile" 2>conftest.err)
7821    ac_status=$?
7822    cat conftest.err >&5
7823    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824    if (exit $ac_status) && test -s "$ac_outfile"; then
7825      # The compiler can only warn and ignore the option if not recognized
7826      # So say no if there are warnings other than the usual output.
7827      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7828      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7829      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7830        lt_cv_prog_compiler_rtti_exceptions=yes
7831      fi
7832    fi
7833    $RM conftest*
7834
7835 fi
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7837 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7838
7839 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7840     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7841 else
7842     :
7843 fi
7844
7845 fi
7846
7847
7848
7849
7850
7851
7852   lt_prog_compiler_wl=
7853 lt_prog_compiler_pic=
7854 lt_prog_compiler_static=
7855
7856
7857   if test "$GCC" = yes; then
7858     lt_prog_compiler_wl='-Wl,'
7859     lt_prog_compiler_static='-static'
7860
7861     case $host_os in
7862       aix*)
7863       # All AIX code is PIC.
7864       if test "$host_cpu" = ia64; then
7865         # AIX 5 now supports IA64 processor
7866         lt_prog_compiler_static='-Bstatic'
7867       fi
7868       ;;
7869
7870     amigaos*)
7871       case $host_cpu in
7872       powerpc)
7873             # see comment about AmigaOS4 .so support
7874             lt_prog_compiler_pic='-fPIC'
7875         ;;
7876       m68k)
7877             # FIXME: we need at least 68020 code to build shared libraries, but
7878             # adding the `-m68020' flag to GCC prevents building anything better,
7879             # like `-m68040'.
7880             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7881         ;;
7882       esac
7883       ;;
7884
7885     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7886       # PIC is the default for these OSes.
7887       ;;
7888
7889     mingw* | cygwin* | pw32* | os2* | cegcc*)
7890       # This hack is so that the source file can tell whether it is being
7891       # built for inclusion in a dll (and should export symbols for example).
7892       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7893       # (--disable-auto-import) libraries
7894       lt_prog_compiler_pic='-DDLL_EXPORT'
7895       ;;
7896
7897     darwin* | rhapsody*)
7898       # PIC is the default on this platform
7899       # Common symbols not allowed in MH_DYLIB files
7900       lt_prog_compiler_pic='-fno-common'
7901       ;;
7902
7903     haiku*)
7904       # PIC is the default for Haiku.
7905       # The "-static" flag exists, but is broken.
7906       lt_prog_compiler_static=
7907       ;;
7908
7909     hpux*)
7910       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7911       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7912       # sets the default TLS model and affects inlining.
7913       case $host_cpu in
7914       hppa*64*)
7915         # +Z the default
7916         ;;
7917       *)
7918         lt_prog_compiler_pic='-fPIC'
7919         ;;
7920       esac
7921       ;;
7922
7923     interix[3-9]*)
7924       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7925       # Instead, we relocate shared libraries at runtime.
7926       ;;
7927
7928     msdosdjgpp*)
7929       # Just because we use GCC doesn't mean we suddenly get shared libraries
7930       # on systems that don't support them.
7931       lt_prog_compiler_can_build_shared=no
7932       enable_shared=no
7933       ;;
7934
7935     *nto* | *qnx*)
7936       # QNX uses GNU C++, but need to define -shared option too, otherwise
7937       # it will coredump.
7938       lt_prog_compiler_pic='-fPIC -shared'
7939       ;;
7940
7941     sysv4*MP*)
7942       if test -d /usr/nec; then
7943         lt_prog_compiler_pic=-Kconform_pic
7944       fi
7945       ;;
7946
7947     *)
7948       lt_prog_compiler_pic='-fPIC'
7949       ;;
7950     esac
7951
7952     case $cc_basename in
7953     nvcc*) # Cuda Compiler Driver 2.2
7954       lt_prog_compiler_wl='-Xlinker '
7955       if test -n "$lt_prog_compiler_pic"; then
7956         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7957       fi
7958       ;;
7959     esac
7960   else
7961     # PORTME Check for flag to pass linker flags through the system compiler.
7962     case $host_os in
7963     aix*)
7964       lt_prog_compiler_wl='-Wl,'
7965       if test "$host_cpu" = ia64; then
7966         # AIX 5 now supports IA64 processor
7967         lt_prog_compiler_static='-Bstatic'
7968       else
7969         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7970       fi
7971       ;;
7972
7973     mingw* | cygwin* | pw32* | os2* | cegcc*)
7974       # This hack is so that the source file can tell whether it is being
7975       # built for inclusion in a dll (and should export symbols for example).
7976       lt_prog_compiler_pic='-DDLL_EXPORT'
7977       ;;
7978
7979     hpux9* | hpux10* | hpux11*)
7980       lt_prog_compiler_wl='-Wl,'
7981       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7982       # not for PA HP-UX.
7983       case $host_cpu in
7984       hppa*64*|ia64*)
7985         # +Z the default
7986         ;;
7987       *)
7988         lt_prog_compiler_pic='+Z'
7989         ;;
7990       esac
7991       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7992       lt_prog_compiler_static='${wl}-a ${wl}archive'
7993       ;;
7994
7995     irix5* | irix6* | nonstopux*)
7996       lt_prog_compiler_wl='-Wl,'
7997       # PIC (with -KPIC) is the default.
7998       lt_prog_compiler_static='-non_shared'
7999       ;;
8000
8001     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8002       case $cc_basename in
8003       # old Intel for x86_64 which still supported -KPIC.
8004       ecc*)
8005         lt_prog_compiler_wl='-Wl,'
8006         lt_prog_compiler_pic='-KPIC'
8007         lt_prog_compiler_static='-static'
8008         ;;
8009       # icc used to be incompatible with GCC.
8010       # ICC 10 doesn't accept -KPIC any more.
8011       icc* | ifort*)
8012         lt_prog_compiler_wl='-Wl,'
8013         lt_prog_compiler_pic='-fPIC'
8014         lt_prog_compiler_static='-static'
8015         ;;
8016       # Lahey Fortran 8.1.
8017       lf95*)
8018         lt_prog_compiler_wl='-Wl,'
8019         lt_prog_compiler_pic='--shared'
8020         lt_prog_compiler_static='--static'
8021         ;;
8022       nagfor*)
8023         # NAG Fortran compiler
8024         lt_prog_compiler_wl='-Wl,-Wl,,'
8025         lt_prog_compiler_pic='-PIC'
8026         lt_prog_compiler_static='-Bstatic'
8027         ;;
8028       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8029         # Portland Group compilers (*not* the Pentium gcc compiler,
8030         # which looks to be a dead project)
8031         lt_prog_compiler_wl='-Wl,'
8032         lt_prog_compiler_pic='-fpic'
8033         lt_prog_compiler_static='-Bstatic'
8034         ;;
8035       ccc*)
8036         lt_prog_compiler_wl='-Wl,'
8037         # All Alpha code is PIC.
8038         lt_prog_compiler_static='-non_shared'
8039         ;;
8040       xl* | bgxl* | bgf* | mpixl*)
8041         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8042         lt_prog_compiler_wl='-Wl,'
8043         lt_prog_compiler_pic='-qpic'
8044         lt_prog_compiler_static='-qstaticlink'
8045         ;;
8046       *)
8047         case `$CC -V 2>&1 | sed 5q` in
8048         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8049           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8050           lt_prog_compiler_pic='-KPIC'
8051           lt_prog_compiler_static='-Bstatic'
8052           lt_prog_compiler_wl=''
8053           ;;
8054         *Sun\ F* | *Sun*Fortran*)
8055           lt_prog_compiler_pic='-KPIC'
8056           lt_prog_compiler_static='-Bstatic'
8057           lt_prog_compiler_wl='-Qoption ld '
8058           ;;
8059         *Sun\ C*)
8060           # Sun C 5.9
8061           lt_prog_compiler_pic='-KPIC'
8062           lt_prog_compiler_static='-Bstatic'
8063           lt_prog_compiler_wl='-Wl,'
8064           ;;
8065         *Intel*\ [CF]*Compiler*)
8066           lt_prog_compiler_wl='-Wl,'
8067           lt_prog_compiler_pic='-fPIC'
8068           lt_prog_compiler_static='-static'
8069           ;;
8070         *Portland\ Group*)
8071           lt_prog_compiler_wl='-Wl,'
8072           lt_prog_compiler_pic='-fpic'
8073           lt_prog_compiler_static='-Bstatic'
8074           ;;
8075         esac
8076         ;;
8077       esac
8078       ;;
8079
8080     newsos6)
8081       lt_prog_compiler_pic='-KPIC'
8082       lt_prog_compiler_static='-Bstatic'
8083       ;;
8084
8085     *nto* | *qnx*)
8086       # QNX uses GNU C++, but need to define -shared option too, otherwise
8087       # it will coredump.
8088       lt_prog_compiler_pic='-fPIC -shared'
8089       ;;
8090
8091     osf3* | osf4* | osf5*)
8092       lt_prog_compiler_wl='-Wl,'
8093       # All OSF/1 code is PIC.
8094       lt_prog_compiler_static='-non_shared'
8095       ;;
8096
8097     rdos*)
8098       lt_prog_compiler_static='-non_shared'
8099       ;;
8100
8101     solaris*)
8102       lt_prog_compiler_pic='-KPIC'
8103       lt_prog_compiler_static='-Bstatic'
8104       case $cc_basename in
8105       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8106         lt_prog_compiler_wl='-Qoption ld ';;
8107       *)
8108         lt_prog_compiler_wl='-Wl,';;
8109       esac
8110       ;;
8111
8112     sunos4*)
8113       lt_prog_compiler_wl='-Qoption ld '
8114       lt_prog_compiler_pic='-PIC'
8115       lt_prog_compiler_static='-Bstatic'
8116       ;;
8117
8118     sysv4 | sysv4.2uw2* | sysv4.3*)
8119       lt_prog_compiler_wl='-Wl,'
8120       lt_prog_compiler_pic='-KPIC'
8121       lt_prog_compiler_static='-Bstatic'
8122       ;;
8123
8124     sysv4*MP*)
8125       if test -d /usr/nec ;then
8126         lt_prog_compiler_pic='-Kconform_pic'
8127         lt_prog_compiler_static='-Bstatic'
8128       fi
8129       ;;
8130
8131     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8132       lt_prog_compiler_wl='-Wl,'
8133       lt_prog_compiler_pic='-KPIC'
8134       lt_prog_compiler_static='-Bstatic'
8135       ;;
8136
8137     unicos*)
8138       lt_prog_compiler_wl='-Wl,'
8139       lt_prog_compiler_can_build_shared=no
8140       ;;
8141
8142     uts4*)
8143       lt_prog_compiler_pic='-pic'
8144       lt_prog_compiler_static='-Bstatic'
8145       ;;
8146
8147     *)
8148       lt_prog_compiler_can_build_shared=no
8149       ;;
8150     esac
8151   fi
8152
8153 case $host_os in
8154   # For platforms which do not support PIC, -DPIC is meaningless:
8155   *djgpp*)
8156     lt_prog_compiler_pic=
8157     ;;
8158   *)
8159     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8160     ;;
8161 esac
8162
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8164 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8165 if ${lt_cv_prog_compiler_pic+:} false; then :
8166   $as_echo_n "(cached) " >&6
8167 else
8168   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8169 fi
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8171 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8172 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8173
8174 #
8175 # Check to make sure the PIC flag actually works.
8176 #
8177 if test -n "$lt_prog_compiler_pic"; then
8178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8179 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8180 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8181   $as_echo_n "(cached) " >&6
8182 else
8183   lt_cv_prog_compiler_pic_works=no
8184    ac_outfile=conftest.$ac_objext
8185    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8186    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8187    # Insert the option either (1) after the last *FLAGS variable, or
8188    # (2) before a word containing "conftest.", or (3) at the end.
8189    # Note that $ac_compile itself does not contain backslashes and begins
8190    # with a dollar sign (not a hyphen), so the echo should work correctly.
8191    # The option is referenced via a variable to avoid confusing sed.
8192    lt_compile=`echo "$ac_compile" | $SED \
8193    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8194    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8195    -e 's:$: $lt_compiler_flag:'`
8196    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8197    (eval "$lt_compile" 2>conftest.err)
8198    ac_status=$?
8199    cat conftest.err >&5
8200    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201    if (exit $ac_status) && test -s "$ac_outfile"; then
8202      # The compiler can only warn and ignore the option if not recognized
8203      # So say no if there are warnings other than the usual output.
8204      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8205      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8206      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8207        lt_cv_prog_compiler_pic_works=yes
8208      fi
8209    fi
8210    $RM conftest*
8211
8212 fi
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8214 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8215
8216 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8217     case $lt_prog_compiler_pic in
8218      "" | " "*) ;;
8219      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8220      esac
8221 else
8222     lt_prog_compiler_pic=
8223      lt_prog_compiler_can_build_shared=no
8224 fi
8225
8226 fi
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238 #
8239 # Check to make sure the static flag actually works.
8240 #
8241 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8243 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8244 if ${lt_cv_prog_compiler_static_works+:} false; then :
8245   $as_echo_n "(cached) " >&6
8246 else
8247   lt_cv_prog_compiler_static_works=no
8248    save_LDFLAGS="$LDFLAGS"
8249    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8250    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8251    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8252      # The linker can only warn and ignore the option if not recognized
8253      # So say no if there are warnings
8254      if test -s conftest.err; then
8255        # Append any errors to the config.log.
8256        cat conftest.err 1>&5
8257        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8258        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8259        if diff conftest.exp conftest.er2 >/dev/null; then
8260          lt_cv_prog_compiler_static_works=yes
8261        fi
8262      else
8263        lt_cv_prog_compiler_static_works=yes
8264      fi
8265    fi
8266    $RM -r conftest*
8267    LDFLAGS="$save_LDFLAGS"
8268
8269 fi
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8271 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8272
8273 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8274     :
8275 else
8276     lt_prog_compiler_static=
8277 fi
8278
8279
8280
8281
8282
8283
8284
8285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8286 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8287 if ${lt_cv_prog_compiler_c_o+:} false; then :
8288   $as_echo_n "(cached) " >&6
8289 else
8290   lt_cv_prog_compiler_c_o=no
8291    $RM -r conftest 2>/dev/null
8292    mkdir conftest
8293    cd conftest
8294    mkdir out
8295    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8296
8297    lt_compiler_flag="-o out/conftest2.$ac_objext"
8298    # Insert the option either (1) after the last *FLAGS variable, or
8299    # (2) before a word containing "conftest.", or (3) at the end.
8300    # Note that $ac_compile itself does not contain backslashes and begins
8301    # with a dollar sign (not a hyphen), so the echo should work correctly.
8302    lt_compile=`echo "$ac_compile" | $SED \
8303    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8304    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8305    -e 's:$: $lt_compiler_flag:'`
8306    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8307    (eval "$lt_compile" 2>out/conftest.err)
8308    ac_status=$?
8309    cat out/conftest.err >&5
8310    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8312    then
8313      # The compiler can only warn and ignore the option if not recognized
8314      # So say no if there are warnings
8315      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8316      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8317      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8318        lt_cv_prog_compiler_c_o=yes
8319      fi
8320    fi
8321    chmod u+w . 2>&5
8322    $RM conftest*
8323    # SGI C++ compiler will create directory out/ii_files/ for
8324    # template instantiation
8325    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8326    $RM out/* && rmdir out
8327    cd ..
8328    $RM -r conftest
8329    $RM conftest*
8330
8331 fi
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8333 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8334
8335
8336
8337
8338
8339
8340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8341 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8342 if ${lt_cv_prog_compiler_c_o+:} false; then :
8343   $as_echo_n "(cached) " >&6
8344 else
8345   lt_cv_prog_compiler_c_o=no
8346    $RM -r conftest 2>/dev/null
8347    mkdir conftest
8348    cd conftest
8349    mkdir out
8350    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8351
8352    lt_compiler_flag="-o out/conftest2.$ac_objext"
8353    # Insert the option either (1) after the last *FLAGS variable, or
8354    # (2) before a word containing "conftest.", or (3) at the end.
8355    # Note that $ac_compile itself does not contain backslashes and begins
8356    # with a dollar sign (not a hyphen), so the echo should work correctly.
8357    lt_compile=`echo "$ac_compile" | $SED \
8358    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8359    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8360    -e 's:$: $lt_compiler_flag:'`
8361    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8362    (eval "$lt_compile" 2>out/conftest.err)
8363    ac_status=$?
8364    cat out/conftest.err >&5
8365    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8367    then
8368      # The compiler can only warn and ignore the option if not recognized
8369      # So say no if there are warnings
8370      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8371      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8372      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8373        lt_cv_prog_compiler_c_o=yes
8374      fi
8375    fi
8376    chmod u+w . 2>&5
8377    $RM conftest*
8378    # SGI C++ compiler will create directory out/ii_files/ for
8379    # template instantiation
8380    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8381    $RM out/* && rmdir out
8382    cd ..
8383    $RM -r conftest
8384    $RM conftest*
8385
8386 fi
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8388 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8389
8390
8391
8392
8393 hard_links="nottested"
8394 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8395   # do not overwrite the value of need_locks provided by the user
8396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8397 $as_echo_n "checking if we can lock with hard links... " >&6; }
8398   hard_links=yes
8399   $RM conftest*
8400   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8401   touch conftest.a
8402   ln conftest.a conftest.b 2>&5 || hard_links=no
8403   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8405 $as_echo "$hard_links" >&6; }
8406   if test "$hard_links" = no; then
8407     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8408 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8409     need_locks=warn
8410   fi
8411 else
8412   need_locks=no
8413 fi
8414
8415
8416
8417
8418
8419
8420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8421 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8422
8423   runpath_var=
8424   allow_undefined_flag=
8425   always_export_symbols=no
8426   archive_cmds=
8427   archive_expsym_cmds=
8428   compiler_needs_object=no
8429   enable_shared_with_static_runtimes=no
8430   export_dynamic_flag_spec=
8431   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8432   hardcode_automatic=no
8433   hardcode_direct=no
8434   hardcode_direct_absolute=no
8435   hardcode_libdir_flag_spec=
8436   hardcode_libdir_separator=
8437   hardcode_minus_L=no
8438   hardcode_shlibpath_var=unsupported
8439   inherit_rpath=no
8440   link_all_deplibs=unknown
8441   module_cmds=
8442   module_expsym_cmds=
8443   old_archive_from_new_cmds=
8444   old_archive_from_expsyms_cmds=
8445   thread_safe_flag_spec=
8446   whole_archive_flag_spec=
8447   # include_expsyms should be a list of space-separated symbols to be *always*
8448   # included in the symbol list
8449   include_expsyms=
8450   # exclude_expsyms can be an extended regexp of symbols to exclude
8451   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8452   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8453   # as well as any symbol that contains `d'.
8454   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8455   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8456   # platforms (ab)use it in PIC code, but their linkers get confused if
8457   # the symbol is explicitly referenced.  Since portable code cannot
8458   # rely on this symbol name, it's probably fine to never include it in
8459   # preloaded symbol tables.
8460   # Exclude shared library initialization/finalization symbols.
8461   extract_expsyms_cmds=
8462
8463   case $host_os in
8464   cygwin* | mingw* | pw32* | cegcc*)
8465     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8466     # When not using gcc, we currently assume that we are using
8467     # Microsoft Visual C++.
8468     if test "$GCC" != yes; then
8469       with_gnu_ld=no
8470     fi
8471     ;;
8472   interix*)
8473     # we just hope/assume this is gcc and not c89 (= MSVC++)
8474     with_gnu_ld=yes
8475     ;;
8476   openbsd*)
8477     with_gnu_ld=no
8478     ;;
8479   esac
8480
8481   ld_shlibs=yes
8482
8483   # On some targets, GNU ld is compatible enough with the native linker
8484   # that we're better off using the native interface for both.
8485   lt_use_gnu_ld_interface=no
8486   if test "$with_gnu_ld" = yes; then
8487     case $host_os in
8488       aix*)
8489         # The AIX port of GNU ld has always aspired to compatibility
8490         # with the native linker.  However, as the warning in the GNU ld
8491         # block says, versions before 2.19.5* couldn't really create working
8492         # shared libraries, regardless of the interface used.
8493         case `$LD -v 2>&1` in
8494           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8495           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8496           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8497           *)
8498             lt_use_gnu_ld_interface=yes
8499             ;;
8500         esac
8501         ;;
8502       *)
8503         lt_use_gnu_ld_interface=yes
8504         ;;
8505     esac
8506   fi
8507
8508   if test "$lt_use_gnu_ld_interface" = yes; then
8509     # If archive_cmds runs LD, not CC, wlarc should be empty
8510     wlarc='${wl}'
8511
8512     # Set some defaults for GNU ld with shared library support. These
8513     # are reset later if shared libraries are not supported. Putting them
8514     # here allows them to be overridden if necessary.
8515     runpath_var=LD_RUN_PATH
8516     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8517     export_dynamic_flag_spec='${wl}--export-dynamic'
8518     # ancient GNU ld didn't support --whole-archive et. al.
8519     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8520       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8521     else
8522       whole_archive_flag_spec=
8523     fi
8524     supports_anon_versioning=no
8525     case `$LD -v 2>&1` in
8526       *GNU\ gold*) supports_anon_versioning=yes ;;
8527       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8528       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8529       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8530       *\ 2.11.*) ;; # other 2.11 versions
8531       *) supports_anon_versioning=yes ;;
8532     esac
8533
8534     # See if GNU ld supports shared libraries.
8535     case $host_os in
8536     aix[3-9]*)
8537       # On AIX/PPC, the GNU linker is very broken
8538       if test "$host_cpu" != ia64; then
8539         ld_shlibs=no
8540         cat <<_LT_EOF 1>&2
8541
8542 *** Warning: the GNU linker, at least up to release 2.19, is reported
8543 *** to be unable to reliably create shared libraries on AIX.
8544 *** Therefore, libtool is disabling shared libraries support.  If you
8545 *** really care for shared libraries, you may want to install binutils
8546 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8547 *** You will then need to restart the configuration process.
8548
8549 _LT_EOF
8550       fi
8551       ;;
8552
8553     amigaos*)
8554       case $host_cpu in
8555       powerpc)
8556             # see comment about AmigaOS4 .so support
8557             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8558             archive_expsym_cmds=''
8559         ;;
8560       m68k)
8561             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)'
8562             hardcode_libdir_flag_spec='-L$libdir'
8563             hardcode_minus_L=yes
8564         ;;
8565       esac
8566       ;;
8567
8568     beos*)
8569       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8570         allow_undefined_flag=unsupported
8571         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8572         # support --undefined.  This deserves some investigation.  FIXME
8573         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8574       else
8575         ld_shlibs=no
8576       fi
8577       ;;
8578
8579     cygwin* | mingw* | pw32* | cegcc*)
8580       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8581       # as there is no search path for DLLs.
8582       hardcode_libdir_flag_spec='-L$libdir'
8583       export_dynamic_flag_spec='${wl}--export-all-symbols'
8584       allow_undefined_flag=unsupported
8585       always_export_symbols=no
8586       enable_shared_with_static_runtimes=yes
8587       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'
8588       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8589
8590       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8591         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8592         # If the export-symbols file already is a .def file (1st line
8593         # is EXPORTS), use it as is; otherwise, prepend...
8594         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8595           cp $export_symbols $output_objdir/$soname.def;
8596         else
8597           echo EXPORTS > $output_objdir/$soname.def;
8598           cat $export_symbols >> $output_objdir/$soname.def;
8599         fi~
8600         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8601       else
8602         ld_shlibs=no
8603       fi
8604       ;;
8605
8606     haiku*)
8607       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8608       link_all_deplibs=yes
8609       ;;
8610
8611     interix[3-9]*)
8612       hardcode_direct=no
8613       hardcode_shlibpath_var=no
8614       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8615       export_dynamic_flag_spec='${wl}-E'
8616       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8617       # Instead, shared libraries are loaded at an image base (0x10000000 by
8618       # default) and relocated if they conflict, which is a slow very memory
8619       # consuming and fragmenting process.  To avoid this, we pick a random,
8620       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8621       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8622       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8623       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'
8624       ;;
8625
8626     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8627       tmp_diet=no
8628       if test "$host_os" = linux-dietlibc; then
8629         case $cc_basename in
8630           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8631         esac
8632       fi
8633       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8634          && test "$tmp_diet" = no
8635       then
8636         tmp_addflag=' $pic_flag'
8637         tmp_sharedflag='-shared'
8638         case $cc_basename,$host_cpu in
8639         pgcc*)                          # Portland Group C compiler
8640           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'
8641           tmp_addflag=' $pic_flag'
8642           ;;
8643         pgf77* | pgf90* | pgf95* | pgfortran*)
8644                                         # Portland Group f77 and f90 compilers
8645           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'
8646           tmp_addflag=' $pic_flag -Mnomain' ;;
8647         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8648           tmp_addflag=' -i_dynamic' ;;
8649         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8650           tmp_addflag=' -i_dynamic -nofor_main' ;;
8651         ifc* | ifort*)                  # Intel Fortran compiler
8652           tmp_addflag=' -nofor_main' ;;
8653         lf95*)                          # Lahey Fortran 8.1
8654           whole_archive_flag_spec=
8655           tmp_sharedflag='--shared' ;;
8656         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8657           tmp_sharedflag='-qmkshrobj'
8658           tmp_addflag= ;;
8659         nvcc*)  # Cuda Compiler Driver 2.2
8660           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'
8661           compiler_needs_object=yes
8662           ;;
8663         esac
8664         case `$CC -V 2>&1 | sed 5q` in
8665         *Sun\ C*)                       # Sun C 5.9
8666           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'
8667           compiler_needs_object=yes
8668           tmp_sharedflag='-G' ;;
8669         *Sun\ F*)                       # Sun Fortran 8.3
8670           tmp_sharedflag='-G' ;;
8671         esac
8672         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8673
8674         if test "x$supports_anon_versioning" = xyes; then
8675           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8676             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8677             echo "local: *; };" >> $output_objdir/$libname.ver~
8678             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8679         fi
8680
8681         case $cc_basename in
8682         xlf* | bgf* | bgxlf* | mpixlf*)
8683           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8684           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8685           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8686           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8687           if test "x$supports_anon_versioning" = xyes; then
8688             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8689               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8690               echo "local: *; };" >> $output_objdir/$libname.ver~
8691               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8692           fi
8693           ;;
8694         esac
8695       else
8696         ld_shlibs=no
8697       fi
8698       ;;
8699
8700     netbsd*)
8701       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8702         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8703         wlarc=
8704       else
8705         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8706         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8707       fi
8708       ;;
8709
8710     solaris*)
8711       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8712         ld_shlibs=no
8713         cat <<_LT_EOF 1>&2
8714
8715 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8716 *** create shared libraries on Solaris systems.  Therefore, libtool
8717 *** is disabling shared libraries support.  We urge you to upgrade GNU
8718 *** binutils to release 2.9.1 or newer.  Another option is to modify
8719 *** your PATH or compiler configuration so that the native linker is
8720 *** used, and then restart.
8721
8722 _LT_EOF
8723       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8724         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8725         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8726       else
8727         ld_shlibs=no
8728       fi
8729       ;;
8730
8731     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8732       case `$LD -v 2>&1` in
8733         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8734         ld_shlibs=no
8735         cat <<_LT_EOF 1>&2
8736
8737 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8738 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8739 *** is disabling shared libraries support.  We urge you to upgrade GNU
8740 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8741 *** your PATH or compiler configuration so that the native linker is
8742 *** used, and then restart.
8743
8744 _LT_EOF
8745         ;;
8746         *)
8747           # For security reasons, it is highly recommended that you always
8748           # use absolute paths for naming shared libraries, and exclude the
8749           # DT_RUNPATH tag from executables and libraries.  But doing so
8750           # requires that you compile everything twice, which is a pain.
8751           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8752             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8753             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8754             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8755           else
8756             ld_shlibs=no
8757           fi
8758         ;;
8759       esac
8760       ;;
8761
8762     sunos4*)
8763       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8764       wlarc=
8765       hardcode_direct=yes
8766       hardcode_shlibpath_var=no
8767       ;;
8768
8769     *)
8770       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8771         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8772         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8773       else
8774         ld_shlibs=no
8775       fi
8776       ;;
8777     esac
8778
8779     if test "$ld_shlibs" = no; then
8780       runpath_var=
8781       hardcode_libdir_flag_spec=
8782       export_dynamic_flag_spec=
8783       whole_archive_flag_spec=
8784     fi
8785   else
8786     # PORTME fill in a description of your system's linker (not GNU ld)
8787     case $host_os in
8788     aix3*)
8789       allow_undefined_flag=unsupported
8790       always_export_symbols=yes
8791       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'
8792       # Note: this linker hardcodes the directories in LIBPATH if there
8793       # are no directories specified by -L.
8794       hardcode_minus_L=yes
8795       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8796         # Neither direct hardcoding nor static linking is supported with a
8797         # broken collect2.
8798         hardcode_direct=unsupported
8799       fi
8800       ;;
8801
8802     aix[4-9]*)
8803       if test "$host_cpu" = ia64; then
8804         # On IA64, the linker does run time linking by default, so we don't
8805         # have to do anything special.
8806         aix_use_runtimelinking=no
8807         exp_sym_flag='-Bexport'
8808         no_entry_flag=""
8809       else
8810         # If we're using GNU nm, then we don't want the "-C" option.
8811         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8812         # Also, AIX nm treats weak defined symbols like other global
8813         # defined symbols, whereas GNU nm marks them as "W".
8814         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8815           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'
8816         else
8817           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'
8818         fi
8819         aix_use_runtimelinking=no
8820
8821         # Test if we are trying to use run time linking or normal
8822         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8823         # need to do runtime linking.
8824         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8825           for ld_flag in $LDFLAGS; do
8826           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8827             aix_use_runtimelinking=yes
8828             break
8829           fi
8830           done
8831           ;;
8832         esac
8833
8834         exp_sym_flag='-bexport'
8835         no_entry_flag='-bnoentry'
8836       fi
8837
8838       # When large executables or shared objects are built, AIX ld can
8839       # have problems creating the table of contents.  If linking a library
8840       # or program results in "error TOC overflow" add -mminimal-toc to
8841       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8842       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8843
8844       archive_cmds=''
8845       hardcode_direct=yes
8846       hardcode_direct_absolute=yes
8847       hardcode_libdir_separator=':'
8848       link_all_deplibs=yes
8849       file_list_spec='${wl}-f,'
8850
8851       if test "$GCC" = yes; then
8852         case $host_os in aix4.[012]|aix4.[012].*)
8853         # We only want to do this on AIX 4.2 and lower, the check
8854         # below for broken collect2 doesn't work under 4.3+
8855           collect2name=`${CC} -print-prog-name=collect2`
8856           if test -f "$collect2name" &&
8857            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8858           then
8859           # We have reworked collect2
8860           :
8861           else
8862           # We have old collect2
8863           hardcode_direct=unsupported
8864           # It fails to find uninstalled libraries when the uninstalled
8865           # path is not listed in the libpath.  Setting hardcode_minus_L
8866           # to unsupported forces relinking
8867           hardcode_minus_L=yes
8868           hardcode_libdir_flag_spec='-L$libdir'
8869           hardcode_libdir_separator=
8870           fi
8871           ;;
8872         esac
8873         shared_flag='-shared'
8874         if test "$aix_use_runtimelinking" = yes; then
8875           shared_flag="$shared_flag "'${wl}-G'
8876         fi
8877       else
8878         # not using gcc
8879         if test "$host_cpu" = ia64; then
8880         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8881         # chokes on -Wl,-G. The following line is correct:
8882           shared_flag='-G'
8883         else
8884           if test "$aix_use_runtimelinking" = yes; then
8885             shared_flag='${wl}-G'
8886           else
8887             shared_flag='${wl}-bM:SRE'
8888           fi
8889         fi
8890       fi
8891
8892       export_dynamic_flag_spec='${wl}-bexpall'
8893       # It seems that -bexpall does not export symbols beginning with
8894       # underscore (_), so it is better to generate a list of symbols to export.
8895       always_export_symbols=yes
8896       if test "$aix_use_runtimelinking" = yes; then
8897         # Warning - without using the other runtime loading flags (-brtl),
8898         # -berok will link without error, but may produce a broken library.
8899         allow_undefined_flag='-berok'
8900         # Determine the default libpath from the value encoded in an
8901         # empty executable.
8902         if test "${lt_cv_aix_libpath+set}" = set; then
8903   aix_libpath=$lt_cv_aix_libpath
8904 else
8905   if ${lt_cv_aix_libpath_+:} false; then :
8906   $as_echo_n "(cached) " >&6
8907 else
8908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h.  */
8910
8911 int
8912 main ()
8913 {
8914
8915   ;
8916   return 0;
8917 }
8918 _ACEOF
8919 if ac_fn_c_try_link "$LINENO"; then :
8920
8921   lt_aix_libpath_sed='
8922       /Import File Strings/,/^$/ {
8923           /^0/ {
8924               s/^0  *\([^ ]*\) *$/\1/
8925               p
8926           }
8927       }'
8928   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8929   # Check for a 64-bit object if we didn't find anything.
8930   if test -z "$lt_cv_aix_libpath_"; then
8931     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8932   fi
8933 fi
8934 rm -f core conftest.err conftest.$ac_objext \
8935     conftest$ac_exeext conftest.$ac_ext
8936   if test -z "$lt_cv_aix_libpath_"; then
8937     lt_cv_aix_libpath_="/usr/lib:/lib"
8938   fi
8939
8940 fi
8941
8942   aix_libpath=$lt_cv_aix_libpath_
8943 fi
8944
8945         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8946         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"
8947       else
8948         if test "$host_cpu" = ia64; then
8949           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8950           allow_undefined_flag="-z nodefs"
8951           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"
8952         else
8953          # Determine the default libpath from the value encoded in an
8954          # empty executable.
8955          if test "${lt_cv_aix_libpath+set}" = set; then
8956   aix_libpath=$lt_cv_aix_libpath
8957 else
8958   if ${lt_cv_aix_libpath_+:} false; then :
8959   $as_echo_n "(cached) " >&6
8960 else
8961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h.  */
8963
8964 int
8965 main ()
8966 {
8967
8968   ;
8969   return 0;
8970 }
8971 _ACEOF
8972 if ac_fn_c_try_link "$LINENO"; then :
8973
8974   lt_aix_libpath_sed='
8975       /Import File Strings/,/^$/ {
8976           /^0/ {
8977               s/^0  *\([^ ]*\) *$/\1/
8978               p
8979           }
8980       }'
8981   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8982   # Check for a 64-bit object if we didn't find anything.
8983   if test -z "$lt_cv_aix_libpath_"; then
8984     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8985   fi
8986 fi
8987 rm -f core conftest.err conftest.$ac_objext \
8988     conftest$ac_exeext conftest.$ac_ext
8989   if test -z "$lt_cv_aix_libpath_"; then
8990     lt_cv_aix_libpath_="/usr/lib:/lib"
8991   fi
8992
8993 fi
8994
8995   aix_libpath=$lt_cv_aix_libpath_
8996 fi
8997
8998          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8999           # Warning - without using the other run time loading flags,
9000           # -berok will link without error, but may produce a broken library.
9001           no_undefined_flag=' ${wl}-bernotok'
9002           allow_undefined_flag=' ${wl}-berok'
9003           if test "$with_gnu_ld" = yes; then
9004             # We only use this code for GNU lds that support --whole-archive.
9005             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9006           else
9007             # Exported symbols can be pulled into shared objects from archives
9008             whole_archive_flag_spec='$convenience'
9009           fi
9010           archive_cmds_need_lc=yes
9011           # This is similar to how AIX traditionally builds its shared libraries.
9012           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'
9013         fi
9014       fi
9015       ;;
9016
9017     amigaos*)
9018       case $host_cpu in
9019       powerpc)
9020             # see comment about AmigaOS4 .so support
9021             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9022             archive_expsym_cmds=''
9023         ;;
9024       m68k)
9025             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)'
9026             hardcode_libdir_flag_spec='-L$libdir'
9027             hardcode_minus_L=yes
9028         ;;
9029       esac
9030       ;;
9031
9032     bsdi[45]*)
9033       export_dynamic_flag_spec=-rdynamic
9034       ;;
9035
9036     cygwin* | mingw* | pw32* | cegcc*)
9037       # When not using gcc, we currently assume that we are using
9038       # Microsoft Visual C++.
9039       # hardcode_libdir_flag_spec is actually meaningless, as there is
9040       # no search path for DLLs.
9041       case $cc_basename in
9042       cl*)
9043         # Native MSVC
9044         hardcode_libdir_flag_spec=' '
9045         allow_undefined_flag=unsupported
9046         always_export_symbols=yes
9047         file_list_spec='@'
9048         # Tell ltmain to make .lib files, not .a files.
9049         libext=lib
9050         # Tell ltmain to make .dll files, not .so files.
9051         shrext_cmds=".dll"
9052         # FIXME: Setting linknames here is a bad hack.
9053         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9054         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9055             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9056           else
9057             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9058           fi~
9059           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9060           linknames='
9061         # The linker will not automatically build a static lib if we build a DLL.
9062         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9063         enable_shared_with_static_runtimes=yes
9064         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9065         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9066         # Don't use ranlib
9067         old_postinstall_cmds='chmod 644 $oldlib'
9068         postlink_cmds='lt_outputfile="@OUTPUT@"~
9069           lt_tool_outputfile="@TOOL_OUTPUT@"~
9070           case $lt_outputfile in
9071             *.exe|*.EXE) ;;
9072             *)
9073               lt_outputfile="$lt_outputfile.exe"
9074               lt_tool_outputfile="$lt_tool_outputfile.exe"
9075               ;;
9076           esac~
9077           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9078             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9079             $RM "$lt_outputfile.manifest";
9080           fi'
9081         ;;
9082       *)
9083         # Assume MSVC wrapper
9084         hardcode_libdir_flag_spec=' '
9085         allow_undefined_flag=unsupported
9086         # Tell ltmain to make .lib files, not .a files.
9087         libext=lib
9088         # Tell ltmain to make .dll files, not .so files.
9089         shrext_cmds=".dll"
9090         # FIXME: Setting linknames here is a bad hack.
9091         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9092         # The linker will automatically build a .lib file if we build a DLL.
9093         old_archive_from_new_cmds='true'
9094         # FIXME: Should let the user specify the lib program.
9095         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9096         enable_shared_with_static_runtimes=yes
9097         ;;
9098       esac
9099       ;;
9100
9101     darwin* | rhapsody*)
9102
9103
9104   archive_cmds_need_lc=no
9105   hardcode_direct=no
9106   hardcode_automatic=yes
9107   hardcode_shlibpath_var=unsupported
9108   if test "$lt_cv_ld_force_load" = "yes"; then
9109     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\"`'
9110
9111   else
9112     whole_archive_flag_spec=''
9113   fi
9114   link_all_deplibs=yes
9115   allow_undefined_flag="$_lt_dar_allow_undefined"
9116   case $cc_basename in
9117      ifort*) _lt_dar_can_shared=yes ;;
9118      *) _lt_dar_can_shared=$GCC ;;
9119   esac
9120   if test "$_lt_dar_can_shared" = "yes"; then
9121     output_verbose_link_cmd=func_echo_all
9122     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9123     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9124     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}"
9125     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}"
9126
9127   else
9128   ld_shlibs=no
9129   fi
9130
9131       ;;
9132
9133     dgux*)
9134       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9135       hardcode_libdir_flag_spec='-L$libdir'
9136       hardcode_shlibpath_var=no
9137       ;;
9138
9139     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9140     # support.  Future versions do this automatically, but an explicit c++rt0.o
9141     # does not break anything, and helps significantly (at the cost of a little
9142     # extra space).
9143     freebsd2.2*)
9144       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9145       hardcode_libdir_flag_spec='-R$libdir'
9146       hardcode_direct=yes
9147       hardcode_shlibpath_var=no
9148       ;;
9149
9150     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9151     freebsd2.*)
9152       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9153       hardcode_direct=yes
9154       hardcode_minus_L=yes
9155       hardcode_shlibpath_var=no
9156       ;;
9157
9158     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9159     freebsd* | dragonfly*)
9160       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9161       hardcode_libdir_flag_spec='-R$libdir'
9162       hardcode_direct=yes
9163       hardcode_shlibpath_var=no
9164       ;;
9165
9166     hpux9*)
9167       if test "$GCC" = yes; then
9168         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'
9169       else
9170         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'
9171       fi
9172       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9173       hardcode_libdir_separator=:
9174       hardcode_direct=yes
9175
9176       # hardcode_minus_L: Not really in the search PATH,
9177       # but as the default location of the library.
9178       hardcode_minus_L=yes
9179       export_dynamic_flag_spec='${wl}-E'
9180       ;;
9181
9182     hpux10*)
9183       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9184         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9185       else
9186         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9187       fi
9188       if test "$with_gnu_ld" = no; then
9189         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9190         hardcode_libdir_separator=:
9191         hardcode_direct=yes
9192         hardcode_direct_absolute=yes
9193         export_dynamic_flag_spec='${wl}-E'
9194         # hardcode_minus_L: Not really in the search PATH,
9195         # but as the default location of the library.
9196         hardcode_minus_L=yes
9197       fi
9198       ;;
9199
9200     hpux11*)
9201       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9202         case $host_cpu in
9203         hppa*64*)
9204           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9205           ;;
9206         ia64*)
9207           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9208           ;;
9209         *)
9210           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9211           ;;
9212         esac
9213       else
9214         case $host_cpu in
9215         hppa*64*)
9216           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9217           ;;
9218         ia64*)
9219           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9220           ;;
9221         *)
9222
9223           # Older versions of the 11.00 compiler do not understand -b yet
9224           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9225           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9226 $as_echo_n "checking if $CC understands -b... " >&6; }
9227 if ${lt_cv_prog_compiler__b+:} false; then :
9228   $as_echo_n "(cached) " >&6
9229 else
9230   lt_cv_prog_compiler__b=no
9231    save_LDFLAGS="$LDFLAGS"
9232    LDFLAGS="$LDFLAGS -b"
9233    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9234    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9235      # The linker can only warn and ignore the option if not recognized
9236      # So say no if there are warnings
9237      if test -s conftest.err; then
9238        # Append any errors to the config.log.
9239        cat conftest.err 1>&5
9240        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9241        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9242        if diff conftest.exp conftest.er2 >/dev/null; then
9243          lt_cv_prog_compiler__b=yes
9244        fi
9245      else
9246        lt_cv_prog_compiler__b=yes
9247      fi
9248    fi
9249    $RM -r conftest*
9250    LDFLAGS="$save_LDFLAGS"
9251
9252 fi
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9254 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9255
9256 if test x"$lt_cv_prog_compiler__b" = xyes; then
9257     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9258 else
9259     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9260 fi
9261
9262           ;;
9263         esac
9264       fi
9265       if test "$with_gnu_ld" = no; then
9266         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9267         hardcode_libdir_separator=:
9268
9269         case $host_cpu in
9270         hppa*64*|ia64*)
9271           hardcode_direct=no
9272           hardcode_shlibpath_var=no
9273           ;;
9274         *)
9275           hardcode_direct=yes
9276           hardcode_direct_absolute=yes
9277           export_dynamic_flag_spec='${wl}-E'
9278
9279           # hardcode_minus_L: Not really in the search PATH,
9280           # but as the default location of the library.
9281           hardcode_minus_L=yes
9282           ;;
9283         esac
9284       fi
9285       ;;
9286
9287     irix5* | irix6* | nonstopux*)
9288       if test "$GCC" = yes; then
9289         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'
9290         # Try to use the -exported_symbol ld option, if it does not
9291         # work, assume that -exports_file does not work either and
9292         # implicitly export all symbols.
9293         # This should be the same for all languages, so no per-tag cache variable.
9294         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9295 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9296 if ${lt_cv_irix_exported_symbol+:} false; then :
9297   $as_echo_n "(cached) " >&6
9298 else
9299   save_LDFLAGS="$LDFLAGS"
9300            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9301            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h.  */
9303 int foo (void) { return 0; }
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306   lt_cv_irix_exported_symbol=yes
9307 else
9308   lt_cv_irix_exported_symbol=no
9309 fi
9310 rm -f core conftest.err conftest.$ac_objext \
9311     conftest$ac_exeext conftest.$ac_ext
9312            LDFLAGS="$save_LDFLAGS"
9313 fi
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9315 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9316         if test "$lt_cv_irix_exported_symbol" = yes; then
9317           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'
9318         fi
9319       else
9320         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'
9321         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'
9322       fi
9323       archive_cmds_need_lc='no'
9324       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9325       hardcode_libdir_separator=:
9326       inherit_rpath=yes
9327       link_all_deplibs=yes
9328       ;;
9329
9330     netbsd*)
9331       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9332         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9333       else
9334         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9335       fi
9336       hardcode_libdir_flag_spec='-R$libdir'
9337       hardcode_direct=yes
9338       hardcode_shlibpath_var=no
9339       ;;
9340
9341     newsos6)
9342       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9343       hardcode_direct=yes
9344       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345       hardcode_libdir_separator=:
9346       hardcode_shlibpath_var=no
9347       ;;
9348
9349     *nto* | *qnx*)
9350       ;;
9351
9352     openbsd*)
9353       if test -f /usr/libexec/ld.so; then
9354         hardcode_direct=yes
9355         hardcode_shlibpath_var=no
9356         hardcode_direct_absolute=yes
9357         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9358           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9359           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9360           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9361           export_dynamic_flag_spec='${wl}-E'
9362         else
9363           case $host_os in
9364            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9365              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9366              hardcode_libdir_flag_spec='-R$libdir'
9367              ;;
9368            *)
9369              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9370              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9371              ;;
9372           esac
9373         fi
9374       else
9375         ld_shlibs=no
9376       fi
9377       ;;
9378
9379     os2*)
9380       hardcode_libdir_flag_spec='-L$libdir'
9381       hardcode_minus_L=yes
9382       allow_undefined_flag=unsupported
9383       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'
9384       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9385       ;;
9386
9387     osf3*)
9388       if test "$GCC" = yes; then
9389         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9390         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'
9391       else
9392         allow_undefined_flag=' -expect_unresolved \*'
9393         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'
9394       fi
9395       archive_cmds_need_lc='no'
9396       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397       hardcode_libdir_separator=:
9398       ;;
9399
9400     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9401       if test "$GCC" = yes; then
9402         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9403         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'
9404         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9405       else
9406         allow_undefined_flag=' -expect_unresolved \*'
9407         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'
9408         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~
9409         $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'
9410
9411         # Both c and cxx compiler support -rpath directly
9412         hardcode_libdir_flag_spec='-rpath $libdir'
9413       fi
9414       archive_cmds_need_lc='no'
9415       hardcode_libdir_separator=:
9416       ;;
9417
9418     solaris*)
9419       no_undefined_flag=' -z defs'
9420       if test "$GCC" = yes; then
9421         wlarc='${wl}'
9422         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9423         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9424           $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'
9425       else
9426         case `$CC -V 2>&1` in
9427         *"Compilers 5.0"*)
9428           wlarc=''
9429           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9430           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9431           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9432           ;;
9433         *)
9434           wlarc='${wl}'
9435           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9436           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9437           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9438           ;;
9439         esac
9440       fi
9441       hardcode_libdir_flag_spec='-R$libdir'
9442       hardcode_shlibpath_var=no
9443       case $host_os in
9444       solaris2.[0-5] | solaris2.[0-5].*) ;;
9445       *)
9446         # The compiler driver will combine and reorder linker options,
9447         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9448         # but is careful enough not to reorder.
9449         # Supported since Solaris 2.6 (maybe 2.5.1?)
9450         if test "$GCC" = yes; then
9451           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9452         else
9453           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9454         fi
9455         ;;
9456       esac
9457       link_all_deplibs=yes
9458       ;;
9459
9460     sunos4*)
9461       if test "x$host_vendor" = xsequent; then
9462         # Use $CC to link under sequent, because it throws in some extra .o
9463         # files that make .init and .fini sections work.
9464         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9465       else
9466         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9467       fi
9468       hardcode_libdir_flag_spec='-L$libdir'
9469       hardcode_direct=yes
9470       hardcode_minus_L=yes
9471       hardcode_shlibpath_var=no
9472       ;;
9473
9474     sysv4)
9475       case $host_vendor in
9476         sni)
9477           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9478           hardcode_direct=yes # is this really true???
9479         ;;
9480         siemens)
9481           ## LD is ld it makes a PLAMLIB
9482           ## CC just makes a GrossModule.
9483           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9484           reload_cmds='$CC -r -o $output$reload_objs'
9485           hardcode_direct=no
9486         ;;
9487         motorola)
9488           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9489           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9490         ;;
9491       esac
9492       runpath_var='LD_RUN_PATH'
9493       hardcode_shlibpath_var=no
9494       ;;
9495
9496     sysv4.3*)
9497       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9498       hardcode_shlibpath_var=no
9499       export_dynamic_flag_spec='-Bexport'
9500       ;;
9501
9502     sysv4*MP*)
9503       if test -d /usr/nec; then
9504         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9505         hardcode_shlibpath_var=no
9506         runpath_var=LD_RUN_PATH
9507         hardcode_runpath_var=yes
9508         ld_shlibs=yes
9509       fi
9510       ;;
9511
9512     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9513       no_undefined_flag='${wl}-z,text'
9514       archive_cmds_need_lc=no
9515       hardcode_shlibpath_var=no
9516       runpath_var='LD_RUN_PATH'
9517
9518       if test "$GCC" = yes; then
9519         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9520         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9521       else
9522         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9523         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9524       fi
9525       ;;
9526
9527     sysv5* | sco3.2v5* | sco5v6*)
9528       # Note: We can NOT use -z defs as we might desire, because we do not
9529       # link with -lc, and that would cause any symbols used from libc to
9530       # always be unresolved, which means just about no library would
9531       # ever link correctly.  If we're not using GNU ld we use -z text
9532       # though, which does catch some bad symbols but isn't as heavy-handed
9533       # as -z defs.
9534       no_undefined_flag='${wl}-z,text'
9535       allow_undefined_flag='${wl}-z,nodefs'
9536       archive_cmds_need_lc=no
9537       hardcode_shlibpath_var=no
9538       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9539       hardcode_libdir_separator=':'
9540       link_all_deplibs=yes
9541       export_dynamic_flag_spec='${wl}-Bexport'
9542       runpath_var='LD_RUN_PATH'
9543
9544       if test "$GCC" = yes; then
9545         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9546         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9547       else
9548         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9549         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9550       fi
9551       ;;
9552
9553     uts4*)
9554       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9555       hardcode_libdir_flag_spec='-L$libdir'
9556       hardcode_shlibpath_var=no
9557       ;;
9558
9559     *)
9560       ld_shlibs=no
9561       ;;
9562     esac
9563
9564     if test x$host_vendor = xsni; then
9565       case $host in
9566       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9567         export_dynamic_flag_spec='${wl}-Blargedynsym'
9568         ;;
9569       esac
9570     fi
9571   fi
9572
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9574 $as_echo "$ld_shlibs" >&6; }
9575 test "$ld_shlibs" = no && can_build_shared=no
9576
9577 with_gnu_ld=$with_gnu_ld
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593 #
9594 # Do we need to explicitly link libc?
9595 #
9596 case "x$archive_cmds_need_lc" in
9597 x|xyes)
9598   # Assume -lc should be added
9599   archive_cmds_need_lc=yes
9600
9601   if test "$enable_shared" = yes && test "$GCC" = yes; then
9602     case $archive_cmds in
9603     *'~'*)
9604       # FIXME: we may have to deal with multi-command sequences.
9605       ;;
9606     '$CC '*)
9607       # Test whether the compiler implicitly links with -lc since on some
9608       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9609       # to ld, don't add -lc before -lgcc.
9610       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9611 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9612 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9613   $as_echo_n "(cached) " >&6
9614 else
9615   $RM conftest*
9616         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9617
9618         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9619   (eval $ac_compile) 2>&5
9620   ac_status=$?
9621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9622   test $ac_status = 0; } 2>conftest.err; then
9623           soname=conftest
9624           lib=conftest
9625           libobjs=conftest.$ac_objext
9626           deplibs=
9627           wl=$lt_prog_compiler_wl
9628           pic_flag=$lt_prog_compiler_pic
9629           compiler_flags=-v
9630           linker_flags=-v
9631           verstring=
9632           output_objdir=.
9633           libname=conftest
9634           lt_save_allow_undefined_flag=$allow_undefined_flag
9635           allow_undefined_flag=
9636           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9637   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9638   ac_status=$?
9639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9640   test $ac_status = 0; }
9641           then
9642             lt_cv_archive_cmds_need_lc=no
9643           else
9644             lt_cv_archive_cmds_need_lc=yes
9645           fi
9646           allow_undefined_flag=$lt_save_allow_undefined_flag
9647         else
9648           cat conftest.err 1>&5
9649         fi
9650         $RM conftest*
9651
9652 fi
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9654 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9655       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9656       ;;
9657     esac
9658   fi
9659   ;;
9660 esac
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9814 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9815
9816 if test "$GCC" = yes; then
9817   case $host_os in
9818     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9819     *) lt_awk_arg="/^libraries:/" ;;
9820   esac
9821   case $host_os in
9822     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9823     *) lt_sed_strip_eq="s,=/,/,g" ;;
9824   esac
9825   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9826   case $lt_search_path_spec in
9827   *\;*)
9828     # if the path contains ";" then we assume it to be the separator
9829     # otherwise default to the standard path separator (i.e. ":") - it is
9830     # assumed that no part of a normal pathname contains ";" but that should
9831     # okay in the real world where ";" in dirpaths is itself problematic.
9832     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9833     ;;
9834   *)
9835     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9836     ;;
9837   esac
9838   # Ok, now we have the path, separated by spaces, we can step through it
9839   # and add multilib dir if necessary.
9840   lt_tmp_lt_search_path_spec=
9841   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9842   for lt_sys_path in $lt_search_path_spec; do
9843     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9844       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9845     else
9846       test -d "$lt_sys_path" && \
9847         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9848     fi
9849   done
9850   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9851 BEGIN {RS=" "; FS="/|\n";} {
9852   lt_foo="";
9853   lt_count=0;
9854   for (lt_i = NF; lt_i > 0; lt_i--) {
9855     if ($lt_i != "" && $lt_i != ".") {
9856       if ($lt_i == "..") {
9857         lt_count++;
9858       } else {
9859         if (lt_count == 0) {
9860           lt_foo="/" $lt_i lt_foo;
9861         } else {
9862           lt_count--;
9863         }
9864       }
9865     }
9866   }
9867   if (lt_foo != "") { lt_freq[lt_foo]++; }
9868   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9869 }'`
9870   # AWK program above erroneously prepends '/' to C:/dos/paths
9871   # for these hosts.
9872   case $host_os in
9873     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9874       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9875   esac
9876   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9877 else
9878   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9879 fi
9880 library_names_spec=
9881 libname_spec='lib$name'
9882 soname_spec=
9883 shrext_cmds=".so"
9884 postinstall_cmds=
9885 postuninstall_cmds=
9886 finish_cmds=
9887 finish_eval=
9888 shlibpath_var=
9889 shlibpath_overrides_runpath=unknown
9890 version_type=none
9891 dynamic_linker="$host_os ld.so"
9892 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9893 need_lib_prefix=unknown
9894 hardcode_into_libs=no
9895
9896 # when you set need_version to no, make sure it does not cause -set_version
9897 # flags to be left without arguments
9898 need_version=unknown
9899
9900 case $host_os in
9901 aix3*)
9902   version_type=linux # correct to gnu/linux during the next big refactor
9903   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9904   shlibpath_var=LIBPATH
9905
9906   # AIX 3 has no versioning support, so we append a major version to the name.
9907   soname_spec='${libname}${release}${shared_ext}$major'
9908   ;;
9909
9910 aix[4-9]*)
9911   version_type=linux # correct to gnu/linux during the next big refactor
9912   need_lib_prefix=no
9913   need_version=no
9914   hardcode_into_libs=yes
9915   if test "$host_cpu" = ia64; then
9916     # AIX 5 supports IA64
9917     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9918     shlibpath_var=LD_LIBRARY_PATH
9919   else
9920     # With GCC up to 2.95.x, collect2 would create an import file
9921     # for dependence libraries.  The import file would start with
9922     # the line `#! .'.  This would cause the generated library to
9923     # depend on `.', always an invalid library.  This was fixed in
9924     # development snapshots of GCC prior to 3.0.
9925     case $host_os in
9926       aix4 | aix4.[01] | aix4.[01].*)
9927       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9928            echo ' yes '
9929            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9930         :
9931       else
9932         can_build_shared=no
9933       fi
9934       ;;
9935     esac
9936     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9937     # soname into executable. Probably we can add versioning support to
9938     # collect2, so additional links can be useful in future.
9939     if test "$aix_use_runtimelinking" = yes; then
9940       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9941       # instead of lib<name>.a to let people know that these are not
9942       # typical AIX shared libraries.
9943       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9944     else
9945       # We preserve .a as extension for shared libraries through AIX4.2
9946       # and later when we are not doing run time linking.
9947       library_names_spec='${libname}${release}.a $libname.a'
9948       soname_spec='${libname}${release}${shared_ext}$major'
9949     fi
9950     shlibpath_var=LIBPATH
9951   fi
9952   ;;
9953
9954 amigaos*)
9955   case $host_cpu in
9956   powerpc)
9957     # Since July 2007 AmigaOS4 officially supports .so libraries.
9958     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9959     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9960     ;;
9961   m68k)
9962     library_names_spec='$libname.ixlibrary $libname.a'
9963     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9964     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'
9965     ;;
9966   esac
9967   ;;
9968
9969 beos*)
9970   library_names_spec='${libname}${shared_ext}'
9971   dynamic_linker="$host_os ld.so"
9972   shlibpath_var=LIBRARY_PATH
9973   ;;
9974
9975 bsdi[45]*)
9976   version_type=linux # correct to gnu/linux during the next big refactor
9977   need_version=no
9978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9979   soname_spec='${libname}${release}${shared_ext}$major'
9980   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9981   shlibpath_var=LD_LIBRARY_PATH
9982   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9983   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9984   # the default ld.so.conf also contains /usr/contrib/lib and
9985   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9986   # libtool to hard-code these into programs
9987   ;;
9988
9989 cygwin* | mingw* | pw32* | cegcc*)
9990   version_type=windows
9991   shrext_cmds=".dll"
9992   need_version=no
9993   need_lib_prefix=no
9994
9995   case $GCC,$cc_basename in
9996   yes,*)
9997     # gcc
9998     library_names_spec='$libname.dll.a'
9999     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10000     postinstall_cmds='base_file=`basename \${file}`~
10001       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10002       dldir=$destdir/`dirname \$dlpath`~
10003       test -d \$dldir || mkdir -p \$dldir~
10004       $install_prog $dir/$dlname \$dldir/$dlname~
10005       chmod a+x \$dldir/$dlname~
10006       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10007         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10008       fi'
10009     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10010       dlpath=$dir/\$dldll~
10011        $RM \$dlpath'
10012     shlibpath_overrides_runpath=yes
10013
10014     case $host_os in
10015     cygwin*)
10016       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10017       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10018
10019       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10020       ;;
10021     mingw* | cegcc*)
10022       # MinGW DLLs use traditional 'lib' prefix
10023       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10024       ;;
10025     pw32*)
10026       # pw32 DLLs use 'pw' prefix rather than 'lib'
10027       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10028       ;;
10029     esac
10030     dynamic_linker='Win32 ld.exe'
10031     ;;
10032
10033   *,cl*)
10034     # Native MSVC
10035     libname_spec='$name'
10036     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10037     library_names_spec='${libname}.dll.lib'
10038
10039     case $build_os in
10040     mingw*)
10041       sys_lib_search_path_spec=
10042       lt_save_ifs=$IFS
10043       IFS=';'
10044       for lt_path in $LIB
10045       do
10046         IFS=$lt_save_ifs
10047         # Let DOS variable expansion print the short 8.3 style file name.
10048         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10049         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10050       done
10051       IFS=$lt_save_ifs
10052       # Convert to MSYS style.
10053       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10054       ;;
10055     cygwin*)
10056       # Convert to unix form, then to dos form, then back to unix form
10057       # but this time dos style (no spaces!) so that the unix form looks
10058       # like /cygdrive/c/PROGRA~1:/cygdr...
10059       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10060       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10061       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10062       ;;
10063     *)
10064       sys_lib_search_path_spec="$LIB"
10065       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10066         # It is most probably a Windows format PATH.
10067         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10068       else
10069         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10070       fi
10071       # FIXME: find the short name or the path components, as spaces are
10072       # common. (e.g. "Program Files" -> "PROGRA~1")
10073       ;;
10074     esac
10075
10076     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10077     postinstall_cmds='base_file=`basename \${file}`~
10078       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10079       dldir=$destdir/`dirname \$dlpath`~
10080       test -d \$dldir || mkdir -p \$dldir~
10081       $install_prog $dir/$dlname \$dldir/$dlname'
10082     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10083       dlpath=$dir/\$dldll~
10084        $RM \$dlpath'
10085     shlibpath_overrides_runpath=yes
10086     dynamic_linker='Win32 link.exe'
10087     ;;
10088
10089   *)
10090     # Assume MSVC wrapper
10091     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10092     dynamic_linker='Win32 ld.exe'
10093     ;;
10094   esac
10095   # FIXME: first we should search . and the directory the executable is in
10096   shlibpath_var=PATH
10097   ;;
10098
10099 darwin* | rhapsody*)
10100   dynamic_linker="$host_os dyld"
10101   version_type=darwin
10102   need_lib_prefix=no
10103   need_version=no
10104   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10105   soname_spec='${libname}${release}${major}$shared_ext'
10106   shlibpath_overrides_runpath=yes
10107   shlibpath_var=DYLD_LIBRARY_PATH
10108   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10109
10110   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10111   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10112   ;;
10113
10114 dgux*)
10115   version_type=linux # correct to gnu/linux during the next big refactor
10116   need_lib_prefix=no
10117   need_version=no
10118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10119   soname_spec='${libname}${release}${shared_ext}$major'
10120   shlibpath_var=LD_LIBRARY_PATH
10121   ;;
10122
10123 freebsd* | dragonfly*)
10124   # DragonFly does not have aout.  When/if they implement a new
10125   # versioning mechanism, adjust this.
10126   if test -x /usr/bin/objformat; then
10127     objformat=`/usr/bin/objformat`
10128   else
10129     case $host_os in
10130     freebsd[23].*) objformat=aout ;;
10131     *) objformat=elf ;;
10132     esac
10133   fi
10134   version_type=freebsd-$objformat
10135   case $version_type in
10136     freebsd-elf*)
10137       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10138       need_version=no
10139       need_lib_prefix=no
10140       ;;
10141     freebsd-*)
10142       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10143       need_version=yes
10144       ;;
10145   esac
10146   shlibpath_var=LD_LIBRARY_PATH
10147   case $host_os in
10148   freebsd2.*)
10149     shlibpath_overrides_runpath=yes
10150     ;;
10151   freebsd3.[01]* | freebsdelf3.[01]*)
10152     shlibpath_overrides_runpath=yes
10153     hardcode_into_libs=yes
10154     ;;
10155   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10156   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10157     shlibpath_overrides_runpath=no
10158     hardcode_into_libs=yes
10159     ;;
10160   *) # from 4.6 on, and DragonFly
10161     shlibpath_overrides_runpath=yes
10162     hardcode_into_libs=yes
10163     ;;
10164   esac
10165   ;;
10166
10167 gnu*)
10168   version_type=linux # correct to gnu/linux during the next big refactor
10169   need_lib_prefix=no
10170   need_version=no
10171   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10172   soname_spec='${libname}${release}${shared_ext}$major'
10173   shlibpath_var=LD_LIBRARY_PATH
10174   shlibpath_overrides_runpath=no
10175   hardcode_into_libs=yes
10176   ;;
10177
10178 haiku*)
10179   version_type=linux # correct to gnu/linux during the next big refactor
10180   need_lib_prefix=no
10181   need_version=no
10182   dynamic_linker="$host_os runtime_loader"
10183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10184   soname_spec='${libname}${release}${shared_ext}$major'
10185   shlibpath_var=LIBRARY_PATH
10186   shlibpath_overrides_runpath=yes
10187   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10188   hardcode_into_libs=yes
10189   ;;
10190
10191 hpux9* | hpux10* | hpux11*)
10192   # Give a soname corresponding to the major version so that dld.sl refuses to
10193   # link against other versions.
10194   version_type=sunos
10195   need_lib_prefix=no
10196   need_version=no
10197   case $host_cpu in
10198   ia64*)
10199     shrext_cmds='.so'
10200     hardcode_into_libs=yes
10201     dynamic_linker="$host_os dld.so"
10202     shlibpath_var=LD_LIBRARY_PATH
10203     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10204     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10205     soname_spec='${libname}${release}${shared_ext}$major'
10206     if test "X$HPUX_IA64_MODE" = X32; then
10207       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10208     else
10209       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10210     fi
10211     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10212     ;;
10213   hppa*64*)
10214     shrext_cmds='.sl'
10215     hardcode_into_libs=yes
10216     dynamic_linker="$host_os dld.sl"
10217     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10218     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10219     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10220     soname_spec='${libname}${release}${shared_ext}$major'
10221     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10222     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10223     ;;
10224   *)
10225     shrext_cmds='.sl'
10226     dynamic_linker="$host_os dld.sl"
10227     shlibpath_var=SHLIB_PATH
10228     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10229     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10230     soname_spec='${libname}${release}${shared_ext}$major'
10231     ;;
10232   esac
10233   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10234   postinstall_cmds='chmod 555 $lib'
10235   # or fails outright, so override atomically:
10236   install_override_mode=555
10237   ;;
10238
10239 interix[3-9]*)
10240   version_type=linux # correct to gnu/linux during the next big refactor
10241   need_lib_prefix=no
10242   need_version=no
10243   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10244   soname_spec='${libname}${release}${shared_ext}$major'
10245   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10246   shlibpath_var=LD_LIBRARY_PATH
10247   shlibpath_overrides_runpath=no
10248   hardcode_into_libs=yes
10249   ;;
10250
10251 irix5* | irix6* | nonstopux*)
10252   case $host_os in
10253     nonstopux*) version_type=nonstopux ;;
10254     *)
10255         if test "$lt_cv_prog_gnu_ld" = yes; then
10256                 version_type=linux # correct to gnu/linux during the next big refactor
10257         else
10258                 version_type=irix
10259         fi ;;
10260   esac
10261   need_lib_prefix=no
10262   need_version=no
10263   soname_spec='${libname}${release}${shared_ext}$major'
10264   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10265   case $host_os in
10266   irix5* | nonstopux*)
10267     libsuff= shlibsuff=
10268     ;;
10269   *)
10270     case $LD in # libtool.m4 will add one of these switches to LD
10271     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10272       libsuff= shlibsuff= libmagic=32-bit;;
10273     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10274       libsuff=32 shlibsuff=N32 libmagic=N32;;
10275     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10276       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10277     *) libsuff= shlibsuff= libmagic=never-match;;
10278     esac
10279     ;;
10280   esac
10281   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10282   shlibpath_overrides_runpath=no
10283   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10284   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10285   hardcode_into_libs=yes
10286   ;;
10287
10288 # No shared lib support for Linux oldld, aout, or coff.
10289 linux*oldld* | linux*aout* | linux*coff*)
10290   dynamic_linker=no
10291   ;;
10292
10293 # This must be glibc/ELF.
10294 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10295   version_type=linux # correct to gnu/linux during the next big refactor
10296   need_lib_prefix=no
10297   need_version=no
10298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10299   soname_spec='${libname}${release}${shared_ext}$major'
10300   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10301   shlibpath_var=LD_LIBRARY_PATH
10302   shlibpath_overrides_runpath=no
10303
10304   # Some binutils ld are patched to set DT_RUNPATH
10305   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10306   $as_echo_n "(cached) " >&6
10307 else
10308   lt_cv_shlibpath_overrides_runpath=no
10309     save_LDFLAGS=$LDFLAGS
10310     save_libdir=$libdir
10311     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10312          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10313     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h.  */
10315
10316 int
10317 main ()
10318 {
10319
10320   ;
10321   return 0;
10322 }
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10326   lt_cv_shlibpath_overrides_runpath=yes
10327 fi
10328 fi
10329 rm -f core conftest.err conftest.$ac_objext \
10330     conftest$ac_exeext conftest.$ac_ext
10331     LDFLAGS=$save_LDFLAGS
10332     libdir=$save_libdir
10333
10334 fi
10335
10336   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10337
10338   # This implies no fast_install, which is unacceptable.
10339   # Some rework will be needed to allow for fast_install
10340   # before this can be enabled.
10341   hardcode_into_libs=yes
10342
10343   # Append ld.so.conf contents to the search path
10344   if test -f /etc/ld.so.conf; then
10345     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' ' '`
10346     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10347   fi
10348
10349   # We used to test for /lib/ld.so.1 and disable shared libraries on
10350   # powerpc, because MkLinux only supported shared libraries with the
10351   # GNU dynamic linker.  Since this was broken with cross compilers,
10352   # most powerpc-linux boxes support dynamic linking these days and
10353   # people can always --disable-shared, the test was removed, and we
10354   # assume the GNU/Linux dynamic linker is in use.
10355   dynamic_linker='GNU/Linux ld.so'
10356   ;;
10357
10358 netbsd*)
10359   version_type=sunos
10360   need_lib_prefix=no
10361   need_version=no
10362   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10363     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10364     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10365     dynamic_linker='NetBSD (a.out) ld.so'
10366   else
10367     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10368     soname_spec='${libname}${release}${shared_ext}$major'
10369     dynamic_linker='NetBSD ld.elf_so'
10370   fi
10371   shlibpath_var=LD_LIBRARY_PATH
10372   shlibpath_overrides_runpath=yes
10373   hardcode_into_libs=yes
10374   ;;
10375
10376 newsos6)
10377   version_type=linux # correct to gnu/linux during the next big refactor
10378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10379   shlibpath_var=LD_LIBRARY_PATH
10380   shlibpath_overrides_runpath=yes
10381   ;;
10382
10383 *nto* | *qnx*)
10384   version_type=qnx
10385   need_lib_prefix=no
10386   need_version=no
10387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388   soname_spec='${libname}${release}${shared_ext}$major'
10389   shlibpath_var=LD_LIBRARY_PATH
10390   shlibpath_overrides_runpath=no
10391   hardcode_into_libs=yes
10392   dynamic_linker='ldqnx.so'
10393   ;;
10394
10395 openbsd*)
10396   version_type=sunos
10397   sys_lib_dlsearch_path_spec="/usr/lib"
10398   need_lib_prefix=no
10399   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10400   case $host_os in
10401     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10402     *)                          need_version=no  ;;
10403   esac
10404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10405   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10406   shlibpath_var=LD_LIBRARY_PATH
10407   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10408     case $host_os in
10409       openbsd2.[89] | openbsd2.[89].*)
10410         shlibpath_overrides_runpath=no
10411         ;;
10412       *)
10413         shlibpath_overrides_runpath=yes
10414         ;;
10415       esac
10416   else
10417     shlibpath_overrides_runpath=yes
10418   fi
10419   ;;
10420
10421 os2*)
10422   libname_spec='$name'
10423   shrext_cmds=".dll"
10424   need_lib_prefix=no
10425   library_names_spec='$libname${shared_ext} $libname.a'
10426   dynamic_linker='OS/2 ld.exe'
10427   shlibpath_var=LIBPATH
10428   ;;
10429
10430 osf3* | osf4* | osf5*)
10431   version_type=osf
10432   need_lib_prefix=no
10433   need_version=no
10434   soname_spec='${libname}${release}${shared_ext}$major'
10435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436   shlibpath_var=LD_LIBRARY_PATH
10437   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10438   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10439   ;;
10440
10441 rdos*)
10442   dynamic_linker=no
10443   ;;
10444
10445 solaris*)
10446   version_type=linux # correct to gnu/linux during the next big refactor
10447   need_lib_prefix=no
10448   need_version=no
10449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450   soname_spec='${libname}${release}${shared_ext}$major'
10451   shlibpath_var=LD_LIBRARY_PATH
10452   shlibpath_overrides_runpath=yes
10453   hardcode_into_libs=yes
10454   # ldd complains unless libraries are executable
10455   postinstall_cmds='chmod +x $lib'
10456   ;;
10457
10458 sunos4*)
10459   version_type=sunos
10460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10461   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10462   shlibpath_var=LD_LIBRARY_PATH
10463   shlibpath_overrides_runpath=yes
10464   if test "$with_gnu_ld" = yes; then
10465     need_lib_prefix=no
10466   fi
10467   need_version=yes
10468   ;;
10469
10470 sysv4 | sysv4.3*)
10471   version_type=linux # correct to gnu/linux during the next big refactor
10472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10473   soname_spec='${libname}${release}${shared_ext}$major'
10474   shlibpath_var=LD_LIBRARY_PATH
10475   case $host_vendor in
10476     sni)
10477       shlibpath_overrides_runpath=no
10478       need_lib_prefix=no
10479       runpath_var=LD_RUN_PATH
10480       ;;
10481     siemens)
10482       need_lib_prefix=no
10483       ;;
10484     motorola)
10485       need_lib_prefix=no
10486       need_version=no
10487       shlibpath_overrides_runpath=no
10488       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10489       ;;
10490   esac
10491   ;;
10492
10493 sysv4*MP*)
10494   if test -d /usr/nec ;then
10495     version_type=linux # correct to gnu/linux during the next big refactor
10496     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10497     soname_spec='$libname${shared_ext}.$major'
10498     shlibpath_var=LD_LIBRARY_PATH
10499   fi
10500   ;;
10501
10502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10503   version_type=freebsd-elf
10504   need_lib_prefix=no
10505   need_version=no
10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10507   soname_spec='${libname}${release}${shared_ext}$major'
10508   shlibpath_var=LD_LIBRARY_PATH
10509   shlibpath_overrides_runpath=yes
10510   hardcode_into_libs=yes
10511   if test "$with_gnu_ld" = yes; then
10512     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10513   else
10514     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10515     case $host_os in
10516       sco3.2v5*)
10517         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10518         ;;
10519     esac
10520   fi
10521   sys_lib_dlsearch_path_spec='/usr/lib'
10522   ;;
10523
10524 tpf*)
10525   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10526   version_type=linux # correct to gnu/linux during the next big refactor
10527   need_lib_prefix=no
10528   need_version=no
10529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530   shlibpath_var=LD_LIBRARY_PATH
10531   shlibpath_overrides_runpath=no
10532   hardcode_into_libs=yes
10533   ;;
10534
10535 uts4*)
10536   version_type=linux # correct to gnu/linux during the next big refactor
10537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538   soname_spec='${libname}${release}${shared_ext}$major'
10539   shlibpath_var=LD_LIBRARY_PATH
10540   ;;
10541
10542 *)
10543   dynamic_linker=no
10544   ;;
10545 esac
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10547 $as_echo "$dynamic_linker" >&6; }
10548 test "$dynamic_linker" = no && can_build_shared=no
10549
10550 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10551 if test "$GCC" = yes; then
10552   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10553 fi
10554
10555 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10556   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10557 fi
10558 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10559   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10560 fi
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10654 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10655 hardcode_action=
10656 if test -n "$hardcode_libdir_flag_spec" ||
10657    test -n "$runpath_var" ||
10658    test "X$hardcode_automatic" = "Xyes" ; then
10659
10660   # We can hardcode non-existent directories.
10661   if test "$hardcode_direct" != no &&
10662      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10663      # have to relink, otherwise we might link with an installed library
10664      # when we should be linking with a yet-to-be-installed one
10665      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10666      test "$hardcode_minus_L" != no; then
10667     # Linking always hardcodes the temporary library directory.
10668     hardcode_action=relink
10669   else
10670     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10671     hardcode_action=immediate
10672   fi
10673 else
10674   # We cannot hardcode anything, or else we can only hardcode existing
10675   # directories.
10676   hardcode_action=unsupported
10677 fi
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10679 $as_echo "$hardcode_action" >&6; }
10680
10681 if test "$hardcode_action" = relink ||
10682    test "$inherit_rpath" = yes; then
10683   # Fast installation is not supported
10684   enable_fast_install=no
10685 elif test "$shlibpath_overrides_runpath" = yes ||
10686      test "$enable_shared" = no; then
10687   # Fast installation is not necessary
10688   enable_fast_install=needless
10689 fi
10690
10691
10692
10693
10694
10695
10696   if test "x$enable_dlopen" != xyes; then
10697   enable_dlopen=unknown
10698   enable_dlopen_self=unknown
10699   enable_dlopen_self_static=unknown
10700 else
10701   lt_cv_dlopen=no
10702   lt_cv_dlopen_libs=
10703
10704   case $host_os in
10705   beos*)
10706     lt_cv_dlopen="load_add_on"
10707     lt_cv_dlopen_libs=
10708     lt_cv_dlopen_self=yes
10709     ;;
10710
10711   mingw* | pw32* | cegcc*)
10712     lt_cv_dlopen="LoadLibrary"
10713     lt_cv_dlopen_libs=
10714     ;;
10715
10716   cygwin*)
10717     lt_cv_dlopen="dlopen"
10718     lt_cv_dlopen_libs=
10719     ;;
10720
10721   darwin*)
10722   # if libdl is installed we need to link against it
10723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10724 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10725 if ${ac_cv_lib_dl_dlopen+:} false; then :
10726   $as_echo_n "(cached) " >&6
10727 else
10728   ac_check_lib_save_LIBS=$LIBS
10729 LIBS="-ldl  $LIBS"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h.  */
10732
10733 /* Override any GCC internal prototype to avoid an error.
10734    Use char because int might match the return type of a GCC
10735    builtin and then its argument prototype would still apply.  */
10736 #ifdef __cplusplus
10737 extern "C"
10738 #endif
10739 char dlopen ();
10740 int
10741 main ()
10742 {
10743 return dlopen ();
10744   ;
10745   return 0;
10746 }
10747 _ACEOF
10748 if ac_fn_c_try_link "$LINENO"; then :
10749   ac_cv_lib_dl_dlopen=yes
10750 else
10751   ac_cv_lib_dl_dlopen=no
10752 fi
10753 rm -f core conftest.err conftest.$ac_objext \
10754     conftest$ac_exeext conftest.$ac_ext
10755 LIBS=$ac_check_lib_save_LIBS
10756 fi
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10758 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10759 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10760   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10761 else
10762
10763     lt_cv_dlopen="dyld"
10764     lt_cv_dlopen_libs=
10765     lt_cv_dlopen_self=yes
10766
10767 fi
10768
10769     ;;
10770
10771   *)
10772     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10773 if test "x$ac_cv_func_shl_load" = xyes; then :
10774   lt_cv_dlopen="shl_load"
10775 else
10776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10777 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10778 if ${ac_cv_lib_dld_shl_load+:} false; then :
10779   $as_echo_n "(cached) " >&6
10780 else
10781   ac_check_lib_save_LIBS=$LIBS
10782 LIBS="-ldld  $LIBS"
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h.  */
10785
10786 /* Override any GCC internal prototype to avoid an error.
10787    Use char because int might match the return type of a GCC
10788    builtin and then its argument prototype would still apply.  */
10789 #ifdef __cplusplus
10790 extern "C"
10791 #endif
10792 char shl_load ();
10793 int
10794 main ()
10795 {
10796 return shl_load ();
10797   ;
10798   return 0;
10799 }
10800 _ACEOF
10801 if ac_fn_c_try_link "$LINENO"; then :
10802   ac_cv_lib_dld_shl_load=yes
10803 else
10804   ac_cv_lib_dld_shl_load=no
10805 fi
10806 rm -f core conftest.err conftest.$ac_objext \
10807     conftest$ac_exeext conftest.$ac_ext
10808 LIBS=$ac_check_lib_save_LIBS
10809 fi
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10811 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10812 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10813   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10814 else
10815   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10816 if test "x$ac_cv_func_dlopen" = xyes; then :
10817   lt_cv_dlopen="dlopen"
10818 else
10819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10820 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10821 if ${ac_cv_lib_dl_dlopen+:} false; then :
10822   $as_echo_n "(cached) " >&6
10823 else
10824   ac_check_lib_save_LIBS=$LIBS
10825 LIBS="-ldl  $LIBS"
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h.  */
10828
10829 /* Override any GCC internal prototype to avoid an error.
10830    Use char because int might match the return type of a GCC
10831    builtin and then its argument prototype would still apply.  */
10832 #ifdef __cplusplus
10833 extern "C"
10834 #endif
10835 char dlopen ();
10836 int
10837 main ()
10838 {
10839 return dlopen ();
10840   ;
10841   return 0;
10842 }
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"; then :
10845   ac_cv_lib_dl_dlopen=yes
10846 else
10847   ac_cv_lib_dl_dlopen=no
10848 fi
10849 rm -f core conftest.err conftest.$ac_objext \
10850     conftest$ac_exeext conftest.$ac_ext
10851 LIBS=$ac_check_lib_save_LIBS
10852 fi
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10854 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10855 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10856   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10857 else
10858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10859 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10860 if ${ac_cv_lib_svld_dlopen+:} false; then :
10861   $as_echo_n "(cached) " >&6
10862 else
10863   ac_check_lib_save_LIBS=$LIBS
10864 LIBS="-lsvld  $LIBS"
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h.  */
10867
10868 /* Override any GCC internal prototype to avoid an error.
10869    Use char because int might match the return type of a GCC
10870    builtin and then its argument prototype would still apply.  */
10871 #ifdef __cplusplus
10872 extern "C"
10873 #endif
10874 char dlopen ();
10875 int
10876 main ()
10877 {
10878 return dlopen ();
10879   ;
10880   return 0;
10881 }
10882 _ACEOF
10883 if ac_fn_c_try_link "$LINENO"; then :
10884   ac_cv_lib_svld_dlopen=yes
10885 else
10886   ac_cv_lib_svld_dlopen=no
10887 fi
10888 rm -f core conftest.err conftest.$ac_objext \
10889     conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10891 fi
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10893 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10894 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10895   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10896 else
10897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10898 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10899 if ${ac_cv_lib_dld_dld_link+:} false; then :
10900   $as_echo_n "(cached) " >&6
10901 else
10902   ac_check_lib_save_LIBS=$LIBS
10903 LIBS="-ldld  $LIBS"
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h.  */
10906
10907 /* Override any GCC internal prototype to avoid an error.
10908    Use char because int might match the return type of a GCC
10909    builtin and then its argument prototype would still apply.  */
10910 #ifdef __cplusplus
10911 extern "C"
10912 #endif
10913 char dld_link ();
10914 int
10915 main ()
10916 {
10917 return dld_link ();
10918   ;
10919   return 0;
10920 }
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"; then :
10923   ac_cv_lib_dld_dld_link=yes
10924 else
10925   ac_cv_lib_dld_dld_link=no
10926 fi
10927 rm -f core conftest.err conftest.$ac_objext \
10928     conftest$ac_exeext conftest.$ac_ext
10929 LIBS=$ac_check_lib_save_LIBS
10930 fi
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10932 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10933 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10934   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10935 fi
10936
10937
10938 fi
10939
10940
10941 fi
10942
10943
10944 fi
10945
10946
10947 fi
10948
10949
10950 fi
10951
10952     ;;
10953   esac
10954
10955   if test "x$lt_cv_dlopen" != xno; then
10956     enable_dlopen=yes
10957   else
10958     enable_dlopen=no
10959   fi
10960
10961   case $lt_cv_dlopen in
10962   dlopen)
10963     save_CPPFLAGS="$CPPFLAGS"
10964     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10965
10966     save_LDFLAGS="$LDFLAGS"
10967     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10968
10969     save_LIBS="$LIBS"
10970     LIBS="$lt_cv_dlopen_libs $LIBS"
10971
10972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10973 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10974 if ${lt_cv_dlopen_self+:} false; then :
10975   $as_echo_n "(cached) " >&6
10976 else
10977           if test "$cross_compiling" = yes; then :
10978   lt_cv_dlopen_self=cross
10979 else
10980   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10981   lt_status=$lt_dlunknown
10982   cat > conftest.$ac_ext <<_LT_EOF
10983 #line $LINENO "configure"
10984 #include "confdefs.h"
10985
10986 #if HAVE_DLFCN_H
10987 #include <dlfcn.h>
10988 #endif
10989
10990 #include <stdio.h>
10991
10992 #ifdef RTLD_GLOBAL
10993 #  define LT_DLGLOBAL           RTLD_GLOBAL
10994 #else
10995 #  ifdef DL_GLOBAL
10996 #    define LT_DLGLOBAL         DL_GLOBAL
10997 #  else
10998 #    define LT_DLGLOBAL         0
10999 #  endif
11000 #endif
11001
11002 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11003    find out it does not work in some platform. */
11004 #ifndef LT_DLLAZY_OR_NOW
11005 #  ifdef RTLD_LAZY
11006 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11007 #  else
11008 #    ifdef DL_LAZY
11009 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11010 #    else
11011 #      ifdef RTLD_NOW
11012 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11013 #      else
11014 #        ifdef DL_NOW
11015 #          define LT_DLLAZY_OR_NOW      DL_NOW
11016 #        else
11017 #          define LT_DLLAZY_OR_NOW      0
11018 #        endif
11019 #      endif
11020 #    endif
11021 #  endif
11022 #endif
11023
11024 /* When -fvisbility=hidden is used, assume the code has been annotated
11025    correspondingly for the symbols needed.  */
11026 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11027 int fnord () __attribute__((visibility("default")));
11028 #endif
11029
11030 int fnord () { return 42; }
11031 int main ()
11032 {
11033   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11034   int status = $lt_dlunknown;
11035
11036   if (self)
11037     {
11038       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11039       else
11040         {
11041           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11042           else puts (dlerror ());
11043         }
11044       /* dlclose (self); */
11045     }
11046   else
11047     puts (dlerror ());
11048
11049   return status;
11050 }
11051 _LT_EOF
11052   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11053   (eval $ac_link) 2>&5
11054   ac_status=$?
11055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11056   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11057     (./conftest; exit; ) >&5 2>/dev/null
11058     lt_status=$?
11059     case x$lt_status in
11060       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11061       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11062       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11063     esac
11064   else :
11065     # compilation failed
11066     lt_cv_dlopen_self=no
11067   fi
11068 fi
11069 rm -fr conftest*
11070
11071
11072 fi
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11074 $as_echo "$lt_cv_dlopen_self" >&6; }
11075
11076     if test "x$lt_cv_dlopen_self" = xyes; then
11077       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11078       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11079 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11080 if ${lt_cv_dlopen_self_static+:} false; then :
11081   $as_echo_n "(cached) " >&6
11082 else
11083           if test "$cross_compiling" = yes; then :
11084   lt_cv_dlopen_self_static=cross
11085 else
11086   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11087   lt_status=$lt_dlunknown
11088   cat > conftest.$ac_ext <<_LT_EOF
11089 #line $LINENO "configure"
11090 #include "confdefs.h"
11091
11092 #if HAVE_DLFCN_H
11093 #include <dlfcn.h>
11094 #endif
11095
11096 #include <stdio.h>
11097
11098 #ifdef RTLD_GLOBAL
11099 #  define LT_DLGLOBAL           RTLD_GLOBAL
11100 #else
11101 #  ifdef DL_GLOBAL
11102 #    define LT_DLGLOBAL         DL_GLOBAL
11103 #  else
11104 #    define LT_DLGLOBAL         0
11105 #  endif
11106 #endif
11107
11108 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11109    find out it does not work in some platform. */
11110 #ifndef LT_DLLAZY_OR_NOW
11111 #  ifdef RTLD_LAZY
11112 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11113 #  else
11114 #    ifdef DL_LAZY
11115 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11116 #    else
11117 #      ifdef RTLD_NOW
11118 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11119 #      else
11120 #        ifdef DL_NOW
11121 #          define LT_DLLAZY_OR_NOW      DL_NOW
11122 #        else
11123 #          define LT_DLLAZY_OR_NOW      0
11124 #        endif
11125 #      endif
11126 #    endif
11127 #  endif
11128 #endif
11129
11130 /* When -fvisbility=hidden is used, assume the code has been annotated
11131    correspondingly for the symbols needed.  */
11132 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11133 int fnord () __attribute__((visibility("default")));
11134 #endif
11135
11136 int fnord () { return 42; }
11137 int main ()
11138 {
11139   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11140   int status = $lt_dlunknown;
11141
11142   if (self)
11143     {
11144       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11145       else
11146         {
11147           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11148           else puts (dlerror ());
11149         }
11150       /* dlclose (self); */
11151     }
11152   else
11153     puts (dlerror ());
11154
11155   return status;
11156 }
11157 _LT_EOF
11158   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11159   (eval $ac_link) 2>&5
11160   ac_status=$?
11161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11162   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11163     (./conftest; exit; ) >&5 2>/dev/null
11164     lt_status=$?
11165     case x$lt_status in
11166       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11167       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11168       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11169     esac
11170   else :
11171     # compilation failed
11172     lt_cv_dlopen_self_static=no
11173   fi
11174 fi
11175 rm -fr conftest*
11176
11177
11178 fi
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11180 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11181     fi
11182
11183     CPPFLAGS="$save_CPPFLAGS"
11184     LDFLAGS="$save_LDFLAGS"
11185     LIBS="$save_LIBS"
11186     ;;
11187   esac
11188
11189   case $lt_cv_dlopen_self in
11190   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11191   *) enable_dlopen_self=unknown ;;
11192   esac
11193
11194   case $lt_cv_dlopen_self_static in
11195   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11196   *) enable_dlopen_self_static=unknown ;;
11197   esac
11198 fi
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216 striplib=
11217 old_striplib=
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11219 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11220 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11221   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11222   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11224 $as_echo "yes" >&6; }
11225 else
11226 # FIXME - insert some real tests, host_os isn't really good enough
11227   case $host_os in
11228   darwin*)
11229     if test -n "$STRIP" ; then
11230       striplib="$STRIP -x"
11231       old_striplib="$STRIP -S"
11232       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11233 $as_echo "yes" >&6; }
11234     else
11235       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11236 $as_echo "no" >&6; }
11237     fi
11238     ;;
11239   *)
11240     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11241 $as_echo "no" >&6; }
11242     ;;
11243   esac
11244 fi
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257   # Report which library types will actually be built
11258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11259 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11261 $as_echo "$can_build_shared" >&6; }
11262
11263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11264 $as_echo_n "checking whether to build shared libraries... " >&6; }
11265   test "$can_build_shared" = "no" && enable_shared=no
11266
11267   # On AIX, shared libraries and static libraries use the same namespace, and
11268   # are all built from PIC.
11269   case $host_os in
11270   aix3*)
11271     test "$enable_shared" = yes && enable_static=no
11272     if test -n "$RANLIB"; then
11273       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11274       postinstall_cmds='$RANLIB $lib'
11275     fi
11276     ;;
11277
11278   aix[4-9]*)
11279     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11280       test "$enable_shared" = yes && enable_static=no
11281     fi
11282     ;;
11283   esac
11284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11285 $as_echo "$enable_shared" >&6; }
11286
11287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11288 $as_echo_n "checking whether to build static libraries... " >&6; }
11289   # Make sure either enable_shared or enable_static is yes.
11290   test "$enable_shared" = yes || enable_static=yes
11291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11292 $as_echo "$enable_static" >&6; }
11293
11294
11295
11296
11297 fi
11298 ac_ext=c
11299 ac_cpp='$CPP $CPPFLAGS'
11300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11303
11304 CC="$lt_save_CC"
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320         ac_config_commands="$ac_config_commands libtool"
11321
11322
11323
11324
11325 # Only expand once:
11326
11327
11328
11329
11330
11331
11332
11333
11334 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11335         if test -n "$ac_tool_prefix"; then
11336   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11337 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11339 $as_echo_n "checking for $ac_word... " >&6; }
11340 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11341   $as_echo_n "(cached) " >&6
11342 else
11343   case $PKG_CONFIG in
11344   [\\/]* | ?:[\\/]*)
11345   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11346   ;;
11347   *)
11348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11349 for as_dir in $PATH
11350 do
11351   IFS=$as_save_IFS
11352   test -z "$as_dir" && as_dir=.
11353     for ac_exec_ext in '' $ac_executable_extensions; do
11354   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11355     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11357     break 2
11358   fi
11359 done
11360   done
11361 IFS=$as_save_IFS
11362
11363   ;;
11364 esac
11365 fi
11366 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11367 if test -n "$PKG_CONFIG"; then
11368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11369 $as_echo "$PKG_CONFIG" >&6; }
11370 else
11371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11372 $as_echo "no" >&6; }
11373 fi
11374
11375
11376 fi
11377 if test -z "$ac_cv_path_PKG_CONFIG"; then
11378   ac_pt_PKG_CONFIG=$PKG_CONFIG
11379   # Extract the first word of "pkg-config", so it can be a program name with args.
11380 set dummy pkg-config; ac_word=$2
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11382 $as_echo_n "checking for $ac_word... " >&6; }
11383 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11384   $as_echo_n "(cached) " >&6
11385 else
11386   case $ac_pt_PKG_CONFIG in
11387   [\\/]* | ?:[\\/]*)
11388   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11389   ;;
11390   *)
11391   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11392 for as_dir in $PATH
11393 do
11394   IFS=$as_save_IFS
11395   test -z "$as_dir" && as_dir=.
11396     for ac_exec_ext in '' $ac_executable_extensions; do
11397   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11398     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11400     break 2
11401   fi
11402 done
11403   done
11404 IFS=$as_save_IFS
11405
11406   ;;
11407 esac
11408 fi
11409 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11410 if test -n "$ac_pt_PKG_CONFIG"; then
11411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11412 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11413 else
11414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11415 $as_echo "no" >&6; }
11416 fi
11417
11418   if test "x$ac_pt_PKG_CONFIG" = x; then
11419     PKG_CONFIG=""
11420   else
11421     case $cross_compiling:$ac_tool_warned in
11422 yes:)
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11425 ac_tool_warned=yes ;;
11426 esac
11427     PKG_CONFIG=$ac_pt_PKG_CONFIG
11428   fi
11429 else
11430   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11431 fi
11432
11433 fi
11434 if test -n "$PKG_CONFIG"; then
11435         _pkg_min_version=0.9.0
11436         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11437 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11438         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11439                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11440 $as_echo "yes" >&6; }
11441         else
11442                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443 $as_echo "no" >&6; }
11444                 PKG_CONFIG=""
11445         fi
11446 fi
11447
11448 GETTEXT_PACKAGE="${PACKAGE}"
11449
11450
11451 ac_config_headers="$ac_config_headers config.h"
11452
11453
11454
11455 pkg_failed=no
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
11457 $as_echo_n "checking for DBUS... " >&6; }
11458
11459 if test -n "$DBUS_CFLAGS"; then
11460     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
11461  elif test -n "$PKG_CONFIG"; then
11462     if test -n "$PKG_CONFIG" && \
11463     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
11464   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
11465   ac_status=$?
11466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11467   test $ac_status = 0; }; then
11468   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
11469 else
11470   pkg_failed=yes
11471 fi
11472  else
11473     pkg_failed=untried
11474 fi
11475 if test -n "$DBUS_LIBS"; then
11476     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
11477  elif test -n "$PKG_CONFIG"; then
11478     if test -n "$PKG_CONFIG" && \
11479     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
11480   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
11481   ac_status=$?
11482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11483   test $ac_status = 0; }; then
11484   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
11485 else
11486   pkg_failed=yes
11487 fi
11488  else
11489     pkg_failed=untried
11490 fi
11491
11492
11493
11494 if test $pkg_failed = yes; then
11495         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11496 $as_echo "no" >&6; }
11497
11498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11499         _pkg_short_errors_supported=yes
11500 else
11501         _pkg_short_errors_supported=no
11502 fi
11503         if test $_pkg_short_errors_supported = yes; then
11504                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0" 2>&1`
11505         else
11506                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.0" 2>&1`
11507         fi
11508         # Put the nasty error message in config.log where it belongs
11509         echo "$DBUS_PKG_ERRORS" >&5
11510
11511         as_fn_error $? "Package requirements (dbus-1 >= 1.0) were not met:
11512
11513 $DBUS_PKG_ERRORS
11514
11515 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11516 installed software in a non-standard prefix.
11517
11518 Alternatively, you may set the environment variables DBUS_CFLAGS
11519 and DBUS_LIBS to avoid the need to call pkg-config.
11520 See the pkg-config man page for more details." "$LINENO" 5
11521 elif test $pkg_failed = untried; then
11522         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11523 $as_echo "no" >&6; }
11524         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11526 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11527 is in your PATH or set the PKG_CONFIG environment variable to the full
11528 path to pkg-config.
11529
11530 Alternatively, you may set the environment variables DBUS_CFLAGS
11531 and DBUS_LIBS to avoid the need to call pkg-config.
11532 See the pkg-config man page for more details.
11533
11534 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11535 See \`config.log' for more details" "$LINENO" 5; }
11536 else
11537         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
11538         DBUS_LIBS=$pkg_cv_DBUS_LIBS
11539         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11540 $as_echo "yes" >&6; }
11541
11542 fi
11543
11544
11545
11546
11547 pkg_failed=no
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11549 $as_echo_n "checking for GLIB... " >&6; }
11550
11551 if test -n "$GLIB_CFLAGS"; then
11552     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11553  elif test -n "$PKG_CONFIG"; then
11554     if test -n "$PKG_CONFIG" && \
11555     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
11556   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11557   ac_status=$?
11558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11559   test $ac_status = 0; }; then
11560   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
11561 else
11562   pkg_failed=yes
11563 fi
11564  else
11565     pkg_failed=untried
11566 fi
11567 if test -n "$GLIB_LIBS"; then
11568     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11569  elif test -n "$PKG_CONFIG"; then
11570     if test -n "$PKG_CONFIG" && \
11571     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
11572   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
11573   ac_status=$?
11574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11575   test $ac_status = 0; }; then
11576   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
11577 else
11578   pkg_failed=yes
11579 fi
11580  else
11581     pkg_failed=untried
11582 fi
11583
11584
11585
11586 if test $pkg_failed = yes; then
11587         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11588 $as_echo "no" >&6; }
11589
11590 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11591         _pkg_short_errors_supported=yes
11592 else
11593         _pkg_short_errors_supported=no
11594 fi
11595         if test $_pkg_short_errors_supported = yes; then
11596                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
11597         else
11598                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
11599         fi
11600         # Put the nasty error message in config.log where it belongs
11601         echo "$GLIB_PKG_ERRORS" >&5
11602
11603         as_fn_error $? "Package requirements (glib-2.0) were not met:
11604
11605 $GLIB_PKG_ERRORS
11606
11607 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11608 installed software in a non-standard prefix.
11609
11610 Alternatively, you may set the environment variables GLIB_CFLAGS
11611 and GLIB_LIBS to avoid the need to call pkg-config.
11612 See the pkg-config man page for more details." "$LINENO" 5
11613 elif test $pkg_failed = untried; then
11614         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11615 $as_echo "no" >&6; }
11616         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11618 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11619 is in your PATH or set the PKG_CONFIG environment variable to the full
11620 path to pkg-config.
11621
11622 Alternatively, you may set the environment variables GLIB_CFLAGS
11623 and GLIB_LIBS to avoid the need to call pkg-config.
11624 See the pkg-config man page for more details.
11625
11626 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11627 See \`config.log' for more details" "$LINENO" 5; }
11628 else
11629         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11630         GLIB_LIBS=$pkg_cv_GLIB_LIBS
11631         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11632 $as_echo "yes" >&6; }
11633
11634 fi
11635
11636
11637
11638
11639 pkg_failed=no
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJ" >&5
11641 $as_echo_n "checking for GOBJ... " >&6; }
11642
11643 if test -n "$GOBJ_CFLAGS"; then
11644     pkg_cv_GOBJ_CFLAGS="$GOBJ_CFLAGS"
11645  elif test -n "$PKG_CONFIG"; then
11646     if test -n "$PKG_CONFIG" && \
11647     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
11648   ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
11649   ac_status=$?
11650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11651   test $ac_status = 0; }; then
11652   pkg_cv_GOBJ_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.0.0" 2>/dev/null`
11653 else
11654   pkg_failed=yes
11655 fi
11656  else
11657     pkg_failed=untried
11658 fi
11659 if test -n "$GOBJ_LIBS"; then
11660     pkg_cv_GOBJ_LIBS="$GOBJ_LIBS"
11661  elif test -n "$PKG_CONFIG"; then
11662     if test -n "$PKG_CONFIG" && \
11663     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
11664   ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
11665   ac_status=$?
11666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11667   test $ac_status = 0; }; then
11668   pkg_cv_GOBJ_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.0.0" 2>/dev/null`
11669 else
11670   pkg_failed=yes
11671 fi
11672  else
11673     pkg_failed=untried
11674 fi
11675
11676
11677
11678 if test $pkg_failed = yes; then
11679         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11680 $as_echo "no" >&6; }
11681
11682 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11683         _pkg_short_errors_supported=yes
11684 else
11685         _pkg_short_errors_supported=no
11686 fi
11687         if test $_pkg_short_errors_supported = yes; then
11688                 GOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 >= 2.0.0" 2>&1`
11689         else
11690                 GOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 >= 2.0.0" 2>&1`
11691         fi
11692         # Put the nasty error message in config.log where it belongs
11693         echo "$GOBJ_PKG_ERRORS" >&5
11694
11695         as_fn_error $? "Package requirements (gobject-2.0 >= 2.0.0) were not met:
11696
11697 $GOBJ_PKG_ERRORS
11698
11699 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11700 installed software in a non-standard prefix.
11701
11702 Alternatively, you may set the environment variables GOBJ_CFLAGS
11703 and GOBJ_LIBS to avoid the need to call pkg-config.
11704 See the pkg-config man page for more details." "$LINENO" 5
11705 elif test $pkg_failed = untried; then
11706         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11707 $as_echo "no" >&6; }
11708         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11710 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11711 is in your PATH or set the PKG_CONFIG environment variable to the full
11712 path to pkg-config.
11713
11714 Alternatively, you may set the environment variables GOBJ_CFLAGS
11715 and GOBJ_LIBS to avoid the need to call pkg-config.
11716 See the pkg-config man page for more details.
11717
11718 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11719 See \`config.log' for more details" "$LINENO" 5; }
11720 else
11721         GOBJ_CFLAGS=$pkg_cv_GOBJ_CFLAGS
11722         GOBJ_LIBS=$pkg_cv_GOBJ_LIBS
11723         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11724 $as_echo "yes" >&6; }
11725
11726 fi
11727
11728
11729
11730
11731 pkg_failed=no
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
11733 $as_echo_n "checking for GMODULE... " >&6; }
11734
11735 if test -n "$GMODULE_CFLAGS"; then
11736     pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
11737  elif test -n "$PKG_CONFIG"; then
11738     if test -n "$PKG_CONFIG" && \
11739     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.0.0\""; } >&5
11740   ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.0.0") 2>&5
11741   ac_status=$?
11742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11743   test $ac_status = 0; }; then
11744   pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= 2.0.0" 2>/dev/null`
11745 else
11746   pkg_failed=yes
11747 fi
11748  else
11749     pkg_failed=untried
11750 fi
11751 if test -n "$GMODULE_LIBS"; then
11752     pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
11753  elif test -n "$PKG_CONFIG"; then
11754     if test -n "$PKG_CONFIG" && \
11755     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.0.0\""; } >&5
11756   ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.0.0") 2>&5
11757   ac_status=$?
11758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11759   test $ac_status = 0; }; then
11760   pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= 2.0.0" 2>/dev/null`
11761 else
11762   pkg_failed=yes
11763 fi
11764  else
11765     pkg_failed=untried
11766 fi
11767
11768
11769
11770 if test $pkg_failed = yes; then
11771         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11773
11774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11775         _pkg_short_errors_supported=yes
11776 else
11777         _pkg_short_errors_supported=no
11778 fi
11779         if test $_pkg_short_errors_supported = yes; then
11780                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0 >= 2.0.0" 2>&1`
11781         else
11782                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0 >= 2.0.0" 2>&1`
11783         fi
11784         # Put the nasty error message in config.log where it belongs
11785         echo "$GMODULE_PKG_ERRORS" >&5
11786
11787         as_fn_error $? "Package requirements (gmodule-2.0 >= 2.0.0) were not met:
11788
11789 $GMODULE_PKG_ERRORS
11790
11791 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11792 installed software in a non-standard prefix.
11793
11794 Alternatively, you may set the environment variables GMODULE_CFLAGS
11795 and GMODULE_LIBS to avoid the need to call pkg-config.
11796 See the pkg-config man page for more details." "$LINENO" 5
11797 elif test $pkg_failed = untried; then
11798         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 $as_echo "no" >&6; }
11800         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11802 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11803 is in your PATH or set the PKG_CONFIG environment variable to the full
11804 path to pkg-config.
11805
11806 Alternatively, you may set the environment variables GMODULE_CFLAGS
11807 and GMODULE_LIBS to avoid the need to call pkg-config.
11808 See the pkg-config man page for more details.
11809
11810 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11811 See \`config.log' for more details" "$LINENO" 5; }
11812 else
11813         GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
11814         GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
11815         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11816 $as_echo "yes" >&6; }
11817
11818 fi
11819
11820
11821
11822
11823 pkg_failed=no
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATK" >&5
11825 $as_echo_n "checking for ATK... " >&6; }
11826
11827 if test -n "$ATK_CFLAGS"; then
11828     pkg_cv_ATK_CFLAGS="$ATK_CFLAGS"
11829  elif test -n "$PKG_CONFIG"; then
11830     if test -n "$PKG_CONFIG" && \
11831     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 2.1.5\""; } >&5
11832   ($PKG_CONFIG --exists --print-errors "atk >= 2.1.5") 2>&5
11833   ac_status=$?
11834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11835   test $ac_status = 0; }; then
11836   pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk >= 2.1.5" 2>/dev/null`
11837 else
11838   pkg_failed=yes
11839 fi
11840  else
11841     pkg_failed=untried
11842 fi
11843 if test -n "$ATK_LIBS"; then
11844     pkg_cv_ATK_LIBS="$ATK_LIBS"
11845  elif test -n "$PKG_CONFIG"; then
11846     if test -n "$PKG_CONFIG" && \
11847     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 2.1.5\""; } >&5
11848   ($PKG_CONFIG --exists --print-errors "atk >= 2.1.5") 2>&5
11849   ac_status=$?
11850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11851   test $ac_status = 0; }; then
11852   pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk >= 2.1.5" 2>/dev/null`
11853 else
11854   pkg_failed=yes
11855 fi
11856  else
11857     pkg_failed=untried
11858 fi
11859
11860
11861
11862 if test $pkg_failed = yes; then
11863         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11864 $as_echo "no" >&6; }
11865
11866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11867         _pkg_short_errors_supported=yes
11868 else
11869         _pkg_short_errors_supported=no
11870 fi
11871         if test $_pkg_short_errors_supported = yes; then
11872                 ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "atk >= 2.1.5" 2>&1`
11873         else
11874                 ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors "atk >= 2.1.5" 2>&1`
11875         fi
11876         # Put the nasty error message in config.log where it belongs
11877         echo "$ATK_PKG_ERRORS" >&5
11878
11879         as_fn_error $? "Package requirements (atk >= 2.1.5) were not met:
11880
11881 $ATK_PKG_ERRORS
11882
11883 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11884 installed software in a non-standard prefix.
11885
11886 Alternatively, you may set the environment variables ATK_CFLAGS
11887 and ATK_LIBS to avoid the need to call pkg-config.
11888 See the pkg-config man page for more details." "$LINENO" 5
11889 elif test $pkg_failed = untried; then
11890         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11891 $as_echo "no" >&6; }
11892         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11894 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11895 is in your PATH or set the PKG_CONFIG environment variable to the full
11896 path to pkg-config.
11897
11898 Alternatively, you may set the environment variables ATK_CFLAGS
11899 and ATK_LIBS to avoid the need to call pkg-config.
11900 See the pkg-config man page for more details.
11901
11902 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11903 See \`config.log' for more details" "$LINENO" 5; }
11904 else
11905         ATK_CFLAGS=$pkg_cv_ATK_CFLAGS
11906         ATK_LIBS=$pkg_cv_ATK_LIBS
11907         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11908 $as_echo "yes" >&6; }
11909
11910 fi
11911
11912
11913
11914
11915 pkg_failed=no
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATSPI" >&5
11917 $as_echo_n "checking for ATSPI... " >&6; }
11918
11919 if test -n "$ATSPI_CFLAGS"; then
11920     pkg_cv_ATSPI_CFLAGS="$ATSPI_CFLAGS"
11921  elif test -n "$PKG_CONFIG"; then
11922     if test -n "$PKG_CONFIG" && \
11923     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2 >= 2.1.4\""; } >&5
11924   ($PKG_CONFIG --exists --print-errors "atspi-2 >= 2.1.4") 2>&5
11925   ac_status=$?
11926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11927   test $ac_status = 0; }; then
11928   pkg_cv_ATSPI_CFLAGS=`$PKG_CONFIG --cflags "atspi-2 >= 2.1.4" 2>/dev/null`
11929 else
11930   pkg_failed=yes
11931 fi
11932  else
11933     pkg_failed=untried
11934 fi
11935 if test -n "$ATSPI_LIBS"; then
11936     pkg_cv_ATSPI_LIBS="$ATSPI_LIBS"
11937  elif test -n "$PKG_CONFIG"; then
11938     if test -n "$PKG_CONFIG" && \
11939     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2 >= 2.1.4\""; } >&5
11940   ($PKG_CONFIG --exists --print-errors "atspi-2 >= 2.1.4") 2>&5
11941   ac_status=$?
11942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11943   test $ac_status = 0; }; then
11944   pkg_cv_ATSPI_LIBS=`$PKG_CONFIG --libs "atspi-2 >= 2.1.4" 2>/dev/null`
11945 else
11946   pkg_failed=yes
11947 fi
11948  else
11949     pkg_failed=untried
11950 fi
11951
11952
11953
11954 if test $pkg_failed = yes; then
11955         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11956 $as_echo "no" >&6; }
11957
11958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11959         _pkg_short_errors_supported=yes
11960 else
11961         _pkg_short_errors_supported=no
11962 fi
11963         if test $_pkg_short_errors_supported = yes; then
11964                 ATSPI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "atspi-2 >= 2.1.4" 2>&1`
11965         else
11966                 ATSPI_PKG_ERRORS=`$PKG_CONFIG --print-errors "atspi-2 >= 2.1.4" 2>&1`
11967         fi
11968         # Put the nasty error message in config.log where it belongs
11969         echo "$ATSPI_PKG_ERRORS" >&5
11970
11971         as_fn_error $? "Package requirements (atspi-2 >= 2.1.4) were not met:
11972
11973 $ATSPI_PKG_ERRORS
11974
11975 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11976 installed software in a non-standard prefix.
11977
11978 Alternatively, you may set the environment variables ATSPI_CFLAGS
11979 and ATSPI_LIBS to avoid the need to call pkg-config.
11980 See the pkg-config man page for more details." "$LINENO" 5
11981 elif test $pkg_failed = untried; then
11982         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983 $as_echo "no" >&6; }
11984         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11986 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11987 is in your PATH or set the PKG_CONFIG environment variable to the full
11988 path to pkg-config.
11989
11990 Alternatively, you may set the environment variables ATSPI_CFLAGS
11991 and ATSPI_LIBS to avoid the need to call pkg-config.
11992 See the pkg-config man page for more details.
11993
11994 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11995 See \`config.log' for more details" "$LINENO" 5; }
11996 else
11997         ATSPI_CFLAGS=$pkg_cv_ATSPI_CFLAGS
11998         ATSPI_LIBS=$pkg_cv_ATSPI_LIBS
11999         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12000 $as_echo "yes" >&6; }
12001
12002 fi
12003
12004
12005
12006
12007
12008   # Check whether --enable-schemas-compile was given.
12009 if test "${enable_schemas_compile+set}" = set; then :
12010   enableval=$enable_schemas_compile; case ${enableval} in
12011                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
12012                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12013                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12014                  esac
12015 fi
12016
12017
12018
12019
12020
12021
12022
12023
12024 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12025         if test -n "$ac_tool_prefix"; then
12026   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12027 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12029 $as_echo_n "checking for $ac_word... " >&6; }
12030 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12031   $as_echo_n "(cached) " >&6
12032 else
12033   case $PKG_CONFIG in
12034   [\\/]* | ?:[\\/]*)
12035   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12036   ;;
12037   *)
12038   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12039 for as_dir in $PATH
12040 do
12041   IFS=$as_save_IFS
12042   test -z "$as_dir" && as_dir=.
12043     for ac_exec_ext in '' $ac_executable_extensions; do
12044   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12045     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12047     break 2
12048   fi
12049 done
12050   done
12051 IFS=$as_save_IFS
12052
12053   ;;
12054 esac
12055 fi
12056 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12057 if test -n "$PKG_CONFIG"; then
12058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12059 $as_echo "$PKG_CONFIG" >&6; }
12060 else
12061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12062 $as_echo "no" >&6; }
12063 fi
12064
12065
12066 fi
12067 if test -z "$ac_cv_path_PKG_CONFIG"; then
12068   ac_pt_PKG_CONFIG=$PKG_CONFIG
12069   # Extract the first word of "pkg-config", so it can be a program name with args.
12070 set dummy pkg-config; ac_word=$2
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12072 $as_echo_n "checking for $ac_word... " >&6; }
12073 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12074   $as_echo_n "(cached) " >&6
12075 else
12076   case $ac_pt_PKG_CONFIG in
12077   [\\/]* | ?:[\\/]*)
12078   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12079   ;;
12080   *)
12081   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12083 do
12084   IFS=$as_save_IFS
12085   test -z "$as_dir" && as_dir=.
12086     for ac_exec_ext in '' $ac_executable_extensions; do
12087   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12088     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12090     break 2
12091   fi
12092 done
12093   done
12094 IFS=$as_save_IFS
12095
12096   ;;
12097 esac
12098 fi
12099 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12100 if test -n "$ac_pt_PKG_CONFIG"; then
12101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12102 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12103 else
12104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105 $as_echo "no" >&6; }
12106 fi
12107
12108   if test "x$ac_pt_PKG_CONFIG" = x; then
12109     PKG_CONFIG=""
12110   else
12111     case $cross_compiling:$ac_tool_warned in
12112 yes:)
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12115 ac_tool_warned=yes ;;
12116 esac
12117     PKG_CONFIG=$ac_pt_PKG_CONFIG
12118   fi
12119 else
12120   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12121 fi
12122
12123 fi
12124 if test -n "$PKG_CONFIG"; then
12125         _pkg_min_version=0.16
12126         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12127 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12128         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12129                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12130 $as_echo "yes" >&6; }
12131         else
12132                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12134                 PKG_CONFIG=""
12135         fi
12136 fi
12137   gsettingsschemadir=${datadir}/glib-2.0/schemas
12138
12139   if test x$cross_compiling != xyes; then
12140     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12141   else
12142     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12143 set dummy glib-compile-schemas; ac_word=$2
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12145 $as_echo_n "checking for $ac_word... " >&6; }
12146 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12147   $as_echo_n "(cached) " >&6
12148 else
12149   case $GLIB_COMPILE_SCHEMAS in
12150   [\\/]* | ?:[\\/]*)
12151   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12152   ;;
12153   *)
12154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12155 for as_dir in $PATH
12156 do
12157   IFS=$as_save_IFS
12158   test -z "$as_dir" && as_dir=.
12159     for ac_exec_ext in '' $ac_executable_extensions; do
12160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12161     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
12162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12163     break 2
12164   fi
12165 done
12166   done
12167 IFS=$as_save_IFS
12168
12169   ;;
12170 esac
12171 fi
12172 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
12173 if test -n "$GLIB_COMPILE_SCHEMAS"; then
12174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
12175 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
12176 else
12177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12178 $as_echo "no" >&6; }
12179 fi
12180
12181
12182   fi
12183
12184   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
12185     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
12186   else
12187     :
12188   fi
12189
12190   GSETTINGS_RULES='
12191 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
12192
12193 mostlyclean-am: clean-gsettings-schemas
12194
12195 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
12196
12197 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
12198         $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
12199
12200 all-am: $(gsettings_SCHEMAS:.xml=.valid)
12201 uninstall-am: uninstall-gsettings-schemas
12202 install-data-am: install-gsettings-schemas
12203
12204 .SECONDARY: $(gsettings_SCHEMAS)
12205
12206 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
12207         @$(NORMAL_INSTALL)
12208         if test -n "$^"; then \
12209                 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
12210                 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
12211                 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
12212         fi
12213
12214 uninstall-gsettings-schemas:
12215         @$(NORMAL_UNINSTALL)
12216         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
12217         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
12218         test -n "$$files" || exit 0; \
12219         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
12220         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
12221         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
12222
12223 clean-gsettings-schemas:
12224         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
12225
12226 ifdef gsettings_ENUM_NAMESPACE
12227 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
12228         $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
12229 endif
12230 '
12231
12232
12233
12234
12235
12236
12237
12238 # Check whether --enable-p2p was given.
12239 if test "${enable_p2p+set}" = set; then :
12240   enableval=$enable_p2p; enable_p2p="$enableval"
12241 else
12242   enable_p2p=yes
12243 fi
12244
12245
12246 #libtool option to strip symbols starting with cspi
12247 LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^cspi].*"'
12248
12249
12250 # Extra libraries for sockets added by Willie Walker
12251 # based upon how SunStudio libraries work.
12252 #
12253 if test "$GCC" = yes; then
12254     EXTRA_SOCKET_LIBS=""
12255 else
12256     EXTRA_SOCKET_LIBS="-lsocket -lnsl"
12257 fi
12258
12259
12260 orig_CPPFLAGS=$CPPFLAGS
12261 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12262                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of char" >&5
12263 $as_echo_n "checking alignment of char... " >&6; }
12264         if ${ac_cv_alignof_char+:} false; then :
12265   $as_echo_n "(cached) " >&6
12266 else
12267   if test "$cross_compiling" = yes; then :
12268   ac_cv_alignof_char=0
12269 else
12270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h.  */
12272  #include <stdio.h>
12273                           #include <stdlib.h>
12274                           #define DBUS_API_SUBJECT_TO_CHANGE
12275                           #include <dbus/dbus.h>
12276                         typedef struct {char s1;} dbind_struct;
12277                         typedef void *dbind_pointer;
12278                         struct test {char s1; char s2;};
12279                         main()
12280                         {
12281                         FILE *f=fopen("conftestval", "w");
12282                         if (!f) exit(1);
12283                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
12284                         exit(0);
12285                         }
12286 _ACEOF
12287 if ac_fn_c_try_run "$LINENO"; then :
12288   ac_cv_alignof_char=`cat conftestval`
12289 else
12290   ac_cv_alignof_char=0
12291 fi
12292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12293   conftest.$ac_objext conftest.beam conftest.$ac_ext
12294 fi
12295
12296
12297 fi
12298         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_char" >&5
12299 $as_echo "$ac_cv_alignof_char" >&6; }
12300         if test "$ac_cv_alignof_char" = "0" ; then
12301                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12302         fi
12303         DBIND_ALIGNOF_CHAR=$ac_cv_alignof_char
12304
12305
12306                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_bool_t" >&5
12307 $as_echo_n "checking alignment of dbus_bool_t... " >&6; }
12308         if ${ac_cv_alignof_dbus_bool_t+:} false; then :
12309   $as_echo_n "(cached) " >&6
12310 else
12311   if test "$cross_compiling" = yes; then :
12312   ac_cv_alignof_dbus_bool_t=0
12313 else
12314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h.  */
12316  #include <stdio.h>
12317                           #include <stdlib.h>
12318                           #define DBUS_API_SUBJECT_TO_CHANGE
12319                           #include <dbus/dbus.h>
12320                         typedef struct {char s1;} dbind_struct;
12321                         typedef void *dbind_pointer;
12322                         struct test {char s1; dbus_bool_t s2;};
12323                         main()
12324                         {
12325                         FILE *f=fopen("conftestval", "w");
12326                         if (!f) exit(1);
12327                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
12328                         exit(0);
12329                         }
12330 _ACEOF
12331 if ac_fn_c_try_run "$LINENO"; then :
12332   ac_cv_alignof_dbus_bool_t=`cat conftestval`
12333 else
12334   ac_cv_alignof_dbus_bool_t=0
12335 fi
12336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12337   conftest.$ac_objext conftest.beam conftest.$ac_ext
12338 fi
12339
12340
12341 fi
12342         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_bool_t" >&5
12343 $as_echo "$ac_cv_alignof_dbus_bool_t" >&6; }
12344         if test "$ac_cv_alignof_dbus_bool_t" = "0" ; then
12345                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12346         fi
12347         DBIND_ALIGNOF_DBUS_BOOL_T=$ac_cv_alignof_dbus_bool_t
12348
12349
12350                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int16_t" >&5
12351 $as_echo_n "checking alignment of dbus_int16_t... " >&6; }
12352         if ${ac_cv_alignof_dbus_int16_t+:} false; then :
12353   $as_echo_n "(cached) " >&6
12354 else
12355   if test "$cross_compiling" = yes; then :
12356   ac_cv_alignof_dbus_int16_t=0
12357 else
12358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h.  */
12360  #include <stdio.h>
12361                           #include <stdlib.h>
12362                           #define DBUS_API_SUBJECT_TO_CHANGE
12363                           #include <dbus/dbus.h>
12364                         typedef struct {char s1;} dbind_struct;
12365                         typedef void *dbind_pointer;
12366                         struct test {char s1; dbus_int16_t s2;};
12367                         main()
12368                         {
12369                         FILE *f=fopen("conftestval", "w");
12370                         if (!f) exit(1);
12371                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
12372                         exit(0);
12373                         }
12374 _ACEOF
12375 if ac_fn_c_try_run "$LINENO"; then :
12376   ac_cv_alignof_dbus_int16_t=`cat conftestval`
12377 else
12378   ac_cv_alignof_dbus_int16_t=0
12379 fi
12380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12381   conftest.$ac_objext conftest.beam conftest.$ac_ext
12382 fi
12383
12384
12385 fi
12386         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int16_t" >&5
12387 $as_echo "$ac_cv_alignof_dbus_int16_t" >&6; }
12388         if test "$ac_cv_alignof_dbus_int16_t" = "0" ; then
12389                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12390         fi
12391         DBIND_ALIGNOF_DBUS_INT16_T=$ac_cv_alignof_dbus_int16_t
12392
12393
12394                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int32_t" >&5
12395 $as_echo_n "checking alignment of dbus_int32_t... " >&6; }
12396         if ${ac_cv_alignof_dbus_int32_t+:} false; then :
12397   $as_echo_n "(cached) " >&6
12398 else
12399   if test "$cross_compiling" = yes; then :
12400   ac_cv_alignof_dbus_int32_t=0
12401 else
12402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h.  */
12404  #include <stdio.h>
12405                           #include <stdlib.h>
12406                           #define DBUS_API_SUBJECT_TO_CHANGE
12407                           #include <dbus/dbus.h>
12408                         typedef struct {char s1;} dbind_struct;
12409                         typedef void *dbind_pointer;
12410                         struct test {char s1; dbus_int32_t s2;};
12411                         main()
12412                         {
12413                         FILE *f=fopen("conftestval", "w");
12414                         if (!f) exit(1);
12415                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
12416                         exit(0);
12417                         }
12418 _ACEOF
12419 if ac_fn_c_try_run "$LINENO"; then :
12420   ac_cv_alignof_dbus_int32_t=`cat conftestval`
12421 else
12422   ac_cv_alignof_dbus_int32_t=0
12423 fi
12424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12425   conftest.$ac_objext conftest.beam conftest.$ac_ext
12426 fi
12427
12428
12429 fi
12430         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int32_t" >&5
12431 $as_echo "$ac_cv_alignof_dbus_int32_t" >&6; }
12432         if test "$ac_cv_alignof_dbus_int32_t" = "0" ; then
12433                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12434         fi
12435         DBIND_ALIGNOF_DBUS_INT32_T=$ac_cv_alignof_dbus_int32_t
12436
12437
12438                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int64_t" >&5
12439 $as_echo_n "checking alignment of dbus_int64_t... " >&6; }
12440         if ${ac_cv_alignof_dbus_int64_t+:} false; then :
12441   $as_echo_n "(cached) " >&6
12442 else
12443   if test "$cross_compiling" = yes; then :
12444   ac_cv_alignof_dbus_int64_t=0
12445 else
12446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h.  */
12448  #include <stdio.h>
12449                           #include <stdlib.h>
12450                           #define DBUS_API_SUBJECT_TO_CHANGE
12451                           #include <dbus/dbus.h>
12452                         typedef struct {char s1;} dbind_struct;
12453                         typedef void *dbind_pointer;
12454                         struct test {char s1; dbus_int64_t s2;};
12455                         main()
12456                         {
12457                         FILE *f=fopen("conftestval", "w");
12458                         if (!f) exit(1);
12459                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
12460                         exit(0);
12461                         }
12462 _ACEOF
12463 if ac_fn_c_try_run "$LINENO"; then :
12464   ac_cv_alignof_dbus_int64_t=`cat conftestval`
12465 else
12466   ac_cv_alignof_dbus_int64_t=0
12467 fi
12468 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12469   conftest.$ac_objext conftest.beam conftest.$ac_ext
12470 fi
12471
12472
12473 fi
12474         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int64_t" >&5
12475 $as_echo "$ac_cv_alignof_dbus_int64_t" >&6; }
12476         if test "$ac_cv_alignof_dbus_int64_t" = "0" ; then
12477                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12478         fi
12479         DBIND_ALIGNOF_DBUS_INT64_T=$ac_cv_alignof_dbus_int64_t
12480
12481
12482                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
12483 $as_echo_n "checking alignment of double... " >&6; }
12484         if ${ac_cv_alignof_double+:} false; then :
12485   $as_echo_n "(cached) " >&6
12486 else
12487   if test "$cross_compiling" = yes; then :
12488   ac_cv_alignof_double=0
12489 else
12490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h.  */
12492  #include <stdio.h>
12493                           #include <stdlib.h>
12494                           #define DBUS_API_SUBJECT_TO_CHANGE
12495                           #include <dbus/dbus.h>
12496                         typedef struct {char s1;} dbind_struct;
12497                         typedef void *dbind_pointer;
12498                         struct test {char s1; double s2;};
12499                         main()
12500                         {
12501                         FILE *f=fopen("conftestval", "w");
12502                         if (!f) exit(1);
12503                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
12504                         exit(0);
12505                         }
12506 _ACEOF
12507 if ac_fn_c_try_run "$LINENO"; then :
12508   ac_cv_alignof_double=`cat conftestval`
12509 else
12510   ac_cv_alignof_double=0
12511 fi
12512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12513   conftest.$ac_objext conftest.beam conftest.$ac_ext
12514 fi
12515
12516
12517 fi
12518         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
12519 $as_echo "$ac_cv_alignof_double" >&6; }
12520         if test "$ac_cv_alignof_double" = "0" ; then
12521                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12522         fi
12523         DBIND_ALIGNOF_DOUBLE=$ac_cv_alignof_double
12524
12525
12526                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_pointer" >&5
12527 $as_echo_n "checking alignment of dbind_pointer... " >&6; }
12528         if ${ac_cv_alignof_dbind_pointer+:} false; then :
12529   $as_echo_n "(cached) " >&6
12530 else
12531   if test "$cross_compiling" = yes; then :
12532   ac_cv_alignof_dbind_pointer=0
12533 else
12534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h.  */
12536  #include <stdio.h>
12537                           #include <stdlib.h>
12538                           #define DBUS_API_SUBJECT_TO_CHANGE
12539                           #include <dbus/dbus.h>
12540                         typedef struct {char s1;} dbind_struct;
12541                         typedef void *dbind_pointer;
12542                         struct test {char s1; dbind_pointer s2;};
12543                         main()
12544                         {
12545                         FILE *f=fopen("conftestval", "w");
12546                         if (!f) exit(1);
12547                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
12548                         exit(0);
12549                         }
12550 _ACEOF
12551 if ac_fn_c_try_run "$LINENO"; then :
12552   ac_cv_alignof_dbind_pointer=`cat conftestval`
12553 else
12554   ac_cv_alignof_dbind_pointer=0
12555 fi
12556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12557   conftest.$ac_objext conftest.beam conftest.$ac_ext
12558 fi
12559
12560
12561 fi
12562         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_pointer" >&5
12563 $as_echo "$ac_cv_alignof_dbind_pointer" >&6; }
12564         if test "$ac_cv_alignof_dbind_pointer" = "0" ; then
12565                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12566         fi
12567         DBIND_ALIGNOF_DBIND_POINTER=$ac_cv_alignof_dbind_pointer
12568
12569
12570                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_struct" >&5
12571 $as_echo_n "checking alignment of dbind_struct... " >&6; }
12572         if ${ac_cv_alignof_dbind_struct+:} false; then :
12573   $as_echo_n "(cached) " >&6
12574 else
12575   if test "$cross_compiling" = yes; then :
12576   ac_cv_alignof_dbind_struct=0
12577 else
12578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h.  */
12580  #include <stdio.h>
12581                           #include <stdlib.h>
12582                           #define DBUS_API_SUBJECT_TO_CHANGE
12583                           #include <dbus/dbus.h>
12584                         typedef struct {char s1;} dbind_struct;
12585                         typedef void *dbind_pointer;
12586                         struct test {char s1; dbind_struct s2;};
12587                         main()
12588                         {
12589                         FILE *f=fopen("conftestval", "w");
12590                         if (!f) exit(1);
12591                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
12592                         exit(0);
12593                         }
12594 _ACEOF
12595 if ac_fn_c_try_run "$LINENO"; then :
12596   ac_cv_alignof_dbind_struct=`cat conftestval`
12597 else
12598   ac_cv_alignof_dbind_struct=0
12599 fi
12600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12601   conftest.$ac_objext conftest.beam conftest.$ac_ext
12602 fi
12603
12604
12605 fi
12606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_struct" >&5
12607 $as_echo "$ac_cv_alignof_dbind_struct" >&6; }
12608         if test "$ac_cv_alignof_dbind_struct" = "0" ; then
12609                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
12610         fi
12611         DBIND_ALIGNOF_DBIND_STRUCT=$ac_cv_alignof_dbind_struct
12612
12613
12614 CPPFLAGS=$orig_CPPFLAGS
12615
12616 if test "x$GCC" = xyes; then
12617         CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
12618 fi
12619
12620 if test "x$enable_p2p" = "xno"; then
12621         P2P_CFLAGS=-DDISABLE_P2P
12622 fi
12623
12624
12625
12626 ac_config_files="$ac_config_files Makefile atk-bridge-2.0.pc dbind/dbind-config.h dbind/Makefile droute/Makefile atk-adaptor/Makefile atk-adaptor/adaptors/Makefile atk-adaptor/gtk-2.0/Makefile schemas/Makefile"
12627
12628
12629 cat >confcache <<\_ACEOF
12630 # This file is a shell script that caches the results of configure
12631 # tests run on this system so they can be shared between configure
12632 # scripts and configure runs, see configure's option --config-cache.
12633 # It is not useful on other systems.  If it contains results you don't
12634 # want to keep, you may remove or edit it.
12635 #
12636 # config.status only pays attention to the cache file if you give it
12637 # the --recheck option to rerun configure.
12638 #
12639 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12640 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12641 # following values.
12642
12643 _ACEOF
12644
12645 # The following way of writing the cache mishandles newlines in values,
12646 # but we know of no workaround that is simple, portable, and efficient.
12647 # So, we kill variables containing newlines.
12648 # Ultrix sh set writes to stderr and can't be redirected directly,
12649 # and sets the high bit in the cache file unless we assign to the vars.
12650 (
12651   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12652     eval ac_val=\$$ac_var
12653     case $ac_val in #(
12654     *${as_nl}*)
12655       case $ac_var in #(
12656       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12657 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12658       esac
12659       case $ac_var in #(
12660       _ | IFS | as_nl) ;; #(
12661       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12662       *) { eval $ac_var=; unset $ac_var;} ;;
12663       esac ;;
12664     esac
12665   done
12666
12667   (set) 2>&1 |
12668     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12669     *${as_nl}ac_space=\ *)
12670       # `set' does not quote correctly, so add quotes: double-quote
12671       # substitution turns \\\\ into \\, and sed turns \\ into \.
12672       sed -n \
12673         "s/'/'\\\\''/g;
12674           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12675       ;; #(
12676     *)
12677       # `set' quotes correctly as required by POSIX, so do not add quotes.
12678       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12679       ;;
12680     esac |
12681     sort
12682 ) |
12683   sed '
12684      /^ac_cv_env_/b end
12685      t clear
12686      :clear
12687      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12688      t end
12689      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12690      :end' >>confcache
12691 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12692   if test -w "$cache_file"; then
12693     if test "x$cache_file" != "x/dev/null"; then
12694       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12695 $as_echo "$as_me: updating cache $cache_file" >&6;}
12696       if test ! -f "$cache_file" || test -h "$cache_file"; then
12697         cat confcache >"$cache_file"
12698       else
12699         case $cache_file in #(
12700         */* | ?:*)
12701           mv -f confcache "$cache_file"$$ &&
12702           mv -f "$cache_file"$$ "$cache_file" ;; #(
12703         *)
12704           mv -f confcache "$cache_file" ;;
12705         esac
12706       fi
12707     fi
12708   else
12709     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12710 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12711   fi
12712 fi
12713 rm -f confcache
12714
12715 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12716 # Let make expand exec_prefix.
12717 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12718
12719 DEFS=-DHAVE_CONFIG_H
12720
12721 ac_libobjs=
12722 ac_ltlibobjs=
12723 U=
12724 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12725   # 1. Remove the extension, and $U if already installed.
12726   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12727   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12728   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12729   #    will be set to the directory where LIBOBJS objects are built.
12730   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12731   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12732 done
12733 LIBOBJS=$ac_libobjs
12734
12735 LTLIBOBJS=$ac_ltlibobjs
12736
12737
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12739 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12740    if test -n "$am_sleep_pid"; then
12741      # Hide warnings about reused PIDs.
12742      wait $am_sleep_pid 2>/dev/null
12743    fi
12744    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12745 $as_echo "done" >&6; }
12746  if test -n "$EXEEXT"; then
12747   am__EXEEXT_TRUE=
12748   am__EXEEXT_FALSE='#'
12749 else
12750   am__EXEEXT_TRUE='#'
12751   am__EXEEXT_FALSE=
12752 fi
12753
12754 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12755   as_fn_error $? "conditional \"AMDEP\" was never defined.
12756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12757 fi
12758 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12759   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12761 fi
12762
12763 : "${CONFIG_STATUS=./config.status}"
12764 ac_write_fail=0
12765 ac_clean_files_save=$ac_clean_files
12766 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12768 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12769 as_write_fail=0
12770 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12771 #! $SHELL
12772 # Generated by $as_me.
12773 # Run this file to recreate the current configuration.
12774 # Compiler output produced by configure, useful for debugging
12775 # configure, is in config.log if it exists.
12776
12777 debug=false
12778 ac_cs_recheck=false
12779 ac_cs_silent=false
12780
12781 SHELL=\${CONFIG_SHELL-$SHELL}
12782 export SHELL
12783 _ASEOF
12784 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12785 ## -------------------- ##
12786 ## M4sh Initialization. ##
12787 ## -------------------- ##
12788
12789 # Be more Bourne compatible
12790 DUALCASE=1; export DUALCASE # for MKS sh
12791 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12792   emulate sh
12793   NULLCMD=:
12794   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12795   # is contrary to our usage.  Disable this feature.
12796   alias -g '${1+"$@"}'='"$@"'
12797   setopt NO_GLOB_SUBST
12798 else
12799   case `(set -o) 2>/dev/null` in #(
12800   *posix*) :
12801     set -o posix ;; #(
12802   *) :
12803      ;;
12804 esac
12805 fi
12806
12807
12808 as_nl='
12809 '
12810 export as_nl
12811 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12812 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12813 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12815 # Prefer a ksh shell builtin over an external printf program on Solaris,
12816 # but without wasting forks for bash or zsh.
12817 if test -z "$BASH_VERSION$ZSH_VERSION" \
12818     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12819   as_echo='print -r --'
12820   as_echo_n='print -rn --'
12821 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12822   as_echo='printf %s\n'
12823   as_echo_n='printf %s'
12824 else
12825   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12826     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12827     as_echo_n='/usr/ucb/echo -n'
12828   else
12829     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12830     as_echo_n_body='eval
12831       arg=$1;
12832       case $arg in #(
12833       *"$as_nl"*)
12834         expr "X$arg" : "X\\(.*\\)$as_nl";
12835         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12836       esac;
12837       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12838     '
12839     export as_echo_n_body
12840     as_echo_n='sh -c $as_echo_n_body as_echo'
12841   fi
12842   export as_echo_body
12843   as_echo='sh -c $as_echo_body as_echo'
12844 fi
12845
12846 # The user is always right.
12847 if test "${PATH_SEPARATOR+set}" != set; then
12848   PATH_SEPARATOR=:
12849   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12850     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12851       PATH_SEPARATOR=';'
12852   }
12853 fi
12854
12855
12856 # IFS
12857 # We need space, tab and new line, in precisely that order.  Quoting is
12858 # there to prevent editors from complaining about space-tab.
12859 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12860 # splitting by setting IFS to empty value.)
12861 IFS=" ""        $as_nl"
12862
12863 # Find who we are.  Look in the path if we contain no directory separator.
12864 as_myself=
12865 case $0 in #((
12866   *[\\/]* ) as_myself=$0 ;;
12867   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12868 for as_dir in $PATH
12869 do
12870   IFS=$as_save_IFS
12871   test -z "$as_dir" && as_dir=.
12872     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12873   done
12874 IFS=$as_save_IFS
12875
12876      ;;
12877 esac
12878 # We did not find ourselves, most probably we were run as `sh COMMAND'
12879 # in which case we are not to be found in the path.
12880 if test "x$as_myself" = x; then
12881   as_myself=$0
12882 fi
12883 if test ! -f "$as_myself"; then
12884   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12885   exit 1
12886 fi
12887
12888 # Unset variables that we do not need and which cause bugs (e.g. in
12889 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12890 # suppresses any "Segmentation fault" message there.  '((' could
12891 # trigger a bug in pdksh 5.2.14.
12892 for as_var in BASH_ENV ENV MAIL MAILPATH
12893 do eval test x\${$as_var+set} = xset \
12894   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12895 done
12896 PS1='$ '
12897 PS2='> '
12898 PS4='+ '
12899
12900 # NLS nuisances.
12901 LC_ALL=C
12902 export LC_ALL
12903 LANGUAGE=C
12904 export LANGUAGE
12905
12906 # CDPATH.
12907 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12908
12909
12910 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12911 # ----------------------------------------
12912 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12913 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12914 # script with STATUS, using 1 if that was 0.
12915 as_fn_error ()
12916 {
12917   as_status=$1; test $as_status -eq 0 && as_status=1
12918   if test "$4"; then
12919     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12920     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12921   fi
12922   $as_echo "$as_me: error: $2" >&2
12923   as_fn_exit $as_status
12924 } # as_fn_error
12925
12926
12927 # as_fn_set_status STATUS
12928 # -----------------------
12929 # Set $? to STATUS, without forking.
12930 as_fn_set_status ()
12931 {
12932   return $1
12933 } # as_fn_set_status
12934
12935 # as_fn_exit STATUS
12936 # -----------------
12937 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12938 as_fn_exit ()
12939 {
12940   set +e
12941   as_fn_set_status $1
12942   exit $1
12943 } # as_fn_exit
12944
12945 # as_fn_unset VAR
12946 # ---------------
12947 # Portably unset VAR.
12948 as_fn_unset ()
12949 {
12950   { eval $1=; unset $1;}
12951 }
12952 as_unset=as_fn_unset
12953 # as_fn_append VAR VALUE
12954 # ----------------------
12955 # Append the text in VALUE to the end of the definition contained in VAR. Take
12956 # advantage of any shell optimizations that allow amortized linear growth over
12957 # repeated appends, instead of the typical quadratic growth present in naive
12958 # implementations.
12959 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12960   eval 'as_fn_append ()
12961   {
12962     eval $1+=\$2
12963   }'
12964 else
12965   as_fn_append ()
12966   {
12967     eval $1=\$$1\$2
12968   }
12969 fi # as_fn_append
12970
12971 # as_fn_arith ARG...
12972 # ------------------
12973 # Perform arithmetic evaluation on the ARGs, and store the result in the
12974 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12975 # must be portable across $(()) and expr.
12976 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12977   eval 'as_fn_arith ()
12978   {
12979     as_val=$(( $* ))
12980   }'
12981 else
12982   as_fn_arith ()
12983   {
12984     as_val=`expr "$@" || test $? -eq 1`
12985   }
12986 fi # as_fn_arith
12987
12988
12989 if expr a : '\(a\)' >/dev/null 2>&1 &&
12990    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12991   as_expr=expr
12992 else
12993   as_expr=false
12994 fi
12995
12996 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12997   as_basename=basename
12998 else
12999   as_basename=false
13000 fi
13001
13002 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13003   as_dirname=dirname
13004 else
13005   as_dirname=false
13006 fi
13007
13008 as_me=`$as_basename -- "$0" ||
13009 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13010          X"$0" : 'X\(//\)$' \| \
13011          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13012 $as_echo X/"$0" |
13013     sed '/^.*\/\([^/][^/]*\)\/*$/{
13014             s//\1/
13015             q
13016           }
13017           /^X\/\(\/\/\)$/{
13018             s//\1/
13019             q
13020           }
13021           /^X\/\(\/\).*/{
13022             s//\1/
13023             q
13024           }
13025           s/.*/./; q'`
13026
13027 # Avoid depending upon Character Ranges.
13028 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13029 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13030 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13031 as_cr_digits='0123456789'
13032 as_cr_alnum=$as_cr_Letters$as_cr_digits
13033
13034 ECHO_C= ECHO_N= ECHO_T=
13035 case `echo -n x` in #(((((
13036 -n*)
13037   case `echo 'xy\c'` in
13038   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13039   xy)  ECHO_C='\c';;
13040   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13041        ECHO_T=' ';;
13042   esac;;
13043 *)
13044   ECHO_N='-n';;
13045 esac
13046
13047 rm -f conf$$ conf$$.exe conf$$.file
13048 if test -d conf$$.dir; then
13049   rm -f conf$$.dir/conf$$.file
13050 else
13051   rm -f conf$$.dir
13052   mkdir conf$$.dir 2>/dev/null
13053 fi
13054 if (echo >conf$$.file) 2>/dev/null; then
13055   if ln -s conf$$.file conf$$ 2>/dev/null; then
13056     as_ln_s='ln -s'
13057     # ... but there are two gotchas:
13058     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13059     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13060     # In both cases, we have to default to `cp -pR'.
13061     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13062       as_ln_s='cp -pR'
13063   elif ln conf$$.file conf$$ 2>/dev/null; then
13064     as_ln_s=ln
13065   else
13066     as_ln_s='cp -pR'
13067   fi
13068 else
13069   as_ln_s='cp -pR'
13070 fi
13071 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13072 rmdir conf$$.dir 2>/dev/null
13073
13074
13075 # as_fn_mkdir_p
13076 # -------------
13077 # Create "$as_dir" as a directory, including parents if necessary.
13078 as_fn_mkdir_p ()
13079 {
13080
13081   case $as_dir in #(
13082   -*) as_dir=./$as_dir;;
13083   esac
13084   test -d "$as_dir" || eval $as_mkdir_p || {
13085     as_dirs=
13086     while :; do
13087       case $as_dir in #(
13088       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13089       *) as_qdir=$as_dir;;
13090       esac
13091       as_dirs="'$as_qdir' $as_dirs"
13092       as_dir=`$as_dirname -- "$as_dir" ||
13093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13094          X"$as_dir" : 'X\(//\)[^/]' \| \
13095          X"$as_dir" : 'X\(//\)$' \| \
13096          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13097 $as_echo X"$as_dir" |
13098     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13099             s//\1/
13100             q
13101           }
13102           /^X\(\/\/\)[^/].*/{
13103             s//\1/
13104             q
13105           }
13106           /^X\(\/\/\)$/{
13107             s//\1/
13108             q
13109           }
13110           /^X\(\/\).*/{
13111             s//\1/
13112             q
13113           }
13114           s/.*/./; q'`
13115       test -d "$as_dir" && break
13116     done
13117     test -z "$as_dirs" || eval "mkdir $as_dirs"
13118   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13119
13120
13121 } # as_fn_mkdir_p
13122 if mkdir -p . 2>/dev/null; then
13123   as_mkdir_p='mkdir -p "$as_dir"'
13124 else
13125   test -d ./-p && rmdir ./-p
13126   as_mkdir_p=false
13127 fi
13128
13129
13130 # as_fn_executable_p FILE
13131 # -----------------------
13132 # Test if FILE is an executable regular file.
13133 as_fn_executable_p ()
13134 {
13135   test -f "$1" && test -x "$1"
13136 } # as_fn_executable_p
13137 as_test_x='test -x'
13138 as_executable_p=as_fn_executable_p
13139
13140 # Sed expression to map a string onto a valid CPP name.
13141 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13142
13143 # Sed expression to map a string onto a valid variable name.
13144 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13145
13146
13147 exec 6>&1
13148 ## ----------------------------------- ##
13149 ## Main body of $CONFIG_STATUS script. ##
13150 ## ----------------------------------- ##
13151 _ASEOF
13152 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13153
13154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13155 # Save the log message, to keep $0 and so on meaningful, and to
13156 # report actual input values of CONFIG_FILES etc. instead of their
13157 # values after options handling.
13158 ac_log="
13159 This file was extended by at-spi2-atk $as_me 2.5.92, which was
13160 generated by GNU Autoconf 2.69.  Invocation command line was
13161
13162   CONFIG_FILES    = $CONFIG_FILES
13163   CONFIG_HEADERS  = $CONFIG_HEADERS
13164   CONFIG_LINKS    = $CONFIG_LINKS
13165   CONFIG_COMMANDS = $CONFIG_COMMANDS
13166   $ $0 $@
13167
13168 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13169 "
13170
13171 _ACEOF
13172
13173 case $ac_config_files in *"
13174 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13175 esac
13176
13177 case $ac_config_headers in *"
13178 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13179 esac
13180
13181
13182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13183 # Files that config.status was made for.
13184 config_files="$ac_config_files"
13185 config_headers="$ac_config_headers"
13186 config_commands="$ac_config_commands"
13187
13188 _ACEOF
13189
13190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13191 ac_cs_usage="\
13192 \`$as_me' instantiates files and other configuration actions
13193 from templates according to the current configuration.  Unless the files
13194 and actions are specified as TAGs, all are instantiated by default.
13195
13196 Usage: $0 [OPTION]... [TAG]...
13197
13198   -h, --help       print this help, then exit
13199   -V, --version    print version number and configuration settings, then exit
13200       --config     print configuration, then exit
13201   -q, --quiet, --silent
13202                    do not print progress messages
13203   -d, --debug      don't remove temporary files
13204       --recheck    update $as_me by reconfiguring in the same conditions
13205       --file=FILE[:TEMPLATE]
13206                    instantiate the configuration file FILE
13207       --header=FILE[:TEMPLATE]
13208                    instantiate the configuration header FILE
13209
13210 Configuration files:
13211 $config_files
13212
13213 Configuration headers:
13214 $config_headers
13215
13216 Configuration commands:
13217 $config_commands
13218
13219 Report bugs to <accessibility-atspi@lists.linux-foundation.org>."
13220
13221 _ACEOF
13222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13223 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13224 ac_cs_version="\\
13225 at-spi2-atk config.status 2.5.92
13226 configured by $0, generated by GNU Autoconf 2.69,
13227   with options \\"\$ac_cs_config\\"
13228
13229 Copyright (C) 2012 Free Software Foundation, Inc.
13230 This config.status script is free software; the Free Software Foundation
13231 gives unlimited permission to copy, distribute and modify it."
13232
13233 ac_pwd='$ac_pwd'
13234 srcdir='$srcdir'
13235 INSTALL='$INSTALL'
13236 MKDIR_P='$MKDIR_P'
13237 AWK='$AWK'
13238 test -n "\$AWK" || AWK=awk
13239 _ACEOF
13240
13241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13242 # The default lists apply if the user does not specify any file.
13243 ac_need_defaults=:
13244 while test $# != 0
13245 do
13246   case $1 in
13247   --*=?*)
13248     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13249     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13250     ac_shift=:
13251     ;;
13252   --*=)
13253     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13254     ac_optarg=
13255     ac_shift=:
13256     ;;
13257   *)
13258     ac_option=$1
13259     ac_optarg=$2
13260     ac_shift=shift
13261     ;;
13262   esac
13263
13264   case $ac_option in
13265   # Handling of the options.
13266   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13267     ac_cs_recheck=: ;;
13268   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13269     $as_echo "$ac_cs_version"; exit ;;
13270   --config | --confi | --conf | --con | --co | --c )
13271     $as_echo "$ac_cs_config"; exit ;;
13272   --debug | --debu | --deb | --de | --d | -d )
13273     debug=: ;;
13274   --file | --fil | --fi | --f )
13275     $ac_shift
13276     case $ac_optarg in
13277     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13278     '') as_fn_error $? "missing file argument" ;;
13279     esac
13280     as_fn_append CONFIG_FILES " '$ac_optarg'"
13281     ac_need_defaults=false;;
13282   --header | --heade | --head | --hea )
13283     $ac_shift
13284     case $ac_optarg in
13285     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13286     esac
13287     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13288     ac_need_defaults=false;;
13289   --he | --h)
13290     # Conflict between --help and --header
13291     as_fn_error $? "ambiguous option: \`$1'
13292 Try \`$0 --help' for more information.";;
13293   --help | --hel | -h )
13294     $as_echo "$ac_cs_usage"; exit ;;
13295   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13296   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13297     ac_cs_silent=: ;;
13298
13299   # This is an error.
13300   -*) as_fn_error $? "unrecognized option: \`$1'
13301 Try \`$0 --help' for more information." ;;
13302
13303   *) as_fn_append ac_config_targets " $1"
13304      ac_need_defaults=false ;;
13305
13306   esac
13307   shift
13308 done
13309
13310 ac_configure_extra_args=
13311
13312 if $ac_cs_silent; then
13313   exec 6>/dev/null
13314   ac_configure_extra_args="$ac_configure_extra_args --silent"
13315 fi
13316
13317 _ACEOF
13318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13319 if \$ac_cs_recheck; then
13320   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13321   shift
13322   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13323   CONFIG_SHELL='$SHELL'
13324   export CONFIG_SHELL
13325   exec "\$@"
13326 fi
13327
13328 _ACEOF
13329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13330 exec 5>>config.log
13331 {
13332   echo
13333   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13334 ## Running $as_me. ##
13335 _ASBOX
13336   $as_echo "$ac_log"
13337 } >&5
13338
13339 _ACEOF
13340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13341 #
13342 # INIT-COMMANDS
13343 #
13344 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13345
13346
13347 # The HP-UX ksh and POSIX shell print the target directory to stdout
13348 # if CDPATH is set.
13349 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13350
13351 sed_quote_subst='$sed_quote_subst'
13352 double_quote_subst='$double_quote_subst'
13353 delay_variable_subst='$delay_variable_subst'
13354 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13355 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13356 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13357 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13358 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13359 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13360 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13361 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13362 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13363 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13364 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13365 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13366 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13367 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13368 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13369 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13370 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13371 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13372 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13373 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13374 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13375 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13376 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13377 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13378 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13379 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13380 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13381 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13382 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13383 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13384 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13385 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13386 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13387 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13388 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13389 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13390 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13391 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13392 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13393 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13394 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13395 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13396 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13397 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13398 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13399 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13400 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13401 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13402 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13403 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13404 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13405 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13406 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13407 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13408 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13409 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13410 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"`'
13411 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13412 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13413 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13414 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13415 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13416 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13417 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13418 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13419 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13420 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13421 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13422 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13423 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13424 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13425 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13426 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13427 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13428 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13429 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13430 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13431 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13432 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13433 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13434 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13435 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13436 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13437 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13438 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13439 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13440 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13441 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13442 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13443 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13444 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13445 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13446 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13447 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13448 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13449 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13450 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13451 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13452 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13453 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13454 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13455 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13456 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13457 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13458 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13459 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13460 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13461 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13462 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13463 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13464 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13465 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13466 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13467 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13468 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13469 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13470 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13471 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13472 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13473 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13474 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13475 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13476 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13477 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13478 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13479 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13480 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13481 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13482 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13483 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13484
13485 LTCC='$LTCC'
13486 LTCFLAGS='$LTCFLAGS'
13487 compiler='$compiler_DEFAULT'
13488
13489 # A function that is used when there is no print builtin or printf.
13490 func_fallback_echo ()
13491 {
13492   eval 'cat <<_LTECHO_EOF
13493 \$1
13494 _LTECHO_EOF'
13495 }
13496
13497 # Quote evaled strings.
13498 for var in SHELL \
13499 ECHO \
13500 PATH_SEPARATOR \
13501 SED \
13502 GREP \
13503 EGREP \
13504 FGREP \
13505 LD \
13506 NM \
13507 LN_S \
13508 lt_SP2NL \
13509 lt_NL2SP \
13510 reload_flag \
13511 OBJDUMP \
13512 deplibs_check_method \
13513 file_magic_cmd \
13514 file_magic_glob \
13515 want_nocaseglob \
13516 DLLTOOL \
13517 sharedlib_from_linklib_cmd \
13518 AR \
13519 AR_FLAGS \
13520 archiver_list_spec \
13521 STRIP \
13522 RANLIB \
13523 CC \
13524 CFLAGS \
13525 compiler \
13526 lt_cv_sys_global_symbol_pipe \
13527 lt_cv_sys_global_symbol_to_cdecl \
13528 lt_cv_sys_global_symbol_to_c_name_address \
13529 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13530 nm_file_list_spec \
13531 lt_prog_compiler_no_builtin_flag \
13532 lt_prog_compiler_pic \
13533 lt_prog_compiler_wl \
13534 lt_prog_compiler_static \
13535 lt_cv_prog_compiler_c_o \
13536 need_locks \
13537 MANIFEST_TOOL \
13538 DSYMUTIL \
13539 NMEDIT \
13540 LIPO \
13541 OTOOL \
13542 OTOOL64 \
13543 shrext_cmds \
13544 export_dynamic_flag_spec \
13545 whole_archive_flag_spec \
13546 compiler_needs_object \
13547 with_gnu_ld \
13548 allow_undefined_flag \
13549 no_undefined_flag \
13550 hardcode_libdir_flag_spec \
13551 hardcode_libdir_separator \
13552 exclude_expsyms \
13553 include_expsyms \
13554 file_list_spec \
13555 variables_saved_for_relink \
13556 libname_spec \
13557 library_names_spec \
13558 soname_spec \
13559 install_override_mode \
13560 finish_eval \
13561 old_striplib \
13562 striplib; do
13563     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13564     *[\\\\\\\`\\"\\\$]*)
13565       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13566       ;;
13567     *)
13568       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13569       ;;
13570     esac
13571 done
13572
13573 # Double-quote double-evaled strings.
13574 for var in reload_cmds \
13575 old_postinstall_cmds \
13576 old_postuninstall_cmds \
13577 old_archive_cmds \
13578 extract_expsyms_cmds \
13579 old_archive_from_new_cmds \
13580 old_archive_from_expsyms_cmds \
13581 archive_cmds \
13582 archive_expsym_cmds \
13583 module_cmds \
13584 module_expsym_cmds \
13585 export_symbols_cmds \
13586 prelink_cmds \
13587 postlink_cmds \
13588 postinstall_cmds \
13589 postuninstall_cmds \
13590 finish_cmds \
13591 sys_lib_search_path_spec \
13592 sys_lib_dlsearch_path_spec; do
13593     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13594     *[\\\\\\\`\\"\\\$]*)
13595       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13596       ;;
13597     *)
13598       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13599       ;;
13600     esac
13601 done
13602
13603 ac_aux_dir='$ac_aux_dir'
13604 xsi_shell='$xsi_shell'
13605 lt_shell_append='$lt_shell_append'
13606
13607 # See if we are running on zsh, and set the options which allow our
13608 # commands through without removal of \ escapes INIT.
13609 if test -n "\${ZSH_VERSION+set}" ; then
13610    setopt NO_GLOB_SUBST
13611 fi
13612
13613
13614     PACKAGE='$PACKAGE'
13615     VERSION='$VERSION'
13616     TIMESTAMP='$TIMESTAMP'
13617     RM='$RM'
13618     ofile='$ofile'
13619
13620
13621
13622
13623 _ACEOF
13624
13625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13626
13627 # Handling of arguments.
13628 for ac_config_target in $ac_config_targets
13629 do
13630   case $ac_config_target in
13631     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13632     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13633     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13634     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13635     "atk-bridge-2.0.pc") CONFIG_FILES="$CONFIG_FILES atk-bridge-2.0.pc" ;;
13636     "dbind/dbind-config.h") CONFIG_FILES="$CONFIG_FILES dbind/dbind-config.h" ;;
13637     "dbind/Makefile") CONFIG_FILES="$CONFIG_FILES dbind/Makefile" ;;
13638     "droute/Makefile") CONFIG_FILES="$CONFIG_FILES droute/Makefile" ;;
13639     "atk-adaptor/Makefile") CONFIG_FILES="$CONFIG_FILES atk-adaptor/Makefile" ;;
13640     "atk-adaptor/adaptors/Makefile") CONFIG_FILES="$CONFIG_FILES atk-adaptor/adaptors/Makefile" ;;
13641     "atk-adaptor/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES atk-adaptor/gtk-2.0/Makefile" ;;
13642     "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
13643
13644   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13645   esac
13646 done
13647
13648
13649 # If the user did not use the arguments to specify the items to instantiate,
13650 # then the envvar interface is used.  Set only those that are not.
13651 # We use the long form for the default assignment because of an extremely
13652 # bizarre bug on SunOS 4.1.3.
13653 if $ac_need_defaults; then
13654   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13655   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13656   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13657 fi
13658
13659 # Have a temporary directory for convenience.  Make it in the build tree
13660 # simply because there is no reason against having it here, and in addition,
13661 # creating and moving files from /tmp can sometimes cause problems.
13662 # Hook for its removal unless debugging.
13663 # Note that there is a small window in which the directory will not be cleaned:
13664 # after its creation but before its name has been assigned to `$tmp'.
13665 $debug ||
13666 {
13667   tmp= ac_tmp=
13668   trap 'exit_status=$?
13669   : "${ac_tmp:=$tmp}"
13670   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13671 ' 0
13672   trap 'as_fn_exit 1' 1 2 13 15
13673 }
13674 # Create a (secure) tmp directory for tmp files.
13675
13676 {
13677   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13678   test -d "$tmp"
13679 }  ||
13680 {
13681   tmp=./conf$$-$RANDOM
13682   (umask 077 && mkdir "$tmp")
13683 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13684 ac_tmp=$tmp
13685
13686 # Set up the scripts for CONFIG_FILES section.
13687 # No need to generate them if there are no CONFIG_FILES.
13688 # This happens for instance with `./config.status config.h'.
13689 if test -n "$CONFIG_FILES"; then
13690
13691
13692 ac_cr=`echo X | tr X '\015'`
13693 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13694 # But we know of no other shell where ac_cr would be empty at this
13695 # point, so we can use a bashism as a fallback.
13696 if test "x$ac_cr" = x; then
13697   eval ac_cr=\$\'\\r\'
13698 fi
13699 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13700 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13701   ac_cs_awk_cr='\\r'
13702 else
13703   ac_cs_awk_cr=$ac_cr
13704 fi
13705
13706 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13707 _ACEOF
13708
13709
13710 {
13711   echo "cat >conf$$subs.awk <<_ACEOF" &&
13712   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13713   echo "_ACEOF"
13714 } >conf$$subs.sh ||
13715   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13716 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13717 ac_delim='%!_!# '
13718 for ac_last_try in false false false false false :; do
13719   . ./conf$$subs.sh ||
13720     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13721
13722   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13723   if test $ac_delim_n = $ac_delim_num; then
13724     break
13725   elif $ac_last_try; then
13726     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13727   else
13728     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13729   fi
13730 done
13731 rm -f conf$$subs.sh
13732
13733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13734 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13735 _ACEOF
13736 sed -n '
13737 h
13738 s/^/S["/; s/!.*/"]=/
13739 p
13740 g
13741 s/^[^!]*!//
13742 :repl
13743 t repl
13744 s/'"$ac_delim"'$//
13745 t delim
13746 :nl
13747 h
13748 s/\(.\{148\}\)..*/\1/
13749 t more1
13750 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13751 p
13752 n
13753 b repl
13754 :more1
13755 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13756 p
13757 g
13758 s/.\{148\}//
13759 t nl
13760 :delim
13761 h
13762 s/\(.\{148\}\)..*/\1/
13763 t more2
13764 s/["\\]/\\&/g; s/^/"/; s/$/"/
13765 p
13766 b
13767 :more2
13768 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13769 p
13770 g
13771 s/.\{148\}//
13772 t delim
13773 ' <conf$$subs.awk | sed '
13774 /^[^""]/{
13775   N
13776   s/\n//
13777 }
13778 ' >>$CONFIG_STATUS || ac_write_fail=1
13779 rm -f conf$$subs.awk
13780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13781 _ACAWK
13782 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13783   for (key in S) S_is_set[key] = 1
13784   FS = "\a"
13785
13786 }
13787 {
13788   line = $ 0
13789   nfields = split(line, field, "@")
13790   substed = 0
13791   len = length(field[1])
13792   for (i = 2; i < nfields; i++) {
13793     key = field[i]
13794     keylen = length(key)
13795     if (S_is_set[key]) {
13796       value = S[key]
13797       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13798       len += length(value) + length(field[++i])
13799       substed = 1
13800     } else
13801       len += 1 + keylen
13802   }
13803
13804   print line
13805 }
13806
13807 _ACAWK
13808 _ACEOF
13809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13810 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13811   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13812 else
13813   cat
13814 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13815   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13816 _ACEOF
13817
13818 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13819 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13820 # trailing colons and then remove the whole line if VPATH becomes empty
13821 # (actually we leave an empty line to preserve line numbers).
13822 if test "x$srcdir" = x.; then
13823   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13824 h
13825 s///
13826 s/^/:/
13827 s/[      ]*$/:/
13828 s/:\$(srcdir):/:/g
13829 s/:\${srcdir}:/:/g
13830 s/:@srcdir@:/:/g
13831 s/^:*//
13832 s/:*$//
13833 x
13834 s/\(=[   ]*\).*/\1/
13835 G
13836 s/\n//
13837 s/^[^=]*=[       ]*$//
13838 }'
13839 fi
13840
13841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13842 fi # test -n "$CONFIG_FILES"
13843
13844 # Set up the scripts for CONFIG_HEADERS section.
13845 # No need to generate them if there are no CONFIG_HEADERS.
13846 # This happens for instance with `./config.status Makefile'.
13847 if test -n "$CONFIG_HEADERS"; then
13848 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13849 BEGIN {
13850 _ACEOF
13851
13852 # Transform confdefs.h into an awk script `defines.awk', embedded as
13853 # here-document in config.status, that substitutes the proper values into
13854 # config.h.in to produce config.h.
13855
13856 # Create a delimiter string that does not exist in confdefs.h, to ease
13857 # handling of long lines.
13858 ac_delim='%!_!# '
13859 for ac_last_try in false false :; do
13860   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13861   if test -z "$ac_tt"; then
13862     break
13863   elif $ac_last_try; then
13864     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13865   else
13866     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13867   fi
13868 done
13869
13870 # For the awk script, D is an array of macro values keyed by name,
13871 # likewise P contains macro parameters if any.  Preserve backslash
13872 # newline sequences.
13873
13874 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13875 sed -n '
13876 s/.\{148\}/&'"$ac_delim"'/g
13877 t rset
13878 :rset
13879 s/^[     ]*#[    ]*define[       ][      ]*/ /
13880 t def
13881 d
13882 :def
13883 s/\\$//
13884 t bsnl
13885 s/["\\]/\\&/g
13886 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13887 D["\1"]=" \3"/p
13888 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13889 d
13890 :bsnl
13891 s/["\\]/\\&/g
13892 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13893 D["\1"]=" \3\\\\\\n"\\/p
13894 t cont
13895 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13896 t cont
13897 d
13898 :cont
13899 n
13900 s/.\{148\}/&'"$ac_delim"'/g
13901 t clear
13902 :clear
13903 s/\\$//
13904 t bsnlc
13905 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13906 d
13907 :bsnlc
13908 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13909 b cont
13910 ' <confdefs.h | sed '
13911 s/'"$ac_delim"'/"\\\
13912 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13913
13914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13915   for (key in D) D_is_set[key] = 1
13916   FS = "\a"
13917 }
13918 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13919   line = \$ 0
13920   split(line, arg, " ")
13921   if (arg[1] == "#") {
13922     defundef = arg[2]
13923     mac1 = arg[3]
13924   } else {
13925     defundef = substr(arg[1], 2)
13926     mac1 = arg[2]
13927   }
13928   split(mac1, mac2, "(") #)
13929   macro = mac2[1]
13930   prefix = substr(line, 1, index(line, defundef) - 1)
13931   if (D_is_set[macro]) {
13932     # Preserve the white space surrounding the "#".
13933     print prefix "define", macro P[macro] D[macro]
13934     next
13935   } else {
13936     # Replace #undef with comments.  This is necessary, for example,
13937     # in the case of _POSIX_SOURCE, which is predefined and required
13938     # on some systems where configure will not decide to define it.
13939     if (defundef == "undef") {
13940       print "/*", prefix defundef, macro, "*/"
13941       next
13942     }
13943   }
13944 }
13945 { print }
13946 _ACAWK
13947 _ACEOF
13948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13949   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13950 fi # test -n "$CONFIG_HEADERS"
13951
13952
13953 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13954 shift
13955 for ac_tag
13956 do
13957   case $ac_tag in
13958   :[FHLC]) ac_mode=$ac_tag; continue;;
13959   esac
13960   case $ac_mode$ac_tag in
13961   :[FHL]*:*);;
13962   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13963   :[FH]-) ac_tag=-:-;;
13964   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13965   esac
13966   ac_save_IFS=$IFS
13967   IFS=:
13968   set x $ac_tag
13969   IFS=$ac_save_IFS
13970   shift
13971   ac_file=$1
13972   shift
13973
13974   case $ac_mode in
13975   :L) ac_source=$1;;
13976   :[FH])
13977     ac_file_inputs=
13978     for ac_f
13979     do
13980       case $ac_f in
13981       -) ac_f="$ac_tmp/stdin";;
13982       *) # Look for the file first in the build tree, then in the source tree
13983          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13984          # because $ac_f cannot contain `:'.
13985          test -f "$ac_f" ||
13986            case $ac_f in
13987            [\\/$]*) false;;
13988            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13989            esac ||
13990            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13991       esac
13992       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13993       as_fn_append ac_file_inputs " '$ac_f'"
13994     done
13995
13996     # Let's still pretend it is `configure' which instantiates (i.e., don't
13997     # use $as_me), people would be surprised to read:
13998     #    /* config.h.  Generated by config.status.  */
13999     configure_input='Generated from '`
14000           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14001         `' by configure.'
14002     if test x"$ac_file" != x-; then
14003       configure_input="$ac_file.  $configure_input"
14004       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14005 $as_echo "$as_me: creating $ac_file" >&6;}
14006     fi
14007     # Neutralize special characters interpreted by sed in replacement strings.
14008     case $configure_input in #(
14009     *\&* | *\|* | *\\* )
14010        ac_sed_conf_input=`$as_echo "$configure_input" |
14011        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14012     *) ac_sed_conf_input=$configure_input;;
14013     esac
14014
14015     case $ac_tag in
14016     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14017       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14018     esac
14019     ;;
14020   esac
14021
14022   ac_dir=`$as_dirname -- "$ac_file" ||
14023 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14024          X"$ac_file" : 'X\(//\)[^/]' \| \
14025          X"$ac_file" : 'X\(//\)$' \| \
14026          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14027 $as_echo X"$ac_file" |
14028     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14029             s//\1/
14030             q
14031           }
14032           /^X\(\/\/\)[^/].*/{
14033             s//\1/
14034             q
14035           }
14036           /^X\(\/\/\)$/{
14037             s//\1/
14038             q
14039           }
14040           /^X\(\/\).*/{
14041             s//\1/
14042             q
14043           }
14044           s/.*/./; q'`
14045   as_dir="$ac_dir"; as_fn_mkdir_p
14046   ac_builddir=.
14047
14048 case "$ac_dir" in
14049 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14050 *)
14051   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14052   # A ".." for each directory in $ac_dir_suffix.
14053   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14054   case $ac_top_builddir_sub in
14055   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14056   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14057   esac ;;
14058 esac
14059 ac_abs_top_builddir=$ac_pwd
14060 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14061 # for backward compatibility:
14062 ac_top_builddir=$ac_top_build_prefix
14063
14064 case $srcdir in
14065   .)  # We are building in place.
14066     ac_srcdir=.
14067     ac_top_srcdir=$ac_top_builddir_sub
14068     ac_abs_top_srcdir=$ac_pwd ;;
14069   [\\/]* | ?:[\\/]* )  # Absolute name.
14070     ac_srcdir=$srcdir$ac_dir_suffix;
14071     ac_top_srcdir=$srcdir
14072     ac_abs_top_srcdir=$srcdir ;;
14073   *) # Relative name.
14074     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14075     ac_top_srcdir=$ac_top_build_prefix$srcdir
14076     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14077 esac
14078 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14079
14080
14081   case $ac_mode in
14082   :F)
14083   #
14084   # CONFIG_FILE
14085   #
14086
14087   case $INSTALL in
14088   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14089   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14090   esac
14091   ac_MKDIR_P=$MKDIR_P
14092   case $MKDIR_P in
14093   [\\/$]* | ?:[\\/]* ) ;;
14094   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14095   esac
14096 _ACEOF
14097
14098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14099 # If the template does not know about datarootdir, expand it.
14100 # FIXME: This hack should be removed a few years after 2.60.
14101 ac_datarootdir_hack=; ac_datarootdir_seen=
14102 ac_sed_dataroot='
14103 /datarootdir/ {
14104   p
14105   q
14106 }
14107 /@datadir@/p
14108 /@docdir@/p
14109 /@infodir@/p
14110 /@localedir@/p
14111 /@mandir@/p'
14112 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14113 *datarootdir*) ac_datarootdir_seen=yes;;
14114 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14115   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14116 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14117 _ACEOF
14118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14119   ac_datarootdir_hack='
14120   s&@datadir@&$datadir&g
14121   s&@docdir@&$docdir&g
14122   s&@infodir@&$infodir&g
14123   s&@localedir@&$localedir&g
14124   s&@mandir@&$mandir&g
14125   s&\\\${datarootdir}&$datarootdir&g' ;;
14126 esac
14127 _ACEOF
14128
14129 # Neutralize VPATH when `$srcdir' = `.'.
14130 # Shell code in configure.ac might set extrasub.
14131 # FIXME: do we really want to maintain this feature?
14132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14133 ac_sed_extra="$ac_vpsub
14134 $extrasub
14135 _ACEOF
14136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14137 :t
14138 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14139 s|@configure_input@|$ac_sed_conf_input|;t t
14140 s&@top_builddir@&$ac_top_builddir_sub&;t t
14141 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14142 s&@srcdir@&$ac_srcdir&;t t
14143 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14144 s&@top_srcdir@&$ac_top_srcdir&;t t
14145 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14146 s&@builddir@&$ac_builddir&;t t
14147 s&@abs_builddir@&$ac_abs_builddir&;t t
14148 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14149 s&@INSTALL@&$ac_INSTALL&;t t
14150 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14151 $ac_datarootdir_hack
14152 "
14153 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14154   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14155
14156 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14157   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14158   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14159       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14160   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14161 which seems to be undefined.  Please make sure it is defined" >&5
14162 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14163 which seems to be undefined.  Please make sure it is defined" >&2;}
14164
14165   rm -f "$ac_tmp/stdin"
14166   case $ac_file in
14167   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14168   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14169   esac \
14170   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14171  ;;
14172   :H)
14173   #
14174   # CONFIG_HEADER
14175   #
14176   if test x"$ac_file" != x-; then
14177     {
14178       $as_echo "/* $configure_input  */" \
14179       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14180     } >"$ac_tmp/config.h" \
14181       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14182     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14183       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14184 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14185     else
14186       rm -f "$ac_file"
14187       mv "$ac_tmp/config.h" "$ac_file" \
14188         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14189     fi
14190   else
14191     $as_echo "/* $configure_input  */" \
14192       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14193       || as_fn_error $? "could not create -" "$LINENO" 5
14194   fi
14195 # Compute "$ac_file"'s index in $config_headers.
14196 _am_arg="$ac_file"
14197 _am_stamp_count=1
14198 for _am_header in $config_headers :; do
14199   case $_am_header in
14200     $_am_arg | $_am_arg:* )
14201       break ;;
14202     * )
14203       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14204   esac
14205 done
14206 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14207 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14208          X"$_am_arg" : 'X\(//\)[^/]' \| \
14209          X"$_am_arg" : 'X\(//\)$' \| \
14210          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14211 $as_echo X"$_am_arg" |
14212     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14213             s//\1/
14214             q
14215           }
14216           /^X\(\/\/\)[^/].*/{
14217             s//\1/
14218             q
14219           }
14220           /^X\(\/\/\)$/{
14221             s//\1/
14222             q
14223           }
14224           /^X\(\/\).*/{
14225             s//\1/
14226             q
14227           }
14228           s/.*/./; q'`/stamp-h$_am_stamp_count
14229  ;;
14230
14231   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14232 $as_echo "$as_me: executing $ac_file commands" >&6;}
14233  ;;
14234   esac
14235
14236
14237   case $ac_file$ac_mode in
14238     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14239   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14240   # are listed without --file.  Let's play safe and only enable the eval
14241   # if we detect the quoting.
14242   case $CONFIG_FILES in
14243   *\'*) eval set x "$CONFIG_FILES" ;;
14244   *)   set x $CONFIG_FILES ;;
14245   esac
14246   shift
14247   for mf
14248   do
14249     # Strip MF so we end up with the name of the file.
14250     mf=`echo "$mf" | sed -e 's/:.*$//'`
14251     # Check whether this is an Automake generated Makefile or not.
14252     # We used to match only the files named 'Makefile.in', but
14253     # some people rename them; so instead we look at the file content.
14254     # Grep'ing the first line is not enough: some people post-process
14255     # each Makefile.in and add a new line on top of each file to say so.
14256     # Grep'ing the whole file is not good either: AIX grep has a line
14257     # limit of 2048, but all sed's we know have understand at least 4000.
14258     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14259       dirpart=`$as_dirname -- "$mf" ||
14260 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14261          X"$mf" : 'X\(//\)[^/]' \| \
14262          X"$mf" : 'X\(//\)$' \| \
14263          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14264 $as_echo X"$mf" |
14265     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14266             s//\1/
14267             q
14268           }
14269           /^X\(\/\/\)[^/].*/{
14270             s//\1/
14271             q
14272           }
14273           /^X\(\/\/\)$/{
14274             s//\1/
14275             q
14276           }
14277           /^X\(\/\).*/{
14278             s//\1/
14279             q
14280           }
14281           s/.*/./; q'`
14282     else
14283       continue
14284     fi
14285     # Extract the definition of DEPDIR, am__include, and am__quote
14286     # from the Makefile without running 'make'.
14287     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14288     test -z "$DEPDIR" && continue
14289     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14290     test -z "am__include" && continue
14291     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14292     # Find all dependency output files, they are included files with
14293     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14294     # simplest approach to changing $(DEPDIR) to its actual value in the
14295     # expansion.
14296     for file in `sed -n "
14297       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14298          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14299       # Make sure the directory exists.
14300       test -f "$dirpart/$file" && continue
14301       fdir=`$as_dirname -- "$file" ||
14302 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14303          X"$file" : 'X\(//\)[^/]' \| \
14304          X"$file" : 'X\(//\)$' \| \
14305          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14306 $as_echo X"$file" |
14307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14308             s//\1/
14309             q
14310           }
14311           /^X\(\/\/\)[^/].*/{
14312             s//\1/
14313             q
14314           }
14315           /^X\(\/\/\)$/{
14316             s//\1/
14317             q
14318           }
14319           /^X\(\/\).*/{
14320             s//\1/
14321             q
14322           }
14323           s/.*/./; q'`
14324       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14325       # echo "creating $dirpart/$file"
14326       echo '# dummy' > "$dirpart/$file"
14327     done
14328   done
14329 }
14330  ;;
14331     "libtool":C)
14332
14333     # See if we are running on zsh, and set the options which allow our
14334     # commands through without removal of \ escapes.
14335     if test -n "${ZSH_VERSION+set}" ; then
14336       setopt NO_GLOB_SUBST
14337     fi
14338
14339     cfgfile="${ofile}T"
14340     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14341     $RM "$cfgfile"
14342
14343     cat <<_LT_EOF >> "$cfgfile"
14344 #! $SHELL
14345
14346 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14347 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14348 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14349 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14350 #
14351 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14352 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14353 #                 Foundation, Inc.
14354 #   Written by Gordon Matzigkeit, 1996
14355 #
14356 #   This file is part of GNU Libtool.
14357 #
14358 # GNU Libtool is free software; you can redistribute it and/or
14359 # modify it under the terms of the GNU General Public License as
14360 # published by the Free Software Foundation; either version 2 of
14361 # the License, or (at your option) any later version.
14362 #
14363 # As a special exception to the GNU General Public License,
14364 # if you distribute this file as part of a program or library that
14365 # is built using GNU Libtool, you may include this file under the
14366 # same distribution terms that you use for the rest of that program.
14367 #
14368 # GNU Libtool is distributed in the hope that it will be useful,
14369 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14370 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14371 # GNU General Public License for more details.
14372 #
14373 # You should have received a copy of the GNU General Public License
14374 # along with GNU Libtool; see the file COPYING.  If not, a copy
14375 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14376 # obtained by writing to the Free Software Foundation, Inc.,
14377 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14378
14379
14380 # The names of the tagged configurations supported by this script.
14381 available_tags=""
14382
14383 # ### BEGIN LIBTOOL CONFIG
14384
14385 # Whether or not to build static libraries.
14386 build_old_libs=$enable_static
14387
14388 # Which release of libtool.m4 was used?
14389 macro_version=$macro_version
14390 macro_revision=$macro_revision
14391
14392 # Whether or not to build shared libraries.
14393 build_libtool_libs=$enable_shared
14394
14395 # What type of objects to build.
14396 pic_mode=$pic_mode
14397
14398 # Whether or not to optimize for fast installation.
14399 fast_install=$enable_fast_install
14400
14401 # Shell to use when invoking shell scripts.
14402 SHELL=$lt_SHELL
14403
14404 # An echo program that protects backslashes.
14405 ECHO=$lt_ECHO
14406
14407 # The PATH separator for the build system.
14408 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14409
14410 # The host system.
14411 host_alias=$host_alias
14412 host=$host
14413 host_os=$host_os
14414
14415 # The build system.
14416 build_alias=$build_alias
14417 build=$build
14418 build_os=$build_os
14419
14420 # A sed program that does not truncate output.
14421 SED=$lt_SED
14422
14423 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14424 Xsed="\$SED -e 1s/^X//"
14425
14426 # A grep program that handles long lines.
14427 GREP=$lt_GREP
14428
14429 # An ERE matcher.
14430 EGREP=$lt_EGREP
14431
14432 # A literal string matcher.
14433 FGREP=$lt_FGREP
14434
14435 # A BSD- or MS-compatible name lister.
14436 NM=$lt_NM
14437
14438 # Whether we need soft or hard links.
14439 LN_S=$lt_LN_S
14440
14441 # What is the maximum length of a command?
14442 max_cmd_len=$max_cmd_len
14443
14444 # Object file suffix (normally "o").
14445 objext=$ac_objext
14446
14447 # Executable file suffix (normally "").
14448 exeext=$exeext
14449
14450 # whether the shell understands "unset".
14451 lt_unset=$lt_unset
14452
14453 # turn spaces into newlines.
14454 SP2NL=$lt_lt_SP2NL
14455
14456 # turn newlines into spaces.
14457 NL2SP=$lt_lt_NL2SP
14458
14459 # convert \$build file names to \$host format.
14460 to_host_file_cmd=$lt_cv_to_host_file_cmd
14461
14462 # convert \$build files to toolchain format.
14463 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14464
14465 # An object symbol dumper.
14466 OBJDUMP=$lt_OBJDUMP
14467
14468 # Method to check whether dependent libraries are shared objects.
14469 deplibs_check_method=$lt_deplibs_check_method
14470
14471 # Command to use when deplibs_check_method = "file_magic".
14472 file_magic_cmd=$lt_file_magic_cmd
14473
14474 # How to find potential files when deplibs_check_method = "file_magic".
14475 file_magic_glob=$lt_file_magic_glob
14476
14477 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14478 want_nocaseglob=$lt_want_nocaseglob
14479
14480 # DLL creation program.
14481 DLLTOOL=$lt_DLLTOOL
14482
14483 # Command to associate shared and link libraries.
14484 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14485
14486 # The archiver.
14487 AR=$lt_AR
14488
14489 # Flags to create an archive.
14490 AR_FLAGS=$lt_AR_FLAGS
14491
14492 # How to feed a file listing to the archiver.
14493 archiver_list_spec=$lt_archiver_list_spec
14494
14495 # A symbol stripping program.
14496 STRIP=$lt_STRIP
14497
14498 # Commands used to install an old-style archive.
14499 RANLIB=$lt_RANLIB
14500 old_postinstall_cmds=$lt_old_postinstall_cmds
14501 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14502
14503 # Whether to use a lock for old archive extraction.
14504 lock_old_archive_extraction=$lock_old_archive_extraction
14505
14506 # A C compiler.
14507 LTCC=$lt_CC
14508
14509 # LTCC compiler flags.
14510 LTCFLAGS=$lt_CFLAGS
14511
14512 # Take the output of nm and produce a listing of raw symbols and C names.
14513 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14514
14515 # Transform the output of nm in a proper C declaration.
14516 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14517
14518 # Transform the output of nm in a C name address pair.
14519 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14520
14521 # Transform the output of nm in a C name address pair when lib prefix is needed.
14522 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14523
14524 # Specify filename containing input files for \$NM.
14525 nm_file_list_spec=$lt_nm_file_list_spec
14526
14527 # The root where to search for dependent libraries,and in which our libraries should be installed.
14528 lt_sysroot=$lt_sysroot
14529
14530 # The name of the directory that contains temporary libtool files.
14531 objdir=$objdir
14532
14533 # Used to examine libraries when file_magic_cmd begins with "file".
14534 MAGIC_CMD=$MAGIC_CMD
14535
14536 # Must we lock files when doing compilation?
14537 need_locks=$lt_need_locks
14538
14539 # Manifest tool.
14540 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14541
14542 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14543 DSYMUTIL=$lt_DSYMUTIL
14544
14545 # Tool to change global to local symbols on Mac OS X.
14546 NMEDIT=$lt_NMEDIT
14547
14548 # Tool to manipulate fat objects and archives on Mac OS X.
14549 LIPO=$lt_LIPO
14550
14551 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14552 OTOOL=$lt_OTOOL
14553
14554 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14555 OTOOL64=$lt_OTOOL64
14556
14557 # Old archive suffix (normally "a").
14558 libext=$libext
14559
14560 # Shared library suffix (normally ".so").
14561 shrext_cmds=$lt_shrext_cmds
14562
14563 # The commands to extract the exported symbol list from a shared archive.
14564 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14565
14566 # Variables whose values should be saved in libtool wrapper scripts and
14567 # restored at link time.
14568 variables_saved_for_relink=$lt_variables_saved_for_relink
14569
14570 # Do we need the "lib" prefix for modules?
14571 need_lib_prefix=$need_lib_prefix
14572
14573 # Do we need a version for libraries?
14574 need_version=$need_version
14575
14576 # Library versioning type.
14577 version_type=$version_type
14578
14579 # Shared library runtime path variable.
14580 runpath_var=$runpath_var
14581
14582 # Shared library path variable.
14583 shlibpath_var=$shlibpath_var
14584
14585 # Is shlibpath searched before the hard-coded library search path?
14586 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14587
14588 # Format of library name prefix.
14589 libname_spec=$lt_libname_spec
14590
14591 # List of archive names.  First name is the real one, the rest are links.
14592 # The last name is the one that the linker finds with -lNAME
14593 library_names_spec=$lt_library_names_spec
14594
14595 # The coded name of the library, if different from the real name.
14596 soname_spec=$lt_soname_spec
14597
14598 # Permission mode override for installation of shared libraries.
14599 install_override_mode=$lt_install_override_mode
14600
14601 # Command to use after installation of a shared archive.
14602 postinstall_cmds=$lt_postinstall_cmds
14603
14604 # Command to use after uninstallation of a shared archive.
14605 postuninstall_cmds=$lt_postuninstall_cmds
14606
14607 # Commands used to finish a libtool library installation in a directory.
14608 finish_cmds=$lt_finish_cmds
14609
14610 # As "finish_cmds", except a single script fragment to be evaled but
14611 # not shown.
14612 finish_eval=$lt_finish_eval
14613
14614 # Whether we should hardcode library paths into libraries.
14615 hardcode_into_libs=$hardcode_into_libs
14616
14617 # Compile-time system search path for libraries.
14618 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14619
14620 # Run-time system search path for libraries.
14621 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14622
14623 # Whether dlopen is supported.
14624 dlopen_support=$enable_dlopen
14625
14626 # Whether dlopen of programs is supported.
14627 dlopen_self=$enable_dlopen_self
14628
14629 # Whether dlopen of statically linked programs is supported.
14630 dlopen_self_static=$enable_dlopen_self_static
14631
14632 # Commands to strip libraries.
14633 old_striplib=$lt_old_striplib
14634 striplib=$lt_striplib
14635
14636
14637 # The linker used to build libraries.
14638 LD=$lt_LD
14639
14640 # How to create reloadable object files.
14641 reload_flag=$lt_reload_flag
14642 reload_cmds=$lt_reload_cmds
14643
14644 # Commands used to build an old-style archive.
14645 old_archive_cmds=$lt_old_archive_cmds
14646
14647 # A language specific compiler.
14648 CC=$lt_compiler
14649
14650 # Is the compiler the GNU compiler?
14651 with_gcc=$GCC
14652
14653 # Compiler flag to turn off builtin functions.
14654 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14655
14656 # Additional compiler flags for building library objects.
14657 pic_flag=$lt_lt_prog_compiler_pic
14658
14659 # How to pass a linker flag through the compiler.
14660 wl=$lt_lt_prog_compiler_wl
14661
14662 # Compiler flag to prevent dynamic linking.
14663 link_static_flag=$lt_lt_prog_compiler_static
14664
14665 # Does compiler simultaneously support -c and -o options?
14666 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14667
14668 # Whether or not to add -lc for building shared libraries.
14669 build_libtool_need_lc=$archive_cmds_need_lc
14670
14671 # Whether or not to disallow shared libs when runtime libs are static.
14672 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14673
14674 # Compiler flag to allow reflexive dlopens.
14675 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14676
14677 # Compiler flag to generate shared objects directly from archives.
14678 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14679
14680 # Whether the compiler copes with passing no objects directly.
14681 compiler_needs_object=$lt_compiler_needs_object
14682
14683 # Create an old-style archive from a shared archive.
14684 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14685
14686 # Create a temporary old-style archive to link instead of a shared archive.
14687 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14688
14689 # Commands used to build a shared archive.
14690 archive_cmds=$lt_archive_cmds
14691 archive_expsym_cmds=$lt_archive_expsym_cmds
14692
14693 # Commands used to build a loadable module if different from building
14694 # a shared archive.
14695 module_cmds=$lt_module_cmds
14696 module_expsym_cmds=$lt_module_expsym_cmds
14697
14698 # Whether we are building with GNU ld or not.
14699 with_gnu_ld=$lt_with_gnu_ld
14700
14701 # Flag that allows shared libraries with undefined symbols to be built.
14702 allow_undefined_flag=$lt_allow_undefined_flag
14703
14704 # Flag that enforces no undefined symbols.
14705 no_undefined_flag=$lt_no_undefined_flag
14706
14707 # Flag to hardcode \$libdir into a binary during linking.
14708 # This must work even if \$libdir does not exist
14709 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14710
14711 # Whether we need a single "-rpath" flag with a separated argument.
14712 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14713
14714 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14715 # DIR into the resulting binary.
14716 hardcode_direct=$hardcode_direct
14717
14718 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14719 # DIR into the resulting binary and the resulting library dependency is
14720 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14721 # library is relocated.
14722 hardcode_direct_absolute=$hardcode_direct_absolute
14723
14724 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14725 # into the resulting binary.
14726 hardcode_minus_L=$hardcode_minus_L
14727
14728 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14729 # into the resulting binary.
14730 hardcode_shlibpath_var=$hardcode_shlibpath_var
14731
14732 # Set to "yes" if building a shared library automatically hardcodes DIR
14733 # into the library and all subsequent libraries and executables linked
14734 # against it.
14735 hardcode_automatic=$hardcode_automatic
14736
14737 # Set to yes if linker adds runtime paths of dependent libraries
14738 # to runtime path list.
14739 inherit_rpath=$inherit_rpath
14740
14741 # Whether libtool must link a program against all its dependency libraries.
14742 link_all_deplibs=$link_all_deplibs
14743
14744 # Set to "yes" if exported symbols are required.
14745 always_export_symbols=$always_export_symbols
14746
14747 # The commands to list exported symbols.
14748 export_symbols_cmds=$lt_export_symbols_cmds
14749
14750 # Symbols that should not be listed in the preloaded symbols.
14751 exclude_expsyms=$lt_exclude_expsyms
14752
14753 # Symbols that must always be exported.
14754 include_expsyms=$lt_include_expsyms
14755
14756 # Commands necessary for linking programs (against libraries) with templates.
14757 prelink_cmds=$lt_prelink_cmds
14758
14759 # Commands necessary for finishing linking programs.
14760 postlink_cmds=$lt_postlink_cmds
14761
14762 # Specify filename containing input files.
14763 file_list_spec=$lt_file_list_spec
14764
14765 # How to hardcode a shared library path into an executable.
14766 hardcode_action=$hardcode_action
14767
14768 # ### END LIBTOOL CONFIG
14769
14770 _LT_EOF
14771
14772   case $host_os in
14773   aix3*)
14774     cat <<\_LT_EOF >> "$cfgfile"
14775 # AIX sometimes has problems with the GCC collect2 program.  For some
14776 # reason, if we set the COLLECT_NAMES environment variable, the problems
14777 # vanish in a puff of smoke.
14778 if test "X${COLLECT_NAMES+set}" != Xset; then
14779   COLLECT_NAMES=
14780   export COLLECT_NAMES
14781 fi
14782 _LT_EOF
14783     ;;
14784   esac
14785
14786
14787 ltmain="$ac_aux_dir/ltmain.sh"
14788
14789
14790   # We use sed instead of cat because bash on DJGPP gets confused if
14791   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14792   # text mode, it properly converts lines to CR/LF.  This bash problem
14793   # is reportedly fixed, but why not run on old versions too?
14794   sed '$q' "$ltmain" >> "$cfgfile" \
14795      || (rm -f "$cfgfile"; exit 1)
14796
14797   if test x"$xsi_shell" = xyes; then
14798   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14799 func_dirname ()\
14800 {\
14801 \    case ${1} in\
14802 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14803 \      *  ) func_dirname_result="${3}" ;;\
14804 \    esac\
14805 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14806   && mv -f "$cfgfile.tmp" "$cfgfile" \
14807     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14808 test 0 -eq $? || _lt_function_replace_fail=:
14809
14810
14811   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14812 func_basename ()\
14813 {\
14814 \    func_basename_result="${1##*/}"\
14815 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14816   && mv -f "$cfgfile.tmp" "$cfgfile" \
14817     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14818 test 0 -eq $? || _lt_function_replace_fail=:
14819
14820
14821   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14822 func_dirname_and_basename ()\
14823 {\
14824 \    case ${1} in\
14825 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14826 \      *  ) func_dirname_result="${3}" ;;\
14827 \    esac\
14828 \    func_basename_result="${1##*/}"\
14829 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14830   && mv -f "$cfgfile.tmp" "$cfgfile" \
14831     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14832 test 0 -eq $? || _lt_function_replace_fail=:
14833
14834
14835   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14836 func_stripname ()\
14837 {\
14838 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14839 \    # positional parameters, so assign one to ordinary parameter first.\
14840 \    func_stripname_result=${3}\
14841 \    func_stripname_result=${func_stripname_result#"${1}"}\
14842 \    func_stripname_result=${func_stripname_result%"${2}"}\
14843 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14844   && mv -f "$cfgfile.tmp" "$cfgfile" \
14845     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14846 test 0 -eq $? || _lt_function_replace_fail=:
14847
14848
14849   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14850 func_split_long_opt ()\
14851 {\
14852 \    func_split_long_opt_name=${1%%=*}\
14853 \    func_split_long_opt_arg=${1#*=}\
14854 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14855   && mv -f "$cfgfile.tmp" "$cfgfile" \
14856     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14857 test 0 -eq $? || _lt_function_replace_fail=:
14858
14859
14860   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14861 func_split_short_opt ()\
14862 {\
14863 \    func_split_short_opt_arg=${1#??}\
14864 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14865 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14866   && mv -f "$cfgfile.tmp" "$cfgfile" \
14867     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14868 test 0 -eq $? || _lt_function_replace_fail=:
14869
14870
14871   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14872 func_lo2o ()\
14873 {\
14874 \    case ${1} in\
14875 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14876 \      *)    func_lo2o_result=${1} ;;\
14877 \    esac\
14878 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14879   && mv -f "$cfgfile.tmp" "$cfgfile" \
14880     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14881 test 0 -eq $? || _lt_function_replace_fail=:
14882
14883
14884   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14885 func_xform ()\
14886 {\
14887     func_xform_result=${1%.*}.lo\
14888 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14889   && mv -f "$cfgfile.tmp" "$cfgfile" \
14890     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14891 test 0 -eq $? || _lt_function_replace_fail=:
14892
14893
14894   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14895 func_arith ()\
14896 {\
14897     func_arith_result=$(( $* ))\
14898 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14899   && mv -f "$cfgfile.tmp" "$cfgfile" \
14900     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14901 test 0 -eq $? || _lt_function_replace_fail=:
14902
14903
14904   sed -e '/^func_len ()$/,/^} # func_len /c\
14905 func_len ()\
14906 {\
14907     func_len_result=${#1}\
14908 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14909   && mv -f "$cfgfile.tmp" "$cfgfile" \
14910     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14911 test 0 -eq $? || _lt_function_replace_fail=:
14912
14913 fi
14914
14915 if test x"$lt_shell_append" = xyes; then
14916   sed -e '/^func_append ()$/,/^} # func_append /c\
14917 func_append ()\
14918 {\
14919     eval "${1}+=\\${2}"\
14920 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14921   && mv -f "$cfgfile.tmp" "$cfgfile" \
14922     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14923 test 0 -eq $? || _lt_function_replace_fail=:
14924
14925
14926   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14927 func_append_quoted ()\
14928 {\
14929 \    func_quote_for_eval "${2}"\
14930 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14931 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14932   && mv -f "$cfgfile.tmp" "$cfgfile" \
14933     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14934 test 0 -eq $? || _lt_function_replace_fail=:
14935
14936
14937   # Save a `func_append' function call where possible by direct use of '+='
14938   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14939     && mv -f "$cfgfile.tmp" "$cfgfile" \
14940       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14941   test 0 -eq $? || _lt_function_replace_fail=:
14942 else
14943   # Save a `func_append' function call even when '+=' is not available
14944   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14945     && mv -f "$cfgfile.tmp" "$cfgfile" \
14946       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14947   test 0 -eq $? || _lt_function_replace_fail=:
14948 fi
14949
14950 if test x"$_lt_function_replace_fail" = x":"; then
14951   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14952 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14953 fi
14954
14955
14956    mv -f "$cfgfile" "$ofile" ||
14957     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14958   chmod +x "$ofile"
14959
14960  ;;
14961
14962   esac
14963 done # for ac_tag
14964
14965
14966 as_fn_exit 0
14967 _ACEOF
14968 ac_clean_files=$ac_clean_files_save
14969
14970 test $ac_write_fail = 0 ||
14971   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14972
14973
14974 # configure is writing to config.log, and then calls config.status.
14975 # config.status does its own redirection, appending to config.log.
14976 # Unfortunately, on DOS this fails, as config.log is still kept open
14977 # by configure, so config.status won't be able to write to it; its
14978 # output is simply discarded.  So we exec the FD to /dev/null,
14979 # effectively closing config.log, so it can be properly (re)opened and
14980 # appended to by config.status.  When coming back to configure, we
14981 # need to make the FD available again.
14982 if test "$no_create" != yes; then
14983   ac_cs_success=:
14984   ac_config_status_args=
14985   test "$silent" = yes &&
14986     ac_config_status_args="$ac_config_status_args --quiet"
14987   exec 5>/dev/null
14988   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14989   exec 5>>config.log
14990   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14991   # would make configure fail if this is the last instruction.
14992   $ac_cs_success || as_fn_exit 1
14993 fi
14994 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14995   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14996 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14997 fi
14998