added docs to spec file
[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.0.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.0.0'
575 PACKAGE_STRING='libgsignon-glib 2.0.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.0.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.0.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.0.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.0.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.0.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\""; } >&5
12234   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12235      gio-unix-2.0
12236      glib-2.0 >= 2.32
12237      gobject-2.0") 2>&5
12238   ac_status=$?
12239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12240   test $ac_status = 0; }; then
12241   pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.30
12242      gio-unix-2.0
12243      glib-2.0 >= 2.32
12244      gobject-2.0" 2>/dev/null`
12245                       test "x$?" != "x0" && pkg_failed=yes
12246 else
12247   pkg_failed=yes
12248 fi
12249  else
12250     pkg_failed=untried
12251 fi
12252 if test -n "$DEPS_LIBS"; then
12253     pkg_cv_DEPS_LIBS="$DEPS_LIBS"
12254  elif test -n "$PKG_CONFIG"; then
12255     if test -n "$PKG_CONFIG" && \
12256     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
12257      gio-unix-2.0
12258      glib-2.0 >= 2.32
12259      gobject-2.0\""; } >&5
12260   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12261      gio-unix-2.0
12262      glib-2.0 >= 2.32
12263      gobject-2.0") 2>&5
12264   ac_status=$?
12265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12266   test $ac_status = 0; }; then
12267   pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.30
12268      gio-unix-2.0
12269      glib-2.0 >= 2.32
12270      gobject-2.0" 2>/dev/null`
12271                       test "x$?" != "x0" && pkg_failed=yes
12272 else
12273   pkg_failed=yes
12274 fi
12275  else
12276     pkg_failed=untried
12277 fi
12278
12279
12280
12281 if test $pkg_failed = yes; then
12282         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12283 $as_echo "no" >&6; }
12284
12285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12286         _pkg_short_errors_supported=yes
12287 else
12288         _pkg_short_errors_supported=no
12289 fi
12290         if test $_pkg_short_errors_supported = yes; then
12291                 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.30
12292      gio-unix-2.0
12293      glib-2.0 >= 2.32
12294      gobject-2.0" 2>&1`
12295         else
12296                 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.30
12297      gio-unix-2.0
12298      glib-2.0 >= 2.32
12299      gobject-2.0" 2>&1`
12300         fi
12301         # Put the nasty error message in config.log where it belongs
12302         echo "$DEPS_PKG_ERRORS" >&5
12303
12304         as_fn_error $? "Package requirements (gio-2.0 >= 2.30
12305      gio-unix-2.0
12306      glib-2.0 >= 2.32
12307      gobject-2.0) were not met:
12308
12309 $DEPS_PKG_ERRORS
12310
12311 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12312 installed software in a non-standard prefix.
12313
12314 Alternatively, you may set the environment variables DEPS_CFLAGS
12315 and DEPS_LIBS to avoid the need to call pkg-config.
12316 See the pkg-config man page for more details." "$LINENO" 5
12317 elif test $pkg_failed = untried; then
12318         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12319 $as_echo "no" >&6; }
12320         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12322 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12323 is in your PATH or set the PKG_CONFIG environment variable to the full
12324 path to pkg-config.
12325
12326 Alternatively, you may set the environment variables DEPS_CFLAGS
12327 and DEPS_LIBS to avoid the need to call pkg-config.
12328 See the pkg-config man page for more details.
12329
12330 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12331 See \`config.log' for more details" "$LINENO" 5; }
12332 else
12333         DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
12334         DEPS_LIBS=$pkg_cv_DEPS_LIBS
12335         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12336 $as_echo "yes" >&6; }
12337
12338 fi
12339
12340
12341
12342 # Check whether --enable-dbus-type was given.
12343 if test "${enable_dbus_type+set}" = set; then :
12344   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12345 else
12346   enable_dbus_type=p2p
12347 fi
12348
12349
12350 echo "----------------------"
12351 echo " DBUS TYPE : '$enable_dbus_type'"
12352 echo "-----------------------"
12353 if test "x$enable_dbus_type" = "xp2p" ; then
12354
12355 $as_echo "#define USE_P2P 1" >>confdefs.h
12356
12357
12358 $as_echo "#define SIGNOND_BUS_ADDRESS \"unix:path=%s/gsignond/bus-sock\"" >>confdefs.h
12359
12360 elif test "x$enable_dbus_type" = "xsession" ; then
12361
12362 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12363
12364
12365     # Build tests.
12366
12367 pkg_failed=no
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12369 $as_echo_n "checking for GTestDBus... " >&6; }
12370
12371 if test -n "$GTestDBus_CFLAGS"; then
12372     pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12373  elif test -n "$PKG_CONFIG"; then
12374     if test -n "$PKG_CONFIG" && \
12375     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12376   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12377   ac_status=$?
12378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12379   test $ac_status = 0; }; then
12380   pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.34" 2>/dev/null`
12381                       test "x$?" != "x0" && pkg_failed=yes
12382 else
12383   pkg_failed=yes
12384 fi
12385  else
12386     pkg_failed=untried
12387 fi
12388 if test -n "$GTestDBus_LIBS"; then
12389     pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12390  elif test -n "$PKG_CONFIG"; then
12391     if test -n "$PKG_CONFIG" && \
12392     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12393   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12394   ac_status=$?
12395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12396   test $ac_status = 0; }; then
12397   pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.34" 2>/dev/null`
12398                       test "x$?" != "x0" && pkg_failed=yes
12399 else
12400   pkg_failed=yes
12401 fi
12402  else
12403     pkg_failed=untried
12404 fi
12405
12406
12407
12408 if test $pkg_failed = yes; then
12409         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12410 $as_echo "no" >&6; }
12411
12412 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12413         _pkg_short_errors_supported=yes
12414 else
12415         _pkg_short_errors_supported=no
12416 fi
12417         if test $_pkg_short_errors_supported = yes; then
12418                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12419         else
12420                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12421         fi
12422         # Put the nasty error message in config.log where it belongs
12423         echo "$GTestDBus_PKG_ERRORS" >&5
12424
12425         gtestdbus=no
12426 elif test $pkg_failed = untried; then
12427         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12428 $as_echo "no" >&6; }
12429         gtestdbus=no
12430 else
12431         GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12432         GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12433         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12434 $as_echo "yes" >&6; }
12435         gtestdbus=yes
12436 fi
12437     if test "x$gtestdbus" = xyes; then
12438
12439 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12440
12441     else
12442
12443 $as_echo "#define HAVE_GTESTDBUS 0" >>confdefs.h
12444
12445     fi
12446 elif test "x$enable_dbus_type" = "xsystem" ; then
12447
12448 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12449
12450 fi
12451 if test "x$enable_dbus_type" != "xp2p" ; then
12452     DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12453 fi
12454
12455  if test x$gtestdbus = xyes; then
12456   HAVE_GTESTDBUS_TRUE=
12457   HAVE_GTESTDBUS_FALSE='#'
12458 else
12459   HAVE_GTESTDBUS_TRUE='#'
12460   HAVE_GTESTDBUS_FALSE=
12461 fi
12462
12463
12464 CHECK_REQUIRED="check >= 0.9.4"
12465
12466 # Check whether --enable-tests was given.
12467 if test "${enable_tests+set}" = set; then :
12468   enableval=$enable_tests;
12469 fi
12470
12471
12472 if test "x$enable_tests" != "xno"; then :
12473   if test -n "$PKG_CONFIG" && \
12474     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12475   ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12476   ac_status=$?
12477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12478   test $ac_status = 0; }; then
12479   have_check=yes
12480 else
12481   have_check=no
12482 fi
12483 else
12484   have_check=no
12485 fi
12486
12487 if test "x$have_check" = "xyes"; then :
12488
12489 pkg_failed=no
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12491 $as_echo_n "checking for CHECK... " >&6; }
12492
12493 if test -n "$CHECK_CFLAGS"; then
12494     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12495  elif test -n "$PKG_CONFIG"; then
12496     if test -n "$PKG_CONFIG" && \
12497     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12498   ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12499   ac_status=$?
12500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12501   test $ac_status = 0; }; then
12502   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$CHECK_REQUIRED" 2>/dev/null`
12503                       test "x$?" != "x0" && pkg_failed=yes
12504 else
12505   pkg_failed=yes
12506 fi
12507  else
12508     pkg_failed=untried
12509 fi
12510 if test -n "$CHECK_LIBS"; then
12511     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12512  elif test -n "$PKG_CONFIG"; then
12513     if test -n "$PKG_CONFIG" && \
12514     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12515   ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12516   ac_status=$?
12517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12518   test $ac_status = 0; }; then
12519   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "$CHECK_REQUIRED" 2>/dev/null`
12520                       test "x$?" != "x0" && pkg_failed=yes
12521 else
12522   pkg_failed=yes
12523 fi
12524  else
12525     pkg_failed=untried
12526 fi
12527
12528
12529
12530 if test $pkg_failed = yes; then
12531         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 $as_echo "no" >&6; }
12533
12534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12535         _pkg_short_errors_supported=yes
12536 else
12537         _pkg_short_errors_supported=no
12538 fi
12539         if test $_pkg_short_errors_supported = yes; then
12540                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12541         else
12542                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12543         fi
12544         # Put the nasty error message in config.log where it belongs
12545         echo "$CHECK_PKG_ERRORS" >&5
12546
12547         as_fn_error $? "Package requirements ($CHECK_REQUIRED) were not met:
12548
12549 $CHECK_PKG_ERRORS
12550
12551 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12552 installed software in a non-standard prefix.
12553
12554 Alternatively, you may set the environment variables CHECK_CFLAGS
12555 and CHECK_LIBS to avoid the need to call pkg-config.
12556 See the pkg-config man page for more details." "$LINENO" 5
12557 elif test $pkg_failed = untried; then
12558         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12559 $as_echo "no" >&6; }
12560         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12562 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12563 is in your PATH or set the PKG_CONFIG environment variable to the full
12564 path to pkg-config.
12565
12566 Alternatively, you may set the environment variables CHECK_CFLAGS
12567 and CHECK_LIBS to avoid the need to call pkg-config.
12568 See the pkg-config man page for more details.
12569
12570 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12571 See \`config.log' for more details" "$LINENO" 5; }
12572 else
12573         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12574         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12575         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12576 $as_echo "yes" >&6; }
12577
12578 fi
12579
12580
12581 else
12582   if test "x$enable_tests" = "xyes"; then :
12583   as_fn_error $? "tests enabled but required dependencies were not found" "$LINENO" 5
12584 fi
12585 fi
12586
12587  if test "x$have_check" = "xyes"; then
12588   ENABLE_TESTS_TRUE=
12589   ENABLE_TESTS_FALSE='#'
12590 else
12591   ENABLE_TESTS_TRUE='#'
12592   ENABLE_TESTS_FALSE=
12593 fi
12594
12595
12596
12597
12598
12599
12600     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12601 set dummy gtkdoc-check; ac_word=$2
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12603 $as_echo_n "checking for $ac_word... " >&6; }
12604 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12605   $as_echo_n "(cached) " >&6
12606 else
12607   case $GTKDOC_CHECK in
12608   [\\/]* | ?:[\\/]*)
12609   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12610   ;;
12611   *)
12612   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12613 for as_dir in $PATH
12614 do
12615   IFS=$as_save_IFS
12616   test -z "$as_dir" && as_dir=.
12617     for ac_exec_ext in '' $ac_executable_extensions; do
12618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12619     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12621     break 2
12622   fi
12623 done
12624   done
12625 IFS=$as_save_IFS
12626
12627   ;;
12628 esac
12629 fi
12630 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12631 if test -n "$GTKDOC_CHECK"; then
12632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12633 $as_echo "$GTKDOC_CHECK" >&6; }
12634 else
12635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12636 $as_echo "no" >&6; }
12637 fi
12638
12639
12640   for ac_prog in gtkdoc-rebase
12641 do
12642   # Extract the first word of "$ac_prog", so it can be a program name with args.
12643 set dummy $ac_prog; ac_word=$2
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12645 $as_echo_n "checking for $ac_word... " >&6; }
12646 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12647   $as_echo_n "(cached) " >&6
12648 else
12649   case $GTKDOC_REBASE in
12650   [\\/]* | ?:[\\/]*)
12651   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12652   ;;
12653   *)
12654   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12655 for as_dir in $PATH
12656 do
12657   IFS=$as_save_IFS
12658   test -z "$as_dir" && as_dir=.
12659     for ac_exec_ext in '' $ac_executable_extensions; do
12660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12661     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12663     break 2
12664   fi
12665 done
12666   done
12667 IFS=$as_save_IFS
12668
12669   ;;
12670 esac
12671 fi
12672 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12673 if test -n "$GTKDOC_REBASE"; then
12674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12675 $as_echo "$GTKDOC_REBASE" >&6; }
12676 else
12677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12678 $as_echo "no" >&6; }
12679 fi
12680
12681
12682   test -n "$GTKDOC_REBASE" && break
12683 done
12684 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12685
12686   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12687 set dummy gtkdoc-mkpdf; ac_word=$2
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12689 $as_echo_n "checking for $ac_word... " >&6; }
12690 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12691   $as_echo_n "(cached) " >&6
12692 else
12693   case $GTKDOC_MKPDF in
12694   [\\/]* | ?:[\\/]*)
12695   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12696   ;;
12697   *)
12698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12699 for as_dir in $PATH
12700 do
12701   IFS=$as_save_IFS
12702   test -z "$as_dir" && as_dir=.
12703     for ac_exec_ext in '' $ac_executable_extensions; do
12704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12705     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12707     break 2
12708   fi
12709 done
12710   done
12711 IFS=$as_save_IFS
12712
12713   ;;
12714 esac
12715 fi
12716 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12717 if test -n "$GTKDOC_MKPDF"; then
12718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12719 $as_echo "$GTKDOC_MKPDF" >&6; }
12720 else
12721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12722 $as_echo "no" >&6; }
12723 fi
12724
12725
12726
12727
12728 # Check whether --with-html-dir was given.
12729 if test "${with_html_dir+set}" = set; then :
12730   withval=$with_html_dir;
12731 else
12732   with_html_dir='${datadir}/gtk-doc/html'
12733 fi
12734
12735   HTML_DIR="$with_html_dir"
12736
12737
12738     # Check whether --enable-gtk-doc was given.
12739 if test "${enable_gtk_doc+set}" = set; then :
12740   enableval=$enable_gtk_doc;
12741 else
12742   enable_gtk_doc=no
12743 fi
12744
12745
12746   if test x$enable_gtk_doc = xyes; then
12747     if test -n "$PKG_CONFIG" && \
12748     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
12749   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
12750   ac_status=$?
12751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12752   test $ac_status = 0; }; then
12753   :
12754 else
12755   as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
12756 fi
12757         if test "x$PACKAGE_NAME" != "xglib"; then
12758
12759 pkg_failed=no
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12761 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12762
12763 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12764     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12765  elif test -n "$PKG_CONFIG"; then
12766     if test -n "$PKG_CONFIG" && \
12767     { { $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
12768   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12769   ac_status=$?
12770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12771   test $ac_status = 0; }; then
12772   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12773                       test "x$?" != "x0" && pkg_failed=yes
12774 else
12775   pkg_failed=yes
12776 fi
12777  else
12778     pkg_failed=untried
12779 fi
12780 if test -n "$GTKDOC_DEPS_LIBS"; then
12781     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12782  elif test -n "$PKG_CONFIG"; then
12783     if test -n "$PKG_CONFIG" && \
12784     { { $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
12785   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12786   ac_status=$?
12787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12788   test $ac_status = 0; }; then
12789   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12790                       test "x$?" != "x0" && pkg_failed=yes
12791 else
12792   pkg_failed=yes
12793 fi
12794  else
12795     pkg_failed=untried
12796 fi
12797
12798
12799
12800 if test $pkg_failed = yes; then
12801         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12802 $as_echo "no" >&6; }
12803
12804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12805         _pkg_short_errors_supported=yes
12806 else
12807         _pkg_short_errors_supported=no
12808 fi
12809         if test $_pkg_short_errors_supported = yes; then
12810                 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`
12811         else
12812                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12813         fi
12814         # Put the nasty error message in config.log where it belongs
12815         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12816
12817         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
12818
12819 $GTKDOC_DEPS_PKG_ERRORS
12820
12821 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12822 installed software in a non-standard prefix.
12823
12824 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12825 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12826 See the pkg-config man page for more details." "$LINENO" 5
12827 elif test $pkg_failed = untried; then
12828         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12829 $as_echo "no" >&6; }
12830         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12832 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12833 is in your PATH or set the PKG_CONFIG environment variable to the full
12834 path to pkg-config.
12835
12836 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12837 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12838 See the pkg-config man page for more details.
12839
12840 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12841 See \`config.log' for more details" "$LINENO" 5; }
12842 else
12843         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12844         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12845         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12846 $as_echo "yes" >&6; }
12847
12848 fi
12849     fi
12850   fi
12851
12852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12853 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12855 $as_echo "$enable_gtk_doc" >&6; }
12856
12857     # Check whether --enable-gtk-doc-html was given.
12858 if test "${enable_gtk_doc_html+set}" = set; then :
12859   enableval=$enable_gtk_doc_html;
12860 else
12861   enable_gtk_doc_html=yes
12862 fi
12863
12864     # Check whether --enable-gtk-doc-pdf was given.
12865 if test "${enable_gtk_doc_pdf+set}" = set; then :
12866   enableval=$enable_gtk_doc_pdf;
12867 else
12868   enable_gtk_doc_pdf=no
12869 fi
12870
12871
12872   if test -z "$GTKDOC_MKPDF"; then
12873     enable_gtk_doc_pdf=no
12874   fi
12875
12876
12877    if test x$enable_gtk_doc = xyes; then
12878   ENABLE_GTK_DOC_TRUE=
12879   ENABLE_GTK_DOC_FALSE='#'
12880 else
12881   ENABLE_GTK_DOC_TRUE='#'
12882   ENABLE_GTK_DOC_FALSE=
12883 fi
12884
12885    if test x$enable_gtk_doc_html = xyes; then
12886   GTK_DOC_BUILD_HTML_TRUE=
12887   GTK_DOC_BUILD_HTML_FALSE='#'
12888 else
12889   GTK_DOC_BUILD_HTML_TRUE='#'
12890   GTK_DOC_BUILD_HTML_FALSE=
12891 fi
12892
12893    if test x$enable_gtk_doc_pdf = xyes; then
12894   GTK_DOC_BUILD_PDF_TRUE=
12895   GTK_DOC_BUILD_PDF_FALSE='#'
12896 else
12897   GTK_DOC_BUILD_PDF_TRUE='#'
12898   GTK_DOC_BUILD_PDF_FALSE=
12899 fi
12900
12901    if test -n "$LIBTOOL"; then
12902   GTK_DOC_USE_LIBTOOL_TRUE=
12903   GTK_DOC_USE_LIBTOOL_FALSE='#'
12904 else
12905   GTK_DOC_USE_LIBTOOL_TRUE='#'
12906   GTK_DOC_USE_LIBTOOL_FALSE=
12907 fi
12908
12909    if test -n "$GTKDOC_REBASE"; then
12910   GTK_DOC_USE_REBASE_TRUE=
12911   GTK_DOC_USE_REBASE_FALSE='#'
12912 else
12913   GTK_DOC_USE_REBASE_TRUE='#'
12914   GTK_DOC_USE_REBASE_FALSE=
12915 fi
12916
12917
12918
12919
12920 # Check whether --enable-cast-checks was given.
12921 if test "${enable_cast_checks+set}" = set; then :
12922   enableval=$enable_cast_checks;
12923 fi
12924
12925 if test "x$enable_cast_checks" = "xno"; then :
12926   CFLAGS="$CFLAGS -DG_DISABLE_CAST_CHECKS"
12927 fi
12928
12929 # Check whether --enable-asserts was given.
12930 if test "${enable_asserts+set}" = set; then :
12931   enableval=$enable_asserts;
12932 fi
12933
12934 if test "x$enable_asserts" = "xno"; then :
12935   CFLAGS="$CFLAGS -DG_DISABLE_ASSERTS"
12936 fi
12937
12938 # Check whether --enable-checks was given.
12939 if test "${enable_checks+set}" = set; then :
12940   enableval=$enable_checks;
12941 fi
12942
12943 if test "x$checks" = "xno"; then :
12944   CFLAGS="$CFLAGS -DG_DISABLE_CHECKS"
12945 fi
12946
12947 # Check whether --enable-debug was given.
12948 if test "${enable_debug+set}" = set; then :
12949   enableval=$enable_debug;
12950 fi
12951
12952 if test "x$enable_debug" = "xyes"; then :
12953   CFLAGS="$CFLAGS -DENABLE_DEBUG"
12954 fi
12955
12956 # Check whether --enable-coverage was given.
12957 if test "${enable_coverage+set}" = set; then :
12958   enableval=$enable_coverage;
12959 fi
12960
12961 if test "x$enable_coverage" = "xyes"; then :
12962   CFLAGS="$CFLAGS -g -fprofile-arcs -ftest-coverage"
12963 fi
12964
12965 # Python support.
12966 PYGOBJECT_REQUIRED=2.90
12967
12968 # Check whether --enable-python was given.
12969 if test "${enable_python+set}" = set; then :
12970   enableval=$enable_python;
12971 fi
12972
12973
12974 if test "x$enable_python" != "xno"; then :
12975   if test -n "$PKG_CONFIG" && \
12976     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
12977   ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
12978   ac_status=$?
12979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12980   test $ac_status = 0; }; then
12981   have_python=yes
12982 else
12983   have_python=no
12984 fi
12985 fi
12986
12987 if test "x$have_python" = "xyes"; then :
12988
12989
12990
12991
12992
12993
12994         # Find any Python interpreter.
12995     if test -z "$PYTHON"; then
12996       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
12997 do
12998   # Extract the first word of "$ac_prog", so it can be a program name with args.
12999 set dummy $ac_prog; ac_word=$2
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13001 $as_echo_n "checking for $ac_word... " >&6; }
13002 if ${ac_cv_path_PYTHON+:} false; then :
13003   $as_echo_n "(cached) " >&6
13004 else
13005   case $PYTHON in
13006   [\\/]* | ?:[\\/]*)
13007   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13008   ;;
13009   *)
13010   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13011 for as_dir in $PATH
13012 do
13013   IFS=$as_save_IFS
13014   test -z "$as_dir" && as_dir=.
13015     for ac_exec_ext in '' $ac_executable_extensions; do
13016   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13017     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13019     break 2
13020   fi
13021 done
13022   done
13023 IFS=$as_save_IFS
13024
13025   ;;
13026 esac
13027 fi
13028 PYTHON=$ac_cv_path_PYTHON
13029 if test -n "$PYTHON"; then
13030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13031 $as_echo "$PYTHON" >&6; }
13032 else
13033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13034 $as_echo "no" >&6; }
13035 fi
13036
13037
13038   test -n "$PYTHON" && break
13039 done
13040 test -n "$PYTHON" || PYTHON=":"
13041
13042     fi
13043     am_display_PYTHON=python
13044
13045
13046   if test "$PYTHON" = :; then
13047       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
13048   else
13049
13050
13051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13052 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13053 if ${am_cv_python_version+:} false; then :
13054   $as_echo_n "(cached) " >&6
13055 else
13056   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13057 fi
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13059 $as_echo "$am_cv_python_version" >&6; }
13060   PYTHON_VERSION=$am_cv_python_version
13061
13062
13063
13064   PYTHON_PREFIX='${prefix}'
13065
13066   PYTHON_EXEC_PREFIX='${exec_prefix}'
13067
13068
13069
13070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13071 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13072 if ${am_cv_python_platform+:} false; then :
13073   $as_echo_n "(cached) " >&6
13074 else
13075   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13076 fi
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13078 $as_echo "$am_cv_python_platform" >&6; }
13079   PYTHON_PLATFORM=$am_cv_python_platform
13080
13081
13082
13083
13084             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13085 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13086 if ${am_cv_python_pythondir+:} false; then :
13087   $as_echo_n "(cached) " >&6
13088 else
13089   if test "x$prefix" = xNONE
13090      then
13091        am_py_prefix=$ac_default_prefix
13092      else
13093        am_py_prefix=$prefix
13094      fi
13095      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`
13096      case $am_cv_python_pythondir in
13097      $am_py_prefix*)
13098        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13099        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13100        ;;
13101      *)
13102        case $am_py_prefix in
13103          /usr|/System*) ;;
13104          *)
13105           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13106           ;;
13107        esac
13108        ;;
13109      esac
13110
13111 fi
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13113 $as_echo "$am_cv_python_pythondir" >&6; }
13114   pythondir=$am_cv_python_pythondir
13115
13116
13117
13118   pkgpythondir=\${pythondir}/$PACKAGE
13119
13120
13121         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13122 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13123 if ${am_cv_python_pyexecdir+:} false; then :
13124   $as_echo_n "(cached) " >&6
13125 else
13126   if test "x$exec_prefix" = xNONE
13127      then
13128        am_py_exec_prefix=$am_py_prefix
13129      else
13130        am_py_exec_prefix=$exec_prefix
13131      fi
13132      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`
13133      case $am_cv_python_pyexecdir in
13134      $am_py_exec_prefix*)
13135        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13136        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13137        ;;
13138      *)
13139        case $am_py_exec_prefix in
13140          /usr|/System*) ;;
13141          *)
13142            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13143            ;;
13144        esac
13145        ;;
13146      esac
13147
13148 fi
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13150 $as_echo "$am_cv_python_pyexecdir" >&6; }
13151   pyexecdir=$am_cv_python_pyexecdir
13152
13153
13154
13155   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13156
13157
13158
13159   fi
13160
13161
13162      pyoverridesdir=`$PYTHON -c "import gi;print (gi._overridesdir)" 2>/dev/null`
13163
13164 fi
13165
13166  if test "x$have_python" = "xyes"; then
13167   ENABLE_PYTHON_TRUE=
13168   ENABLE_PYTHON_FALSE='#'
13169 else
13170   ENABLE_PYTHON_TRUE='#'
13171   ENABLE_PYTHON_FALSE=
13172 fi
13173
13174
13175 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"
13176
13177 cat >confcache <<\_ACEOF
13178 # This file is a shell script that caches the results of configure
13179 # tests run on this system so they can be shared between configure
13180 # scripts and configure runs, see configure's option --config-cache.
13181 # It is not useful on other systems.  If it contains results you don't
13182 # want to keep, you may remove or edit it.
13183 #
13184 # config.status only pays attention to the cache file if you give it
13185 # the --recheck option to rerun configure.
13186 #
13187 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13188 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13189 # following values.
13190
13191 _ACEOF
13192
13193 # The following way of writing the cache mishandles newlines in values,
13194 # but we know of no workaround that is simple, portable, and efficient.
13195 # So, we kill variables containing newlines.
13196 # Ultrix sh set writes to stderr and can't be redirected directly,
13197 # and sets the high bit in the cache file unless we assign to the vars.
13198 (
13199   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13200     eval ac_val=\$$ac_var
13201     case $ac_val in #(
13202     *${as_nl}*)
13203       case $ac_var in #(
13204       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13205 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13206       esac
13207       case $ac_var in #(
13208       _ | IFS | as_nl) ;; #(
13209       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13210       *) { eval $ac_var=; unset $ac_var;} ;;
13211       esac ;;
13212     esac
13213   done
13214
13215   (set) 2>&1 |
13216     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13217     *${as_nl}ac_space=\ *)
13218       # `set' does not quote correctly, so add quotes: double-quote
13219       # substitution turns \\\\ into \\, and sed turns \\ into \.
13220       sed -n \
13221         "s/'/'\\\\''/g;
13222           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13223       ;; #(
13224     *)
13225       # `set' quotes correctly as required by POSIX, so do not add quotes.
13226       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13227       ;;
13228     esac |
13229     sort
13230 ) |
13231   sed '
13232      /^ac_cv_env_/b end
13233      t clear
13234      :clear
13235      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13236      t end
13237      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13238      :end' >>confcache
13239 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13240   if test -w "$cache_file"; then
13241     if test "x$cache_file" != "x/dev/null"; then
13242       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13243 $as_echo "$as_me: updating cache $cache_file" >&6;}
13244       if test ! -f "$cache_file" || test -h "$cache_file"; then
13245         cat confcache >"$cache_file"
13246       else
13247         case $cache_file in #(
13248         */* | ?:*)
13249           mv -f confcache "$cache_file"$$ &&
13250           mv -f "$cache_file"$$ "$cache_file" ;; #(
13251         *)
13252           mv -f confcache "$cache_file" ;;
13253         esac
13254       fi
13255     fi
13256   else
13257     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13258 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13259   fi
13260 fi
13261 rm -f confcache
13262
13263 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13264 # Let make expand exec_prefix.
13265 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13266
13267 DEFS=-DHAVE_CONFIG_H
13268
13269 ac_libobjs=
13270 ac_ltlibobjs=
13271 U=
13272 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13273   # 1. Remove the extension, and $U if already installed.
13274   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13275   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13276   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13277   #    will be set to the directory where LIBOBJS objects are built.
13278   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13279   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13280 done
13281 LIBOBJS=$ac_libobjs
13282
13283 LTLIBOBJS=$ac_ltlibobjs
13284
13285
13286  if test -n "$EXEEXT"; then
13287   am__EXEEXT_TRUE=
13288   am__EXEEXT_FALSE='#'
13289 else
13290   am__EXEEXT_TRUE='#'
13291   am__EXEEXT_FALSE=
13292 fi
13293
13294 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13295   as_fn_error $? "conditional \"AMDEP\" was never defined.
13296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13297 fi
13298 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13299   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13301 fi
13302 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13303   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13305 fi
13306 if test -z "${HAVE_GTESTDBUS_TRUE}" && test -z "${HAVE_GTESTDBUS_FALSE}"; then
13307   as_fn_error $? "conditional \"HAVE_GTESTDBUS\" was never defined.
13308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13309 fi
13310 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13311   as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13313 fi
13314 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13315   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13317 fi
13318 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13319   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13321 fi
13322 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13323   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13325 fi
13326 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13327   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13329 fi
13330 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13331   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13333 fi
13334 if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
13335   as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
13336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13337 fi
13338
13339 : "${CONFIG_STATUS=./config.status}"
13340 ac_write_fail=0
13341 ac_clean_files_save=$ac_clean_files
13342 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13344 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13345 as_write_fail=0
13346 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13347 #! $SHELL
13348 # Generated by $as_me.
13349 # Run this file to recreate the current configuration.
13350 # Compiler output produced by configure, useful for debugging
13351 # configure, is in config.log if it exists.
13352
13353 debug=false
13354 ac_cs_recheck=false
13355 ac_cs_silent=false
13356
13357 SHELL=\${CONFIG_SHELL-$SHELL}
13358 export SHELL
13359 _ASEOF
13360 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13361 ## -------------------- ##
13362 ## M4sh Initialization. ##
13363 ## -------------------- ##
13364
13365 # Be more Bourne compatible
13366 DUALCASE=1; export DUALCASE # for MKS sh
13367 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13368   emulate sh
13369   NULLCMD=:
13370   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13371   # is contrary to our usage.  Disable this feature.
13372   alias -g '${1+"$@"}'='"$@"'
13373   setopt NO_GLOB_SUBST
13374 else
13375   case `(set -o) 2>/dev/null` in #(
13376   *posix*) :
13377     set -o posix ;; #(
13378   *) :
13379      ;;
13380 esac
13381 fi
13382
13383
13384 as_nl='
13385 '
13386 export as_nl
13387 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13388 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13389 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13390 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13391 # Prefer a ksh shell builtin over an external printf program on Solaris,
13392 # but without wasting forks for bash or zsh.
13393 if test -z "$BASH_VERSION$ZSH_VERSION" \
13394     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13395   as_echo='print -r --'
13396   as_echo_n='print -rn --'
13397 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13398   as_echo='printf %s\n'
13399   as_echo_n='printf %s'
13400 else
13401   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13402     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13403     as_echo_n='/usr/ucb/echo -n'
13404   else
13405     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13406     as_echo_n_body='eval
13407       arg=$1;
13408       case $arg in #(
13409       *"$as_nl"*)
13410         expr "X$arg" : "X\\(.*\\)$as_nl";
13411         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13412       esac;
13413       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13414     '
13415     export as_echo_n_body
13416     as_echo_n='sh -c $as_echo_n_body as_echo'
13417   fi
13418   export as_echo_body
13419   as_echo='sh -c $as_echo_body as_echo'
13420 fi
13421
13422 # The user is always right.
13423 if test "${PATH_SEPARATOR+set}" != set; then
13424   PATH_SEPARATOR=:
13425   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13426     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13427       PATH_SEPARATOR=';'
13428   }
13429 fi
13430
13431
13432 # IFS
13433 # We need space, tab and new line, in precisely that order.  Quoting is
13434 # there to prevent editors from complaining about space-tab.
13435 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13436 # splitting by setting IFS to empty value.)
13437 IFS=" ""        $as_nl"
13438
13439 # Find who we are.  Look in the path if we contain no directory separator.
13440 as_myself=
13441 case $0 in #((
13442   *[\\/]* ) as_myself=$0 ;;
13443   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13444 for as_dir in $PATH
13445 do
13446   IFS=$as_save_IFS
13447   test -z "$as_dir" && as_dir=.
13448     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13449   done
13450 IFS=$as_save_IFS
13451
13452      ;;
13453 esac
13454 # We did not find ourselves, most probably we were run as `sh COMMAND'
13455 # in which case we are not to be found in the path.
13456 if test "x$as_myself" = x; then
13457   as_myself=$0
13458 fi
13459 if test ! -f "$as_myself"; then
13460   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13461   exit 1
13462 fi
13463
13464 # Unset variables that we do not need and which cause bugs (e.g. in
13465 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13466 # suppresses any "Segmentation fault" message there.  '((' could
13467 # trigger a bug in pdksh 5.2.14.
13468 for as_var in BASH_ENV ENV MAIL MAILPATH
13469 do eval test x\${$as_var+set} = xset \
13470   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13471 done
13472 PS1='$ '
13473 PS2='> '
13474 PS4='+ '
13475
13476 # NLS nuisances.
13477 LC_ALL=C
13478 export LC_ALL
13479 LANGUAGE=C
13480 export LANGUAGE
13481
13482 # CDPATH.
13483 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13484
13485
13486 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13487 # ----------------------------------------
13488 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13489 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13490 # script with STATUS, using 1 if that was 0.
13491 as_fn_error ()
13492 {
13493   as_status=$1; test $as_status -eq 0 && as_status=1
13494   if test "$4"; then
13495     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13496     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13497   fi
13498   $as_echo "$as_me: error: $2" >&2
13499   as_fn_exit $as_status
13500 } # as_fn_error
13501
13502
13503 # as_fn_set_status STATUS
13504 # -----------------------
13505 # Set $? to STATUS, without forking.
13506 as_fn_set_status ()
13507 {
13508   return $1
13509 } # as_fn_set_status
13510
13511 # as_fn_exit STATUS
13512 # -----------------
13513 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13514 as_fn_exit ()
13515 {
13516   set +e
13517   as_fn_set_status $1
13518   exit $1
13519 } # as_fn_exit
13520
13521 # as_fn_unset VAR
13522 # ---------------
13523 # Portably unset VAR.
13524 as_fn_unset ()
13525 {
13526   { eval $1=; unset $1;}
13527 }
13528 as_unset=as_fn_unset
13529 # as_fn_append VAR VALUE
13530 # ----------------------
13531 # Append the text in VALUE to the end of the definition contained in VAR. Take
13532 # advantage of any shell optimizations that allow amortized linear growth over
13533 # repeated appends, instead of the typical quadratic growth present in naive
13534 # implementations.
13535 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13536   eval 'as_fn_append ()
13537   {
13538     eval $1+=\$2
13539   }'
13540 else
13541   as_fn_append ()
13542   {
13543     eval $1=\$$1\$2
13544   }
13545 fi # as_fn_append
13546
13547 # as_fn_arith ARG...
13548 # ------------------
13549 # Perform arithmetic evaluation on the ARGs, and store the result in the
13550 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13551 # must be portable across $(()) and expr.
13552 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13553   eval 'as_fn_arith ()
13554   {
13555     as_val=$(( $* ))
13556   }'
13557 else
13558   as_fn_arith ()
13559   {
13560     as_val=`expr "$@" || test $? -eq 1`
13561   }
13562 fi # as_fn_arith
13563
13564
13565 if expr a : '\(a\)' >/dev/null 2>&1 &&
13566    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13567   as_expr=expr
13568 else
13569   as_expr=false
13570 fi
13571
13572 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13573   as_basename=basename
13574 else
13575   as_basename=false
13576 fi
13577
13578 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13579   as_dirname=dirname
13580 else
13581   as_dirname=false
13582 fi
13583
13584 as_me=`$as_basename -- "$0" ||
13585 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13586          X"$0" : 'X\(//\)$' \| \
13587          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13588 $as_echo X/"$0" |
13589     sed '/^.*\/\([^/][^/]*\)\/*$/{
13590             s//\1/
13591             q
13592           }
13593           /^X\/\(\/\/\)$/{
13594             s//\1/
13595             q
13596           }
13597           /^X\/\(\/\).*/{
13598             s//\1/
13599             q
13600           }
13601           s/.*/./; q'`
13602
13603 # Avoid depending upon Character Ranges.
13604 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13605 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13606 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13607 as_cr_digits='0123456789'
13608 as_cr_alnum=$as_cr_Letters$as_cr_digits
13609
13610 ECHO_C= ECHO_N= ECHO_T=
13611 case `echo -n x` in #(((((
13612 -n*)
13613   case `echo 'xy\c'` in
13614   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13615   xy)  ECHO_C='\c';;
13616   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13617        ECHO_T=' ';;
13618   esac;;
13619 *)
13620   ECHO_N='-n';;
13621 esac
13622
13623 rm -f conf$$ conf$$.exe conf$$.file
13624 if test -d conf$$.dir; then
13625   rm -f conf$$.dir/conf$$.file
13626 else
13627   rm -f conf$$.dir
13628   mkdir conf$$.dir 2>/dev/null
13629 fi
13630 if (echo >conf$$.file) 2>/dev/null; then
13631   if ln -s conf$$.file conf$$ 2>/dev/null; then
13632     as_ln_s='ln -s'
13633     # ... but there are two gotchas:
13634     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13635     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13636     # In both cases, we have to default to `cp -p'.
13637     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13638       as_ln_s='cp -p'
13639   elif ln conf$$.file conf$$ 2>/dev/null; then
13640     as_ln_s=ln
13641   else
13642     as_ln_s='cp -p'
13643   fi
13644 else
13645   as_ln_s='cp -p'
13646 fi
13647 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13648 rmdir conf$$.dir 2>/dev/null
13649
13650
13651 # as_fn_mkdir_p
13652 # -------------
13653 # Create "$as_dir" as a directory, including parents if necessary.
13654 as_fn_mkdir_p ()
13655 {
13656
13657   case $as_dir in #(
13658   -*) as_dir=./$as_dir;;
13659   esac
13660   test -d "$as_dir" || eval $as_mkdir_p || {
13661     as_dirs=
13662     while :; do
13663       case $as_dir in #(
13664       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13665       *) as_qdir=$as_dir;;
13666       esac
13667       as_dirs="'$as_qdir' $as_dirs"
13668       as_dir=`$as_dirname -- "$as_dir" ||
13669 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13670          X"$as_dir" : 'X\(//\)[^/]' \| \
13671          X"$as_dir" : 'X\(//\)$' \| \
13672          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13673 $as_echo X"$as_dir" |
13674     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13675             s//\1/
13676             q
13677           }
13678           /^X\(\/\/\)[^/].*/{
13679             s//\1/
13680             q
13681           }
13682           /^X\(\/\/\)$/{
13683             s//\1/
13684             q
13685           }
13686           /^X\(\/\).*/{
13687             s//\1/
13688             q
13689           }
13690           s/.*/./; q'`
13691       test -d "$as_dir" && break
13692     done
13693     test -z "$as_dirs" || eval "mkdir $as_dirs"
13694   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13695
13696
13697 } # as_fn_mkdir_p
13698 if mkdir -p . 2>/dev/null; then
13699   as_mkdir_p='mkdir -p "$as_dir"'
13700 else
13701   test -d ./-p && rmdir ./-p
13702   as_mkdir_p=false
13703 fi
13704
13705 if test -x / >/dev/null 2>&1; then
13706   as_test_x='test -x'
13707 else
13708   if ls -dL / >/dev/null 2>&1; then
13709     as_ls_L_option=L
13710   else
13711     as_ls_L_option=
13712   fi
13713   as_test_x='
13714     eval sh -c '\''
13715       if test -d "$1"; then
13716         test -d "$1/.";
13717       else
13718         case $1 in #(
13719         -*)set "./$1";;
13720         esac;
13721         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13722         ???[sx]*):;;*)false;;esac;fi
13723     '\'' sh
13724   '
13725 fi
13726 as_executable_p=$as_test_x
13727
13728 # Sed expression to map a string onto a valid CPP name.
13729 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13730
13731 # Sed expression to map a string onto a valid variable name.
13732 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13733
13734
13735 exec 6>&1
13736 ## ----------------------------------- ##
13737 ## Main body of $CONFIG_STATUS script. ##
13738 ## ----------------------------------- ##
13739 _ASEOF
13740 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13741
13742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13743 # Save the log message, to keep $0 and so on meaningful, and to
13744 # report actual input values of CONFIG_FILES etc. instead of their
13745 # values after options handling.
13746 ac_log="
13747 This file was extended by libgsignon-glib $as_me 2.0.0, which was
13748 generated by GNU Autoconf 2.68.  Invocation command line was
13749
13750   CONFIG_FILES    = $CONFIG_FILES
13751   CONFIG_HEADERS  = $CONFIG_HEADERS
13752   CONFIG_LINKS    = $CONFIG_LINKS
13753   CONFIG_COMMANDS = $CONFIG_COMMANDS
13754   $ $0 $@
13755
13756 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13757 "
13758
13759 _ACEOF
13760
13761 case $ac_config_files in *"
13762 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13763 esac
13764
13765 case $ac_config_headers in *"
13766 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13767 esac
13768
13769
13770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13771 # Files that config.status was made for.
13772 config_files="$ac_config_files"
13773 config_headers="$ac_config_headers"
13774 config_commands="$ac_config_commands"
13775
13776 _ACEOF
13777
13778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13779 ac_cs_usage="\
13780 \`$as_me' instantiates files and other configuration actions
13781 from templates according to the current configuration.  Unless the files
13782 and actions are specified as TAGs, all are instantiated by default.
13783
13784 Usage: $0 [OPTION]... [TAG]...
13785
13786   -h, --help       print this help, then exit
13787   -V, --version    print version number and configuration settings, then exit
13788       --config     print configuration, then exit
13789   -q, --quiet, --silent
13790                    do not print progress messages
13791   -d, --debug      don't remove temporary files
13792       --recheck    update $as_me by reconfiguring in the same conditions
13793       --file=FILE[:TEMPLATE]
13794                    instantiate the configuration file FILE
13795       --header=FILE[:TEMPLATE]
13796                    instantiate the configuration header FILE
13797
13798 Configuration files:
13799 $config_files
13800
13801 Configuration headers:
13802 $config_headers
13803
13804 Configuration commands:
13805 $config_commands
13806
13807 Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
13808 libgsignon-glib home page: <http://code.google.com/p/accounts-sso/>."
13809
13810 _ACEOF
13811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13812 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13813 ac_cs_version="\\
13814 libgsignon-glib config.status 2.0.0
13815 configured by $0, generated by GNU Autoconf 2.68,
13816   with options \\"\$ac_cs_config\\"
13817
13818 Copyright (C) 2010 Free Software Foundation, Inc.
13819 This config.status script is free software; the Free Software Foundation
13820 gives unlimited permission to copy, distribute and modify it."
13821
13822 ac_pwd='$ac_pwd'
13823 srcdir='$srcdir'
13824 INSTALL='$INSTALL'
13825 MKDIR_P='$MKDIR_P'
13826 AWK='$AWK'
13827 test -n "\$AWK" || AWK=awk
13828 _ACEOF
13829
13830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13831 # The default lists apply if the user does not specify any file.
13832 ac_need_defaults=:
13833 while test $# != 0
13834 do
13835   case $1 in
13836   --*=?*)
13837     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13838     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13839     ac_shift=:
13840     ;;
13841   --*=)
13842     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13843     ac_optarg=
13844     ac_shift=:
13845     ;;
13846   *)
13847     ac_option=$1
13848     ac_optarg=$2
13849     ac_shift=shift
13850     ;;
13851   esac
13852
13853   case $ac_option in
13854   # Handling of the options.
13855   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13856     ac_cs_recheck=: ;;
13857   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13858     $as_echo "$ac_cs_version"; exit ;;
13859   --config | --confi | --conf | --con | --co | --c )
13860     $as_echo "$ac_cs_config"; exit ;;
13861   --debug | --debu | --deb | --de | --d | -d )
13862     debug=: ;;
13863   --file | --fil | --fi | --f )
13864     $ac_shift
13865     case $ac_optarg in
13866     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13867     '') as_fn_error $? "missing file argument" ;;
13868     esac
13869     as_fn_append CONFIG_FILES " '$ac_optarg'"
13870     ac_need_defaults=false;;
13871   --header | --heade | --head | --hea )
13872     $ac_shift
13873     case $ac_optarg in
13874     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13875     esac
13876     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13877     ac_need_defaults=false;;
13878   --he | --h)
13879     # Conflict between --help and --header
13880     as_fn_error $? "ambiguous option: \`$1'
13881 Try \`$0 --help' for more information.";;
13882   --help | --hel | -h )
13883     $as_echo "$ac_cs_usage"; exit ;;
13884   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13885   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13886     ac_cs_silent=: ;;
13887
13888   # This is an error.
13889   -*) as_fn_error $? "unrecognized option: \`$1'
13890 Try \`$0 --help' for more information." ;;
13891
13892   *) as_fn_append ac_config_targets " $1"
13893      ac_need_defaults=false ;;
13894
13895   esac
13896   shift
13897 done
13898
13899 ac_configure_extra_args=
13900
13901 if $ac_cs_silent; then
13902   exec 6>/dev/null
13903   ac_configure_extra_args="$ac_configure_extra_args --silent"
13904 fi
13905
13906 _ACEOF
13907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13908 if \$ac_cs_recheck; then
13909   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13910   shift
13911   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13912   CONFIG_SHELL='$SHELL'
13913   export CONFIG_SHELL
13914   exec "\$@"
13915 fi
13916
13917 _ACEOF
13918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13919 exec 5>>config.log
13920 {
13921   echo
13922   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13923 ## Running $as_me. ##
13924 _ASBOX
13925   $as_echo "$ac_log"
13926 } >&5
13927
13928 _ACEOF
13929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13930 #
13931 # INIT-COMMANDS
13932 #
13933 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13934
13935
13936 # The HP-UX ksh and POSIX shell print the target directory to stdout
13937 # if CDPATH is set.
13938 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13939
13940 sed_quote_subst='$sed_quote_subst'
13941 double_quote_subst='$double_quote_subst'
13942 delay_variable_subst='$delay_variable_subst'
13943 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13944 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13945 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13946 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13947 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13948 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13949 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13950 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13951 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13952 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13953 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13954 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13955 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13956 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13957 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13958 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13959 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13960 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13961 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13962 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13963 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13964 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13965 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13966 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13967 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13968 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13969 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13970 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13971 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13972 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13973 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13974 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13975 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13976 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13977 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13978 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13979 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13980 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13981 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13982 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13983 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13984 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13985 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13986 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13987 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13988 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13989 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13990 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13991 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13992 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13993 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13994 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13995 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13996 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13997 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13998 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13999 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"`'
14000 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14001 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14002 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14003 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14004 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14005 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14006 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14007 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14008 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14009 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14010 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14011 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14012 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14013 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14014 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14015 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14016 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14017 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14018 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14019 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14020 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14021 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14022 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14023 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14024 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14025 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14026 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14027 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14028 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14029 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14030 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14031 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14032 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14033 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14034 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14035 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14036 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14037 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14038 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14039 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14040 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14041 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14042 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14043 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14044 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14045 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14046 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14047 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14048 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14049 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14050 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14051 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14052 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14053 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14054 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14055 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14056 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14057 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14058 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14059 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14060 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14061 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14062 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14063 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14064 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14065 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14066 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14067 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14068 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14069 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14070 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14071 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14072 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14073
14074 LTCC='$LTCC'
14075 LTCFLAGS='$LTCFLAGS'
14076 compiler='$compiler_DEFAULT'
14077
14078 # A function that is used when there is no print builtin or printf.
14079 func_fallback_echo ()
14080 {
14081   eval 'cat <<_LTECHO_EOF
14082 \$1
14083 _LTECHO_EOF'
14084 }
14085
14086 # Quote evaled strings.
14087 for var in SHELL \
14088 ECHO \
14089 PATH_SEPARATOR \
14090 SED \
14091 GREP \
14092 EGREP \
14093 FGREP \
14094 LD \
14095 NM \
14096 LN_S \
14097 lt_SP2NL \
14098 lt_NL2SP \
14099 reload_flag \
14100 OBJDUMP \
14101 deplibs_check_method \
14102 file_magic_cmd \
14103 file_magic_glob \
14104 want_nocaseglob \
14105 DLLTOOL \
14106 sharedlib_from_linklib_cmd \
14107 AR \
14108 AR_FLAGS \
14109 archiver_list_spec \
14110 STRIP \
14111 RANLIB \
14112 CC \
14113 CFLAGS \
14114 compiler \
14115 lt_cv_sys_global_symbol_pipe \
14116 lt_cv_sys_global_symbol_to_cdecl \
14117 lt_cv_sys_global_symbol_to_c_name_address \
14118 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14119 nm_file_list_spec \
14120 lt_prog_compiler_no_builtin_flag \
14121 lt_prog_compiler_pic \
14122 lt_prog_compiler_wl \
14123 lt_prog_compiler_static \
14124 lt_cv_prog_compiler_c_o \
14125 need_locks \
14126 MANIFEST_TOOL \
14127 DSYMUTIL \
14128 NMEDIT \
14129 LIPO \
14130 OTOOL \
14131 OTOOL64 \
14132 shrext_cmds \
14133 export_dynamic_flag_spec \
14134 whole_archive_flag_spec \
14135 compiler_needs_object \
14136 with_gnu_ld \
14137 allow_undefined_flag \
14138 no_undefined_flag \
14139 hardcode_libdir_flag_spec \
14140 hardcode_libdir_separator \
14141 exclude_expsyms \
14142 include_expsyms \
14143 file_list_spec \
14144 variables_saved_for_relink \
14145 libname_spec \
14146 library_names_spec \
14147 soname_spec \
14148 install_override_mode \
14149 finish_eval \
14150 old_striplib \
14151 striplib; do
14152     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14153     *[\\\\\\\`\\"\\\$]*)
14154       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14155       ;;
14156     *)
14157       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14158       ;;
14159     esac
14160 done
14161
14162 # Double-quote double-evaled strings.
14163 for var in reload_cmds \
14164 old_postinstall_cmds \
14165 old_postuninstall_cmds \
14166 old_archive_cmds \
14167 extract_expsyms_cmds \
14168 old_archive_from_new_cmds \
14169 old_archive_from_expsyms_cmds \
14170 archive_cmds \
14171 archive_expsym_cmds \
14172 module_cmds \
14173 module_expsym_cmds \
14174 export_symbols_cmds \
14175 prelink_cmds \
14176 postlink_cmds \
14177 postinstall_cmds \
14178 postuninstall_cmds \
14179 finish_cmds \
14180 sys_lib_search_path_spec \
14181 sys_lib_dlsearch_path_spec; do
14182     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14183     *[\\\\\\\`\\"\\\$]*)
14184       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14185       ;;
14186     *)
14187       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14188       ;;
14189     esac
14190 done
14191
14192 ac_aux_dir='$ac_aux_dir'
14193 xsi_shell='$xsi_shell'
14194 lt_shell_append='$lt_shell_append'
14195
14196 # See if we are running on zsh, and set the options which allow our
14197 # commands through without removal of \ escapes INIT.
14198 if test -n "\${ZSH_VERSION+set}" ; then
14199    setopt NO_GLOB_SUBST
14200 fi
14201
14202
14203     PACKAGE='$PACKAGE'
14204     VERSION='$VERSION'
14205     TIMESTAMP='$TIMESTAMP'
14206     RM='$RM'
14207     ofile='$ofile'
14208
14209
14210
14211
14212 _ACEOF
14213
14214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14215
14216 # Handling of arguments.
14217 for ac_config_target in $ac_config_targets
14218 do
14219   case $ac_config_target in
14220     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14221     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14222     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14223     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14224     "libgsignon-glib/Makefile") CONFIG_FILES="$CONFIG_FILES libgsignon-glib/Makefile" ;;
14225     "libgsignon-glib.pc") CONFIG_FILES="$CONFIG_FILES libgsignon-glib.pc" ;;
14226     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14227     "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
14228     "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
14229     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14230     "pygobject/Makefile") CONFIG_FILES="$CONFIG_FILES pygobject/Makefile" ;;
14231
14232   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14233   esac
14234 done
14235
14236
14237 # If the user did not use the arguments to specify the items to instantiate,
14238 # then the envvar interface is used.  Set only those that are not.
14239 # We use the long form for the default assignment because of an extremely
14240 # bizarre bug on SunOS 4.1.3.
14241 if $ac_need_defaults; then
14242   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14243   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14244   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14245 fi
14246
14247 # Have a temporary directory for convenience.  Make it in the build tree
14248 # simply because there is no reason against having it here, and in addition,
14249 # creating and moving files from /tmp can sometimes cause problems.
14250 # Hook for its removal unless debugging.
14251 # Note that there is a small window in which the directory will not be cleaned:
14252 # after its creation but before its name has been assigned to `$tmp'.
14253 $debug ||
14254 {
14255   tmp= ac_tmp=
14256   trap 'exit_status=$?
14257   : "${ac_tmp:=$tmp}"
14258   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14259 ' 0
14260   trap 'as_fn_exit 1' 1 2 13 15
14261 }
14262 # Create a (secure) tmp directory for tmp files.
14263
14264 {
14265   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14266   test -d "$tmp"
14267 }  ||
14268 {
14269   tmp=./conf$$-$RANDOM
14270   (umask 077 && mkdir "$tmp")
14271 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14272 ac_tmp=$tmp
14273
14274 # Set up the scripts for CONFIG_FILES section.
14275 # No need to generate them if there are no CONFIG_FILES.
14276 # This happens for instance with `./config.status config.h'.
14277 if test -n "$CONFIG_FILES"; then
14278
14279
14280 ac_cr=`echo X | tr X '\015'`
14281 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14282 # But we know of no other shell where ac_cr would be empty at this
14283 # point, so we can use a bashism as a fallback.
14284 if test "x$ac_cr" = x; then
14285   eval ac_cr=\$\'\\r\'
14286 fi
14287 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14288 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14289   ac_cs_awk_cr='\\r'
14290 else
14291   ac_cs_awk_cr=$ac_cr
14292 fi
14293
14294 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14295 _ACEOF
14296
14297
14298 {
14299   echo "cat >conf$$subs.awk <<_ACEOF" &&
14300   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14301   echo "_ACEOF"
14302 } >conf$$subs.sh ||
14303   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14304 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14305 ac_delim='%!_!# '
14306 for ac_last_try in false false false false false :; do
14307   . ./conf$$subs.sh ||
14308     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14309
14310   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14311   if test $ac_delim_n = $ac_delim_num; then
14312     break
14313   elif $ac_last_try; then
14314     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14315   else
14316     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14317   fi
14318 done
14319 rm -f conf$$subs.sh
14320
14321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14322 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14323 _ACEOF
14324 sed -n '
14325 h
14326 s/^/S["/; s/!.*/"]=/
14327 p
14328 g
14329 s/^[^!]*!//
14330 :repl
14331 t repl
14332 s/'"$ac_delim"'$//
14333 t delim
14334 :nl
14335 h
14336 s/\(.\{148\}\)..*/\1/
14337 t more1
14338 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14339 p
14340 n
14341 b repl
14342 :more1
14343 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14344 p
14345 g
14346 s/.\{148\}//
14347 t nl
14348 :delim
14349 h
14350 s/\(.\{148\}\)..*/\1/
14351 t more2
14352 s/["\\]/\\&/g; s/^/"/; s/$/"/
14353 p
14354 b
14355 :more2
14356 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14357 p
14358 g
14359 s/.\{148\}//
14360 t delim
14361 ' <conf$$subs.awk | sed '
14362 /^[^""]/{
14363   N
14364   s/\n//
14365 }
14366 ' >>$CONFIG_STATUS || ac_write_fail=1
14367 rm -f conf$$subs.awk
14368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14369 _ACAWK
14370 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14371   for (key in S) S_is_set[key] = 1
14372   FS = "\a"
14373
14374 }
14375 {
14376   line = $ 0
14377   nfields = split(line, field, "@")
14378   substed = 0
14379   len = length(field[1])
14380   for (i = 2; i < nfields; i++) {
14381     key = field[i]
14382     keylen = length(key)
14383     if (S_is_set[key]) {
14384       value = S[key]
14385       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14386       len += length(value) + length(field[++i])
14387       substed = 1
14388     } else
14389       len += 1 + keylen
14390   }
14391
14392   print line
14393 }
14394
14395 _ACAWK
14396 _ACEOF
14397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14398 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14399   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14400 else
14401   cat
14402 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14403   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14404 _ACEOF
14405
14406 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14407 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14408 # trailing colons and then remove the whole line if VPATH becomes empty
14409 # (actually we leave an empty line to preserve line numbers).
14410 if test "x$srcdir" = x.; then
14411   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14412 h
14413 s///
14414 s/^/:/
14415 s/[      ]*$/:/
14416 s/:\$(srcdir):/:/g
14417 s/:\${srcdir}:/:/g
14418 s/:@srcdir@:/:/g
14419 s/^:*//
14420 s/:*$//
14421 x
14422 s/\(=[   ]*\).*/\1/
14423 G
14424 s/\n//
14425 s/^[^=]*=[       ]*$//
14426 }'
14427 fi
14428
14429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14430 fi # test -n "$CONFIG_FILES"
14431
14432 # Set up the scripts for CONFIG_HEADERS section.
14433 # No need to generate them if there are no CONFIG_HEADERS.
14434 # This happens for instance with `./config.status Makefile'.
14435 if test -n "$CONFIG_HEADERS"; then
14436 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14437 BEGIN {
14438 _ACEOF
14439
14440 # Transform confdefs.h into an awk script `defines.awk', embedded as
14441 # here-document in config.status, that substitutes the proper values into
14442 # config.h.in to produce config.h.
14443
14444 # Create a delimiter string that does not exist in confdefs.h, to ease
14445 # handling of long lines.
14446 ac_delim='%!_!# '
14447 for ac_last_try in false false :; do
14448   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14449   if test -z "$ac_tt"; then
14450     break
14451   elif $ac_last_try; then
14452     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14453   else
14454     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14455   fi
14456 done
14457
14458 # For the awk script, D is an array of macro values keyed by name,
14459 # likewise P contains macro parameters if any.  Preserve backslash
14460 # newline sequences.
14461
14462 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14463 sed -n '
14464 s/.\{148\}/&'"$ac_delim"'/g
14465 t rset
14466 :rset
14467 s/^[     ]*#[    ]*define[       ][      ]*/ /
14468 t def
14469 d
14470 :def
14471 s/\\$//
14472 t bsnl
14473 s/["\\]/\\&/g
14474 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14475 D["\1"]=" \3"/p
14476 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14477 d
14478 :bsnl
14479 s/["\\]/\\&/g
14480 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14481 D["\1"]=" \3\\\\\\n"\\/p
14482 t cont
14483 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14484 t cont
14485 d
14486 :cont
14487 n
14488 s/.\{148\}/&'"$ac_delim"'/g
14489 t clear
14490 :clear
14491 s/\\$//
14492 t bsnlc
14493 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14494 d
14495 :bsnlc
14496 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14497 b cont
14498 ' <confdefs.h | sed '
14499 s/'"$ac_delim"'/"\\\
14500 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14501
14502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14503   for (key in D) D_is_set[key] = 1
14504   FS = "\a"
14505 }
14506 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14507   line = \$ 0
14508   split(line, arg, " ")
14509   if (arg[1] == "#") {
14510     defundef = arg[2]
14511     mac1 = arg[3]
14512   } else {
14513     defundef = substr(arg[1], 2)
14514     mac1 = arg[2]
14515   }
14516   split(mac1, mac2, "(") #)
14517   macro = mac2[1]
14518   prefix = substr(line, 1, index(line, defundef) - 1)
14519   if (D_is_set[macro]) {
14520     # Preserve the white space surrounding the "#".
14521     print prefix "define", macro P[macro] D[macro]
14522     next
14523   } else {
14524     # Replace #undef with comments.  This is necessary, for example,
14525     # in the case of _POSIX_SOURCE, which is predefined and required
14526     # on some systems where configure will not decide to define it.
14527     if (defundef == "undef") {
14528       print "/*", prefix defundef, macro, "*/"
14529       next
14530     }
14531   }
14532 }
14533 { print }
14534 _ACAWK
14535 _ACEOF
14536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14537   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14538 fi # test -n "$CONFIG_HEADERS"
14539
14540
14541 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14542 shift
14543 for ac_tag
14544 do
14545   case $ac_tag in
14546   :[FHLC]) ac_mode=$ac_tag; continue;;
14547   esac
14548   case $ac_mode$ac_tag in
14549   :[FHL]*:*);;
14550   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14551   :[FH]-) ac_tag=-:-;;
14552   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14553   esac
14554   ac_save_IFS=$IFS
14555   IFS=:
14556   set x $ac_tag
14557   IFS=$ac_save_IFS
14558   shift
14559   ac_file=$1
14560   shift
14561
14562   case $ac_mode in
14563   :L) ac_source=$1;;
14564   :[FH])
14565     ac_file_inputs=
14566     for ac_f
14567     do
14568       case $ac_f in
14569       -) ac_f="$ac_tmp/stdin";;
14570       *) # Look for the file first in the build tree, then in the source tree
14571          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14572          # because $ac_f cannot contain `:'.
14573          test -f "$ac_f" ||
14574            case $ac_f in
14575            [\\/$]*) false;;
14576            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14577            esac ||
14578            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14579       esac
14580       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14581       as_fn_append ac_file_inputs " '$ac_f'"
14582     done
14583
14584     # Let's still pretend it is `configure' which instantiates (i.e., don't
14585     # use $as_me), people would be surprised to read:
14586     #    /* config.h.  Generated by config.status.  */
14587     configure_input='Generated from '`
14588           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14589         `' by configure.'
14590     if test x"$ac_file" != x-; then
14591       configure_input="$ac_file.  $configure_input"
14592       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14593 $as_echo "$as_me: creating $ac_file" >&6;}
14594     fi
14595     # Neutralize special characters interpreted by sed in replacement strings.
14596     case $configure_input in #(
14597     *\&* | *\|* | *\\* )
14598        ac_sed_conf_input=`$as_echo "$configure_input" |
14599        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14600     *) ac_sed_conf_input=$configure_input;;
14601     esac
14602
14603     case $ac_tag in
14604     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14605       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14606     esac
14607     ;;
14608   esac
14609
14610   ac_dir=`$as_dirname -- "$ac_file" ||
14611 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14612          X"$ac_file" : 'X\(//\)[^/]' \| \
14613          X"$ac_file" : 'X\(//\)$' \| \
14614          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14615 $as_echo X"$ac_file" |
14616     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14617             s//\1/
14618             q
14619           }
14620           /^X\(\/\/\)[^/].*/{
14621             s//\1/
14622             q
14623           }
14624           /^X\(\/\/\)$/{
14625             s//\1/
14626             q
14627           }
14628           /^X\(\/\).*/{
14629             s//\1/
14630             q
14631           }
14632           s/.*/./; q'`
14633   as_dir="$ac_dir"; as_fn_mkdir_p
14634   ac_builddir=.
14635
14636 case "$ac_dir" in
14637 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14638 *)
14639   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14640   # A ".." for each directory in $ac_dir_suffix.
14641   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14642   case $ac_top_builddir_sub in
14643   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14644   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14645   esac ;;
14646 esac
14647 ac_abs_top_builddir=$ac_pwd
14648 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14649 # for backward compatibility:
14650 ac_top_builddir=$ac_top_build_prefix
14651
14652 case $srcdir in
14653   .)  # We are building in place.
14654     ac_srcdir=.
14655     ac_top_srcdir=$ac_top_builddir_sub
14656     ac_abs_top_srcdir=$ac_pwd ;;
14657   [\\/]* | ?:[\\/]* )  # Absolute name.
14658     ac_srcdir=$srcdir$ac_dir_suffix;
14659     ac_top_srcdir=$srcdir
14660     ac_abs_top_srcdir=$srcdir ;;
14661   *) # Relative name.
14662     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14663     ac_top_srcdir=$ac_top_build_prefix$srcdir
14664     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14665 esac
14666 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14667
14668
14669   case $ac_mode in
14670   :F)
14671   #
14672   # CONFIG_FILE
14673   #
14674
14675   case $INSTALL in
14676   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14677   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14678   esac
14679   ac_MKDIR_P=$MKDIR_P
14680   case $MKDIR_P in
14681   [\\/$]* | ?:[\\/]* ) ;;
14682   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14683   esac
14684 _ACEOF
14685
14686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14687 # If the template does not know about datarootdir, expand it.
14688 # FIXME: This hack should be removed a few years after 2.60.
14689 ac_datarootdir_hack=; ac_datarootdir_seen=
14690 ac_sed_dataroot='
14691 /datarootdir/ {
14692   p
14693   q
14694 }
14695 /@datadir@/p
14696 /@docdir@/p
14697 /@infodir@/p
14698 /@localedir@/p
14699 /@mandir@/p'
14700 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14701 *datarootdir*) ac_datarootdir_seen=yes;;
14702 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14703   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14704 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14705 _ACEOF
14706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14707   ac_datarootdir_hack='
14708   s&@datadir@&$datadir&g
14709   s&@docdir@&$docdir&g
14710   s&@infodir@&$infodir&g
14711   s&@localedir@&$localedir&g
14712   s&@mandir@&$mandir&g
14713   s&\\\${datarootdir}&$datarootdir&g' ;;
14714 esac
14715 _ACEOF
14716
14717 # Neutralize VPATH when `$srcdir' = `.'.
14718 # Shell code in configure.ac might set extrasub.
14719 # FIXME: do we really want to maintain this feature?
14720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14721 ac_sed_extra="$ac_vpsub
14722 $extrasub
14723 _ACEOF
14724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14725 :t
14726 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14727 s|@configure_input@|$ac_sed_conf_input|;t t
14728 s&@top_builddir@&$ac_top_builddir_sub&;t t
14729 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14730 s&@srcdir@&$ac_srcdir&;t t
14731 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14732 s&@top_srcdir@&$ac_top_srcdir&;t t
14733 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14734 s&@builddir@&$ac_builddir&;t t
14735 s&@abs_builddir@&$ac_abs_builddir&;t t
14736 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14737 s&@INSTALL@&$ac_INSTALL&;t t
14738 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14739 $ac_datarootdir_hack
14740 "
14741 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14742   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14743
14744 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14745   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14746   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14747       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14748   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14749 which seems to be undefined.  Please make sure it is defined" >&5
14750 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14751 which seems to be undefined.  Please make sure it is defined" >&2;}
14752
14753   rm -f "$ac_tmp/stdin"
14754   case $ac_file in
14755   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14756   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14757   esac \
14758   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14759  ;;
14760   :H)
14761   #
14762   # CONFIG_HEADER
14763   #
14764   if test x"$ac_file" != x-; then
14765     {
14766       $as_echo "/* $configure_input  */" \
14767       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14768     } >"$ac_tmp/config.h" \
14769       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14770     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14771       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14772 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14773     else
14774       rm -f "$ac_file"
14775       mv "$ac_tmp/config.h" "$ac_file" \
14776         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14777     fi
14778   else
14779     $as_echo "/* $configure_input  */" \
14780       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14781       || as_fn_error $? "could not create -" "$LINENO" 5
14782   fi
14783 # Compute "$ac_file"'s index in $config_headers.
14784 _am_arg="$ac_file"
14785 _am_stamp_count=1
14786 for _am_header in $config_headers :; do
14787   case $_am_header in
14788     $_am_arg | $_am_arg:* )
14789       break ;;
14790     * )
14791       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14792   esac
14793 done
14794 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14795 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14796          X"$_am_arg" : 'X\(//\)[^/]' \| \
14797          X"$_am_arg" : 'X\(//\)$' \| \
14798          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14799 $as_echo X"$_am_arg" |
14800     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14801             s//\1/
14802             q
14803           }
14804           /^X\(\/\/\)[^/].*/{
14805             s//\1/
14806             q
14807           }
14808           /^X\(\/\/\)$/{
14809             s//\1/
14810             q
14811           }
14812           /^X\(\/\).*/{
14813             s//\1/
14814             q
14815           }
14816           s/.*/./; q'`/stamp-h$_am_stamp_count
14817  ;;
14818
14819   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14820 $as_echo "$as_me: executing $ac_file commands" >&6;}
14821  ;;
14822   esac
14823
14824
14825   case $ac_file$ac_mode in
14826     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14827   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14828   # are listed without --file.  Let's play safe and only enable the eval
14829   # if we detect the quoting.
14830   case $CONFIG_FILES in
14831   *\'*) eval set x "$CONFIG_FILES" ;;
14832   *)   set x $CONFIG_FILES ;;
14833   esac
14834   shift
14835   for mf
14836   do
14837     # Strip MF so we end up with the name of the file.
14838     mf=`echo "$mf" | sed -e 's/:.*$//'`
14839     # Check whether this is an Automake generated Makefile or not.
14840     # We used to match only the files named `Makefile.in', but
14841     # some people rename them; so instead we look at the file content.
14842     # Grep'ing the first line is not enough: some people post-process
14843     # each Makefile.in and add a new line on top of each file to say so.
14844     # Grep'ing the whole file is not good either: AIX grep has a line
14845     # limit of 2048, but all sed's we know have understand at least 4000.
14846     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14847       dirpart=`$as_dirname -- "$mf" ||
14848 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14849          X"$mf" : 'X\(//\)[^/]' \| \
14850          X"$mf" : 'X\(//\)$' \| \
14851          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14852 $as_echo X"$mf" |
14853     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14854             s//\1/
14855             q
14856           }
14857           /^X\(\/\/\)[^/].*/{
14858             s//\1/
14859             q
14860           }
14861           /^X\(\/\/\)$/{
14862             s//\1/
14863             q
14864           }
14865           /^X\(\/\).*/{
14866             s//\1/
14867             q
14868           }
14869           s/.*/./; q'`
14870     else
14871       continue
14872     fi
14873     # Extract the definition of DEPDIR, am__include, and am__quote
14874     # from the Makefile without running `make'.
14875     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14876     test -z "$DEPDIR" && continue
14877     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14878     test -z "am__include" && continue
14879     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14880     # When using ansi2knr, U may be empty or an underscore; expand it
14881     U=`sed -n 's/^U = //p' < "$mf"`
14882     # Find all dependency output files, they are included files with
14883     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14884     # simplest approach to changing $(DEPDIR) to its actual value in the
14885     # expansion.
14886     for file in `sed -n "
14887       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14888          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14889       # Make sure the directory exists.
14890       test -f "$dirpart/$file" && continue
14891       fdir=`$as_dirname -- "$file" ||
14892 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14893          X"$file" : 'X\(//\)[^/]' \| \
14894          X"$file" : 'X\(//\)$' \| \
14895          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14896 $as_echo X"$file" |
14897     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14898             s//\1/
14899             q
14900           }
14901           /^X\(\/\/\)[^/].*/{
14902             s//\1/
14903             q
14904           }
14905           /^X\(\/\/\)$/{
14906             s//\1/
14907             q
14908           }
14909           /^X\(\/\).*/{
14910             s//\1/
14911             q
14912           }
14913           s/.*/./; q'`
14914       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14915       # echo "creating $dirpart/$file"
14916       echo '# dummy' > "$dirpart/$file"
14917     done
14918   done
14919 }
14920  ;;
14921     "libtool":C)
14922
14923     # See if we are running on zsh, and set the options which allow our
14924     # commands through without removal of \ escapes.
14925     if test -n "${ZSH_VERSION+set}" ; then
14926       setopt NO_GLOB_SUBST
14927     fi
14928
14929     cfgfile="${ofile}T"
14930     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14931     $RM "$cfgfile"
14932
14933     cat <<_LT_EOF >> "$cfgfile"
14934 #! $SHELL
14935
14936 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14937 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14938 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14939 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14940 #
14941 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14942 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14943 #                 Foundation, Inc.
14944 #   Written by Gordon Matzigkeit, 1996
14945 #
14946 #   This file is part of GNU Libtool.
14947 #
14948 # GNU Libtool is free software; you can redistribute it and/or
14949 # modify it under the terms of the GNU General Public License as
14950 # published by the Free Software Foundation; either version 2 of
14951 # the License, or (at your option) any later version.
14952 #
14953 # As a special exception to the GNU General Public License,
14954 # if you distribute this file as part of a program or library that
14955 # is built using GNU Libtool, you may include this file under the
14956 # same distribution terms that you use for the rest of that program.
14957 #
14958 # GNU Libtool is distributed in the hope that it will be useful,
14959 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14960 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14961 # GNU General Public License for more details.
14962 #
14963 # You should have received a copy of the GNU General Public License
14964 # along with GNU Libtool; see the file COPYING.  If not, a copy
14965 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14966 # obtained by writing to the Free Software Foundation, Inc.,
14967 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14968
14969
14970 # The names of the tagged configurations supported by this script.
14971 available_tags=""
14972
14973 # ### BEGIN LIBTOOL CONFIG
14974
14975 # Which release of libtool.m4 was used?
14976 macro_version=$macro_version
14977 macro_revision=$macro_revision
14978
14979 # Whether or not to build static libraries.
14980 build_old_libs=$enable_static
14981
14982 # Whether or not to build shared libraries.
14983 build_libtool_libs=$enable_shared
14984
14985 # What type of objects to build.
14986 pic_mode=$pic_mode
14987
14988 # Whether or not to optimize for fast installation.
14989 fast_install=$enable_fast_install
14990
14991 # Shell to use when invoking shell scripts.
14992 SHELL=$lt_SHELL
14993
14994 # An echo program that protects backslashes.
14995 ECHO=$lt_ECHO
14996
14997 # The PATH separator for the build system.
14998 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14999
15000 # The host system.
15001 host_alias=$host_alias
15002 host=$host
15003 host_os=$host_os
15004
15005 # The build system.
15006 build_alias=$build_alias
15007 build=$build
15008 build_os=$build_os
15009
15010 # A sed program that does not truncate output.
15011 SED=$lt_SED
15012
15013 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15014 Xsed="\$SED -e 1s/^X//"
15015
15016 # A grep program that handles long lines.
15017 GREP=$lt_GREP
15018
15019 # An ERE matcher.
15020 EGREP=$lt_EGREP
15021
15022 # A literal string matcher.
15023 FGREP=$lt_FGREP
15024
15025 # A BSD- or MS-compatible name lister.
15026 NM=$lt_NM
15027
15028 # Whether we need soft or hard links.
15029 LN_S=$lt_LN_S
15030
15031 # What is the maximum length of a command?
15032 max_cmd_len=$max_cmd_len
15033
15034 # Object file suffix (normally "o").
15035 objext=$ac_objext
15036
15037 # Executable file suffix (normally "").
15038 exeext=$exeext
15039
15040 # whether the shell understands "unset".
15041 lt_unset=$lt_unset
15042
15043 # turn spaces into newlines.
15044 SP2NL=$lt_lt_SP2NL
15045
15046 # turn newlines into spaces.
15047 NL2SP=$lt_lt_NL2SP
15048
15049 # convert \$build file names to \$host format.
15050 to_host_file_cmd=$lt_cv_to_host_file_cmd
15051
15052 # convert \$build files to toolchain format.
15053 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15054
15055 # An object symbol dumper.
15056 OBJDUMP=$lt_OBJDUMP
15057
15058 # Method to check whether dependent libraries are shared objects.
15059 deplibs_check_method=$lt_deplibs_check_method
15060
15061 # Command to use when deplibs_check_method = "file_magic".
15062 file_magic_cmd=$lt_file_magic_cmd
15063
15064 # How to find potential files when deplibs_check_method = "file_magic".
15065 file_magic_glob=$lt_file_magic_glob
15066
15067 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15068 want_nocaseglob=$lt_want_nocaseglob
15069
15070 # DLL creation program.
15071 DLLTOOL=$lt_DLLTOOL
15072
15073 # Command to associate shared and link libraries.
15074 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15075
15076 # The archiver.
15077 AR=$lt_AR
15078
15079 # Flags to create an archive.
15080 AR_FLAGS=$lt_AR_FLAGS
15081
15082 # How to feed a file listing to the archiver.
15083 archiver_list_spec=$lt_archiver_list_spec
15084
15085 # A symbol stripping program.
15086 STRIP=$lt_STRIP
15087
15088 # Commands used to install an old-style archive.
15089 RANLIB=$lt_RANLIB
15090 old_postinstall_cmds=$lt_old_postinstall_cmds
15091 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15092
15093 # Whether to use a lock for old archive extraction.
15094 lock_old_archive_extraction=$lock_old_archive_extraction
15095
15096 # A C compiler.
15097 LTCC=$lt_CC
15098
15099 # LTCC compiler flags.
15100 LTCFLAGS=$lt_CFLAGS
15101
15102 # Take the output of nm and produce a listing of raw symbols and C names.
15103 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15104
15105 # Transform the output of nm in a proper C declaration.
15106 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15107
15108 # Transform the output of nm in a C name address pair.
15109 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15110
15111 # Transform the output of nm in a C name address pair when lib prefix is needed.
15112 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15113
15114 # Specify filename containing input files for \$NM.
15115 nm_file_list_spec=$lt_nm_file_list_spec
15116
15117 # The root where to search for dependent libraries,and in which our libraries should be installed.
15118 lt_sysroot=$lt_sysroot
15119
15120 # The name of the directory that contains temporary libtool files.
15121 objdir=$objdir
15122
15123 # Used to examine libraries when file_magic_cmd begins with "file".
15124 MAGIC_CMD=$MAGIC_CMD
15125
15126 # Must we lock files when doing compilation?
15127 need_locks=$lt_need_locks
15128
15129 # Manifest tool.
15130 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15131
15132 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15133 DSYMUTIL=$lt_DSYMUTIL
15134
15135 # Tool to change global to local symbols on Mac OS X.
15136 NMEDIT=$lt_NMEDIT
15137
15138 # Tool to manipulate fat objects and archives on Mac OS X.
15139 LIPO=$lt_LIPO
15140
15141 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15142 OTOOL=$lt_OTOOL
15143
15144 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15145 OTOOL64=$lt_OTOOL64
15146
15147 # Old archive suffix (normally "a").
15148 libext=$libext
15149
15150 # Shared library suffix (normally ".so").
15151 shrext_cmds=$lt_shrext_cmds
15152
15153 # The commands to extract the exported symbol list from a shared archive.
15154 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15155
15156 # Variables whose values should be saved in libtool wrapper scripts and
15157 # restored at link time.
15158 variables_saved_for_relink=$lt_variables_saved_for_relink
15159
15160 # Do we need the "lib" prefix for modules?
15161 need_lib_prefix=$need_lib_prefix
15162
15163 # Do we need a version for libraries?
15164 need_version=$need_version
15165
15166 # Library versioning type.
15167 version_type=$version_type
15168
15169 # Shared library runtime path variable.
15170 runpath_var=$runpath_var
15171
15172 # Shared library path variable.
15173 shlibpath_var=$shlibpath_var
15174
15175 # Is shlibpath searched before the hard-coded library search path?
15176 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15177
15178 # Format of library name prefix.
15179 libname_spec=$lt_libname_spec
15180
15181 # List of archive names.  First name is the real one, the rest are links.
15182 # The last name is the one that the linker finds with -lNAME
15183 library_names_spec=$lt_library_names_spec
15184
15185 # The coded name of the library, if different from the real name.
15186 soname_spec=$lt_soname_spec
15187
15188 # Permission mode override for installation of shared libraries.
15189 install_override_mode=$lt_install_override_mode
15190
15191 # Command to use after installation of a shared archive.
15192 postinstall_cmds=$lt_postinstall_cmds
15193
15194 # Command to use after uninstallation of a shared archive.
15195 postuninstall_cmds=$lt_postuninstall_cmds
15196
15197 # Commands used to finish a libtool library installation in a directory.
15198 finish_cmds=$lt_finish_cmds
15199
15200 # As "finish_cmds", except a single script fragment to be evaled but
15201 # not shown.
15202 finish_eval=$lt_finish_eval
15203
15204 # Whether we should hardcode library paths into libraries.
15205 hardcode_into_libs=$hardcode_into_libs
15206
15207 # Compile-time system search path for libraries.
15208 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15209
15210 # Run-time system search path for libraries.
15211 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15212
15213 # Whether dlopen is supported.
15214 dlopen_support=$enable_dlopen
15215
15216 # Whether dlopen of programs is supported.
15217 dlopen_self=$enable_dlopen_self
15218
15219 # Whether dlopen of statically linked programs is supported.
15220 dlopen_self_static=$enable_dlopen_self_static
15221
15222 # Commands to strip libraries.
15223 old_striplib=$lt_old_striplib
15224 striplib=$lt_striplib
15225
15226
15227 # The linker used to build libraries.
15228 LD=$lt_LD
15229
15230 # How to create reloadable object files.
15231 reload_flag=$lt_reload_flag
15232 reload_cmds=$lt_reload_cmds
15233
15234 # Commands used to build an old-style archive.
15235 old_archive_cmds=$lt_old_archive_cmds
15236
15237 # A language specific compiler.
15238 CC=$lt_compiler
15239
15240 # Is the compiler the GNU compiler?
15241 with_gcc=$GCC
15242
15243 # Compiler flag to turn off builtin functions.
15244 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15245
15246 # Additional compiler flags for building library objects.
15247 pic_flag=$lt_lt_prog_compiler_pic
15248
15249 # How to pass a linker flag through the compiler.
15250 wl=$lt_lt_prog_compiler_wl
15251
15252 # Compiler flag to prevent dynamic linking.
15253 link_static_flag=$lt_lt_prog_compiler_static
15254
15255 # Does compiler simultaneously support -c and -o options?
15256 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15257
15258 # Whether or not to add -lc for building shared libraries.
15259 build_libtool_need_lc=$archive_cmds_need_lc
15260
15261 # Whether or not to disallow shared libs when runtime libs are static.
15262 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15263
15264 # Compiler flag to allow reflexive dlopens.
15265 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15266
15267 # Compiler flag to generate shared objects directly from archives.
15268 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15269
15270 # Whether the compiler copes with passing no objects directly.
15271 compiler_needs_object=$lt_compiler_needs_object
15272
15273 # Create an old-style archive from a shared archive.
15274 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15275
15276 # Create a temporary old-style archive to link instead of a shared archive.
15277 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15278
15279 # Commands used to build a shared archive.
15280 archive_cmds=$lt_archive_cmds
15281 archive_expsym_cmds=$lt_archive_expsym_cmds
15282
15283 # Commands used to build a loadable module if different from building
15284 # a shared archive.
15285 module_cmds=$lt_module_cmds
15286 module_expsym_cmds=$lt_module_expsym_cmds
15287
15288 # Whether we are building with GNU ld or not.
15289 with_gnu_ld=$lt_with_gnu_ld
15290
15291 # Flag that allows shared libraries with undefined symbols to be built.
15292 allow_undefined_flag=$lt_allow_undefined_flag
15293
15294 # Flag that enforces no undefined symbols.
15295 no_undefined_flag=$lt_no_undefined_flag
15296
15297 # Flag to hardcode \$libdir into a binary during linking.
15298 # This must work even if \$libdir does not exist
15299 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15300
15301 # Whether we need a single "-rpath" flag with a separated argument.
15302 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15303
15304 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15305 # DIR into the resulting binary.
15306 hardcode_direct=$hardcode_direct
15307
15308 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15309 # DIR into the resulting binary and the resulting library dependency is
15310 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15311 # library is relocated.
15312 hardcode_direct_absolute=$hardcode_direct_absolute
15313
15314 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15315 # into the resulting binary.
15316 hardcode_minus_L=$hardcode_minus_L
15317
15318 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15319 # into the resulting binary.
15320 hardcode_shlibpath_var=$hardcode_shlibpath_var
15321
15322 # Set to "yes" if building a shared library automatically hardcodes DIR
15323 # into the library and all subsequent libraries and executables linked
15324 # against it.
15325 hardcode_automatic=$hardcode_automatic
15326
15327 # Set to yes if linker adds runtime paths of dependent libraries
15328 # to runtime path list.
15329 inherit_rpath=$inherit_rpath
15330
15331 # Whether libtool must link a program against all its dependency libraries.
15332 link_all_deplibs=$link_all_deplibs
15333
15334 # Set to "yes" if exported symbols are required.
15335 always_export_symbols=$always_export_symbols
15336
15337 # The commands to list exported symbols.
15338 export_symbols_cmds=$lt_export_symbols_cmds
15339
15340 # Symbols that should not be listed in the preloaded symbols.
15341 exclude_expsyms=$lt_exclude_expsyms
15342
15343 # Symbols that must always be exported.
15344 include_expsyms=$lt_include_expsyms
15345
15346 # Commands necessary for linking programs (against libraries) with templates.
15347 prelink_cmds=$lt_prelink_cmds
15348
15349 # Commands necessary for finishing linking programs.
15350 postlink_cmds=$lt_postlink_cmds
15351
15352 # Specify filename containing input files.
15353 file_list_spec=$lt_file_list_spec
15354
15355 # How to hardcode a shared library path into an executable.
15356 hardcode_action=$hardcode_action
15357
15358 # ### END LIBTOOL CONFIG
15359
15360 _LT_EOF
15361
15362   case $host_os in
15363   aix3*)
15364     cat <<\_LT_EOF >> "$cfgfile"
15365 # AIX sometimes has problems with the GCC collect2 program.  For some
15366 # reason, if we set the COLLECT_NAMES environment variable, the problems
15367 # vanish in a puff of smoke.
15368 if test "X${COLLECT_NAMES+set}" != Xset; then
15369   COLLECT_NAMES=
15370   export COLLECT_NAMES
15371 fi
15372 _LT_EOF
15373     ;;
15374   esac
15375
15376
15377 ltmain="$ac_aux_dir/ltmain.sh"
15378
15379
15380   # We use sed instead of cat because bash on DJGPP gets confused if
15381   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15382   # text mode, it properly converts lines to CR/LF.  This bash problem
15383   # is reportedly fixed, but why not run on old versions too?
15384   sed '$q' "$ltmain" >> "$cfgfile" \
15385      || (rm -f "$cfgfile"; exit 1)
15386
15387   if test x"$xsi_shell" = xyes; then
15388   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15389 func_dirname ()\
15390 {\
15391 \    case ${1} in\
15392 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15393 \      *  ) func_dirname_result="${3}" ;;\
15394 \    esac\
15395 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15396   && mv -f "$cfgfile.tmp" "$cfgfile" \
15397     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15398 test 0 -eq $? || _lt_function_replace_fail=:
15399
15400
15401   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15402 func_basename ()\
15403 {\
15404 \    func_basename_result="${1##*/}"\
15405 } # Extended-shell func_basename 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_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15412 func_dirname_and_basename ()\
15413 {\
15414 \    case ${1} in\
15415 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15416 \      *  ) func_dirname_result="${3}" ;;\
15417 \    esac\
15418 \    func_basename_result="${1##*/}"\
15419 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15420   && mv -f "$cfgfile.tmp" "$cfgfile" \
15421     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15422 test 0 -eq $? || _lt_function_replace_fail=:
15423
15424
15425   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15426 func_stripname ()\
15427 {\
15428 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15429 \    # positional parameters, so assign one to ordinary parameter first.\
15430 \    func_stripname_result=${3}\
15431 \    func_stripname_result=${func_stripname_result#"${1}"}\
15432 \    func_stripname_result=${func_stripname_result%"${2}"}\
15433 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15434   && mv -f "$cfgfile.tmp" "$cfgfile" \
15435     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15436 test 0 -eq $? || _lt_function_replace_fail=:
15437
15438
15439   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15440 func_split_long_opt ()\
15441 {\
15442 \    func_split_long_opt_name=${1%%=*}\
15443 \    func_split_long_opt_arg=${1#*=}\
15444 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15445   && mv -f "$cfgfile.tmp" "$cfgfile" \
15446     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15447 test 0 -eq $? || _lt_function_replace_fail=:
15448
15449
15450   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15451 func_split_short_opt ()\
15452 {\
15453 \    func_split_short_opt_arg=${1#??}\
15454 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15455 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15456   && mv -f "$cfgfile.tmp" "$cfgfile" \
15457     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15458 test 0 -eq $? || _lt_function_replace_fail=:
15459
15460
15461   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15462 func_lo2o ()\
15463 {\
15464 \    case ${1} in\
15465 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15466 \      *)    func_lo2o_result=${1} ;;\
15467 \    esac\
15468 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15469   && mv -f "$cfgfile.tmp" "$cfgfile" \
15470     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15471 test 0 -eq $? || _lt_function_replace_fail=:
15472
15473
15474   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15475 func_xform ()\
15476 {\
15477     func_xform_result=${1%.*}.lo\
15478 } # Extended-shell func_xform 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_arith ()$/,/^} # func_arith /c\
15485 func_arith ()\
15486 {\
15487     func_arith_result=$(( $* ))\
15488 } # Extended-shell func_arith 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_len ()$/,/^} # func_len /c\
15495 func_len ()\
15496 {\
15497     func_len_result=${#1}\
15498 } # Extended-shell func_len 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 fi
15504
15505 if test x"$lt_shell_append" = xyes; then
15506   sed -e '/^func_append ()$/,/^} # func_append /c\
15507 func_append ()\
15508 {\
15509     eval "${1}+=\\${2}"\
15510 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15511   && mv -f "$cfgfile.tmp" "$cfgfile" \
15512     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15513 test 0 -eq $? || _lt_function_replace_fail=:
15514
15515
15516   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15517 func_append_quoted ()\
15518 {\
15519 \    func_quote_for_eval "${2}"\
15520 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15521 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15522   && mv -f "$cfgfile.tmp" "$cfgfile" \
15523     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15524 test 0 -eq $? || _lt_function_replace_fail=:
15525
15526
15527   # Save a `func_append' function call where possible by direct use of '+='
15528   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15529     && mv -f "$cfgfile.tmp" "$cfgfile" \
15530       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15531   test 0 -eq $? || _lt_function_replace_fail=:
15532 else
15533   # Save a `func_append' function call even when '+=' is not available
15534   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15535     && mv -f "$cfgfile.tmp" "$cfgfile" \
15536       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15537   test 0 -eq $? || _lt_function_replace_fail=:
15538 fi
15539
15540 if test x"$_lt_function_replace_fail" = x":"; then
15541   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15542 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15543 fi
15544
15545
15546    mv -f "$cfgfile" "$ofile" ||
15547     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15548   chmod +x "$ofile"
15549
15550  ;;
15551
15552   esac
15553 done # for ac_tag
15554
15555
15556 as_fn_exit 0
15557 _ACEOF
15558 ac_clean_files=$ac_clean_files_save
15559
15560 test $ac_write_fail = 0 ||
15561   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15562
15563
15564 # configure is writing to config.log, and then calls config.status.
15565 # config.status does its own redirection, appending to config.log.
15566 # Unfortunately, on DOS this fails, as config.log is still kept open
15567 # by configure, so config.status won't be able to write to it; its
15568 # output is simply discarded.  So we exec the FD to /dev/null,
15569 # effectively closing config.log, so it can be properly (re)opened and
15570 # appended to by config.status.  When coming back to configure, we
15571 # need to make the FD available again.
15572 if test "$no_create" != yes; then
15573   ac_cs_success=:
15574   ac_config_status_args=
15575   test "$silent" = yes &&
15576     ac_config_status_args="$ac_config_status_args --quiet"
15577   exec 5>/dev/null
15578   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15579   exec 5>>config.log
15580   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15581   # would make configure fail if this is the last instruction.
15582   $ac_cs_success || as_fn_exit 1
15583 fi
15584 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15585   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15586 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15587 fi
15588