packaging: exclude on non X11 configuration
[platform/core/uifw/at-spi2-core.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-core 2.7.91.
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-core'
592 PACKAGE_TARNAME='at-spi2-core'
593 PACKAGE_VERSION='2.7.91'
594 PACKAGE_STRING='at-spi2-core 2.7.91'
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 GTK_DOC_USE_REBASE_FALSE
639 GTK_DOC_USE_REBASE_TRUE
640 GTK_DOC_USE_LIBTOOL_FALSE
641 GTK_DOC_USE_LIBTOOL_TRUE
642 GTK_DOC_BUILD_PDF_FALSE
643 GTK_DOC_BUILD_PDF_TRUE
644 GTK_DOC_BUILD_HTML_FALSE
645 GTK_DOC_BUILD_HTML_TRUE
646 ENABLE_GTK_DOC_FALSE
647 ENABLE_GTK_DOC_TRUE
648 GTKDOC_DEPS_LIBS
649 GTKDOC_DEPS_CFLAGS
650 HTML_DIR
651 GTKDOC_MKPDF
652 GTKDOC_REBASE
653 GTKDOC_CHECK
654 DBIND_ALIGNOF_DBIND_STRUCT
655 DBIND_ALIGNOF_DBIND_POINTER
656 DBIND_ALIGNOF_DOUBLE
657 DBIND_ALIGNOF_DBUS_INT64_T
658 DBIND_ALIGNOF_DBUS_INT32_T
659 DBIND_ALIGNOF_DBUS_INT16_T
660 DBIND_ALIGNOF_DBUS_BOOL_T
661 DBIND_ALIGNOF_CHAR
662 LIBTOOL_EXPORT_OPTIONS
663 HAVE_INTROSPECTION_FALSE
664 HAVE_INTROSPECTION_TRUE
665 INTROSPECTION_MAKEFILE
666 INTROSPECTION_LIBS
667 INTROSPECTION_CFLAGS
668 INTROSPECTION_TYPELIBDIR
669 INTROSPECTION_GIRDIR
670 INTROSPECTION_GENERATE
671 INTROSPECTION_COMPILER
672 INTROSPECTION_SCANNER
673 DBUS_SERVICES_DIR
674 DBUS_DAEMON
675 XEVIE_LIBS
676 XINPUT_LIBS
677 XTST_LIBS
678 X_EXTRA_LIBS
679 X_LIBS
680 X_PRE_LIBS
681 X_CFLAGS
682 XMKMF
683 DL_LIBS
684 GIO_LIBS
685 GIO_CFLAGS
686 GOBJ_LIBS
687 GOBJ_CFLAGS
688 GLIB_LIBS
689 GLIB_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 GETTEXT_PACKAGE
693 DATADIRNAME
694 ALL_LINGUAS
695 INTLTOOL_PERL
696 GMSGFMT
697 MSGFMT
698 MSGMERGE
699 XGETTEXT
700 INTLTOOL_POLICY_RULE
701 INTLTOOL_SERVICE_RULE
702 INTLTOOL_THEME_RULE
703 INTLTOOL_SCHEMAS_RULE
704 INTLTOOL_CAVES_RULE
705 INTLTOOL_XML_NOMERGE_RULE
706 INTLTOOL_XML_RULE
707 INTLTOOL_KBD_RULE
708 INTLTOOL_XAM_RULE
709 INTLTOOL_UI_RULE
710 INTLTOOL_SOUNDLIST_RULE
711 INTLTOOL_SHEET_RULE
712 INTLTOOL_SERVER_RULE
713 INTLTOOL_PONG_RULE
714 INTLTOOL_OAF_RULE
715 INTLTOOL_PROP_RULE
716 INTLTOOL_KEYS_RULE
717 INTLTOOL_DIRECTORY_RULE
718 INTLTOOL_DESKTOP_RULE
719 intltool__v_merge_options_0
720 intltool__v_merge_options_
721 INTLTOOL_V_MERGE_OPTIONS
722 INTLTOOL__v_MERGE_0
723 INTLTOOL__v_MERGE_
724 INTLTOOL_V_MERGE
725 INTLTOOL_EXTRACT
726 INTLTOOL_MERGE
727 INTLTOOL_UPDATE
728 USE_NLS
729 PKG_CONFIG_LIBDIR
730 PKG_CONFIG_PATH
731 PKG_CONFIG
732 CPP
733 OTOOL64
734 OTOOL
735 LIPO
736 NMEDIT
737 DSYMUTIL
738 MANIFEST_TOOL
739 RANLIB
740 ac_ct_AR
741 AR
742 DLLTOOL
743 OBJDUMP
744 LN_S
745 NM
746 ac_ct_DUMPBIN
747 DUMPBIN
748 LD
749 FGREP
750 EGREP
751 GREP
752 SED
753 host_os
754 host_vendor
755 host_cpu
756 host
757 build_os
758 build_vendor
759 build_cpu
760 build
761 LIBTOOL
762 am__fastdepCC_FALSE
763 am__fastdepCC_TRUE
764 CCDEPMODE
765 am__nodep
766 AMDEPBACKSLASH
767 AMDEP_FALSE
768 AMDEP_TRUE
769 am__quote
770 am__include
771 DEPDIR
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
778 CC
779 AM_BACKSLASH
780 AM_DEFAULT_VERBOSITY
781 AM_DEFAULT_V
782 AM_V
783 am__untar
784 am__tar
785 AMTAR
786 am__leading_dot
787 SET_MAKE
788 AWK
789 mkdir_p
790 MKDIR_P
791 INSTALL_STRIP_PROGRAM
792 STRIP
793 install_sh
794 MAKEINFO
795 AUTOHEADER
796 AUTOMAKE
797 AUTOCONF
798 ACLOCAL
799 VERSION
800 PACKAGE
801 CYGPATH_W
802 am__isrc
803 INSTALL_DATA
804 INSTALL_SCRIPT
805 INSTALL_PROGRAM
806 LT_AGE
807 LT_REVISION
808 LT_CURRENT
809 LT_RELEASE
810 LT_VERSION_INFO
811 AT_SPI_CORE_VERSION
812 target_alias
813 host_alias
814 build_alias
815 LIBS
816 ECHO_T
817 ECHO_N
818 ECHO_C
819 DEFS
820 mandir
821 localedir
822 libdir
823 psdir
824 pdfdir
825 dvidir
826 htmldir
827 infodir
828 docdir
829 oldincludedir
830 includedir
831 localstatedir
832 sharedstatedir
833 sysconfdir
834 datadir
835 datarootdir
836 libexecdir
837 sbindir
838 bindir
839 program_transform_name
840 prefix
841 exec_prefix
842 PACKAGE_URL
843 PACKAGE_BUGREPORT
844 PACKAGE_STRING
845 PACKAGE_VERSION
846 PACKAGE_TARNAME
847 PACKAGE_NAME
848 PATH_SEPARATOR
849 SHELL'
850 ac_subst_files=''
851 ac_user_opts='
852 enable_option_checking
853 enable_silent_rules
854 enable_dependency_tracking
855 enable_static
856 enable_shared
857 with_pic
858 enable_fast_install
859 with_gnu_ld
860 with_sysroot
861 enable_libtool_lock
862 enable_nls
863 with_x
864 enable_xevie
865 with_dbus_daemondir
866 with_dbus_services
867 enable_introspection
868 with_html_dir
869 enable_gtk_doc
870 enable_gtk_doc_html
871 enable_gtk_doc_pdf
872 '
873       ac_precious_vars='build_alias
874 host_alias
875 target_alias
876 CC
877 CFLAGS
878 LDFLAGS
879 LIBS
880 CPPFLAGS
881 CPP
882 PKG_CONFIG
883 PKG_CONFIG_PATH
884 PKG_CONFIG_LIBDIR
885 DBUS_CFLAGS
886 DBUS_LIBS
887 GLIB_CFLAGS
888 GLIB_LIBS
889 GOBJ_CFLAGS
890 GOBJ_LIBS
891 GIO_CFLAGS
892 GIO_LIBS
893 XMKMF
894 GTKDOC_DEPS_CFLAGS
895 GTKDOC_DEPS_LIBS'
896
897
898 # Initialize some variables set by options.
899 ac_init_help=
900 ac_init_version=false
901 ac_unrecognized_opts=
902 ac_unrecognized_sep=
903 # The variables have the same names as the options, with
904 # dashes changed to underlines.
905 cache_file=/dev/null
906 exec_prefix=NONE
907 no_create=
908 no_recursion=
909 prefix=NONE
910 program_prefix=NONE
911 program_suffix=NONE
912 program_transform_name=s,x,x,
913 silent=
914 site=
915 srcdir=
916 verbose=
917 x_includes=NONE
918 x_libraries=NONE
919
920 # Installation directory options.
921 # These are left unexpanded so users can "make install exec_prefix=/foo"
922 # and all the variables that are supposed to be based on exec_prefix
923 # by default will actually change.
924 # Use braces instead of parens because sh, perl, etc. also accept them.
925 # (The list follows the same order as the GNU Coding Standards.)
926 bindir='${exec_prefix}/bin'
927 sbindir='${exec_prefix}/sbin'
928 libexecdir='${exec_prefix}/libexec'
929 datarootdir='${prefix}/share'
930 datadir='${datarootdir}'
931 sysconfdir='${prefix}/etc'
932 sharedstatedir='${prefix}/com'
933 localstatedir='${prefix}/var'
934 includedir='${prefix}/include'
935 oldincludedir='/usr/include'
936 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
937 infodir='${datarootdir}/info'
938 htmldir='${docdir}'
939 dvidir='${docdir}'
940 pdfdir='${docdir}'
941 psdir='${docdir}'
942 libdir='${exec_prefix}/lib'
943 localedir='${datarootdir}/locale'
944 mandir='${datarootdir}/man'
945
946 ac_prev=
947 ac_dashdash=
948 for ac_option
949 do
950   # If the previous option needs an argument, assign it.
951   if test -n "$ac_prev"; then
952     eval $ac_prev=\$ac_option
953     ac_prev=
954     continue
955   fi
956
957   case $ac_option in
958   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959   *=)   ac_optarg= ;;
960   *)    ac_optarg=yes ;;
961   esac
962
963   # Accept the important Cygnus configure options, so we can diagnose typos.
964
965   case $ac_dashdash$ac_option in
966   --)
967     ac_dashdash=yes ;;
968
969   -bindir | --bindir | --bindi | --bind | --bin | --bi)
970     ac_prev=bindir ;;
971   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
972     bindir=$ac_optarg ;;
973
974   -build | --build | --buil | --bui | --bu)
975     ac_prev=build_alias ;;
976   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
977     build_alias=$ac_optarg ;;
978
979   -cache-file | --cache-file | --cache-fil | --cache-fi \
980   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
981     ac_prev=cache_file ;;
982   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
983   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
984     cache_file=$ac_optarg ;;
985
986   --config-cache | -C)
987     cache_file=config.cache ;;
988
989   -datadir | --datadir | --datadi | --datad)
990     ac_prev=datadir ;;
991   -datadir=* | --datadir=* | --datadi=* | --datad=*)
992     datadir=$ac_optarg ;;
993
994   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
995   | --dataroo | --dataro | --datar)
996     ac_prev=datarootdir ;;
997   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
998   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
999     datarootdir=$ac_optarg ;;
1000
1001   -disable-* | --disable-*)
1002     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1003     # Reject names that are not valid shell variable names.
1004     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005       as_fn_error $? "invalid feature name: $ac_useropt"
1006     ac_useropt_orig=$ac_useropt
1007     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008     case $ac_user_opts in
1009       *"
1010 "enable_$ac_useropt"
1011 "*) ;;
1012       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1013          ac_unrecognized_sep=', ';;
1014     esac
1015     eval enable_$ac_useropt=no ;;
1016
1017   -docdir | --docdir | --docdi | --doc | --do)
1018     ac_prev=docdir ;;
1019   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1020     docdir=$ac_optarg ;;
1021
1022   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1023     ac_prev=dvidir ;;
1024   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1025     dvidir=$ac_optarg ;;
1026
1027   -enable-* | --enable-*)
1028     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1029     # Reject names that are not valid shell variable names.
1030     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031       as_fn_error $? "invalid feature name: $ac_useropt"
1032     ac_useropt_orig=$ac_useropt
1033     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034     case $ac_user_opts in
1035       *"
1036 "enable_$ac_useropt"
1037 "*) ;;
1038       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1039          ac_unrecognized_sep=', ';;
1040     esac
1041     eval enable_$ac_useropt=\$ac_optarg ;;
1042
1043   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1044   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1045   | --exec | --exe | --ex)
1046     ac_prev=exec_prefix ;;
1047   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1048   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1049   | --exec=* | --exe=* | --ex=*)
1050     exec_prefix=$ac_optarg ;;
1051
1052   -gas | --gas | --ga | --g)
1053     # Obsolete; use --with-gas.
1054     with_gas=yes ;;
1055
1056   -help | --help | --hel | --he | -h)
1057     ac_init_help=long ;;
1058   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1059     ac_init_help=recursive ;;
1060   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1061     ac_init_help=short ;;
1062
1063   -host | --host | --hos | --ho)
1064     ac_prev=host_alias ;;
1065   -host=* | --host=* | --hos=* | --ho=*)
1066     host_alias=$ac_optarg ;;
1067
1068   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1069     ac_prev=htmldir ;;
1070   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1071   | --ht=*)
1072     htmldir=$ac_optarg ;;
1073
1074   -includedir | --includedir | --includedi | --included | --include \
1075   | --includ | --inclu | --incl | --inc)
1076     ac_prev=includedir ;;
1077   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1078   | --includ=* | --inclu=* | --incl=* | --inc=*)
1079     includedir=$ac_optarg ;;
1080
1081   -infodir | --infodir | --infodi | --infod | --info | --inf)
1082     ac_prev=infodir ;;
1083   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1084     infodir=$ac_optarg ;;
1085
1086   -libdir | --libdir | --libdi | --libd)
1087     ac_prev=libdir ;;
1088   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1089     libdir=$ac_optarg ;;
1090
1091   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1092   | --libexe | --libex | --libe)
1093     ac_prev=libexecdir ;;
1094   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1095   | --libexe=* | --libex=* | --libe=*)
1096     libexecdir=$ac_optarg ;;
1097
1098   -localedir | --localedir | --localedi | --localed | --locale)
1099     ac_prev=localedir ;;
1100   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1101     localedir=$ac_optarg ;;
1102
1103   -localstatedir | --localstatedir | --localstatedi | --localstated \
1104   | --localstate | --localstat | --localsta | --localst | --locals)
1105     ac_prev=localstatedir ;;
1106   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1107   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1108     localstatedir=$ac_optarg ;;
1109
1110   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1111     ac_prev=mandir ;;
1112   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1113     mandir=$ac_optarg ;;
1114
1115   -nfp | --nfp | --nf)
1116     # Obsolete; use --without-fp.
1117     with_fp=no ;;
1118
1119   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1120   | --no-cr | --no-c | -n)
1121     no_create=yes ;;
1122
1123   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1124   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1125     no_recursion=yes ;;
1126
1127   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1128   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1129   | --oldin | --oldi | --old | --ol | --o)
1130     ac_prev=oldincludedir ;;
1131   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1132   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1133   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1134     oldincludedir=$ac_optarg ;;
1135
1136   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1137     ac_prev=prefix ;;
1138   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1139     prefix=$ac_optarg ;;
1140
1141   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1142   | --program-pre | --program-pr | --program-p)
1143     ac_prev=program_prefix ;;
1144   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1145   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1146     program_prefix=$ac_optarg ;;
1147
1148   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1149   | --program-suf | --program-su | --program-s)
1150     ac_prev=program_suffix ;;
1151   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1152   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1153     program_suffix=$ac_optarg ;;
1154
1155   -program-transform-name | --program-transform-name \
1156   | --program-transform-nam | --program-transform-na \
1157   | --program-transform-n | --program-transform- \
1158   | --program-transform | --program-transfor \
1159   | --program-transfo | --program-transf \
1160   | --program-trans | --program-tran \
1161   | --progr-tra | --program-tr | --program-t)
1162     ac_prev=program_transform_name ;;
1163   -program-transform-name=* | --program-transform-name=* \
1164   | --program-transform-nam=* | --program-transform-na=* \
1165   | --program-transform-n=* | --program-transform-=* \
1166   | --program-transform=* | --program-transfor=* \
1167   | --program-transfo=* | --program-transf=* \
1168   | --program-trans=* | --program-tran=* \
1169   | --progr-tra=* | --program-tr=* | --program-t=*)
1170     program_transform_name=$ac_optarg ;;
1171
1172   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1173     ac_prev=pdfdir ;;
1174   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1175     pdfdir=$ac_optarg ;;
1176
1177   -psdir | --psdir | --psdi | --psd | --ps)
1178     ac_prev=psdir ;;
1179   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1180     psdir=$ac_optarg ;;
1181
1182   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1183   | -silent | --silent | --silen | --sile | --sil)
1184     silent=yes ;;
1185
1186   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1187     ac_prev=sbindir ;;
1188   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1189   | --sbi=* | --sb=*)
1190     sbindir=$ac_optarg ;;
1191
1192   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1193   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1194   | --sharedst | --shareds | --shared | --share | --shar \
1195   | --sha | --sh)
1196     ac_prev=sharedstatedir ;;
1197   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1198   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1199   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1200   | --sha=* | --sh=*)
1201     sharedstatedir=$ac_optarg ;;
1202
1203   -site | --site | --sit)
1204     ac_prev=site ;;
1205   -site=* | --site=* | --sit=*)
1206     site=$ac_optarg ;;
1207
1208   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1209     ac_prev=srcdir ;;
1210   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1211     srcdir=$ac_optarg ;;
1212
1213   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1214   | --syscon | --sysco | --sysc | --sys | --sy)
1215     ac_prev=sysconfdir ;;
1216   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1217   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1218     sysconfdir=$ac_optarg ;;
1219
1220   -target | --target | --targe | --targ | --tar | --ta | --t)
1221     ac_prev=target_alias ;;
1222   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1223     target_alias=$ac_optarg ;;
1224
1225   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1226     verbose=yes ;;
1227
1228   -version | --version | --versio | --versi | --vers | -V)
1229     ac_init_version=: ;;
1230
1231   -with-* | --with-*)
1232     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1233     # Reject names that are not valid shell variable names.
1234     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235       as_fn_error $? "invalid package name: $ac_useropt"
1236     ac_useropt_orig=$ac_useropt
1237     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238     case $ac_user_opts in
1239       *"
1240 "with_$ac_useropt"
1241 "*) ;;
1242       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1243          ac_unrecognized_sep=', ';;
1244     esac
1245     eval with_$ac_useropt=\$ac_optarg ;;
1246
1247   -without-* | --without-*)
1248     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1249     # Reject names that are not valid shell variable names.
1250     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251       as_fn_error $? "invalid package name: $ac_useropt"
1252     ac_useropt_orig=$ac_useropt
1253     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254     case $ac_user_opts in
1255       *"
1256 "with_$ac_useropt"
1257 "*) ;;
1258       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1259          ac_unrecognized_sep=', ';;
1260     esac
1261     eval with_$ac_useropt=no ;;
1262
1263   --x)
1264     # Obsolete; use --with-x.
1265     with_x=yes ;;
1266
1267   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1268   | --x-incl | --x-inc | --x-in | --x-i)
1269     ac_prev=x_includes ;;
1270   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1271   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1272     x_includes=$ac_optarg ;;
1273
1274   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1275   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1276     ac_prev=x_libraries ;;
1277   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1278   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1279     x_libraries=$ac_optarg ;;
1280
1281   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1282 Try \`$0 --help' for more information"
1283     ;;
1284
1285   *=*)
1286     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1287     # Reject names that are not valid shell variable names.
1288     case $ac_envvar in #(
1289       '' | [0-9]* | *[!_$as_cr_alnum]* )
1290       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1291     esac
1292     eval $ac_envvar=\$ac_optarg
1293     export $ac_envvar ;;
1294
1295   *)
1296     # FIXME: should be removed in autoconf 3.0.
1297     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1298     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1299       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1300     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1301     ;;
1302
1303   esac
1304 done
1305
1306 if test -n "$ac_prev"; then
1307   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1308   as_fn_error $? "missing argument to $ac_option"
1309 fi
1310
1311 if test -n "$ac_unrecognized_opts"; then
1312   case $enable_option_checking in
1313     no) ;;
1314     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1315     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1316   esac
1317 fi
1318
1319 # Check all directory arguments for consistency.
1320 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1321                 datadir sysconfdir sharedstatedir localstatedir includedir \
1322                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1323                 libdir localedir mandir
1324 do
1325   eval ac_val=\$$ac_var
1326   # Remove trailing slashes.
1327   case $ac_val in
1328     */ )
1329       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1330       eval $ac_var=\$ac_val;;
1331   esac
1332   # Be sure to have absolute directory names.
1333   case $ac_val in
1334     [\\/$]* | ?:[\\/]* )  continue;;
1335     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1336   esac
1337   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1338 done
1339
1340 # There might be people who depend on the old broken behavior: `$host'
1341 # used to hold the argument of --host etc.
1342 # FIXME: To remove some day.
1343 build=$build_alias
1344 host=$host_alias
1345 target=$target_alias
1346
1347 # FIXME: To remove some day.
1348 if test "x$host_alias" != x; then
1349   if test "x$build_alias" = x; then
1350     cross_compiling=maybe
1351   elif test "x$build_alias" != "x$host_alias"; then
1352     cross_compiling=yes
1353   fi
1354 fi
1355
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358
1359 test "$silent" = yes && exec 6>/dev/null
1360
1361
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365   as_fn_error $? "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367   as_fn_error $? "pwd does not report name of working directory"
1368
1369
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372   ac_srcdir_defaulted=yes
1373   # Try the directory containing this script, then the parent directory.
1374   ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376          X"$as_myself" : 'X\(//\)[^/]' \| \
1377          X"$as_myself" : 'X\(//\)$' \| \
1378          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381             s//\1/
1382             q
1383           }
1384           /^X\(\/\/\)[^/].*/{
1385             s//\1/
1386             q
1387           }
1388           /^X\(\/\/\)$/{
1389             s//\1/
1390             q
1391           }
1392           /^X\(\/\).*/{
1393             s//\1/
1394             q
1395           }
1396           s/.*/./; q'`
1397   srcdir=$ac_confdir
1398   if test ! -r "$srcdir/$ac_unique_file"; then
1399     srcdir=..
1400   fi
1401 else
1402   ac_srcdir_defaulted=no
1403 fi
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1407 fi
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1411         pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414   srcdir=.
1415 fi
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424   eval ac_env_${ac_var}_value=\$${ac_var}
1425   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1428
1429 #
1430 # Report the --help message.
1431 #
1432 if test "$ac_init_help" = "long"; then
1433   # Omit some internal or obsolete options to make the list less imposing.
1434   # This message is too long to be a string in the A/UX 3.1 sh.
1435   cat <<_ACEOF
1436 \`configure' configures at-spi2-core 2.7.91 to adapt to many kinds of systems.
1437
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1439
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE.  See below for descriptions of some of the useful variables.
1442
1443 Defaults for the options are specified in brackets.
1444
1445 Configuration:
1446   -h, --help              display this help and exit
1447       --help=short        display options specific to this package
1448       --help=recursive    display the short help of all the included packages
1449   -V, --version           display version information and exit
1450   -q, --quiet, --silent   do not print \`checking ...' messages
1451       --cache-file=FILE   cache test results in FILE [disabled]
1452   -C, --config-cache      alias for \`--cache-file=config.cache'
1453   -n, --no-create         do not create output files
1454       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1455
1456 Installation directories:
1457   --prefix=PREFIX         install architecture-independent files in PREFIX
1458                           [$ac_default_prefix]
1459   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1460                           [PREFIX]
1461
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1466
1467 For better control, use the options below.
1468
1469 Fine tuning of the installation directories:
1470   --bindir=DIR            user executables [EPREFIX/bin]
1471   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1472   --libexecdir=DIR        program executables [EPREFIX/libexec]
1473   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1474   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1475   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1476   --libdir=DIR            object code libraries [EPREFIX/lib]
1477   --includedir=DIR        C header files [PREFIX/include]
1478   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1479   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1480   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1481   --infodir=DIR           info documentation [DATAROOTDIR/info]
1482   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1483   --mandir=DIR            man documentation [DATAROOTDIR/man]
1484   --docdir=DIR            documentation root [DATAROOTDIR/doc/at-spi2-core]
1485   --htmldir=DIR           html documentation [DOCDIR]
1486   --dvidir=DIR            dvi documentation [DOCDIR]
1487   --pdfdir=DIR            pdf documentation [DOCDIR]
1488   --psdir=DIR             ps documentation [DOCDIR]
1489 _ACEOF
1490
1491   cat <<\_ACEOF
1492
1493 Program names:
1494   --program-prefix=PREFIX            prepend PREFIX to installed program names
1495   --program-suffix=SUFFIX            append SUFFIX to installed program names
1496   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1497
1498 X features:
1499   --x-includes=DIR    X include files are in DIR
1500   --x-libraries=DIR   X library files are in DIR
1501
1502 System types:
1503   --build=BUILD     configure for building on BUILD [guessed]
1504   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1505 _ACEOF
1506 fi
1507
1508 if test -n "$ac_init_help"; then
1509   case $ac_init_help in
1510      short | recursive ) echo "Configuration of at-spi2-core 2.7.91:";;
1511    esac
1512   cat <<\_ACEOF
1513
1514 Optional Features:
1515   --disable-option-checking  ignore unrecognized --enable/--with options
1516   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1517   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1518   --enable-silent-rules   less verbose build output (undo: "make V=1")
1519   --disable-silent-rules  verbose build output (undo: "make V=0")
1520   --enable-dependency-tracking
1521                           do not reject slow dependency extractors
1522   --disable-dependency-tracking
1523                           speeds up one-time build
1524   --enable-static[=PKGS]  build static libraries [default=no]
1525   --enable-shared[=PKGS]  build shared libraries [default=yes]
1526   --enable-fast-install[=PKGS]
1527                           optimize for fast installation [default=yes]
1528   --disable-libtool-lock  avoid locking (might break parallel builds)
1529   --disable-nls           do not use Native Language Support
1530   --enable-xevie          Build with XEViE support [default=yes]
1531   --enable-introspection=[no/auto/yes]
1532                           Enable introspection for this build
1533   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1534   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1535   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1536
1537 Optional Packages:
1538   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1539   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1540   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1541                           both]
1542   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1543   --with-sysroot=DIR Search for dependent libraries within DIR
1544                         (or the compiler's sysroot if not specified).
1545   --with-x                use the X Window System
1546   --with-dbus-daemondir=<directory>
1547                           Directory where the DBUS daemon is installed
1548   --with-dbus-services=<directory>
1549                           where D-BUS services directory is
1550   --with-html-dir=PATH    path to installed docs
1551
1552 Some influential environment variables:
1553   CC          C compiler command
1554   CFLAGS      C compiler flags
1555   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1556               nonstandard directory <lib dir>
1557   LIBS        libraries to pass to the linker, e.g. -l<library>
1558   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1559               you have headers in a nonstandard directory <include dir>
1560   CPP         C preprocessor
1561   PKG_CONFIG  path to pkg-config utility
1562   PKG_CONFIG_PATH
1563               directories to add to pkg-config's search path
1564   PKG_CONFIG_LIBDIR
1565               path overriding pkg-config's built-in search path
1566   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1567   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1568   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1569   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1570   GOBJ_CFLAGS C compiler flags for GOBJ, overriding pkg-config
1571   GOBJ_LIBS   linker flags for GOBJ, overriding pkg-config
1572   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1573   GIO_LIBS    linker flags for GIO, overriding pkg-config
1574   XMKMF       Path to xmkmf, Makefile generator for X Window System
1575   GTKDOC_DEPS_CFLAGS
1576               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1577   GTKDOC_DEPS_LIBS
1578               linker flags for GTKDOC_DEPS, overriding pkg-config
1579
1580 Use these variables to override the choices made by `configure' or to help
1581 it to find libraries and programs with nonstandard names/locations.
1582
1583 Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
1584 _ACEOF
1585 ac_status=$?
1586 fi
1587
1588 if test "$ac_init_help" = "recursive"; then
1589   # If there are subdirs, report their specific --help.
1590   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1591     test -d "$ac_dir" ||
1592       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1593       continue
1594     ac_builddir=.
1595
1596 case "$ac_dir" in
1597 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1598 *)
1599   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1600   # A ".." for each directory in $ac_dir_suffix.
1601   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1602   case $ac_top_builddir_sub in
1603   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1604   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1605   esac ;;
1606 esac
1607 ac_abs_top_builddir=$ac_pwd
1608 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1609 # for backward compatibility:
1610 ac_top_builddir=$ac_top_build_prefix
1611
1612 case $srcdir in
1613   .)  # We are building in place.
1614     ac_srcdir=.
1615     ac_top_srcdir=$ac_top_builddir_sub
1616     ac_abs_top_srcdir=$ac_pwd ;;
1617   [\\/]* | ?:[\\/]* )  # Absolute name.
1618     ac_srcdir=$srcdir$ac_dir_suffix;
1619     ac_top_srcdir=$srcdir
1620     ac_abs_top_srcdir=$srcdir ;;
1621   *) # Relative name.
1622     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1623     ac_top_srcdir=$ac_top_build_prefix$srcdir
1624     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1625 esac
1626 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1627
1628     cd "$ac_dir" || { ac_status=$?; continue; }
1629     # Check for guested configure.
1630     if test -f "$ac_srcdir/configure.gnu"; then
1631       echo &&
1632       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1633     elif test -f "$ac_srcdir/configure"; then
1634       echo &&
1635       $SHELL "$ac_srcdir/configure" --help=recursive
1636     else
1637       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1638     fi || ac_status=$?
1639     cd "$ac_pwd" || { ac_status=$?; break; }
1640   done
1641 fi
1642
1643 test -n "$ac_init_help" && exit $ac_status
1644 if $ac_init_version; then
1645   cat <<\_ACEOF
1646 at-spi2-core configure 2.7.91
1647 generated by GNU Autoconf 2.69
1648
1649 Copyright (C) 2012 Free Software Foundation, Inc.
1650 This configure script is free software; the Free Software Foundation
1651 gives unlimited permission to copy, distribute and modify it.
1652 _ACEOF
1653   exit
1654 fi
1655
1656 ## ------------------------ ##
1657 ## Autoconf initialization. ##
1658 ## ------------------------ ##
1659
1660 # ac_fn_c_try_compile LINENO
1661 # --------------------------
1662 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1663 ac_fn_c_try_compile ()
1664 {
1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666   rm -f conftest.$ac_objext
1667   if { { ac_try="$ac_compile"
1668 case "(($ac_try" in
1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670   *) ac_try_echo=$ac_try;;
1671 esac
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674   (eval "$ac_compile") 2>conftest.err
1675   ac_status=$?
1676   if test -s conftest.err; then
1677     grep -v '^ *+' conftest.err >conftest.er1
1678     cat conftest.er1 >&5
1679     mv -f conftest.er1 conftest.err
1680   fi
1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682   test $ac_status = 0; } && {
1683          test -z "$ac_c_werror_flag" ||
1684          test ! -s conftest.err
1685        } && test -s conftest.$ac_objext; then :
1686   ac_retval=0
1687 else
1688   $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1690
1691         ac_retval=1
1692 fi
1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694   as_fn_set_status $ac_retval
1695
1696 } # ac_fn_c_try_compile
1697
1698 # ac_fn_c_try_link LINENO
1699 # -----------------------
1700 # Try to link conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_link ()
1702 {
1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704   rm -f conftest.$ac_objext conftest$ac_exeext
1705   if { { ac_try="$ac_link"
1706 case "(($ac_try" in
1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708   *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712   (eval "$ac_link") 2>conftest.err
1713   ac_status=$?
1714   if test -s conftest.err; then
1715     grep -v '^ *+' conftest.err >conftest.er1
1716     cat conftest.er1 >&5
1717     mv -f conftest.er1 conftest.err
1718   fi
1719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720   test $ac_status = 0; } && {
1721          test -z "$ac_c_werror_flag" ||
1722          test ! -s conftest.err
1723        } && test -s conftest$ac_exeext && {
1724          test "$cross_compiling" = yes ||
1725          test -x conftest$ac_exeext
1726        }; then :
1727   ac_retval=0
1728 else
1729   $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1731
1732         ac_retval=1
1733 fi
1734   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1735   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1736   # interfere with the next link command; also delete a directory that is
1737   # left behind by Apple's compiler.  We do this before executing the actions.
1738   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740   as_fn_set_status $ac_retval
1741
1742 } # ac_fn_c_try_link
1743
1744 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1745 # -------------------------------------------------------
1746 # Tests whether HEADER exists and can be compiled using the include files in
1747 # INCLUDES, setting the cache variable VAR accordingly.
1748 ac_fn_c_check_header_compile ()
1749 {
1750   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752 $as_echo_n "checking for $2... " >&6; }
1753 if eval \${$3+:} false; then :
1754   $as_echo_n "(cached) " >&6
1755 else
1756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757 /* end confdefs.h.  */
1758 $4
1759 #include <$2>
1760 _ACEOF
1761 if ac_fn_c_try_compile "$LINENO"; then :
1762   eval "$3=yes"
1763 else
1764   eval "$3=no"
1765 fi
1766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767 fi
1768 eval ac_res=\$$3
1769                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1771   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772
1773 } # ac_fn_c_check_header_compile
1774
1775 # ac_fn_c_try_cpp LINENO
1776 # ----------------------
1777 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_c_try_cpp ()
1779 {
1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781   if { { ac_try="$ac_cpp conftest.$ac_ext"
1782 case "(($ac_try" in
1783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784   *) ac_try_echo=$ac_try;;
1785 esac
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1789   ac_status=$?
1790   if test -s conftest.err; then
1791     grep -v '^ *+' conftest.err >conftest.er1
1792     cat conftest.er1 >&5
1793     mv -f conftest.er1 conftest.err
1794   fi
1795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796   test $ac_status = 0; } > conftest.i && {
1797          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1798          test ! -s conftest.err
1799        }; then :
1800   ac_retval=0
1801 else
1802   $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1804
1805     ac_retval=1
1806 fi
1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808   as_fn_set_status $ac_retval
1809
1810 } # ac_fn_c_try_cpp
1811
1812 # ac_fn_c_try_run LINENO
1813 # ----------------------
1814 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1815 # that executables *can* be run.
1816 ac_fn_c_try_run ()
1817 {
1818   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819   if { { ac_try="$ac_link"
1820 case "(($ac_try" in
1821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822   *) ac_try_echo=$ac_try;;
1823 esac
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826   (eval "$ac_link") 2>&5
1827   ac_status=$?
1828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1830   { { case "(($ac_try" in
1831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832   *) ac_try_echo=$ac_try;;
1833 esac
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836   (eval "$ac_try") 2>&5
1837   ac_status=$?
1838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839   test $ac_status = 0; }; }; then :
1840   ac_retval=0
1841 else
1842   $as_echo "$as_me: program exited with status $ac_status" >&5
1843        $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1845
1846        ac_retval=$ac_status
1847 fi
1848   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850   as_fn_set_status $ac_retval
1851
1852 } # ac_fn_c_try_run
1853
1854 # ac_fn_c_check_func LINENO FUNC VAR
1855 # ----------------------------------
1856 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1857 ac_fn_c_check_func ()
1858 {
1859   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \${$3+:} false; then :
1863   $as_echo_n "(cached) " >&6
1864 else
1865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h.  */
1867 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1869 #define $2 innocuous_$2
1870
1871 /* System header to define __stub macros and hopefully few prototypes,
1872     which can conflict with char $2 (); below.
1873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1874     <limits.h> exists even on freestanding compilers.  */
1875
1876 #ifdef __STDC__
1877 # include <limits.h>
1878 #else
1879 # include <assert.h>
1880 #endif
1881
1882 #undef $2
1883
1884 /* Override any GCC internal prototype to avoid an error.
1885    Use char because int might match the return type of a GCC
1886    builtin and then its argument prototype would still apply.  */
1887 #ifdef __cplusplus
1888 extern "C"
1889 #endif
1890 char $2 ();
1891 /* The GNU C library defines this for functions which it implements
1892     to always fail with ENOSYS.  Some functions are actually named
1893     something starting with __ and the normal name is an alias.  */
1894 #if defined __stub_$2 || defined __stub___$2
1895 choke me
1896 #endif
1897
1898 int
1899 main ()
1900 {
1901 return $2 ();
1902   ;
1903   return 0;
1904 }
1905 _ACEOF
1906 if ac_fn_c_try_link "$LINENO"; then :
1907   eval "$3=yes"
1908 else
1909   eval "$3=no"
1910 fi
1911 rm -f core conftest.err conftest.$ac_objext \
1912     conftest$ac_exeext conftest.$ac_ext
1913 fi
1914 eval ac_res=\$$3
1915                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1917   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918
1919 } # ac_fn_c_check_func
1920
1921 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1922 # -------------------------------------------------------
1923 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1924 # the include files in INCLUDES and setting the cache variable VAR
1925 # accordingly.
1926 ac_fn_c_check_header_mongrel ()
1927 {
1928   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929   if eval \${$3+:} false; then :
1930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if eval \${$3+:} false; then :
1933   $as_echo_n "(cached) " >&6
1934 fi
1935 eval ac_res=\$$3
1936                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 else
1939   # Is the header compilable?
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1941 $as_echo_n "checking $2 usability... " >&6; }
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h.  */
1944 $4
1945 #include <$2>
1946 _ACEOF
1947 if ac_fn_c_try_compile "$LINENO"; then :
1948   ac_header_compiler=yes
1949 else
1950   ac_header_compiler=no
1951 fi
1952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1954 $as_echo "$ac_header_compiler" >&6; }
1955
1956 # Is the header present?
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1958 $as_echo_n "checking $2 presence... " >&6; }
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h.  */
1961 #include <$2>
1962 _ACEOF
1963 if ac_fn_c_try_cpp "$LINENO"; then :
1964   ac_header_preproc=yes
1965 else
1966   ac_header_preproc=no
1967 fi
1968 rm -f conftest.err conftest.i conftest.$ac_ext
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1970 $as_echo "$ac_header_preproc" >&6; }
1971
1972 # So?  What about this header?
1973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1974   yes:no: )
1975     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1976 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1977     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1978 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1979     ;;
1980   no:yes:* )
1981     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1982 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1983     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1984 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1985     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1986 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1987     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1988 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1989     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1990 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1991 ( $as_echo "## ------------------------------------------------------------- ##
1992 ## Report this to accessibility-atspi@lists.linux-foundation.org ##
1993 ## ------------------------------------------------------------- ##"
1994      ) | sed "s/^/$as_me: WARNING:     /" >&2
1995     ;;
1996 esac
1997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval \${$3+:} false; then :
2000   $as_echo_n "(cached) " >&6
2001 else
2002   eval "$3=\$ac_header_compiler"
2003 fi
2004 eval ac_res=\$$3
2005                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2007 fi
2008   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009
2010 } # ac_fn_c_check_header_mongrel
2011 cat >config.log <<_ACEOF
2012 This file contains any messages produced by compilers while
2013 running configure, to aid debugging if configure makes a mistake.
2014
2015 It was created by at-spi2-core $as_me 2.7.91, which was
2016 generated by GNU Autoconf 2.69.  Invocation command line was
2017
2018   $ $0 $@
2019
2020 _ACEOF
2021 exec 5>>config.log
2022 {
2023 cat <<_ASUNAME
2024 ## --------- ##
2025 ## Platform. ##
2026 ## --------- ##
2027
2028 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2029 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2030 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2031 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2032 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2033
2034 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2035 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2036
2037 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2038 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2039 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2040 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2041 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2042 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2043 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2044
2045 _ASUNAME
2046
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 for as_dir in $PATH
2049 do
2050   IFS=$as_save_IFS
2051   test -z "$as_dir" && as_dir=.
2052     $as_echo "PATH: $as_dir"
2053   done
2054 IFS=$as_save_IFS
2055
2056 } >&5
2057
2058 cat >&5 <<_ACEOF
2059
2060
2061 ## ----------- ##
2062 ## Core tests. ##
2063 ## ----------- ##
2064
2065 _ACEOF
2066
2067
2068 # Keep a trace of the command line.
2069 # Strip out --no-create and --no-recursion so they do not pile up.
2070 # Strip out --silent because we don't want to record it for future runs.
2071 # Also quote any args containing shell meta-characters.
2072 # Make two passes to allow for proper duplicate-argument suppression.
2073 ac_configure_args=
2074 ac_configure_args0=
2075 ac_configure_args1=
2076 ac_must_keep_next=false
2077 for ac_pass in 1 2
2078 do
2079   for ac_arg
2080   do
2081     case $ac_arg in
2082     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2083     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2084     | -silent | --silent | --silen | --sile | --sil)
2085       continue ;;
2086     *\'*)
2087       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2088     esac
2089     case $ac_pass in
2090     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2091     2)
2092       as_fn_append ac_configure_args1 " '$ac_arg'"
2093       if test $ac_must_keep_next = true; then
2094         ac_must_keep_next=false # Got value, back to normal.
2095       else
2096         case $ac_arg in
2097           *=* | --config-cache | -C | -disable-* | --disable-* \
2098           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2099           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2100           | -with-* | --with-* | -without-* | --without-* | --x)
2101             case "$ac_configure_args0 " in
2102               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2103             esac
2104             ;;
2105           -* ) ac_must_keep_next=true ;;
2106         esac
2107       fi
2108       as_fn_append ac_configure_args " '$ac_arg'"
2109       ;;
2110     esac
2111   done
2112 done
2113 { ac_configure_args0=; unset ac_configure_args0;}
2114 { ac_configure_args1=; unset ac_configure_args1;}
2115
2116 # When interrupted or exit'd, cleanup temporary files, and complete
2117 # config.log.  We remove comments because anyway the quotes in there
2118 # would cause problems or look ugly.
2119 # WARNING: Use '\'' to represent an apostrophe within the trap.
2120 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2121 trap 'exit_status=$?
2122   # Save into config.log some information that might help in debugging.
2123   {
2124     echo
2125
2126     $as_echo "## ---------------- ##
2127 ## Cache variables. ##
2128 ## ---------------- ##"
2129     echo
2130     # The following way of writing the cache mishandles newlines in values,
2131 (
2132   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2133     eval ac_val=\$$ac_var
2134     case $ac_val in #(
2135     *${as_nl}*)
2136       case $ac_var in #(
2137       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2138 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2139       esac
2140       case $ac_var in #(
2141       _ | IFS | as_nl) ;; #(
2142       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2143       *) { eval $ac_var=; unset $ac_var;} ;;
2144       esac ;;
2145     esac
2146   done
2147   (set) 2>&1 |
2148     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2149     *${as_nl}ac_space=\ *)
2150       sed -n \
2151         "s/'\''/'\''\\\\'\'''\''/g;
2152           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2153       ;; #(
2154     *)
2155       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2156       ;;
2157     esac |
2158     sort
2159 )
2160     echo
2161
2162     $as_echo "## ----------------- ##
2163 ## Output variables. ##
2164 ## ----------------- ##"
2165     echo
2166     for ac_var in $ac_subst_vars
2167     do
2168       eval ac_val=\$$ac_var
2169       case $ac_val in
2170       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171       esac
2172       $as_echo "$ac_var='\''$ac_val'\''"
2173     done | sort
2174     echo
2175
2176     if test -n "$ac_subst_files"; then
2177       $as_echo "## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##"
2180       echo
2181       for ac_var in $ac_subst_files
2182       do
2183         eval ac_val=\$$ac_var
2184         case $ac_val in
2185         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2186         esac
2187         $as_echo "$ac_var='\''$ac_val'\''"
2188       done | sort
2189       echo
2190     fi
2191
2192     if test -s confdefs.h; then
2193       $as_echo "## ----------- ##
2194 ## confdefs.h. ##
2195 ## ----------- ##"
2196       echo
2197       cat confdefs.h
2198       echo
2199     fi
2200     test "$ac_signal" != 0 &&
2201       $as_echo "$as_me: caught signal $ac_signal"
2202     $as_echo "$as_me: exit $exit_status"
2203   } >&5
2204   rm -f core *.core core.conftest.* &&
2205     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2206     exit $exit_status
2207 ' 0
2208 for ac_signal in 1 2 13 15; do
2209   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2210 done
2211 ac_signal=0
2212
2213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2214 rm -f -r conftest* confdefs.h
2215
2216 $as_echo "/* confdefs.h */" > confdefs.h
2217
2218 # Predefined preprocessor variables.
2219
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_NAME "$PACKAGE_NAME"
2222 _ACEOF
2223
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2226 _ACEOF
2227
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2230 _ACEOF
2231
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_STRING "$PACKAGE_STRING"
2234 _ACEOF
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2238 _ACEOF
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_URL "$PACKAGE_URL"
2242 _ACEOF
2243
2244
2245 # Let the site file select an alternate cache file if it wants to.
2246 # Prefer an explicitly selected file to automatically selected ones.
2247 ac_site_file1=NONE
2248 ac_site_file2=NONE
2249 if test -n "$CONFIG_SITE"; then
2250   # We do not want a PATH search for config.site.
2251   case $CONFIG_SITE in #((
2252     -*)  ac_site_file1=./$CONFIG_SITE;;
2253     */*) ac_site_file1=$CONFIG_SITE;;
2254     *)   ac_site_file1=./$CONFIG_SITE;;
2255   esac
2256 elif test "x$prefix" != xNONE; then
2257   ac_site_file1=$prefix/share/config.site
2258   ac_site_file2=$prefix/etc/config.site
2259 else
2260   ac_site_file1=$ac_default_prefix/share/config.site
2261   ac_site_file2=$ac_default_prefix/etc/config.site
2262 fi
2263 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2264 do
2265   test "x$ac_site_file" = xNONE && continue
2266   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2267     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2268 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2269     sed 's/^/| /' "$ac_site_file" >&5
2270     . "$ac_site_file" \
2271       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2273 as_fn_error $? "failed to load site script $ac_site_file
2274 See \`config.log' for more details" "$LINENO" 5; }
2275   fi
2276 done
2277
2278 if test -r "$cache_file"; then
2279   # Some versions of bash will fail to source /dev/null (special files
2280   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2281   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2282     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2283 $as_echo "$as_me: loading cache $cache_file" >&6;}
2284     case $cache_file in
2285       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2286       *)                      . "./$cache_file";;
2287     esac
2288   fi
2289 else
2290   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2291 $as_echo "$as_me: creating cache $cache_file" >&6;}
2292   >$cache_file
2293 fi
2294
2295 # Check that the precious variables saved in the cache have kept the same
2296 # value.
2297 ac_cache_corrupted=false
2298 for ac_var in $ac_precious_vars; do
2299   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2300   eval ac_new_set=\$ac_env_${ac_var}_set
2301   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2302   eval ac_new_val=\$ac_env_${ac_var}_value
2303   case $ac_old_set,$ac_new_set in
2304     set,)
2305       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2306 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2307       ac_cache_corrupted=: ;;
2308     ,set)
2309       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2310 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2311       ac_cache_corrupted=: ;;
2312     ,);;
2313     *)
2314       if test "x$ac_old_val" != "x$ac_new_val"; then
2315         # differences in whitespace do not lead to failure.
2316         ac_old_val_w=`echo x $ac_old_val`
2317         ac_new_val_w=`echo x $ac_new_val`
2318         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2319           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2320 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2321           ac_cache_corrupted=:
2322         else
2323           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2324 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2325           eval $ac_var=\$ac_old_val
2326         fi
2327         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2328 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2329         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2330 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2331       fi;;
2332   esac
2333   # Pass precious variables to config.status.
2334   if test "$ac_new_set" = set; then
2335     case $ac_new_val in
2336     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2337     *) ac_arg=$ac_var=$ac_new_val ;;
2338     esac
2339     case " $ac_configure_args " in
2340       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2341       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2342     esac
2343   fi
2344 done
2345 if $ac_cache_corrupted; then
2346   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2348   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2349 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2351 fi
2352 ## -------------------- ##
2353 ## Main body of script. ##
2354 ## -------------------- ##
2355
2356 ac_ext=c
2357 ac_cpp='$CPP $CPPFLAGS'
2358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2361
2362
2363
2364 ac_aux_dir=
2365 for ac_dir in config "$srcdir"/config; do
2366   if test -f "$ac_dir/install-sh"; then
2367     ac_aux_dir=$ac_dir
2368     ac_install_sh="$ac_aux_dir/install-sh -c"
2369     break
2370   elif test -f "$ac_dir/install.sh"; then
2371     ac_aux_dir=$ac_dir
2372     ac_install_sh="$ac_aux_dir/install.sh -c"
2373     break
2374   elif test -f "$ac_dir/shtool"; then
2375     ac_aux_dir=$ac_dir
2376     ac_install_sh="$ac_aux_dir/shtool install -c"
2377     break
2378   fi
2379 done
2380 if test -z "$ac_aux_dir"; then
2381   as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2382 fi
2383
2384 # These three variables are undocumented and unsupported,
2385 # and are intended to be withdrawn in a future Autoconf release.
2386 # They can cause serious problems if a builder's source tree is in a directory
2387 # whose full name contains unusual characters.
2388 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2389 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2390 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2391
2392
2393
2394
2395 AT_SPI_CORE_MAJOR_VERSION=0
2396 AT_SPI_CORE_MINOR_VERSION=1
2397 AT_SPI_CORE_MICRO_VERSION=3
2398 AT_SPI_CORE_VERSION="$AT_SPI_CORE_MAJOR_VERSION.$AT_SPI_CORE_MINOR_VERSION"
2399
2400
2401 LT_RELEASE=$AT_SPI_CORE_VERSION
2402 LT_CURRENT=0
2403 LT_REVISION=1
2404 LT_AGE=0
2405 LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
2406
2407
2408
2409
2410
2411
2412 am__api_version='1.12'
2413
2414 # Find a good install program.  We prefer a C program (faster),
2415 # so one script is as good as another.  But avoid the broken or
2416 # incompatible versions:
2417 # SysV /etc/install, /usr/sbin/install
2418 # SunOS /usr/etc/install
2419 # IRIX /sbin/install
2420 # AIX /bin/install
2421 # AmigaOS /C/install, which installs bootblocks on floppy discs
2422 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2425 # OS/2's system install, which has a completely different semantic
2426 # ./install, which can be erroneously created by make from ./install.sh.
2427 # Reject install programs that cannot install multiple files.
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2429 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2430 if test -z "$INSTALL"; then
2431 if ${ac_cv_path_install+:} false; then :
2432   $as_echo_n "(cached) " >&6
2433 else
2434   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 for as_dir in $PATH
2436 do
2437   IFS=$as_save_IFS
2438   test -z "$as_dir" && as_dir=.
2439     # Account for people who put trailing slashes in PATH elements.
2440 case $as_dir/ in #((
2441   ./ | .// | /[cC]/* | \
2442   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2443   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2444   /usr/ucb/* ) ;;
2445   *)
2446     # OSF1 and SCO ODT 3.0 have their own names for install.
2447     # Don't use installbsd from OSF since it installs stuff as root
2448     # by default.
2449     for ac_prog in ginstall scoinst install; do
2450       for ac_exec_ext in '' $ac_executable_extensions; do
2451         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2452           if test $ac_prog = install &&
2453             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2454             # AIX install.  It has an incompatible calling convention.
2455             :
2456           elif test $ac_prog = install &&
2457             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2458             # program-specific install script used by HP pwplus--don't use.
2459             :
2460           else
2461             rm -rf conftest.one conftest.two conftest.dir
2462             echo one > conftest.one
2463             echo two > conftest.two
2464             mkdir conftest.dir
2465             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2466               test -s conftest.one && test -s conftest.two &&
2467               test -s conftest.dir/conftest.one &&
2468               test -s conftest.dir/conftest.two
2469             then
2470               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2471               break 3
2472             fi
2473           fi
2474         fi
2475       done
2476     done
2477     ;;
2478 esac
2479
2480   done
2481 IFS=$as_save_IFS
2482
2483 rm -rf conftest.one conftest.two conftest.dir
2484
2485 fi
2486   if test "${ac_cv_path_install+set}" = set; then
2487     INSTALL=$ac_cv_path_install
2488   else
2489     # As a last resort, use the slow shell script.  Don't cache a
2490     # value for INSTALL within a source directory, because that will
2491     # break other packages using the cache if that directory is
2492     # removed, or if the value is a relative name.
2493     INSTALL=$ac_install_sh
2494   fi
2495 fi
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2497 $as_echo "$INSTALL" >&6; }
2498
2499 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2500 # It thinks the first close brace ends the variable substitution.
2501 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2502
2503 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2504
2505 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2506
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2508 $as_echo_n "checking whether build environment is sane... " >&6; }
2509 # Reject unsafe characters in $srcdir or the absolute working directory
2510 # name.  Accept space and tab only in the latter.
2511 am_lf='
2512 '
2513 case `pwd` in
2514   *[\\\"\#\$\&\'\`$am_lf]*)
2515     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2516 esac
2517 case $srcdir in
2518   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2519     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2520 esac
2521
2522 # Do 'set' in a subshell so we don't clobber the current shell's
2523 # arguments.  Must try -L first in case configure is actually a
2524 # symlink; some systems play weird games with the mod time of symlinks
2525 # (eg FreeBSD returns the mod time of the symlink's containing
2526 # directory).
2527 if (
2528    am_has_slept=no
2529    for am_try in 1 2; do
2530      echo "timestamp, slept: $am_has_slept" > conftest.file
2531      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2532      if test "$*" = "X"; then
2533         # -L didn't work.
2534         set X `ls -t "$srcdir/configure" conftest.file`
2535      fi
2536      if test "$*" != "X $srcdir/configure conftest.file" \
2537         && test "$*" != "X conftest.file $srcdir/configure"; then
2538
2539         # If neither matched, then we have a broken ls.  This can happen
2540         # if, for instance, CONFIG_SHELL is bash and it inherits a
2541         # broken ls alias from the environment.  This has actually
2542         # happened.  Such a system could not be considered "sane".
2543         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2544   alias in your environment" "$LINENO" 5
2545      fi
2546      if test "$2" = conftest.file || test $am_try -eq 2; then
2547        break
2548      fi
2549      # Just in case.
2550      sleep 1
2551      am_has_slept=yes
2552    done
2553    test "$2" = conftest.file
2554    )
2555 then
2556    # Ok.
2557    :
2558 else
2559    as_fn_error $? "newly created file is older than distributed files!
2560 Check your system clock" "$LINENO" 5
2561 fi
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2563 $as_echo "yes" >&6; }
2564 # If we didn't sleep, we still need to ensure time stamps of config.status and
2565 # generated files are strictly newer.
2566 am_sleep_pid=
2567 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2568   ( sleep 1 ) &
2569   am_sleep_pid=$!
2570 fi
2571
2572 rm -f conftest.file
2573
2574 test "$program_prefix" != NONE &&
2575   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2576 # Use a double $ so make ignores it.
2577 test "$program_suffix" != NONE &&
2578   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2579 # Double any \ or $.
2580 # By default was `s,x,x', remove it if useless.
2581 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2582 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2583
2584 # expand $ac_aux_dir to an absolute path
2585 am_aux_dir=`cd $ac_aux_dir && pwd`
2586
2587 if test x"${MISSING+set}" != xset; then
2588   case $am_aux_dir in
2589   *\ * | *\     *)
2590     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2591   *)
2592     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2593   esac
2594 fi
2595 # Use eval to expand $SHELL
2596 if eval "$MISSING --run true"; then
2597   am_missing_run="$MISSING --run "
2598 else
2599   am_missing_run=
2600   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2601 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2602 fi
2603
2604 if test x"${install_sh}" != xset; then
2605   case $am_aux_dir in
2606   *\ * | *\     *)
2607     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2608   *)
2609     install_sh="\${SHELL} $am_aux_dir/install-sh"
2610   esac
2611 fi
2612
2613 # Installed binaries are usually stripped using 'strip' when the user
2614 # run "make install-strip".  However 'strip' might not be the right
2615 # tool to use in cross-compilation environments, therefore Automake
2616 # will honor the 'STRIP' environment variable to overrule this program.
2617 if test "$cross_compiling" != no; then
2618   if test -n "$ac_tool_prefix"; then
2619   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2620 set dummy ${ac_tool_prefix}strip; ac_word=$2
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2622 $as_echo_n "checking for $ac_word... " >&6; }
2623 if ${ac_cv_prog_STRIP+:} false; then :
2624   $as_echo_n "(cached) " >&6
2625 else
2626   if test -n "$STRIP"; then
2627   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2628 else
2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 for as_dir in $PATH
2631 do
2632   IFS=$as_save_IFS
2633   test -z "$as_dir" && as_dir=.
2634     for ac_exec_ext in '' $ac_executable_extensions; do
2635   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2636     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638     break 2
2639   fi
2640 done
2641   done
2642 IFS=$as_save_IFS
2643
2644 fi
2645 fi
2646 STRIP=$ac_cv_prog_STRIP
2647 if test -n "$STRIP"; then
2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2649 $as_echo "$STRIP" >&6; }
2650 else
2651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2652 $as_echo "no" >&6; }
2653 fi
2654
2655
2656 fi
2657 if test -z "$ac_cv_prog_STRIP"; then
2658   ac_ct_STRIP=$STRIP
2659   # Extract the first word of "strip", so it can be a program name with args.
2660 set dummy strip; ac_word=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2664   $as_echo_n "(cached) " >&6
2665 else
2666   if test -n "$ac_ct_STRIP"; then
2667   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2668 else
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 for as_dir in $PATH
2671 do
2672   IFS=$as_save_IFS
2673   test -z "$as_dir" && as_dir=.
2674     for ac_exec_ext in '' $ac_executable_extensions; do
2675   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676     ac_cv_prog_ac_ct_STRIP="strip"
2677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678     break 2
2679   fi
2680 done
2681   done
2682 IFS=$as_save_IFS
2683
2684 fi
2685 fi
2686 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2687 if test -n "$ac_ct_STRIP"; then
2688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2689 $as_echo "$ac_ct_STRIP" >&6; }
2690 else
2691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2693 fi
2694
2695   if test "x$ac_ct_STRIP" = x; then
2696     STRIP=":"
2697   else
2698     case $cross_compiling:$ac_tool_warned in
2699 yes:)
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2702 ac_tool_warned=yes ;;
2703 esac
2704     STRIP=$ac_ct_STRIP
2705   fi
2706 else
2707   STRIP="$ac_cv_prog_STRIP"
2708 fi
2709
2710 fi
2711 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2712
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2714 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2715 if test -z "$MKDIR_P"; then
2716   if ${ac_cv_path_mkdir+:} false; then :
2717   $as_echo_n "(cached) " >&6
2718 else
2719   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2721 do
2722   IFS=$as_save_IFS
2723   test -z "$as_dir" && as_dir=.
2724     for ac_prog in mkdir gmkdir; do
2725          for ac_exec_ext in '' $ac_executable_extensions; do
2726            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2727            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2728              'mkdir (GNU coreutils) '* | \
2729              'mkdir (coreutils) '* | \
2730              'mkdir (fileutils) '4.1*)
2731                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2732                break 3;;
2733            esac
2734          done
2735        done
2736   done
2737 IFS=$as_save_IFS
2738
2739 fi
2740
2741   test -d ./--version && rmdir ./--version
2742   if test "${ac_cv_path_mkdir+set}" = set; then
2743     MKDIR_P="$ac_cv_path_mkdir -p"
2744   else
2745     # As a last resort, use the slow shell script.  Don't cache a
2746     # value for MKDIR_P within a source directory, because that will
2747     # break other packages using the cache if that directory is
2748     # removed, or if the value is a relative name.
2749     MKDIR_P="$ac_install_sh -d"
2750   fi
2751 fi
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2753 $as_echo "$MKDIR_P" >&6; }
2754
2755 for ac_prog in gawk mawk nawk awk
2756 do
2757   # Extract the first word of "$ac_prog", so it can be a program name with args.
2758 set dummy $ac_prog; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_AWK+:} false; then :
2762   $as_echo_n "(cached) " >&6
2763 else
2764   if test -n "$AWK"; then
2765   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2766 else
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 for as_dir in $PATH
2769 do
2770   IFS=$as_save_IFS
2771   test -z "$as_dir" && as_dir=.
2772     for ac_exec_ext in '' $ac_executable_extensions; do
2773   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774     ac_cv_prog_AWK="$ac_prog"
2775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776     break 2
2777   fi
2778 done
2779   done
2780 IFS=$as_save_IFS
2781
2782 fi
2783 fi
2784 AWK=$ac_cv_prog_AWK
2785 if test -n "$AWK"; then
2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2787 $as_echo "$AWK" >&6; }
2788 else
2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2791 fi
2792
2793
2794   test -n "$AWK" && break
2795 done
2796
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2799 set x ${MAKE-make}
2800 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2801 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2802   $as_echo_n "(cached) " >&6
2803 else
2804   cat >conftest.make <<\_ACEOF
2805 SHELL = /bin/sh
2806 all:
2807         @echo '@@@%%%=$(MAKE)=@@@%%%'
2808 _ACEOF
2809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2811   *@@@%%%=?*=@@@%%%*)
2812     eval ac_cv_prog_make_${ac_make}_set=yes;;
2813   *)
2814     eval ac_cv_prog_make_${ac_make}_set=no;;
2815 esac
2816 rm -f conftest.make
2817 fi
2818 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820 $as_echo "yes" >&6; }
2821   SET_MAKE=
2822 else
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825   SET_MAKE="MAKE=${MAKE-make}"
2826 fi
2827
2828 rm -rf .tst 2>/dev/null
2829 mkdir .tst 2>/dev/null
2830 if test -d .tst; then
2831   am__leading_dot=.
2832 else
2833   am__leading_dot=_
2834 fi
2835 rmdir .tst 2>/dev/null
2836
2837 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2838   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2839   # is not polluted with repeated "-I."
2840   am__isrc=' -I$(srcdir)'
2841   # test to see if srcdir already configured
2842   if test -f $srcdir/config.status; then
2843     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2844   fi
2845 fi
2846
2847 # test whether we have cygpath
2848 if test -z "$CYGPATH_W"; then
2849   if (cygpath --version) >/dev/null 2>/dev/null; then
2850     CYGPATH_W='cygpath -w'
2851   else
2852     CYGPATH_W=echo
2853   fi
2854 fi
2855
2856
2857 # Define the identity of the package.
2858  PACKAGE='at-spi2-core'
2859  VERSION='2.7.91'
2860
2861
2862 cat >>confdefs.h <<_ACEOF
2863 #define PACKAGE "$PACKAGE"
2864 _ACEOF
2865
2866
2867 cat >>confdefs.h <<_ACEOF
2868 #define VERSION "$VERSION"
2869 _ACEOF
2870
2871 # Some tools Automake needs.
2872
2873 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2874
2875
2876 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2877
2878
2879 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2880
2881
2882 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2883
2884
2885 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2886
2887 mkdir_p="$MKDIR_P"
2888 # We need awk for the "check" target.  The system "awk" is bad on
2889 # some platforms.
2890 # Always define AMTAR for backward compatibility.  Yes, it's still used
2891 # in the wild :-(  We should find a proper way to deprecate it ...
2892 AMTAR='$${TAR-tar}'
2893
2894 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2895
2896
2897
2898
2899
2900
2901 # Support silent build rules. Disable
2902 # by either passing --disable-silent-rules to configure or passing V=1
2903 # to make
2904 # Check whether --enable-silent-rules was given.
2905 if test "${enable_silent_rules+set}" = set; then :
2906   enableval=$enable_silent_rules;
2907 fi
2908
2909 case $enable_silent_rules in # (((
2910   yes) AM_DEFAULT_VERBOSITY=0;;
2911    no) AM_DEFAULT_VERBOSITY=1;;
2912     *) AM_DEFAULT_VERBOSITY=0;;
2913 esac
2914 am_make=${MAKE-make}
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2916 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2917 if ${am_cv_make_support_nested_variables+:} false; then :
2918   $as_echo_n "(cached) " >&6
2919 else
2920   if $as_echo 'TRUE=$(BAR$(V))
2921 BAR0=false
2922 BAR1=true
2923 V=1
2924 am__doit:
2925         @$(TRUE)
2926 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2927   am_cv_make_support_nested_variables=yes
2928 else
2929   am_cv_make_support_nested_variables=no
2930 fi
2931 fi
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2933 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2934 if test $am_cv_make_support_nested_variables = yes; then
2935     AM_V='$(V)'
2936   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2937 else
2938   AM_V=$AM_DEFAULT_VERBOSITY
2939   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2940 fi
2941 AM_BACKSLASH='\'
2942
2943
2944 ac_ext=c
2945 ac_cpp='$CPP $CPPFLAGS'
2946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2949 if test -n "$ac_tool_prefix"; then
2950   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2951 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953 $as_echo_n "checking for $ac_word... " >&6; }
2954 if ${ac_cv_prog_CC+:} false; then :
2955   $as_echo_n "(cached) " >&6
2956 else
2957   if test -n "$CC"; then
2958   ac_cv_prog_CC="$CC" # Let the user override the test.
2959 else
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 for as_dir in $PATH
2962 do
2963   IFS=$as_save_IFS
2964   test -z "$as_dir" && as_dir=.
2965     for ac_exec_ext in '' $ac_executable_extensions; do
2966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969     break 2
2970   fi
2971 done
2972   done
2973 IFS=$as_save_IFS
2974
2975 fi
2976 fi
2977 CC=$ac_cv_prog_CC
2978 if test -n "$CC"; then
2979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2980 $as_echo "$CC" >&6; }
2981 else
2982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2984 fi
2985
2986
2987 fi
2988 if test -z "$ac_cv_prog_CC"; then
2989   ac_ct_CC=$CC
2990   # Extract the first word of "gcc", so it can be a program name with args.
2991 set dummy gcc; ac_word=$2
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993 $as_echo_n "checking for $ac_word... " >&6; }
2994 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2995   $as_echo_n "(cached) " >&6
2996 else
2997   if test -n "$ac_ct_CC"; then
2998   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2999 else
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH
3002 do
3003   IFS=$as_save_IFS
3004   test -z "$as_dir" && as_dir=.
3005     for ac_exec_ext in '' $ac_executable_extensions; do
3006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3007     ac_cv_prog_ac_ct_CC="gcc"
3008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009     break 2
3010   fi
3011 done
3012   done
3013 IFS=$as_save_IFS
3014
3015 fi
3016 fi
3017 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3018 if test -n "$ac_ct_CC"; then
3019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3020 $as_echo "$ac_ct_CC" >&6; }
3021 else
3022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023 $as_echo "no" >&6; }
3024 fi
3025
3026   if test "x$ac_ct_CC" = x; then
3027     CC=""
3028   else
3029     case $cross_compiling:$ac_tool_warned in
3030 yes:)
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3033 ac_tool_warned=yes ;;
3034 esac
3035     CC=$ac_ct_CC
3036   fi
3037 else
3038   CC="$ac_cv_prog_CC"
3039 fi
3040
3041 if test -z "$CC"; then
3042           if test -n "$ac_tool_prefix"; then
3043     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3044 set dummy ${ac_tool_prefix}cc; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_CC+:} false; then :
3048   $as_echo_n "(cached) " >&6
3049 else
3050   if test -n "$CC"; then
3051   ac_cv_prog_CC="$CC" # Let the user override the test.
3052 else
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 for as_dir in $PATH
3055 do
3056   IFS=$as_save_IFS
3057   test -z "$as_dir" && as_dir=.
3058     for ac_exec_ext in '' $ac_executable_extensions; do
3059   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3060     ac_cv_prog_CC="${ac_tool_prefix}cc"
3061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062     break 2
3063   fi
3064 done
3065   done
3066 IFS=$as_save_IFS
3067
3068 fi
3069 fi
3070 CC=$ac_cv_prog_CC
3071 if test -n "$CC"; then
3072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073 $as_echo "$CC" >&6; }
3074 else
3075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3077 fi
3078
3079
3080   fi
3081 fi
3082 if test -z "$CC"; then
3083   # Extract the first word of "cc", so it can be a program name with args.
3084 set dummy cc; ac_word=$2
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3086 $as_echo_n "checking for $ac_word... " >&6; }
3087 if ${ac_cv_prog_CC+:} false; then :
3088   $as_echo_n "(cached) " >&6
3089 else
3090   if test -n "$CC"; then
3091   ac_cv_prog_CC="$CC" # Let the user override the test.
3092 else
3093   ac_prog_rejected=no
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH
3096 do
3097   IFS=$as_save_IFS
3098   test -z "$as_dir" && as_dir=.
3099     for ac_exec_ext in '' $ac_executable_extensions; do
3100   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3102        ac_prog_rejected=yes
3103        continue
3104      fi
3105     ac_cv_prog_CC="cc"
3106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107     break 2
3108   fi
3109 done
3110   done
3111 IFS=$as_save_IFS
3112
3113 if test $ac_prog_rejected = yes; then
3114   # We found a bogon in the path, so make sure we never use it.
3115   set dummy $ac_cv_prog_CC
3116   shift
3117   if test $# != 0; then
3118     # We chose a different compiler from the bogus one.
3119     # However, it has the same basename, so the bogon will be chosen
3120     # first if we set CC to just the basename; use the full file name.
3121     shift
3122     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3123   fi
3124 fi
3125 fi
3126 fi
3127 CC=$ac_cv_prog_CC
3128 if test -n "$CC"; then
3129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3130 $as_echo "$CC" >&6; }
3131 else
3132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3134 fi
3135
3136
3137 fi
3138 if test -z "$CC"; then
3139   if test -n "$ac_tool_prefix"; then
3140   for ac_prog in cl.exe
3141   do
3142     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145 $as_echo_n "checking for $ac_word... " >&6; }
3146 if ${ac_cv_prog_CC+:} false; then :
3147   $as_echo_n "(cached) " >&6
3148 else
3149   if test -n "$CC"; then
3150   ac_cv_prog_CC="$CC" # Let the user override the test.
3151 else
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 for as_dir in $PATH
3154 do
3155   IFS=$as_save_IFS
3156   test -z "$as_dir" && as_dir=.
3157     for ac_exec_ext in '' $ac_executable_extensions; do
3158   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3159     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161     break 2
3162   fi
3163 done
3164   done
3165 IFS=$as_save_IFS
3166
3167 fi
3168 fi
3169 CC=$ac_cv_prog_CC
3170 if test -n "$CC"; then
3171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172 $as_echo "$CC" >&6; }
3173 else
3174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175 $as_echo "no" >&6; }
3176 fi
3177
3178
3179     test -n "$CC" && break
3180   done
3181 fi
3182 if test -z "$CC"; then
3183   ac_ct_CC=$CC
3184   for ac_prog in cl.exe
3185 do
3186   # Extract the first word of "$ac_prog", so it can be a program name with args.
3187 set dummy $ac_prog; ac_word=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3191   $as_echo_n "(cached) " >&6
3192 else
3193   if test -n "$ac_ct_CC"; then
3194   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3195 else
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 for as_dir in $PATH
3198 do
3199   IFS=$as_save_IFS
3200   test -z "$as_dir" && as_dir=.
3201     for ac_exec_ext in '' $ac_executable_extensions; do
3202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203     ac_cv_prog_ac_ct_CC="$ac_prog"
3204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205     break 2
3206   fi
3207 done
3208   done
3209 IFS=$as_save_IFS
3210
3211 fi
3212 fi
3213 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3214 if test -n "$ac_ct_CC"; then
3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3216 $as_echo "$ac_ct_CC" >&6; }
3217 else
3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3220 fi
3221
3222
3223   test -n "$ac_ct_CC" && break
3224 done
3225
3226   if test "x$ac_ct_CC" = x; then
3227     CC=""
3228   else
3229     case $cross_compiling:$ac_tool_warned in
3230 yes:)
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3233 ac_tool_warned=yes ;;
3234 esac
3235     CC=$ac_ct_CC
3236   fi
3237 fi
3238
3239 fi
3240
3241
3242 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244 as_fn_error $? "no acceptable C compiler found in \$PATH
3245 See \`config.log' for more details" "$LINENO" 5; }
3246
3247 # Provide some information about the compiler.
3248 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3249 set X $ac_compile
3250 ac_compiler=$2
3251 for ac_option in --version -v -V -qversion; do
3252   { { ac_try="$ac_compiler $ac_option >&5"
3253 case "(($ac_try" in
3254   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3255   *) ac_try_echo=$ac_try;;
3256 esac
3257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3258 $as_echo "$ac_try_echo"; } >&5
3259   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3260   ac_status=$?
3261   if test -s conftest.err; then
3262     sed '10a\
3263 ... rest of stderr output deleted ...
3264          10q' conftest.err >conftest.er1
3265     cat conftest.er1 >&5
3266   fi
3267   rm -f conftest.er1 conftest.err
3268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3269   test $ac_status = 0; }
3270 done
3271
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h.  */
3274
3275 int
3276 main ()
3277 {
3278
3279   ;
3280   return 0;
3281 }
3282 _ACEOF
3283 ac_clean_files_save=$ac_clean_files
3284 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3285 # Try to create an executable without -o first, disregard a.out.
3286 # It will help us diagnose broken compilers, and finding out an intuition
3287 # of exeext.
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3289 $as_echo_n "checking whether the C compiler works... " >&6; }
3290 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3291
3292 # The possible output files:
3293 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3294
3295 ac_rmfiles=
3296 for ac_file in $ac_files
3297 do
3298   case $ac_file in
3299     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3300     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3301   esac
3302 done
3303 rm -f $ac_rmfiles
3304
3305 if { { ac_try="$ac_link_default"
3306 case "(($ac_try" in
3307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308   *) ac_try_echo=$ac_try;;
3309 esac
3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312   (eval "$ac_link_default") 2>&5
3313   ac_status=$?
3314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315   test $ac_status = 0; }; then :
3316   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3317 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3318 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3319 # so that the user can short-circuit this test for compilers unknown to
3320 # Autoconf.
3321 for ac_file in $ac_files ''
3322 do
3323   test -f "$ac_file" || continue
3324   case $ac_file in
3325     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3326         ;;
3327     [ab].out )
3328         # We found the default executable, but exeext='' is most
3329         # certainly right.
3330         break;;
3331     *.* )
3332         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3333         then :; else
3334            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3335         fi
3336         # We set ac_cv_exeext here because the later test for it is not
3337         # safe: cross compilers may not add the suffix if given an `-o'
3338         # argument, so we may need to know it at that point already.
3339         # Even if this section looks crufty: it has the advantage of
3340         # actually working.
3341         break;;
3342     * )
3343         break;;
3344   esac
3345 done
3346 test "$ac_cv_exeext" = no && ac_cv_exeext=
3347
3348 else
3349   ac_file=''
3350 fi
3351 if test -z "$ac_file"; then :
3352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3354 $as_echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3356
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error 77 "C compiler cannot create executables
3360 See \`config.log' for more details" "$LINENO" 5; }
3361 else
3362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3363 $as_echo "yes" >&6; }
3364 fi
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3366 $as_echo_n "checking for C compiler default output file name... " >&6; }
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3368 $as_echo "$ac_file" >&6; }
3369 ac_exeext=$ac_cv_exeext
3370
3371 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3372 ac_clean_files=$ac_clean_files_save
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3374 $as_echo_n "checking for suffix of executables... " >&6; }
3375 if { { ac_try="$ac_link"
3376 case "(($ac_try" in
3377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378   *) ac_try_echo=$ac_try;;
3379 esac
3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382   (eval "$ac_link") 2>&5
3383   ac_status=$?
3384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385   test $ac_status = 0; }; then :
3386   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3387 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3388 # work properly (i.e., refer to `conftest.exe'), while it won't with
3389 # `rm'.
3390 for ac_file in conftest.exe conftest conftest.*; do
3391   test -f "$ac_file" || continue
3392   case $ac_file in
3393     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3394     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3395           break;;
3396     * ) break;;
3397   esac
3398 done
3399 else
3400   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3403 See \`config.log' for more details" "$LINENO" 5; }
3404 fi
3405 rm -f conftest conftest$ac_cv_exeext
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3407 $as_echo "$ac_cv_exeext" >&6; }
3408
3409 rm -f conftest.$ac_ext
3410 EXEEXT=$ac_cv_exeext
3411 ac_exeext=$EXEEXT
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h.  */
3414 #include <stdio.h>
3415 int
3416 main ()
3417 {
3418 FILE *f = fopen ("conftest.out", "w");
3419  return ferror (f) || fclose (f) != 0;
3420
3421   ;
3422   return 0;
3423 }
3424 _ACEOF
3425 ac_clean_files="$ac_clean_files conftest.out"
3426 # Check that the compiler produces executables we can run.  If not, either
3427 # the compiler is broken, or we cross compile.
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3429 $as_echo_n "checking whether we are cross compiling... " >&6; }
3430 if test "$cross_compiling" != yes; then
3431   { { ac_try="$ac_link"
3432 case "(($ac_try" in
3433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434   *) ac_try_echo=$ac_try;;
3435 esac
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438   (eval "$ac_link") 2>&5
3439   ac_status=$?
3440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441   test $ac_status = 0; }
3442   if { ac_try='./conftest$ac_cv_exeext'
3443   { { case "(($ac_try" in
3444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445   *) ac_try_echo=$ac_try;;
3446 esac
3447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448 $as_echo "$ac_try_echo"; } >&5
3449   (eval "$ac_try") 2>&5
3450   ac_status=$?
3451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452   test $ac_status = 0; }; }; then
3453     cross_compiling=no
3454   else
3455     if test "$cross_compiling" = maybe; then
3456         cross_compiling=yes
3457     else
3458         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3460 as_fn_error $? "cannot run C compiled programs.
3461 If you meant to cross compile, use \`--host'.
3462 See \`config.log' for more details" "$LINENO" 5; }
3463     fi
3464   fi
3465 fi
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3467 $as_echo "$cross_compiling" >&6; }
3468
3469 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3470 ac_clean_files=$ac_clean_files_save
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3472 $as_echo_n "checking for suffix of object files... " >&6; }
3473 if ${ac_cv_objext+:} false; then :
3474   $as_echo_n "(cached) " >&6
3475 else
3476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h.  */
3478
3479 int
3480 main ()
3481 {
3482
3483   ;
3484   return 0;
3485 }
3486 _ACEOF
3487 rm -f conftest.o conftest.obj
3488 if { { ac_try="$ac_compile"
3489 case "(($ac_try" in
3490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491   *) ac_try_echo=$ac_try;;
3492 esac
3493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494 $as_echo "$ac_try_echo"; } >&5
3495   (eval "$ac_compile") 2>&5
3496   ac_status=$?
3497   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498   test $ac_status = 0; }; then :
3499   for ac_file in conftest.o conftest.obj conftest.*; do
3500   test -f "$ac_file" || continue;
3501   case $ac_file in
3502     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3503     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3504        break;;
3505   esac
3506 done
3507 else
3508   $as_echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3510
3511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513 as_fn_error $? "cannot compute suffix of object files: cannot compile
3514 See \`config.log' for more details" "$LINENO" 5; }
3515 fi
3516 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3517 fi
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3519 $as_echo "$ac_cv_objext" >&6; }
3520 OBJEXT=$ac_cv_objext
3521 ac_objext=$OBJEXT
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3523 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3524 if ${ac_cv_c_compiler_gnu+:} false; then :
3525   $as_echo_n "(cached) " >&6
3526 else
3527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h.  */
3529
3530 int
3531 main ()
3532 {
3533 #ifndef __GNUC__
3534        choke me
3535 #endif
3536
3537   ;
3538   return 0;
3539 }
3540 _ACEOF
3541 if ac_fn_c_try_compile "$LINENO"; then :
3542   ac_compiler_gnu=yes
3543 else
3544   ac_compiler_gnu=no
3545 fi
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3548
3549 fi
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3551 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3552 if test $ac_compiler_gnu = yes; then
3553   GCC=yes
3554 else
3555   GCC=
3556 fi
3557 ac_test_CFLAGS=${CFLAGS+set}
3558 ac_save_CFLAGS=$CFLAGS
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3560 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3561 if ${ac_cv_prog_cc_g+:} false; then :
3562   $as_echo_n "(cached) " >&6
3563 else
3564   ac_save_c_werror_flag=$ac_c_werror_flag
3565    ac_c_werror_flag=yes
3566    ac_cv_prog_cc_g=no
3567    CFLAGS="-g"
3568    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h.  */
3570
3571 int
3572 main ()
3573 {
3574
3575   ;
3576   return 0;
3577 }
3578 _ACEOF
3579 if ac_fn_c_try_compile "$LINENO"; then :
3580   ac_cv_prog_cc_g=yes
3581 else
3582   CFLAGS=""
3583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h.  */
3585
3586 int
3587 main ()
3588 {
3589
3590   ;
3591   return 0;
3592 }
3593 _ACEOF
3594 if ac_fn_c_try_compile "$LINENO"; then :
3595
3596 else
3597   ac_c_werror_flag=$ac_save_c_werror_flag
3598          CFLAGS="-g"
3599          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h.  */
3601
3602 int
3603 main ()
3604 {
3605
3606   ;
3607   return 0;
3608 }
3609 _ACEOF
3610 if ac_fn_c_try_compile "$LINENO"; then :
3611   ac_cv_prog_cc_g=yes
3612 fi
3613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3614 fi
3615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616 fi
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618    ac_c_werror_flag=$ac_save_c_werror_flag
3619 fi
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3621 $as_echo "$ac_cv_prog_cc_g" >&6; }
3622 if test "$ac_test_CFLAGS" = set; then
3623   CFLAGS=$ac_save_CFLAGS
3624 elif test $ac_cv_prog_cc_g = yes; then
3625   if test "$GCC" = yes; then
3626     CFLAGS="-g -O2"
3627   else
3628     CFLAGS="-g"
3629   fi
3630 else
3631   if test "$GCC" = yes; then
3632     CFLAGS="-O2"
3633   else
3634     CFLAGS=
3635   fi
3636 fi
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3638 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3639 if ${ac_cv_prog_cc_c89+:} false; then :
3640   $as_echo_n "(cached) " >&6
3641 else
3642   ac_cv_prog_cc_c89=no
3643 ac_save_CC=$CC
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h.  */
3646 #include <stdarg.h>
3647 #include <stdio.h>
3648 struct stat;
3649 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3650 struct buf { int x; };
3651 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3652 static char *e (p, i)
3653      char **p;
3654      int i;
3655 {
3656   return p[i];
3657 }
3658 static char *f (char * (*g) (char **, int), char **p, ...)
3659 {
3660   char *s;
3661   va_list v;
3662   va_start (v,p);
3663   s = g (p, va_arg (v,int));
3664   va_end (v);
3665   return s;
3666 }
3667
3668 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3669    function prototypes and stuff, but not '\xHH' hex character constants.
3670    These don't provoke an error unfortunately, instead are silently treated
3671    as 'x'.  The following induces an error, until -std is added to get
3672    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3673    array size at least.  It's necessary to write '\x00'==0 to get something
3674    that's true only with -std.  */
3675 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3676
3677 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3678    inside strings and character constants.  */
3679 #define FOO(x) 'x'
3680 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3681
3682 int test (int i, double x);
3683 struct s1 {int (*f) (int a);};
3684 struct s2 {int (*f) (double a);};
3685 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3686 int argc;
3687 char **argv;
3688 int
3689 main ()
3690 {
3691 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3692   ;
3693   return 0;
3694 }
3695 _ACEOF
3696 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3697         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3698 do
3699   CC="$ac_save_CC $ac_arg"
3700   if ac_fn_c_try_compile "$LINENO"; then :
3701   ac_cv_prog_cc_c89=$ac_arg
3702 fi
3703 rm -f core conftest.err conftest.$ac_objext
3704   test "x$ac_cv_prog_cc_c89" != "xno" && break
3705 done
3706 rm -f conftest.$ac_ext
3707 CC=$ac_save_CC
3708
3709 fi
3710 # AC_CACHE_VAL
3711 case "x$ac_cv_prog_cc_c89" in
3712   x)
3713     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3714 $as_echo "none needed" >&6; } ;;
3715   xno)
3716     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3717 $as_echo "unsupported" >&6; } ;;
3718   *)
3719     CC="$CC $ac_cv_prog_cc_c89"
3720     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3721 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3722 esac
3723 if test "x$ac_cv_prog_cc_c89" != xno; then :
3724
3725 fi
3726
3727 ac_ext=c
3728 ac_cpp='$CPP $CPPFLAGS'
3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732 DEPDIR="${am__leading_dot}deps"
3733
3734 ac_config_commands="$ac_config_commands depfiles"
3735
3736
3737 am_make=${MAKE-make}
3738 cat > confinc << 'END'
3739 am__doit:
3740         @echo this is the am__doit target
3741 .PHONY: am__doit
3742 END
3743 # If we don't find an include directive, just comment out the code.
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3745 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3746 am__include="#"
3747 am__quote=
3748 _am_result=none
3749 # First try GNU make style include.
3750 echo "include confinc" > confmf
3751 # Ignore all kinds of additional output from 'make'.
3752 case `$am_make -s -f confmf 2> /dev/null` in #(
3753 *the\ am__doit\ target*)
3754   am__include=include
3755   am__quote=
3756   _am_result=GNU
3757   ;;
3758 esac
3759 # Now try BSD make style include.
3760 if test "$am__include" = "#"; then
3761    echo '.include "confinc"' > confmf
3762    case `$am_make -s -f confmf 2> /dev/null` in #(
3763    *the\ am__doit\ target*)
3764      am__include=.include
3765      am__quote="\""
3766      _am_result=BSD
3767      ;;
3768    esac
3769 fi
3770
3771
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3773 $as_echo "$_am_result" >&6; }
3774 rm -f confinc confmf
3775
3776 # Check whether --enable-dependency-tracking was given.
3777 if test "${enable_dependency_tracking+set}" = set; then :
3778   enableval=$enable_dependency_tracking;
3779 fi
3780
3781 if test "x$enable_dependency_tracking" != xno; then
3782   am_depcomp="$ac_aux_dir/depcomp"
3783   AMDEPBACKSLASH='\'
3784   am__nodep='_no'
3785 fi
3786  if test "x$enable_dependency_tracking" != xno; then
3787   AMDEP_TRUE=
3788   AMDEP_FALSE='#'
3789 else
3790   AMDEP_TRUE='#'
3791   AMDEP_FALSE=
3792 fi
3793
3794
3795
3796 depcc="$CC"   am_compiler_list=
3797
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3799 $as_echo_n "checking dependency style of $depcc... " >&6; }
3800 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3801   $as_echo_n "(cached) " >&6
3802 else
3803   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3804   # We make a subdir and do the tests there.  Otherwise we can end up
3805   # making bogus files that we don't know about and never remove.  For
3806   # instance it was reported that on HP-UX the gcc test will end up
3807   # making a dummy file named 'D' -- because '-MD' means "put the output
3808   # in D".
3809   rm -rf conftest.dir
3810   mkdir conftest.dir
3811   # Copy depcomp to subdir because otherwise we won't find it if we're
3812   # using a relative directory.
3813   cp "$am_depcomp" conftest.dir
3814   cd conftest.dir
3815   # We will build objects and dependencies in a subdirectory because
3816   # it helps to detect inapplicable dependency modes.  For instance
3817   # both Tru64's cc and ICC support -MD to output dependencies as a
3818   # side effect of compilation, but ICC will put the dependencies in
3819   # the current directory while Tru64 will put them in the object
3820   # directory.
3821   mkdir sub
3822
3823   am_cv_CC_dependencies_compiler_type=none
3824   if test "$am_compiler_list" = ""; then
3825      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3826   fi
3827   am__universal=false
3828   case " $depcc " in #(
3829      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3830      esac
3831
3832   for depmode in $am_compiler_list; do
3833     # Setup a source with many dependencies, because some compilers
3834     # like to wrap large dependency lists on column 80 (with \), and
3835     # we should not choose a depcomp mode which is confused by this.
3836     #
3837     # We need to recreate these files for each test, as the compiler may
3838     # overwrite some of them when testing with obscure command lines.
3839     # This happens at least with the AIX C compiler.
3840     : > sub/conftest.c
3841     for i in 1 2 3 4 5 6; do
3842       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3843       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3844       # Solaris 10 /bin/sh.
3845       echo '/* dummy */' > sub/conftst$i.h
3846     done
3847     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3848
3849     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3850     # mode.  It turns out that the SunPro C++ compiler does not properly
3851     # handle '-M -o', and we need to detect this.  Also, some Intel
3852     # versions had trouble with output in subdirs.
3853     am__obj=sub/conftest.${OBJEXT-o}
3854     am__minus_obj="-o $am__obj"
3855     case $depmode in
3856     gcc)
3857       # This depmode causes a compiler race in universal mode.
3858       test "$am__universal" = false || continue
3859       ;;
3860     nosideeffect)
3861       # After this tag, mechanisms are not by side-effect, so they'll
3862       # only be used when explicitly requested.
3863       if test "x$enable_dependency_tracking" = xyes; then
3864         continue
3865       else
3866         break
3867       fi
3868       ;;
3869     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3870       # This compiler won't grok '-c -o', but also, the minuso test has
3871       # not run yet.  These depmodes are late enough in the game, and
3872       # so weak that their functioning should not be impacted.
3873       am__obj=conftest.${OBJEXT-o}
3874       am__minus_obj=
3875       ;;
3876     none) break ;;
3877     esac
3878     if depmode=$depmode \
3879        source=sub/conftest.c object=$am__obj \
3880        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3881        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3882          >/dev/null 2>conftest.err &&
3883        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3884        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3885        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3886        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3887       # icc doesn't choke on unknown options, it will just issue warnings
3888       # or remarks (even with -Werror).  So we grep stderr for any message
3889       # that says an option was ignored or not supported.
3890       # When given -MP, icc 7.0 and 7.1 complain thusly:
3891       #   icc: Command line warning: ignoring option '-M'; no argument required
3892       # The diagnosis changed in icc 8.0:
3893       #   icc: Command line remark: option '-MP' not supported
3894       if (grep 'ignoring option' conftest.err ||
3895           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3896         am_cv_CC_dependencies_compiler_type=$depmode
3897         break
3898       fi
3899     fi
3900   done
3901
3902   cd ..
3903   rm -rf conftest.dir
3904 else
3905   am_cv_CC_dependencies_compiler_type=none
3906 fi
3907
3908 fi
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3910 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3911 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3912
3913  if
3914   test "x$enable_dependency_tracking" != xno \
3915   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3916   am__fastdepCC_TRUE=
3917   am__fastdepCC_FALSE='#'
3918 else
3919   am__fastdepCC_TRUE='#'
3920   am__fastdepCC_FALSE=
3921 fi
3922
3923
3924 case `pwd` in
3925   *\ * | *\     *)
3926     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3927 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3928 esac
3929
3930
3931
3932 macro_version='2.4.2'
3933 macro_revision='1.3337'
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947 ltmain="$ac_aux_dir/ltmain.sh"
3948
3949 # Make sure we can run config.sub.
3950 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3951   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3952
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3954 $as_echo_n "checking build system type... " >&6; }
3955 if ${ac_cv_build+:} false; then :
3956   $as_echo_n "(cached) " >&6
3957 else
3958   ac_build_alias=$build_alias
3959 test "x$ac_build_alias" = x &&
3960   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3961 test "x$ac_build_alias" = x &&
3962   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3963 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3964   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3965
3966 fi
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3968 $as_echo "$ac_cv_build" >&6; }
3969 case $ac_cv_build in
3970 *-*-*) ;;
3971 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3972 esac
3973 build=$ac_cv_build
3974 ac_save_IFS=$IFS; IFS='-'
3975 set x $ac_cv_build
3976 shift
3977 build_cpu=$1
3978 build_vendor=$2
3979 shift; shift
3980 # Remember, the first character of IFS is used to create $*,
3981 # except with old shells:
3982 build_os=$*
3983 IFS=$ac_save_IFS
3984 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3985
3986
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3988 $as_echo_n "checking host system type... " >&6; }
3989 if ${ac_cv_host+:} false; then :
3990   $as_echo_n "(cached) " >&6
3991 else
3992   if test "x$host_alias" = x; then
3993   ac_cv_host=$ac_cv_build
3994 else
3995   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3996     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3997 fi
3998
3999 fi
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4001 $as_echo "$ac_cv_host" >&6; }
4002 case $ac_cv_host in
4003 *-*-*) ;;
4004 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4005 esac
4006 host=$ac_cv_host
4007 ac_save_IFS=$IFS; IFS='-'
4008 set x $ac_cv_host
4009 shift
4010 host_cpu=$1
4011 host_vendor=$2
4012 shift; shift
4013 # Remember, the first character of IFS is used to create $*,
4014 # except with old shells:
4015 host_os=$*
4016 IFS=$ac_save_IFS
4017 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4018
4019
4020 # Backslashify metacharacters that are still active within
4021 # double-quoted strings.
4022 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4023
4024 # Same as above, but do not quote variable references.
4025 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4026
4027 # Sed substitution to delay expansion of an escaped shell variable in a
4028 # double_quote_subst'ed string.
4029 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4030
4031 # Sed substitution to delay expansion of an escaped single quote.
4032 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4033
4034 # Sed substitution to avoid accidental globbing in evaled expressions
4035 no_glob_subst='s/\*/\\\*/g'
4036
4037 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4038 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4039 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4040
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4042 $as_echo_n "checking how to print strings... " >&6; }
4043 # Test print first, because it will be a builtin if present.
4044 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4045    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4046   ECHO='print -r --'
4047 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4048   ECHO='printf %s\n'
4049 else
4050   # Use this function as a fallback that always works.
4051   func_fallback_echo ()
4052   {
4053     eval 'cat <<_LTECHO_EOF
4054 $1
4055 _LTECHO_EOF'
4056   }
4057   ECHO='func_fallback_echo'
4058 fi
4059
4060 # func_echo_all arg...
4061 # Invoke $ECHO with all args, space-separated.
4062 func_echo_all ()
4063 {
4064     $ECHO ""
4065 }
4066
4067 case "$ECHO" in
4068   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4069 $as_echo "printf" >&6; } ;;
4070   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4071 $as_echo "print -r" >&6; } ;;
4072   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4073 $as_echo "cat" >&6; } ;;
4074 esac
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4090 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4091 if ${ac_cv_path_SED+:} false; then :
4092   $as_echo_n "(cached) " >&6
4093 else
4094             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4095      for ac_i in 1 2 3 4 5 6 7; do
4096        ac_script="$ac_script$as_nl$ac_script"
4097      done
4098      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4099      { ac_script=; unset ac_script;}
4100      if test -z "$SED"; then
4101   ac_path_SED_found=false
4102   # Loop through the user's path and test for each of PROGNAME-LIST
4103   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4105 do
4106   IFS=$as_save_IFS
4107   test -z "$as_dir" && as_dir=.
4108     for ac_prog in sed gsed; do
4109     for ac_exec_ext in '' $ac_executable_extensions; do
4110       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4111       as_fn_executable_p "$ac_path_SED" || continue
4112 # Check for GNU ac_path_SED and select it if it is found.
4113   # Check for GNU $ac_path_SED
4114 case `"$ac_path_SED" --version 2>&1` in
4115 *GNU*)
4116   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4117 *)
4118   ac_count=0
4119   $as_echo_n 0123456789 >"conftest.in"
4120   while :
4121   do
4122     cat "conftest.in" "conftest.in" >"conftest.tmp"
4123     mv "conftest.tmp" "conftest.in"
4124     cp "conftest.in" "conftest.nl"
4125     $as_echo '' >> "conftest.nl"
4126     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4127     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4128     as_fn_arith $ac_count + 1 && ac_count=$as_val
4129     if test $ac_count -gt ${ac_path_SED_max-0}; then
4130       # Best one so far, save it but keep looking for a better one
4131       ac_cv_path_SED="$ac_path_SED"
4132       ac_path_SED_max=$ac_count
4133     fi
4134     # 10*(2^10) chars as input seems more than enough
4135     test $ac_count -gt 10 && break
4136   done
4137   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4138 esac
4139
4140       $ac_path_SED_found && break 3
4141     done
4142   done
4143   done
4144 IFS=$as_save_IFS
4145   if test -z "$ac_cv_path_SED"; then
4146     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4147   fi
4148 else
4149   ac_cv_path_SED=$SED
4150 fi
4151
4152 fi
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4154 $as_echo "$ac_cv_path_SED" >&6; }
4155  SED="$ac_cv_path_SED"
4156   rm -f conftest.sed
4157
4158 test -z "$SED" && SED=sed
4159 Xsed="$SED -e 1s/^X//"
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4172 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4173 if ${ac_cv_path_GREP+:} false; then :
4174   $as_echo_n "(cached) " >&6
4175 else
4176   if test -z "$GREP"; then
4177   ac_path_GREP_found=false
4178   # Loop through the user's path and test for each of PROGNAME-LIST
4179   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4180 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4181 do
4182   IFS=$as_save_IFS
4183   test -z "$as_dir" && as_dir=.
4184     for ac_prog in grep ggrep; do
4185     for ac_exec_ext in '' $ac_executable_extensions; do
4186       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4187       as_fn_executable_p "$ac_path_GREP" || continue
4188 # Check for GNU ac_path_GREP and select it if it is found.
4189   # Check for GNU $ac_path_GREP
4190 case `"$ac_path_GREP" --version 2>&1` in
4191 *GNU*)
4192   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4193 *)
4194   ac_count=0
4195   $as_echo_n 0123456789 >"conftest.in"
4196   while :
4197   do
4198     cat "conftest.in" "conftest.in" >"conftest.tmp"
4199     mv "conftest.tmp" "conftest.in"
4200     cp "conftest.in" "conftest.nl"
4201     $as_echo 'GREP' >> "conftest.nl"
4202     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4203     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4204     as_fn_arith $ac_count + 1 && ac_count=$as_val
4205     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4206       # Best one so far, save it but keep looking for a better one
4207       ac_cv_path_GREP="$ac_path_GREP"
4208       ac_path_GREP_max=$ac_count
4209     fi
4210     # 10*(2^10) chars as input seems more than enough
4211     test $ac_count -gt 10 && break
4212   done
4213   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4214 esac
4215
4216       $ac_path_GREP_found && break 3
4217     done
4218   done
4219   done
4220 IFS=$as_save_IFS
4221   if test -z "$ac_cv_path_GREP"; then
4222     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4223   fi
4224 else
4225   ac_cv_path_GREP=$GREP
4226 fi
4227
4228 fi
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4230 $as_echo "$ac_cv_path_GREP" >&6; }
4231  GREP="$ac_cv_path_GREP"
4232
4233
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4235 $as_echo_n "checking for egrep... " >&6; }
4236 if ${ac_cv_path_EGREP+:} false; then :
4237   $as_echo_n "(cached) " >&6
4238 else
4239   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4240    then ac_cv_path_EGREP="$GREP -E"
4241    else
4242      if test -z "$EGREP"; then
4243   ac_path_EGREP_found=false
4244   # Loop through the user's path and test for each of PROGNAME-LIST
4245   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4247 do
4248   IFS=$as_save_IFS
4249   test -z "$as_dir" && as_dir=.
4250     for ac_prog in egrep; do
4251     for ac_exec_ext in '' $ac_executable_extensions; do
4252       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4253       as_fn_executable_p "$ac_path_EGREP" || continue
4254 # Check for GNU ac_path_EGREP and select it if it is found.
4255   # Check for GNU $ac_path_EGREP
4256 case `"$ac_path_EGREP" --version 2>&1` in
4257 *GNU*)
4258   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4259 *)
4260   ac_count=0
4261   $as_echo_n 0123456789 >"conftest.in"
4262   while :
4263   do
4264     cat "conftest.in" "conftest.in" >"conftest.tmp"
4265     mv "conftest.tmp" "conftest.in"
4266     cp "conftest.in" "conftest.nl"
4267     $as_echo 'EGREP' >> "conftest.nl"
4268     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4269     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4270     as_fn_arith $ac_count + 1 && ac_count=$as_val
4271     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4272       # Best one so far, save it but keep looking for a better one
4273       ac_cv_path_EGREP="$ac_path_EGREP"
4274       ac_path_EGREP_max=$ac_count
4275     fi
4276     # 10*(2^10) chars as input seems more than enough
4277     test $ac_count -gt 10 && break
4278   done
4279   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4280 esac
4281
4282       $ac_path_EGREP_found && break 3
4283     done
4284   done
4285   done
4286 IFS=$as_save_IFS
4287   if test -z "$ac_cv_path_EGREP"; then
4288     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4289   fi
4290 else
4291   ac_cv_path_EGREP=$EGREP
4292 fi
4293
4294    fi
4295 fi
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4297 $as_echo "$ac_cv_path_EGREP" >&6; }
4298  EGREP="$ac_cv_path_EGREP"
4299
4300
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4302 $as_echo_n "checking for fgrep... " >&6; }
4303 if ${ac_cv_path_FGREP+:} false; then :
4304   $as_echo_n "(cached) " >&6
4305 else
4306   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4307    then ac_cv_path_FGREP="$GREP -F"
4308    else
4309      if test -z "$FGREP"; then
4310   ac_path_FGREP_found=false
4311   # Loop through the user's path and test for each of PROGNAME-LIST
4312   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4314 do
4315   IFS=$as_save_IFS
4316   test -z "$as_dir" && as_dir=.
4317     for ac_prog in fgrep; do
4318     for ac_exec_ext in '' $ac_executable_extensions; do
4319       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4320       as_fn_executable_p "$ac_path_FGREP" || continue
4321 # Check for GNU ac_path_FGREP and select it if it is found.
4322   # Check for GNU $ac_path_FGREP
4323 case `"$ac_path_FGREP" --version 2>&1` in
4324 *GNU*)
4325   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4326 *)
4327   ac_count=0
4328   $as_echo_n 0123456789 >"conftest.in"
4329   while :
4330   do
4331     cat "conftest.in" "conftest.in" >"conftest.tmp"
4332     mv "conftest.tmp" "conftest.in"
4333     cp "conftest.in" "conftest.nl"
4334     $as_echo 'FGREP' >> "conftest.nl"
4335     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4336     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4337     as_fn_arith $ac_count + 1 && ac_count=$as_val
4338     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4339       # Best one so far, save it but keep looking for a better one
4340       ac_cv_path_FGREP="$ac_path_FGREP"
4341       ac_path_FGREP_max=$ac_count
4342     fi
4343     # 10*(2^10) chars as input seems more than enough
4344     test $ac_count -gt 10 && break
4345   done
4346   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4347 esac
4348
4349       $ac_path_FGREP_found && break 3
4350     done
4351   done
4352   done
4353 IFS=$as_save_IFS
4354   if test -z "$ac_cv_path_FGREP"; then
4355     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4356   fi
4357 else
4358   ac_cv_path_FGREP=$FGREP
4359 fi
4360
4361    fi
4362 fi
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4364 $as_echo "$ac_cv_path_FGREP" >&6; }
4365  FGREP="$ac_cv_path_FGREP"
4366
4367
4368 test -z "$GREP" && GREP=grep
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388 # Check whether --with-gnu-ld was given.
4389 if test "${with_gnu_ld+set}" = set; then :
4390   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4391 else
4392   with_gnu_ld=no
4393 fi
4394
4395 ac_prog=ld
4396 if test "$GCC" = yes; then
4397   # Check if gcc -print-prog-name=ld gives a path.
4398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4399 $as_echo_n "checking for ld used by $CC... " >&6; }
4400   case $host in
4401   *-*-mingw*)
4402     # gcc leaves a trailing carriage return which upsets mingw
4403     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4404   *)
4405     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4406   esac
4407   case $ac_prog in
4408     # Accept absolute paths.
4409     [\\/]* | ?:[\\/]*)
4410       re_direlt='/[^/][^/]*/\.\./'
4411       # Canonicalize the pathname of ld
4412       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4413       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4414         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4415       done
4416       test -z "$LD" && LD="$ac_prog"
4417       ;;
4418   "")
4419     # If it fails, then pretend we aren't using GCC.
4420     ac_prog=ld
4421     ;;
4422   *)
4423     # If it is relative, then search for the first ld in PATH.
4424     with_gnu_ld=unknown
4425     ;;
4426   esac
4427 elif test "$with_gnu_ld" = yes; then
4428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4429 $as_echo_n "checking for GNU ld... " >&6; }
4430 else
4431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4432 $as_echo_n "checking for non-GNU ld... " >&6; }
4433 fi
4434 if ${lt_cv_path_LD+:} false; then :
4435   $as_echo_n "(cached) " >&6
4436 else
4437   if test -z "$LD"; then
4438   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4439   for ac_dir in $PATH; do
4440     IFS="$lt_save_ifs"
4441     test -z "$ac_dir" && ac_dir=.
4442     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4443       lt_cv_path_LD="$ac_dir/$ac_prog"
4444       # Check to see if the program is GNU ld.  I'd rather use --version,
4445       # but apparently some variants of GNU ld only accept -v.
4446       # Break only if it was the GNU/non-GNU ld that we prefer.
4447       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4448       *GNU* | *'with BFD'*)
4449         test "$with_gnu_ld" != no && break
4450         ;;
4451       *)
4452         test "$with_gnu_ld" != yes && break
4453         ;;
4454       esac
4455     fi
4456   done
4457   IFS="$lt_save_ifs"
4458 else
4459   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4460 fi
4461 fi
4462
4463 LD="$lt_cv_path_LD"
4464 if test -n "$LD"; then
4465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4466 $as_echo "$LD" >&6; }
4467 else
4468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4470 fi
4471 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4473 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4474 if ${lt_cv_prog_gnu_ld+:} false; then :
4475   $as_echo_n "(cached) " >&6
4476 else
4477   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4478 case `$LD -v 2>&1 </dev/null` in
4479 *GNU* | *'with BFD'*)
4480   lt_cv_prog_gnu_ld=yes
4481   ;;
4482 *)
4483   lt_cv_prog_gnu_ld=no
4484   ;;
4485 esac
4486 fi
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4488 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4489 with_gnu_ld=$lt_cv_prog_gnu_ld
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4500 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4501 if ${lt_cv_path_NM+:} false; then :
4502   $as_echo_n "(cached) " >&6
4503 else
4504   if test -n "$NM"; then
4505   # Let the user override the test.
4506   lt_cv_path_NM="$NM"
4507 else
4508   lt_nm_to_check="${ac_tool_prefix}nm"
4509   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4510     lt_nm_to_check="$lt_nm_to_check nm"
4511   fi
4512   for lt_tmp_nm in $lt_nm_to_check; do
4513     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4514     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4515       IFS="$lt_save_ifs"
4516       test -z "$ac_dir" && ac_dir=.
4517       tmp_nm="$ac_dir/$lt_tmp_nm"
4518       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4519         # Check to see if the nm accepts a BSD-compat flag.
4520         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4521         #   nm: unknown option "B" ignored
4522         # Tru64's nm complains that /dev/null is an invalid object file
4523         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4524         */dev/null* | *'Invalid file or object type'*)
4525           lt_cv_path_NM="$tmp_nm -B"
4526           break
4527           ;;
4528         *)
4529           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4530           */dev/null*)
4531             lt_cv_path_NM="$tmp_nm -p"
4532             break
4533             ;;
4534           *)
4535             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4536             continue # so that we can try to find one that supports BSD flags
4537             ;;
4538           esac
4539           ;;
4540         esac
4541       fi
4542     done
4543     IFS="$lt_save_ifs"
4544   done
4545   : ${lt_cv_path_NM=no}
4546 fi
4547 fi
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4549 $as_echo "$lt_cv_path_NM" >&6; }
4550 if test "$lt_cv_path_NM" != "no"; then
4551   NM="$lt_cv_path_NM"
4552 else
4553   # Didn't find any BSD compatible name lister, look for dumpbin.
4554   if test -n "$DUMPBIN"; then :
4555     # Let the user override the test.
4556   else
4557     if test -n "$ac_tool_prefix"; then
4558   for ac_prog in dumpbin "link -dump"
4559   do
4560     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4561 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4563 $as_echo_n "checking for $ac_word... " >&6; }
4564 if ${ac_cv_prog_DUMPBIN+:} false; then :
4565   $as_echo_n "(cached) " >&6
4566 else
4567   if test -n "$DUMPBIN"; then
4568   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4569 else
4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 for as_dir in $PATH
4572 do
4573   IFS=$as_save_IFS
4574   test -z "$as_dir" && as_dir=.
4575     for ac_exec_ext in '' $ac_executable_extensions; do
4576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4577     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579     break 2
4580   fi
4581 done
4582   done
4583 IFS=$as_save_IFS
4584
4585 fi
4586 fi
4587 DUMPBIN=$ac_cv_prog_DUMPBIN
4588 if test -n "$DUMPBIN"; then
4589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4590 $as_echo "$DUMPBIN" >&6; }
4591 else
4592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 $as_echo "no" >&6; }
4594 fi
4595
4596
4597     test -n "$DUMPBIN" && break
4598   done
4599 fi
4600 if test -z "$DUMPBIN"; then
4601   ac_ct_DUMPBIN=$DUMPBIN
4602   for ac_prog in dumpbin "link -dump"
4603 do
4604   # Extract the first word of "$ac_prog", so it can be a program name with args.
4605 set dummy $ac_prog; ac_word=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4609   $as_echo_n "(cached) " >&6
4610 else
4611   if test -n "$ac_ct_DUMPBIN"; then
4612   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4613 else
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH
4616 do
4617   IFS=$as_save_IFS
4618   test -z "$as_dir" && as_dir=.
4619     for ac_exec_ext in '' $ac_executable_extensions; do
4620   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623     break 2
4624   fi
4625 done
4626   done
4627 IFS=$as_save_IFS
4628
4629 fi
4630 fi
4631 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4632 if test -n "$ac_ct_DUMPBIN"; then
4633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4634 $as_echo "$ac_ct_DUMPBIN" >&6; }
4635 else
4636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4638 fi
4639
4640
4641   test -n "$ac_ct_DUMPBIN" && break
4642 done
4643
4644   if test "x$ac_ct_DUMPBIN" = x; then
4645     DUMPBIN=":"
4646   else
4647     case $cross_compiling:$ac_tool_warned in
4648 yes:)
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4651 ac_tool_warned=yes ;;
4652 esac
4653     DUMPBIN=$ac_ct_DUMPBIN
4654   fi
4655 fi
4656
4657     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4658     *COFF*)
4659       DUMPBIN="$DUMPBIN -symbols"
4660       ;;
4661     *)
4662       DUMPBIN=:
4663       ;;
4664     esac
4665   fi
4666
4667   if test "$DUMPBIN" != ":"; then
4668     NM="$DUMPBIN"
4669   fi
4670 fi
4671 test -z "$NM" && NM=nm
4672
4673
4674
4675
4676
4677
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4679 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4680 if ${lt_cv_nm_interface+:} false; then :
4681   $as_echo_n "(cached) " >&6
4682 else
4683   lt_cv_nm_interface="BSD nm"
4684   echo "int some_variable = 0;" > conftest.$ac_ext
4685   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4686   (eval "$ac_compile" 2>conftest.err)
4687   cat conftest.err >&5
4688   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4689   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4690   cat conftest.err >&5
4691   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4692   cat conftest.out >&5
4693   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4694     lt_cv_nm_interface="MS dumpbin"
4695   fi
4696   rm -f conftest*
4697 fi
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4699 $as_echo "$lt_cv_nm_interface" >&6; }
4700
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4702 $as_echo_n "checking whether ln -s works... " >&6; }
4703 LN_S=$as_ln_s
4704 if test "$LN_S" = "ln -s"; then
4705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4706 $as_echo "yes" >&6; }
4707 else
4708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4709 $as_echo "no, using $LN_S" >&6; }
4710 fi
4711
4712 # find the maximum length of command line arguments
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4714 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4715 if ${lt_cv_sys_max_cmd_len+:} false; then :
4716   $as_echo_n "(cached) " >&6
4717 else
4718     i=0
4719   teststring="ABCD"
4720
4721   case $build_os in
4722   msdosdjgpp*)
4723     # On DJGPP, this test can blow up pretty badly due to problems in libc
4724     # (any single argument exceeding 2000 bytes causes a buffer overrun
4725     # during glob expansion).  Even if it were fixed, the result of this
4726     # check would be larger than it should be.
4727     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4728     ;;
4729
4730   gnu*)
4731     # Under GNU Hurd, this test is not required because there is
4732     # no limit to the length of command line arguments.
4733     # Libtool will interpret -1 as no limit whatsoever
4734     lt_cv_sys_max_cmd_len=-1;
4735     ;;
4736
4737   cygwin* | mingw* | cegcc*)
4738     # On Win9x/ME, this test blows up -- it succeeds, but takes
4739     # about 5 minutes as the teststring grows exponentially.
4740     # Worse, since 9x/ME are not pre-emptively multitasking,
4741     # you end up with a "frozen" computer, even though with patience
4742     # the test eventually succeeds (with a max line length of 256k).
4743     # Instead, let's just punt: use the minimum linelength reported by
4744     # all of the supported platforms: 8192 (on NT/2K/XP).
4745     lt_cv_sys_max_cmd_len=8192;
4746     ;;
4747
4748   mint*)
4749     # On MiNT this can take a long time and run out of memory.
4750     lt_cv_sys_max_cmd_len=8192;
4751     ;;
4752
4753   amigaos*)
4754     # On AmigaOS with pdksh, this test takes hours, literally.
4755     # So we just punt and use a minimum line length of 8192.
4756     lt_cv_sys_max_cmd_len=8192;
4757     ;;
4758
4759   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4760     # This has been around since 386BSD, at least.  Likely further.
4761     if test -x /sbin/sysctl; then
4762       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4763     elif test -x /usr/sbin/sysctl; then
4764       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4765     else
4766       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4767     fi
4768     # And add a safety zone
4769     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4770     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4771     ;;
4772
4773   interix*)
4774     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4775     lt_cv_sys_max_cmd_len=196608
4776     ;;
4777
4778   os2*)
4779     # The test takes a long time on OS/2.
4780     lt_cv_sys_max_cmd_len=8192
4781     ;;
4782
4783   osf*)
4784     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4785     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4786     # nice to cause kernel panics so lets avoid the loop below.
4787     # First set a reasonable default.
4788     lt_cv_sys_max_cmd_len=16384
4789     #
4790     if test -x /sbin/sysconfig; then
4791       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4792         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4793       esac
4794     fi
4795     ;;
4796   sco3.2v5*)
4797     lt_cv_sys_max_cmd_len=102400
4798     ;;
4799   sysv5* | sco5v6* | sysv4.2uw2*)
4800     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4801     if test -n "$kargmax"; then
4802       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4803     else
4804       lt_cv_sys_max_cmd_len=32768
4805     fi
4806     ;;
4807   *)
4808     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4809     if test -n "$lt_cv_sys_max_cmd_len"; then
4810       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4811       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4812     else
4813       # Make teststring a little bigger before we do anything with it.
4814       # a 1K string should be a reasonable start.
4815       for i in 1 2 3 4 5 6 7 8 ; do
4816         teststring=$teststring$teststring
4817       done
4818       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4819       # If test is not a shell built-in, we'll probably end up computing a
4820       # maximum length that is only half of the actual maximum length, but
4821       # we can't tell.
4822       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4823                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4824               test $i != 17 # 1/2 MB should be enough
4825       do
4826         i=`expr $i + 1`
4827         teststring=$teststring$teststring
4828       done
4829       # Only check the string length outside the loop.
4830       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4831       teststring=
4832       # Add a significant safety factor because C++ compilers can tack on
4833       # massive amounts of additional arguments before passing them to the
4834       # linker.  It appears as though 1/2 is a usable value.
4835       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4836     fi
4837     ;;
4838   esac
4839
4840 fi
4841
4842 if test -n $lt_cv_sys_max_cmd_len ; then
4843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4844 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4845 else
4846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4847 $as_echo "none" >&6; }
4848 fi
4849 max_cmd_len=$lt_cv_sys_max_cmd_len
4850
4851
4852
4853
4854
4855
4856 : ${CP="cp -f"}
4857 : ${MV="mv -f"}
4858 : ${RM="rm -f"}
4859
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4861 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4862 # Try some XSI features
4863 xsi_shell=no
4864 ( _lt_dummy="a/b/c"
4865   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4866       = c,a/b,b/c, \
4867     && eval 'test $(( 1 + 1 )) -eq 2 \
4868     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4869   && xsi_shell=yes
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4871 $as_echo "$xsi_shell" >&6; }
4872
4873
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4875 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4876 lt_shell_append=no
4877 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4878     >/dev/null 2>&1 \
4879   && lt_shell_append=yes
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4881 $as_echo "$lt_shell_append" >&6; }
4882
4883
4884 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4885   lt_unset=unset
4886 else
4887   lt_unset=false
4888 fi
4889
4890
4891
4892
4893
4894 # test EBCDIC or ASCII
4895 case `echo X|tr X '\101'` in
4896  A) # ASCII based system
4897     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4898   lt_SP2NL='tr \040 \012'
4899   lt_NL2SP='tr \015\012 \040\040'
4900   ;;
4901  *) # EBCDIC based system
4902   lt_SP2NL='tr \100 \n'
4903   lt_NL2SP='tr \r\n \100\100'
4904   ;;
4905 esac
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4916 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4917 if ${lt_cv_to_host_file_cmd+:} false; then :
4918   $as_echo_n "(cached) " >&6
4919 else
4920   case $host in
4921   *-*-mingw* )
4922     case $build in
4923       *-*-mingw* ) # actually msys
4924         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4925         ;;
4926       *-*-cygwin* )
4927         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4928         ;;
4929       * ) # otherwise, assume *nix
4930         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4931         ;;
4932     esac
4933     ;;
4934   *-*-cygwin* )
4935     case $build in
4936       *-*-mingw* ) # actually msys
4937         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4938         ;;
4939       *-*-cygwin* )
4940         lt_cv_to_host_file_cmd=func_convert_file_noop
4941         ;;
4942       * ) # otherwise, assume *nix
4943         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4944         ;;
4945     esac
4946     ;;
4947   * ) # unhandled hosts (and "normal" native builds)
4948     lt_cv_to_host_file_cmd=func_convert_file_noop
4949     ;;
4950 esac
4951
4952 fi
4953
4954 to_host_file_cmd=$lt_cv_to_host_file_cmd
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4956 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4957
4958
4959
4960
4961
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4963 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4964 if ${lt_cv_to_tool_file_cmd+:} false; then :
4965   $as_echo_n "(cached) " >&6
4966 else
4967   #assume ordinary cross tools, or native build.
4968 lt_cv_to_tool_file_cmd=func_convert_file_noop
4969 case $host in
4970   *-*-mingw* )
4971     case $build in
4972       *-*-mingw* ) # actually msys
4973         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4974         ;;
4975     esac
4976     ;;
4977 esac
4978
4979 fi
4980
4981 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4983 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4984
4985
4986
4987
4988
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4990 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4991 if ${lt_cv_ld_reload_flag+:} false; then :
4992   $as_echo_n "(cached) " >&6
4993 else
4994   lt_cv_ld_reload_flag='-r'
4995 fi
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4997 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4998 reload_flag=$lt_cv_ld_reload_flag
4999 case $reload_flag in
5000 "" | " "*) ;;
5001 *) reload_flag=" $reload_flag" ;;
5002 esac
5003 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5004 case $host_os in
5005   cygwin* | mingw* | pw32* | cegcc*)
5006     if test "$GCC" != yes; then
5007       reload_cmds=false
5008     fi
5009     ;;
5010   darwin*)
5011     if test "$GCC" = yes; then
5012       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5013     else
5014       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5015     fi
5016     ;;
5017 esac
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027 if test -n "$ac_tool_prefix"; then
5028   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_OBJDUMP+:} false; then :
5033   $as_echo_n "(cached) " >&6
5034 else
5035   if test -n "$OBJDUMP"; then
5036   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5040 do
5041   IFS=$as_save_IFS
5042   test -z "$as_dir" && as_dir=.
5043     for ac_exec_ext in '' $ac_executable_extensions; do
5044   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047     break 2
5048   fi
5049 done
5050   done
5051 IFS=$as_save_IFS
5052
5053 fi
5054 fi
5055 OBJDUMP=$ac_cv_prog_OBJDUMP
5056 if test -n "$OBJDUMP"; then
5057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5058 $as_echo "$OBJDUMP" >&6; }
5059 else
5060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5062 fi
5063
5064
5065 fi
5066 if test -z "$ac_cv_prog_OBJDUMP"; then
5067   ac_ct_OBJDUMP=$OBJDUMP
5068   # Extract the first word of "objdump", so it can be a program name with args.
5069 set dummy objdump; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5073   $as_echo_n "(cached) " >&6
5074 else
5075   if test -n "$ac_ct_OBJDUMP"; then
5076   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081   IFS=$as_save_IFS
5082   test -z "$as_dir" && as_dir=.
5083     for ac_exec_ext in '' $ac_executable_extensions; do
5084   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087     break 2
5088   fi
5089 done
5090   done
5091 IFS=$as_save_IFS
5092
5093 fi
5094 fi
5095 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5096 if test -n "$ac_ct_OBJDUMP"; then
5097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5098 $as_echo "$ac_ct_OBJDUMP" >&6; }
5099 else
5100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 fi
5103
5104   if test "x$ac_ct_OBJDUMP" = x; then
5105     OBJDUMP="false"
5106   else
5107     case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113     OBJDUMP=$ac_ct_OBJDUMP
5114   fi
5115 else
5116   OBJDUMP="$ac_cv_prog_OBJDUMP"
5117 fi
5118
5119 test -z "$OBJDUMP" && OBJDUMP=objdump
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5130 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5131 if ${lt_cv_deplibs_check_method+:} false; then :
5132   $as_echo_n "(cached) " >&6
5133 else
5134   lt_cv_file_magic_cmd='$MAGIC_CMD'
5135 lt_cv_file_magic_test_file=
5136 lt_cv_deplibs_check_method='unknown'
5137 # Need to set the preceding variable on all platforms that support
5138 # interlibrary dependencies.
5139 # 'none' -- dependencies not supported.
5140 # `unknown' -- same as none, but documents that we really don't know.
5141 # 'pass_all' -- all dependencies passed with no checks.
5142 # 'test_compile' -- check by making test program.
5143 # 'file_magic [[regex]]' -- check by looking for files in library path
5144 # which responds to the $file_magic_cmd with a given extended regex.
5145 # If you have `file' or equivalent on your system and you're not sure
5146 # whether `pass_all' will *always* work, you probably want this one.
5147
5148 case $host_os in
5149 aix[4-9]*)
5150   lt_cv_deplibs_check_method=pass_all
5151   ;;
5152
5153 beos*)
5154   lt_cv_deplibs_check_method=pass_all
5155   ;;
5156
5157 bsdi[45]*)
5158   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5159   lt_cv_file_magic_cmd='/usr/bin/file -L'
5160   lt_cv_file_magic_test_file=/shlib/libc.so
5161   ;;
5162
5163 cygwin*)
5164   # func_win32_libid is a shell function defined in ltmain.sh
5165   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5166   lt_cv_file_magic_cmd='func_win32_libid'
5167   ;;
5168
5169 mingw* | pw32*)
5170   # Base MSYS/MinGW do not provide the 'file' command needed by
5171   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5172   # unless we find 'file', for example because we are cross-compiling.
5173   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5174   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5175     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5176     lt_cv_file_magic_cmd='func_win32_libid'
5177   else
5178     # Keep this pattern in sync with the one in func_win32_libid.
5179     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5180     lt_cv_file_magic_cmd='$OBJDUMP -f'
5181   fi
5182   ;;
5183
5184 cegcc*)
5185   # use the weaker test based on 'objdump'. See mingw*.
5186   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5187   lt_cv_file_magic_cmd='$OBJDUMP -f'
5188   ;;
5189
5190 darwin* | rhapsody*)
5191   lt_cv_deplibs_check_method=pass_all
5192   ;;
5193
5194 freebsd* | dragonfly*)
5195   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5196     case $host_cpu in
5197     i*86 )
5198       # Not sure whether the presence of OpenBSD here was a mistake.
5199       # Let's accept both of them until this is cleared up.
5200       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5201       lt_cv_file_magic_cmd=/usr/bin/file
5202       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5203       ;;
5204     esac
5205   else
5206     lt_cv_deplibs_check_method=pass_all
5207   fi
5208   ;;
5209
5210 gnu*)
5211   lt_cv_deplibs_check_method=pass_all
5212   ;;
5213
5214 haiku*)
5215   lt_cv_deplibs_check_method=pass_all
5216   ;;
5217
5218 hpux10.20* | hpux11*)
5219   lt_cv_file_magic_cmd=/usr/bin/file
5220   case $host_cpu in
5221   ia64*)
5222     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5223     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5224     ;;
5225   hppa*64*)
5226     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]'
5227     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5228     ;;
5229   *)
5230     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5231     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5232     ;;
5233   esac
5234   ;;
5235
5236 interix[3-9]*)
5237   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5238   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5239   ;;
5240
5241 irix5* | irix6* | nonstopux*)
5242   case $LD in
5243   *-32|*"-32 ") libmagic=32-bit;;
5244   *-n32|*"-n32 ") libmagic=N32;;
5245   *-64|*"-64 ") libmagic=64-bit;;
5246   *) libmagic=never-match;;
5247   esac
5248   lt_cv_deplibs_check_method=pass_all
5249   ;;
5250
5251 # This must be glibc/ELF.
5252 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5253   lt_cv_deplibs_check_method=pass_all
5254   ;;
5255
5256 netbsd*)
5257   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5258     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5259   else
5260     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5261   fi
5262   ;;
5263
5264 newos6*)
5265   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5266   lt_cv_file_magic_cmd=/usr/bin/file
5267   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5268   ;;
5269
5270 *nto* | *qnx*)
5271   lt_cv_deplibs_check_method=pass_all
5272   ;;
5273
5274 openbsd*)
5275   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5276     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5277   else
5278     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5279   fi
5280   ;;
5281
5282 osf3* | osf4* | osf5*)
5283   lt_cv_deplibs_check_method=pass_all
5284   ;;
5285
5286 rdos*)
5287   lt_cv_deplibs_check_method=pass_all
5288   ;;
5289
5290 solaris*)
5291   lt_cv_deplibs_check_method=pass_all
5292   ;;
5293
5294 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5295   lt_cv_deplibs_check_method=pass_all
5296   ;;
5297
5298 sysv4 | sysv4.3*)
5299   case $host_vendor in
5300   motorola)
5301     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]'
5302     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5303     ;;
5304   ncr)
5305     lt_cv_deplibs_check_method=pass_all
5306     ;;
5307   sequent)
5308     lt_cv_file_magic_cmd='/bin/file'
5309     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5310     ;;
5311   sni)
5312     lt_cv_file_magic_cmd='/bin/file'
5313     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5314     lt_cv_file_magic_test_file=/lib/libc.so
5315     ;;
5316   siemens)
5317     lt_cv_deplibs_check_method=pass_all
5318     ;;
5319   pc)
5320     lt_cv_deplibs_check_method=pass_all
5321     ;;
5322   esac
5323   ;;
5324
5325 tpf*)
5326   lt_cv_deplibs_check_method=pass_all
5327   ;;
5328 esac
5329
5330 fi
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5332 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5333
5334 file_magic_glob=
5335 want_nocaseglob=no
5336 if test "$build" = "$host"; then
5337   case $host_os in
5338   mingw* | pw32*)
5339     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5340       want_nocaseglob=yes
5341     else
5342       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5343     fi
5344     ;;
5345   esac
5346 fi
5347
5348 file_magic_cmd=$lt_cv_file_magic_cmd
5349 deplibs_check_method=$lt_cv_deplibs_check_method
5350 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373 if test -n "$ac_tool_prefix"; then
5374   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5375 set dummy ${ac_tool_prefix}dlltool; 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_DLLTOOL+:} false; then :
5379   $as_echo_n "(cached) " >&6
5380 else
5381   if test -n "$DLLTOOL"; then
5382   ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ac_tool_prefix}dlltool"
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 DLLTOOL=$ac_cv_prog_DLLTOOL
5402 if test -n "$DLLTOOL"; then
5403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5404 $as_echo "$DLLTOOL" >&6; }
5405 else
5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5408 fi
5409
5410
5411 fi
5412 if test -z "$ac_cv_prog_DLLTOOL"; then
5413   ac_ct_DLLTOOL=$DLLTOOL
5414   # Extract the first word of "dlltool", so it can be a program name with args.
5415 set dummy dlltool; ac_word=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5419   $as_echo_n "(cached) " >&6
5420 else
5421   if test -n "$ac_ct_DLLTOOL"; then
5422   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5423 else
5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 for as_dir in $PATH
5426 do
5427   IFS=$as_save_IFS
5428   test -z "$as_dir" && as_dir=.
5429     for ac_exec_ext in '' $ac_executable_extensions; do
5430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5431     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433     break 2
5434   fi
5435 done
5436   done
5437 IFS=$as_save_IFS
5438
5439 fi
5440 fi
5441 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5442 if test -n "$ac_ct_DLLTOOL"; then
5443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5444 $as_echo "$ac_ct_DLLTOOL" >&6; }
5445 else
5446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5448 fi
5449
5450   if test "x$ac_ct_DLLTOOL" = x; then
5451     DLLTOOL="false"
5452   else
5453     case $cross_compiling:$ac_tool_warned in
5454 yes:)
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5457 ac_tool_warned=yes ;;
5458 esac
5459     DLLTOOL=$ac_ct_DLLTOOL
5460   fi
5461 else
5462   DLLTOOL="$ac_cv_prog_DLLTOOL"
5463 fi
5464
5465 test -z "$DLLTOOL" && DLLTOOL=dlltool
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5477 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5478 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5479   $as_echo_n "(cached) " >&6
5480 else
5481   lt_cv_sharedlib_from_linklib_cmd='unknown'
5482
5483 case $host_os in
5484 cygwin* | mingw* | pw32* | cegcc*)
5485   # two different shell functions defined in ltmain.sh
5486   # decide which to use based on capabilities of $DLLTOOL
5487   case `$DLLTOOL --help 2>&1` in
5488   *--identify-strict*)
5489     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5490     ;;
5491   *)
5492     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5493     ;;
5494   esac
5495   ;;
5496 *)
5497   # fallback: assume linklib IS sharedlib
5498   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5499   ;;
5500 esac
5501
5502 fi
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5504 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5505 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5506 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5507
5508
5509
5510
5511
5512
5513
5514
5515 if test -n "$ac_tool_prefix"; then
5516   for ac_prog in ar
5517   do
5518     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_AR+:} false; then :
5523   $as_echo_n "(cached) " >&6
5524 else
5525   if test -n "$AR"; then
5526   ac_cv_prog_AR="$AR" # Let the user override the test.
5527 else
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5529 for as_dir in $PATH
5530 do
5531   IFS=$as_save_IFS
5532   test -z "$as_dir" && as_dir=.
5533     for ac_exec_ext in '' $ac_executable_extensions; do
5534   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5535     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537     break 2
5538   fi
5539 done
5540   done
5541 IFS=$as_save_IFS
5542
5543 fi
5544 fi
5545 AR=$ac_cv_prog_AR
5546 if test -n "$AR"; then
5547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5548 $as_echo "$AR" >&6; }
5549 else
5550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5552 fi
5553
5554
5555     test -n "$AR" && break
5556   done
5557 fi
5558 if test -z "$AR"; then
5559   ac_ct_AR=$AR
5560   for ac_prog in ar
5561 do
5562   # Extract the first word of "$ac_prog", so it can be a program name with args.
5563 set dummy $ac_prog; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5567   $as_echo_n "(cached) " >&6
5568 else
5569   if test -n "$ac_ct_AR"; then
5570   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5574 do
5575   IFS=$as_save_IFS
5576   test -z "$as_dir" && as_dir=.
5577     for ac_exec_ext in '' $ac_executable_extensions; do
5578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579     ac_cv_prog_ac_ct_AR="$ac_prog"
5580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581     break 2
5582   fi
5583 done
5584   done
5585 IFS=$as_save_IFS
5586
5587 fi
5588 fi
5589 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5590 if test -n "$ac_ct_AR"; then
5591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5592 $as_echo "$ac_ct_AR" >&6; }
5593 else
5594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5596 fi
5597
5598
5599   test -n "$ac_ct_AR" && break
5600 done
5601
5602   if test "x$ac_ct_AR" = x; then
5603     AR="false"
5604   else
5605     case $cross_compiling:$ac_tool_warned in
5606 yes:)
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5609 ac_tool_warned=yes ;;
5610 esac
5611     AR=$ac_ct_AR
5612   fi
5613 fi
5614
5615 : ${AR=ar}
5616 : ${AR_FLAGS=cru}
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5629 $as_echo_n "checking for archiver @FILE support... " >&6; }
5630 if ${lt_cv_ar_at_file+:} false; then :
5631   $as_echo_n "(cached) " >&6
5632 else
5633   lt_cv_ar_at_file=no
5634    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h.  */
5636
5637 int
5638 main ()
5639 {
5640
5641   ;
5642   return 0;
5643 }
5644 _ACEOF
5645 if ac_fn_c_try_compile "$LINENO"; then :
5646   echo conftest.$ac_objext > conftest.lst
5647       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5648       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5649   (eval $lt_ar_try) 2>&5
5650   ac_status=$?
5651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5652   test $ac_status = 0; }
5653       if test "$ac_status" -eq 0; then
5654         # Ensure the archiver fails upon bogus file names.
5655         rm -f conftest.$ac_objext libconftest.a
5656         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5657   (eval $lt_ar_try) 2>&5
5658   ac_status=$?
5659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5660   test $ac_status = 0; }
5661         if test "$ac_status" -ne 0; then
5662           lt_cv_ar_at_file=@
5663         fi
5664       fi
5665       rm -f conftest.* libconftest.a
5666
5667 fi
5668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5669
5670 fi
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5672 $as_echo "$lt_cv_ar_at_file" >&6; }
5673
5674 if test "x$lt_cv_ar_at_file" = xno; then
5675   archiver_list_spec=
5676 else
5677   archiver_list_spec=$lt_cv_ar_at_file
5678 fi
5679
5680
5681
5682
5683
5684
5685
5686 if test -n "$ac_tool_prefix"; then
5687   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5688 set dummy ${ac_tool_prefix}strip; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_prog_STRIP+:} false; then :
5692   $as_echo_n "(cached) " >&6
5693 else
5694   if test -n "$STRIP"; then
5695   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5696 else
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 for as_dir in $PATH
5699 do
5700   IFS=$as_save_IFS
5701   test -z "$as_dir" && as_dir=.
5702     for ac_exec_ext in '' $ac_executable_extensions; do
5703   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706     break 2
5707   fi
5708 done
5709   done
5710 IFS=$as_save_IFS
5711
5712 fi
5713 fi
5714 STRIP=$ac_cv_prog_STRIP
5715 if test -n "$STRIP"; then
5716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5717 $as_echo "$STRIP" >&6; }
5718 else
5719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5721 fi
5722
5723
5724 fi
5725 if test -z "$ac_cv_prog_STRIP"; then
5726   ac_ct_STRIP=$STRIP
5727   # Extract the first word of "strip", so it can be a program name with args.
5728 set dummy strip; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5732   $as_echo_n "(cached) " >&6
5733 else
5734   if test -n "$ac_ct_STRIP"; then
5735   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5739 do
5740   IFS=$as_save_IFS
5741   test -z "$as_dir" && as_dir=.
5742     for ac_exec_ext in '' $ac_executable_extensions; do
5743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744     ac_cv_prog_ac_ct_STRIP="strip"
5745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746     break 2
5747   fi
5748 done
5749   done
5750 IFS=$as_save_IFS
5751
5752 fi
5753 fi
5754 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5755 if test -n "$ac_ct_STRIP"; then
5756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5757 $as_echo "$ac_ct_STRIP" >&6; }
5758 else
5759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5761 fi
5762
5763   if test "x$ac_ct_STRIP" = x; then
5764     STRIP=":"
5765   else
5766     case $cross_compiling:$ac_tool_warned in
5767 yes:)
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5770 ac_tool_warned=yes ;;
5771 esac
5772     STRIP=$ac_ct_STRIP
5773   fi
5774 else
5775   STRIP="$ac_cv_prog_STRIP"
5776 fi
5777
5778 test -z "$STRIP" && STRIP=:
5779
5780
5781
5782
5783
5784
5785 if test -n "$ac_tool_prefix"; then
5786   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if ${ac_cv_prog_RANLIB+:} false; then :
5791   $as_echo_n "(cached) " >&6
5792 else
5793   if test -n "$RANLIB"; then
5794   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5795 else
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 for as_dir in $PATH
5798 do
5799   IFS=$as_save_IFS
5800   test -z "$as_dir" && as_dir=.
5801     for ac_exec_ext in '' $ac_executable_extensions; do
5802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805     break 2
5806   fi
5807 done
5808   done
5809 IFS=$as_save_IFS
5810
5811 fi
5812 fi
5813 RANLIB=$ac_cv_prog_RANLIB
5814 if test -n "$RANLIB"; then
5815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5816 $as_echo "$RANLIB" >&6; }
5817 else
5818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5820 fi
5821
5822
5823 fi
5824 if test -z "$ac_cv_prog_RANLIB"; then
5825   ac_ct_RANLIB=$RANLIB
5826   # Extract the first word of "ranlib", so it can be a program name with args.
5827 set dummy ranlib; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5831   $as_echo_n "(cached) " >&6
5832 else
5833   if test -n "$ac_ct_RANLIB"; then
5834   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5835 else
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH
5838 do
5839   IFS=$as_save_IFS
5840   test -z "$as_dir" && as_dir=.
5841     for ac_exec_ext in '' $ac_executable_extensions; do
5842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843     ac_cv_prog_ac_ct_RANLIB="ranlib"
5844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845     break 2
5846   fi
5847 done
5848   done
5849 IFS=$as_save_IFS
5850
5851 fi
5852 fi
5853 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5854 if test -n "$ac_ct_RANLIB"; then
5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5856 $as_echo "$ac_ct_RANLIB" >&6; }
5857 else
5858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5860 fi
5861
5862   if test "x$ac_ct_RANLIB" = x; then
5863     RANLIB=":"
5864   else
5865     case $cross_compiling:$ac_tool_warned in
5866 yes:)
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869 ac_tool_warned=yes ;;
5870 esac
5871     RANLIB=$ac_ct_RANLIB
5872   fi
5873 else
5874   RANLIB="$ac_cv_prog_RANLIB"
5875 fi
5876
5877 test -z "$RANLIB" && RANLIB=:
5878
5879
5880
5881
5882
5883
5884 # Determine commands to create old-style static archives.
5885 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5886 old_postinstall_cmds='chmod 644 $oldlib'
5887 old_postuninstall_cmds=
5888
5889 if test -n "$RANLIB"; then
5890   case $host_os in
5891   openbsd*)
5892     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5893     ;;
5894   *)
5895     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5896     ;;
5897   esac
5898   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5899 fi
5900
5901 case $host_os in
5902   darwin*)
5903     lock_old_archive_extraction=yes ;;
5904   *)
5905     lock_old_archive_extraction=no ;;
5906 esac
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946 # If no C compiler was specified, use CC.
5947 LTCC=${LTCC-"$CC"}
5948
5949 # If no C compiler flags were specified, use CFLAGS.
5950 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5951
5952 # Allow CC to be a program name with arguments.
5953 compiler=$CC
5954
5955
5956 # Check for command to grab the raw symbol name followed by C symbol from nm.
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5958 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5959 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5960   $as_echo_n "(cached) " >&6
5961 else
5962
5963 # These are sane defaults that work on at least a few old systems.
5964 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5965
5966 # Character class describing NM global symbol codes.
5967 symcode='[BCDEGRST]'
5968
5969 # Regexp to match symbols that can be accessed directly from C.
5970 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5971
5972 # Define system-specific variables.
5973 case $host_os in
5974 aix*)
5975   symcode='[BCDT]'
5976   ;;
5977 cygwin* | mingw* | pw32* | cegcc*)
5978   symcode='[ABCDGISTW]'
5979   ;;
5980 hpux*)
5981   if test "$host_cpu" = ia64; then
5982     symcode='[ABCDEGRST]'
5983   fi
5984   ;;
5985 irix* | nonstopux*)
5986   symcode='[BCDEGRST]'
5987   ;;
5988 osf*)
5989   symcode='[BCDEGQRST]'
5990   ;;
5991 solaris*)
5992   symcode='[BDRT]'
5993   ;;
5994 sco3.2v5*)
5995   symcode='[DT]'
5996   ;;
5997 sysv4.2uw2*)
5998   symcode='[DT]'
5999   ;;
6000 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6001   symcode='[ABDT]'
6002   ;;
6003 sysv4)
6004   symcode='[DFNSTU]'
6005   ;;
6006 esac
6007
6008 # If we're using GNU nm, then use its standard symbol codes.
6009 case `$NM -V 2>&1` in
6010 *GNU* | *'with BFD'*)
6011   symcode='[ABCDGIRSTW]' ;;
6012 esac
6013
6014 # Transform an extracted symbol line into a proper C declaration.
6015 # Some systems (esp. on ia64) link data and code symbols differently,
6016 # so use this general approach.
6017 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6018
6019 # Transform an extracted symbol line into symbol name and symbol address
6020 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6021 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'"
6022
6023 # Handle CRLF in mingw tool chain
6024 opt_cr=
6025 case $build_os in
6026 mingw*)
6027   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6028   ;;
6029 esac
6030
6031 # Try without a prefix underscore, then with it.
6032 for ac_symprfx in "" "_"; do
6033
6034   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6035   symxfrm="\\1 $ac_symprfx\\2 \\2"
6036
6037   # Write the raw and C identifiers.
6038   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6039     # Fake it for dumpbin and say T for any non-static function
6040     # and D for any global variable.
6041     # Also find C++ and __fastcall symbols from MSVC++,
6042     # which start with @ or ?.
6043     lt_cv_sys_global_symbol_pipe="$AWK '"\
6044 "     {last_section=section; section=\$ 3};"\
6045 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6046 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6047 "     \$ 0!~/External *\|/{next};"\
6048 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6049 "     {if(hide[section]) next};"\
6050 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6051 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6052 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6053 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6054 "     ' prfx=^$ac_symprfx"
6055   else
6056     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6057   fi
6058   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6059
6060   # Check to see that the pipe works correctly.
6061   pipe_works=no
6062
6063   rm -f conftest*
6064   cat > conftest.$ac_ext <<_LT_EOF
6065 #ifdef __cplusplus
6066 extern "C" {
6067 #endif
6068 char nm_test_var;
6069 void nm_test_func(void);
6070 void nm_test_func(void){}
6071 #ifdef __cplusplus
6072 }
6073 #endif
6074 int main(){nm_test_var='a';nm_test_func();return(0);}
6075 _LT_EOF
6076
6077   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6078   (eval $ac_compile) 2>&5
6079   ac_status=$?
6080   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6081   test $ac_status = 0; }; then
6082     # Now try to grab the symbols.
6083     nlist=conftest.nm
6084     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6085   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6086   ac_status=$?
6087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6088   test $ac_status = 0; } && test -s "$nlist"; then
6089       # Try sorting and uniquifying the output.
6090       if sort "$nlist" | uniq > "$nlist"T; then
6091         mv -f "$nlist"T "$nlist"
6092       else
6093         rm -f "$nlist"T
6094       fi
6095
6096       # Make sure that we snagged all the symbols we need.
6097       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6098         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6099           cat <<_LT_EOF > conftest.$ac_ext
6100 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6101 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6102 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6103    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6104 # define LT_DLSYM_CONST
6105 #elif defined(__osf__)
6106 /* This system does not cope well with relocations in const data.  */
6107 # define LT_DLSYM_CONST
6108 #else
6109 # define LT_DLSYM_CONST const
6110 #endif
6111
6112 #ifdef __cplusplus
6113 extern "C" {
6114 #endif
6115
6116 _LT_EOF
6117           # Now generate the symbol file.
6118           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6119
6120           cat <<_LT_EOF >> conftest.$ac_ext
6121
6122 /* The mapping between symbol names and symbols.  */
6123 LT_DLSYM_CONST struct {
6124   const char *name;
6125   void       *address;
6126 }
6127 lt__PROGRAM__LTX_preloaded_symbols[] =
6128 {
6129   { "@PROGRAM@", (void *) 0 },
6130 _LT_EOF
6131           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6132           cat <<\_LT_EOF >> conftest.$ac_ext
6133   {0, (void *) 0}
6134 };
6135
6136 /* This works around a problem in FreeBSD linker */
6137 #ifdef FREEBSD_WORKAROUND
6138 static const void *lt_preloaded_setup() {
6139   return lt__PROGRAM__LTX_preloaded_symbols;
6140 }
6141 #endif
6142
6143 #ifdef __cplusplus
6144 }
6145 #endif
6146 _LT_EOF
6147           # Now try linking the two files.
6148           mv conftest.$ac_objext conftstm.$ac_objext
6149           lt_globsym_save_LIBS=$LIBS
6150           lt_globsym_save_CFLAGS=$CFLAGS
6151           LIBS="conftstm.$ac_objext"
6152           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6153           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6154   (eval $ac_link) 2>&5
6155   ac_status=$?
6156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6157   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6158             pipe_works=yes
6159           fi
6160           LIBS=$lt_globsym_save_LIBS
6161           CFLAGS=$lt_globsym_save_CFLAGS
6162         else
6163           echo "cannot find nm_test_func in $nlist" >&5
6164         fi
6165       else
6166         echo "cannot find nm_test_var in $nlist" >&5
6167       fi
6168     else
6169       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6170     fi
6171   else
6172     echo "$progname: failed program was:" >&5
6173     cat conftest.$ac_ext >&5
6174   fi
6175   rm -rf conftest* conftst*
6176
6177   # Do not use the global_symbol_pipe unless it works.
6178   if test "$pipe_works" = yes; then
6179     break
6180   else
6181     lt_cv_sys_global_symbol_pipe=
6182   fi
6183 done
6184
6185 fi
6186
6187 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6188   lt_cv_sys_global_symbol_to_cdecl=
6189 fi
6190 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6192 $as_echo "failed" >&6; }
6193 else
6194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6195 $as_echo "ok" >&6; }
6196 fi
6197
6198 # Response file support.
6199 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6200   nm_file_list_spec='@'
6201 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6202   nm_file_list_spec='@'
6203 fi
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6232 $as_echo_n "checking for sysroot... " >&6; }
6233
6234 # Check whether --with-sysroot was given.
6235 if test "${with_sysroot+set}" = set; then :
6236   withval=$with_sysroot;
6237 else
6238   with_sysroot=no
6239 fi
6240
6241
6242 lt_sysroot=
6243 case ${with_sysroot} in #(
6244  yes)
6245    if test "$GCC" = yes; then
6246      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6247    fi
6248    ;; #(
6249  /*)
6250    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6251    ;; #(
6252  no|'')
6253    ;; #(
6254  *)
6255    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6256 $as_echo "${with_sysroot}" >&6; }
6257    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6258    ;;
6259 esac
6260
6261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6262 $as_echo "${lt_sysroot:-no}" >&6; }
6263
6264
6265
6266
6267
6268 # Check whether --enable-libtool-lock was given.
6269 if test "${enable_libtool_lock+set}" = set; then :
6270   enableval=$enable_libtool_lock;
6271 fi
6272
6273 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6274
6275 # Some flags need to be propagated to the compiler or linker for good
6276 # libtool support.
6277 case $host in
6278 ia64-*-hpux*)
6279   # Find out which ABI we are using.
6280   echo 'int i;' > conftest.$ac_ext
6281   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6282   (eval $ac_compile) 2>&5
6283   ac_status=$?
6284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6285   test $ac_status = 0; }; then
6286     case `/usr/bin/file conftest.$ac_objext` in
6287       *ELF-32*)
6288         HPUX_IA64_MODE="32"
6289         ;;
6290       *ELF-64*)
6291         HPUX_IA64_MODE="64"
6292         ;;
6293     esac
6294   fi
6295   rm -rf conftest*
6296   ;;
6297 *-*-irix6*)
6298   # Find out which ABI we are using.
6299   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6300   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6301   (eval $ac_compile) 2>&5
6302   ac_status=$?
6303   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6304   test $ac_status = 0; }; then
6305     if test "$lt_cv_prog_gnu_ld" = yes; then
6306       case `/usr/bin/file conftest.$ac_objext` in
6307         *32-bit*)
6308           LD="${LD-ld} -melf32bsmip"
6309           ;;
6310         *N32*)
6311           LD="${LD-ld} -melf32bmipn32"
6312           ;;
6313         *64-bit*)
6314           LD="${LD-ld} -melf64bmip"
6315         ;;
6316       esac
6317     else
6318       case `/usr/bin/file conftest.$ac_objext` in
6319         *32-bit*)
6320           LD="${LD-ld} -32"
6321           ;;
6322         *N32*)
6323           LD="${LD-ld} -n32"
6324           ;;
6325         *64-bit*)
6326           LD="${LD-ld} -64"
6327           ;;
6328       esac
6329     fi
6330   fi
6331   rm -rf conftest*
6332   ;;
6333
6334 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6335 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6336   # Find out which ABI we are using.
6337   echo 'int i;' > conftest.$ac_ext
6338   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6339   (eval $ac_compile) 2>&5
6340   ac_status=$?
6341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6342   test $ac_status = 0; }; then
6343     case `/usr/bin/file conftest.o` in
6344       *32-bit*)
6345         case $host in
6346           x86_64-*kfreebsd*-gnu)
6347             LD="${LD-ld} -m elf_i386_fbsd"
6348             ;;
6349           x86_64-*linux*)
6350             LD="${LD-ld} -m elf_i386"
6351             ;;
6352           ppc64-*linux*|powerpc64-*linux*)
6353             LD="${LD-ld} -m elf32ppclinux"
6354             ;;
6355           s390x-*linux*)
6356             LD="${LD-ld} -m elf_s390"
6357             ;;
6358           sparc64-*linux*)
6359             LD="${LD-ld} -m elf32_sparc"
6360             ;;
6361         esac
6362         ;;
6363       *64-bit*)
6364         case $host in
6365           x86_64-*kfreebsd*-gnu)
6366             LD="${LD-ld} -m elf_x86_64_fbsd"
6367             ;;
6368           x86_64-*linux*)
6369             LD="${LD-ld} -m elf_x86_64"
6370             ;;
6371           ppc*-*linux*|powerpc*-*linux*)
6372             LD="${LD-ld} -m elf64ppc"
6373             ;;
6374           s390*-*linux*|s390*-*tpf*)
6375             LD="${LD-ld} -m elf64_s390"
6376             ;;
6377           sparc*-*linux*)
6378             LD="${LD-ld} -m elf64_sparc"
6379             ;;
6380         esac
6381         ;;
6382     esac
6383   fi
6384   rm -rf conftest*
6385   ;;
6386
6387 *-*-sco3.2v5*)
6388   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6389   SAVE_CFLAGS="$CFLAGS"
6390   CFLAGS="$CFLAGS -belf"
6391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6392 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6393 if ${lt_cv_cc_needs_belf+:} false; then :
6394   $as_echo_n "(cached) " >&6
6395 else
6396   ac_ext=c
6397 ac_cpp='$CPP $CPPFLAGS'
6398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6401
6402      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h.  */
6404
6405 int
6406 main ()
6407 {
6408
6409   ;
6410   return 0;
6411 }
6412 _ACEOF
6413 if ac_fn_c_try_link "$LINENO"; then :
6414   lt_cv_cc_needs_belf=yes
6415 else
6416   lt_cv_cc_needs_belf=no
6417 fi
6418 rm -f core conftest.err conftest.$ac_objext \
6419     conftest$ac_exeext conftest.$ac_ext
6420      ac_ext=c
6421 ac_cpp='$CPP $CPPFLAGS'
6422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6425
6426 fi
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6428 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6429   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6430     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6431     CFLAGS="$SAVE_CFLAGS"
6432   fi
6433   ;;
6434 *-*solaris*)
6435   # Find out which ABI we are using.
6436   echo 'int i;' > conftest.$ac_ext
6437   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6438   (eval $ac_compile) 2>&5
6439   ac_status=$?
6440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6441   test $ac_status = 0; }; then
6442     case `/usr/bin/file conftest.o` in
6443     *64-bit*)
6444       case $lt_cv_prog_gnu_ld in
6445       yes*)
6446         case $host in
6447         i?86-*-solaris*)
6448           LD="${LD-ld} -m elf_x86_64"
6449           ;;
6450         sparc*-*-solaris*)
6451           LD="${LD-ld} -m elf64_sparc"
6452           ;;
6453         esac
6454         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6455         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6456           LD="${LD-ld}_sol2"
6457         fi
6458         ;;
6459       *)
6460         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6461           LD="${LD-ld} -64"
6462         fi
6463         ;;
6464       esac
6465       ;;
6466     esac
6467   fi
6468   rm -rf conftest*
6469   ;;
6470 esac
6471
6472 need_locks="$enable_libtool_lock"
6473
6474 if test -n "$ac_tool_prefix"; then
6475   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6476 set dummy ${ac_tool_prefix}mt; ac_word=$2
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 $as_echo_n "checking for $ac_word... " >&6; }
6479 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6480   $as_echo_n "(cached) " >&6
6481 else
6482   if test -n "$MANIFEST_TOOL"; then
6483   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6484 else
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 for as_dir in $PATH
6487 do
6488   IFS=$as_save_IFS
6489   test -z "$as_dir" && as_dir=.
6490     for ac_exec_ext in '' $ac_executable_extensions; do
6491   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6492     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494     break 2
6495   fi
6496 done
6497   done
6498 IFS=$as_save_IFS
6499
6500 fi
6501 fi
6502 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6503 if test -n "$MANIFEST_TOOL"; then
6504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6505 $as_echo "$MANIFEST_TOOL" >&6; }
6506 else
6507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508 $as_echo "no" >&6; }
6509 fi
6510
6511
6512 fi
6513 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6514   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6515   # Extract the first word of "mt", so it can be a program name with args.
6516 set dummy mt; ac_word=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518 $as_echo_n "checking for $ac_word... " >&6; }
6519 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6520   $as_echo_n "(cached) " >&6
6521 else
6522   if test -n "$ac_ct_MANIFEST_TOOL"; then
6523   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6524 else
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 for as_dir in $PATH
6527 do
6528   IFS=$as_save_IFS
6529   test -z "$as_dir" && as_dir=.
6530     for ac_exec_ext in '' $ac_executable_extensions; do
6531   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6532     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534     break 2
6535   fi
6536 done
6537   done
6538 IFS=$as_save_IFS
6539
6540 fi
6541 fi
6542 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6543 if test -n "$ac_ct_MANIFEST_TOOL"; then
6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6545 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6546 else
6547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 $as_echo "no" >&6; }
6549 fi
6550
6551   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6552     MANIFEST_TOOL=":"
6553   else
6554     case $cross_compiling:$ac_tool_warned in
6555 yes:)
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6558 ac_tool_warned=yes ;;
6559 esac
6560     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6561   fi
6562 else
6563   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6564 fi
6565
6566 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6568 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6569 if ${lt_cv_path_mainfest_tool+:} false; then :
6570   $as_echo_n "(cached) " >&6
6571 else
6572   lt_cv_path_mainfest_tool=no
6573   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6574   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6575   cat conftest.err >&5
6576   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6577     lt_cv_path_mainfest_tool=yes
6578   fi
6579   rm -f conftest*
6580 fi
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6582 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6583 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6584   MANIFEST_TOOL=:
6585 fi
6586
6587
6588
6589
6590
6591
6592   case $host_os in
6593     rhapsody* | darwin*)
6594     if test -n "$ac_tool_prefix"; then
6595   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6596 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598 $as_echo_n "checking for $ac_word... " >&6; }
6599 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6600   $as_echo_n "(cached) " >&6
6601 else
6602   if test -n "$DSYMUTIL"; then
6603   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6604 else
6605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6606 for as_dir in $PATH
6607 do
6608   IFS=$as_save_IFS
6609   test -z "$as_dir" && as_dir=.
6610     for ac_exec_ext in '' $ac_executable_extensions; do
6611   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6612     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6614     break 2
6615   fi
6616 done
6617   done
6618 IFS=$as_save_IFS
6619
6620 fi
6621 fi
6622 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6623 if test -n "$DSYMUTIL"; then
6624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6625 $as_echo "$DSYMUTIL" >&6; }
6626 else
6627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6629 fi
6630
6631
6632 fi
6633 if test -z "$ac_cv_prog_DSYMUTIL"; then
6634   ac_ct_DSYMUTIL=$DSYMUTIL
6635   # Extract the first word of "dsymutil", so it can be a program name with args.
6636 set dummy dsymutil; 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_ac_ct_DSYMUTIL+:} false; then :
6640   $as_echo_n "(cached) " >&6
6641 else
6642   if test -n "$ac_ct_DSYMUTIL"; then
6643   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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_ac_ct_DSYMUTIL="dsymutil"
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 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6663 if test -n "$ac_ct_DSYMUTIL"; then
6664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6665 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6666 else
6667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6669 fi
6670
6671   if test "x$ac_ct_DSYMUTIL" = x; then
6672     DSYMUTIL=":"
6673   else
6674     case $cross_compiling:$ac_tool_warned in
6675 yes:)
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6678 ac_tool_warned=yes ;;
6679 esac
6680     DSYMUTIL=$ac_ct_DSYMUTIL
6681   fi
6682 else
6683   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6684 fi
6685
6686     if test -n "$ac_tool_prefix"; then
6687   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6688 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if ${ac_cv_prog_NMEDIT+:} false; then :
6692   $as_echo_n "(cached) " >&6
6693 else
6694   if test -n "$NMEDIT"; then
6695   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6696 else
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 for as_dir in $PATH
6699 do
6700   IFS=$as_save_IFS
6701   test -z "$as_dir" && as_dir=.
6702     for ac_exec_ext in '' $ac_executable_extensions; do
6703   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6704     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706     break 2
6707   fi
6708 done
6709   done
6710 IFS=$as_save_IFS
6711
6712 fi
6713 fi
6714 NMEDIT=$ac_cv_prog_NMEDIT
6715 if test -n "$NMEDIT"; then
6716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6717 $as_echo "$NMEDIT" >&6; }
6718 else
6719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6721 fi
6722
6723
6724 fi
6725 if test -z "$ac_cv_prog_NMEDIT"; then
6726   ac_ct_NMEDIT=$NMEDIT
6727   # Extract the first word of "nmedit", so it can be a program name with args.
6728 set dummy nmedit; 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_ac_ct_NMEDIT+:} false; then :
6732   $as_echo_n "(cached) " >&6
6733 else
6734   if test -n "$ac_ct_NMEDIT"; then
6735   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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_ac_ct_NMEDIT="nmedit"
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 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6755 if test -n "$ac_ct_NMEDIT"; then
6756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6757 $as_echo "$ac_ct_NMEDIT" >&6; }
6758 else
6759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6761 fi
6762
6763   if test "x$ac_ct_NMEDIT" = x; then
6764     NMEDIT=":"
6765   else
6766     case $cross_compiling:$ac_tool_warned in
6767 yes:)
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6770 ac_tool_warned=yes ;;
6771 esac
6772     NMEDIT=$ac_ct_NMEDIT
6773   fi
6774 else
6775   NMEDIT="$ac_cv_prog_NMEDIT"
6776 fi
6777
6778     if test -n "$ac_tool_prefix"; then
6779   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6780 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if ${ac_cv_prog_LIPO+:} false; then :
6784   $as_echo_n "(cached) " >&6
6785 else
6786   if test -n "$LIPO"; then
6787   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6788 else
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 for as_dir in $PATH
6791 do
6792   IFS=$as_save_IFS
6793   test -z "$as_dir" && as_dir=.
6794     for ac_exec_ext in '' $ac_executable_extensions; do
6795   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6796     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798     break 2
6799   fi
6800 done
6801   done
6802 IFS=$as_save_IFS
6803
6804 fi
6805 fi
6806 LIPO=$ac_cv_prog_LIPO
6807 if test -n "$LIPO"; then
6808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6809 $as_echo "$LIPO" >&6; }
6810 else
6811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6813 fi
6814
6815
6816 fi
6817 if test -z "$ac_cv_prog_LIPO"; then
6818   ac_ct_LIPO=$LIPO
6819   # Extract the first word of "lipo", so it can be a program name with args.
6820 set dummy lipo; 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_ac_ct_LIPO+:} false; then :
6824   $as_echo_n "(cached) " >&6
6825 else
6826   if test -n "$ac_ct_LIPO"; then
6827   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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_ac_ct_LIPO="lipo"
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 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6847 if test -n "$ac_ct_LIPO"; then
6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6849 $as_echo "$ac_ct_LIPO" >&6; }
6850 else
6851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6853 fi
6854
6855   if test "x$ac_ct_LIPO" = x; then
6856     LIPO=":"
6857   else
6858     case $cross_compiling:$ac_tool_warned in
6859 yes:)
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6862 ac_tool_warned=yes ;;
6863 esac
6864     LIPO=$ac_ct_LIPO
6865   fi
6866 else
6867   LIPO="$ac_cv_prog_LIPO"
6868 fi
6869
6870     if test -n "$ac_tool_prefix"; then
6871   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6872 set dummy ${ac_tool_prefix}otool; ac_word=$2
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874 $as_echo_n "checking for $ac_word... " >&6; }
6875 if ${ac_cv_prog_OTOOL+:} false; then :
6876   $as_echo_n "(cached) " >&6
6877 else
6878   if test -n "$OTOOL"; then
6879   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6880 else
6881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6882 for as_dir in $PATH
6883 do
6884   IFS=$as_save_IFS
6885   test -z "$as_dir" && as_dir=.
6886     for ac_exec_ext in '' $ac_executable_extensions; do
6887   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6888     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6889     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6890     break 2
6891   fi
6892 done
6893   done
6894 IFS=$as_save_IFS
6895
6896 fi
6897 fi
6898 OTOOL=$ac_cv_prog_OTOOL
6899 if test -n "$OTOOL"; then
6900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6901 $as_echo "$OTOOL" >&6; }
6902 else
6903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904 $as_echo "no" >&6; }
6905 fi
6906
6907
6908 fi
6909 if test -z "$ac_cv_prog_OTOOL"; then
6910   ac_ct_OTOOL=$OTOOL
6911   # Extract the first word of "otool", so it can be a program name with args.
6912 set dummy otool; ac_word=$2
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914 $as_echo_n "checking for $ac_word... " >&6; }
6915 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6916   $as_echo_n "(cached) " >&6
6917 else
6918   if test -n "$ac_ct_OTOOL"; then
6919   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6920 else
6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 for as_dir in $PATH
6923 do
6924   IFS=$as_save_IFS
6925   test -z "$as_dir" && as_dir=.
6926     for ac_exec_ext in '' $ac_executable_extensions; do
6927   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6928     ac_cv_prog_ac_ct_OTOOL="otool"
6929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6930     break 2
6931   fi
6932 done
6933   done
6934 IFS=$as_save_IFS
6935
6936 fi
6937 fi
6938 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6939 if test -n "$ac_ct_OTOOL"; then
6940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6941 $as_echo "$ac_ct_OTOOL" >&6; }
6942 else
6943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
6945 fi
6946
6947   if test "x$ac_ct_OTOOL" = x; then
6948     OTOOL=":"
6949   else
6950     case $cross_compiling:$ac_tool_warned in
6951 yes:)
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6954 ac_tool_warned=yes ;;
6955 esac
6956     OTOOL=$ac_ct_OTOOL
6957   fi
6958 else
6959   OTOOL="$ac_cv_prog_OTOOL"
6960 fi
6961
6962     if test -n "$ac_tool_prefix"; then
6963   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6964 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966 $as_echo_n "checking for $ac_word... " >&6; }
6967 if ${ac_cv_prog_OTOOL64+:} false; then :
6968   $as_echo_n "(cached) " >&6
6969 else
6970   if test -n "$OTOOL64"; then
6971   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6972 else
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 for as_dir in $PATH
6975 do
6976   IFS=$as_save_IFS
6977   test -z "$as_dir" && as_dir=.
6978     for ac_exec_ext in '' $ac_executable_extensions; do
6979   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6980     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982     break 2
6983   fi
6984 done
6985   done
6986 IFS=$as_save_IFS
6987
6988 fi
6989 fi
6990 OTOOL64=$ac_cv_prog_OTOOL64
6991 if test -n "$OTOOL64"; then
6992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6993 $as_echo "$OTOOL64" >&6; }
6994 else
6995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
6997 fi
6998
6999
7000 fi
7001 if test -z "$ac_cv_prog_OTOOL64"; then
7002   ac_ct_OTOOL64=$OTOOL64
7003   # Extract the first word of "otool64", so it can be a program name with args.
7004 set dummy otool64; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7008   $as_echo_n "(cached) " >&6
7009 else
7010   if test -n "$ac_ct_OTOOL64"; then
7011   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7012 else
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 for as_dir in $PATH
7015 do
7016   IFS=$as_save_IFS
7017   test -z "$as_dir" && as_dir=.
7018     for ac_exec_ext in '' $ac_executable_extensions; do
7019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7020     ac_cv_prog_ac_ct_OTOOL64="otool64"
7021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022     break 2
7023   fi
7024 done
7025   done
7026 IFS=$as_save_IFS
7027
7028 fi
7029 fi
7030 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7031 if test -n "$ac_ct_OTOOL64"; then
7032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7033 $as_echo "$ac_ct_OTOOL64" >&6; }
7034 else
7035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7037 fi
7038
7039   if test "x$ac_ct_OTOOL64" = x; then
7040     OTOOL64=":"
7041   else
7042     case $cross_compiling:$ac_tool_warned in
7043 yes:)
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7046 ac_tool_warned=yes ;;
7047 esac
7048     OTOOL64=$ac_ct_OTOOL64
7049   fi
7050 else
7051   OTOOL64="$ac_cv_prog_OTOOL64"
7052 fi
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7081 $as_echo_n "checking for -single_module linker flag... " >&6; }
7082 if ${lt_cv_apple_cc_single_mod+:} false; then :
7083   $as_echo_n "(cached) " >&6
7084 else
7085   lt_cv_apple_cc_single_mod=no
7086       if test -z "${LT_MULTI_MODULE}"; then
7087         # By default we will add the -single_module flag. You can override
7088         # by either setting the environment variable LT_MULTI_MODULE
7089         # non-empty at configure time, or by adding -multi_module to the
7090         # link flags.
7091         rm -rf libconftest.dylib*
7092         echo "int foo(void){return 1;}" > conftest.c
7093         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7094 -dynamiclib -Wl,-single_module conftest.c" >&5
7095         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7096           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7097         _lt_result=$?
7098         # If there is a non-empty error log, and "single_module"
7099         # appears in it, assume the flag caused a linker warning
7100         if test -s conftest.err && $GREP single_module conftest.err; then
7101           cat conftest.err >&5
7102         # Otherwise, if the output was created with a 0 exit code from
7103         # the compiler, it worked.
7104         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7105           lt_cv_apple_cc_single_mod=yes
7106         else
7107           cat conftest.err >&5
7108         fi
7109         rm -rf libconftest.dylib*
7110         rm -f conftest.*
7111       fi
7112 fi
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7114 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7115
7116     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7117 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7118 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7119   $as_echo_n "(cached) " >&6
7120 else
7121   lt_cv_ld_exported_symbols_list=no
7122       save_LDFLAGS=$LDFLAGS
7123       echo "_main" > conftest.sym
7124       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7126 /* end confdefs.h.  */
7127
7128 int
7129 main ()
7130 {
7131
7132   ;
7133   return 0;
7134 }
7135 _ACEOF
7136 if ac_fn_c_try_link "$LINENO"; then :
7137   lt_cv_ld_exported_symbols_list=yes
7138 else
7139   lt_cv_ld_exported_symbols_list=no
7140 fi
7141 rm -f core conftest.err conftest.$ac_objext \
7142     conftest$ac_exeext conftest.$ac_ext
7143         LDFLAGS="$save_LDFLAGS"
7144
7145 fi
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7147 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7148
7149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7150 $as_echo_n "checking for -force_load linker flag... " >&6; }
7151 if ${lt_cv_ld_force_load+:} false; then :
7152   $as_echo_n "(cached) " >&6
7153 else
7154   lt_cv_ld_force_load=no
7155       cat > conftest.c << _LT_EOF
7156 int forced_loaded() { return 2;}
7157 _LT_EOF
7158       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7159       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7160       echo "$AR cru libconftest.a conftest.o" >&5
7161       $AR cru libconftest.a conftest.o 2>&5
7162       echo "$RANLIB libconftest.a" >&5
7163       $RANLIB libconftest.a 2>&5
7164       cat > conftest.c << _LT_EOF
7165 int main() { return 0;}
7166 _LT_EOF
7167       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7168       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7169       _lt_result=$?
7170       if test -s conftest.err && $GREP force_load conftest.err; then
7171         cat conftest.err >&5
7172       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7173         lt_cv_ld_force_load=yes
7174       else
7175         cat conftest.err >&5
7176       fi
7177         rm -f conftest.err libconftest.a conftest conftest.c
7178         rm -rf conftest.dSYM
7179
7180 fi
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7182 $as_echo "$lt_cv_ld_force_load" >&6; }
7183     case $host_os in
7184     rhapsody* | darwin1.[012])
7185       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7186     darwin1.*)
7187       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7188     darwin*) # darwin 5.x on
7189       # if running on 10.5 or later, the deployment target defaults
7190       # to the OS version, if on x86, and 10.4, the deployment
7191       # target defaults to 10.4. Don't you love it?
7192       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7193         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7194           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7195         10.[012]*)
7196           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7197         10.*)
7198           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7199       esac
7200     ;;
7201   esac
7202     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7203       _lt_dar_single_mod='$single_module'
7204     fi
7205     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7206       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7207     else
7208       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7209     fi
7210     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7211       _lt_dsymutil='~$DSYMUTIL $lib || :'
7212     else
7213       _lt_dsymutil=
7214     fi
7215     ;;
7216   esac
7217
7218 ac_ext=c
7219 ac_cpp='$CPP $CPPFLAGS'
7220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7224 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7225 # On Suns, sometimes $CPP names a directory.
7226 if test -n "$CPP" && test -d "$CPP"; then
7227   CPP=
7228 fi
7229 if test -z "$CPP"; then
7230   if ${ac_cv_prog_CPP+:} false; then :
7231   $as_echo_n "(cached) " >&6
7232 else
7233       # Double quotes because CPP needs to be expanded
7234     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7235     do
7236       ac_preproc_ok=false
7237 for ac_c_preproc_warn_flag in '' yes
7238 do
7239   # Use a header file that comes with gcc, so configuring glibc
7240   # with a fresh cross-compiler works.
7241   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7242   # <limits.h> exists even on freestanding compilers.
7243   # On the NeXT, cc -E runs the code through the compiler's parser,
7244   # not just through cpp. "Syntax error" is here to catch this case.
7245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h.  */
7247 #ifdef __STDC__
7248 # include <limits.h>
7249 #else
7250 # include <assert.h>
7251 #endif
7252                      Syntax error
7253 _ACEOF
7254 if ac_fn_c_try_cpp "$LINENO"; then :
7255
7256 else
7257   # Broken: fails on valid input.
7258 continue
7259 fi
7260 rm -f conftest.err conftest.i conftest.$ac_ext
7261
7262   # OK, works on sane cases.  Now check whether nonexistent headers
7263   # can be detected and how.
7264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h.  */
7266 #include <ac_nonexistent.h>
7267 _ACEOF
7268 if ac_fn_c_try_cpp "$LINENO"; then :
7269   # Broken: success on invalid input.
7270 continue
7271 else
7272   # Passes both tests.
7273 ac_preproc_ok=:
7274 break
7275 fi
7276 rm -f conftest.err conftest.i conftest.$ac_ext
7277
7278 done
7279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7280 rm -f conftest.i conftest.err conftest.$ac_ext
7281 if $ac_preproc_ok; then :
7282   break
7283 fi
7284
7285     done
7286     ac_cv_prog_CPP=$CPP
7287
7288 fi
7289   CPP=$ac_cv_prog_CPP
7290 else
7291   ac_cv_prog_CPP=$CPP
7292 fi
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7294 $as_echo "$CPP" >&6; }
7295 ac_preproc_ok=false
7296 for ac_c_preproc_warn_flag in '' yes
7297 do
7298   # Use a header file that comes with gcc, so configuring glibc
7299   # with a fresh cross-compiler works.
7300   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7301   # <limits.h> exists even on freestanding compilers.
7302   # On the NeXT, cc -E runs the code through the compiler's parser,
7303   # not just through cpp. "Syntax error" is here to catch this case.
7304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305 /* end confdefs.h.  */
7306 #ifdef __STDC__
7307 # include <limits.h>
7308 #else
7309 # include <assert.h>
7310 #endif
7311                      Syntax error
7312 _ACEOF
7313 if ac_fn_c_try_cpp "$LINENO"; then :
7314
7315 else
7316   # Broken: fails on valid input.
7317 continue
7318 fi
7319 rm -f conftest.err conftest.i conftest.$ac_ext
7320
7321   # OK, works on sane cases.  Now check whether nonexistent headers
7322   # can be detected and how.
7323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324 /* end confdefs.h.  */
7325 #include <ac_nonexistent.h>
7326 _ACEOF
7327 if ac_fn_c_try_cpp "$LINENO"; then :
7328   # Broken: success on invalid input.
7329 continue
7330 else
7331   # Passes both tests.
7332 ac_preproc_ok=:
7333 break
7334 fi
7335 rm -f conftest.err conftest.i conftest.$ac_ext
7336
7337 done
7338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7339 rm -f conftest.i conftest.err conftest.$ac_ext
7340 if $ac_preproc_ok; then :
7341
7342 else
7343   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7345 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7346 See \`config.log' for more details" "$LINENO" 5; }
7347 fi
7348
7349 ac_ext=c
7350 ac_cpp='$CPP $CPPFLAGS'
7351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7354
7355
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7357 $as_echo_n "checking for ANSI C header files... " >&6; }
7358 if ${ac_cv_header_stdc+:} false; then :
7359   $as_echo_n "(cached) " >&6
7360 else
7361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7362 /* end confdefs.h.  */
7363 #include <stdlib.h>
7364 #include <stdarg.h>
7365 #include <string.h>
7366 #include <float.h>
7367
7368 int
7369 main ()
7370 {
7371
7372   ;
7373   return 0;
7374 }
7375 _ACEOF
7376 if ac_fn_c_try_compile "$LINENO"; then :
7377   ac_cv_header_stdc=yes
7378 else
7379   ac_cv_header_stdc=no
7380 fi
7381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7382
7383 if test $ac_cv_header_stdc = yes; then
7384   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7386 /* end confdefs.h.  */
7387 #include <string.h>
7388
7389 _ACEOF
7390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7391   $EGREP "memchr" >/dev/null 2>&1; then :
7392
7393 else
7394   ac_cv_header_stdc=no
7395 fi
7396 rm -f conftest*
7397
7398 fi
7399
7400 if test $ac_cv_header_stdc = yes; then
7401   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7403 /* end confdefs.h.  */
7404 #include <stdlib.h>
7405
7406 _ACEOF
7407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7408   $EGREP "free" >/dev/null 2>&1; then :
7409
7410 else
7411   ac_cv_header_stdc=no
7412 fi
7413 rm -f conftest*
7414
7415 fi
7416
7417 if test $ac_cv_header_stdc = yes; then
7418   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7419   if test "$cross_compiling" = yes; then :
7420   :
7421 else
7422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h.  */
7424 #include <ctype.h>
7425 #include <stdlib.h>
7426 #if ((' ' & 0x0FF) == 0x020)
7427 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7428 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7429 #else
7430 # define ISLOWER(c) \
7431                    (('a' <= (c) && (c) <= 'i') \
7432                      || ('j' <= (c) && (c) <= 'r') \
7433                      || ('s' <= (c) && (c) <= 'z'))
7434 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7435 #endif
7436
7437 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7438 int
7439 main ()
7440 {
7441   int i;
7442   for (i = 0; i < 256; i++)
7443     if (XOR (islower (i), ISLOWER (i))
7444         || toupper (i) != TOUPPER (i))
7445       return 2;
7446   return 0;
7447 }
7448 _ACEOF
7449 if ac_fn_c_try_run "$LINENO"; then :
7450
7451 else
7452   ac_cv_header_stdc=no
7453 fi
7454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7455   conftest.$ac_objext conftest.beam conftest.$ac_ext
7456 fi
7457
7458 fi
7459 fi
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7461 $as_echo "$ac_cv_header_stdc" >&6; }
7462 if test $ac_cv_header_stdc = yes; then
7463
7464 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7465
7466 fi
7467
7468 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7469 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7470                   inttypes.h stdint.h unistd.h
7471 do :
7472   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7473 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7474 "
7475 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7476   cat >>confdefs.h <<_ACEOF
7477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7478 _ACEOF
7479
7480 fi
7481
7482 done
7483
7484
7485 for ac_header in dlfcn.h
7486 do :
7487   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7488 "
7489 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7490   cat >>confdefs.h <<_ACEOF
7491 #define HAVE_DLFCN_H 1
7492 _ACEOF
7493
7494 fi
7495
7496 done
7497
7498
7499
7500
7501
7502 # Set options
7503 # Check whether --enable-static was given.
7504 if test "${enable_static+set}" = set; then :
7505   enableval=$enable_static; p=${PACKAGE-default}
7506     case $enableval in
7507     yes) enable_static=yes ;;
7508     no) enable_static=no ;;
7509     *)
7510      enable_static=no
7511       # Look at the argument we got.  We use all the common list separators.
7512       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7513       for pkg in $enableval; do
7514         IFS="$lt_save_ifs"
7515         if test "X$pkg" = "X$p"; then
7516           enable_static=yes
7517         fi
7518       done
7519       IFS="$lt_save_ifs"
7520       ;;
7521     esac
7522 else
7523   enable_static=no
7524 fi
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535         enable_dlopen=no
7536
7537
7538   enable_win32_dll=no
7539
7540
7541             # Check whether --enable-shared was given.
7542 if test "${enable_shared+set}" = set; then :
7543   enableval=$enable_shared; p=${PACKAGE-default}
7544     case $enableval in
7545     yes) enable_shared=yes ;;
7546     no) enable_shared=no ;;
7547     *)
7548       enable_shared=no
7549       # Look at the argument we got.  We use all the common list separators.
7550       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7551       for pkg in $enableval; do
7552         IFS="$lt_save_ifs"
7553         if test "X$pkg" = "X$p"; then
7554           enable_shared=yes
7555         fi
7556       done
7557       IFS="$lt_save_ifs"
7558       ;;
7559     esac
7560 else
7561   enable_shared=yes
7562 fi
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574 # Check whether --with-pic was given.
7575 if test "${with_pic+set}" = set; then :
7576   withval=$with_pic; lt_p=${PACKAGE-default}
7577     case $withval in
7578     yes|no) pic_mode=$withval ;;
7579     *)
7580       pic_mode=default
7581       # Look at the argument we got.  We use all the common list separators.
7582       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7583       for lt_pkg in $withval; do
7584         IFS="$lt_save_ifs"
7585         if test "X$lt_pkg" = "X$lt_p"; then
7586           pic_mode=yes
7587         fi
7588       done
7589       IFS="$lt_save_ifs"
7590       ;;
7591     esac
7592 else
7593   pic_mode=default
7594 fi
7595
7596
7597 test -z "$pic_mode" && pic_mode=default
7598
7599
7600
7601
7602
7603
7604
7605   # Check whether --enable-fast-install was given.
7606 if test "${enable_fast_install+set}" = set; then :
7607   enableval=$enable_fast_install; p=${PACKAGE-default}
7608     case $enableval in
7609     yes) enable_fast_install=yes ;;
7610     no) enable_fast_install=no ;;
7611     *)
7612       enable_fast_install=no
7613       # Look at the argument we got.  We use all the common list separators.
7614       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7615       for pkg in $enableval; do
7616         IFS="$lt_save_ifs"
7617         if test "X$pkg" = "X$p"; then
7618           enable_fast_install=yes
7619         fi
7620       done
7621       IFS="$lt_save_ifs"
7622       ;;
7623     esac
7624 else
7625   enable_fast_install=yes
7626 fi
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638 # This can be used to rebuild libtool when needed
7639 LIBTOOL_DEPS="$ltmain"
7640
7641 # Always use our own libtool.
7642 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673 test -z "$LN_S" && LN_S="ln -s"
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688 if test -n "${ZSH_VERSION+set}" ; then
7689    setopt NO_GLOB_SUBST
7690 fi
7691
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7693 $as_echo_n "checking for objdir... " >&6; }
7694 if ${lt_cv_objdir+:} false; then :
7695   $as_echo_n "(cached) " >&6
7696 else
7697   rm -f .libs 2>/dev/null
7698 mkdir .libs 2>/dev/null
7699 if test -d .libs; then
7700   lt_cv_objdir=.libs
7701 else
7702   # MS-DOS does not allow filenames that begin with a dot.
7703   lt_cv_objdir=_libs
7704 fi
7705 rmdir .libs 2>/dev/null
7706 fi
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7708 $as_echo "$lt_cv_objdir" >&6; }
7709 objdir=$lt_cv_objdir
7710
7711
7712
7713
7714
7715 cat >>confdefs.h <<_ACEOF
7716 #define LT_OBJDIR "$lt_cv_objdir/"
7717 _ACEOF
7718
7719
7720
7721
7722 case $host_os in
7723 aix3*)
7724   # AIX sometimes has problems with the GCC collect2 program.  For some
7725   # reason, if we set the COLLECT_NAMES environment variable, the problems
7726   # vanish in a puff of smoke.
7727   if test "X${COLLECT_NAMES+set}" != Xset; then
7728     COLLECT_NAMES=
7729     export COLLECT_NAMES
7730   fi
7731   ;;
7732 esac
7733
7734 # Global variables:
7735 ofile=libtool
7736 can_build_shared=yes
7737
7738 # All known linkers require a `.a' archive for static linking (except MSVC,
7739 # which needs '.lib').
7740 libext=a
7741
7742 with_gnu_ld="$lt_cv_prog_gnu_ld"
7743
7744 old_CC="$CC"
7745 old_CFLAGS="$CFLAGS"
7746
7747 # Set sane defaults for various variables
7748 test -z "$CC" && CC=cc
7749 test -z "$LTCC" && LTCC=$CC
7750 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7751 test -z "$LD" && LD=ld
7752 test -z "$ac_objext" && ac_objext=o
7753
7754 for cc_temp in $compiler""; do
7755   case $cc_temp in
7756     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7757     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7758     \-*) ;;
7759     *) break;;
7760   esac
7761 done
7762 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7763
7764
7765 # Only perform the check for file, if the check method requires it
7766 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7767 case $deplibs_check_method in
7768 file_magic*)
7769   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7771 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7772 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7773   $as_echo_n "(cached) " >&6
7774 else
7775   case $MAGIC_CMD in
7776 [\\/*] |  ?:[\\/]*)
7777   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7778   ;;
7779 *)
7780   lt_save_MAGIC_CMD="$MAGIC_CMD"
7781   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7782   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7783   for ac_dir in $ac_dummy; do
7784     IFS="$lt_save_ifs"
7785     test -z "$ac_dir" && ac_dir=.
7786     if test -f $ac_dir/${ac_tool_prefix}file; then
7787       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7788       if test -n "$file_magic_test_file"; then
7789         case $deplibs_check_method in
7790         "file_magic "*)
7791           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7792           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7793           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7794             $EGREP "$file_magic_regex" > /dev/null; then
7795             :
7796           else
7797             cat <<_LT_EOF 1>&2
7798
7799 *** Warning: the command libtool uses to detect shared libraries,
7800 *** $file_magic_cmd, produces output that libtool cannot recognize.
7801 *** The result is that libtool may fail to recognize shared libraries
7802 *** as such.  This will affect the creation of libtool libraries that
7803 *** depend on shared libraries, but programs linked with such libtool
7804 *** libraries will work regardless of this problem.  Nevertheless, you
7805 *** may want to report the problem to your system manager and/or to
7806 *** bug-libtool@gnu.org
7807
7808 _LT_EOF
7809           fi ;;
7810         esac
7811       fi
7812       break
7813     fi
7814   done
7815   IFS="$lt_save_ifs"
7816   MAGIC_CMD="$lt_save_MAGIC_CMD"
7817   ;;
7818 esac
7819 fi
7820
7821 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7822 if test -n "$MAGIC_CMD"; then
7823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7824 $as_echo "$MAGIC_CMD" >&6; }
7825 else
7826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7827 $as_echo "no" >&6; }
7828 fi
7829
7830
7831
7832
7833
7834 if test -z "$lt_cv_path_MAGIC_CMD"; then
7835   if test -n "$ac_tool_prefix"; then
7836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7837 $as_echo_n "checking for file... " >&6; }
7838 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7839   $as_echo_n "(cached) " >&6
7840 else
7841   case $MAGIC_CMD in
7842 [\\/*] |  ?:[\\/]*)
7843   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7844   ;;
7845 *)
7846   lt_save_MAGIC_CMD="$MAGIC_CMD"
7847   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7848   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7849   for ac_dir in $ac_dummy; do
7850     IFS="$lt_save_ifs"
7851     test -z "$ac_dir" && ac_dir=.
7852     if test -f $ac_dir/file; then
7853       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7854       if test -n "$file_magic_test_file"; then
7855         case $deplibs_check_method in
7856         "file_magic "*)
7857           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7858           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7859           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7860             $EGREP "$file_magic_regex" > /dev/null; then
7861             :
7862           else
7863             cat <<_LT_EOF 1>&2
7864
7865 *** Warning: the command libtool uses to detect shared libraries,
7866 *** $file_magic_cmd, produces output that libtool cannot recognize.
7867 *** The result is that libtool may fail to recognize shared libraries
7868 *** as such.  This will affect the creation of libtool libraries that
7869 *** depend on shared libraries, but programs linked with such libtool
7870 *** libraries will work regardless of this problem.  Nevertheless, you
7871 *** may want to report the problem to your system manager and/or to
7872 *** bug-libtool@gnu.org
7873
7874 _LT_EOF
7875           fi ;;
7876         esac
7877       fi
7878       break
7879     fi
7880   done
7881   IFS="$lt_save_ifs"
7882   MAGIC_CMD="$lt_save_MAGIC_CMD"
7883   ;;
7884 esac
7885 fi
7886
7887 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7888 if test -n "$MAGIC_CMD"; then
7889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7890 $as_echo "$MAGIC_CMD" >&6; }
7891 else
7892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893 $as_echo "no" >&6; }
7894 fi
7895
7896
7897   else
7898     MAGIC_CMD=:
7899   fi
7900 fi
7901
7902   fi
7903   ;;
7904 esac
7905
7906 # Use C for the default configuration in the libtool script
7907
7908 lt_save_CC="$CC"
7909 ac_ext=c
7910 ac_cpp='$CPP $CPPFLAGS'
7911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7914
7915
7916 # Source file extension for C test sources.
7917 ac_ext=c
7918
7919 # Object file extension for compiled C test sources.
7920 objext=o
7921 objext=$objext
7922
7923 # Code to be used in simple compile tests
7924 lt_simple_compile_test_code="int some_variable = 0;"
7925
7926 # Code to be used in simple link tests
7927 lt_simple_link_test_code='int main(){return(0);}'
7928
7929
7930
7931
7932
7933
7934
7935 # If no C compiler was specified, use CC.
7936 LTCC=${LTCC-"$CC"}
7937
7938 # If no C compiler flags were specified, use CFLAGS.
7939 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7940
7941 # Allow CC to be a program name with arguments.
7942 compiler=$CC
7943
7944 # Save the default compiler, since it gets overwritten when the other
7945 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7946 compiler_DEFAULT=$CC
7947
7948 # save warnings/boilerplate of simple test code
7949 ac_outfile=conftest.$ac_objext
7950 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7951 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7952 _lt_compiler_boilerplate=`cat conftest.err`
7953 $RM conftest*
7954
7955 ac_outfile=conftest.$ac_objext
7956 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7957 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7958 _lt_linker_boilerplate=`cat conftest.err`
7959 $RM -r conftest*
7960
7961
7962 ## CAVEAT EMPTOR:
7963 ## There is no encapsulation within the following macros, do not change
7964 ## the running order or otherwise move them around unless you know exactly
7965 ## what you are doing...
7966 if test -n "$compiler"; then
7967
7968 lt_prog_compiler_no_builtin_flag=
7969
7970 if test "$GCC" = yes; then
7971   case $cc_basename in
7972   nvcc*)
7973     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7974   *)
7975     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7976   esac
7977
7978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7979 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7980 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7981   $as_echo_n "(cached) " >&6
7982 else
7983   lt_cv_prog_compiler_rtti_exceptions=no
7984    ac_outfile=conftest.$ac_objext
7985    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7986    lt_compiler_flag="-fno-rtti -fno-exceptions"
7987    # Insert the option either (1) after the last *FLAGS variable, or
7988    # (2) before a word containing "conftest.", or (3) at the end.
7989    # Note that $ac_compile itself does not contain backslashes and begins
7990    # with a dollar sign (not a hyphen), so the echo should work correctly.
7991    # The option is referenced via a variable to avoid confusing sed.
7992    lt_compile=`echo "$ac_compile" | $SED \
7993    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7994    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7995    -e 's:$: $lt_compiler_flag:'`
7996    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7997    (eval "$lt_compile" 2>conftest.err)
7998    ac_status=$?
7999    cat conftest.err >&5
8000    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001    if (exit $ac_status) && test -s "$ac_outfile"; then
8002      # The compiler can only warn and ignore the option if not recognized
8003      # So say no if there are warnings other than the usual output.
8004      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8005      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8006      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8007        lt_cv_prog_compiler_rtti_exceptions=yes
8008      fi
8009    fi
8010    $RM conftest*
8011
8012 fi
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8014 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8015
8016 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8017     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8018 else
8019     :
8020 fi
8021
8022 fi
8023
8024
8025
8026
8027
8028
8029   lt_prog_compiler_wl=
8030 lt_prog_compiler_pic=
8031 lt_prog_compiler_static=
8032
8033
8034   if test "$GCC" = yes; then
8035     lt_prog_compiler_wl='-Wl,'
8036     lt_prog_compiler_static='-static'
8037
8038     case $host_os in
8039       aix*)
8040       # All AIX code is PIC.
8041       if test "$host_cpu" = ia64; then
8042         # AIX 5 now supports IA64 processor
8043         lt_prog_compiler_static='-Bstatic'
8044       fi
8045       ;;
8046
8047     amigaos*)
8048       case $host_cpu in
8049       powerpc)
8050             # see comment about AmigaOS4 .so support
8051             lt_prog_compiler_pic='-fPIC'
8052         ;;
8053       m68k)
8054             # FIXME: we need at least 68020 code to build shared libraries, but
8055             # adding the `-m68020' flag to GCC prevents building anything better,
8056             # like `-m68040'.
8057             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8058         ;;
8059       esac
8060       ;;
8061
8062     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8063       # PIC is the default for these OSes.
8064       ;;
8065
8066     mingw* | cygwin* | pw32* | os2* | cegcc*)
8067       # This hack is so that the source file can tell whether it is being
8068       # built for inclusion in a dll (and should export symbols for example).
8069       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8070       # (--disable-auto-import) libraries
8071       lt_prog_compiler_pic='-DDLL_EXPORT'
8072       ;;
8073
8074     darwin* | rhapsody*)
8075       # PIC is the default on this platform
8076       # Common symbols not allowed in MH_DYLIB files
8077       lt_prog_compiler_pic='-fno-common'
8078       ;;
8079
8080     haiku*)
8081       # PIC is the default for Haiku.
8082       # The "-static" flag exists, but is broken.
8083       lt_prog_compiler_static=
8084       ;;
8085
8086     hpux*)
8087       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8088       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8089       # sets the default TLS model and affects inlining.
8090       case $host_cpu in
8091       hppa*64*)
8092         # +Z the default
8093         ;;
8094       *)
8095         lt_prog_compiler_pic='-fPIC'
8096         ;;
8097       esac
8098       ;;
8099
8100     interix[3-9]*)
8101       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8102       # Instead, we relocate shared libraries at runtime.
8103       ;;
8104
8105     msdosdjgpp*)
8106       # Just because we use GCC doesn't mean we suddenly get shared libraries
8107       # on systems that don't support them.
8108       lt_prog_compiler_can_build_shared=no
8109       enable_shared=no
8110       ;;
8111
8112     *nto* | *qnx*)
8113       # QNX uses GNU C++, but need to define -shared option too, otherwise
8114       # it will coredump.
8115       lt_prog_compiler_pic='-fPIC -shared'
8116       ;;
8117
8118     sysv4*MP*)
8119       if test -d /usr/nec; then
8120         lt_prog_compiler_pic=-Kconform_pic
8121       fi
8122       ;;
8123
8124     *)
8125       lt_prog_compiler_pic='-fPIC'
8126       ;;
8127     esac
8128
8129     case $cc_basename in
8130     nvcc*) # Cuda Compiler Driver 2.2
8131       lt_prog_compiler_wl='-Xlinker '
8132       if test -n "$lt_prog_compiler_pic"; then
8133         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8134       fi
8135       ;;
8136     esac
8137   else
8138     # PORTME Check for flag to pass linker flags through the system compiler.
8139     case $host_os in
8140     aix*)
8141       lt_prog_compiler_wl='-Wl,'
8142       if test "$host_cpu" = ia64; then
8143         # AIX 5 now supports IA64 processor
8144         lt_prog_compiler_static='-Bstatic'
8145       else
8146         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8147       fi
8148       ;;
8149
8150     mingw* | cygwin* | pw32* | os2* | cegcc*)
8151       # This hack is so that the source file can tell whether it is being
8152       # built for inclusion in a dll (and should export symbols for example).
8153       lt_prog_compiler_pic='-DDLL_EXPORT'
8154       ;;
8155
8156     hpux9* | hpux10* | hpux11*)
8157       lt_prog_compiler_wl='-Wl,'
8158       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8159       # not for PA HP-UX.
8160       case $host_cpu in
8161       hppa*64*|ia64*)
8162         # +Z the default
8163         ;;
8164       *)
8165         lt_prog_compiler_pic='+Z'
8166         ;;
8167       esac
8168       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8169       lt_prog_compiler_static='${wl}-a ${wl}archive'
8170       ;;
8171
8172     irix5* | irix6* | nonstopux*)
8173       lt_prog_compiler_wl='-Wl,'
8174       # PIC (with -KPIC) is the default.
8175       lt_prog_compiler_static='-non_shared'
8176       ;;
8177
8178     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8179       case $cc_basename in
8180       # old Intel for x86_64 which still supported -KPIC.
8181       ecc*)
8182         lt_prog_compiler_wl='-Wl,'
8183         lt_prog_compiler_pic='-KPIC'
8184         lt_prog_compiler_static='-static'
8185         ;;
8186       # icc used to be incompatible with GCC.
8187       # ICC 10 doesn't accept -KPIC any more.
8188       icc* | ifort*)
8189         lt_prog_compiler_wl='-Wl,'
8190         lt_prog_compiler_pic='-fPIC'
8191         lt_prog_compiler_static='-static'
8192         ;;
8193       # Lahey Fortran 8.1.
8194       lf95*)
8195         lt_prog_compiler_wl='-Wl,'
8196         lt_prog_compiler_pic='--shared'
8197         lt_prog_compiler_static='--static'
8198         ;;
8199       nagfor*)
8200         # NAG Fortran compiler
8201         lt_prog_compiler_wl='-Wl,-Wl,,'
8202         lt_prog_compiler_pic='-PIC'
8203         lt_prog_compiler_static='-Bstatic'
8204         ;;
8205       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8206         # Portland Group compilers (*not* the Pentium gcc compiler,
8207         # which looks to be a dead project)
8208         lt_prog_compiler_wl='-Wl,'
8209         lt_prog_compiler_pic='-fpic'
8210         lt_prog_compiler_static='-Bstatic'
8211         ;;
8212       ccc*)
8213         lt_prog_compiler_wl='-Wl,'
8214         # All Alpha code is PIC.
8215         lt_prog_compiler_static='-non_shared'
8216         ;;
8217       xl* | bgxl* | bgf* | mpixl*)
8218         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8219         lt_prog_compiler_wl='-Wl,'
8220         lt_prog_compiler_pic='-qpic'
8221         lt_prog_compiler_static='-qstaticlink'
8222         ;;
8223       *)
8224         case `$CC -V 2>&1 | sed 5q` in
8225         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8226           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8227           lt_prog_compiler_pic='-KPIC'
8228           lt_prog_compiler_static='-Bstatic'
8229           lt_prog_compiler_wl=''
8230           ;;
8231         *Sun\ F* | *Sun*Fortran*)
8232           lt_prog_compiler_pic='-KPIC'
8233           lt_prog_compiler_static='-Bstatic'
8234           lt_prog_compiler_wl='-Qoption ld '
8235           ;;
8236         *Sun\ C*)
8237           # Sun C 5.9
8238           lt_prog_compiler_pic='-KPIC'
8239           lt_prog_compiler_static='-Bstatic'
8240           lt_prog_compiler_wl='-Wl,'
8241           ;;
8242         *Intel*\ [CF]*Compiler*)
8243           lt_prog_compiler_wl='-Wl,'
8244           lt_prog_compiler_pic='-fPIC'
8245           lt_prog_compiler_static='-static'
8246           ;;
8247         *Portland\ Group*)
8248           lt_prog_compiler_wl='-Wl,'
8249           lt_prog_compiler_pic='-fpic'
8250           lt_prog_compiler_static='-Bstatic'
8251           ;;
8252         esac
8253         ;;
8254       esac
8255       ;;
8256
8257     newsos6)
8258       lt_prog_compiler_pic='-KPIC'
8259       lt_prog_compiler_static='-Bstatic'
8260       ;;
8261
8262     *nto* | *qnx*)
8263       # QNX uses GNU C++, but need to define -shared option too, otherwise
8264       # it will coredump.
8265       lt_prog_compiler_pic='-fPIC -shared'
8266       ;;
8267
8268     osf3* | osf4* | osf5*)
8269       lt_prog_compiler_wl='-Wl,'
8270       # All OSF/1 code is PIC.
8271       lt_prog_compiler_static='-non_shared'
8272       ;;
8273
8274     rdos*)
8275       lt_prog_compiler_static='-non_shared'
8276       ;;
8277
8278     solaris*)
8279       lt_prog_compiler_pic='-KPIC'
8280       lt_prog_compiler_static='-Bstatic'
8281       case $cc_basename in
8282       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8283         lt_prog_compiler_wl='-Qoption ld ';;
8284       *)
8285         lt_prog_compiler_wl='-Wl,';;
8286       esac
8287       ;;
8288
8289     sunos4*)
8290       lt_prog_compiler_wl='-Qoption ld '
8291       lt_prog_compiler_pic='-PIC'
8292       lt_prog_compiler_static='-Bstatic'
8293       ;;
8294
8295     sysv4 | sysv4.2uw2* | sysv4.3*)
8296       lt_prog_compiler_wl='-Wl,'
8297       lt_prog_compiler_pic='-KPIC'
8298       lt_prog_compiler_static='-Bstatic'
8299       ;;
8300
8301     sysv4*MP*)
8302       if test -d /usr/nec ;then
8303         lt_prog_compiler_pic='-Kconform_pic'
8304         lt_prog_compiler_static='-Bstatic'
8305       fi
8306       ;;
8307
8308     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8309       lt_prog_compiler_wl='-Wl,'
8310       lt_prog_compiler_pic='-KPIC'
8311       lt_prog_compiler_static='-Bstatic'
8312       ;;
8313
8314     unicos*)
8315       lt_prog_compiler_wl='-Wl,'
8316       lt_prog_compiler_can_build_shared=no
8317       ;;
8318
8319     uts4*)
8320       lt_prog_compiler_pic='-pic'
8321       lt_prog_compiler_static='-Bstatic'
8322       ;;
8323
8324     *)
8325       lt_prog_compiler_can_build_shared=no
8326       ;;
8327     esac
8328   fi
8329
8330 case $host_os in
8331   # For platforms which do not support PIC, -DPIC is meaningless:
8332   *djgpp*)
8333     lt_prog_compiler_pic=
8334     ;;
8335   *)
8336     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8337     ;;
8338 esac
8339
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8341 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8342 if ${lt_cv_prog_compiler_pic+:} false; then :
8343   $as_echo_n "(cached) " >&6
8344 else
8345   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8346 fi
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8348 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8349 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8350
8351 #
8352 # Check to make sure the PIC flag actually works.
8353 #
8354 if test -n "$lt_prog_compiler_pic"; then
8355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8356 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8357 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8358   $as_echo_n "(cached) " >&6
8359 else
8360   lt_cv_prog_compiler_pic_works=no
8361    ac_outfile=conftest.$ac_objext
8362    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8363    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8364    # Insert the option either (1) after the last *FLAGS variable, or
8365    # (2) before a word containing "conftest.", or (3) at the end.
8366    # Note that $ac_compile itself does not contain backslashes and begins
8367    # with a dollar sign (not a hyphen), so the echo should work correctly.
8368    # The option is referenced via a variable to avoid confusing sed.
8369    lt_compile=`echo "$ac_compile" | $SED \
8370    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8371    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8372    -e 's:$: $lt_compiler_flag:'`
8373    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8374    (eval "$lt_compile" 2>conftest.err)
8375    ac_status=$?
8376    cat conftest.err >&5
8377    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378    if (exit $ac_status) && test -s "$ac_outfile"; then
8379      # The compiler can only warn and ignore the option if not recognized
8380      # So say no if there are warnings other than the usual output.
8381      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8382      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8383      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8384        lt_cv_prog_compiler_pic_works=yes
8385      fi
8386    fi
8387    $RM conftest*
8388
8389 fi
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8391 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8392
8393 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8394     case $lt_prog_compiler_pic in
8395      "" | " "*) ;;
8396      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8397      esac
8398 else
8399     lt_prog_compiler_pic=
8400      lt_prog_compiler_can_build_shared=no
8401 fi
8402
8403 fi
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415 #
8416 # Check to make sure the static flag actually works.
8417 #
8418 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8420 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8421 if ${lt_cv_prog_compiler_static_works+:} false; then :
8422   $as_echo_n "(cached) " >&6
8423 else
8424   lt_cv_prog_compiler_static_works=no
8425    save_LDFLAGS="$LDFLAGS"
8426    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8427    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8428    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8429      # The linker can only warn and ignore the option if not recognized
8430      # So say no if there are warnings
8431      if test -s conftest.err; then
8432        # Append any errors to the config.log.
8433        cat conftest.err 1>&5
8434        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8435        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8436        if diff conftest.exp conftest.er2 >/dev/null; then
8437          lt_cv_prog_compiler_static_works=yes
8438        fi
8439      else
8440        lt_cv_prog_compiler_static_works=yes
8441      fi
8442    fi
8443    $RM -r conftest*
8444    LDFLAGS="$save_LDFLAGS"
8445
8446 fi
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8448 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8449
8450 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8451     :
8452 else
8453     lt_prog_compiler_static=
8454 fi
8455
8456
8457
8458
8459
8460
8461
8462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8463 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8464 if ${lt_cv_prog_compiler_c_o+:} false; then :
8465   $as_echo_n "(cached) " >&6
8466 else
8467   lt_cv_prog_compiler_c_o=no
8468    $RM -r conftest 2>/dev/null
8469    mkdir conftest
8470    cd conftest
8471    mkdir out
8472    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8473
8474    lt_compiler_flag="-o out/conftest2.$ac_objext"
8475    # Insert the option either (1) after the last *FLAGS variable, or
8476    # (2) before a word containing "conftest.", or (3) at the end.
8477    # Note that $ac_compile itself does not contain backslashes and begins
8478    # with a dollar sign (not a hyphen), so the echo should work correctly.
8479    lt_compile=`echo "$ac_compile" | $SED \
8480    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8481    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8482    -e 's:$: $lt_compiler_flag:'`
8483    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8484    (eval "$lt_compile" 2>out/conftest.err)
8485    ac_status=$?
8486    cat out/conftest.err >&5
8487    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8489    then
8490      # The compiler can only warn and ignore the option if not recognized
8491      # So say no if there are warnings
8492      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8493      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8494      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8495        lt_cv_prog_compiler_c_o=yes
8496      fi
8497    fi
8498    chmod u+w . 2>&5
8499    $RM conftest*
8500    # SGI C++ compiler will create directory out/ii_files/ for
8501    # template instantiation
8502    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8503    $RM out/* && rmdir out
8504    cd ..
8505    $RM -r conftest
8506    $RM conftest*
8507
8508 fi
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8510 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8511
8512
8513
8514
8515
8516
8517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8518 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8519 if ${lt_cv_prog_compiler_c_o+:} false; then :
8520   $as_echo_n "(cached) " >&6
8521 else
8522   lt_cv_prog_compiler_c_o=no
8523    $RM -r conftest 2>/dev/null
8524    mkdir conftest
8525    cd conftest
8526    mkdir out
8527    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8528
8529    lt_compiler_flag="-o out/conftest2.$ac_objext"
8530    # Insert the option either (1) after the last *FLAGS variable, or
8531    # (2) before a word containing "conftest.", or (3) at the end.
8532    # Note that $ac_compile itself does not contain backslashes and begins
8533    # with a dollar sign (not a hyphen), so the echo should work correctly.
8534    lt_compile=`echo "$ac_compile" | $SED \
8535    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8536    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8537    -e 's:$: $lt_compiler_flag:'`
8538    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8539    (eval "$lt_compile" 2>out/conftest.err)
8540    ac_status=$?
8541    cat out/conftest.err >&5
8542    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8544    then
8545      # The compiler can only warn and ignore the option if not recognized
8546      # So say no if there are warnings
8547      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8548      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8549      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8550        lt_cv_prog_compiler_c_o=yes
8551      fi
8552    fi
8553    chmod u+w . 2>&5
8554    $RM conftest*
8555    # SGI C++ compiler will create directory out/ii_files/ for
8556    # template instantiation
8557    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8558    $RM out/* && rmdir out
8559    cd ..
8560    $RM -r conftest
8561    $RM conftest*
8562
8563 fi
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8565 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8566
8567
8568
8569
8570 hard_links="nottested"
8571 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8572   # do not overwrite the value of need_locks provided by the user
8573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8574 $as_echo_n "checking if we can lock with hard links... " >&6; }
8575   hard_links=yes
8576   $RM conftest*
8577   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8578   touch conftest.a
8579   ln conftest.a conftest.b 2>&5 || hard_links=no
8580   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8582 $as_echo "$hard_links" >&6; }
8583   if test "$hard_links" = no; then
8584     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8585 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8586     need_locks=warn
8587   fi
8588 else
8589   need_locks=no
8590 fi
8591
8592
8593
8594
8595
8596
8597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8598 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8599
8600   runpath_var=
8601   allow_undefined_flag=
8602   always_export_symbols=no
8603   archive_cmds=
8604   archive_expsym_cmds=
8605   compiler_needs_object=no
8606   enable_shared_with_static_runtimes=no
8607   export_dynamic_flag_spec=
8608   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8609   hardcode_automatic=no
8610   hardcode_direct=no
8611   hardcode_direct_absolute=no
8612   hardcode_libdir_flag_spec=
8613   hardcode_libdir_separator=
8614   hardcode_minus_L=no
8615   hardcode_shlibpath_var=unsupported
8616   inherit_rpath=no
8617   link_all_deplibs=unknown
8618   module_cmds=
8619   module_expsym_cmds=
8620   old_archive_from_new_cmds=
8621   old_archive_from_expsyms_cmds=
8622   thread_safe_flag_spec=
8623   whole_archive_flag_spec=
8624   # include_expsyms should be a list of space-separated symbols to be *always*
8625   # included in the symbol list
8626   include_expsyms=
8627   # exclude_expsyms can be an extended regexp of symbols to exclude
8628   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8629   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8630   # as well as any symbol that contains `d'.
8631   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8632   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8633   # platforms (ab)use it in PIC code, but their linkers get confused if
8634   # the symbol is explicitly referenced.  Since portable code cannot
8635   # rely on this symbol name, it's probably fine to never include it in
8636   # preloaded symbol tables.
8637   # Exclude shared library initialization/finalization symbols.
8638   extract_expsyms_cmds=
8639
8640   case $host_os in
8641   cygwin* | mingw* | pw32* | cegcc*)
8642     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8643     # When not using gcc, we currently assume that we are using
8644     # Microsoft Visual C++.
8645     if test "$GCC" != yes; then
8646       with_gnu_ld=no
8647     fi
8648     ;;
8649   interix*)
8650     # we just hope/assume this is gcc and not c89 (= MSVC++)
8651     with_gnu_ld=yes
8652     ;;
8653   openbsd*)
8654     with_gnu_ld=no
8655     ;;
8656   esac
8657
8658   ld_shlibs=yes
8659
8660   # On some targets, GNU ld is compatible enough with the native linker
8661   # that we're better off using the native interface for both.
8662   lt_use_gnu_ld_interface=no
8663   if test "$with_gnu_ld" = yes; then
8664     case $host_os in
8665       aix*)
8666         # The AIX port of GNU ld has always aspired to compatibility
8667         # with the native linker.  However, as the warning in the GNU ld
8668         # block says, versions before 2.19.5* couldn't really create working
8669         # shared libraries, regardless of the interface used.
8670         case `$LD -v 2>&1` in
8671           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8672           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8673           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8674           *)
8675             lt_use_gnu_ld_interface=yes
8676             ;;
8677         esac
8678         ;;
8679       *)
8680         lt_use_gnu_ld_interface=yes
8681         ;;
8682     esac
8683   fi
8684
8685   if test "$lt_use_gnu_ld_interface" = yes; then
8686     # If archive_cmds runs LD, not CC, wlarc should be empty
8687     wlarc='${wl}'
8688
8689     # Set some defaults for GNU ld with shared library support. These
8690     # are reset later if shared libraries are not supported. Putting them
8691     # here allows them to be overridden if necessary.
8692     runpath_var=LD_RUN_PATH
8693     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8694     export_dynamic_flag_spec='${wl}--export-dynamic'
8695     # ancient GNU ld didn't support --whole-archive et. al.
8696     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8697       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8698     else
8699       whole_archive_flag_spec=
8700     fi
8701     supports_anon_versioning=no
8702     case `$LD -v 2>&1` in
8703       *GNU\ gold*) supports_anon_versioning=yes ;;
8704       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8705       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8706       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8707       *\ 2.11.*) ;; # other 2.11 versions
8708       *) supports_anon_versioning=yes ;;
8709     esac
8710
8711     # See if GNU ld supports shared libraries.
8712     case $host_os in
8713     aix[3-9]*)
8714       # On AIX/PPC, the GNU linker is very broken
8715       if test "$host_cpu" != ia64; then
8716         ld_shlibs=no
8717         cat <<_LT_EOF 1>&2
8718
8719 *** Warning: the GNU linker, at least up to release 2.19, is reported
8720 *** to be unable to reliably create shared libraries on AIX.
8721 *** Therefore, libtool is disabling shared libraries support.  If you
8722 *** really care for shared libraries, you may want to install binutils
8723 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8724 *** You will then need to restart the configuration process.
8725
8726 _LT_EOF
8727       fi
8728       ;;
8729
8730     amigaos*)
8731       case $host_cpu in
8732       powerpc)
8733             # see comment about AmigaOS4 .so support
8734             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8735             archive_expsym_cmds=''
8736         ;;
8737       m68k)
8738             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)'
8739             hardcode_libdir_flag_spec='-L$libdir'
8740             hardcode_minus_L=yes
8741         ;;
8742       esac
8743       ;;
8744
8745     beos*)
8746       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8747         allow_undefined_flag=unsupported
8748         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8749         # support --undefined.  This deserves some investigation.  FIXME
8750         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8751       else
8752         ld_shlibs=no
8753       fi
8754       ;;
8755
8756     cygwin* | mingw* | pw32* | cegcc*)
8757       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8758       # as there is no search path for DLLs.
8759       hardcode_libdir_flag_spec='-L$libdir'
8760       export_dynamic_flag_spec='${wl}--export-all-symbols'
8761       allow_undefined_flag=unsupported
8762       always_export_symbols=no
8763       enable_shared_with_static_runtimes=yes
8764       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'
8765       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8766
8767       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8768         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8769         # If the export-symbols file already is a .def file (1st line
8770         # is EXPORTS), use it as is; otherwise, prepend...
8771         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8772           cp $export_symbols $output_objdir/$soname.def;
8773         else
8774           echo EXPORTS > $output_objdir/$soname.def;
8775           cat $export_symbols >> $output_objdir/$soname.def;
8776         fi~
8777         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8778       else
8779         ld_shlibs=no
8780       fi
8781       ;;
8782
8783     haiku*)
8784       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8785       link_all_deplibs=yes
8786       ;;
8787
8788     interix[3-9]*)
8789       hardcode_direct=no
8790       hardcode_shlibpath_var=no
8791       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8792       export_dynamic_flag_spec='${wl}-E'
8793       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8794       # Instead, shared libraries are loaded at an image base (0x10000000 by
8795       # default) and relocated if they conflict, which is a slow very memory
8796       # consuming and fragmenting process.  To avoid this, we pick a random,
8797       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8798       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8799       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8800       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'
8801       ;;
8802
8803     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8804       tmp_diet=no
8805       if test "$host_os" = linux-dietlibc; then
8806         case $cc_basename in
8807           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8808         esac
8809       fi
8810       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8811          && test "$tmp_diet" = no
8812       then
8813         tmp_addflag=' $pic_flag'
8814         tmp_sharedflag='-shared'
8815         case $cc_basename,$host_cpu in
8816         pgcc*)                          # Portland Group C compiler
8817           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'
8818           tmp_addflag=' $pic_flag'
8819           ;;
8820         pgf77* | pgf90* | pgf95* | pgfortran*)
8821                                         # Portland Group f77 and f90 compilers
8822           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'
8823           tmp_addflag=' $pic_flag -Mnomain' ;;
8824         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8825           tmp_addflag=' -i_dynamic' ;;
8826         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8827           tmp_addflag=' -i_dynamic -nofor_main' ;;
8828         ifc* | ifort*)                  # Intel Fortran compiler
8829           tmp_addflag=' -nofor_main' ;;
8830         lf95*)                          # Lahey Fortran 8.1
8831           whole_archive_flag_spec=
8832           tmp_sharedflag='--shared' ;;
8833         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8834           tmp_sharedflag='-qmkshrobj'
8835           tmp_addflag= ;;
8836         nvcc*)  # Cuda Compiler Driver 2.2
8837           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'
8838           compiler_needs_object=yes
8839           ;;
8840         esac
8841         case `$CC -V 2>&1 | sed 5q` in
8842         *Sun\ C*)                       # Sun C 5.9
8843           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'
8844           compiler_needs_object=yes
8845           tmp_sharedflag='-G' ;;
8846         *Sun\ F*)                       # Sun Fortran 8.3
8847           tmp_sharedflag='-G' ;;
8848         esac
8849         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8850
8851         if test "x$supports_anon_versioning" = xyes; then
8852           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8853             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8854             echo "local: *; };" >> $output_objdir/$libname.ver~
8855             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8856         fi
8857
8858         case $cc_basename in
8859         xlf* | bgf* | bgxlf* | mpixlf*)
8860           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8861           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8862           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8863           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8864           if test "x$supports_anon_versioning" = xyes; then
8865             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8866               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8867               echo "local: *; };" >> $output_objdir/$libname.ver~
8868               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8869           fi
8870           ;;
8871         esac
8872       else
8873         ld_shlibs=no
8874       fi
8875       ;;
8876
8877     netbsd*)
8878       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8879         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8880         wlarc=
8881       else
8882         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8884       fi
8885       ;;
8886
8887     solaris*)
8888       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8889         ld_shlibs=no
8890         cat <<_LT_EOF 1>&2
8891
8892 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8893 *** create shared libraries on Solaris systems.  Therefore, libtool
8894 *** is disabling shared libraries support.  We urge you to upgrade GNU
8895 *** binutils to release 2.9.1 or newer.  Another option is to modify
8896 *** your PATH or compiler configuration so that the native linker is
8897 *** used, and then restart.
8898
8899 _LT_EOF
8900       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8901         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8902         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8903       else
8904         ld_shlibs=no
8905       fi
8906       ;;
8907
8908     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8909       case `$LD -v 2>&1` in
8910         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8911         ld_shlibs=no
8912         cat <<_LT_EOF 1>&2
8913
8914 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8915 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8916 *** is disabling shared libraries support.  We urge you to upgrade GNU
8917 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8918 *** your PATH or compiler configuration so that the native linker is
8919 *** used, and then restart.
8920
8921 _LT_EOF
8922         ;;
8923         *)
8924           # For security reasons, it is highly recommended that you always
8925           # use absolute paths for naming shared libraries, and exclude the
8926           # DT_RUNPATH tag from executables and libraries.  But doing so
8927           # requires that you compile everything twice, which is a pain.
8928           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8929             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8930             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8931             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8932           else
8933             ld_shlibs=no
8934           fi
8935         ;;
8936       esac
8937       ;;
8938
8939     sunos4*)
8940       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8941       wlarc=
8942       hardcode_direct=yes
8943       hardcode_shlibpath_var=no
8944       ;;
8945
8946     *)
8947       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8948         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8949         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8950       else
8951         ld_shlibs=no
8952       fi
8953       ;;
8954     esac
8955
8956     if test "$ld_shlibs" = no; then
8957       runpath_var=
8958       hardcode_libdir_flag_spec=
8959       export_dynamic_flag_spec=
8960       whole_archive_flag_spec=
8961     fi
8962   else
8963     # PORTME fill in a description of your system's linker (not GNU ld)
8964     case $host_os in
8965     aix3*)
8966       allow_undefined_flag=unsupported
8967       always_export_symbols=yes
8968       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'
8969       # Note: this linker hardcodes the directories in LIBPATH if there
8970       # are no directories specified by -L.
8971       hardcode_minus_L=yes
8972       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8973         # Neither direct hardcoding nor static linking is supported with a
8974         # broken collect2.
8975         hardcode_direct=unsupported
8976       fi
8977       ;;
8978
8979     aix[4-9]*)
8980       if test "$host_cpu" = ia64; then
8981         # On IA64, the linker does run time linking by default, so we don't
8982         # have to do anything special.
8983         aix_use_runtimelinking=no
8984         exp_sym_flag='-Bexport'
8985         no_entry_flag=""
8986       else
8987         # If we're using GNU nm, then we don't want the "-C" option.
8988         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8989         # Also, AIX nm treats weak defined symbols like other global
8990         # defined symbols, whereas GNU nm marks them as "W".
8991         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8992           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'
8993         else
8994           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'
8995         fi
8996         aix_use_runtimelinking=no
8997
8998         # Test if we are trying to use run time linking or normal
8999         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9000         # need to do runtime linking.
9001         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9002           for ld_flag in $LDFLAGS; do
9003           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9004             aix_use_runtimelinking=yes
9005             break
9006           fi
9007           done
9008           ;;
9009         esac
9010
9011         exp_sym_flag='-bexport'
9012         no_entry_flag='-bnoentry'
9013       fi
9014
9015       # When large executables or shared objects are built, AIX ld can
9016       # have problems creating the table of contents.  If linking a library
9017       # or program results in "error TOC overflow" add -mminimal-toc to
9018       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9019       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9020
9021       archive_cmds=''
9022       hardcode_direct=yes
9023       hardcode_direct_absolute=yes
9024       hardcode_libdir_separator=':'
9025       link_all_deplibs=yes
9026       file_list_spec='${wl}-f,'
9027
9028       if test "$GCC" = yes; then
9029         case $host_os in aix4.[012]|aix4.[012].*)
9030         # We only want to do this on AIX 4.2 and lower, the check
9031         # below for broken collect2 doesn't work under 4.3+
9032           collect2name=`${CC} -print-prog-name=collect2`
9033           if test -f "$collect2name" &&
9034            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9035           then
9036           # We have reworked collect2
9037           :
9038           else
9039           # We have old collect2
9040           hardcode_direct=unsupported
9041           # It fails to find uninstalled libraries when the uninstalled
9042           # path is not listed in the libpath.  Setting hardcode_minus_L
9043           # to unsupported forces relinking
9044           hardcode_minus_L=yes
9045           hardcode_libdir_flag_spec='-L$libdir'
9046           hardcode_libdir_separator=
9047           fi
9048           ;;
9049         esac
9050         shared_flag='-shared'
9051         if test "$aix_use_runtimelinking" = yes; then
9052           shared_flag="$shared_flag "'${wl}-G'
9053         fi
9054       else
9055         # not using gcc
9056         if test "$host_cpu" = ia64; then
9057         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9058         # chokes on -Wl,-G. The following line is correct:
9059           shared_flag='-G'
9060         else
9061           if test "$aix_use_runtimelinking" = yes; then
9062             shared_flag='${wl}-G'
9063           else
9064             shared_flag='${wl}-bM:SRE'
9065           fi
9066         fi
9067       fi
9068
9069       export_dynamic_flag_spec='${wl}-bexpall'
9070       # It seems that -bexpall does not export symbols beginning with
9071       # underscore (_), so it is better to generate a list of symbols to export.
9072       always_export_symbols=yes
9073       if test "$aix_use_runtimelinking" = yes; then
9074         # Warning - without using the other runtime loading flags (-brtl),
9075         # -berok will link without error, but may produce a broken library.
9076         allow_undefined_flag='-berok'
9077         # Determine the default libpath from the value encoded in an
9078         # empty executable.
9079         if test "${lt_cv_aix_libpath+set}" = set; then
9080   aix_libpath=$lt_cv_aix_libpath
9081 else
9082   if ${lt_cv_aix_libpath_+:} false; then :
9083   $as_echo_n "(cached) " >&6
9084 else
9085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h.  */
9087
9088 int
9089 main ()
9090 {
9091
9092   ;
9093   return 0;
9094 }
9095 _ACEOF
9096 if ac_fn_c_try_link "$LINENO"; then :
9097
9098   lt_aix_libpath_sed='
9099       /Import File Strings/,/^$/ {
9100           /^0/ {
9101               s/^0  *\([^ ]*\) *$/\1/
9102               p
9103           }
9104       }'
9105   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9106   # Check for a 64-bit object if we didn't find anything.
9107   if test -z "$lt_cv_aix_libpath_"; then
9108     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9109   fi
9110 fi
9111 rm -f core conftest.err conftest.$ac_objext \
9112     conftest$ac_exeext conftest.$ac_ext
9113   if test -z "$lt_cv_aix_libpath_"; then
9114     lt_cv_aix_libpath_="/usr/lib:/lib"
9115   fi
9116
9117 fi
9118
9119   aix_libpath=$lt_cv_aix_libpath_
9120 fi
9121
9122         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9123         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"
9124       else
9125         if test "$host_cpu" = ia64; then
9126           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9127           allow_undefined_flag="-z nodefs"
9128           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"
9129         else
9130          # Determine the default libpath from the value encoded in an
9131          # empty executable.
9132          if test "${lt_cv_aix_libpath+set}" = set; then
9133   aix_libpath=$lt_cv_aix_libpath
9134 else
9135   if ${lt_cv_aix_libpath_+:} false; then :
9136   $as_echo_n "(cached) " >&6
9137 else
9138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h.  */
9140
9141 int
9142 main ()
9143 {
9144
9145   ;
9146   return 0;
9147 }
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150
9151   lt_aix_libpath_sed='
9152       /Import File Strings/,/^$/ {
9153           /^0/ {
9154               s/^0  *\([^ ]*\) *$/\1/
9155               p
9156           }
9157       }'
9158   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9159   # Check for a 64-bit object if we didn't find anything.
9160   if test -z "$lt_cv_aix_libpath_"; then
9161     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9162   fi
9163 fi
9164 rm -f core conftest.err conftest.$ac_objext \
9165     conftest$ac_exeext conftest.$ac_ext
9166   if test -z "$lt_cv_aix_libpath_"; then
9167     lt_cv_aix_libpath_="/usr/lib:/lib"
9168   fi
9169
9170 fi
9171
9172   aix_libpath=$lt_cv_aix_libpath_
9173 fi
9174
9175          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9176           # Warning - without using the other run time loading flags,
9177           # -berok will link without error, but may produce a broken library.
9178           no_undefined_flag=' ${wl}-bernotok'
9179           allow_undefined_flag=' ${wl}-berok'
9180           if test "$with_gnu_ld" = yes; then
9181             # We only use this code for GNU lds that support --whole-archive.
9182             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9183           else
9184             # Exported symbols can be pulled into shared objects from archives
9185             whole_archive_flag_spec='$convenience'
9186           fi
9187           archive_cmds_need_lc=yes
9188           # This is similar to how AIX traditionally builds its shared libraries.
9189           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'
9190         fi
9191       fi
9192       ;;
9193
9194     amigaos*)
9195       case $host_cpu in
9196       powerpc)
9197             # see comment about AmigaOS4 .so support
9198             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9199             archive_expsym_cmds=''
9200         ;;
9201       m68k)
9202             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)'
9203             hardcode_libdir_flag_spec='-L$libdir'
9204             hardcode_minus_L=yes
9205         ;;
9206       esac
9207       ;;
9208
9209     bsdi[45]*)
9210       export_dynamic_flag_spec=-rdynamic
9211       ;;
9212
9213     cygwin* | mingw* | pw32* | cegcc*)
9214       # When not using gcc, we currently assume that we are using
9215       # Microsoft Visual C++.
9216       # hardcode_libdir_flag_spec is actually meaningless, as there is
9217       # no search path for DLLs.
9218       case $cc_basename in
9219       cl*)
9220         # Native MSVC
9221         hardcode_libdir_flag_spec=' '
9222         allow_undefined_flag=unsupported
9223         always_export_symbols=yes
9224         file_list_spec='@'
9225         # Tell ltmain to make .lib files, not .a files.
9226         libext=lib
9227         # Tell ltmain to make .dll files, not .so files.
9228         shrext_cmds=".dll"
9229         # FIXME: Setting linknames here is a bad hack.
9230         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9231         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9232             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9233           else
9234             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9235           fi~
9236           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9237           linknames='
9238         # The linker will not automatically build a static lib if we build a DLL.
9239         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9240         enable_shared_with_static_runtimes=yes
9241         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9242         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9243         # Don't use ranlib
9244         old_postinstall_cmds='chmod 644 $oldlib'
9245         postlink_cmds='lt_outputfile="@OUTPUT@"~
9246           lt_tool_outputfile="@TOOL_OUTPUT@"~
9247           case $lt_outputfile in
9248             *.exe|*.EXE) ;;
9249             *)
9250               lt_outputfile="$lt_outputfile.exe"
9251               lt_tool_outputfile="$lt_tool_outputfile.exe"
9252               ;;
9253           esac~
9254           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9255             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9256             $RM "$lt_outputfile.manifest";
9257           fi'
9258         ;;
9259       *)
9260         # Assume MSVC wrapper
9261         hardcode_libdir_flag_spec=' '
9262         allow_undefined_flag=unsupported
9263         # Tell ltmain to make .lib files, not .a files.
9264         libext=lib
9265         # Tell ltmain to make .dll files, not .so files.
9266         shrext_cmds=".dll"
9267         # FIXME: Setting linknames here is a bad hack.
9268         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9269         # The linker will automatically build a .lib file if we build a DLL.
9270         old_archive_from_new_cmds='true'
9271         # FIXME: Should let the user specify the lib program.
9272         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9273         enable_shared_with_static_runtimes=yes
9274         ;;
9275       esac
9276       ;;
9277
9278     darwin* | rhapsody*)
9279
9280
9281   archive_cmds_need_lc=no
9282   hardcode_direct=no
9283   hardcode_automatic=yes
9284   hardcode_shlibpath_var=unsupported
9285   if test "$lt_cv_ld_force_load" = "yes"; then
9286     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\"`'
9287
9288   else
9289     whole_archive_flag_spec=''
9290   fi
9291   link_all_deplibs=yes
9292   allow_undefined_flag="$_lt_dar_allow_undefined"
9293   case $cc_basename in
9294      ifort*) _lt_dar_can_shared=yes ;;
9295      *) _lt_dar_can_shared=$GCC ;;
9296   esac
9297   if test "$_lt_dar_can_shared" = "yes"; then
9298     output_verbose_link_cmd=func_echo_all
9299     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9300     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9301     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}"
9302     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}"
9303
9304   else
9305   ld_shlibs=no
9306   fi
9307
9308       ;;
9309
9310     dgux*)
9311       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9312       hardcode_libdir_flag_spec='-L$libdir'
9313       hardcode_shlibpath_var=no
9314       ;;
9315
9316     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9317     # support.  Future versions do this automatically, but an explicit c++rt0.o
9318     # does not break anything, and helps significantly (at the cost of a little
9319     # extra space).
9320     freebsd2.2*)
9321       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9322       hardcode_libdir_flag_spec='-R$libdir'
9323       hardcode_direct=yes
9324       hardcode_shlibpath_var=no
9325       ;;
9326
9327     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9328     freebsd2.*)
9329       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9330       hardcode_direct=yes
9331       hardcode_minus_L=yes
9332       hardcode_shlibpath_var=no
9333       ;;
9334
9335     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9336     freebsd* | dragonfly*)
9337       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9338       hardcode_libdir_flag_spec='-R$libdir'
9339       hardcode_direct=yes
9340       hardcode_shlibpath_var=no
9341       ;;
9342
9343     hpux9*)
9344       if test "$GCC" = yes; then
9345         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'
9346       else
9347         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'
9348       fi
9349       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9350       hardcode_libdir_separator=:
9351       hardcode_direct=yes
9352
9353       # hardcode_minus_L: Not really in the search PATH,
9354       # but as the default location of the library.
9355       hardcode_minus_L=yes
9356       export_dynamic_flag_spec='${wl}-E'
9357       ;;
9358
9359     hpux10*)
9360       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9361         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9362       else
9363         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9364       fi
9365       if test "$with_gnu_ld" = no; then
9366         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9367         hardcode_libdir_separator=:
9368         hardcode_direct=yes
9369         hardcode_direct_absolute=yes
9370         export_dynamic_flag_spec='${wl}-E'
9371         # hardcode_minus_L: Not really in the search PATH,
9372         # but as the default location of the library.
9373         hardcode_minus_L=yes
9374       fi
9375       ;;
9376
9377     hpux11*)
9378       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9379         case $host_cpu in
9380         hppa*64*)
9381           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9382           ;;
9383         ia64*)
9384           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9385           ;;
9386         *)
9387           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9388           ;;
9389         esac
9390       else
9391         case $host_cpu in
9392         hppa*64*)
9393           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9394           ;;
9395         ia64*)
9396           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9397           ;;
9398         *)
9399
9400           # Older versions of the 11.00 compiler do not understand -b yet
9401           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9402           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9403 $as_echo_n "checking if $CC understands -b... " >&6; }
9404 if ${lt_cv_prog_compiler__b+:} false; then :
9405   $as_echo_n "(cached) " >&6
9406 else
9407   lt_cv_prog_compiler__b=no
9408    save_LDFLAGS="$LDFLAGS"
9409    LDFLAGS="$LDFLAGS -b"
9410    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9411    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9412      # The linker can only warn and ignore the option if not recognized
9413      # So say no if there are warnings
9414      if test -s conftest.err; then
9415        # Append any errors to the config.log.
9416        cat conftest.err 1>&5
9417        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9418        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9419        if diff conftest.exp conftest.er2 >/dev/null; then
9420          lt_cv_prog_compiler__b=yes
9421        fi
9422      else
9423        lt_cv_prog_compiler__b=yes
9424      fi
9425    fi
9426    $RM -r conftest*
9427    LDFLAGS="$save_LDFLAGS"
9428
9429 fi
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9431 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9432
9433 if test x"$lt_cv_prog_compiler__b" = xyes; then
9434     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9435 else
9436     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9437 fi
9438
9439           ;;
9440         esac
9441       fi
9442       if test "$with_gnu_ld" = no; then
9443         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9444         hardcode_libdir_separator=:
9445
9446         case $host_cpu in
9447         hppa*64*|ia64*)
9448           hardcode_direct=no
9449           hardcode_shlibpath_var=no
9450           ;;
9451         *)
9452           hardcode_direct=yes
9453           hardcode_direct_absolute=yes
9454           export_dynamic_flag_spec='${wl}-E'
9455
9456           # hardcode_minus_L: Not really in the search PATH,
9457           # but as the default location of the library.
9458           hardcode_minus_L=yes
9459           ;;
9460         esac
9461       fi
9462       ;;
9463
9464     irix5* | irix6* | nonstopux*)
9465       if test "$GCC" = yes; then
9466         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'
9467         # Try to use the -exported_symbol ld option, if it does not
9468         # work, assume that -exports_file does not work either and
9469         # implicitly export all symbols.
9470         # This should be the same for all languages, so no per-tag cache variable.
9471         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9472 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9473 if ${lt_cv_irix_exported_symbol+:} false; then :
9474   $as_echo_n "(cached) " >&6
9475 else
9476   save_LDFLAGS="$LDFLAGS"
9477            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9478            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h.  */
9480 int foo (void) { return 0; }
9481 _ACEOF
9482 if ac_fn_c_try_link "$LINENO"; then :
9483   lt_cv_irix_exported_symbol=yes
9484 else
9485   lt_cv_irix_exported_symbol=no
9486 fi
9487 rm -f core conftest.err conftest.$ac_objext \
9488     conftest$ac_exeext conftest.$ac_ext
9489            LDFLAGS="$save_LDFLAGS"
9490 fi
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9492 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9493         if test "$lt_cv_irix_exported_symbol" = yes; then
9494           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'
9495         fi
9496       else
9497         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'
9498         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'
9499       fi
9500       archive_cmds_need_lc='no'
9501       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9502       hardcode_libdir_separator=:
9503       inherit_rpath=yes
9504       link_all_deplibs=yes
9505       ;;
9506
9507     netbsd*)
9508       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9509         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9510       else
9511         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9512       fi
9513       hardcode_libdir_flag_spec='-R$libdir'
9514       hardcode_direct=yes
9515       hardcode_shlibpath_var=no
9516       ;;
9517
9518     newsos6)
9519       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9520       hardcode_direct=yes
9521       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9522       hardcode_libdir_separator=:
9523       hardcode_shlibpath_var=no
9524       ;;
9525
9526     *nto* | *qnx*)
9527       ;;
9528
9529     openbsd*)
9530       if test -f /usr/libexec/ld.so; then
9531         hardcode_direct=yes
9532         hardcode_shlibpath_var=no
9533         hardcode_direct_absolute=yes
9534         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9535           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9536           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9537           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9538           export_dynamic_flag_spec='${wl}-E'
9539         else
9540           case $host_os in
9541            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9542              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9543              hardcode_libdir_flag_spec='-R$libdir'
9544              ;;
9545            *)
9546              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9547              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9548              ;;
9549           esac
9550         fi
9551       else
9552         ld_shlibs=no
9553       fi
9554       ;;
9555
9556     os2*)
9557       hardcode_libdir_flag_spec='-L$libdir'
9558       hardcode_minus_L=yes
9559       allow_undefined_flag=unsupported
9560       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'
9561       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9562       ;;
9563
9564     osf3*)
9565       if test "$GCC" = yes; then
9566         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9567         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'
9568       else
9569         allow_undefined_flag=' -expect_unresolved \*'
9570         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'
9571       fi
9572       archive_cmds_need_lc='no'
9573       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9574       hardcode_libdir_separator=:
9575       ;;
9576
9577     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9578       if test "$GCC" = yes; then
9579         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9580         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'
9581         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9582       else
9583         allow_undefined_flag=' -expect_unresolved \*'
9584         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'
9585         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~
9586         $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'
9587
9588         # Both c and cxx compiler support -rpath directly
9589         hardcode_libdir_flag_spec='-rpath $libdir'
9590       fi
9591       archive_cmds_need_lc='no'
9592       hardcode_libdir_separator=:
9593       ;;
9594
9595     solaris*)
9596       no_undefined_flag=' -z defs'
9597       if test "$GCC" = yes; then
9598         wlarc='${wl}'
9599         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9600         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9601           $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'
9602       else
9603         case `$CC -V 2>&1` in
9604         *"Compilers 5.0"*)
9605           wlarc=''
9606           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9607           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9608           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9609           ;;
9610         *)
9611           wlarc='${wl}'
9612           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9613           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9614           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9615           ;;
9616         esac
9617       fi
9618       hardcode_libdir_flag_spec='-R$libdir'
9619       hardcode_shlibpath_var=no
9620       case $host_os in
9621       solaris2.[0-5] | solaris2.[0-5].*) ;;
9622       *)
9623         # The compiler driver will combine and reorder linker options,
9624         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9625         # but is careful enough not to reorder.
9626         # Supported since Solaris 2.6 (maybe 2.5.1?)
9627         if test "$GCC" = yes; then
9628           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9629         else
9630           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9631         fi
9632         ;;
9633       esac
9634       link_all_deplibs=yes
9635       ;;
9636
9637     sunos4*)
9638       if test "x$host_vendor" = xsequent; then
9639         # Use $CC to link under sequent, because it throws in some extra .o
9640         # files that make .init and .fini sections work.
9641         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9642       else
9643         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9644       fi
9645       hardcode_libdir_flag_spec='-L$libdir'
9646       hardcode_direct=yes
9647       hardcode_minus_L=yes
9648       hardcode_shlibpath_var=no
9649       ;;
9650
9651     sysv4)
9652       case $host_vendor in
9653         sni)
9654           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9655           hardcode_direct=yes # is this really true???
9656         ;;
9657         siemens)
9658           ## LD is ld it makes a PLAMLIB
9659           ## CC just makes a GrossModule.
9660           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9661           reload_cmds='$CC -r -o $output$reload_objs'
9662           hardcode_direct=no
9663         ;;
9664         motorola)
9665           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9666           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9667         ;;
9668       esac
9669       runpath_var='LD_RUN_PATH'
9670       hardcode_shlibpath_var=no
9671       ;;
9672
9673     sysv4.3*)
9674       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9675       hardcode_shlibpath_var=no
9676       export_dynamic_flag_spec='-Bexport'
9677       ;;
9678
9679     sysv4*MP*)
9680       if test -d /usr/nec; then
9681         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9682         hardcode_shlibpath_var=no
9683         runpath_var=LD_RUN_PATH
9684         hardcode_runpath_var=yes
9685         ld_shlibs=yes
9686       fi
9687       ;;
9688
9689     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9690       no_undefined_flag='${wl}-z,text'
9691       archive_cmds_need_lc=no
9692       hardcode_shlibpath_var=no
9693       runpath_var='LD_RUN_PATH'
9694
9695       if test "$GCC" = yes; then
9696         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9697         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9698       else
9699         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9700         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9701       fi
9702       ;;
9703
9704     sysv5* | sco3.2v5* | sco5v6*)
9705       # Note: We can NOT use -z defs as we might desire, because we do not
9706       # link with -lc, and that would cause any symbols used from libc to
9707       # always be unresolved, which means just about no library would
9708       # ever link correctly.  If we're not using GNU ld we use -z text
9709       # though, which does catch some bad symbols but isn't as heavy-handed
9710       # as -z defs.
9711       no_undefined_flag='${wl}-z,text'
9712       allow_undefined_flag='${wl}-z,nodefs'
9713       archive_cmds_need_lc=no
9714       hardcode_shlibpath_var=no
9715       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9716       hardcode_libdir_separator=':'
9717       link_all_deplibs=yes
9718       export_dynamic_flag_spec='${wl}-Bexport'
9719       runpath_var='LD_RUN_PATH'
9720
9721       if test "$GCC" = yes; then
9722         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9723         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724       else
9725         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9726         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9727       fi
9728       ;;
9729
9730     uts4*)
9731       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9732       hardcode_libdir_flag_spec='-L$libdir'
9733       hardcode_shlibpath_var=no
9734       ;;
9735
9736     *)
9737       ld_shlibs=no
9738       ;;
9739     esac
9740
9741     if test x$host_vendor = xsni; then
9742       case $host in
9743       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9744         export_dynamic_flag_spec='${wl}-Blargedynsym'
9745         ;;
9746       esac
9747     fi
9748   fi
9749
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9751 $as_echo "$ld_shlibs" >&6; }
9752 test "$ld_shlibs" = no && can_build_shared=no
9753
9754 with_gnu_ld=$with_gnu_ld
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770 #
9771 # Do we need to explicitly link libc?
9772 #
9773 case "x$archive_cmds_need_lc" in
9774 x|xyes)
9775   # Assume -lc should be added
9776   archive_cmds_need_lc=yes
9777
9778   if test "$enable_shared" = yes && test "$GCC" = yes; then
9779     case $archive_cmds in
9780     *'~'*)
9781       # FIXME: we may have to deal with multi-command sequences.
9782       ;;
9783     '$CC '*)
9784       # Test whether the compiler implicitly links with -lc since on some
9785       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9786       # to ld, don't add -lc before -lgcc.
9787       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9788 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9789 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9790   $as_echo_n "(cached) " >&6
9791 else
9792   $RM conftest*
9793         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9794
9795         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9796   (eval $ac_compile) 2>&5
9797   ac_status=$?
9798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9799   test $ac_status = 0; } 2>conftest.err; then
9800           soname=conftest
9801           lib=conftest
9802           libobjs=conftest.$ac_objext
9803           deplibs=
9804           wl=$lt_prog_compiler_wl
9805           pic_flag=$lt_prog_compiler_pic
9806           compiler_flags=-v
9807           linker_flags=-v
9808           verstring=
9809           output_objdir=.
9810           libname=conftest
9811           lt_save_allow_undefined_flag=$allow_undefined_flag
9812           allow_undefined_flag=
9813           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9814   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9815   ac_status=$?
9816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9817   test $ac_status = 0; }
9818           then
9819             lt_cv_archive_cmds_need_lc=no
9820           else
9821             lt_cv_archive_cmds_need_lc=yes
9822           fi
9823           allow_undefined_flag=$lt_save_allow_undefined_flag
9824         else
9825           cat conftest.err 1>&5
9826         fi
9827         $RM conftest*
9828
9829 fi
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9831 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9832       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9833       ;;
9834     esac
9835   fi
9836   ;;
9837 esac
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9991 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9992
9993 if test "$GCC" = yes; then
9994   case $host_os in
9995     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9996     *) lt_awk_arg="/^libraries:/" ;;
9997   esac
9998   case $host_os in
9999     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10000     *) lt_sed_strip_eq="s,=/,/,g" ;;
10001   esac
10002   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10003   case $lt_search_path_spec in
10004   *\;*)
10005     # if the path contains ";" then we assume it to be the separator
10006     # otherwise default to the standard path separator (i.e. ":") - it is
10007     # assumed that no part of a normal pathname contains ";" but that should
10008     # okay in the real world where ";" in dirpaths is itself problematic.
10009     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10010     ;;
10011   *)
10012     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10013     ;;
10014   esac
10015   # Ok, now we have the path, separated by spaces, we can step through it
10016   # and add multilib dir if necessary.
10017   lt_tmp_lt_search_path_spec=
10018   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10019   for lt_sys_path in $lt_search_path_spec; do
10020     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10021       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10022     else
10023       test -d "$lt_sys_path" && \
10024         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10025     fi
10026   done
10027   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10028 BEGIN {RS=" "; FS="/|\n";} {
10029   lt_foo="";
10030   lt_count=0;
10031   for (lt_i = NF; lt_i > 0; lt_i--) {
10032     if ($lt_i != "" && $lt_i != ".") {
10033       if ($lt_i == "..") {
10034         lt_count++;
10035       } else {
10036         if (lt_count == 0) {
10037           lt_foo="/" $lt_i lt_foo;
10038         } else {
10039           lt_count--;
10040         }
10041       }
10042     }
10043   }
10044   if (lt_foo != "") { lt_freq[lt_foo]++; }
10045   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10046 }'`
10047   # AWK program above erroneously prepends '/' to C:/dos/paths
10048   # for these hosts.
10049   case $host_os in
10050     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10051       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10052   esac
10053   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10054 else
10055   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10056 fi
10057 library_names_spec=
10058 libname_spec='lib$name'
10059 soname_spec=
10060 shrext_cmds=".so"
10061 postinstall_cmds=
10062 postuninstall_cmds=
10063 finish_cmds=
10064 finish_eval=
10065 shlibpath_var=
10066 shlibpath_overrides_runpath=unknown
10067 version_type=none
10068 dynamic_linker="$host_os ld.so"
10069 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10070 need_lib_prefix=unknown
10071 hardcode_into_libs=no
10072
10073 # when you set need_version to no, make sure it does not cause -set_version
10074 # flags to be left without arguments
10075 need_version=unknown
10076
10077 case $host_os in
10078 aix3*)
10079   version_type=linux # correct to gnu/linux during the next big refactor
10080   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10081   shlibpath_var=LIBPATH
10082
10083   # AIX 3 has no versioning support, so we append a major version to the name.
10084   soname_spec='${libname}${release}${shared_ext}$major'
10085   ;;
10086
10087 aix[4-9]*)
10088   version_type=linux # correct to gnu/linux during the next big refactor
10089   need_lib_prefix=no
10090   need_version=no
10091   hardcode_into_libs=yes
10092   if test "$host_cpu" = ia64; then
10093     # AIX 5 supports IA64
10094     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10095     shlibpath_var=LD_LIBRARY_PATH
10096   else
10097     # With GCC up to 2.95.x, collect2 would create an import file
10098     # for dependence libraries.  The import file would start with
10099     # the line `#! .'.  This would cause the generated library to
10100     # depend on `.', always an invalid library.  This was fixed in
10101     # development snapshots of GCC prior to 3.0.
10102     case $host_os in
10103       aix4 | aix4.[01] | aix4.[01].*)
10104       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10105            echo ' yes '
10106            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10107         :
10108       else
10109         can_build_shared=no
10110       fi
10111       ;;
10112     esac
10113     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10114     # soname into executable. Probably we can add versioning support to
10115     # collect2, so additional links can be useful in future.
10116     if test "$aix_use_runtimelinking" = yes; then
10117       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10118       # instead of lib<name>.a to let people know that these are not
10119       # typical AIX shared libraries.
10120       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10121     else
10122       # We preserve .a as extension for shared libraries through AIX4.2
10123       # and later when we are not doing run time linking.
10124       library_names_spec='${libname}${release}.a $libname.a'
10125       soname_spec='${libname}${release}${shared_ext}$major'
10126     fi
10127     shlibpath_var=LIBPATH
10128   fi
10129   ;;
10130
10131 amigaos*)
10132   case $host_cpu in
10133   powerpc)
10134     # Since July 2007 AmigaOS4 officially supports .so libraries.
10135     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10136     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10137     ;;
10138   m68k)
10139     library_names_spec='$libname.ixlibrary $libname.a'
10140     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10141     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'
10142     ;;
10143   esac
10144   ;;
10145
10146 beos*)
10147   library_names_spec='${libname}${shared_ext}'
10148   dynamic_linker="$host_os ld.so"
10149   shlibpath_var=LIBRARY_PATH
10150   ;;
10151
10152 bsdi[45]*)
10153   version_type=linux # correct to gnu/linux during the next big refactor
10154   need_version=no
10155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10156   soname_spec='${libname}${release}${shared_ext}$major'
10157   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10158   shlibpath_var=LD_LIBRARY_PATH
10159   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10160   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10161   # the default ld.so.conf also contains /usr/contrib/lib and
10162   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10163   # libtool to hard-code these into programs
10164   ;;
10165
10166 cygwin* | mingw* | pw32* | cegcc*)
10167   version_type=windows
10168   shrext_cmds=".dll"
10169   need_version=no
10170   need_lib_prefix=no
10171
10172   case $GCC,$cc_basename in
10173   yes,*)
10174     # gcc
10175     library_names_spec='$libname.dll.a'
10176     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10177     postinstall_cmds='base_file=`basename \${file}`~
10178       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10179       dldir=$destdir/`dirname \$dlpath`~
10180       test -d \$dldir || mkdir -p \$dldir~
10181       $install_prog $dir/$dlname \$dldir/$dlname~
10182       chmod a+x \$dldir/$dlname~
10183       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10184         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10185       fi'
10186     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10187       dlpath=$dir/\$dldll~
10188        $RM \$dlpath'
10189     shlibpath_overrides_runpath=yes
10190
10191     case $host_os in
10192     cygwin*)
10193       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10194       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10195
10196       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10197       ;;
10198     mingw* | cegcc*)
10199       # MinGW DLLs use traditional 'lib' prefix
10200       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10201       ;;
10202     pw32*)
10203       # pw32 DLLs use 'pw' prefix rather than 'lib'
10204       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10205       ;;
10206     esac
10207     dynamic_linker='Win32 ld.exe'
10208     ;;
10209
10210   *,cl*)
10211     # Native MSVC
10212     libname_spec='$name'
10213     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10214     library_names_spec='${libname}.dll.lib'
10215
10216     case $build_os in
10217     mingw*)
10218       sys_lib_search_path_spec=
10219       lt_save_ifs=$IFS
10220       IFS=';'
10221       for lt_path in $LIB
10222       do
10223         IFS=$lt_save_ifs
10224         # Let DOS variable expansion print the short 8.3 style file name.
10225         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10226         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10227       done
10228       IFS=$lt_save_ifs
10229       # Convert to MSYS style.
10230       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10231       ;;
10232     cygwin*)
10233       # Convert to unix form, then to dos form, then back to unix form
10234       # but this time dos style (no spaces!) so that the unix form looks
10235       # like /cygdrive/c/PROGRA~1:/cygdr...
10236       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10237       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10238       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10239       ;;
10240     *)
10241       sys_lib_search_path_spec="$LIB"
10242       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10243         # It is most probably a Windows format PATH.
10244         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10245       else
10246         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10247       fi
10248       # FIXME: find the short name or the path components, as spaces are
10249       # common. (e.g. "Program Files" -> "PROGRA~1")
10250       ;;
10251     esac
10252
10253     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10254     postinstall_cmds='base_file=`basename \${file}`~
10255       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10256       dldir=$destdir/`dirname \$dlpath`~
10257       test -d \$dldir || mkdir -p \$dldir~
10258       $install_prog $dir/$dlname \$dldir/$dlname'
10259     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10260       dlpath=$dir/\$dldll~
10261        $RM \$dlpath'
10262     shlibpath_overrides_runpath=yes
10263     dynamic_linker='Win32 link.exe'
10264     ;;
10265
10266   *)
10267     # Assume MSVC wrapper
10268     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10269     dynamic_linker='Win32 ld.exe'
10270     ;;
10271   esac
10272   # FIXME: first we should search . and the directory the executable is in
10273   shlibpath_var=PATH
10274   ;;
10275
10276 darwin* | rhapsody*)
10277   dynamic_linker="$host_os dyld"
10278   version_type=darwin
10279   need_lib_prefix=no
10280   need_version=no
10281   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10282   soname_spec='${libname}${release}${major}$shared_ext'
10283   shlibpath_overrides_runpath=yes
10284   shlibpath_var=DYLD_LIBRARY_PATH
10285   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10286
10287   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10288   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10289   ;;
10290
10291 dgux*)
10292   version_type=linux # correct to gnu/linux during the next big refactor
10293   need_lib_prefix=no
10294   need_version=no
10295   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10296   soname_spec='${libname}${release}${shared_ext}$major'
10297   shlibpath_var=LD_LIBRARY_PATH
10298   ;;
10299
10300 freebsd* | dragonfly*)
10301   # DragonFly does not have aout.  When/if they implement a new
10302   # versioning mechanism, adjust this.
10303   if test -x /usr/bin/objformat; then
10304     objformat=`/usr/bin/objformat`
10305   else
10306     case $host_os in
10307     freebsd[23].*) objformat=aout ;;
10308     *) objformat=elf ;;
10309     esac
10310   fi
10311   version_type=freebsd-$objformat
10312   case $version_type in
10313     freebsd-elf*)
10314       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10315       need_version=no
10316       need_lib_prefix=no
10317       ;;
10318     freebsd-*)
10319       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10320       need_version=yes
10321       ;;
10322   esac
10323   shlibpath_var=LD_LIBRARY_PATH
10324   case $host_os in
10325   freebsd2.*)
10326     shlibpath_overrides_runpath=yes
10327     ;;
10328   freebsd3.[01]* | freebsdelf3.[01]*)
10329     shlibpath_overrides_runpath=yes
10330     hardcode_into_libs=yes
10331     ;;
10332   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10333   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10334     shlibpath_overrides_runpath=no
10335     hardcode_into_libs=yes
10336     ;;
10337   *) # from 4.6 on, and DragonFly
10338     shlibpath_overrides_runpath=yes
10339     hardcode_into_libs=yes
10340     ;;
10341   esac
10342   ;;
10343
10344 gnu*)
10345   version_type=linux # correct to gnu/linux during the next big refactor
10346   need_lib_prefix=no
10347   need_version=no
10348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10349   soname_spec='${libname}${release}${shared_ext}$major'
10350   shlibpath_var=LD_LIBRARY_PATH
10351   shlibpath_overrides_runpath=no
10352   hardcode_into_libs=yes
10353   ;;
10354
10355 haiku*)
10356   version_type=linux # correct to gnu/linux during the next big refactor
10357   need_lib_prefix=no
10358   need_version=no
10359   dynamic_linker="$host_os runtime_loader"
10360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10361   soname_spec='${libname}${release}${shared_ext}$major'
10362   shlibpath_var=LIBRARY_PATH
10363   shlibpath_overrides_runpath=yes
10364   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10365   hardcode_into_libs=yes
10366   ;;
10367
10368 hpux9* | hpux10* | hpux11*)
10369   # Give a soname corresponding to the major version so that dld.sl refuses to
10370   # link against other versions.
10371   version_type=sunos
10372   need_lib_prefix=no
10373   need_version=no
10374   case $host_cpu in
10375   ia64*)
10376     shrext_cmds='.so'
10377     hardcode_into_libs=yes
10378     dynamic_linker="$host_os dld.so"
10379     shlibpath_var=LD_LIBRARY_PATH
10380     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10381     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10382     soname_spec='${libname}${release}${shared_ext}$major'
10383     if test "X$HPUX_IA64_MODE" = X32; then
10384       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10385     else
10386       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10387     fi
10388     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10389     ;;
10390   hppa*64*)
10391     shrext_cmds='.sl'
10392     hardcode_into_libs=yes
10393     dynamic_linker="$host_os dld.sl"
10394     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10395     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10396     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397     soname_spec='${libname}${release}${shared_ext}$major'
10398     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10399     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10400     ;;
10401   *)
10402     shrext_cmds='.sl'
10403     dynamic_linker="$host_os dld.sl"
10404     shlibpath_var=SHLIB_PATH
10405     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10406     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10407     soname_spec='${libname}${release}${shared_ext}$major'
10408     ;;
10409   esac
10410   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10411   postinstall_cmds='chmod 555 $lib'
10412   # or fails outright, so override atomically:
10413   install_override_mode=555
10414   ;;
10415
10416 interix[3-9]*)
10417   version_type=linux # correct to gnu/linux during the next big refactor
10418   need_lib_prefix=no
10419   need_version=no
10420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10421   soname_spec='${libname}${release}${shared_ext}$major'
10422   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10423   shlibpath_var=LD_LIBRARY_PATH
10424   shlibpath_overrides_runpath=no
10425   hardcode_into_libs=yes
10426   ;;
10427
10428 irix5* | irix6* | nonstopux*)
10429   case $host_os in
10430     nonstopux*) version_type=nonstopux ;;
10431     *)
10432         if test "$lt_cv_prog_gnu_ld" = yes; then
10433                 version_type=linux # correct to gnu/linux during the next big refactor
10434         else
10435                 version_type=irix
10436         fi ;;
10437   esac
10438   need_lib_prefix=no
10439   need_version=no
10440   soname_spec='${libname}${release}${shared_ext}$major'
10441   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10442   case $host_os in
10443   irix5* | nonstopux*)
10444     libsuff= shlibsuff=
10445     ;;
10446   *)
10447     case $LD in # libtool.m4 will add one of these switches to LD
10448     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10449       libsuff= shlibsuff= libmagic=32-bit;;
10450     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10451       libsuff=32 shlibsuff=N32 libmagic=N32;;
10452     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10453       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10454     *) libsuff= shlibsuff= libmagic=never-match;;
10455     esac
10456     ;;
10457   esac
10458   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10459   shlibpath_overrides_runpath=no
10460   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10461   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10462   hardcode_into_libs=yes
10463   ;;
10464
10465 # No shared lib support for Linux oldld, aout, or coff.
10466 linux*oldld* | linux*aout* | linux*coff*)
10467   dynamic_linker=no
10468   ;;
10469
10470 # This must be glibc/ELF.
10471 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10472   version_type=linux # correct to gnu/linux during the next big refactor
10473   need_lib_prefix=no
10474   need_version=no
10475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10476   soname_spec='${libname}${release}${shared_ext}$major'
10477   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10478   shlibpath_var=LD_LIBRARY_PATH
10479   shlibpath_overrides_runpath=no
10480
10481   # Some binutils ld are patched to set DT_RUNPATH
10482   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10483   $as_echo_n "(cached) " >&6
10484 else
10485   lt_cv_shlibpath_overrides_runpath=no
10486     save_LDFLAGS=$LDFLAGS
10487     save_libdir=$libdir
10488     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10489          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10490     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10491 /* end confdefs.h.  */
10492
10493 int
10494 main ()
10495 {
10496
10497   ;
10498   return 0;
10499 }
10500 _ACEOF
10501 if ac_fn_c_try_link "$LINENO"; then :
10502   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10503   lt_cv_shlibpath_overrides_runpath=yes
10504 fi
10505 fi
10506 rm -f core conftest.err conftest.$ac_objext \
10507     conftest$ac_exeext conftest.$ac_ext
10508     LDFLAGS=$save_LDFLAGS
10509     libdir=$save_libdir
10510
10511 fi
10512
10513   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10514
10515   # This implies no fast_install, which is unacceptable.
10516   # Some rework will be needed to allow for fast_install
10517   # before this can be enabled.
10518   hardcode_into_libs=yes
10519
10520   # Append ld.so.conf contents to the search path
10521   if test -f /etc/ld.so.conf; then
10522     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' ' '`
10523     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10524   fi
10525
10526   # We used to test for /lib/ld.so.1 and disable shared libraries on
10527   # powerpc, because MkLinux only supported shared libraries with the
10528   # GNU dynamic linker.  Since this was broken with cross compilers,
10529   # most powerpc-linux boxes support dynamic linking these days and
10530   # people can always --disable-shared, the test was removed, and we
10531   # assume the GNU/Linux dynamic linker is in use.
10532   dynamic_linker='GNU/Linux ld.so'
10533   ;;
10534
10535 netbsd*)
10536   version_type=sunos
10537   need_lib_prefix=no
10538   need_version=no
10539   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10540     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10541     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10542     dynamic_linker='NetBSD (a.out) ld.so'
10543   else
10544     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10545     soname_spec='${libname}${release}${shared_ext}$major'
10546     dynamic_linker='NetBSD ld.elf_so'
10547   fi
10548   shlibpath_var=LD_LIBRARY_PATH
10549   shlibpath_overrides_runpath=yes
10550   hardcode_into_libs=yes
10551   ;;
10552
10553 newsos6)
10554   version_type=linux # correct to gnu/linux during the next big refactor
10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10556   shlibpath_var=LD_LIBRARY_PATH
10557   shlibpath_overrides_runpath=yes
10558   ;;
10559
10560 *nto* | *qnx*)
10561   version_type=qnx
10562   need_lib_prefix=no
10563   need_version=no
10564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565   soname_spec='${libname}${release}${shared_ext}$major'
10566   shlibpath_var=LD_LIBRARY_PATH
10567   shlibpath_overrides_runpath=no
10568   hardcode_into_libs=yes
10569   dynamic_linker='ldqnx.so'
10570   ;;
10571
10572 openbsd*)
10573   version_type=sunos
10574   sys_lib_dlsearch_path_spec="/usr/lib"
10575   need_lib_prefix=no
10576   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10577   case $host_os in
10578     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10579     *)                          need_version=no  ;;
10580   esac
10581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10582   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10583   shlibpath_var=LD_LIBRARY_PATH
10584   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10585     case $host_os in
10586       openbsd2.[89] | openbsd2.[89].*)
10587         shlibpath_overrides_runpath=no
10588         ;;
10589       *)
10590         shlibpath_overrides_runpath=yes
10591         ;;
10592       esac
10593   else
10594     shlibpath_overrides_runpath=yes
10595   fi
10596   ;;
10597
10598 os2*)
10599   libname_spec='$name'
10600   shrext_cmds=".dll"
10601   need_lib_prefix=no
10602   library_names_spec='$libname${shared_ext} $libname.a'
10603   dynamic_linker='OS/2 ld.exe'
10604   shlibpath_var=LIBPATH
10605   ;;
10606
10607 osf3* | osf4* | osf5*)
10608   version_type=osf
10609   need_lib_prefix=no
10610   need_version=no
10611   soname_spec='${libname}${release}${shared_ext}$major'
10612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613   shlibpath_var=LD_LIBRARY_PATH
10614   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10615   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10616   ;;
10617
10618 rdos*)
10619   dynamic_linker=no
10620   ;;
10621
10622 solaris*)
10623   version_type=linux # correct to gnu/linux during the next big refactor
10624   need_lib_prefix=no
10625   need_version=no
10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10627   soname_spec='${libname}${release}${shared_ext}$major'
10628   shlibpath_var=LD_LIBRARY_PATH
10629   shlibpath_overrides_runpath=yes
10630   hardcode_into_libs=yes
10631   # ldd complains unless libraries are executable
10632   postinstall_cmds='chmod +x $lib'
10633   ;;
10634
10635 sunos4*)
10636   version_type=sunos
10637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10638   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10639   shlibpath_var=LD_LIBRARY_PATH
10640   shlibpath_overrides_runpath=yes
10641   if test "$with_gnu_ld" = yes; then
10642     need_lib_prefix=no
10643   fi
10644   need_version=yes
10645   ;;
10646
10647 sysv4 | sysv4.3*)
10648   version_type=linux # correct to gnu/linux during the next big refactor
10649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650   soname_spec='${libname}${release}${shared_ext}$major'
10651   shlibpath_var=LD_LIBRARY_PATH
10652   case $host_vendor in
10653     sni)
10654       shlibpath_overrides_runpath=no
10655       need_lib_prefix=no
10656       runpath_var=LD_RUN_PATH
10657       ;;
10658     siemens)
10659       need_lib_prefix=no
10660       ;;
10661     motorola)
10662       need_lib_prefix=no
10663       need_version=no
10664       shlibpath_overrides_runpath=no
10665       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10666       ;;
10667   esac
10668   ;;
10669
10670 sysv4*MP*)
10671   if test -d /usr/nec ;then
10672     version_type=linux # correct to gnu/linux during the next big refactor
10673     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10674     soname_spec='$libname${shared_ext}.$major'
10675     shlibpath_var=LD_LIBRARY_PATH
10676   fi
10677   ;;
10678
10679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10680   version_type=freebsd-elf
10681   need_lib_prefix=no
10682   need_version=no
10683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10684   soname_spec='${libname}${release}${shared_ext}$major'
10685   shlibpath_var=LD_LIBRARY_PATH
10686   shlibpath_overrides_runpath=yes
10687   hardcode_into_libs=yes
10688   if test "$with_gnu_ld" = yes; then
10689     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10690   else
10691     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10692     case $host_os in
10693       sco3.2v5*)
10694         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10695         ;;
10696     esac
10697   fi
10698   sys_lib_dlsearch_path_spec='/usr/lib'
10699   ;;
10700
10701 tpf*)
10702   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10703   version_type=linux # correct to gnu/linux during the next big refactor
10704   need_lib_prefix=no
10705   need_version=no
10706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707   shlibpath_var=LD_LIBRARY_PATH
10708   shlibpath_overrides_runpath=no
10709   hardcode_into_libs=yes
10710   ;;
10711
10712 uts4*)
10713   version_type=linux # correct to gnu/linux during the next big refactor
10714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10715   soname_spec='${libname}${release}${shared_ext}$major'
10716   shlibpath_var=LD_LIBRARY_PATH
10717   ;;
10718
10719 *)
10720   dynamic_linker=no
10721   ;;
10722 esac
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10724 $as_echo "$dynamic_linker" >&6; }
10725 test "$dynamic_linker" = no && can_build_shared=no
10726
10727 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10728 if test "$GCC" = yes; then
10729   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10730 fi
10731
10732 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10733   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10734 fi
10735 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10736   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10737 fi
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10831 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10832 hardcode_action=
10833 if test -n "$hardcode_libdir_flag_spec" ||
10834    test -n "$runpath_var" ||
10835    test "X$hardcode_automatic" = "Xyes" ; then
10836
10837   # We can hardcode non-existent directories.
10838   if test "$hardcode_direct" != no &&
10839      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10840      # have to relink, otherwise we might link with an installed library
10841      # when we should be linking with a yet-to-be-installed one
10842      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10843      test "$hardcode_minus_L" != no; then
10844     # Linking always hardcodes the temporary library directory.
10845     hardcode_action=relink
10846   else
10847     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10848     hardcode_action=immediate
10849   fi
10850 else
10851   # We cannot hardcode anything, or else we can only hardcode existing
10852   # directories.
10853   hardcode_action=unsupported
10854 fi
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10856 $as_echo "$hardcode_action" >&6; }
10857
10858 if test "$hardcode_action" = relink ||
10859    test "$inherit_rpath" = yes; then
10860   # Fast installation is not supported
10861   enable_fast_install=no
10862 elif test "$shlibpath_overrides_runpath" = yes ||
10863      test "$enable_shared" = no; then
10864   # Fast installation is not necessary
10865   enable_fast_install=needless
10866 fi
10867
10868
10869
10870
10871
10872
10873   if test "x$enable_dlopen" != xyes; then
10874   enable_dlopen=unknown
10875   enable_dlopen_self=unknown
10876   enable_dlopen_self_static=unknown
10877 else
10878   lt_cv_dlopen=no
10879   lt_cv_dlopen_libs=
10880
10881   case $host_os in
10882   beos*)
10883     lt_cv_dlopen="load_add_on"
10884     lt_cv_dlopen_libs=
10885     lt_cv_dlopen_self=yes
10886     ;;
10887
10888   mingw* | pw32* | cegcc*)
10889     lt_cv_dlopen="LoadLibrary"
10890     lt_cv_dlopen_libs=
10891     ;;
10892
10893   cygwin*)
10894     lt_cv_dlopen="dlopen"
10895     lt_cv_dlopen_libs=
10896     ;;
10897
10898   darwin*)
10899   # if libdl is installed we need to link against it
10900     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10901 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10902 if ${ac_cv_lib_dl_dlopen+:} false; then :
10903   $as_echo_n "(cached) " >&6
10904 else
10905   ac_check_lib_save_LIBS=$LIBS
10906 LIBS="-ldl  $LIBS"
10907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h.  */
10909
10910 /* Override any GCC internal prototype to avoid an error.
10911    Use char because int might match the return type of a GCC
10912    builtin and then its argument prototype would still apply.  */
10913 #ifdef __cplusplus
10914 extern "C"
10915 #endif
10916 char dlopen ();
10917 int
10918 main ()
10919 {
10920 return dlopen ();
10921   ;
10922   return 0;
10923 }
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926   ac_cv_lib_dl_dlopen=yes
10927 else
10928   ac_cv_lib_dl_dlopen=no
10929 fi
10930 rm -f core conftest.err conftest.$ac_objext \
10931     conftest$ac_exeext conftest.$ac_ext
10932 LIBS=$ac_check_lib_save_LIBS
10933 fi
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10935 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10936 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10937   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10938 else
10939
10940     lt_cv_dlopen="dyld"
10941     lt_cv_dlopen_libs=
10942     lt_cv_dlopen_self=yes
10943
10944 fi
10945
10946     ;;
10947
10948   *)
10949     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10950 if test "x$ac_cv_func_shl_load" = xyes; then :
10951   lt_cv_dlopen="shl_load"
10952 else
10953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10954 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10955 if ${ac_cv_lib_dld_shl_load+:} false; then :
10956   $as_echo_n "(cached) " >&6
10957 else
10958   ac_check_lib_save_LIBS=$LIBS
10959 LIBS="-ldld  $LIBS"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h.  */
10962
10963 /* Override any GCC internal prototype to avoid an error.
10964    Use char because int might match the return type of a GCC
10965    builtin and then its argument prototype would still apply.  */
10966 #ifdef __cplusplus
10967 extern "C"
10968 #endif
10969 char shl_load ();
10970 int
10971 main ()
10972 {
10973 return shl_load ();
10974   ;
10975   return 0;
10976 }
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979   ac_cv_lib_dld_shl_load=yes
10980 else
10981   ac_cv_lib_dld_shl_load=no
10982 fi
10983 rm -f core conftest.err conftest.$ac_objext \
10984     conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10986 fi
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10988 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10989 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10990   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10991 else
10992   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10993 if test "x$ac_cv_func_dlopen" = xyes; then :
10994   lt_cv_dlopen="dlopen"
10995 else
10996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10997 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10998 if ${ac_cv_lib_dl_dlopen+:} false; then :
10999   $as_echo_n "(cached) " >&6
11000 else
11001   ac_check_lib_save_LIBS=$LIBS
11002 LIBS="-ldl  $LIBS"
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h.  */
11005
11006 /* Override any GCC internal prototype to avoid an error.
11007    Use char because int might match the return type of a GCC
11008    builtin and then its argument prototype would still apply.  */
11009 #ifdef __cplusplus
11010 extern "C"
11011 #endif
11012 char dlopen ();
11013 int
11014 main ()
11015 {
11016 return dlopen ();
11017   ;
11018   return 0;
11019 }
11020 _ACEOF
11021 if ac_fn_c_try_link "$LINENO"; then :
11022   ac_cv_lib_dl_dlopen=yes
11023 else
11024   ac_cv_lib_dl_dlopen=no
11025 fi
11026 rm -f core conftest.err conftest.$ac_objext \
11027     conftest$ac_exeext conftest.$ac_ext
11028 LIBS=$ac_check_lib_save_LIBS
11029 fi
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11031 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11032 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11033   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11034 else
11035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11036 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11037 if ${ac_cv_lib_svld_dlopen+:} false; then :
11038   $as_echo_n "(cached) " >&6
11039 else
11040   ac_check_lib_save_LIBS=$LIBS
11041 LIBS="-lsvld  $LIBS"
11042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h.  */
11044
11045 /* Override any GCC internal prototype to avoid an error.
11046    Use char because int might match the return type of a GCC
11047    builtin and then its argument prototype would still apply.  */
11048 #ifdef __cplusplus
11049 extern "C"
11050 #endif
11051 char dlopen ();
11052 int
11053 main ()
11054 {
11055 return dlopen ();
11056   ;
11057   return 0;
11058 }
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"; then :
11061   ac_cv_lib_svld_dlopen=yes
11062 else
11063   ac_cv_lib_svld_dlopen=no
11064 fi
11065 rm -f core conftest.err conftest.$ac_objext \
11066     conftest$ac_exeext conftest.$ac_ext
11067 LIBS=$ac_check_lib_save_LIBS
11068 fi
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11070 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11071 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11072   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11073 else
11074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11075 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11076 if ${ac_cv_lib_dld_dld_link+:} false; then :
11077   $as_echo_n "(cached) " >&6
11078 else
11079   ac_check_lib_save_LIBS=$LIBS
11080 LIBS="-ldld  $LIBS"
11081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h.  */
11083
11084 /* Override any GCC internal prototype to avoid an error.
11085    Use char because int might match the return type of a GCC
11086    builtin and then its argument prototype would still apply.  */
11087 #ifdef __cplusplus
11088 extern "C"
11089 #endif
11090 char dld_link ();
11091 int
11092 main ()
11093 {
11094 return dld_link ();
11095   ;
11096   return 0;
11097 }
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"; then :
11100   ac_cv_lib_dld_dld_link=yes
11101 else
11102   ac_cv_lib_dld_dld_link=no
11103 fi
11104 rm -f core conftest.err conftest.$ac_objext \
11105     conftest$ac_exeext conftest.$ac_ext
11106 LIBS=$ac_check_lib_save_LIBS
11107 fi
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11109 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11110 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11111   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11112 fi
11113
11114
11115 fi
11116
11117
11118 fi
11119
11120
11121 fi
11122
11123
11124 fi
11125
11126
11127 fi
11128
11129     ;;
11130   esac
11131
11132   if test "x$lt_cv_dlopen" != xno; then
11133     enable_dlopen=yes
11134   else
11135     enable_dlopen=no
11136   fi
11137
11138   case $lt_cv_dlopen in
11139   dlopen)
11140     save_CPPFLAGS="$CPPFLAGS"
11141     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11142
11143     save_LDFLAGS="$LDFLAGS"
11144     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11145
11146     save_LIBS="$LIBS"
11147     LIBS="$lt_cv_dlopen_libs $LIBS"
11148
11149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11150 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11151 if ${lt_cv_dlopen_self+:} false; then :
11152   $as_echo_n "(cached) " >&6
11153 else
11154           if test "$cross_compiling" = yes; then :
11155   lt_cv_dlopen_self=cross
11156 else
11157   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11158   lt_status=$lt_dlunknown
11159   cat > conftest.$ac_ext <<_LT_EOF
11160 #line $LINENO "configure"
11161 #include "confdefs.h"
11162
11163 #if HAVE_DLFCN_H
11164 #include <dlfcn.h>
11165 #endif
11166
11167 #include <stdio.h>
11168
11169 #ifdef RTLD_GLOBAL
11170 #  define LT_DLGLOBAL           RTLD_GLOBAL
11171 #else
11172 #  ifdef DL_GLOBAL
11173 #    define LT_DLGLOBAL         DL_GLOBAL
11174 #  else
11175 #    define LT_DLGLOBAL         0
11176 #  endif
11177 #endif
11178
11179 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11180    find out it does not work in some platform. */
11181 #ifndef LT_DLLAZY_OR_NOW
11182 #  ifdef RTLD_LAZY
11183 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11184 #  else
11185 #    ifdef DL_LAZY
11186 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11187 #    else
11188 #      ifdef RTLD_NOW
11189 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11190 #      else
11191 #        ifdef DL_NOW
11192 #          define LT_DLLAZY_OR_NOW      DL_NOW
11193 #        else
11194 #          define LT_DLLAZY_OR_NOW      0
11195 #        endif
11196 #      endif
11197 #    endif
11198 #  endif
11199 #endif
11200
11201 /* When -fvisbility=hidden is used, assume the code has been annotated
11202    correspondingly for the symbols needed.  */
11203 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11204 int fnord () __attribute__((visibility("default")));
11205 #endif
11206
11207 int fnord () { return 42; }
11208 int main ()
11209 {
11210   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11211   int status = $lt_dlunknown;
11212
11213   if (self)
11214     {
11215       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11216       else
11217         {
11218           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11219           else puts (dlerror ());
11220         }
11221       /* dlclose (self); */
11222     }
11223   else
11224     puts (dlerror ());
11225
11226   return status;
11227 }
11228 _LT_EOF
11229   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11230   (eval $ac_link) 2>&5
11231   ac_status=$?
11232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11233   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11234     (./conftest; exit; ) >&5 2>/dev/null
11235     lt_status=$?
11236     case x$lt_status in
11237       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11238       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11239       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11240     esac
11241   else :
11242     # compilation failed
11243     lt_cv_dlopen_self=no
11244   fi
11245 fi
11246 rm -fr conftest*
11247
11248
11249 fi
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11251 $as_echo "$lt_cv_dlopen_self" >&6; }
11252
11253     if test "x$lt_cv_dlopen_self" = xyes; then
11254       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11255       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11256 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11257 if ${lt_cv_dlopen_self_static+:} false; then :
11258   $as_echo_n "(cached) " >&6
11259 else
11260           if test "$cross_compiling" = yes; then :
11261   lt_cv_dlopen_self_static=cross
11262 else
11263   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11264   lt_status=$lt_dlunknown
11265   cat > conftest.$ac_ext <<_LT_EOF
11266 #line $LINENO "configure"
11267 #include "confdefs.h"
11268
11269 #if HAVE_DLFCN_H
11270 #include <dlfcn.h>
11271 #endif
11272
11273 #include <stdio.h>
11274
11275 #ifdef RTLD_GLOBAL
11276 #  define LT_DLGLOBAL           RTLD_GLOBAL
11277 #else
11278 #  ifdef DL_GLOBAL
11279 #    define LT_DLGLOBAL         DL_GLOBAL
11280 #  else
11281 #    define LT_DLGLOBAL         0
11282 #  endif
11283 #endif
11284
11285 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11286    find out it does not work in some platform. */
11287 #ifndef LT_DLLAZY_OR_NOW
11288 #  ifdef RTLD_LAZY
11289 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11290 #  else
11291 #    ifdef DL_LAZY
11292 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11293 #    else
11294 #      ifdef RTLD_NOW
11295 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11296 #      else
11297 #        ifdef DL_NOW
11298 #          define LT_DLLAZY_OR_NOW      DL_NOW
11299 #        else
11300 #          define LT_DLLAZY_OR_NOW      0
11301 #        endif
11302 #      endif
11303 #    endif
11304 #  endif
11305 #endif
11306
11307 /* When -fvisbility=hidden is used, assume the code has been annotated
11308    correspondingly for the symbols needed.  */
11309 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11310 int fnord () __attribute__((visibility("default")));
11311 #endif
11312
11313 int fnord () { return 42; }
11314 int main ()
11315 {
11316   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11317   int status = $lt_dlunknown;
11318
11319   if (self)
11320     {
11321       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11322       else
11323         {
11324           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11325           else puts (dlerror ());
11326         }
11327       /* dlclose (self); */
11328     }
11329   else
11330     puts (dlerror ());
11331
11332   return status;
11333 }
11334 _LT_EOF
11335   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11336   (eval $ac_link) 2>&5
11337   ac_status=$?
11338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11339   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11340     (./conftest; exit; ) >&5 2>/dev/null
11341     lt_status=$?
11342     case x$lt_status in
11343       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11344       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11345       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11346     esac
11347   else :
11348     # compilation failed
11349     lt_cv_dlopen_self_static=no
11350   fi
11351 fi
11352 rm -fr conftest*
11353
11354
11355 fi
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11357 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11358     fi
11359
11360     CPPFLAGS="$save_CPPFLAGS"
11361     LDFLAGS="$save_LDFLAGS"
11362     LIBS="$save_LIBS"
11363     ;;
11364   esac
11365
11366   case $lt_cv_dlopen_self in
11367   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11368   *) enable_dlopen_self=unknown ;;
11369   esac
11370
11371   case $lt_cv_dlopen_self_static in
11372   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11373   *) enable_dlopen_self_static=unknown ;;
11374   esac
11375 fi
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393 striplib=
11394 old_striplib=
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11396 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11397 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11398   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11399   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11401 $as_echo "yes" >&6; }
11402 else
11403 # FIXME - insert some real tests, host_os isn't really good enough
11404   case $host_os in
11405   darwin*)
11406     if test -n "$STRIP" ; then
11407       striplib="$STRIP -x"
11408       old_striplib="$STRIP -S"
11409       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11410 $as_echo "yes" >&6; }
11411     else
11412       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11413 $as_echo "no" >&6; }
11414     fi
11415     ;;
11416   *)
11417     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11418 $as_echo "no" >&6; }
11419     ;;
11420   esac
11421 fi
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434   # Report which library types will actually be built
11435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11436 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11438 $as_echo "$can_build_shared" >&6; }
11439
11440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11441 $as_echo_n "checking whether to build shared libraries... " >&6; }
11442   test "$can_build_shared" = "no" && enable_shared=no
11443
11444   # On AIX, shared libraries and static libraries use the same namespace, and
11445   # are all built from PIC.
11446   case $host_os in
11447   aix3*)
11448     test "$enable_shared" = yes && enable_static=no
11449     if test -n "$RANLIB"; then
11450       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11451       postinstall_cmds='$RANLIB $lib'
11452     fi
11453     ;;
11454
11455   aix[4-9]*)
11456     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11457       test "$enable_shared" = yes && enable_static=no
11458     fi
11459     ;;
11460   esac
11461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11462 $as_echo "$enable_shared" >&6; }
11463
11464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11465 $as_echo_n "checking whether to build static libraries... " >&6; }
11466   # Make sure either enable_shared or enable_static is yes.
11467   test "$enable_shared" = yes || enable_static=yes
11468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11469 $as_echo "$enable_static" >&6; }
11470
11471
11472
11473
11474 fi
11475 ac_ext=c
11476 ac_cpp='$CPP $CPPFLAGS'
11477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11480
11481 CC="$lt_save_CC"
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497         ac_config_commands="$ac_config_commands libtool"
11498
11499
11500
11501
11502 # Only expand once:
11503
11504
11505
11506
11507
11508
11509
11510
11511 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11512         if test -n "$ac_tool_prefix"; then
11513   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11514 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11516 $as_echo_n "checking for $ac_word... " >&6; }
11517 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11518   $as_echo_n "(cached) " >&6
11519 else
11520   case $PKG_CONFIG in
11521   [\\/]* | ?:[\\/]*)
11522   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11523   ;;
11524   *)
11525   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11526 for as_dir in $PATH
11527 do
11528   IFS=$as_save_IFS
11529   test -z "$as_dir" && as_dir=.
11530     for ac_exec_ext in '' $ac_executable_extensions; do
11531   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11532     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11534     break 2
11535   fi
11536 done
11537   done
11538 IFS=$as_save_IFS
11539
11540   ;;
11541 esac
11542 fi
11543 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11544 if test -n "$PKG_CONFIG"; then
11545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11546 $as_echo "$PKG_CONFIG" >&6; }
11547 else
11548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11549 $as_echo "no" >&6; }
11550 fi
11551
11552
11553 fi
11554 if test -z "$ac_cv_path_PKG_CONFIG"; then
11555   ac_pt_PKG_CONFIG=$PKG_CONFIG
11556   # Extract the first word of "pkg-config", so it can be a program name with args.
11557 set dummy pkg-config; ac_word=$2
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11559 $as_echo_n "checking for $ac_word... " >&6; }
11560 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11561   $as_echo_n "(cached) " >&6
11562 else
11563   case $ac_pt_PKG_CONFIG in
11564   [\\/]* | ?:[\\/]*)
11565   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11566   ;;
11567   *)
11568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11569 for as_dir in $PATH
11570 do
11571   IFS=$as_save_IFS
11572   test -z "$as_dir" && as_dir=.
11573     for ac_exec_ext in '' $ac_executable_extensions; do
11574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11575     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11577     break 2
11578   fi
11579 done
11580   done
11581 IFS=$as_save_IFS
11582
11583   ;;
11584 esac
11585 fi
11586 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11587 if test -n "$ac_pt_PKG_CONFIG"; then
11588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11589 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11590 else
11591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11592 $as_echo "no" >&6; }
11593 fi
11594
11595   if test "x$ac_pt_PKG_CONFIG" = x; then
11596     PKG_CONFIG=""
11597   else
11598     case $cross_compiling:$ac_tool_warned in
11599 yes:)
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11602 ac_tool_warned=yes ;;
11603 esac
11604     PKG_CONFIG=$ac_pt_PKG_CONFIG
11605   fi
11606 else
11607   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11608 fi
11609
11610 fi
11611 if test -n "$PKG_CONFIG"; then
11612         _pkg_min_version=0.9.0
11613         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11614 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11615         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11616                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11617 $as_echo "yes" >&6; }
11618         else
11619                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11620 $as_echo "no" >&6; }
11621                 PKG_CONFIG=""
11622         fi
11623 fi
11624
11625 ac_config_headers="$ac_config_headers config.h"
11626
11627
11628
11629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11630 $as_echo_n "checking whether NLS is requested... " >&6; }
11631     # Check whether --enable-nls was given.
11632 if test "${enable_nls+set}" = set; then :
11633   enableval=$enable_nls; USE_NLS=$enableval
11634 else
11635   USE_NLS=yes
11636 fi
11637
11638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11639 $as_echo "$USE_NLS" >&6; }
11640
11641
11642
11643
11644 case "$am__api_version" in
11645     1.01234)
11646         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
11647     ;;
11648     *)
11649     ;;
11650 esac
11651
11652 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11653 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
11654 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11655 if test -n "0.40.0"; then
11656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
11657 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
11658     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
11659 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
11660     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11661         as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
11662 fi
11663
11664 # Extract the first word of "intltool-update", so it can be a program name with args.
11665 set dummy intltool-update; ac_word=$2
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11667 $as_echo_n "checking for $ac_word... " >&6; }
11668 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
11669   $as_echo_n "(cached) " >&6
11670 else
11671   case $INTLTOOL_UPDATE in
11672   [\\/]* | ?:[\\/]*)
11673   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
11674   ;;
11675   *)
11676   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11677 for as_dir in $PATH
11678 do
11679   IFS=$as_save_IFS
11680   test -z "$as_dir" && as_dir=.
11681     for ac_exec_ext in '' $ac_executable_extensions; do
11682   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11683     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
11684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11685     break 2
11686   fi
11687 done
11688   done
11689 IFS=$as_save_IFS
11690
11691   ;;
11692 esac
11693 fi
11694 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
11695 if test -n "$INTLTOOL_UPDATE"; then
11696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
11697 $as_echo "$INTLTOOL_UPDATE" >&6; }
11698 else
11699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11700 $as_echo "no" >&6; }
11701 fi
11702
11703
11704 # Extract the first word of "intltool-merge", so it can be a program name with args.
11705 set dummy intltool-merge; ac_word=$2
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11707 $as_echo_n "checking for $ac_word... " >&6; }
11708 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
11709   $as_echo_n "(cached) " >&6
11710 else
11711   case $INTLTOOL_MERGE in
11712   [\\/]* | ?:[\\/]*)
11713   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
11714   ;;
11715   *)
11716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717 for as_dir in $PATH
11718 do
11719   IFS=$as_save_IFS
11720   test -z "$as_dir" && as_dir=.
11721     for ac_exec_ext in '' $ac_executable_extensions; do
11722   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11723     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
11724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11725     break 2
11726   fi
11727 done
11728   done
11729 IFS=$as_save_IFS
11730
11731   ;;
11732 esac
11733 fi
11734 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
11735 if test -n "$INTLTOOL_MERGE"; then
11736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
11737 $as_echo "$INTLTOOL_MERGE" >&6; }
11738 else
11739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11740 $as_echo "no" >&6; }
11741 fi
11742
11743
11744 # Extract the first word of "intltool-extract", so it can be a program name with args.
11745 set dummy intltool-extract; ac_word=$2
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11747 $as_echo_n "checking for $ac_word... " >&6; }
11748 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
11749   $as_echo_n "(cached) " >&6
11750 else
11751   case $INTLTOOL_EXTRACT in
11752   [\\/]* | ?:[\\/]*)
11753   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
11754   ;;
11755   *)
11756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11757 for as_dir in $PATH
11758 do
11759   IFS=$as_save_IFS
11760   test -z "$as_dir" && as_dir=.
11761     for ac_exec_ext in '' $ac_executable_extensions; do
11762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11763     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
11764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11765     break 2
11766   fi
11767 done
11768   done
11769 IFS=$as_save_IFS
11770
11771   ;;
11772 esac
11773 fi
11774 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
11775 if test -n "$INTLTOOL_EXTRACT"; then
11776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
11777 $as_echo "$INTLTOOL_EXTRACT" >&6; }
11778 else
11779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11781 fi
11782
11783
11784 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
11785     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
11786 fi
11787
11788 if test -z "$AM_DEFAULT_VERBOSITY"; then
11789   AM_DEFAULT_VERBOSITY=1
11790 fi
11791
11792
11793 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
11794 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
11795 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
11796
11797
11798
11799
11800 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
11801 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
11802 intltool__v_merge_options_0='-q'
11803
11804
11805
11806
11807   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11808 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11809      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11810      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11811       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
11812      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11813    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11814     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11815 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11816        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11817       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11818 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
11819       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
11820 else
11821       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
11822 fi
11823       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11824       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11825     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11826   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11827     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11828     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11829    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927 # Check the gettext tools to make sure they are GNU
11928 # Extract the first word of "xgettext", so it can be a program name with args.
11929 set dummy xgettext; ac_word=$2
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11931 $as_echo_n "checking for $ac_word... " >&6; }
11932 if ${ac_cv_path_XGETTEXT+:} false; then :
11933   $as_echo_n "(cached) " >&6
11934 else
11935   case $XGETTEXT in
11936   [\\/]* | ?:[\\/]*)
11937   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11938   ;;
11939   *)
11940   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11941 for as_dir in $PATH
11942 do
11943   IFS=$as_save_IFS
11944   test -z "$as_dir" && as_dir=.
11945     for ac_exec_ext in '' $ac_executable_extensions; do
11946   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11947     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
11948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11949     break 2
11950   fi
11951 done
11952   done
11953 IFS=$as_save_IFS
11954
11955   ;;
11956 esac
11957 fi
11958 XGETTEXT=$ac_cv_path_XGETTEXT
11959 if test -n "$XGETTEXT"; then
11960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11961 $as_echo "$XGETTEXT" >&6; }
11962 else
11963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11964 $as_echo "no" >&6; }
11965 fi
11966
11967
11968 # Extract the first word of "msgmerge", so it can be a program name with args.
11969 set dummy msgmerge; ac_word=$2
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11971 $as_echo_n "checking for $ac_word... " >&6; }
11972 if ${ac_cv_path_MSGMERGE+:} false; then :
11973   $as_echo_n "(cached) " >&6
11974 else
11975   case $MSGMERGE in
11976   [\\/]* | ?:[\\/]*)
11977   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11978   ;;
11979   *)
11980   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11981 for as_dir in $PATH
11982 do
11983   IFS=$as_save_IFS
11984   test -z "$as_dir" && as_dir=.
11985     for ac_exec_ext in '' $ac_executable_extensions; do
11986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11987     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
11988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11989     break 2
11990   fi
11991 done
11992   done
11993 IFS=$as_save_IFS
11994
11995   ;;
11996 esac
11997 fi
11998 MSGMERGE=$ac_cv_path_MSGMERGE
11999 if test -n "$MSGMERGE"; then
12000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12001 $as_echo "$MSGMERGE" >&6; }
12002 else
12003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12005 fi
12006
12007
12008 # Extract the first word of "msgfmt", so it can be a program name with args.
12009 set dummy msgfmt; ac_word=$2
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12011 $as_echo_n "checking for $ac_word... " >&6; }
12012 if ${ac_cv_path_MSGFMT+:} false; then :
12013   $as_echo_n "(cached) " >&6
12014 else
12015   case $MSGFMT in
12016   [\\/]* | ?:[\\/]*)
12017   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12018   ;;
12019   *)
12020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12021 for as_dir in $PATH
12022 do
12023   IFS=$as_save_IFS
12024   test -z "$as_dir" && as_dir=.
12025     for ac_exec_ext in '' $ac_executable_extensions; do
12026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12027     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12029     break 2
12030   fi
12031 done
12032   done
12033 IFS=$as_save_IFS
12034
12035   ;;
12036 esac
12037 fi
12038 MSGFMT=$ac_cv_path_MSGFMT
12039 if test -n "$MSGFMT"; then
12040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12041 $as_echo "$MSGFMT" >&6; }
12042 else
12043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12044 $as_echo "no" >&6; }
12045 fi
12046
12047
12048 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12049 set dummy gmsgfmt; ac_word=$2
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12051 $as_echo_n "checking for $ac_word... " >&6; }
12052 if ${ac_cv_path_GMSGFMT+:} false; then :
12053   $as_echo_n "(cached) " >&6
12054 else
12055   case $GMSGFMT in
12056   [\\/]* | ?:[\\/]*)
12057   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12058   ;;
12059   *)
12060   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12061 for as_dir in $PATH
12062 do
12063   IFS=$as_save_IFS
12064   test -z "$as_dir" && as_dir=.
12065     for ac_exec_ext in '' $ac_executable_extensions; do
12066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12067     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12069     break 2
12070   fi
12071 done
12072   done
12073 IFS=$as_save_IFS
12074
12075   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12076   ;;
12077 esac
12078 fi
12079 GMSGFMT=$ac_cv_path_GMSGFMT
12080 if test -n "$GMSGFMT"; then
12081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12082 $as_echo "$GMSGFMT" >&6; }
12083 else
12084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12085 $as_echo "no" >&6; }
12086 fi
12087
12088
12089 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12090     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12091 fi
12092 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12093 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12094 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12095 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12096     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12097 fi
12098
12099 # Extract the first word of "perl", so it can be a program name with args.
12100 set dummy perl; ac_word=$2
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12102 $as_echo_n "checking for $ac_word... " >&6; }
12103 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12104   $as_echo_n "(cached) " >&6
12105 else
12106   case $INTLTOOL_PERL in
12107   [\\/]* | ?:[\\/]*)
12108   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12109   ;;
12110   *)
12111   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12112 for as_dir in $PATH
12113 do
12114   IFS=$as_save_IFS
12115   test -z "$as_dir" && as_dir=.
12116     for ac_exec_ext in '' $ac_executable_extensions; do
12117   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12118     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12120     break 2
12121   fi
12122 done
12123   done
12124 IFS=$as_save_IFS
12125
12126   ;;
12127 esac
12128 fi
12129 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12130 if test -n "$INTLTOOL_PERL"; then
12131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12132 $as_echo "$INTLTOOL_PERL" >&6; }
12133 else
12134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12135 $as_echo "no" >&6; }
12136 fi
12137
12138
12139 if test -z "$INTLTOOL_PERL"; then
12140    as_fn_error $? "perl not found" "$LINENO" 5
12141 fi
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12143 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
12144 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12145 if test $? -ne 0; then
12146    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12147 else
12148    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12149    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12150 $as_echo "$IT_PERL_VERSION" >&6; }
12151 fi
12152 if test "x" != "xno-xml"; then
12153    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12154 $as_echo_n "checking for XML::Parser... " >&6; }
12155    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12156        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12157 $as_echo "ok" >&6; }
12158    else
12159        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12160    fi
12161 fi
12162
12163 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12164
12165
12166 # Set DATADIRNAME correctly if it is not set yet
12167 # (copied from glib-gettext.m4)
12168 if test -z "$DATADIRNAME"; then
12169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h.  */
12171
12172 int
12173 main ()
12174 {
12175 extern int _nl_msg_cat_cntr;
12176                        return _nl_msg_cat_cntr
12177   ;
12178   return 0;
12179 }
12180 _ACEOF
12181 if ac_fn_c_try_link "$LINENO"; then :
12182   DATADIRNAME=share
12183 else
12184   case $host in
12185     *-*-solaris*)
12186                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12187 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12188   DATADIRNAME=share
12189 else
12190   DATADIRNAME=lib
12191 fi
12192
12193     ;;
12194     *)
12195     DATADIRNAME=lib
12196     ;;
12197     esac
12198 fi
12199 rm -f core conftest.err conftest.$ac_objext \
12200     conftest$ac_exeext conftest.$ac_ext
12201 fi
12202
12203
12204
12205
12206
12207
12208
12209 GETTEXT_PACKAGE="${PACKAGE}"
12210
12211
12212
12213 pkg_failed=no
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12215 $as_echo_n "checking for DBUS... " >&6; }
12216
12217 if test -n "$DBUS_CFLAGS"; then
12218     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12219  elif test -n "$PKG_CONFIG"; then
12220     if test -n "$PKG_CONFIG" && \
12221     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12222   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12223   ac_status=$?
12224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12225   test $ac_status = 0; }; then
12226   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
12227 else
12228   pkg_failed=yes
12229 fi
12230  else
12231     pkg_failed=untried
12232 fi
12233 if test -n "$DBUS_LIBS"; then
12234     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12235  elif test -n "$PKG_CONFIG"; then
12236     if test -n "$PKG_CONFIG" && \
12237     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12238   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12239   ac_status=$?
12240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12241   test $ac_status = 0; }; then
12242   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
12243 else
12244   pkg_failed=yes
12245 fi
12246  else
12247     pkg_failed=untried
12248 fi
12249
12250
12251
12252 if test $pkg_failed = yes; then
12253         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12254 $as_echo "no" >&6; }
12255
12256 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12257         _pkg_short_errors_supported=yes
12258 else
12259         _pkg_short_errors_supported=no
12260 fi
12261         if test $_pkg_short_errors_supported = yes; then
12262                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0" 2>&1`
12263         else
12264                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.0" 2>&1`
12265         fi
12266         # Put the nasty error message in config.log where it belongs
12267         echo "$DBUS_PKG_ERRORS" >&5
12268
12269         as_fn_error $? "Package requirements (dbus-1 >= 1.0) were not met:
12270
12271 $DBUS_PKG_ERRORS
12272
12273 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12274 installed software in a non-standard prefix.
12275
12276 Alternatively, you may set the environment variables DBUS_CFLAGS
12277 and DBUS_LIBS to avoid the need to call pkg-config.
12278 See the pkg-config man page for more details." "$LINENO" 5
12279 elif test $pkg_failed = untried; then
12280         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12281 $as_echo "no" >&6; }
12282         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12284 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12285 is in your PATH or set the PKG_CONFIG environment variable to the full
12286 path to pkg-config.
12287
12288 Alternatively, you may set the environment variables DBUS_CFLAGS
12289 and DBUS_LIBS to avoid the need to call pkg-config.
12290 See the pkg-config man page for more details.
12291
12292 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12293 See \`config.log' for more details" "$LINENO" 5; }
12294 else
12295         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12296         DBUS_LIBS=$pkg_cv_DBUS_LIBS
12297         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12298 $as_echo "yes" >&6; }
12299
12300 fi
12301
12302
12303
12304
12305 pkg_failed=no
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12307 $as_echo_n "checking for GLIB... " >&6; }
12308
12309 if test -n "$GLIB_CFLAGS"; then
12310     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12311  elif test -n "$PKG_CONFIG"; then
12312     if test -n "$PKG_CONFIG" && \
12313     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
12314   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
12315   ac_status=$?
12316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12317   test $ac_status = 0; }; then
12318   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.26.0" 2>/dev/null`
12319 else
12320   pkg_failed=yes
12321 fi
12322  else
12323     pkg_failed=untried
12324 fi
12325 if test -n "$GLIB_LIBS"; then
12326     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12327  elif test -n "$PKG_CONFIG"; then
12328     if test -n "$PKG_CONFIG" && \
12329     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.26.0\""; } >&5
12330   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.26.0") 2>&5
12331   ac_status=$?
12332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12333   test $ac_status = 0; }; then
12334   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.26.0" 2>/dev/null`
12335 else
12336   pkg_failed=yes
12337 fi
12338  else
12339     pkg_failed=untried
12340 fi
12341
12342
12343
12344 if test $pkg_failed = yes; then
12345         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12347
12348 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12349         _pkg_short_errors_supported=yes
12350 else
12351         _pkg_short_errors_supported=no
12352 fi
12353         if test $_pkg_short_errors_supported = yes; then
12354                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.26.0" 2>&1`
12355         else
12356                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.26.0" 2>&1`
12357         fi
12358         # Put the nasty error message in config.log where it belongs
12359         echo "$GLIB_PKG_ERRORS" >&5
12360
12361         as_fn_error $? "Package requirements (glib-2.0 >= 2.26.0) were not met:
12362
12363 $GLIB_PKG_ERRORS
12364
12365 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12366 installed software in a non-standard prefix.
12367
12368 Alternatively, you may set the environment variables GLIB_CFLAGS
12369 and GLIB_LIBS to avoid the need to call pkg-config.
12370 See the pkg-config man page for more details." "$LINENO" 5
12371 elif test $pkg_failed = untried; then
12372         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12373 $as_echo "no" >&6; }
12374         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12376 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12377 is in your PATH or set the PKG_CONFIG environment variable to the full
12378 path to pkg-config.
12379
12380 Alternatively, you may set the environment variables GLIB_CFLAGS
12381 and GLIB_LIBS to avoid the need to call pkg-config.
12382 See the pkg-config man page for more details.
12383
12384 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12385 See \`config.log' for more details" "$LINENO" 5; }
12386 else
12387         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12388         GLIB_LIBS=$pkg_cv_GLIB_LIBS
12389         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12390 $as_echo "yes" >&6; }
12391
12392 fi
12393
12394
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_ptr_array_new_with_free_func in -lglib-2.0" >&5
12396 $as_echo_n "checking for g_ptr_array_new_with_free_func in -lglib-2.0... " >&6; }
12397 if ${ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func+:} false; then :
12398   $as_echo_n "(cached) " >&6
12399 else
12400   ac_check_lib_save_LIBS=$LIBS
12401 LIBS="-lglib-2.0 $GLIB_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h.  */
12404
12405 /* Override any GCC internal prototype to avoid an error.
12406    Use char because int might match the return type of a GCC
12407    builtin and then its argument prototype would still apply.  */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char g_ptr_array_new_with_free_func ();
12412 int
12413 main ()
12414 {
12415 return g_ptr_array_new_with_free_func ();
12416   ;
12417   return 0;
12418 }
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421   ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func=yes
12422 else
12423   ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func=no
12424 fi
12425 rm -f core conftest.err conftest.$ac_objext \
12426     conftest$ac_exeext conftest.$ac_ext
12427 LIBS=$ac_check_lib_save_LIBS
12428 fi
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func" >&5
12430 $as_echo "$ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func" >&6; }
12431 if test "x$ac_cv_lib_glib_2_0_g_ptr_array_new_with_free_func" = xyes; then :
12432   :
12433 else
12434   as_fn_error $? "The version of glib-2.0 found does not define
12435                 g_ptr_array_new_with_free_func. Please upgrade glib." "$LINENO" 5
12436 fi
12437
12438
12439
12440 pkg_failed=no
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJ" >&5
12442 $as_echo_n "checking for GOBJ... " >&6; }
12443
12444 if test -n "$GOBJ_CFLAGS"; then
12445     pkg_cv_GOBJ_CFLAGS="$GOBJ_CFLAGS"
12446  elif test -n "$PKG_CONFIG"; then
12447     if test -n "$PKG_CONFIG" && \
12448     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
12449   ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
12450   ac_status=$?
12451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12452   test $ac_status = 0; }; then
12453   pkg_cv_GOBJ_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.0.0" 2>/dev/null`
12454 else
12455   pkg_failed=yes
12456 fi
12457  else
12458     pkg_failed=untried
12459 fi
12460 if test -n "$GOBJ_LIBS"; then
12461     pkg_cv_GOBJ_LIBS="$GOBJ_LIBS"
12462  elif test -n "$PKG_CONFIG"; then
12463     if test -n "$PKG_CONFIG" && \
12464     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
12465   ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
12466   ac_status=$?
12467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12468   test $ac_status = 0; }; then
12469   pkg_cv_GOBJ_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.0.0" 2>/dev/null`
12470 else
12471   pkg_failed=yes
12472 fi
12473  else
12474     pkg_failed=untried
12475 fi
12476
12477
12478
12479 if test $pkg_failed = yes; then
12480         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12481 $as_echo "no" >&6; }
12482
12483 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12484         _pkg_short_errors_supported=yes
12485 else
12486         _pkg_short_errors_supported=no
12487 fi
12488         if test $_pkg_short_errors_supported = yes; then
12489                 GOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 >= 2.0.0" 2>&1`
12490         else
12491                 GOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 >= 2.0.0" 2>&1`
12492         fi
12493         # Put the nasty error message in config.log where it belongs
12494         echo "$GOBJ_PKG_ERRORS" >&5
12495
12496         as_fn_error $? "Package requirements (gobject-2.0 >= 2.0.0) were not met:
12497
12498 $GOBJ_PKG_ERRORS
12499
12500 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12501 installed software in a non-standard prefix.
12502
12503 Alternatively, you may set the environment variables GOBJ_CFLAGS
12504 and GOBJ_LIBS to avoid the need to call pkg-config.
12505 See the pkg-config man page for more details." "$LINENO" 5
12506 elif test $pkg_failed = untried; then
12507         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12508 $as_echo "no" >&6; }
12509         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12511 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12512 is in your PATH or set the PKG_CONFIG environment variable to the full
12513 path to pkg-config.
12514
12515 Alternatively, you may set the environment variables GOBJ_CFLAGS
12516 and GOBJ_LIBS to avoid the need to call pkg-config.
12517 See the pkg-config man page for more details.
12518
12519 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12520 See \`config.log' for more details" "$LINENO" 5; }
12521 else
12522         GOBJ_CFLAGS=$pkg_cv_GOBJ_CFLAGS
12523         GOBJ_LIBS=$pkg_cv_GOBJ_LIBS
12524         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12525 $as_echo "yes" >&6; }
12526
12527 fi
12528
12529
12530
12531
12532 pkg_failed=no
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12534 $as_echo_n "checking for GIO... " >&6; }
12535
12536 if test -n "$GIO_CFLAGS"; then
12537     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12538  elif test -n "$PKG_CONFIG"; then
12539     if test -n "$PKG_CONFIG" && \
12540     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12541   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12542   ac_status=$?
12543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12544   test $ac_status = 0; }; then
12545   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
12546 else
12547   pkg_failed=yes
12548 fi
12549  else
12550     pkg_failed=untried
12551 fi
12552 if test -n "$GIO_LIBS"; then
12553     pkg_cv_GIO_LIBS="$GIO_LIBS"
12554  elif test -n "$PKG_CONFIG"; then
12555     if test -n "$PKG_CONFIG" && \
12556     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12557   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12558   ac_status=$?
12559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12560   test $ac_status = 0; }; then
12561   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
12562 else
12563   pkg_failed=yes
12564 fi
12565  else
12566     pkg_failed=untried
12567 fi
12568
12569
12570
12571 if test $pkg_failed = yes; then
12572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12573 $as_echo "no" >&6; }
12574
12575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12576         _pkg_short_errors_supported=yes
12577 else
12578         _pkg_short_errors_supported=no
12579 fi
12580         if test $_pkg_short_errors_supported = yes; then
12581                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0 >= 2.28" 2>&1`
12582         else
12583                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0 >= 2.28" 2>&1`
12584         fi
12585         # Put the nasty error message in config.log where it belongs
12586         echo "$GIO_PKG_ERRORS" >&5
12587
12588         as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
12589
12590 $GIO_PKG_ERRORS
12591
12592 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12593 installed software in a non-standard prefix.
12594
12595 Alternatively, you may set the environment variables GIO_CFLAGS
12596 and GIO_LIBS to avoid the need to call pkg-config.
12597 See the pkg-config man page for more details." "$LINENO" 5
12598 elif test $pkg_failed = untried; then
12599         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12600 $as_echo "no" >&6; }
12601         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12603 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12604 is in your PATH or set the PKG_CONFIG environment variable to the full
12605 path to pkg-config.
12606
12607 Alternatively, you may set the environment variables GIO_CFLAGS
12608 and GIO_LIBS to avoid the need to call pkg-config.
12609 See the pkg-config man page for more details.
12610
12611 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12612 See \`config.log' for more details" "$LINENO" 5; }
12613 else
12614         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12615         GIO_LIBS=$pkg_cv_GIO_LIBS
12616         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12617 $as_echo "yes" >&6; }
12618
12619 fi
12620
12621
12622
12623 # --------------------------------------------------------------------
12624 # Find DL functionality
12625
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
12627 $as_echo_n "checking for dlopen in -lc... " >&6; }
12628 if ${ac_cv_lib_c_dlopen+:} false; then :
12629   $as_echo_n "(cached) " >&6
12630 else
12631   ac_check_lib_save_LIBS=$LIBS
12632 LIBS="-lc  $LIBS"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h.  */
12635
12636 /* Override any GCC internal prototype to avoid an error.
12637    Use char because int might match the return type of a GCC
12638    builtin and then its argument prototype would still apply.  */
12639 #ifdef __cplusplus
12640 extern "C"
12641 #endif
12642 char dlopen ();
12643 int
12644 main ()
12645 {
12646 return dlopen ();
12647   ;
12648   return 0;
12649 }
12650 _ACEOF
12651 if ac_fn_c_try_link "$LINENO"; then :
12652   ac_cv_lib_c_dlopen=yes
12653 else
12654   ac_cv_lib_c_dlopen=no
12655 fi
12656 rm -f core conftest.err conftest.$ac_objext \
12657     conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_lib_save_LIBS
12659 fi
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
12661 $as_echo "$ac_cv_lib_c_dlopen" >&6; }
12662 if test "x$ac_cv_lib_c_dlopen" = xyes; then :
12663   DL_LIBS=""
12664 else
12665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12666 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12667 if ${ac_cv_lib_dl_dlopen+:} false; then :
12668   $as_echo_n "(cached) " >&6
12669 else
12670   ac_check_lib_save_LIBS=$LIBS
12671 LIBS="-ldl  $LIBS"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h.  */
12674
12675 /* Override any GCC internal prototype to avoid an error.
12676    Use char because int might match the return type of a GCC
12677    builtin and then its argument prototype would still apply.  */
12678 #ifdef __cplusplus
12679 extern "C"
12680 #endif
12681 char dlopen ();
12682 int
12683 main ()
12684 {
12685 return dlopen ();
12686   ;
12687   return 0;
12688 }
12689 _ACEOF
12690 if ac_fn_c_try_link "$LINENO"; then :
12691   ac_cv_lib_dl_dlopen=yes
12692 else
12693   ac_cv_lib_dl_dlopen=no
12694 fi
12695 rm -f core conftest.err conftest.$ac_objext \
12696     conftest$ac_exeext conftest.$ac_ext
12697 LIBS=$ac_check_lib_save_LIBS
12698 fi
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12700 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12701 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12702   DL_LIBS="-ldl"
12703 else
12704   as_fn_error $? "Could not find a library with the dlopen function" "$LINENO" 5
12705
12706 fi
12707
12708
12709 fi
12710
12711
12712
12713
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12715 $as_echo_n "checking for X... " >&6; }
12716
12717
12718 # Check whether --with-x was given.
12719 if test "${with_x+set}" = set; then :
12720   withval=$with_x;
12721 fi
12722
12723 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12724 if test "x$with_x" = xno; then
12725   # The user explicitly disabled X.
12726   have_x=disabled
12727 else
12728   case $x_includes,$x_libraries in #(
12729     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12730     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
12731   $as_echo_n "(cached) " >&6
12732 else
12733   # One or both of the vars are not set, and there is no cached value.
12734 ac_x_includes=no ac_x_libraries=no
12735 rm -f -r conftest.dir
12736 if mkdir conftest.dir; then
12737   cd conftest.dir
12738   cat >Imakefile <<'_ACEOF'
12739 incroot:
12740         @echo incroot='${INCROOT}'
12741 usrlibdir:
12742         @echo usrlibdir='${USRLIBDIR}'
12743 libdir:
12744         @echo libdir='${LIBDIR}'
12745 _ACEOF
12746   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12747     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12748     for ac_var in incroot usrlibdir libdir; do
12749       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12750     done
12751     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12752     for ac_extension in a so sl dylib la dll; do
12753       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12754          test -f "$ac_im_libdir/libX11.$ac_extension"; then
12755         ac_im_usrlibdir=$ac_im_libdir; break
12756       fi
12757     done
12758     # Screen out bogus values from the imake configuration.  They are
12759     # bogus both because they are the default anyway, and because
12760     # using them would break gcc on systems where it needs fixed includes.
12761     case $ac_im_incroot in
12762         /usr/include) ac_x_includes= ;;
12763         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12764     esac
12765     case $ac_im_usrlibdir in
12766         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
12767         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12768     esac
12769   fi
12770   cd ..
12771   rm -f -r conftest.dir
12772 fi
12773
12774 # Standard set of common directories for X headers.
12775 # Check X11 before X11Rn because it is often a symlink to the current release.
12776 ac_x_header_dirs='
12777 /usr/X11/include
12778 /usr/X11R7/include
12779 /usr/X11R6/include
12780 /usr/X11R5/include
12781 /usr/X11R4/include
12782
12783 /usr/include/X11
12784 /usr/include/X11R7
12785 /usr/include/X11R6
12786 /usr/include/X11R5
12787 /usr/include/X11R4
12788
12789 /usr/local/X11/include
12790 /usr/local/X11R7/include
12791 /usr/local/X11R6/include
12792 /usr/local/X11R5/include
12793 /usr/local/X11R4/include
12794
12795 /usr/local/include/X11
12796 /usr/local/include/X11R7
12797 /usr/local/include/X11R6
12798 /usr/local/include/X11R5
12799 /usr/local/include/X11R4
12800
12801 /usr/X386/include
12802 /usr/x386/include
12803 /usr/XFree86/include/X11
12804
12805 /usr/include
12806 /usr/local/include
12807 /usr/unsupported/include
12808 /usr/athena/include
12809 /usr/local/x11r5/include
12810 /usr/lpp/Xamples/include
12811
12812 /usr/openwin/include
12813 /usr/openwin/share/include'
12814
12815 if test "$ac_x_includes" = no; then
12816   # Guess where to find include files, by looking for Xlib.h.
12817   # First, try using that file with no special directory specified.
12818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h.  */
12820 #include <X11/Xlib.h>
12821 _ACEOF
12822 if ac_fn_c_try_cpp "$LINENO"; then :
12823   # We can compile using X headers with no special include directory.
12824 ac_x_includes=
12825 else
12826   for ac_dir in $ac_x_header_dirs; do
12827   if test -r "$ac_dir/X11/Xlib.h"; then
12828     ac_x_includes=$ac_dir
12829     break
12830   fi
12831 done
12832 fi
12833 rm -f conftest.err conftest.i conftest.$ac_ext
12834 fi # $ac_x_includes = no
12835
12836 if test "$ac_x_libraries" = no; then
12837   # Check for the libraries.
12838   # See if we find them without any special options.
12839   # Don't add to $LIBS permanently.
12840   ac_save_LIBS=$LIBS
12841   LIBS="-lX11 $LIBS"
12842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h.  */
12844 #include <X11/Xlib.h>
12845 int
12846 main ()
12847 {
12848 XrmInitialize ()
12849   ;
12850   return 0;
12851 }
12852 _ACEOF
12853 if ac_fn_c_try_link "$LINENO"; then :
12854   LIBS=$ac_save_LIBS
12855 # We can link X programs with no special library path.
12856 ac_x_libraries=
12857 else
12858   LIBS=$ac_save_LIBS
12859 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12860 do
12861   # Don't even attempt the hair of trying to link an X program!
12862   for ac_extension in a so sl dylib la dll; do
12863     if test -r "$ac_dir/libX11.$ac_extension"; then
12864       ac_x_libraries=$ac_dir
12865       break 2
12866     fi
12867   done
12868 done
12869 fi
12870 rm -f core conftest.err conftest.$ac_objext \
12871     conftest$ac_exeext conftest.$ac_ext
12872 fi # $ac_x_libraries = no
12873
12874 case $ac_x_includes,$ac_x_libraries in #(
12875   no,* | *,no | *\'*)
12876     # Didn't find X, or a directory has "'" in its name.
12877     ac_cv_have_x="have_x=no";; #(
12878   *)
12879     # Record where we found X for the cache.
12880     ac_cv_have_x="have_x=yes\
12881         ac_x_includes='$ac_x_includes'\
12882         ac_x_libraries='$ac_x_libraries'"
12883 esac
12884 fi
12885 ;; #(
12886     *) have_x=yes;;
12887   esac
12888   eval "$ac_cv_have_x"
12889 fi # $with_x != no
12890
12891 if test "$have_x" != yes; then
12892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12893 $as_echo "$have_x" >&6; }
12894   no_x=yes
12895 else
12896   # If each of the values was on the command line, it overrides each guess.
12897   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12898   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12899   # Update the cache value to reflect the command line values.
12900   ac_cv_have_x="have_x=yes\
12901         ac_x_includes='$x_includes'\
12902         ac_x_libraries='$x_libraries'"
12903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12904 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12905 fi
12906
12907 if test "$no_x" = yes; then
12908   # Not all programs may use this symbol, but it does not hurt to define it.
12909
12910 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
12911
12912   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12913 else
12914   if test -n "$x_includes"; then
12915     X_CFLAGS="$X_CFLAGS -I$x_includes"
12916   fi
12917
12918   # It would also be nice to do this for all -L options, not just this one.
12919   if test -n "$x_libraries"; then
12920     X_LIBS="$X_LIBS -L$x_libraries"
12921     # For Solaris; some versions of Sun CC require a space after -R and
12922     # others require no space.  Words are not sufficient . . . .
12923     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
12924 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
12925     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12926     ac_xsave_c_werror_flag=$ac_c_werror_flag
12927     ac_c_werror_flag=yes
12928     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h.  */
12930
12931 int
12932 main ()
12933 {
12934
12935   ;
12936   return 0;
12937 }
12938 _ACEOF
12939 if ac_fn_c_try_link "$LINENO"; then :
12940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12942        X_LIBS="$X_LIBS -R$x_libraries"
12943 else
12944   LIBS="$ac_xsave_LIBS -R $x_libraries"
12945        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h.  */
12947
12948 int
12949 main ()
12950 {
12951
12952   ;
12953   return 0;
12954 }
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12958 $as_echo "yes" >&6; }
12959           X_LIBS="$X_LIBS -R $x_libraries"
12960 else
12961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
12962 $as_echo "neither works" >&6; }
12963 fi
12964 rm -f core conftest.err conftest.$ac_objext \
12965     conftest$ac_exeext conftest.$ac_ext
12966 fi
12967 rm -f core conftest.err conftest.$ac_objext \
12968     conftest$ac_exeext conftest.$ac_ext
12969     ac_c_werror_flag=$ac_xsave_c_werror_flag
12970     LIBS=$ac_xsave_LIBS
12971   fi
12972
12973   # Check for system-dependent libraries X programs must link with.
12974   # Do this before checking for the system-independent R6 libraries
12975   # (-lICE), since we may need -lsocket or whatever for X linking.
12976
12977   if test "$ISC" = yes; then
12978     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12979   else
12980     # Martyn Johnson says this is needed for Ultrix, if the X
12981     # libraries were built with DECnet support.  And Karl Berry says
12982     # the Alpha needs dnet_stub (dnet does not exist).
12983     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
12984     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h.  */
12986
12987 /* Override any GCC internal prototype to avoid an error.
12988    Use char because int might match the return type of a GCC
12989    builtin and then its argument prototype would still apply.  */
12990 #ifdef __cplusplus
12991 extern "C"
12992 #endif
12993 char XOpenDisplay ();
12994 int
12995 main ()
12996 {
12997 return XOpenDisplay ();
12998   ;
12999   return 0;
13000 }
13001 _ACEOF
13002 if ac_fn_c_try_link "$LINENO"; then :
13003
13004 else
13005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13006 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13007 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
13008   $as_echo_n "(cached) " >&6
13009 else
13010   ac_check_lib_save_LIBS=$LIBS
13011 LIBS="-ldnet  $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h.  */
13014
13015 /* Override any GCC internal prototype to avoid an error.
13016    Use char because int might match the return type of a GCC
13017    builtin and then its argument prototype would still apply.  */
13018 #ifdef __cplusplus
13019 extern "C"
13020 #endif
13021 char dnet_ntoa ();
13022 int
13023 main ()
13024 {
13025 return dnet_ntoa ();
13026   ;
13027   return 0;
13028 }
13029 _ACEOF
13030 if ac_fn_c_try_link "$LINENO"; then :
13031   ac_cv_lib_dnet_dnet_ntoa=yes
13032 else
13033   ac_cv_lib_dnet_dnet_ntoa=no
13034 fi
13035 rm -f core conftest.err conftest.$ac_objext \
13036     conftest$ac_exeext conftest.$ac_ext
13037 LIBS=$ac_check_lib_save_LIBS
13038 fi
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13040 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13041 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
13042   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13043 fi
13044
13045     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13046       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13047 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13048 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
13049   $as_echo_n "(cached) " >&6
13050 else
13051   ac_check_lib_save_LIBS=$LIBS
13052 LIBS="-ldnet_stub  $LIBS"
13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h.  */
13055
13056 /* Override any GCC internal prototype to avoid an error.
13057    Use char because int might match the return type of a GCC
13058    builtin and then its argument prototype would still apply.  */
13059 #ifdef __cplusplus
13060 extern "C"
13061 #endif
13062 char dnet_ntoa ();
13063 int
13064 main ()
13065 {
13066 return dnet_ntoa ();
13067   ;
13068   return 0;
13069 }
13070 _ACEOF
13071 if ac_fn_c_try_link "$LINENO"; then :
13072   ac_cv_lib_dnet_stub_dnet_ntoa=yes
13073 else
13074   ac_cv_lib_dnet_stub_dnet_ntoa=no
13075 fi
13076 rm -f core conftest.err conftest.$ac_objext \
13077     conftest$ac_exeext conftest.$ac_ext
13078 LIBS=$ac_check_lib_save_LIBS
13079 fi
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13081 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13082 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
13083   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13084 fi
13085
13086     fi
13087 fi
13088 rm -f core conftest.err conftest.$ac_objext \
13089     conftest$ac_exeext conftest.$ac_ext
13090     LIBS="$ac_xsave_LIBS"
13091
13092     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13093     # to get the SysV transport functions.
13094     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13095     # needs -lnsl.
13096     # The nsl library prevents programs from opening the X display
13097     # on Irix 5.2, according to T.E. Dickey.
13098     # The functions gethostbyname, getservbyname, and inet_addr are
13099     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13100     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13101 if test "x$ac_cv_func_gethostbyname" = xyes; then :
13102
13103 fi
13104
13105     if test $ac_cv_func_gethostbyname = no; then
13106       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13107 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
13108 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
13109   $as_echo_n "(cached) " >&6
13110 else
13111   ac_check_lib_save_LIBS=$LIBS
13112 LIBS="-lnsl  $LIBS"
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h.  */
13115
13116 /* Override any GCC internal prototype to avoid an error.
13117    Use char because int might match the return type of a GCC
13118    builtin and then its argument prototype would still apply.  */
13119 #ifdef __cplusplus
13120 extern "C"
13121 #endif
13122 char gethostbyname ();
13123 int
13124 main ()
13125 {
13126 return gethostbyname ();
13127   ;
13128   return 0;
13129 }
13130 _ACEOF
13131 if ac_fn_c_try_link "$LINENO"; then :
13132   ac_cv_lib_nsl_gethostbyname=yes
13133 else
13134   ac_cv_lib_nsl_gethostbyname=no
13135 fi
13136 rm -f core conftest.err conftest.$ac_objext \
13137     conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_lib_save_LIBS
13139 fi
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13141 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
13142 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
13143   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13144 fi
13145
13146       if test $ac_cv_lib_nsl_gethostbyname = no; then
13147         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13148 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
13149 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
13150   $as_echo_n "(cached) " >&6
13151 else
13152   ac_check_lib_save_LIBS=$LIBS
13153 LIBS="-lbsd  $LIBS"
13154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155 /* end confdefs.h.  */
13156
13157 /* Override any GCC internal prototype to avoid an error.
13158    Use char because int might match the return type of a GCC
13159    builtin and then its argument prototype would still apply.  */
13160 #ifdef __cplusplus
13161 extern "C"
13162 #endif
13163 char gethostbyname ();
13164 int
13165 main ()
13166 {
13167 return gethostbyname ();
13168   ;
13169   return 0;
13170 }
13171 _ACEOF
13172 if ac_fn_c_try_link "$LINENO"; then :
13173   ac_cv_lib_bsd_gethostbyname=yes
13174 else
13175   ac_cv_lib_bsd_gethostbyname=no
13176 fi
13177 rm -f core conftest.err conftest.$ac_objext \
13178     conftest$ac_exeext conftest.$ac_ext
13179 LIBS=$ac_check_lib_save_LIBS
13180 fi
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13182 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
13183 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
13184   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13185 fi
13186
13187       fi
13188     fi
13189
13190     # lieder@skyler.mavd.honeywell.com says without -lsocket,
13191     # socket/setsockopt and other routines are undefined under SCO ODT
13192     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
13193     # on later versions), says Simon Leinen: it contains gethostby*
13194     # variants that don't use the name server (or something).  -lsocket
13195     # must be given before -lnsl if both are needed.  We assume that
13196     # if connect needs -lnsl, so does gethostbyname.
13197     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13198 if test "x$ac_cv_func_connect" = xyes; then :
13199
13200 fi
13201
13202     if test $ac_cv_func_connect = no; then
13203       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13204 $as_echo_n "checking for connect in -lsocket... " >&6; }
13205 if ${ac_cv_lib_socket_connect+:} false; then :
13206   $as_echo_n "(cached) " >&6
13207 else
13208   ac_check_lib_save_LIBS=$LIBS
13209 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h.  */
13212
13213 /* Override any GCC internal prototype to avoid an error.
13214    Use char because int might match the return type of a GCC
13215    builtin and then its argument prototype would still apply.  */
13216 #ifdef __cplusplus
13217 extern "C"
13218 #endif
13219 char connect ();
13220 int
13221 main ()
13222 {
13223 return connect ();
13224   ;
13225   return 0;
13226 }
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"; then :
13229   ac_cv_lib_socket_connect=yes
13230 else
13231   ac_cv_lib_socket_connect=no
13232 fi
13233 rm -f core conftest.err conftest.$ac_objext \
13234     conftest$ac_exeext conftest.$ac_ext
13235 LIBS=$ac_check_lib_save_LIBS
13236 fi
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13238 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13239 if test "x$ac_cv_lib_socket_connect" = xyes; then :
13240   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13241 fi
13242
13243     fi
13244
13245     # Guillermo Gomez says -lposix is necessary on A/UX.
13246     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13247 if test "x$ac_cv_func_remove" = xyes; then :
13248
13249 fi
13250
13251     if test $ac_cv_func_remove = no; then
13252       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13253 $as_echo_n "checking for remove in -lposix... " >&6; }
13254 if ${ac_cv_lib_posix_remove+:} false; then :
13255   $as_echo_n "(cached) " >&6
13256 else
13257   ac_check_lib_save_LIBS=$LIBS
13258 LIBS="-lposix  $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h.  */
13261
13262 /* Override any GCC internal prototype to avoid an error.
13263    Use char because int might match the return type of a GCC
13264    builtin and then its argument prototype would still apply.  */
13265 #ifdef __cplusplus
13266 extern "C"
13267 #endif
13268 char remove ();
13269 int
13270 main ()
13271 {
13272 return remove ();
13273   ;
13274   return 0;
13275 }
13276 _ACEOF
13277 if ac_fn_c_try_link "$LINENO"; then :
13278   ac_cv_lib_posix_remove=yes
13279 else
13280   ac_cv_lib_posix_remove=no
13281 fi
13282 rm -f core conftest.err conftest.$ac_objext \
13283     conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_lib_save_LIBS
13285 fi
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13287 $as_echo "$ac_cv_lib_posix_remove" >&6; }
13288 if test "x$ac_cv_lib_posix_remove" = xyes; then :
13289   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13290 fi
13291
13292     fi
13293
13294     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13295     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13296 if test "x$ac_cv_func_shmat" = xyes; then :
13297
13298 fi
13299
13300     if test $ac_cv_func_shmat = no; then
13301       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13302 $as_echo_n "checking for shmat in -lipc... " >&6; }
13303 if ${ac_cv_lib_ipc_shmat+:} false; then :
13304   $as_echo_n "(cached) " >&6
13305 else
13306   ac_check_lib_save_LIBS=$LIBS
13307 LIBS="-lipc  $LIBS"
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h.  */
13310
13311 /* Override any GCC internal prototype to avoid an error.
13312    Use char because int might match the return type of a GCC
13313    builtin and then its argument prototype would still apply.  */
13314 #ifdef __cplusplus
13315 extern "C"
13316 #endif
13317 char shmat ();
13318 int
13319 main ()
13320 {
13321 return shmat ();
13322   ;
13323   return 0;
13324 }
13325 _ACEOF
13326 if ac_fn_c_try_link "$LINENO"; then :
13327   ac_cv_lib_ipc_shmat=yes
13328 else
13329   ac_cv_lib_ipc_shmat=no
13330 fi
13331 rm -f core conftest.err conftest.$ac_objext \
13332     conftest$ac_exeext conftest.$ac_ext
13333 LIBS=$ac_check_lib_save_LIBS
13334 fi
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13336 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13337 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
13338   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13339 fi
13340
13341     fi
13342   fi
13343
13344   # Check for libraries that X11R6 Xt/Xaw programs need.
13345   ac_save_LDFLAGS=$LDFLAGS
13346   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13347   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13348   # check for ICE first), but we must link in the order -lSM -lICE or
13349   # we get undefined symbols.  So assume we have SM if we have ICE.
13350   # These have to be linked with before -lX11, unlike the other
13351   # libraries we check for below, so use a different variable.
13352   # John Interrante, Karl Berry
13353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13354 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
13355 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
13356   $as_echo_n "(cached) " >&6
13357 else
13358   ac_check_lib_save_LIBS=$LIBS
13359 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h.  */
13362
13363 /* Override any GCC internal prototype to avoid an error.
13364    Use char because int might match the return type of a GCC
13365    builtin and then its argument prototype would still apply.  */
13366 #ifdef __cplusplus
13367 extern "C"
13368 #endif
13369 char IceConnectionNumber ();
13370 int
13371 main ()
13372 {
13373 return IceConnectionNumber ();
13374   ;
13375   return 0;
13376 }
13377 _ACEOF
13378 if ac_fn_c_try_link "$LINENO"; then :
13379   ac_cv_lib_ICE_IceConnectionNumber=yes
13380 else
13381   ac_cv_lib_ICE_IceConnectionNumber=no
13382 fi
13383 rm -f core conftest.err conftest.$ac_objext \
13384     conftest$ac_exeext conftest.$ac_ext
13385 LIBS=$ac_check_lib_save_LIBS
13386 fi
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13388 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13389 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
13390   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13391 fi
13392
13393   LDFLAGS=$ac_save_LDFLAGS
13394
13395 fi
13396
13397
13398 if test x$no_x = xyes ; then
13399         as_fn_error $? "X development libraries not found" "$LINENO" 5
13400 else
13401         X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
13402 fi
13403
13404
13405 save_LIBS="$LIBS"
13406 LIBS=""
13407 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
13409 $as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
13410 if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
13411   $as_echo_n "(cached) " >&6
13412 else
13413   ac_check_lib_save_LIBS=$LIBS
13414 LIBS="-lXtst $X_LIBS $LIBS"
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h.  */
13417
13418 /* Override any GCC internal prototype to avoid an error.
13419    Use char because int might match the return type of a GCC
13420    builtin and then its argument prototype would still apply.  */
13421 #ifdef __cplusplus
13422 extern "C"
13423 #endif
13424 char XTestFakeKeyEvent ();
13425 int
13426 main ()
13427 {
13428 return XTestFakeKeyEvent ();
13429   ;
13430   return 0;
13431 }
13432 _ACEOF
13433 if ac_fn_c_try_link "$LINENO"; then :
13434   ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
13435 else
13436   ac_cv_lib_Xtst_XTestFakeKeyEvent=no
13437 fi
13438 rm -f core conftest.err conftest.$ac_objext \
13439     conftest$ac_exeext conftest.$ac_ext
13440 LIBS=$ac_check_lib_save_LIBS
13441 fi
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
13443 $as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
13444 if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
13445   XTST_LIBS=-lXtst
13446 else
13447
13448         as_fn_error $? "Couldn't find the Xtst library. Check config.log" "$LINENO" 5
13449 fi
13450
13451
13452 LIBS="$LIBS $save_LIBS"
13453
13454 save_LIBS="$LIBS"
13455 LIBS=""
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
13457 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
13458 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
13459   $as_echo_n "(cached) " >&6
13460 else
13461   ac_check_lib_save_LIBS=$LIBS
13462 LIBS="-lX11 $X_LIBS $LIBS"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h.  */
13465
13466 /* Override any GCC internal prototype to avoid an error.
13467    Use char because int might match the return type of a GCC
13468    builtin and then its argument prototype would still apply.  */
13469 #ifdef __cplusplus
13470 extern "C"
13471 #endif
13472 char XkbQueryExtension ();
13473 int
13474 main ()
13475 {
13476 return XkbQueryExtension ();
13477   ;
13478   return 0;
13479 }
13480 _ACEOF
13481 if ac_fn_c_try_link "$LINENO"; then :
13482   ac_cv_lib_X11_XkbQueryExtension=yes
13483 else
13484   ac_cv_lib_X11_XkbQueryExtension=no
13485 fi
13486 rm -f core conftest.err conftest.$ac_objext \
13487     conftest$ac_exeext conftest.$ac_ext
13488 LIBS=$ac_check_lib_save_LIBS
13489 fi
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
13491 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
13492 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
13493   have_xkb="maybe"
13494 else
13495   have_xkb="no"
13496 fi
13497
13498 if test "x$have_xkb" = "xmaybe"; then
13499         ac_fn_c_check_header_mongrel "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default"
13500 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
13501   have_xkb=yes
13502 fi
13503
13504
13505 fi
13506 if test "x$have_xkb" = "xyes"; then
13507
13508 $as_echo "#define HAVE_XKB /**/" >>confdefs.h
13509
13510 fi
13511 LIBS="$LIBS $save_LIBS"
13512
13513 save_LIBS="$LIBS"
13514 LIBS=""
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDevice in -lXi" >&5
13516 $as_echo_n "checking for XOpenDevice in -lXi... " >&6; }
13517 if ${ac_cv_lib_Xi_XOpenDevice+:} false; then :
13518   $as_echo_n "(cached) " >&6
13519 else
13520   ac_check_lib_save_LIBS=$LIBS
13521 LIBS="-lXi $X_LIBS $LIBS"
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h.  */
13524
13525 /* Override any GCC internal prototype to avoid an error.
13526    Use char because int might match the return type of a GCC
13527    builtin and then its argument prototype would still apply.  */
13528 #ifdef __cplusplus
13529 extern "C"
13530 #endif
13531 char XOpenDevice ();
13532 int
13533 main ()
13534 {
13535 return XOpenDevice ();
13536   ;
13537   return 0;
13538 }
13539 _ACEOF
13540 if ac_fn_c_try_link "$LINENO"; then :
13541   ac_cv_lib_Xi_XOpenDevice=yes
13542 else
13543   ac_cv_lib_Xi_XOpenDevice=no
13544 fi
13545 rm -f core conftest.err conftest.$ac_objext \
13546     conftest$ac_exeext conftest.$ac_ext
13547 LIBS=$ac_check_lib_save_LIBS
13548 fi
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XOpenDevice" >&5
13550 $as_echo "$ac_cv_lib_Xi_XOpenDevice" >&6; }
13551 if test "x$ac_cv_lib_Xi_XOpenDevice" = xyes; then :
13552   have_xinput="maybe"
13553 else
13554   have_xinput="no"
13555 fi
13556
13557 if test "x$have_xinput" = "xmaybe"; then
13558         save_LIBS="$LIBS"
13559         LIBS="$LIBS $X_LIBS"
13560         ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$ac_includes_default"
13561 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes; then :
13562   have_xinput="yes"
13563 fi
13564
13565
13566         LIBS="$save_LIBS"
13567 fi
13568 if test "x$have_xinput" != "xyes"; then
13569         as_fn_error $? "Couldn't find the XInput library. Check config.log for details" "$LINENO" 5
13570 fi
13571 XINPUT_LIBS="-lXi"
13572
13573 LIBS="$LIBS $save_LIBS"
13574
13575 save_LIBS="$LIBS"
13576 LIBS=""
13577 # Check whether --enable-xevie was given.
13578 if test "${enable_xevie+set}" = set; then :
13579   enableval=$enable_xevie; enable_xevie="$enableval"
13580 else
13581   enable_xevie=yes
13582 fi
13583
13584
13585 if test x$enable_xevie = xyes ; then
13586         have_xevie=
13587         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XevieStart in -lXext" >&5
13588 $as_echo_n "checking for XevieStart in -lXext... " >&6; }
13589 if ${ac_cv_lib_Xext_XevieStart+:} false; then :
13590   $as_echo_n "(cached) " >&6
13591 else
13592   ac_check_lib_save_LIBS=$LIBS
13593 LIBS="-lXext $X_LIBS $LIBS"
13594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13595 /* end confdefs.h.  */
13596
13597 /* Override any GCC internal prototype to avoid an error.
13598    Use char because int might match the return type of a GCC
13599    builtin and then its argument prototype would still apply.  */
13600 #ifdef __cplusplus
13601 extern "C"
13602 #endif
13603 char XevieStart ();
13604 int
13605 main ()
13606 {
13607 return XevieStart ();
13608   ;
13609   return 0;
13610 }
13611 _ACEOF
13612 if ac_fn_c_try_link "$LINENO"; then :
13613   ac_cv_lib_Xext_XevieStart=yes
13614 else
13615   ac_cv_lib_Xext_XevieStart=no
13616 fi
13617 rm -f core conftest.err conftest.$ac_objext \
13618     conftest$ac_exeext conftest.$ac_ext
13619 LIBS=$ac_check_lib_save_LIBS
13620 fi
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XevieStart" >&5
13622 $as_echo "$ac_cv_lib_Xext_XevieStart" >&6; }
13623 if test "x$ac_cv_lib_Xext_XevieStart" = xyes; then :
13624   have_xevie="yes"
13625 else
13626   have_xevie="no"
13627 fi
13628
13629
13630         if test "x$have_xevie" = "xyes"; then
13631                 XEVIE_LIBS="-lXext"
13632
13633 $as_echo "#define HAVE_XEVIE /**/" >>confdefs.h
13634
13635         else
13636            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XevieQueryVersion in -lXevie" >&5
13637 $as_echo_n "checking for XevieQueryVersion in -lXevie... " >&6; }
13638 if ${ac_cv_lib_Xevie_XevieQueryVersion+:} false; then :
13639   $as_echo_n "(cached) " >&6
13640 else
13641   ac_check_lib_save_LIBS=$LIBS
13642 LIBS="-lXevie $X_LIBS $LIBS"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h.  */
13645
13646 /* Override any GCC internal prototype to avoid an error.
13647    Use char because int might match the return type of a GCC
13648    builtin and then its argument prototype would still apply.  */
13649 #ifdef __cplusplus
13650 extern "C"
13651 #endif
13652 char XevieQueryVersion ();
13653 int
13654 main ()
13655 {
13656 return XevieQueryVersion ();
13657   ;
13658   return 0;
13659 }
13660 _ACEOF
13661 if ac_fn_c_try_link "$LINENO"; then :
13662   ac_cv_lib_Xevie_XevieQueryVersion=yes
13663 else
13664   ac_cv_lib_Xevie_XevieQueryVersion=no
13665 fi
13666 rm -f core conftest.err conftest.$ac_objext \
13667     conftest$ac_exeext conftest.$ac_ext
13668 LIBS=$ac_check_lib_save_LIBS
13669 fi
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xevie_XevieQueryVersion" >&5
13671 $as_echo "$ac_cv_lib_Xevie_XevieQueryVersion" >&6; }
13672 if test "x$ac_cv_lib_Xevie_XevieQueryVersion" = xyes; then :
13673   have_xevie="maybe"
13674 fi
13675
13676            if test "x$have_xevie" = "xmaybe"; then
13677               ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xevie.h" "ac_cv_header_X11_extensions_Xevie_h" "#include <X11/Xlib.h>
13678
13679 "
13680 if test "x$ac_cv_header_X11_extensions_Xevie_h" = xyes; then :
13681   have_xevie=yes
13682 fi
13683
13684
13685               if test "x$have_xevie" = "xyes"; then
13686                       XEVIE_LIBS="-lXext -lXevie"
13687
13688 $as_echo "#define HAVE_XEVIE /**/" >>confdefs.h
13689
13690               fi
13691            fi
13692         fi
13693
13694 fi
13695 LIBS="$LIBS $save_LIBS"
13696
13697
13698 # Check whether --with-dbus_daemondir was given.
13699 if test "${with_dbus_daemondir+set}" = set; then :
13700   withval=$with_dbus_daemondir; DBUS_DAEMON="$with_dbus_daemondir/dbus-daemon"
13701 else
13702   # Extract the first word of "dbus-daemon", so it can be a program name with args.
13703 set dummy dbus-daemon; ac_word=$2
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13705 $as_echo_n "checking for $ac_word... " >&6; }
13706 if ${ac_cv_path_DBUS_DAEMON+:} false; then :
13707   $as_echo_n "(cached) " >&6
13708 else
13709   case $DBUS_DAEMON in
13710   [\\/]* | ?:[\\/]*)
13711   ac_cv_path_DBUS_DAEMON="$DBUS_DAEMON" # Let the user override the test with a path.
13712   ;;
13713   *)
13714   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13715 for as_dir in $PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/libexec$PATH_SEPARATOR/usr/libexec$PATH_SEPARATOR/usr/local/bin$PATH_SEPARATOR/usr/pkg/bin
13716 do
13717   IFS=$as_save_IFS
13718   test -z "$as_dir" && as_dir=.
13719     for ac_exec_ext in '' $ac_executable_extensions; do
13720   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13721     ac_cv_path_DBUS_DAEMON="$as_dir/$ac_word$ac_exec_ext"
13722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13723     break 2
13724   fi
13725 done
13726   done
13727 IFS=$as_save_IFS
13728
13729   test -z "$ac_cv_path_DBUS_DAEMON" && ac_cv_path_DBUS_DAEMON="XXXDBUSDAEMONNOTFOUND"
13730   ;;
13731 esac
13732 fi
13733 DBUS_DAEMON=$ac_cv_path_DBUS_DAEMON
13734 if test -n "$DBUS_DAEMON"; then
13735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_DAEMON" >&5
13736 $as_echo "$DBUS_DAEMON" >&6; }
13737 else
13738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13739 $as_echo "no" >&6; }
13740 fi
13741
13742
13743
13744 fi
13745
13746 if test "$DBUS_DAEMON" = "XXXDBUSDAEMONNOTFOUND"; then
13747         DBUS_DAEMON = "$bindir/dbus-daemon"
13748         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: at-spi2 relies on dbus, and the dbus-daemon was not found" >&5
13749 $as_echo "$as_me: WARNING: at-spi2 relies on dbus, and the dbus-daemon was not found" >&2;}
13750         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we assume that it will be installed in \"$bindir\"" >&5
13751 $as_echo "$as_me: WARNING: we assume that it will be installed in \"$bindir\"" >&2;}
13752 fi
13753
13754
13755
13756 # Check whether --with-dbus-services was given.
13757 if test "${with_dbus_services+set}" = set; then :
13758   withval=$with_dbus_services;
13759 fi
13760
13761 if ! test -z "$with_dbus_services" ; then
13762            DBUS_SERVICES_DIR="$with_dbus_services"
13763 else
13764            DBUS_SERVICES_DIR="$datadir/dbus-1/services"
13765 fi
13766
13767
13768
13769
13770
13771                 # Check whether --enable-introspection was given.
13772 if test "${enable_introspection+set}" = set; then :
13773   enableval=$enable_introspection;
13774 else
13775   enable_introspection=auto
13776 fi
13777
13778
13779     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
13780 $as_echo_n "checking for gobject-introspection... " >&6; }
13781
13782         case $enable_introspection in #(
13783   no) :
13784             found_introspection="no (disabled, use --enable-introspection to enable)"
13785      ;; #(
13786       yes) :
13787             if test -n "$PKG_CONFIG" && \
13788     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
13789   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
13790   ac_status=$?
13791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13792   test $ac_status = 0; }; then
13793   :
13794 else
13795   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
13796 fi
13797         if test -n "$PKG_CONFIG" && \
13798     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
13799   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
13800   ac_status=$?
13801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13802   test $ac_status = 0; }; then
13803   found_introspection=yes
13804 else
13805   as_fn_error $? "You need to have gobject-introspection >= 0.9.6 installed to build at-spi2-core" "$LINENO" 5
13806 fi
13807      ;; #(
13808       auto) :
13809             if test -n "$PKG_CONFIG" && \
13810     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
13811   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
13812   ac_status=$?
13813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13814   test $ac_status = 0; }; then
13815   found_introspection=yes
13816 else
13817   found_introspection=no
13818 fi
13819      ;; #(
13820   *) :
13821                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
13822      ;;
13823 esac
13824     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
13825 $as_echo "$found_introspection" >&6; }
13826
13827     INTROSPECTION_SCANNER=
13828     INTROSPECTION_COMPILER=
13829     INTROSPECTION_GENERATE=
13830     INTROSPECTION_GIRDIR=
13831     INTROSPECTION_TYPELIBDIR=
13832     if test "x$found_introspection" = "xyes"; then
13833        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
13834        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
13835        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
13836        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
13837        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
13838        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
13839        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
13840        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
13841     fi
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851      if test "x$found_introspection" = "xyes"; then
13852   HAVE_INTROSPECTION_TRUE=
13853   HAVE_INTROSPECTION_FALSE='#'
13854 else
13855   HAVE_INTROSPECTION_TRUE='#'
13856   HAVE_INTROSPECTION_FALSE=
13857 fi
13858
13859
13860
13861
13862
13863
13864 orig_CPPFLAGS=$CPPFLAGS
13865 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13866                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of char" >&5
13867 $as_echo_n "checking alignment of char... " >&6; }
13868         if ${ac_cv_alignof_char+:} false; then :
13869   $as_echo_n "(cached) " >&6
13870 else
13871   if test "$cross_compiling" = yes; then :
13872   ac_cv_alignof_char=0
13873 else
13874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h.  */
13876  #include <stdio.h>
13877                           #include <stdlib.h>
13878                           #define DBUS_API_SUBJECT_TO_CHANGE
13879                           #include <dbus/dbus.h>
13880                         typedef struct {char s1;} dbind_struct;
13881                         typedef void *dbind_pointer;
13882                         struct test {char s1; char s2;};
13883                         main()
13884                         {
13885                         FILE *f=fopen("conftestval", "w");
13886                         if (!f) exit(1);
13887                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
13888                         exit(0);
13889                         }
13890 _ACEOF
13891 if ac_fn_c_try_run "$LINENO"; then :
13892   ac_cv_alignof_char=`cat conftestval`
13893 else
13894   ac_cv_alignof_char=0
13895 fi
13896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13897   conftest.$ac_objext conftest.beam conftest.$ac_ext
13898 fi
13899
13900
13901 fi
13902         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_char" >&5
13903 $as_echo "$ac_cv_alignof_char" >&6; }
13904         if test "$ac_cv_alignof_char" = "0" ; then
13905                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
13906         fi
13907         DBIND_ALIGNOF_CHAR=$ac_cv_alignof_char
13908
13909
13910                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_bool_t" >&5
13911 $as_echo_n "checking alignment of dbus_bool_t... " >&6; }
13912         if ${ac_cv_alignof_dbus_bool_t+:} false; then :
13913   $as_echo_n "(cached) " >&6
13914 else
13915   if test "$cross_compiling" = yes; then :
13916   ac_cv_alignof_dbus_bool_t=0
13917 else
13918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h.  */
13920  #include <stdio.h>
13921                           #include <stdlib.h>
13922                           #define DBUS_API_SUBJECT_TO_CHANGE
13923                           #include <dbus/dbus.h>
13924                         typedef struct {char s1;} dbind_struct;
13925                         typedef void *dbind_pointer;
13926                         struct test {char s1; dbus_bool_t s2;};
13927                         main()
13928                         {
13929                         FILE *f=fopen("conftestval", "w");
13930                         if (!f) exit(1);
13931                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
13932                         exit(0);
13933                         }
13934 _ACEOF
13935 if ac_fn_c_try_run "$LINENO"; then :
13936   ac_cv_alignof_dbus_bool_t=`cat conftestval`
13937 else
13938   ac_cv_alignof_dbus_bool_t=0
13939 fi
13940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13941   conftest.$ac_objext conftest.beam conftest.$ac_ext
13942 fi
13943
13944
13945 fi
13946         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_bool_t" >&5
13947 $as_echo "$ac_cv_alignof_dbus_bool_t" >&6; }
13948         if test "$ac_cv_alignof_dbus_bool_t" = "0" ; then
13949                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
13950         fi
13951         DBIND_ALIGNOF_DBUS_BOOL_T=$ac_cv_alignof_dbus_bool_t
13952
13953
13954                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int16_t" >&5
13955 $as_echo_n "checking alignment of dbus_int16_t... " >&6; }
13956         if ${ac_cv_alignof_dbus_int16_t+:} false; then :
13957   $as_echo_n "(cached) " >&6
13958 else
13959   if test "$cross_compiling" = yes; then :
13960   ac_cv_alignof_dbus_int16_t=0
13961 else
13962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h.  */
13964  #include <stdio.h>
13965                           #include <stdlib.h>
13966                           #define DBUS_API_SUBJECT_TO_CHANGE
13967                           #include <dbus/dbus.h>
13968                         typedef struct {char s1;} dbind_struct;
13969                         typedef void *dbind_pointer;
13970                         struct test {char s1; dbus_int16_t s2;};
13971                         main()
13972                         {
13973                         FILE *f=fopen("conftestval", "w");
13974                         if (!f) exit(1);
13975                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
13976                         exit(0);
13977                         }
13978 _ACEOF
13979 if ac_fn_c_try_run "$LINENO"; then :
13980   ac_cv_alignof_dbus_int16_t=`cat conftestval`
13981 else
13982   ac_cv_alignof_dbus_int16_t=0
13983 fi
13984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13985   conftest.$ac_objext conftest.beam conftest.$ac_ext
13986 fi
13987
13988
13989 fi
13990         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int16_t" >&5
13991 $as_echo "$ac_cv_alignof_dbus_int16_t" >&6; }
13992         if test "$ac_cv_alignof_dbus_int16_t" = "0" ; then
13993                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
13994         fi
13995         DBIND_ALIGNOF_DBUS_INT16_T=$ac_cv_alignof_dbus_int16_t
13996
13997
13998                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int32_t" >&5
13999 $as_echo_n "checking alignment of dbus_int32_t... " >&6; }
14000         if ${ac_cv_alignof_dbus_int32_t+:} false; then :
14001   $as_echo_n "(cached) " >&6
14002 else
14003   if test "$cross_compiling" = yes; then :
14004   ac_cv_alignof_dbus_int32_t=0
14005 else
14006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h.  */
14008  #include <stdio.h>
14009                           #include <stdlib.h>
14010                           #define DBUS_API_SUBJECT_TO_CHANGE
14011                           #include <dbus/dbus.h>
14012                         typedef struct {char s1;} dbind_struct;
14013                         typedef void *dbind_pointer;
14014                         struct test {char s1; dbus_int32_t s2;};
14015                         main()
14016                         {
14017                         FILE *f=fopen("conftestval", "w");
14018                         if (!f) exit(1);
14019                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
14020                         exit(0);
14021                         }
14022 _ACEOF
14023 if ac_fn_c_try_run "$LINENO"; then :
14024   ac_cv_alignof_dbus_int32_t=`cat conftestval`
14025 else
14026   ac_cv_alignof_dbus_int32_t=0
14027 fi
14028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14029   conftest.$ac_objext conftest.beam conftest.$ac_ext
14030 fi
14031
14032
14033 fi
14034         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int32_t" >&5
14035 $as_echo "$ac_cv_alignof_dbus_int32_t" >&6; }
14036         if test "$ac_cv_alignof_dbus_int32_t" = "0" ; then
14037                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14038         fi
14039         DBIND_ALIGNOF_DBUS_INT32_T=$ac_cv_alignof_dbus_int32_t
14040
14041
14042                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int64_t" >&5
14043 $as_echo_n "checking alignment of dbus_int64_t... " >&6; }
14044         if ${ac_cv_alignof_dbus_int64_t+:} false; then :
14045   $as_echo_n "(cached) " >&6
14046 else
14047   if test "$cross_compiling" = yes; then :
14048   ac_cv_alignof_dbus_int64_t=0
14049 else
14050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h.  */
14052  #include <stdio.h>
14053                           #include <stdlib.h>
14054                           #define DBUS_API_SUBJECT_TO_CHANGE
14055                           #include <dbus/dbus.h>
14056                         typedef struct {char s1;} dbind_struct;
14057                         typedef void *dbind_pointer;
14058                         struct test {char s1; dbus_int64_t s2;};
14059                         main()
14060                         {
14061                         FILE *f=fopen("conftestval", "w");
14062                         if (!f) exit(1);
14063                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
14064                         exit(0);
14065                         }
14066 _ACEOF
14067 if ac_fn_c_try_run "$LINENO"; then :
14068   ac_cv_alignof_dbus_int64_t=`cat conftestval`
14069 else
14070   ac_cv_alignof_dbus_int64_t=0
14071 fi
14072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14073   conftest.$ac_objext conftest.beam conftest.$ac_ext
14074 fi
14075
14076
14077 fi
14078         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int64_t" >&5
14079 $as_echo "$ac_cv_alignof_dbus_int64_t" >&6; }
14080         if test "$ac_cv_alignof_dbus_int64_t" = "0" ; then
14081                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14082         fi
14083         DBIND_ALIGNOF_DBUS_INT64_T=$ac_cv_alignof_dbus_int64_t
14084
14085
14086                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
14087 $as_echo_n "checking alignment of double... " >&6; }
14088         if ${ac_cv_alignof_double+:} false; then :
14089   $as_echo_n "(cached) " >&6
14090 else
14091   if test "$cross_compiling" = yes; then :
14092   ac_cv_alignof_double=0
14093 else
14094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h.  */
14096  #include <stdio.h>
14097                           #include <stdlib.h>
14098                           #define DBUS_API_SUBJECT_TO_CHANGE
14099                           #include <dbus/dbus.h>
14100                         typedef struct {char s1;} dbind_struct;
14101                         typedef void *dbind_pointer;
14102                         struct test {char s1; double s2;};
14103                         main()
14104                         {
14105                         FILE *f=fopen("conftestval", "w");
14106                         if (!f) exit(1);
14107                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
14108                         exit(0);
14109                         }
14110 _ACEOF
14111 if ac_fn_c_try_run "$LINENO"; then :
14112   ac_cv_alignof_double=`cat conftestval`
14113 else
14114   ac_cv_alignof_double=0
14115 fi
14116 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14117   conftest.$ac_objext conftest.beam conftest.$ac_ext
14118 fi
14119
14120
14121 fi
14122         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
14123 $as_echo "$ac_cv_alignof_double" >&6; }
14124         if test "$ac_cv_alignof_double" = "0" ; then
14125                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14126         fi
14127         DBIND_ALIGNOF_DOUBLE=$ac_cv_alignof_double
14128
14129
14130                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_pointer" >&5
14131 $as_echo_n "checking alignment of dbind_pointer... " >&6; }
14132         if ${ac_cv_alignof_dbind_pointer+:} false; then :
14133   $as_echo_n "(cached) " >&6
14134 else
14135   if test "$cross_compiling" = yes; then :
14136   ac_cv_alignof_dbind_pointer=0
14137 else
14138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h.  */
14140  #include <stdio.h>
14141                           #include <stdlib.h>
14142                           #define DBUS_API_SUBJECT_TO_CHANGE
14143                           #include <dbus/dbus.h>
14144                         typedef struct {char s1;} dbind_struct;
14145                         typedef void *dbind_pointer;
14146                         struct test {char s1; dbind_pointer s2;};
14147                         main()
14148                         {
14149                         FILE *f=fopen("conftestval", "w");
14150                         if (!f) exit(1);
14151                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
14152                         exit(0);
14153                         }
14154 _ACEOF
14155 if ac_fn_c_try_run "$LINENO"; then :
14156   ac_cv_alignof_dbind_pointer=`cat conftestval`
14157 else
14158   ac_cv_alignof_dbind_pointer=0
14159 fi
14160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14161   conftest.$ac_objext conftest.beam conftest.$ac_ext
14162 fi
14163
14164
14165 fi
14166         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_pointer" >&5
14167 $as_echo "$ac_cv_alignof_dbind_pointer" >&6; }
14168         if test "$ac_cv_alignof_dbind_pointer" = "0" ; then
14169                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14170         fi
14171         DBIND_ALIGNOF_DBIND_POINTER=$ac_cv_alignof_dbind_pointer
14172
14173
14174                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_struct" >&5
14175 $as_echo_n "checking alignment of dbind_struct... " >&6; }
14176         if ${ac_cv_alignof_dbind_struct+:} false; then :
14177   $as_echo_n "(cached) " >&6
14178 else
14179   if test "$cross_compiling" = yes; then :
14180   ac_cv_alignof_dbind_struct=0
14181 else
14182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h.  */
14184  #include <stdio.h>
14185                           #include <stdlib.h>
14186                           #define DBUS_API_SUBJECT_TO_CHANGE
14187                           #include <dbus/dbus.h>
14188                         typedef struct {char s1;} dbind_struct;
14189                         typedef void *dbind_pointer;
14190                         struct test {char s1; dbind_struct s2;};
14191                         main()
14192                         {
14193                         FILE *f=fopen("conftestval", "w");
14194                         if (!f) exit(1);
14195                         fprintf(f, "%d\n", &(((struct test*)0)->s2));
14196                         exit(0);
14197                         }
14198 _ACEOF
14199 if ac_fn_c_try_run "$LINENO"; then :
14200   ac_cv_alignof_dbind_struct=`cat conftestval`
14201 else
14202   ac_cv_alignof_dbind_struct=0
14203 fi
14204 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14205   conftest.$ac_objext conftest.beam conftest.$ac_ext
14206 fi
14207
14208
14209 fi
14210         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_struct" >&5
14211 $as_echo "$ac_cv_alignof_dbind_struct" >&6; }
14212         if test "$ac_cv_alignof_dbind_struct" = "0" ; then
14213                 as_fn_error $? "Failed to find alignment. Check config.log for details." "$LINENO" 5
14214         fi
14215         DBIND_ALIGNOF_DBIND_STRUCT=$ac_cv_alignof_dbind_struct
14216
14217
14218
14219
14220
14221
14222     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14223 set dummy gtkdoc-check; ac_word=$2
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14225 $as_echo_n "checking for $ac_word... " >&6; }
14226 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
14227   $as_echo_n "(cached) " >&6
14228 else
14229   case $GTKDOC_CHECK in
14230   [\\/]* | ?:[\\/]*)
14231   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14232   ;;
14233   *)
14234   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14235 for as_dir in $PATH
14236 do
14237   IFS=$as_save_IFS
14238   test -z "$as_dir" && as_dir=.
14239     for ac_exec_ext in '' $ac_executable_extensions; do
14240   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14241     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14243     break 2
14244   fi
14245 done
14246   done
14247 IFS=$as_save_IFS
14248
14249   ;;
14250 esac
14251 fi
14252 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14253 if test -n "$GTKDOC_CHECK"; then
14254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14255 $as_echo "$GTKDOC_CHECK" >&6; }
14256 else
14257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14258 $as_echo "no" >&6; }
14259 fi
14260
14261
14262   for ac_prog in gtkdoc-rebase
14263 do
14264   # Extract the first word of "$ac_prog", so it can be a program name with args.
14265 set dummy $ac_prog; ac_word=$2
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14267 $as_echo_n "checking for $ac_word... " >&6; }
14268 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
14269   $as_echo_n "(cached) " >&6
14270 else
14271   case $GTKDOC_REBASE in
14272   [\\/]* | ?:[\\/]*)
14273   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14274   ;;
14275   *)
14276   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14277 for as_dir in $PATH
14278 do
14279   IFS=$as_save_IFS
14280   test -z "$as_dir" && as_dir=.
14281     for ac_exec_ext in '' $ac_executable_extensions; do
14282   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14283     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14285     break 2
14286   fi
14287 done
14288   done
14289 IFS=$as_save_IFS
14290
14291   ;;
14292 esac
14293 fi
14294 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14295 if test -n "$GTKDOC_REBASE"; then
14296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14297 $as_echo "$GTKDOC_REBASE" >&6; }
14298 else
14299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14300 $as_echo "no" >&6; }
14301 fi
14302
14303
14304   test -n "$GTKDOC_REBASE" && break
14305 done
14306 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14307
14308   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14309 set dummy gtkdoc-mkpdf; ac_word=$2
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14311 $as_echo_n "checking for $ac_word... " >&6; }
14312 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
14313   $as_echo_n "(cached) " >&6
14314 else
14315   case $GTKDOC_MKPDF in
14316   [\\/]* | ?:[\\/]*)
14317   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14318   ;;
14319   *)
14320   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14321 for as_dir in $PATH
14322 do
14323   IFS=$as_save_IFS
14324   test -z "$as_dir" && as_dir=.
14325     for ac_exec_ext in '' $ac_executable_extensions; do
14326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14327     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14329     break 2
14330   fi
14331 done
14332   done
14333 IFS=$as_save_IFS
14334
14335   ;;
14336 esac
14337 fi
14338 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14339 if test -n "$GTKDOC_MKPDF"; then
14340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14341 $as_echo "$GTKDOC_MKPDF" >&6; }
14342 else
14343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14344 $as_echo "no" >&6; }
14345 fi
14346
14347
14348
14349
14350 # Check whether --with-html-dir was given.
14351 if test "${with_html_dir+set}" = set; then :
14352   withval=$with_html_dir;
14353 else
14354   with_html_dir='${datadir}/gtk-doc/html'
14355 fi
14356
14357   HTML_DIR="$with_html_dir"
14358
14359
14360     # Check whether --enable-gtk-doc was given.
14361 if test "${enable_gtk_doc+set}" = set; then :
14362   enableval=$enable_gtk_doc;
14363 else
14364   enable_gtk_doc=no
14365 fi
14366
14367
14368   if test x$enable_gtk_doc = xyes; then
14369     if test -n "$PKG_CONFIG" && \
14370     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.09\""; } >&5
14371   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.09") 2>&5
14372   ac_status=$?
14373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14374   test $ac_status = 0; }; then
14375   :
14376 else
14377   as_fn_error $? "You need to have gtk-doc >= 1.09 installed to build $PACKAGE_NAME" "$LINENO" 5
14378 fi
14379         if test "x$PACKAGE_NAME" != "xglib"; then
14380
14381 pkg_failed=no
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14383 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14384
14385 if test -n "$GTKDOC_DEPS_CFLAGS"; then
14386     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
14387  elif test -n "$PKG_CONFIG"; then
14388     if test -n "$PKG_CONFIG" && \
14389     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
14390   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
14391   ac_status=$?
14392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14393   test $ac_status = 0; }; then
14394   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
14395 else
14396   pkg_failed=yes
14397 fi
14398  else
14399     pkg_failed=untried
14400 fi
14401 if test -n "$GTKDOC_DEPS_LIBS"; then
14402     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
14403  elif test -n "$PKG_CONFIG"; then
14404     if test -n "$PKG_CONFIG" && \
14405     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
14406   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
14407   ac_status=$?
14408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14409   test $ac_status = 0; }; then
14410   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
14411 else
14412   pkg_failed=yes
14413 fi
14414  else
14415     pkg_failed=untried
14416 fi
14417
14418
14419
14420 if test $pkg_failed = yes; then
14421         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14422 $as_echo "no" >&6; }
14423
14424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14425         _pkg_short_errors_supported=yes
14426 else
14427         _pkg_short_errors_supported=no
14428 fi
14429         if test $_pkg_short_errors_supported = yes; then
14430                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
14431         else
14432                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
14433         fi
14434         # Put the nasty error message in config.log where it belongs
14435         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14436
14437         :
14438 elif test $pkg_failed = untried; then
14439         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14440 $as_echo "no" >&6; }
14441         :
14442 else
14443         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14444         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
14445         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14446 $as_echo "yes" >&6; }
14447
14448 fi
14449     fi
14450   fi
14451
14452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14453 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14455 $as_echo "$enable_gtk_doc" >&6; }
14456
14457     # Check whether --enable-gtk-doc-html was given.
14458 if test "${enable_gtk_doc_html+set}" = set; then :
14459   enableval=$enable_gtk_doc_html;
14460 else
14461   enable_gtk_doc_html=yes
14462 fi
14463
14464     # Check whether --enable-gtk-doc-pdf was given.
14465 if test "${enable_gtk_doc_pdf+set}" = set; then :
14466   enableval=$enable_gtk_doc_pdf;
14467 else
14468   enable_gtk_doc_pdf=no
14469 fi
14470
14471
14472   if test -z "$GTKDOC_MKPDF"; then
14473     enable_gtk_doc_pdf=no
14474   fi
14475
14476   if test -z "$AM_DEFAULT_VERBOSITY"; then
14477     AM_DEFAULT_VERBOSITY=1
14478   fi
14479
14480
14481    if test x$enable_gtk_doc = xyes; then
14482   ENABLE_GTK_DOC_TRUE=
14483   ENABLE_GTK_DOC_FALSE='#'
14484 else
14485   ENABLE_GTK_DOC_TRUE='#'
14486   ENABLE_GTK_DOC_FALSE=
14487 fi
14488
14489    if test x$enable_gtk_doc_html = xyes; then
14490   GTK_DOC_BUILD_HTML_TRUE=
14491   GTK_DOC_BUILD_HTML_FALSE='#'
14492 else
14493   GTK_DOC_BUILD_HTML_TRUE='#'
14494   GTK_DOC_BUILD_HTML_FALSE=
14495 fi
14496
14497    if test x$enable_gtk_doc_pdf = xyes; then
14498   GTK_DOC_BUILD_PDF_TRUE=
14499   GTK_DOC_BUILD_PDF_FALSE='#'
14500 else
14501   GTK_DOC_BUILD_PDF_TRUE='#'
14502   GTK_DOC_BUILD_PDF_FALSE=
14503 fi
14504
14505    if test -n "$LIBTOOL"; then
14506   GTK_DOC_USE_LIBTOOL_TRUE=
14507   GTK_DOC_USE_LIBTOOL_FALSE='#'
14508 else
14509   GTK_DOC_USE_LIBTOOL_TRUE='#'
14510   GTK_DOC_USE_LIBTOOL_FALSE=
14511 fi
14512
14513    if test -n "$GTKDOC_REBASE"; then
14514   GTK_DOC_USE_REBASE_TRUE=
14515   GTK_DOC_USE_REBASE_FALSE='#'
14516 else
14517   GTK_DOC_USE_REBASE_TRUE='#'
14518   GTK_DOC_USE_REBASE_FALSE=
14519 fi
14520
14521
14522
14523 if test "x$GCC" = xyes; then
14524         CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
14525 fi
14526 CPPFLAGS=$orig_CPPFLAGS
14527 ac_config_files="$ac_config_files Makefile po/Makefile.in xml/Makefile dbind/Makefile dbind/dbind-config.h atspi/Makefile registryd/Makefile bus/Makefile doc/Makefile doc/libatspi/Makefile test/Makefile atspi-2.pc atspi-2-uninstalled.pc"
14528
14529
14530 cat >confcache <<\_ACEOF
14531 # This file is a shell script that caches the results of configure
14532 # tests run on this system so they can be shared between configure
14533 # scripts and configure runs, see configure's option --config-cache.
14534 # It is not useful on other systems.  If it contains results you don't
14535 # want to keep, you may remove or edit it.
14536 #
14537 # config.status only pays attention to the cache file if you give it
14538 # the --recheck option to rerun configure.
14539 #
14540 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14541 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14542 # following values.
14543
14544 _ACEOF
14545
14546 # The following way of writing the cache mishandles newlines in values,
14547 # but we know of no workaround that is simple, portable, and efficient.
14548 # So, we kill variables containing newlines.
14549 # Ultrix sh set writes to stderr and can't be redirected directly,
14550 # and sets the high bit in the cache file unless we assign to the vars.
14551 (
14552   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14553     eval ac_val=\$$ac_var
14554     case $ac_val in #(
14555     *${as_nl}*)
14556       case $ac_var in #(
14557       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14558 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14559       esac
14560       case $ac_var in #(
14561       _ | IFS | as_nl) ;; #(
14562       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14563       *) { eval $ac_var=; unset $ac_var;} ;;
14564       esac ;;
14565     esac
14566   done
14567
14568   (set) 2>&1 |
14569     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14570     *${as_nl}ac_space=\ *)
14571       # `set' does not quote correctly, so add quotes: double-quote
14572       # substitution turns \\\\ into \\, and sed turns \\ into \.
14573       sed -n \
14574         "s/'/'\\\\''/g;
14575           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14576       ;; #(
14577     *)
14578       # `set' quotes correctly as required by POSIX, so do not add quotes.
14579       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14580       ;;
14581     esac |
14582     sort
14583 ) |
14584   sed '
14585      /^ac_cv_env_/b end
14586      t clear
14587      :clear
14588      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14589      t end
14590      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14591      :end' >>confcache
14592 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14593   if test -w "$cache_file"; then
14594     if test "x$cache_file" != "x/dev/null"; then
14595       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14596 $as_echo "$as_me: updating cache $cache_file" >&6;}
14597       if test ! -f "$cache_file" || test -h "$cache_file"; then
14598         cat confcache >"$cache_file"
14599       else
14600         case $cache_file in #(
14601         */* | ?:*)
14602           mv -f confcache "$cache_file"$$ &&
14603           mv -f "$cache_file"$$ "$cache_file" ;; #(
14604         *)
14605           mv -f confcache "$cache_file" ;;
14606         esac
14607       fi
14608     fi
14609   else
14610     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14611 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14612   fi
14613 fi
14614 rm -f confcache
14615
14616 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14617 # Let make expand exec_prefix.
14618 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14619
14620 DEFS=-DHAVE_CONFIG_H
14621
14622 ac_libobjs=
14623 ac_ltlibobjs=
14624 U=
14625 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14626   # 1. Remove the extension, and $U if already installed.
14627   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14628   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14629   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14630   #    will be set to the directory where LIBOBJS objects are built.
14631   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14632   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14633 done
14634 LIBOBJS=$ac_libobjs
14635
14636 LTLIBOBJS=$ac_ltlibobjs
14637
14638
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14640 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14641    if test -n "$am_sleep_pid"; then
14642      # Hide warnings about reused PIDs.
14643      wait $am_sleep_pid 2>/dev/null
14644    fi
14645    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14646 $as_echo "done" >&6; }
14647  if test -n "$EXEEXT"; then
14648   am__EXEEXT_TRUE=
14649   am__EXEEXT_FALSE='#'
14650 else
14651   am__EXEEXT_TRUE='#'
14652   am__EXEEXT_FALSE=
14653 fi
14654
14655 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14656   as_fn_error $? "conditional \"AMDEP\" was never defined.
14657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14658 fi
14659 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14660   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14662 fi
14663
14664   ac_config_commands="$ac_config_commands po/stamp-it"
14665
14666
14667 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14668   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14670 fi
14671 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14672   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14674 fi
14675 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14676   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14678 fi
14679 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14680   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14682 fi
14683 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14684   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14686 fi
14687 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14688   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14690 fi
14691
14692 : "${CONFIG_STATUS=./config.status}"
14693 ac_write_fail=0
14694 ac_clean_files_save=$ac_clean_files
14695 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14697 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14698 as_write_fail=0
14699 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14700 #! $SHELL
14701 # Generated by $as_me.
14702 # Run this file to recreate the current configuration.
14703 # Compiler output produced by configure, useful for debugging
14704 # configure, is in config.log if it exists.
14705
14706 debug=false
14707 ac_cs_recheck=false
14708 ac_cs_silent=false
14709
14710 SHELL=\${CONFIG_SHELL-$SHELL}
14711 export SHELL
14712 _ASEOF
14713 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14714 ## -------------------- ##
14715 ## M4sh Initialization. ##
14716 ## -------------------- ##
14717
14718 # Be more Bourne compatible
14719 DUALCASE=1; export DUALCASE # for MKS sh
14720 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14721   emulate sh
14722   NULLCMD=:
14723   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14724   # is contrary to our usage.  Disable this feature.
14725   alias -g '${1+"$@"}'='"$@"'
14726   setopt NO_GLOB_SUBST
14727 else
14728   case `(set -o) 2>/dev/null` in #(
14729   *posix*) :
14730     set -o posix ;; #(
14731   *) :
14732      ;;
14733 esac
14734 fi
14735
14736
14737 as_nl='
14738 '
14739 export as_nl
14740 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14741 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14743 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14744 # Prefer a ksh shell builtin over an external printf program on Solaris,
14745 # but without wasting forks for bash or zsh.
14746 if test -z "$BASH_VERSION$ZSH_VERSION" \
14747     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14748   as_echo='print -r --'
14749   as_echo_n='print -rn --'
14750 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14751   as_echo='printf %s\n'
14752   as_echo_n='printf %s'
14753 else
14754   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14755     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14756     as_echo_n='/usr/ucb/echo -n'
14757   else
14758     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14759     as_echo_n_body='eval
14760       arg=$1;
14761       case $arg in #(
14762       *"$as_nl"*)
14763         expr "X$arg" : "X\\(.*\\)$as_nl";
14764         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14765       esac;
14766       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14767     '
14768     export as_echo_n_body
14769     as_echo_n='sh -c $as_echo_n_body as_echo'
14770   fi
14771   export as_echo_body
14772   as_echo='sh -c $as_echo_body as_echo'
14773 fi
14774
14775 # The user is always right.
14776 if test "${PATH_SEPARATOR+set}" != set; then
14777   PATH_SEPARATOR=:
14778   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14779     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14780       PATH_SEPARATOR=';'
14781   }
14782 fi
14783
14784
14785 # IFS
14786 # We need space, tab and new line, in precisely that order.  Quoting is
14787 # there to prevent editors from complaining about space-tab.
14788 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14789 # splitting by setting IFS to empty value.)
14790 IFS=" ""        $as_nl"
14791
14792 # Find who we are.  Look in the path if we contain no directory separator.
14793 as_myself=
14794 case $0 in #((
14795   *[\\/]* ) as_myself=$0 ;;
14796   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14797 for as_dir in $PATH
14798 do
14799   IFS=$as_save_IFS
14800   test -z "$as_dir" && as_dir=.
14801     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14802   done
14803 IFS=$as_save_IFS
14804
14805      ;;
14806 esac
14807 # We did not find ourselves, most probably we were run as `sh COMMAND'
14808 # in which case we are not to be found in the path.
14809 if test "x$as_myself" = x; then
14810   as_myself=$0
14811 fi
14812 if test ! -f "$as_myself"; then
14813   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14814   exit 1
14815 fi
14816
14817 # Unset variables that we do not need and which cause bugs (e.g. in
14818 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14819 # suppresses any "Segmentation fault" message there.  '((' could
14820 # trigger a bug in pdksh 5.2.14.
14821 for as_var in BASH_ENV ENV MAIL MAILPATH
14822 do eval test x\${$as_var+set} = xset \
14823   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14824 done
14825 PS1='$ '
14826 PS2='> '
14827 PS4='+ '
14828
14829 # NLS nuisances.
14830 LC_ALL=C
14831 export LC_ALL
14832 LANGUAGE=C
14833 export LANGUAGE
14834
14835 # CDPATH.
14836 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14837
14838
14839 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14840 # ----------------------------------------
14841 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14842 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14843 # script with STATUS, using 1 if that was 0.
14844 as_fn_error ()
14845 {
14846   as_status=$1; test $as_status -eq 0 && as_status=1
14847   if test "$4"; then
14848     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14849     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14850   fi
14851   $as_echo "$as_me: error: $2" >&2
14852   as_fn_exit $as_status
14853 } # as_fn_error
14854
14855
14856 # as_fn_set_status STATUS
14857 # -----------------------
14858 # Set $? to STATUS, without forking.
14859 as_fn_set_status ()
14860 {
14861   return $1
14862 } # as_fn_set_status
14863
14864 # as_fn_exit STATUS
14865 # -----------------
14866 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14867 as_fn_exit ()
14868 {
14869   set +e
14870   as_fn_set_status $1
14871   exit $1
14872 } # as_fn_exit
14873
14874 # as_fn_unset VAR
14875 # ---------------
14876 # Portably unset VAR.
14877 as_fn_unset ()
14878 {
14879   { eval $1=; unset $1;}
14880 }
14881 as_unset=as_fn_unset
14882 # as_fn_append VAR VALUE
14883 # ----------------------
14884 # Append the text in VALUE to the end of the definition contained in VAR. Take
14885 # advantage of any shell optimizations that allow amortized linear growth over
14886 # repeated appends, instead of the typical quadratic growth present in naive
14887 # implementations.
14888 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14889   eval 'as_fn_append ()
14890   {
14891     eval $1+=\$2
14892   }'
14893 else
14894   as_fn_append ()
14895   {
14896     eval $1=\$$1\$2
14897   }
14898 fi # as_fn_append
14899
14900 # as_fn_arith ARG...
14901 # ------------------
14902 # Perform arithmetic evaluation on the ARGs, and store the result in the
14903 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14904 # must be portable across $(()) and expr.
14905 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14906   eval 'as_fn_arith ()
14907   {
14908     as_val=$(( $* ))
14909   }'
14910 else
14911   as_fn_arith ()
14912   {
14913     as_val=`expr "$@" || test $? -eq 1`
14914   }
14915 fi # as_fn_arith
14916
14917
14918 if expr a : '\(a\)' >/dev/null 2>&1 &&
14919    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14920   as_expr=expr
14921 else
14922   as_expr=false
14923 fi
14924
14925 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14926   as_basename=basename
14927 else
14928   as_basename=false
14929 fi
14930
14931 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14932   as_dirname=dirname
14933 else
14934   as_dirname=false
14935 fi
14936
14937 as_me=`$as_basename -- "$0" ||
14938 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14939          X"$0" : 'X\(//\)$' \| \
14940          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14941 $as_echo X/"$0" |
14942     sed '/^.*\/\([^/][^/]*\)\/*$/{
14943             s//\1/
14944             q
14945           }
14946           /^X\/\(\/\/\)$/{
14947             s//\1/
14948             q
14949           }
14950           /^X\/\(\/\).*/{
14951             s//\1/
14952             q
14953           }
14954           s/.*/./; q'`
14955
14956 # Avoid depending upon Character Ranges.
14957 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14958 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14959 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14960 as_cr_digits='0123456789'
14961 as_cr_alnum=$as_cr_Letters$as_cr_digits
14962
14963 ECHO_C= ECHO_N= ECHO_T=
14964 case `echo -n x` in #(((((
14965 -n*)
14966   case `echo 'xy\c'` in
14967   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14968   xy)  ECHO_C='\c';;
14969   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14970        ECHO_T=' ';;
14971   esac;;
14972 *)
14973   ECHO_N='-n';;
14974 esac
14975
14976 rm -f conf$$ conf$$.exe conf$$.file
14977 if test -d conf$$.dir; then
14978   rm -f conf$$.dir/conf$$.file
14979 else
14980   rm -f conf$$.dir
14981   mkdir conf$$.dir 2>/dev/null
14982 fi
14983 if (echo >conf$$.file) 2>/dev/null; then
14984   if ln -s conf$$.file conf$$ 2>/dev/null; then
14985     as_ln_s='ln -s'
14986     # ... but there are two gotchas:
14987     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14988     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14989     # In both cases, we have to default to `cp -pR'.
14990     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14991       as_ln_s='cp -pR'
14992   elif ln conf$$.file conf$$ 2>/dev/null; then
14993     as_ln_s=ln
14994   else
14995     as_ln_s='cp -pR'
14996   fi
14997 else
14998   as_ln_s='cp -pR'
14999 fi
15000 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15001 rmdir conf$$.dir 2>/dev/null
15002
15003
15004 # as_fn_mkdir_p
15005 # -------------
15006 # Create "$as_dir" as a directory, including parents if necessary.
15007 as_fn_mkdir_p ()
15008 {
15009
15010   case $as_dir in #(
15011   -*) as_dir=./$as_dir;;
15012   esac
15013   test -d "$as_dir" || eval $as_mkdir_p || {
15014     as_dirs=
15015     while :; do
15016       case $as_dir in #(
15017       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15018       *) as_qdir=$as_dir;;
15019       esac
15020       as_dirs="'$as_qdir' $as_dirs"
15021       as_dir=`$as_dirname -- "$as_dir" ||
15022 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15023          X"$as_dir" : 'X\(//\)[^/]' \| \
15024          X"$as_dir" : 'X\(//\)$' \| \
15025          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15026 $as_echo X"$as_dir" |
15027     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15028             s//\1/
15029             q
15030           }
15031           /^X\(\/\/\)[^/].*/{
15032             s//\1/
15033             q
15034           }
15035           /^X\(\/\/\)$/{
15036             s//\1/
15037             q
15038           }
15039           /^X\(\/\).*/{
15040             s//\1/
15041             q
15042           }
15043           s/.*/./; q'`
15044       test -d "$as_dir" && break
15045     done
15046     test -z "$as_dirs" || eval "mkdir $as_dirs"
15047   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15048
15049
15050 } # as_fn_mkdir_p
15051 if mkdir -p . 2>/dev/null; then
15052   as_mkdir_p='mkdir -p "$as_dir"'
15053 else
15054   test -d ./-p && rmdir ./-p
15055   as_mkdir_p=false
15056 fi
15057
15058
15059 # as_fn_executable_p FILE
15060 # -----------------------
15061 # Test if FILE is an executable regular file.
15062 as_fn_executable_p ()
15063 {
15064   test -f "$1" && test -x "$1"
15065 } # as_fn_executable_p
15066 as_test_x='test -x'
15067 as_executable_p=as_fn_executable_p
15068
15069 # Sed expression to map a string onto a valid CPP name.
15070 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15071
15072 # Sed expression to map a string onto a valid variable name.
15073 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15074
15075
15076 exec 6>&1
15077 ## ----------------------------------- ##
15078 ## Main body of $CONFIG_STATUS script. ##
15079 ## ----------------------------------- ##
15080 _ASEOF
15081 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15082
15083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15084 # Save the log message, to keep $0 and so on meaningful, and to
15085 # report actual input values of CONFIG_FILES etc. instead of their
15086 # values after options handling.
15087 ac_log="
15088 This file was extended by at-spi2-core $as_me 2.7.91, which was
15089 generated by GNU Autoconf 2.69.  Invocation command line was
15090
15091   CONFIG_FILES    = $CONFIG_FILES
15092   CONFIG_HEADERS  = $CONFIG_HEADERS
15093   CONFIG_LINKS    = $CONFIG_LINKS
15094   CONFIG_COMMANDS = $CONFIG_COMMANDS
15095   $ $0 $@
15096
15097 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15098 "
15099
15100 _ACEOF
15101
15102 case $ac_config_files in *"
15103 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15104 esac
15105
15106 case $ac_config_headers in *"
15107 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15108 esac
15109
15110
15111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15112 # Files that config.status was made for.
15113 config_files="$ac_config_files"
15114 config_headers="$ac_config_headers"
15115 config_commands="$ac_config_commands"
15116
15117 _ACEOF
15118
15119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15120 ac_cs_usage="\
15121 \`$as_me' instantiates files and other configuration actions
15122 from templates according to the current configuration.  Unless the files
15123 and actions are specified as TAGs, all are instantiated by default.
15124
15125 Usage: $0 [OPTION]... [TAG]...
15126
15127   -h, --help       print this help, then exit
15128   -V, --version    print version number and configuration settings, then exit
15129       --config     print configuration, then exit
15130   -q, --quiet, --silent
15131                    do not print progress messages
15132   -d, --debug      don't remove temporary files
15133       --recheck    update $as_me by reconfiguring in the same conditions
15134       --file=FILE[:TEMPLATE]
15135                    instantiate the configuration file FILE
15136       --header=FILE[:TEMPLATE]
15137                    instantiate the configuration header FILE
15138
15139 Configuration files:
15140 $config_files
15141
15142 Configuration headers:
15143 $config_headers
15144
15145 Configuration commands:
15146 $config_commands
15147
15148 Report bugs to <accessibility-atspi@lists.linux-foundation.org>."
15149
15150 _ACEOF
15151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15152 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15153 ac_cs_version="\\
15154 at-spi2-core config.status 2.7.91
15155 configured by $0, generated by GNU Autoconf 2.69,
15156   with options \\"\$ac_cs_config\\"
15157
15158 Copyright (C) 2012 Free Software Foundation, Inc.
15159 This config.status script is free software; the Free Software Foundation
15160 gives unlimited permission to copy, distribute and modify it."
15161
15162 ac_pwd='$ac_pwd'
15163 srcdir='$srcdir'
15164 INSTALL='$INSTALL'
15165 MKDIR_P='$MKDIR_P'
15166 AWK='$AWK'
15167 test -n "\$AWK" || AWK=awk
15168 _ACEOF
15169
15170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15171 # The default lists apply if the user does not specify any file.
15172 ac_need_defaults=:
15173 while test $# != 0
15174 do
15175   case $1 in
15176   --*=?*)
15177     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15178     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15179     ac_shift=:
15180     ;;
15181   --*=)
15182     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15183     ac_optarg=
15184     ac_shift=:
15185     ;;
15186   *)
15187     ac_option=$1
15188     ac_optarg=$2
15189     ac_shift=shift
15190     ;;
15191   esac
15192
15193   case $ac_option in
15194   # Handling of the options.
15195   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15196     ac_cs_recheck=: ;;
15197   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15198     $as_echo "$ac_cs_version"; exit ;;
15199   --config | --confi | --conf | --con | --co | --c )
15200     $as_echo "$ac_cs_config"; exit ;;
15201   --debug | --debu | --deb | --de | --d | -d )
15202     debug=: ;;
15203   --file | --fil | --fi | --f )
15204     $ac_shift
15205     case $ac_optarg in
15206     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15207     '') as_fn_error $? "missing file argument" ;;
15208     esac
15209     as_fn_append CONFIG_FILES " '$ac_optarg'"
15210     ac_need_defaults=false;;
15211   --header | --heade | --head | --hea )
15212     $ac_shift
15213     case $ac_optarg in
15214     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15215     esac
15216     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15217     ac_need_defaults=false;;
15218   --he | --h)
15219     # Conflict between --help and --header
15220     as_fn_error $? "ambiguous option: \`$1'
15221 Try \`$0 --help' for more information.";;
15222   --help | --hel | -h )
15223     $as_echo "$ac_cs_usage"; exit ;;
15224   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15225   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15226     ac_cs_silent=: ;;
15227
15228   # This is an error.
15229   -*) as_fn_error $? "unrecognized option: \`$1'
15230 Try \`$0 --help' for more information." ;;
15231
15232   *) as_fn_append ac_config_targets " $1"
15233      ac_need_defaults=false ;;
15234
15235   esac
15236   shift
15237 done
15238
15239 ac_configure_extra_args=
15240
15241 if $ac_cs_silent; then
15242   exec 6>/dev/null
15243   ac_configure_extra_args="$ac_configure_extra_args --silent"
15244 fi
15245
15246 _ACEOF
15247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15248 if \$ac_cs_recheck; then
15249   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15250   shift
15251   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15252   CONFIG_SHELL='$SHELL'
15253   export CONFIG_SHELL
15254   exec "\$@"
15255 fi
15256
15257 _ACEOF
15258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15259 exec 5>>config.log
15260 {
15261   echo
15262   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15263 ## Running $as_me. ##
15264 _ASBOX
15265   $as_echo "$ac_log"
15266 } >&5
15267
15268 _ACEOF
15269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15270 #
15271 # INIT-COMMANDS
15272 #
15273 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15274
15275
15276 # The HP-UX ksh and POSIX shell print the target directory to stdout
15277 # if CDPATH is set.
15278 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15279
15280 sed_quote_subst='$sed_quote_subst'
15281 double_quote_subst='$double_quote_subst'
15282 delay_variable_subst='$delay_variable_subst'
15283 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15284 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15285 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15286 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15287 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15288 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15289 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15290 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15291 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15292 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15293 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15294 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15295 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15296 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15297 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15298 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15299 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15300 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15301 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15302 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15303 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15304 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15305 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15306 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15307 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15308 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15309 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15310 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15311 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15312 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15313 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15314 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15315 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15316 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15317 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15318 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15319 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15320 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15321 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15322 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15323 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15324 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15325 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15326 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15327 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15328 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15329 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15330 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15331 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15332 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15333 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15334 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15335 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15336 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15337 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15338 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15339 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"`'
15340 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15341 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15342 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15343 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15344 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15345 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15346 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15347 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15348 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15349 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15350 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15351 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15352 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15353 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15354 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15355 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15356 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15357 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15358 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15359 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15360 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15361 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15362 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15363 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15364 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15365 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15366 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15367 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15368 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15369 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15370 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15371 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15372 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15373 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15374 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15375 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15376 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15377 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15378 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15379 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15380 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15381 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15382 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15383 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15384 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15385 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15386 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15387 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15388 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15389 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15390 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15391 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15392 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15393 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15394 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15395 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15396 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15397 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15398 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15399 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15400 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15401 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15402 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15403 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15404 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15405 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15406 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15407 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15408 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15409 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15410 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15411 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15412 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15413
15414 LTCC='$LTCC'
15415 LTCFLAGS='$LTCFLAGS'
15416 compiler='$compiler_DEFAULT'
15417
15418 # A function that is used when there is no print builtin or printf.
15419 func_fallback_echo ()
15420 {
15421   eval 'cat <<_LTECHO_EOF
15422 \$1
15423 _LTECHO_EOF'
15424 }
15425
15426 # Quote evaled strings.
15427 for var in SHELL \
15428 ECHO \
15429 PATH_SEPARATOR \
15430 SED \
15431 GREP \
15432 EGREP \
15433 FGREP \
15434 LD \
15435 NM \
15436 LN_S \
15437 lt_SP2NL \
15438 lt_NL2SP \
15439 reload_flag \
15440 OBJDUMP \
15441 deplibs_check_method \
15442 file_magic_cmd \
15443 file_magic_glob \
15444 want_nocaseglob \
15445 DLLTOOL \
15446 sharedlib_from_linklib_cmd \
15447 AR \
15448 AR_FLAGS \
15449 archiver_list_spec \
15450 STRIP \
15451 RANLIB \
15452 CC \
15453 CFLAGS \
15454 compiler \
15455 lt_cv_sys_global_symbol_pipe \
15456 lt_cv_sys_global_symbol_to_cdecl \
15457 lt_cv_sys_global_symbol_to_c_name_address \
15458 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15459 nm_file_list_spec \
15460 lt_prog_compiler_no_builtin_flag \
15461 lt_prog_compiler_pic \
15462 lt_prog_compiler_wl \
15463 lt_prog_compiler_static \
15464 lt_cv_prog_compiler_c_o \
15465 need_locks \
15466 MANIFEST_TOOL \
15467 DSYMUTIL \
15468 NMEDIT \
15469 LIPO \
15470 OTOOL \
15471 OTOOL64 \
15472 shrext_cmds \
15473 export_dynamic_flag_spec \
15474 whole_archive_flag_spec \
15475 compiler_needs_object \
15476 with_gnu_ld \
15477 allow_undefined_flag \
15478 no_undefined_flag \
15479 hardcode_libdir_flag_spec \
15480 hardcode_libdir_separator \
15481 exclude_expsyms \
15482 include_expsyms \
15483 file_list_spec \
15484 variables_saved_for_relink \
15485 libname_spec \
15486 library_names_spec \
15487 soname_spec \
15488 install_override_mode \
15489 finish_eval \
15490 old_striplib \
15491 striplib; do
15492     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15493     *[\\\\\\\`\\"\\\$]*)
15494       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15495       ;;
15496     *)
15497       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15498       ;;
15499     esac
15500 done
15501
15502 # Double-quote double-evaled strings.
15503 for var in reload_cmds \
15504 old_postinstall_cmds \
15505 old_postuninstall_cmds \
15506 old_archive_cmds \
15507 extract_expsyms_cmds \
15508 old_archive_from_new_cmds \
15509 old_archive_from_expsyms_cmds \
15510 archive_cmds \
15511 archive_expsym_cmds \
15512 module_cmds \
15513 module_expsym_cmds \
15514 export_symbols_cmds \
15515 prelink_cmds \
15516 postlink_cmds \
15517 postinstall_cmds \
15518 postuninstall_cmds \
15519 finish_cmds \
15520 sys_lib_search_path_spec \
15521 sys_lib_dlsearch_path_spec; do
15522     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15523     *[\\\\\\\`\\"\\\$]*)
15524       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15525       ;;
15526     *)
15527       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15528       ;;
15529     esac
15530 done
15531
15532 ac_aux_dir='$ac_aux_dir'
15533 xsi_shell='$xsi_shell'
15534 lt_shell_append='$lt_shell_append'
15535
15536 # See if we are running on zsh, and set the options which allow our
15537 # commands through without removal of \ escapes INIT.
15538 if test -n "\${ZSH_VERSION+set}" ; then
15539    setopt NO_GLOB_SUBST
15540 fi
15541
15542
15543     PACKAGE='$PACKAGE'
15544     VERSION='$VERSION'
15545     TIMESTAMP='$TIMESTAMP'
15546     RM='$RM'
15547     ofile='$ofile'
15548
15549
15550
15551
15552 _ACEOF
15553
15554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15555
15556 # Handling of arguments.
15557 for ac_config_target in $ac_config_targets
15558 do
15559   case $ac_config_target in
15560     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15561     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15562     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15563     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15564     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15565     "xml/Makefile") CONFIG_FILES="$CONFIG_FILES xml/Makefile" ;;
15566     "dbind/Makefile") CONFIG_FILES="$CONFIG_FILES dbind/Makefile" ;;
15567     "dbind/dbind-config.h") CONFIG_FILES="$CONFIG_FILES dbind/dbind-config.h" ;;
15568     "atspi/Makefile") CONFIG_FILES="$CONFIG_FILES atspi/Makefile" ;;
15569     "registryd/Makefile") CONFIG_FILES="$CONFIG_FILES registryd/Makefile" ;;
15570     "bus/Makefile") CONFIG_FILES="$CONFIG_FILES bus/Makefile" ;;
15571     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15572     "doc/libatspi/Makefile") CONFIG_FILES="$CONFIG_FILES doc/libatspi/Makefile" ;;
15573     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
15574     "atspi-2.pc") CONFIG_FILES="$CONFIG_FILES atspi-2.pc" ;;
15575     "atspi-2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES atspi-2-uninstalled.pc" ;;
15576     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15577
15578   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15579   esac
15580 done
15581
15582
15583 # If the user did not use the arguments to specify the items to instantiate,
15584 # then the envvar interface is used.  Set only those that are not.
15585 # We use the long form for the default assignment because of an extremely
15586 # bizarre bug on SunOS 4.1.3.
15587 if $ac_need_defaults; then
15588   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15589   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15590   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15591 fi
15592
15593 # Have a temporary directory for convenience.  Make it in the build tree
15594 # simply because there is no reason against having it here, and in addition,
15595 # creating and moving files from /tmp can sometimes cause problems.
15596 # Hook for its removal unless debugging.
15597 # Note that there is a small window in which the directory will not be cleaned:
15598 # after its creation but before its name has been assigned to `$tmp'.
15599 $debug ||
15600 {
15601   tmp= ac_tmp=
15602   trap 'exit_status=$?
15603   : "${ac_tmp:=$tmp}"
15604   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15605 ' 0
15606   trap 'as_fn_exit 1' 1 2 13 15
15607 }
15608 # Create a (secure) tmp directory for tmp files.
15609
15610 {
15611   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15612   test -d "$tmp"
15613 }  ||
15614 {
15615   tmp=./conf$$-$RANDOM
15616   (umask 077 && mkdir "$tmp")
15617 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15618 ac_tmp=$tmp
15619
15620 # Set up the scripts for CONFIG_FILES section.
15621 # No need to generate them if there are no CONFIG_FILES.
15622 # This happens for instance with `./config.status config.h'.
15623 if test -n "$CONFIG_FILES"; then
15624
15625
15626 ac_cr=`echo X | tr X '\015'`
15627 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15628 # But we know of no other shell where ac_cr would be empty at this
15629 # point, so we can use a bashism as a fallback.
15630 if test "x$ac_cr" = x; then
15631   eval ac_cr=\$\'\\r\'
15632 fi
15633 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15634 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15635   ac_cs_awk_cr='\\r'
15636 else
15637   ac_cs_awk_cr=$ac_cr
15638 fi
15639
15640 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15641 _ACEOF
15642
15643
15644 {
15645   echo "cat >conf$$subs.awk <<_ACEOF" &&
15646   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15647   echo "_ACEOF"
15648 } >conf$$subs.sh ||
15649   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15650 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15651 ac_delim='%!_!# '
15652 for ac_last_try in false false false false false :; do
15653   . ./conf$$subs.sh ||
15654     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15655
15656   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15657   if test $ac_delim_n = $ac_delim_num; then
15658     break
15659   elif $ac_last_try; then
15660     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15661   else
15662     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15663   fi
15664 done
15665 rm -f conf$$subs.sh
15666
15667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15668 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15669 _ACEOF
15670 sed -n '
15671 h
15672 s/^/S["/; s/!.*/"]=/
15673 p
15674 g
15675 s/^[^!]*!//
15676 :repl
15677 t repl
15678 s/'"$ac_delim"'$//
15679 t delim
15680 :nl
15681 h
15682 s/\(.\{148\}\)..*/\1/
15683 t more1
15684 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15685 p
15686 n
15687 b repl
15688 :more1
15689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15690 p
15691 g
15692 s/.\{148\}//
15693 t nl
15694 :delim
15695 h
15696 s/\(.\{148\}\)..*/\1/
15697 t more2
15698 s/["\\]/\\&/g; s/^/"/; s/$/"/
15699 p
15700 b
15701 :more2
15702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15703 p
15704 g
15705 s/.\{148\}//
15706 t delim
15707 ' <conf$$subs.awk | sed '
15708 /^[^""]/{
15709   N
15710   s/\n//
15711 }
15712 ' >>$CONFIG_STATUS || ac_write_fail=1
15713 rm -f conf$$subs.awk
15714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15715 _ACAWK
15716 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15717   for (key in S) S_is_set[key] = 1
15718   FS = "\a"
15719
15720 }
15721 {
15722   line = $ 0
15723   nfields = split(line, field, "@")
15724   substed = 0
15725   len = length(field[1])
15726   for (i = 2; i < nfields; i++) {
15727     key = field[i]
15728     keylen = length(key)
15729     if (S_is_set[key]) {
15730       value = S[key]
15731       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15732       len += length(value) + length(field[++i])
15733       substed = 1
15734     } else
15735       len += 1 + keylen
15736   }
15737
15738   print line
15739 }
15740
15741 _ACAWK
15742 _ACEOF
15743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15744 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15745   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15746 else
15747   cat
15748 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15749   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15750 _ACEOF
15751
15752 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15753 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15754 # trailing colons and then remove the whole line if VPATH becomes empty
15755 # (actually we leave an empty line to preserve line numbers).
15756 if test "x$srcdir" = x.; then
15757   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15758 h
15759 s///
15760 s/^/:/
15761 s/[      ]*$/:/
15762 s/:\$(srcdir):/:/g
15763 s/:\${srcdir}:/:/g
15764 s/:@srcdir@:/:/g
15765 s/^:*//
15766 s/:*$//
15767 x
15768 s/\(=[   ]*\).*/\1/
15769 G
15770 s/\n//
15771 s/^[^=]*=[       ]*$//
15772 }'
15773 fi
15774
15775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15776 fi # test -n "$CONFIG_FILES"
15777
15778 # Set up the scripts for CONFIG_HEADERS section.
15779 # No need to generate them if there are no CONFIG_HEADERS.
15780 # This happens for instance with `./config.status Makefile'.
15781 if test -n "$CONFIG_HEADERS"; then
15782 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15783 BEGIN {
15784 _ACEOF
15785
15786 # Transform confdefs.h into an awk script `defines.awk', embedded as
15787 # here-document in config.status, that substitutes the proper values into
15788 # config.h.in to produce config.h.
15789
15790 # Create a delimiter string that does not exist in confdefs.h, to ease
15791 # handling of long lines.
15792 ac_delim='%!_!# '
15793 for ac_last_try in false false :; do
15794   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15795   if test -z "$ac_tt"; then
15796     break
15797   elif $ac_last_try; then
15798     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15799   else
15800     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15801   fi
15802 done
15803
15804 # For the awk script, D is an array of macro values keyed by name,
15805 # likewise P contains macro parameters if any.  Preserve backslash
15806 # newline sequences.
15807
15808 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15809 sed -n '
15810 s/.\{148\}/&'"$ac_delim"'/g
15811 t rset
15812 :rset
15813 s/^[     ]*#[    ]*define[       ][      ]*/ /
15814 t def
15815 d
15816 :def
15817 s/\\$//
15818 t bsnl
15819 s/["\\]/\\&/g
15820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15821 D["\1"]=" \3"/p
15822 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15823 d
15824 :bsnl
15825 s/["\\]/\\&/g
15826 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15827 D["\1"]=" \3\\\\\\n"\\/p
15828 t cont
15829 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15830 t cont
15831 d
15832 :cont
15833 n
15834 s/.\{148\}/&'"$ac_delim"'/g
15835 t clear
15836 :clear
15837 s/\\$//
15838 t bsnlc
15839 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15840 d
15841 :bsnlc
15842 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15843 b cont
15844 ' <confdefs.h | sed '
15845 s/'"$ac_delim"'/"\\\
15846 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15847
15848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15849   for (key in D) D_is_set[key] = 1
15850   FS = "\a"
15851 }
15852 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15853   line = \$ 0
15854   split(line, arg, " ")
15855   if (arg[1] == "#") {
15856     defundef = arg[2]
15857     mac1 = arg[3]
15858   } else {
15859     defundef = substr(arg[1], 2)
15860     mac1 = arg[2]
15861   }
15862   split(mac1, mac2, "(") #)
15863   macro = mac2[1]
15864   prefix = substr(line, 1, index(line, defundef) - 1)
15865   if (D_is_set[macro]) {
15866     # Preserve the white space surrounding the "#".
15867     print prefix "define", macro P[macro] D[macro]
15868     next
15869   } else {
15870     # Replace #undef with comments.  This is necessary, for example,
15871     # in the case of _POSIX_SOURCE, which is predefined and required
15872     # on some systems where configure will not decide to define it.
15873     if (defundef == "undef") {
15874       print "/*", prefix defundef, macro, "*/"
15875       next
15876     }
15877   }
15878 }
15879 { print }
15880 _ACAWK
15881 _ACEOF
15882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15883   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15884 fi # test -n "$CONFIG_HEADERS"
15885
15886
15887 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15888 shift
15889 for ac_tag
15890 do
15891   case $ac_tag in
15892   :[FHLC]) ac_mode=$ac_tag; continue;;
15893   esac
15894   case $ac_mode$ac_tag in
15895   :[FHL]*:*);;
15896   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15897   :[FH]-) ac_tag=-:-;;
15898   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15899   esac
15900   ac_save_IFS=$IFS
15901   IFS=:
15902   set x $ac_tag
15903   IFS=$ac_save_IFS
15904   shift
15905   ac_file=$1
15906   shift
15907
15908   case $ac_mode in
15909   :L) ac_source=$1;;
15910   :[FH])
15911     ac_file_inputs=
15912     for ac_f
15913     do
15914       case $ac_f in
15915       -) ac_f="$ac_tmp/stdin";;
15916       *) # Look for the file first in the build tree, then in the source tree
15917          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15918          # because $ac_f cannot contain `:'.
15919          test -f "$ac_f" ||
15920            case $ac_f in
15921            [\\/$]*) false;;
15922            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15923            esac ||
15924            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15925       esac
15926       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15927       as_fn_append ac_file_inputs " '$ac_f'"
15928     done
15929
15930     # Let's still pretend it is `configure' which instantiates (i.e., don't
15931     # use $as_me), people would be surprised to read:
15932     #    /* config.h.  Generated by config.status.  */
15933     configure_input='Generated from '`
15934           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15935         `' by configure.'
15936     if test x"$ac_file" != x-; then
15937       configure_input="$ac_file.  $configure_input"
15938       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15939 $as_echo "$as_me: creating $ac_file" >&6;}
15940     fi
15941     # Neutralize special characters interpreted by sed in replacement strings.
15942     case $configure_input in #(
15943     *\&* | *\|* | *\\* )
15944        ac_sed_conf_input=`$as_echo "$configure_input" |
15945        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15946     *) ac_sed_conf_input=$configure_input;;
15947     esac
15948
15949     case $ac_tag in
15950     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15951       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15952     esac
15953     ;;
15954   esac
15955
15956   ac_dir=`$as_dirname -- "$ac_file" ||
15957 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15958          X"$ac_file" : 'X\(//\)[^/]' \| \
15959          X"$ac_file" : 'X\(//\)$' \| \
15960          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15961 $as_echo X"$ac_file" |
15962     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15963             s//\1/
15964             q
15965           }
15966           /^X\(\/\/\)[^/].*/{
15967             s//\1/
15968             q
15969           }
15970           /^X\(\/\/\)$/{
15971             s//\1/
15972             q
15973           }
15974           /^X\(\/\).*/{
15975             s//\1/
15976             q
15977           }
15978           s/.*/./; q'`
15979   as_dir="$ac_dir"; as_fn_mkdir_p
15980   ac_builddir=.
15981
15982 case "$ac_dir" in
15983 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15984 *)
15985   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15986   # A ".." for each directory in $ac_dir_suffix.
15987   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15988   case $ac_top_builddir_sub in
15989   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15990   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15991   esac ;;
15992 esac
15993 ac_abs_top_builddir=$ac_pwd
15994 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15995 # for backward compatibility:
15996 ac_top_builddir=$ac_top_build_prefix
15997
15998 case $srcdir in
15999   .)  # We are building in place.
16000     ac_srcdir=.
16001     ac_top_srcdir=$ac_top_builddir_sub
16002     ac_abs_top_srcdir=$ac_pwd ;;
16003   [\\/]* | ?:[\\/]* )  # Absolute name.
16004     ac_srcdir=$srcdir$ac_dir_suffix;
16005     ac_top_srcdir=$srcdir
16006     ac_abs_top_srcdir=$srcdir ;;
16007   *) # Relative name.
16008     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16009     ac_top_srcdir=$ac_top_build_prefix$srcdir
16010     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16011 esac
16012 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16013
16014
16015   case $ac_mode in
16016   :F)
16017   #
16018   # CONFIG_FILE
16019   #
16020
16021   case $INSTALL in
16022   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16023   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16024   esac
16025   ac_MKDIR_P=$MKDIR_P
16026   case $MKDIR_P in
16027   [\\/$]* | ?:[\\/]* ) ;;
16028   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16029   esac
16030 _ACEOF
16031
16032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16033 # If the template does not know about datarootdir, expand it.
16034 # FIXME: This hack should be removed a few years after 2.60.
16035 ac_datarootdir_hack=; ac_datarootdir_seen=
16036 ac_sed_dataroot='
16037 /datarootdir/ {
16038   p
16039   q
16040 }
16041 /@datadir@/p
16042 /@docdir@/p
16043 /@infodir@/p
16044 /@localedir@/p
16045 /@mandir@/p'
16046 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16047 *datarootdir*) ac_datarootdir_seen=yes;;
16048 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16049   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16050 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16051 _ACEOF
16052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16053   ac_datarootdir_hack='
16054   s&@datadir@&$datadir&g
16055   s&@docdir@&$docdir&g
16056   s&@infodir@&$infodir&g
16057   s&@localedir@&$localedir&g
16058   s&@mandir@&$mandir&g
16059   s&\\\${datarootdir}&$datarootdir&g' ;;
16060 esac
16061 _ACEOF
16062
16063 # Neutralize VPATH when `$srcdir' = `.'.
16064 # Shell code in configure.ac might set extrasub.
16065 # FIXME: do we really want to maintain this feature?
16066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16067 ac_sed_extra="$ac_vpsub
16068 $extrasub
16069 _ACEOF
16070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16071 :t
16072 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16073 s|@configure_input@|$ac_sed_conf_input|;t t
16074 s&@top_builddir@&$ac_top_builddir_sub&;t t
16075 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16076 s&@srcdir@&$ac_srcdir&;t t
16077 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16078 s&@top_srcdir@&$ac_top_srcdir&;t t
16079 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16080 s&@builddir@&$ac_builddir&;t t
16081 s&@abs_builddir@&$ac_abs_builddir&;t t
16082 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16083 s&@INSTALL@&$ac_INSTALL&;t t
16084 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16085 $ac_datarootdir_hack
16086 "
16087 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16088   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16089
16090 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16091   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16092   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16093       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16094   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16095 which seems to be undefined.  Please make sure it is defined" >&5
16096 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16097 which seems to be undefined.  Please make sure it is defined" >&2;}
16098
16099   rm -f "$ac_tmp/stdin"
16100   case $ac_file in
16101   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16102   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16103   esac \
16104   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16105  ;;
16106   :H)
16107   #
16108   # CONFIG_HEADER
16109   #
16110   if test x"$ac_file" != x-; then
16111     {
16112       $as_echo "/* $configure_input  */" \
16113       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16114     } >"$ac_tmp/config.h" \
16115       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16116     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16117       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16118 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16119     else
16120       rm -f "$ac_file"
16121       mv "$ac_tmp/config.h" "$ac_file" \
16122         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16123     fi
16124   else
16125     $as_echo "/* $configure_input  */" \
16126       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16127       || as_fn_error $? "could not create -" "$LINENO" 5
16128   fi
16129 # Compute "$ac_file"'s index in $config_headers.
16130 _am_arg="$ac_file"
16131 _am_stamp_count=1
16132 for _am_header in $config_headers :; do
16133   case $_am_header in
16134     $_am_arg | $_am_arg:* )
16135       break ;;
16136     * )
16137       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16138   esac
16139 done
16140 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16141 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16142          X"$_am_arg" : 'X\(//\)[^/]' \| \
16143          X"$_am_arg" : 'X\(//\)$' \| \
16144          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16145 $as_echo X"$_am_arg" |
16146     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16147             s//\1/
16148             q
16149           }
16150           /^X\(\/\/\)[^/].*/{
16151             s//\1/
16152             q
16153           }
16154           /^X\(\/\/\)$/{
16155             s//\1/
16156             q
16157           }
16158           /^X\(\/\).*/{
16159             s//\1/
16160             q
16161           }
16162           s/.*/./; q'`/stamp-h$_am_stamp_count
16163  ;;
16164
16165   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16166 $as_echo "$as_me: executing $ac_file commands" >&6;}
16167  ;;
16168   esac
16169
16170
16171   case $ac_file$ac_mode in
16172     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16173   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16174   # are listed without --file.  Let's play safe and only enable the eval
16175   # if we detect the quoting.
16176   case $CONFIG_FILES in
16177   *\'*) eval set x "$CONFIG_FILES" ;;
16178   *)   set x $CONFIG_FILES ;;
16179   esac
16180   shift
16181   for mf
16182   do
16183     # Strip MF so we end up with the name of the file.
16184     mf=`echo "$mf" | sed -e 's/:.*$//'`
16185     # Check whether this is an Automake generated Makefile or not.
16186     # We used to match only the files named 'Makefile.in', but
16187     # some people rename them; so instead we look at the file content.
16188     # Grep'ing the first line is not enough: some people post-process
16189     # each Makefile.in and add a new line on top of each file to say so.
16190     # Grep'ing the whole file is not good either: AIX grep has a line
16191     # limit of 2048, but all sed's we know have understand at least 4000.
16192     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16193       dirpart=`$as_dirname -- "$mf" ||
16194 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16195          X"$mf" : 'X\(//\)[^/]' \| \
16196          X"$mf" : 'X\(//\)$' \| \
16197          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16198 $as_echo X"$mf" |
16199     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16200             s//\1/
16201             q
16202           }
16203           /^X\(\/\/\)[^/].*/{
16204             s//\1/
16205             q
16206           }
16207           /^X\(\/\/\)$/{
16208             s//\1/
16209             q
16210           }
16211           /^X\(\/\).*/{
16212             s//\1/
16213             q
16214           }
16215           s/.*/./; q'`
16216     else
16217       continue
16218     fi
16219     # Extract the definition of DEPDIR, am__include, and am__quote
16220     # from the Makefile without running 'make'.
16221     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16222     test -z "$DEPDIR" && continue
16223     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16224     test -z "am__include" && continue
16225     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16226     # Find all dependency output files, they are included files with
16227     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16228     # simplest approach to changing $(DEPDIR) to its actual value in the
16229     # expansion.
16230     for file in `sed -n "
16231       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16232          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16233       # Make sure the directory exists.
16234       test -f "$dirpart/$file" && continue
16235       fdir=`$as_dirname -- "$file" ||
16236 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16237          X"$file" : 'X\(//\)[^/]' \| \
16238          X"$file" : 'X\(//\)$' \| \
16239          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16240 $as_echo X"$file" |
16241     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16242             s//\1/
16243             q
16244           }
16245           /^X\(\/\/\)[^/].*/{
16246             s//\1/
16247             q
16248           }
16249           /^X\(\/\/\)$/{
16250             s//\1/
16251             q
16252           }
16253           /^X\(\/\).*/{
16254             s//\1/
16255             q
16256           }
16257           s/.*/./; q'`
16258       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16259       # echo "creating $dirpart/$file"
16260       echo '# dummy' > "$dirpart/$file"
16261     done
16262   done
16263 }
16264  ;;
16265     "libtool":C)
16266
16267     # See if we are running on zsh, and set the options which allow our
16268     # commands through without removal of \ escapes.
16269     if test -n "${ZSH_VERSION+set}" ; then
16270       setopt NO_GLOB_SUBST
16271     fi
16272
16273     cfgfile="${ofile}T"
16274     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16275     $RM "$cfgfile"
16276
16277     cat <<_LT_EOF >> "$cfgfile"
16278 #! $SHELL
16279
16280 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16281 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16282 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16283 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16284 #
16285 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16286 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16287 #                 Foundation, Inc.
16288 #   Written by Gordon Matzigkeit, 1996
16289 #
16290 #   This file is part of GNU Libtool.
16291 #
16292 # GNU Libtool is free software; you can redistribute it and/or
16293 # modify it under the terms of the GNU General Public License as
16294 # published by the Free Software Foundation; either version 2 of
16295 # the License, or (at your option) any later version.
16296 #
16297 # As a special exception to the GNU General Public License,
16298 # if you distribute this file as part of a program or library that
16299 # is built using GNU Libtool, you may include this file under the
16300 # same distribution terms that you use for the rest of that program.
16301 #
16302 # GNU Libtool is distributed in the hope that it will be useful,
16303 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16304 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16305 # GNU General Public License for more details.
16306 #
16307 # You should have received a copy of the GNU General Public License
16308 # along with GNU Libtool; see the file COPYING.  If not, a copy
16309 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16310 # obtained by writing to the Free Software Foundation, Inc.,
16311 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16312
16313
16314 # The names of the tagged configurations supported by this script.
16315 available_tags=""
16316
16317 # ### BEGIN LIBTOOL CONFIG
16318
16319 # Which release of libtool.m4 was used?
16320 macro_version=$macro_version
16321 macro_revision=$macro_revision
16322
16323 # Whether or not to build static libraries.
16324 build_old_libs=$enable_static
16325
16326 # Whether or not to build shared libraries.
16327 build_libtool_libs=$enable_shared
16328
16329 # What type of objects to build.
16330 pic_mode=$pic_mode
16331
16332 # Whether or not to optimize for fast installation.
16333 fast_install=$enable_fast_install
16334
16335 # Shell to use when invoking shell scripts.
16336 SHELL=$lt_SHELL
16337
16338 # An echo program that protects backslashes.
16339 ECHO=$lt_ECHO
16340
16341 # The PATH separator for the build system.
16342 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16343
16344 # The host system.
16345 host_alias=$host_alias
16346 host=$host
16347 host_os=$host_os
16348
16349 # The build system.
16350 build_alias=$build_alias
16351 build=$build
16352 build_os=$build_os
16353
16354 # A sed program that does not truncate output.
16355 SED=$lt_SED
16356
16357 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16358 Xsed="\$SED -e 1s/^X//"
16359
16360 # A grep program that handles long lines.
16361 GREP=$lt_GREP
16362
16363 # An ERE matcher.
16364 EGREP=$lt_EGREP
16365
16366 # A literal string matcher.
16367 FGREP=$lt_FGREP
16368
16369 # A BSD- or MS-compatible name lister.
16370 NM=$lt_NM
16371
16372 # Whether we need soft or hard links.
16373 LN_S=$lt_LN_S
16374
16375 # What is the maximum length of a command?
16376 max_cmd_len=$max_cmd_len
16377
16378 # Object file suffix (normally "o").
16379 objext=$ac_objext
16380
16381 # Executable file suffix (normally "").
16382 exeext=$exeext
16383
16384 # whether the shell understands "unset".
16385 lt_unset=$lt_unset
16386
16387 # turn spaces into newlines.
16388 SP2NL=$lt_lt_SP2NL
16389
16390 # turn newlines into spaces.
16391 NL2SP=$lt_lt_NL2SP
16392
16393 # convert \$build file names to \$host format.
16394 to_host_file_cmd=$lt_cv_to_host_file_cmd
16395
16396 # convert \$build files to toolchain format.
16397 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16398
16399 # An object symbol dumper.
16400 OBJDUMP=$lt_OBJDUMP
16401
16402 # Method to check whether dependent libraries are shared objects.
16403 deplibs_check_method=$lt_deplibs_check_method
16404
16405 # Command to use when deplibs_check_method = "file_magic".
16406 file_magic_cmd=$lt_file_magic_cmd
16407
16408 # How to find potential files when deplibs_check_method = "file_magic".
16409 file_magic_glob=$lt_file_magic_glob
16410
16411 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16412 want_nocaseglob=$lt_want_nocaseglob
16413
16414 # DLL creation program.
16415 DLLTOOL=$lt_DLLTOOL
16416
16417 # Command to associate shared and link libraries.
16418 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16419
16420 # The archiver.
16421 AR=$lt_AR
16422
16423 # Flags to create an archive.
16424 AR_FLAGS=$lt_AR_FLAGS
16425
16426 # How to feed a file listing to the archiver.
16427 archiver_list_spec=$lt_archiver_list_spec
16428
16429 # A symbol stripping program.
16430 STRIP=$lt_STRIP
16431
16432 # Commands used to install an old-style archive.
16433 RANLIB=$lt_RANLIB
16434 old_postinstall_cmds=$lt_old_postinstall_cmds
16435 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16436
16437 # Whether to use a lock for old archive extraction.
16438 lock_old_archive_extraction=$lock_old_archive_extraction
16439
16440 # A C compiler.
16441 LTCC=$lt_CC
16442
16443 # LTCC compiler flags.
16444 LTCFLAGS=$lt_CFLAGS
16445
16446 # Take the output of nm and produce a listing of raw symbols and C names.
16447 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16448
16449 # Transform the output of nm in a proper C declaration.
16450 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16451
16452 # Transform the output of nm in a C name address pair.
16453 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16454
16455 # Transform the output of nm in a C name address pair when lib prefix is needed.
16456 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16457
16458 # Specify filename containing input files for \$NM.
16459 nm_file_list_spec=$lt_nm_file_list_spec
16460
16461 # The root where to search for dependent libraries,and in which our libraries should be installed.
16462 lt_sysroot=$lt_sysroot
16463
16464 # The name of the directory that contains temporary libtool files.
16465 objdir=$objdir
16466
16467 # Used to examine libraries when file_magic_cmd begins with "file".
16468 MAGIC_CMD=$MAGIC_CMD
16469
16470 # Must we lock files when doing compilation?
16471 need_locks=$lt_need_locks
16472
16473 # Manifest tool.
16474 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16475
16476 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16477 DSYMUTIL=$lt_DSYMUTIL
16478
16479 # Tool to change global to local symbols on Mac OS X.
16480 NMEDIT=$lt_NMEDIT
16481
16482 # Tool to manipulate fat objects and archives on Mac OS X.
16483 LIPO=$lt_LIPO
16484
16485 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16486 OTOOL=$lt_OTOOL
16487
16488 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16489 OTOOL64=$lt_OTOOL64
16490
16491 # Old archive suffix (normally "a").
16492 libext=$libext
16493
16494 # Shared library suffix (normally ".so").
16495 shrext_cmds=$lt_shrext_cmds
16496
16497 # The commands to extract the exported symbol list from a shared archive.
16498 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16499
16500 # Variables whose values should be saved in libtool wrapper scripts and
16501 # restored at link time.
16502 variables_saved_for_relink=$lt_variables_saved_for_relink
16503
16504 # Do we need the "lib" prefix for modules?
16505 need_lib_prefix=$need_lib_prefix
16506
16507 # Do we need a version for libraries?
16508 need_version=$need_version
16509
16510 # Library versioning type.
16511 version_type=$version_type
16512
16513 # Shared library runtime path variable.
16514 runpath_var=$runpath_var
16515
16516 # Shared library path variable.
16517 shlibpath_var=$shlibpath_var
16518
16519 # Is shlibpath searched before the hard-coded library search path?
16520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16521
16522 # Format of library name prefix.
16523 libname_spec=$lt_libname_spec
16524
16525 # List of archive names.  First name is the real one, the rest are links.
16526 # The last name is the one that the linker finds with -lNAME
16527 library_names_spec=$lt_library_names_spec
16528
16529 # The coded name of the library, if different from the real name.
16530 soname_spec=$lt_soname_spec
16531
16532 # Permission mode override for installation of shared libraries.
16533 install_override_mode=$lt_install_override_mode
16534
16535 # Command to use after installation of a shared archive.
16536 postinstall_cmds=$lt_postinstall_cmds
16537
16538 # Command to use after uninstallation of a shared archive.
16539 postuninstall_cmds=$lt_postuninstall_cmds
16540
16541 # Commands used to finish a libtool library installation in a directory.
16542 finish_cmds=$lt_finish_cmds
16543
16544 # As "finish_cmds", except a single script fragment to be evaled but
16545 # not shown.
16546 finish_eval=$lt_finish_eval
16547
16548 # Whether we should hardcode library paths into libraries.
16549 hardcode_into_libs=$hardcode_into_libs
16550
16551 # Compile-time system search path for libraries.
16552 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16553
16554 # Run-time system search path for libraries.
16555 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16556
16557 # Whether dlopen is supported.
16558 dlopen_support=$enable_dlopen
16559
16560 # Whether dlopen of programs is supported.
16561 dlopen_self=$enable_dlopen_self
16562
16563 # Whether dlopen of statically linked programs is supported.
16564 dlopen_self_static=$enable_dlopen_self_static
16565
16566 # Commands to strip libraries.
16567 old_striplib=$lt_old_striplib
16568 striplib=$lt_striplib
16569
16570
16571 # The linker used to build libraries.
16572 LD=$lt_LD
16573
16574 # How to create reloadable object files.
16575 reload_flag=$lt_reload_flag
16576 reload_cmds=$lt_reload_cmds
16577
16578 # Commands used to build an old-style archive.
16579 old_archive_cmds=$lt_old_archive_cmds
16580
16581 # A language specific compiler.
16582 CC=$lt_compiler
16583
16584 # Is the compiler the GNU compiler?
16585 with_gcc=$GCC
16586
16587 # Compiler flag to turn off builtin functions.
16588 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16589
16590 # Additional compiler flags for building library objects.
16591 pic_flag=$lt_lt_prog_compiler_pic
16592
16593 # How to pass a linker flag through the compiler.
16594 wl=$lt_lt_prog_compiler_wl
16595
16596 # Compiler flag to prevent dynamic linking.
16597 link_static_flag=$lt_lt_prog_compiler_static
16598
16599 # Does compiler simultaneously support -c and -o options?
16600 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16601
16602 # Whether or not to add -lc for building shared libraries.
16603 build_libtool_need_lc=$archive_cmds_need_lc
16604
16605 # Whether or not to disallow shared libs when runtime libs are static.
16606 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16607
16608 # Compiler flag to allow reflexive dlopens.
16609 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16610
16611 # Compiler flag to generate shared objects directly from archives.
16612 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16613
16614 # Whether the compiler copes with passing no objects directly.
16615 compiler_needs_object=$lt_compiler_needs_object
16616
16617 # Create an old-style archive from a shared archive.
16618 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16619
16620 # Create a temporary old-style archive to link instead of a shared archive.
16621 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16622
16623 # Commands used to build a shared archive.
16624 archive_cmds=$lt_archive_cmds
16625 archive_expsym_cmds=$lt_archive_expsym_cmds
16626
16627 # Commands used to build a loadable module if different from building
16628 # a shared archive.
16629 module_cmds=$lt_module_cmds
16630 module_expsym_cmds=$lt_module_expsym_cmds
16631
16632 # Whether we are building with GNU ld or not.
16633 with_gnu_ld=$lt_with_gnu_ld
16634
16635 # Flag that allows shared libraries with undefined symbols to be built.
16636 allow_undefined_flag=$lt_allow_undefined_flag
16637
16638 # Flag that enforces no undefined symbols.
16639 no_undefined_flag=$lt_no_undefined_flag
16640
16641 # Flag to hardcode \$libdir into a binary during linking.
16642 # This must work even if \$libdir does not exist
16643 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16644
16645 # Whether we need a single "-rpath" flag with a separated argument.
16646 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16647
16648 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16649 # DIR into the resulting binary.
16650 hardcode_direct=$hardcode_direct
16651
16652 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16653 # DIR into the resulting binary and the resulting library dependency is
16654 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16655 # library is relocated.
16656 hardcode_direct_absolute=$hardcode_direct_absolute
16657
16658 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16659 # into the resulting binary.
16660 hardcode_minus_L=$hardcode_minus_L
16661
16662 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16663 # into the resulting binary.
16664 hardcode_shlibpath_var=$hardcode_shlibpath_var
16665
16666 # Set to "yes" if building a shared library automatically hardcodes DIR
16667 # into the library and all subsequent libraries and executables linked
16668 # against it.
16669 hardcode_automatic=$hardcode_automatic
16670
16671 # Set to yes if linker adds runtime paths of dependent libraries
16672 # to runtime path list.
16673 inherit_rpath=$inherit_rpath
16674
16675 # Whether libtool must link a program against all its dependency libraries.
16676 link_all_deplibs=$link_all_deplibs
16677
16678 # Set to "yes" if exported symbols are required.
16679 always_export_symbols=$always_export_symbols
16680
16681 # The commands to list exported symbols.
16682 export_symbols_cmds=$lt_export_symbols_cmds
16683
16684 # Symbols that should not be listed in the preloaded symbols.
16685 exclude_expsyms=$lt_exclude_expsyms
16686
16687 # Symbols that must always be exported.
16688 include_expsyms=$lt_include_expsyms
16689
16690 # Commands necessary for linking programs (against libraries) with templates.
16691 prelink_cmds=$lt_prelink_cmds
16692
16693 # Commands necessary for finishing linking programs.
16694 postlink_cmds=$lt_postlink_cmds
16695
16696 # Specify filename containing input files.
16697 file_list_spec=$lt_file_list_spec
16698
16699 # How to hardcode a shared library path into an executable.
16700 hardcode_action=$hardcode_action
16701
16702 # ### END LIBTOOL CONFIG
16703
16704 _LT_EOF
16705
16706   case $host_os in
16707   aix3*)
16708     cat <<\_LT_EOF >> "$cfgfile"
16709 # AIX sometimes has problems with the GCC collect2 program.  For some
16710 # reason, if we set the COLLECT_NAMES environment variable, the problems
16711 # vanish in a puff of smoke.
16712 if test "X${COLLECT_NAMES+set}" != Xset; then
16713   COLLECT_NAMES=
16714   export COLLECT_NAMES
16715 fi
16716 _LT_EOF
16717     ;;
16718   esac
16719
16720
16721 ltmain="$ac_aux_dir/ltmain.sh"
16722
16723
16724   # We use sed instead of cat because bash on DJGPP gets confused if
16725   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16726   # text mode, it properly converts lines to CR/LF.  This bash problem
16727   # is reportedly fixed, but why not run on old versions too?
16728   sed '$q' "$ltmain" >> "$cfgfile" \
16729      || (rm -f "$cfgfile"; exit 1)
16730
16731   if test x"$xsi_shell" = xyes; then
16732   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16733 func_dirname ()\
16734 {\
16735 \    case ${1} in\
16736 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16737 \      *  ) func_dirname_result="${3}" ;;\
16738 \    esac\
16739 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16740   && mv -f "$cfgfile.tmp" "$cfgfile" \
16741     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16742 test 0 -eq $? || _lt_function_replace_fail=:
16743
16744
16745   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16746 func_basename ()\
16747 {\
16748 \    func_basename_result="${1##*/}"\
16749 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16750   && mv -f "$cfgfile.tmp" "$cfgfile" \
16751     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16752 test 0 -eq $? || _lt_function_replace_fail=:
16753
16754
16755   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16756 func_dirname_and_basename ()\
16757 {\
16758 \    case ${1} in\
16759 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16760 \      *  ) func_dirname_result="${3}" ;;\
16761 \    esac\
16762 \    func_basename_result="${1##*/}"\
16763 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16764   && mv -f "$cfgfile.tmp" "$cfgfile" \
16765     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16766 test 0 -eq $? || _lt_function_replace_fail=:
16767
16768
16769   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16770 func_stripname ()\
16771 {\
16772 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16773 \    # positional parameters, so assign one to ordinary parameter first.\
16774 \    func_stripname_result=${3}\
16775 \    func_stripname_result=${func_stripname_result#"${1}"}\
16776 \    func_stripname_result=${func_stripname_result%"${2}"}\
16777 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16778   && mv -f "$cfgfile.tmp" "$cfgfile" \
16779     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16780 test 0 -eq $? || _lt_function_replace_fail=:
16781
16782
16783   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16784 func_split_long_opt ()\
16785 {\
16786 \    func_split_long_opt_name=${1%%=*}\
16787 \    func_split_long_opt_arg=${1#*=}\
16788 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16789   && mv -f "$cfgfile.tmp" "$cfgfile" \
16790     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16791 test 0 -eq $? || _lt_function_replace_fail=:
16792
16793
16794   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16795 func_split_short_opt ()\
16796 {\
16797 \    func_split_short_opt_arg=${1#??}\
16798 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16799 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16800   && mv -f "$cfgfile.tmp" "$cfgfile" \
16801     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16802 test 0 -eq $? || _lt_function_replace_fail=:
16803
16804
16805   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16806 func_lo2o ()\
16807 {\
16808 \    case ${1} in\
16809 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16810 \      *)    func_lo2o_result=${1} ;;\
16811 \    esac\
16812 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16813   && mv -f "$cfgfile.tmp" "$cfgfile" \
16814     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16815 test 0 -eq $? || _lt_function_replace_fail=:
16816
16817
16818   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16819 func_xform ()\
16820 {\
16821     func_xform_result=${1%.*}.lo\
16822 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16823   && mv -f "$cfgfile.tmp" "$cfgfile" \
16824     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16825 test 0 -eq $? || _lt_function_replace_fail=:
16826
16827
16828   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16829 func_arith ()\
16830 {\
16831     func_arith_result=$(( $* ))\
16832 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16833   && mv -f "$cfgfile.tmp" "$cfgfile" \
16834     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16835 test 0 -eq $? || _lt_function_replace_fail=:
16836
16837
16838   sed -e '/^func_len ()$/,/^} # func_len /c\
16839 func_len ()\
16840 {\
16841     func_len_result=${#1}\
16842 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16843   && mv -f "$cfgfile.tmp" "$cfgfile" \
16844     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16845 test 0 -eq $? || _lt_function_replace_fail=:
16846
16847 fi
16848
16849 if test x"$lt_shell_append" = xyes; then
16850   sed -e '/^func_append ()$/,/^} # func_append /c\
16851 func_append ()\
16852 {\
16853     eval "${1}+=\\${2}"\
16854 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16855   && mv -f "$cfgfile.tmp" "$cfgfile" \
16856     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16857 test 0 -eq $? || _lt_function_replace_fail=:
16858
16859
16860   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16861 func_append_quoted ()\
16862 {\
16863 \    func_quote_for_eval "${2}"\
16864 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16865 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16866   && mv -f "$cfgfile.tmp" "$cfgfile" \
16867     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16868 test 0 -eq $? || _lt_function_replace_fail=:
16869
16870
16871   # Save a `func_append' function call where possible by direct use of '+='
16872   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16873     && mv -f "$cfgfile.tmp" "$cfgfile" \
16874       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16875   test 0 -eq $? || _lt_function_replace_fail=:
16876 else
16877   # Save a `func_append' function call even when '+=' is not available
16878   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16879     && mv -f "$cfgfile.tmp" "$cfgfile" \
16880       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16881   test 0 -eq $? || _lt_function_replace_fail=:
16882 fi
16883
16884 if test x"$_lt_function_replace_fail" = x":"; then
16885   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16886 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16887 fi
16888
16889
16890    mv -f "$cfgfile" "$ofile" ||
16891     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16892   chmod +x "$ofile"
16893
16894  ;;
16895     "po/stamp-it":C)
16896     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16897        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16898     fi
16899     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16900     >"po/stamp-it.tmp"
16901     sed '/^#/d
16902          s/^[[].*] *//
16903          /^[    ]*$/d
16904         '"s|^|  $ac_top_srcdir/|" \
16905       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16906
16907     sed '/^POTFILES =/,/[^\\]$/ {
16908                 /^POTFILES =/!d
16909                 r po/POTFILES
16910           }
16911          ' "po/Makefile.in" >"po/Makefile"
16912     rm -f "po/Makefile.tmp"
16913     mv "po/stamp-it.tmp" "po/stamp-it"
16914    ;;
16915
16916   esac
16917 done # for ac_tag
16918
16919
16920 as_fn_exit 0
16921 _ACEOF
16922 ac_clean_files=$ac_clean_files_save
16923
16924 test $ac_write_fail = 0 ||
16925   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16926
16927
16928 # configure is writing to config.log, and then calls config.status.
16929 # config.status does its own redirection, appending to config.log.
16930 # Unfortunately, on DOS this fails, as config.log is still kept open
16931 # by configure, so config.status won't be able to write to it; its
16932 # output is simply discarded.  So we exec the FD to /dev/null,
16933 # effectively closing config.log, so it can be properly (re)opened and
16934 # appended to by config.status.  When coming back to configure, we
16935 # need to make the FD available again.
16936 if test "$no_create" != yes; then
16937   ac_cs_success=:
16938   ac_config_status_args=
16939   test "$silent" = yes &&
16940     ac_config_status_args="$ac_config_status_args --quiet"
16941   exec 5>/dev/null
16942   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16943   exec 5>>config.log
16944   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16945   # would make configure fail if this is the last instruction.
16946   $ac_cs_success || as_fn_exit 1
16947 fi
16948 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16949   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16950 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16951 fi
16952