9e6bb613853b305a17881fe82e2e82eb25f05176
[profile/ivi/libgsignon-glib.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libgsignon-glib 2.1.0.
4 #
5 # Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://code.google.com/p/accounts-sso/issues/entry
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255   fi
256   exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274   { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283   return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291   set +e
292   as_fn_set_status $1
293   exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302   case $as_dir in #(
303   -*) as_dir=./$as_dir;;
304   esac
305   test -d "$as_dir" || eval $as_mkdir_p || {
306     as_dirs=
307     while :; do
308       case $as_dir in #(
309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310       *) as_qdir=$as_dir;;
311       esac
312       as_dirs="'$as_qdir' $as_dirs"
313       as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315          X"$as_dir" : 'X\(//\)[^/]' \| \
316          X"$as_dir" : 'X\(//\)$' \| \
317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)[^/].*/{
324             s//\1/
325             q
326           }
327           /^X\(\/\/\)$/{
328             s//\1/
329             q
330           }
331           /^X\(\/\).*/{
332             s//\1/
333             q
334           }
335           s/.*/./; q'`
336       test -d "$as_dir" && break
337     done
338     test -z "$as_dirs" || eval "mkdir $as_dirs"
339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350   eval 'as_fn_append ()
351   {
352     eval $1+=\$2
353   }'
354 else
355   as_fn_append ()
356   {
357     eval $1=\$$1\$2
358   }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367   eval 'as_fn_arith ()
368   {
369     as_val=$(( $* ))
370   }'
371 else
372   as_fn_arith ()
373   {
374     as_val=`expr "$@" || test $? -eq 1`
375   }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386   as_status=$1; test $as_status -eq 0 && as_status=1
387   if test "$4"; then
388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390   fi
391   $as_echo "$as_me: error: $2" >&2
392   as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
397   as_expr=expr
398 else
399   as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403   as_basename=basename
404 else
405   as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409   as_dirname=dirname
410 else
411   as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416          X"$0" : 'X\(//\)$' \| \
417          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419     sed '/^.*\/\([^/][^/]*\)\/*$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\/\)$/{
424             s//\1/
425             q
426           }
427           /^X\/\(\/\).*/{
428             s//\1/
429             q
430           }
431           s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446   sed -n '
447     p
448     /[$]LINENO/=
449   ' <$as_myself |
450     sed '
451       s/[$]LINENO.*/&-/
452       t lineno
453       b
454       :lineno
455       N
456       :loop
457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458       t loop
459       s/-\n.*//
460     ' >$as_me.lineno &&
461   chmod +x "$as_me.lineno" ||
462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464   # Don't try to exec as it changes $[0], causing all sort of problems
465   # (the dirname of $[0] is not the place where we might find the
466   # original and so on.  Autoconf is especially sensitive to this).
467   . "./$as_me.lineno"
468   # Exit status is that of the last command.
469   exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475   case `echo 'xy\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   xy)  ECHO_C='\c';;
478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479        ECHO_T=' ';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493   if ln -s conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s='ln -s'
495     # ... but there are two gotchas:
496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498     # In both cases, we have to default to `cp -p'.
499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500       as_ln_s='cp -p'
501   elif ln conf$$.file conf$$ 2>/dev/null; then
502     as_ln_s=ln
503   else
504     as_ln_s='cp -p'
505   fi
506 else
507   as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513   as_mkdir_p='mkdir -p "$as_dir"'
514 else
515   test -d ./-p && rmdir ./-p
516   as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520   as_test_x='test -x'
521 else
522   if ls -dL / >/dev/null 2>&1; then
523     as_ls_L_option=L
524   else
525     as_ls_L_option=
526   fi
527   as_test_x='
528     eval sh -c '\''
529       if test -d "$1"; then
530         test -d "$1/.";
531       else
532         case $1 in #(
533         -*)set "./$1";;
534         esac;
535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536         ???[sx]*):;;*)false;;esac;fi
537     '\'' sh
538   '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551 test -n "$DJDIR" || exec 7<&0 </dev/null
552 exec 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570
571 # Identity of this package.
572 PACKAGE_NAME='libgsignon-glib'
573 PACKAGE_TARNAME='libgsignon-glib'
574 PACKAGE_VERSION='2.1.0'
575 PACKAGE_STRING='libgsignon-glib 2.1.0'
576 PACKAGE_BUGREPORT='http://code.google.com/p/accounts-sso/issues/entry'
577 PACKAGE_URL='http://code.google.com/p/accounts-sso/'
578
579 ac_unique_file="libgsignon-glib.pc.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 ac_subst_vars='am__EXEEXT_FALSE
617 am__EXEEXT_TRUE
618 LTLIBOBJS
619 LIBOBJS
620 ENABLE_PYTHON_FALSE
621 ENABLE_PYTHON_TRUE
622 pyoverridesdir
623 pkgpyexecdir
624 pyexecdir
625 pkgpythondir
626 pythondir
627 PYTHON_PLATFORM
628 PYTHON_EXEC_PREFIX
629 PYTHON_PREFIX
630 PYTHON_VERSION
631 PYTHON
632 GTK_DOC_USE_REBASE_FALSE
633 GTK_DOC_USE_REBASE_TRUE
634 GTK_DOC_USE_LIBTOOL_FALSE
635 GTK_DOC_USE_LIBTOOL_TRUE
636 GTK_DOC_BUILD_PDF_FALSE
637 GTK_DOC_BUILD_PDF_TRUE
638 GTK_DOC_BUILD_HTML_FALSE
639 GTK_DOC_BUILD_HTML_TRUE
640 ENABLE_GTK_DOC_FALSE
641 ENABLE_GTK_DOC_TRUE
642 GTKDOC_DEPS_LIBS
643 GTKDOC_DEPS_CFLAGS
644 HTML_DIR
645 GTKDOC_MKPDF
646 GTKDOC_REBASE
647 GTKDOC_CHECK
648 ENABLE_TESTS_FALSE
649 ENABLE_TESTS_TRUE
650 CHECK_LIBS
651 CHECK_CFLAGS
652 HAVE_GTESTDBUS_FALSE
653 HAVE_GTESTDBUS_TRUE
654 GTestDBus_LIBS
655 GTestDBus_CFLAGS
656 DEPS_LIBS
657 DEPS_CFLAGS
658 HAVE_INTROSPECTION_FALSE
659 HAVE_INTROSPECTION_TRUE
660 INTROSPECTION_MAKEFILE
661 INTROSPECTION_LIBS
662 INTROSPECTION_CFLAGS
663 INTROSPECTION_TYPELIBDIR
664 INTROSPECTION_GIRDIR
665 INTROSPECTION_GENERATE
666 INTROSPECTION_COMPILER
667 INTROSPECTION_SCANNER
668 PKG_CONFIG_LIBDIR
669 PKG_CONFIG_PATH
670 PKG_CONFIG
671 CPP
672 OTOOL64
673 OTOOL
674 LIPO
675 NMEDIT
676 DSYMUTIL
677 MANIFEST_TOOL
678 RANLIB
679 DLLTOOL
680 OBJDUMP
681 LN_S
682 NM
683 ac_ct_DUMPBIN
684 DUMPBIN
685 LD
686 FGREP
687 EGREP
688 GREP
689 SED
690 host_os
691 host_vendor
692 host_cpu
693 host
694 build_os
695 build_vendor
696 build_cpu
697 build
698 LIBTOOL
699 ac_ct_AR
700 AR
701 am__fastdepCC_FALSE
702 am__fastdepCC_TRUE
703 CCDEPMODE
704 am__nodep
705 AMDEPBACKSLASH
706 AMDEP_FALSE
707 AMDEP_TRUE
708 am__quote
709 am__include
710 DEPDIR
711 OBJEXT
712 EXEEXT
713 ac_ct_CC
714 CPPFLAGS
715 LDFLAGS
716 CFLAGS
717 CC
718 AM_BACKSLASH
719 AM_DEFAULT_VERBOSITY
720 AM_DEFAULT_V
721 AM_V
722 am__untar
723 am__tar
724 AMTAR
725 am__leading_dot
726 SET_MAKE
727 AWK
728 mkdir_p
729 MKDIR_P
730 INSTALL_STRIP_PROGRAM
731 STRIP
732 install_sh
733 MAKEINFO
734 AUTOHEADER
735 AUTOMAKE
736 AUTOCONF
737 ACLOCAL
738 VERSION
739 PACKAGE
740 CYGPATH_W
741 am__isrc
742 INSTALL_DATA
743 INSTALL_SCRIPT
744 INSTALL_PROGRAM
745 target_alias
746 host_alias
747 build_alias
748 LIBS
749 ECHO_T
750 ECHO_N
751 ECHO_C
752 DEFS
753 mandir
754 localedir
755 libdir
756 psdir
757 pdfdir
758 dvidir
759 htmldir
760 infodir
761 docdir
762 oldincludedir
763 includedir
764 localstatedir
765 sharedstatedir
766 sysconfdir
767 datadir
768 datarootdir
769 libexecdir
770 sbindir
771 bindir
772 program_transform_name
773 prefix
774 exec_prefix
775 PACKAGE_URL
776 PACKAGE_BUGREPORT
777 PACKAGE_STRING
778 PACKAGE_VERSION
779 PACKAGE_TARNAME
780 PACKAGE_NAME
781 PATH_SEPARATOR
782 SHELL'
783 ac_subst_files=''
784 ac_user_opts='
785 enable_option_checking
786 enable_silent_rules
787 enable_dependency_tracking
788 enable_static
789 enable_shared
790 with_pic
791 enable_fast_install
792 with_gnu_ld
793 with_sysroot
794 enable_libtool_lock
795 enable_introspection
796 enable_dbus_type
797 enable_tests
798 with_html_dir
799 enable_gtk_doc
800 enable_gtk_doc_html
801 enable_gtk_doc_pdf
802 enable_cast_checks
803 enable_asserts
804 enable_checks
805 enable_debug
806 enable_coverage
807 enable_python
808 '
809       ac_precious_vars='build_alias
810 host_alias
811 target_alias
812 CC
813 CFLAGS
814 LDFLAGS
815 LIBS
816 CPPFLAGS
817 CPP
818 PKG_CONFIG
819 PKG_CONFIG_PATH
820 PKG_CONFIG_LIBDIR
821 DEPS_CFLAGS
822 DEPS_LIBS
823 GTestDBus_CFLAGS
824 GTestDBus_LIBS
825 CHECK_CFLAGS
826 CHECK_LIBS
827 GTKDOC_DEPS_CFLAGS
828 GTKDOC_DEPS_LIBS
829 PYTHON'
830
831
832 # Initialize some variables set by options.
833 ac_init_help=
834 ac_init_version=false
835 ac_unrecognized_opts=
836 ac_unrecognized_sep=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
839 cache_file=/dev/null
840 exec_prefix=NONE
841 no_create=
842 no_recursion=
843 prefix=NONE
844 program_prefix=NONE
845 program_suffix=NONE
846 program_transform_name=s,x,x,
847 silent=
848 site=
849 srcdir=
850 verbose=
851 x_includes=NONE
852 x_libraries=NONE
853
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir='${exec_prefix}/bin'
861 sbindir='${exec_prefix}/sbin'
862 libexecdir='${exec_prefix}/libexec'
863 datarootdir='${prefix}/share'
864 datadir='${datarootdir}'
865 sysconfdir='${prefix}/etc'
866 sharedstatedir='${prefix}/com'
867 localstatedir='${prefix}/var'
868 includedir='${prefix}/include'
869 oldincludedir='/usr/include'
870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
871 infodir='${datarootdir}/info'
872 htmldir='${docdir}'
873 dvidir='${docdir}'
874 pdfdir='${docdir}'
875 psdir='${docdir}'
876 libdir='${exec_prefix}/lib'
877 localedir='${datarootdir}/locale'
878 mandir='${datarootdir}/man'
879
880 ac_prev=
881 ac_dashdash=
882 for ac_option
883 do
884   # If the previous option needs an argument, assign it.
885   if test -n "$ac_prev"; then
886     eval $ac_prev=\$ac_option
887     ac_prev=
888     continue
889   fi
890
891   case $ac_option in
892   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893   *=)   ac_optarg= ;;
894   *)    ac_optarg=yes ;;
895   esac
896
897   # Accept the important Cygnus configure options, so we can diagnose typos.
898
899   case $ac_dashdash$ac_option in
900   --)
901     ac_dashdash=yes ;;
902
903   -bindir | --bindir | --bindi | --bind | --bin | --bi)
904     ac_prev=bindir ;;
905   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
906     bindir=$ac_optarg ;;
907
908   -build | --build | --buil | --bui | --bu)
909     ac_prev=build_alias ;;
910   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
911     build_alias=$ac_optarg ;;
912
913   -cache-file | --cache-file | --cache-fil | --cache-fi \
914   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
915     ac_prev=cache_file ;;
916   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
917   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
918     cache_file=$ac_optarg ;;
919
920   --config-cache | -C)
921     cache_file=config.cache ;;
922
923   -datadir | --datadir | --datadi | --datad)
924     ac_prev=datadir ;;
925   -datadir=* | --datadir=* | --datadi=* | --datad=*)
926     datadir=$ac_optarg ;;
927
928   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
929   | --dataroo | --dataro | --datar)
930     ac_prev=datarootdir ;;
931   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
932   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
933     datarootdir=$ac_optarg ;;
934
935   -disable-* | --disable-*)
936     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937     # Reject names that are not valid shell variable names.
938     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939       as_fn_error $? "invalid feature name: $ac_useropt"
940     ac_useropt_orig=$ac_useropt
941     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942     case $ac_user_opts in
943       *"
944 "enable_$ac_useropt"
945 "*) ;;
946       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947          ac_unrecognized_sep=', ';;
948     esac
949     eval enable_$ac_useropt=no ;;
950
951   -docdir | --docdir | --docdi | --doc | --do)
952     ac_prev=docdir ;;
953   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
954     docdir=$ac_optarg ;;
955
956   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
957     ac_prev=dvidir ;;
958   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
959     dvidir=$ac_optarg ;;
960
961   -enable-* | --enable-*)
962     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963     # Reject names that are not valid shell variable names.
964     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965       as_fn_error $? "invalid feature name: $ac_useropt"
966     ac_useropt_orig=$ac_useropt
967     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968     case $ac_user_opts in
969       *"
970 "enable_$ac_useropt"
971 "*) ;;
972       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973          ac_unrecognized_sep=', ';;
974     esac
975     eval enable_$ac_useropt=\$ac_optarg ;;
976
977   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
978   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
979   | --exec | --exe | --ex)
980     ac_prev=exec_prefix ;;
981   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
982   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
983   | --exec=* | --exe=* | --ex=*)
984     exec_prefix=$ac_optarg ;;
985
986   -gas | --gas | --ga | --g)
987     # Obsolete; use --with-gas.
988     with_gas=yes ;;
989
990   -help | --help | --hel | --he | -h)
991     ac_init_help=long ;;
992   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
993     ac_init_help=recursive ;;
994   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
995     ac_init_help=short ;;
996
997   -host | --host | --hos | --ho)
998     ac_prev=host_alias ;;
999   -host=* | --host=* | --hos=* | --ho=*)
1000     host_alias=$ac_optarg ;;
1001
1002   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1003     ac_prev=htmldir ;;
1004   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1005   | --ht=*)
1006     htmldir=$ac_optarg ;;
1007
1008   -includedir | --includedir | --includedi | --included | --include \
1009   | --includ | --inclu | --incl | --inc)
1010     ac_prev=includedir ;;
1011   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1012   | --includ=* | --inclu=* | --incl=* | --inc=*)
1013     includedir=$ac_optarg ;;
1014
1015   -infodir | --infodir | --infodi | --infod | --info | --inf)
1016     ac_prev=infodir ;;
1017   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1018     infodir=$ac_optarg ;;
1019
1020   -libdir | --libdir | --libdi | --libd)
1021     ac_prev=libdir ;;
1022   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1023     libdir=$ac_optarg ;;
1024
1025   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1026   | --libexe | --libex | --libe)
1027     ac_prev=libexecdir ;;
1028   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1029   | --libexe=* | --libex=* | --libe=*)
1030     libexecdir=$ac_optarg ;;
1031
1032   -localedir | --localedir | --localedi | --localed | --locale)
1033     ac_prev=localedir ;;
1034   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1035     localedir=$ac_optarg ;;
1036
1037   -localstatedir | --localstatedir | --localstatedi | --localstated \
1038   | --localstate | --localstat | --localsta | --localst | --locals)
1039     ac_prev=localstatedir ;;
1040   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1041   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1042     localstatedir=$ac_optarg ;;
1043
1044   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1045     ac_prev=mandir ;;
1046   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1047     mandir=$ac_optarg ;;
1048
1049   -nfp | --nfp | --nf)
1050     # Obsolete; use --without-fp.
1051     with_fp=no ;;
1052
1053   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1054   | --no-cr | --no-c | -n)
1055     no_create=yes ;;
1056
1057   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1058   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1059     no_recursion=yes ;;
1060
1061   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1062   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1063   | --oldin | --oldi | --old | --ol | --o)
1064     ac_prev=oldincludedir ;;
1065   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1066   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1067   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1068     oldincludedir=$ac_optarg ;;
1069
1070   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1071     ac_prev=prefix ;;
1072   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1073     prefix=$ac_optarg ;;
1074
1075   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1076   | --program-pre | --program-pr | --program-p)
1077     ac_prev=program_prefix ;;
1078   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1079   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1080     program_prefix=$ac_optarg ;;
1081
1082   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1083   | --program-suf | --program-su | --program-s)
1084     ac_prev=program_suffix ;;
1085   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1086   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1087     program_suffix=$ac_optarg ;;
1088
1089   -program-transform-name | --program-transform-name \
1090   | --program-transform-nam | --program-transform-na \
1091   | --program-transform-n | --program-transform- \
1092   | --program-transform | --program-transfor \
1093   | --program-transfo | --program-transf \
1094   | --program-trans | --program-tran \
1095   | --progr-tra | --program-tr | --program-t)
1096     ac_prev=program_transform_name ;;
1097   -program-transform-name=* | --program-transform-name=* \
1098   | --program-transform-nam=* | --program-transform-na=* \
1099   | --program-transform-n=* | --program-transform-=* \
1100   | --program-transform=* | --program-transfor=* \
1101   | --program-transfo=* | --program-transf=* \
1102   | --program-trans=* | --program-tran=* \
1103   | --progr-tra=* | --program-tr=* | --program-t=*)
1104     program_transform_name=$ac_optarg ;;
1105
1106   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1107     ac_prev=pdfdir ;;
1108   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1109     pdfdir=$ac_optarg ;;
1110
1111   -psdir | --psdir | --psdi | --psd | --ps)
1112     ac_prev=psdir ;;
1113   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1114     psdir=$ac_optarg ;;
1115
1116   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1117   | -silent | --silent | --silen | --sile | --sil)
1118     silent=yes ;;
1119
1120   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1121     ac_prev=sbindir ;;
1122   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1123   | --sbi=* | --sb=*)
1124     sbindir=$ac_optarg ;;
1125
1126   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1127   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1128   | --sharedst | --shareds | --shared | --share | --shar \
1129   | --sha | --sh)
1130     ac_prev=sharedstatedir ;;
1131   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1132   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1133   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1134   | --sha=* | --sh=*)
1135     sharedstatedir=$ac_optarg ;;
1136
1137   -site | --site | --sit)
1138     ac_prev=site ;;
1139   -site=* | --site=* | --sit=*)
1140     site=$ac_optarg ;;
1141
1142   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1143     ac_prev=srcdir ;;
1144   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145     srcdir=$ac_optarg ;;
1146
1147   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1148   | --syscon | --sysco | --sysc | --sys | --sy)
1149     ac_prev=sysconfdir ;;
1150   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1151   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1152     sysconfdir=$ac_optarg ;;
1153
1154   -target | --target | --targe | --targ | --tar | --ta | --t)
1155     ac_prev=target_alias ;;
1156   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1157     target_alias=$ac_optarg ;;
1158
1159   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1160     verbose=yes ;;
1161
1162   -version | --version | --versio | --versi | --vers | -V)
1163     ac_init_version=: ;;
1164
1165   -with-* | --with-*)
1166     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167     # Reject names that are not valid shell variable names.
1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169       as_fn_error $? "invalid package name: $ac_useropt"
1170     ac_useropt_orig=$ac_useropt
1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172     case $ac_user_opts in
1173       *"
1174 "with_$ac_useropt"
1175 "*) ;;
1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177          ac_unrecognized_sep=', ';;
1178     esac
1179     eval with_$ac_useropt=\$ac_optarg ;;
1180
1181   -without-* | --without-*)
1182     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183     # Reject names that are not valid shell variable names.
1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185       as_fn_error $? "invalid package name: $ac_useropt"
1186     ac_useropt_orig=$ac_useropt
1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188     case $ac_user_opts in
1189       *"
1190 "with_$ac_useropt"
1191 "*) ;;
1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193          ac_unrecognized_sep=', ';;
1194     esac
1195     eval with_$ac_useropt=no ;;
1196
1197   --x)
1198     # Obsolete; use --with-x.
1199     with_x=yes ;;
1200
1201   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1202   | --x-incl | --x-inc | --x-in | --x-i)
1203     ac_prev=x_includes ;;
1204   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1205   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1206     x_includes=$ac_optarg ;;
1207
1208   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1209   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1210     ac_prev=x_libraries ;;
1211   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1212   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213     x_libraries=$ac_optarg ;;
1214
1215   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1217     ;;
1218
1219   *=*)
1220     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1221     # Reject names that are not valid shell variable names.
1222     case $ac_envvar in #(
1223       '' | [0-9]* | *[!_$as_cr_alnum]* )
1224       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1225     esac
1226     eval $ac_envvar=\$ac_optarg
1227     export $ac_envvar ;;
1228
1229   *)
1230     # FIXME: should be removed in autoconf 3.0.
1231     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1235     ;;
1236
1237   esac
1238 done
1239
1240 if test -n "$ac_prev"; then
1241   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242   as_fn_error $? "missing argument to $ac_option"
1243 fi
1244
1245 if test -n "$ac_unrecognized_opts"; then
1246   case $enable_option_checking in
1247     no) ;;
1248     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250   esac
1251 fi
1252
1253 # Check all directory arguments for consistency.
1254 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255                 datadir sysconfdir sharedstatedir localstatedir includedir \
1256                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257                 libdir localedir mandir
1258 do
1259   eval ac_val=\$$ac_var
1260   # Remove trailing slashes.
1261   case $ac_val in
1262     */ )
1263       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264       eval $ac_var=\$ac_val;;
1265   esac
1266   # Be sure to have absolute directory names.
1267   case $ac_val in
1268     [\\/$]* | ?:[\\/]* )  continue;;
1269     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270   esac
1271   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1272 done
1273
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1277 build=$build_alias
1278 host=$host_alias
1279 target=$target_alias
1280
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x; then
1283   if test "x$build_alias" = x; then
1284     cross_compiling=maybe
1285     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1286     If a cross compiler is detected then cross compile mode will be used" >&2
1287   elif test "x$build_alias" != "x$host_alias"; then
1288     cross_compiling=yes
1289   fi
1290 fi
1291
1292 ac_tool_prefix=
1293 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1294
1295 test "$silent" = yes && exec 6>/dev/null
1296
1297
1298 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1299 ac_ls_di=`ls -di .` &&
1300 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1301   as_fn_error $? "working directory cannot be determined"
1302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1303   as_fn_error $? "pwd does not report name of working directory"
1304
1305
1306 # Find the source files, if location was not specified.
1307 if test -z "$srcdir"; then
1308   ac_srcdir_defaulted=yes
1309   # Try the directory containing this script, then the parent directory.
1310   ac_confdir=`$as_dirname -- "$as_myself" ||
1311 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1312          X"$as_myself" : 'X\(//\)[^/]' \| \
1313          X"$as_myself" : 'X\(//\)$' \| \
1314          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1315 $as_echo X"$as_myself" |
1316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1317             s//\1/
1318             q
1319           }
1320           /^X\(\/\/\)[^/].*/{
1321             s//\1/
1322             q
1323           }
1324           /^X\(\/\/\)$/{
1325             s//\1/
1326             q
1327           }
1328           /^X\(\/\).*/{
1329             s//\1/
1330             q
1331           }
1332           s/.*/./; q'`
1333   srcdir=$ac_confdir
1334   if test ! -r "$srcdir/$ac_unique_file"; then
1335     srcdir=..
1336   fi
1337 else
1338   ac_srcdir_defaulted=no
1339 fi
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1342   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1343 fi
1344 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 ac_abs_confdir=`(
1346         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1347         pwd)`
1348 # When building in place, set srcdir=.
1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
1350   srcdir=.
1351 fi
1352 # Remove unnecessary trailing slashes from srcdir.
1353 # Double slashes in file names in object file debugging info
1354 # mess up M-x gdb in Emacs.
1355 case $srcdir in
1356 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 esac
1358 for ac_var in $ac_precious_vars; do
1359   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1360   eval ac_env_${ac_var}_value=\$${ac_var}
1361   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1362   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1363 done
1364
1365 #
1366 # Report the --help message.
1367 #
1368 if test "$ac_init_help" = "long"; then
1369   # Omit some internal or obsolete options to make the list less imposing.
1370   # This message is too long to be a string in the A/UX 3.1 sh.
1371   cat <<_ACEOF
1372 \`configure' configures libgsignon-glib 2.1.0 to adapt to many kinds of systems.
1373
1374 Usage: $0 [OPTION]... [VAR=VALUE]...
1375
1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1377 VAR=VALUE.  See below for descriptions of some of the useful variables.
1378
1379 Defaults for the options are specified in brackets.
1380
1381 Configuration:
1382   -h, --help              display this help and exit
1383       --help=short        display options specific to this package
1384       --help=recursive    display the short help of all the included packages
1385   -V, --version           display version information and exit
1386   -q, --quiet, --silent   do not print \`checking ...' messages
1387       --cache-file=FILE   cache test results in FILE [disabled]
1388   -C, --config-cache      alias for \`--cache-file=config.cache'
1389   -n, --no-create         do not create output files
1390       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1391
1392 Installation directories:
1393   --prefix=PREFIX         install architecture-independent files in PREFIX
1394                           [$ac_default_prefix]
1395   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1396                           [PREFIX]
1397
1398 By default, \`make install' will install all the files in
1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1401 for instance \`--prefix=\$HOME'.
1402
1403 For better control, use the options below.
1404
1405 Fine tuning of the installation directories:
1406   --bindir=DIR            user executables [EPREFIX/bin]
1407   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1408   --libexecdir=DIR        program executables [EPREFIX/libexec]
1409   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1410   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1411   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1412   --libdir=DIR            object code libraries [EPREFIX/lib]
1413   --includedir=DIR        C header files [PREFIX/include]
1414   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1415   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1416   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1417   --infodir=DIR           info documentation [DATAROOTDIR/info]
1418   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1419   --mandir=DIR            man documentation [DATAROOTDIR/man]
1420   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgsignon-glib]
1421   --htmldir=DIR           html documentation [DOCDIR]
1422   --dvidir=DIR            dvi documentation [DOCDIR]
1423   --pdfdir=DIR            pdf documentation [DOCDIR]
1424   --psdir=DIR             ps documentation [DOCDIR]
1425 _ACEOF
1426
1427   cat <<\_ACEOF
1428
1429 Program names:
1430   --program-prefix=PREFIX            prepend PREFIX to installed program names
1431   --program-suffix=SUFFIX            append SUFFIX to installed program names
1432   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1433
1434 System types:
1435   --build=BUILD     configure for building on BUILD [guessed]
1436   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1437 _ACEOF
1438 fi
1439
1440 if test -n "$ac_init_help"; then
1441   case $ac_init_help in
1442      short | recursive ) echo "Configuration of libgsignon-glib 2.1.0:";;
1443    esac
1444   cat <<\_ACEOF
1445
1446 Optional Features:
1447   --disable-option-checking  ignore unrecognized --enable/--with options
1448   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1449   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1450   --enable-silent-rules          less verbose build output (undo: `make V=1')
1451   --disable-silent-rules         verbose build output (undo: `make V=0')
1452   --disable-dependency-tracking  speeds up one-time build
1453   --enable-dependency-tracking   do not reject slow dependency extractors
1454   --enable-static[=PKGS]  build static libraries [default=no]
1455   --enable-shared[=PKGS]  build shared libraries [default=yes]
1456   --enable-fast-install[=PKGS]
1457                           optimize for fast installation [default=yes]
1458   --disable-libtool-lock  avoid locking (might break parallel builds)
1459   --enable-introspection=[no/auto/yes]
1460                           Enable introspection for this build
1461   --enable-dbus-type=dbus-type specify daemon dbus type:
1462                           p2p(default): uses peer to peer dbus
1463                           session: uses session message bus
1464                           system: uses system message bus
1465   --disable-tests         build with testing support disabled
1466   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1467   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1468   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1469   --disable-cast-checks   compile with GLib cast checks disabled
1470   --disable-asserts       compile with GLib assertions disabled
1471   --disable-checks        compile with GLib checks disabled
1472   --enable-debug          enable printing of debug messages
1473   --enable-coverage       compile with coverage info
1474   --enable-python         Build with python support
1475
1476 Optional Packages:
1477   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1478   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1479   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1480                           both]
1481   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1482   --with-sysroot=DIR Search for dependent libraries within DIR
1483                         (or the compiler's sysroot if not specified).
1484   --with-html-dir=PATH    path to installed docs
1485
1486 Some influential environment variables:
1487   CC          C compiler command
1488   CFLAGS      C compiler flags
1489   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1490               nonstandard directory <lib dir>
1491   LIBS        libraries to pass to the linker, e.g. -l<library>
1492   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1493               you have headers in a nonstandard directory <include dir>
1494   CPP         C preprocessor
1495   PKG_CONFIG  path to pkg-config utility
1496   PKG_CONFIG_PATH
1497               directories to add to pkg-config's search path
1498   PKG_CONFIG_LIBDIR
1499               path overriding pkg-config's built-in search path
1500   DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1501   DEPS_LIBS   linker flags for DEPS, overriding pkg-config
1502   GTestDBus_CFLAGS
1503               C compiler flags for GTestDBus, overriding pkg-config
1504   GTestDBus_LIBS
1505               linker flags for GTestDBus, overriding pkg-config
1506   CHECK_CFLAGS
1507               C compiler flags for CHECK, overriding pkg-config
1508   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1509   GTKDOC_DEPS_CFLAGS
1510               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1511   GTKDOC_DEPS_LIBS
1512               linker flags for GTKDOC_DEPS, overriding pkg-config
1513   PYTHON      the Python interpreter
1514
1515 Use these variables to override the choices made by `configure' or to help
1516 it to find libraries and programs with nonstandard names/locations.
1517
1518 Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
1519 libgsignon-glib home page: <http://code.google.com/p/accounts-sso/>.
1520 _ACEOF
1521 ac_status=$?
1522 fi
1523
1524 if test "$ac_init_help" = "recursive"; then
1525   # If there are subdirs, report their specific --help.
1526   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1527     test -d "$ac_dir" ||
1528       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1529       continue
1530     ac_builddir=.
1531
1532 case "$ac_dir" in
1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *)
1535   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1536   # A ".." for each directory in $ac_dir_suffix.
1537   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1538   case $ac_top_builddir_sub in
1539   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1541   esac ;;
1542 esac
1543 ac_abs_top_builddir=$ac_pwd
1544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1545 # for backward compatibility:
1546 ac_top_builddir=$ac_top_build_prefix
1547
1548 case $srcdir in
1549   .)  # We are building in place.
1550     ac_srcdir=.
1551     ac_top_srcdir=$ac_top_builddir_sub
1552     ac_abs_top_srcdir=$ac_pwd ;;
1553   [\\/]* | ?:[\\/]* )  # Absolute name.
1554     ac_srcdir=$srcdir$ac_dir_suffix;
1555     ac_top_srcdir=$srcdir
1556     ac_abs_top_srcdir=$srcdir ;;
1557   *) # Relative name.
1558     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1559     ac_top_srcdir=$ac_top_build_prefix$srcdir
1560     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1561 esac
1562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1563
1564     cd "$ac_dir" || { ac_status=$?; continue; }
1565     # Check for guested configure.
1566     if test -f "$ac_srcdir/configure.gnu"; then
1567       echo &&
1568       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1569     elif test -f "$ac_srcdir/configure"; then
1570       echo &&
1571       $SHELL "$ac_srcdir/configure" --help=recursive
1572     else
1573       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1574     fi || ac_status=$?
1575     cd "$ac_pwd" || { ac_status=$?; break; }
1576   done
1577 fi
1578
1579 test -n "$ac_init_help" && exit $ac_status
1580 if $ac_init_version; then
1581   cat <<\_ACEOF
1582 libgsignon-glib configure 2.1.0
1583 generated by GNU Autoconf 2.68
1584
1585 Copyright (C) 2010 Free Software Foundation, Inc.
1586 This configure script is free software; the Free Software Foundation
1587 gives unlimited permission to copy, distribute and modify it.
1588 _ACEOF
1589   exit
1590 fi
1591
1592 ## ------------------------ ##
1593 ## Autoconf initialization. ##
1594 ## ------------------------ ##
1595
1596 # ac_fn_c_try_compile LINENO
1597 # --------------------------
1598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_c_try_compile ()
1600 {
1601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602   rm -f conftest.$ac_objext
1603   if { { ac_try="$ac_compile"
1604 case "(($ac_try" in
1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606   *) ac_try_echo=$ac_try;;
1607 esac
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610   (eval "$ac_compile") 2>conftest.err
1611   ac_status=$?
1612   if test -s conftest.err; then
1613     grep -v '^ *+' conftest.err >conftest.er1
1614     cat conftest.er1 >&5
1615     mv -f conftest.er1 conftest.err
1616   fi
1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618   test $ac_status = 0; } && {
1619          test -z "$ac_c_werror_flag" ||
1620          test ! -s conftest.err
1621        } && test -s conftest.$ac_objext; then :
1622   ac_retval=0
1623 else
1624   $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1626
1627         ac_retval=1
1628 fi
1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630   as_fn_set_status $ac_retval
1631
1632 } # ac_fn_c_try_compile
1633
1634 # ac_fn_c_try_link LINENO
1635 # -----------------------
1636 # Try to link conftest.$ac_ext, and return whether this succeeded.
1637 ac_fn_c_try_link ()
1638 {
1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640   rm -f conftest.$ac_objext conftest$ac_exeext
1641   if { { ac_try="$ac_link"
1642 case "(($ac_try" in
1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644   *) ac_try_echo=$ac_try;;
1645 esac
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648   (eval "$ac_link") 2>conftest.err
1649   ac_status=$?
1650   if test -s conftest.err; then
1651     grep -v '^ *+' conftest.err >conftest.er1
1652     cat conftest.er1 >&5
1653     mv -f conftest.er1 conftest.err
1654   fi
1655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656   test $ac_status = 0; } && {
1657          test -z "$ac_c_werror_flag" ||
1658          test ! -s conftest.err
1659        } && test -s conftest$ac_exeext && {
1660          test "$cross_compiling" = yes ||
1661          $as_test_x conftest$ac_exeext
1662        }; then :
1663   ac_retval=0
1664 else
1665   $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1667
1668         ac_retval=1
1669 fi
1670   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1671   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1672   # interfere with the next link command; also delete a directory that is
1673   # left behind by Apple's compiler.  We do this before executing the actions.
1674   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1675   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676   as_fn_set_status $ac_retval
1677
1678 } # ac_fn_c_try_link
1679
1680 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1681 # -------------------------------------------------------
1682 # Tests whether HEADER exists and can be compiled using the include files in
1683 # INCLUDES, setting the cache variable VAR accordingly.
1684 ac_fn_c_check_header_compile ()
1685 {
1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1688 $as_echo_n "checking for $2... " >&6; }
1689 if eval \${$3+:} false; then :
1690   $as_echo_n "(cached) " >&6
1691 else
1692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1693 /* end confdefs.h.  */
1694 $4
1695 #include <$2>
1696 _ACEOF
1697 if ac_fn_c_try_compile "$LINENO"; then :
1698   eval "$3=yes"
1699 else
1700   eval "$3=no"
1701 fi
1702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1703 fi
1704 eval ac_res=\$$3
1705                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1706 $as_echo "$ac_res" >&6; }
1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708
1709 } # ac_fn_c_check_header_compile
1710
1711 # ac_fn_c_try_cpp LINENO
1712 # ----------------------
1713 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_cpp ()
1715 {
1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717   if { { ac_try="$ac_cpp conftest.$ac_ext"
1718 case "(($ac_try" in
1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720   *) ac_try_echo=$ac_try;;
1721 esac
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1725   ac_status=$?
1726   if test -s conftest.err; then
1727     grep -v '^ *+' conftest.err >conftest.er1
1728     cat conftest.er1 >&5
1729     mv -f conftest.er1 conftest.err
1730   fi
1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732   test $ac_status = 0; } > conftest.i && {
1733          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1734          test ! -s conftest.err
1735        }; then :
1736   ac_retval=0
1737 else
1738   $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1740
1741     ac_retval=1
1742 fi
1743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744   as_fn_set_status $ac_retval
1745
1746 } # ac_fn_c_try_cpp
1747
1748 # ac_fn_c_try_run LINENO
1749 # ----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1751 # that executables *can* be run.
1752 ac_fn_c_try_run ()
1753 {
1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755   if { { ac_try="$ac_link"
1756 case "(($ac_try" in
1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758   *) ac_try_echo=$ac_try;;
1759 esac
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762   (eval "$ac_link") 2>&5
1763   ac_status=$?
1764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1766   { { case "(($ac_try" in
1767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768   *) ac_try_echo=$ac_try;;
1769 esac
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772   (eval "$ac_try") 2>&5
1773   ac_status=$?
1774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775   test $ac_status = 0; }; }; then :
1776   ac_retval=0
1777 else
1778   $as_echo "$as_me: program exited with status $ac_status" >&5
1779        $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1781
1782        ac_retval=$ac_status
1783 fi
1784   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1785   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786   as_fn_set_status $ac_retval
1787
1788 } # ac_fn_c_try_run
1789
1790 # ac_fn_c_check_func LINENO FUNC VAR
1791 # ----------------------------------
1792 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1793 ac_fn_c_check_func ()
1794 {
1795   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if eval \${$3+:} false; then :
1799   $as_echo_n "(cached) " >&6
1800 else
1801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h.  */
1803 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1805 #define $2 innocuous_$2
1806
1807 /* System header to define __stub macros and hopefully few prototypes,
1808     which can conflict with char $2 (); below.
1809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1810     <limits.h> exists even on freestanding compilers.  */
1811
1812 #ifdef __STDC__
1813 # include <limits.h>
1814 #else
1815 # include <assert.h>
1816 #endif
1817
1818 #undef $2
1819
1820 /* Override any GCC internal prototype to avoid an error.
1821    Use char because int might match the return type of a GCC
1822    builtin and then its argument prototype would still apply.  */
1823 #ifdef __cplusplus
1824 extern "C"
1825 #endif
1826 char $2 ();
1827 /* The GNU C library defines this for functions which it implements
1828     to always fail with ENOSYS.  Some functions are actually named
1829     something starting with __ and the normal name is an alias.  */
1830 #if defined __stub_$2 || defined __stub___$2
1831 choke me
1832 #endif
1833
1834 int
1835 main ()
1836 {
1837 return $2 ();
1838   ;
1839   return 0;
1840 }
1841 _ACEOF
1842 if ac_fn_c_try_link "$LINENO"; then :
1843   eval "$3=yes"
1844 else
1845   eval "$3=no"
1846 fi
1847 rm -f core conftest.err conftest.$ac_objext \
1848     conftest$ac_exeext conftest.$ac_ext
1849 fi
1850 eval ac_res=\$$3
1851                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854
1855 } # ac_fn_c_check_func
1856 cat >config.log <<_ACEOF
1857 This file contains any messages produced by compilers while
1858 running configure, to aid debugging if configure makes a mistake.
1859
1860 It was created by libgsignon-glib $as_me 2.1.0, which was
1861 generated by GNU Autoconf 2.68.  Invocation command line was
1862
1863   $ $0 $@
1864
1865 _ACEOF
1866 exec 5>>config.log
1867 {
1868 cat <<_ASUNAME
1869 ## --------- ##
1870 ## Platform. ##
1871 ## --------- ##
1872
1873 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1874 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1875 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1876 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1877 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1878
1879 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1880 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1881
1882 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1883 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1885 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1886 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1887 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1888 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1889
1890 _ASUNAME
1891
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893 for as_dir in $PATH
1894 do
1895   IFS=$as_save_IFS
1896   test -z "$as_dir" && as_dir=.
1897     $as_echo "PATH: $as_dir"
1898   done
1899 IFS=$as_save_IFS
1900
1901 } >&5
1902
1903 cat >&5 <<_ACEOF
1904
1905
1906 ## ----------- ##
1907 ## Core tests. ##
1908 ## ----------- ##
1909
1910 _ACEOF
1911
1912
1913 # Keep a trace of the command line.
1914 # Strip out --no-create and --no-recursion so they do not pile up.
1915 # Strip out --silent because we don't want to record it for future runs.
1916 # Also quote any args containing shell meta-characters.
1917 # Make two passes to allow for proper duplicate-argument suppression.
1918 ac_configure_args=
1919 ac_configure_args0=
1920 ac_configure_args1=
1921 ac_must_keep_next=false
1922 for ac_pass in 1 2
1923 do
1924   for ac_arg
1925   do
1926     case $ac_arg in
1927     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1928     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1929     | -silent | --silent | --silen | --sile | --sil)
1930       continue ;;
1931     *\'*)
1932       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1933     esac
1934     case $ac_pass in
1935     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1936     2)
1937       as_fn_append ac_configure_args1 " '$ac_arg'"
1938       if test $ac_must_keep_next = true; then
1939         ac_must_keep_next=false # Got value, back to normal.
1940       else
1941         case $ac_arg in
1942           *=* | --config-cache | -C | -disable-* | --disable-* \
1943           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1944           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1945           | -with-* | --with-* | -without-* | --without-* | --x)
1946             case "$ac_configure_args0 " in
1947               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1948             esac
1949             ;;
1950           -* ) ac_must_keep_next=true ;;
1951         esac
1952       fi
1953       as_fn_append ac_configure_args " '$ac_arg'"
1954       ;;
1955     esac
1956   done
1957 done
1958 { ac_configure_args0=; unset ac_configure_args0;}
1959 { ac_configure_args1=; unset ac_configure_args1;}
1960
1961 # When interrupted or exit'd, cleanup temporary files, and complete
1962 # config.log.  We remove comments because anyway the quotes in there
1963 # would cause problems or look ugly.
1964 # WARNING: Use '\'' to represent an apostrophe within the trap.
1965 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1966 trap 'exit_status=$?
1967   # Save into config.log some information that might help in debugging.
1968   {
1969     echo
1970
1971     $as_echo "## ---------------- ##
1972 ## Cache variables. ##
1973 ## ---------------- ##"
1974     echo
1975     # The following way of writing the cache mishandles newlines in values,
1976 (
1977   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1978     eval ac_val=\$$ac_var
1979     case $ac_val in #(
1980     *${as_nl}*)
1981       case $ac_var in #(
1982       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1984       esac
1985       case $ac_var in #(
1986       _ | IFS | as_nl) ;; #(
1987       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1988       *) { eval $ac_var=; unset $ac_var;} ;;
1989       esac ;;
1990     esac
1991   done
1992   (set) 2>&1 |
1993     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1994     *${as_nl}ac_space=\ *)
1995       sed -n \
1996         "s/'\''/'\''\\\\'\'''\''/g;
1997           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1998       ;; #(
1999     *)
2000       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2001       ;;
2002     esac |
2003     sort
2004 )
2005     echo
2006
2007     $as_echo "## ----------------- ##
2008 ## Output variables. ##
2009 ## ----------------- ##"
2010     echo
2011     for ac_var in $ac_subst_vars
2012     do
2013       eval ac_val=\$$ac_var
2014       case $ac_val in
2015       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2016       esac
2017       $as_echo "$ac_var='\''$ac_val'\''"
2018     done | sort
2019     echo
2020
2021     if test -n "$ac_subst_files"; then
2022       $as_echo "## ------------------- ##
2023 ## File substitutions. ##
2024 ## ------------------- ##"
2025       echo
2026       for ac_var in $ac_subst_files
2027       do
2028         eval ac_val=\$$ac_var
2029         case $ac_val in
2030         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031         esac
2032         $as_echo "$ac_var='\''$ac_val'\''"
2033       done | sort
2034       echo
2035     fi
2036
2037     if test -s confdefs.h; then
2038       $as_echo "## ----------- ##
2039 ## confdefs.h. ##
2040 ## ----------- ##"
2041       echo
2042       cat confdefs.h
2043       echo
2044     fi
2045     test "$ac_signal" != 0 &&
2046       $as_echo "$as_me: caught signal $ac_signal"
2047     $as_echo "$as_me: exit $exit_status"
2048   } >&5
2049   rm -f core *.core core.conftest.* &&
2050     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2051     exit $exit_status
2052 ' 0
2053 for ac_signal in 1 2 13 15; do
2054   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2055 done
2056 ac_signal=0
2057
2058 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2059 rm -f -r conftest* confdefs.h
2060
2061 $as_echo "/* confdefs.h */" > confdefs.h
2062
2063 # Predefined preprocessor variables.
2064
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE_NAME "$PACKAGE_NAME"
2067 _ACEOF
2068
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2071 _ACEOF
2072
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2075 _ACEOF
2076
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE_STRING "$PACKAGE_STRING"
2079 _ACEOF
2080
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2083 _ACEOF
2084
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_URL "$PACKAGE_URL"
2087 _ACEOF
2088
2089
2090 # Let the site file select an alternate cache file if it wants to.
2091 # Prefer an explicitly selected file to automatically selected ones.
2092 ac_site_file1=NONE
2093 ac_site_file2=NONE
2094 if test -n "$CONFIG_SITE"; then
2095   # We do not want a PATH search for config.site.
2096   case $CONFIG_SITE in #((
2097     -*)  ac_site_file1=./$CONFIG_SITE;;
2098     */*) ac_site_file1=$CONFIG_SITE;;
2099     *)   ac_site_file1=./$CONFIG_SITE;;
2100   esac
2101 elif test "x$prefix" != xNONE; then
2102   ac_site_file1=$prefix/share/config.site
2103   ac_site_file2=$prefix/etc/config.site
2104 else
2105   ac_site_file1=$ac_default_prefix/share/config.site
2106   ac_site_file2=$ac_default_prefix/etc/config.site
2107 fi
2108 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2109 do
2110   test "x$ac_site_file" = xNONE && continue
2111   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2112     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2113 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2114     sed 's/^/| /' "$ac_site_file" >&5
2115     . "$ac_site_file" \
2116       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2118 as_fn_error $? "failed to load site script $ac_site_file
2119 See \`config.log' for more details" "$LINENO" 5; }
2120   fi
2121 done
2122
2123 if test -r "$cache_file"; then
2124   # Some versions of bash will fail to source /dev/null (special files
2125   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2126   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2127     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2128 $as_echo "$as_me: loading cache $cache_file" >&6;}
2129     case $cache_file in
2130       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2131       *)                      . "./$cache_file";;
2132     esac
2133   fi
2134 else
2135   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2136 $as_echo "$as_me: creating cache $cache_file" >&6;}
2137   >$cache_file
2138 fi
2139
2140 # Check that the precious variables saved in the cache have kept the same
2141 # value.
2142 ac_cache_corrupted=false
2143 for ac_var in $ac_precious_vars; do
2144   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2145   eval ac_new_set=\$ac_env_${ac_var}_set
2146   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2147   eval ac_new_val=\$ac_env_${ac_var}_value
2148   case $ac_old_set,$ac_new_set in
2149     set,)
2150       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2151 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2152       ac_cache_corrupted=: ;;
2153     ,set)
2154       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2155 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2156       ac_cache_corrupted=: ;;
2157     ,);;
2158     *)
2159       if test "x$ac_old_val" != "x$ac_new_val"; then
2160         # differences in whitespace do not lead to failure.
2161         ac_old_val_w=`echo x $ac_old_val`
2162         ac_new_val_w=`echo x $ac_new_val`
2163         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2164           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2165 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2166           ac_cache_corrupted=:
2167         else
2168           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2169 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2170           eval $ac_var=\$ac_old_val
2171         fi
2172         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2173 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2174         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2175 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2176       fi;;
2177   esac
2178   # Pass precious variables to config.status.
2179   if test "$ac_new_set" = set; then
2180     case $ac_new_val in
2181     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2182     *) ac_arg=$ac_var=$ac_new_val ;;
2183     esac
2184     case " $ac_configure_args " in
2185       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2186       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2187     esac
2188   fi
2189 done
2190 if $ac_cache_corrupted; then
2191   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2194 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2195   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2196 fi
2197 ## -------------------- ##
2198 ## Main body of script. ##
2199 ## -------------------- ##
2200
2201 ac_ext=c
2202 ac_cpp='$CPP $CPPFLAGS'
2203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2206
2207
2208
2209 ac_aux_dir=
2210 for ac_dir in build-aux "$srcdir"/build-aux; do
2211   if test -f "$ac_dir/install-sh"; then
2212     ac_aux_dir=$ac_dir
2213     ac_install_sh="$ac_aux_dir/install-sh -c"
2214     break
2215   elif test -f "$ac_dir/install.sh"; then
2216     ac_aux_dir=$ac_dir
2217     ac_install_sh="$ac_aux_dir/install.sh -c"
2218     break
2219   elif test -f "$ac_dir/shtool"; then
2220     ac_aux_dir=$ac_dir
2221     ac_install_sh="$ac_aux_dir/shtool install -c"
2222     break
2223   fi
2224 done
2225 if test -z "$ac_aux_dir"; then
2226   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2227 fi
2228
2229 # These three variables are undocumented and unsupported,
2230 # and are intended to be withdrawn in a future Autoconf release.
2231 # They can cause serious problems if a builder's source tree is in a directory
2232 # whose full name contains unusual characters.
2233 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2234 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2235 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2236
2237
2238 ac_config_headers="$ac_config_headers config.h"
2239
2240
2241
2242
2243 am__api_version='1.11'
2244
2245 # Find a good install program.  We prefer a C program (faster),
2246 # so one script is as good as another.  But avoid the broken or
2247 # incompatible versions:
2248 # SysV /etc/install, /usr/sbin/install
2249 # SunOS /usr/etc/install
2250 # IRIX /sbin/install
2251 # AIX /bin/install
2252 # AmigaOS /C/install, which installs bootblocks on floppy discs
2253 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2254 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2255 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2256 # OS/2's system install, which has a completely different semantic
2257 # ./install, which can be erroneously created by make from ./install.sh.
2258 # Reject install programs that cannot install multiple files.
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2260 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2261 if test -z "$INSTALL"; then
2262 if ${ac_cv_path_install+:} false; then :
2263   $as_echo_n "(cached) " >&6
2264 else
2265   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2267 do
2268   IFS=$as_save_IFS
2269   test -z "$as_dir" && as_dir=.
2270     # Account for people who put trailing slashes in PATH elements.
2271 case $as_dir/ in #((
2272   ./ | .// | /[cC]/* | \
2273   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2274   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2275   /usr/ucb/* ) ;;
2276   *)
2277     # OSF1 and SCO ODT 3.0 have their own names for install.
2278     # Don't use installbsd from OSF since it installs stuff as root
2279     # by default.
2280     for ac_prog in ginstall scoinst install; do
2281       for ac_exec_ext in '' $ac_executable_extensions; do
2282         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2283           if test $ac_prog = install &&
2284             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2285             # AIX install.  It has an incompatible calling convention.
2286             :
2287           elif test $ac_prog = install &&
2288             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2289             # program-specific install script used by HP pwplus--don't use.
2290             :
2291           else
2292             rm -rf conftest.one conftest.two conftest.dir
2293             echo one > conftest.one
2294             echo two > conftest.two
2295             mkdir conftest.dir
2296             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2297               test -s conftest.one && test -s conftest.two &&
2298               test -s conftest.dir/conftest.one &&
2299               test -s conftest.dir/conftest.two
2300             then
2301               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2302               break 3
2303             fi
2304           fi
2305         fi
2306       done
2307     done
2308     ;;
2309 esac
2310
2311   done
2312 IFS=$as_save_IFS
2313
2314 rm -rf conftest.one conftest.two conftest.dir
2315
2316 fi
2317   if test "${ac_cv_path_install+set}" = set; then
2318     INSTALL=$ac_cv_path_install
2319   else
2320     # As a last resort, use the slow shell script.  Don't cache a
2321     # value for INSTALL within a source directory, because that will
2322     # break other packages using the cache if that directory is
2323     # removed, or if the value is a relative name.
2324     INSTALL=$ac_install_sh
2325   fi
2326 fi
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2328 $as_echo "$INSTALL" >&6; }
2329
2330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2331 # It thinks the first close brace ends the variable substitution.
2332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2333
2334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2335
2336 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2337
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2339 $as_echo_n "checking whether build environment is sane... " >&6; }
2340 # Just in case
2341 sleep 1
2342 echo timestamp > conftest.file
2343 # Reject unsafe characters in $srcdir or the absolute working directory
2344 # name.  Accept space and tab only in the latter.
2345 am_lf='
2346 '
2347 case `pwd` in
2348   *[\\\"\#\$\&\'\`$am_lf]*)
2349     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2350 esac
2351 case $srcdir in
2352   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2353     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2354 esac
2355
2356 # Do `set' in a subshell so we don't clobber the current shell's
2357 # arguments.  Must try -L first in case configure is actually a
2358 # symlink; some systems play weird games with the mod time of symlinks
2359 # (eg FreeBSD returns the mod time of the symlink's containing
2360 # directory).
2361 if (
2362    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2363    if test "$*" = "X"; then
2364       # -L didn't work.
2365       set X `ls -t "$srcdir/configure" conftest.file`
2366    fi
2367    rm -f conftest.file
2368    if test "$*" != "X $srcdir/configure conftest.file" \
2369       && test "$*" != "X conftest.file $srcdir/configure"; then
2370
2371       # If neither matched, then we have a broken ls.  This can happen
2372       # if, for instance, CONFIG_SHELL is bash and it inherits a
2373       # broken ls alias from the environment.  This has actually
2374       # happened.  Such a system could not be considered "sane".
2375       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2376 alias in your environment" "$LINENO" 5
2377    fi
2378
2379    test "$2" = conftest.file
2380    )
2381 then
2382    # Ok.
2383    :
2384 else
2385    as_fn_error $? "newly created file is older than distributed files!
2386 Check your system clock" "$LINENO" 5
2387 fi
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2389 $as_echo "yes" >&6; }
2390 test "$program_prefix" != NONE &&
2391   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2392 # Use a double $ so make ignores it.
2393 test "$program_suffix" != NONE &&
2394   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2395 # Double any \ or $.
2396 # By default was `s,x,x', remove it if useless.
2397 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2398 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2399
2400 # expand $ac_aux_dir to an absolute path
2401 am_aux_dir=`cd $ac_aux_dir && pwd`
2402
2403 if test x"${MISSING+set}" != xset; then
2404   case $am_aux_dir in
2405   *\ * | *\     *)
2406     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2407   *)
2408     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2409   esac
2410 fi
2411 # Use eval to expand $SHELL
2412 if eval "$MISSING --run true"; then
2413   am_missing_run="$MISSING --run "
2414 else
2415   am_missing_run=
2416   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2417 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2418 fi
2419
2420 if test x"${install_sh}" != xset; then
2421   case $am_aux_dir in
2422   *\ * | *\     *)
2423     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2424   *)
2425     install_sh="\${SHELL} $am_aux_dir/install-sh"
2426   esac
2427 fi
2428
2429 # Installed binaries are usually stripped using `strip' when the user
2430 # run `make install-strip'.  However `strip' might not be the right
2431 # tool to use in cross-compilation environments, therefore Automake
2432 # will honor the `STRIP' environment variable to overrule this program.
2433 if test "$cross_compiling" != no; then
2434   if test -n "$ac_tool_prefix"; then
2435   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2436 set dummy ${ac_tool_prefix}strip; ac_word=$2
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2438 $as_echo_n "checking for $ac_word... " >&6; }
2439 if ${ac_cv_prog_STRIP+:} false; then :
2440   $as_echo_n "(cached) " >&6
2441 else
2442   if test -n "$STRIP"; then
2443   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2444 else
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 for as_dir in $PATH
2447 do
2448   IFS=$as_save_IFS
2449   test -z "$as_dir" && as_dir=.
2450     for ac_exec_ext in '' $ac_executable_extensions; do
2451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2452     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2454     break 2
2455   fi
2456 done
2457   done
2458 IFS=$as_save_IFS
2459
2460 fi
2461 fi
2462 STRIP=$ac_cv_prog_STRIP
2463 if test -n "$STRIP"; then
2464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2465 $as_echo "$STRIP" >&6; }
2466 else
2467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2469 fi
2470
2471
2472 fi
2473 if test -z "$ac_cv_prog_STRIP"; then
2474   ac_ct_STRIP=$STRIP
2475   # Extract the first word of "strip", so it can be a program name with args.
2476 set dummy strip; ac_word=$2
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2480   $as_echo_n "(cached) " >&6
2481 else
2482   if test -n "$ac_ct_STRIP"; then
2483   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2484 else
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 for as_dir in $PATH
2487 do
2488   IFS=$as_save_IFS
2489   test -z "$as_dir" && as_dir=.
2490     for ac_exec_ext in '' $ac_executable_extensions; do
2491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492     ac_cv_prog_ac_ct_STRIP="strip"
2493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2494     break 2
2495   fi
2496 done
2497   done
2498 IFS=$as_save_IFS
2499
2500 fi
2501 fi
2502 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2503 if test -n "$ac_ct_STRIP"; then
2504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2505 $as_echo "$ac_ct_STRIP" >&6; }
2506 else
2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508 $as_echo "no" >&6; }
2509 fi
2510
2511   if test "x$ac_ct_STRIP" = x; then
2512     STRIP=":"
2513   else
2514     case $cross_compiling:$ac_tool_warned in
2515 yes:)
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2518 ac_tool_warned=yes ;;
2519 esac
2520     STRIP=$ac_ct_STRIP
2521   fi
2522 else
2523   STRIP="$ac_cv_prog_STRIP"
2524 fi
2525
2526 fi
2527 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2528
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2530 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2531 if test -z "$MKDIR_P"; then
2532   if ${ac_cv_path_mkdir+:} false; then :
2533   $as_echo_n "(cached) " >&6
2534 else
2535   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2537 do
2538   IFS=$as_save_IFS
2539   test -z "$as_dir" && as_dir=.
2540     for ac_prog in mkdir gmkdir; do
2541          for ac_exec_ext in '' $ac_executable_extensions; do
2542            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2543            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2544              'mkdir (GNU coreutils) '* | \
2545              'mkdir (coreutils) '* | \
2546              'mkdir (fileutils) '4.1*)
2547                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2548                break 3;;
2549            esac
2550          done
2551        done
2552   done
2553 IFS=$as_save_IFS
2554
2555 fi
2556
2557   test -d ./--version && rmdir ./--version
2558   if test "${ac_cv_path_mkdir+set}" = set; then
2559     MKDIR_P="$ac_cv_path_mkdir -p"
2560   else
2561     # As a last resort, use the slow shell script.  Don't cache a
2562     # value for MKDIR_P within a source directory, because that will
2563     # break other packages using the cache if that directory is
2564     # removed, or if the value is a relative name.
2565     MKDIR_P="$ac_install_sh -d"
2566   fi
2567 fi
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2569 $as_echo "$MKDIR_P" >&6; }
2570
2571 mkdir_p="$MKDIR_P"
2572 case $mkdir_p in
2573   [\\/$]* | ?:[\\/]*) ;;
2574   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2575 esac
2576
2577 for ac_prog in gawk mawk nawk awk
2578 do
2579   # Extract the first word of "$ac_prog", so it can be a program name with args.
2580 set dummy $ac_prog; ac_word=$2
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2582 $as_echo_n "checking for $ac_word... " >&6; }
2583 if ${ac_cv_prog_AWK+:} false; then :
2584   $as_echo_n "(cached) " >&6
2585 else
2586   if test -n "$AWK"; then
2587   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2588 else
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 for as_dir in $PATH
2591 do
2592   IFS=$as_save_IFS
2593   test -z "$as_dir" && as_dir=.
2594     for ac_exec_ext in '' $ac_executable_extensions; do
2595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596     ac_cv_prog_AWK="$ac_prog"
2597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598     break 2
2599   fi
2600 done
2601   done
2602 IFS=$as_save_IFS
2603
2604 fi
2605 fi
2606 AWK=$ac_cv_prog_AWK
2607 if test -n "$AWK"; then
2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2609 $as_echo "$AWK" >&6; }
2610 else
2611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612 $as_echo "no" >&6; }
2613 fi
2614
2615
2616   test -n "$AWK" && break
2617 done
2618
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2620 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2621 set x ${MAKE-make}
2622 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2623 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2624   $as_echo_n "(cached) " >&6
2625 else
2626   cat >conftest.make <<\_ACEOF
2627 SHELL = /bin/sh
2628 all:
2629         @echo '@@@%%%=$(MAKE)=@@@%%%'
2630 _ACEOF
2631 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2632 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2633   *@@@%%%=?*=@@@%%%*)
2634     eval ac_cv_prog_make_${ac_make}_set=yes;;
2635   *)
2636     eval ac_cv_prog_make_${ac_make}_set=no;;
2637 esac
2638 rm -f conftest.make
2639 fi
2640 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2642 $as_echo "yes" >&6; }
2643   SET_MAKE=
2644 else
2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2647   SET_MAKE="MAKE=${MAKE-make}"
2648 fi
2649
2650 rm -rf .tst 2>/dev/null
2651 mkdir .tst 2>/dev/null
2652 if test -d .tst; then
2653   am__leading_dot=.
2654 else
2655   am__leading_dot=_
2656 fi
2657 rmdir .tst 2>/dev/null
2658
2659 # Check whether --enable-silent-rules was given.
2660 if test "${enable_silent_rules+set}" = set; then :
2661   enableval=$enable_silent_rules;
2662 fi
2663
2664 case $enable_silent_rules in
2665 yes) AM_DEFAULT_VERBOSITY=0;;
2666 no)  AM_DEFAULT_VERBOSITY=1;;
2667 *)   AM_DEFAULT_VERBOSITY=1;;
2668 esac
2669 am_make=${MAKE-make}
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2671 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2672 if ${am_cv_make_support_nested_variables+:} false; then :
2673   $as_echo_n "(cached) " >&6
2674 else
2675   if $as_echo 'TRUE=$(BAR$(V))
2676 BAR0=false
2677 BAR1=true
2678 V=1
2679 am__doit:
2680         @$(TRUE)
2681 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2682   am_cv_make_support_nested_variables=yes
2683 else
2684   am_cv_make_support_nested_variables=no
2685 fi
2686 fi
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2688 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2689 if test $am_cv_make_support_nested_variables = yes; then
2690     AM_V='$(V)'
2691   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2692 else
2693   AM_V=$AM_DEFAULT_VERBOSITY
2694   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2695 fi
2696 AM_BACKSLASH='\'
2697
2698 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2699   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2700   # is not polluted with repeated "-I."
2701   am__isrc=' -I$(srcdir)'
2702   # test to see if srcdir already configured
2703   if test -f $srcdir/config.status; then
2704     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2705   fi
2706 fi
2707
2708 # test whether we have cygpath
2709 if test -z "$CYGPATH_W"; then
2710   if (cygpath --version) >/dev/null 2>/dev/null; then
2711     CYGPATH_W='cygpath -w'
2712   else
2713     CYGPATH_W=echo
2714   fi
2715 fi
2716
2717
2718 # Define the identity of the package.
2719  PACKAGE='libgsignon-glib'
2720  VERSION='2.1.0'
2721
2722
2723 cat >>confdefs.h <<_ACEOF
2724 #define PACKAGE "$PACKAGE"
2725 _ACEOF
2726
2727
2728 cat >>confdefs.h <<_ACEOF
2729 #define VERSION "$VERSION"
2730 _ACEOF
2731
2732 # Some tools Automake needs.
2733
2734 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2735
2736
2737 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2738
2739
2740 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2741
2742
2743 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2744
2745
2746 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2747
2748 # We need awk for the "check" target.  The system "awk" is bad on
2749 # some platforms.
2750 # Always define AMTAR for backward compatibility.  Yes, it's still used
2751 # in the wild :-(  We should find a proper way to deprecate it ...
2752 AMTAR='$${TAR-tar}'
2753
2754
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2756 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2757 # Loop over all known methods to create a tar archive until one works.
2758 _am_tools='gnutar  pax cpio none'
2759 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2760 # Do not fold the above two line into one, because Tru64 sh and
2761 # Solaris sh will not grok spaces in the rhs of `-'.
2762 for _am_tool in $_am_tools
2763 do
2764   case $_am_tool in
2765   gnutar)
2766     for _am_tar in tar gnutar gtar;
2767     do
2768       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2769    ($_am_tar --version) >&5 2>&5
2770    ac_status=$?
2771    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772    (exit $ac_status); } && break
2773     done
2774     am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2775     am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2776     am__untar="$_am_tar -xf -"
2777     ;;
2778   plaintar)
2779     # Must skip GNU tar: if it does not support --format= it doesn't create
2780     # ustar tarball either.
2781     (tar --version) >/dev/null 2>&1 && continue
2782     am__tar='tar chf - "$$tardir"'
2783     am__tar_='tar chf - "$tardir"'
2784     am__untar='tar xf -'
2785     ;;
2786   pax)
2787     am__tar='pax -L -x pax -w "$$tardir"'
2788     am__tar_='pax -L -x pax -w "$tardir"'
2789     am__untar='pax -r'
2790     ;;
2791   cpio)
2792     am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2793     am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2794     am__untar='cpio -i -H pax -d'
2795     ;;
2796   none)
2797     am__tar=false
2798     am__tar_=false
2799     am__untar=false
2800     ;;
2801   esac
2802
2803   # If the value was cached, stop now.  We just wanted to have am__tar
2804   # and am__untar set.
2805   test -n "${am_cv_prog_tar_pax}" && break
2806
2807   # tar/untar a dummy directory, and stop if the command works
2808   rm -rf conftest.dir
2809   mkdir conftest.dir
2810   echo GrepMe > conftest.dir/file
2811   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2812    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2813    ac_status=$?
2814    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815    (exit $ac_status); }
2816   rm -rf conftest.dir
2817   if test -s conftest.tar; then
2818     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2819    ($am__untar <conftest.tar) >&5 2>&5
2820    ac_status=$?
2821    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822    (exit $ac_status); }
2823     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2824   fi
2825 done
2826 rm -rf conftest.dir
2827
2828 if ${am_cv_prog_tar_pax+:} false; then :
2829   $as_echo_n "(cached) " >&6
2830 else
2831   am_cv_prog_tar_pax=$_am_tool
2832 fi
2833
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2835 $as_echo "$am_cv_prog_tar_pax" >&6; }
2836
2837
2838
2839
2840
2841
2842 ac_ext=c
2843 ac_cpp='$CPP $CPPFLAGS'
2844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2847 if test -n "$ac_tool_prefix"; then
2848   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2849 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2851 $as_echo_n "checking for $ac_word... " >&6; }
2852 if ${ac_cv_prog_CC+:} false; then :
2853   $as_echo_n "(cached) " >&6
2854 else
2855   if test -n "$CC"; then
2856   ac_cv_prog_CC="$CC" # Let the user override the test.
2857 else
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 for as_dir in $PATH
2860 do
2861   IFS=$as_save_IFS
2862   test -z "$as_dir" && as_dir=.
2863     for ac_exec_ext in '' $ac_executable_extensions; do
2864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2865     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2867     break 2
2868   fi
2869 done
2870   done
2871 IFS=$as_save_IFS
2872
2873 fi
2874 fi
2875 CC=$ac_cv_prog_CC
2876 if test -n "$CC"; then
2877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2878 $as_echo "$CC" >&6; }
2879 else
2880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2882 fi
2883
2884
2885 fi
2886 if test -z "$ac_cv_prog_CC"; then
2887   ac_ct_CC=$CC
2888   # Extract the first word of "gcc", so it can be a program name with args.
2889 set dummy gcc; ac_word=$2
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891 $as_echo_n "checking for $ac_word... " >&6; }
2892 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2893   $as_echo_n "(cached) " >&6
2894 else
2895   if test -n "$ac_ct_CC"; then
2896   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2897 else
2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899 for as_dir in $PATH
2900 do
2901   IFS=$as_save_IFS
2902   test -z "$as_dir" && as_dir=.
2903     for ac_exec_ext in '' $ac_executable_extensions; do
2904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2905     ac_cv_prog_ac_ct_CC="gcc"
2906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907     break 2
2908   fi
2909 done
2910   done
2911 IFS=$as_save_IFS
2912
2913 fi
2914 fi
2915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2916 if test -n "$ac_ct_CC"; then
2917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2918 $as_echo "$ac_ct_CC" >&6; }
2919 else
2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2922 fi
2923
2924   if test "x$ac_ct_CC" = x; then
2925     CC=""
2926   else
2927     case $cross_compiling:$ac_tool_warned in
2928 yes:)
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2931 ac_tool_warned=yes ;;
2932 esac
2933     CC=$ac_ct_CC
2934   fi
2935 else
2936   CC="$ac_cv_prog_CC"
2937 fi
2938
2939 if test -z "$CC"; then
2940           if test -n "$ac_tool_prefix"; then
2941     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2942 set dummy ${ac_tool_prefix}cc; ac_word=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_prog_CC+:} false; then :
2946   $as_echo_n "(cached) " >&6
2947 else
2948   if test -n "$CC"; then
2949   ac_cv_prog_CC="$CC" # Let the user override the test.
2950 else
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 for as_dir in $PATH
2953 do
2954   IFS=$as_save_IFS
2955   test -z "$as_dir" && as_dir=.
2956     for ac_exec_ext in '' $ac_executable_extensions; do
2957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958     ac_cv_prog_CC="${ac_tool_prefix}cc"
2959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960     break 2
2961   fi
2962 done
2963   done
2964 IFS=$as_save_IFS
2965
2966 fi
2967 fi
2968 CC=$ac_cv_prog_CC
2969 if test -n "$CC"; then
2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2971 $as_echo "$CC" >&6; }
2972 else
2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2975 fi
2976
2977
2978   fi
2979 fi
2980 if test -z "$CC"; then
2981   # Extract the first word of "cc", so it can be a program name with args.
2982 set dummy cc; ac_word=$2
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984 $as_echo_n "checking for $ac_word... " >&6; }
2985 if ${ac_cv_prog_CC+:} false; then :
2986   $as_echo_n "(cached) " >&6
2987 else
2988   if test -n "$CC"; then
2989   ac_cv_prog_CC="$CC" # Let the user override the test.
2990 else
2991   ac_prog_rejected=no
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 for as_dir in $PATH
2994 do
2995   IFS=$as_save_IFS
2996   test -z "$as_dir" && as_dir=.
2997     for ac_exec_ext in '' $ac_executable_extensions; do
2998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3000        ac_prog_rejected=yes
3001        continue
3002      fi
3003     ac_cv_prog_CC="cc"
3004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005     break 2
3006   fi
3007 done
3008   done
3009 IFS=$as_save_IFS
3010
3011 if test $ac_prog_rejected = yes; then
3012   # We found a bogon in the path, so make sure we never use it.
3013   set dummy $ac_cv_prog_CC
3014   shift
3015   if test $# != 0; then
3016     # We chose a different compiler from the bogus one.
3017     # However, it has the same basename, so the bogon will be chosen
3018     # first if we set CC to just the basename; use the full file name.
3019     shift
3020     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3021   fi
3022 fi
3023 fi
3024 fi
3025 CC=$ac_cv_prog_CC
3026 if test -n "$CC"; then
3027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3028 $as_echo "$CC" >&6; }
3029 else
3030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3032 fi
3033
3034
3035 fi
3036 if test -z "$CC"; then
3037   if test -n "$ac_tool_prefix"; then
3038   for ac_prog in cl.exe
3039   do
3040     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if ${ac_cv_prog_CC+:} false; then :
3045   $as_echo_n "(cached) " >&6
3046 else
3047   if test -n "$CC"; then
3048   ac_cv_prog_CC="$CC" # Let the user override the test.
3049 else
3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051 for as_dir in $PATH
3052 do
3053   IFS=$as_save_IFS
3054   test -z "$as_dir" && as_dir=.
3055     for ac_exec_ext in '' $ac_executable_extensions; do
3056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3057     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059     break 2
3060   fi
3061 done
3062   done
3063 IFS=$as_save_IFS
3064
3065 fi
3066 fi
3067 CC=$ac_cv_prog_CC
3068 if test -n "$CC"; then
3069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3070 $as_echo "$CC" >&6; }
3071 else
3072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3074 fi
3075
3076
3077     test -n "$CC" && break
3078   done
3079 fi
3080 if test -z "$CC"; then
3081   ac_ct_CC=$CC
3082   for ac_prog in cl.exe
3083 do
3084   # Extract the first word of "$ac_prog", so it can be a program name with args.
3085 set dummy $ac_prog; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3089   $as_echo_n "(cached) " >&6
3090 else
3091   if test -n "$ac_ct_CC"; then
3092   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3093 else
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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101     ac_cv_prog_ac_ct_CC="$ac_prog"
3102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3103     break 2
3104   fi
3105 done
3106   done
3107 IFS=$as_save_IFS
3108
3109 fi
3110 fi
3111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3112 if test -n "$ac_ct_CC"; then
3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3114 $as_echo "$ac_ct_CC" >&6; }
3115 else
3116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3118 fi
3119
3120
3121   test -n "$ac_ct_CC" && break
3122 done
3123
3124   if test "x$ac_ct_CC" = x; then
3125     CC=""
3126   else
3127     case $cross_compiling:$ac_tool_warned in
3128 yes:)
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3131 ac_tool_warned=yes ;;
3132 esac
3133     CC=$ac_ct_CC
3134   fi
3135 fi
3136
3137 fi
3138
3139
3140 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 as_fn_error $? "no acceptable C compiler found in \$PATH
3143 See \`config.log' for more details" "$LINENO" 5; }
3144
3145 # Provide some information about the compiler.
3146 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3147 set X $ac_compile
3148 ac_compiler=$2
3149 for ac_option in --version -v -V -qversion; do
3150   { { ac_try="$ac_compiler $ac_option >&5"
3151 case "(($ac_try" in
3152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153   *) ac_try_echo=$ac_try;;
3154 esac
3155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156 $as_echo "$ac_try_echo"; } >&5
3157   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3158   ac_status=$?
3159   if test -s conftest.err; then
3160     sed '10a\
3161 ... rest of stderr output deleted ...
3162          10q' conftest.err >conftest.er1
3163     cat conftest.er1 >&5
3164   fi
3165   rm -f conftest.er1 conftest.err
3166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167   test $ac_status = 0; }
3168 done
3169
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h.  */
3172
3173 int
3174 main ()
3175 {
3176
3177   ;
3178   return 0;
3179 }
3180 _ACEOF
3181 ac_clean_files_save=$ac_clean_files
3182 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3183 # Try to create an executable without -o first, disregard a.out.
3184 # It will help us diagnose broken compilers, and finding out an intuition
3185 # of exeext.
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3187 $as_echo_n "checking whether the C compiler works... " >&6; }
3188 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3189
3190 # The possible output files:
3191 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3192
3193 ac_rmfiles=
3194 for ac_file in $ac_files
3195 do
3196   case $ac_file in
3197     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3198     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3199   esac
3200 done
3201 rm -f $ac_rmfiles
3202
3203 if { { ac_try="$ac_link_default"
3204 case "(($ac_try" in
3205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206   *) ac_try_echo=$ac_try;;
3207 esac
3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209 $as_echo "$ac_try_echo"; } >&5
3210   (eval "$ac_link_default") 2>&5
3211   ac_status=$?
3212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213   test $ac_status = 0; }; then :
3214   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3215 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3216 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3217 # so that the user can short-circuit this test for compilers unknown to
3218 # Autoconf.
3219 for ac_file in $ac_files ''
3220 do
3221   test -f "$ac_file" || continue
3222   case $ac_file in
3223     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3224         ;;
3225     [ab].out )
3226         # We found the default executable, but exeext='' is most
3227         # certainly right.
3228         break;;
3229     *.* )
3230         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3231         then :; else
3232            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3233         fi
3234         # We set ac_cv_exeext here because the later test for it is not
3235         # safe: cross compilers may not add the suffix if given an `-o'
3236         # argument, so we may need to know it at that point already.
3237         # Even if this section looks crufty: it has the advantage of
3238         # actually working.
3239         break;;
3240     * )
3241         break;;
3242   esac
3243 done
3244 test "$ac_cv_exeext" = no && ac_cv_exeext=
3245
3246 else
3247   ac_file=''
3248 fi
3249 if test -z "$ac_file"; then :
3250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3252 $as_echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3254
3255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3257 as_fn_error 77 "C compiler cannot create executables
3258 See \`config.log' for more details" "$LINENO" 5; }
3259 else
3260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3261 $as_echo "yes" >&6; }
3262 fi
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3264 $as_echo_n "checking for C compiler default output file name... " >&6; }
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3266 $as_echo "$ac_file" >&6; }
3267 ac_exeext=$ac_cv_exeext
3268
3269 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3270 ac_clean_files=$ac_clean_files_save
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3272 $as_echo_n "checking for suffix of executables... " >&6; }
3273 if { { ac_try="$ac_link"
3274 case "(($ac_try" in
3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276   *) ac_try_echo=$ac_try;;
3277 esac
3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280   (eval "$ac_link") 2>&5
3281   ac_status=$?
3282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283   test $ac_status = 0; }; then :
3284   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3285 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3286 # work properly (i.e., refer to `conftest.exe'), while it won't with
3287 # `rm'.
3288 for ac_file in conftest.exe conftest conftest.*; do
3289   test -f "$ac_file" || continue
3290   case $ac_file in
3291     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3292     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3293           break;;
3294     * ) break;;
3295   esac
3296 done
3297 else
3298   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3300 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3301 See \`config.log' for more details" "$LINENO" 5; }
3302 fi
3303 rm -f conftest conftest$ac_cv_exeext
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3305 $as_echo "$ac_cv_exeext" >&6; }
3306
3307 rm -f conftest.$ac_ext
3308 EXEEXT=$ac_cv_exeext
3309 ac_exeext=$EXEEXT
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h.  */
3312 #include <stdio.h>
3313 int
3314 main ()
3315 {
3316 FILE *f = fopen ("conftest.out", "w");
3317  return ferror (f) || fclose (f) != 0;
3318
3319   ;
3320   return 0;
3321 }
3322 _ACEOF
3323 ac_clean_files="$ac_clean_files conftest.out"
3324 # Check that the compiler produces executables we can run.  If not, either
3325 # the compiler is broken, or we cross compile.
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3327 $as_echo_n "checking whether we are cross compiling... " >&6; }
3328 if test "$cross_compiling" != yes; then
3329   { { ac_try="$ac_link"
3330 case "(($ac_try" in
3331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332   *) ac_try_echo=$ac_try;;
3333 esac
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336   (eval "$ac_link") 2>&5
3337   ac_status=$?
3338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339   test $ac_status = 0; }
3340   if { ac_try='./conftest$ac_cv_exeext'
3341   { { case "(($ac_try" in
3342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343   *) ac_try_echo=$ac_try;;
3344 esac
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347   (eval "$ac_try") 2>&5
3348   ac_status=$?
3349   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350   test $ac_status = 0; }; }; then
3351     cross_compiling=no
3352   else
3353     if test "$cross_compiling" = maybe; then
3354         cross_compiling=yes
3355     else
3356         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error $? "cannot run C compiled programs.
3359 If you meant to cross compile, use \`--host'.
3360 See \`config.log' for more details" "$LINENO" 5; }
3361     fi
3362   fi
3363 fi
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3365 $as_echo "$cross_compiling" >&6; }
3366
3367 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3368 ac_clean_files=$ac_clean_files_save
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3370 $as_echo_n "checking for suffix of object files... " >&6; }
3371 if ${ac_cv_objext+:} false; then :
3372   $as_echo_n "(cached) " >&6
3373 else
3374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h.  */
3376
3377 int
3378 main ()
3379 {
3380
3381   ;
3382   return 0;
3383 }
3384 _ACEOF
3385 rm -f conftest.o conftest.obj
3386 if { { ac_try="$ac_compile"
3387 case "(($ac_try" in
3388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389   *) ac_try_echo=$ac_try;;
3390 esac
3391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3392 $as_echo "$ac_try_echo"; } >&5
3393   (eval "$ac_compile") 2>&5
3394   ac_status=$?
3395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3396   test $ac_status = 0; }; then :
3397   for ac_file in conftest.o conftest.obj conftest.*; do
3398   test -f "$ac_file" || continue;
3399   case $ac_file in
3400     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3401     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3402        break;;
3403   esac
3404 done
3405 else
3406   $as_echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.$ac_ext >&5
3408
3409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $? "cannot compute suffix of object files: cannot compile
3412 See \`config.log' for more details" "$LINENO" 5; }
3413 fi
3414 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3415 fi
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3417 $as_echo "$ac_cv_objext" >&6; }
3418 OBJEXT=$ac_cv_objext
3419 ac_objext=$OBJEXT
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3421 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3422 if ${ac_cv_c_compiler_gnu+:} false; then :
3423   $as_echo_n "(cached) " >&6
3424 else
3425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h.  */
3427
3428 int
3429 main ()
3430 {
3431 #ifndef __GNUC__
3432        choke me
3433 #endif
3434
3435   ;
3436   return 0;
3437 }
3438 _ACEOF
3439 if ac_fn_c_try_compile "$LINENO"; then :
3440   ac_compiler_gnu=yes
3441 else
3442   ac_compiler_gnu=no
3443 fi
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3446
3447 fi
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3449 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3450 if test $ac_compiler_gnu = yes; then
3451   GCC=yes
3452 else
3453   GCC=
3454 fi
3455 ac_test_CFLAGS=${CFLAGS+set}
3456 ac_save_CFLAGS=$CFLAGS
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3458 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3459 if ${ac_cv_prog_cc_g+:} false; then :
3460   $as_echo_n "(cached) " >&6
3461 else
3462   ac_save_c_werror_flag=$ac_c_werror_flag
3463    ac_c_werror_flag=yes
3464    ac_cv_prog_cc_g=no
3465    CFLAGS="-g"
3466    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h.  */
3468
3469 int
3470 main ()
3471 {
3472
3473   ;
3474   return 0;
3475 }
3476 _ACEOF
3477 if ac_fn_c_try_compile "$LINENO"; then :
3478   ac_cv_prog_cc_g=yes
3479 else
3480   CFLAGS=""
3481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h.  */
3483
3484 int
3485 main ()
3486 {
3487
3488   ;
3489   return 0;
3490 }
3491 _ACEOF
3492 if ac_fn_c_try_compile "$LINENO"; then :
3493
3494 else
3495   ac_c_werror_flag=$ac_save_c_werror_flag
3496          CFLAGS="-g"
3497          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h.  */
3499
3500 int
3501 main ()
3502 {
3503
3504   ;
3505   return 0;
3506 }
3507 _ACEOF
3508 if ac_fn_c_try_compile "$LINENO"; then :
3509   ac_cv_prog_cc_g=yes
3510 fi
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 fi
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 fi
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516    ac_c_werror_flag=$ac_save_c_werror_flag
3517 fi
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3519 $as_echo "$ac_cv_prog_cc_g" >&6; }
3520 if test "$ac_test_CFLAGS" = set; then
3521   CFLAGS=$ac_save_CFLAGS
3522 elif test $ac_cv_prog_cc_g = yes; then
3523   if test "$GCC" = yes; then
3524     CFLAGS="-g -O2"
3525   else
3526     CFLAGS="-g"
3527   fi
3528 else
3529   if test "$GCC" = yes; then
3530     CFLAGS="-O2"
3531   else
3532     CFLAGS=
3533   fi
3534 fi
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3536 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3537 if ${ac_cv_prog_cc_c89+:} false; then :
3538   $as_echo_n "(cached) " >&6
3539 else
3540   ac_cv_prog_cc_c89=no
3541 ac_save_CC=$CC
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h.  */
3544 #include <stdarg.h>
3545 #include <stdio.h>
3546 #include <sys/types.h>
3547 #include <sys/stat.h>
3548 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3549 struct buf { int x; };
3550 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3551 static char *e (p, i)
3552      char **p;
3553      int i;
3554 {
3555   return p[i];
3556 }
3557 static char *f (char * (*g) (char **, int), char **p, ...)
3558 {
3559   char *s;
3560   va_list v;
3561   va_start (v,p);
3562   s = g (p, va_arg (v,int));
3563   va_end (v);
3564   return s;
3565 }
3566
3567 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3568    function prototypes and stuff, but not '\xHH' hex character constants.
3569    These don't provoke an error unfortunately, instead are silently treated
3570    as 'x'.  The following induces an error, until -std is added to get
3571    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3572    array size at least.  It's necessary to write '\x00'==0 to get something
3573    that's true only with -std.  */
3574 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3575
3576 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3577    inside strings and character constants.  */
3578 #define FOO(x) 'x'
3579 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3580
3581 int test (int i, double x);
3582 struct s1 {int (*f) (int a);};
3583 struct s2 {int (*f) (double a);};
3584 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3585 int argc;
3586 char **argv;
3587 int
3588 main ()
3589 {
3590 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3591   ;
3592   return 0;
3593 }
3594 _ACEOF
3595 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3596         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3597 do
3598   CC="$ac_save_CC $ac_arg"
3599   if ac_fn_c_try_compile "$LINENO"; then :
3600   ac_cv_prog_cc_c89=$ac_arg
3601 fi
3602 rm -f core conftest.err conftest.$ac_objext
3603   test "x$ac_cv_prog_cc_c89" != "xno" && break
3604 done
3605 rm -f conftest.$ac_ext
3606 CC=$ac_save_CC
3607
3608 fi
3609 # AC_CACHE_VAL
3610 case "x$ac_cv_prog_cc_c89" in
3611   x)
3612     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3613 $as_echo "none needed" >&6; } ;;
3614   xno)
3615     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3616 $as_echo "unsupported" >&6; } ;;
3617   *)
3618     CC="$CC $ac_cv_prog_cc_c89"
3619     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3620 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3621 esac
3622 if test "x$ac_cv_prog_cc_c89" != xno; then :
3623
3624 fi
3625
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 DEPDIR="${am__leading_dot}deps"
3632
3633 ac_config_commands="$ac_config_commands depfiles"
3634
3635
3636 am_make=${MAKE-make}
3637 cat > confinc << 'END'
3638 am__doit:
3639         @echo this is the am__doit target
3640 .PHONY: am__doit
3641 END
3642 # If we don't find an include directive, just comment out the code.
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3644 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3645 am__include="#"
3646 am__quote=
3647 _am_result=none
3648 # First try GNU make style include.
3649 echo "include confinc" > confmf
3650 # Ignore all kinds of additional output from `make'.
3651 case `$am_make -s -f confmf 2> /dev/null` in #(
3652 *the\ am__doit\ target*)
3653   am__include=include
3654   am__quote=
3655   _am_result=GNU
3656   ;;
3657 esac
3658 # Now try BSD make style include.
3659 if test "$am__include" = "#"; then
3660    echo '.include "confinc"' > confmf
3661    case `$am_make -s -f confmf 2> /dev/null` in #(
3662    *the\ am__doit\ target*)
3663      am__include=.include
3664      am__quote="\""
3665      _am_result=BSD
3666      ;;
3667    esac
3668 fi
3669
3670
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3672 $as_echo "$_am_result" >&6; }
3673 rm -f confinc confmf
3674
3675 # Check whether --enable-dependency-tracking was given.
3676 if test "${enable_dependency_tracking+set}" = set; then :
3677   enableval=$enable_dependency_tracking;
3678 fi
3679
3680 if test "x$enable_dependency_tracking" != xno; then
3681   am_depcomp="$ac_aux_dir/depcomp"
3682   AMDEPBACKSLASH='\'
3683   am__nodep='_no'
3684 fi
3685  if test "x$enable_dependency_tracking" != xno; then
3686   AMDEP_TRUE=
3687   AMDEP_FALSE='#'
3688 else
3689   AMDEP_TRUE='#'
3690   AMDEP_FALSE=
3691 fi
3692
3693
3694
3695 depcc="$CC"   am_compiler_list=
3696
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3698 $as_echo_n "checking dependency style of $depcc... " >&6; }
3699 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3700   $as_echo_n "(cached) " >&6
3701 else
3702   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3703   # We make a subdir and do the tests there.  Otherwise we can end up
3704   # making bogus files that we don't know about and never remove.  For
3705   # instance it was reported that on HP-UX the gcc test will end up
3706   # making a dummy file named `D' -- because `-MD' means `put the output
3707   # in D'.
3708   rm -rf conftest.dir
3709   mkdir conftest.dir
3710   # Copy depcomp to subdir because otherwise we won't find it if we're
3711   # using a relative directory.
3712   cp "$am_depcomp" conftest.dir
3713   cd conftest.dir
3714   # We will build objects and dependencies in a subdirectory because
3715   # it helps to detect inapplicable dependency modes.  For instance
3716   # both Tru64's cc and ICC support -MD to output dependencies as a
3717   # side effect of compilation, but ICC will put the dependencies in
3718   # the current directory while Tru64 will put them in the object
3719   # directory.
3720   mkdir sub
3721
3722   am_cv_CC_dependencies_compiler_type=none
3723   if test "$am_compiler_list" = ""; then
3724      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3725   fi
3726   am__universal=false
3727   case " $depcc " in #(
3728      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3729      esac
3730
3731   for depmode in $am_compiler_list; do
3732     # Setup a source with many dependencies, because some compilers
3733     # like to wrap large dependency lists on column 80 (with \), and
3734     # we should not choose a depcomp mode which is confused by this.
3735     #
3736     # We need to recreate these files for each test, as the compiler may
3737     # overwrite some of them when testing with obscure command lines.
3738     # This happens at least with the AIX C compiler.
3739     : > sub/conftest.c
3740     for i in 1 2 3 4 5 6; do
3741       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3742       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3743       # Solaris 8's {/usr,}/bin/sh.
3744       touch sub/conftst$i.h
3745     done
3746     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3747
3748     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3749     # mode.  It turns out that the SunPro C++ compiler does not properly
3750     # handle `-M -o', and we need to detect this.  Also, some Intel
3751     # versions had trouble with output in subdirs
3752     am__obj=sub/conftest.${OBJEXT-o}
3753     am__minus_obj="-o $am__obj"
3754     case $depmode in
3755     gcc)
3756       # This depmode causes a compiler race in universal mode.
3757       test "$am__universal" = false || continue
3758       ;;
3759     nosideeffect)
3760       # after this tag, mechanisms are not by side-effect, so they'll
3761       # only be used when explicitly requested
3762       if test "x$enable_dependency_tracking" = xyes; then
3763         continue
3764       else
3765         break
3766       fi
3767       ;;
3768     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3769       # This compiler won't grok `-c -o', but also, the minuso test has
3770       # not run yet.  These depmodes are late enough in the game, and
3771       # so weak that their functioning should not be impacted.
3772       am__obj=conftest.${OBJEXT-o}
3773       am__minus_obj=
3774       ;;
3775     none) break ;;
3776     esac
3777     if depmode=$depmode \
3778        source=sub/conftest.c object=$am__obj \
3779        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3780        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3781          >/dev/null 2>conftest.err &&
3782        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3783        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3784        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3785        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3786       # icc doesn't choke on unknown options, it will just issue warnings
3787       # or remarks (even with -Werror).  So we grep stderr for any message
3788       # that says an option was ignored or not supported.
3789       # When given -MP, icc 7.0 and 7.1 complain thusly:
3790       #   icc: Command line warning: ignoring option '-M'; no argument required
3791       # The diagnosis changed in icc 8.0:
3792       #   icc: Command line remark: option '-MP' not supported
3793       if (grep 'ignoring option' conftest.err ||
3794           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3795         am_cv_CC_dependencies_compiler_type=$depmode
3796         break
3797       fi
3798     fi
3799   done
3800
3801   cd ..
3802   rm -rf conftest.dir
3803 else
3804   am_cv_CC_dependencies_compiler_type=none
3805 fi
3806
3807 fi
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3809 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3810 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3811
3812  if
3813   test "x$enable_dependency_tracking" != xno \
3814   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3815   am__fastdepCC_TRUE=
3816   am__fastdepCC_FALSE='#'
3817 else
3818   am__fastdepCC_TRUE='#'
3819   am__fastdepCC_FALSE=
3820 fi
3821
3822
3823    case $ac_cv_prog_cc_stdc in #(
3824   no) :
3825     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3826   *) :
3827     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3828 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3829 if ${ac_cv_prog_cc_c99+:} false; then :
3830   $as_echo_n "(cached) " >&6
3831 else
3832   ac_cv_prog_cc_c99=no
3833 ac_save_CC=$CC
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h.  */
3836 #include <stdarg.h>
3837 #include <stdbool.h>
3838 #include <stdlib.h>
3839 #include <wchar.h>
3840 #include <stdio.h>
3841
3842 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
3843 #define debug(...) fprintf (stderr, __VA_ARGS__)
3844 #define showlist(...) puts (#__VA_ARGS__)
3845 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3846 static void
3847 test_varargs_macros (void)
3848 {
3849   int x = 1234;
3850   int y = 5678;
3851   debug ("Flag");
3852   debug ("X = %d\n", x);
3853   showlist (The first, second, and third items.);
3854   report (x>y, "x is %d but y is %d", x, y);
3855 }
3856
3857 // Check long long types.
3858 #define BIG64 18446744073709551615ull
3859 #define BIG32 4294967295ul
3860 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3861 #if !BIG_OK
3862   your preprocessor is broken;
3863 #endif
3864 #if BIG_OK
3865 #else
3866   your preprocessor is broken;
3867 #endif
3868 static long long int bignum = -9223372036854775807LL;
3869 static unsigned long long int ubignum = BIG64;
3870
3871 struct incomplete_array
3872 {
3873   int datasize;
3874   double data[];
3875 };
3876
3877 struct named_init {
3878   int number;
3879   const wchar_t *name;
3880   double average;
3881 };
3882
3883 typedef const char *ccp;
3884
3885 static inline int
3886 test_restrict (ccp restrict text)
3887 {
3888   // See if C++-style comments work.
3889   // Iterate through items via the restricted pointer.
3890   // Also check for declarations in for loops.
3891   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3892     continue;
3893   return 0;
3894 }
3895
3896 // Check varargs and va_copy.
3897 static void
3898 test_varargs (const char *format, ...)
3899 {
3900   va_list args;
3901   va_start (args, format);
3902   va_list args_copy;
3903   va_copy (args_copy, args);
3904
3905   const char *str;
3906   int number;
3907   float fnumber;
3908
3909   while (*format)
3910     {
3911       switch (*format++)
3912         {
3913         case 's': // string
3914           str = va_arg (args_copy, const char *);
3915           break;
3916         case 'd': // int
3917           number = va_arg (args_copy, int);
3918           break;
3919         case 'f': // float
3920           fnumber = va_arg (args_copy, double);
3921           break;
3922         default:
3923           break;
3924         }
3925     }
3926   va_end (args_copy);
3927   va_end (args);
3928 }
3929
3930 int
3931 main ()
3932 {
3933
3934   // Check bool.
3935   _Bool success = false;
3936
3937   // Check restrict.
3938   if (test_restrict ("String literal") == 0)
3939     success = true;
3940   char *restrict newvar = "Another string";
3941
3942   // Check varargs.
3943   test_varargs ("s, d' f .", "string", 65, 34.234);
3944   test_varargs_macros ();
3945
3946   // Check flexible array members.
3947   struct incomplete_array *ia =
3948     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3949   ia->datasize = 10;
3950   for (int i = 0; i < ia->datasize; ++i)
3951     ia->data[i] = i * 1.234;
3952
3953   // Check named initializers.
3954   struct named_init ni = {
3955     .number = 34,
3956     .name = L"Test wide string",
3957     .average = 543.34343,
3958   };
3959
3960   ni.number = 58;
3961
3962   int dynamic_array[ni.number];
3963   dynamic_array[ni.number - 1] = 543;
3964
3965   // work around unused variable warnings
3966   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3967           || dynamic_array[ni.number - 1] != 543);
3968
3969   ;
3970   return 0;
3971 }
3972 _ACEOF
3973 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3974 do
3975   CC="$ac_save_CC $ac_arg"
3976   if ac_fn_c_try_compile "$LINENO"; then :
3977   ac_cv_prog_cc_c99=$ac_arg
3978 fi
3979 rm -f core conftest.err conftest.$ac_objext
3980   test "x$ac_cv_prog_cc_c99" != "xno" && break
3981 done
3982 rm -f conftest.$ac_ext
3983 CC=$ac_save_CC
3984
3985 fi
3986 # AC_CACHE_VAL
3987 case "x$ac_cv_prog_cc_c99" in
3988   x)
3989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3990 $as_echo "none needed" >&6; } ;;
3991   xno)
3992     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3993 $as_echo "unsupported" >&6; } ;;
3994   *)
3995     CC="$CC $ac_cv_prog_cc_c99"
3996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3997 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3998 esac
3999 if test "x$ac_cv_prog_cc_c99" != xno; then :
4000   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4001 else
4002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4003 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4004 if ${ac_cv_prog_cc_c89+:} false; then :
4005   $as_echo_n "(cached) " >&6
4006 else
4007   ac_cv_prog_cc_c89=no
4008 ac_save_CC=$CC
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h.  */
4011 #include <stdarg.h>
4012 #include <stdio.h>
4013 #include <sys/types.h>
4014 #include <sys/stat.h>
4015 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4016 struct buf { int x; };
4017 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4018 static char *e (p, i)
4019      char **p;
4020      int i;
4021 {
4022   return p[i];
4023 }
4024 static char *f (char * (*g) (char **, int), char **p, ...)
4025 {
4026   char *s;
4027   va_list v;
4028   va_start (v,p);
4029   s = g (p, va_arg (v,int));
4030   va_end (v);
4031   return s;
4032 }
4033
4034 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4035    function prototypes and stuff, but not '\xHH' hex character constants.
4036    These don't provoke an error unfortunately, instead are silently treated
4037    as 'x'.  The following induces an error, until -std is added to get
4038    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4039    array size at least.  It's necessary to write '\x00'==0 to get something
4040    that's true only with -std.  */
4041 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4042
4043 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4044    inside strings and character constants.  */
4045 #define FOO(x) 'x'
4046 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4047
4048 int test (int i, double x);
4049 struct s1 {int (*f) (int a);};
4050 struct s2 {int (*f) (double a);};
4051 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4052 int argc;
4053 char **argv;
4054 int
4055 main ()
4056 {
4057 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4058   ;
4059   return 0;
4060 }
4061 _ACEOF
4062 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4063         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4064 do
4065   CC="$ac_save_CC $ac_arg"
4066   if ac_fn_c_try_compile "$LINENO"; then :
4067   ac_cv_prog_cc_c89=$ac_arg
4068 fi
4069 rm -f core conftest.err conftest.$ac_objext
4070   test "x$ac_cv_prog_cc_c89" != "xno" && break
4071 done
4072 rm -f conftest.$ac_ext
4073 CC=$ac_save_CC
4074
4075 fi
4076 # AC_CACHE_VAL
4077 case "x$ac_cv_prog_cc_c89" in
4078   x)
4079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4080 $as_echo "none needed" >&6; } ;;
4081   xno)
4082     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4083 $as_echo "unsupported" >&6; } ;;
4084   *)
4085     CC="$CC $ac_cv_prog_cc_c89"
4086     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4087 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4088 esac
4089 if test "x$ac_cv_prog_cc_c89" != xno; then :
4090   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4091 else
4092   ac_cv_prog_cc_stdc=no
4093 fi
4094
4095 fi
4096  ;;
4097 esac
4098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4099 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4100   if ${ac_cv_prog_cc_stdc+:} false; then :
4101   $as_echo_n "(cached) " >&6
4102 fi
4103
4104   case $ac_cv_prog_cc_stdc in #(
4105   no) :
4106     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4107 $as_echo "unsupported" >&6; } ;; #(
4108   '') :
4109     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4110 $as_echo "none needed" >&6; } ;; #(
4111   *) :
4112     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4113 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4114 esac
4115
4116 if test "x$CC" != xcc; then
4117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4118 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4119 else
4120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4121 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4122 fi
4123 set dummy $CC; ac_cc=`$as_echo "$2" |
4124                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4125 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4126   $as_echo_n "(cached) " >&6
4127 else
4128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h.  */
4130
4131 int
4132 main ()
4133 {
4134
4135   ;
4136   return 0;
4137 }
4138 _ACEOF
4139 # Make sure it works both with $CC and with simple cc.
4140 # We do the test twice because some compilers refuse to overwrite an
4141 # existing .o file with -o, though they will create one.
4142 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4143 rm -f conftest2.*
4144 if { { case "(($ac_try" in
4145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146   *) ac_try_echo=$ac_try;;
4147 esac
4148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149 $as_echo "$ac_try_echo"; } >&5
4150   (eval "$ac_try") 2>&5
4151   ac_status=$?
4152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153   test $ac_status = 0; } &&
4154    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4156   *) ac_try_echo=$ac_try;;
4157 esac
4158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4159 $as_echo "$ac_try_echo"; } >&5
4160   (eval "$ac_try") 2>&5
4161   ac_status=$?
4162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4163   test $ac_status = 0; };
4164 then
4165   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4166   if test "x$CC" != xcc; then
4167     # Test first that cc exists at all.
4168     if { ac_try='cc -c conftest.$ac_ext >&5'
4169   { { case "(($ac_try" in
4170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171   *) ac_try_echo=$ac_try;;
4172 esac
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175   (eval "$ac_try") 2>&5
4176   ac_status=$?
4177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178   test $ac_status = 0; }; }; then
4179       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4180       rm -f conftest2.*
4181       if { { case "(($ac_try" in
4182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4183   *) ac_try_echo=$ac_try;;
4184 esac
4185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4186 $as_echo "$ac_try_echo"; } >&5
4187   (eval "$ac_try") 2>&5
4188   ac_status=$?
4189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4190   test $ac_status = 0; } &&
4191          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193   *) ac_try_echo=$ac_try;;
4194 esac
4195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196 $as_echo "$ac_try_echo"; } >&5
4197   (eval "$ac_try") 2>&5
4198   ac_status=$?
4199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4200   test $ac_status = 0; };
4201       then
4202         # cc works too.
4203         :
4204       else
4205         # cc exists but doesn't like -o.
4206         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4207       fi
4208     fi
4209   fi
4210 else
4211   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4212 fi
4213 rm -f core conftest*
4214
4215 fi
4216 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4218 $as_echo "yes" >&6; }
4219 else
4220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4222
4223 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4224
4225 fi
4226
4227 # FIXME: we rely on the cache variable name because
4228 # there is no other way.
4229 set dummy $CC
4230 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4231 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4232 if test "$am_t" != yes; then
4233    # Losing compiler, so override with the script.
4234    # FIXME: It is wrong to rewrite CC.
4235    # But if we don't then we get into trouble of one sort or another.
4236    # A longer-term fix would be to have automake use am__CC in this case,
4237    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4238    CC="$am_aux_dir/compile $CC"
4239 fi
4240
4241
4242
4243 if test -n "$ac_tool_prefix"; then
4244   for ac_prog in ar lib "link -lib"
4245   do
4246     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4247 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if ${ac_cv_prog_AR+:} false; then :
4251   $as_echo_n "(cached) " >&6
4252 else
4253   if test -n "$AR"; then
4254   ac_cv_prog_AR="$AR" # Let the user override the test.
4255 else
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4257 for as_dir in $PATH
4258 do
4259   IFS=$as_save_IFS
4260   test -z "$as_dir" && as_dir=.
4261     for ac_exec_ext in '' $ac_executable_extensions; do
4262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4263     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4265     break 2
4266   fi
4267 done
4268   done
4269 IFS=$as_save_IFS
4270
4271 fi
4272 fi
4273 AR=$ac_cv_prog_AR
4274 if test -n "$AR"; then
4275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4276 $as_echo "$AR" >&6; }
4277 else
4278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279 $as_echo "no" >&6; }
4280 fi
4281
4282
4283     test -n "$AR" && break
4284   done
4285 fi
4286 if test -z "$AR"; then
4287   ac_ct_AR=$AR
4288   for ac_prog in ar lib "link -lib"
4289 do
4290   # Extract the first word of "$ac_prog", so it can be a program name with args.
4291 set dummy $ac_prog; ac_word=$2
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4293 $as_echo_n "checking for $ac_word... " >&6; }
4294 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4295   $as_echo_n "(cached) " >&6
4296 else
4297   if test -n "$ac_ct_AR"; then
4298   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4299 else
4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 for as_dir in $PATH
4302 do
4303   IFS=$as_save_IFS
4304   test -z "$as_dir" && as_dir=.
4305     for ac_exec_ext in '' $ac_executable_extensions; do
4306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4307     ac_cv_prog_ac_ct_AR="$ac_prog"
4308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309     break 2
4310   fi
4311 done
4312   done
4313 IFS=$as_save_IFS
4314
4315 fi
4316 fi
4317 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4318 if test -n "$ac_ct_AR"; then
4319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4320 $as_echo "$ac_ct_AR" >&6; }
4321 else
4322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323 $as_echo "no" >&6; }
4324 fi
4325
4326
4327   test -n "$ac_ct_AR" && break
4328 done
4329
4330   if test "x$ac_ct_AR" = x; then
4331     AR="false"
4332   else
4333     case $cross_compiling:$ac_tool_warned in
4334 yes:)
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4337 ac_tool_warned=yes ;;
4338 esac
4339     AR=$ac_ct_AR
4340   fi
4341 fi
4342
4343 : ${AR=ar}
4344
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4346 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4347 if ${am_cv_ar_interface+:} false; then :
4348   $as_echo_n "(cached) " >&6
4349 else
4350   am_cv_ar_interface=ar
4351    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h.  */
4353 int some_variable = 0;
4354 _ACEOF
4355 if ac_fn_c_try_compile "$LINENO"; then :
4356   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4357       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4358   (eval $am_ar_try) 2>&5
4359   ac_status=$?
4360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4361   test $ac_status = 0; }
4362       if test "$ac_status" -eq 0; then
4363         am_cv_ar_interface=ar
4364       else
4365         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4366         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4367   (eval $am_ar_try) 2>&5
4368   ac_status=$?
4369   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4370   test $ac_status = 0; }
4371         if test "$ac_status" -eq 0; then
4372           am_cv_ar_interface=lib
4373         else
4374           am_cv_ar_interface=unknown
4375         fi
4376       fi
4377       rm -f conftest.lib libconftest.a
4378
4379 fi
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4381
4382 fi
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4384 $as_echo "$am_cv_ar_interface" >&6; }
4385
4386 case $am_cv_ar_interface in
4387 ar)
4388   ;;
4389 lib)
4390   # Microsoft lib, so override with the ar-lib wrapper script.
4391   # FIXME: It is wrong to rewrite AR.
4392   # But if we don't then we get into trouble of one sort or another.
4393   # A longer-term fix would be to have automake use am__AR in this case,
4394   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4395   # similar.
4396   AR="$am_aux_dir/ar-lib $AR"
4397   ;;
4398 unknown)
4399   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4400   ;;
4401 esac
4402
4403 AX_CHECK_GNU_MAKE
4404 if test "x$ifGNUmake" = "x#" ; then
4405     as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4406 fi
4407
4408
4409 case `pwd` in
4410   *\ * | *\     *)
4411     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4412 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4413 esac
4414
4415
4416
4417 macro_version='2.4.2'
4418 macro_revision='1.3337'
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432 ltmain="$ac_aux_dir/ltmain.sh"
4433
4434 # Make sure we can run config.sub.
4435 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4436   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4437
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4439 $as_echo_n "checking build system type... " >&6; }
4440 if ${ac_cv_build+:} false; then :
4441   $as_echo_n "(cached) " >&6
4442 else
4443   ac_build_alias=$build_alias
4444 test "x$ac_build_alias" = x &&
4445   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4446 test "x$ac_build_alias" = x &&
4447   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4448 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4449   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4450
4451 fi
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4453 $as_echo "$ac_cv_build" >&6; }
4454 case $ac_cv_build in
4455 *-*-*) ;;
4456 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4457 esac
4458 build=$ac_cv_build
4459 ac_save_IFS=$IFS; IFS='-'
4460 set x $ac_cv_build
4461 shift
4462 build_cpu=$1
4463 build_vendor=$2
4464 shift; shift
4465 # Remember, the first character of IFS is used to create $*,
4466 # except with old shells:
4467 build_os=$*
4468 IFS=$ac_save_IFS
4469 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4470
4471
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4473 $as_echo_n "checking host system type... " >&6; }
4474 if ${ac_cv_host+:} false; then :
4475   $as_echo_n "(cached) " >&6
4476 else
4477   if test "x$host_alias" = x; then
4478   ac_cv_host=$ac_cv_build
4479 else
4480   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4481     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4482 fi
4483
4484 fi
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4486 $as_echo "$ac_cv_host" >&6; }
4487 case $ac_cv_host in
4488 *-*-*) ;;
4489 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4490 esac
4491 host=$ac_cv_host
4492 ac_save_IFS=$IFS; IFS='-'
4493 set x $ac_cv_host
4494 shift
4495 host_cpu=$1
4496 host_vendor=$2
4497 shift; shift
4498 # Remember, the first character of IFS is used to create $*,
4499 # except with old shells:
4500 host_os=$*
4501 IFS=$ac_save_IFS
4502 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4503
4504
4505 # Backslashify metacharacters that are still active within
4506 # double-quoted strings.
4507 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4508
4509 # Same as above, but do not quote variable references.
4510 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4511
4512 # Sed substitution to delay expansion of an escaped shell variable in a
4513 # double_quote_subst'ed string.
4514 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4515
4516 # Sed substitution to delay expansion of an escaped single quote.
4517 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4518
4519 # Sed substitution to avoid accidental globbing in evaled expressions
4520 no_glob_subst='s/\*/\\\*/g'
4521
4522 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4523 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4524 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4525
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4527 $as_echo_n "checking how to print strings... " >&6; }
4528 # Test print first, because it will be a builtin if present.
4529 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4530    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4531   ECHO='print -r --'
4532 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4533   ECHO='printf %s\n'
4534 else
4535   # Use this function as a fallback that always works.
4536   func_fallback_echo ()
4537   {
4538     eval 'cat <<_LTECHO_EOF
4539 $1
4540 _LTECHO_EOF'
4541   }
4542   ECHO='func_fallback_echo'
4543 fi
4544
4545 # func_echo_all arg...
4546 # Invoke $ECHO with all args, space-separated.
4547 func_echo_all ()
4548 {
4549     $ECHO ""
4550 }
4551
4552 case "$ECHO" in
4553   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4554 $as_echo "printf" >&6; } ;;
4555   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4556 $as_echo "print -r" >&6; } ;;
4557   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4558 $as_echo "cat" >&6; } ;;
4559 esac
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4575 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4576 if ${ac_cv_path_SED+:} false; then :
4577   $as_echo_n "(cached) " >&6
4578 else
4579             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4580      for ac_i in 1 2 3 4 5 6 7; do
4581        ac_script="$ac_script$as_nl$ac_script"
4582      done
4583      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4584      { ac_script=; unset ac_script;}
4585      if test -z "$SED"; then
4586   ac_path_SED_found=false
4587   # Loop through the user's path and test for each of PROGNAME-LIST
4588   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589 for as_dir in $PATH
4590 do
4591   IFS=$as_save_IFS
4592   test -z "$as_dir" && as_dir=.
4593     for ac_prog in sed gsed; do
4594     for ac_exec_ext in '' $ac_executable_extensions; do
4595       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4596       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4597 # Check for GNU ac_path_SED and select it if it is found.
4598   # Check for GNU $ac_path_SED
4599 case `"$ac_path_SED" --version 2>&1` in
4600 *GNU*)
4601   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4602 *)
4603   ac_count=0
4604   $as_echo_n 0123456789 >"conftest.in"
4605   while :
4606   do
4607     cat "conftest.in" "conftest.in" >"conftest.tmp"
4608     mv "conftest.tmp" "conftest.in"
4609     cp "conftest.in" "conftest.nl"
4610     $as_echo '' >> "conftest.nl"
4611     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4612     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4613     as_fn_arith $ac_count + 1 && ac_count=$as_val
4614     if test $ac_count -gt ${ac_path_SED_max-0}; then
4615       # Best one so far, save it but keep looking for a better one
4616       ac_cv_path_SED="$ac_path_SED"
4617       ac_path_SED_max=$ac_count
4618     fi
4619     # 10*(2^10) chars as input seems more than enough
4620     test $ac_count -gt 10 && break
4621   done
4622   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4623 esac
4624
4625       $ac_path_SED_found && break 3
4626     done
4627   done
4628   done
4629 IFS=$as_save_IFS
4630   if test -z "$ac_cv_path_SED"; then
4631     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4632   fi
4633 else
4634   ac_cv_path_SED=$SED
4635 fi
4636
4637 fi
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4639 $as_echo "$ac_cv_path_SED" >&6; }
4640  SED="$ac_cv_path_SED"
4641   rm -f conftest.sed
4642
4643 test -z "$SED" && SED=sed
4644 Xsed="$SED -e 1s/^X//"
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4657 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4658 if ${ac_cv_path_GREP+:} false; then :
4659   $as_echo_n "(cached) " >&6
4660 else
4661   if test -z "$GREP"; then
4662   ac_path_GREP_found=false
4663   # Loop through the user's path and test for each of PROGNAME-LIST
4664   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4666 do
4667   IFS=$as_save_IFS
4668   test -z "$as_dir" && as_dir=.
4669     for ac_prog in grep ggrep; do
4670     for ac_exec_ext in '' $ac_executable_extensions; do
4671       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4672       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4673 # Check for GNU ac_path_GREP and select it if it is found.
4674   # Check for GNU $ac_path_GREP
4675 case `"$ac_path_GREP" --version 2>&1` in
4676 *GNU*)
4677   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4678 *)
4679   ac_count=0
4680   $as_echo_n 0123456789 >"conftest.in"
4681   while :
4682   do
4683     cat "conftest.in" "conftest.in" >"conftest.tmp"
4684     mv "conftest.tmp" "conftest.in"
4685     cp "conftest.in" "conftest.nl"
4686     $as_echo 'GREP' >> "conftest.nl"
4687     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4688     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4689     as_fn_arith $ac_count + 1 && ac_count=$as_val
4690     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4691       # Best one so far, save it but keep looking for a better one
4692       ac_cv_path_GREP="$ac_path_GREP"
4693       ac_path_GREP_max=$ac_count
4694     fi
4695     # 10*(2^10) chars as input seems more than enough
4696     test $ac_count -gt 10 && break
4697   done
4698   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4699 esac
4700
4701       $ac_path_GREP_found && break 3
4702     done
4703   done
4704   done
4705 IFS=$as_save_IFS
4706   if test -z "$ac_cv_path_GREP"; then
4707     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4708   fi
4709 else
4710   ac_cv_path_GREP=$GREP
4711 fi
4712
4713 fi
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4715 $as_echo "$ac_cv_path_GREP" >&6; }
4716  GREP="$ac_cv_path_GREP"
4717
4718
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4720 $as_echo_n "checking for egrep... " >&6; }
4721 if ${ac_cv_path_EGREP+:} false; then :
4722   $as_echo_n "(cached) " >&6
4723 else
4724   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4725    then ac_cv_path_EGREP="$GREP -E"
4726    else
4727      if test -z "$EGREP"; then
4728   ac_path_EGREP_found=false
4729   # Loop through the user's path and test for each of PROGNAME-LIST
4730   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4732 do
4733   IFS=$as_save_IFS
4734   test -z "$as_dir" && as_dir=.
4735     for ac_prog in egrep; do
4736     for ac_exec_ext in '' $ac_executable_extensions; do
4737       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4738       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4739 # Check for GNU ac_path_EGREP and select it if it is found.
4740   # Check for GNU $ac_path_EGREP
4741 case `"$ac_path_EGREP" --version 2>&1` in
4742 *GNU*)
4743   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4744 *)
4745   ac_count=0
4746   $as_echo_n 0123456789 >"conftest.in"
4747   while :
4748   do
4749     cat "conftest.in" "conftest.in" >"conftest.tmp"
4750     mv "conftest.tmp" "conftest.in"
4751     cp "conftest.in" "conftest.nl"
4752     $as_echo 'EGREP' >> "conftest.nl"
4753     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4754     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4755     as_fn_arith $ac_count + 1 && ac_count=$as_val
4756     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4757       # Best one so far, save it but keep looking for a better one
4758       ac_cv_path_EGREP="$ac_path_EGREP"
4759       ac_path_EGREP_max=$ac_count
4760     fi
4761     # 10*(2^10) chars as input seems more than enough
4762     test $ac_count -gt 10 && break
4763   done
4764   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4765 esac
4766
4767       $ac_path_EGREP_found && break 3
4768     done
4769   done
4770   done
4771 IFS=$as_save_IFS
4772   if test -z "$ac_cv_path_EGREP"; then
4773     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4774   fi
4775 else
4776   ac_cv_path_EGREP=$EGREP
4777 fi
4778
4779    fi
4780 fi
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4782 $as_echo "$ac_cv_path_EGREP" >&6; }
4783  EGREP="$ac_cv_path_EGREP"
4784
4785
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4787 $as_echo_n "checking for fgrep... " >&6; }
4788 if ${ac_cv_path_FGREP+:} false; then :
4789   $as_echo_n "(cached) " >&6
4790 else
4791   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4792    then ac_cv_path_FGREP="$GREP -F"
4793    else
4794      if test -z "$FGREP"; then
4795   ac_path_FGREP_found=false
4796   # Loop through the user's path and test for each of PROGNAME-LIST
4797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4798 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4799 do
4800   IFS=$as_save_IFS
4801   test -z "$as_dir" && as_dir=.
4802     for ac_prog in fgrep; do
4803     for ac_exec_ext in '' $ac_executable_extensions; do
4804       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4805       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4806 # Check for GNU ac_path_FGREP and select it if it is found.
4807   # Check for GNU $ac_path_FGREP
4808 case `"$ac_path_FGREP" --version 2>&1` in
4809 *GNU*)
4810   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4811 *)
4812   ac_count=0
4813   $as_echo_n 0123456789 >"conftest.in"
4814   while :
4815   do
4816     cat "conftest.in" "conftest.in" >"conftest.tmp"
4817     mv "conftest.tmp" "conftest.in"
4818     cp "conftest.in" "conftest.nl"
4819     $as_echo 'FGREP' >> "conftest.nl"
4820     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4821     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4822     as_fn_arith $ac_count + 1 && ac_count=$as_val
4823     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4824       # Best one so far, save it but keep looking for a better one
4825       ac_cv_path_FGREP="$ac_path_FGREP"
4826       ac_path_FGREP_max=$ac_count
4827     fi
4828     # 10*(2^10) chars as input seems more than enough
4829     test $ac_count -gt 10 && break
4830   done
4831   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4832 esac
4833
4834       $ac_path_FGREP_found && break 3
4835     done
4836   done
4837   done
4838 IFS=$as_save_IFS
4839   if test -z "$ac_cv_path_FGREP"; then
4840     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4841   fi
4842 else
4843   ac_cv_path_FGREP=$FGREP
4844 fi
4845
4846    fi
4847 fi
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4849 $as_echo "$ac_cv_path_FGREP" >&6; }
4850  FGREP="$ac_cv_path_FGREP"
4851
4852
4853 test -z "$GREP" && GREP=grep
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873 # Check whether --with-gnu-ld was given.
4874 if test "${with_gnu_ld+set}" = set; then :
4875   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4876 else
4877   with_gnu_ld=no
4878 fi
4879
4880 ac_prog=ld
4881 if test "$GCC" = yes; then
4882   # Check if gcc -print-prog-name=ld gives a path.
4883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4884 $as_echo_n "checking for ld used by $CC... " >&6; }
4885   case $host in
4886   *-*-mingw*)
4887     # gcc leaves a trailing carriage return which upsets mingw
4888     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4889   *)
4890     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4891   esac
4892   case $ac_prog in
4893     # Accept absolute paths.
4894     [\\/]* | ?:[\\/]*)
4895       re_direlt='/[^/][^/]*/\.\./'
4896       # Canonicalize the pathname of ld
4897       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4898       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4899         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4900       done
4901       test -z "$LD" && LD="$ac_prog"
4902       ;;
4903   "")
4904     # If it fails, then pretend we aren't using GCC.
4905     ac_prog=ld
4906     ;;
4907   *)
4908     # If it is relative, then search for the first ld in PATH.
4909     with_gnu_ld=unknown
4910     ;;
4911   esac
4912 elif test "$with_gnu_ld" = yes; then
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4914 $as_echo_n "checking for GNU ld... " >&6; }
4915 else
4916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4917 $as_echo_n "checking for non-GNU ld... " >&6; }
4918 fi
4919 if ${lt_cv_path_LD+:} false; then :
4920   $as_echo_n "(cached) " >&6
4921 else
4922   if test -z "$LD"; then
4923   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4924   for ac_dir in $PATH; do
4925     IFS="$lt_save_ifs"
4926     test -z "$ac_dir" && ac_dir=.
4927     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4928       lt_cv_path_LD="$ac_dir/$ac_prog"
4929       # Check to see if the program is GNU ld.  I'd rather use --version,
4930       # but apparently some variants of GNU ld only accept -v.
4931       # Break only if it was the GNU/non-GNU ld that we prefer.
4932       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4933       *GNU* | *'with BFD'*)
4934         test "$with_gnu_ld" != no && break
4935         ;;
4936       *)
4937         test "$with_gnu_ld" != yes && break
4938         ;;
4939       esac
4940     fi
4941   done
4942   IFS="$lt_save_ifs"
4943 else
4944   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4945 fi
4946 fi
4947
4948 LD="$lt_cv_path_LD"
4949 if test -n "$LD"; then
4950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4951 $as_echo "$LD" >&6; }
4952 else
4953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 fi
4956 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4958 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4959 if ${lt_cv_prog_gnu_ld+:} false; then :
4960   $as_echo_n "(cached) " >&6
4961 else
4962   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4963 case `$LD -v 2>&1 </dev/null` in
4964 *GNU* | *'with BFD'*)
4965   lt_cv_prog_gnu_ld=yes
4966   ;;
4967 *)
4968   lt_cv_prog_gnu_ld=no
4969   ;;
4970 esac
4971 fi
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4973 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4974 with_gnu_ld=$lt_cv_prog_gnu_ld
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4985 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4986 if ${lt_cv_path_NM+:} false; then :
4987   $as_echo_n "(cached) " >&6
4988 else
4989   if test -n "$NM"; then
4990   # Let the user override the test.
4991   lt_cv_path_NM="$NM"
4992 else
4993   lt_nm_to_check="${ac_tool_prefix}nm"
4994   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4995     lt_nm_to_check="$lt_nm_to_check nm"
4996   fi
4997   for lt_tmp_nm in $lt_nm_to_check; do
4998     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4999     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5000       IFS="$lt_save_ifs"
5001       test -z "$ac_dir" && ac_dir=.
5002       tmp_nm="$ac_dir/$lt_tmp_nm"
5003       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5004         # Check to see if the nm accepts a BSD-compat flag.
5005         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5006         #   nm: unknown option "B" ignored
5007         # Tru64's nm complains that /dev/null is an invalid object file
5008         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5009         */dev/null* | *'Invalid file or object type'*)
5010           lt_cv_path_NM="$tmp_nm -B"
5011           break
5012           ;;
5013         *)
5014           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5015           */dev/null*)
5016             lt_cv_path_NM="$tmp_nm -p"
5017             break
5018             ;;
5019           *)
5020             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5021             continue # so that we can try to find one that supports BSD flags
5022             ;;
5023           esac
5024           ;;
5025         esac
5026       fi
5027     done
5028     IFS="$lt_save_ifs"
5029   done
5030   : ${lt_cv_path_NM=no}
5031 fi
5032 fi
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5034 $as_echo "$lt_cv_path_NM" >&6; }
5035 if test "$lt_cv_path_NM" != "no"; then
5036   NM="$lt_cv_path_NM"
5037 else
5038   # Didn't find any BSD compatible name lister, look for dumpbin.
5039   if test -n "$DUMPBIN"; then :
5040     # Let the user override the test.
5041   else
5042     if test -n "$ac_tool_prefix"; then
5043   for ac_prog in dumpbin "link -dump"
5044   do
5045     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_prog_DUMPBIN+:} false; then :
5050   $as_echo_n "(cached) " >&6
5051 else
5052   if test -n "$DUMPBIN"; then
5053   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5054 else
5055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 for as_dir in $PATH
5057 do
5058   IFS=$as_save_IFS
5059   test -z "$as_dir" && as_dir=.
5060     for ac_exec_ext in '' $ac_executable_extensions; do
5061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5062     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064     break 2
5065   fi
5066 done
5067   done
5068 IFS=$as_save_IFS
5069
5070 fi
5071 fi
5072 DUMPBIN=$ac_cv_prog_DUMPBIN
5073 if test -n "$DUMPBIN"; then
5074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5075 $as_echo "$DUMPBIN" >&6; }
5076 else
5077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5079 fi
5080
5081
5082     test -n "$DUMPBIN" && break
5083   done
5084 fi
5085 if test -z "$DUMPBIN"; then
5086   ac_ct_DUMPBIN=$DUMPBIN
5087   for ac_prog in dumpbin "link -dump"
5088 do
5089   # Extract the first word of "$ac_prog", so it can be a program name with args.
5090 set dummy $ac_prog; ac_word=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5094   $as_echo_n "(cached) " >&6
5095 else
5096   if test -n "$ac_ct_DUMPBIN"; then
5097   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5098 else
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100 for as_dir in $PATH
5101 do
5102   IFS=$as_save_IFS
5103   test -z "$as_dir" && as_dir=.
5104     for ac_exec_ext in '' $ac_executable_extensions; do
5105   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108     break 2
5109   fi
5110 done
5111   done
5112 IFS=$as_save_IFS
5113
5114 fi
5115 fi
5116 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5117 if test -n "$ac_ct_DUMPBIN"; then
5118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5119 $as_echo "$ac_ct_DUMPBIN" >&6; }
5120 else
5121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5123 fi
5124
5125
5126   test -n "$ac_ct_DUMPBIN" && break
5127 done
5128
5129   if test "x$ac_ct_DUMPBIN" = x; then
5130     DUMPBIN=":"
5131   else
5132     case $cross_compiling:$ac_tool_warned in
5133 yes:)
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5136 ac_tool_warned=yes ;;
5137 esac
5138     DUMPBIN=$ac_ct_DUMPBIN
5139   fi
5140 fi
5141
5142     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5143     *COFF*)
5144       DUMPBIN="$DUMPBIN -symbols"
5145       ;;
5146     *)
5147       DUMPBIN=:
5148       ;;
5149     esac
5150   fi
5151
5152   if test "$DUMPBIN" != ":"; then
5153     NM="$DUMPBIN"
5154   fi
5155 fi
5156 test -z "$NM" && NM=nm
5157
5158
5159
5160
5161
5162
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5164 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5165 if ${lt_cv_nm_interface+:} false; then :
5166   $as_echo_n "(cached) " >&6
5167 else
5168   lt_cv_nm_interface="BSD nm"
5169   echo "int some_variable = 0;" > conftest.$ac_ext
5170   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5171   (eval "$ac_compile" 2>conftest.err)
5172   cat conftest.err >&5
5173   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5174   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5175   cat conftest.err >&5
5176   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5177   cat conftest.out >&5
5178   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5179     lt_cv_nm_interface="MS dumpbin"
5180   fi
5181   rm -f conftest*
5182 fi
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5184 $as_echo "$lt_cv_nm_interface" >&6; }
5185
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5187 $as_echo_n "checking whether ln -s works... " >&6; }
5188 LN_S=$as_ln_s
5189 if test "$LN_S" = "ln -s"; then
5190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5191 $as_echo "yes" >&6; }
5192 else
5193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5194 $as_echo "no, using $LN_S" >&6; }
5195 fi
5196
5197 # find the maximum length of command line arguments
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5199 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5200 if ${lt_cv_sys_max_cmd_len+:} false; then :
5201   $as_echo_n "(cached) " >&6
5202 else
5203     i=0
5204   teststring="ABCD"
5205
5206   case $build_os in
5207   msdosdjgpp*)
5208     # On DJGPP, this test can blow up pretty badly due to problems in libc
5209     # (any single argument exceeding 2000 bytes causes a buffer overrun
5210     # during glob expansion).  Even if it were fixed, the result of this
5211     # check would be larger than it should be.
5212     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5213     ;;
5214
5215   gnu*)
5216     # Under GNU Hurd, this test is not required because there is
5217     # no limit to the length of command line arguments.
5218     # Libtool will interpret -1 as no limit whatsoever
5219     lt_cv_sys_max_cmd_len=-1;
5220     ;;
5221
5222   cygwin* | mingw* | cegcc*)
5223     # On Win9x/ME, this test blows up -- it succeeds, but takes
5224     # about 5 minutes as the teststring grows exponentially.
5225     # Worse, since 9x/ME are not pre-emptively multitasking,
5226     # you end up with a "frozen" computer, even though with patience
5227     # the test eventually succeeds (with a max line length of 256k).
5228     # Instead, let's just punt: use the minimum linelength reported by
5229     # all of the supported platforms: 8192 (on NT/2K/XP).
5230     lt_cv_sys_max_cmd_len=8192;
5231     ;;
5232
5233   mint*)
5234     # On MiNT this can take a long time and run out of memory.
5235     lt_cv_sys_max_cmd_len=8192;
5236     ;;
5237
5238   amigaos*)
5239     # On AmigaOS with pdksh, this test takes hours, literally.
5240     # So we just punt and use a minimum line length of 8192.
5241     lt_cv_sys_max_cmd_len=8192;
5242     ;;
5243
5244   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5245     # This has been around since 386BSD, at least.  Likely further.
5246     if test -x /sbin/sysctl; then
5247       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5248     elif test -x /usr/sbin/sysctl; then
5249       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5250     else
5251       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5252     fi
5253     # And add a safety zone
5254     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5255     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5256     ;;
5257
5258   interix*)
5259     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5260     lt_cv_sys_max_cmd_len=196608
5261     ;;
5262
5263   os2*)
5264     # The test takes a long time on OS/2.
5265     lt_cv_sys_max_cmd_len=8192
5266     ;;
5267
5268   osf*)
5269     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5270     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5271     # nice to cause kernel panics so lets avoid the loop below.
5272     # First set a reasonable default.
5273     lt_cv_sys_max_cmd_len=16384
5274     #
5275     if test -x /sbin/sysconfig; then
5276       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5277         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5278       esac
5279     fi
5280     ;;
5281   sco3.2v5*)
5282     lt_cv_sys_max_cmd_len=102400
5283     ;;
5284   sysv5* | sco5v6* | sysv4.2uw2*)
5285     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5286     if test -n "$kargmax"; then
5287       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5288     else
5289       lt_cv_sys_max_cmd_len=32768
5290     fi
5291     ;;
5292   *)
5293     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5294     if test -n "$lt_cv_sys_max_cmd_len"; then
5295       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5296       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5297     else
5298       # Make teststring a little bigger before we do anything with it.
5299       # a 1K string should be a reasonable start.
5300       for i in 1 2 3 4 5 6 7 8 ; do
5301         teststring=$teststring$teststring
5302       done
5303       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5304       # If test is not a shell built-in, we'll probably end up computing a
5305       # maximum length that is only half of the actual maximum length, but
5306       # we can't tell.
5307       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5308                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5309               test $i != 17 # 1/2 MB should be enough
5310       do
5311         i=`expr $i + 1`
5312         teststring=$teststring$teststring
5313       done
5314       # Only check the string length outside the loop.
5315       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5316       teststring=
5317       # Add a significant safety factor because C++ compilers can tack on
5318       # massive amounts of additional arguments before passing them to the
5319       # linker.  It appears as though 1/2 is a usable value.
5320       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5321     fi
5322     ;;
5323   esac
5324
5325 fi
5326
5327 if test -n $lt_cv_sys_max_cmd_len ; then
5328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5329 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5330 else
5331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5332 $as_echo "none" >&6; }
5333 fi
5334 max_cmd_len=$lt_cv_sys_max_cmd_len
5335
5336
5337
5338
5339
5340
5341 : ${CP="cp -f"}
5342 : ${MV="mv -f"}
5343 : ${RM="rm -f"}
5344
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5346 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5347 # Try some XSI features
5348 xsi_shell=no
5349 ( _lt_dummy="a/b/c"
5350   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5351       = c,a/b,b/c, \
5352     && eval 'test $(( 1 + 1 )) -eq 2 \
5353     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5354   && xsi_shell=yes
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5356 $as_echo "$xsi_shell" >&6; }
5357
5358
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5360 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5361 lt_shell_append=no
5362 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5363     >/dev/null 2>&1 \
5364   && lt_shell_append=yes
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5366 $as_echo "$lt_shell_append" >&6; }
5367
5368
5369 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5370   lt_unset=unset
5371 else
5372   lt_unset=false
5373 fi
5374
5375
5376
5377
5378
5379 # test EBCDIC or ASCII
5380 case `echo X|tr X '\101'` in
5381  A) # ASCII based system
5382     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5383   lt_SP2NL='tr \040 \012'
5384   lt_NL2SP='tr \015\012 \040\040'
5385   ;;
5386  *) # EBCDIC based system
5387   lt_SP2NL='tr \100 \n'
5388   lt_NL2SP='tr \r\n \100\100'
5389   ;;
5390 esac
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5401 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5402 if ${lt_cv_to_host_file_cmd+:} false; then :
5403   $as_echo_n "(cached) " >&6
5404 else
5405   case $host in
5406   *-*-mingw* )
5407     case $build in
5408       *-*-mingw* ) # actually msys
5409         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5410         ;;
5411       *-*-cygwin* )
5412         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5413         ;;
5414       * ) # otherwise, assume *nix
5415         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5416         ;;
5417     esac
5418     ;;
5419   *-*-cygwin* )
5420     case $build in
5421       *-*-mingw* ) # actually msys
5422         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5423         ;;
5424       *-*-cygwin* )
5425         lt_cv_to_host_file_cmd=func_convert_file_noop
5426         ;;
5427       * ) # otherwise, assume *nix
5428         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5429         ;;
5430     esac
5431     ;;
5432   * ) # unhandled hosts (and "normal" native builds)
5433     lt_cv_to_host_file_cmd=func_convert_file_noop
5434     ;;
5435 esac
5436
5437 fi
5438
5439 to_host_file_cmd=$lt_cv_to_host_file_cmd
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5441 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5442
5443
5444
5445
5446
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5448 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5449 if ${lt_cv_to_tool_file_cmd+:} false; then :
5450   $as_echo_n "(cached) " >&6
5451 else
5452   #assume ordinary cross tools, or native build.
5453 lt_cv_to_tool_file_cmd=func_convert_file_noop
5454 case $host in
5455   *-*-mingw* )
5456     case $build in
5457       *-*-mingw* ) # actually msys
5458         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5459         ;;
5460     esac
5461     ;;
5462 esac
5463
5464 fi
5465
5466 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5468 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5469
5470
5471
5472
5473
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5475 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5476 if ${lt_cv_ld_reload_flag+:} false; then :
5477   $as_echo_n "(cached) " >&6
5478 else
5479   lt_cv_ld_reload_flag='-r'
5480 fi
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5482 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5483 reload_flag=$lt_cv_ld_reload_flag
5484 case $reload_flag in
5485 "" | " "*) ;;
5486 *) reload_flag=" $reload_flag" ;;
5487 esac
5488 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5489 case $host_os in
5490   cygwin* | mingw* | pw32* | cegcc*)
5491     if test "$GCC" != yes; then
5492       reload_cmds=false
5493     fi
5494     ;;
5495   darwin*)
5496     if test "$GCC" = yes; then
5497       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5498     else
5499       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5500     fi
5501     ;;
5502 esac
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512 if test -n "$ac_tool_prefix"; then
5513   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5514 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_OBJDUMP+:} false; then :
5518   $as_echo_n "(cached) " >&6
5519 else
5520   if test -n "$OBJDUMP"; then
5521   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5525 do
5526   IFS=$as_save_IFS
5527   test -z "$as_dir" && as_dir=.
5528     for ac_exec_ext in '' $ac_executable_extensions; do
5529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5530     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532     break 2
5533   fi
5534 done
5535   done
5536 IFS=$as_save_IFS
5537
5538 fi
5539 fi
5540 OBJDUMP=$ac_cv_prog_OBJDUMP
5541 if test -n "$OBJDUMP"; then
5542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5543 $as_echo "$OBJDUMP" >&6; }
5544 else
5545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5547 fi
5548
5549
5550 fi
5551 if test -z "$ac_cv_prog_OBJDUMP"; then
5552   ac_ct_OBJDUMP=$OBJDUMP
5553   # Extract the first word of "objdump", so it can be a program name with args.
5554 set dummy objdump; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5558   $as_echo_n "(cached) " >&6
5559 else
5560   if test -n "$ac_ct_OBJDUMP"; then
5561   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5562 else
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH
5565 do
5566   IFS=$as_save_IFS
5567   test -z "$as_dir" && as_dir=.
5568     for ac_exec_ext in '' $ac_executable_extensions; do
5569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572     break 2
5573   fi
5574 done
5575   done
5576 IFS=$as_save_IFS
5577
5578 fi
5579 fi
5580 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5581 if test -n "$ac_ct_OBJDUMP"; then
5582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5583 $as_echo "$ac_ct_OBJDUMP" >&6; }
5584 else
5585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5587 fi
5588
5589   if test "x$ac_ct_OBJDUMP" = x; then
5590     OBJDUMP="false"
5591   else
5592     case $cross_compiling:$ac_tool_warned in
5593 yes:)
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5596 ac_tool_warned=yes ;;
5597 esac
5598     OBJDUMP=$ac_ct_OBJDUMP
5599   fi
5600 else
5601   OBJDUMP="$ac_cv_prog_OBJDUMP"
5602 fi
5603
5604 test -z "$OBJDUMP" && OBJDUMP=objdump
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5615 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5616 if ${lt_cv_deplibs_check_method+:} false; then :
5617   $as_echo_n "(cached) " >&6
5618 else
5619   lt_cv_file_magic_cmd='$MAGIC_CMD'
5620 lt_cv_file_magic_test_file=
5621 lt_cv_deplibs_check_method='unknown'
5622 # Need to set the preceding variable on all platforms that support
5623 # interlibrary dependencies.
5624 # 'none' -- dependencies not supported.
5625 # `unknown' -- same as none, but documents that we really don't know.
5626 # 'pass_all' -- all dependencies passed with no checks.
5627 # 'test_compile' -- check by making test program.
5628 # 'file_magic [[regex]]' -- check by looking for files in library path
5629 # which responds to the $file_magic_cmd with a given extended regex.
5630 # If you have `file' or equivalent on your system and you're not sure
5631 # whether `pass_all' will *always* work, you probably want this one.
5632
5633 case $host_os in
5634 aix[4-9]*)
5635   lt_cv_deplibs_check_method=pass_all
5636   ;;
5637
5638 beos*)
5639   lt_cv_deplibs_check_method=pass_all
5640   ;;
5641
5642 bsdi[45]*)
5643   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5644   lt_cv_file_magic_cmd='/usr/bin/file -L'
5645   lt_cv_file_magic_test_file=/shlib/libc.so
5646   ;;
5647
5648 cygwin*)
5649   # func_win32_libid is a shell function defined in ltmain.sh
5650   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5651   lt_cv_file_magic_cmd='func_win32_libid'
5652   ;;
5653
5654 mingw* | pw32*)
5655   # Base MSYS/MinGW do not provide the 'file' command needed by
5656   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5657   # unless we find 'file', for example because we are cross-compiling.
5658   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5659   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5660     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5661     lt_cv_file_magic_cmd='func_win32_libid'
5662   else
5663     # Keep this pattern in sync with the one in func_win32_libid.
5664     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5665     lt_cv_file_magic_cmd='$OBJDUMP -f'
5666   fi
5667   ;;
5668
5669 cegcc*)
5670   # use the weaker test based on 'objdump'. See mingw*.
5671   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5672   lt_cv_file_magic_cmd='$OBJDUMP -f'
5673   ;;
5674
5675 darwin* | rhapsody*)
5676   lt_cv_deplibs_check_method=pass_all
5677   ;;
5678
5679 freebsd* | dragonfly*)
5680   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5681     case $host_cpu in
5682     i*86 )
5683       # Not sure whether the presence of OpenBSD here was a mistake.
5684       # Let's accept both of them until this is cleared up.
5685       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5686       lt_cv_file_magic_cmd=/usr/bin/file
5687       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5688       ;;
5689     esac
5690   else
5691     lt_cv_deplibs_check_method=pass_all
5692   fi
5693   ;;
5694
5695 gnu*)
5696   lt_cv_deplibs_check_method=pass_all
5697   ;;
5698
5699 haiku*)
5700   lt_cv_deplibs_check_method=pass_all
5701   ;;
5702
5703 hpux10.20* | hpux11*)
5704   lt_cv_file_magic_cmd=/usr/bin/file
5705   case $host_cpu in
5706   ia64*)
5707     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5708     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5709     ;;
5710   hppa*64*)
5711     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]'
5712     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5713     ;;
5714   *)
5715     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5716     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5717     ;;
5718   esac
5719   ;;
5720
5721 interix[3-9]*)
5722   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5723   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5724   ;;
5725
5726 irix5* | irix6* | nonstopux*)
5727   case $LD in
5728   *-32|*"-32 ") libmagic=32-bit;;
5729   *-n32|*"-n32 ") libmagic=N32;;
5730   *-64|*"-64 ") libmagic=64-bit;;
5731   *) libmagic=never-match;;
5732   esac
5733   lt_cv_deplibs_check_method=pass_all
5734   ;;
5735
5736 # This must be glibc/ELF.
5737 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5738   lt_cv_deplibs_check_method=pass_all
5739   ;;
5740
5741 netbsd* | netbsdelf*-gnu)
5742   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5743     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5744   else
5745     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5746   fi
5747   ;;
5748
5749 newos6*)
5750   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5751   lt_cv_file_magic_cmd=/usr/bin/file
5752   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5753   ;;
5754
5755 *nto* | *qnx*)
5756   lt_cv_deplibs_check_method=pass_all
5757   ;;
5758
5759 openbsd*)
5760   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5761     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5762   else
5763     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5764   fi
5765   ;;
5766
5767 osf3* | osf4* | osf5*)
5768   lt_cv_deplibs_check_method=pass_all
5769   ;;
5770
5771 rdos*)
5772   lt_cv_deplibs_check_method=pass_all
5773   ;;
5774
5775 solaris*)
5776   lt_cv_deplibs_check_method=pass_all
5777   ;;
5778
5779 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5780   lt_cv_deplibs_check_method=pass_all
5781   ;;
5782
5783 sysv4 | sysv4.3*)
5784   case $host_vendor in
5785   motorola)
5786     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]'
5787     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5788     ;;
5789   ncr)
5790     lt_cv_deplibs_check_method=pass_all
5791     ;;
5792   sequent)
5793     lt_cv_file_magic_cmd='/bin/file'
5794     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5795     ;;
5796   sni)
5797     lt_cv_file_magic_cmd='/bin/file'
5798     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5799     lt_cv_file_magic_test_file=/lib/libc.so
5800     ;;
5801   siemens)
5802     lt_cv_deplibs_check_method=pass_all
5803     ;;
5804   pc)
5805     lt_cv_deplibs_check_method=pass_all
5806     ;;
5807   esac
5808   ;;
5809
5810 tpf*)
5811   lt_cv_deplibs_check_method=pass_all
5812   ;;
5813 esac
5814
5815 fi
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5817 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5818
5819 file_magic_glob=
5820 want_nocaseglob=no
5821 if test "$build" = "$host"; then
5822   case $host_os in
5823   mingw* | pw32*)
5824     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5825       want_nocaseglob=yes
5826     else
5827       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5828     fi
5829     ;;
5830   esac
5831 fi
5832
5833 file_magic_cmd=$lt_cv_file_magic_cmd
5834 deplibs_check_method=$lt_cv_deplibs_check_method
5835 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858 if test -n "$ac_tool_prefix"; then
5859   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5860 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if ${ac_cv_prog_DLLTOOL+:} false; then :
5864   $as_echo_n "(cached) " >&6
5865 else
5866   if test -n "$DLLTOOL"; then
5867   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5868 else
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 for as_dir in $PATH
5871 do
5872   IFS=$as_save_IFS
5873   test -z "$as_dir" && as_dir=.
5874     for ac_exec_ext in '' $ac_executable_extensions; do
5875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5876     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878     break 2
5879   fi
5880 done
5881   done
5882 IFS=$as_save_IFS
5883
5884 fi
5885 fi
5886 DLLTOOL=$ac_cv_prog_DLLTOOL
5887 if test -n "$DLLTOOL"; then
5888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5889 $as_echo "$DLLTOOL" >&6; }
5890 else
5891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5893 fi
5894
5895
5896 fi
5897 if test -z "$ac_cv_prog_DLLTOOL"; then
5898   ac_ct_DLLTOOL=$DLLTOOL
5899   # Extract the first word of "dlltool", so it can be a program name with args.
5900 set dummy dlltool; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5904   $as_echo_n "(cached) " >&6
5905 else
5906   if test -n "$ac_ct_DLLTOOL"; then
5907   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5911 do
5912   IFS=$as_save_IFS
5913   test -z "$as_dir" && as_dir=.
5914     for ac_exec_ext in '' $ac_executable_extensions; do
5915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5916     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918     break 2
5919   fi
5920 done
5921   done
5922 IFS=$as_save_IFS
5923
5924 fi
5925 fi
5926 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5927 if test -n "$ac_ct_DLLTOOL"; then
5928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5929 $as_echo "$ac_ct_DLLTOOL" >&6; }
5930 else
5931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5933 fi
5934
5935   if test "x$ac_ct_DLLTOOL" = x; then
5936     DLLTOOL="false"
5937   else
5938     case $cross_compiling:$ac_tool_warned in
5939 yes:)
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5942 ac_tool_warned=yes ;;
5943 esac
5944     DLLTOOL=$ac_ct_DLLTOOL
5945   fi
5946 else
5947   DLLTOOL="$ac_cv_prog_DLLTOOL"
5948 fi
5949
5950 test -z "$DLLTOOL" && DLLTOOL=dlltool
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5962 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5963 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5964   $as_echo_n "(cached) " >&6
5965 else
5966   lt_cv_sharedlib_from_linklib_cmd='unknown'
5967
5968 case $host_os in
5969 cygwin* | mingw* | pw32* | cegcc*)
5970   # two different shell functions defined in ltmain.sh
5971   # decide which to use based on capabilities of $DLLTOOL
5972   case `$DLLTOOL --help 2>&1` in
5973   *--identify-strict*)
5974     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5975     ;;
5976   *)
5977     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5978     ;;
5979   esac
5980   ;;
5981 *)
5982   # fallback: assume linklib IS sharedlib
5983   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5984   ;;
5985 esac
5986
5987 fi
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5989 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5990 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5991 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5992
5993
5994
5995
5996
5997
5998
5999 if test -n "$ac_tool_prefix"; then
6000   for ac_prog in ar
6001   do
6002     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6003 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if ${ac_cv_prog_AR+:} false; then :
6007   $as_echo_n "(cached) " >&6
6008 else
6009   if test -n "$AR"; then
6010   ac_cv_prog_AR="$AR" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6014 do
6015   IFS=$as_save_IFS
6016   test -z "$as_dir" && as_dir=.
6017     for ac_exec_ext in '' $ac_executable_extensions; do
6018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021     break 2
6022   fi
6023 done
6024   done
6025 IFS=$as_save_IFS
6026
6027 fi
6028 fi
6029 AR=$ac_cv_prog_AR
6030 if test -n "$AR"; then
6031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6032 $as_echo "$AR" >&6; }
6033 else
6034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6036 fi
6037
6038
6039     test -n "$AR" && break
6040   done
6041 fi
6042 if test -z "$AR"; then
6043   ac_ct_AR=$AR
6044   for ac_prog in ar
6045 do
6046   # Extract the first word of "$ac_prog", so it can be a program name with args.
6047 set dummy $ac_prog; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6051   $as_echo_n "(cached) " >&6
6052 else
6053   if test -n "$ac_ct_AR"; then
6054   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6058 do
6059   IFS=$as_save_IFS
6060   test -z "$as_dir" && as_dir=.
6061     for ac_exec_ext in '' $ac_executable_extensions; do
6062   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063     ac_cv_prog_ac_ct_AR="$ac_prog"
6064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065     break 2
6066   fi
6067 done
6068   done
6069 IFS=$as_save_IFS
6070
6071 fi
6072 fi
6073 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6074 if test -n "$ac_ct_AR"; then
6075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6076 $as_echo "$ac_ct_AR" >&6; }
6077 else
6078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6080 fi
6081
6082
6083   test -n "$ac_ct_AR" && break
6084 done
6085
6086   if test "x$ac_ct_AR" = x; then
6087     AR="false"
6088   else
6089     case $cross_compiling:$ac_tool_warned in
6090 yes:)
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093 ac_tool_warned=yes ;;
6094 esac
6095     AR=$ac_ct_AR
6096   fi
6097 fi
6098
6099 : ${AR=ar}
6100 : ${AR_FLAGS=cru}
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6113 $as_echo_n "checking for archiver @FILE support... " >&6; }
6114 if ${lt_cv_ar_at_file+:} false; then :
6115   $as_echo_n "(cached) " >&6
6116 else
6117   lt_cv_ar_at_file=no
6118    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h.  */
6120
6121 int
6122 main ()
6123 {
6124
6125   ;
6126   return 0;
6127 }
6128 _ACEOF
6129 if ac_fn_c_try_compile "$LINENO"; then :
6130   echo conftest.$ac_objext > conftest.lst
6131       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6132       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6133   (eval $lt_ar_try) 2>&5
6134   ac_status=$?
6135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6136   test $ac_status = 0; }
6137       if test "$ac_status" -eq 0; then
6138         # Ensure the archiver fails upon bogus file names.
6139         rm -f conftest.$ac_objext libconftest.a
6140         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6141   (eval $lt_ar_try) 2>&5
6142   ac_status=$?
6143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6144   test $ac_status = 0; }
6145         if test "$ac_status" -ne 0; then
6146           lt_cv_ar_at_file=@
6147         fi
6148       fi
6149       rm -f conftest.* libconftest.a
6150
6151 fi
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153
6154 fi
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6156 $as_echo "$lt_cv_ar_at_file" >&6; }
6157
6158 if test "x$lt_cv_ar_at_file" = xno; then
6159   archiver_list_spec=
6160 else
6161   archiver_list_spec=$lt_cv_ar_at_file
6162 fi
6163
6164
6165
6166
6167
6168
6169
6170 if test -n "$ac_tool_prefix"; then
6171   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6172 set dummy ${ac_tool_prefix}strip; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_STRIP+:} false; then :
6176   $as_echo_n "(cached) " >&6
6177 else
6178   if test -n "$STRIP"; then
6179   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6180 else
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 for as_dir in $PATH
6183 do
6184   IFS=$as_save_IFS
6185   test -z "$as_dir" && as_dir=.
6186     for ac_exec_ext in '' $ac_executable_extensions; do
6187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6188     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190     break 2
6191   fi
6192 done
6193   done
6194 IFS=$as_save_IFS
6195
6196 fi
6197 fi
6198 STRIP=$ac_cv_prog_STRIP
6199 if test -n "$STRIP"; then
6200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6201 $as_echo "$STRIP" >&6; }
6202 else
6203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6205 fi
6206
6207
6208 fi
6209 if test -z "$ac_cv_prog_STRIP"; then
6210   ac_ct_STRIP=$STRIP
6211   # Extract the first word of "strip", so it can be a program name with args.
6212 set dummy strip; ac_word=$2
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6214 $as_echo_n "checking for $ac_word... " >&6; }
6215 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6216   $as_echo_n "(cached) " >&6
6217 else
6218   if test -n "$ac_ct_STRIP"; then
6219   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6220 else
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH
6223 do
6224   IFS=$as_save_IFS
6225   test -z "$as_dir" && as_dir=.
6226     for ac_exec_ext in '' $ac_executable_extensions; do
6227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6228     ac_cv_prog_ac_ct_STRIP="strip"
6229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230     break 2
6231   fi
6232 done
6233   done
6234 IFS=$as_save_IFS
6235
6236 fi
6237 fi
6238 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6239 if test -n "$ac_ct_STRIP"; then
6240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6241 $as_echo "$ac_ct_STRIP" >&6; }
6242 else
6243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244 $as_echo "no" >&6; }
6245 fi
6246
6247   if test "x$ac_ct_STRIP" = x; then
6248     STRIP=":"
6249   else
6250     case $cross_compiling:$ac_tool_warned in
6251 yes:)
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6254 ac_tool_warned=yes ;;
6255 esac
6256     STRIP=$ac_ct_STRIP
6257   fi
6258 else
6259   STRIP="$ac_cv_prog_STRIP"
6260 fi
6261
6262 test -z "$STRIP" && STRIP=:
6263
6264
6265
6266
6267
6268
6269 if test -n "$ac_tool_prefix"; then
6270   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6271 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if ${ac_cv_prog_RANLIB+:} false; then :
6275   $as_echo_n "(cached) " >&6
6276 else
6277   if test -n "$RANLIB"; then
6278   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6279 else
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 for as_dir in $PATH
6282 do
6283   IFS=$as_save_IFS
6284   test -z "$as_dir" && as_dir=.
6285     for ac_exec_ext in '' $ac_executable_extensions; do
6286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6287     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6289     break 2
6290   fi
6291 done
6292   done
6293 IFS=$as_save_IFS
6294
6295 fi
6296 fi
6297 RANLIB=$ac_cv_prog_RANLIB
6298 if test -n "$RANLIB"; then
6299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6300 $as_echo "$RANLIB" >&6; }
6301 else
6302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6304 fi
6305
6306
6307 fi
6308 if test -z "$ac_cv_prog_RANLIB"; then
6309   ac_ct_RANLIB=$RANLIB
6310   # Extract the first word of "ranlib", so it can be a program name with args.
6311 set dummy ranlib; ac_word=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6315   $as_echo_n "(cached) " >&6
6316 else
6317   if test -n "$ac_ct_RANLIB"; then
6318   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6319 else
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 for as_dir in $PATH
6322 do
6323   IFS=$as_save_IFS
6324   test -z "$as_dir" && as_dir=.
6325     for ac_exec_ext in '' $ac_executable_extensions; do
6326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6327     ac_cv_prog_ac_ct_RANLIB="ranlib"
6328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6329     break 2
6330   fi
6331 done
6332   done
6333 IFS=$as_save_IFS
6334
6335 fi
6336 fi
6337 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6338 if test -n "$ac_ct_RANLIB"; then
6339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6340 $as_echo "$ac_ct_RANLIB" >&6; }
6341 else
6342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 $as_echo "no" >&6; }
6344 fi
6345
6346   if test "x$ac_ct_RANLIB" = x; then
6347     RANLIB=":"
6348   else
6349     case $cross_compiling:$ac_tool_warned in
6350 yes:)
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353 ac_tool_warned=yes ;;
6354 esac
6355     RANLIB=$ac_ct_RANLIB
6356   fi
6357 else
6358   RANLIB="$ac_cv_prog_RANLIB"
6359 fi
6360
6361 test -z "$RANLIB" && RANLIB=:
6362
6363
6364
6365
6366
6367
6368 # Determine commands to create old-style static archives.
6369 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6370 old_postinstall_cmds='chmod 644 $oldlib'
6371 old_postuninstall_cmds=
6372
6373 if test -n "$RANLIB"; then
6374   case $host_os in
6375   openbsd*)
6376     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6377     ;;
6378   *)
6379     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6380     ;;
6381   esac
6382   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6383 fi
6384
6385 case $host_os in
6386   darwin*)
6387     lock_old_archive_extraction=yes ;;
6388   *)
6389     lock_old_archive_extraction=no ;;
6390 esac
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430 # If no C compiler was specified, use CC.
6431 LTCC=${LTCC-"$CC"}
6432
6433 # If no C compiler flags were specified, use CFLAGS.
6434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6435
6436 # Allow CC to be a program name with arguments.
6437 compiler=$CC
6438
6439
6440 # Check for command to grab the raw symbol name followed by C symbol from nm.
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6442 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6443 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6444   $as_echo_n "(cached) " >&6
6445 else
6446
6447 # These are sane defaults that work on at least a few old systems.
6448 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6449
6450 # Character class describing NM global symbol codes.
6451 symcode='[BCDEGRST]'
6452
6453 # Regexp to match symbols that can be accessed directly from C.
6454 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6455
6456 # Define system-specific variables.
6457 case $host_os in
6458 aix*)
6459   symcode='[BCDT]'
6460   ;;
6461 cygwin* | mingw* | pw32* | cegcc*)
6462   symcode='[ABCDGISTW]'
6463   ;;
6464 hpux*)
6465   if test "$host_cpu" = ia64; then
6466     symcode='[ABCDEGRST]'
6467   fi
6468   ;;
6469 irix* | nonstopux*)
6470   symcode='[BCDEGRST]'
6471   ;;
6472 osf*)
6473   symcode='[BCDEGQRST]'
6474   ;;
6475 solaris*)
6476   symcode='[BDRT]'
6477   ;;
6478 sco3.2v5*)
6479   symcode='[DT]'
6480   ;;
6481 sysv4.2uw2*)
6482   symcode='[DT]'
6483   ;;
6484 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6485   symcode='[ABDT]'
6486   ;;
6487 sysv4)
6488   symcode='[DFNSTU]'
6489   ;;
6490 esac
6491
6492 # If we're using GNU nm, then use its standard symbol codes.
6493 case `$NM -V 2>&1` in
6494 *GNU* | *'with BFD'*)
6495   symcode='[ABCDGIRSTW]' ;;
6496 esac
6497
6498 # Transform an extracted symbol line into a proper C declaration.
6499 # Some systems (esp. on ia64) link data and code symbols differently,
6500 # so use this general approach.
6501 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6502
6503 # Transform an extracted symbol line into symbol name and symbol address
6504 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6505 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'"
6506
6507 # Handle CRLF in mingw tool chain
6508 opt_cr=
6509 case $build_os in
6510 mingw*)
6511   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6512   ;;
6513 esac
6514
6515 # Try without a prefix underscore, then with it.
6516 for ac_symprfx in "" "_"; do
6517
6518   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6519   symxfrm="\\1 $ac_symprfx\\2 \\2"
6520
6521   # Write the raw and C identifiers.
6522   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6523     # Fake it for dumpbin and say T for any non-static function
6524     # and D for any global variable.
6525     # Also find C++ and __fastcall symbols from MSVC++,
6526     # which start with @ or ?.
6527     lt_cv_sys_global_symbol_pipe="$AWK '"\
6528 "     {last_section=section; section=\$ 3};"\
6529 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6530 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6531 "     \$ 0!~/External *\|/{next};"\
6532 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6533 "     {if(hide[section]) next};"\
6534 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6535 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6536 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6537 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6538 "     ' prfx=^$ac_symprfx"
6539   else
6540     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6541   fi
6542   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6543
6544   # Check to see that the pipe works correctly.
6545   pipe_works=no
6546
6547   rm -f conftest*
6548   cat > conftest.$ac_ext <<_LT_EOF
6549 #ifdef __cplusplus
6550 extern "C" {
6551 #endif
6552 char nm_test_var;
6553 void nm_test_func(void);
6554 void nm_test_func(void){}
6555 #ifdef __cplusplus
6556 }
6557 #endif
6558 int main(){nm_test_var='a';nm_test_func();return(0);}
6559 _LT_EOF
6560
6561   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6562   (eval $ac_compile) 2>&5
6563   ac_status=$?
6564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6565   test $ac_status = 0; }; then
6566     # Now try to grab the symbols.
6567     nlist=conftest.nm
6568     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6569   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6570   ac_status=$?
6571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6572   test $ac_status = 0; } && test -s "$nlist"; then
6573       # Try sorting and uniquifying the output.
6574       if sort "$nlist" | uniq > "$nlist"T; then
6575         mv -f "$nlist"T "$nlist"
6576       else
6577         rm -f "$nlist"T
6578       fi
6579
6580       # Make sure that we snagged all the symbols we need.
6581       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6582         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6583           cat <<_LT_EOF > conftest.$ac_ext
6584 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6585 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6586 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6587    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6588 # define LT_DLSYM_CONST
6589 #elif defined(__osf__)
6590 /* This system does not cope well with relocations in const data.  */
6591 # define LT_DLSYM_CONST
6592 #else
6593 # define LT_DLSYM_CONST const
6594 #endif
6595
6596 #ifdef __cplusplus
6597 extern "C" {
6598 #endif
6599
6600 _LT_EOF
6601           # Now generate the symbol file.
6602           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6603
6604           cat <<_LT_EOF >> conftest.$ac_ext
6605
6606 /* The mapping between symbol names and symbols.  */
6607 LT_DLSYM_CONST struct {
6608   const char *name;
6609   void       *address;
6610 }
6611 lt__PROGRAM__LTX_preloaded_symbols[] =
6612 {
6613   { "@PROGRAM@", (void *) 0 },
6614 _LT_EOF
6615           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6616           cat <<\_LT_EOF >> conftest.$ac_ext
6617   {0, (void *) 0}
6618 };
6619
6620 /* This works around a problem in FreeBSD linker */
6621 #ifdef FREEBSD_WORKAROUND
6622 static const void *lt_preloaded_setup() {
6623   return lt__PROGRAM__LTX_preloaded_symbols;
6624 }
6625 #endif
6626
6627 #ifdef __cplusplus
6628 }
6629 #endif
6630 _LT_EOF
6631           # Now try linking the two files.
6632           mv conftest.$ac_objext conftstm.$ac_objext
6633           lt_globsym_save_LIBS=$LIBS
6634           lt_globsym_save_CFLAGS=$CFLAGS
6635           LIBS="conftstm.$ac_objext"
6636           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6637           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6638   (eval $ac_link) 2>&5
6639   ac_status=$?
6640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6641   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6642             pipe_works=yes
6643           fi
6644           LIBS=$lt_globsym_save_LIBS
6645           CFLAGS=$lt_globsym_save_CFLAGS
6646         else
6647           echo "cannot find nm_test_func in $nlist" >&5
6648         fi
6649       else
6650         echo "cannot find nm_test_var in $nlist" >&5
6651       fi
6652     else
6653       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6654     fi
6655   else
6656     echo "$progname: failed program was:" >&5
6657     cat conftest.$ac_ext >&5
6658   fi
6659   rm -rf conftest* conftst*
6660
6661   # Do not use the global_symbol_pipe unless it works.
6662   if test "$pipe_works" = yes; then
6663     break
6664   else
6665     lt_cv_sys_global_symbol_pipe=
6666   fi
6667 done
6668
6669 fi
6670
6671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6672   lt_cv_sys_global_symbol_to_cdecl=
6673 fi
6674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6676 $as_echo "failed" >&6; }
6677 else
6678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6679 $as_echo "ok" >&6; }
6680 fi
6681
6682 # Response file support.
6683 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6684   nm_file_list_spec='@'
6685 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6686   nm_file_list_spec='@'
6687 fi
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6716 $as_echo_n "checking for sysroot... " >&6; }
6717
6718 # Check whether --with-sysroot was given.
6719 if test "${with_sysroot+set}" = set; then :
6720   withval=$with_sysroot;
6721 else
6722   with_sysroot=no
6723 fi
6724
6725
6726 lt_sysroot=
6727 case ${with_sysroot} in #(
6728  yes)
6729    if test "$GCC" = yes; then
6730      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6731    fi
6732    ;; #(
6733  /*)
6734    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6735    ;; #(
6736  no|'')
6737    ;; #(
6738  *)
6739    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6740 $as_echo "${with_sysroot}" >&6; }
6741    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6742    ;;
6743 esac
6744
6745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6746 $as_echo "${lt_sysroot:-no}" >&6; }
6747
6748
6749
6750
6751
6752 # Check whether --enable-libtool-lock was given.
6753 if test "${enable_libtool_lock+set}" = set; then :
6754   enableval=$enable_libtool_lock;
6755 fi
6756
6757 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6758
6759 # Some flags need to be propagated to the compiler or linker for good
6760 # libtool support.
6761 case $host in
6762 ia64-*-hpux*)
6763   # Find out which ABI we are using.
6764   echo 'int i;' > conftest.$ac_ext
6765   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6766   (eval $ac_compile) 2>&5
6767   ac_status=$?
6768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6769   test $ac_status = 0; }; then
6770     case `/usr/bin/file conftest.$ac_objext` in
6771       *ELF-32*)
6772         HPUX_IA64_MODE="32"
6773         ;;
6774       *ELF-64*)
6775         HPUX_IA64_MODE="64"
6776         ;;
6777     esac
6778   fi
6779   rm -rf conftest*
6780   ;;
6781 *-*-irix6*)
6782   # Find out which ABI we are using.
6783   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6784   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6785   (eval $ac_compile) 2>&5
6786   ac_status=$?
6787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6788   test $ac_status = 0; }; then
6789     if test "$lt_cv_prog_gnu_ld" = yes; then
6790       case `/usr/bin/file conftest.$ac_objext` in
6791         *32-bit*)
6792           LD="${LD-ld} -melf32bsmip"
6793           ;;
6794         *N32*)
6795           LD="${LD-ld} -melf32bmipn32"
6796           ;;
6797         *64-bit*)
6798           LD="${LD-ld} -melf64bmip"
6799         ;;
6800       esac
6801     else
6802       case `/usr/bin/file conftest.$ac_objext` in
6803         *32-bit*)
6804           LD="${LD-ld} -32"
6805           ;;
6806         *N32*)
6807           LD="${LD-ld} -n32"
6808           ;;
6809         *64-bit*)
6810           LD="${LD-ld} -64"
6811           ;;
6812       esac
6813     fi
6814   fi
6815   rm -rf conftest*
6816   ;;
6817
6818 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6819 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6820   # Find out which ABI we are using.
6821   echo 'int i;' > conftest.$ac_ext
6822   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6823   (eval $ac_compile) 2>&5
6824   ac_status=$?
6825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6826   test $ac_status = 0; }; then
6827     case `/usr/bin/file conftest.o` in
6828       *32-bit*)
6829         case $host in
6830           x86_64-*kfreebsd*-gnu)
6831             LD="${LD-ld} -m elf_i386_fbsd"
6832             ;;
6833           x86_64-*linux*)
6834             LD="${LD-ld} -m elf_i386"
6835             ;;
6836           ppc64-*linux*|powerpc64-*linux*)
6837             LD="${LD-ld} -m elf32ppclinux"
6838             ;;
6839           s390x-*linux*)
6840             LD="${LD-ld} -m elf_s390"
6841             ;;
6842           sparc64-*linux*)
6843             LD="${LD-ld} -m elf32_sparc"
6844             ;;
6845         esac
6846         ;;
6847       *64-bit*)
6848         case $host in
6849           x86_64-*kfreebsd*-gnu)
6850             LD="${LD-ld} -m elf_x86_64_fbsd"
6851             ;;
6852           x86_64-*linux*)
6853             LD="${LD-ld} -m elf_x86_64"
6854             ;;
6855           ppc*-*linux*|powerpc*-*linux*)
6856             LD="${LD-ld} -m elf64ppc"
6857             ;;
6858           s390*-*linux*|s390*-*tpf*)
6859             LD="${LD-ld} -m elf64_s390"
6860             ;;
6861           sparc*-*linux*)
6862             LD="${LD-ld} -m elf64_sparc"
6863             ;;
6864         esac
6865         ;;
6866     esac
6867   fi
6868   rm -rf conftest*
6869   ;;
6870
6871 *-*-sco3.2v5*)
6872   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6873   SAVE_CFLAGS="$CFLAGS"
6874   CFLAGS="$CFLAGS -belf"
6875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6876 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6877 if ${lt_cv_cc_needs_belf+:} false; then :
6878   $as_echo_n "(cached) " >&6
6879 else
6880   ac_ext=c
6881 ac_cpp='$CPP $CPPFLAGS'
6882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6885
6886      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h.  */
6888
6889 int
6890 main ()
6891 {
6892
6893   ;
6894   return 0;
6895 }
6896 _ACEOF
6897 if ac_fn_c_try_link "$LINENO"; then :
6898   lt_cv_cc_needs_belf=yes
6899 else
6900   lt_cv_cc_needs_belf=no
6901 fi
6902 rm -f core conftest.err conftest.$ac_objext \
6903     conftest$ac_exeext conftest.$ac_ext
6904      ac_ext=c
6905 ac_cpp='$CPP $CPPFLAGS'
6906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6909
6910 fi
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6912 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6913   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6914     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6915     CFLAGS="$SAVE_CFLAGS"
6916   fi
6917   ;;
6918 *-*solaris*)
6919   # Find out which ABI we are using.
6920   echo 'int i;' > conftest.$ac_ext
6921   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6922   (eval $ac_compile) 2>&5
6923   ac_status=$?
6924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6925   test $ac_status = 0; }; then
6926     case `/usr/bin/file conftest.o` in
6927     *64-bit*)
6928       case $lt_cv_prog_gnu_ld in
6929       yes*)
6930         case $host in
6931         i?86-*-solaris*)
6932           LD="${LD-ld} -m elf_x86_64"
6933           ;;
6934         sparc*-*-solaris*)
6935           LD="${LD-ld} -m elf64_sparc"
6936           ;;
6937         esac
6938         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6939         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6940           LD="${LD-ld}_sol2"
6941         fi
6942         ;;
6943       *)
6944         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6945           LD="${LD-ld} -64"
6946         fi
6947         ;;
6948       esac
6949       ;;
6950     esac
6951   fi
6952   rm -rf conftest*
6953   ;;
6954 esac
6955
6956 need_locks="$enable_libtool_lock"
6957
6958 if test -n "$ac_tool_prefix"; then
6959   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}mt; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6964   $as_echo_n "(cached) " >&6
6965 else
6966   if test -n "$MANIFEST_TOOL"; then
6967   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6968 else
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 for as_dir in $PATH
6971 do
6972   IFS=$as_save_IFS
6973   test -z "$as_dir" && as_dir=.
6974     for ac_exec_ext in '' $ac_executable_extensions; do
6975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6976     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978     break 2
6979   fi
6980 done
6981   done
6982 IFS=$as_save_IFS
6983
6984 fi
6985 fi
6986 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6987 if test -n "$MANIFEST_TOOL"; then
6988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6989 $as_echo "$MANIFEST_TOOL" >&6; }
6990 else
6991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6993 fi
6994
6995
6996 fi
6997 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6998   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6999   # Extract the first word of "mt", so it can be a program name with args.
7000 set dummy mt; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7004   $as_echo_n "(cached) " >&6
7005 else
7006   if test -n "$ac_ct_MANIFEST_TOOL"; then
7007   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7008 else
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 for as_dir in $PATH
7011 do
7012   IFS=$as_save_IFS
7013   test -z "$as_dir" && as_dir=.
7014     for ac_exec_ext in '' $ac_executable_extensions; do
7015   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7016     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018     break 2
7019   fi
7020 done
7021   done
7022 IFS=$as_save_IFS
7023
7024 fi
7025 fi
7026 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7027 if test -n "$ac_ct_MANIFEST_TOOL"; then
7028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7029 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7030 else
7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7033 fi
7034
7035   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7036     MANIFEST_TOOL=":"
7037   else
7038     case $cross_compiling:$ac_tool_warned in
7039 yes:)
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7043 esac
7044     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7045   fi
7046 else
7047   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7048 fi
7049
7050 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7052 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7053 if ${lt_cv_path_mainfest_tool+:} false; then :
7054   $as_echo_n "(cached) " >&6
7055 else
7056   lt_cv_path_mainfest_tool=no
7057   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7058   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7059   cat conftest.err >&5
7060   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7061     lt_cv_path_mainfest_tool=yes
7062   fi
7063   rm -f conftest*
7064 fi
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7066 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7067 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7068   MANIFEST_TOOL=:
7069 fi
7070
7071
7072
7073
7074
7075
7076   case $host_os in
7077     rhapsody* | darwin*)
7078     if test -n "$ac_tool_prefix"; then
7079   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7080 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7084   $as_echo_n "(cached) " >&6
7085 else
7086   if test -n "$DSYMUTIL"; then
7087   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7088 else
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 for as_dir in $PATH
7091 do
7092   IFS=$as_save_IFS
7093   test -z "$as_dir" && as_dir=.
7094     for ac_exec_ext in '' $ac_executable_extensions; do
7095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7096     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7098     break 2
7099   fi
7100 done
7101   done
7102 IFS=$as_save_IFS
7103
7104 fi
7105 fi
7106 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7107 if test -n "$DSYMUTIL"; then
7108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7109 $as_echo "$DSYMUTIL" >&6; }
7110 else
7111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7113 fi
7114
7115
7116 fi
7117 if test -z "$ac_cv_prog_DSYMUTIL"; then
7118   ac_ct_DSYMUTIL=$DSYMUTIL
7119   # Extract the first word of "dsymutil", so it can be a program name with args.
7120 set dummy dsymutil; ac_word=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7124   $as_echo_n "(cached) " >&6
7125 else
7126   if test -n "$ac_ct_DSYMUTIL"; then
7127   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7128 else
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 for as_dir in $PATH
7131 do
7132   IFS=$as_save_IFS
7133   test -z "$as_dir" && as_dir=.
7134     for ac_exec_ext in '' $ac_executable_extensions; do
7135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7136     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7138     break 2
7139   fi
7140 done
7141   done
7142 IFS=$as_save_IFS
7143
7144 fi
7145 fi
7146 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7147 if test -n "$ac_ct_DSYMUTIL"; then
7148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7149 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7150 else
7151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 $as_echo "no" >&6; }
7153 fi
7154
7155   if test "x$ac_ct_DSYMUTIL" = x; then
7156     DSYMUTIL=":"
7157   else
7158     case $cross_compiling:$ac_tool_warned in
7159 yes:)
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7162 ac_tool_warned=yes ;;
7163 esac
7164     DSYMUTIL=$ac_ct_DSYMUTIL
7165   fi
7166 else
7167   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7168 fi
7169
7170     if test -n "$ac_tool_prefix"; then
7171   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7172 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_prog_NMEDIT+:} false; then :
7176   $as_echo_n "(cached) " >&6
7177 else
7178   if test -n "$NMEDIT"; then
7179   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7180 else
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 for as_dir in $PATH
7183 do
7184   IFS=$as_save_IFS
7185   test -z "$as_dir" && as_dir=.
7186     for ac_exec_ext in '' $ac_executable_extensions; do
7187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7188     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7190     break 2
7191   fi
7192 done
7193   done
7194 IFS=$as_save_IFS
7195
7196 fi
7197 fi
7198 NMEDIT=$ac_cv_prog_NMEDIT
7199 if test -n "$NMEDIT"; then
7200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7201 $as_echo "$NMEDIT" >&6; }
7202 else
7203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7205 fi
7206
7207
7208 fi
7209 if test -z "$ac_cv_prog_NMEDIT"; then
7210   ac_ct_NMEDIT=$NMEDIT
7211   # Extract the first word of "nmedit", so it can be a program name with args.
7212 set dummy nmedit; ac_word=$2
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 $as_echo_n "checking for $ac_word... " >&6; }
7215 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7216   $as_echo_n "(cached) " >&6
7217 else
7218   if test -n "$ac_ct_NMEDIT"; then
7219   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7220 else
7221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 for as_dir in $PATH
7223 do
7224   IFS=$as_save_IFS
7225   test -z "$as_dir" && as_dir=.
7226     for ac_exec_ext in '' $ac_executable_extensions; do
7227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7228     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7230     break 2
7231   fi
7232 done
7233   done
7234 IFS=$as_save_IFS
7235
7236 fi
7237 fi
7238 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7239 if test -n "$ac_ct_NMEDIT"; then
7240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7241 $as_echo "$ac_ct_NMEDIT" >&6; }
7242 else
7243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 $as_echo "no" >&6; }
7245 fi
7246
7247   if test "x$ac_ct_NMEDIT" = x; then
7248     NMEDIT=":"
7249   else
7250     case $cross_compiling:$ac_tool_warned in
7251 yes:)
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7254 ac_tool_warned=yes ;;
7255 esac
7256     NMEDIT=$ac_ct_NMEDIT
7257   fi
7258 else
7259   NMEDIT="$ac_cv_prog_NMEDIT"
7260 fi
7261
7262     if test -n "$ac_tool_prefix"; then
7263   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7264 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_LIPO+:} false; then :
7268   $as_echo_n "(cached) " >&6
7269 else
7270   if test -n "$LIPO"; then
7271   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7272 else
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 for as_dir in $PATH
7275 do
7276   IFS=$as_save_IFS
7277   test -z "$as_dir" && as_dir=.
7278     for ac_exec_ext in '' $ac_executable_extensions; do
7279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7280     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282     break 2
7283   fi
7284 done
7285   done
7286 IFS=$as_save_IFS
7287
7288 fi
7289 fi
7290 LIPO=$ac_cv_prog_LIPO
7291 if test -n "$LIPO"; then
7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7293 $as_echo "$LIPO" >&6; }
7294 else
7295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7297 fi
7298
7299
7300 fi
7301 if test -z "$ac_cv_prog_LIPO"; then
7302   ac_ct_LIPO=$LIPO
7303   # Extract the first word of "lipo", so it can be a program name with args.
7304 set dummy lipo; ac_word=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306 $as_echo_n "checking for $ac_word... " >&6; }
7307 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7308   $as_echo_n "(cached) " >&6
7309 else
7310   if test -n "$ac_ct_LIPO"; then
7311   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7312 else
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 for as_dir in $PATH
7315 do
7316   IFS=$as_save_IFS
7317   test -z "$as_dir" && as_dir=.
7318     for ac_exec_ext in '' $ac_executable_extensions; do
7319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7320     ac_cv_prog_ac_ct_LIPO="lipo"
7321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7322     break 2
7323   fi
7324 done
7325   done
7326 IFS=$as_save_IFS
7327
7328 fi
7329 fi
7330 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7331 if test -n "$ac_ct_LIPO"; then
7332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7333 $as_echo "$ac_ct_LIPO" >&6; }
7334 else
7335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 $as_echo "no" >&6; }
7337 fi
7338
7339   if test "x$ac_ct_LIPO" = x; then
7340     LIPO=":"
7341   else
7342     case $cross_compiling:$ac_tool_warned in
7343 yes:)
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7346 ac_tool_warned=yes ;;
7347 esac
7348     LIPO=$ac_ct_LIPO
7349   fi
7350 else
7351   LIPO="$ac_cv_prog_LIPO"
7352 fi
7353
7354     if test -n "$ac_tool_prefix"; then
7355   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7356 set dummy ${ac_tool_prefix}otool; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_OTOOL+:} false; then :
7360   $as_echo_n "(cached) " >&6
7361 else
7362   if test -n "$OTOOL"; then
7363   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7364 else
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 for as_dir in $PATH
7367 do
7368   IFS=$as_save_IFS
7369   test -z "$as_dir" && as_dir=.
7370     for ac_exec_ext in '' $ac_executable_extensions; do
7371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374     break 2
7375   fi
7376 done
7377   done
7378 IFS=$as_save_IFS
7379
7380 fi
7381 fi
7382 OTOOL=$ac_cv_prog_OTOOL
7383 if test -n "$OTOOL"; then
7384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7385 $as_echo "$OTOOL" >&6; }
7386 else
7387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7389 fi
7390
7391
7392 fi
7393 if test -z "$ac_cv_prog_OTOOL"; then
7394   ac_ct_OTOOL=$OTOOL
7395   # Extract the first word of "otool", so it can be a program name with args.
7396 set dummy otool; ac_word=$2
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7398 $as_echo_n "checking for $ac_word... " >&6; }
7399 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7400   $as_echo_n "(cached) " >&6
7401 else
7402   if test -n "$ac_ct_OTOOL"; then
7403   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7404 else
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 for as_dir in $PATH
7407 do
7408   IFS=$as_save_IFS
7409   test -z "$as_dir" && as_dir=.
7410     for ac_exec_ext in '' $ac_executable_extensions; do
7411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7412     ac_cv_prog_ac_ct_OTOOL="otool"
7413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414     break 2
7415   fi
7416 done
7417   done
7418 IFS=$as_save_IFS
7419
7420 fi
7421 fi
7422 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7423 if test -n "$ac_ct_OTOOL"; then
7424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7425 $as_echo "$ac_ct_OTOOL" >&6; }
7426 else
7427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7429 fi
7430
7431   if test "x$ac_ct_OTOOL" = x; then
7432     OTOOL=":"
7433   else
7434     case $cross_compiling:$ac_tool_warned in
7435 yes:)
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7438 ac_tool_warned=yes ;;
7439 esac
7440     OTOOL=$ac_ct_OTOOL
7441   fi
7442 else
7443   OTOOL="$ac_cv_prog_OTOOL"
7444 fi
7445
7446     if test -n "$ac_tool_prefix"; then
7447   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7448 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450 $as_echo_n "checking for $ac_word... " >&6; }
7451 if ${ac_cv_prog_OTOOL64+:} false; then :
7452   $as_echo_n "(cached) " >&6
7453 else
7454   if test -n "$OTOOL64"; then
7455   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7456 else
7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 for as_dir in $PATH
7459 do
7460   IFS=$as_save_IFS
7461   test -z "$as_dir" && as_dir=.
7462     for ac_exec_ext in '' $ac_executable_extensions; do
7463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7464     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7466     break 2
7467   fi
7468 done
7469   done
7470 IFS=$as_save_IFS
7471
7472 fi
7473 fi
7474 OTOOL64=$ac_cv_prog_OTOOL64
7475 if test -n "$OTOOL64"; then
7476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7477 $as_echo "$OTOOL64" >&6; }
7478 else
7479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7481 fi
7482
7483
7484 fi
7485 if test -z "$ac_cv_prog_OTOOL64"; then
7486   ac_ct_OTOOL64=$OTOOL64
7487   # Extract the first word of "otool64", so it can be a program name with args.
7488 set dummy otool64; ac_word=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490 $as_echo_n "checking for $ac_word... " >&6; }
7491 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7492   $as_echo_n "(cached) " >&6
7493 else
7494   if test -n "$ac_ct_OTOOL64"; then
7495   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7496 else
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 for as_dir in $PATH
7499 do
7500   IFS=$as_save_IFS
7501   test -z "$as_dir" && as_dir=.
7502     for ac_exec_ext in '' $ac_executable_extensions; do
7503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7504     ac_cv_prog_ac_ct_OTOOL64="otool64"
7505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506     break 2
7507   fi
7508 done
7509   done
7510 IFS=$as_save_IFS
7511
7512 fi
7513 fi
7514 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7515 if test -n "$ac_ct_OTOOL64"; then
7516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7517 $as_echo "$ac_ct_OTOOL64" >&6; }
7518 else
7519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7521 fi
7522
7523   if test "x$ac_ct_OTOOL64" = x; then
7524     OTOOL64=":"
7525   else
7526     case $cross_compiling:$ac_tool_warned in
7527 yes:)
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7530 ac_tool_warned=yes ;;
7531 esac
7532     OTOOL64=$ac_ct_OTOOL64
7533   fi
7534 else
7535   OTOOL64="$ac_cv_prog_OTOOL64"
7536 fi
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7565 $as_echo_n "checking for -single_module linker flag... " >&6; }
7566 if ${lt_cv_apple_cc_single_mod+:} false; then :
7567   $as_echo_n "(cached) " >&6
7568 else
7569   lt_cv_apple_cc_single_mod=no
7570       if test -z "${LT_MULTI_MODULE}"; then
7571         # By default we will add the -single_module flag. You can override
7572         # by either setting the environment variable LT_MULTI_MODULE
7573         # non-empty at configure time, or by adding -multi_module to the
7574         # link flags.
7575         rm -rf libconftest.dylib*
7576         echo "int foo(void){return 1;}" > conftest.c
7577         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7578 -dynamiclib -Wl,-single_module conftest.c" >&5
7579         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7580           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7581         _lt_result=$?
7582         # If there is a non-empty error log, and "single_module"
7583         # appears in it, assume the flag caused a linker warning
7584         if test -s conftest.err && $GREP single_module conftest.err; then
7585           cat conftest.err >&5
7586         # Otherwise, if the output was created with a 0 exit code from
7587         # the compiler, it worked.
7588         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7589           lt_cv_apple_cc_single_mod=yes
7590         else
7591           cat conftest.err >&5
7592         fi
7593         rm -rf libconftest.dylib*
7594         rm -f conftest.*
7595       fi
7596 fi
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7598 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7599
7600     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7601 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7602 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7603   $as_echo_n "(cached) " >&6
7604 else
7605   lt_cv_ld_exported_symbols_list=no
7606       save_LDFLAGS=$LDFLAGS
7607       echo "_main" > conftest.sym
7608       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7610 /* end confdefs.h.  */
7611
7612 int
7613 main ()
7614 {
7615
7616   ;
7617   return 0;
7618 }
7619 _ACEOF
7620 if ac_fn_c_try_link "$LINENO"; then :
7621   lt_cv_ld_exported_symbols_list=yes
7622 else
7623   lt_cv_ld_exported_symbols_list=no
7624 fi
7625 rm -f core conftest.err conftest.$ac_objext \
7626     conftest$ac_exeext conftest.$ac_ext
7627         LDFLAGS="$save_LDFLAGS"
7628
7629 fi
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7631 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7632
7633     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7634 $as_echo_n "checking for -force_load linker flag... " >&6; }
7635 if ${lt_cv_ld_force_load+:} false; then :
7636   $as_echo_n "(cached) " >&6
7637 else
7638   lt_cv_ld_force_load=no
7639       cat > conftest.c << _LT_EOF
7640 int forced_loaded() { return 2;}
7641 _LT_EOF
7642       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7643       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7644       echo "$AR cru libconftest.a conftest.o" >&5
7645       $AR cru libconftest.a conftest.o 2>&5
7646       echo "$RANLIB libconftest.a" >&5
7647       $RANLIB libconftest.a 2>&5
7648       cat > conftest.c << _LT_EOF
7649 int main() { return 0;}
7650 _LT_EOF
7651       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7652       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7653       _lt_result=$?
7654       if test -s conftest.err && $GREP force_load conftest.err; then
7655         cat conftest.err >&5
7656       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7657         lt_cv_ld_force_load=yes
7658       else
7659         cat conftest.err >&5
7660       fi
7661         rm -f conftest.err libconftest.a conftest conftest.c
7662         rm -rf conftest.dSYM
7663
7664 fi
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7666 $as_echo "$lt_cv_ld_force_load" >&6; }
7667     case $host_os in
7668     rhapsody* | darwin1.[012])
7669       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7670     darwin1.*)
7671       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7672     darwin*) # darwin 5.x on
7673       # if running on 10.5 or later, the deployment target defaults
7674       # to the OS version, if on x86, and 10.4, the deployment
7675       # target defaults to 10.4. Don't you love it?
7676       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7677         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7678           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7679         10.[012]*)
7680           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7681         10.*)
7682           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7683       esac
7684     ;;
7685   esac
7686     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7687       _lt_dar_single_mod='$single_module'
7688     fi
7689     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7690       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7691     else
7692       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7693     fi
7694     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7695       _lt_dsymutil='~$DSYMUTIL $lib || :'
7696     else
7697       _lt_dsymutil=
7698     fi
7699     ;;
7700   esac
7701
7702 ac_ext=c
7703 ac_cpp='$CPP $CPPFLAGS'
7704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7708 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7709 # On Suns, sometimes $CPP names a directory.
7710 if test -n "$CPP" && test -d "$CPP"; then
7711   CPP=
7712 fi
7713 if test -z "$CPP"; then
7714   if ${ac_cv_prog_CPP+:} false; then :
7715   $as_echo_n "(cached) " >&6
7716 else
7717       # Double quotes because CPP needs to be expanded
7718     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7719     do
7720       ac_preproc_ok=false
7721 for ac_c_preproc_warn_flag in '' yes
7722 do
7723   # Use a header file that comes with gcc, so configuring glibc
7724   # with a fresh cross-compiler works.
7725   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7726   # <limits.h> exists even on freestanding compilers.
7727   # On the NeXT, cc -E runs the code through the compiler's parser,
7728   # not just through cpp. "Syntax error" is here to catch this case.
7729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h.  */
7731 #ifdef __STDC__
7732 # include <limits.h>
7733 #else
7734 # include <assert.h>
7735 #endif
7736                      Syntax error
7737 _ACEOF
7738 if ac_fn_c_try_cpp "$LINENO"; then :
7739
7740 else
7741   # Broken: fails on valid input.
7742 continue
7743 fi
7744 rm -f conftest.err conftest.i conftest.$ac_ext
7745
7746   # OK, works on sane cases.  Now check whether nonexistent headers
7747   # can be detected and how.
7748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h.  */
7750 #include <ac_nonexistent.h>
7751 _ACEOF
7752 if ac_fn_c_try_cpp "$LINENO"; then :
7753   # Broken: success on invalid input.
7754 continue
7755 else
7756   # Passes both tests.
7757 ac_preproc_ok=:
7758 break
7759 fi
7760 rm -f conftest.err conftest.i conftest.$ac_ext
7761
7762 done
7763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7764 rm -f conftest.i conftest.err conftest.$ac_ext
7765 if $ac_preproc_ok; then :
7766   break
7767 fi
7768
7769     done
7770     ac_cv_prog_CPP=$CPP
7771
7772 fi
7773   CPP=$ac_cv_prog_CPP
7774 else
7775   ac_cv_prog_CPP=$CPP
7776 fi
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7778 $as_echo "$CPP" >&6; }
7779 ac_preproc_ok=false
7780 for ac_c_preproc_warn_flag in '' yes
7781 do
7782   # Use a header file that comes with gcc, so configuring glibc
7783   # with a fresh cross-compiler works.
7784   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7785   # <limits.h> exists even on freestanding compilers.
7786   # On the NeXT, cc -E runs the code through the compiler's parser,
7787   # not just through cpp. "Syntax error" is here to catch this case.
7788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h.  */
7790 #ifdef __STDC__
7791 # include <limits.h>
7792 #else
7793 # include <assert.h>
7794 #endif
7795                      Syntax error
7796 _ACEOF
7797 if ac_fn_c_try_cpp "$LINENO"; then :
7798
7799 else
7800   # Broken: fails on valid input.
7801 continue
7802 fi
7803 rm -f conftest.err conftest.i conftest.$ac_ext
7804
7805   # OK, works on sane cases.  Now check whether nonexistent headers
7806   # can be detected and how.
7807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h.  */
7809 #include <ac_nonexistent.h>
7810 _ACEOF
7811 if ac_fn_c_try_cpp "$LINENO"; then :
7812   # Broken: success on invalid input.
7813 continue
7814 else
7815   # Passes both tests.
7816 ac_preproc_ok=:
7817 break
7818 fi
7819 rm -f conftest.err conftest.i conftest.$ac_ext
7820
7821 done
7822 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7823 rm -f conftest.i conftest.err conftest.$ac_ext
7824 if $ac_preproc_ok; then :
7825
7826 else
7827   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7829 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7830 See \`config.log' for more details" "$LINENO" 5; }
7831 fi
7832
7833 ac_ext=c
7834 ac_cpp='$CPP $CPPFLAGS'
7835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7838
7839
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7841 $as_echo_n "checking for ANSI C header files... " >&6; }
7842 if ${ac_cv_header_stdc+:} false; then :
7843   $as_echo_n "(cached) " >&6
7844 else
7845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7846 /* end confdefs.h.  */
7847 #include <stdlib.h>
7848 #include <stdarg.h>
7849 #include <string.h>
7850 #include <float.h>
7851
7852 int
7853 main ()
7854 {
7855
7856   ;
7857   return 0;
7858 }
7859 _ACEOF
7860 if ac_fn_c_try_compile "$LINENO"; then :
7861   ac_cv_header_stdc=yes
7862 else
7863   ac_cv_header_stdc=no
7864 fi
7865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7866
7867 if test $ac_cv_header_stdc = yes; then
7868   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h.  */
7871 #include <string.h>
7872
7873 _ACEOF
7874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7875   $EGREP "memchr" >/dev/null 2>&1; then :
7876
7877 else
7878   ac_cv_header_stdc=no
7879 fi
7880 rm -f conftest*
7881
7882 fi
7883
7884 if test $ac_cv_header_stdc = yes; then
7885   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7887 /* end confdefs.h.  */
7888 #include <stdlib.h>
7889
7890 _ACEOF
7891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7892   $EGREP "free" >/dev/null 2>&1; then :
7893
7894 else
7895   ac_cv_header_stdc=no
7896 fi
7897 rm -f conftest*
7898
7899 fi
7900
7901 if test $ac_cv_header_stdc = yes; then
7902   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7903   if test "$cross_compiling" = yes; then :
7904   :
7905 else
7906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7907 /* end confdefs.h.  */
7908 #include <ctype.h>
7909 #include <stdlib.h>
7910 #if ((' ' & 0x0FF) == 0x020)
7911 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7912 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7913 #else
7914 # define ISLOWER(c) \
7915                    (('a' <= (c) && (c) <= 'i') \
7916                      || ('j' <= (c) && (c) <= 'r') \
7917                      || ('s' <= (c) && (c) <= 'z'))
7918 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7919 #endif
7920
7921 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7922 int
7923 main ()
7924 {
7925   int i;
7926   for (i = 0; i < 256; i++)
7927     if (XOR (islower (i), ISLOWER (i))
7928         || toupper (i) != TOUPPER (i))
7929       return 2;
7930   return 0;
7931 }
7932 _ACEOF
7933 if ac_fn_c_try_run "$LINENO"; then :
7934
7935 else
7936   ac_cv_header_stdc=no
7937 fi
7938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7939   conftest.$ac_objext conftest.beam conftest.$ac_ext
7940 fi
7941
7942 fi
7943 fi
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7945 $as_echo "$ac_cv_header_stdc" >&6; }
7946 if test $ac_cv_header_stdc = yes; then
7947
7948 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7949
7950 fi
7951
7952 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7953 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7954                   inttypes.h stdint.h unistd.h
7955 do :
7956   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7957 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7958 "
7959 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7960   cat >>confdefs.h <<_ACEOF
7961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7962 _ACEOF
7963
7964 fi
7965
7966 done
7967
7968
7969 for ac_header in dlfcn.h
7970 do :
7971   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7972 "
7973 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7974   cat >>confdefs.h <<_ACEOF
7975 #define HAVE_DLFCN_H 1
7976 _ACEOF
7977
7978 fi
7979
7980 done
7981
7982
7983
7984
7985
7986 # Set options
7987 # Check whether --enable-static was given.
7988 if test "${enable_static+set}" = set; then :
7989   enableval=$enable_static; p=${PACKAGE-default}
7990     case $enableval in
7991     yes) enable_static=yes ;;
7992     no) enable_static=no ;;
7993     *)
7994      enable_static=no
7995       # Look at the argument we got.  We use all the common list separators.
7996       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7997       for pkg in $enableval; do
7998         IFS="$lt_save_ifs"
7999         if test "X$pkg" = "X$p"; then
8000           enable_static=yes
8001         fi
8002       done
8003       IFS="$lt_save_ifs"
8004       ;;
8005     esac
8006 else
8007   enable_static=no
8008 fi
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019         enable_dlopen=no
8020
8021
8022   enable_win32_dll=no
8023
8024
8025             # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027   enableval=$enable_shared; p=${PACKAGE-default}
8028     case $enableval in
8029     yes) enable_shared=yes ;;
8030     no) enable_shared=no ;;
8031     *)
8032       enable_shared=no
8033       # Look at the argument we got.  We use all the common list separators.
8034       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035       for pkg in $enableval; do
8036         IFS="$lt_save_ifs"
8037         if test "X$pkg" = "X$p"; then
8038           enable_shared=yes
8039         fi
8040       done
8041       IFS="$lt_save_ifs"
8042       ;;
8043     esac
8044 else
8045   enable_shared=yes
8046 fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058 # Check whether --with-pic was given.
8059 if test "${with_pic+set}" = set; then :
8060   withval=$with_pic; lt_p=${PACKAGE-default}
8061     case $withval in
8062     yes|no) pic_mode=$withval ;;
8063     *)
8064       pic_mode=default
8065       # Look at the argument we got.  We use all the common list separators.
8066       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8067       for lt_pkg in $withval; do
8068         IFS="$lt_save_ifs"
8069         if test "X$lt_pkg" = "X$lt_p"; then
8070           pic_mode=yes
8071         fi
8072       done
8073       IFS="$lt_save_ifs"
8074       ;;
8075     esac
8076 else
8077   pic_mode=default
8078 fi
8079
8080
8081 test -z "$pic_mode" && pic_mode=default
8082
8083
8084
8085
8086
8087
8088
8089   # Check whether --enable-fast-install was given.
8090 if test "${enable_fast_install+set}" = set; then :
8091   enableval=$enable_fast_install; p=${PACKAGE-default}
8092     case $enableval in
8093     yes) enable_fast_install=yes ;;
8094     no) enable_fast_install=no ;;
8095     *)
8096       enable_fast_install=no
8097       # Look at the argument we got.  We use all the common list separators.
8098       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8099       for pkg in $enableval; do
8100         IFS="$lt_save_ifs"
8101         if test "X$pkg" = "X$p"; then
8102           enable_fast_install=yes
8103         fi
8104       done
8105       IFS="$lt_save_ifs"
8106       ;;
8107     esac
8108 else
8109   enable_fast_install=yes
8110 fi
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122 # This can be used to rebuild libtool when needed
8123 LIBTOOL_DEPS="$ltmain"
8124
8125 # Always use our own libtool.
8126 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157 test -z "$LN_S" && LN_S="ln -s"
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172 if test -n "${ZSH_VERSION+set}" ; then
8173    setopt NO_GLOB_SUBST
8174 fi
8175
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8177 $as_echo_n "checking for objdir... " >&6; }
8178 if ${lt_cv_objdir+:} false; then :
8179   $as_echo_n "(cached) " >&6
8180 else
8181   rm -f .libs 2>/dev/null
8182 mkdir .libs 2>/dev/null
8183 if test -d .libs; then
8184   lt_cv_objdir=.libs
8185 else
8186   # MS-DOS does not allow filenames that begin with a dot.
8187   lt_cv_objdir=_libs
8188 fi
8189 rmdir .libs 2>/dev/null
8190 fi
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8192 $as_echo "$lt_cv_objdir" >&6; }
8193 objdir=$lt_cv_objdir
8194
8195
8196
8197
8198
8199 cat >>confdefs.h <<_ACEOF
8200 #define LT_OBJDIR "$lt_cv_objdir/"
8201 _ACEOF
8202
8203
8204
8205
8206 case $host_os in
8207 aix3*)
8208   # AIX sometimes has problems with the GCC collect2 program.  For some
8209   # reason, if we set the COLLECT_NAMES environment variable, the problems
8210   # vanish in a puff of smoke.
8211   if test "X${COLLECT_NAMES+set}" != Xset; then
8212     COLLECT_NAMES=
8213     export COLLECT_NAMES
8214   fi
8215   ;;
8216 esac
8217
8218 # Global variables:
8219 ofile=libtool
8220 can_build_shared=yes
8221
8222 # All known linkers require a `.a' archive for static linking (except MSVC,
8223 # which needs '.lib').
8224 libext=a
8225
8226 with_gnu_ld="$lt_cv_prog_gnu_ld"
8227
8228 old_CC="$CC"
8229 old_CFLAGS="$CFLAGS"
8230
8231 # Set sane defaults for various variables
8232 test -z "$CC" && CC=cc
8233 test -z "$LTCC" && LTCC=$CC
8234 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8235 test -z "$LD" && LD=ld
8236 test -z "$ac_objext" && ac_objext=o
8237
8238 for cc_temp in $compiler""; do
8239   case $cc_temp in
8240     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8241     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8242     \-*) ;;
8243     *) break;;
8244   esac
8245 done
8246 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8247
8248
8249 # Only perform the check for file, if the check method requires it
8250 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8251 case $deplibs_check_method in
8252 file_magic*)
8253   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8254     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8255 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8256 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8257   $as_echo_n "(cached) " >&6
8258 else
8259   case $MAGIC_CMD in
8260 [\\/*] |  ?:[\\/]*)
8261   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8262   ;;
8263 *)
8264   lt_save_MAGIC_CMD="$MAGIC_CMD"
8265   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8266   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8267   for ac_dir in $ac_dummy; do
8268     IFS="$lt_save_ifs"
8269     test -z "$ac_dir" && ac_dir=.
8270     if test -f $ac_dir/${ac_tool_prefix}file; then
8271       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8272       if test -n "$file_magic_test_file"; then
8273         case $deplibs_check_method in
8274         "file_magic "*)
8275           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8276           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8277           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8278             $EGREP "$file_magic_regex" > /dev/null; then
8279             :
8280           else
8281             cat <<_LT_EOF 1>&2
8282
8283 *** Warning: the command libtool uses to detect shared libraries,
8284 *** $file_magic_cmd, produces output that libtool cannot recognize.
8285 *** The result is that libtool may fail to recognize shared libraries
8286 *** as such.  This will affect the creation of libtool libraries that
8287 *** depend on shared libraries, but programs linked with such libtool
8288 *** libraries will work regardless of this problem.  Nevertheless, you
8289 *** may want to report the problem to your system manager and/or to
8290 *** bug-libtool@gnu.org
8291
8292 _LT_EOF
8293           fi ;;
8294         esac
8295       fi
8296       break
8297     fi
8298   done
8299   IFS="$lt_save_ifs"
8300   MAGIC_CMD="$lt_save_MAGIC_CMD"
8301   ;;
8302 esac
8303 fi
8304
8305 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8306 if test -n "$MAGIC_CMD"; then
8307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8308 $as_echo "$MAGIC_CMD" >&6; }
8309 else
8310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8311 $as_echo "no" >&6; }
8312 fi
8313
8314
8315
8316
8317
8318 if test -z "$lt_cv_path_MAGIC_CMD"; then
8319   if test -n "$ac_tool_prefix"; then
8320     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8321 $as_echo_n "checking for file... " >&6; }
8322 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8323   $as_echo_n "(cached) " >&6
8324 else
8325   case $MAGIC_CMD in
8326 [\\/*] |  ?:[\\/]*)
8327   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8328   ;;
8329 *)
8330   lt_save_MAGIC_CMD="$MAGIC_CMD"
8331   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8332   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8333   for ac_dir in $ac_dummy; do
8334     IFS="$lt_save_ifs"
8335     test -z "$ac_dir" && ac_dir=.
8336     if test -f $ac_dir/file; then
8337       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8338       if test -n "$file_magic_test_file"; then
8339         case $deplibs_check_method in
8340         "file_magic "*)
8341           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8342           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8343           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8344             $EGREP "$file_magic_regex" > /dev/null; then
8345             :
8346           else
8347             cat <<_LT_EOF 1>&2
8348
8349 *** Warning: the command libtool uses to detect shared libraries,
8350 *** $file_magic_cmd, produces output that libtool cannot recognize.
8351 *** The result is that libtool may fail to recognize shared libraries
8352 *** as such.  This will affect the creation of libtool libraries that
8353 *** depend on shared libraries, but programs linked with such libtool
8354 *** libraries will work regardless of this problem.  Nevertheless, you
8355 *** may want to report the problem to your system manager and/or to
8356 *** bug-libtool@gnu.org
8357
8358 _LT_EOF
8359           fi ;;
8360         esac
8361       fi
8362       break
8363     fi
8364   done
8365   IFS="$lt_save_ifs"
8366   MAGIC_CMD="$lt_save_MAGIC_CMD"
8367   ;;
8368 esac
8369 fi
8370
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if test -n "$MAGIC_CMD"; then
8373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8374 $as_echo "$MAGIC_CMD" >&6; }
8375 else
8376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8377 $as_echo "no" >&6; }
8378 fi
8379
8380
8381   else
8382     MAGIC_CMD=:
8383   fi
8384 fi
8385
8386   fi
8387   ;;
8388 esac
8389
8390 # Use C for the default configuration in the libtool script
8391
8392 lt_save_CC="$CC"
8393 ac_ext=c
8394 ac_cpp='$CPP $CPPFLAGS'
8395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8398
8399
8400 # Source file extension for C test sources.
8401 ac_ext=c
8402
8403 # Object file extension for compiled C test sources.
8404 objext=o
8405 objext=$objext
8406
8407 # Code to be used in simple compile tests
8408 lt_simple_compile_test_code="int some_variable = 0;"
8409
8410 # Code to be used in simple link tests
8411 lt_simple_link_test_code='int main(){return(0);}'
8412
8413
8414
8415
8416
8417
8418
8419 # If no C compiler was specified, use CC.
8420 LTCC=${LTCC-"$CC"}
8421
8422 # If no C compiler flags were specified, use CFLAGS.
8423 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8424
8425 # Allow CC to be a program name with arguments.
8426 compiler=$CC
8427
8428 # Save the default compiler, since it gets overwritten when the other
8429 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8430 compiler_DEFAULT=$CC
8431
8432 # save warnings/boilerplate of simple test code
8433 ac_outfile=conftest.$ac_objext
8434 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8435 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8436 _lt_compiler_boilerplate=`cat conftest.err`
8437 $RM conftest*
8438
8439 ac_outfile=conftest.$ac_objext
8440 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8441 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8442 _lt_linker_boilerplate=`cat conftest.err`
8443 $RM -r conftest*
8444
8445
8446 ## CAVEAT EMPTOR:
8447 ## There is no encapsulation within the following macros, do not change
8448 ## the running order or otherwise move them around unless you know exactly
8449 ## what you are doing...
8450 if test -n "$compiler"; then
8451
8452 lt_prog_compiler_no_builtin_flag=
8453
8454 if test "$GCC" = yes; then
8455   case $cc_basename in
8456   nvcc*)
8457     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8458   *)
8459     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8460   esac
8461
8462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8463 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8464 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8465   $as_echo_n "(cached) " >&6
8466 else
8467   lt_cv_prog_compiler_rtti_exceptions=no
8468    ac_outfile=conftest.$ac_objext
8469    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8470    lt_compiler_flag="-fno-rtti -fno-exceptions"
8471    # Insert the option either (1) after the last *FLAGS variable, or
8472    # (2) before a word containing "conftest.", or (3) at the end.
8473    # Note that $ac_compile itself does not contain backslashes and begins
8474    # with a dollar sign (not a hyphen), so the echo should work correctly.
8475    # The option is referenced via a variable to avoid confusing sed.
8476    lt_compile=`echo "$ac_compile" | $SED \
8477    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8478    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8479    -e 's:$: $lt_compiler_flag:'`
8480    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8481    (eval "$lt_compile" 2>conftest.err)
8482    ac_status=$?
8483    cat conftest.err >&5
8484    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485    if (exit $ac_status) && test -s "$ac_outfile"; then
8486      # The compiler can only warn and ignore the option if not recognized
8487      # So say no if there are warnings other than the usual output.
8488      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8489      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8490      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8491        lt_cv_prog_compiler_rtti_exceptions=yes
8492      fi
8493    fi
8494    $RM conftest*
8495
8496 fi
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8498 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8499
8500 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8501     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8502 else
8503     :
8504 fi
8505
8506 fi
8507
8508
8509
8510
8511
8512
8513   lt_prog_compiler_wl=
8514 lt_prog_compiler_pic=
8515 lt_prog_compiler_static=
8516
8517
8518   if test "$GCC" = yes; then
8519     lt_prog_compiler_wl='-Wl,'
8520     lt_prog_compiler_static='-static'
8521
8522     case $host_os in
8523       aix*)
8524       # All AIX code is PIC.
8525       if test "$host_cpu" = ia64; then
8526         # AIX 5 now supports IA64 processor
8527         lt_prog_compiler_static='-Bstatic'
8528       fi
8529       ;;
8530
8531     amigaos*)
8532       case $host_cpu in
8533       powerpc)
8534             # see comment about AmigaOS4 .so support
8535             lt_prog_compiler_pic='-fPIC'
8536         ;;
8537       m68k)
8538             # FIXME: we need at least 68020 code to build shared libraries, but
8539             # adding the `-m68020' flag to GCC prevents building anything better,
8540             # like `-m68040'.
8541             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8542         ;;
8543       esac
8544       ;;
8545
8546     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8547       # PIC is the default for these OSes.
8548       ;;
8549
8550     mingw* | cygwin* | pw32* | os2* | cegcc*)
8551       # This hack is so that the source file can tell whether it is being
8552       # built for inclusion in a dll (and should export symbols for example).
8553       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8554       # (--disable-auto-import) libraries
8555       lt_prog_compiler_pic='-DDLL_EXPORT'
8556       ;;
8557
8558     darwin* | rhapsody*)
8559       # PIC is the default on this platform
8560       # Common symbols not allowed in MH_DYLIB files
8561       lt_prog_compiler_pic='-fno-common'
8562       ;;
8563
8564     haiku*)
8565       # PIC is the default for Haiku.
8566       # The "-static" flag exists, but is broken.
8567       lt_prog_compiler_static=
8568       ;;
8569
8570     hpux*)
8571       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8572       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8573       # sets the default TLS model and affects inlining.
8574       case $host_cpu in
8575       hppa*64*)
8576         # +Z the default
8577         ;;
8578       *)
8579         lt_prog_compiler_pic='-fPIC'
8580         ;;
8581       esac
8582       ;;
8583
8584     interix[3-9]*)
8585       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8586       # Instead, we relocate shared libraries at runtime.
8587       ;;
8588
8589     msdosdjgpp*)
8590       # Just because we use GCC doesn't mean we suddenly get shared libraries
8591       # on systems that don't support them.
8592       lt_prog_compiler_can_build_shared=no
8593       enable_shared=no
8594       ;;
8595
8596     *nto* | *qnx*)
8597       # QNX uses GNU C++, but need to define -shared option too, otherwise
8598       # it will coredump.
8599       lt_prog_compiler_pic='-fPIC -shared'
8600       ;;
8601
8602     sysv4*MP*)
8603       if test -d /usr/nec; then
8604         lt_prog_compiler_pic=-Kconform_pic
8605       fi
8606       ;;
8607
8608     *)
8609       lt_prog_compiler_pic='-fPIC'
8610       ;;
8611     esac
8612
8613     case $cc_basename in
8614     nvcc*) # Cuda Compiler Driver 2.2
8615       lt_prog_compiler_wl='-Xlinker '
8616       if test -n "$lt_prog_compiler_pic"; then
8617         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8618       fi
8619       ;;
8620     esac
8621   else
8622     # PORTME Check for flag to pass linker flags through the system compiler.
8623     case $host_os in
8624     aix*)
8625       lt_prog_compiler_wl='-Wl,'
8626       if test "$host_cpu" = ia64; then
8627         # AIX 5 now supports IA64 processor
8628         lt_prog_compiler_static='-Bstatic'
8629       else
8630         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8631       fi
8632       ;;
8633
8634     mingw* | cygwin* | pw32* | os2* | cegcc*)
8635       # This hack is so that the source file can tell whether it is being
8636       # built for inclusion in a dll (and should export symbols for example).
8637       lt_prog_compiler_pic='-DDLL_EXPORT'
8638       ;;
8639
8640     hpux9* | hpux10* | hpux11*)
8641       lt_prog_compiler_wl='-Wl,'
8642       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8643       # not for PA HP-UX.
8644       case $host_cpu in
8645       hppa*64*|ia64*)
8646         # +Z the default
8647         ;;
8648       *)
8649         lt_prog_compiler_pic='+Z'
8650         ;;
8651       esac
8652       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8653       lt_prog_compiler_static='${wl}-a ${wl}archive'
8654       ;;
8655
8656     irix5* | irix6* | nonstopux*)
8657       lt_prog_compiler_wl='-Wl,'
8658       # PIC (with -KPIC) is the default.
8659       lt_prog_compiler_static='-non_shared'
8660       ;;
8661
8662     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8663       case $cc_basename in
8664       # old Intel for x86_64 which still supported -KPIC.
8665       ecc*)
8666         lt_prog_compiler_wl='-Wl,'
8667         lt_prog_compiler_pic='-KPIC'
8668         lt_prog_compiler_static='-static'
8669         ;;
8670       # icc used to be incompatible with GCC.
8671       # ICC 10 doesn't accept -KPIC any more.
8672       icc* | ifort*)
8673         lt_prog_compiler_wl='-Wl,'
8674         lt_prog_compiler_pic='-fPIC'
8675         lt_prog_compiler_static='-static'
8676         ;;
8677       # Lahey Fortran 8.1.
8678       lf95*)
8679         lt_prog_compiler_wl='-Wl,'
8680         lt_prog_compiler_pic='--shared'
8681         lt_prog_compiler_static='--static'
8682         ;;
8683       nagfor*)
8684         # NAG Fortran compiler
8685         lt_prog_compiler_wl='-Wl,-Wl,,'
8686         lt_prog_compiler_pic='-PIC'
8687         lt_prog_compiler_static='-Bstatic'
8688         ;;
8689       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8690         # Portland Group compilers (*not* the Pentium gcc compiler,
8691         # which looks to be a dead project)
8692         lt_prog_compiler_wl='-Wl,'
8693         lt_prog_compiler_pic='-fpic'
8694         lt_prog_compiler_static='-Bstatic'
8695         ;;
8696       ccc*)
8697         lt_prog_compiler_wl='-Wl,'
8698         # All Alpha code is PIC.
8699         lt_prog_compiler_static='-non_shared'
8700         ;;
8701       xl* | bgxl* | bgf* | mpixl*)
8702         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8703         lt_prog_compiler_wl='-Wl,'
8704         lt_prog_compiler_pic='-qpic'
8705         lt_prog_compiler_static='-qstaticlink'
8706         ;;
8707       *)
8708         case `$CC -V 2>&1 | sed 5q` in
8709         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8710           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8711           lt_prog_compiler_pic='-KPIC'
8712           lt_prog_compiler_static='-Bstatic'
8713           lt_prog_compiler_wl=''
8714           ;;
8715         *Sun\ F* | *Sun*Fortran*)
8716           lt_prog_compiler_pic='-KPIC'
8717           lt_prog_compiler_static='-Bstatic'
8718           lt_prog_compiler_wl='-Qoption ld '
8719           ;;
8720         *Sun\ C*)
8721           # Sun C 5.9
8722           lt_prog_compiler_pic='-KPIC'
8723           lt_prog_compiler_static='-Bstatic'
8724           lt_prog_compiler_wl='-Wl,'
8725           ;;
8726         *Intel*\ [CF]*Compiler*)
8727           lt_prog_compiler_wl='-Wl,'
8728           lt_prog_compiler_pic='-fPIC'
8729           lt_prog_compiler_static='-static'
8730           ;;
8731         *Portland\ Group*)
8732           lt_prog_compiler_wl='-Wl,'
8733           lt_prog_compiler_pic='-fpic'
8734           lt_prog_compiler_static='-Bstatic'
8735           ;;
8736         esac
8737         ;;
8738       esac
8739       ;;
8740
8741     newsos6)
8742       lt_prog_compiler_pic='-KPIC'
8743       lt_prog_compiler_static='-Bstatic'
8744       ;;
8745
8746     *nto* | *qnx*)
8747       # QNX uses GNU C++, but need to define -shared option too, otherwise
8748       # it will coredump.
8749       lt_prog_compiler_pic='-fPIC -shared'
8750       ;;
8751
8752     osf3* | osf4* | osf5*)
8753       lt_prog_compiler_wl='-Wl,'
8754       # All OSF/1 code is PIC.
8755       lt_prog_compiler_static='-non_shared'
8756       ;;
8757
8758     rdos*)
8759       lt_prog_compiler_static='-non_shared'
8760       ;;
8761
8762     solaris*)
8763       lt_prog_compiler_pic='-KPIC'
8764       lt_prog_compiler_static='-Bstatic'
8765       case $cc_basename in
8766       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8767         lt_prog_compiler_wl='-Qoption ld ';;
8768       *)
8769         lt_prog_compiler_wl='-Wl,';;
8770       esac
8771       ;;
8772
8773     sunos4*)
8774       lt_prog_compiler_wl='-Qoption ld '
8775       lt_prog_compiler_pic='-PIC'
8776       lt_prog_compiler_static='-Bstatic'
8777       ;;
8778
8779     sysv4 | sysv4.2uw2* | sysv4.3*)
8780       lt_prog_compiler_wl='-Wl,'
8781       lt_prog_compiler_pic='-KPIC'
8782       lt_prog_compiler_static='-Bstatic'
8783       ;;
8784
8785     sysv4*MP*)
8786       if test -d /usr/nec ;then
8787         lt_prog_compiler_pic='-Kconform_pic'
8788         lt_prog_compiler_static='-Bstatic'
8789       fi
8790       ;;
8791
8792     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8793       lt_prog_compiler_wl='-Wl,'
8794       lt_prog_compiler_pic='-KPIC'
8795       lt_prog_compiler_static='-Bstatic'
8796       ;;
8797
8798     unicos*)
8799       lt_prog_compiler_wl='-Wl,'
8800       lt_prog_compiler_can_build_shared=no
8801       ;;
8802
8803     uts4*)
8804       lt_prog_compiler_pic='-pic'
8805       lt_prog_compiler_static='-Bstatic'
8806       ;;
8807
8808     *)
8809       lt_prog_compiler_can_build_shared=no
8810       ;;
8811     esac
8812   fi
8813
8814 case $host_os in
8815   # For platforms which do not support PIC, -DPIC is meaningless:
8816   *djgpp*)
8817     lt_prog_compiler_pic=
8818     ;;
8819   *)
8820     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8821     ;;
8822 esac
8823
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8825 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8826 if ${lt_cv_prog_compiler_pic+:} false; then :
8827   $as_echo_n "(cached) " >&6
8828 else
8829   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8830 fi
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8832 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8833 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8834
8835 #
8836 # Check to make sure the PIC flag actually works.
8837 #
8838 if test -n "$lt_prog_compiler_pic"; then
8839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8842   $as_echo_n "(cached) " >&6
8843 else
8844   lt_cv_prog_compiler_pic_works=no
8845    ac_outfile=conftest.$ac_objext
8846    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848    # Insert the option either (1) after the last *FLAGS variable, or
8849    # (2) before a word containing "conftest.", or (3) at the end.
8850    # Note that $ac_compile itself does not contain backslashes and begins
8851    # with a dollar sign (not a hyphen), so the echo should work correctly.
8852    # The option is referenced via a variable to avoid confusing sed.
8853    lt_compile=`echo "$ac_compile" | $SED \
8854    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856    -e 's:$: $lt_compiler_flag:'`
8857    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858    (eval "$lt_compile" 2>conftest.err)
8859    ac_status=$?
8860    cat conftest.err >&5
8861    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862    if (exit $ac_status) && test -s "$ac_outfile"; then
8863      # The compiler can only warn and ignore the option if not recognized
8864      # So say no if there are warnings other than the usual output.
8865      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868        lt_cv_prog_compiler_pic_works=yes
8869      fi
8870    fi
8871    $RM conftest*
8872
8873 fi
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8876
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878     case $lt_prog_compiler_pic in
8879      "" | " "*) ;;
8880      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8881      esac
8882 else
8883     lt_prog_compiler_pic=
8884      lt_prog_compiler_can_build_shared=no
8885 fi
8886
8887 fi
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899 #
8900 # Check to make sure the static flag actually works.
8901 #
8902 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8904 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8905 if ${lt_cv_prog_compiler_static_works+:} false; then :
8906   $as_echo_n "(cached) " >&6
8907 else
8908   lt_cv_prog_compiler_static_works=no
8909    save_LDFLAGS="$LDFLAGS"
8910    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8911    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8912    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8913      # The linker can only warn and ignore the option if not recognized
8914      # So say no if there are warnings
8915      if test -s conftest.err; then
8916        # Append any errors to the config.log.
8917        cat conftest.err 1>&5
8918        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8919        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8920        if diff conftest.exp conftest.er2 >/dev/null; then
8921          lt_cv_prog_compiler_static_works=yes
8922        fi
8923      else
8924        lt_cv_prog_compiler_static_works=yes
8925      fi
8926    fi
8927    $RM -r conftest*
8928    LDFLAGS="$save_LDFLAGS"
8929
8930 fi
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8932 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8933
8934 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8935     :
8936 else
8937     lt_prog_compiler_static=
8938 fi
8939
8940
8941
8942
8943
8944
8945
8946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8947 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8948 if ${lt_cv_prog_compiler_c_o+:} false; then :
8949   $as_echo_n "(cached) " >&6
8950 else
8951   lt_cv_prog_compiler_c_o=no
8952    $RM -r conftest 2>/dev/null
8953    mkdir conftest
8954    cd conftest
8955    mkdir out
8956    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8957
8958    lt_compiler_flag="-o out/conftest2.$ac_objext"
8959    # Insert the option either (1) after the last *FLAGS variable, or
8960    # (2) before a word containing "conftest.", or (3) at the end.
8961    # Note that $ac_compile itself does not contain backslashes and begins
8962    # with a dollar sign (not a hyphen), so the echo should work correctly.
8963    lt_compile=`echo "$ac_compile" | $SED \
8964    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8965    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966    -e 's:$: $lt_compiler_flag:'`
8967    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8968    (eval "$lt_compile" 2>out/conftest.err)
8969    ac_status=$?
8970    cat out/conftest.err >&5
8971    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8973    then
8974      # The compiler can only warn and ignore the option if not recognized
8975      # So say no if there are warnings
8976      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8977      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8978      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8979        lt_cv_prog_compiler_c_o=yes
8980      fi
8981    fi
8982    chmod u+w . 2>&5
8983    $RM conftest*
8984    # SGI C++ compiler will create directory out/ii_files/ for
8985    # template instantiation
8986    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8987    $RM out/* && rmdir out
8988    cd ..
8989    $RM -r conftest
8990    $RM conftest*
8991
8992 fi
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8995
8996
8997
8998
8999
9000
9001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9003 if ${lt_cv_prog_compiler_c_o+:} false; then :
9004   $as_echo_n "(cached) " >&6
9005 else
9006   lt_cv_prog_compiler_c_o=no
9007    $RM -r conftest 2>/dev/null
9008    mkdir conftest
9009    cd conftest
9010    mkdir out
9011    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9012
9013    lt_compiler_flag="-o out/conftest2.$ac_objext"
9014    # Insert the option either (1) after the last *FLAGS variable, or
9015    # (2) before a word containing "conftest.", or (3) at the end.
9016    # Note that $ac_compile itself does not contain backslashes and begins
9017    # with a dollar sign (not a hyphen), so the echo should work correctly.
9018    lt_compile=`echo "$ac_compile" | $SED \
9019    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021    -e 's:$: $lt_compiler_flag:'`
9022    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9023    (eval "$lt_compile" 2>out/conftest.err)
9024    ac_status=$?
9025    cat out/conftest.err >&5
9026    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9028    then
9029      # The compiler can only warn and ignore the option if not recognized
9030      # So say no if there are warnings
9031      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9032      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9033      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9034        lt_cv_prog_compiler_c_o=yes
9035      fi
9036    fi
9037    chmod u+w . 2>&5
9038    $RM conftest*
9039    # SGI C++ compiler will create directory out/ii_files/ for
9040    # template instantiation
9041    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9042    $RM out/* && rmdir out
9043    cd ..
9044    $RM -r conftest
9045    $RM conftest*
9046
9047 fi
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9050
9051
9052
9053
9054 hard_links="nottested"
9055 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9056   # do not overwrite the value of need_locks provided by the user
9057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9058 $as_echo_n "checking if we can lock with hard links... " >&6; }
9059   hard_links=yes
9060   $RM conftest*
9061   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9062   touch conftest.a
9063   ln conftest.a conftest.b 2>&5 || hard_links=no
9064   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9066 $as_echo "$hard_links" >&6; }
9067   if test "$hard_links" = no; then
9068     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9069 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9070     need_locks=warn
9071   fi
9072 else
9073   need_locks=no
9074 fi
9075
9076
9077
9078
9079
9080
9081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9082 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9083
9084   runpath_var=
9085   allow_undefined_flag=
9086   always_export_symbols=no
9087   archive_cmds=
9088   archive_expsym_cmds=
9089   compiler_needs_object=no
9090   enable_shared_with_static_runtimes=no
9091   export_dynamic_flag_spec=
9092   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9093   hardcode_automatic=no
9094   hardcode_direct=no
9095   hardcode_direct_absolute=no
9096   hardcode_libdir_flag_spec=
9097   hardcode_libdir_separator=
9098   hardcode_minus_L=no
9099   hardcode_shlibpath_var=unsupported
9100   inherit_rpath=no
9101   link_all_deplibs=unknown
9102   module_cmds=
9103   module_expsym_cmds=
9104   old_archive_from_new_cmds=
9105   old_archive_from_expsyms_cmds=
9106   thread_safe_flag_spec=
9107   whole_archive_flag_spec=
9108   # include_expsyms should be a list of space-separated symbols to be *always*
9109   # included in the symbol list
9110   include_expsyms=
9111   # exclude_expsyms can be an extended regexp of symbols to exclude
9112   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9113   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9114   # as well as any symbol that contains `d'.
9115   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9116   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9117   # platforms (ab)use it in PIC code, but their linkers get confused if
9118   # the symbol is explicitly referenced.  Since portable code cannot
9119   # rely on this symbol name, it's probably fine to never include it in
9120   # preloaded symbol tables.
9121   # Exclude shared library initialization/finalization symbols.
9122   extract_expsyms_cmds=
9123
9124   case $host_os in
9125   cygwin* | mingw* | pw32* | cegcc*)
9126     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9127     # When not using gcc, we currently assume that we are using
9128     # Microsoft Visual C++.
9129     if test "$GCC" != yes; then
9130       with_gnu_ld=no
9131     fi
9132     ;;
9133   interix*)
9134     # we just hope/assume this is gcc and not c89 (= MSVC++)
9135     with_gnu_ld=yes
9136     ;;
9137   openbsd*)
9138     with_gnu_ld=no
9139     ;;
9140   linux* | k*bsd*-gnu | gnu*)
9141     link_all_deplibs=no
9142     ;;
9143   esac
9144
9145   ld_shlibs=yes
9146
9147   # On some targets, GNU ld is compatible enough with the native linker
9148   # that we're better off using the native interface for both.
9149   lt_use_gnu_ld_interface=no
9150   if test "$with_gnu_ld" = yes; then
9151     case $host_os in
9152       aix*)
9153         # The AIX port of GNU ld has always aspired to compatibility
9154         # with the native linker.  However, as the warning in the GNU ld
9155         # block says, versions before 2.19.5* couldn't really create working
9156         # shared libraries, regardless of the interface used.
9157         case `$LD -v 2>&1` in
9158           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9159           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9160           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9161           *)
9162             lt_use_gnu_ld_interface=yes
9163             ;;
9164         esac
9165         ;;
9166       *)
9167         lt_use_gnu_ld_interface=yes
9168         ;;
9169     esac
9170   fi
9171
9172   if test "$lt_use_gnu_ld_interface" = yes; then
9173     # If archive_cmds runs LD, not CC, wlarc should be empty
9174     wlarc='${wl}'
9175
9176     # Set some defaults for GNU ld with shared library support. These
9177     # are reset later if shared libraries are not supported. Putting them
9178     # here allows them to be overridden if necessary.
9179     runpath_var=LD_RUN_PATH
9180     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9181     export_dynamic_flag_spec='${wl}--export-dynamic'
9182     # ancient GNU ld didn't support --whole-archive et. al.
9183     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9184       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9185     else
9186       whole_archive_flag_spec=
9187     fi
9188     supports_anon_versioning=no
9189     case `$LD -v 2>&1` in
9190       *GNU\ gold*) supports_anon_versioning=yes ;;
9191       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9192       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9193       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9194       *\ 2.11.*) ;; # other 2.11 versions
9195       *) supports_anon_versioning=yes ;;
9196     esac
9197
9198     # See if GNU ld supports shared libraries.
9199     case $host_os in
9200     aix[3-9]*)
9201       # On AIX/PPC, the GNU linker is very broken
9202       if test "$host_cpu" != ia64; then
9203         ld_shlibs=no
9204         cat <<_LT_EOF 1>&2
9205
9206 *** Warning: the GNU linker, at least up to release 2.19, is reported
9207 *** to be unable to reliably create shared libraries on AIX.
9208 *** Therefore, libtool is disabling shared libraries support.  If you
9209 *** really care for shared libraries, you may want to install binutils
9210 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9211 *** You will then need to restart the configuration process.
9212
9213 _LT_EOF
9214       fi
9215       ;;
9216
9217     amigaos*)
9218       case $host_cpu in
9219       powerpc)
9220             # see comment about AmigaOS4 .so support
9221             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9222             archive_expsym_cmds=''
9223         ;;
9224       m68k)
9225             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)'
9226             hardcode_libdir_flag_spec='-L$libdir'
9227             hardcode_minus_L=yes
9228         ;;
9229       esac
9230       ;;
9231
9232     beos*)
9233       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9234         allow_undefined_flag=unsupported
9235         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9236         # support --undefined.  This deserves some investigation.  FIXME
9237         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238       else
9239         ld_shlibs=no
9240       fi
9241       ;;
9242
9243     cygwin* | mingw* | pw32* | cegcc*)
9244       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9245       # as there is no search path for DLLs.
9246       hardcode_libdir_flag_spec='-L$libdir'
9247       export_dynamic_flag_spec='${wl}--export-all-symbols'
9248       allow_undefined_flag=unsupported
9249       always_export_symbols=no
9250       enable_shared_with_static_runtimes=yes
9251       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'
9252       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9253
9254       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9255         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9256         # If the export-symbols file already is a .def file (1st line
9257         # is EXPORTS), use it as is; otherwise, prepend...
9258         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9259           cp $export_symbols $output_objdir/$soname.def;
9260         else
9261           echo EXPORTS > $output_objdir/$soname.def;
9262           cat $export_symbols >> $output_objdir/$soname.def;
9263         fi~
9264         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9265       else
9266         ld_shlibs=no
9267       fi
9268       ;;
9269
9270     haiku*)
9271       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9272       link_all_deplibs=yes
9273       ;;
9274
9275     interix[3-9]*)
9276       hardcode_direct=no
9277       hardcode_shlibpath_var=no
9278       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9279       export_dynamic_flag_spec='${wl}-E'
9280       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9281       # Instead, shared libraries are loaded at an image base (0x10000000 by
9282       # default) and relocated if they conflict, which is a slow very memory
9283       # consuming and fragmenting process.  To avoid this, we pick a random,
9284       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9285       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9286       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9287       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'
9288       ;;
9289
9290     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9291       tmp_diet=no
9292       if test "$host_os" = linux-dietlibc; then
9293         case $cc_basename in
9294           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9295         esac
9296       fi
9297       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9298          && test "$tmp_diet" = no
9299       then
9300         tmp_addflag=' $pic_flag'
9301         tmp_sharedflag='-shared'
9302         case $cc_basename,$host_cpu in
9303         pgcc*)                          # Portland Group C compiler
9304           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'
9305           tmp_addflag=' $pic_flag'
9306           ;;
9307         pgf77* | pgf90* | pgf95* | pgfortran*)
9308                                         # Portland Group f77 and f90 compilers
9309           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'
9310           tmp_addflag=' $pic_flag -Mnomain' ;;
9311         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9312           tmp_addflag=' -i_dynamic' ;;
9313         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9314           tmp_addflag=' -i_dynamic -nofor_main' ;;
9315         ifc* | ifort*)                  # Intel Fortran compiler
9316           tmp_addflag=' -nofor_main' ;;
9317         lf95*)                          # Lahey Fortran 8.1
9318           whole_archive_flag_spec=
9319           tmp_sharedflag='--shared' ;;
9320         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9321           tmp_sharedflag='-qmkshrobj'
9322           tmp_addflag= ;;
9323         nvcc*)  # Cuda Compiler Driver 2.2
9324           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'
9325           compiler_needs_object=yes
9326           ;;
9327         esac
9328         case `$CC -V 2>&1 | sed 5q` in
9329         *Sun\ C*)                       # Sun C 5.9
9330           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'
9331           compiler_needs_object=yes
9332           tmp_sharedflag='-G' ;;
9333         *Sun\ F*)                       # Sun Fortran 8.3
9334           tmp_sharedflag='-G' ;;
9335         esac
9336         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337
9338         if test "x$supports_anon_versioning" = xyes; then
9339           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9340             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9341             echo "local: *; };" >> $output_objdir/$libname.ver~
9342             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9343         fi
9344
9345         case $cc_basename in
9346         xlf* | bgf* | bgxlf* | mpixlf*)
9347           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9348           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9349           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9350           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9351           if test "x$supports_anon_versioning" = xyes; then
9352             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9353               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9354               echo "local: *; };" >> $output_objdir/$libname.ver~
9355               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9356           fi
9357           ;;
9358         esac
9359       else
9360         ld_shlibs=no
9361       fi
9362       ;;
9363
9364     netbsd* | netbsdelf*-gnu)
9365       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9366         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9367         wlarc=
9368       else
9369         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9370         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9371       fi
9372       ;;
9373
9374     solaris*)
9375       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9376         ld_shlibs=no
9377         cat <<_LT_EOF 1>&2
9378
9379 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9380 *** create shared libraries on Solaris systems.  Therefore, libtool
9381 *** is disabling shared libraries support.  We urge you to upgrade GNU
9382 *** binutils to release 2.9.1 or newer.  Another option is to modify
9383 *** your PATH or compiler configuration so that the native linker is
9384 *** used, and then restart.
9385
9386 _LT_EOF
9387       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9388         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9389         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9390       else
9391         ld_shlibs=no
9392       fi
9393       ;;
9394
9395     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9396       case `$LD -v 2>&1` in
9397         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9398         ld_shlibs=no
9399         cat <<_LT_EOF 1>&2
9400
9401 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9402 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9403 *** is disabling shared libraries support.  We urge you to upgrade GNU
9404 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9405 *** your PATH or compiler configuration so that the native linker is
9406 *** used, and then restart.
9407
9408 _LT_EOF
9409         ;;
9410         *)
9411           # For security reasons, it is highly recommended that you always
9412           # use absolute paths for naming shared libraries, and exclude the
9413           # DT_RUNPATH tag from executables and libraries.  But doing so
9414           # requires that you compile everything twice, which is a pain.
9415           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9416             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9417             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9419           else
9420             ld_shlibs=no
9421           fi
9422         ;;
9423       esac
9424       ;;
9425
9426     sunos4*)
9427       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9428       wlarc=
9429       hardcode_direct=yes
9430       hardcode_shlibpath_var=no
9431       ;;
9432
9433     *)
9434       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9435         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9436         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437       else
9438         ld_shlibs=no
9439       fi
9440       ;;
9441     esac
9442
9443     if test "$ld_shlibs" = no; then
9444       runpath_var=
9445       hardcode_libdir_flag_spec=
9446       export_dynamic_flag_spec=
9447       whole_archive_flag_spec=
9448     fi
9449   else
9450     # PORTME fill in a description of your system's linker (not GNU ld)
9451     case $host_os in
9452     aix3*)
9453       allow_undefined_flag=unsupported
9454       always_export_symbols=yes
9455       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'
9456       # Note: this linker hardcodes the directories in LIBPATH if there
9457       # are no directories specified by -L.
9458       hardcode_minus_L=yes
9459       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9460         # Neither direct hardcoding nor static linking is supported with a
9461         # broken collect2.
9462         hardcode_direct=unsupported
9463       fi
9464       ;;
9465
9466     aix[4-9]*)
9467       if test "$host_cpu" = ia64; then
9468         # On IA64, the linker does run time linking by default, so we don't
9469         # have to do anything special.
9470         aix_use_runtimelinking=no
9471         exp_sym_flag='-Bexport'
9472         no_entry_flag=""
9473       else
9474         # If we're using GNU nm, then we don't want the "-C" option.
9475         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9476         # Also, AIX nm treats weak defined symbols like other global
9477         # defined symbols, whereas GNU nm marks them as "W".
9478         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9479           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'
9480         else
9481           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'
9482         fi
9483         aix_use_runtimelinking=no
9484
9485         # Test if we are trying to use run time linking or normal
9486         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9487         # need to do runtime linking.
9488         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9489           for ld_flag in $LDFLAGS; do
9490           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9491             aix_use_runtimelinking=yes
9492             break
9493           fi
9494           done
9495           ;;
9496         esac
9497
9498         exp_sym_flag='-bexport'
9499         no_entry_flag='-bnoentry'
9500       fi
9501
9502       # When large executables or shared objects are built, AIX ld can
9503       # have problems creating the table of contents.  If linking a library
9504       # or program results in "error TOC overflow" add -mminimal-toc to
9505       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9506       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9507
9508       archive_cmds=''
9509       hardcode_direct=yes
9510       hardcode_direct_absolute=yes
9511       hardcode_libdir_separator=':'
9512       link_all_deplibs=yes
9513       file_list_spec='${wl}-f,'
9514
9515       if test "$GCC" = yes; then
9516         case $host_os in aix4.[012]|aix4.[012].*)
9517         # We only want to do this on AIX 4.2 and lower, the check
9518         # below for broken collect2 doesn't work under 4.3+
9519           collect2name=`${CC} -print-prog-name=collect2`
9520           if test -f "$collect2name" &&
9521            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9522           then
9523           # We have reworked collect2
9524           :
9525           else
9526           # We have old collect2
9527           hardcode_direct=unsupported
9528           # It fails to find uninstalled libraries when the uninstalled
9529           # path is not listed in the libpath.  Setting hardcode_minus_L
9530           # to unsupported forces relinking
9531           hardcode_minus_L=yes
9532           hardcode_libdir_flag_spec='-L$libdir'
9533           hardcode_libdir_separator=
9534           fi
9535           ;;
9536         esac
9537         shared_flag='-shared'
9538         if test "$aix_use_runtimelinking" = yes; then
9539           shared_flag="$shared_flag "'${wl}-G'
9540         fi
9541         link_all_deplibs=no
9542       else
9543         # not using gcc
9544         if test "$host_cpu" = ia64; then
9545         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9546         # chokes on -Wl,-G. The following line is correct:
9547           shared_flag='-G'
9548         else
9549           if test "$aix_use_runtimelinking" = yes; then
9550             shared_flag='${wl}-G'
9551           else
9552             shared_flag='${wl}-bM:SRE'
9553           fi
9554         fi
9555       fi
9556
9557       export_dynamic_flag_spec='${wl}-bexpall'
9558       # It seems that -bexpall does not export symbols beginning with
9559       # underscore (_), so it is better to generate a list of symbols to export.
9560       always_export_symbols=yes
9561       if test "$aix_use_runtimelinking" = yes; then
9562         # Warning - without using the other runtime loading flags (-brtl),
9563         # -berok will link without error, but may produce a broken library.
9564         allow_undefined_flag='-berok'
9565         # Determine the default libpath from the value encoded in an
9566         # empty executable.
9567         if test "${lt_cv_aix_libpath+set}" = set; then
9568   aix_libpath=$lt_cv_aix_libpath
9569 else
9570   if ${lt_cv_aix_libpath_+:} false; then :
9571   $as_echo_n "(cached) " >&6
9572 else
9573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h.  */
9575
9576 int
9577 main ()
9578 {
9579
9580   ;
9581   return 0;
9582 }
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585
9586   lt_aix_libpath_sed='
9587       /Import File Strings/,/^$/ {
9588           /^0/ {
9589               s/^0  *\([^ ]*\) *$/\1/
9590               p
9591           }
9592       }'
9593   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594   # Check for a 64-bit object if we didn't find anything.
9595   if test -z "$lt_cv_aix_libpath_"; then
9596     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597   fi
9598 fi
9599 rm -f core conftest.err conftest.$ac_objext \
9600     conftest$ac_exeext conftest.$ac_ext
9601   if test -z "$lt_cv_aix_libpath_"; then
9602     lt_cv_aix_libpath_="/usr/lib:/lib"
9603   fi
9604
9605 fi
9606
9607   aix_libpath=$lt_cv_aix_libpath_
9608 fi
9609
9610         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9611         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"
9612       else
9613         if test "$host_cpu" = ia64; then
9614           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9615           allow_undefined_flag="-z nodefs"
9616           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"
9617         else
9618          # Determine the default libpath from the value encoded in an
9619          # empty executable.
9620          if test "${lt_cv_aix_libpath+set}" = set; then
9621   aix_libpath=$lt_cv_aix_libpath
9622 else
9623   if ${lt_cv_aix_libpath_+:} false; then :
9624   $as_echo_n "(cached) " >&6
9625 else
9626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h.  */
9628
9629 int
9630 main ()
9631 {
9632
9633   ;
9634   return 0;
9635 }
9636 _ACEOF
9637 if ac_fn_c_try_link "$LINENO"; then :
9638
9639   lt_aix_libpath_sed='
9640       /Import File Strings/,/^$/ {
9641           /^0/ {
9642               s/^0  *\([^ ]*\) *$/\1/
9643               p
9644           }
9645       }'
9646   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9647   # Check for a 64-bit object if we didn't find anything.
9648   if test -z "$lt_cv_aix_libpath_"; then
9649     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9650   fi
9651 fi
9652 rm -f core conftest.err conftest.$ac_objext \
9653     conftest$ac_exeext conftest.$ac_ext
9654   if test -z "$lt_cv_aix_libpath_"; then
9655     lt_cv_aix_libpath_="/usr/lib:/lib"
9656   fi
9657
9658 fi
9659
9660   aix_libpath=$lt_cv_aix_libpath_
9661 fi
9662
9663          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9664           # Warning - without using the other run time loading flags,
9665           # -berok will link without error, but may produce a broken library.
9666           no_undefined_flag=' ${wl}-bernotok'
9667           allow_undefined_flag=' ${wl}-berok'
9668           if test "$with_gnu_ld" = yes; then
9669             # We only use this code for GNU lds that support --whole-archive.
9670             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9671           else
9672             # Exported symbols can be pulled into shared objects from archives
9673             whole_archive_flag_spec='$convenience'
9674           fi
9675           archive_cmds_need_lc=yes
9676           # This is similar to how AIX traditionally builds its shared libraries.
9677           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'
9678         fi
9679       fi
9680       ;;
9681
9682     amigaos*)
9683       case $host_cpu in
9684       powerpc)
9685             # see comment about AmigaOS4 .so support
9686             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9687             archive_expsym_cmds=''
9688         ;;
9689       m68k)
9690             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)'
9691             hardcode_libdir_flag_spec='-L$libdir'
9692             hardcode_minus_L=yes
9693         ;;
9694       esac
9695       ;;
9696
9697     bsdi[45]*)
9698       export_dynamic_flag_spec=-rdynamic
9699       ;;
9700
9701     cygwin* | mingw* | pw32* | cegcc*)
9702       # When not using gcc, we currently assume that we are using
9703       # Microsoft Visual C++.
9704       # hardcode_libdir_flag_spec is actually meaningless, as there is
9705       # no search path for DLLs.
9706       case $cc_basename in
9707       cl*)
9708         # Native MSVC
9709         hardcode_libdir_flag_spec=' '
9710         allow_undefined_flag=unsupported
9711         always_export_symbols=yes
9712         file_list_spec='@'
9713         # Tell ltmain to make .lib files, not .a files.
9714         libext=lib
9715         # Tell ltmain to make .dll files, not .so files.
9716         shrext_cmds=".dll"
9717         # FIXME: Setting linknames here is a bad hack.
9718         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9719         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9720             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9721           else
9722             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9723           fi~
9724           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9725           linknames='
9726         # The linker will not automatically build a static lib if we build a DLL.
9727         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9728         enable_shared_with_static_runtimes=yes
9729         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9730         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9731         # Don't use ranlib
9732         old_postinstall_cmds='chmod 644 $oldlib'
9733         postlink_cmds='lt_outputfile="@OUTPUT@"~
9734           lt_tool_outputfile="@TOOL_OUTPUT@"~
9735           case $lt_outputfile in
9736             *.exe|*.EXE) ;;
9737             *)
9738               lt_outputfile="$lt_outputfile.exe"
9739               lt_tool_outputfile="$lt_tool_outputfile.exe"
9740               ;;
9741           esac~
9742           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9743             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9744             $RM "$lt_outputfile.manifest";
9745           fi'
9746         ;;
9747       *)
9748         # Assume MSVC wrapper
9749         hardcode_libdir_flag_spec=' '
9750         allow_undefined_flag=unsupported
9751         # Tell ltmain to make .lib files, not .a files.
9752         libext=lib
9753         # Tell ltmain to make .dll files, not .so files.
9754         shrext_cmds=".dll"
9755         # FIXME: Setting linknames here is a bad hack.
9756         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9757         # The linker will automatically build a .lib file if we build a DLL.
9758         old_archive_from_new_cmds='true'
9759         # FIXME: Should let the user specify the lib program.
9760         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9761         enable_shared_with_static_runtimes=yes
9762         ;;
9763       esac
9764       ;;
9765
9766     darwin* | rhapsody*)
9767
9768
9769   archive_cmds_need_lc=no
9770   hardcode_direct=no
9771   hardcode_automatic=yes
9772   hardcode_shlibpath_var=unsupported
9773   if test "$lt_cv_ld_force_load" = "yes"; then
9774     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\"`'
9775
9776   else
9777     whole_archive_flag_spec=''
9778   fi
9779   link_all_deplibs=yes
9780   allow_undefined_flag="$_lt_dar_allow_undefined"
9781   case $cc_basename in
9782      ifort*) _lt_dar_can_shared=yes ;;
9783      *) _lt_dar_can_shared=$GCC ;;
9784   esac
9785   if test "$_lt_dar_can_shared" = "yes"; then
9786     output_verbose_link_cmd=func_echo_all
9787     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9788     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9789     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}"
9790     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}"
9791
9792   else
9793   ld_shlibs=no
9794   fi
9795
9796       ;;
9797
9798     dgux*)
9799       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9800       hardcode_libdir_flag_spec='-L$libdir'
9801       hardcode_shlibpath_var=no
9802       ;;
9803
9804     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9805     # support.  Future versions do this automatically, but an explicit c++rt0.o
9806     # does not break anything, and helps significantly (at the cost of a little
9807     # extra space).
9808     freebsd2.2*)
9809       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9810       hardcode_libdir_flag_spec='-R$libdir'
9811       hardcode_direct=yes
9812       hardcode_shlibpath_var=no
9813       ;;
9814
9815     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9816     freebsd2.*)
9817       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9818       hardcode_direct=yes
9819       hardcode_minus_L=yes
9820       hardcode_shlibpath_var=no
9821       ;;
9822
9823     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9824     freebsd* | dragonfly*)
9825       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9826       hardcode_libdir_flag_spec='-R$libdir'
9827       hardcode_direct=yes
9828       hardcode_shlibpath_var=no
9829       ;;
9830
9831     hpux9*)
9832       if test "$GCC" = yes; then
9833         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'
9834       else
9835         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'
9836       fi
9837       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9838       hardcode_libdir_separator=:
9839       hardcode_direct=yes
9840
9841       # hardcode_minus_L: Not really in the search PATH,
9842       # but as the default location of the library.
9843       hardcode_minus_L=yes
9844       export_dynamic_flag_spec='${wl}-E'
9845       ;;
9846
9847     hpux10*)
9848       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9849         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9850       else
9851         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9852       fi
9853       if test "$with_gnu_ld" = no; then
9854         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9855         hardcode_libdir_separator=:
9856         hardcode_direct=yes
9857         hardcode_direct_absolute=yes
9858         export_dynamic_flag_spec='${wl}-E'
9859         # hardcode_minus_L: Not really in the search PATH,
9860         # but as the default location of the library.
9861         hardcode_minus_L=yes
9862       fi
9863       ;;
9864
9865     hpux11*)
9866       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9867         case $host_cpu in
9868         hppa*64*)
9869           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9870           ;;
9871         ia64*)
9872           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9873           ;;
9874         *)
9875           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9876           ;;
9877         esac
9878       else
9879         case $host_cpu in
9880         hppa*64*)
9881           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9882           ;;
9883         ia64*)
9884           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9885           ;;
9886         *)
9887
9888           # Older versions of the 11.00 compiler do not understand -b yet
9889           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9890           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9891 $as_echo_n "checking if $CC understands -b... " >&6; }
9892 if ${lt_cv_prog_compiler__b+:} false; then :
9893   $as_echo_n "(cached) " >&6
9894 else
9895   lt_cv_prog_compiler__b=no
9896    save_LDFLAGS="$LDFLAGS"
9897    LDFLAGS="$LDFLAGS -b"
9898    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9899    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9900      # The linker can only warn and ignore the option if not recognized
9901      # So say no if there are warnings
9902      if test -s conftest.err; then
9903        # Append any errors to the config.log.
9904        cat conftest.err 1>&5
9905        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9906        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9907        if diff conftest.exp conftest.er2 >/dev/null; then
9908          lt_cv_prog_compiler__b=yes
9909        fi
9910      else
9911        lt_cv_prog_compiler__b=yes
9912      fi
9913    fi
9914    $RM -r conftest*
9915    LDFLAGS="$save_LDFLAGS"
9916
9917 fi
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9919 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9920
9921 if test x"$lt_cv_prog_compiler__b" = xyes; then
9922     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9923 else
9924     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9925 fi
9926
9927           ;;
9928         esac
9929       fi
9930       if test "$with_gnu_ld" = no; then
9931         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9932         hardcode_libdir_separator=:
9933
9934         case $host_cpu in
9935         hppa*64*|ia64*)
9936           hardcode_direct=no
9937           hardcode_shlibpath_var=no
9938           ;;
9939         *)
9940           hardcode_direct=yes
9941           hardcode_direct_absolute=yes
9942           export_dynamic_flag_spec='${wl}-E'
9943
9944           # hardcode_minus_L: Not really in the search PATH,
9945           # but as the default location of the library.
9946           hardcode_minus_L=yes
9947           ;;
9948         esac
9949       fi
9950       ;;
9951
9952     irix5* | irix6* | nonstopux*)
9953       if test "$GCC" = yes; then
9954         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'
9955         # Try to use the -exported_symbol ld option, if it does not
9956         # work, assume that -exports_file does not work either and
9957         # implicitly export all symbols.
9958         # This should be the same for all languages, so no per-tag cache variable.
9959         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9960 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9961 if ${lt_cv_irix_exported_symbol+:} false; then :
9962   $as_echo_n "(cached) " >&6
9963 else
9964   save_LDFLAGS="$LDFLAGS"
9965            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9966            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h.  */
9968 int foo (void) { return 0; }
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971   lt_cv_irix_exported_symbol=yes
9972 else
9973   lt_cv_irix_exported_symbol=no
9974 fi
9975 rm -f core conftest.err conftest.$ac_objext \
9976     conftest$ac_exeext conftest.$ac_ext
9977            LDFLAGS="$save_LDFLAGS"
9978 fi
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9980 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9981         if test "$lt_cv_irix_exported_symbol" = yes; then
9982           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'
9983         fi
9984       else
9985         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'
9986         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'
9987       fi
9988       archive_cmds_need_lc='no'
9989       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9990       hardcode_libdir_separator=:
9991       inherit_rpath=yes
9992       link_all_deplibs=yes
9993       ;;
9994
9995     netbsd* | netbsdelf*-gnu)
9996       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9997         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9998       else
9999         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10000       fi
10001       hardcode_libdir_flag_spec='-R$libdir'
10002       hardcode_direct=yes
10003       hardcode_shlibpath_var=no
10004       ;;
10005
10006     newsos6)
10007       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008       hardcode_direct=yes
10009       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10010       hardcode_libdir_separator=:
10011       hardcode_shlibpath_var=no
10012       ;;
10013
10014     *nto* | *qnx*)
10015       ;;
10016
10017     openbsd*)
10018       if test -f /usr/libexec/ld.so; then
10019         hardcode_direct=yes
10020         hardcode_shlibpath_var=no
10021         hardcode_direct_absolute=yes
10022         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10023           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10025           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10026           export_dynamic_flag_spec='${wl}-E'
10027         else
10028           case $host_os in
10029            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10030              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10031              hardcode_libdir_flag_spec='-R$libdir'
10032              ;;
10033            *)
10034              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10035              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10036              ;;
10037           esac
10038         fi
10039       else
10040         ld_shlibs=no
10041       fi
10042       ;;
10043
10044     os2*)
10045       hardcode_libdir_flag_spec='-L$libdir'
10046       hardcode_minus_L=yes
10047       allow_undefined_flag=unsupported
10048       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'
10049       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10050       ;;
10051
10052     osf3*)
10053       if test "$GCC" = yes; then
10054         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10055         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'
10056       else
10057         allow_undefined_flag=' -expect_unresolved \*'
10058         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'
10059       fi
10060       archive_cmds_need_lc='no'
10061       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10062       hardcode_libdir_separator=:
10063       ;;
10064
10065     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10066       if test "$GCC" = yes; then
10067         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10068         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'
10069         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10070       else
10071         allow_undefined_flag=' -expect_unresolved \*'
10072         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'
10073         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~
10074         $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'
10075
10076         # Both c and cxx compiler support -rpath directly
10077         hardcode_libdir_flag_spec='-rpath $libdir'
10078       fi
10079       archive_cmds_need_lc='no'
10080       hardcode_libdir_separator=:
10081       ;;
10082
10083     solaris*)
10084       no_undefined_flag=' -z defs'
10085       if test "$GCC" = yes; then
10086         wlarc='${wl}'
10087         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10088         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10089           $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'
10090       else
10091         case `$CC -V 2>&1` in
10092         *"Compilers 5.0"*)
10093           wlarc=''
10094           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10095           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10096           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10097           ;;
10098         *)
10099           wlarc='${wl}'
10100           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10101           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10102           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10103           ;;
10104         esac
10105       fi
10106       hardcode_libdir_flag_spec='-R$libdir'
10107       hardcode_shlibpath_var=no
10108       case $host_os in
10109       solaris2.[0-5] | solaris2.[0-5].*) ;;
10110       *)
10111         # The compiler driver will combine and reorder linker options,
10112         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10113         # but is careful enough not to reorder.
10114         # Supported since Solaris 2.6 (maybe 2.5.1?)
10115         if test "$GCC" = yes; then
10116           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10117         else
10118           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10119         fi
10120         ;;
10121       esac
10122       link_all_deplibs=yes
10123       ;;
10124
10125     sunos4*)
10126       if test "x$host_vendor" = xsequent; then
10127         # Use $CC to link under sequent, because it throws in some extra .o
10128         # files that make .init and .fini sections work.
10129         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10130       else
10131         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10132       fi
10133       hardcode_libdir_flag_spec='-L$libdir'
10134       hardcode_direct=yes
10135       hardcode_minus_L=yes
10136       hardcode_shlibpath_var=no
10137       ;;
10138
10139     sysv4)
10140       case $host_vendor in
10141         sni)
10142           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143           hardcode_direct=yes # is this really true???
10144         ;;
10145         siemens)
10146           ## LD is ld it makes a PLAMLIB
10147           ## CC just makes a GrossModule.
10148           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10149           reload_cmds='$CC -r -o $output$reload_objs'
10150           hardcode_direct=no
10151         ;;
10152         motorola)
10153           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10154           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10155         ;;
10156       esac
10157       runpath_var='LD_RUN_PATH'
10158       hardcode_shlibpath_var=no
10159       ;;
10160
10161     sysv4.3*)
10162       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163       hardcode_shlibpath_var=no
10164       export_dynamic_flag_spec='-Bexport'
10165       ;;
10166
10167     sysv4*MP*)
10168       if test -d /usr/nec; then
10169         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170         hardcode_shlibpath_var=no
10171         runpath_var=LD_RUN_PATH
10172         hardcode_runpath_var=yes
10173         ld_shlibs=yes
10174       fi
10175       ;;
10176
10177     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10178       no_undefined_flag='${wl}-z,text'
10179       archive_cmds_need_lc=no
10180       hardcode_shlibpath_var=no
10181       runpath_var='LD_RUN_PATH'
10182
10183       if test "$GCC" = yes; then
10184         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10186       else
10187         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10189       fi
10190       ;;
10191
10192     sysv5* | sco3.2v5* | sco5v6*)
10193       # Note: We can NOT use -z defs as we might desire, because we do not
10194       # link with -lc, and that would cause any symbols used from libc to
10195       # always be unresolved, which means just about no library would
10196       # ever link correctly.  If we're not using GNU ld we use -z text
10197       # though, which does catch some bad symbols but isn't as heavy-handed
10198       # as -z defs.
10199       no_undefined_flag='${wl}-z,text'
10200       allow_undefined_flag='${wl}-z,nodefs'
10201       archive_cmds_need_lc=no
10202       hardcode_shlibpath_var=no
10203       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10204       hardcode_libdir_separator=':'
10205       link_all_deplibs=yes
10206       export_dynamic_flag_spec='${wl}-Bexport'
10207       runpath_var='LD_RUN_PATH'
10208
10209       if test "$GCC" = yes; then
10210         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212       else
10213         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215       fi
10216       ;;
10217
10218     uts4*)
10219       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10220       hardcode_libdir_flag_spec='-L$libdir'
10221       hardcode_shlibpath_var=no
10222       ;;
10223
10224     *)
10225       ld_shlibs=no
10226       ;;
10227     esac
10228
10229     if test x$host_vendor = xsni; then
10230       case $host in
10231       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10232         export_dynamic_flag_spec='${wl}-Blargedynsym'
10233         ;;
10234       esac
10235     fi
10236   fi
10237
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10239 $as_echo "$ld_shlibs" >&6; }
10240 test "$ld_shlibs" = no && can_build_shared=no
10241
10242 with_gnu_ld=$with_gnu_ld
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258 #
10259 # Do we need to explicitly link libc?
10260 #
10261 case "x$archive_cmds_need_lc" in
10262 x|xyes)
10263   # Assume -lc should be added
10264   archive_cmds_need_lc=yes
10265
10266   if test "$enable_shared" = yes && test "$GCC" = yes; then
10267     case $archive_cmds in
10268     *'~'*)
10269       # FIXME: we may have to deal with multi-command sequences.
10270       ;;
10271     '$CC '*)
10272       # Test whether the compiler implicitly links with -lc since on some
10273       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10274       # to ld, don't add -lc before -lgcc.
10275       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10276 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10277 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10278   $as_echo_n "(cached) " >&6
10279 else
10280   $RM conftest*
10281         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10282
10283         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10284   (eval $ac_compile) 2>&5
10285   ac_status=$?
10286   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10287   test $ac_status = 0; } 2>conftest.err; then
10288           soname=conftest
10289           lib=conftest
10290           libobjs=conftest.$ac_objext
10291           deplibs=
10292           wl=$lt_prog_compiler_wl
10293           pic_flag=$lt_prog_compiler_pic
10294           compiler_flags=-v
10295           linker_flags=-v
10296           verstring=
10297           output_objdir=.
10298           libname=conftest
10299           lt_save_allow_undefined_flag=$allow_undefined_flag
10300           allow_undefined_flag=
10301           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10302   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10303   ac_status=$?
10304   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10305   test $ac_status = 0; }
10306           then
10307             lt_cv_archive_cmds_need_lc=no
10308           else
10309             lt_cv_archive_cmds_need_lc=yes
10310           fi
10311           allow_undefined_flag=$lt_save_allow_undefined_flag
10312         else
10313           cat conftest.err 1>&5
10314         fi
10315         $RM conftest*
10316
10317 fi
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10319 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10320       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10321       ;;
10322     esac
10323   fi
10324   ;;
10325 esac
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10479 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10480
10481 if test "$GCC" = yes; then
10482   case $host_os in
10483     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10484     *) lt_awk_arg="/^libraries:/" ;;
10485   esac
10486   case $host_os in
10487     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10488     *) lt_sed_strip_eq="s,=/,/,g" ;;
10489   esac
10490   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10491   case $lt_search_path_spec in
10492   *\;*)
10493     # if the path contains ";" then we assume it to be the separator
10494     # otherwise default to the standard path separator (i.e. ":") - it is
10495     # assumed that no part of a normal pathname contains ";" but that should
10496     # okay in the real world where ";" in dirpaths is itself problematic.
10497     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10498     ;;
10499   *)
10500     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10501     ;;
10502   esac
10503   # Ok, now we have the path, separated by spaces, we can step through it
10504   # and add multilib dir if necessary.
10505   lt_tmp_lt_search_path_spec=
10506   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10507   for lt_sys_path in $lt_search_path_spec; do
10508     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10509       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10510     else
10511       test -d "$lt_sys_path" && \
10512         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10513     fi
10514   done
10515   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10516 BEGIN {RS=" "; FS="/|\n";} {
10517   lt_foo="";
10518   lt_count=0;
10519   for (lt_i = NF; lt_i > 0; lt_i--) {
10520     if ($lt_i != "" && $lt_i != ".") {
10521       if ($lt_i == "..") {
10522         lt_count++;
10523       } else {
10524         if (lt_count == 0) {
10525           lt_foo="/" $lt_i lt_foo;
10526         } else {
10527           lt_count--;
10528         }
10529       }
10530     }
10531   }
10532   if (lt_foo != "") { lt_freq[lt_foo]++; }
10533   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10534 }'`
10535   # AWK program above erroneously prepends '/' to C:/dos/paths
10536   # for these hosts.
10537   case $host_os in
10538     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10539       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10540   esac
10541   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10542 else
10543   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10544 fi
10545 library_names_spec=
10546 libname_spec='lib$name'
10547 soname_spec=
10548 shrext_cmds=".so"
10549 postinstall_cmds=
10550 postuninstall_cmds=
10551 finish_cmds=
10552 finish_eval=
10553 shlibpath_var=
10554 shlibpath_overrides_runpath=unknown
10555 version_type=none
10556 dynamic_linker="$host_os ld.so"
10557 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10558 need_lib_prefix=unknown
10559 hardcode_into_libs=no
10560
10561 # when you set need_version to no, make sure it does not cause -set_version
10562 # flags to be left without arguments
10563 need_version=unknown
10564
10565 case $host_os in
10566 aix3*)
10567   version_type=linux # correct to gnu/linux during the next big refactor
10568   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10569   shlibpath_var=LIBPATH
10570
10571   # AIX 3 has no versioning support, so we append a major version to the name.
10572   soname_spec='${libname}${release}${shared_ext}$major'
10573   ;;
10574
10575 aix[4-9]*)
10576   version_type=linux # correct to gnu/linux during the next big refactor
10577   need_lib_prefix=no
10578   need_version=no
10579   hardcode_into_libs=yes
10580   if test "$host_cpu" = ia64; then
10581     # AIX 5 supports IA64
10582     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10583     shlibpath_var=LD_LIBRARY_PATH
10584   else
10585     # With GCC up to 2.95.x, collect2 would create an import file
10586     # for dependence libraries.  The import file would start with
10587     # the line `#! .'.  This would cause the generated library to
10588     # depend on `.', always an invalid library.  This was fixed in
10589     # development snapshots of GCC prior to 3.0.
10590     case $host_os in
10591       aix4 | aix4.[01] | aix4.[01].*)
10592       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10593            echo ' yes '
10594            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10595         :
10596       else
10597         can_build_shared=no
10598       fi
10599       ;;
10600     esac
10601     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10602     # soname into executable. Probably we can add versioning support to
10603     # collect2, so additional links can be useful in future.
10604     if test "$aix_use_runtimelinking" = yes; then
10605       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10606       # instead of lib<name>.a to let people know that these are not
10607       # typical AIX shared libraries.
10608       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609     else
10610       # We preserve .a as extension for shared libraries through AIX4.2
10611       # and later when we are not doing run time linking.
10612       library_names_spec='${libname}${release}.a $libname.a'
10613       soname_spec='${libname}${release}${shared_ext}$major'
10614     fi
10615     shlibpath_var=LIBPATH
10616   fi
10617   ;;
10618
10619 amigaos*)
10620   case $host_cpu in
10621   powerpc)
10622     # Since July 2007 AmigaOS4 officially supports .so libraries.
10623     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10624     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625     ;;
10626   m68k)
10627     library_names_spec='$libname.ixlibrary $libname.a'
10628     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10629     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'
10630     ;;
10631   esac
10632   ;;
10633
10634 beos*)
10635   library_names_spec='${libname}${shared_ext}'
10636   dynamic_linker="$host_os ld.so"
10637   shlibpath_var=LIBRARY_PATH
10638   ;;
10639
10640 bsdi[45]*)
10641   version_type=linux # correct to gnu/linux during the next big refactor
10642   need_version=no
10643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10644   soname_spec='${libname}${release}${shared_ext}$major'
10645   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10646   shlibpath_var=LD_LIBRARY_PATH
10647   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10648   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10649   # the default ld.so.conf also contains /usr/contrib/lib and
10650   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10651   # libtool to hard-code these into programs
10652   ;;
10653
10654 cygwin* | mingw* | pw32* | cegcc*)
10655   version_type=windows
10656   shrext_cmds=".dll"
10657   need_version=no
10658   need_lib_prefix=no
10659
10660   case $GCC,$cc_basename in
10661   yes,*)
10662     # gcc
10663     library_names_spec='$libname.dll.a'
10664     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10665     postinstall_cmds='base_file=`basename \${file}`~
10666       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10667       dldir=$destdir/`dirname \$dlpath`~
10668       test -d \$dldir || mkdir -p \$dldir~
10669       $install_prog $dir/$dlname \$dldir/$dlname~
10670       chmod a+x \$dldir/$dlname~
10671       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10672         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10673       fi'
10674     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10675       dlpath=$dir/\$dldll~
10676        $RM \$dlpath'
10677     shlibpath_overrides_runpath=yes
10678
10679     case $host_os in
10680     cygwin*)
10681       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10682       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683
10684       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10685       ;;
10686     mingw* | cegcc*)
10687       # MinGW DLLs use traditional 'lib' prefix
10688       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10689       ;;
10690     pw32*)
10691       # pw32 DLLs use 'pw' prefix rather than 'lib'
10692       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10693       ;;
10694     esac
10695     dynamic_linker='Win32 ld.exe'
10696     ;;
10697
10698   *,cl*)
10699     # Native MSVC
10700     libname_spec='$name'
10701     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10702     library_names_spec='${libname}.dll.lib'
10703
10704     case $build_os in
10705     mingw*)
10706       sys_lib_search_path_spec=
10707       lt_save_ifs=$IFS
10708       IFS=';'
10709       for lt_path in $LIB
10710       do
10711         IFS=$lt_save_ifs
10712         # Let DOS variable expansion print the short 8.3 style file name.
10713         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10714         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10715       done
10716       IFS=$lt_save_ifs
10717       # Convert to MSYS style.
10718       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10719       ;;
10720     cygwin*)
10721       # Convert to unix form, then to dos form, then back to unix form
10722       # but this time dos style (no spaces!) so that the unix form looks
10723       # like /cygdrive/c/PROGRA~1:/cygdr...
10724       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10725       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10726       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10727       ;;
10728     *)
10729       sys_lib_search_path_spec="$LIB"
10730       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10731         # It is most probably a Windows format PATH.
10732         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10733       else
10734         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10735       fi
10736       # FIXME: find the short name or the path components, as spaces are
10737       # common. (e.g. "Program Files" -> "PROGRA~1")
10738       ;;
10739     esac
10740
10741     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10742     postinstall_cmds='base_file=`basename \${file}`~
10743       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10744       dldir=$destdir/`dirname \$dlpath`~
10745       test -d \$dldir || mkdir -p \$dldir~
10746       $install_prog $dir/$dlname \$dldir/$dlname'
10747     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10748       dlpath=$dir/\$dldll~
10749        $RM \$dlpath'
10750     shlibpath_overrides_runpath=yes
10751     dynamic_linker='Win32 link.exe'
10752     ;;
10753
10754   *)
10755     # Assume MSVC wrapper
10756     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10757     dynamic_linker='Win32 ld.exe'
10758     ;;
10759   esac
10760   # FIXME: first we should search . and the directory the executable is in
10761   shlibpath_var=PATH
10762   ;;
10763
10764 darwin* | rhapsody*)
10765   dynamic_linker="$host_os dyld"
10766   version_type=darwin
10767   need_lib_prefix=no
10768   need_version=no
10769   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10770   soname_spec='${libname}${release}${major}$shared_ext'
10771   shlibpath_overrides_runpath=yes
10772   shlibpath_var=DYLD_LIBRARY_PATH
10773   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10774
10775   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10776   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10777   ;;
10778
10779 dgux*)
10780   version_type=linux # correct to gnu/linux during the next big refactor
10781   need_lib_prefix=no
10782   need_version=no
10783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10784   soname_spec='${libname}${release}${shared_ext}$major'
10785   shlibpath_var=LD_LIBRARY_PATH
10786   ;;
10787
10788 freebsd* | dragonfly*)
10789   # DragonFly does not have aout.  When/if they implement a new
10790   # versioning mechanism, adjust this.
10791   if test -x /usr/bin/objformat; then
10792     objformat=`/usr/bin/objformat`
10793   else
10794     case $host_os in
10795     freebsd[23].*) objformat=aout ;;
10796     *) objformat=elf ;;
10797     esac
10798   fi
10799   version_type=freebsd-$objformat
10800   case $version_type in
10801     freebsd-elf*)
10802       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10803       need_version=no
10804       need_lib_prefix=no
10805       ;;
10806     freebsd-*)
10807       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10808       need_version=yes
10809       ;;
10810   esac
10811   shlibpath_var=LD_LIBRARY_PATH
10812   case $host_os in
10813   freebsd2.*)
10814     shlibpath_overrides_runpath=yes
10815     ;;
10816   freebsd3.[01]* | freebsdelf3.[01]*)
10817     shlibpath_overrides_runpath=yes
10818     hardcode_into_libs=yes
10819     ;;
10820   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10821   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10822     shlibpath_overrides_runpath=no
10823     hardcode_into_libs=yes
10824     ;;
10825   *) # from 4.6 on, and DragonFly
10826     shlibpath_overrides_runpath=yes
10827     hardcode_into_libs=yes
10828     ;;
10829   esac
10830   ;;
10831
10832 gnu*)
10833   version_type=linux # correct to gnu/linux during the next big refactor
10834   need_lib_prefix=no
10835   need_version=no
10836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10837   soname_spec='${libname}${release}${shared_ext}$major'
10838   shlibpath_var=LD_LIBRARY_PATH
10839   shlibpath_overrides_runpath=no
10840   hardcode_into_libs=yes
10841   ;;
10842
10843 haiku*)
10844   version_type=linux # correct to gnu/linux during the next big refactor
10845   need_lib_prefix=no
10846   need_version=no
10847   dynamic_linker="$host_os runtime_loader"
10848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10849   soname_spec='${libname}${release}${shared_ext}$major'
10850   shlibpath_var=LIBRARY_PATH
10851   shlibpath_overrides_runpath=yes
10852   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10853   hardcode_into_libs=yes
10854   ;;
10855
10856 hpux9* | hpux10* | hpux11*)
10857   # Give a soname corresponding to the major version so that dld.sl refuses to
10858   # link against other versions.
10859   version_type=sunos
10860   need_lib_prefix=no
10861   need_version=no
10862   case $host_cpu in
10863   ia64*)
10864     shrext_cmds='.so'
10865     hardcode_into_libs=yes
10866     dynamic_linker="$host_os dld.so"
10867     shlibpath_var=LD_LIBRARY_PATH
10868     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10869     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870     soname_spec='${libname}${release}${shared_ext}$major'
10871     if test "X$HPUX_IA64_MODE" = X32; then
10872       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10873     else
10874       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10875     fi
10876     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10877     ;;
10878   hppa*64*)
10879     shrext_cmds='.sl'
10880     hardcode_into_libs=yes
10881     dynamic_linker="$host_os dld.sl"
10882     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10883     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10884     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885     soname_spec='${libname}${release}${shared_ext}$major'
10886     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10887     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10888     ;;
10889   *)
10890     shrext_cmds='.sl'
10891     dynamic_linker="$host_os dld.sl"
10892     shlibpath_var=SHLIB_PATH
10893     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10894     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895     soname_spec='${libname}${release}${shared_ext}$major'
10896     ;;
10897   esac
10898   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10899   postinstall_cmds='chmod 555 $lib'
10900   # or fails outright, so override atomically:
10901   install_override_mode=555
10902   ;;
10903
10904 interix[3-9]*)
10905   version_type=linux # correct to gnu/linux during the next big refactor
10906   need_lib_prefix=no
10907   need_version=no
10908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10909   soname_spec='${libname}${release}${shared_ext}$major'
10910   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10911   shlibpath_var=LD_LIBRARY_PATH
10912   shlibpath_overrides_runpath=no
10913   hardcode_into_libs=yes
10914   ;;
10915
10916 irix5* | irix6* | nonstopux*)
10917   case $host_os in
10918     nonstopux*) version_type=nonstopux ;;
10919     *)
10920         if test "$lt_cv_prog_gnu_ld" = yes; then
10921                 version_type=linux # correct to gnu/linux during the next big refactor
10922         else
10923                 version_type=irix
10924         fi ;;
10925   esac
10926   need_lib_prefix=no
10927   need_version=no
10928   soname_spec='${libname}${release}${shared_ext}$major'
10929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10930   case $host_os in
10931   irix5* | nonstopux*)
10932     libsuff= shlibsuff=
10933     ;;
10934   *)
10935     case $LD in # libtool.m4 will add one of these switches to LD
10936     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10937       libsuff= shlibsuff= libmagic=32-bit;;
10938     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10939       libsuff=32 shlibsuff=N32 libmagic=N32;;
10940     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10941       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10942     *) libsuff= shlibsuff= libmagic=never-match;;
10943     esac
10944     ;;
10945   esac
10946   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10947   shlibpath_overrides_runpath=no
10948   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10949   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10950   hardcode_into_libs=yes
10951   ;;
10952
10953 # No shared lib support for Linux oldld, aout, or coff.
10954 linux*oldld* | linux*aout* | linux*coff*)
10955   dynamic_linker=no
10956   ;;
10957
10958 # This must be glibc/ELF.
10959 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10960   version_type=linux # correct to gnu/linux during the next big refactor
10961   need_lib_prefix=no
10962   need_version=no
10963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10964   soname_spec='${libname}${release}${shared_ext}$major'
10965   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10966   shlibpath_var=LD_LIBRARY_PATH
10967   shlibpath_overrides_runpath=no
10968
10969   # Some binutils ld are patched to set DT_RUNPATH
10970   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10971   $as_echo_n "(cached) " >&6
10972 else
10973   lt_cv_shlibpath_overrides_runpath=no
10974     save_LDFLAGS=$LDFLAGS
10975     save_libdir=$libdir
10976     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10977          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10978     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h.  */
10980
10981 int
10982 main ()
10983 {
10984
10985   ;
10986   return 0;
10987 }
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10991   lt_cv_shlibpath_overrides_runpath=yes
10992 fi
10993 fi
10994 rm -f core conftest.err conftest.$ac_objext \
10995     conftest$ac_exeext conftest.$ac_ext
10996     LDFLAGS=$save_LDFLAGS
10997     libdir=$save_libdir
10998
10999 fi
11000
11001   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11002
11003   # This implies no fast_install, which is unacceptable.
11004   # Some rework will be needed to allow for fast_install
11005   # before this can be enabled.
11006   hardcode_into_libs=yes
11007
11008   # Append ld.so.conf contents to the search path
11009   if test -f /etc/ld.so.conf; then
11010     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' ' '`
11011     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11012   fi
11013
11014   # We used to test for /lib/ld.so.1 and disable shared libraries on
11015   # powerpc, because MkLinux only supported shared libraries with the
11016   # GNU dynamic linker.  Since this was broken with cross compilers,
11017   # most powerpc-linux boxes support dynamic linking these days and
11018   # people can always --disable-shared, the test was removed, and we
11019   # assume the GNU/Linux dynamic linker is in use.
11020   dynamic_linker='GNU/Linux ld.so'
11021   ;;
11022
11023 netbsdelf*-gnu)
11024   version_type=linux
11025   need_lib_prefix=no
11026   need_version=no
11027   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11028   soname_spec='${libname}${release}${shared_ext}$major'
11029   shlibpath_var=LD_LIBRARY_PATH
11030   shlibpath_overrides_runpath=no
11031   hardcode_into_libs=yes
11032   dynamic_linker='NetBSD ld.elf_so'
11033   ;;
11034
11035 netbsd*)
11036   version_type=sunos
11037   need_lib_prefix=no
11038   need_version=no
11039   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11040     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11041     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11042     dynamic_linker='NetBSD (a.out) ld.so'
11043   else
11044     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11045     soname_spec='${libname}${release}${shared_ext}$major'
11046     dynamic_linker='NetBSD ld.elf_so'
11047   fi
11048   shlibpath_var=LD_LIBRARY_PATH
11049   shlibpath_overrides_runpath=yes
11050   hardcode_into_libs=yes
11051   ;;
11052
11053 newsos6)
11054   version_type=linux # correct to gnu/linux during the next big refactor
11055   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056   shlibpath_var=LD_LIBRARY_PATH
11057   shlibpath_overrides_runpath=yes
11058   ;;
11059
11060 *nto* | *qnx*)
11061   version_type=qnx
11062   need_lib_prefix=no
11063   need_version=no
11064   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065   soname_spec='${libname}${release}${shared_ext}$major'
11066   shlibpath_var=LD_LIBRARY_PATH
11067   shlibpath_overrides_runpath=no
11068   hardcode_into_libs=yes
11069   dynamic_linker='ldqnx.so'
11070   ;;
11071
11072 openbsd*)
11073   version_type=sunos
11074   sys_lib_dlsearch_path_spec="/usr/lib"
11075   need_lib_prefix=no
11076   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11077   case $host_os in
11078     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11079     *)                          need_version=no  ;;
11080   esac
11081   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11082   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11083   shlibpath_var=LD_LIBRARY_PATH
11084   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11085     case $host_os in
11086       openbsd2.[89] | openbsd2.[89].*)
11087         shlibpath_overrides_runpath=no
11088         ;;
11089       *)
11090         shlibpath_overrides_runpath=yes
11091         ;;
11092       esac
11093   else
11094     shlibpath_overrides_runpath=yes
11095   fi
11096   ;;
11097
11098 os2*)
11099   libname_spec='$name'
11100   shrext_cmds=".dll"
11101   need_lib_prefix=no
11102   library_names_spec='$libname${shared_ext} $libname.a'
11103   dynamic_linker='OS/2 ld.exe'
11104   shlibpath_var=LIBPATH
11105   ;;
11106
11107 osf3* | osf4* | osf5*)
11108   version_type=osf
11109   need_lib_prefix=no
11110   need_version=no
11111   soname_spec='${libname}${release}${shared_ext}$major'
11112   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11113   shlibpath_var=LD_LIBRARY_PATH
11114   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11115   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11116   ;;
11117
11118 rdos*)
11119   dynamic_linker=no
11120   ;;
11121
11122 solaris*)
11123   version_type=linux # correct to gnu/linux during the next big refactor
11124   need_lib_prefix=no
11125   need_version=no
11126   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11127   soname_spec='${libname}${release}${shared_ext}$major'
11128   shlibpath_var=LD_LIBRARY_PATH
11129   shlibpath_overrides_runpath=yes
11130   hardcode_into_libs=yes
11131   # ldd complains unless libraries are executable
11132   postinstall_cmds='chmod +x $lib'
11133   ;;
11134
11135 sunos4*)
11136   version_type=sunos
11137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11138   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11139   shlibpath_var=LD_LIBRARY_PATH
11140   shlibpath_overrides_runpath=yes
11141   if test "$with_gnu_ld" = yes; then
11142     need_lib_prefix=no
11143   fi
11144   need_version=yes
11145   ;;
11146
11147 sysv4 | sysv4.3*)
11148   version_type=linux # correct to gnu/linux during the next big refactor
11149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150   soname_spec='${libname}${release}${shared_ext}$major'
11151   shlibpath_var=LD_LIBRARY_PATH
11152   case $host_vendor in
11153     sni)
11154       shlibpath_overrides_runpath=no
11155       need_lib_prefix=no
11156       runpath_var=LD_RUN_PATH
11157       ;;
11158     siemens)
11159       need_lib_prefix=no
11160       ;;
11161     motorola)
11162       need_lib_prefix=no
11163       need_version=no
11164       shlibpath_overrides_runpath=no
11165       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11166       ;;
11167   esac
11168   ;;
11169
11170 sysv4*MP*)
11171   if test -d /usr/nec ;then
11172     version_type=linux # correct to gnu/linux during the next big refactor
11173     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11174     soname_spec='$libname${shared_ext}.$major'
11175     shlibpath_var=LD_LIBRARY_PATH
11176   fi
11177   ;;
11178
11179 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11180   version_type=freebsd-elf
11181   need_lib_prefix=no
11182   need_version=no
11183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11184   soname_spec='${libname}${release}${shared_ext}$major'
11185   shlibpath_var=LD_LIBRARY_PATH
11186   shlibpath_overrides_runpath=yes
11187   hardcode_into_libs=yes
11188   if test "$with_gnu_ld" = yes; then
11189     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11190   else
11191     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11192     case $host_os in
11193       sco3.2v5*)
11194         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11195         ;;
11196     esac
11197   fi
11198   sys_lib_dlsearch_path_spec='/usr/lib'
11199   ;;
11200
11201 tpf*)
11202   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11203   version_type=linux # correct to gnu/linux during the next big refactor
11204   need_lib_prefix=no
11205   need_version=no
11206   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11207   shlibpath_var=LD_LIBRARY_PATH
11208   shlibpath_overrides_runpath=no
11209   hardcode_into_libs=yes
11210   ;;
11211
11212 uts4*)
11213   version_type=linux # correct to gnu/linux during the next big refactor
11214   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11215   soname_spec='${libname}${release}${shared_ext}$major'
11216   shlibpath_var=LD_LIBRARY_PATH
11217   ;;
11218
11219 *)
11220   dynamic_linker=no
11221   ;;
11222 esac
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11224 $as_echo "$dynamic_linker" >&6; }
11225 test "$dynamic_linker" = no && can_build_shared=no
11226
11227 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11228 if test "$GCC" = yes; then
11229   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11230 fi
11231
11232 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11233   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11234 fi
11235 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11236   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11237 fi
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11331 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11332 hardcode_action=
11333 if test -n "$hardcode_libdir_flag_spec" ||
11334    test -n "$runpath_var" ||
11335    test "X$hardcode_automatic" = "Xyes" ; then
11336
11337   # We can hardcode non-existent directories.
11338   if test "$hardcode_direct" != no &&
11339      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11340      # have to relink, otherwise we might link with an installed library
11341      # when we should be linking with a yet-to-be-installed one
11342      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11343      test "$hardcode_minus_L" != no; then
11344     # Linking always hardcodes the temporary library directory.
11345     hardcode_action=relink
11346   else
11347     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11348     hardcode_action=immediate
11349   fi
11350 else
11351   # We cannot hardcode anything, or else we can only hardcode existing
11352   # directories.
11353   hardcode_action=unsupported
11354 fi
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11356 $as_echo "$hardcode_action" >&6; }
11357
11358 if test "$hardcode_action" = relink ||
11359    test "$inherit_rpath" = yes; then
11360   # Fast installation is not supported
11361   enable_fast_install=no
11362 elif test "$shlibpath_overrides_runpath" = yes ||
11363      test "$enable_shared" = no; then
11364   # Fast installation is not necessary
11365   enable_fast_install=needless
11366 fi
11367
11368
11369
11370
11371
11372
11373   if test "x$enable_dlopen" != xyes; then
11374   enable_dlopen=unknown
11375   enable_dlopen_self=unknown
11376   enable_dlopen_self_static=unknown
11377 else
11378   lt_cv_dlopen=no
11379   lt_cv_dlopen_libs=
11380
11381   case $host_os in
11382   beos*)
11383     lt_cv_dlopen="load_add_on"
11384     lt_cv_dlopen_libs=
11385     lt_cv_dlopen_self=yes
11386     ;;
11387
11388   mingw* | pw32* | cegcc*)
11389     lt_cv_dlopen="LoadLibrary"
11390     lt_cv_dlopen_libs=
11391     ;;
11392
11393   cygwin*)
11394     lt_cv_dlopen="dlopen"
11395     lt_cv_dlopen_libs=
11396     ;;
11397
11398   darwin*)
11399   # if libdl is installed we need to link against it
11400     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11401 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11402 if ${ac_cv_lib_dl_dlopen+:} false; then :
11403   $as_echo_n "(cached) " >&6
11404 else
11405   ac_check_lib_save_LIBS=$LIBS
11406 LIBS="-ldl  $LIBS"
11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h.  */
11409
11410 /* Override any GCC internal prototype to avoid an error.
11411    Use char because int might match the return type of a GCC
11412    builtin and then its argument prototype would still apply.  */
11413 #ifdef __cplusplus
11414 extern "C"
11415 #endif
11416 char dlopen ();
11417 int
11418 main ()
11419 {
11420 return dlopen ();
11421   ;
11422   return 0;
11423 }
11424 _ACEOF
11425 if ac_fn_c_try_link "$LINENO"; then :
11426   ac_cv_lib_dl_dlopen=yes
11427 else
11428   ac_cv_lib_dl_dlopen=no
11429 fi
11430 rm -f core conftest.err conftest.$ac_objext \
11431     conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_lib_save_LIBS
11433 fi
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11435 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11436 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11437   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11438 else
11439
11440     lt_cv_dlopen="dyld"
11441     lt_cv_dlopen_libs=
11442     lt_cv_dlopen_self=yes
11443
11444 fi
11445
11446     ;;
11447
11448   *)
11449     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11450 if test "x$ac_cv_func_shl_load" = xyes; then :
11451   lt_cv_dlopen="shl_load"
11452 else
11453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11454 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11455 if ${ac_cv_lib_dld_shl_load+:} false; then :
11456   $as_echo_n "(cached) " >&6
11457 else
11458   ac_check_lib_save_LIBS=$LIBS
11459 LIBS="-ldld  $LIBS"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h.  */
11462
11463 /* Override any GCC internal prototype to avoid an error.
11464    Use char because int might match the return type of a GCC
11465    builtin and then its argument prototype would still apply.  */
11466 #ifdef __cplusplus
11467 extern "C"
11468 #endif
11469 char shl_load ();
11470 int
11471 main ()
11472 {
11473 return shl_load ();
11474   ;
11475   return 0;
11476 }
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"; then :
11479   ac_cv_lib_dld_shl_load=yes
11480 else
11481   ac_cv_lib_dld_shl_load=no
11482 fi
11483 rm -f core conftest.err conftest.$ac_objext \
11484     conftest$ac_exeext conftest.$ac_ext
11485 LIBS=$ac_check_lib_save_LIBS
11486 fi
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11488 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11489 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11490   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11491 else
11492   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11493 if test "x$ac_cv_func_dlopen" = xyes; then :
11494   lt_cv_dlopen="dlopen"
11495 else
11496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11497 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11498 if ${ac_cv_lib_dl_dlopen+:} false; then :
11499   $as_echo_n "(cached) " >&6
11500 else
11501   ac_check_lib_save_LIBS=$LIBS
11502 LIBS="-ldl  $LIBS"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h.  */
11505
11506 /* Override any GCC internal prototype to avoid an error.
11507    Use char because int might match the return type of a GCC
11508    builtin and then its argument prototype would still apply.  */
11509 #ifdef __cplusplus
11510 extern "C"
11511 #endif
11512 char dlopen ();
11513 int
11514 main ()
11515 {
11516 return dlopen ();
11517   ;
11518   return 0;
11519 }
11520 _ACEOF
11521 if ac_fn_c_try_link "$LINENO"; then :
11522   ac_cv_lib_dl_dlopen=yes
11523 else
11524   ac_cv_lib_dl_dlopen=no
11525 fi
11526 rm -f core conftest.err conftest.$ac_objext \
11527     conftest$ac_exeext conftest.$ac_ext
11528 LIBS=$ac_check_lib_save_LIBS
11529 fi
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11531 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11532 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11533   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11534 else
11535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11536 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11537 if ${ac_cv_lib_svld_dlopen+:} false; then :
11538   $as_echo_n "(cached) " >&6
11539 else
11540   ac_check_lib_save_LIBS=$LIBS
11541 LIBS="-lsvld  $LIBS"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h.  */
11544
11545 /* Override any GCC internal prototype to avoid an error.
11546    Use char because int might match the return type of a GCC
11547    builtin and then its argument prototype would still apply.  */
11548 #ifdef __cplusplus
11549 extern "C"
11550 #endif
11551 char dlopen ();
11552 int
11553 main ()
11554 {
11555 return dlopen ();
11556   ;
11557   return 0;
11558 }
11559 _ACEOF
11560 if ac_fn_c_try_link "$LINENO"; then :
11561   ac_cv_lib_svld_dlopen=yes
11562 else
11563   ac_cv_lib_svld_dlopen=no
11564 fi
11565 rm -f core conftest.err conftest.$ac_objext \
11566     conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_lib_save_LIBS
11568 fi
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11570 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11571 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11572   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11573 else
11574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11575 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11576 if ${ac_cv_lib_dld_dld_link+:} false; then :
11577   $as_echo_n "(cached) " >&6
11578 else
11579   ac_check_lib_save_LIBS=$LIBS
11580 LIBS="-ldld  $LIBS"
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h.  */
11583
11584 /* Override any GCC internal prototype to avoid an error.
11585    Use char because int might match the return type of a GCC
11586    builtin and then its argument prototype would still apply.  */
11587 #ifdef __cplusplus
11588 extern "C"
11589 #endif
11590 char dld_link ();
11591 int
11592 main ()
11593 {
11594 return dld_link ();
11595   ;
11596   return 0;
11597 }
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"; then :
11600   ac_cv_lib_dld_dld_link=yes
11601 else
11602   ac_cv_lib_dld_dld_link=no
11603 fi
11604 rm -f core conftest.err conftest.$ac_objext \
11605     conftest$ac_exeext conftest.$ac_ext
11606 LIBS=$ac_check_lib_save_LIBS
11607 fi
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11609 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11610 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11611   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11612 fi
11613
11614
11615 fi
11616
11617
11618 fi
11619
11620
11621 fi
11622
11623
11624 fi
11625
11626
11627 fi
11628
11629     ;;
11630   esac
11631
11632   if test "x$lt_cv_dlopen" != xno; then
11633     enable_dlopen=yes
11634   else
11635     enable_dlopen=no
11636   fi
11637
11638   case $lt_cv_dlopen in
11639   dlopen)
11640     save_CPPFLAGS="$CPPFLAGS"
11641     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11642
11643     save_LDFLAGS="$LDFLAGS"
11644     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11645
11646     save_LIBS="$LIBS"
11647     LIBS="$lt_cv_dlopen_libs $LIBS"
11648
11649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11650 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11651 if ${lt_cv_dlopen_self+:} false; then :
11652   $as_echo_n "(cached) " >&6
11653 else
11654           if test "$cross_compiling" = yes; then :
11655   lt_cv_dlopen_self=cross
11656 else
11657   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11658   lt_status=$lt_dlunknown
11659   cat > conftest.$ac_ext <<_LT_EOF
11660 #line $LINENO "configure"
11661 #include "confdefs.h"
11662
11663 #if HAVE_DLFCN_H
11664 #include <dlfcn.h>
11665 #endif
11666
11667 #include <stdio.h>
11668
11669 #ifdef RTLD_GLOBAL
11670 #  define LT_DLGLOBAL           RTLD_GLOBAL
11671 #else
11672 #  ifdef DL_GLOBAL
11673 #    define LT_DLGLOBAL         DL_GLOBAL
11674 #  else
11675 #    define LT_DLGLOBAL         0
11676 #  endif
11677 #endif
11678
11679 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11680    find out it does not work in some platform. */
11681 #ifndef LT_DLLAZY_OR_NOW
11682 #  ifdef RTLD_LAZY
11683 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11684 #  else
11685 #    ifdef DL_LAZY
11686 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11687 #    else
11688 #      ifdef RTLD_NOW
11689 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11690 #      else
11691 #        ifdef DL_NOW
11692 #          define LT_DLLAZY_OR_NOW      DL_NOW
11693 #        else
11694 #          define LT_DLLAZY_OR_NOW      0
11695 #        endif
11696 #      endif
11697 #    endif
11698 #  endif
11699 #endif
11700
11701 /* When -fvisbility=hidden is used, assume the code has been annotated
11702    correspondingly for the symbols needed.  */
11703 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11704 int fnord () __attribute__((visibility("default")));
11705 #endif
11706
11707 int fnord () { return 42; }
11708 int main ()
11709 {
11710   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11711   int status = $lt_dlunknown;
11712
11713   if (self)
11714     {
11715       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11716       else
11717         {
11718           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11719           else puts (dlerror ());
11720         }
11721       /* dlclose (self); */
11722     }
11723   else
11724     puts (dlerror ());
11725
11726   return status;
11727 }
11728 _LT_EOF
11729   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11730   (eval $ac_link) 2>&5
11731   ac_status=$?
11732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11733   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11734     (./conftest; exit; ) >&5 2>/dev/null
11735     lt_status=$?
11736     case x$lt_status in
11737       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11738       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11739       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11740     esac
11741   else :
11742     # compilation failed
11743     lt_cv_dlopen_self=no
11744   fi
11745 fi
11746 rm -fr conftest*
11747
11748
11749 fi
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11751 $as_echo "$lt_cv_dlopen_self" >&6; }
11752
11753     if test "x$lt_cv_dlopen_self" = xyes; then
11754       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11755       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11756 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11757 if ${lt_cv_dlopen_self_static+:} false; then :
11758   $as_echo_n "(cached) " >&6
11759 else
11760           if test "$cross_compiling" = yes; then :
11761   lt_cv_dlopen_self_static=cross
11762 else
11763   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11764   lt_status=$lt_dlunknown
11765   cat > conftest.$ac_ext <<_LT_EOF
11766 #line $LINENO "configure"
11767 #include "confdefs.h"
11768
11769 #if HAVE_DLFCN_H
11770 #include <dlfcn.h>
11771 #endif
11772
11773 #include <stdio.h>
11774
11775 #ifdef RTLD_GLOBAL
11776 #  define LT_DLGLOBAL           RTLD_GLOBAL
11777 #else
11778 #  ifdef DL_GLOBAL
11779 #    define LT_DLGLOBAL         DL_GLOBAL
11780 #  else
11781 #    define LT_DLGLOBAL         0
11782 #  endif
11783 #endif
11784
11785 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11786    find out it does not work in some platform. */
11787 #ifndef LT_DLLAZY_OR_NOW
11788 #  ifdef RTLD_LAZY
11789 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11790 #  else
11791 #    ifdef DL_LAZY
11792 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11793 #    else
11794 #      ifdef RTLD_NOW
11795 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11796 #      else
11797 #        ifdef DL_NOW
11798 #          define LT_DLLAZY_OR_NOW      DL_NOW
11799 #        else
11800 #          define LT_DLLAZY_OR_NOW      0
11801 #        endif
11802 #      endif
11803 #    endif
11804 #  endif
11805 #endif
11806
11807 /* When -fvisbility=hidden is used, assume the code has been annotated
11808    correspondingly for the symbols needed.  */
11809 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11810 int fnord () __attribute__((visibility("default")));
11811 #endif
11812
11813 int fnord () { return 42; }
11814 int main ()
11815 {
11816   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11817   int status = $lt_dlunknown;
11818
11819   if (self)
11820     {
11821       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11822       else
11823         {
11824           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11825           else puts (dlerror ());
11826         }
11827       /* dlclose (self); */
11828     }
11829   else
11830     puts (dlerror ());
11831
11832   return status;
11833 }
11834 _LT_EOF
11835   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11836   (eval $ac_link) 2>&5
11837   ac_status=$?
11838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11839   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11840     (./conftest; exit; ) >&5 2>/dev/null
11841     lt_status=$?
11842     case x$lt_status in
11843       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11844       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11845       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11846     esac
11847   else :
11848     # compilation failed
11849     lt_cv_dlopen_self_static=no
11850   fi
11851 fi
11852 rm -fr conftest*
11853
11854
11855 fi
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11857 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11858     fi
11859
11860     CPPFLAGS="$save_CPPFLAGS"
11861     LDFLAGS="$save_LDFLAGS"
11862     LIBS="$save_LIBS"
11863     ;;
11864   esac
11865
11866   case $lt_cv_dlopen_self in
11867   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11868   *) enable_dlopen_self=unknown ;;
11869   esac
11870
11871   case $lt_cv_dlopen_self_static in
11872   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11873   *) enable_dlopen_self_static=unknown ;;
11874   esac
11875 fi
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893 striplib=
11894 old_striplib=
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11896 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11897 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11898   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11899   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11901 $as_echo "yes" >&6; }
11902 else
11903 # FIXME - insert some real tests, host_os isn't really good enough
11904   case $host_os in
11905   darwin*)
11906     if test -n "$STRIP" ; then
11907       striplib="$STRIP -x"
11908       old_striplib="$STRIP -S"
11909       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11910 $as_echo "yes" >&6; }
11911     else
11912       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11913 $as_echo "no" >&6; }
11914     fi
11915     ;;
11916   *)
11917     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11919     ;;
11920   esac
11921 fi
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934   # Report which library types will actually be built
11935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11936 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11938 $as_echo "$can_build_shared" >&6; }
11939
11940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11941 $as_echo_n "checking whether to build shared libraries... " >&6; }
11942   test "$can_build_shared" = "no" && enable_shared=no
11943
11944   # On AIX, shared libraries and static libraries use the same namespace, and
11945   # are all built from PIC.
11946   case $host_os in
11947   aix3*)
11948     test "$enable_shared" = yes && enable_static=no
11949     if test -n "$RANLIB"; then
11950       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11951       postinstall_cmds='$RANLIB $lib'
11952     fi
11953     ;;
11954
11955   aix[4-9]*)
11956     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11957       test "$enable_shared" = yes && enable_static=no
11958     fi
11959     ;;
11960   esac
11961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11962 $as_echo "$enable_shared" >&6; }
11963
11964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11965 $as_echo_n "checking whether to build static libraries... " >&6; }
11966   # Make sure either enable_shared or enable_static is yes.
11967   test "$enable_shared" = yes || enable_static=yes
11968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11969 $as_echo "$enable_static" >&6; }
11970
11971
11972
11973
11974 fi
11975 ac_ext=c
11976 ac_cpp='$CPP $CPPFLAGS'
11977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11980
11981 CC="$lt_save_CC"
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997         ac_config_commands="$ac_config_commands libtool"
11998
11999
12000
12001
12002 # Only expand once:
12003
12004
12005
12006 # Gobject Introspection
12007
12008
12009
12010
12011
12012
12013
12014 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12015         if test -n "$ac_tool_prefix"; then
12016   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12017 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12019 $as_echo_n "checking for $ac_word... " >&6; }
12020 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12021   $as_echo_n "(cached) " >&6
12022 else
12023   case $PKG_CONFIG in
12024   [\\/]* | ?:[\\/]*)
12025   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12026   ;;
12027   *)
12028   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12029 for as_dir in $PATH
12030 do
12031   IFS=$as_save_IFS
12032   test -z "$as_dir" && as_dir=.
12033     for ac_exec_ext in '' $ac_executable_extensions; do
12034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12035     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12037     break 2
12038   fi
12039 done
12040   done
12041 IFS=$as_save_IFS
12042
12043   ;;
12044 esac
12045 fi
12046 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12047 if test -n "$PKG_CONFIG"; then
12048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12049 $as_echo "$PKG_CONFIG" >&6; }
12050 else
12051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12052 $as_echo "no" >&6; }
12053 fi
12054
12055
12056 fi
12057 if test -z "$ac_cv_path_PKG_CONFIG"; then
12058   ac_pt_PKG_CONFIG=$PKG_CONFIG
12059   # Extract the first word of "pkg-config", so it can be a program name with args.
12060 set dummy pkg-config; ac_word=$2
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12062 $as_echo_n "checking for $ac_word... " >&6; }
12063 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12064   $as_echo_n "(cached) " >&6
12065 else
12066   case $ac_pt_PKG_CONFIG in
12067   [\\/]* | ?:[\\/]*)
12068   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12069   ;;
12070   *)
12071   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12072 for as_dir in $PATH
12073 do
12074   IFS=$as_save_IFS
12075   test -z "$as_dir" && as_dir=.
12076     for ac_exec_ext in '' $ac_executable_extensions; do
12077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12078     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12080     break 2
12081   fi
12082 done
12083   done
12084 IFS=$as_save_IFS
12085
12086   ;;
12087 esac
12088 fi
12089 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12090 if test -n "$ac_pt_PKG_CONFIG"; then
12091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12092 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12093 else
12094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12095 $as_echo "no" >&6; }
12096 fi
12097
12098   if test "x$ac_pt_PKG_CONFIG" = x; then
12099     PKG_CONFIG=""
12100   else
12101     case $cross_compiling:$ac_tool_warned in
12102 yes:)
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12105 ac_tool_warned=yes ;;
12106 esac
12107     PKG_CONFIG=$ac_pt_PKG_CONFIG
12108   fi
12109 else
12110   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12111 fi
12112
12113 fi
12114 if test -n "$PKG_CONFIG"; then
12115         _pkg_min_version=0.9.0
12116         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12117 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12118         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12119                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12120 $as_echo "yes" >&6; }
12121         else
12122                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12123 $as_echo "no" >&6; }
12124                 PKG_CONFIG=""
12125         fi
12126 fi
12127
12128
12129
12130                 # Check whether --enable-introspection was given.
12131 if test "${enable_introspection+set}" = set; then :
12132   enableval=$enable_introspection;
12133 else
12134   enable_introspection=auto
12135 fi
12136
12137
12138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12139 $as_echo_n "checking for gobject-introspection... " >&6; }
12140
12141         case $enable_introspection in #(
12142   no) :
12143             found_introspection="no (disabled, use --enable-introspection to enable)"
12144      ;; #(
12145       yes) :
12146             if test -n "$PKG_CONFIG" && \
12147     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12148   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12149   ac_status=$?
12150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12151   test $ac_status = 0; }; then
12152   :
12153 else
12154   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12155 fi
12156         if test -n "$PKG_CONFIG" && \
12157     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
12158   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
12159   ac_status=$?
12160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12161   test $ac_status = 0; }; then
12162   found_introspection=yes
12163 else
12164   as_fn_error $? "You need to have gobject-introspection >= 1.30.0 installed to build libgsignon-glib" "$LINENO" 5
12165 fi
12166      ;; #(
12167       auto) :
12168             if test -n "$PKG_CONFIG" && \
12169     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
12170   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
12171   ac_status=$?
12172   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12173   test $ac_status = 0; }; then
12174   found_introspection=yes
12175 else
12176   found_introspection=no
12177 fi
12178      ;; #(
12179   *) :
12180                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12181      ;;
12182 esac
12183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12184 $as_echo "$found_introspection" >&6; }
12185
12186     INTROSPECTION_SCANNER=
12187     INTROSPECTION_COMPILER=
12188     INTROSPECTION_GENERATE=
12189     INTROSPECTION_GIRDIR=
12190     INTROSPECTION_TYPELIBDIR=
12191     if test "x$found_introspection" = "xyes"; then
12192        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12193        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12194        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12195        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12196        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12197        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12198        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12199        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12200     fi
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210      if test "x$found_introspection" = "xyes"; then
12211   HAVE_INTROSPECTION_TRUE=
12212   HAVE_INTROSPECTION_FALSE='#'
12213 else
12214   HAVE_INTROSPECTION_TRUE='#'
12215   HAVE_INTROSPECTION_FALSE=
12216 fi
12217
12218
12219
12220
12221
12222 pkg_failed=no
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
12224 $as_echo_n "checking for DEPS... " >&6; }
12225
12226 if test -n "$DEPS_CFLAGS"; then
12227     pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
12228  elif test -n "$PKG_CONFIG"; then
12229     if test -n "$PKG_CONFIG" && \
12230     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
12231      gio-unix-2.0
12232      glib-2.0 >= 2.32
12233      gobject-2.0,
12234      gthread-2.0\""; } >&5
12235   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12236      gio-unix-2.0
12237      glib-2.0 >= 2.32
12238      gobject-2.0,
12239      gthread-2.0") 2>&5
12240   ac_status=$?
12241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12242   test $ac_status = 0; }; then
12243   pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.30
12244      gio-unix-2.0
12245      glib-2.0 >= 2.32
12246      gobject-2.0,
12247      gthread-2.0" 2>/dev/null`
12248                       test "x$?" != "x0" && pkg_failed=yes
12249 else
12250   pkg_failed=yes
12251 fi
12252  else
12253     pkg_failed=untried
12254 fi
12255 if test -n "$DEPS_LIBS"; then
12256     pkg_cv_DEPS_LIBS="$DEPS_LIBS"
12257  elif test -n "$PKG_CONFIG"; then
12258     if test -n "$PKG_CONFIG" && \
12259     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
12260      gio-unix-2.0
12261      glib-2.0 >= 2.32
12262      gobject-2.0,
12263      gthread-2.0\""; } >&5
12264   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12265      gio-unix-2.0
12266      glib-2.0 >= 2.32
12267      gobject-2.0,
12268      gthread-2.0") 2>&5
12269   ac_status=$?
12270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12271   test $ac_status = 0; }; then
12272   pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.30
12273      gio-unix-2.0
12274      glib-2.0 >= 2.32
12275      gobject-2.0,
12276      gthread-2.0" 2>/dev/null`
12277                       test "x$?" != "x0" && pkg_failed=yes
12278 else
12279   pkg_failed=yes
12280 fi
12281  else
12282     pkg_failed=untried
12283 fi
12284
12285
12286
12287 if test $pkg_failed = yes; then
12288         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12289 $as_echo "no" >&6; }
12290
12291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12292         _pkg_short_errors_supported=yes
12293 else
12294         _pkg_short_errors_supported=no
12295 fi
12296         if test $_pkg_short_errors_supported = yes; then
12297                 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.30
12298      gio-unix-2.0
12299      glib-2.0 >= 2.32
12300      gobject-2.0,
12301      gthread-2.0" 2>&1`
12302         else
12303                 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.30
12304      gio-unix-2.0
12305      glib-2.0 >= 2.32
12306      gobject-2.0,
12307      gthread-2.0" 2>&1`
12308         fi
12309         # Put the nasty error message in config.log where it belongs
12310         echo "$DEPS_PKG_ERRORS" >&5
12311
12312         as_fn_error $? "Package requirements (gio-2.0 >= 2.30
12313      gio-unix-2.0
12314      glib-2.0 >= 2.32
12315      gobject-2.0,
12316      gthread-2.0) were not met:
12317
12318 $DEPS_PKG_ERRORS
12319
12320 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12321 installed software in a non-standard prefix.
12322
12323 Alternatively, you may set the environment variables DEPS_CFLAGS
12324 and DEPS_LIBS to avoid the need to call pkg-config.
12325 See the pkg-config man page for more details." "$LINENO" 5
12326 elif test $pkg_failed = untried; then
12327         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12328 $as_echo "no" >&6; }
12329         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12331 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12332 is in your PATH or set the PKG_CONFIG environment variable to the full
12333 path to pkg-config.
12334
12335 Alternatively, you may set the environment variables DEPS_CFLAGS
12336 and DEPS_LIBS to avoid the need to call pkg-config.
12337 See the pkg-config man page for more details.
12338
12339 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12340 See \`config.log' for more details" "$LINENO" 5; }
12341 else
12342         DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
12343         DEPS_LIBS=$pkg_cv_DEPS_LIBS
12344         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12345 $as_echo "yes" >&6; }
12346
12347 fi
12348
12349
12350
12351 # Check whether --enable-dbus-type was given.
12352 if test "${enable_dbus_type+set}" = set; then :
12353   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12354 else
12355   enable_dbus_type=p2p
12356 fi
12357
12358
12359 echo "----------------------"
12360 echo " DBUS TYPE : '$enable_dbus_type'"
12361 echo "-----------------------"
12362 if test "x$enable_dbus_type" = "xp2p" ; then
12363
12364 $as_echo "#define USE_P2P 1" >>confdefs.h
12365
12366
12367 $as_echo "#define SIGNOND_BUS_ADDRESS \"unix:path=%s/gsignond/bus-sock\"" >>confdefs.h
12368
12369 elif test "x$enable_dbus_type" = "xsession" ; then
12370
12371 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12372
12373
12374     # Build tests.
12375
12376 pkg_failed=no
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12378 $as_echo_n "checking for GTestDBus... " >&6; }
12379
12380 if test -n "$GTestDBus_CFLAGS"; then
12381     pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12382  elif test -n "$PKG_CONFIG"; then
12383     if test -n "$PKG_CONFIG" && \
12384     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12385   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12386   ac_status=$?
12387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12388   test $ac_status = 0; }; then
12389   pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.34" 2>/dev/null`
12390                       test "x$?" != "x0" && pkg_failed=yes
12391 else
12392   pkg_failed=yes
12393 fi
12394  else
12395     pkg_failed=untried
12396 fi
12397 if test -n "$GTestDBus_LIBS"; then
12398     pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12399  elif test -n "$PKG_CONFIG"; then
12400     if test -n "$PKG_CONFIG" && \
12401     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12402   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12403   ac_status=$?
12404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12405   test $ac_status = 0; }; then
12406   pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.34" 2>/dev/null`
12407                       test "x$?" != "x0" && pkg_failed=yes
12408 else
12409   pkg_failed=yes
12410 fi
12411  else
12412     pkg_failed=untried
12413 fi
12414
12415
12416
12417 if test $pkg_failed = yes; then
12418         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419 $as_echo "no" >&6; }
12420
12421 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12422         _pkg_short_errors_supported=yes
12423 else
12424         _pkg_short_errors_supported=no
12425 fi
12426         if test $_pkg_short_errors_supported = yes; then
12427                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12428         else
12429                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12430         fi
12431         # Put the nasty error message in config.log where it belongs
12432         echo "$GTestDBus_PKG_ERRORS" >&5
12433
12434         gtestdbus=no
12435 elif test $pkg_failed = untried; then
12436         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 $as_echo "no" >&6; }
12438         gtestdbus=no
12439 else
12440         GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12441         GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12442         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12443 $as_echo "yes" >&6; }
12444         gtestdbus=yes
12445 fi
12446     if test "x$gtestdbus" = xyes; then
12447
12448 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12449
12450     else
12451
12452 $as_echo "#define HAVE_GTESTDBUS 0" >>confdefs.h
12453
12454     fi
12455 elif test "x$enable_dbus_type" = "xsystem" ; then
12456
12457 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12458
12459 fi
12460 if test "x$enable_dbus_type" != "xp2p" ; then
12461     DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12462 fi
12463
12464  if test x$gtestdbus = xyes; then
12465   HAVE_GTESTDBUS_TRUE=
12466   HAVE_GTESTDBUS_FALSE='#'
12467 else
12468   HAVE_GTESTDBUS_TRUE='#'
12469   HAVE_GTESTDBUS_FALSE=
12470 fi
12471
12472
12473 CHECK_REQUIRED="check >= 0.9.4"
12474
12475 # Check whether --enable-tests was given.
12476 if test "${enable_tests+set}" = set; then :
12477   enableval=$enable_tests;
12478 fi
12479
12480
12481 if test "x$enable_tests" != "xno"; then :
12482   if test -n "$PKG_CONFIG" && \
12483     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12484   ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12485   ac_status=$?
12486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12487   test $ac_status = 0; }; then
12488   have_check=yes
12489 else
12490   have_check=no
12491 fi
12492 else
12493   have_check=no
12494 fi
12495
12496 if test "x$have_check" = "xyes"; then :
12497
12498 pkg_failed=no
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12500 $as_echo_n "checking for CHECK... " >&6; }
12501
12502 if test -n "$CHECK_CFLAGS"; then
12503     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12504  elif test -n "$PKG_CONFIG"; then
12505     if test -n "$PKG_CONFIG" && \
12506     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12507   ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12508   ac_status=$?
12509   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12510   test $ac_status = 0; }; then
12511   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$CHECK_REQUIRED" 2>/dev/null`
12512                       test "x$?" != "x0" && pkg_failed=yes
12513 else
12514   pkg_failed=yes
12515 fi
12516  else
12517     pkg_failed=untried
12518 fi
12519 if test -n "$CHECK_LIBS"; then
12520     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12521  elif test -n "$PKG_CONFIG"; then
12522     if test -n "$PKG_CONFIG" && \
12523     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12524   ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12525   ac_status=$?
12526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12527   test $ac_status = 0; }; then
12528   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "$CHECK_REQUIRED" 2>/dev/null`
12529                       test "x$?" != "x0" && pkg_failed=yes
12530 else
12531   pkg_failed=yes
12532 fi
12533  else
12534     pkg_failed=untried
12535 fi
12536
12537
12538
12539 if test $pkg_failed = yes; then
12540         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12541 $as_echo "no" >&6; }
12542
12543 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12544         _pkg_short_errors_supported=yes
12545 else
12546         _pkg_short_errors_supported=no
12547 fi
12548         if test $_pkg_short_errors_supported = yes; then
12549                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12550         else
12551                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12552         fi
12553         # Put the nasty error message in config.log where it belongs
12554         echo "$CHECK_PKG_ERRORS" >&5
12555
12556         as_fn_error $? "Package requirements ($CHECK_REQUIRED) were not met:
12557
12558 $CHECK_PKG_ERRORS
12559
12560 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12561 installed software in a non-standard prefix.
12562
12563 Alternatively, you may set the environment variables CHECK_CFLAGS
12564 and CHECK_LIBS to avoid the need to call pkg-config.
12565 See the pkg-config man page for more details." "$LINENO" 5
12566 elif test $pkg_failed = untried; then
12567         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12568 $as_echo "no" >&6; }
12569         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12571 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12572 is in your PATH or set the PKG_CONFIG environment variable to the full
12573 path to pkg-config.
12574
12575 Alternatively, you may set the environment variables CHECK_CFLAGS
12576 and CHECK_LIBS to avoid the need to call pkg-config.
12577 See the pkg-config man page for more details.
12578
12579 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12580 See \`config.log' for more details" "$LINENO" 5; }
12581 else
12582         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12583         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12584         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12585 $as_echo "yes" >&6; }
12586
12587 fi
12588
12589
12590 else
12591   if test "x$enable_tests" = "xyes"; then :
12592   as_fn_error $? "tests enabled but required dependencies were not found" "$LINENO" 5
12593 fi
12594 fi
12595
12596  if test "x$have_check" = "xyes"; then
12597   ENABLE_TESTS_TRUE=
12598   ENABLE_TESTS_FALSE='#'
12599 else
12600   ENABLE_TESTS_TRUE='#'
12601   ENABLE_TESTS_FALSE=
12602 fi
12603
12604
12605
12606
12607
12608
12609     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12610 set dummy gtkdoc-check; ac_word=$2
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12612 $as_echo_n "checking for $ac_word... " >&6; }
12613 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12614   $as_echo_n "(cached) " >&6
12615 else
12616   case $GTKDOC_CHECK in
12617   [\\/]* | ?:[\\/]*)
12618   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12619   ;;
12620   *)
12621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12622 for as_dir in $PATH
12623 do
12624   IFS=$as_save_IFS
12625   test -z "$as_dir" && as_dir=.
12626     for ac_exec_ext in '' $ac_executable_extensions; do
12627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12628     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12630     break 2
12631   fi
12632 done
12633   done
12634 IFS=$as_save_IFS
12635
12636   ;;
12637 esac
12638 fi
12639 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12640 if test -n "$GTKDOC_CHECK"; then
12641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12642 $as_echo "$GTKDOC_CHECK" >&6; }
12643 else
12644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12645 $as_echo "no" >&6; }
12646 fi
12647
12648
12649   for ac_prog in gtkdoc-rebase
12650 do
12651   # Extract the first word of "$ac_prog", so it can be a program name with args.
12652 set dummy $ac_prog; ac_word=$2
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12654 $as_echo_n "checking for $ac_word... " >&6; }
12655 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12656   $as_echo_n "(cached) " >&6
12657 else
12658   case $GTKDOC_REBASE in
12659   [\\/]* | ?:[\\/]*)
12660   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12661   ;;
12662   *)
12663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12664 for as_dir in $PATH
12665 do
12666   IFS=$as_save_IFS
12667   test -z "$as_dir" && as_dir=.
12668     for ac_exec_ext in '' $ac_executable_extensions; do
12669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12670     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12672     break 2
12673   fi
12674 done
12675   done
12676 IFS=$as_save_IFS
12677
12678   ;;
12679 esac
12680 fi
12681 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12682 if test -n "$GTKDOC_REBASE"; then
12683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12684 $as_echo "$GTKDOC_REBASE" >&6; }
12685 else
12686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12687 $as_echo "no" >&6; }
12688 fi
12689
12690
12691   test -n "$GTKDOC_REBASE" && break
12692 done
12693 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12694
12695   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12696 set dummy gtkdoc-mkpdf; ac_word=$2
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12698 $as_echo_n "checking for $ac_word... " >&6; }
12699 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12700   $as_echo_n "(cached) " >&6
12701 else
12702   case $GTKDOC_MKPDF in
12703   [\\/]* | ?:[\\/]*)
12704   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12705   ;;
12706   *)
12707   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12708 for as_dir in $PATH
12709 do
12710   IFS=$as_save_IFS
12711   test -z "$as_dir" && as_dir=.
12712     for ac_exec_ext in '' $ac_executable_extensions; do
12713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12714     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12716     break 2
12717   fi
12718 done
12719   done
12720 IFS=$as_save_IFS
12721
12722   ;;
12723 esac
12724 fi
12725 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12726 if test -n "$GTKDOC_MKPDF"; then
12727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12728 $as_echo "$GTKDOC_MKPDF" >&6; }
12729 else
12730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12731 $as_echo "no" >&6; }
12732 fi
12733
12734
12735
12736
12737 # Check whether --with-html-dir was given.
12738 if test "${with_html_dir+set}" = set; then :
12739   withval=$with_html_dir;
12740 else
12741   with_html_dir='${datadir}/gtk-doc/html'
12742 fi
12743
12744   HTML_DIR="$with_html_dir"
12745
12746
12747     # Check whether --enable-gtk-doc was given.
12748 if test "${enable_gtk_doc+set}" = set; then :
12749   enableval=$enable_gtk_doc;
12750 else
12751   enable_gtk_doc=no
12752 fi
12753
12754
12755   if test x$enable_gtk_doc = xyes; then
12756     if test -n "$PKG_CONFIG" && \
12757     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
12758   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
12759   ac_status=$?
12760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12761   test $ac_status = 0; }; then
12762   :
12763 else
12764   as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
12765 fi
12766         if test "x$PACKAGE_NAME" != "xglib"; then
12767
12768 pkg_failed=no
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12770 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12771
12772 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12773     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12774  elif test -n "$PKG_CONFIG"; then
12775     if test -n "$PKG_CONFIG" && \
12776     { { $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
12777   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12778   ac_status=$?
12779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12780   test $ac_status = 0; }; then
12781   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12782                       test "x$?" != "x0" && pkg_failed=yes
12783 else
12784   pkg_failed=yes
12785 fi
12786  else
12787     pkg_failed=untried
12788 fi
12789 if test -n "$GTKDOC_DEPS_LIBS"; then
12790     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12791  elif test -n "$PKG_CONFIG"; then
12792     if test -n "$PKG_CONFIG" && \
12793     { { $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
12794   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12795   ac_status=$?
12796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12797   test $ac_status = 0; }; then
12798   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12799                       test "x$?" != "x0" && pkg_failed=yes
12800 else
12801   pkg_failed=yes
12802 fi
12803  else
12804     pkg_failed=untried
12805 fi
12806
12807
12808
12809 if test $pkg_failed = yes; then
12810         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12811 $as_echo "no" >&6; }
12812
12813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12814         _pkg_short_errors_supported=yes
12815 else
12816         _pkg_short_errors_supported=no
12817 fi
12818         if test $_pkg_short_errors_supported = yes; then
12819                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12820         else
12821                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12822         fi
12823         # Put the nasty error message in config.log where it belongs
12824         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12825
12826         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
12827
12828 $GTKDOC_DEPS_PKG_ERRORS
12829
12830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12831 installed software in a non-standard prefix.
12832
12833 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12834 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12835 See the pkg-config man page for more details." "$LINENO" 5
12836 elif test $pkg_failed = untried; then
12837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838 $as_echo "no" >&6; }
12839         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12841 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12842 is in your PATH or set the PKG_CONFIG environment variable to the full
12843 path to pkg-config.
12844
12845 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12846 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12847 See the pkg-config man page for more details.
12848
12849 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12850 See \`config.log' for more details" "$LINENO" 5; }
12851 else
12852         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12853         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12854         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12855 $as_echo "yes" >&6; }
12856
12857 fi
12858     fi
12859   fi
12860
12861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12862 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12864 $as_echo "$enable_gtk_doc" >&6; }
12865
12866     # Check whether --enable-gtk-doc-html was given.
12867 if test "${enable_gtk_doc_html+set}" = set; then :
12868   enableval=$enable_gtk_doc_html;
12869 else
12870   enable_gtk_doc_html=yes
12871 fi
12872
12873     # Check whether --enable-gtk-doc-pdf was given.
12874 if test "${enable_gtk_doc_pdf+set}" = set; then :
12875   enableval=$enable_gtk_doc_pdf;
12876 else
12877   enable_gtk_doc_pdf=no
12878 fi
12879
12880
12881   if test -z "$GTKDOC_MKPDF"; then
12882     enable_gtk_doc_pdf=no
12883   fi
12884
12885
12886    if test x$enable_gtk_doc = xyes; then
12887   ENABLE_GTK_DOC_TRUE=
12888   ENABLE_GTK_DOC_FALSE='#'
12889 else
12890   ENABLE_GTK_DOC_TRUE='#'
12891   ENABLE_GTK_DOC_FALSE=
12892 fi
12893
12894    if test x$enable_gtk_doc_html = xyes; then
12895   GTK_DOC_BUILD_HTML_TRUE=
12896   GTK_DOC_BUILD_HTML_FALSE='#'
12897 else
12898   GTK_DOC_BUILD_HTML_TRUE='#'
12899   GTK_DOC_BUILD_HTML_FALSE=
12900 fi
12901
12902    if test x$enable_gtk_doc_pdf = xyes; then
12903   GTK_DOC_BUILD_PDF_TRUE=
12904   GTK_DOC_BUILD_PDF_FALSE='#'
12905 else
12906   GTK_DOC_BUILD_PDF_TRUE='#'
12907   GTK_DOC_BUILD_PDF_FALSE=
12908 fi
12909
12910    if test -n "$LIBTOOL"; then
12911   GTK_DOC_USE_LIBTOOL_TRUE=
12912   GTK_DOC_USE_LIBTOOL_FALSE='#'
12913 else
12914   GTK_DOC_USE_LIBTOOL_TRUE='#'
12915   GTK_DOC_USE_LIBTOOL_FALSE=
12916 fi
12917
12918    if test -n "$GTKDOC_REBASE"; then
12919   GTK_DOC_USE_REBASE_TRUE=
12920   GTK_DOC_USE_REBASE_FALSE='#'
12921 else
12922   GTK_DOC_USE_REBASE_TRUE='#'
12923   GTK_DOC_USE_REBASE_FALSE=
12924 fi
12925
12926
12927
12928
12929 # Check whether --enable-cast-checks was given.
12930 if test "${enable_cast_checks+set}" = set; then :
12931   enableval=$enable_cast_checks;
12932 fi
12933
12934 if test "x$enable_cast_checks" = "xno"; then :
12935   CFLAGS="$CFLAGS -DG_DISABLE_CAST_CHECKS"
12936 fi
12937
12938 # Check whether --enable-asserts was given.
12939 if test "${enable_asserts+set}" = set; then :
12940   enableval=$enable_asserts;
12941 fi
12942
12943 if test "x$enable_asserts" = "xno"; then :
12944   CFLAGS="$CFLAGS -DG_DISABLE_ASSERTS"
12945 fi
12946
12947 # Check whether --enable-checks was given.
12948 if test "${enable_checks+set}" = set; then :
12949   enableval=$enable_checks;
12950 fi
12951
12952 if test "x$checks" = "xno"; then :
12953   CFLAGS="$CFLAGS -DG_DISABLE_CHECKS"
12954 fi
12955
12956 # Check whether --enable-debug was given.
12957 if test "${enable_debug+set}" = set; then :
12958   enableval=$enable_debug;
12959 fi
12960
12961 if test "x$enable_debug" = "xyes"; then :
12962   CFLAGS="$CFLAGS -DENABLE_DEBUG"
12963 fi
12964
12965 # Check whether --enable-coverage was given.
12966 if test "${enable_coverage+set}" = set; then :
12967   enableval=$enable_coverage;
12968 fi
12969
12970 if test "x$enable_coverage" = "xyes"; then :
12971   CFLAGS="$CFLAGS -g -fprofile-arcs -ftest-coverage"
12972 fi
12973
12974 # Python support.
12975 PYGOBJECT_REQUIRED=2.90
12976
12977 # Check whether --enable-python was given.
12978 if test "${enable_python+set}" = set; then :
12979   enableval=$enable_python;
12980 fi
12981
12982
12983 if test "x$enable_python" != "xno"; then :
12984   if test -n "$PKG_CONFIG" && \
12985     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
12986   ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
12987   ac_status=$?
12988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12989   test $ac_status = 0; }; then
12990   have_python=yes
12991 else
12992   have_python=no
12993 fi
12994 fi
12995
12996 if test "x$have_python" = "xyes"; then :
12997
12998
12999
13000
13001
13002
13003         # Find any Python interpreter.
13004     if test -z "$PYTHON"; then
13005       for ac_prog in python python2 python3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
13006 do
13007   # Extract the first word of "$ac_prog", so it can be a program name with args.
13008 set dummy $ac_prog; ac_word=$2
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13010 $as_echo_n "checking for $ac_word... " >&6; }
13011 if ${ac_cv_path_PYTHON+:} false; then :
13012   $as_echo_n "(cached) " >&6
13013 else
13014   case $PYTHON in
13015   [\\/]* | ?:[\\/]*)
13016   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13017   ;;
13018   *)
13019   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13020 for as_dir in $PATH
13021 do
13022   IFS=$as_save_IFS
13023   test -z "$as_dir" && as_dir=.
13024     for ac_exec_ext in '' $ac_executable_extensions; do
13025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13026     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13028     break 2
13029   fi
13030 done
13031   done
13032 IFS=$as_save_IFS
13033
13034   ;;
13035 esac
13036 fi
13037 PYTHON=$ac_cv_path_PYTHON
13038 if test -n "$PYTHON"; then
13039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13040 $as_echo "$PYTHON" >&6; }
13041 else
13042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13043 $as_echo "no" >&6; }
13044 fi
13045
13046
13047   test -n "$PYTHON" && break
13048 done
13049 test -n "$PYTHON" || PYTHON=":"
13050
13051     fi
13052     am_display_PYTHON=python
13053
13054
13055   if test "$PYTHON" = :; then
13056       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
13057   else
13058
13059
13060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13061 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13062 if ${am_cv_python_version+:} false; then :
13063   $as_echo_n "(cached) " >&6
13064 else
13065   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13066 fi
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13068 $as_echo "$am_cv_python_version" >&6; }
13069   PYTHON_VERSION=$am_cv_python_version
13070
13071
13072
13073   PYTHON_PREFIX='${prefix}'
13074
13075   PYTHON_EXEC_PREFIX='${exec_prefix}'
13076
13077
13078
13079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13080 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13081 if ${am_cv_python_platform+:} false; then :
13082   $as_echo_n "(cached) " >&6
13083 else
13084   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13085 fi
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13087 $as_echo "$am_cv_python_platform" >&6; }
13088   PYTHON_PLATFORM=$am_cv_python_platform
13089
13090
13091
13092
13093             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13094 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13095 if ${am_cv_python_pythondir+:} false; then :
13096   $as_echo_n "(cached) " >&6
13097 else
13098   if test "x$prefix" = xNONE
13099      then
13100        am_py_prefix=$ac_default_prefix
13101      else
13102        am_py_prefix=$prefix
13103      fi
13104      am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
13105      case $am_cv_python_pythondir in
13106      $am_py_prefix*)
13107        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13108        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13109        ;;
13110      *)
13111        case $am_py_prefix in
13112          /usr|/System*) ;;
13113          *)
13114           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13115           ;;
13116        esac
13117        ;;
13118      esac
13119
13120 fi
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13122 $as_echo "$am_cv_python_pythondir" >&6; }
13123   pythondir=$am_cv_python_pythondir
13124
13125
13126
13127   pkgpythondir=\${pythondir}/$PACKAGE
13128
13129
13130         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13131 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13132 if ${am_cv_python_pyexecdir+:} false; then :
13133   $as_echo_n "(cached) " >&6
13134 else
13135   if test "x$exec_prefix" = xNONE
13136      then
13137        am_py_exec_prefix=$am_py_prefix
13138      else
13139        am_py_exec_prefix=$exec_prefix
13140      fi
13141      am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
13142      case $am_cv_python_pyexecdir in
13143      $am_py_exec_prefix*)
13144        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13145        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13146        ;;
13147      *)
13148        case $am_py_exec_prefix in
13149          /usr|/System*) ;;
13150          *)
13151            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13152            ;;
13153        esac
13154        ;;
13155      esac
13156
13157 fi
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13159 $as_echo "$am_cv_python_pyexecdir" >&6; }
13160   pyexecdir=$am_cv_python_pyexecdir
13161
13162
13163
13164   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13165
13166
13167
13168   fi
13169
13170
13171      pyoverridesdir=`$PYTHON -c "import gi;print (gi._overridesdir)" 2>/dev/null`
13172
13173 fi
13174
13175  if test "x$have_python" = "xyes"; then
13176   ENABLE_PYTHON_TRUE=
13177   ENABLE_PYTHON_FALSE='#'
13178 else
13179   ENABLE_PYTHON_TRUE='#'
13180   ENABLE_PYTHON_FALSE=
13181 fi
13182
13183
13184 ac_config_files="$ac_config_files Makefile libgsignon-glib/Makefile libgsignon-glib.pc docs/Makefile docs/reference/Makefile docs/reference/version.xml tests/Makefile pygobject/Makefile examples/Makefile"
13185
13186 cat >confcache <<\_ACEOF
13187 # This file is a shell script that caches the results of configure
13188 # tests run on this system so they can be shared between configure
13189 # scripts and configure runs, see configure's option --config-cache.
13190 # It is not useful on other systems.  If it contains results you don't
13191 # want to keep, you may remove or edit it.
13192 #
13193 # config.status only pays attention to the cache file if you give it
13194 # the --recheck option to rerun configure.
13195 #
13196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13198 # following values.
13199
13200 _ACEOF
13201
13202 # The following way of writing the cache mishandles newlines in values,
13203 # but we know of no workaround that is simple, portable, and efficient.
13204 # So, we kill variables containing newlines.
13205 # Ultrix sh set writes to stderr and can't be redirected directly,
13206 # and sets the high bit in the cache file unless we assign to the vars.
13207 (
13208   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13209     eval ac_val=\$$ac_var
13210     case $ac_val in #(
13211     *${as_nl}*)
13212       case $ac_var in #(
13213       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13214 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13215       esac
13216       case $ac_var in #(
13217       _ | IFS | as_nl) ;; #(
13218       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13219       *) { eval $ac_var=; unset $ac_var;} ;;
13220       esac ;;
13221     esac
13222   done
13223
13224   (set) 2>&1 |
13225     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13226     *${as_nl}ac_space=\ *)
13227       # `set' does not quote correctly, so add quotes: double-quote
13228       # substitution turns \\\\ into \\, and sed turns \\ into \.
13229       sed -n \
13230         "s/'/'\\\\''/g;
13231           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13232       ;; #(
13233     *)
13234       # `set' quotes correctly as required by POSIX, so do not add quotes.
13235       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13236       ;;
13237     esac |
13238     sort
13239 ) |
13240   sed '
13241      /^ac_cv_env_/b end
13242      t clear
13243      :clear
13244      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13245      t end
13246      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13247      :end' >>confcache
13248 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13249   if test -w "$cache_file"; then
13250     if test "x$cache_file" != "x/dev/null"; then
13251       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13252 $as_echo "$as_me: updating cache $cache_file" >&6;}
13253       if test ! -f "$cache_file" || test -h "$cache_file"; then
13254         cat confcache >"$cache_file"
13255       else
13256         case $cache_file in #(
13257         */* | ?:*)
13258           mv -f confcache "$cache_file"$$ &&
13259           mv -f "$cache_file"$$ "$cache_file" ;; #(
13260         *)
13261           mv -f confcache "$cache_file" ;;
13262         esac
13263       fi
13264     fi
13265   else
13266     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13267 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13268   fi
13269 fi
13270 rm -f confcache
13271
13272 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13273 # Let make expand exec_prefix.
13274 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13275
13276 DEFS=-DHAVE_CONFIG_H
13277
13278 ac_libobjs=
13279 ac_ltlibobjs=
13280 U=
13281 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13282   # 1. Remove the extension, and $U if already installed.
13283   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13284   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13285   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13286   #    will be set to the directory where LIBOBJS objects are built.
13287   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13288   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13289 done
13290 LIBOBJS=$ac_libobjs
13291
13292 LTLIBOBJS=$ac_ltlibobjs
13293
13294
13295  if test -n "$EXEEXT"; then
13296   am__EXEEXT_TRUE=
13297   am__EXEEXT_FALSE='#'
13298 else
13299   am__EXEEXT_TRUE='#'
13300   am__EXEEXT_FALSE=
13301 fi
13302
13303 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13304   as_fn_error $? "conditional \"AMDEP\" was never defined.
13305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13306 fi
13307 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13308   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13310 fi
13311 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13312   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13314 fi
13315 if test -z "${HAVE_GTESTDBUS_TRUE}" && test -z "${HAVE_GTESTDBUS_FALSE}"; then
13316   as_fn_error $? "conditional \"HAVE_GTESTDBUS\" was never defined.
13317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13318 fi
13319 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13320   as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13322 fi
13323 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13324   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13326 fi
13327 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13328   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13330 fi
13331 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13332   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13334 fi
13335 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13336   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13338 fi
13339 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13340   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13342 fi
13343 if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
13344   as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
13345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13346 fi
13347
13348 : "${CONFIG_STATUS=./config.status}"
13349 ac_write_fail=0
13350 ac_clean_files_save=$ac_clean_files
13351 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13353 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13354 as_write_fail=0
13355 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13356 #! $SHELL
13357 # Generated by $as_me.
13358 # Run this file to recreate the current configuration.
13359 # Compiler output produced by configure, useful for debugging
13360 # configure, is in config.log if it exists.
13361
13362 debug=false
13363 ac_cs_recheck=false
13364 ac_cs_silent=false
13365
13366 SHELL=\${CONFIG_SHELL-$SHELL}
13367 export SHELL
13368 _ASEOF
13369 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13370 ## -------------------- ##
13371 ## M4sh Initialization. ##
13372 ## -------------------- ##
13373
13374 # Be more Bourne compatible
13375 DUALCASE=1; export DUALCASE # for MKS sh
13376 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13377   emulate sh
13378   NULLCMD=:
13379   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13380   # is contrary to our usage.  Disable this feature.
13381   alias -g '${1+"$@"}'='"$@"'
13382   setopt NO_GLOB_SUBST
13383 else
13384   case `(set -o) 2>/dev/null` in #(
13385   *posix*) :
13386     set -o posix ;; #(
13387   *) :
13388      ;;
13389 esac
13390 fi
13391
13392
13393 as_nl='
13394 '
13395 export as_nl
13396 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13397 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13398 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13399 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13400 # Prefer a ksh shell builtin over an external printf program on Solaris,
13401 # but without wasting forks for bash or zsh.
13402 if test -z "$BASH_VERSION$ZSH_VERSION" \
13403     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13404   as_echo='print -r --'
13405   as_echo_n='print -rn --'
13406 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13407   as_echo='printf %s\n'
13408   as_echo_n='printf %s'
13409 else
13410   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13411     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13412     as_echo_n='/usr/ucb/echo -n'
13413   else
13414     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13415     as_echo_n_body='eval
13416       arg=$1;
13417       case $arg in #(
13418       *"$as_nl"*)
13419         expr "X$arg" : "X\\(.*\\)$as_nl";
13420         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13421       esac;
13422       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13423     '
13424     export as_echo_n_body
13425     as_echo_n='sh -c $as_echo_n_body as_echo'
13426   fi
13427   export as_echo_body
13428   as_echo='sh -c $as_echo_body as_echo'
13429 fi
13430
13431 # The user is always right.
13432 if test "${PATH_SEPARATOR+set}" != set; then
13433   PATH_SEPARATOR=:
13434   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13435     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13436       PATH_SEPARATOR=';'
13437   }
13438 fi
13439
13440
13441 # IFS
13442 # We need space, tab and new line, in precisely that order.  Quoting is
13443 # there to prevent editors from complaining about space-tab.
13444 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13445 # splitting by setting IFS to empty value.)
13446 IFS=" ""        $as_nl"
13447
13448 # Find who we are.  Look in the path if we contain no directory separator.
13449 as_myself=
13450 case $0 in #((
13451   *[\\/]* ) as_myself=$0 ;;
13452   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13453 for as_dir in $PATH
13454 do
13455   IFS=$as_save_IFS
13456   test -z "$as_dir" && as_dir=.
13457     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13458   done
13459 IFS=$as_save_IFS
13460
13461      ;;
13462 esac
13463 # We did not find ourselves, most probably we were run as `sh COMMAND'
13464 # in which case we are not to be found in the path.
13465 if test "x$as_myself" = x; then
13466   as_myself=$0
13467 fi
13468 if test ! -f "$as_myself"; then
13469   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13470   exit 1
13471 fi
13472
13473 # Unset variables that we do not need and which cause bugs (e.g. in
13474 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13475 # suppresses any "Segmentation fault" message there.  '((' could
13476 # trigger a bug in pdksh 5.2.14.
13477 for as_var in BASH_ENV ENV MAIL MAILPATH
13478 do eval test x\${$as_var+set} = xset \
13479   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13480 done
13481 PS1='$ '
13482 PS2='> '
13483 PS4='+ '
13484
13485 # NLS nuisances.
13486 LC_ALL=C
13487 export LC_ALL
13488 LANGUAGE=C
13489 export LANGUAGE
13490
13491 # CDPATH.
13492 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13493
13494
13495 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13496 # ----------------------------------------
13497 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13498 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13499 # script with STATUS, using 1 if that was 0.
13500 as_fn_error ()
13501 {
13502   as_status=$1; test $as_status -eq 0 && as_status=1
13503   if test "$4"; then
13504     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13505     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13506   fi
13507   $as_echo "$as_me: error: $2" >&2
13508   as_fn_exit $as_status
13509 } # as_fn_error
13510
13511
13512 # as_fn_set_status STATUS
13513 # -----------------------
13514 # Set $? to STATUS, without forking.
13515 as_fn_set_status ()
13516 {
13517   return $1
13518 } # as_fn_set_status
13519
13520 # as_fn_exit STATUS
13521 # -----------------
13522 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13523 as_fn_exit ()
13524 {
13525   set +e
13526   as_fn_set_status $1
13527   exit $1
13528 } # as_fn_exit
13529
13530 # as_fn_unset VAR
13531 # ---------------
13532 # Portably unset VAR.
13533 as_fn_unset ()
13534 {
13535   { eval $1=; unset $1;}
13536 }
13537 as_unset=as_fn_unset
13538 # as_fn_append VAR VALUE
13539 # ----------------------
13540 # Append the text in VALUE to the end of the definition contained in VAR. Take
13541 # advantage of any shell optimizations that allow amortized linear growth over
13542 # repeated appends, instead of the typical quadratic growth present in naive
13543 # implementations.
13544 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13545   eval 'as_fn_append ()
13546   {
13547     eval $1+=\$2
13548   }'
13549 else
13550   as_fn_append ()
13551   {
13552     eval $1=\$$1\$2
13553   }
13554 fi # as_fn_append
13555
13556 # as_fn_arith ARG...
13557 # ------------------
13558 # Perform arithmetic evaluation on the ARGs, and store the result in the
13559 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13560 # must be portable across $(()) and expr.
13561 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13562   eval 'as_fn_arith ()
13563   {
13564     as_val=$(( $* ))
13565   }'
13566 else
13567   as_fn_arith ()
13568   {
13569     as_val=`expr "$@" || test $? -eq 1`
13570   }
13571 fi # as_fn_arith
13572
13573
13574 if expr a : '\(a\)' >/dev/null 2>&1 &&
13575    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13576   as_expr=expr
13577 else
13578   as_expr=false
13579 fi
13580
13581 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13582   as_basename=basename
13583 else
13584   as_basename=false
13585 fi
13586
13587 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13588   as_dirname=dirname
13589 else
13590   as_dirname=false
13591 fi
13592
13593 as_me=`$as_basename -- "$0" ||
13594 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13595          X"$0" : 'X\(//\)$' \| \
13596          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13597 $as_echo X/"$0" |
13598     sed '/^.*\/\([^/][^/]*\)\/*$/{
13599             s//\1/
13600             q
13601           }
13602           /^X\/\(\/\/\)$/{
13603             s//\1/
13604             q
13605           }
13606           /^X\/\(\/\).*/{
13607             s//\1/
13608             q
13609           }
13610           s/.*/./; q'`
13611
13612 # Avoid depending upon Character Ranges.
13613 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13614 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13615 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13616 as_cr_digits='0123456789'
13617 as_cr_alnum=$as_cr_Letters$as_cr_digits
13618
13619 ECHO_C= ECHO_N= ECHO_T=
13620 case `echo -n x` in #(((((
13621 -n*)
13622   case `echo 'xy\c'` in
13623   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13624   xy)  ECHO_C='\c';;
13625   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13626        ECHO_T=' ';;
13627   esac;;
13628 *)
13629   ECHO_N='-n';;
13630 esac
13631
13632 rm -f conf$$ conf$$.exe conf$$.file
13633 if test -d conf$$.dir; then
13634   rm -f conf$$.dir/conf$$.file
13635 else
13636   rm -f conf$$.dir
13637   mkdir conf$$.dir 2>/dev/null
13638 fi
13639 if (echo >conf$$.file) 2>/dev/null; then
13640   if ln -s conf$$.file conf$$ 2>/dev/null; then
13641     as_ln_s='ln -s'
13642     # ... but there are two gotchas:
13643     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13644     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13645     # In both cases, we have to default to `cp -p'.
13646     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13647       as_ln_s='cp -p'
13648   elif ln conf$$.file conf$$ 2>/dev/null; then
13649     as_ln_s=ln
13650   else
13651     as_ln_s='cp -p'
13652   fi
13653 else
13654   as_ln_s='cp -p'
13655 fi
13656 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13657 rmdir conf$$.dir 2>/dev/null
13658
13659
13660 # as_fn_mkdir_p
13661 # -------------
13662 # Create "$as_dir" as a directory, including parents if necessary.
13663 as_fn_mkdir_p ()
13664 {
13665
13666   case $as_dir in #(
13667   -*) as_dir=./$as_dir;;
13668   esac
13669   test -d "$as_dir" || eval $as_mkdir_p || {
13670     as_dirs=
13671     while :; do
13672       case $as_dir in #(
13673       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13674       *) as_qdir=$as_dir;;
13675       esac
13676       as_dirs="'$as_qdir' $as_dirs"
13677       as_dir=`$as_dirname -- "$as_dir" ||
13678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13679          X"$as_dir" : 'X\(//\)[^/]' \| \
13680          X"$as_dir" : 'X\(//\)$' \| \
13681          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13682 $as_echo X"$as_dir" |
13683     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13684             s//\1/
13685             q
13686           }
13687           /^X\(\/\/\)[^/].*/{
13688             s//\1/
13689             q
13690           }
13691           /^X\(\/\/\)$/{
13692             s//\1/
13693             q
13694           }
13695           /^X\(\/\).*/{
13696             s//\1/
13697             q
13698           }
13699           s/.*/./; q'`
13700       test -d "$as_dir" && break
13701     done
13702     test -z "$as_dirs" || eval "mkdir $as_dirs"
13703   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13704
13705
13706 } # as_fn_mkdir_p
13707 if mkdir -p . 2>/dev/null; then
13708   as_mkdir_p='mkdir -p "$as_dir"'
13709 else
13710   test -d ./-p && rmdir ./-p
13711   as_mkdir_p=false
13712 fi
13713
13714 if test -x / >/dev/null 2>&1; then
13715   as_test_x='test -x'
13716 else
13717   if ls -dL / >/dev/null 2>&1; then
13718     as_ls_L_option=L
13719   else
13720     as_ls_L_option=
13721   fi
13722   as_test_x='
13723     eval sh -c '\''
13724       if test -d "$1"; then
13725         test -d "$1/.";
13726       else
13727         case $1 in #(
13728         -*)set "./$1";;
13729         esac;
13730         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13731         ???[sx]*):;;*)false;;esac;fi
13732     '\'' sh
13733   '
13734 fi
13735 as_executable_p=$as_test_x
13736
13737 # Sed expression to map a string onto a valid CPP name.
13738 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13739
13740 # Sed expression to map a string onto a valid variable name.
13741 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13742
13743
13744 exec 6>&1
13745 ## ----------------------------------- ##
13746 ## Main body of $CONFIG_STATUS script. ##
13747 ## ----------------------------------- ##
13748 _ASEOF
13749 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13750
13751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13752 # Save the log message, to keep $0 and so on meaningful, and to
13753 # report actual input values of CONFIG_FILES etc. instead of their
13754 # values after options handling.
13755 ac_log="
13756 This file was extended by libgsignon-glib $as_me 2.1.0, which was
13757 generated by GNU Autoconf 2.68.  Invocation command line was
13758
13759   CONFIG_FILES    = $CONFIG_FILES
13760   CONFIG_HEADERS  = $CONFIG_HEADERS
13761   CONFIG_LINKS    = $CONFIG_LINKS
13762   CONFIG_COMMANDS = $CONFIG_COMMANDS
13763   $ $0 $@
13764
13765 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13766 "
13767
13768 _ACEOF
13769
13770 case $ac_config_files in *"
13771 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13772 esac
13773
13774 case $ac_config_headers in *"
13775 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13776 esac
13777
13778
13779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13780 # Files that config.status was made for.
13781 config_files="$ac_config_files"
13782 config_headers="$ac_config_headers"
13783 config_commands="$ac_config_commands"
13784
13785 _ACEOF
13786
13787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13788 ac_cs_usage="\
13789 \`$as_me' instantiates files and other configuration actions
13790 from templates according to the current configuration.  Unless the files
13791 and actions are specified as TAGs, all are instantiated by default.
13792
13793 Usage: $0 [OPTION]... [TAG]...
13794
13795   -h, --help       print this help, then exit
13796   -V, --version    print version number and configuration settings, then exit
13797       --config     print configuration, then exit
13798   -q, --quiet, --silent
13799                    do not print progress messages
13800   -d, --debug      don't remove temporary files
13801       --recheck    update $as_me by reconfiguring in the same conditions
13802       --file=FILE[:TEMPLATE]
13803                    instantiate the configuration file FILE
13804       --header=FILE[:TEMPLATE]
13805                    instantiate the configuration header FILE
13806
13807 Configuration files:
13808 $config_files
13809
13810 Configuration headers:
13811 $config_headers
13812
13813 Configuration commands:
13814 $config_commands
13815
13816 Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
13817 libgsignon-glib home page: <http://code.google.com/p/accounts-sso/>."
13818
13819 _ACEOF
13820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13821 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13822 ac_cs_version="\\
13823 libgsignon-glib config.status 2.1.0
13824 configured by $0, generated by GNU Autoconf 2.68,
13825   with options \\"\$ac_cs_config\\"
13826
13827 Copyright (C) 2010 Free Software Foundation, Inc.
13828 This config.status script is free software; the Free Software Foundation
13829 gives unlimited permission to copy, distribute and modify it."
13830
13831 ac_pwd='$ac_pwd'
13832 srcdir='$srcdir'
13833 INSTALL='$INSTALL'
13834 MKDIR_P='$MKDIR_P'
13835 AWK='$AWK'
13836 test -n "\$AWK" || AWK=awk
13837 _ACEOF
13838
13839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13840 # The default lists apply if the user does not specify any file.
13841 ac_need_defaults=:
13842 while test $# != 0
13843 do
13844   case $1 in
13845   --*=?*)
13846     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13847     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13848     ac_shift=:
13849     ;;
13850   --*=)
13851     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13852     ac_optarg=
13853     ac_shift=:
13854     ;;
13855   *)
13856     ac_option=$1
13857     ac_optarg=$2
13858     ac_shift=shift
13859     ;;
13860   esac
13861
13862   case $ac_option in
13863   # Handling of the options.
13864   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13865     ac_cs_recheck=: ;;
13866   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13867     $as_echo "$ac_cs_version"; exit ;;
13868   --config | --confi | --conf | --con | --co | --c )
13869     $as_echo "$ac_cs_config"; exit ;;
13870   --debug | --debu | --deb | --de | --d | -d )
13871     debug=: ;;
13872   --file | --fil | --fi | --f )
13873     $ac_shift
13874     case $ac_optarg in
13875     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13876     '') as_fn_error $? "missing file argument" ;;
13877     esac
13878     as_fn_append CONFIG_FILES " '$ac_optarg'"
13879     ac_need_defaults=false;;
13880   --header | --heade | --head | --hea )
13881     $ac_shift
13882     case $ac_optarg in
13883     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13884     esac
13885     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13886     ac_need_defaults=false;;
13887   --he | --h)
13888     # Conflict between --help and --header
13889     as_fn_error $? "ambiguous option: \`$1'
13890 Try \`$0 --help' for more information.";;
13891   --help | --hel | -h )
13892     $as_echo "$ac_cs_usage"; exit ;;
13893   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13894   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13895     ac_cs_silent=: ;;
13896
13897   # This is an error.
13898   -*) as_fn_error $? "unrecognized option: \`$1'
13899 Try \`$0 --help' for more information." ;;
13900
13901   *) as_fn_append ac_config_targets " $1"
13902      ac_need_defaults=false ;;
13903
13904   esac
13905   shift
13906 done
13907
13908 ac_configure_extra_args=
13909
13910 if $ac_cs_silent; then
13911   exec 6>/dev/null
13912   ac_configure_extra_args="$ac_configure_extra_args --silent"
13913 fi
13914
13915 _ACEOF
13916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13917 if \$ac_cs_recheck; then
13918   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13919   shift
13920   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13921   CONFIG_SHELL='$SHELL'
13922   export CONFIG_SHELL
13923   exec "\$@"
13924 fi
13925
13926 _ACEOF
13927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13928 exec 5>>config.log
13929 {
13930   echo
13931   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13932 ## Running $as_me. ##
13933 _ASBOX
13934   $as_echo "$ac_log"
13935 } >&5
13936
13937 _ACEOF
13938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13939 #
13940 # INIT-COMMANDS
13941 #
13942 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13943
13944
13945 # The HP-UX ksh and POSIX shell print the target directory to stdout
13946 # if CDPATH is set.
13947 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13948
13949 sed_quote_subst='$sed_quote_subst'
13950 double_quote_subst='$double_quote_subst'
13951 delay_variable_subst='$delay_variable_subst'
13952 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13953 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13954 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13955 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13956 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13957 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13958 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13959 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13960 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13961 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13962 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13963 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13964 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13965 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13966 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13967 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13968 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13969 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13970 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13971 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13972 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13973 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13974 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13975 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13976 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13977 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13978 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13979 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13980 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13981 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13982 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13983 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13984 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13985 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13986 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13987 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13988 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13989 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13990 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13991 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13992 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13993 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13994 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13995 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13996 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13997 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13998 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13999 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14000 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14001 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14002 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14003 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14004 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14005 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14006 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14007 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14008 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"`'
14009 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14010 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14011 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14012 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14013 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14014 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14015 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14016 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14017 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14018 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14019 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14020 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14021 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14022 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14023 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14024 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14025 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14026 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14027 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14028 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14029 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14030 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14031 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14032 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14033 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14034 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14035 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14036 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14037 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14038 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14039 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14040 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14041 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14042 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14043 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14044 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14045 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14046 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14047 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14048 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14049 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14050 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14051 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14052 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14053 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14054 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14055 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14056 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14057 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14058 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14059 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14060 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14061 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14062 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14063 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14064 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14065 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14066 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14067 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14068 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14069 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14070 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14071 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14072 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14073 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14074 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14075 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14076 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14077 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14078 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14079 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14080 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14081 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14082
14083 LTCC='$LTCC'
14084 LTCFLAGS='$LTCFLAGS'
14085 compiler='$compiler_DEFAULT'
14086
14087 # A function that is used when there is no print builtin or printf.
14088 func_fallback_echo ()
14089 {
14090   eval 'cat <<_LTECHO_EOF
14091 \$1
14092 _LTECHO_EOF'
14093 }
14094
14095 # Quote evaled strings.
14096 for var in SHELL \
14097 ECHO \
14098 PATH_SEPARATOR \
14099 SED \
14100 GREP \
14101 EGREP \
14102 FGREP \
14103 LD \
14104 NM \
14105 LN_S \
14106 lt_SP2NL \
14107 lt_NL2SP \
14108 reload_flag \
14109 OBJDUMP \
14110 deplibs_check_method \
14111 file_magic_cmd \
14112 file_magic_glob \
14113 want_nocaseglob \
14114 DLLTOOL \
14115 sharedlib_from_linklib_cmd \
14116 AR \
14117 AR_FLAGS \
14118 archiver_list_spec \
14119 STRIP \
14120 RANLIB \
14121 CC \
14122 CFLAGS \
14123 compiler \
14124 lt_cv_sys_global_symbol_pipe \
14125 lt_cv_sys_global_symbol_to_cdecl \
14126 lt_cv_sys_global_symbol_to_c_name_address \
14127 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14128 nm_file_list_spec \
14129 lt_prog_compiler_no_builtin_flag \
14130 lt_prog_compiler_pic \
14131 lt_prog_compiler_wl \
14132 lt_prog_compiler_static \
14133 lt_cv_prog_compiler_c_o \
14134 need_locks \
14135 MANIFEST_TOOL \
14136 DSYMUTIL \
14137 NMEDIT \
14138 LIPO \
14139 OTOOL \
14140 OTOOL64 \
14141 shrext_cmds \
14142 export_dynamic_flag_spec \
14143 whole_archive_flag_spec \
14144 compiler_needs_object \
14145 with_gnu_ld \
14146 allow_undefined_flag \
14147 no_undefined_flag \
14148 hardcode_libdir_flag_spec \
14149 hardcode_libdir_separator \
14150 exclude_expsyms \
14151 include_expsyms \
14152 file_list_spec \
14153 variables_saved_for_relink \
14154 libname_spec \
14155 library_names_spec \
14156 soname_spec \
14157 install_override_mode \
14158 finish_eval \
14159 old_striplib \
14160 striplib; do
14161     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14162     *[\\\\\\\`\\"\\\$]*)
14163       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14164       ;;
14165     *)
14166       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14167       ;;
14168     esac
14169 done
14170
14171 # Double-quote double-evaled strings.
14172 for var in reload_cmds \
14173 old_postinstall_cmds \
14174 old_postuninstall_cmds \
14175 old_archive_cmds \
14176 extract_expsyms_cmds \
14177 old_archive_from_new_cmds \
14178 old_archive_from_expsyms_cmds \
14179 archive_cmds \
14180 archive_expsym_cmds \
14181 module_cmds \
14182 module_expsym_cmds \
14183 export_symbols_cmds \
14184 prelink_cmds \
14185 postlink_cmds \
14186 postinstall_cmds \
14187 postuninstall_cmds \
14188 finish_cmds \
14189 sys_lib_search_path_spec \
14190 sys_lib_dlsearch_path_spec; do
14191     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14192     *[\\\\\\\`\\"\\\$]*)
14193       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14194       ;;
14195     *)
14196       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14197       ;;
14198     esac
14199 done
14200
14201 ac_aux_dir='$ac_aux_dir'
14202 xsi_shell='$xsi_shell'
14203 lt_shell_append='$lt_shell_append'
14204
14205 # See if we are running on zsh, and set the options which allow our
14206 # commands through without removal of \ escapes INIT.
14207 if test -n "\${ZSH_VERSION+set}" ; then
14208    setopt NO_GLOB_SUBST
14209 fi
14210
14211
14212     PACKAGE='$PACKAGE'
14213     VERSION='$VERSION'
14214     TIMESTAMP='$TIMESTAMP'
14215     RM='$RM'
14216     ofile='$ofile'
14217
14218
14219
14220
14221 _ACEOF
14222
14223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14224
14225 # Handling of arguments.
14226 for ac_config_target in $ac_config_targets
14227 do
14228   case $ac_config_target in
14229     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14230     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14231     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14232     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14233     "libgsignon-glib/Makefile") CONFIG_FILES="$CONFIG_FILES libgsignon-glib/Makefile" ;;
14234     "libgsignon-glib.pc") CONFIG_FILES="$CONFIG_FILES libgsignon-glib.pc" ;;
14235     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14236     "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
14237     "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
14238     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14239     "pygobject/Makefile") CONFIG_FILES="$CONFIG_FILES pygobject/Makefile" ;;
14240     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14241
14242   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14243   esac
14244 done
14245
14246
14247 # If the user did not use the arguments to specify the items to instantiate,
14248 # then the envvar interface is used.  Set only those that are not.
14249 # We use the long form for the default assignment because of an extremely
14250 # bizarre bug on SunOS 4.1.3.
14251 if $ac_need_defaults; then
14252   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14253   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14254   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14255 fi
14256
14257 # Have a temporary directory for convenience.  Make it in the build tree
14258 # simply because there is no reason against having it here, and in addition,
14259 # creating and moving files from /tmp can sometimes cause problems.
14260 # Hook for its removal unless debugging.
14261 # Note that there is a small window in which the directory will not be cleaned:
14262 # after its creation but before its name has been assigned to `$tmp'.
14263 $debug ||
14264 {
14265   tmp= ac_tmp=
14266   trap 'exit_status=$?
14267   : "${ac_tmp:=$tmp}"
14268   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14269 ' 0
14270   trap 'as_fn_exit 1' 1 2 13 15
14271 }
14272 # Create a (secure) tmp directory for tmp files.
14273
14274 {
14275   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14276   test -d "$tmp"
14277 }  ||
14278 {
14279   tmp=./conf$$-$RANDOM
14280   (umask 077 && mkdir "$tmp")
14281 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14282 ac_tmp=$tmp
14283
14284 # Set up the scripts for CONFIG_FILES section.
14285 # No need to generate them if there are no CONFIG_FILES.
14286 # This happens for instance with `./config.status config.h'.
14287 if test -n "$CONFIG_FILES"; then
14288
14289
14290 ac_cr=`echo X | tr X '\015'`
14291 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14292 # But we know of no other shell where ac_cr would be empty at this
14293 # point, so we can use a bashism as a fallback.
14294 if test "x$ac_cr" = x; then
14295   eval ac_cr=\$\'\\r\'
14296 fi
14297 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14298 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14299   ac_cs_awk_cr='\\r'
14300 else
14301   ac_cs_awk_cr=$ac_cr
14302 fi
14303
14304 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14305 _ACEOF
14306
14307
14308 {
14309   echo "cat >conf$$subs.awk <<_ACEOF" &&
14310   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14311   echo "_ACEOF"
14312 } >conf$$subs.sh ||
14313   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14314 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14315 ac_delim='%!_!# '
14316 for ac_last_try in false false false false false :; do
14317   . ./conf$$subs.sh ||
14318     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14319
14320   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14321   if test $ac_delim_n = $ac_delim_num; then
14322     break
14323   elif $ac_last_try; then
14324     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14325   else
14326     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14327   fi
14328 done
14329 rm -f conf$$subs.sh
14330
14331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14332 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14333 _ACEOF
14334 sed -n '
14335 h
14336 s/^/S["/; s/!.*/"]=/
14337 p
14338 g
14339 s/^[^!]*!//
14340 :repl
14341 t repl
14342 s/'"$ac_delim"'$//
14343 t delim
14344 :nl
14345 h
14346 s/\(.\{148\}\)..*/\1/
14347 t more1
14348 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14349 p
14350 n
14351 b repl
14352 :more1
14353 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14354 p
14355 g
14356 s/.\{148\}//
14357 t nl
14358 :delim
14359 h
14360 s/\(.\{148\}\)..*/\1/
14361 t more2
14362 s/["\\]/\\&/g; s/^/"/; s/$/"/
14363 p
14364 b
14365 :more2
14366 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14367 p
14368 g
14369 s/.\{148\}//
14370 t delim
14371 ' <conf$$subs.awk | sed '
14372 /^[^""]/{
14373   N
14374   s/\n//
14375 }
14376 ' >>$CONFIG_STATUS || ac_write_fail=1
14377 rm -f conf$$subs.awk
14378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14379 _ACAWK
14380 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14381   for (key in S) S_is_set[key] = 1
14382   FS = "\a"
14383
14384 }
14385 {
14386   line = $ 0
14387   nfields = split(line, field, "@")
14388   substed = 0
14389   len = length(field[1])
14390   for (i = 2; i < nfields; i++) {
14391     key = field[i]
14392     keylen = length(key)
14393     if (S_is_set[key]) {
14394       value = S[key]
14395       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14396       len += length(value) + length(field[++i])
14397       substed = 1
14398     } else
14399       len += 1 + keylen
14400   }
14401
14402   print line
14403 }
14404
14405 _ACAWK
14406 _ACEOF
14407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14408 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14409   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14410 else
14411   cat
14412 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14413   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14414 _ACEOF
14415
14416 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14417 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14418 # trailing colons and then remove the whole line if VPATH becomes empty
14419 # (actually we leave an empty line to preserve line numbers).
14420 if test "x$srcdir" = x.; then
14421   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14422 h
14423 s///
14424 s/^/:/
14425 s/[      ]*$/:/
14426 s/:\$(srcdir):/:/g
14427 s/:\${srcdir}:/:/g
14428 s/:@srcdir@:/:/g
14429 s/^:*//
14430 s/:*$//
14431 x
14432 s/\(=[   ]*\).*/\1/
14433 G
14434 s/\n//
14435 s/^[^=]*=[       ]*$//
14436 }'
14437 fi
14438
14439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14440 fi # test -n "$CONFIG_FILES"
14441
14442 # Set up the scripts for CONFIG_HEADERS section.
14443 # No need to generate them if there are no CONFIG_HEADERS.
14444 # This happens for instance with `./config.status Makefile'.
14445 if test -n "$CONFIG_HEADERS"; then
14446 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14447 BEGIN {
14448 _ACEOF
14449
14450 # Transform confdefs.h into an awk script `defines.awk', embedded as
14451 # here-document in config.status, that substitutes the proper values into
14452 # config.h.in to produce config.h.
14453
14454 # Create a delimiter string that does not exist in confdefs.h, to ease
14455 # handling of long lines.
14456 ac_delim='%!_!# '
14457 for ac_last_try in false false :; do
14458   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14459   if test -z "$ac_tt"; then
14460     break
14461   elif $ac_last_try; then
14462     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14463   else
14464     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14465   fi
14466 done
14467
14468 # For the awk script, D is an array of macro values keyed by name,
14469 # likewise P contains macro parameters if any.  Preserve backslash
14470 # newline sequences.
14471
14472 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14473 sed -n '
14474 s/.\{148\}/&'"$ac_delim"'/g
14475 t rset
14476 :rset
14477 s/^[     ]*#[    ]*define[       ][      ]*/ /
14478 t def
14479 d
14480 :def
14481 s/\\$//
14482 t bsnl
14483 s/["\\]/\\&/g
14484 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14485 D["\1"]=" \3"/p
14486 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14487 d
14488 :bsnl
14489 s/["\\]/\\&/g
14490 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14491 D["\1"]=" \3\\\\\\n"\\/p
14492 t cont
14493 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14494 t cont
14495 d
14496 :cont
14497 n
14498 s/.\{148\}/&'"$ac_delim"'/g
14499 t clear
14500 :clear
14501 s/\\$//
14502 t bsnlc
14503 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14504 d
14505 :bsnlc
14506 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14507 b cont
14508 ' <confdefs.h | sed '
14509 s/'"$ac_delim"'/"\\\
14510 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14511
14512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14513   for (key in D) D_is_set[key] = 1
14514   FS = "\a"
14515 }
14516 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14517   line = \$ 0
14518   split(line, arg, " ")
14519   if (arg[1] == "#") {
14520     defundef = arg[2]
14521     mac1 = arg[3]
14522   } else {
14523     defundef = substr(arg[1], 2)
14524     mac1 = arg[2]
14525   }
14526   split(mac1, mac2, "(") #)
14527   macro = mac2[1]
14528   prefix = substr(line, 1, index(line, defundef) - 1)
14529   if (D_is_set[macro]) {
14530     # Preserve the white space surrounding the "#".
14531     print prefix "define", macro P[macro] D[macro]
14532     next
14533   } else {
14534     # Replace #undef with comments.  This is necessary, for example,
14535     # in the case of _POSIX_SOURCE, which is predefined and required
14536     # on some systems where configure will not decide to define it.
14537     if (defundef == "undef") {
14538       print "/*", prefix defundef, macro, "*/"
14539       next
14540     }
14541   }
14542 }
14543 { print }
14544 _ACAWK
14545 _ACEOF
14546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14547   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14548 fi # test -n "$CONFIG_HEADERS"
14549
14550
14551 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14552 shift
14553 for ac_tag
14554 do
14555   case $ac_tag in
14556   :[FHLC]) ac_mode=$ac_tag; continue;;
14557   esac
14558   case $ac_mode$ac_tag in
14559   :[FHL]*:*);;
14560   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14561   :[FH]-) ac_tag=-:-;;
14562   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14563   esac
14564   ac_save_IFS=$IFS
14565   IFS=:
14566   set x $ac_tag
14567   IFS=$ac_save_IFS
14568   shift
14569   ac_file=$1
14570   shift
14571
14572   case $ac_mode in
14573   :L) ac_source=$1;;
14574   :[FH])
14575     ac_file_inputs=
14576     for ac_f
14577     do
14578       case $ac_f in
14579       -) ac_f="$ac_tmp/stdin";;
14580       *) # Look for the file first in the build tree, then in the source tree
14581          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14582          # because $ac_f cannot contain `:'.
14583          test -f "$ac_f" ||
14584            case $ac_f in
14585            [\\/$]*) false;;
14586            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14587            esac ||
14588            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14589       esac
14590       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14591       as_fn_append ac_file_inputs " '$ac_f'"
14592     done
14593
14594     # Let's still pretend it is `configure' which instantiates (i.e., don't
14595     # use $as_me), people would be surprised to read:
14596     #    /* config.h.  Generated by config.status.  */
14597     configure_input='Generated from '`
14598           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14599         `' by configure.'
14600     if test x"$ac_file" != x-; then
14601       configure_input="$ac_file.  $configure_input"
14602       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14603 $as_echo "$as_me: creating $ac_file" >&6;}
14604     fi
14605     # Neutralize special characters interpreted by sed in replacement strings.
14606     case $configure_input in #(
14607     *\&* | *\|* | *\\* )
14608        ac_sed_conf_input=`$as_echo "$configure_input" |
14609        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14610     *) ac_sed_conf_input=$configure_input;;
14611     esac
14612
14613     case $ac_tag in
14614     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14615       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14616     esac
14617     ;;
14618   esac
14619
14620   ac_dir=`$as_dirname -- "$ac_file" ||
14621 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14622          X"$ac_file" : 'X\(//\)[^/]' \| \
14623          X"$ac_file" : 'X\(//\)$' \| \
14624          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14625 $as_echo X"$ac_file" |
14626     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14627             s//\1/
14628             q
14629           }
14630           /^X\(\/\/\)[^/].*/{
14631             s//\1/
14632             q
14633           }
14634           /^X\(\/\/\)$/{
14635             s//\1/
14636             q
14637           }
14638           /^X\(\/\).*/{
14639             s//\1/
14640             q
14641           }
14642           s/.*/./; q'`
14643   as_dir="$ac_dir"; as_fn_mkdir_p
14644   ac_builddir=.
14645
14646 case "$ac_dir" in
14647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14648 *)
14649   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14650   # A ".." for each directory in $ac_dir_suffix.
14651   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14652   case $ac_top_builddir_sub in
14653   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14654   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14655   esac ;;
14656 esac
14657 ac_abs_top_builddir=$ac_pwd
14658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14659 # for backward compatibility:
14660 ac_top_builddir=$ac_top_build_prefix
14661
14662 case $srcdir in
14663   .)  # We are building in place.
14664     ac_srcdir=.
14665     ac_top_srcdir=$ac_top_builddir_sub
14666     ac_abs_top_srcdir=$ac_pwd ;;
14667   [\\/]* | ?:[\\/]* )  # Absolute name.
14668     ac_srcdir=$srcdir$ac_dir_suffix;
14669     ac_top_srcdir=$srcdir
14670     ac_abs_top_srcdir=$srcdir ;;
14671   *) # Relative name.
14672     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14673     ac_top_srcdir=$ac_top_build_prefix$srcdir
14674     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14675 esac
14676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14677
14678
14679   case $ac_mode in
14680   :F)
14681   #
14682   # CONFIG_FILE
14683   #
14684
14685   case $INSTALL in
14686   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14687   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14688   esac
14689   ac_MKDIR_P=$MKDIR_P
14690   case $MKDIR_P in
14691   [\\/$]* | ?:[\\/]* ) ;;
14692   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14693   esac
14694 _ACEOF
14695
14696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14697 # If the template does not know about datarootdir, expand it.
14698 # FIXME: This hack should be removed a few years after 2.60.
14699 ac_datarootdir_hack=; ac_datarootdir_seen=
14700 ac_sed_dataroot='
14701 /datarootdir/ {
14702   p
14703   q
14704 }
14705 /@datadir@/p
14706 /@docdir@/p
14707 /@infodir@/p
14708 /@localedir@/p
14709 /@mandir@/p'
14710 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14711 *datarootdir*) ac_datarootdir_seen=yes;;
14712 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14713   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14714 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14715 _ACEOF
14716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14717   ac_datarootdir_hack='
14718   s&@datadir@&$datadir&g
14719   s&@docdir@&$docdir&g
14720   s&@infodir@&$infodir&g
14721   s&@localedir@&$localedir&g
14722   s&@mandir@&$mandir&g
14723   s&\\\${datarootdir}&$datarootdir&g' ;;
14724 esac
14725 _ACEOF
14726
14727 # Neutralize VPATH when `$srcdir' = `.'.
14728 # Shell code in configure.ac might set extrasub.
14729 # FIXME: do we really want to maintain this feature?
14730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14731 ac_sed_extra="$ac_vpsub
14732 $extrasub
14733 _ACEOF
14734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14735 :t
14736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14737 s|@configure_input@|$ac_sed_conf_input|;t t
14738 s&@top_builddir@&$ac_top_builddir_sub&;t t
14739 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14740 s&@srcdir@&$ac_srcdir&;t t
14741 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14742 s&@top_srcdir@&$ac_top_srcdir&;t t
14743 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14744 s&@builddir@&$ac_builddir&;t t
14745 s&@abs_builddir@&$ac_abs_builddir&;t t
14746 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14747 s&@INSTALL@&$ac_INSTALL&;t t
14748 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14749 $ac_datarootdir_hack
14750 "
14751 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14752   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14753
14754 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14755   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14756   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14757       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14758   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14759 which seems to be undefined.  Please make sure it is defined" >&5
14760 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14761 which seems to be undefined.  Please make sure it is defined" >&2;}
14762
14763   rm -f "$ac_tmp/stdin"
14764   case $ac_file in
14765   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14766   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14767   esac \
14768   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14769  ;;
14770   :H)
14771   #
14772   # CONFIG_HEADER
14773   #
14774   if test x"$ac_file" != x-; then
14775     {
14776       $as_echo "/* $configure_input  */" \
14777       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14778     } >"$ac_tmp/config.h" \
14779       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14780     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14781       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14782 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14783     else
14784       rm -f "$ac_file"
14785       mv "$ac_tmp/config.h" "$ac_file" \
14786         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14787     fi
14788   else
14789     $as_echo "/* $configure_input  */" \
14790       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14791       || as_fn_error $? "could not create -" "$LINENO" 5
14792   fi
14793 # Compute "$ac_file"'s index in $config_headers.
14794 _am_arg="$ac_file"
14795 _am_stamp_count=1
14796 for _am_header in $config_headers :; do
14797   case $_am_header in
14798     $_am_arg | $_am_arg:* )
14799       break ;;
14800     * )
14801       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14802   esac
14803 done
14804 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14805 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14806          X"$_am_arg" : 'X\(//\)[^/]' \| \
14807          X"$_am_arg" : 'X\(//\)$' \| \
14808          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14809 $as_echo X"$_am_arg" |
14810     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14811             s//\1/
14812             q
14813           }
14814           /^X\(\/\/\)[^/].*/{
14815             s//\1/
14816             q
14817           }
14818           /^X\(\/\/\)$/{
14819             s//\1/
14820             q
14821           }
14822           /^X\(\/\).*/{
14823             s//\1/
14824             q
14825           }
14826           s/.*/./; q'`/stamp-h$_am_stamp_count
14827  ;;
14828
14829   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14830 $as_echo "$as_me: executing $ac_file commands" >&6;}
14831  ;;
14832   esac
14833
14834
14835   case $ac_file$ac_mode in
14836     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14837   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14838   # are listed without --file.  Let's play safe and only enable the eval
14839   # if we detect the quoting.
14840   case $CONFIG_FILES in
14841   *\'*) eval set x "$CONFIG_FILES" ;;
14842   *)   set x $CONFIG_FILES ;;
14843   esac
14844   shift
14845   for mf
14846   do
14847     # Strip MF so we end up with the name of the file.
14848     mf=`echo "$mf" | sed -e 's/:.*$//'`
14849     # Check whether this is an Automake generated Makefile or not.
14850     # We used to match only the files named `Makefile.in', but
14851     # some people rename them; so instead we look at the file content.
14852     # Grep'ing the first line is not enough: some people post-process
14853     # each Makefile.in and add a new line on top of each file to say so.
14854     # Grep'ing the whole file is not good either: AIX grep has a line
14855     # limit of 2048, but all sed's we know have understand at least 4000.
14856     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14857       dirpart=`$as_dirname -- "$mf" ||
14858 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14859          X"$mf" : 'X\(//\)[^/]' \| \
14860          X"$mf" : 'X\(//\)$' \| \
14861          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14862 $as_echo X"$mf" |
14863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14864             s//\1/
14865             q
14866           }
14867           /^X\(\/\/\)[^/].*/{
14868             s//\1/
14869             q
14870           }
14871           /^X\(\/\/\)$/{
14872             s//\1/
14873             q
14874           }
14875           /^X\(\/\).*/{
14876             s//\1/
14877             q
14878           }
14879           s/.*/./; q'`
14880     else
14881       continue
14882     fi
14883     # Extract the definition of DEPDIR, am__include, and am__quote
14884     # from the Makefile without running `make'.
14885     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14886     test -z "$DEPDIR" && continue
14887     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14888     test -z "am__include" && continue
14889     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14890     # When using ansi2knr, U may be empty or an underscore; expand it
14891     U=`sed -n 's/^U = //p' < "$mf"`
14892     # Find all dependency output files, they are included files with
14893     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14894     # simplest approach to changing $(DEPDIR) to its actual value in the
14895     # expansion.
14896     for file in `sed -n "
14897       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14898          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14899       # Make sure the directory exists.
14900       test -f "$dirpart/$file" && continue
14901       fdir=`$as_dirname -- "$file" ||
14902 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14903          X"$file" : 'X\(//\)[^/]' \| \
14904          X"$file" : 'X\(//\)$' \| \
14905          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14906 $as_echo X"$file" |
14907     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14908             s//\1/
14909             q
14910           }
14911           /^X\(\/\/\)[^/].*/{
14912             s//\1/
14913             q
14914           }
14915           /^X\(\/\/\)$/{
14916             s//\1/
14917             q
14918           }
14919           /^X\(\/\).*/{
14920             s//\1/
14921             q
14922           }
14923           s/.*/./; q'`
14924       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14925       # echo "creating $dirpart/$file"
14926       echo '# dummy' > "$dirpart/$file"
14927     done
14928   done
14929 }
14930  ;;
14931     "libtool":C)
14932
14933     # See if we are running on zsh, and set the options which allow our
14934     # commands through without removal of \ escapes.
14935     if test -n "${ZSH_VERSION+set}" ; then
14936       setopt NO_GLOB_SUBST
14937     fi
14938
14939     cfgfile="${ofile}T"
14940     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14941     $RM "$cfgfile"
14942
14943     cat <<_LT_EOF >> "$cfgfile"
14944 #! $SHELL
14945
14946 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14947 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14948 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14949 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14950 #
14951 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14952 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14953 #                 Foundation, Inc.
14954 #   Written by Gordon Matzigkeit, 1996
14955 #
14956 #   This file is part of GNU Libtool.
14957 #
14958 # GNU Libtool is free software; you can redistribute it and/or
14959 # modify it under the terms of the GNU General Public License as
14960 # published by the Free Software Foundation; either version 2 of
14961 # the License, or (at your option) any later version.
14962 #
14963 # As a special exception to the GNU General Public License,
14964 # if you distribute this file as part of a program or library that
14965 # is built using GNU Libtool, you may include this file under the
14966 # same distribution terms that you use for the rest of that program.
14967 #
14968 # GNU Libtool is distributed in the hope that it will be useful,
14969 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14970 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14971 # GNU General Public License for more details.
14972 #
14973 # You should have received a copy of the GNU General Public License
14974 # along with GNU Libtool; see the file COPYING.  If not, a copy
14975 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14976 # obtained by writing to the Free Software Foundation, Inc.,
14977 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14978
14979
14980 # The names of the tagged configurations supported by this script.
14981 available_tags=""
14982
14983 # ### BEGIN LIBTOOL CONFIG
14984
14985 # Which release of libtool.m4 was used?
14986 macro_version=$macro_version
14987 macro_revision=$macro_revision
14988
14989 # Whether or not to build static libraries.
14990 build_old_libs=$enable_static
14991
14992 # Whether or not to build shared libraries.
14993 build_libtool_libs=$enable_shared
14994
14995 # What type of objects to build.
14996 pic_mode=$pic_mode
14997
14998 # Whether or not to optimize for fast installation.
14999 fast_install=$enable_fast_install
15000
15001 # Shell to use when invoking shell scripts.
15002 SHELL=$lt_SHELL
15003
15004 # An echo program that protects backslashes.
15005 ECHO=$lt_ECHO
15006
15007 # The PATH separator for the build system.
15008 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15009
15010 # The host system.
15011 host_alias=$host_alias
15012 host=$host
15013 host_os=$host_os
15014
15015 # The build system.
15016 build_alias=$build_alias
15017 build=$build
15018 build_os=$build_os
15019
15020 # A sed program that does not truncate output.
15021 SED=$lt_SED
15022
15023 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15024 Xsed="\$SED -e 1s/^X//"
15025
15026 # A grep program that handles long lines.
15027 GREP=$lt_GREP
15028
15029 # An ERE matcher.
15030 EGREP=$lt_EGREP
15031
15032 # A literal string matcher.
15033 FGREP=$lt_FGREP
15034
15035 # A BSD- or MS-compatible name lister.
15036 NM=$lt_NM
15037
15038 # Whether we need soft or hard links.
15039 LN_S=$lt_LN_S
15040
15041 # What is the maximum length of a command?
15042 max_cmd_len=$max_cmd_len
15043
15044 # Object file suffix (normally "o").
15045 objext=$ac_objext
15046
15047 # Executable file suffix (normally "").
15048 exeext=$exeext
15049
15050 # whether the shell understands "unset".
15051 lt_unset=$lt_unset
15052
15053 # turn spaces into newlines.
15054 SP2NL=$lt_lt_SP2NL
15055
15056 # turn newlines into spaces.
15057 NL2SP=$lt_lt_NL2SP
15058
15059 # convert \$build file names to \$host format.
15060 to_host_file_cmd=$lt_cv_to_host_file_cmd
15061
15062 # convert \$build files to toolchain format.
15063 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15064
15065 # An object symbol dumper.
15066 OBJDUMP=$lt_OBJDUMP
15067
15068 # Method to check whether dependent libraries are shared objects.
15069 deplibs_check_method=$lt_deplibs_check_method
15070
15071 # Command to use when deplibs_check_method = "file_magic".
15072 file_magic_cmd=$lt_file_magic_cmd
15073
15074 # How to find potential files when deplibs_check_method = "file_magic".
15075 file_magic_glob=$lt_file_magic_glob
15076
15077 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15078 want_nocaseglob=$lt_want_nocaseglob
15079
15080 # DLL creation program.
15081 DLLTOOL=$lt_DLLTOOL
15082
15083 # Command to associate shared and link libraries.
15084 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15085
15086 # The archiver.
15087 AR=$lt_AR
15088
15089 # Flags to create an archive.
15090 AR_FLAGS=$lt_AR_FLAGS
15091
15092 # How to feed a file listing to the archiver.
15093 archiver_list_spec=$lt_archiver_list_spec
15094
15095 # A symbol stripping program.
15096 STRIP=$lt_STRIP
15097
15098 # Commands used to install an old-style archive.
15099 RANLIB=$lt_RANLIB
15100 old_postinstall_cmds=$lt_old_postinstall_cmds
15101 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15102
15103 # Whether to use a lock for old archive extraction.
15104 lock_old_archive_extraction=$lock_old_archive_extraction
15105
15106 # A C compiler.
15107 LTCC=$lt_CC
15108
15109 # LTCC compiler flags.
15110 LTCFLAGS=$lt_CFLAGS
15111
15112 # Take the output of nm and produce a listing of raw symbols and C names.
15113 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15114
15115 # Transform the output of nm in a proper C declaration.
15116 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15117
15118 # Transform the output of nm in a C name address pair.
15119 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15120
15121 # Transform the output of nm in a C name address pair when lib prefix is needed.
15122 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15123
15124 # Specify filename containing input files for \$NM.
15125 nm_file_list_spec=$lt_nm_file_list_spec
15126
15127 # The root where to search for dependent libraries,and in which our libraries should be installed.
15128 lt_sysroot=$lt_sysroot
15129
15130 # The name of the directory that contains temporary libtool files.
15131 objdir=$objdir
15132
15133 # Used to examine libraries when file_magic_cmd begins with "file".
15134 MAGIC_CMD=$MAGIC_CMD
15135
15136 # Must we lock files when doing compilation?
15137 need_locks=$lt_need_locks
15138
15139 # Manifest tool.
15140 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15141
15142 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15143 DSYMUTIL=$lt_DSYMUTIL
15144
15145 # Tool to change global to local symbols on Mac OS X.
15146 NMEDIT=$lt_NMEDIT
15147
15148 # Tool to manipulate fat objects and archives on Mac OS X.
15149 LIPO=$lt_LIPO
15150
15151 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15152 OTOOL=$lt_OTOOL
15153
15154 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15155 OTOOL64=$lt_OTOOL64
15156
15157 # Old archive suffix (normally "a").
15158 libext=$libext
15159
15160 # Shared library suffix (normally ".so").
15161 shrext_cmds=$lt_shrext_cmds
15162
15163 # The commands to extract the exported symbol list from a shared archive.
15164 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15165
15166 # Variables whose values should be saved in libtool wrapper scripts and
15167 # restored at link time.
15168 variables_saved_for_relink=$lt_variables_saved_for_relink
15169
15170 # Do we need the "lib" prefix for modules?
15171 need_lib_prefix=$need_lib_prefix
15172
15173 # Do we need a version for libraries?
15174 need_version=$need_version
15175
15176 # Library versioning type.
15177 version_type=$version_type
15178
15179 # Shared library runtime path variable.
15180 runpath_var=$runpath_var
15181
15182 # Shared library path variable.
15183 shlibpath_var=$shlibpath_var
15184
15185 # Is shlibpath searched before the hard-coded library search path?
15186 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15187
15188 # Format of library name prefix.
15189 libname_spec=$lt_libname_spec
15190
15191 # List of archive names.  First name is the real one, the rest are links.
15192 # The last name is the one that the linker finds with -lNAME
15193 library_names_spec=$lt_library_names_spec
15194
15195 # The coded name of the library, if different from the real name.
15196 soname_spec=$lt_soname_spec
15197
15198 # Permission mode override for installation of shared libraries.
15199 install_override_mode=$lt_install_override_mode
15200
15201 # Command to use after installation of a shared archive.
15202 postinstall_cmds=$lt_postinstall_cmds
15203
15204 # Command to use after uninstallation of a shared archive.
15205 postuninstall_cmds=$lt_postuninstall_cmds
15206
15207 # Commands used to finish a libtool library installation in a directory.
15208 finish_cmds=$lt_finish_cmds
15209
15210 # As "finish_cmds", except a single script fragment to be evaled but
15211 # not shown.
15212 finish_eval=$lt_finish_eval
15213
15214 # Whether we should hardcode library paths into libraries.
15215 hardcode_into_libs=$hardcode_into_libs
15216
15217 # Compile-time system search path for libraries.
15218 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15219
15220 # Run-time system search path for libraries.
15221 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15222
15223 # Whether dlopen is supported.
15224 dlopen_support=$enable_dlopen
15225
15226 # Whether dlopen of programs is supported.
15227 dlopen_self=$enable_dlopen_self
15228
15229 # Whether dlopen of statically linked programs is supported.
15230 dlopen_self_static=$enable_dlopen_self_static
15231
15232 # Commands to strip libraries.
15233 old_striplib=$lt_old_striplib
15234 striplib=$lt_striplib
15235
15236
15237 # The linker used to build libraries.
15238 LD=$lt_LD
15239
15240 # How to create reloadable object files.
15241 reload_flag=$lt_reload_flag
15242 reload_cmds=$lt_reload_cmds
15243
15244 # Commands used to build an old-style archive.
15245 old_archive_cmds=$lt_old_archive_cmds
15246
15247 # A language specific compiler.
15248 CC=$lt_compiler
15249
15250 # Is the compiler the GNU compiler?
15251 with_gcc=$GCC
15252
15253 # Compiler flag to turn off builtin functions.
15254 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15255
15256 # Additional compiler flags for building library objects.
15257 pic_flag=$lt_lt_prog_compiler_pic
15258
15259 # How to pass a linker flag through the compiler.
15260 wl=$lt_lt_prog_compiler_wl
15261
15262 # Compiler flag to prevent dynamic linking.
15263 link_static_flag=$lt_lt_prog_compiler_static
15264
15265 # Does compiler simultaneously support -c and -o options?
15266 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15267
15268 # Whether or not to add -lc for building shared libraries.
15269 build_libtool_need_lc=$archive_cmds_need_lc
15270
15271 # Whether or not to disallow shared libs when runtime libs are static.
15272 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15273
15274 # Compiler flag to allow reflexive dlopens.
15275 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15276
15277 # Compiler flag to generate shared objects directly from archives.
15278 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15279
15280 # Whether the compiler copes with passing no objects directly.
15281 compiler_needs_object=$lt_compiler_needs_object
15282
15283 # Create an old-style archive from a shared archive.
15284 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15285
15286 # Create a temporary old-style archive to link instead of a shared archive.
15287 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15288
15289 # Commands used to build a shared archive.
15290 archive_cmds=$lt_archive_cmds
15291 archive_expsym_cmds=$lt_archive_expsym_cmds
15292
15293 # Commands used to build a loadable module if different from building
15294 # a shared archive.
15295 module_cmds=$lt_module_cmds
15296 module_expsym_cmds=$lt_module_expsym_cmds
15297
15298 # Whether we are building with GNU ld or not.
15299 with_gnu_ld=$lt_with_gnu_ld
15300
15301 # Flag that allows shared libraries with undefined symbols to be built.
15302 allow_undefined_flag=$lt_allow_undefined_flag
15303
15304 # Flag that enforces no undefined symbols.
15305 no_undefined_flag=$lt_no_undefined_flag
15306
15307 # Flag to hardcode \$libdir into a binary during linking.
15308 # This must work even if \$libdir does not exist
15309 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15310
15311 # Whether we need a single "-rpath" flag with a separated argument.
15312 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15313
15314 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15315 # DIR into the resulting binary.
15316 hardcode_direct=$hardcode_direct
15317
15318 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15319 # DIR into the resulting binary and the resulting library dependency is
15320 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15321 # library is relocated.
15322 hardcode_direct_absolute=$hardcode_direct_absolute
15323
15324 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15325 # into the resulting binary.
15326 hardcode_minus_L=$hardcode_minus_L
15327
15328 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15329 # into the resulting binary.
15330 hardcode_shlibpath_var=$hardcode_shlibpath_var
15331
15332 # Set to "yes" if building a shared library automatically hardcodes DIR
15333 # into the library and all subsequent libraries and executables linked
15334 # against it.
15335 hardcode_automatic=$hardcode_automatic
15336
15337 # Set to yes if linker adds runtime paths of dependent libraries
15338 # to runtime path list.
15339 inherit_rpath=$inherit_rpath
15340
15341 # Whether libtool must link a program against all its dependency libraries.
15342 link_all_deplibs=$link_all_deplibs
15343
15344 # Set to "yes" if exported symbols are required.
15345 always_export_symbols=$always_export_symbols
15346
15347 # The commands to list exported symbols.
15348 export_symbols_cmds=$lt_export_symbols_cmds
15349
15350 # Symbols that should not be listed in the preloaded symbols.
15351 exclude_expsyms=$lt_exclude_expsyms
15352
15353 # Symbols that must always be exported.
15354 include_expsyms=$lt_include_expsyms
15355
15356 # Commands necessary for linking programs (against libraries) with templates.
15357 prelink_cmds=$lt_prelink_cmds
15358
15359 # Commands necessary for finishing linking programs.
15360 postlink_cmds=$lt_postlink_cmds
15361
15362 # Specify filename containing input files.
15363 file_list_spec=$lt_file_list_spec
15364
15365 # How to hardcode a shared library path into an executable.
15366 hardcode_action=$hardcode_action
15367
15368 # ### END LIBTOOL CONFIG
15369
15370 _LT_EOF
15371
15372   case $host_os in
15373   aix3*)
15374     cat <<\_LT_EOF >> "$cfgfile"
15375 # AIX sometimes has problems with the GCC collect2 program.  For some
15376 # reason, if we set the COLLECT_NAMES environment variable, the problems
15377 # vanish in a puff of smoke.
15378 if test "X${COLLECT_NAMES+set}" != Xset; then
15379   COLLECT_NAMES=
15380   export COLLECT_NAMES
15381 fi
15382 _LT_EOF
15383     ;;
15384   esac
15385
15386
15387 ltmain="$ac_aux_dir/ltmain.sh"
15388
15389
15390   # We use sed instead of cat because bash on DJGPP gets confused if
15391   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15392   # text mode, it properly converts lines to CR/LF.  This bash problem
15393   # is reportedly fixed, but why not run on old versions too?
15394   sed '$q' "$ltmain" >> "$cfgfile" \
15395      || (rm -f "$cfgfile"; exit 1)
15396
15397   if test x"$xsi_shell" = xyes; then
15398   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15399 func_dirname ()\
15400 {\
15401 \    case ${1} in\
15402 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15403 \      *  ) func_dirname_result="${3}" ;;\
15404 \    esac\
15405 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15406   && mv -f "$cfgfile.tmp" "$cfgfile" \
15407     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15408 test 0 -eq $? || _lt_function_replace_fail=:
15409
15410
15411   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15412 func_basename ()\
15413 {\
15414 \    func_basename_result="${1##*/}"\
15415 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15416   && mv -f "$cfgfile.tmp" "$cfgfile" \
15417     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15418 test 0 -eq $? || _lt_function_replace_fail=:
15419
15420
15421   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15422 func_dirname_and_basename ()\
15423 {\
15424 \    case ${1} in\
15425 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15426 \      *  ) func_dirname_result="${3}" ;;\
15427 \    esac\
15428 \    func_basename_result="${1##*/}"\
15429 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15430   && mv -f "$cfgfile.tmp" "$cfgfile" \
15431     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15432 test 0 -eq $? || _lt_function_replace_fail=:
15433
15434
15435   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15436 func_stripname ()\
15437 {\
15438 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15439 \    # positional parameters, so assign one to ordinary parameter first.\
15440 \    func_stripname_result=${3}\
15441 \    func_stripname_result=${func_stripname_result#"${1}"}\
15442 \    func_stripname_result=${func_stripname_result%"${2}"}\
15443 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15444   && mv -f "$cfgfile.tmp" "$cfgfile" \
15445     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15446 test 0 -eq $? || _lt_function_replace_fail=:
15447
15448
15449   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15450 func_split_long_opt ()\
15451 {\
15452 \    func_split_long_opt_name=${1%%=*}\
15453 \    func_split_long_opt_arg=${1#*=}\
15454 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15455   && mv -f "$cfgfile.tmp" "$cfgfile" \
15456     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15457 test 0 -eq $? || _lt_function_replace_fail=:
15458
15459
15460   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15461 func_split_short_opt ()\
15462 {\
15463 \    func_split_short_opt_arg=${1#??}\
15464 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15465 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15466   && mv -f "$cfgfile.tmp" "$cfgfile" \
15467     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15468 test 0 -eq $? || _lt_function_replace_fail=:
15469
15470
15471   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15472 func_lo2o ()\
15473 {\
15474 \    case ${1} in\
15475 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15476 \      *)    func_lo2o_result=${1} ;;\
15477 \    esac\
15478 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15479   && mv -f "$cfgfile.tmp" "$cfgfile" \
15480     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15481 test 0 -eq $? || _lt_function_replace_fail=:
15482
15483
15484   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15485 func_xform ()\
15486 {\
15487     func_xform_result=${1%.*}.lo\
15488 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15489   && mv -f "$cfgfile.tmp" "$cfgfile" \
15490     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15491 test 0 -eq $? || _lt_function_replace_fail=:
15492
15493
15494   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15495 func_arith ()\
15496 {\
15497     func_arith_result=$(( $* ))\
15498 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15499   && mv -f "$cfgfile.tmp" "$cfgfile" \
15500     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15501 test 0 -eq $? || _lt_function_replace_fail=:
15502
15503
15504   sed -e '/^func_len ()$/,/^} # func_len /c\
15505 func_len ()\
15506 {\
15507     func_len_result=${#1}\
15508 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15509   && mv -f "$cfgfile.tmp" "$cfgfile" \
15510     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15511 test 0 -eq $? || _lt_function_replace_fail=:
15512
15513 fi
15514
15515 if test x"$lt_shell_append" = xyes; then
15516   sed -e '/^func_append ()$/,/^} # func_append /c\
15517 func_append ()\
15518 {\
15519     eval "${1}+=\\${2}"\
15520 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15521   && mv -f "$cfgfile.tmp" "$cfgfile" \
15522     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15523 test 0 -eq $? || _lt_function_replace_fail=:
15524
15525
15526   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15527 func_append_quoted ()\
15528 {\
15529 \    func_quote_for_eval "${2}"\
15530 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15531 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15532   && mv -f "$cfgfile.tmp" "$cfgfile" \
15533     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15534 test 0 -eq $? || _lt_function_replace_fail=:
15535
15536
15537   # Save a `func_append' function call where possible by direct use of '+='
15538   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15539     && mv -f "$cfgfile.tmp" "$cfgfile" \
15540       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15541   test 0 -eq $? || _lt_function_replace_fail=:
15542 else
15543   # Save a `func_append' function call even when '+=' is not available
15544   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15545     && mv -f "$cfgfile.tmp" "$cfgfile" \
15546       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15547   test 0 -eq $? || _lt_function_replace_fail=:
15548 fi
15549
15550 if test x"$_lt_function_replace_fail" = x":"; then
15551   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15552 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15553 fi
15554
15555
15556    mv -f "$cfgfile" "$ofile" ||
15557     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15558   chmod +x "$ofile"
15559
15560  ;;
15561
15562   esac
15563 done # for ac_tag
15564
15565
15566 as_fn_exit 0
15567 _ACEOF
15568 ac_clean_files=$ac_clean_files_save
15569
15570 test $ac_write_fail = 0 ||
15571   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15572
15573
15574 # configure is writing to config.log, and then calls config.status.
15575 # config.status does its own redirection, appending to config.log.
15576 # Unfortunately, on DOS this fails, as config.log is still kept open
15577 # by configure, so config.status won't be able to write to it; its
15578 # output is simply discarded.  So we exec the FD to /dev/null,
15579 # effectively closing config.log, so it can be properly (re)opened and
15580 # appended to by config.status.  When coming back to configure, we
15581 # need to make the FD available again.
15582 if test "$no_create" != yes; then
15583   ac_cs_success=:
15584   ac_config_status_args=
15585   test "$silent" = yes &&
15586     ac_config_status_args="$ac_config_status_args --quiet"
15587   exec 5>/dev/null
15588   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15589   exec 5>>config.log
15590   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15591   # would make configure fail if this is the last instruction.
15592   $ac_cs_success || as_fn_exit 1
15593 fi
15594 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15595   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15596 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15597 fi
15598