Add manifest and fix packaging
[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.69 for libgsignon-glib 2.1.0.
4 #
5 # Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://code.google.com/p/accounts-sso/issues/entry
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='libgsignon-glib'
593 PACKAGE_TARNAME='libgsignon-glib'
594 PACKAGE_VERSION='2.1.0'
595 PACKAGE_STRING='libgsignon-glib 2.1.0'
596 PACKAGE_BUGREPORT='http://code.google.com/p/accounts-sso/issues/entry'
597 PACKAGE_URL='http://code.google.com/p/accounts-sso/'
598
599 ac_unique_file="libgsignon-glib.pc.in"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 ENABLE_PYTHON_FALSE
641 ENABLE_PYTHON_TRUE
642 pyoverridesdir
643 pkgpyexecdir
644 pyexecdir
645 pkgpythondir
646 pythondir
647 PYTHON_PLATFORM
648 PYTHON_EXEC_PREFIX
649 PYTHON_PREFIX
650 PYTHON_VERSION
651 PYTHON
652 GTK_DOC_USE_REBASE_FALSE
653 GTK_DOC_USE_REBASE_TRUE
654 GTK_DOC_USE_LIBTOOL_FALSE
655 GTK_DOC_USE_LIBTOOL_TRUE
656 GTK_DOC_BUILD_PDF_FALSE
657 GTK_DOC_BUILD_PDF_TRUE
658 GTK_DOC_BUILD_HTML_FALSE
659 GTK_DOC_BUILD_HTML_TRUE
660 ENABLE_GTK_DOC_FALSE
661 ENABLE_GTK_DOC_TRUE
662 HAVE_GTK_DOC_FALSE
663 HAVE_GTK_DOC_TRUE
664 GTKDOC_DEPS_LIBS
665 GTKDOC_DEPS_CFLAGS
666 HTML_DIR
667 GTKDOC_MKPDF
668 GTKDOC_REBASE
669 GTKDOC_CHECK_PATH
670 GTKDOC_CHECK
671 ENABLE_TESTS_FALSE
672 ENABLE_TESTS_TRUE
673 CHECK_LIBS
674 CHECK_CFLAGS
675 HAVE_GTESTDBUS_FALSE
676 HAVE_GTESTDBUS_TRUE
677 GTestDBus_LIBS
678 GTestDBus_CFLAGS
679 DEPS_LIBS
680 DEPS_CFLAGS
681 HAVE_INTROSPECTION_FALSE
682 HAVE_INTROSPECTION_TRUE
683 INTROSPECTION_MAKEFILE
684 INTROSPECTION_LIBS
685 INTROSPECTION_CFLAGS
686 INTROSPECTION_TYPELIBDIR
687 INTROSPECTION_GIRDIR
688 INTROSPECTION_GENERATE
689 INTROSPECTION_COMPILER
690 INTROSPECTION_SCANNER
691 PKG_CONFIG_LIBDIR
692 PKG_CONFIG_PATH
693 PKG_CONFIG
694 CPP
695 OTOOL64
696 OTOOL
697 LIPO
698 NMEDIT
699 DSYMUTIL
700 MANIFEST_TOOL
701 RANLIB
702 DLLTOOL
703 OBJDUMP
704 LN_S
705 NM
706 ac_ct_DUMPBIN
707 DUMPBIN
708 LD
709 FGREP
710 EGREP
711 GREP
712 SED
713 host_os
714 host_vendor
715 host_cpu
716 host
717 build_os
718 build_vendor
719 build_cpu
720 build
721 LIBTOOL
722 ac_ct_AR
723 AR
724 am__fastdepCC_FALSE
725 am__fastdepCC_TRUE
726 CCDEPMODE
727 am__nodep
728 AMDEPBACKSLASH
729 AMDEP_FALSE
730 AMDEP_TRUE
731 am__quote
732 am__include
733 DEPDIR
734 OBJEXT
735 EXEEXT
736 ac_ct_CC
737 CPPFLAGS
738 LDFLAGS
739 CFLAGS
740 CC
741 AM_BACKSLASH
742 AM_DEFAULT_VERBOSITY
743 AM_DEFAULT_V
744 AM_V
745 am__untar
746 am__tar
747 AMTAR
748 am__leading_dot
749 SET_MAKE
750 AWK
751 mkdir_p
752 MKDIR_P
753 INSTALL_STRIP_PROGRAM
754 STRIP
755 install_sh
756 MAKEINFO
757 AUTOHEADER
758 AUTOMAKE
759 AUTOCONF
760 ACLOCAL
761 VERSION
762 PACKAGE
763 CYGPATH_W
764 am__isrc
765 INSTALL_DATA
766 INSTALL_SCRIPT
767 INSTALL_PROGRAM
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files=''
807 ac_user_opts='
808 enable_option_checking
809 enable_silent_rules
810 enable_dependency_tracking
811 enable_static
812 enable_shared
813 with_pic
814 enable_fast_install
815 with_gnu_ld
816 with_sysroot
817 enable_libtool_lock
818 enable_introspection
819 enable_dbus_type
820 enable_tests
821 with_html_dir
822 enable_gtk_doc
823 enable_gtk_doc_html
824 enable_gtk_doc_pdf
825 enable_cast_checks
826 enable_asserts
827 enable_checks
828 enable_debug
829 enable_coverage
830 enable_python
831 '
832       ac_precious_vars='build_alias
833 host_alias
834 target_alias
835 CC
836 CFLAGS
837 LDFLAGS
838 LIBS
839 CPPFLAGS
840 CPP
841 PKG_CONFIG
842 PKG_CONFIG_PATH
843 PKG_CONFIG_LIBDIR
844 DEPS_CFLAGS
845 DEPS_LIBS
846 GTestDBus_CFLAGS
847 GTestDBus_LIBS
848 CHECK_CFLAGS
849 CHECK_LIBS
850 GTKDOC_DEPS_CFLAGS
851 GTKDOC_DEPS_LIBS
852 PYTHON'
853
854
855 # Initialize some variables set by options.
856 ac_init_help=
857 ac_init_version=false
858 ac_unrecognized_opts=
859 ac_unrecognized_sep=
860 # The variables have the same names as the options, with
861 # dashes changed to underlines.
862 cache_file=/dev/null
863 exec_prefix=NONE
864 no_create=
865 no_recursion=
866 prefix=NONE
867 program_prefix=NONE
868 program_suffix=NONE
869 program_transform_name=s,x,x,
870 silent=
871 site=
872 srcdir=
873 verbose=
874 x_includes=NONE
875 x_libraries=NONE
876
877 # Installation directory options.
878 # These are left unexpanded so users can "make install exec_prefix=/foo"
879 # and all the variables that are supposed to be based on exec_prefix
880 # by default will actually change.
881 # Use braces instead of parens because sh, perl, etc. also accept them.
882 # (The list follows the same order as the GNU Coding Standards.)
883 bindir='${exec_prefix}/bin'
884 sbindir='${exec_prefix}/sbin'
885 libexecdir='${exec_prefix}/libexec'
886 datarootdir='${prefix}/share'
887 datadir='${datarootdir}'
888 sysconfdir='${prefix}/etc'
889 sharedstatedir='${prefix}/com'
890 localstatedir='${prefix}/var'
891 includedir='${prefix}/include'
892 oldincludedir='/usr/include'
893 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
894 infodir='${datarootdir}/info'
895 htmldir='${docdir}'
896 dvidir='${docdir}'
897 pdfdir='${docdir}'
898 psdir='${docdir}'
899 libdir='${exec_prefix}/lib'
900 localedir='${datarootdir}/locale'
901 mandir='${datarootdir}/man'
902
903 ac_prev=
904 ac_dashdash=
905 for ac_option
906 do
907   # If the previous option needs an argument, assign it.
908   if test -n "$ac_prev"; then
909     eval $ac_prev=\$ac_option
910     ac_prev=
911     continue
912   fi
913
914   case $ac_option in
915   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916   *=)   ac_optarg= ;;
917   *)    ac_optarg=yes ;;
918   esac
919
920   # Accept the important Cygnus configure options, so we can diagnose typos.
921
922   case $ac_dashdash$ac_option in
923   --)
924     ac_dashdash=yes ;;
925
926   -bindir | --bindir | --bindi | --bind | --bin | --bi)
927     ac_prev=bindir ;;
928   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
929     bindir=$ac_optarg ;;
930
931   -build | --build | --buil | --bui | --bu)
932     ac_prev=build_alias ;;
933   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
934     build_alias=$ac_optarg ;;
935
936   -cache-file | --cache-file | --cache-fil | --cache-fi \
937   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
938     ac_prev=cache_file ;;
939   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
940   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
941     cache_file=$ac_optarg ;;
942
943   --config-cache | -C)
944     cache_file=config.cache ;;
945
946   -datadir | --datadir | --datadi | --datad)
947     ac_prev=datadir ;;
948   -datadir=* | --datadir=* | --datadi=* | --datad=*)
949     datadir=$ac_optarg ;;
950
951   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
952   | --dataroo | --dataro | --datar)
953     ac_prev=datarootdir ;;
954   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
955   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
956     datarootdir=$ac_optarg ;;
957
958   -disable-* | --disable-*)
959     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
960     # Reject names that are not valid shell variable names.
961     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
962       as_fn_error $? "invalid feature name: $ac_useropt"
963     ac_useropt_orig=$ac_useropt
964     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965     case $ac_user_opts in
966       *"
967 "enable_$ac_useropt"
968 "*) ;;
969       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
970          ac_unrecognized_sep=', ';;
971     esac
972     eval enable_$ac_useropt=no ;;
973
974   -docdir | --docdir | --docdi | --doc | --do)
975     ac_prev=docdir ;;
976   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
977     docdir=$ac_optarg ;;
978
979   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
980     ac_prev=dvidir ;;
981   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
982     dvidir=$ac_optarg ;;
983
984   -enable-* | --enable-*)
985     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
986     # Reject names that are not valid shell variable names.
987     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
988       as_fn_error $? "invalid feature name: $ac_useropt"
989     ac_useropt_orig=$ac_useropt
990     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991     case $ac_user_opts in
992       *"
993 "enable_$ac_useropt"
994 "*) ;;
995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
996          ac_unrecognized_sep=', ';;
997     esac
998     eval enable_$ac_useropt=\$ac_optarg ;;
999
1000   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1001   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1002   | --exec | --exe | --ex)
1003     ac_prev=exec_prefix ;;
1004   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1005   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1006   | --exec=* | --exe=* | --ex=*)
1007     exec_prefix=$ac_optarg ;;
1008
1009   -gas | --gas | --ga | --g)
1010     # Obsolete; use --with-gas.
1011     with_gas=yes ;;
1012
1013   -help | --help | --hel | --he | -h)
1014     ac_init_help=long ;;
1015   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1016     ac_init_help=recursive ;;
1017   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1018     ac_init_help=short ;;
1019
1020   -host | --host | --hos | --ho)
1021     ac_prev=host_alias ;;
1022   -host=* | --host=* | --hos=* | --ho=*)
1023     host_alias=$ac_optarg ;;
1024
1025   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1026     ac_prev=htmldir ;;
1027   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1028   | --ht=*)
1029     htmldir=$ac_optarg ;;
1030
1031   -includedir | --includedir | --includedi | --included | --include \
1032   | --includ | --inclu | --incl | --inc)
1033     ac_prev=includedir ;;
1034   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1035   | --includ=* | --inclu=* | --incl=* | --inc=*)
1036     includedir=$ac_optarg ;;
1037
1038   -infodir | --infodir | --infodi | --infod | --info | --inf)
1039     ac_prev=infodir ;;
1040   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1041     infodir=$ac_optarg ;;
1042
1043   -libdir | --libdir | --libdi | --libd)
1044     ac_prev=libdir ;;
1045   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1046     libdir=$ac_optarg ;;
1047
1048   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1049   | --libexe | --libex | --libe)
1050     ac_prev=libexecdir ;;
1051   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1052   | --libexe=* | --libex=* | --libe=*)
1053     libexecdir=$ac_optarg ;;
1054
1055   -localedir | --localedir | --localedi | --localed | --locale)
1056     ac_prev=localedir ;;
1057   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1058     localedir=$ac_optarg ;;
1059
1060   -localstatedir | --localstatedir | --localstatedi | --localstated \
1061   | --localstate | --localstat | --localsta | --localst | --locals)
1062     ac_prev=localstatedir ;;
1063   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1064   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1065     localstatedir=$ac_optarg ;;
1066
1067   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1068     ac_prev=mandir ;;
1069   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1070     mandir=$ac_optarg ;;
1071
1072   -nfp | --nfp | --nf)
1073     # Obsolete; use --without-fp.
1074     with_fp=no ;;
1075
1076   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1077   | --no-cr | --no-c | -n)
1078     no_create=yes ;;
1079
1080   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1081   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082     no_recursion=yes ;;
1083
1084   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1085   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1086   | --oldin | --oldi | --old | --ol | --o)
1087     ac_prev=oldincludedir ;;
1088   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1089   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1090   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1091     oldincludedir=$ac_optarg ;;
1092
1093   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1094     ac_prev=prefix ;;
1095   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1096     prefix=$ac_optarg ;;
1097
1098   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1099   | --program-pre | --program-pr | --program-p)
1100     ac_prev=program_prefix ;;
1101   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1102   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1103     program_prefix=$ac_optarg ;;
1104
1105   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1106   | --program-suf | --program-su | --program-s)
1107     ac_prev=program_suffix ;;
1108   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1109   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1110     program_suffix=$ac_optarg ;;
1111
1112   -program-transform-name | --program-transform-name \
1113   | --program-transform-nam | --program-transform-na \
1114   | --program-transform-n | --program-transform- \
1115   | --program-transform | --program-transfor \
1116   | --program-transfo | --program-transf \
1117   | --program-trans | --program-tran \
1118   | --progr-tra | --program-tr | --program-t)
1119     ac_prev=program_transform_name ;;
1120   -program-transform-name=* | --program-transform-name=* \
1121   | --program-transform-nam=* | --program-transform-na=* \
1122   | --program-transform-n=* | --program-transform-=* \
1123   | --program-transform=* | --program-transfor=* \
1124   | --program-transfo=* | --program-transf=* \
1125   | --program-trans=* | --program-tran=* \
1126   | --progr-tra=* | --program-tr=* | --program-t=*)
1127     program_transform_name=$ac_optarg ;;
1128
1129   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1130     ac_prev=pdfdir ;;
1131   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1132     pdfdir=$ac_optarg ;;
1133
1134   -psdir | --psdir | --psdi | --psd | --ps)
1135     ac_prev=psdir ;;
1136   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137     psdir=$ac_optarg ;;
1138
1139   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1140   | -silent | --silent | --silen | --sile | --sil)
1141     silent=yes ;;
1142
1143   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1144     ac_prev=sbindir ;;
1145   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1146   | --sbi=* | --sb=*)
1147     sbindir=$ac_optarg ;;
1148
1149   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1150   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1151   | --sharedst | --shareds | --shared | --share | --shar \
1152   | --sha | --sh)
1153     ac_prev=sharedstatedir ;;
1154   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1155   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1156   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1157   | --sha=* | --sh=*)
1158     sharedstatedir=$ac_optarg ;;
1159
1160   -site | --site | --sit)
1161     ac_prev=site ;;
1162   -site=* | --site=* | --sit=*)
1163     site=$ac_optarg ;;
1164
1165   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1166     ac_prev=srcdir ;;
1167   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1168     srcdir=$ac_optarg ;;
1169
1170   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1171   | --syscon | --sysco | --sysc | --sys | --sy)
1172     ac_prev=sysconfdir ;;
1173   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1174   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1175     sysconfdir=$ac_optarg ;;
1176
1177   -target | --target | --targe | --targ | --tar | --ta | --t)
1178     ac_prev=target_alias ;;
1179   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1180     target_alias=$ac_optarg ;;
1181
1182   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1183     verbose=yes ;;
1184
1185   -version | --version | --versio | --versi | --vers | -V)
1186     ac_init_version=: ;;
1187
1188   -with-* | --with-*)
1189     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1190     # Reject names that are not valid shell variable names.
1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192       as_fn_error $? "invalid package name: $ac_useropt"
1193     ac_useropt_orig=$ac_useropt
1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195     case $ac_user_opts in
1196       *"
1197 "with_$ac_useropt"
1198 "*) ;;
1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1200          ac_unrecognized_sep=', ';;
1201     esac
1202     eval with_$ac_useropt=\$ac_optarg ;;
1203
1204   -without-* | --without-*)
1205     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1206     # Reject names that are not valid shell variable names.
1207     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1208       as_fn_error $? "invalid package name: $ac_useropt"
1209     ac_useropt_orig=$ac_useropt
1210     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211     case $ac_user_opts in
1212       *"
1213 "with_$ac_useropt"
1214 "*) ;;
1215       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1216          ac_unrecognized_sep=', ';;
1217     esac
1218     eval with_$ac_useropt=no ;;
1219
1220   --x)
1221     # Obsolete; use --with-x.
1222     with_x=yes ;;
1223
1224   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1225   | --x-incl | --x-inc | --x-in | --x-i)
1226     ac_prev=x_includes ;;
1227   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1228   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1229     x_includes=$ac_optarg ;;
1230
1231   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1232   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1233     ac_prev=x_libraries ;;
1234   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1235   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1236     x_libraries=$ac_optarg ;;
1237
1238   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1239 Try \`$0 --help' for more information"
1240     ;;
1241
1242   *=*)
1243     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1244     # Reject names that are not valid shell variable names.
1245     case $ac_envvar in #(
1246       '' | [0-9]* | *[!_$as_cr_alnum]* )
1247       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1248     esac
1249     eval $ac_envvar=\$ac_optarg
1250     export $ac_envvar ;;
1251
1252   *)
1253     # FIXME: should be removed in autoconf 3.0.
1254     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1255     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1256       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1257     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1258     ;;
1259
1260   esac
1261 done
1262
1263 if test -n "$ac_prev"; then
1264   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1265   as_fn_error $? "missing argument to $ac_option"
1266 fi
1267
1268 if test -n "$ac_unrecognized_opts"; then
1269   case $enable_option_checking in
1270     no) ;;
1271     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1272     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1273   esac
1274 fi
1275
1276 # Check all directory arguments for consistency.
1277 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1278                 datadir sysconfdir sharedstatedir localstatedir includedir \
1279                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1280                 libdir localedir mandir
1281 do
1282   eval ac_val=\$$ac_var
1283   # Remove trailing slashes.
1284   case $ac_val in
1285     */ )
1286       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1287       eval $ac_var=\$ac_val;;
1288   esac
1289   # Be sure to have absolute directory names.
1290   case $ac_val in
1291     [\\/$]* | ?:[\\/]* )  continue;;
1292     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1293   esac
1294   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1295 done
1296
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1300 build=$build_alias
1301 host=$host_alias
1302 target=$target_alias
1303
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x; then
1306   if test "x$build_alias" = x; then
1307     cross_compiling=maybe
1308   elif test "x$build_alias" != "x$host_alias"; then
1309     cross_compiling=yes
1310   fi
1311 fi
1312
1313 ac_tool_prefix=
1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1315
1316 test "$silent" = yes && exec 6>/dev/null
1317
1318
1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di=`ls -di .` &&
1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1322   as_fn_error $? "working directory cannot be determined"
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324   as_fn_error $? "pwd does not report name of working directory"
1325
1326
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329   ac_srcdir_defaulted=yes
1330   # Try the directory containing this script, then the parent directory.
1331   ac_confdir=`$as_dirname -- "$as_myself" ||
1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333          X"$as_myself" : 'X\(//\)[^/]' \| \
1334          X"$as_myself" : 'X\(//\)$' \| \
1335          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1336 $as_echo X"$as_myself" |
1337     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338             s//\1/
1339             q
1340           }
1341           /^X\(\/\/\)[^/].*/{
1342             s//\1/
1343             q
1344           }
1345           /^X\(\/\/\)$/{
1346             s//\1/
1347             q
1348           }
1349           /^X\(\/\).*/{
1350             s//\1/
1351             q
1352           }
1353           s/.*/./; q'`
1354   srcdir=$ac_confdir
1355   if test ! -r "$srcdir/$ac_unique_file"; then
1356     srcdir=..
1357   fi
1358 else
1359   ac_srcdir_defaulted=no
1360 fi
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1363   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1364 fi
1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1366 ac_abs_confdir=`(
1367         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1368         pwd)`
1369 # When building in place, set srcdir=.
1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371   srcdir=.
1372 fi
1373 # Remove unnecessary trailing slashes from srcdir.
1374 # Double slashes in file names in object file debugging info
1375 # mess up M-x gdb in Emacs.
1376 case $srcdir in
1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 esac
1379 for ac_var in $ac_precious_vars; do
1380   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1381   eval ac_env_${ac_var}_value=\$${ac_var}
1382   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1383   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1384 done
1385
1386 #
1387 # Report the --help message.
1388 #
1389 if test "$ac_init_help" = "long"; then
1390   # Omit some internal or obsolete options to make the list less imposing.
1391   # This message is too long to be a string in the A/UX 3.1 sh.
1392   cat <<_ACEOF
1393 \`configure' configures libgsignon-glib 2.1.0 to adapt to many kinds of systems.
1394
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1396
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE.  See below for descriptions of some of the useful variables.
1399
1400 Defaults for the options are specified in brackets.
1401
1402 Configuration:
1403   -h, --help              display this help and exit
1404       --help=short        display options specific to this package
1405       --help=recursive    display the short help of all the included packages
1406   -V, --version           display version information and exit
1407   -q, --quiet, --silent   do not print \`checking ...' messages
1408       --cache-file=FILE   cache test results in FILE [disabled]
1409   -C, --config-cache      alias for \`--cache-file=config.cache'
1410   -n, --no-create         do not create output files
1411       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1412
1413 Installation directories:
1414   --prefix=PREFIX         install architecture-independent files in PREFIX
1415                           [$ac_default_prefix]
1416   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1417                           [PREFIX]
1418
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1423
1424 For better control, use the options below.
1425
1426 Fine tuning of the installation directories:
1427   --bindir=DIR            user executables [EPREFIX/bin]
1428   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1429   --libexecdir=DIR        program executables [EPREFIX/libexec]
1430   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1431   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1432   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1433   --libdir=DIR            object code libraries [EPREFIX/lib]
1434   --includedir=DIR        C header files [PREFIX/include]
1435   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1436   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1437   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1438   --infodir=DIR           info documentation [DATAROOTDIR/info]
1439   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1440   --mandir=DIR            man documentation [DATAROOTDIR/man]
1441   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgsignon-glib]
1442   --htmldir=DIR           html documentation [DOCDIR]
1443   --dvidir=DIR            dvi documentation [DOCDIR]
1444   --pdfdir=DIR            pdf documentation [DOCDIR]
1445   --psdir=DIR             ps documentation [DOCDIR]
1446 _ACEOF
1447
1448   cat <<\_ACEOF
1449
1450 Program names:
1451   --program-prefix=PREFIX            prepend PREFIX to installed program names
1452   --program-suffix=SUFFIX            append SUFFIX to installed program names
1453   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1454
1455 System types:
1456   --build=BUILD     configure for building on BUILD [guessed]
1457   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1458 _ACEOF
1459 fi
1460
1461 if test -n "$ac_init_help"; then
1462   case $ac_init_help in
1463      short | recursive ) echo "Configuration of libgsignon-glib 2.1.0:";;
1464    esac
1465   cat <<\_ACEOF
1466
1467 Optional Features:
1468   --disable-option-checking  ignore unrecognized --enable/--with options
1469   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1470   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1471   --enable-silent-rules   less verbose build output (undo: "make V=1")
1472   --disable-silent-rules  verbose build output (undo: "make V=0")
1473   --enable-dependency-tracking
1474                           do not reject slow dependency extractors
1475   --disable-dependency-tracking
1476                           speeds up one-time build
1477   --enable-static[=PKGS]  build static libraries [default=no]
1478   --enable-shared[=PKGS]  build shared libraries [default=yes]
1479   --enable-fast-install[=PKGS]
1480                           optimize for fast installation [default=yes]
1481   --disable-libtool-lock  avoid locking (might break parallel builds)
1482   --enable-introspection=[no/auto/yes]
1483                           Enable introspection for this build
1484   --enable-dbus-type=dbus-type specify daemon dbus type:
1485                           p2p(default): uses peer to peer dbus
1486                           session: uses session message bus
1487                           system: uses system message bus
1488   --disable-tests         build with testing support disabled
1489   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1490   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1491   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1492   --disable-cast-checks   compile with GLib cast checks disabled
1493   --disable-asserts       compile with GLib assertions disabled
1494   --disable-checks        compile with GLib checks disabled
1495   --enable-debug          enable printing of debug messages
1496   --enable-coverage       compile with coverage info
1497   --enable-python         Build with python support
1498
1499 Optional Packages:
1500   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1501   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1502   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1503                           both]
1504   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1505   --with-sysroot=DIR Search for dependent libraries within DIR
1506                         (or the compiler's sysroot if not specified).
1507   --with-html-dir=PATH    path to installed docs
1508
1509 Some influential environment variables:
1510   CC          C compiler command
1511   CFLAGS      C compiler flags
1512   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1513               nonstandard directory <lib dir>
1514   LIBS        libraries to pass to the linker, e.g. -l<library>
1515   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1516               you have headers in a nonstandard directory <include dir>
1517   CPP         C preprocessor
1518   PKG_CONFIG  path to pkg-config utility
1519   PKG_CONFIG_PATH
1520               directories to add to pkg-config's search path
1521   PKG_CONFIG_LIBDIR
1522               path overriding pkg-config's built-in search path
1523   DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1524   DEPS_LIBS   linker flags for DEPS, overriding pkg-config
1525   GTestDBus_CFLAGS
1526               C compiler flags for GTestDBus, overriding pkg-config
1527   GTestDBus_LIBS
1528               linker flags for GTestDBus, overriding pkg-config
1529   CHECK_CFLAGS
1530               C compiler flags for CHECK, overriding pkg-config
1531   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1532   GTKDOC_DEPS_CFLAGS
1533               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1534   GTKDOC_DEPS_LIBS
1535               linker flags for GTKDOC_DEPS, overriding pkg-config
1536   PYTHON      the Python interpreter
1537
1538 Use these variables to override the choices made by `configure' or to help
1539 it to find libraries and programs with nonstandard names/locations.
1540
1541 Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
1542 libgsignon-glib home page: <http://code.google.com/p/accounts-sso/>.
1543 _ACEOF
1544 ac_status=$?
1545 fi
1546
1547 if test "$ac_init_help" = "recursive"; then
1548   # If there are subdirs, report their specific --help.
1549   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1550     test -d "$ac_dir" ||
1551       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1552       continue
1553     ac_builddir=.
1554
1555 case "$ac_dir" in
1556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 *)
1558   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1559   # A ".." for each directory in $ac_dir_suffix.
1560   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1561   case $ac_top_builddir_sub in
1562   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1563   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1564   esac ;;
1565 esac
1566 ac_abs_top_builddir=$ac_pwd
1567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1568 # for backward compatibility:
1569 ac_top_builddir=$ac_top_build_prefix
1570
1571 case $srcdir in
1572   .)  # We are building in place.
1573     ac_srcdir=.
1574     ac_top_srcdir=$ac_top_builddir_sub
1575     ac_abs_top_srcdir=$ac_pwd ;;
1576   [\\/]* | ?:[\\/]* )  # Absolute name.
1577     ac_srcdir=$srcdir$ac_dir_suffix;
1578     ac_top_srcdir=$srcdir
1579     ac_abs_top_srcdir=$srcdir ;;
1580   *) # Relative name.
1581     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1582     ac_top_srcdir=$ac_top_build_prefix$srcdir
1583     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1584 esac
1585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1586
1587     cd "$ac_dir" || { ac_status=$?; continue; }
1588     # Check for guested configure.
1589     if test -f "$ac_srcdir/configure.gnu"; then
1590       echo &&
1591       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1592     elif test -f "$ac_srcdir/configure"; then
1593       echo &&
1594       $SHELL "$ac_srcdir/configure" --help=recursive
1595     else
1596       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597     fi || ac_status=$?
1598     cd "$ac_pwd" || { ac_status=$?; break; }
1599   done
1600 fi
1601
1602 test -n "$ac_init_help" && exit $ac_status
1603 if $ac_init_version; then
1604   cat <<\_ACEOF
1605 libgsignon-glib configure 2.1.0
1606 generated by GNU Autoconf 2.69
1607
1608 Copyright (C) 2012 Free Software Foundation, Inc.
1609 This configure script is free software; the Free Software Foundation
1610 gives unlimited permission to copy, distribute and modify it.
1611 _ACEOF
1612   exit
1613 fi
1614
1615 ## ------------------------ ##
1616 ## Autoconf initialization. ##
1617 ## ------------------------ ##
1618
1619 # ac_fn_c_try_compile LINENO
1620 # --------------------------
1621 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1622 ac_fn_c_try_compile ()
1623 {
1624   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625   rm -f conftest.$ac_objext
1626   if { { ac_try="$ac_compile"
1627 case "(($ac_try" in
1628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629   *) ac_try_echo=$ac_try;;
1630 esac
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633   (eval "$ac_compile") 2>conftest.err
1634   ac_status=$?
1635   if test -s conftest.err; then
1636     grep -v '^ *+' conftest.err >conftest.er1
1637     cat conftest.er1 >&5
1638     mv -f conftest.er1 conftest.err
1639   fi
1640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641   test $ac_status = 0; } && {
1642          test -z "$ac_c_werror_flag" ||
1643          test ! -s conftest.err
1644        } && test -s conftest.$ac_objext; then :
1645   ac_retval=0
1646 else
1647   $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1649
1650         ac_retval=1
1651 fi
1652   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653   as_fn_set_status $ac_retval
1654
1655 } # ac_fn_c_try_compile
1656
1657 # ac_fn_c_try_link LINENO
1658 # -----------------------
1659 # Try to link conftest.$ac_ext, and return whether this succeeded.
1660 ac_fn_c_try_link ()
1661 {
1662   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663   rm -f conftest.$ac_objext conftest$ac_exeext
1664   if { { ac_try="$ac_link"
1665 case "(($ac_try" in
1666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667   *) ac_try_echo=$ac_try;;
1668 esac
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671   (eval "$ac_link") 2>conftest.err
1672   ac_status=$?
1673   if test -s conftest.err; then
1674     grep -v '^ *+' conftest.err >conftest.er1
1675     cat conftest.er1 >&5
1676     mv -f conftest.er1 conftest.err
1677   fi
1678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679   test $ac_status = 0; } && {
1680          test -z "$ac_c_werror_flag" ||
1681          test ! -s conftest.err
1682        } && test -s conftest$ac_exeext && {
1683          test "$cross_compiling" = yes ||
1684          test -x conftest$ac_exeext
1685        }; then :
1686   ac_retval=0
1687 else
1688   $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1690
1691         ac_retval=1
1692 fi
1693   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1694   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1695   # interfere with the next link command; also delete a directory that is
1696   # left behind by Apple's compiler.  We do this before executing the actions.
1697   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699   as_fn_set_status $ac_retval
1700
1701 } # ac_fn_c_try_link
1702
1703 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1704 # -------------------------------------------------------
1705 # Tests whether HEADER exists and can be compiled using the include files in
1706 # INCLUDES, setting the cache variable VAR accordingly.
1707 ac_fn_c_check_header_compile ()
1708 {
1709   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if eval \${$3+:} false; then :
1713   $as_echo_n "(cached) " >&6
1714 else
1715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h.  */
1717 $4
1718 #include <$2>
1719 _ACEOF
1720 if ac_fn_c_try_compile "$LINENO"; then :
1721   eval "$3=yes"
1722 else
1723   eval "$3=no"
1724 fi
1725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1726 fi
1727 eval ac_res=\$$3
1728                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1730   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731
1732 } # ac_fn_c_check_header_compile
1733
1734 # ac_fn_c_try_cpp LINENO
1735 # ----------------------
1736 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1737 ac_fn_c_try_cpp ()
1738 {
1739   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740   if { { ac_try="$ac_cpp conftest.$ac_ext"
1741 case "(($ac_try" in
1742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1743   *) ac_try_echo=$ac_try;;
1744 esac
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1748   ac_status=$?
1749   if test -s conftest.err; then
1750     grep -v '^ *+' conftest.err >conftest.er1
1751     cat conftest.er1 >&5
1752     mv -f conftest.er1 conftest.err
1753   fi
1754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755   test $ac_status = 0; } > conftest.i && {
1756          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1757          test ! -s conftest.err
1758        }; then :
1759   ac_retval=0
1760 else
1761   $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1763
1764     ac_retval=1
1765 fi
1766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767   as_fn_set_status $ac_retval
1768
1769 } # ac_fn_c_try_cpp
1770
1771 # ac_fn_c_try_run LINENO
1772 # ----------------------
1773 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1774 # that executables *can* be run.
1775 ac_fn_c_try_run ()
1776 {
1777   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778   if { { ac_try="$ac_link"
1779 case "(($ac_try" in
1780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1781   *) ac_try_echo=$ac_try;;
1782 esac
1783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785   (eval "$ac_link") 2>&5
1786   ac_status=$?
1787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1789   { { case "(($ac_try" in
1790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791   *) ac_try_echo=$ac_try;;
1792 esac
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795   (eval "$ac_try") 2>&5
1796   ac_status=$?
1797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798   test $ac_status = 0; }; }; then :
1799   ac_retval=0
1800 else
1801   $as_echo "$as_me: program exited with status $ac_status" >&5
1802        $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1804
1805        ac_retval=$ac_status
1806 fi
1807   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809   as_fn_set_status $ac_retval
1810
1811 } # ac_fn_c_try_run
1812
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func ()
1817 {
1818   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if eval \${$3+:} false; then :
1822   $as_echo_n "(cached) " >&6
1823 else
1824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h.  */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1828 #define $2 innocuous_$2
1829
1830 /* System header to define __stub macros and hopefully few prototypes,
1831     which can conflict with char $2 (); below.
1832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833     <limits.h> exists even on freestanding compilers.  */
1834
1835 #ifdef __STDC__
1836 # include <limits.h>
1837 #else
1838 # include <assert.h>
1839 #endif
1840
1841 #undef $2
1842
1843 /* Override any GCC internal prototype to avoid an error.
1844    Use char because int might match the return type of a GCC
1845    builtin and then its argument prototype would still apply.  */
1846 #ifdef __cplusplus
1847 extern "C"
1848 #endif
1849 char $2 ();
1850 /* The GNU C library defines this for functions which it implements
1851     to always fail with ENOSYS.  Some functions are actually named
1852     something starting with __ and the normal name is an alias.  */
1853 #if defined __stub_$2 || defined __stub___$2
1854 choke me
1855 #endif
1856
1857 int
1858 main ()
1859 {
1860 return $2 ();
1861   ;
1862   return 0;
1863 }
1864 _ACEOF
1865 if ac_fn_c_try_link "$LINENO"; then :
1866   eval "$3=yes"
1867 else
1868   eval "$3=no"
1869 fi
1870 rm -f core conftest.err conftest.$ac_objext \
1871     conftest$ac_exeext conftest.$ac_ext
1872 fi
1873 eval ac_res=\$$3
1874                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877
1878 } # ac_fn_c_check_func
1879 cat >config.log <<_ACEOF
1880 This file contains any messages produced by compilers while
1881 running configure, to aid debugging if configure makes a mistake.
1882
1883 It was created by libgsignon-glib $as_me 2.1.0, which was
1884 generated by GNU Autoconf 2.69.  Invocation command line was
1885
1886   $ $0 $@
1887
1888 _ACEOF
1889 exec 5>>config.log
1890 {
1891 cat <<_ASUNAME
1892 ## --------- ##
1893 ## Platform. ##
1894 ## --------- ##
1895
1896 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1897 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1898 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1899 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1900 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1901
1902 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1903 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1904
1905 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1906 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1907 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1908 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1909 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1910 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1911 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1912
1913 _ASUNAME
1914
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 for as_dir in $PATH
1917 do
1918   IFS=$as_save_IFS
1919   test -z "$as_dir" && as_dir=.
1920     $as_echo "PATH: $as_dir"
1921   done
1922 IFS=$as_save_IFS
1923
1924 } >&5
1925
1926 cat >&5 <<_ACEOF
1927
1928
1929 ## ----------- ##
1930 ## Core tests. ##
1931 ## ----------- ##
1932
1933 _ACEOF
1934
1935
1936 # Keep a trace of the command line.
1937 # Strip out --no-create and --no-recursion so they do not pile up.
1938 # Strip out --silent because we don't want to record it for future runs.
1939 # Also quote any args containing shell meta-characters.
1940 # Make two passes to allow for proper duplicate-argument suppression.
1941 ac_configure_args=
1942 ac_configure_args0=
1943 ac_configure_args1=
1944 ac_must_keep_next=false
1945 for ac_pass in 1 2
1946 do
1947   for ac_arg
1948   do
1949     case $ac_arg in
1950     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1951     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1952     | -silent | --silent | --silen | --sile | --sil)
1953       continue ;;
1954     *\'*)
1955       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1956     esac
1957     case $ac_pass in
1958     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1959     2)
1960       as_fn_append ac_configure_args1 " '$ac_arg'"
1961       if test $ac_must_keep_next = true; then
1962         ac_must_keep_next=false # Got value, back to normal.
1963       else
1964         case $ac_arg in
1965           *=* | --config-cache | -C | -disable-* | --disable-* \
1966           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1967           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1968           | -with-* | --with-* | -without-* | --without-* | --x)
1969             case "$ac_configure_args0 " in
1970               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1971             esac
1972             ;;
1973           -* ) ac_must_keep_next=true ;;
1974         esac
1975       fi
1976       as_fn_append ac_configure_args " '$ac_arg'"
1977       ;;
1978     esac
1979   done
1980 done
1981 { ac_configure_args0=; unset ac_configure_args0;}
1982 { ac_configure_args1=; unset ac_configure_args1;}
1983
1984 # When interrupted or exit'd, cleanup temporary files, and complete
1985 # config.log.  We remove comments because anyway the quotes in there
1986 # would cause problems or look ugly.
1987 # WARNING: Use '\'' to represent an apostrophe within the trap.
1988 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1989 trap 'exit_status=$?
1990   # Save into config.log some information that might help in debugging.
1991   {
1992     echo
1993
1994     $as_echo "## ---------------- ##
1995 ## Cache variables. ##
1996 ## ---------------- ##"
1997     echo
1998     # The following way of writing the cache mishandles newlines in values,
1999 (
2000   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2001     eval ac_val=\$$ac_var
2002     case $ac_val in #(
2003     *${as_nl}*)
2004       case $ac_var in #(
2005       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2006 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2007       esac
2008       case $ac_var in #(
2009       _ | IFS | as_nl) ;; #(
2010       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2011       *) { eval $ac_var=; unset $ac_var;} ;;
2012       esac ;;
2013     esac
2014   done
2015   (set) 2>&1 |
2016     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2017     *${as_nl}ac_space=\ *)
2018       sed -n \
2019         "s/'\''/'\''\\\\'\'''\''/g;
2020           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2021       ;; #(
2022     *)
2023       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2024       ;;
2025     esac |
2026     sort
2027 )
2028     echo
2029
2030     $as_echo "## ----------------- ##
2031 ## Output variables. ##
2032 ## ----------------- ##"
2033     echo
2034     for ac_var in $ac_subst_vars
2035     do
2036       eval ac_val=\$$ac_var
2037       case $ac_val in
2038       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2039       esac
2040       $as_echo "$ac_var='\''$ac_val'\''"
2041     done | sort
2042     echo
2043
2044     if test -n "$ac_subst_files"; then
2045       $as_echo "## ------------------- ##
2046 ## File substitutions. ##
2047 ## ------------------- ##"
2048       echo
2049       for ac_var in $ac_subst_files
2050       do
2051         eval ac_val=\$$ac_var
2052         case $ac_val in
2053         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2054         esac
2055         $as_echo "$ac_var='\''$ac_val'\''"
2056       done | sort
2057       echo
2058     fi
2059
2060     if test -s confdefs.h; then
2061       $as_echo "## ----------- ##
2062 ## confdefs.h. ##
2063 ## ----------- ##"
2064       echo
2065       cat confdefs.h
2066       echo
2067     fi
2068     test "$ac_signal" != 0 &&
2069       $as_echo "$as_me: caught signal $ac_signal"
2070     $as_echo "$as_me: exit $exit_status"
2071   } >&5
2072   rm -f core *.core core.conftest.* &&
2073     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2074     exit $exit_status
2075 ' 0
2076 for ac_signal in 1 2 13 15; do
2077   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2078 done
2079 ac_signal=0
2080
2081 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2082 rm -f -r conftest* confdefs.h
2083
2084 $as_echo "/* confdefs.h */" > confdefs.h
2085
2086 # Predefined preprocessor variables.
2087
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_NAME "$PACKAGE_NAME"
2090 _ACEOF
2091
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2094 _ACEOF
2095
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2098 _ACEOF
2099
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_STRING "$PACKAGE_STRING"
2102 _ACEOF
2103
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2106 _ACEOF
2107
2108 cat >>confdefs.h <<_ACEOF
2109 #define PACKAGE_URL "$PACKAGE_URL"
2110 _ACEOF
2111
2112
2113 # Let the site file select an alternate cache file if it wants to.
2114 # Prefer an explicitly selected file to automatically selected ones.
2115 ac_site_file1=NONE
2116 ac_site_file2=NONE
2117 if test -n "$CONFIG_SITE"; then
2118   # We do not want a PATH search for config.site.
2119   case $CONFIG_SITE in #((
2120     -*)  ac_site_file1=./$CONFIG_SITE;;
2121     */*) ac_site_file1=$CONFIG_SITE;;
2122     *)   ac_site_file1=./$CONFIG_SITE;;
2123   esac
2124 elif test "x$prefix" != xNONE; then
2125   ac_site_file1=$prefix/share/config.site
2126   ac_site_file2=$prefix/etc/config.site
2127 else
2128   ac_site_file1=$ac_default_prefix/share/config.site
2129   ac_site_file2=$ac_default_prefix/etc/config.site
2130 fi
2131 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2132 do
2133   test "x$ac_site_file" = xNONE && continue
2134   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2135     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2136 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2137     sed 's/^/| /' "$ac_site_file" >&5
2138     . "$ac_site_file" \
2139       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2141 as_fn_error $? "failed to load site script $ac_site_file
2142 See \`config.log' for more details" "$LINENO" 5; }
2143   fi
2144 done
2145
2146 if test -r "$cache_file"; then
2147   # Some versions of bash will fail to source /dev/null (special files
2148   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2149   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2150     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2151 $as_echo "$as_me: loading cache $cache_file" >&6;}
2152     case $cache_file in
2153       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2154       *)                      . "./$cache_file";;
2155     esac
2156   fi
2157 else
2158   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2159 $as_echo "$as_me: creating cache $cache_file" >&6;}
2160   >$cache_file
2161 fi
2162
2163 # Check that the precious variables saved in the cache have kept the same
2164 # value.
2165 ac_cache_corrupted=false
2166 for ac_var in $ac_precious_vars; do
2167   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2168   eval ac_new_set=\$ac_env_${ac_var}_set
2169   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2170   eval ac_new_val=\$ac_env_${ac_var}_value
2171   case $ac_old_set,$ac_new_set in
2172     set,)
2173       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2174 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2175       ac_cache_corrupted=: ;;
2176     ,set)
2177       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2178 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2179       ac_cache_corrupted=: ;;
2180     ,);;
2181     *)
2182       if test "x$ac_old_val" != "x$ac_new_val"; then
2183         # differences in whitespace do not lead to failure.
2184         ac_old_val_w=`echo x $ac_old_val`
2185         ac_new_val_w=`echo x $ac_new_val`
2186         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2187           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2188 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2189           ac_cache_corrupted=:
2190         else
2191           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2192 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2193           eval $ac_var=\$ac_old_val
2194         fi
2195         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2196 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2197         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2198 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2199       fi;;
2200   esac
2201   # Pass precious variables to config.status.
2202   if test "$ac_new_set" = set; then
2203     case $ac_new_val in
2204     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2205     *) ac_arg=$ac_var=$ac_new_val ;;
2206     esac
2207     case " $ac_configure_args " in
2208       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2209       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2210     esac
2211   fi
2212 done
2213 if $ac_cache_corrupted; then
2214   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2216   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2217 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2218   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2219 fi
2220 ## -------------------- ##
2221 ## Main body of script. ##
2222 ## -------------------- ##
2223
2224 ac_ext=c
2225 ac_cpp='$CPP $CPPFLAGS'
2226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2229
2230
2231
2232 ac_aux_dir=
2233 for ac_dir in build-aux "$srcdir"/build-aux; do
2234   if test -f "$ac_dir/install-sh"; then
2235     ac_aux_dir=$ac_dir
2236     ac_install_sh="$ac_aux_dir/install-sh -c"
2237     break
2238   elif test -f "$ac_dir/install.sh"; then
2239     ac_aux_dir=$ac_dir
2240     ac_install_sh="$ac_aux_dir/install.sh -c"
2241     break
2242   elif test -f "$ac_dir/shtool"; then
2243     ac_aux_dir=$ac_dir
2244     ac_install_sh="$ac_aux_dir/shtool install -c"
2245     break
2246   fi
2247 done
2248 if test -z "$ac_aux_dir"; then
2249   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2250 fi
2251
2252 # These three variables are undocumented and unsupported,
2253 # and are intended to be withdrawn in a future Autoconf release.
2254 # They can cause serious problems if a builder's source tree is in a directory
2255 # whose full name contains unusual characters.
2256 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2257 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2258 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2259
2260
2261 ac_config_headers="$ac_config_headers config.h"
2262
2263
2264
2265
2266 am__api_version='1.14'
2267
2268 # Find a good install program.  We prefer a C program (faster),
2269 # so one script is as good as another.  But avoid the broken or
2270 # incompatible versions:
2271 # SysV /etc/install, /usr/sbin/install
2272 # SunOS /usr/etc/install
2273 # IRIX /sbin/install
2274 # AIX /bin/install
2275 # AmigaOS /C/install, which installs bootblocks on floppy discs
2276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2279 # OS/2's system install, which has a completely different semantic
2280 # ./install, which can be erroneously created by make from ./install.sh.
2281 # Reject install programs that cannot install multiple files.
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2283 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2284 if test -z "$INSTALL"; then
2285 if ${ac_cv_path_install+:} false; then :
2286   $as_echo_n "(cached) " >&6
2287 else
2288   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2290 do
2291   IFS=$as_save_IFS
2292   test -z "$as_dir" && as_dir=.
2293     # Account for people who put trailing slashes in PATH elements.
2294 case $as_dir/ in #((
2295   ./ | .// | /[cC]/* | \
2296   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2297   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2298   /usr/ucb/* ) ;;
2299   *)
2300     # OSF1 and SCO ODT 3.0 have their own names for install.
2301     # Don't use installbsd from OSF since it installs stuff as root
2302     # by default.
2303     for ac_prog in ginstall scoinst install; do
2304       for ac_exec_ext in '' $ac_executable_extensions; do
2305         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2306           if test $ac_prog = install &&
2307             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2308             # AIX install.  It has an incompatible calling convention.
2309             :
2310           elif test $ac_prog = install &&
2311             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2312             # program-specific install script used by HP pwplus--don't use.
2313             :
2314           else
2315             rm -rf conftest.one conftest.two conftest.dir
2316             echo one > conftest.one
2317             echo two > conftest.two
2318             mkdir conftest.dir
2319             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2320               test -s conftest.one && test -s conftest.two &&
2321               test -s conftest.dir/conftest.one &&
2322               test -s conftest.dir/conftest.two
2323             then
2324               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2325               break 3
2326             fi
2327           fi
2328         fi
2329       done
2330     done
2331     ;;
2332 esac
2333
2334   done
2335 IFS=$as_save_IFS
2336
2337 rm -rf conftest.one conftest.two conftest.dir
2338
2339 fi
2340   if test "${ac_cv_path_install+set}" = set; then
2341     INSTALL=$ac_cv_path_install
2342   else
2343     # As a last resort, use the slow shell script.  Don't cache a
2344     # value for INSTALL within a source directory, because that will
2345     # break other packages using the cache if that directory is
2346     # removed, or if the value is a relative name.
2347     INSTALL=$ac_install_sh
2348   fi
2349 fi
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2351 $as_echo "$INSTALL" >&6; }
2352
2353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2354 # It thinks the first close brace ends the variable substitution.
2355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2356
2357 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2358
2359 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2360
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2362 $as_echo_n "checking whether build environment is sane... " >&6; }
2363 # Reject unsafe characters in $srcdir or the absolute working directory
2364 # name.  Accept space and tab only in the latter.
2365 am_lf='
2366 '
2367 case `pwd` in
2368   *[\\\"\#\$\&\'\`$am_lf]*)
2369     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2370 esac
2371 case $srcdir in
2372   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2373     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2374 esac
2375
2376 # Do 'set' in a subshell so we don't clobber the current shell's
2377 # arguments.  Must try -L first in case configure is actually a
2378 # symlink; some systems play weird games with the mod time of symlinks
2379 # (eg FreeBSD returns the mod time of the symlink's containing
2380 # directory).
2381 if (
2382    am_has_slept=no
2383    for am_try in 1 2; do
2384      echo "timestamp, slept: $am_has_slept" > conftest.file
2385      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2386      if test "$*" = "X"; then
2387         # -L didn't work.
2388         set X `ls -t "$srcdir/configure" conftest.file`
2389      fi
2390      if test "$*" != "X $srcdir/configure conftest.file" \
2391         && test "$*" != "X conftest.file $srcdir/configure"; then
2392
2393         # If neither matched, then we have a broken ls.  This can happen
2394         # if, for instance, CONFIG_SHELL is bash and it inherits a
2395         # broken ls alias from the environment.  This has actually
2396         # happened.  Such a system could not be considered "sane".
2397         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2398   alias in your environment" "$LINENO" 5
2399      fi
2400      if test "$2" = conftest.file || test $am_try -eq 2; then
2401        break
2402      fi
2403      # Just in case.
2404      sleep 1
2405      am_has_slept=yes
2406    done
2407    test "$2" = conftest.file
2408    )
2409 then
2410    # Ok.
2411    :
2412 else
2413    as_fn_error $? "newly created file is older than distributed files!
2414 Check your system clock" "$LINENO" 5
2415 fi
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2417 $as_echo "yes" >&6; }
2418 # If we didn't sleep, we still need to ensure time stamps of config.status and
2419 # generated files are strictly newer.
2420 am_sleep_pid=
2421 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2422   ( sleep 1 ) &
2423   am_sleep_pid=$!
2424 fi
2425
2426 rm -f conftest.file
2427
2428 test "$program_prefix" != NONE &&
2429   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2430 # Use a double $ so make ignores it.
2431 test "$program_suffix" != NONE &&
2432   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2433 # Double any \ or $.
2434 # By default was `s,x,x', remove it if useless.
2435 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2436 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2437
2438 # expand $ac_aux_dir to an absolute path
2439 am_aux_dir=`cd $ac_aux_dir && pwd`
2440
2441 if test x"${MISSING+set}" != xset; then
2442   case $am_aux_dir in
2443   *\ * | *\     *)
2444     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2445   *)
2446     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2447   esac
2448 fi
2449 # Use eval to expand $SHELL
2450 if eval "$MISSING --is-lightweight"; then
2451   am_missing_run="$MISSING "
2452 else
2453   am_missing_run=
2454   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2455 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2456 fi
2457
2458 if test x"${install_sh}" != xset; then
2459   case $am_aux_dir in
2460   *\ * | *\     *)
2461     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2462   *)
2463     install_sh="\${SHELL} $am_aux_dir/install-sh"
2464   esac
2465 fi
2466
2467 # Installed binaries are usually stripped using 'strip' when the user
2468 # run "make install-strip".  However 'strip' might not be the right
2469 # tool to use in cross-compilation environments, therefore Automake
2470 # will honor the 'STRIP' environment variable to overrule this program.
2471 if test "$cross_compiling" != no; then
2472   if test -n "$ac_tool_prefix"; then
2473   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2474 set dummy ${ac_tool_prefix}strip; ac_word=$2
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2476 $as_echo_n "checking for $ac_word... " >&6; }
2477 if ${ac_cv_prog_STRIP+:} false; then :
2478   $as_echo_n "(cached) " >&6
2479 else
2480   if test -n "$STRIP"; then
2481   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2482 else
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 for as_dir in $PATH
2485 do
2486   IFS=$as_save_IFS
2487   test -z "$as_dir" && as_dir=.
2488     for ac_exec_ext in '' $ac_executable_extensions; do
2489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2490     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2492     break 2
2493   fi
2494 done
2495   done
2496 IFS=$as_save_IFS
2497
2498 fi
2499 fi
2500 STRIP=$ac_cv_prog_STRIP
2501 if test -n "$STRIP"; then
2502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2503 $as_echo "$STRIP" >&6; }
2504 else
2505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2506 $as_echo "no" >&6; }
2507 fi
2508
2509
2510 fi
2511 if test -z "$ac_cv_prog_STRIP"; then
2512   ac_ct_STRIP=$STRIP
2513   # Extract the first word of "strip", so it can be a program name with args.
2514 set dummy strip; ac_word=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2518   $as_echo_n "(cached) " >&6
2519 else
2520   if test -n "$ac_ct_STRIP"; then
2521   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2522 else
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 for as_dir in $PATH
2525 do
2526   IFS=$as_save_IFS
2527   test -z "$as_dir" && as_dir=.
2528     for ac_exec_ext in '' $ac_executable_extensions; do
2529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530     ac_cv_prog_ac_ct_STRIP="strip"
2531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2532     break 2
2533   fi
2534 done
2535   done
2536 IFS=$as_save_IFS
2537
2538 fi
2539 fi
2540 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2541 if test -n "$ac_ct_STRIP"; then
2542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2543 $as_echo "$ac_ct_STRIP" >&6; }
2544 else
2545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2547 fi
2548
2549   if test "x$ac_ct_STRIP" = x; then
2550     STRIP=":"
2551   else
2552     case $cross_compiling:$ac_tool_warned in
2553 yes:)
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2556 ac_tool_warned=yes ;;
2557 esac
2558     STRIP=$ac_ct_STRIP
2559   fi
2560 else
2561   STRIP="$ac_cv_prog_STRIP"
2562 fi
2563
2564 fi
2565 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2566
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2568 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2569 if test -z "$MKDIR_P"; then
2570   if ${ac_cv_path_mkdir+:} false; then :
2571   $as_echo_n "(cached) " >&6
2572 else
2573   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2575 do
2576   IFS=$as_save_IFS
2577   test -z "$as_dir" && as_dir=.
2578     for ac_prog in mkdir gmkdir; do
2579          for ac_exec_ext in '' $ac_executable_extensions; do
2580            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2581            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2582              'mkdir (GNU coreutils) '* | \
2583              'mkdir (coreutils) '* | \
2584              'mkdir (fileutils) '4.1*)
2585                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2586                break 3;;
2587            esac
2588          done
2589        done
2590   done
2591 IFS=$as_save_IFS
2592
2593 fi
2594
2595   test -d ./--version && rmdir ./--version
2596   if test "${ac_cv_path_mkdir+set}" = set; then
2597     MKDIR_P="$ac_cv_path_mkdir -p"
2598   else
2599     # As a last resort, use the slow shell script.  Don't cache a
2600     # value for MKDIR_P within a source directory, because that will
2601     # break other packages using the cache if that directory is
2602     # removed, or if the value is a relative name.
2603     MKDIR_P="$ac_install_sh -d"
2604   fi
2605 fi
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2607 $as_echo "$MKDIR_P" >&6; }
2608
2609 for ac_prog in gawk mawk nawk awk
2610 do
2611   # Extract the first word of "$ac_prog", so it can be a program name with args.
2612 set dummy $ac_prog; ac_word=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if ${ac_cv_prog_AWK+:} false; then :
2616   $as_echo_n "(cached) " >&6
2617 else
2618   if test -n "$AWK"; then
2619   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2620 else
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH
2623 do
2624   IFS=$as_save_IFS
2625   test -z "$as_dir" && as_dir=.
2626     for ac_exec_ext in '' $ac_executable_extensions; do
2627   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628     ac_cv_prog_AWK="$ac_prog"
2629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630     break 2
2631   fi
2632 done
2633   done
2634 IFS=$as_save_IFS
2635
2636 fi
2637 fi
2638 AWK=$ac_cv_prog_AWK
2639 if test -n "$AWK"; then
2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2641 $as_echo "$AWK" >&6; }
2642 else
2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2645 fi
2646
2647
2648   test -n "$AWK" && break
2649 done
2650
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2652 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2653 set x ${MAKE-make}
2654 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2655 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2656   $as_echo_n "(cached) " >&6
2657 else
2658   cat >conftest.make <<\_ACEOF
2659 SHELL = /bin/sh
2660 all:
2661         @echo '@@@%%%=$(MAKE)=@@@%%%'
2662 _ACEOF
2663 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2664 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2665   *@@@%%%=?*=@@@%%%*)
2666     eval ac_cv_prog_make_${ac_make}_set=yes;;
2667   *)
2668     eval ac_cv_prog_make_${ac_make}_set=no;;
2669 esac
2670 rm -f conftest.make
2671 fi
2672 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2674 $as_echo "yes" >&6; }
2675   SET_MAKE=
2676 else
2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2679   SET_MAKE="MAKE=${MAKE-make}"
2680 fi
2681
2682 rm -rf .tst 2>/dev/null
2683 mkdir .tst 2>/dev/null
2684 if test -d .tst; then
2685   am__leading_dot=.
2686 else
2687   am__leading_dot=_
2688 fi
2689 rmdir .tst 2>/dev/null
2690
2691 # Check whether --enable-silent-rules was given.
2692 if test "${enable_silent_rules+set}" = set; then :
2693   enableval=$enable_silent_rules;
2694 fi
2695
2696 case $enable_silent_rules in # (((
2697   yes) AM_DEFAULT_VERBOSITY=0;;
2698    no) AM_DEFAULT_VERBOSITY=1;;
2699     *) AM_DEFAULT_VERBOSITY=1;;
2700 esac
2701 am_make=${MAKE-make}
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2703 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2704 if ${am_cv_make_support_nested_variables+:} false; then :
2705   $as_echo_n "(cached) " >&6
2706 else
2707   if $as_echo 'TRUE=$(BAR$(V))
2708 BAR0=false
2709 BAR1=true
2710 V=1
2711 am__doit:
2712         @$(TRUE)
2713 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2714   am_cv_make_support_nested_variables=yes
2715 else
2716   am_cv_make_support_nested_variables=no
2717 fi
2718 fi
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2720 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2721 if test $am_cv_make_support_nested_variables = yes; then
2722     AM_V='$(V)'
2723   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2724 else
2725   AM_V=$AM_DEFAULT_VERBOSITY
2726   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2727 fi
2728 AM_BACKSLASH='\'
2729
2730 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2731   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2732   # is not polluted with repeated "-I."
2733   am__isrc=' -I$(srcdir)'
2734   # test to see if srcdir already configured
2735   if test -f $srcdir/config.status; then
2736     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2737   fi
2738 fi
2739
2740 # test whether we have cygpath
2741 if test -z "$CYGPATH_W"; then
2742   if (cygpath --version) >/dev/null 2>/dev/null; then
2743     CYGPATH_W='cygpath -w'
2744   else
2745     CYGPATH_W=echo
2746   fi
2747 fi
2748
2749
2750 # Define the identity of the package.
2751  PACKAGE='libgsignon-glib'
2752  VERSION='2.1.0'
2753
2754
2755 cat >>confdefs.h <<_ACEOF
2756 #define PACKAGE "$PACKAGE"
2757 _ACEOF
2758
2759
2760 cat >>confdefs.h <<_ACEOF
2761 #define VERSION "$VERSION"
2762 _ACEOF
2763
2764 # Some tools Automake needs.
2765
2766 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2767
2768
2769 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2770
2771
2772 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2773
2774
2775 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2776
2777
2778 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2779
2780 # For better backward compatibility.  To be removed once Automake 1.9.x
2781 # dies out for good.  For more background, see:
2782 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2783 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2784 mkdir_p='$(MKDIR_P)'
2785
2786 # We need awk for the "check" target.  The system "awk" is bad on
2787 # some platforms.
2788 # Always define AMTAR for backward compatibility.  Yes, it's still used
2789 # in the wild :-(  We should find a proper way to deprecate it ...
2790 AMTAR='$${TAR-tar}'
2791
2792
2793 # We'll loop over all known methods to create a tar archive until one works.
2794 _am_tools='gnutar  pax cpio none'
2795
2796
2797
2798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2799 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2800
2801   # Go ahead even if we have the value already cached.  We do so because we
2802   # need to set the values for the 'am__tar' and 'am__untar' variables.
2803   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2804
2805   for _am_tool in $_am_tools; do
2806     case $_am_tool in
2807     gnutar)
2808       for _am_tar in tar gnutar gtar; do
2809         { echo "$as_me:$LINENO: $_am_tar --version" >&5
2810    ($_am_tar --version) >&5 2>&5
2811    ac_status=$?
2812    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813    (exit $ac_status); } && break
2814       done
2815       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2816       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2817       am__untar="$_am_tar -xf -"
2818       ;;
2819     plaintar)
2820       # Must skip GNU tar: if it does not support --format= it doesn't create
2821       # ustar tarball either.
2822       (tar --version) >/dev/null 2>&1 && continue
2823       am__tar='tar chf - "$$tardir"'
2824       am__tar_='tar chf - "$tardir"'
2825       am__untar='tar xf -'
2826       ;;
2827     pax)
2828       am__tar='pax -L -x pax -w "$$tardir"'
2829       am__tar_='pax -L -x pax -w "$tardir"'
2830       am__untar='pax -r'
2831       ;;
2832     cpio)
2833       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2834       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2835       am__untar='cpio -i -H pax -d'
2836       ;;
2837     none)
2838       am__tar=false
2839       am__tar_=false
2840       am__untar=false
2841       ;;
2842     esac
2843
2844     # If the value was cached, stop now.  We just wanted to have am__tar
2845     # and am__untar set.
2846     test -n "${am_cv_prog_tar_pax}" && break
2847
2848     # tar/untar a dummy directory, and stop if the command works.
2849     rm -rf conftest.dir
2850     mkdir conftest.dir
2851     echo GrepMe > conftest.dir/file
2852     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2853    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2854    ac_status=$?
2855    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856    (exit $ac_status); }
2857     rm -rf conftest.dir
2858     if test -s conftest.tar; then
2859       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2860    ($am__untar <conftest.tar) >&5 2>&5
2861    ac_status=$?
2862    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863    (exit $ac_status); }
2864       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2865    (cat conftest.dir/file) >&5 2>&5
2866    ac_status=$?
2867    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868    (exit $ac_status); }
2869       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2870     fi
2871   done
2872   rm -rf conftest.dir
2873
2874   if ${am_cv_prog_tar_pax+:} false; then :
2875   $as_echo_n "(cached) " >&6
2876 else
2877   am_cv_prog_tar_pax=$_am_tool
2878 fi
2879
2880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2881 $as_echo "$am_cv_prog_tar_pax" >&6; }
2882
2883
2884
2885
2886
2887
2888 # POSIX will say in a future version that running "rm -f" with no argument
2889 # is OK; and we want to be able to make that assumption in our Makefile
2890 # recipes.  So use an aggressive probe to check that the usage we want is
2891 # actually supported "in the wild" to an acceptable degree.
2892 # See automake bug#10828.
2893 # To make any issue more visible, cause the running configure to be aborted
2894 # by default if the 'rm' program in use doesn't match our expectations; the
2895 # user can still override this though.
2896 if rm -f && rm -fr && rm -rf; then : OK; else
2897   cat >&2 <<'END'
2898 Oops!
2899
2900 Your 'rm' program seems unable to run without file operands specified
2901 on the command line, even when the '-f' option is present.  This is contrary
2902 to the behaviour of most rm programs out there, and not conforming with
2903 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2904
2905 Please tell bug-automake@gnu.org about your system, including the value
2906 of your $PATH and any error possibly output before this message.  This
2907 can help us improve future automake versions.
2908
2909 END
2910   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2911     echo 'Configuration will proceed anyway, since you have set the' >&2
2912     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2913     echo >&2
2914   else
2915     cat >&2 <<'END'
2916 Aborting the configuration process, to ensure you take notice of the issue.
2917
2918 You can download and install GNU coreutils to get an 'rm' implementation
2919 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2920
2921 If you want to complete the configuration process using your problematic
2922 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2923 to "yes", and re-run configure.
2924
2925 END
2926     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2927   fi
2928 fi
2929
2930
2931 ac_ext=c
2932 ac_cpp='$CPP $CPPFLAGS'
2933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2936 if test -n "$ac_tool_prefix"; then
2937   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2938 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_CC+:} false; then :
2942   $as_echo_n "(cached) " >&6
2943 else
2944   if test -n "$CC"; then
2945   ac_cv_prog_CC="$CC" # Let the user override the test.
2946 else
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 for as_dir in $PATH
2949 do
2950   IFS=$as_save_IFS
2951   test -z "$as_dir" && as_dir=.
2952     for ac_exec_ext in '' $ac_executable_extensions; do
2953   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956     break 2
2957   fi
2958 done
2959   done
2960 IFS=$as_save_IFS
2961
2962 fi
2963 fi
2964 CC=$ac_cv_prog_CC
2965 if test -n "$CC"; then
2966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967 $as_echo "$CC" >&6; }
2968 else
2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2971 fi
2972
2973
2974 fi
2975 if test -z "$ac_cv_prog_CC"; then
2976   ac_ct_CC=$CC
2977   # Extract the first word of "gcc", so it can be a program name with args.
2978 set dummy gcc; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2982   $as_echo_n "(cached) " >&6
2983 else
2984   if test -n "$ac_ct_CC"; then
2985   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2986 else
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988 for as_dir in $PATH
2989 do
2990   IFS=$as_save_IFS
2991   test -z "$as_dir" && as_dir=.
2992     for ac_exec_ext in '' $ac_executable_extensions; do
2993   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2994     ac_cv_prog_ac_ct_CC="gcc"
2995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996     break 2
2997   fi
2998 done
2999   done
3000 IFS=$as_save_IFS
3001
3002 fi
3003 fi
3004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3005 if test -n "$ac_ct_CC"; then
3006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3007 $as_echo "$ac_ct_CC" >&6; }
3008 else
3009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3011 fi
3012
3013   if test "x$ac_ct_CC" = x; then
3014     CC=""
3015   else
3016     case $cross_compiling:$ac_tool_warned in
3017 yes:)
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3020 ac_tool_warned=yes ;;
3021 esac
3022     CC=$ac_ct_CC
3023   fi
3024 else
3025   CC="$ac_cv_prog_CC"
3026 fi
3027
3028 if test -z "$CC"; then
3029           if test -n "$ac_tool_prefix"; then
3030     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3031 set dummy ${ac_tool_prefix}cc; ac_word=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if ${ac_cv_prog_CC+:} false; then :
3035   $as_echo_n "(cached) " >&6
3036 else
3037   if test -n "$CC"; then
3038   ac_cv_prog_CC="$CC" # Let the user override the test.
3039 else
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 for as_dir in $PATH
3042 do
3043   IFS=$as_save_IFS
3044   test -z "$as_dir" && as_dir=.
3045     for ac_exec_ext in '' $ac_executable_extensions; do
3046   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3047     ac_cv_prog_CC="${ac_tool_prefix}cc"
3048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3049     break 2
3050   fi
3051 done
3052   done
3053 IFS=$as_save_IFS
3054
3055 fi
3056 fi
3057 CC=$ac_cv_prog_CC
3058 if test -n "$CC"; then
3059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3060 $as_echo "$CC" >&6; }
3061 else
3062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3064 fi
3065
3066
3067   fi
3068 fi
3069 if test -z "$CC"; then
3070   # Extract the first word of "cc", so it can be a program name with args.
3071 set dummy cc; ac_word=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if ${ac_cv_prog_CC+:} false; then :
3075   $as_echo_n "(cached) " >&6
3076 else
3077   if test -n "$CC"; then
3078   ac_cv_prog_CC="$CC" # Let the user override the test.
3079 else
3080   ac_prog_rejected=no
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 for as_dir in $PATH
3083 do
3084   IFS=$as_save_IFS
3085   test -z "$as_dir" && as_dir=.
3086     for ac_exec_ext in '' $ac_executable_extensions; do
3087   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3089        ac_prog_rejected=yes
3090        continue
3091      fi
3092     ac_cv_prog_CC="cc"
3093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094     break 2
3095   fi
3096 done
3097   done
3098 IFS=$as_save_IFS
3099
3100 if test $ac_prog_rejected = yes; then
3101   # We found a bogon in the path, so make sure we never use it.
3102   set dummy $ac_cv_prog_CC
3103   shift
3104   if test $# != 0; then
3105     # We chose a different compiler from the bogus one.
3106     # However, it has the same basename, so the bogon will be chosen
3107     # first if we set CC to just the basename; use the full file name.
3108     shift
3109     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3110   fi
3111 fi
3112 fi
3113 fi
3114 CC=$ac_cv_prog_CC
3115 if test -n "$CC"; then
3116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117 $as_echo "$CC" >&6; }
3118 else
3119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3121 fi
3122
3123
3124 fi
3125 if test -z "$CC"; then
3126   if test -n "$ac_tool_prefix"; then
3127   for ac_prog in cl.exe
3128   do
3129     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_CC+:} false; then :
3134   $as_echo_n "(cached) " >&6
3135 else
3136   if test -n "$CC"; then
3137   ac_cv_prog_CC="$CC" # Let the user override the test.
3138 else
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140 for as_dir in $PATH
3141 do
3142   IFS=$as_save_IFS
3143   test -z "$as_dir" && as_dir=.
3144     for ac_exec_ext in '' $ac_executable_extensions; do
3145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148     break 2
3149   fi
3150 done
3151   done
3152 IFS=$as_save_IFS
3153
3154 fi
3155 fi
3156 CC=$ac_cv_prog_CC
3157 if test -n "$CC"; then
3158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3159 $as_echo "$CC" >&6; }
3160 else
3161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3163 fi
3164
3165
3166     test -n "$CC" && break
3167   done
3168 fi
3169 if test -z "$CC"; then
3170   ac_ct_CC=$CC
3171   for ac_prog in cl.exe
3172 do
3173   # Extract the first word of "$ac_prog", so it can be a program name with args.
3174 set dummy $ac_prog; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3178   $as_echo_n "(cached) " >&6
3179 else
3180   if test -n "$ac_ct_CC"; then
3181   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3182 else
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3185 do
3186   IFS=$as_save_IFS
3187   test -z "$as_dir" && as_dir=.
3188     for ac_exec_ext in '' $ac_executable_extensions; do
3189   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190     ac_cv_prog_ac_ct_CC="$ac_prog"
3191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192     break 2
3193   fi
3194 done
3195   done
3196 IFS=$as_save_IFS
3197
3198 fi
3199 fi
3200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3201 if test -n "$ac_ct_CC"; then
3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3203 $as_echo "$ac_ct_CC" >&6; }
3204 else
3205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 fi
3208
3209
3210   test -n "$ac_ct_CC" && break
3211 done
3212
3213   if test "x$ac_ct_CC" = x; then
3214     CC=""
3215   else
3216     case $cross_compiling:$ac_tool_warned in
3217 yes:)
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3220 ac_tool_warned=yes ;;
3221 esac
3222     CC=$ac_ct_CC
3223   fi
3224 fi
3225
3226 fi
3227
3228
3229 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3231 as_fn_error $? "no acceptable C compiler found in \$PATH
3232 See \`config.log' for more details" "$LINENO" 5; }
3233
3234 # Provide some information about the compiler.
3235 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3236 set X $ac_compile
3237 ac_compiler=$2
3238 for ac_option in --version -v -V -qversion; do
3239   { { ac_try="$ac_compiler $ac_option >&5"
3240 case "(($ac_try" in
3241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242   *) ac_try_echo=$ac_try;;
3243 esac
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3247   ac_status=$?
3248   if test -s conftest.err; then
3249     sed '10a\
3250 ... rest of stderr output deleted ...
3251          10q' conftest.err >conftest.er1
3252     cat conftest.er1 >&5
3253   fi
3254   rm -f conftest.er1 conftest.err
3255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256   test $ac_status = 0; }
3257 done
3258
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h.  */
3261
3262 int
3263 main ()
3264 {
3265
3266   ;
3267   return 0;
3268 }
3269 _ACEOF
3270 ac_clean_files_save=$ac_clean_files
3271 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3272 # Try to create an executable without -o first, disregard a.out.
3273 # It will help us diagnose broken compilers, and finding out an intuition
3274 # of exeext.
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3276 $as_echo_n "checking whether the C compiler works... " >&6; }
3277 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3278
3279 # The possible output files:
3280 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3281
3282 ac_rmfiles=
3283 for ac_file in $ac_files
3284 do
3285   case $ac_file in
3286     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3287     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3288   esac
3289 done
3290 rm -f $ac_rmfiles
3291
3292 if { { ac_try="$ac_link_default"
3293 case "(($ac_try" in
3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295   *) ac_try_echo=$ac_try;;
3296 esac
3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299   (eval "$ac_link_default") 2>&5
3300   ac_status=$?
3301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302   test $ac_status = 0; }; then :
3303   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3304 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3305 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3306 # so that the user can short-circuit this test for compilers unknown to
3307 # Autoconf.
3308 for ac_file in $ac_files ''
3309 do
3310   test -f "$ac_file" || continue
3311   case $ac_file in
3312     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3313         ;;
3314     [ab].out )
3315         # We found the default executable, but exeext='' is most
3316         # certainly right.
3317         break;;
3318     *.* )
3319         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3320         then :; else
3321            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3322         fi
3323         # We set ac_cv_exeext here because the later test for it is not
3324         # safe: cross compilers may not add the suffix if given an `-o'
3325         # argument, so we may need to know it at that point already.
3326         # Even if this section looks crufty: it has the advantage of
3327         # actually working.
3328         break;;
3329     * )
3330         break;;
3331   esac
3332 done
3333 test "$ac_cv_exeext" = no && ac_cv_exeext=
3334
3335 else
3336   ac_file=''
3337 fi
3338 if test -z "$ac_file"; then :
3339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 $as_echo "no" >&6; }
3341 $as_echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3343
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error 77 "C compiler cannot create executables
3347 See \`config.log' for more details" "$LINENO" 5; }
3348 else
3349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3350 $as_echo "yes" >&6; }
3351 fi
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3353 $as_echo_n "checking for C compiler default output file name... " >&6; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3355 $as_echo "$ac_file" >&6; }
3356 ac_exeext=$ac_cv_exeext
3357
3358 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3359 ac_clean_files=$ac_clean_files_save
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3361 $as_echo_n "checking for suffix of executables... " >&6; }
3362 if { { ac_try="$ac_link"
3363 case "(($ac_try" in
3364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365   *) ac_try_echo=$ac_try;;
3366 esac
3367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369   (eval "$ac_link") 2>&5
3370   ac_status=$?
3371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372   test $ac_status = 0; }; then :
3373   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3374 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3375 # work properly (i.e., refer to `conftest.exe'), while it won't with
3376 # `rm'.
3377 for ac_file in conftest.exe conftest conftest.*; do
3378   test -f "$ac_file" || continue
3379   case $ac_file in
3380     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3381     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3382           break;;
3383     * ) break;;
3384   esac
3385 done
3386 else
3387   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3390 See \`config.log' for more details" "$LINENO" 5; }
3391 fi
3392 rm -f conftest conftest$ac_cv_exeext
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3394 $as_echo "$ac_cv_exeext" >&6; }
3395
3396 rm -f conftest.$ac_ext
3397 EXEEXT=$ac_cv_exeext
3398 ac_exeext=$EXEEXT
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h.  */
3401 #include <stdio.h>
3402 int
3403 main ()
3404 {
3405 FILE *f = fopen ("conftest.out", "w");
3406  return ferror (f) || fclose (f) != 0;
3407
3408   ;
3409   return 0;
3410 }
3411 _ACEOF
3412 ac_clean_files="$ac_clean_files conftest.out"
3413 # Check that the compiler produces executables we can run.  If not, either
3414 # the compiler is broken, or we cross compile.
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3416 $as_echo_n "checking whether we are cross compiling... " >&6; }
3417 if test "$cross_compiling" != yes; then
3418   { { ac_try="$ac_link"
3419 case "(($ac_try" in
3420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421   *) ac_try_echo=$ac_try;;
3422 esac
3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425   (eval "$ac_link") 2>&5
3426   ac_status=$?
3427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428   test $ac_status = 0; }
3429   if { ac_try='./conftest$ac_cv_exeext'
3430   { { case "(($ac_try" in
3431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432   *) ac_try_echo=$ac_try;;
3433 esac
3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436   (eval "$ac_try") 2>&5
3437   ac_status=$?
3438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439   test $ac_status = 0; }; }; then
3440     cross_compiling=no
3441   else
3442     if test "$cross_compiling" = maybe; then
3443         cross_compiling=yes
3444     else
3445         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $? "cannot run C compiled programs.
3448 If you meant to cross compile, use \`--host'.
3449 See \`config.log' for more details" "$LINENO" 5; }
3450     fi
3451   fi
3452 fi
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3454 $as_echo "$cross_compiling" >&6; }
3455
3456 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3457 ac_clean_files=$ac_clean_files_save
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3459 $as_echo_n "checking for suffix of object files... " >&6; }
3460 if ${ac_cv_objext+:} false; then :
3461   $as_echo_n "(cached) " >&6
3462 else
3463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h.  */
3465
3466 int
3467 main ()
3468 {
3469
3470   ;
3471   return 0;
3472 }
3473 _ACEOF
3474 rm -f conftest.o conftest.obj
3475 if { { ac_try="$ac_compile"
3476 case "(($ac_try" in
3477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478   *) ac_try_echo=$ac_try;;
3479 esac
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482   (eval "$ac_compile") 2>&5
3483   ac_status=$?
3484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485   test $ac_status = 0; }; then :
3486   for ac_file in conftest.o conftest.obj conftest.*; do
3487   test -f "$ac_file" || continue;
3488   case $ac_file in
3489     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3490     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3491        break;;
3492   esac
3493 done
3494 else
3495   $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3497
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error $? "cannot compute suffix of object files: cannot compile
3501 See \`config.log' for more details" "$LINENO" 5; }
3502 fi
3503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3504 fi
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3506 $as_echo "$ac_cv_objext" >&6; }
3507 OBJEXT=$ac_cv_objext
3508 ac_objext=$OBJEXT
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3510 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3511 if ${ac_cv_c_compiler_gnu+:} false; then :
3512   $as_echo_n "(cached) " >&6
3513 else
3514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h.  */
3516
3517 int
3518 main ()
3519 {
3520 #ifndef __GNUC__
3521        choke me
3522 #endif
3523
3524   ;
3525   return 0;
3526 }
3527 _ACEOF
3528 if ac_fn_c_try_compile "$LINENO"; then :
3529   ac_compiler_gnu=yes
3530 else
3531   ac_compiler_gnu=no
3532 fi
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3535
3536 fi
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3538 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3539 if test $ac_compiler_gnu = yes; then
3540   GCC=yes
3541 else
3542   GCC=
3543 fi
3544 ac_test_CFLAGS=${CFLAGS+set}
3545 ac_save_CFLAGS=$CFLAGS
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3547 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3548 if ${ac_cv_prog_cc_g+:} false; then :
3549   $as_echo_n "(cached) " >&6
3550 else
3551   ac_save_c_werror_flag=$ac_c_werror_flag
3552    ac_c_werror_flag=yes
3553    ac_cv_prog_cc_g=no
3554    CFLAGS="-g"
3555    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h.  */
3557
3558 int
3559 main ()
3560 {
3561
3562   ;
3563   return 0;
3564 }
3565 _ACEOF
3566 if ac_fn_c_try_compile "$LINENO"; then :
3567   ac_cv_prog_cc_g=yes
3568 else
3569   CFLAGS=""
3570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h.  */
3572
3573 int
3574 main ()
3575 {
3576
3577   ;
3578   return 0;
3579 }
3580 _ACEOF
3581 if ac_fn_c_try_compile "$LINENO"; then :
3582
3583 else
3584   ac_c_werror_flag=$ac_save_c_werror_flag
3585          CFLAGS="-g"
3586          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h.  */
3588
3589 int
3590 main ()
3591 {
3592
3593   ;
3594   return 0;
3595 }
3596 _ACEOF
3597 if ac_fn_c_try_compile "$LINENO"; then :
3598   ac_cv_prog_cc_g=yes
3599 fi
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 fi
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 fi
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605    ac_c_werror_flag=$ac_save_c_werror_flag
3606 fi
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3608 $as_echo "$ac_cv_prog_cc_g" >&6; }
3609 if test "$ac_test_CFLAGS" = set; then
3610   CFLAGS=$ac_save_CFLAGS
3611 elif test $ac_cv_prog_cc_g = yes; then
3612   if test "$GCC" = yes; then
3613     CFLAGS="-g -O2"
3614   else
3615     CFLAGS="-g"
3616   fi
3617 else
3618   if test "$GCC" = yes; then
3619     CFLAGS="-O2"
3620   else
3621     CFLAGS=
3622   fi
3623 fi
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3625 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3626 if ${ac_cv_prog_cc_c89+:} false; then :
3627   $as_echo_n "(cached) " >&6
3628 else
3629   ac_cv_prog_cc_c89=no
3630 ac_save_CC=$CC
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h.  */
3633 #include <stdarg.h>
3634 #include <stdio.h>
3635 struct stat;
3636 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3637 struct buf { int x; };
3638 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3639 static char *e (p, i)
3640      char **p;
3641      int i;
3642 {
3643   return p[i];
3644 }
3645 static char *f (char * (*g) (char **, int), char **p, ...)
3646 {
3647   char *s;
3648   va_list v;
3649   va_start (v,p);
3650   s = g (p, va_arg (v,int));
3651   va_end (v);
3652   return s;
3653 }
3654
3655 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3656    function prototypes and stuff, but not '\xHH' hex character constants.
3657    These don't provoke an error unfortunately, instead are silently treated
3658    as 'x'.  The following induces an error, until -std is added to get
3659    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3660    array size at least.  It's necessary to write '\x00'==0 to get something
3661    that's true only with -std.  */
3662 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3663
3664 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3665    inside strings and character constants.  */
3666 #define FOO(x) 'x'
3667 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3668
3669 int test (int i, double x);
3670 struct s1 {int (*f) (int a);};
3671 struct s2 {int (*f) (double a);};
3672 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3673 int argc;
3674 char **argv;
3675 int
3676 main ()
3677 {
3678 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3679   ;
3680   return 0;
3681 }
3682 _ACEOF
3683 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3684         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685 do
3686   CC="$ac_save_CC $ac_arg"
3687   if ac_fn_c_try_compile "$LINENO"; then :
3688   ac_cv_prog_cc_c89=$ac_arg
3689 fi
3690 rm -f core conftest.err conftest.$ac_objext
3691   test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 done
3693 rm -f conftest.$ac_ext
3694 CC=$ac_save_CC
3695
3696 fi
3697 # AC_CACHE_VAL
3698 case "x$ac_cv_prog_cc_c89" in
3699   x)
3700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3701 $as_echo "none needed" >&6; } ;;
3702   xno)
3703     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3704 $as_echo "unsupported" >&6; } ;;
3705   *)
3706     CC="$CC $ac_cv_prog_cc_c89"
3707     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3708 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3709 esac
3710 if test "x$ac_cv_prog_cc_c89" != xno; then :
3711
3712 fi
3713
3714 ac_ext=c
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3719
3720 ac_ext=c
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3726 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3727 if ${am_cv_prog_cc_c_o+:} false; then :
3728   $as_echo_n "(cached) " >&6
3729 else
3730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h.  */
3732
3733 int
3734 main ()
3735 {
3736
3737   ;
3738   return 0;
3739 }
3740 _ACEOF
3741   # Make sure it works both with $CC and with simple cc.
3742   # Following AC_PROG_CC_C_O, we do the test twice because some
3743   # compilers refuse to overwrite an existing .o file with -o,
3744   # though they will create one.
3745   am_cv_prog_cc_c_o=yes
3746   for am_i in 1 2; do
3747     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3748    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3749    ac_status=$?
3750    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751    (exit $ac_status); } \
3752          && test -f conftest2.$ac_objext; then
3753       : OK
3754     else
3755       am_cv_prog_cc_c_o=no
3756       break
3757     fi
3758   done
3759   rm -f core conftest*
3760   unset am_i
3761 fi
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3763 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3764 if test "$am_cv_prog_cc_c_o" != yes; then
3765    # Losing compiler, so override with the script.
3766    # FIXME: It is wrong to rewrite CC.
3767    # But if we don't then we get into trouble of one sort or another.
3768    # A longer-term fix would be to have automake use am__CC in this case,
3769    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3770    CC="$am_aux_dir/compile $CC"
3771 fi
3772 ac_ext=c
3773 ac_cpp='$CPP $CPPFLAGS'
3774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777
3778 DEPDIR="${am__leading_dot}deps"
3779
3780 ac_config_commands="$ac_config_commands depfiles"
3781
3782
3783 am_make=${MAKE-make}
3784 cat > confinc << 'END'
3785 am__doit:
3786         @echo this is the am__doit target
3787 .PHONY: am__doit
3788 END
3789 # If we don't find an include directive, just comment out the code.
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3791 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3792 am__include="#"
3793 am__quote=
3794 _am_result=none
3795 # First try GNU make style include.
3796 echo "include confinc" > confmf
3797 # Ignore all kinds of additional output from 'make'.
3798 case `$am_make -s -f confmf 2> /dev/null` in #(
3799 *the\ am__doit\ target*)
3800   am__include=include
3801   am__quote=
3802   _am_result=GNU
3803   ;;
3804 esac
3805 # Now try BSD make style include.
3806 if test "$am__include" = "#"; then
3807    echo '.include "confinc"' > confmf
3808    case `$am_make -s -f confmf 2> /dev/null` in #(
3809    *the\ am__doit\ target*)
3810      am__include=.include
3811      am__quote="\""
3812      _am_result=BSD
3813      ;;
3814    esac
3815 fi
3816
3817
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3819 $as_echo "$_am_result" >&6; }
3820 rm -f confinc confmf
3821
3822 # Check whether --enable-dependency-tracking was given.
3823 if test "${enable_dependency_tracking+set}" = set; then :
3824   enableval=$enable_dependency_tracking;
3825 fi
3826
3827 if test "x$enable_dependency_tracking" != xno; then
3828   am_depcomp="$ac_aux_dir/depcomp"
3829   AMDEPBACKSLASH='\'
3830   am__nodep='_no'
3831 fi
3832  if test "x$enable_dependency_tracking" != xno; then
3833   AMDEP_TRUE=
3834   AMDEP_FALSE='#'
3835 else
3836   AMDEP_TRUE='#'
3837   AMDEP_FALSE=
3838 fi
3839
3840
3841
3842 depcc="$CC"   am_compiler_list=
3843
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3845 $as_echo_n "checking dependency style of $depcc... " >&6; }
3846 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3847   $as_echo_n "(cached) " >&6
3848 else
3849   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3850   # We make a subdir and do the tests there.  Otherwise we can end up
3851   # making bogus files that we don't know about and never remove.  For
3852   # instance it was reported that on HP-UX the gcc test will end up
3853   # making a dummy file named 'D' -- because '-MD' means "put the output
3854   # in D".
3855   rm -rf conftest.dir
3856   mkdir conftest.dir
3857   # Copy depcomp to subdir because otherwise we won't find it if we're
3858   # using a relative directory.
3859   cp "$am_depcomp" conftest.dir
3860   cd conftest.dir
3861   # We will build objects and dependencies in a subdirectory because
3862   # it helps to detect inapplicable dependency modes.  For instance
3863   # both Tru64's cc and ICC support -MD to output dependencies as a
3864   # side effect of compilation, but ICC will put the dependencies in
3865   # the current directory while Tru64 will put them in the object
3866   # directory.
3867   mkdir sub
3868
3869   am_cv_CC_dependencies_compiler_type=none
3870   if test "$am_compiler_list" = ""; then
3871      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3872   fi
3873   am__universal=false
3874   case " $depcc " in #(
3875      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3876      esac
3877
3878   for depmode in $am_compiler_list; do
3879     # Setup a source with many dependencies, because some compilers
3880     # like to wrap large dependency lists on column 80 (with \), and
3881     # we should not choose a depcomp mode which is confused by this.
3882     #
3883     # We need to recreate these files for each test, as the compiler may
3884     # overwrite some of them when testing with obscure command lines.
3885     # This happens at least with the AIX C compiler.
3886     : > sub/conftest.c
3887     for i in 1 2 3 4 5 6; do
3888       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3889       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3890       # Solaris 10 /bin/sh.
3891       echo '/* dummy */' > sub/conftst$i.h
3892     done
3893     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3894
3895     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3896     # mode.  It turns out that the SunPro C++ compiler does not properly
3897     # handle '-M -o', and we need to detect this.  Also, some Intel
3898     # versions had trouble with output in subdirs.
3899     am__obj=sub/conftest.${OBJEXT-o}
3900     am__minus_obj="-o $am__obj"
3901     case $depmode in
3902     gcc)
3903       # This depmode causes a compiler race in universal mode.
3904       test "$am__universal" = false || continue
3905       ;;
3906     nosideeffect)
3907       # After this tag, mechanisms are not by side-effect, so they'll
3908       # only be used when explicitly requested.
3909       if test "x$enable_dependency_tracking" = xyes; then
3910         continue
3911       else
3912         break
3913       fi
3914       ;;
3915     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3916       # This compiler won't grok '-c -o', but also, the minuso test has
3917       # not run yet.  These depmodes are late enough in the game, and
3918       # so weak that their functioning should not be impacted.
3919       am__obj=conftest.${OBJEXT-o}
3920       am__minus_obj=
3921       ;;
3922     none) break ;;
3923     esac
3924     if depmode=$depmode \
3925        source=sub/conftest.c object=$am__obj \
3926        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3927        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3928          >/dev/null 2>conftest.err &&
3929        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3930        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3931        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3932        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3933       # icc doesn't choke on unknown options, it will just issue warnings
3934       # or remarks (even with -Werror).  So we grep stderr for any message
3935       # that says an option was ignored or not supported.
3936       # When given -MP, icc 7.0 and 7.1 complain thusly:
3937       #   icc: Command line warning: ignoring option '-M'; no argument required
3938       # The diagnosis changed in icc 8.0:
3939       #   icc: Command line remark: option '-MP' not supported
3940       if (grep 'ignoring option' conftest.err ||
3941           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3942         am_cv_CC_dependencies_compiler_type=$depmode
3943         break
3944       fi
3945     fi
3946   done
3947
3948   cd ..
3949   rm -rf conftest.dir
3950 else
3951   am_cv_CC_dependencies_compiler_type=none
3952 fi
3953
3954 fi
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3956 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3957 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3958
3959  if
3960   test "x$enable_dependency_tracking" != xno \
3961   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3962   am__fastdepCC_TRUE=
3963   am__fastdepCC_FALSE='#'
3964 else
3965   am__fastdepCC_TRUE='#'
3966   am__fastdepCC_FALSE=
3967 fi
3968
3969
3970    case $ac_cv_prog_cc_stdc in #(
3971   no) :
3972     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3973   *) :
3974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3975 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3976 if ${ac_cv_prog_cc_c99+:} false; then :
3977   $as_echo_n "(cached) " >&6
3978 else
3979   ac_cv_prog_cc_c99=no
3980 ac_save_CC=$CC
3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h.  */
3983 #include <stdarg.h>
3984 #include <stdbool.h>
3985 #include <stdlib.h>
3986 #include <wchar.h>
3987 #include <stdio.h>
3988
3989 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
3990 #define debug(...) fprintf (stderr, __VA_ARGS__)
3991 #define showlist(...) puts (#__VA_ARGS__)
3992 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3993 static void
3994 test_varargs_macros (void)
3995 {
3996   int x = 1234;
3997   int y = 5678;
3998   debug ("Flag");
3999   debug ("X = %d\n", x);
4000   showlist (The first, second, and third items.);
4001   report (x>y, "x is %d but y is %d", x, y);
4002 }
4003
4004 // Check long long types.
4005 #define BIG64 18446744073709551615ull
4006 #define BIG32 4294967295ul
4007 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4008 #if !BIG_OK
4009   your preprocessor is broken;
4010 #endif
4011 #if BIG_OK
4012 #else
4013   your preprocessor is broken;
4014 #endif
4015 static long long int bignum = -9223372036854775807LL;
4016 static unsigned long long int ubignum = BIG64;
4017
4018 struct incomplete_array
4019 {
4020   int datasize;
4021   double data[];
4022 };
4023
4024 struct named_init {
4025   int number;
4026   const wchar_t *name;
4027   double average;
4028 };
4029
4030 typedef const char *ccp;
4031
4032 static inline int
4033 test_restrict (ccp restrict text)
4034 {
4035   // See if C++-style comments work.
4036   // Iterate through items via the restricted pointer.
4037   // Also check for declarations in for loops.
4038   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4039     continue;
4040   return 0;
4041 }
4042
4043 // Check varargs and va_copy.
4044 static void
4045 test_varargs (const char *format, ...)
4046 {
4047   va_list args;
4048   va_start (args, format);
4049   va_list args_copy;
4050   va_copy (args_copy, args);
4051
4052   const char *str;
4053   int number;
4054   float fnumber;
4055
4056   while (*format)
4057     {
4058       switch (*format++)
4059         {
4060         case 's': // string
4061           str = va_arg (args_copy, const char *);
4062           break;
4063         case 'd': // int
4064           number = va_arg (args_copy, int);
4065           break;
4066         case 'f': // float
4067           fnumber = va_arg (args_copy, double);
4068           break;
4069         default:
4070           break;
4071         }
4072     }
4073   va_end (args_copy);
4074   va_end (args);
4075 }
4076
4077 int
4078 main ()
4079 {
4080
4081   // Check bool.
4082   _Bool success = false;
4083
4084   // Check restrict.
4085   if (test_restrict ("String literal") == 0)
4086     success = true;
4087   char *restrict newvar = "Another string";
4088
4089   // Check varargs.
4090   test_varargs ("s, d' f .", "string", 65, 34.234);
4091   test_varargs_macros ();
4092
4093   // Check flexible array members.
4094   struct incomplete_array *ia =
4095     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4096   ia->datasize = 10;
4097   for (int i = 0; i < ia->datasize; ++i)
4098     ia->data[i] = i * 1.234;
4099
4100   // Check named initializers.
4101   struct named_init ni = {
4102     .number = 34,
4103     .name = L"Test wide string",
4104     .average = 543.34343,
4105   };
4106
4107   ni.number = 58;
4108
4109   int dynamic_array[ni.number];
4110   dynamic_array[ni.number - 1] = 543;
4111
4112   // work around unused variable warnings
4113   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4114           || dynamic_array[ni.number - 1] != 543);
4115
4116   ;
4117   return 0;
4118 }
4119 _ACEOF
4120 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4121 do
4122   CC="$ac_save_CC $ac_arg"
4123   if ac_fn_c_try_compile "$LINENO"; then :
4124   ac_cv_prog_cc_c99=$ac_arg
4125 fi
4126 rm -f core conftest.err conftest.$ac_objext
4127   test "x$ac_cv_prog_cc_c99" != "xno" && break
4128 done
4129 rm -f conftest.$ac_ext
4130 CC=$ac_save_CC
4131
4132 fi
4133 # AC_CACHE_VAL
4134 case "x$ac_cv_prog_cc_c99" in
4135   x)
4136     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4137 $as_echo "none needed" >&6; } ;;
4138   xno)
4139     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4140 $as_echo "unsupported" >&6; } ;;
4141   *)
4142     CC="$CC $ac_cv_prog_cc_c99"
4143     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4144 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4145 esac
4146 if test "x$ac_cv_prog_cc_c99" != xno; then :
4147   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4148 else
4149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4150 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4151 if ${ac_cv_prog_cc_c89+:} false; then :
4152   $as_echo_n "(cached) " >&6
4153 else
4154   ac_cv_prog_cc_c89=no
4155 ac_save_CC=$CC
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h.  */
4158 #include <stdarg.h>
4159 #include <stdio.h>
4160 struct stat;
4161 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4162 struct buf { int x; };
4163 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4164 static char *e (p, i)
4165      char **p;
4166      int i;
4167 {
4168   return p[i];
4169 }
4170 static char *f (char * (*g) (char **, int), char **p, ...)
4171 {
4172   char *s;
4173   va_list v;
4174   va_start (v,p);
4175   s = g (p, va_arg (v,int));
4176   va_end (v);
4177   return s;
4178 }
4179
4180 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4181    function prototypes and stuff, but not '\xHH' hex character constants.
4182    These don't provoke an error unfortunately, instead are silently treated
4183    as 'x'.  The following induces an error, until -std is added to get
4184    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4185    array size at least.  It's necessary to write '\x00'==0 to get something
4186    that's true only with -std.  */
4187 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4188
4189 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4190    inside strings and character constants.  */
4191 #define FOO(x) 'x'
4192 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4193
4194 int test (int i, double x);
4195 struct s1 {int (*f) (int a);};
4196 struct s2 {int (*f) (double a);};
4197 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4198 int argc;
4199 char **argv;
4200 int
4201 main ()
4202 {
4203 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4204   ;
4205   return 0;
4206 }
4207 _ACEOF
4208 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4209         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4210 do
4211   CC="$ac_save_CC $ac_arg"
4212   if ac_fn_c_try_compile "$LINENO"; then :
4213   ac_cv_prog_cc_c89=$ac_arg
4214 fi
4215 rm -f core conftest.err conftest.$ac_objext
4216   test "x$ac_cv_prog_cc_c89" != "xno" && break
4217 done
4218 rm -f conftest.$ac_ext
4219 CC=$ac_save_CC
4220
4221 fi
4222 # AC_CACHE_VAL
4223 case "x$ac_cv_prog_cc_c89" in
4224   x)
4225     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4226 $as_echo "none needed" >&6; } ;;
4227   xno)
4228     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4229 $as_echo "unsupported" >&6; } ;;
4230   *)
4231     CC="$CC $ac_cv_prog_cc_c89"
4232     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4233 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4234 esac
4235 if test "x$ac_cv_prog_cc_c89" != xno; then :
4236   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4237 else
4238   ac_cv_prog_cc_stdc=no
4239 fi
4240
4241 fi
4242  ;;
4243 esac
4244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4245 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4246   if ${ac_cv_prog_cc_stdc+:} false; then :
4247   $as_echo_n "(cached) " >&6
4248 fi
4249
4250   case $ac_cv_prog_cc_stdc in #(
4251   no) :
4252     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4253 $as_echo "unsupported" >&6; } ;; #(
4254   '') :
4255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4256 $as_echo "none needed" >&6; } ;; #(
4257   *) :
4258     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4259 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4260 esac
4261
4262
4263
4264 if test -n "$ac_tool_prefix"; then
4265   for ac_prog in ar lib "link -lib"
4266   do
4267     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if ${ac_cv_prog_AR+:} false; then :
4272   $as_echo_n "(cached) " >&6
4273 else
4274   if test -n "$AR"; then
4275   ac_cv_prog_AR="$AR" # Let the user override the test.
4276 else
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 for as_dir in $PATH
4279 do
4280   IFS=$as_save_IFS
4281   test -z "$as_dir" && as_dir=.
4282     for ac_exec_ext in '' $ac_executable_extensions; do
4283   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4284     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4285     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286     break 2
4287   fi
4288 done
4289   done
4290 IFS=$as_save_IFS
4291
4292 fi
4293 fi
4294 AR=$ac_cv_prog_AR
4295 if test -n "$AR"; then
4296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4297 $as_echo "$AR" >&6; }
4298 else
4299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4301 fi
4302
4303
4304     test -n "$AR" && break
4305   done
4306 fi
4307 if test -z "$AR"; then
4308   ac_ct_AR=$AR
4309   for ac_prog in ar lib "link -lib"
4310 do
4311   # Extract the first word of "$ac_prog", so it can be a program name with args.
4312 set dummy $ac_prog; ac_word=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4316   $as_echo_n "(cached) " >&6
4317 else
4318   if test -n "$ac_ct_AR"; then
4319   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4320 else
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 for as_dir in $PATH
4323 do
4324   IFS=$as_save_IFS
4325   test -z "$as_dir" && as_dir=.
4326     for ac_exec_ext in '' $ac_executable_extensions; do
4327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328     ac_cv_prog_ac_ct_AR="$ac_prog"
4329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330     break 2
4331   fi
4332 done
4333   done
4334 IFS=$as_save_IFS
4335
4336 fi
4337 fi
4338 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4339 if test -n "$ac_ct_AR"; then
4340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4341 $as_echo "$ac_ct_AR" >&6; }
4342 else
4343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4345 fi
4346
4347
4348   test -n "$ac_ct_AR" && break
4349 done
4350
4351   if test "x$ac_ct_AR" = x; then
4352     AR="false"
4353   else
4354     case $cross_compiling:$ac_tool_warned in
4355 yes:)
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4358 ac_tool_warned=yes ;;
4359 esac
4360     AR=$ac_ct_AR
4361   fi
4362 fi
4363
4364 : ${AR=ar}
4365
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4367 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4368 if ${am_cv_ar_interface+:} false; then :
4369   $as_echo_n "(cached) " >&6
4370 else
4371   ac_ext=c
4372 ac_cpp='$CPP $CPPFLAGS'
4373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4376
4377    am_cv_ar_interface=ar
4378    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h.  */
4380 int some_variable = 0;
4381 _ACEOF
4382 if ac_fn_c_try_compile "$LINENO"; then :
4383   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4384       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4385   (eval $am_ar_try) 2>&5
4386   ac_status=$?
4387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388   test $ac_status = 0; }
4389       if test "$ac_status" -eq 0; then
4390         am_cv_ar_interface=ar
4391       else
4392         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4393         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4394   (eval $am_ar_try) 2>&5
4395   ac_status=$?
4396   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4397   test $ac_status = 0; }
4398         if test "$ac_status" -eq 0; then
4399           am_cv_ar_interface=lib
4400         else
4401           am_cv_ar_interface=unknown
4402         fi
4403       fi
4404       rm -f conftest.lib libconftest.a
4405
4406 fi
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408    ac_ext=c
4409 ac_cpp='$CPP $CPPFLAGS'
4410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4413
4414 fi
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4416 $as_echo "$am_cv_ar_interface" >&6; }
4417
4418 case $am_cv_ar_interface in
4419 ar)
4420   ;;
4421 lib)
4422   # Microsoft lib, so override with the ar-lib wrapper script.
4423   # FIXME: It is wrong to rewrite AR.
4424   # But if we don't then we get into trouble of one sort or another.
4425   # A longer-term fix would be to have automake use am__AR in this case,
4426   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4427   # similar.
4428   AR="$am_aux_dir/ar-lib $AR"
4429   ;;
4430 unknown)
4431   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4432   ;;
4433 esac
4434
4435 AX_CHECK_GNU_MAKE
4436 if test "x$ifGNUmake" = "x#" ; then
4437     as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4438 fi
4439
4440
4441 case `pwd` in
4442   *\ * | *\     *)
4443     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4444 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4445 esac
4446
4447
4448
4449 macro_version='2.4.2'
4450 macro_revision='1.3337'
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464 ltmain="$ac_aux_dir/ltmain.sh"
4465
4466 # Make sure we can run config.sub.
4467 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4468   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4469
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4471 $as_echo_n "checking build system type... " >&6; }
4472 if ${ac_cv_build+:} false; then :
4473   $as_echo_n "(cached) " >&6
4474 else
4475   ac_build_alias=$build_alias
4476 test "x$ac_build_alias" = x &&
4477   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4478 test "x$ac_build_alias" = x &&
4479   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4480 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4481   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4482
4483 fi
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4485 $as_echo "$ac_cv_build" >&6; }
4486 case $ac_cv_build in
4487 *-*-*) ;;
4488 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4489 esac
4490 build=$ac_cv_build
4491 ac_save_IFS=$IFS; IFS='-'
4492 set x $ac_cv_build
4493 shift
4494 build_cpu=$1
4495 build_vendor=$2
4496 shift; shift
4497 # Remember, the first character of IFS is used to create $*,
4498 # except with old shells:
4499 build_os=$*
4500 IFS=$ac_save_IFS
4501 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4502
4503
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4505 $as_echo_n "checking host system type... " >&6; }
4506 if ${ac_cv_host+:} false; then :
4507   $as_echo_n "(cached) " >&6
4508 else
4509   if test "x$host_alias" = x; then
4510   ac_cv_host=$ac_cv_build
4511 else
4512   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4513     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4514 fi
4515
4516 fi
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4518 $as_echo "$ac_cv_host" >&6; }
4519 case $ac_cv_host in
4520 *-*-*) ;;
4521 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4522 esac
4523 host=$ac_cv_host
4524 ac_save_IFS=$IFS; IFS='-'
4525 set x $ac_cv_host
4526 shift
4527 host_cpu=$1
4528 host_vendor=$2
4529 shift; shift
4530 # Remember, the first character of IFS is used to create $*,
4531 # except with old shells:
4532 host_os=$*
4533 IFS=$ac_save_IFS
4534 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4535
4536
4537 # Backslashify metacharacters that are still active within
4538 # double-quoted strings.
4539 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4540
4541 # Same as above, but do not quote variable references.
4542 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4543
4544 # Sed substitution to delay expansion of an escaped shell variable in a
4545 # double_quote_subst'ed string.
4546 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4547
4548 # Sed substitution to delay expansion of an escaped single quote.
4549 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4550
4551 # Sed substitution to avoid accidental globbing in evaled expressions
4552 no_glob_subst='s/\*/\\\*/g'
4553
4554 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4555 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4556 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4557
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4559 $as_echo_n "checking how to print strings... " >&6; }
4560 # Test print first, because it will be a builtin if present.
4561 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4562    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4563   ECHO='print -r --'
4564 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4565   ECHO='printf %s\n'
4566 else
4567   # Use this function as a fallback that always works.
4568   func_fallback_echo ()
4569   {
4570     eval 'cat <<_LTECHO_EOF
4571 $1
4572 _LTECHO_EOF'
4573   }
4574   ECHO='func_fallback_echo'
4575 fi
4576
4577 # func_echo_all arg...
4578 # Invoke $ECHO with all args, space-separated.
4579 func_echo_all ()
4580 {
4581     $ECHO ""
4582 }
4583
4584 case "$ECHO" in
4585   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4586 $as_echo "printf" >&6; } ;;
4587   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4588 $as_echo "print -r" >&6; } ;;
4589   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4590 $as_echo "cat" >&6; } ;;
4591 esac
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4607 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4608 if ${ac_cv_path_SED+:} false; then :
4609   $as_echo_n "(cached) " >&6
4610 else
4611             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4612      for ac_i in 1 2 3 4 5 6 7; do
4613        ac_script="$ac_script$as_nl$ac_script"
4614      done
4615      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4616      { ac_script=; unset ac_script;}
4617      if test -z "$SED"; then
4618   ac_path_SED_found=false
4619   # Loop through the user's path and test for each of PROGNAME-LIST
4620   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 for as_dir in $PATH
4622 do
4623   IFS=$as_save_IFS
4624   test -z "$as_dir" && as_dir=.
4625     for ac_prog in sed gsed; do
4626     for ac_exec_ext in '' $ac_executable_extensions; do
4627       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4628       as_fn_executable_p "$ac_path_SED" || continue
4629 # Check for GNU ac_path_SED and select it if it is found.
4630   # Check for GNU $ac_path_SED
4631 case `"$ac_path_SED" --version 2>&1` in
4632 *GNU*)
4633   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4634 *)
4635   ac_count=0
4636   $as_echo_n 0123456789 >"conftest.in"
4637   while :
4638   do
4639     cat "conftest.in" "conftest.in" >"conftest.tmp"
4640     mv "conftest.tmp" "conftest.in"
4641     cp "conftest.in" "conftest.nl"
4642     $as_echo '' >> "conftest.nl"
4643     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4644     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4645     as_fn_arith $ac_count + 1 && ac_count=$as_val
4646     if test $ac_count -gt ${ac_path_SED_max-0}; then
4647       # Best one so far, save it but keep looking for a better one
4648       ac_cv_path_SED="$ac_path_SED"
4649       ac_path_SED_max=$ac_count
4650     fi
4651     # 10*(2^10) chars as input seems more than enough
4652     test $ac_count -gt 10 && break
4653   done
4654   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4655 esac
4656
4657       $ac_path_SED_found && break 3
4658     done
4659   done
4660   done
4661 IFS=$as_save_IFS
4662   if test -z "$ac_cv_path_SED"; then
4663     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4664   fi
4665 else
4666   ac_cv_path_SED=$SED
4667 fi
4668
4669 fi
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4671 $as_echo "$ac_cv_path_SED" >&6; }
4672  SED="$ac_cv_path_SED"
4673   rm -f conftest.sed
4674
4675 test -z "$SED" && SED=sed
4676 Xsed="$SED -e 1s/^X//"
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4689 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4690 if ${ac_cv_path_GREP+:} false; then :
4691   $as_echo_n "(cached) " >&6
4692 else
4693   if test -z "$GREP"; then
4694   ac_path_GREP_found=false
4695   # Loop through the user's path and test for each of PROGNAME-LIST
4696   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4698 do
4699   IFS=$as_save_IFS
4700   test -z "$as_dir" && as_dir=.
4701     for ac_prog in grep ggrep; do
4702     for ac_exec_ext in '' $ac_executable_extensions; do
4703       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4704       as_fn_executable_p "$ac_path_GREP" || continue
4705 # Check for GNU ac_path_GREP and select it if it is found.
4706   # Check for GNU $ac_path_GREP
4707 case `"$ac_path_GREP" --version 2>&1` in
4708 *GNU*)
4709   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4710 *)
4711   ac_count=0
4712   $as_echo_n 0123456789 >"conftest.in"
4713   while :
4714   do
4715     cat "conftest.in" "conftest.in" >"conftest.tmp"
4716     mv "conftest.tmp" "conftest.in"
4717     cp "conftest.in" "conftest.nl"
4718     $as_echo 'GREP' >> "conftest.nl"
4719     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4720     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4721     as_fn_arith $ac_count + 1 && ac_count=$as_val
4722     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4723       # Best one so far, save it but keep looking for a better one
4724       ac_cv_path_GREP="$ac_path_GREP"
4725       ac_path_GREP_max=$ac_count
4726     fi
4727     # 10*(2^10) chars as input seems more than enough
4728     test $ac_count -gt 10 && break
4729   done
4730   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4731 esac
4732
4733       $ac_path_GREP_found && break 3
4734     done
4735   done
4736   done
4737 IFS=$as_save_IFS
4738   if test -z "$ac_cv_path_GREP"; then
4739     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4740   fi
4741 else
4742   ac_cv_path_GREP=$GREP
4743 fi
4744
4745 fi
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4747 $as_echo "$ac_cv_path_GREP" >&6; }
4748  GREP="$ac_cv_path_GREP"
4749
4750
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4752 $as_echo_n "checking for egrep... " >&6; }
4753 if ${ac_cv_path_EGREP+:} false; then :
4754   $as_echo_n "(cached) " >&6
4755 else
4756   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4757    then ac_cv_path_EGREP="$GREP -E"
4758    else
4759      if test -z "$EGREP"; then
4760   ac_path_EGREP_found=false
4761   # Loop through the user's path and test for each of PROGNAME-LIST
4762   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4764 do
4765   IFS=$as_save_IFS
4766   test -z "$as_dir" && as_dir=.
4767     for ac_prog in egrep; do
4768     for ac_exec_ext in '' $ac_executable_extensions; do
4769       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4770       as_fn_executable_p "$ac_path_EGREP" || continue
4771 # Check for GNU ac_path_EGREP and select it if it is found.
4772   # Check for GNU $ac_path_EGREP
4773 case `"$ac_path_EGREP" --version 2>&1` in
4774 *GNU*)
4775   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4776 *)
4777   ac_count=0
4778   $as_echo_n 0123456789 >"conftest.in"
4779   while :
4780   do
4781     cat "conftest.in" "conftest.in" >"conftest.tmp"
4782     mv "conftest.tmp" "conftest.in"
4783     cp "conftest.in" "conftest.nl"
4784     $as_echo 'EGREP' >> "conftest.nl"
4785     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4786     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4787     as_fn_arith $ac_count + 1 && ac_count=$as_val
4788     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4789       # Best one so far, save it but keep looking for a better one
4790       ac_cv_path_EGREP="$ac_path_EGREP"
4791       ac_path_EGREP_max=$ac_count
4792     fi
4793     # 10*(2^10) chars as input seems more than enough
4794     test $ac_count -gt 10 && break
4795   done
4796   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4797 esac
4798
4799       $ac_path_EGREP_found && break 3
4800     done
4801   done
4802   done
4803 IFS=$as_save_IFS
4804   if test -z "$ac_cv_path_EGREP"; then
4805     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4806   fi
4807 else
4808   ac_cv_path_EGREP=$EGREP
4809 fi
4810
4811    fi
4812 fi
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4814 $as_echo "$ac_cv_path_EGREP" >&6; }
4815  EGREP="$ac_cv_path_EGREP"
4816
4817
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4819 $as_echo_n "checking for fgrep... " >&6; }
4820 if ${ac_cv_path_FGREP+:} false; then :
4821   $as_echo_n "(cached) " >&6
4822 else
4823   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4824    then ac_cv_path_FGREP="$GREP -F"
4825    else
4826      if test -z "$FGREP"; then
4827   ac_path_FGREP_found=false
4828   # Loop through the user's path and test for each of PROGNAME-LIST
4829   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4831 do
4832   IFS=$as_save_IFS
4833   test -z "$as_dir" && as_dir=.
4834     for ac_prog in fgrep; do
4835     for ac_exec_ext in '' $ac_executable_extensions; do
4836       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4837       as_fn_executable_p "$ac_path_FGREP" || continue
4838 # Check for GNU ac_path_FGREP and select it if it is found.
4839   # Check for GNU $ac_path_FGREP
4840 case `"$ac_path_FGREP" --version 2>&1` in
4841 *GNU*)
4842   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4843 *)
4844   ac_count=0
4845   $as_echo_n 0123456789 >"conftest.in"
4846   while :
4847   do
4848     cat "conftest.in" "conftest.in" >"conftest.tmp"
4849     mv "conftest.tmp" "conftest.in"
4850     cp "conftest.in" "conftest.nl"
4851     $as_echo 'FGREP' >> "conftest.nl"
4852     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4853     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4854     as_fn_arith $ac_count + 1 && ac_count=$as_val
4855     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4856       # Best one so far, save it but keep looking for a better one
4857       ac_cv_path_FGREP="$ac_path_FGREP"
4858       ac_path_FGREP_max=$ac_count
4859     fi
4860     # 10*(2^10) chars as input seems more than enough
4861     test $ac_count -gt 10 && break
4862   done
4863   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4864 esac
4865
4866       $ac_path_FGREP_found && break 3
4867     done
4868   done
4869   done
4870 IFS=$as_save_IFS
4871   if test -z "$ac_cv_path_FGREP"; then
4872     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4873   fi
4874 else
4875   ac_cv_path_FGREP=$FGREP
4876 fi
4877
4878    fi
4879 fi
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4881 $as_echo "$ac_cv_path_FGREP" >&6; }
4882  FGREP="$ac_cv_path_FGREP"
4883
4884
4885 test -z "$GREP" && GREP=grep
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905 # Check whether --with-gnu-ld was given.
4906 if test "${with_gnu_ld+set}" = set; then :
4907   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4908 else
4909   with_gnu_ld=no
4910 fi
4911
4912 ac_prog=ld
4913 if test "$GCC" = yes; then
4914   # Check if gcc -print-prog-name=ld gives a path.
4915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4916 $as_echo_n "checking for ld used by $CC... " >&6; }
4917   case $host in
4918   *-*-mingw*)
4919     # gcc leaves a trailing carriage return which upsets mingw
4920     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4921   *)
4922     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4923   esac
4924   case $ac_prog in
4925     # Accept absolute paths.
4926     [\\/]* | ?:[\\/]*)
4927       re_direlt='/[^/][^/]*/\.\./'
4928       # Canonicalize the pathname of ld
4929       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4930       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4931         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4932       done
4933       test -z "$LD" && LD="$ac_prog"
4934       ;;
4935   "")
4936     # If it fails, then pretend we aren't using GCC.
4937     ac_prog=ld
4938     ;;
4939   *)
4940     # If it is relative, then search for the first ld in PATH.
4941     with_gnu_ld=unknown
4942     ;;
4943   esac
4944 elif test "$with_gnu_ld" = yes; then
4945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4946 $as_echo_n "checking for GNU ld... " >&6; }
4947 else
4948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4949 $as_echo_n "checking for non-GNU ld... " >&6; }
4950 fi
4951 if ${lt_cv_path_LD+:} false; then :
4952   $as_echo_n "(cached) " >&6
4953 else
4954   if test -z "$LD"; then
4955   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4956   for ac_dir in $PATH; do
4957     IFS="$lt_save_ifs"
4958     test -z "$ac_dir" && ac_dir=.
4959     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4960       lt_cv_path_LD="$ac_dir/$ac_prog"
4961       # Check to see if the program is GNU ld.  I'd rather use --version,
4962       # but apparently some variants of GNU ld only accept -v.
4963       # Break only if it was the GNU/non-GNU ld that we prefer.
4964       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4965       *GNU* | *'with BFD'*)
4966         test "$with_gnu_ld" != no && break
4967         ;;
4968       *)
4969         test "$with_gnu_ld" != yes && break
4970         ;;
4971       esac
4972     fi
4973   done
4974   IFS="$lt_save_ifs"
4975 else
4976   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4977 fi
4978 fi
4979
4980 LD="$lt_cv_path_LD"
4981 if test -n "$LD"; then
4982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4983 $as_echo "$LD" >&6; }
4984 else
4985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4987 fi
4988 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4990 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4991 if ${lt_cv_prog_gnu_ld+:} false; then :
4992   $as_echo_n "(cached) " >&6
4993 else
4994   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4995 case `$LD -v 2>&1 </dev/null` in
4996 *GNU* | *'with BFD'*)
4997   lt_cv_prog_gnu_ld=yes
4998   ;;
4999 *)
5000   lt_cv_prog_gnu_ld=no
5001   ;;
5002 esac
5003 fi
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5005 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5006 with_gnu_ld=$lt_cv_prog_gnu_ld
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5017 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5018 if ${lt_cv_path_NM+:} false; then :
5019   $as_echo_n "(cached) " >&6
5020 else
5021   if test -n "$NM"; then
5022   # Let the user override the test.
5023   lt_cv_path_NM="$NM"
5024 else
5025   lt_nm_to_check="${ac_tool_prefix}nm"
5026   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5027     lt_nm_to_check="$lt_nm_to_check nm"
5028   fi
5029   for lt_tmp_nm in $lt_nm_to_check; do
5030     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5031     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5032       IFS="$lt_save_ifs"
5033       test -z "$ac_dir" && ac_dir=.
5034       tmp_nm="$ac_dir/$lt_tmp_nm"
5035       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5036         # Check to see if the nm accepts a BSD-compat flag.
5037         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5038         #   nm: unknown option "B" ignored
5039         # Tru64's nm complains that /dev/null is an invalid object file
5040         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5041         */dev/null* | *'Invalid file or object type'*)
5042           lt_cv_path_NM="$tmp_nm -B"
5043           break
5044           ;;
5045         *)
5046           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5047           */dev/null*)
5048             lt_cv_path_NM="$tmp_nm -p"
5049             break
5050             ;;
5051           *)
5052             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5053             continue # so that we can try to find one that supports BSD flags
5054             ;;
5055           esac
5056           ;;
5057         esac
5058       fi
5059     done
5060     IFS="$lt_save_ifs"
5061   done
5062   : ${lt_cv_path_NM=no}
5063 fi
5064 fi
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5066 $as_echo "$lt_cv_path_NM" >&6; }
5067 if test "$lt_cv_path_NM" != "no"; then
5068   NM="$lt_cv_path_NM"
5069 else
5070   # Didn't find any BSD compatible name lister, look for dumpbin.
5071   if test -n "$DUMPBIN"; then :
5072     # Let the user override the test.
5073   else
5074     if test -n "$ac_tool_prefix"; then
5075   for ac_prog in dumpbin "link -dump"
5076   do
5077     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_DUMPBIN+:} false; then :
5082   $as_echo_n "(cached) " >&6
5083 else
5084   if test -n "$DUMPBIN"; then
5085   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5086 else
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH
5089 do
5090   IFS=$as_save_IFS
5091   test -z "$as_dir" && as_dir=.
5092     for ac_exec_ext in '' $ac_executable_extensions; do
5093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096     break 2
5097   fi
5098 done
5099   done
5100 IFS=$as_save_IFS
5101
5102 fi
5103 fi
5104 DUMPBIN=$ac_cv_prog_DUMPBIN
5105 if test -n "$DUMPBIN"; then
5106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5107 $as_echo "$DUMPBIN" >&6; }
5108 else
5109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5111 fi
5112
5113
5114     test -n "$DUMPBIN" && break
5115   done
5116 fi
5117 if test -z "$DUMPBIN"; then
5118   ac_ct_DUMPBIN=$DUMPBIN
5119   for ac_prog in dumpbin "link -dump"
5120 do
5121   # Extract the first word of "$ac_prog", so it can be a program name with args.
5122 set dummy $ac_prog; ac_word=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5126   $as_echo_n "(cached) " >&6
5127 else
5128   if test -n "$ac_ct_DUMPBIN"; then
5129   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5130 else
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132 for as_dir in $PATH
5133 do
5134   IFS=$as_save_IFS
5135   test -z "$as_dir" && as_dir=.
5136     for ac_exec_ext in '' $ac_executable_extensions; do
5137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5138     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140     break 2
5141   fi
5142 done
5143   done
5144 IFS=$as_save_IFS
5145
5146 fi
5147 fi
5148 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5149 if test -n "$ac_ct_DUMPBIN"; then
5150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5151 $as_echo "$ac_ct_DUMPBIN" >&6; }
5152 else
5153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5155 fi
5156
5157
5158   test -n "$ac_ct_DUMPBIN" && break
5159 done
5160
5161   if test "x$ac_ct_DUMPBIN" = x; then
5162     DUMPBIN=":"
5163   else
5164     case $cross_compiling:$ac_tool_warned in
5165 yes:)
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5168 ac_tool_warned=yes ;;
5169 esac
5170     DUMPBIN=$ac_ct_DUMPBIN
5171   fi
5172 fi
5173
5174     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5175     *COFF*)
5176       DUMPBIN="$DUMPBIN -symbols"
5177       ;;
5178     *)
5179       DUMPBIN=:
5180       ;;
5181     esac
5182   fi
5183
5184   if test "$DUMPBIN" != ":"; then
5185     NM="$DUMPBIN"
5186   fi
5187 fi
5188 test -z "$NM" && NM=nm
5189
5190
5191
5192
5193
5194
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5196 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5197 if ${lt_cv_nm_interface+:} false; then :
5198   $as_echo_n "(cached) " >&6
5199 else
5200   lt_cv_nm_interface="BSD nm"
5201   echo "int some_variable = 0;" > conftest.$ac_ext
5202   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5203   (eval "$ac_compile" 2>conftest.err)
5204   cat conftest.err >&5
5205   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5206   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5207   cat conftest.err >&5
5208   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5209   cat conftest.out >&5
5210   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5211     lt_cv_nm_interface="MS dumpbin"
5212   fi
5213   rm -f conftest*
5214 fi
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5216 $as_echo "$lt_cv_nm_interface" >&6; }
5217
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5219 $as_echo_n "checking whether ln -s works... " >&6; }
5220 LN_S=$as_ln_s
5221 if test "$LN_S" = "ln -s"; then
5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5223 $as_echo "yes" >&6; }
5224 else
5225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5226 $as_echo "no, using $LN_S" >&6; }
5227 fi
5228
5229 # find the maximum length of command line arguments
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5231 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5232 if ${lt_cv_sys_max_cmd_len+:} false; then :
5233   $as_echo_n "(cached) " >&6
5234 else
5235     i=0
5236   teststring="ABCD"
5237
5238   case $build_os in
5239   msdosdjgpp*)
5240     # On DJGPP, this test can blow up pretty badly due to problems in libc
5241     # (any single argument exceeding 2000 bytes causes a buffer overrun
5242     # during glob expansion).  Even if it were fixed, the result of this
5243     # check would be larger than it should be.
5244     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5245     ;;
5246
5247   gnu*)
5248     # Under GNU Hurd, this test is not required because there is
5249     # no limit to the length of command line arguments.
5250     # Libtool will interpret -1 as no limit whatsoever
5251     lt_cv_sys_max_cmd_len=-1;
5252     ;;
5253
5254   cygwin* | mingw* | cegcc*)
5255     # On Win9x/ME, this test blows up -- it succeeds, but takes
5256     # about 5 minutes as the teststring grows exponentially.
5257     # Worse, since 9x/ME are not pre-emptively multitasking,
5258     # you end up with a "frozen" computer, even though with patience
5259     # the test eventually succeeds (with a max line length of 256k).
5260     # Instead, let's just punt: use the minimum linelength reported by
5261     # all of the supported platforms: 8192 (on NT/2K/XP).
5262     lt_cv_sys_max_cmd_len=8192;
5263     ;;
5264
5265   mint*)
5266     # On MiNT this can take a long time and run out of memory.
5267     lt_cv_sys_max_cmd_len=8192;
5268     ;;
5269
5270   amigaos*)
5271     # On AmigaOS with pdksh, this test takes hours, literally.
5272     # So we just punt and use a minimum line length of 8192.
5273     lt_cv_sys_max_cmd_len=8192;
5274     ;;
5275
5276   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5277     # This has been around since 386BSD, at least.  Likely further.
5278     if test -x /sbin/sysctl; then
5279       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5280     elif test -x /usr/sbin/sysctl; then
5281       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5282     else
5283       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5284     fi
5285     # And add a safety zone
5286     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5287     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5288     ;;
5289
5290   interix*)
5291     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5292     lt_cv_sys_max_cmd_len=196608
5293     ;;
5294
5295   os2*)
5296     # The test takes a long time on OS/2.
5297     lt_cv_sys_max_cmd_len=8192
5298     ;;
5299
5300   osf*)
5301     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5302     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5303     # nice to cause kernel panics so lets avoid the loop below.
5304     # First set a reasonable default.
5305     lt_cv_sys_max_cmd_len=16384
5306     #
5307     if test -x /sbin/sysconfig; then
5308       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5309         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5310       esac
5311     fi
5312     ;;
5313   sco3.2v5*)
5314     lt_cv_sys_max_cmd_len=102400
5315     ;;
5316   sysv5* | sco5v6* | sysv4.2uw2*)
5317     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5318     if test -n "$kargmax"; then
5319       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5320     else
5321       lt_cv_sys_max_cmd_len=32768
5322     fi
5323     ;;
5324   *)
5325     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5326     if test -n "$lt_cv_sys_max_cmd_len" && \
5327         test undefined != "$lt_cv_sys_max_cmd_len"; then
5328       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5329       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5330     else
5331       # Make teststring a little bigger before we do anything with it.
5332       # a 1K string should be a reasonable start.
5333       for i in 1 2 3 4 5 6 7 8 ; do
5334         teststring=$teststring$teststring
5335       done
5336       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5337       # If test is not a shell built-in, we'll probably end up computing a
5338       # maximum length that is only half of the actual maximum length, but
5339       # we can't tell.
5340       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5341                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5342               test $i != 17 # 1/2 MB should be enough
5343       do
5344         i=`expr $i + 1`
5345         teststring=$teststring$teststring
5346       done
5347       # Only check the string length outside the loop.
5348       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5349       teststring=
5350       # Add a significant safety factor because C++ compilers can tack on
5351       # massive amounts of additional arguments before passing them to the
5352       # linker.  It appears as though 1/2 is a usable value.
5353       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5354     fi
5355     ;;
5356   esac
5357
5358 fi
5359
5360 if test -n $lt_cv_sys_max_cmd_len ; then
5361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5362 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5363 else
5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5365 $as_echo "none" >&6; }
5366 fi
5367 max_cmd_len=$lt_cv_sys_max_cmd_len
5368
5369
5370
5371
5372
5373
5374 : ${CP="cp -f"}
5375 : ${MV="mv -f"}
5376 : ${RM="rm -f"}
5377
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5379 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5380 # Try some XSI features
5381 xsi_shell=no
5382 ( _lt_dummy="a/b/c"
5383   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5384       = c,a/b,b/c, \
5385     && eval 'test $(( 1 + 1 )) -eq 2 \
5386     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5387   && xsi_shell=yes
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5389 $as_echo "$xsi_shell" >&6; }
5390
5391
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5393 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5394 lt_shell_append=no
5395 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5396     >/dev/null 2>&1 \
5397   && lt_shell_append=yes
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5399 $as_echo "$lt_shell_append" >&6; }
5400
5401
5402 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5403   lt_unset=unset
5404 else
5405   lt_unset=false
5406 fi
5407
5408
5409
5410
5411
5412 # test EBCDIC or ASCII
5413 case `echo X|tr X '\101'` in
5414  A) # ASCII based system
5415     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5416   lt_SP2NL='tr \040 \012'
5417   lt_NL2SP='tr \015\012 \040\040'
5418   ;;
5419  *) # EBCDIC based system
5420   lt_SP2NL='tr \100 \n'
5421   lt_NL2SP='tr \r\n \100\100'
5422   ;;
5423 esac
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5434 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5435 if ${lt_cv_to_host_file_cmd+:} false; then :
5436   $as_echo_n "(cached) " >&6
5437 else
5438   case $host in
5439   *-*-mingw* )
5440     case $build in
5441       *-*-mingw* ) # actually msys
5442         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5443         ;;
5444       *-*-cygwin* )
5445         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5446         ;;
5447       * ) # otherwise, assume *nix
5448         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5449         ;;
5450     esac
5451     ;;
5452   *-*-cygwin* )
5453     case $build in
5454       *-*-mingw* ) # actually msys
5455         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5456         ;;
5457       *-*-cygwin* )
5458         lt_cv_to_host_file_cmd=func_convert_file_noop
5459         ;;
5460       * ) # otherwise, assume *nix
5461         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5462         ;;
5463     esac
5464     ;;
5465   * ) # unhandled hosts (and "normal" native builds)
5466     lt_cv_to_host_file_cmd=func_convert_file_noop
5467     ;;
5468 esac
5469
5470 fi
5471
5472 to_host_file_cmd=$lt_cv_to_host_file_cmd
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5474 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5475
5476
5477
5478
5479
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5481 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5482 if ${lt_cv_to_tool_file_cmd+:} false; then :
5483   $as_echo_n "(cached) " >&6
5484 else
5485   #assume ordinary cross tools, or native build.
5486 lt_cv_to_tool_file_cmd=func_convert_file_noop
5487 case $host in
5488   *-*-mingw* )
5489     case $build in
5490       *-*-mingw* ) # actually msys
5491         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5492         ;;
5493     esac
5494     ;;
5495 esac
5496
5497 fi
5498
5499 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5501 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5502
5503
5504
5505
5506
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5508 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5509 if ${lt_cv_ld_reload_flag+:} false; then :
5510   $as_echo_n "(cached) " >&6
5511 else
5512   lt_cv_ld_reload_flag='-r'
5513 fi
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5515 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5516 reload_flag=$lt_cv_ld_reload_flag
5517 case $reload_flag in
5518 "" | " "*) ;;
5519 *) reload_flag=" $reload_flag" ;;
5520 esac
5521 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5522 case $host_os in
5523   cygwin* | mingw* | pw32* | cegcc*)
5524     if test "$GCC" != yes; then
5525       reload_cmds=false
5526     fi
5527     ;;
5528   darwin*)
5529     if test "$GCC" = yes; then
5530       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5531     else
5532       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5533     fi
5534     ;;
5535 esac
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545 if test -n "$ac_tool_prefix"; then
5546   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5547 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_OBJDUMP+:} false; then :
5551   $as_echo_n "(cached) " >&6
5552 else
5553   if test -n "$OBJDUMP"; then
5554   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5555 else
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 for as_dir in $PATH
5558 do
5559   IFS=$as_save_IFS
5560   test -z "$as_dir" && as_dir=.
5561     for ac_exec_ext in '' $ac_executable_extensions; do
5562   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5563     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565     break 2
5566   fi
5567 done
5568   done
5569 IFS=$as_save_IFS
5570
5571 fi
5572 fi
5573 OBJDUMP=$ac_cv_prog_OBJDUMP
5574 if test -n "$OBJDUMP"; then
5575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5576 $as_echo "$OBJDUMP" >&6; }
5577 else
5578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5580 fi
5581
5582
5583 fi
5584 if test -z "$ac_cv_prog_OBJDUMP"; then
5585   ac_ct_OBJDUMP=$OBJDUMP
5586   # Extract the first word of "objdump", so it can be a program name with args.
5587 set dummy objdump; ac_word=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5591   $as_echo_n "(cached) " >&6
5592 else
5593   if test -n "$ac_ct_OBJDUMP"; then
5594   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5595 else
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 for as_dir in $PATH
5598 do
5599   IFS=$as_save_IFS
5600   test -z "$as_dir" && as_dir=.
5601     for ac_exec_ext in '' $ac_executable_extensions; do
5602   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5603     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5605     break 2
5606   fi
5607 done
5608   done
5609 IFS=$as_save_IFS
5610
5611 fi
5612 fi
5613 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5614 if test -n "$ac_ct_OBJDUMP"; then
5615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5616 $as_echo "$ac_ct_OBJDUMP" >&6; }
5617 else
5618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5620 fi
5621
5622   if test "x$ac_ct_OBJDUMP" = x; then
5623     OBJDUMP="false"
5624   else
5625     case $cross_compiling:$ac_tool_warned in
5626 yes:)
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5629 ac_tool_warned=yes ;;
5630 esac
5631     OBJDUMP=$ac_ct_OBJDUMP
5632   fi
5633 else
5634   OBJDUMP="$ac_cv_prog_OBJDUMP"
5635 fi
5636
5637 test -z "$OBJDUMP" && OBJDUMP=objdump
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5648 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5649 if ${lt_cv_deplibs_check_method+:} false; then :
5650   $as_echo_n "(cached) " >&6
5651 else
5652   lt_cv_file_magic_cmd='$MAGIC_CMD'
5653 lt_cv_file_magic_test_file=
5654 lt_cv_deplibs_check_method='unknown'
5655 # Need to set the preceding variable on all platforms that support
5656 # interlibrary dependencies.
5657 # 'none' -- dependencies not supported.
5658 # `unknown' -- same as none, but documents that we really don't know.
5659 # 'pass_all' -- all dependencies passed with no checks.
5660 # 'test_compile' -- check by making test program.
5661 # 'file_magic [[regex]]' -- check by looking for files in library path
5662 # which responds to the $file_magic_cmd with a given extended regex.
5663 # If you have `file' or equivalent on your system and you're not sure
5664 # whether `pass_all' will *always* work, you probably want this one.
5665
5666 case $host_os in
5667 aix[4-9]*)
5668   lt_cv_deplibs_check_method=pass_all
5669   ;;
5670
5671 beos*)
5672   lt_cv_deplibs_check_method=pass_all
5673   ;;
5674
5675 bsdi[45]*)
5676   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5677   lt_cv_file_magic_cmd='/usr/bin/file -L'
5678   lt_cv_file_magic_test_file=/shlib/libc.so
5679   ;;
5680
5681 cygwin*)
5682   # func_win32_libid is a shell function defined in ltmain.sh
5683   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5684   lt_cv_file_magic_cmd='func_win32_libid'
5685   ;;
5686
5687 mingw* | pw32*)
5688   # Base MSYS/MinGW do not provide the 'file' command needed by
5689   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5690   # unless we find 'file', for example because we are cross-compiling.
5691   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5692   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5693     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5694     lt_cv_file_magic_cmd='func_win32_libid'
5695   else
5696     # Keep this pattern in sync with the one in func_win32_libid.
5697     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5698     lt_cv_file_magic_cmd='$OBJDUMP -f'
5699   fi
5700   ;;
5701
5702 cegcc*)
5703   # use the weaker test based on 'objdump'. See mingw*.
5704   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5705   lt_cv_file_magic_cmd='$OBJDUMP -f'
5706   ;;
5707
5708 darwin* | rhapsody*)
5709   lt_cv_deplibs_check_method=pass_all
5710   ;;
5711
5712 freebsd* | dragonfly*)
5713   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5714     case $host_cpu in
5715     i*86 )
5716       # Not sure whether the presence of OpenBSD here was a mistake.
5717       # Let's accept both of them until this is cleared up.
5718       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5719       lt_cv_file_magic_cmd=/usr/bin/file
5720       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5721       ;;
5722     esac
5723   else
5724     lt_cv_deplibs_check_method=pass_all
5725   fi
5726   ;;
5727
5728 haiku*)
5729   lt_cv_deplibs_check_method=pass_all
5730   ;;
5731
5732 hpux10.20* | hpux11*)
5733   lt_cv_file_magic_cmd=/usr/bin/file
5734   case $host_cpu in
5735   ia64*)
5736     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5737     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5738     ;;
5739   hppa*64*)
5740     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]'
5741     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5742     ;;
5743   *)
5744     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5745     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5746     ;;
5747   esac
5748   ;;
5749
5750 interix[3-9]*)
5751   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5752   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5753   ;;
5754
5755 irix5* | irix6* | nonstopux*)
5756   case $LD in
5757   *-32|*"-32 ") libmagic=32-bit;;
5758   *-n32|*"-n32 ") libmagic=N32;;
5759   *-64|*"-64 ") libmagic=64-bit;;
5760   *) libmagic=never-match;;
5761   esac
5762   lt_cv_deplibs_check_method=pass_all
5763   ;;
5764
5765 # This must be glibc/ELF.
5766 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5767   lt_cv_deplibs_check_method=pass_all
5768   ;;
5769
5770 netbsd* | netbsdelf*-gnu)
5771   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5772     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5773   else
5774     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5775   fi
5776   ;;
5777
5778 newos6*)
5779   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5780   lt_cv_file_magic_cmd=/usr/bin/file
5781   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5782   ;;
5783
5784 *nto* | *qnx*)
5785   lt_cv_deplibs_check_method=pass_all
5786   ;;
5787
5788 openbsd*)
5789   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5790     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5791   else
5792     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5793   fi
5794   ;;
5795
5796 osf3* | osf4* | osf5*)
5797   lt_cv_deplibs_check_method=pass_all
5798   ;;
5799
5800 rdos*)
5801   lt_cv_deplibs_check_method=pass_all
5802   ;;
5803
5804 solaris*)
5805   lt_cv_deplibs_check_method=pass_all
5806   ;;
5807
5808 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5809   lt_cv_deplibs_check_method=pass_all
5810   ;;
5811
5812 sysv4 | sysv4.3*)
5813   case $host_vendor in
5814   motorola)
5815     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]'
5816     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5817     ;;
5818   ncr)
5819     lt_cv_deplibs_check_method=pass_all
5820     ;;
5821   sequent)
5822     lt_cv_file_magic_cmd='/bin/file'
5823     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5824     ;;
5825   sni)
5826     lt_cv_file_magic_cmd='/bin/file'
5827     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5828     lt_cv_file_magic_test_file=/lib/libc.so
5829     ;;
5830   siemens)
5831     lt_cv_deplibs_check_method=pass_all
5832     ;;
5833   pc)
5834     lt_cv_deplibs_check_method=pass_all
5835     ;;
5836   esac
5837   ;;
5838
5839 tpf*)
5840   lt_cv_deplibs_check_method=pass_all
5841   ;;
5842 esac
5843
5844 fi
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5846 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5847
5848 file_magic_glob=
5849 want_nocaseglob=no
5850 if test "$build" = "$host"; then
5851   case $host_os in
5852   mingw* | pw32*)
5853     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5854       want_nocaseglob=yes
5855     else
5856       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5857     fi
5858     ;;
5859   esac
5860 fi
5861
5862 file_magic_cmd=$lt_cv_file_magic_cmd
5863 deplibs_check_method=$lt_cv_deplibs_check_method
5864 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887 if test -n "$ac_tool_prefix"; then
5888   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5889 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if ${ac_cv_prog_DLLTOOL+:} false; then :
5893   $as_echo_n "(cached) " >&6
5894 else
5895   if test -n "$DLLTOOL"; then
5896   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5897 else
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 for as_dir in $PATH
5900 do
5901   IFS=$as_save_IFS
5902   test -z "$as_dir" && as_dir=.
5903     for ac_exec_ext in '' $ac_executable_extensions; do
5904   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5905     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907     break 2
5908   fi
5909 done
5910   done
5911 IFS=$as_save_IFS
5912
5913 fi
5914 fi
5915 DLLTOOL=$ac_cv_prog_DLLTOOL
5916 if test -n "$DLLTOOL"; then
5917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5918 $as_echo "$DLLTOOL" >&6; }
5919 else
5920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5922 fi
5923
5924
5925 fi
5926 if test -z "$ac_cv_prog_DLLTOOL"; then
5927   ac_ct_DLLTOOL=$DLLTOOL
5928   # Extract the first word of "dlltool", so it can be a program name with args.
5929 set dummy dlltool; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5933   $as_echo_n "(cached) " >&6
5934 else
5935   if test -n "$ac_ct_DLLTOOL"; then
5936   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5940 do
5941   IFS=$as_save_IFS
5942   test -z "$as_dir" && as_dir=.
5943     for ac_exec_ext in '' $ac_executable_extensions; do
5944   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5945     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947     break 2
5948   fi
5949 done
5950   done
5951 IFS=$as_save_IFS
5952
5953 fi
5954 fi
5955 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5956 if test -n "$ac_ct_DLLTOOL"; then
5957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5958 $as_echo "$ac_ct_DLLTOOL" >&6; }
5959 else
5960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5962 fi
5963
5964   if test "x$ac_ct_DLLTOOL" = x; then
5965     DLLTOOL="false"
5966   else
5967     case $cross_compiling:$ac_tool_warned in
5968 yes:)
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5971 ac_tool_warned=yes ;;
5972 esac
5973     DLLTOOL=$ac_ct_DLLTOOL
5974   fi
5975 else
5976   DLLTOOL="$ac_cv_prog_DLLTOOL"
5977 fi
5978
5979 test -z "$DLLTOOL" && DLLTOOL=dlltool
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5991 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5992 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5993   $as_echo_n "(cached) " >&6
5994 else
5995   lt_cv_sharedlib_from_linklib_cmd='unknown'
5996
5997 case $host_os in
5998 cygwin* | mingw* | pw32* | cegcc*)
5999   # two different shell functions defined in ltmain.sh
6000   # decide which to use based on capabilities of $DLLTOOL
6001   case `$DLLTOOL --help 2>&1` in
6002   *--identify-strict*)
6003     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6004     ;;
6005   *)
6006     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6007     ;;
6008   esac
6009   ;;
6010 *)
6011   # fallback: assume linklib IS sharedlib
6012   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6013   ;;
6014 esac
6015
6016 fi
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6018 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6019 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6020 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6021
6022
6023
6024
6025
6026
6027
6028 if test -n "$ac_tool_prefix"; then
6029   for ac_prog in ar
6030   do
6031     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_AR+:} false; then :
6036   $as_echo_n "(cached) " >&6
6037 else
6038   if test -n "$AR"; then
6039   ac_cv_prog_AR="$AR" # Let the user override the test.
6040 else
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6043 do
6044   IFS=$as_save_IFS
6045   test -z "$as_dir" && as_dir=.
6046     for ac_exec_ext in '' $ac_executable_extensions; do
6047   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050     break 2
6051   fi
6052 done
6053   done
6054 IFS=$as_save_IFS
6055
6056 fi
6057 fi
6058 AR=$ac_cv_prog_AR
6059 if test -n "$AR"; then
6060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6061 $as_echo "$AR" >&6; }
6062 else
6063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6065 fi
6066
6067
6068     test -n "$AR" && break
6069   done
6070 fi
6071 if test -z "$AR"; then
6072   ac_ct_AR=$AR
6073   for ac_prog in ar
6074 do
6075   # Extract the first word of "$ac_prog", so it can be a program name with args.
6076 set dummy $ac_prog; ac_word=$2
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6078 $as_echo_n "checking for $ac_word... " >&6; }
6079 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6080   $as_echo_n "(cached) " >&6
6081 else
6082   if test -n "$ac_ct_AR"; then
6083   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6084 else
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 for as_dir in $PATH
6087 do
6088   IFS=$as_save_IFS
6089   test -z "$as_dir" && as_dir=.
6090     for ac_exec_ext in '' $ac_executable_extensions; do
6091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6092     ac_cv_prog_ac_ct_AR="$ac_prog"
6093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6094     break 2
6095   fi
6096 done
6097   done
6098 IFS=$as_save_IFS
6099
6100 fi
6101 fi
6102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6103 if test -n "$ac_ct_AR"; then
6104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6105 $as_echo "$ac_ct_AR" >&6; }
6106 else
6107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6109 fi
6110
6111
6112   test -n "$ac_ct_AR" && break
6113 done
6114
6115   if test "x$ac_ct_AR" = x; then
6116     AR="false"
6117   else
6118     case $cross_compiling:$ac_tool_warned in
6119 yes:)
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6122 ac_tool_warned=yes ;;
6123 esac
6124     AR=$ac_ct_AR
6125   fi
6126 fi
6127
6128 : ${AR=ar}
6129 : ${AR_FLAGS=cru}
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6142 $as_echo_n "checking for archiver @FILE support... " >&6; }
6143 if ${lt_cv_ar_at_file+:} false; then :
6144   $as_echo_n "(cached) " >&6
6145 else
6146   lt_cv_ar_at_file=no
6147    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6148 /* end confdefs.h.  */
6149
6150 int
6151 main ()
6152 {
6153
6154   ;
6155   return 0;
6156 }
6157 _ACEOF
6158 if ac_fn_c_try_compile "$LINENO"; then :
6159   echo conftest.$ac_objext > conftest.lst
6160       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6161       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6162   (eval $lt_ar_try) 2>&5
6163   ac_status=$?
6164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6165   test $ac_status = 0; }
6166       if test "$ac_status" -eq 0; then
6167         # Ensure the archiver fails upon bogus file names.
6168         rm -f conftest.$ac_objext libconftest.a
6169         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6170   (eval $lt_ar_try) 2>&5
6171   ac_status=$?
6172   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6173   test $ac_status = 0; }
6174         if test "$ac_status" -ne 0; then
6175           lt_cv_ar_at_file=@
6176         fi
6177       fi
6178       rm -f conftest.* libconftest.a
6179
6180 fi
6181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6182
6183 fi
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6185 $as_echo "$lt_cv_ar_at_file" >&6; }
6186
6187 if test "x$lt_cv_ar_at_file" = xno; then
6188   archiver_list_spec=
6189 else
6190   archiver_list_spec=$lt_cv_ar_at_file
6191 fi
6192
6193
6194
6195
6196
6197
6198
6199 if test -n "$ac_tool_prefix"; then
6200   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6201 set dummy ${ac_tool_prefix}strip; ac_word=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 $as_echo_n "checking for $ac_word... " >&6; }
6204 if ${ac_cv_prog_STRIP+:} false; then :
6205   $as_echo_n "(cached) " >&6
6206 else
6207   if test -n "$STRIP"; then
6208   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6209 else
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 for as_dir in $PATH
6212 do
6213   IFS=$as_save_IFS
6214   test -z "$as_dir" && as_dir=.
6215     for ac_exec_ext in '' $ac_executable_extensions; do
6216   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6217     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6219     break 2
6220   fi
6221 done
6222   done
6223 IFS=$as_save_IFS
6224
6225 fi
6226 fi
6227 STRIP=$ac_cv_prog_STRIP
6228 if test -n "$STRIP"; then
6229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6230 $as_echo "$STRIP" >&6; }
6231 else
6232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6233 $as_echo "no" >&6; }
6234 fi
6235
6236
6237 fi
6238 if test -z "$ac_cv_prog_STRIP"; then
6239   ac_ct_STRIP=$STRIP
6240   # Extract the first word of "strip", so it can be a program name with args.
6241 set dummy strip; ac_word=$2
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6243 $as_echo_n "checking for $ac_word... " >&6; }
6244 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6245   $as_echo_n "(cached) " >&6
6246 else
6247   if test -n "$ac_ct_STRIP"; then
6248   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6249 else
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 for as_dir in $PATH
6252 do
6253   IFS=$as_save_IFS
6254   test -z "$as_dir" && as_dir=.
6255     for ac_exec_ext in '' $ac_executable_extensions; do
6256   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6257     ac_cv_prog_ac_ct_STRIP="strip"
6258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6259     break 2
6260   fi
6261 done
6262   done
6263 IFS=$as_save_IFS
6264
6265 fi
6266 fi
6267 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6268 if test -n "$ac_ct_STRIP"; then
6269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6270 $as_echo "$ac_ct_STRIP" >&6; }
6271 else
6272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6274 fi
6275
6276   if test "x$ac_ct_STRIP" = x; then
6277     STRIP=":"
6278   else
6279     case $cross_compiling:$ac_tool_warned in
6280 yes:)
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6283 ac_tool_warned=yes ;;
6284 esac
6285     STRIP=$ac_ct_STRIP
6286   fi
6287 else
6288   STRIP="$ac_cv_prog_STRIP"
6289 fi
6290
6291 test -z "$STRIP" && STRIP=:
6292
6293
6294
6295
6296
6297
6298 if test -n "$ac_tool_prefix"; then
6299   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302 $as_echo_n "checking for $ac_word... " >&6; }
6303 if ${ac_cv_prog_RANLIB+:} false; then :
6304   $as_echo_n "(cached) " >&6
6305 else
6306   if test -n "$RANLIB"; then
6307   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6308 else
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH
6311 do
6312   IFS=$as_save_IFS
6313   test -z "$as_dir" && as_dir=.
6314     for ac_exec_ext in '' $ac_executable_extensions; do
6315   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6318     break 2
6319   fi
6320 done
6321   done
6322 IFS=$as_save_IFS
6323
6324 fi
6325 fi
6326 RANLIB=$ac_cv_prog_RANLIB
6327 if test -n "$RANLIB"; then
6328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6329 $as_echo "$RANLIB" >&6; }
6330 else
6331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6333 fi
6334
6335
6336 fi
6337 if test -z "$ac_cv_prog_RANLIB"; then
6338   ac_ct_RANLIB=$RANLIB
6339   # Extract the first word of "ranlib", so it can be a program name with args.
6340 set dummy ranlib; ac_word=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6342 $as_echo_n "checking for $ac_word... " >&6; }
6343 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6344   $as_echo_n "(cached) " >&6
6345 else
6346   if test -n "$ac_ct_RANLIB"; then
6347   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6348 else
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350 for as_dir in $PATH
6351 do
6352   IFS=$as_save_IFS
6353   test -z "$as_dir" && as_dir=.
6354     for ac_exec_ext in '' $ac_executable_extensions; do
6355   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6356     ac_cv_prog_ac_ct_RANLIB="ranlib"
6357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6358     break 2
6359   fi
6360 done
6361   done
6362 IFS=$as_save_IFS
6363
6364 fi
6365 fi
6366 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6367 if test -n "$ac_ct_RANLIB"; then
6368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6369 $as_echo "$ac_ct_RANLIB" >&6; }
6370 else
6371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372 $as_echo "no" >&6; }
6373 fi
6374
6375   if test "x$ac_ct_RANLIB" = x; then
6376     RANLIB=":"
6377   else
6378     case $cross_compiling:$ac_tool_warned in
6379 yes:)
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6382 ac_tool_warned=yes ;;
6383 esac
6384     RANLIB=$ac_ct_RANLIB
6385   fi
6386 else
6387   RANLIB="$ac_cv_prog_RANLIB"
6388 fi
6389
6390 test -z "$RANLIB" && RANLIB=:
6391
6392
6393
6394
6395
6396
6397 # Determine commands to create old-style static archives.
6398 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6399 old_postinstall_cmds='chmod 644 $oldlib'
6400 old_postuninstall_cmds=
6401
6402 if test -n "$RANLIB"; then
6403   case $host_os in
6404   openbsd*)
6405     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6406     ;;
6407   *)
6408     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6409     ;;
6410   esac
6411   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6412 fi
6413
6414 case $host_os in
6415   darwin*)
6416     lock_old_archive_extraction=yes ;;
6417   *)
6418     lock_old_archive_extraction=no ;;
6419 esac
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459 # If no C compiler was specified, use CC.
6460 LTCC=${LTCC-"$CC"}
6461
6462 # If no C compiler flags were specified, use CFLAGS.
6463 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6464
6465 # Allow CC to be a program name with arguments.
6466 compiler=$CC
6467
6468
6469 # Check for command to grab the raw symbol name followed by C symbol from nm.
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6471 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6472 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6473   $as_echo_n "(cached) " >&6
6474 else
6475
6476 # These are sane defaults that work on at least a few old systems.
6477 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6478
6479 # Character class describing NM global symbol codes.
6480 symcode='[BCDEGRST]'
6481
6482 # Regexp to match symbols that can be accessed directly from C.
6483 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6484
6485 # Define system-specific variables.
6486 case $host_os in
6487 aix*)
6488   symcode='[BCDT]'
6489   ;;
6490 cygwin* | mingw* | pw32* | cegcc*)
6491   symcode='[ABCDGISTW]'
6492   ;;
6493 hpux*)
6494   if test "$host_cpu" = ia64; then
6495     symcode='[ABCDEGRST]'
6496   fi
6497   ;;
6498 irix* | nonstopux*)
6499   symcode='[BCDEGRST]'
6500   ;;
6501 osf*)
6502   symcode='[BCDEGQRST]'
6503   ;;
6504 solaris*)
6505   symcode='[BDRT]'
6506   ;;
6507 sco3.2v5*)
6508   symcode='[DT]'
6509   ;;
6510 sysv4.2uw2*)
6511   symcode='[DT]'
6512   ;;
6513 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6514   symcode='[ABDT]'
6515   ;;
6516 sysv4)
6517   symcode='[DFNSTU]'
6518   ;;
6519 esac
6520
6521 # If we're using GNU nm, then use its standard symbol codes.
6522 case `$NM -V 2>&1` in
6523 *GNU* | *'with BFD'*)
6524   symcode='[ABCDGIRSTW]' ;;
6525 esac
6526
6527 # Transform an extracted symbol line into a proper C declaration.
6528 # Some systems (esp. on ia64) link data and code symbols differently,
6529 # so use this general approach.
6530 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6531
6532 # Transform an extracted symbol line into symbol name and symbol address
6533 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6534 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'"
6535
6536 # Handle CRLF in mingw tool chain
6537 opt_cr=
6538 case $build_os in
6539 mingw*)
6540   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6541   ;;
6542 esac
6543
6544 # Try without a prefix underscore, then with it.
6545 for ac_symprfx in "" "_"; do
6546
6547   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6548   symxfrm="\\1 $ac_symprfx\\2 \\2"
6549
6550   # Write the raw and C identifiers.
6551   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6552     # Fake it for dumpbin and say T for any non-static function
6553     # and D for any global variable.
6554     # Also find C++ and __fastcall symbols from MSVC++,
6555     # which start with @ or ?.
6556     lt_cv_sys_global_symbol_pipe="$AWK '"\
6557 "     {last_section=section; section=\$ 3};"\
6558 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6559 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6560 "     \$ 0!~/External *\|/{next};"\
6561 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6562 "     {if(hide[section]) next};"\
6563 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6564 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6565 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6566 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6567 "     ' prfx=^$ac_symprfx"
6568   else
6569     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6570   fi
6571   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6572
6573   # Check to see that the pipe works correctly.
6574   pipe_works=no
6575
6576   rm -f conftest*
6577   cat > conftest.$ac_ext <<_LT_EOF
6578 #ifdef __cplusplus
6579 extern "C" {
6580 #endif
6581 char nm_test_var;
6582 void nm_test_func(void);
6583 void nm_test_func(void){}
6584 #ifdef __cplusplus
6585 }
6586 #endif
6587 int main(){nm_test_var='a';nm_test_func();return(0);}
6588 _LT_EOF
6589
6590   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6591   (eval $ac_compile) 2>&5
6592   ac_status=$?
6593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6594   test $ac_status = 0; }; then
6595     # Now try to grab the symbols.
6596     nlist=conftest.nm
6597     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6598   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6599   ac_status=$?
6600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6601   test $ac_status = 0; } && test -s "$nlist"; then
6602       # Try sorting and uniquifying the output.
6603       if sort "$nlist" | uniq > "$nlist"T; then
6604         mv -f "$nlist"T "$nlist"
6605       else
6606         rm -f "$nlist"T
6607       fi
6608
6609       # Make sure that we snagged all the symbols we need.
6610       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6611         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6612           cat <<_LT_EOF > conftest.$ac_ext
6613 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6614 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6615 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6616    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6617 # define LT_DLSYM_CONST
6618 #elif defined(__osf__)
6619 /* This system does not cope well with relocations in const data.  */
6620 # define LT_DLSYM_CONST
6621 #else
6622 # define LT_DLSYM_CONST const
6623 #endif
6624
6625 #ifdef __cplusplus
6626 extern "C" {
6627 #endif
6628
6629 _LT_EOF
6630           # Now generate the symbol file.
6631           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6632
6633           cat <<_LT_EOF >> conftest.$ac_ext
6634
6635 /* The mapping between symbol names and symbols.  */
6636 LT_DLSYM_CONST struct {
6637   const char *name;
6638   void       *address;
6639 }
6640 lt__PROGRAM__LTX_preloaded_symbols[] =
6641 {
6642   { "@PROGRAM@", (void *) 0 },
6643 _LT_EOF
6644           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6645           cat <<\_LT_EOF >> conftest.$ac_ext
6646   {0, (void *) 0}
6647 };
6648
6649 /* This works around a problem in FreeBSD linker */
6650 #ifdef FREEBSD_WORKAROUND
6651 static const void *lt_preloaded_setup() {
6652   return lt__PROGRAM__LTX_preloaded_symbols;
6653 }
6654 #endif
6655
6656 #ifdef __cplusplus
6657 }
6658 #endif
6659 _LT_EOF
6660           # Now try linking the two files.
6661           mv conftest.$ac_objext conftstm.$ac_objext
6662           lt_globsym_save_LIBS=$LIBS
6663           lt_globsym_save_CFLAGS=$CFLAGS
6664           LIBS="conftstm.$ac_objext"
6665           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6666           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6667   (eval $ac_link) 2>&5
6668   ac_status=$?
6669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6670   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6671             pipe_works=yes
6672           fi
6673           LIBS=$lt_globsym_save_LIBS
6674           CFLAGS=$lt_globsym_save_CFLAGS
6675         else
6676           echo "cannot find nm_test_func in $nlist" >&5
6677         fi
6678       else
6679         echo "cannot find nm_test_var in $nlist" >&5
6680       fi
6681     else
6682       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6683     fi
6684   else
6685     echo "$progname: failed program was:" >&5
6686     cat conftest.$ac_ext >&5
6687   fi
6688   rm -rf conftest* conftst*
6689
6690   # Do not use the global_symbol_pipe unless it works.
6691   if test "$pipe_works" = yes; then
6692     break
6693   else
6694     lt_cv_sys_global_symbol_pipe=
6695   fi
6696 done
6697
6698 fi
6699
6700 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6701   lt_cv_sys_global_symbol_to_cdecl=
6702 fi
6703 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6705 $as_echo "failed" >&6; }
6706 else
6707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6708 $as_echo "ok" >&6; }
6709 fi
6710
6711 # Response file support.
6712 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6713   nm_file_list_spec='@'
6714 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6715   nm_file_list_spec='@'
6716 fi
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6745 $as_echo_n "checking for sysroot... " >&6; }
6746
6747 # Check whether --with-sysroot was given.
6748 if test "${with_sysroot+set}" = set; then :
6749   withval=$with_sysroot;
6750 else
6751   with_sysroot=no
6752 fi
6753
6754
6755 lt_sysroot=
6756 case ${with_sysroot} in #(
6757  yes)
6758    if test "$GCC" = yes; then
6759      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6760    fi
6761    ;; #(
6762  /*)
6763    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6764    ;; #(
6765  no|'')
6766    ;; #(
6767  *)
6768    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6769 $as_echo "${with_sysroot}" >&6; }
6770    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6771    ;;
6772 esac
6773
6774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6775 $as_echo "${lt_sysroot:-no}" >&6; }
6776
6777
6778
6779
6780
6781 # Check whether --enable-libtool-lock was given.
6782 if test "${enable_libtool_lock+set}" = set; then :
6783   enableval=$enable_libtool_lock;
6784 fi
6785
6786 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6787
6788 # Some flags need to be propagated to the compiler or linker for good
6789 # libtool support.
6790 case $host in
6791 ia64-*-hpux*)
6792   # Find out which ABI we are using.
6793   echo 'int i;' > conftest.$ac_ext
6794   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6795   (eval $ac_compile) 2>&5
6796   ac_status=$?
6797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6798   test $ac_status = 0; }; then
6799     case `/usr/bin/file conftest.$ac_objext` in
6800       *ELF-32*)
6801         HPUX_IA64_MODE="32"
6802         ;;
6803       *ELF-64*)
6804         HPUX_IA64_MODE="64"
6805         ;;
6806     esac
6807   fi
6808   rm -rf conftest*
6809   ;;
6810 *-*-irix6*)
6811   # Find out which ABI we are using.
6812   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6813   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6814   (eval $ac_compile) 2>&5
6815   ac_status=$?
6816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6817   test $ac_status = 0; }; then
6818     if test "$lt_cv_prog_gnu_ld" = yes; then
6819       case `/usr/bin/file conftest.$ac_objext` in
6820         *32-bit*)
6821           LD="${LD-ld} -melf32bsmip"
6822           ;;
6823         *N32*)
6824           LD="${LD-ld} -melf32bmipn32"
6825           ;;
6826         *64-bit*)
6827           LD="${LD-ld} -melf64bmip"
6828         ;;
6829       esac
6830     else
6831       case `/usr/bin/file conftest.$ac_objext` in
6832         *32-bit*)
6833           LD="${LD-ld} -32"
6834           ;;
6835         *N32*)
6836           LD="${LD-ld} -n32"
6837           ;;
6838         *64-bit*)
6839           LD="${LD-ld} -64"
6840           ;;
6841       esac
6842     fi
6843   fi
6844   rm -rf conftest*
6845   ;;
6846
6847 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6848 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6849   # Find out which ABI we are using.
6850   echo 'int i;' > conftest.$ac_ext
6851   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6852   (eval $ac_compile) 2>&5
6853   ac_status=$?
6854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6855   test $ac_status = 0; }; then
6856     case `/usr/bin/file conftest.o` in
6857       *32-bit*)
6858         case $host in
6859           x86_64-*kfreebsd*-gnu)
6860             LD="${LD-ld} -m elf_i386_fbsd"
6861             ;;
6862           x86_64-*linux*)
6863             case `/usr/bin/file conftest.o` in
6864               *x86-64*)
6865                 LD="${LD-ld} -m elf32_x86_64"
6866                 ;;
6867               *)
6868                 LD="${LD-ld} -m elf_i386"
6869                 ;;
6870             esac
6871             ;;
6872           powerpc64le-*)
6873             LD="${LD-ld} -m elf32lppclinux"
6874             ;;
6875           powerpc64-*)
6876             LD="${LD-ld} -m elf32ppclinux"
6877             ;;
6878           s390x-*linux*)
6879             LD="${LD-ld} -m elf_s390"
6880             ;;
6881           sparc64-*linux*)
6882             LD="${LD-ld} -m elf32_sparc"
6883             ;;
6884         esac
6885         ;;
6886       *64-bit*)
6887         case $host in
6888           x86_64-*kfreebsd*-gnu)
6889             LD="${LD-ld} -m elf_x86_64_fbsd"
6890             ;;
6891           x86_64-*linux*)
6892             LD="${LD-ld} -m elf_x86_64"
6893             ;;
6894           powerpcle-*)
6895             LD="${LD-ld} -m elf64lppc"
6896             ;;
6897           powerpc-*)
6898             LD="${LD-ld} -m elf64ppc"
6899             ;;
6900           s390*-*linux*|s390*-*tpf*)
6901             LD="${LD-ld} -m elf64_s390"
6902             ;;
6903           sparc*-*linux*)
6904             LD="${LD-ld} -m elf64_sparc"
6905             ;;
6906         esac
6907         ;;
6908     esac
6909   fi
6910   rm -rf conftest*
6911   ;;
6912
6913 *-*-sco3.2v5*)
6914   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6915   SAVE_CFLAGS="$CFLAGS"
6916   CFLAGS="$CFLAGS -belf"
6917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6918 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6919 if ${lt_cv_cc_needs_belf+:} false; then :
6920   $as_echo_n "(cached) " >&6
6921 else
6922   ac_ext=c
6923 ac_cpp='$CPP $CPPFLAGS'
6924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6927
6928      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6929 /* end confdefs.h.  */
6930
6931 int
6932 main ()
6933 {
6934
6935   ;
6936   return 0;
6937 }
6938 _ACEOF
6939 if ac_fn_c_try_link "$LINENO"; then :
6940   lt_cv_cc_needs_belf=yes
6941 else
6942   lt_cv_cc_needs_belf=no
6943 fi
6944 rm -f core conftest.err conftest.$ac_objext \
6945     conftest$ac_exeext conftest.$ac_ext
6946      ac_ext=c
6947 ac_cpp='$CPP $CPPFLAGS'
6948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6951
6952 fi
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6954 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6955   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6956     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6957     CFLAGS="$SAVE_CFLAGS"
6958   fi
6959   ;;
6960 *-*solaris*)
6961   # Find out which ABI we are using.
6962   echo 'int i;' > conftest.$ac_ext
6963   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6964   (eval $ac_compile) 2>&5
6965   ac_status=$?
6966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6967   test $ac_status = 0; }; then
6968     case `/usr/bin/file conftest.o` in
6969     *64-bit*)
6970       case $lt_cv_prog_gnu_ld in
6971       yes*)
6972         case $host in
6973         i?86-*-solaris*)
6974           LD="${LD-ld} -m elf_x86_64"
6975           ;;
6976         sparc*-*-solaris*)
6977           LD="${LD-ld} -m elf64_sparc"
6978           ;;
6979         esac
6980         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6981         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6982           LD="${LD-ld}_sol2"
6983         fi
6984         ;;
6985       *)
6986         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6987           LD="${LD-ld} -64"
6988         fi
6989         ;;
6990       esac
6991       ;;
6992     esac
6993   fi
6994   rm -rf conftest*
6995   ;;
6996 esac
6997
6998 need_locks="$enable_libtool_lock"
6999
7000 if test -n "$ac_tool_prefix"; then
7001   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7002 set dummy ${ac_tool_prefix}mt; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7006   $as_echo_n "(cached) " >&6
7007 else
7008   if test -n "$MANIFEST_TOOL"; then
7009   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7010 else
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 for as_dir in $PATH
7013 do
7014   IFS=$as_save_IFS
7015   test -z "$as_dir" && as_dir=.
7016     for ac_exec_ext in '' $ac_executable_extensions; do
7017   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020     break 2
7021   fi
7022 done
7023   done
7024 IFS=$as_save_IFS
7025
7026 fi
7027 fi
7028 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7029 if test -n "$MANIFEST_TOOL"; then
7030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7031 $as_echo "$MANIFEST_TOOL" >&6; }
7032 else
7033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7035 fi
7036
7037
7038 fi
7039 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7040   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7041   # Extract the first word of "mt", so it can be a program name with args.
7042 set dummy mt; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7046   $as_echo_n "(cached) " >&6
7047 else
7048   if test -n "$ac_ct_MANIFEST_TOOL"; then
7049   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7050 else
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052 for as_dir in $PATH
7053 do
7054   IFS=$as_save_IFS
7055   test -z "$as_dir" && as_dir=.
7056     for ac_exec_ext in '' $ac_executable_extensions; do
7057   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060     break 2
7061   fi
7062 done
7063   done
7064 IFS=$as_save_IFS
7065
7066 fi
7067 fi
7068 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7069 if test -n "$ac_ct_MANIFEST_TOOL"; then
7070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7071 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7072 else
7073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7075 fi
7076
7077   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7078     MANIFEST_TOOL=":"
7079   else
7080     case $cross_compiling:$ac_tool_warned in
7081 yes:)
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7084 ac_tool_warned=yes ;;
7085 esac
7086     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7087   fi
7088 else
7089   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7090 fi
7091
7092 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7094 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7095 if ${lt_cv_path_mainfest_tool+:} false; then :
7096   $as_echo_n "(cached) " >&6
7097 else
7098   lt_cv_path_mainfest_tool=no
7099   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7100   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7101   cat conftest.err >&5
7102   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7103     lt_cv_path_mainfest_tool=yes
7104   fi
7105   rm -f conftest*
7106 fi
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7108 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7109 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7110   MANIFEST_TOOL=:
7111 fi
7112
7113
7114
7115
7116
7117
7118   case $host_os in
7119     rhapsody* | darwin*)
7120     if test -n "$ac_tool_prefix"; then
7121   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7122 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7124 $as_echo_n "checking for $ac_word... " >&6; }
7125 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7126   $as_echo_n "(cached) " >&6
7127 else
7128   if test -n "$DSYMUTIL"; then
7129   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7130 else
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 for as_dir in $PATH
7133 do
7134   IFS=$as_save_IFS
7135   test -z "$as_dir" && as_dir=.
7136     for ac_exec_ext in '' $ac_executable_extensions; do
7137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7138     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140     break 2
7141   fi
7142 done
7143   done
7144 IFS=$as_save_IFS
7145
7146 fi
7147 fi
7148 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7149 if test -n "$DSYMUTIL"; then
7150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7151 $as_echo "$DSYMUTIL" >&6; }
7152 else
7153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154 $as_echo "no" >&6; }
7155 fi
7156
7157
7158 fi
7159 if test -z "$ac_cv_prog_DSYMUTIL"; then
7160   ac_ct_DSYMUTIL=$DSYMUTIL
7161   # Extract the first word of "dsymutil", so it can be a program name with args.
7162 set dummy dsymutil; ac_word=$2
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 $as_echo_n "checking for $ac_word... " >&6; }
7165 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7166   $as_echo_n "(cached) " >&6
7167 else
7168   if test -n "$ac_ct_DSYMUTIL"; then
7169   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7170 else
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 for as_dir in $PATH
7173 do
7174   IFS=$as_save_IFS
7175   test -z "$as_dir" && as_dir=.
7176     for ac_exec_ext in '' $ac_executable_extensions; do
7177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7178     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7180     break 2
7181   fi
7182 done
7183   done
7184 IFS=$as_save_IFS
7185
7186 fi
7187 fi
7188 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7189 if test -n "$ac_ct_DSYMUTIL"; then
7190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7191 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7192 else
7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 $as_echo "no" >&6; }
7195 fi
7196
7197   if test "x$ac_ct_DSYMUTIL" = x; then
7198     DSYMUTIL=":"
7199   else
7200     case $cross_compiling:$ac_tool_warned in
7201 yes:)
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7204 ac_tool_warned=yes ;;
7205 esac
7206     DSYMUTIL=$ac_ct_DSYMUTIL
7207   fi
7208 else
7209   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7210 fi
7211
7212     if test -n "$ac_tool_prefix"; then
7213   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7214 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_NMEDIT+:} false; then :
7218   $as_echo_n "(cached) " >&6
7219 else
7220   if test -n "$NMEDIT"; then
7221   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7225 do
7226   IFS=$as_save_IFS
7227   test -z "$as_dir" && as_dir=.
7228     for ac_exec_ext in '' $ac_executable_extensions; do
7229   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232     break 2
7233   fi
7234 done
7235   done
7236 IFS=$as_save_IFS
7237
7238 fi
7239 fi
7240 NMEDIT=$ac_cv_prog_NMEDIT
7241 if test -n "$NMEDIT"; then
7242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7243 $as_echo "$NMEDIT" >&6; }
7244 else
7245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7247 fi
7248
7249
7250 fi
7251 if test -z "$ac_cv_prog_NMEDIT"; then
7252   ac_ct_NMEDIT=$NMEDIT
7253   # Extract the first word of "nmedit", so it can be a program name with args.
7254 set dummy nmedit; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7258   $as_echo_n "(cached) " >&6
7259 else
7260   if test -n "$ac_ct_NMEDIT"; then
7261   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7262 else
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264 for as_dir in $PATH
7265 do
7266   IFS=$as_save_IFS
7267   test -z "$as_dir" && as_dir=.
7268     for ac_exec_ext in '' $ac_executable_extensions; do
7269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272     break 2
7273   fi
7274 done
7275   done
7276 IFS=$as_save_IFS
7277
7278 fi
7279 fi
7280 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7281 if test -n "$ac_ct_NMEDIT"; then
7282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7283 $as_echo "$ac_ct_NMEDIT" >&6; }
7284 else
7285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7287 fi
7288
7289   if test "x$ac_ct_NMEDIT" = x; then
7290     NMEDIT=":"
7291   else
7292     case $cross_compiling:$ac_tool_warned in
7293 yes:)
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7296 ac_tool_warned=yes ;;
7297 esac
7298     NMEDIT=$ac_ct_NMEDIT
7299   fi
7300 else
7301   NMEDIT="$ac_cv_prog_NMEDIT"
7302 fi
7303
7304     if test -n "$ac_tool_prefix"; then
7305   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_LIPO+:} false; then :
7310   $as_echo_n "(cached) " >&6
7311 else
7312   if test -n "$LIPO"; then
7313   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7317 do
7318   IFS=$as_save_IFS
7319   test -z "$as_dir" && as_dir=.
7320     for ac_exec_ext in '' $ac_executable_extensions; do
7321   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324     break 2
7325   fi
7326 done
7327   done
7328 IFS=$as_save_IFS
7329
7330 fi
7331 fi
7332 LIPO=$ac_cv_prog_LIPO
7333 if test -n "$LIPO"; then
7334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7335 $as_echo "$LIPO" >&6; }
7336 else
7337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7339 fi
7340
7341
7342 fi
7343 if test -z "$ac_cv_prog_LIPO"; then
7344   ac_ct_LIPO=$LIPO
7345   # Extract the first word of "lipo", so it can be a program name with args.
7346 set dummy lipo; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7350   $as_echo_n "(cached) " >&6
7351 else
7352   if test -n "$ac_ct_LIPO"; then
7353   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7357 do
7358   IFS=$as_save_IFS
7359   test -z "$as_dir" && as_dir=.
7360     for ac_exec_ext in '' $ac_executable_extensions; do
7361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362     ac_cv_prog_ac_ct_LIPO="lipo"
7363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364     break 2
7365   fi
7366 done
7367   done
7368 IFS=$as_save_IFS
7369
7370 fi
7371 fi
7372 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7373 if test -n "$ac_ct_LIPO"; then
7374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7375 $as_echo "$ac_ct_LIPO" >&6; }
7376 else
7377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7379 fi
7380
7381   if test "x$ac_ct_LIPO" = x; then
7382     LIPO=":"
7383   else
7384     case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390     LIPO=$ac_ct_LIPO
7391   fi
7392 else
7393   LIPO="$ac_cv_prog_LIPO"
7394 fi
7395
7396     if test -n "$ac_tool_prefix"; then
7397   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7398 set dummy ${ac_tool_prefix}otool; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400 $as_echo_n "checking for $ac_word... " >&6; }
7401 if ${ac_cv_prog_OTOOL+:} false; then :
7402   $as_echo_n "(cached) " >&6
7403 else
7404   if test -n "$OTOOL"; then
7405   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7406 else
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 for as_dir in $PATH
7409 do
7410   IFS=$as_save_IFS
7411   test -z "$as_dir" && as_dir=.
7412     for ac_exec_ext in '' $ac_executable_extensions; do
7413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7414     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7416     break 2
7417   fi
7418 done
7419   done
7420 IFS=$as_save_IFS
7421
7422 fi
7423 fi
7424 OTOOL=$ac_cv_prog_OTOOL
7425 if test -n "$OTOOL"; then
7426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7427 $as_echo "$OTOOL" >&6; }
7428 else
7429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7431 fi
7432
7433
7434 fi
7435 if test -z "$ac_cv_prog_OTOOL"; then
7436   ac_ct_OTOOL=$OTOOL
7437   # Extract the first word of "otool", so it can be a program name with args.
7438 set dummy otool; ac_word=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 $as_echo_n "checking for $ac_word... " >&6; }
7441 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7442   $as_echo_n "(cached) " >&6
7443 else
7444   if test -n "$ac_ct_OTOOL"; then
7445   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7446 else
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 for as_dir in $PATH
7449 do
7450   IFS=$as_save_IFS
7451   test -z "$as_dir" && as_dir=.
7452     for ac_exec_ext in '' $ac_executable_extensions; do
7453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7454     ac_cv_prog_ac_ct_OTOOL="otool"
7455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7456     break 2
7457   fi
7458 done
7459   done
7460 IFS=$as_save_IFS
7461
7462 fi
7463 fi
7464 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7465 if test -n "$ac_ct_OTOOL"; then
7466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7467 $as_echo "$ac_ct_OTOOL" >&6; }
7468 else
7469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7471 fi
7472
7473   if test "x$ac_ct_OTOOL" = x; then
7474     OTOOL=":"
7475   else
7476     case $cross_compiling:$ac_tool_warned in
7477 yes:)
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7480 ac_tool_warned=yes ;;
7481 esac
7482     OTOOL=$ac_ct_OTOOL
7483   fi
7484 else
7485   OTOOL="$ac_cv_prog_OTOOL"
7486 fi
7487
7488     if test -n "$ac_tool_prefix"; then
7489   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7490 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if ${ac_cv_prog_OTOOL64+:} false; then :
7494   $as_echo_n "(cached) " >&6
7495 else
7496   if test -n "$OTOOL64"; then
7497   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7498 else
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 for as_dir in $PATH
7501 do
7502   IFS=$as_save_IFS
7503   test -z "$as_dir" && as_dir=.
7504     for ac_exec_ext in '' $ac_executable_extensions; do
7505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508     break 2
7509   fi
7510 done
7511   done
7512 IFS=$as_save_IFS
7513
7514 fi
7515 fi
7516 OTOOL64=$ac_cv_prog_OTOOL64
7517 if test -n "$OTOOL64"; then
7518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7519 $as_echo "$OTOOL64" >&6; }
7520 else
7521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7523 fi
7524
7525
7526 fi
7527 if test -z "$ac_cv_prog_OTOOL64"; then
7528   ac_ct_OTOOL64=$OTOOL64
7529   # Extract the first word of "otool64", so it can be a program name with args.
7530 set dummy otool64; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7534   $as_echo_n "(cached) " >&6
7535 else
7536   if test -n "$ac_ct_OTOOL64"; then
7537   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7538 else
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 for as_dir in $PATH
7541 do
7542   IFS=$as_save_IFS
7543   test -z "$as_dir" && as_dir=.
7544     for ac_exec_ext in '' $ac_executable_extensions; do
7545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7546     ac_cv_prog_ac_ct_OTOOL64="otool64"
7547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548     break 2
7549   fi
7550 done
7551   done
7552 IFS=$as_save_IFS
7553
7554 fi
7555 fi
7556 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7557 if test -n "$ac_ct_OTOOL64"; then
7558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7559 $as_echo "$ac_ct_OTOOL64" >&6; }
7560 else
7561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7563 fi
7564
7565   if test "x$ac_ct_OTOOL64" = x; then
7566     OTOOL64=":"
7567   else
7568     case $cross_compiling:$ac_tool_warned in
7569 yes:)
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7572 ac_tool_warned=yes ;;
7573 esac
7574     OTOOL64=$ac_ct_OTOOL64
7575   fi
7576 else
7577   OTOOL64="$ac_cv_prog_OTOOL64"
7578 fi
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7607 $as_echo_n "checking for -single_module linker flag... " >&6; }
7608 if ${lt_cv_apple_cc_single_mod+:} false; then :
7609   $as_echo_n "(cached) " >&6
7610 else
7611   lt_cv_apple_cc_single_mod=no
7612       if test -z "${LT_MULTI_MODULE}"; then
7613         # By default we will add the -single_module flag. You can override
7614         # by either setting the environment variable LT_MULTI_MODULE
7615         # non-empty at configure time, or by adding -multi_module to the
7616         # link flags.
7617         rm -rf libconftest.dylib*
7618         echo "int foo(void){return 1;}" > conftest.c
7619         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7620 -dynamiclib -Wl,-single_module conftest.c" >&5
7621         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7622           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7623         _lt_result=$?
7624         # If there is a non-empty error log, and "single_module"
7625         # appears in it, assume the flag caused a linker warning
7626         if test -s conftest.err && $GREP single_module conftest.err; then
7627           cat conftest.err >&5
7628         # Otherwise, if the output was created with a 0 exit code from
7629         # the compiler, it worked.
7630         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7631           lt_cv_apple_cc_single_mod=yes
7632         else
7633           cat conftest.err >&5
7634         fi
7635         rm -rf libconftest.dylib*
7636         rm -f conftest.*
7637       fi
7638 fi
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7640 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7641
7642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7643 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7644 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7645   $as_echo_n "(cached) " >&6
7646 else
7647   lt_cv_ld_exported_symbols_list=no
7648       save_LDFLAGS=$LDFLAGS
7649       echo "_main" > conftest.sym
7650       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h.  */
7653
7654 int
7655 main ()
7656 {
7657
7658   ;
7659   return 0;
7660 }
7661 _ACEOF
7662 if ac_fn_c_try_link "$LINENO"; then :
7663   lt_cv_ld_exported_symbols_list=yes
7664 else
7665   lt_cv_ld_exported_symbols_list=no
7666 fi
7667 rm -f core conftest.err conftest.$ac_objext \
7668     conftest$ac_exeext conftest.$ac_ext
7669         LDFLAGS="$save_LDFLAGS"
7670
7671 fi
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7673 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7674
7675     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7676 $as_echo_n "checking for -force_load linker flag... " >&6; }
7677 if ${lt_cv_ld_force_load+:} false; then :
7678   $as_echo_n "(cached) " >&6
7679 else
7680   lt_cv_ld_force_load=no
7681       cat > conftest.c << _LT_EOF
7682 int forced_loaded() { return 2;}
7683 _LT_EOF
7684       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7685       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7686       echo "$AR cru libconftest.a conftest.o" >&5
7687       $AR cru libconftest.a conftest.o 2>&5
7688       echo "$RANLIB libconftest.a" >&5
7689       $RANLIB libconftest.a 2>&5
7690       cat > conftest.c << _LT_EOF
7691 int main() { return 0;}
7692 _LT_EOF
7693       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7694       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7695       _lt_result=$?
7696       if test -s conftest.err && $GREP force_load conftest.err; then
7697         cat conftest.err >&5
7698       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7699         lt_cv_ld_force_load=yes
7700       else
7701         cat conftest.err >&5
7702       fi
7703         rm -f conftest.err libconftest.a conftest conftest.c
7704         rm -rf conftest.dSYM
7705
7706 fi
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7708 $as_echo "$lt_cv_ld_force_load" >&6; }
7709     case $host_os in
7710     rhapsody* | darwin1.[012])
7711       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7712     darwin1.*)
7713       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7714     darwin*) # darwin 5.x on
7715       # if running on 10.5 or later, the deployment target defaults
7716       # to the OS version, if on x86, and 10.4, the deployment
7717       # target defaults to 10.4. Don't you love it?
7718       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7719         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7720           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7721         10.[012]*)
7722           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7723         10.*)
7724           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7725       esac
7726     ;;
7727   esac
7728     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7729       _lt_dar_single_mod='$single_module'
7730     fi
7731     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7732       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7733     else
7734       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7735     fi
7736     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7737       _lt_dsymutil='~$DSYMUTIL $lib || :'
7738     else
7739       _lt_dsymutil=
7740     fi
7741     ;;
7742   esac
7743
7744 ac_ext=c
7745 ac_cpp='$CPP $CPPFLAGS'
7746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7750 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7751 # On Suns, sometimes $CPP names a directory.
7752 if test -n "$CPP" && test -d "$CPP"; then
7753   CPP=
7754 fi
7755 if test -z "$CPP"; then
7756   if ${ac_cv_prog_CPP+:} false; then :
7757   $as_echo_n "(cached) " >&6
7758 else
7759       # Double quotes because CPP needs to be expanded
7760     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7761     do
7762       ac_preproc_ok=false
7763 for ac_c_preproc_warn_flag in '' yes
7764 do
7765   # Use a header file that comes with gcc, so configuring glibc
7766   # with a fresh cross-compiler works.
7767   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7768   # <limits.h> exists even on freestanding compilers.
7769   # On the NeXT, cc -E runs the code through the compiler's parser,
7770   # not just through cpp. "Syntax error" is here to catch this case.
7771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h.  */
7773 #ifdef __STDC__
7774 # include <limits.h>
7775 #else
7776 # include <assert.h>
7777 #endif
7778                      Syntax error
7779 _ACEOF
7780 if ac_fn_c_try_cpp "$LINENO"; then :
7781
7782 else
7783   # Broken: fails on valid input.
7784 continue
7785 fi
7786 rm -f conftest.err conftest.i conftest.$ac_ext
7787
7788   # OK, works on sane cases.  Now check whether nonexistent headers
7789   # can be detected and how.
7790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7791 /* end confdefs.h.  */
7792 #include <ac_nonexistent.h>
7793 _ACEOF
7794 if ac_fn_c_try_cpp "$LINENO"; then :
7795   # Broken: success on invalid input.
7796 continue
7797 else
7798   # Passes both tests.
7799 ac_preproc_ok=:
7800 break
7801 fi
7802 rm -f conftest.err conftest.i conftest.$ac_ext
7803
7804 done
7805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7806 rm -f conftest.i conftest.err conftest.$ac_ext
7807 if $ac_preproc_ok; then :
7808   break
7809 fi
7810
7811     done
7812     ac_cv_prog_CPP=$CPP
7813
7814 fi
7815   CPP=$ac_cv_prog_CPP
7816 else
7817   ac_cv_prog_CPP=$CPP
7818 fi
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7820 $as_echo "$CPP" >&6; }
7821 ac_preproc_ok=false
7822 for ac_c_preproc_warn_flag in '' yes
7823 do
7824   # Use a header file that comes with gcc, so configuring glibc
7825   # with a fresh cross-compiler works.
7826   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7827   # <limits.h> exists even on freestanding compilers.
7828   # On the NeXT, cc -E runs the code through the compiler's parser,
7829   # not just through cpp. "Syntax error" is here to catch this case.
7830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h.  */
7832 #ifdef __STDC__
7833 # include <limits.h>
7834 #else
7835 # include <assert.h>
7836 #endif
7837                      Syntax error
7838 _ACEOF
7839 if ac_fn_c_try_cpp "$LINENO"; then :
7840
7841 else
7842   # Broken: fails on valid input.
7843 continue
7844 fi
7845 rm -f conftest.err conftest.i conftest.$ac_ext
7846
7847   # OK, works on sane cases.  Now check whether nonexistent headers
7848   # can be detected and how.
7849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h.  */
7851 #include <ac_nonexistent.h>
7852 _ACEOF
7853 if ac_fn_c_try_cpp "$LINENO"; then :
7854   # Broken: success on invalid input.
7855 continue
7856 else
7857   # Passes both tests.
7858 ac_preproc_ok=:
7859 break
7860 fi
7861 rm -f conftest.err conftest.i conftest.$ac_ext
7862
7863 done
7864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7865 rm -f conftest.i conftest.err conftest.$ac_ext
7866 if $ac_preproc_ok; then :
7867
7868 else
7869   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7871 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7872 See \`config.log' for more details" "$LINENO" 5; }
7873 fi
7874
7875 ac_ext=c
7876 ac_cpp='$CPP $CPPFLAGS'
7877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7880
7881
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if ${ac_cv_header_stdc+:} false; then :
7885   $as_echo_n "(cached) " >&6
7886 else
7887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h.  */
7889 #include <stdlib.h>
7890 #include <stdarg.h>
7891 #include <string.h>
7892 #include <float.h>
7893
7894 int
7895 main ()
7896 {
7897
7898   ;
7899   return 0;
7900 }
7901 _ACEOF
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903   ac_cv_header_stdc=yes
7904 else
7905   ac_cv_header_stdc=no
7906 fi
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7908
7909 if test $ac_cv_header_stdc = yes; then
7910   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h.  */
7913 #include <string.h>
7914
7915 _ACEOF
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917   $EGREP "memchr" >/dev/null 2>&1; then :
7918
7919 else
7920   ac_cv_header_stdc=no
7921 fi
7922 rm -f conftest*
7923
7924 fi
7925
7926 if test $ac_cv_header_stdc = yes; then
7927   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h.  */
7930 #include <stdlib.h>
7931
7932 _ACEOF
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934   $EGREP "free" >/dev/null 2>&1; then :
7935
7936 else
7937   ac_cv_header_stdc=no
7938 fi
7939 rm -f conftest*
7940
7941 fi
7942
7943 if test $ac_cv_header_stdc = yes; then
7944   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945   if test "$cross_compiling" = yes; then :
7946   :
7947 else
7948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h.  */
7950 #include <ctype.h>
7951 #include <stdlib.h>
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7955 #else
7956 # define ISLOWER(c) \
7957                    (('a' <= (c) && (c) <= 'i') \
7958                      || ('j' <= (c) && (c) <= 'r') \
7959                      || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #endif
7962
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7964 int
7965 main ()
7966 {
7967   int i;
7968   for (i = 0; i < 256; i++)
7969     if (XOR (islower (i), ISLOWER (i))
7970         || toupper (i) != TOUPPER (i))
7971       return 2;
7972   return 0;
7973 }
7974 _ACEOF
7975 if ac_fn_c_try_run "$LINENO"; then :
7976
7977 else
7978   ac_cv_header_stdc=no
7979 fi
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981   conftest.$ac_objext conftest.beam conftest.$ac_ext
7982 fi
7983
7984 fi
7985 fi
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7989
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7991
7992 fi
7993
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996                   inttypes.h stdint.h unistd.h
7997 do :
7998   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8000 "
8001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8002   cat >>confdefs.h <<_ACEOF
8003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8004 _ACEOF
8005
8006 fi
8007
8008 done
8009
8010
8011 for ac_header in dlfcn.h
8012 do :
8013   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8014 "
8015 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8016   cat >>confdefs.h <<_ACEOF
8017 #define HAVE_DLFCN_H 1
8018 _ACEOF
8019
8020 fi
8021
8022 done
8023
8024
8025
8026
8027
8028 # Set options
8029 # Check whether --enable-static was given.
8030 if test "${enable_static+set}" = set; then :
8031   enableval=$enable_static; p=${PACKAGE-default}
8032     case $enableval in
8033     yes) enable_static=yes ;;
8034     no) enable_static=no ;;
8035     *)
8036      enable_static=no
8037       # Look at the argument we got.  We use all the common list separators.
8038       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8039       for pkg in $enableval; do
8040         IFS="$lt_save_ifs"
8041         if test "X$pkg" = "X$p"; then
8042           enable_static=yes
8043         fi
8044       done
8045       IFS="$lt_save_ifs"
8046       ;;
8047     esac
8048 else
8049   enable_static=no
8050 fi
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061         enable_dlopen=no
8062
8063
8064   enable_win32_dll=no
8065
8066
8067             # Check whether --enable-shared was given.
8068 if test "${enable_shared+set}" = set; then :
8069   enableval=$enable_shared; p=${PACKAGE-default}
8070     case $enableval in
8071     yes) enable_shared=yes ;;
8072     no) enable_shared=no ;;
8073     *)
8074       enable_shared=no
8075       # Look at the argument we got.  We use all the common list separators.
8076       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8077       for pkg in $enableval; do
8078         IFS="$lt_save_ifs"
8079         if test "X$pkg" = "X$p"; then
8080           enable_shared=yes
8081         fi
8082       done
8083       IFS="$lt_save_ifs"
8084       ;;
8085     esac
8086 else
8087   enable_shared=yes
8088 fi
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100 # Check whether --with-pic was given.
8101 if test "${with_pic+set}" = set; then :
8102   withval=$with_pic; lt_p=${PACKAGE-default}
8103     case $withval in
8104     yes|no) pic_mode=$withval ;;
8105     *)
8106       pic_mode=default
8107       # Look at the argument we got.  We use all the common list separators.
8108       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8109       for lt_pkg in $withval; do
8110         IFS="$lt_save_ifs"
8111         if test "X$lt_pkg" = "X$lt_p"; then
8112           pic_mode=yes
8113         fi
8114       done
8115       IFS="$lt_save_ifs"
8116       ;;
8117     esac
8118 else
8119   pic_mode=default
8120 fi
8121
8122
8123 test -z "$pic_mode" && pic_mode=default
8124
8125
8126
8127
8128
8129
8130
8131   # Check whether --enable-fast-install was given.
8132 if test "${enable_fast_install+set}" = set; then :
8133   enableval=$enable_fast_install; p=${PACKAGE-default}
8134     case $enableval in
8135     yes) enable_fast_install=yes ;;
8136     no) enable_fast_install=no ;;
8137     *)
8138       enable_fast_install=no
8139       # Look at the argument we got.  We use all the common list separators.
8140       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8141       for pkg in $enableval; do
8142         IFS="$lt_save_ifs"
8143         if test "X$pkg" = "X$p"; then
8144           enable_fast_install=yes
8145         fi
8146       done
8147       IFS="$lt_save_ifs"
8148       ;;
8149     esac
8150 else
8151   enable_fast_install=yes
8152 fi
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164 # This can be used to rebuild libtool when needed
8165 LIBTOOL_DEPS="$ltmain"
8166
8167 # Always use our own libtool.
8168 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199 test -z "$LN_S" && LN_S="ln -s"
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214 if test -n "${ZSH_VERSION+set}" ; then
8215    setopt NO_GLOB_SUBST
8216 fi
8217
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8219 $as_echo_n "checking for objdir... " >&6; }
8220 if ${lt_cv_objdir+:} false; then :
8221   $as_echo_n "(cached) " >&6
8222 else
8223   rm -f .libs 2>/dev/null
8224 mkdir .libs 2>/dev/null
8225 if test -d .libs; then
8226   lt_cv_objdir=.libs
8227 else
8228   # MS-DOS does not allow filenames that begin with a dot.
8229   lt_cv_objdir=_libs
8230 fi
8231 rmdir .libs 2>/dev/null
8232 fi
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8234 $as_echo "$lt_cv_objdir" >&6; }
8235 objdir=$lt_cv_objdir
8236
8237
8238
8239
8240
8241 cat >>confdefs.h <<_ACEOF
8242 #define LT_OBJDIR "$lt_cv_objdir/"
8243 _ACEOF
8244
8245
8246
8247
8248 case $host_os in
8249 aix3*)
8250   # AIX sometimes has problems with the GCC collect2 program.  For some
8251   # reason, if we set the COLLECT_NAMES environment variable, the problems
8252   # vanish in a puff of smoke.
8253   if test "X${COLLECT_NAMES+set}" != Xset; then
8254     COLLECT_NAMES=
8255     export COLLECT_NAMES
8256   fi
8257   ;;
8258 esac
8259
8260 # Global variables:
8261 ofile=libtool
8262 can_build_shared=yes
8263
8264 # All known linkers require a `.a' archive for static linking (except MSVC,
8265 # which needs '.lib').
8266 libext=a
8267
8268 with_gnu_ld="$lt_cv_prog_gnu_ld"
8269
8270 old_CC="$CC"
8271 old_CFLAGS="$CFLAGS"
8272
8273 # Set sane defaults for various variables
8274 test -z "$CC" && CC=cc
8275 test -z "$LTCC" && LTCC=$CC
8276 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8277 test -z "$LD" && LD=ld
8278 test -z "$ac_objext" && ac_objext=o
8279
8280 for cc_temp in $compiler""; do
8281   case $cc_temp in
8282     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8283     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8284     \-*) ;;
8285     *) break;;
8286   esac
8287 done
8288 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8289
8290
8291 # Only perform the check for file, if the check method requires it
8292 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8293 case $deplibs_check_method in
8294 file_magic*)
8295   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8296     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8297 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8298 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8299   $as_echo_n "(cached) " >&6
8300 else
8301   case $MAGIC_CMD in
8302 [\\/*] |  ?:[\\/]*)
8303   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8304   ;;
8305 *)
8306   lt_save_MAGIC_CMD="$MAGIC_CMD"
8307   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8308   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8309   for ac_dir in $ac_dummy; do
8310     IFS="$lt_save_ifs"
8311     test -z "$ac_dir" && ac_dir=.
8312     if test -f $ac_dir/${ac_tool_prefix}file; then
8313       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8314       if test -n "$file_magic_test_file"; then
8315         case $deplibs_check_method in
8316         "file_magic "*)
8317           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8318           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8319           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8320             $EGREP "$file_magic_regex" > /dev/null; then
8321             :
8322           else
8323             cat <<_LT_EOF 1>&2
8324
8325 *** Warning: the command libtool uses to detect shared libraries,
8326 *** $file_magic_cmd, produces output that libtool cannot recognize.
8327 *** The result is that libtool may fail to recognize shared libraries
8328 *** as such.  This will affect the creation of libtool libraries that
8329 *** depend on shared libraries, but programs linked with such libtool
8330 *** libraries will work regardless of this problem.  Nevertheless, you
8331 *** may want to report the problem to your system manager and/or to
8332 *** bug-libtool@gnu.org
8333
8334 _LT_EOF
8335           fi ;;
8336         esac
8337       fi
8338       break
8339     fi
8340   done
8341   IFS="$lt_save_ifs"
8342   MAGIC_CMD="$lt_save_MAGIC_CMD"
8343   ;;
8344 esac
8345 fi
8346
8347 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8348 if test -n "$MAGIC_CMD"; then
8349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8350 $as_echo "$MAGIC_CMD" >&6; }
8351 else
8352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8354 fi
8355
8356
8357
8358
8359
8360 if test -z "$lt_cv_path_MAGIC_CMD"; then
8361   if test -n "$ac_tool_prefix"; then
8362     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8363 $as_echo_n "checking for file... " >&6; }
8364 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8365   $as_echo_n "(cached) " >&6
8366 else
8367   case $MAGIC_CMD in
8368 [\\/*] |  ?:[\\/]*)
8369   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8370   ;;
8371 *)
8372   lt_save_MAGIC_CMD="$MAGIC_CMD"
8373   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8374   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8375   for ac_dir in $ac_dummy; do
8376     IFS="$lt_save_ifs"
8377     test -z "$ac_dir" && ac_dir=.
8378     if test -f $ac_dir/file; then
8379       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8380       if test -n "$file_magic_test_file"; then
8381         case $deplibs_check_method in
8382         "file_magic "*)
8383           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8384           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8385           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8386             $EGREP "$file_magic_regex" > /dev/null; then
8387             :
8388           else
8389             cat <<_LT_EOF 1>&2
8390
8391 *** Warning: the command libtool uses to detect shared libraries,
8392 *** $file_magic_cmd, produces output that libtool cannot recognize.
8393 *** The result is that libtool may fail to recognize shared libraries
8394 *** as such.  This will affect the creation of libtool libraries that
8395 *** depend on shared libraries, but programs linked with such libtool
8396 *** libraries will work regardless of this problem.  Nevertheless, you
8397 *** may want to report the problem to your system manager and/or to
8398 *** bug-libtool@gnu.org
8399
8400 _LT_EOF
8401           fi ;;
8402         esac
8403       fi
8404       break
8405     fi
8406   done
8407   IFS="$lt_save_ifs"
8408   MAGIC_CMD="$lt_save_MAGIC_CMD"
8409   ;;
8410 esac
8411 fi
8412
8413 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8414 if test -n "$MAGIC_CMD"; then
8415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8416 $as_echo "$MAGIC_CMD" >&6; }
8417 else
8418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8420 fi
8421
8422
8423   else
8424     MAGIC_CMD=:
8425   fi
8426 fi
8427
8428   fi
8429   ;;
8430 esac
8431
8432 # Use C for the default configuration in the libtool script
8433
8434 lt_save_CC="$CC"
8435 ac_ext=c
8436 ac_cpp='$CPP $CPPFLAGS'
8437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8440
8441
8442 # Source file extension for C test sources.
8443 ac_ext=c
8444
8445 # Object file extension for compiled C test sources.
8446 objext=o
8447 objext=$objext
8448
8449 # Code to be used in simple compile tests
8450 lt_simple_compile_test_code="int some_variable = 0;"
8451
8452 # Code to be used in simple link tests
8453 lt_simple_link_test_code='int main(){return(0);}'
8454
8455
8456
8457
8458
8459
8460
8461 # If no C compiler was specified, use CC.
8462 LTCC=${LTCC-"$CC"}
8463
8464 # If no C compiler flags were specified, use CFLAGS.
8465 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8466
8467 # Allow CC to be a program name with arguments.
8468 compiler=$CC
8469
8470 # Save the default compiler, since it gets overwritten when the other
8471 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8472 compiler_DEFAULT=$CC
8473
8474 # save warnings/boilerplate of simple test code
8475 ac_outfile=conftest.$ac_objext
8476 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8477 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8478 _lt_compiler_boilerplate=`cat conftest.err`
8479 $RM conftest*
8480
8481 ac_outfile=conftest.$ac_objext
8482 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8483 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8484 _lt_linker_boilerplate=`cat conftest.err`
8485 $RM -r conftest*
8486
8487
8488 ## CAVEAT EMPTOR:
8489 ## There is no encapsulation within the following macros, do not change
8490 ## the running order or otherwise move them around unless you know exactly
8491 ## what you are doing...
8492 if test -n "$compiler"; then
8493
8494 lt_prog_compiler_no_builtin_flag=
8495
8496 if test "$GCC" = yes; then
8497   case $cc_basename in
8498   nvcc*)
8499     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8500   *)
8501     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8502   esac
8503
8504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8505 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8506 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8507   $as_echo_n "(cached) " >&6
8508 else
8509   lt_cv_prog_compiler_rtti_exceptions=no
8510    ac_outfile=conftest.$ac_objext
8511    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8512    lt_compiler_flag="-fno-rtti -fno-exceptions"
8513    # Insert the option either (1) after the last *FLAGS variable, or
8514    # (2) before a word containing "conftest.", or (3) at the end.
8515    # Note that $ac_compile itself does not contain backslashes and begins
8516    # with a dollar sign (not a hyphen), so the echo should work correctly.
8517    # The option is referenced via a variable to avoid confusing sed.
8518    lt_compile=`echo "$ac_compile" | $SED \
8519    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521    -e 's:$: $lt_compiler_flag:'`
8522    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8523    (eval "$lt_compile" 2>conftest.err)
8524    ac_status=$?
8525    cat conftest.err >&5
8526    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527    if (exit $ac_status) && test -s "$ac_outfile"; then
8528      # The compiler can only warn and ignore the option if not recognized
8529      # So say no if there are warnings other than the usual output.
8530      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8531      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8532      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8533        lt_cv_prog_compiler_rtti_exceptions=yes
8534      fi
8535    fi
8536    $RM conftest*
8537
8538 fi
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8540 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8541
8542 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8543     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8544 else
8545     :
8546 fi
8547
8548 fi
8549
8550
8551
8552
8553
8554
8555   lt_prog_compiler_wl=
8556 lt_prog_compiler_pic=
8557 lt_prog_compiler_static=
8558
8559
8560   if test "$GCC" = yes; then
8561     lt_prog_compiler_wl='-Wl,'
8562     lt_prog_compiler_static='-static'
8563
8564     case $host_os in
8565       aix*)
8566       # All AIX code is PIC.
8567       if test "$host_cpu" = ia64; then
8568         # AIX 5 now supports IA64 processor
8569         lt_prog_compiler_static='-Bstatic'
8570       fi
8571       ;;
8572
8573     amigaos*)
8574       case $host_cpu in
8575       powerpc)
8576             # see comment about AmigaOS4 .so support
8577             lt_prog_compiler_pic='-fPIC'
8578         ;;
8579       m68k)
8580             # FIXME: we need at least 68020 code to build shared libraries, but
8581             # adding the `-m68020' flag to GCC prevents building anything better,
8582             # like `-m68040'.
8583             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8584         ;;
8585       esac
8586       ;;
8587
8588     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8589       # PIC is the default for these OSes.
8590       ;;
8591
8592     mingw* | cygwin* | pw32* | os2* | cegcc*)
8593       # This hack is so that the source file can tell whether it is being
8594       # built for inclusion in a dll (and should export symbols for example).
8595       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8596       # (--disable-auto-import) libraries
8597       lt_prog_compiler_pic='-DDLL_EXPORT'
8598       ;;
8599
8600     darwin* | rhapsody*)
8601       # PIC is the default on this platform
8602       # Common symbols not allowed in MH_DYLIB files
8603       lt_prog_compiler_pic='-fno-common'
8604       ;;
8605
8606     haiku*)
8607       # PIC is the default for Haiku.
8608       # The "-static" flag exists, but is broken.
8609       lt_prog_compiler_static=
8610       ;;
8611
8612     hpux*)
8613       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8614       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8615       # sets the default TLS model and affects inlining.
8616       case $host_cpu in
8617       hppa*64*)
8618         # +Z the default
8619         ;;
8620       *)
8621         lt_prog_compiler_pic='-fPIC'
8622         ;;
8623       esac
8624       ;;
8625
8626     interix[3-9]*)
8627       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8628       # Instead, we relocate shared libraries at runtime.
8629       ;;
8630
8631     msdosdjgpp*)
8632       # Just because we use GCC doesn't mean we suddenly get shared libraries
8633       # on systems that don't support them.
8634       lt_prog_compiler_can_build_shared=no
8635       enable_shared=no
8636       ;;
8637
8638     *nto* | *qnx*)
8639       # QNX uses GNU C++, but need to define -shared option too, otherwise
8640       # it will coredump.
8641       lt_prog_compiler_pic='-fPIC -shared'
8642       ;;
8643
8644     sysv4*MP*)
8645       if test -d /usr/nec; then
8646         lt_prog_compiler_pic=-Kconform_pic
8647       fi
8648       ;;
8649
8650     *)
8651       lt_prog_compiler_pic='-fPIC'
8652       ;;
8653     esac
8654
8655     case $cc_basename in
8656     nvcc*) # Cuda Compiler Driver 2.2
8657       lt_prog_compiler_wl='-Xlinker '
8658       if test -n "$lt_prog_compiler_pic"; then
8659         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8660       fi
8661       ;;
8662     esac
8663   else
8664     # PORTME Check for flag to pass linker flags through the system compiler.
8665     case $host_os in
8666     aix*)
8667       lt_prog_compiler_wl='-Wl,'
8668       if test "$host_cpu" = ia64; then
8669         # AIX 5 now supports IA64 processor
8670         lt_prog_compiler_static='-Bstatic'
8671       else
8672         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8673       fi
8674       ;;
8675
8676     mingw* | cygwin* | pw32* | os2* | cegcc*)
8677       # This hack is so that the source file can tell whether it is being
8678       # built for inclusion in a dll (and should export symbols for example).
8679       lt_prog_compiler_pic='-DDLL_EXPORT'
8680       ;;
8681
8682     hpux9* | hpux10* | hpux11*)
8683       lt_prog_compiler_wl='-Wl,'
8684       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8685       # not for PA HP-UX.
8686       case $host_cpu in
8687       hppa*64*|ia64*)
8688         # +Z the default
8689         ;;
8690       *)
8691         lt_prog_compiler_pic='+Z'
8692         ;;
8693       esac
8694       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8695       lt_prog_compiler_static='${wl}-a ${wl}archive'
8696       ;;
8697
8698     irix5* | irix6* | nonstopux*)
8699       lt_prog_compiler_wl='-Wl,'
8700       # PIC (with -KPIC) is the default.
8701       lt_prog_compiler_static='-non_shared'
8702       ;;
8703
8704     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8705       case $cc_basename in
8706       # old Intel for x86_64 which still supported -KPIC.
8707       ecc*)
8708         lt_prog_compiler_wl='-Wl,'
8709         lt_prog_compiler_pic='-KPIC'
8710         lt_prog_compiler_static='-static'
8711         ;;
8712       # icc used to be incompatible with GCC.
8713       # ICC 10 doesn't accept -KPIC any more.
8714       icc* | ifort*)
8715         lt_prog_compiler_wl='-Wl,'
8716         lt_prog_compiler_pic='-fPIC'
8717         lt_prog_compiler_static='-static'
8718         ;;
8719       # Lahey Fortran 8.1.
8720       lf95*)
8721         lt_prog_compiler_wl='-Wl,'
8722         lt_prog_compiler_pic='--shared'
8723         lt_prog_compiler_static='--static'
8724         ;;
8725       nagfor*)
8726         # NAG Fortran compiler
8727         lt_prog_compiler_wl='-Wl,-Wl,,'
8728         lt_prog_compiler_pic='-PIC'
8729         lt_prog_compiler_static='-Bstatic'
8730         ;;
8731       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8732         # Portland Group compilers (*not* the Pentium gcc compiler,
8733         # which looks to be a dead project)
8734         lt_prog_compiler_wl='-Wl,'
8735         lt_prog_compiler_pic='-fpic'
8736         lt_prog_compiler_static='-Bstatic'
8737         ;;
8738       ccc*)
8739         lt_prog_compiler_wl='-Wl,'
8740         # All Alpha code is PIC.
8741         lt_prog_compiler_static='-non_shared'
8742         ;;
8743       xl* | bgxl* | bgf* | mpixl*)
8744         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8745         lt_prog_compiler_wl='-Wl,'
8746         lt_prog_compiler_pic='-qpic'
8747         lt_prog_compiler_static='-qstaticlink'
8748         ;;
8749       *)
8750         case `$CC -V 2>&1 | sed 5q` in
8751         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8752           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8753           lt_prog_compiler_pic='-KPIC'
8754           lt_prog_compiler_static='-Bstatic'
8755           lt_prog_compiler_wl=''
8756           ;;
8757         *Sun\ F* | *Sun*Fortran*)
8758           lt_prog_compiler_pic='-KPIC'
8759           lt_prog_compiler_static='-Bstatic'
8760           lt_prog_compiler_wl='-Qoption ld '
8761           ;;
8762         *Sun\ C*)
8763           # Sun C 5.9
8764           lt_prog_compiler_pic='-KPIC'
8765           lt_prog_compiler_static='-Bstatic'
8766           lt_prog_compiler_wl='-Wl,'
8767           ;;
8768         *Intel*\ [CF]*Compiler*)
8769           lt_prog_compiler_wl='-Wl,'
8770           lt_prog_compiler_pic='-fPIC'
8771           lt_prog_compiler_static='-static'
8772           ;;
8773         *Portland\ Group*)
8774           lt_prog_compiler_wl='-Wl,'
8775           lt_prog_compiler_pic='-fpic'
8776           lt_prog_compiler_static='-Bstatic'
8777           ;;
8778         esac
8779         ;;
8780       esac
8781       ;;
8782
8783     newsos6)
8784       lt_prog_compiler_pic='-KPIC'
8785       lt_prog_compiler_static='-Bstatic'
8786       ;;
8787
8788     *nto* | *qnx*)
8789       # QNX uses GNU C++, but need to define -shared option too, otherwise
8790       # it will coredump.
8791       lt_prog_compiler_pic='-fPIC -shared'
8792       ;;
8793
8794     osf3* | osf4* | osf5*)
8795       lt_prog_compiler_wl='-Wl,'
8796       # All OSF/1 code is PIC.
8797       lt_prog_compiler_static='-non_shared'
8798       ;;
8799
8800     rdos*)
8801       lt_prog_compiler_static='-non_shared'
8802       ;;
8803
8804     solaris*)
8805       lt_prog_compiler_pic='-KPIC'
8806       lt_prog_compiler_static='-Bstatic'
8807       case $cc_basename in
8808       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8809         lt_prog_compiler_wl='-Qoption ld ';;
8810       *)
8811         lt_prog_compiler_wl='-Wl,';;
8812       esac
8813       ;;
8814
8815     sunos4*)
8816       lt_prog_compiler_wl='-Qoption ld '
8817       lt_prog_compiler_pic='-PIC'
8818       lt_prog_compiler_static='-Bstatic'
8819       ;;
8820
8821     sysv4 | sysv4.2uw2* | sysv4.3*)
8822       lt_prog_compiler_wl='-Wl,'
8823       lt_prog_compiler_pic='-KPIC'
8824       lt_prog_compiler_static='-Bstatic'
8825       ;;
8826
8827     sysv4*MP*)
8828       if test -d /usr/nec ;then
8829         lt_prog_compiler_pic='-Kconform_pic'
8830         lt_prog_compiler_static='-Bstatic'
8831       fi
8832       ;;
8833
8834     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8835       lt_prog_compiler_wl='-Wl,'
8836       lt_prog_compiler_pic='-KPIC'
8837       lt_prog_compiler_static='-Bstatic'
8838       ;;
8839
8840     unicos*)
8841       lt_prog_compiler_wl='-Wl,'
8842       lt_prog_compiler_can_build_shared=no
8843       ;;
8844
8845     uts4*)
8846       lt_prog_compiler_pic='-pic'
8847       lt_prog_compiler_static='-Bstatic'
8848       ;;
8849
8850     *)
8851       lt_prog_compiler_can_build_shared=no
8852       ;;
8853     esac
8854   fi
8855
8856 case $host_os in
8857   # For platforms which do not support PIC, -DPIC is meaningless:
8858   *djgpp*)
8859     lt_prog_compiler_pic=
8860     ;;
8861   *)
8862     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8863     ;;
8864 esac
8865
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8867 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8868 if ${lt_cv_prog_compiler_pic+:} false; then :
8869   $as_echo_n "(cached) " >&6
8870 else
8871   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8872 fi
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8874 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8875 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8876
8877 #
8878 # Check to make sure the PIC flag actually works.
8879 #
8880 if test -n "$lt_prog_compiler_pic"; then
8881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8882 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8883 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8884   $as_echo_n "(cached) " >&6
8885 else
8886   lt_cv_prog_compiler_pic_works=no
8887    ac_outfile=conftest.$ac_objext
8888    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8889    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8890    # Insert the option either (1) after the last *FLAGS variable, or
8891    # (2) before a word containing "conftest.", or (3) at the end.
8892    # Note that $ac_compile itself does not contain backslashes and begins
8893    # with a dollar sign (not a hyphen), so the echo should work correctly.
8894    # The option is referenced via a variable to avoid confusing sed.
8895    lt_compile=`echo "$ac_compile" | $SED \
8896    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8897    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8898    -e 's:$: $lt_compiler_flag:'`
8899    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8900    (eval "$lt_compile" 2>conftest.err)
8901    ac_status=$?
8902    cat conftest.err >&5
8903    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904    if (exit $ac_status) && test -s "$ac_outfile"; then
8905      # The compiler can only warn and ignore the option if not recognized
8906      # So say no if there are warnings other than the usual output.
8907      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8908      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8909      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8910        lt_cv_prog_compiler_pic_works=yes
8911      fi
8912    fi
8913    $RM conftest*
8914
8915 fi
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8917 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8918
8919 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8920     case $lt_prog_compiler_pic in
8921      "" | " "*) ;;
8922      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8923      esac
8924 else
8925     lt_prog_compiler_pic=
8926      lt_prog_compiler_can_build_shared=no
8927 fi
8928
8929 fi
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941 #
8942 # Check to make sure the static flag actually works.
8943 #
8944 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8946 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8947 if ${lt_cv_prog_compiler_static_works+:} false; then :
8948   $as_echo_n "(cached) " >&6
8949 else
8950   lt_cv_prog_compiler_static_works=no
8951    save_LDFLAGS="$LDFLAGS"
8952    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8953    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8954    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8955      # The linker can only warn and ignore the option if not recognized
8956      # So say no if there are warnings
8957      if test -s conftest.err; then
8958        # Append any errors to the config.log.
8959        cat conftest.err 1>&5
8960        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8961        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8962        if diff conftest.exp conftest.er2 >/dev/null; then
8963          lt_cv_prog_compiler_static_works=yes
8964        fi
8965      else
8966        lt_cv_prog_compiler_static_works=yes
8967      fi
8968    fi
8969    $RM -r conftest*
8970    LDFLAGS="$save_LDFLAGS"
8971
8972 fi
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8974 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8975
8976 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8977     :
8978 else
8979     lt_prog_compiler_static=
8980 fi
8981
8982
8983
8984
8985
8986
8987
8988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8989 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8990 if ${lt_cv_prog_compiler_c_o+:} false; then :
8991   $as_echo_n "(cached) " >&6
8992 else
8993   lt_cv_prog_compiler_c_o=no
8994    $RM -r conftest 2>/dev/null
8995    mkdir conftest
8996    cd conftest
8997    mkdir out
8998    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8999
9000    lt_compiler_flag="-o out/conftest2.$ac_objext"
9001    # Insert the option either (1) after the last *FLAGS variable, or
9002    # (2) before a word containing "conftest.", or (3) at the end.
9003    # Note that $ac_compile itself does not contain backslashes and begins
9004    # with a dollar sign (not a hyphen), so the echo should work correctly.
9005    lt_compile=`echo "$ac_compile" | $SED \
9006    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9007    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9008    -e 's:$: $lt_compiler_flag:'`
9009    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9010    (eval "$lt_compile" 2>out/conftest.err)
9011    ac_status=$?
9012    cat out/conftest.err >&5
9013    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9015    then
9016      # The compiler can only warn and ignore the option if not recognized
9017      # So say no if there are warnings
9018      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9019      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9020      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9021        lt_cv_prog_compiler_c_o=yes
9022      fi
9023    fi
9024    chmod u+w . 2>&5
9025    $RM conftest*
9026    # SGI C++ compiler will create directory out/ii_files/ for
9027    # template instantiation
9028    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9029    $RM out/* && rmdir out
9030    cd ..
9031    $RM -r conftest
9032    $RM conftest*
9033
9034 fi
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9036 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9037
9038
9039
9040
9041
9042
9043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9044 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9045 if ${lt_cv_prog_compiler_c_o+:} false; then :
9046   $as_echo_n "(cached) " >&6
9047 else
9048   lt_cv_prog_compiler_c_o=no
9049    $RM -r conftest 2>/dev/null
9050    mkdir conftest
9051    cd conftest
9052    mkdir out
9053    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9054
9055    lt_compiler_flag="-o out/conftest2.$ac_objext"
9056    # Insert the option either (1) after the last *FLAGS variable, or
9057    # (2) before a word containing "conftest.", or (3) at the end.
9058    # Note that $ac_compile itself does not contain backslashes and begins
9059    # with a dollar sign (not a hyphen), so the echo should work correctly.
9060    lt_compile=`echo "$ac_compile" | $SED \
9061    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9062    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9063    -e 's:$: $lt_compiler_flag:'`
9064    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9065    (eval "$lt_compile" 2>out/conftest.err)
9066    ac_status=$?
9067    cat out/conftest.err >&5
9068    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9070    then
9071      # The compiler can only warn and ignore the option if not recognized
9072      # So say no if there are warnings
9073      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9074      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9075      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9076        lt_cv_prog_compiler_c_o=yes
9077      fi
9078    fi
9079    chmod u+w . 2>&5
9080    $RM conftest*
9081    # SGI C++ compiler will create directory out/ii_files/ for
9082    # template instantiation
9083    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9084    $RM out/* && rmdir out
9085    cd ..
9086    $RM -r conftest
9087    $RM conftest*
9088
9089 fi
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9091 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9092
9093
9094
9095
9096 hard_links="nottested"
9097 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9098   # do not overwrite the value of need_locks provided by the user
9099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9100 $as_echo_n "checking if we can lock with hard links... " >&6; }
9101   hard_links=yes
9102   $RM conftest*
9103   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9104   touch conftest.a
9105   ln conftest.a conftest.b 2>&5 || hard_links=no
9106   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9108 $as_echo "$hard_links" >&6; }
9109   if test "$hard_links" = no; then
9110     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9111 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9112     need_locks=warn
9113   fi
9114 else
9115   need_locks=no
9116 fi
9117
9118
9119
9120
9121
9122
9123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9124 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9125
9126   runpath_var=
9127   allow_undefined_flag=
9128   always_export_symbols=no
9129   archive_cmds=
9130   archive_expsym_cmds=
9131   compiler_needs_object=no
9132   enable_shared_with_static_runtimes=no
9133   export_dynamic_flag_spec=
9134   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9135   hardcode_automatic=no
9136   hardcode_direct=no
9137   hardcode_direct_absolute=no
9138   hardcode_libdir_flag_spec=
9139   hardcode_libdir_separator=
9140   hardcode_minus_L=no
9141   hardcode_shlibpath_var=unsupported
9142   inherit_rpath=no
9143   link_all_deplibs=unknown
9144   module_cmds=
9145   module_expsym_cmds=
9146   old_archive_from_new_cmds=
9147   old_archive_from_expsyms_cmds=
9148   thread_safe_flag_spec=
9149   whole_archive_flag_spec=
9150   # include_expsyms should be a list of space-separated symbols to be *always*
9151   # included in the symbol list
9152   include_expsyms=
9153   # exclude_expsyms can be an extended regexp of symbols to exclude
9154   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9155   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9156   # as well as any symbol that contains `d'.
9157   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9158   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9159   # platforms (ab)use it in PIC code, but their linkers get confused if
9160   # the symbol is explicitly referenced.  Since portable code cannot
9161   # rely on this symbol name, it's probably fine to never include it in
9162   # preloaded symbol tables.
9163   # Exclude shared library initialization/finalization symbols.
9164   extract_expsyms_cmds=
9165
9166   case $host_os in
9167   cygwin* | mingw* | pw32* | cegcc*)
9168     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9169     # When not using gcc, we currently assume that we are using
9170     # Microsoft Visual C++.
9171     if test "$GCC" != yes; then
9172       with_gnu_ld=no
9173     fi
9174     ;;
9175   interix*)
9176     # we just hope/assume this is gcc and not c89 (= MSVC++)
9177     with_gnu_ld=yes
9178     ;;
9179   openbsd*)
9180     with_gnu_ld=no
9181     ;;
9182   linux* | k*bsd*-gnu | gnu*)
9183     link_all_deplibs=no
9184     ;;
9185   esac
9186
9187   ld_shlibs=yes
9188
9189   # On some targets, GNU ld is compatible enough with the native linker
9190   # that we're better off using the native interface for both.
9191   lt_use_gnu_ld_interface=no
9192   if test "$with_gnu_ld" = yes; then
9193     case $host_os in
9194       aix*)
9195         # The AIX port of GNU ld has always aspired to compatibility
9196         # with the native linker.  However, as the warning in the GNU ld
9197         # block says, versions before 2.19.5* couldn't really create working
9198         # shared libraries, regardless of the interface used.
9199         case `$LD -v 2>&1` in
9200           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9201           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9202           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9203           *)
9204             lt_use_gnu_ld_interface=yes
9205             ;;
9206         esac
9207         ;;
9208       *)
9209         lt_use_gnu_ld_interface=yes
9210         ;;
9211     esac
9212   fi
9213
9214   if test "$lt_use_gnu_ld_interface" = yes; then
9215     # If archive_cmds runs LD, not CC, wlarc should be empty
9216     wlarc='${wl}'
9217
9218     # Set some defaults for GNU ld with shared library support. These
9219     # are reset later if shared libraries are not supported. Putting them
9220     # here allows them to be overridden if necessary.
9221     runpath_var=LD_RUN_PATH
9222     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9223     export_dynamic_flag_spec='${wl}--export-dynamic'
9224     # ancient GNU ld didn't support --whole-archive et. al.
9225     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9226       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9227     else
9228       whole_archive_flag_spec=
9229     fi
9230     supports_anon_versioning=no
9231     case `$LD -v 2>&1` in
9232       *GNU\ gold*) supports_anon_versioning=yes ;;
9233       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9234       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9235       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9236       *\ 2.11.*) ;; # other 2.11 versions
9237       *) supports_anon_versioning=yes ;;
9238     esac
9239
9240     # See if GNU ld supports shared libraries.
9241     case $host_os in
9242     aix[3-9]*)
9243       # On AIX/PPC, the GNU linker is very broken
9244       if test "$host_cpu" != ia64; then
9245         ld_shlibs=no
9246         cat <<_LT_EOF 1>&2
9247
9248 *** Warning: the GNU linker, at least up to release 2.19, is reported
9249 *** to be unable to reliably create shared libraries on AIX.
9250 *** Therefore, libtool is disabling shared libraries support.  If you
9251 *** really care for shared libraries, you may want to install binutils
9252 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9253 *** You will then need to restart the configuration process.
9254
9255 _LT_EOF
9256       fi
9257       ;;
9258
9259     amigaos*)
9260       case $host_cpu in
9261       powerpc)
9262             # see comment about AmigaOS4 .so support
9263             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264             archive_expsym_cmds=''
9265         ;;
9266       m68k)
9267             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)'
9268             hardcode_libdir_flag_spec='-L$libdir'
9269             hardcode_minus_L=yes
9270         ;;
9271       esac
9272       ;;
9273
9274     beos*)
9275       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9276         allow_undefined_flag=unsupported
9277         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9278         # support --undefined.  This deserves some investigation.  FIXME
9279         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9280       else
9281         ld_shlibs=no
9282       fi
9283       ;;
9284
9285     cygwin* | mingw* | pw32* | cegcc*)
9286       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9287       # as there is no search path for DLLs.
9288       hardcode_libdir_flag_spec='-L$libdir'
9289       export_dynamic_flag_spec='${wl}--export-all-symbols'
9290       allow_undefined_flag=unsupported
9291       always_export_symbols=no
9292       enable_shared_with_static_runtimes=yes
9293       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'
9294       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9295
9296       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9297         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9298         # If the export-symbols file already is a .def file (1st line
9299         # is EXPORTS), use it as is; otherwise, prepend...
9300         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9301           cp $export_symbols $output_objdir/$soname.def;
9302         else
9303           echo EXPORTS > $output_objdir/$soname.def;
9304           cat $export_symbols >> $output_objdir/$soname.def;
9305         fi~
9306         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9307       else
9308         ld_shlibs=no
9309       fi
9310       ;;
9311
9312     haiku*)
9313       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314       link_all_deplibs=yes
9315       ;;
9316
9317     interix[3-9]*)
9318       hardcode_direct=no
9319       hardcode_shlibpath_var=no
9320       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9321       export_dynamic_flag_spec='${wl}-E'
9322       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9323       # Instead, shared libraries are loaded at an image base (0x10000000 by
9324       # default) and relocated if they conflict, which is a slow very memory
9325       # consuming and fragmenting process.  To avoid this, we pick a random,
9326       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9327       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9328       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9329       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'
9330       ;;
9331
9332     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9333       tmp_diet=no
9334       if test "$host_os" = linux-dietlibc; then
9335         case $cc_basename in
9336           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9337         esac
9338       fi
9339       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9340          && test "$tmp_diet" = no
9341       then
9342         tmp_addflag=' $pic_flag'
9343         tmp_sharedflag='-shared'
9344         case $cc_basename,$host_cpu in
9345         pgcc*)                          # Portland Group C compiler
9346           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'
9347           tmp_addflag=' $pic_flag'
9348           ;;
9349         pgf77* | pgf90* | pgf95* | pgfortran*)
9350                                         # Portland Group f77 and f90 compilers
9351           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'
9352           tmp_addflag=' $pic_flag -Mnomain' ;;
9353         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9354           tmp_addflag=' -i_dynamic' ;;
9355         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9356           tmp_addflag=' -i_dynamic -nofor_main' ;;
9357         ifc* | ifort*)                  # Intel Fortran compiler
9358           tmp_addflag=' -nofor_main' ;;
9359         lf95*)                          # Lahey Fortran 8.1
9360           whole_archive_flag_spec=
9361           tmp_sharedflag='--shared' ;;
9362         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9363           tmp_sharedflag='-qmkshrobj'
9364           tmp_addflag= ;;
9365         nvcc*)  # Cuda Compiler Driver 2.2
9366           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'
9367           compiler_needs_object=yes
9368           ;;
9369         esac
9370         case `$CC -V 2>&1 | sed 5q` in
9371         *Sun\ C*)                       # Sun C 5.9
9372           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'
9373           compiler_needs_object=yes
9374           tmp_sharedflag='-G' ;;
9375         *Sun\ F*)                       # Sun Fortran 8.3
9376           tmp_sharedflag='-G' ;;
9377         esac
9378         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9379
9380         if test "x$supports_anon_versioning" = xyes; then
9381           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9382             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9383             echo "local: *; };" >> $output_objdir/$libname.ver~
9384             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9385         fi
9386
9387         case $cc_basename in
9388         xlf* | bgf* | bgxlf* | mpixlf*)
9389           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9390           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9391           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9392           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9393           if test "x$supports_anon_versioning" = xyes; then
9394             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9395               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9396               echo "local: *; };" >> $output_objdir/$libname.ver~
9397               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9398           fi
9399           ;;
9400         esac
9401       else
9402         ld_shlibs=no
9403       fi
9404       ;;
9405
9406     netbsd* | netbsdelf*-gnu)
9407       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9408         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9409         wlarc=
9410       else
9411         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9413       fi
9414       ;;
9415
9416     solaris*)
9417       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9418         ld_shlibs=no
9419         cat <<_LT_EOF 1>&2
9420
9421 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9422 *** create shared libraries on Solaris systems.  Therefore, libtool
9423 *** is disabling shared libraries support.  We urge you to upgrade GNU
9424 *** binutils to release 2.9.1 or newer.  Another option is to modify
9425 *** your PATH or compiler configuration so that the native linker is
9426 *** used, and then restart.
9427
9428 _LT_EOF
9429       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9432       else
9433         ld_shlibs=no
9434       fi
9435       ;;
9436
9437     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9438       case `$LD -v 2>&1` in
9439         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9440         ld_shlibs=no
9441         cat <<_LT_EOF 1>&2
9442
9443 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9444 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9445 *** is disabling shared libraries support.  We urge you to upgrade GNU
9446 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9447 *** your PATH or compiler configuration so that the native linker is
9448 *** used, and then restart.
9449
9450 _LT_EOF
9451         ;;
9452         *)
9453           # For security reasons, it is highly recommended that you always
9454           # use absolute paths for naming shared libraries, and exclude the
9455           # DT_RUNPATH tag from executables and libraries.  But doing so
9456           # requires that you compile everything twice, which is a pain.
9457           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9458             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9459             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9460             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9461           else
9462             ld_shlibs=no
9463           fi
9464         ;;
9465       esac
9466       ;;
9467
9468     sunos4*)
9469       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9470       wlarc=
9471       hardcode_direct=yes
9472       hardcode_shlibpath_var=no
9473       ;;
9474
9475     *)
9476       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9478         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9479       else
9480         ld_shlibs=no
9481       fi
9482       ;;
9483     esac
9484
9485     if test "$ld_shlibs" = no; then
9486       runpath_var=
9487       hardcode_libdir_flag_spec=
9488       export_dynamic_flag_spec=
9489       whole_archive_flag_spec=
9490     fi
9491   else
9492     # PORTME fill in a description of your system's linker (not GNU ld)
9493     case $host_os in
9494     aix3*)
9495       allow_undefined_flag=unsupported
9496       always_export_symbols=yes
9497       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'
9498       # Note: this linker hardcodes the directories in LIBPATH if there
9499       # are no directories specified by -L.
9500       hardcode_minus_L=yes
9501       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9502         # Neither direct hardcoding nor static linking is supported with a
9503         # broken collect2.
9504         hardcode_direct=unsupported
9505       fi
9506       ;;
9507
9508     aix[4-9]*)
9509       if test "$host_cpu" = ia64; then
9510         # On IA64, the linker does run time linking by default, so we don't
9511         # have to do anything special.
9512         aix_use_runtimelinking=no
9513         exp_sym_flag='-Bexport'
9514         no_entry_flag=""
9515       else
9516         # If we're using GNU nm, then we don't want the "-C" option.
9517         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9518         # Also, AIX nm treats weak defined symbols like other global
9519         # defined symbols, whereas GNU nm marks them as "W".
9520         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9521           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'
9522         else
9523           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'
9524         fi
9525         aix_use_runtimelinking=no
9526
9527         # Test if we are trying to use run time linking or normal
9528         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9529         # need to do runtime linking.
9530         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9531           for ld_flag in $LDFLAGS; do
9532           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9533             aix_use_runtimelinking=yes
9534             break
9535           fi
9536           done
9537           ;;
9538         esac
9539
9540         exp_sym_flag='-bexport'
9541         no_entry_flag='-bnoentry'
9542       fi
9543
9544       # When large executables or shared objects are built, AIX ld can
9545       # have problems creating the table of contents.  If linking a library
9546       # or program results in "error TOC overflow" add -mminimal-toc to
9547       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9548       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9549
9550       archive_cmds=''
9551       hardcode_direct=yes
9552       hardcode_direct_absolute=yes
9553       hardcode_libdir_separator=':'
9554       link_all_deplibs=yes
9555       file_list_spec='${wl}-f,'
9556
9557       if test "$GCC" = yes; then
9558         case $host_os in aix4.[012]|aix4.[012].*)
9559         # We only want to do this on AIX 4.2 and lower, the check
9560         # below for broken collect2 doesn't work under 4.3+
9561           collect2name=`${CC} -print-prog-name=collect2`
9562           if test -f "$collect2name" &&
9563            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9564           then
9565           # We have reworked collect2
9566           :
9567           else
9568           # We have old collect2
9569           hardcode_direct=unsupported
9570           # It fails to find uninstalled libraries when the uninstalled
9571           # path is not listed in the libpath.  Setting hardcode_minus_L
9572           # to unsupported forces relinking
9573           hardcode_minus_L=yes
9574           hardcode_libdir_flag_spec='-L$libdir'
9575           hardcode_libdir_separator=
9576           fi
9577           ;;
9578         esac
9579         shared_flag='-shared'
9580         if test "$aix_use_runtimelinking" = yes; then
9581           shared_flag="$shared_flag "'${wl}-G'
9582         fi
9583         link_all_deplibs=no
9584       else
9585         # not using gcc
9586         if test "$host_cpu" = ia64; then
9587         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9588         # chokes on -Wl,-G. The following line is correct:
9589           shared_flag='-G'
9590         else
9591           if test "$aix_use_runtimelinking" = yes; then
9592             shared_flag='${wl}-G'
9593           else
9594             shared_flag='${wl}-bM:SRE'
9595           fi
9596         fi
9597       fi
9598
9599       export_dynamic_flag_spec='${wl}-bexpall'
9600       # It seems that -bexpall does not export symbols beginning with
9601       # underscore (_), so it is better to generate a list of symbols to export.
9602       always_export_symbols=yes
9603       if test "$aix_use_runtimelinking" = yes; then
9604         # Warning - without using the other runtime loading flags (-brtl),
9605         # -berok will link without error, but may produce a broken library.
9606         allow_undefined_flag='-berok'
9607         # Determine the default libpath from the value encoded in an
9608         # empty executable.
9609         if test "${lt_cv_aix_libpath+set}" = set; then
9610   aix_libpath=$lt_cv_aix_libpath
9611 else
9612   if ${lt_cv_aix_libpath_+:} false; then :
9613   $as_echo_n "(cached) " >&6
9614 else
9615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h.  */
9617
9618 int
9619 main ()
9620 {
9621
9622   ;
9623   return 0;
9624 }
9625 _ACEOF
9626 if ac_fn_c_try_link "$LINENO"; then :
9627
9628   lt_aix_libpath_sed='
9629       /Import File Strings/,/^$/ {
9630           /^0/ {
9631               s/^0  *\([^ ]*\) *$/\1/
9632               p
9633           }
9634       }'
9635   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9636   # Check for a 64-bit object if we didn't find anything.
9637   if test -z "$lt_cv_aix_libpath_"; then
9638     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9639   fi
9640 fi
9641 rm -f core conftest.err conftest.$ac_objext \
9642     conftest$ac_exeext conftest.$ac_ext
9643   if test -z "$lt_cv_aix_libpath_"; then
9644     lt_cv_aix_libpath_="/usr/lib:/lib"
9645   fi
9646
9647 fi
9648
9649   aix_libpath=$lt_cv_aix_libpath_
9650 fi
9651
9652         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9653         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"
9654       else
9655         if test "$host_cpu" = ia64; then
9656           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9657           allow_undefined_flag="-z nodefs"
9658           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"
9659         else
9660          # Determine the default libpath from the value encoded in an
9661          # empty executable.
9662          if test "${lt_cv_aix_libpath+set}" = set; then
9663   aix_libpath=$lt_cv_aix_libpath
9664 else
9665   if ${lt_cv_aix_libpath_+:} false; then :
9666   $as_echo_n "(cached) " >&6
9667 else
9668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h.  */
9670
9671 int
9672 main ()
9673 {
9674
9675   ;
9676   return 0;
9677 }
9678 _ACEOF
9679 if ac_fn_c_try_link "$LINENO"; then :
9680
9681   lt_aix_libpath_sed='
9682       /Import File Strings/,/^$/ {
9683           /^0/ {
9684               s/^0  *\([^ ]*\) *$/\1/
9685               p
9686           }
9687       }'
9688   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9689   # Check for a 64-bit object if we didn't find anything.
9690   if test -z "$lt_cv_aix_libpath_"; then
9691     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9692   fi
9693 fi
9694 rm -f core conftest.err conftest.$ac_objext \
9695     conftest$ac_exeext conftest.$ac_ext
9696   if test -z "$lt_cv_aix_libpath_"; then
9697     lt_cv_aix_libpath_="/usr/lib:/lib"
9698   fi
9699
9700 fi
9701
9702   aix_libpath=$lt_cv_aix_libpath_
9703 fi
9704
9705          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9706           # Warning - without using the other run time loading flags,
9707           # -berok will link without error, but may produce a broken library.
9708           no_undefined_flag=' ${wl}-bernotok'
9709           allow_undefined_flag=' ${wl}-berok'
9710           if test "$with_gnu_ld" = yes; then
9711             # We only use this code for GNU lds that support --whole-archive.
9712             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9713           else
9714             # Exported symbols can be pulled into shared objects from archives
9715             whole_archive_flag_spec='$convenience'
9716           fi
9717           archive_cmds_need_lc=yes
9718           # This is similar to how AIX traditionally builds its shared libraries.
9719           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'
9720         fi
9721       fi
9722       ;;
9723
9724     amigaos*)
9725       case $host_cpu in
9726       powerpc)
9727             # see comment about AmigaOS4 .so support
9728             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729             archive_expsym_cmds=''
9730         ;;
9731       m68k)
9732             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)'
9733             hardcode_libdir_flag_spec='-L$libdir'
9734             hardcode_minus_L=yes
9735         ;;
9736       esac
9737       ;;
9738
9739     bsdi[45]*)
9740       export_dynamic_flag_spec=-rdynamic
9741       ;;
9742
9743     cygwin* | mingw* | pw32* | cegcc*)
9744       # When not using gcc, we currently assume that we are using
9745       # Microsoft Visual C++.
9746       # hardcode_libdir_flag_spec is actually meaningless, as there is
9747       # no search path for DLLs.
9748       case $cc_basename in
9749       cl*)
9750         # Native MSVC
9751         hardcode_libdir_flag_spec=' '
9752         allow_undefined_flag=unsupported
9753         always_export_symbols=yes
9754         file_list_spec='@'
9755         # Tell ltmain to make .lib files, not .a files.
9756         libext=lib
9757         # Tell ltmain to make .dll files, not .so files.
9758         shrext_cmds=".dll"
9759         # FIXME: Setting linknames here is a bad hack.
9760         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9761         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9762             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9763           else
9764             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9765           fi~
9766           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9767           linknames='
9768         # The linker will not automatically build a static lib if we build a DLL.
9769         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9770         enable_shared_with_static_runtimes=yes
9771         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9772         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9773         # Don't use ranlib
9774         old_postinstall_cmds='chmod 644 $oldlib'
9775         postlink_cmds='lt_outputfile="@OUTPUT@"~
9776           lt_tool_outputfile="@TOOL_OUTPUT@"~
9777           case $lt_outputfile in
9778             *.exe|*.EXE) ;;
9779             *)
9780               lt_outputfile="$lt_outputfile.exe"
9781               lt_tool_outputfile="$lt_tool_outputfile.exe"
9782               ;;
9783           esac~
9784           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9785             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9786             $RM "$lt_outputfile.manifest";
9787           fi'
9788         ;;
9789       *)
9790         # Assume MSVC wrapper
9791         hardcode_libdir_flag_spec=' '
9792         allow_undefined_flag=unsupported
9793         # Tell ltmain to make .lib files, not .a files.
9794         libext=lib
9795         # Tell ltmain to make .dll files, not .so files.
9796         shrext_cmds=".dll"
9797         # FIXME: Setting linknames here is a bad hack.
9798         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9799         # The linker will automatically build a .lib file if we build a DLL.
9800         old_archive_from_new_cmds='true'
9801         # FIXME: Should let the user specify the lib program.
9802         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9803         enable_shared_with_static_runtimes=yes
9804         ;;
9805       esac
9806       ;;
9807
9808     darwin* | rhapsody*)
9809
9810
9811   archive_cmds_need_lc=no
9812   hardcode_direct=no
9813   hardcode_automatic=yes
9814   hardcode_shlibpath_var=unsupported
9815   if test "$lt_cv_ld_force_load" = "yes"; then
9816     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\"`'
9817
9818   else
9819     whole_archive_flag_spec=''
9820   fi
9821   link_all_deplibs=yes
9822   allow_undefined_flag="$_lt_dar_allow_undefined"
9823   case $cc_basename in
9824      ifort*) _lt_dar_can_shared=yes ;;
9825      *) _lt_dar_can_shared=$GCC ;;
9826   esac
9827   if test "$_lt_dar_can_shared" = "yes"; then
9828     output_verbose_link_cmd=func_echo_all
9829     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9830     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9831     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}"
9832     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}"
9833
9834   else
9835   ld_shlibs=no
9836   fi
9837
9838       ;;
9839
9840     dgux*)
9841       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842       hardcode_libdir_flag_spec='-L$libdir'
9843       hardcode_shlibpath_var=no
9844       ;;
9845
9846     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9847     # support.  Future versions do this automatically, but an explicit c++rt0.o
9848     # does not break anything, and helps significantly (at the cost of a little
9849     # extra space).
9850     freebsd2.2*)
9851       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9852       hardcode_libdir_flag_spec='-R$libdir'
9853       hardcode_direct=yes
9854       hardcode_shlibpath_var=no
9855       ;;
9856
9857     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9858     freebsd2.*)
9859       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9860       hardcode_direct=yes
9861       hardcode_minus_L=yes
9862       hardcode_shlibpath_var=no
9863       ;;
9864
9865     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9866     freebsd* | dragonfly*)
9867       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9868       hardcode_libdir_flag_spec='-R$libdir'
9869       hardcode_direct=yes
9870       hardcode_shlibpath_var=no
9871       ;;
9872
9873     hpux9*)
9874       if test "$GCC" = yes; then
9875         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'
9876       else
9877         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'
9878       fi
9879       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9880       hardcode_libdir_separator=:
9881       hardcode_direct=yes
9882
9883       # hardcode_minus_L: Not really in the search PATH,
9884       # but as the default location of the library.
9885       hardcode_minus_L=yes
9886       export_dynamic_flag_spec='${wl}-E'
9887       ;;
9888
9889     hpux10*)
9890       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9891         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9892       else
9893         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9894       fi
9895       if test "$with_gnu_ld" = no; then
9896         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9897         hardcode_libdir_separator=:
9898         hardcode_direct=yes
9899         hardcode_direct_absolute=yes
9900         export_dynamic_flag_spec='${wl}-E'
9901         # hardcode_minus_L: Not really in the search PATH,
9902         # but as the default location of the library.
9903         hardcode_minus_L=yes
9904       fi
9905       ;;
9906
9907     hpux11*)
9908       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9909         case $host_cpu in
9910         hppa*64*)
9911           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9912           ;;
9913         ia64*)
9914           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9915           ;;
9916         *)
9917           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9918           ;;
9919         esac
9920       else
9921         case $host_cpu in
9922         hppa*64*)
9923           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9924           ;;
9925         ia64*)
9926           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9927           ;;
9928         *)
9929
9930           # Older versions of the 11.00 compiler do not understand -b yet
9931           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9932           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9933 $as_echo_n "checking if $CC understands -b... " >&6; }
9934 if ${lt_cv_prog_compiler__b+:} false; then :
9935   $as_echo_n "(cached) " >&6
9936 else
9937   lt_cv_prog_compiler__b=no
9938    save_LDFLAGS="$LDFLAGS"
9939    LDFLAGS="$LDFLAGS -b"
9940    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9941    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9942      # The linker can only warn and ignore the option if not recognized
9943      # So say no if there are warnings
9944      if test -s conftest.err; then
9945        # Append any errors to the config.log.
9946        cat conftest.err 1>&5
9947        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9948        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9949        if diff conftest.exp conftest.er2 >/dev/null; then
9950          lt_cv_prog_compiler__b=yes
9951        fi
9952      else
9953        lt_cv_prog_compiler__b=yes
9954      fi
9955    fi
9956    $RM -r conftest*
9957    LDFLAGS="$save_LDFLAGS"
9958
9959 fi
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9961 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9962
9963 if test x"$lt_cv_prog_compiler__b" = xyes; then
9964     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9965 else
9966     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9967 fi
9968
9969           ;;
9970         esac
9971       fi
9972       if test "$with_gnu_ld" = no; then
9973         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9974         hardcode_libdir_separator=:
9975
9976         case $host_cpu in
9977         hppa*64*|ia64*)
9978           hardcode_direct=no
9979           hardcode_shlibpath_var=no
9980           ;;
9981         *)
9982           hardcode_direct=yes
9983           hardcode_direct_absolute=yes
9984           export_dynamic_flag_spec='${wl}-E'
9985
9986           # hardcode_minus_L: Not really in the search PATH,
9987           # but as the default location of the library.
9988           hardcode_minus_L=yes
9989           ;;
9990         esac
9991       fi
9992       ;;
9993
9994     irix5* | irix6* | nonstopux*)
9995       if test "$GCC" = yes; then
9996         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'
9997         # Try to use the -exported_symbol ld option, if it does not
9998         # work, assume that -exports_file does not work either and
9999         # implicitly export all symbols.
10000         # This should be the same for all languages, so no per-tag cache variable.
10001         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10002 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10003 if ${lt_cv_irix_exported_symbol+:} false; then :
10004   $as_echo_n "(cached) " >&6
10005 else
10006   save_LDFLAGS="$LDFLAGS"
10007            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10008            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h.  */
10010 int foo (void) { return 0; }
10011 _ACEOF
10012 if ac_fn_c_try_link "$LINENO"; then :
10013   lt_cv_irix_exported_symbol=yes
10014 else
10015   lt_cv_irix_exported_symbol=no
10016 fi
10017 rm -f core conftest.err conftest.$ac_objext \
10018     conftest$ac_exeext conftest.$ac_ext
10019            LDFLAGS="$save_LDFLAGS"
10020 fi
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10022 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10023         if test "$lt_cv_irix_exported_symbol" = yes; then
10024           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'
10025         fi
10026       else
10027         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'
10028         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'
10029       fi
10030       archive_cmds_need_lc='no'
10031       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10032       hardcode_libdir_separator=:
10033       inherit_rpath=yes
10034       link_all_deplibs=yes
10035       ;;
10036
10037     netbsd* | netbsdelf*-gnu)
10038       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10039         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10040       else
10041         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10042       fi
10043       hardcode_libdir_flag_spec='-R$libdir'
10044       hardcode_direct=yes
10045       hardcode_shlibpath_var=no
10046       ;;
10047
10048     newsos6)
10049       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050       hardcode_direct=yes
10051       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10052       hardcode_libdir_separator=:
10053       hardcode_shlibpath_var=no
10054       ;;
10055
10056     *nto* | *qnx*)
10057       ;;
10058
10059     openbsd*)
10060       if test -f /usr/libexec/ld.so; then
10061         hardcode_direct=yes
10062         hardcode_shlibpath_var=no
10063         hardcode_direct_absolute=yes
10064         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10065           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10066           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10067           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10068           export_dynamic_flag_spec='${wl}-E'
10069         else
10070           case $host_os in
10071            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10072              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10073              hardcode_libdir_flag_spec='-R$libdir'
10074              ;;
10075            *)
10076              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10077              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10078              ;;
10079           esac
10080         fi
10081       else
10082         ld_shlibs=no
10083       fi
10084       ;;
10085
10086     os2*)
10087       hardcode_libdir_flag_spec='-L$libdir'
10088       hardcode_minus_L=yes
10089       allow_undefined_flag=unsupported
10090       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'
10091       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10092       ;;
10093
10094     osf3*)
10095       if test "$GCC" = yes; then
10096         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10097         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'
10098       else
10099         allow_undefined_flag=' -expect_unresolved \*'
10100         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'
10101       fi
10102       archive_cmds_need_lc='no'
10103       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10104       hardcode_libdir_separator=:
10105       ;;
10106
10107     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10108       if test "$GCC" = yes; then
10109         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10110         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'
10111         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10112       else
10113         allow_undefined_flag=' -expect_unresolved \*'
10114         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'
10115         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~
10116         $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'
10117
10118         # Both c and cxx compiler support -rpath directly
10119         hardcode_libdir_flag_spec='-rpath $libdir'
10120       fi
10121       archive_cmds_need_lc='no'
10122       hardcode_libdir_separator=:
10123       ;;
10124
10125     solaris*)
10126       no_undefined_flag=' -z defs'
10127       if test "$GCC" = yes; then
10128         wlarc='${wl}'
10129         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10130         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10131           $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'
10132       else
10133         case `$CC -V 2>&1` in
10134         *"Compilers 5.0"*)
10135           wlarc=''
10136           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10137           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10138           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10139           ;;
10140         *)
10141           wlarc='${wl}'
10142           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10143           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10144           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10145           ;;
10146         esac
10147       fi
10148       hardcode_libdir_flag_spec='-R$libdir'
10149       hardcode_shlibpath_var=no
10150       case $host_os in
10151       solaris2.[0-5] | solaris2.[0-5].*) ;;
10152       *)
10153         # The compiler driver will combine and reorder linker options,
10154         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10155         # but is careful enough not to reorder.
10156         # Supported since Solaris 2.6 (maybe 2.5.1?)
10157         if test "$GCC" = yes; then
10158           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10159         else
10160           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10161         fi
10162         ;;
10163       esac
10164       link_all_deplibs=yes
10165       ;;
10166
10167     sunos4*)
10168       if test "x$host_vendor" = xsequent; then
10169         # Use $CC to link under sequent, because it throws in some extra .o
10170         # files that make .init and .fini sections work.
10171         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10172       else
10173         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10174       fi
10175       hardcode_libdir_flag_spec='-L$libdir'
10176       hardcode_direct=yes
10177       hardcode_minus_L=yes
10178       hardcode_shlibpath_var=no
10179       ;;
10180
10181     sysv4)
10182       case $host_vendor in
10183         sni)
10184           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10185           hardcode_direct=yes # is this really true???
10186         ;;
10187         siemens)
10188           ## LD is ld it makes a PLAMLIB
10189           ## CC just makes a GrossModule.
10190           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10191           reload_cmds='$CC -r -o $output$reload_objs'
10192           hardcode_direct=no
10193         ;;
10194         motorola)
10195           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10196           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10197         ;;
10198       esac
10199       runpath_var='LD_RUN_PATH'
10200       hardcode_shlibpath_var=no
10201       ;;
10202
10203     sysv4.3*)
10204       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10205       hardcode_shlibpath_var=no
10206       export_dynamic_flag_spec='-Bexport'
10207       ;;
10208
10209     sysv4*MP*)
10210       if test -d /usr/nec; then
10211         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10212         hardcode_shlibpath_var=no
10213         runpath_var=LD_RUN_PATH
10214         hardcode_runpath_var=yes
10215         ld_shlibs=yes
10216       fi
10217       ;;
10218
10219     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10220       no_undefined_flag='${wl}-z,text'
10221       archive_cmds_need_lc=no
10222       hardcode_shlibpath_var=no
10223       runpath_var='LD_RUN_PATH'
10224
10225       if test "$GCC" = yes; then
10226         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10227         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10228       else
10229         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10230         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10231       fi
10232       ;;
10233
10234     sysv5* | sco3.2v5* | sco5v6*)
10235       # Note: We can NOT use -z defs as we might desire, because we do not
10236       # link with -lc, and that would cause any symbols used from libc to
10237       # always be unresolved, which means just about no library would
10238       # ever link correctly.  If we're not using GNU ld we use -z text
10239       # though, which does catch some bad symbols but isn't as heavy-handed
10240       # as -z defs.
10241       no_undefined_flag='${wl}-z,text'
10242       allow_undefined_flag='${wl}-z,nodefs'
10243       archive_cmds_need_lc=no
10244       hardcode_shlibpath_var=no
10245       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10246       hardcode_libdir_separator=':'
10247       link_all_deplibs=yes
10248       export_dynamic_flag_spec='${wl}-Bexport'
10249       runpath_var='LD_RUN_PATH'
10250
10251       if test "$GCC" = yes; then
10252         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10253         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10254       else
10255         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10256         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10257       fi
10258       ;;
10259
10260     uts4*)
10261       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10262       hardcode_libdir_flag_spec='-L$libdir'
10263       hardcode_shlibpath_var=no
10264       ;;
10265
10266     *)
10267       ld_shlibs=no
10268       ;;
10269     esac
10270
10271     if test x$host_vendor = xsni; then
10272       case $host in
10273       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10274         export_dynamic_flag_spec='${wl}-Blargedynsym'
10275         ;;
10276       esac
10277     fi
10278   fi
10279
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10281 $as_echo "$ld_shlibs" >&6; }
10282 test "$ld_shlibs" = no && can_build_shared=no
10283
10284 with_gnu_ld=$with_gnu_ld
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300 #
10301 # Do we need to explicitly link libc?
10302 #
10303 case "x$archive_cmds_need_lc" in
10304 x|xyes)
10305   # Assume -lc should be added
10306   archive_cmds_need_lc=yes
10307
10308   if test "$enable_shared" = yes && test "$GCC" = yes; then
10309     case $archive_cmds in
10310     *'~'*)
10311       # FIXME: we may have to deal with multi-command sequences.
10312       ;;
10313     '$CC '*)
10314       # Test whether the compiler implicitly links with -lc since on some
10315       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10316       # to ld, don't add -lc before -lgcc.
10317       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10318 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10319 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10320   $as_echo_n "(cached) " >&6
10321 else
10322   $RM conftest*
10323         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10324
10325         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10326   (eval $ac_compile) 2>&5
10327   ac_status=$?
10328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10329   test $ac_status = 0; } 2>conftest.err; then
10330           soname=conftest
10331           lib=conftest
10332           libobjs=conftest.$ac_objext
10333           deplibs=
10334           wl=$lt_prog_compiler_wl
10335           pic_flag=$lt_prog_compiler_pic
10336           compiler_flags=-v
10337           linker_flags=-v
10338           verstring=
10339           output_objdir=.
10340           libname=conftest
10341           lt_save_allow_undefined_flag=$allow_undefined_flag
10342           allow_undefined_flag=
10343           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10344   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10345   ac_status=$?
10346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10347   test $ac_status = 0; }
10348           then
10349             lt_cv_archive_cmds_need_lc=no
10350           else
10351             lt_cv_archive_cmds_need_lc=yes
10352           fi
10353           allow_undefined_flag=$lt_save_allow_undefined_flag
10354         else
10355           cat conftest.err 1>&5
10356         fi
10357         $RM conftest*
10358
10359 fi
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10361 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10362       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10363       ;;
10364     esac
10365   fi
10366   ;;
10367 esac
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
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10521 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10522
10523 if test "$GCC" = yes; then
10524   case $host_os in
10525     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10526     *) lt_awk_arg="/^libraries:/" ;;
10527   esac
10528   case $host_os in
10529     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10530     *) lt_sed_strip_eq="s,=/,/,g" ;;
10531   esac
10532   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10533   case $lt_search_path_spec in
10534   *\;*)
10535     # if the path contains ";" then we assume it to be the separator
10536     # otherwise default to the standard path separator (i.e. ":") - it is
10537     # assumed that no part of a normal pathname contains ";" but that should
10538     # okay in the real world where ";" in dirpaths is itself problematic.
10539     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10540     ;;
10541   *)
10542     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10543     ;;
10544   esac
10545   # Ok, now we have the path, separated by spaces, we can step through it
10546   # and add multilib dir if necessary.
10547   lt_tmp_lt_search_path_spec=
10548   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10549   for lt_sys_path in $lt_search_path_spec; do
10550     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10551       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10552     else
10553       test -d "$lt_sys_path" && \
10554         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10555     fi
10556   done
10557   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10558 BEGIN {RS=" "; FS="/|\n";} {
10559   lt_foo="";
10560   lt_count=0;
10561   for (lt_i = NF; lt_i > 0; lt_i--) {
10562     if ($lt_i != "" && $lt_i != ".") {
10563       if ($lt_i == "..") {
10564         lt_count++;
10565       } else {
10566         if (lt_count == 0) {
10567           lt_foo="/" $lt_i lt_foo;
10568         } else {
10569           lt_count--;
10570         }
10571       }
10572     }
10573   }
10574   if (lt_foo != "") { lt_freq[lt_foo]++; }
10575   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10576 }'`
10577   # AWK program above erroneously prepends '/' to C:/dos/paths
10578   # for these hosts.
10579   case $host_os in
10580     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10581       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10582   esac
10583   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10584 else
10585   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10586 fi
10587 library_names_spec=
10588 libname_spec='lib$name'
10589 soname_spec=
10590 shrext_cmds=".so"
10591 postinstall_cmds=
10592 postuninstall_cmds=
10593 finish_cmds=
10594 finish_eval=
10595 shlibpath_var=
10596 shlibpath_overrides_runpath=unknown
10597 version_type=none
10598 dynamic_linker="$host_os ld.so"
10599 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10600 need_lib_prefix=unknown
10601 hardcode_into_libs=no
10602
10603 # when you set need_version to no, make sure it does not cause -set_version
10604 # flags to be left without arguments
10605 need_version=unknown
10606
10607 case $host_os in
10608 aix3*)
10609   version_type=linux # correct to gnu/linux during the next big refactor
10610   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10611   shlibpath_var=LIBPATH
10612
10613   # AIX 3 has no versioning support, so we append a major version to the name.
10614   soname_spec='${libname}${release}${shared_ext}$major'
10615   ;;
10616
10617 aix[4-9]*)
10618   version_type=linux # correct to gnu/linux during the next big refactor
10619   need_lib_prefix=no
10620   need_version=no
10621   hardcode_into_libs=yes
10622   if test "$host_cpu" = ia64; then
10623     # AIX 5 supports IA64
10624     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10625     shlibpath_var=LD_LIBRARY_PATH
10626   else
10627     # With GCC up to 2.95.x, collect2 would create an import file
10628     # for dependence libraries.  The import file would start with
10629     # the line `#! .'.  This would cause the generated library to
10630     # depend on `.', always an invalid library.  This was fixed in
10631     # development snapshots of GCC prior to 3.0.
10632     case $host_os in
10633       aix4 | aix4.[01] | aix4.[01].*)
10634       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10635            echo ' yes '
10636            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10637         :
10638       else
10639         can_build_shared=no
10640       fi
10641       ;;
10642     esac
10643     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10644     # soname into executable. Probably we can add versioning support to
10645     # collect2, so additional links can be useful in future.
10646     if test "$aix_use_runtimelinking" = yes; then
10647       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10648       # instead of lib<name>.a to let people know that these are not
10649       # typical AIX shared libraries.
10650       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10651     else
10652       # We preserve .a as extension for shared libraries through AIX4.2
10653       # and later when we are not doing run time linking.
10654       library_names_spec='${libname}${release}.a $libname.a'
10655       soname_spec='${libname}${release}${shared_ext}$major'
10656     fi
10657     shlibpath_var=LIBPATH
10658   fi
10659   ;;
10660
10661 amigaos*)
10662   case $host_cpu in
10663   powerpc)
10664     # Since July 2007 AmigaOS4 officially supports .so libraries.
10665     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10666     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667     ;;
10668   m68k)
10669     library_names_spec='$libname.ixlibrary $libname.a'
10670     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10671     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'
10672     ;;
10673   esac
10674   ;;
10675
10676 beos*)
10677   library_names_spec='${libname}${shared_ext}'
10678   dynamic_linker="$host_os ld.so"
10679   shlibpath_var=LIBRARY_PATH
10680   ;;
10681
10682 bsdi[45]*)
10683   version_type=linux # correct to gnu/linux during the next big refactor
10684   need_version=no
10685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686   soname_spec='${libname}${release}${shared_ext}$major'
10687   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10688   shlibpath_var=LD_LIBRARY_PATH
10689   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10690   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10691   # the default ld.so.conf also contains /usr/contrib/lib and
10692   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10693   # libtool to hard-code these into programs
10694   ;;
10695
10696 cygwin* | mingw* | pw32* | cegcc*)
10697   version_type=windows
10698   shrext_cmds=".dll"
10699   need_version=no
10700   need_lib_prefix=no
10701
10702   case $GCC,$cc_basename in
10703   yes,*)
10704     # gcc
10705     library_names_spec='$libname.dll.a'
10706     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10707     postinstall_cmds='base_file=`basename \${file}`~
10708       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10709       dldir=$destdir/`dirname \$dlpath`~
10710       test -d \$dldir || mkdir -p \$dldir~
10711       $install_prog $dir/$dlname \$dldir/$dlname~
10712       chmod a+x \$dldir/$dlname~
10713       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10714         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10715       fi'
10716     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10717       dlpath=$dir/\$dldll~
10718        $RM \$dlpath'
10719     shlibpath_overrides_runpath=yes
10720
10721     case $host_os in
10722     cygwin*)
10723       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10724       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10725
10726       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10727       ;;
10728     mingw* | cegcc*)
10729       # MinGW DLLs use traditional 'lib' prefix
10730       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10731       ;;
10732     pw32*)
10733       # pw32 DLLs use 'pw' prefix rather than 'lib'
10734       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10735       ;;
10736     esac
10737     dynamic_linker='Win32 ld.exe'
10738     ;;
10739
10740   *,cl*)
10741     # Native MSVC
10742     libname_spec='$name'
10743     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10744     library_names_spec='${libname}.dll.lib'
10745
10746     case $build_os in
10747     mingw*)
10748       sys_lib_search_path_spec=
10749       lt_save_ifs=$IFS
10750       IFS=';'
10751       for lt_path in $LIB
10752       do
10753         IFS=$lt_save_ifs
10754         # Let DOS variable expansion print the short 8.3 style file name.
10755         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10756         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10757       done
10758       IFS=$lt_save_ifs
10759       # Convert to MSYS style.
10760       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10761       ;;
10762     cygwin*)
10763       # Convert to unix form, then to dos form, then back to unix form
10764       # but this time dos style (no spaces!) so that the unix form looks
10765       # like /cygdrive/c/PROGRA~1:/cygdr...
10766       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10767       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10768       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10769       ;;
10770     *)
10771       sys_lib_search_path_spec="$LIB"
10772       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10773         # It is most probably a Windows format PATH.
10774         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10775       else
10776         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10777       fi
10778       # FIXME: find the short name or the path components, as spaces are
10779       # common. (e.g. "Program Files" -> "PROGRA~1")
10780       ;;
10781     esac
10782
10783     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10784     postinstall_cmds='base_file=`basename \${file}`~
10785       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10786       dldir=$destdir/`dirname \$dlpath`~
10787       test -d \$dldir || mkdir -p \$dldir~
10788       $install_prog $dir/$dlname \$dldir/$dlname'
10789     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10790       dlpath=$dir/\$dldll~
10791        $RM \$dlpath'
10792     shlibpath_overrides_runpath=yes
10793     dynamic_linker='Win32 link.exe'
10794     ;;
10795
10796   *)
10797     # Assume MSVC wrapper
10798     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10799     dynamic_linker='Win32 ld.exe'
10800     ;;
10801   esac
10802   # FIXME: first we should search . and the directory the executable is in
10803   shlibpath_var=PATH
10804   ;;
10805
10806 darwin* | rhapsody*)
10807   dynamic_linker="$host_os dyld"
10808   version_type=darwin
10809   need_lib_prefix=no
10810   need_version=no
10811   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10812   soname_spec='${libname}${release}${major}$shared_ext'
10813   shlibpath_overrides_runpath=yes
10814   shlibpath_var=DYLD_LIBRARY_PATH
10815   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10816
10817   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10818   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10819   ;;
10820
10821 dgux*)
10822   version_type=linux # correct to gnu/linux during the next big refactor
10823   need_lib_prefix=no
10824   need_version=no
10825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10826   soname_spec='${libname}${release}${shared_ext}$major'
10827   shlibpath_var=LD_LIBRARY_PATH
10828   ;;
10829
10830 freebsd* | dragonfly*)
10831   # DragonFly does not have aout.  When/if they implement a new
10832   # versioning mechanism, adjust this.
10833   if test -x /usr/bin/objformat; then
10834     objformat=`/usr/bin/objformat`
10835   else
10836     case $host_os in
10837     freebsd[23].*) objformat=aout ;;
10838     *) objformat=elf ;;
10839     esac
10840   fi
10841   version_type=freebsd-$objformat
10842   case $version_type in
10843     freebsd-elf*)
10844       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10845       need_version=no
10846       need_lib_prefix=no
10847       ;;
10848     freebsd-*)
10849       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10850       need_version=yes
10851       ;;
10852   esac
10853   shlibpath_var=LD_LIBRARY_PATH
10854   case $host_os in
10855   freebsd2.*)
10856     shlibpath_overrides_runpath=yes
10857     ;;
10858   freebsd3.[01]* | freebsdelf3.[01]*)
10859     shlibpath_overrides_runpath=yes
10860     hardcode_into_libs=yes
10861     ;;
10862   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10863   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10864     shlibpath_overrides_runpath=no
10865     hardcode_into_libs=yes
10866     ;;
10867   *) # from 4.6 on, and DragonFly
10868     shlibpath_overrides_runpath=yes
10869     hardcode_into_libs=yes
10870     ;;
10871   esac
10872   ;;
10873
10874 haiku*)
10875   version_type=linux # correct to gnu/linux during the next big refactor
10876   need_lib_prefix=no
10877   need_version=no
10878   dynamic_linker="$host_os runtime_loader"
10879   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10880   soname_spec='${libname}${release}${shared_ext}$major'
10881   shlibpath_var=LIBRARY_PATH
10882   shlibpath_overrides_runpath=yes
10883   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10884   hardcode_into_libs=yes
10885   ;;
10886
10887 hpux9* | hpux10* | hpux11*)
10888   # Give a soname corresponding to the major version so that dld.sl refuses to
10889   # link against other versions.
10890   version_type=sunos
10891   need_lib_prefix=no
10892   need_version=no
10893   case $host_cpu in
10894   ia64*)
10895     shrext_cmds='.so'
10896     hardcode_into_libs=yes
10897     dynamic_linker="$host_os dld.so"
10898     shlibpath_var=LD_LIBRARY_PATH
10899     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10900     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10901     soname_spec='${libname}${release}${shared_ext}$major'
10902     if test "X$HPUX_IA64_MODE" = X32; then
10903       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10904     else
10905       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10906     fi
10907     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10908     ;;
10909   hppa*64*)
10910     shrext_cmds='.sl'
10911     hardcode_into_libs=yes
10912     dynamic_linker="$host_os dld.sl"
10913     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10914     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10915     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916     soname_spec='${libname}${release}${shared_ext}$major'
10917     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10918     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10919     ;;
10920   *)
10921     shrext_cmds='.sl'
10922     dynamic_linker="$host_os dld.sl"
10923     shlibpath_var=SHLIB_PATH
10924     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10925     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926     soname_spec='${libname}${release}${shared_ext}$major'
10927     ;;
10928   esac
10929   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10930   postinstall_cmds='chmod 555 $lib'
10931   # or fails outright, so override atomically:
10932   install_override_mode=555
10933   ;;
10934
10935 interix[3-9]*)
10936   version_type=linux # correct to gnu/linux during the next big refactor
10937   need_lib_prefix=no
10938   need_version=no
10939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10940   soname_spec='${libname}${release}${shared_ext}$major'
10941   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10942   shlibpath_var=LD_LIBRARY_PATH
10943   shlibpath_overrides_runpath=no
10944   hardcode_into_libs=yes
10945   ;;
10946
10947 irix5* | irix6* | nonstopux*)
10948   case $host_os in
10949     nonstopux*) version_type=nonstopux ;;
10950     *)
10951         if test "$lt_cv_prog_gnu_ld" = yes; then
10952                 version_type=linux # correct to gnu/linux during the next big refactor
10953         else
10954                 version_type=irix
10955         fi ;;
10956   esac
10957   need_lib_prefix=no
10958   need_version=no
10959   soname_spec='${libname}${release}${shared_ext}$major'
10960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10961   case $host_os in
10962   irix5* | nonstopux*)
10963     libsuff= shlibsuff=
10964     ;;
10965   *)
10966     case $LD in # libtool.m4 will add one of these switches to LD
10967     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10968       libsuff= shlibsuff= libmagic=32-bit;;
10969     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10970       libsuff=32 shlibsuff=N32 libmagic=N32;;
10971     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10972       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10973     *) libsuff= shlibsuff= libmagic=never-match;;
10974     esac
10975     ;;
10976   esac
10977   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10978   shlibpath_overrides_runpath=no
10979   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10980   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10981   hardcode_into_libs=yes
10982   ;;
10983
10984 # No shared lib support for Linux oldld, aout, or coff.
10985 linux*oldld* | linux*aout* | linux*coff*)
10986   dynamic_linker=no
10987   ;;
10988
10989 # This must be glibc/ELF.
10990 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10991   version_type=linux # correct to gnu/linux during the next big refactor
10992   need_lib_prefix=no
10993   need_version=no
10994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995   soname_spec='${libname}${release}${shared_ext}$major'
10996   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10997   shlibpath_var=LD_LIBRARY_PATH
10998   shlibpath_overrides_runpath=no
10999
11000   # Some binutils ld are patched to set DT_RUNPATH
11001   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11002   $as_echo_n "(cached) " >&6
11003 else
11004   lt_cv_shlibpath_overrides_runpath=no
11005     save_LDFLAGS=$LDFLAGS
11006     save_libdir=$libdir
11007     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11008          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11009     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h.  */
11011
11012 int
11013 main ()
11014 {
11015
11016   ;
11017   return 0;
11018 }
11019 _ACEOF
11020 if ac_fn_c_try_link "$LINENO"; then :
11021   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11022   lt_cv_shlibpath_overrides_runpath=yes
11023 fi
11024 fi
11025 rm -f core conftest.err conftest.$ac_objext \
11026     conftest$ac_exeext conftest.$ac_ext
11027     LDFLAGS=$save_LDFLAGS
11028     libdir=$save_libdir
11029
11030 fi
11031
11032   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11033
11034   # This implies no fast_install, which is unacceptable.
11035   # Some rework will be needed to allow for fast_install
11036   # before this can be enabled.
11037   hardcode_into_libs=yes
11038
11039   # Append ld.so.conf contents to the search path
11040   if test -f /etc/ld.so.conf; then
11041     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' ' '`
11042     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11043   fi
11044
11045   # We used to test for /lib/ld.so.1 and disable shared libraries on
11046   # powerpc, because MkLinux only supported shared libraries with the
11047   # GNU dynamic linker.  Since this was broken with cross compilers,
11048   # most powerpc-linux boxes support dynamic linking these days and
11049   # people can always --disable-shared, the test was removed, and we
11050   # assume the GNU/Linux dynamic linker is in use.
11051   dynamic_linker='GNU/Linux ld.so'
11052   ;;
11053
11054 netbsdelf*-gnu)
11055   version_type=linux
11056   need_lib_prefix=no
11057   need_version=no
11058   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11059   soname_spec='${libname}${release}${shared_ext}$major'
11060   shlibpath_var=LD_LIBRARY_PATH
11061   shlibpath_overrides_runpath=no
11062   hardcode_into_libs=yes
11063   dynamic_linker='NetBSD ld.elf_so'
11064   ;;
11065
11066 netbsd*)
11067   version_type=sunos
11068   need_lib_prefix=no
11069   need_version=no
11070   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11071     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11072     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11073     dynamic_linker='NetBSD (a.out) ld.so'
11074   else
11075     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11076     soname_spec='${libname}${release}${shared_ext}$major'
11077     dynamic_linker='NetBSD ld.elf_so'
11078   fi
11079   shlibpath_var=LD_LIBRARY_PATH
11080   shlibpath_overrides_runpath=yes
11081   hardcode_into_libs=yes
11082   ;;
11083
11084 newsos6)
11085   version_type=linux # correct to gnu/linux during the next big refactor
11086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11087   shlibpath_var=LD_LIBRARY_PATH
11088   shlibpath_overrides_runpath=yes
11089   ;;
11090
11091 *nto* | *qnx*)
11092   version_type=qnx
11093   need_lib_prefix=no
11094   need_version=no
11095   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096   soname_spec='${libname}${release}${shared_ext}$major'
11097   shlibpath_var=LD_LIBRARY_PATH
11098   shlibpath_overrides_runpath=no
11099   hardcode_into_libs=yes
11100   dynamic_linker='ldqnx.so'
11101   ;;
11102
11103 openbsd*)
11104   version_type=sunos
11105   sys_lib_dlsearch_path_spec="/usr/lib"
11106   need_lib_prefix=no
11107   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11108   case $host_os in
11109     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11110     *)                          need_version=no  ;;
11111   esac
11112   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11113   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11114   shlibpath_var=LD_LIBRARY_PATH
11115   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11116     case $host_os in
11117       openbsd2.[89] | openbsd2.[89].*)
11118         shlibpath_overrides_runpath=no
11119         ;;
11120       *)
11121         shlibpath_overrides_runpath=yes
11122         ;;
11123       esac
11124   else
11125     shlibpath_overrides_runpath=yes
11126   fi
11127   ;;
11128
11129 os2*)
11130   libname_spec='$name'
11131   shrext_cmds=".dll"
11132   need_lib_prefix=no
11133   library_names_spec='$libname${shared_ext} $libname.a'
11134   dynamic_linker='OS/2 ld.exe'
11135   shlibpath_var=LIBPATH
11136   ;;
11137
11138 osf3* | osf4* | osf5*)
11139   version_type=osf
11140   need_lib_prefix=no
11141   need_version=no
11142   soname_spec='${libname}${release}${shared_ext}$major'
11143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11144   shlibpath_var=LD_LIBRARY_PATH
11145   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11146   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11147   ;;
11148
11149 rdos*)
11150   dynamic_linker=no
11151   ;;
11152
11153 solaris*)
11154   version_type=linux # correct to gnu/linux during the next big refactor
11155   need_lib_prefix=no
11156   need_version=no
11157   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11158   soname_spec='${libname}${release}${shared_ext}$major'
11159   shlibpath_var=LD_LIBRARY_PATH
11160   shlibpath_overrides_runpath=yes
11161   hardcode_into_libs=yes
11162   # ldd complains unless libraries are executable
11163   postinstall_cmds='chmod +x $lib'
11164   ;;
11165
11166 sunos4*)
11167   version_type=sunos
11168   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11169   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11170   shlibpath_var=LD_LIBRARY_PATH
11171   shlibpath_overrides_runpath=yes
11172   if test "$with_gnu_ld" = yes; then
11173     need_lib_prefix=no
11174   fi
11175   need_version=yes
11176   ;;
11177
11178 sysv4 | sysv4.3*)
11179   version_type=linux # correct to gnu/linux during the next big refactor
11180   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181   soname_spec='${libname}${release}${shared_ext}$major'
11182   shlibpath_var=LD_LIBRARY_PATH
11183   case $host_vendor in
11184     sni)
11185       shlibpath_overrides_runpath=no
11186       need_lib_prefix=no
11187       runpath_var=LD_RUN_PATH
11188       ;;
11189     siemens)
11190       need_lib_prefix=no
11191       ;;
11192     motorola)
11193       need_lib_prefix=no
11194       need_version=no
11195       shlibpath_overrides_runpath=no
11196       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11197       ;;
11198   esac
11199   ;;
11200
11201 sysv4*MP*)
11202   if test -d /usr/nec ;then
11203     version_type=linux # correct to gnu/linux during the next big refactor
11204     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11205     soname_spec='$libname${shared_ext}.$major'
11206     shlibpath_var=LD_LIBRARY_PATH
11207   fi
11208   ;;
11209
11210 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11211   version_type=freebsd-elf
11212   need_lib_prefix=no
11213   need_version=no
11214   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11215   soname_spec='${libname}${release}${shared_ext}$major'
11216   shlibpath_var=LD_LIBRARY_PATH
11217   shlibpath_overrides_runpath=yes
11218   hardcode_into_libs=yes
11219   if test "$with_gnu_ld" = yes; then
11220     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11221   else
11222     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11223     case $host_os in
11224       sco3.2v5*)
11225         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11226         ;;
11227     esac
11228   fi
11229   sys_lib_dlsearch_path_spec='/usr/lib'
11230   ;;
11231
11232 tpf*)
11233   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11234   version_type=linux # correct to gnu/linux during the next big refactor
11235   need_lib_prefix=no
11236   need_version=no
11237   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11238   shlibpath_var=LD_LIBRARY_PATH
11239   shlibpath_overrides_runpath=no
11240   hardcode_into_libs=yes
11241   ;;
11242
11243 uts4*)
11244   version_type=linux # correct to gnu/linux during the next big refactor
11245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11246   soname_spec='${libname}${release}${shared_ext}$major'
11247   shlibpath_var=LD_LIBRARY_PATH
11248   ;;
11249
11250 *)
11251   dynamic_linker=no
11252   ;;
11253 esac
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11255 $as_echo "$dynamic_linker" >&6; }
11256 test "$dynamic_linker" = no && can_build_shared=no
11257
11258 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11259 if test "$GCC" = yes; then
11260   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11261 fi
11262
11263 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11264   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11265 fi
11266 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11267   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11268 fi
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
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11362 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11363 hardcode_action=
11364 if test -n "$hardcode_libdir_flag_spec" ||
11365    test -n "$runpath_var" ||
11366    test "X$hardcode_automatic" = "Xyes" ; then
11367
11368   # We can hardcode non-existent directories.
11369   if test "$hardcode_direct" != no &&
11370      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11371      # have to relink, otherwise we might link with an installed library
11372      # when we should be linking with a yet-to-be-installed one
11373      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11374      test "$hardcode_minus_L" != no; then
11375     # Linking always hardcodes the temporary library directory.
11376     hardcode_action=relink
11377   else
11378     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11379     hardcode_action=immediate
11380   fi
11381 else
11382   # We cannot hardcode anything, or else we can only hardcode existing
11383   # directories.
11384   hardcode_action=unsupported
11385 fi
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11387 $as_echo "$hardcode_action" >&6; }
11388
11389 if test "$hardcode_action" = relink ||
11390    test "$inherit_rpath" = yes; then
11391   # Fast installation is not supported
11392   enable_fast_install=no
11393 elif test "$shlibpath_overrides_runpath" = yes ||
11394      test "$enable_shared" = no; then
11395   # Fast installation is not necessary
11396   enable_fast_install=needless
11397 fi
11398
11399
11400
11401
11402
11403
11404   if test "x$enable_dlopen" != xyes; then
11405   enable_dlopen=unknown
11406   enable_dlopen_self=unknown
11407   enable_dlopen_self_static=unknown
11408 else
11409   lt_cv_dlopen=no
11410   lt_cv_dlopen_libs=
11411
11412   case $host_os in
11413   beos*)
11414     lt_cv_dlopen="load_add_on"
11415     lt_cv_dlopen_libs=
11416     lt_cv_dlopen_self=yes
11417     ;;
11418
11419   mingw* | pw32* | cegcc*)
11420     lt_cv_dlopen="LoadLibrary"
11421     lt_cv_dlopen_libs=
11422     ;;
11423
11424   cygwin*)
11425     lt_cv_dlopen="dlopen"
11426     lt_cv_dlopen_libs=
11427     ;;
11428
11429   darwin*)
11430   # if libdl is installed we need to link against it
11431     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11432 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11433 if ${ac_cv_lib_dl_dlopen+:} false; then :
11434   $as_echo_n "(cached) " >&6
11435 else
11436   ac_check_lib_save_LIBS=$LIBS
11437 LIBS="-ldl  $LIBS"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h.  */
11440
11441 /* Override any GCC internal prototype to avoid an error.
11442    Use char because int might match the return type of a GCC
11443    builtin and then its argument prototype would still apply.  */
11444 #ifdef __cplusplus
11445 extern "C"
11446 #endif
11447 char dlopen ();
11448 int
11449 main ()
11450 {
11451 return dlopen ();
11452   ;
11453   return 0;
11454 }
11455 _ACEOF
11456 if ac_fn_c_try_link "$LINENO"; then :
11457   ac_cv_lib_dl_dlopen=yes
11458 else
11459   ac_cv_lib_dl_dlopen=no
11460 fi
11461 rm -f core conftest.err conftest.$ac_objext \
11462     conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_lib_save_LIBS
11464 fi
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11466 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11467 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11468   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11469 else
11470
11471     lt_cv_dlopen="dyld"
11472     lt_cv_dlopen_libs=
11473     lt_cv_dlopen_self=yes
11474
11475 fi
11476
11477     ;;
11478
11479   *)
11480     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11481 if test "x$ac_cv_func_shl_load" = xyes; then :
11482   lt_cv_dlopen="shl_load"
11483 else
11484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11485 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11486 if ${ac_cv_lib_dld_shl_load+:} false; then :
11487   $as_echo_n "(cached) " >&6
11488 else
11489   ac_check_lib_save_LIBS=$LIBS
11490 LIBS="-ldld  $LIBS"
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h.  */
11493
11494 /* Override any GCC internal prototype to avoid an error.
11495    Use char because int might match the return type of a GCC
11496    builtin and then its argument prototype would still apply.  */
11497 #ifdef __cplusplus
11498 extern "C"
11499 #endif
11500 char shl_load ();
11501 int
11502 main ()
11503 {
11504 return shl_load ();
11505   ;
11506   return 0;
11507 }
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"; then :
11510   ac_cv_lib_dld_shl_load=yes
11511 else
11512   ac_cv_lib_dld_shl_load=no
11513 fi
11514 rm -f core conftest.err conftest.$ac_objext \
11515     conftest$ac_exeext conftest.$ac_ext
11516 LIBS=$ac_check_lib_save_LIBS
11517 fi
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11519 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11520 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11521   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11522 else
11523   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11524 if test "x$ac_cv_func_dlopen" = xyes; then :
11525   lt_cv_dlopen="dlopen"
11526 else
11527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11528 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11529 if ${ac_cv_lib_dl_dlopen+:} false; then :
11530   $as_echo_n "(cached) " >&6
11531 else
11532   ac_check_lib_save_LIBS=$LIBS
11533 LIBS="-ldl  $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h.  */
11536
11537 /* Override any GCC internal prototype to avoid an error.
11538    Use char because int might match the return type of a GCC
11539    builtin and then its argument prototype would still apply.  */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char dlopen ();
11544 int
11545 main ()
11546 {
11547 return dlopen ();
11548   ;
11549   return 0;
11550 }
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553   ac_cv_lib_dl_dlopen=yes
11554 else
11555   ac_cv_lib_dl_dlopen=no
11556 fi
11557 rm -f core conftest.err conftest.$ac_objext \
11558     conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_lib_save_LIBS
11560 fi
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11562 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11563 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11564   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11565 else
11566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11567 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11568 if ${ac_cv_lib_svld_dlopen+:} false; then :
11569   $as_echo_n "(cached) " >&6
11570 else
11571   ac_check_lib_save_LIBS=$LIBS
11572 LIBS="-lsvld  $LIBS"
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h.  */
11575
11576 /* Override any GCC internal prototype to avoid an error.
11577    Use char because int might match the return type of a GCC
11578    builtin and then its argument prototype would still apply.  */
11579 #ifdef __cplusplus
11580 extern "C"
11581 #endif
11582 char dlopen ();
11583 int
11584 main ()
11585 {
11586 return dlopen ();
11587   ;
11588   return 0;
11589 }
11590 _ACEOF
11591 if ac_fn_c_try_link "$LINENO"; then :
11592   ac_cv_lib_svld_dlopen=yes
11593 else
11594   ac_cv_lib_svld_dlopen=no
11595 fi
11596 rm -f core conftest.err conftest.$ac_objext \
11597     conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11599 fi
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11601 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11602 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11603   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11604 else
11605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11606 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11607 if ${ac_cv_lib_dld_dld_link+:} false; then :
11608   $as_echo_n "(cached) " >&6
11609 else
11610   ac_check_lib_save_LIBS=$LIBS
11611 LIBS="-ldld  $LIBS"
11612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h.  */
11614
11615 /* Override any GCC internal prototype to avoid an error.
11616    Use char because int might match the return type of a GCC
11617    builtin and then its argument prototype would still apply.  */
11618 #ifdef __cplusplus
11619 extern "C"
11620 #endif
11621 char dld_link ();
11622 int
11623 main ()
11624 {
11625 return dld_link ();
11626   ;
11627   return 0;
11628 }
11629 _ACEOF
11630 if ac_fn_c_try_link "$LINENO"; then :
11631   ac_cv_lib_dld_dld_link=yes
11632 else
11633   ac_cv_lib_dld_dld_link=no
11634 fi
11635 rm -f core conftest.err conftest.$ac_objext \
11636     conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_lib_save_LIBS
11638 fi
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11640 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11641 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11642   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11643 fi
11644
11645
11646 fi
11647
11648
11649 fi
11650
11651
11652 fi
11653
11654
11655 fi
11656
11657
11658 fi
11659
11660     ;;
11661   esac
11662
11663   if test "x$lt_cv_dlopen" != xno; then
11664     enable_dlopen=yes
11665   else
11666     enable_dlopen=no
11667   fi
11668
11669   case $lt_cv_dlopen in
11670   dlopen)
11671     save_CPPFLAGS="$CPPFLAGS"
11672     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11673
11674     save_LDFLAGS="$LDFLAGS"
11675     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11676
11677     save_LIBS="$LIBS"
11678     LIBS="$lt_cv_dlopen_libs $LIBS"
11679
11680     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11681 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11682 if ${lt_cv_dlopen_self+:} false; then :
11683   $as_echo_n "(cached) " >&6
11684 else
11685           if test "$cross_compiling" = yes; then :
11686   lt_cv_dlopen_self=cross
11687 else
11688   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11689   lt_status=$lt_dlunknown
11690   cat > conftest.$ac_ext <<_LT_EOF
11691 #line $LINENO "configure"
11692 #include "confdefs.h"
11693
11694 #if HAVE_DLFCN_H
11695 #include <dlfcn.h>
11696 #endif
11697
11698 #include <stdio.h>
11699
11700 #ifdef RTLD_GLOBAL
11701 #  define LT_DLGLOBAL           RTLD_GLOBAL
11702 #else
11703 #  ifdef DL_GLOBAL
11704 #    define LT_DLGLOBAL         DL_GLOBAL
11705 #  else
11706 #    define LT_DLGLOBAL         0
11707 #  endif
11708 #endif
11709
11710 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11711    find out it does not work in some platform. */
11712 #ifndef LT_DLLAZY_OR_NOW
11713 #  ifdef RTLD_LAZY
11714 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11715 #  else
11716 #    ifdef DL_LAZY
11717 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11718 #    else
11719 #      ifdef RTLD_NOW
11720 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11721 #      else
11722 #        ifdef DL_NOW
11723 #          define LT_DLLAZY_OR_NOW      DL_NOW
11724 #        else
11725 #          define LT_DLLAZY_OR_NOW      0
11726 #        endif
11727 #      endif
11728 #    endif
11729 #  endif
11730 #endif
11731
11732 /* When -fvisbility=hidden is used, assume the code has been annotated
11733    correspondingly for the symbols needed.  */
11734 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11735 int fnord () __attribute__((visibility("default")));
11736 #endif
11737
11738 int fnord () { return 42; }
11739 int main ()
11740 {
11741   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11742   int status = $lt_dlunknown;
11743
11744   if (self)
11745     {
11746       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11747       else
11748         {
11749           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11750           else puts (dlerror ());
11751         }
11752       /* dlclose (self); */
11753     }
11754   else
11755     puts (dlerror ());
11756
11757   return status;
11758 }
11759 _LT_EOF
11760   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11761   (eval $ac_link) 2>&5
11762   ac_status=$?
11763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11764   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11765     (./conftest; exit; ) >&5 2>/dev/null
11766     lt_status=$?
11767     case x$lt_status in
11768       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11769       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11770       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11771     esac
11772   else :
11773     # compilation failed
11774     lt_cv_dlopen_self=no
11775   fi
11776 fi
11777 rm -fr conftest*
11778
11779
11780 fi
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11782 $as_echo "$lt_cv_dlopen_self" >&6; }
11783
11784     if test "x$lt_cv_dlopen_self" = xyes; then
11785       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11786       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11787 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11788 if ${lt_cv_dlopen_self_static+:} false; then :
11789   $as_echo_n "(cached) " >&6
11790 else
11791           if test "$cross_compiling" = yes; then :
11792   lt_cv_dlopen_self_static=cross
11793 else
11794   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11795   lt_status=$lt_dlunknown
11796   cat > conftest.$ac_ext <<_LT_EOF
11797 #line $LINENO "configure"
11798 #include "confdefs.h"
11799
11800 #if HAVE_DLFCN_H
11801 #include <dlfcn.h>
11802 #endif
11803
11804 #include <stdio.h>
11805
11806 #ifdef RTLD_GLOBAL
11807 #  define LT_DLGLOBAL           RTLD_GLOBAL
11808 #else
11809 #  ifdef DL_GLOBAL
11810 #    define LT_DLGLOBAL         DL_GLOBAL
11811 #  else
11812 #    define LT_DLGLOBAL         0
11813 #  endif
11814 #endif
11815
11816 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11817    find out it does not work in some platform. */
11818 #ifndef LT_DLLAZY_OR_NOW
11819 #  ifdef RTLD_LAZY
11820 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11821 #  else
11822 #    ifdef DL_LAZY
11823 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11824 #    else
11825 #      ifdef RTLD_NOW
11826 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11827 #      else
11828 #        ifdef DL_NOW
11829 #          define LT_DLLAZY_OR_NOW      DL_NOW
11830 #        else
11831 #          define LT_DLLAZY_OR_NOW      0
11832 #        endif
11833 #      endif
11834 #    endif
11835 #  endif
11836 #endif
11837
11838 /* When -fvisbility=hidden is used, assume the code has been annotated
11839    correspondingly for the symbols needed.  */
11840 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11841 int fnord () __attribute__((visibility("default")));
11842 #endif
11843
11844 int fnord () { return 42; }
11845 int main ()
11846 {
11847   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11848   int status = $lt_dlunknown;
11849
11850   if (self)
11851     {
11852       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11853       else
11854         {
11855           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11856           else puts (dlerror ());
11857         }
11858       /* dlclose (self); */
11859     }
11860   else
11861     puts (dlerror ());
11862
11863   return status;
11864 }
11865 _LT_EOF
11866   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11867   (eval $ac_link) 2>&5
11868   ac_status=$?
11869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11870   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11871     (./conftest; exit; ) >&5 2>/dev/null
11872     lt_status=$?
11873     case x$lt_status in
11874       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11875       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11876       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11877     esac
11878   else :
11879     # compilation failed
11880     lt_cv_dlopen_self_static=no
11881   fi
11882 fi
11883 rm -fr conftest*
11884
11885
11886 fi
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11888 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11889     fi
11890
11891     CPPFLAGS="$save_CPPFLAGS"
11892     LDFLAGS="$save_LDFLAGS"
11893     LIBS="$save_LIBS"
11894     ;;
11895   esac
11896
11897   case $lt_cv_dlopen_self in
11898   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11899   *) enable_dlopen_self=unknown ;;
11900   esac
11901
11902   case $lt_cv_dlopen_self_static in
11903   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11904   *) enable_dlopen_self_static=unknown ;;
11905   esac
11906 fi
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924 striplib=
11925 old_striplib=
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11927 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11928 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11929   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11930   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11932 $as_echo "yes" >&6; }
11933 else
11934 # FIXME - insert some real tests, host_os isn't really good enough
11935   case $host_os in
11936   darwin*)
11937     if test -n "$STRIP" ; then
11938       striplib="$STRIP -x"
11939       old_striplib="$STRIP -S"
11940       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11941 $as_echo "yes" >&6; }
11942     else
11943       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11944 $as_echo "no" >&6; }
11945     fi
11946     ;;
11947   *)
11948     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11949 $as_echo "no" >&6; }
11950     ;;
11951   esac
11952 fi
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965   # Report which library types will actually be built
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11967 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11969 $as_echo "$can_build_shared" >&6; }
11970
11971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11972 $as_echo_n "checking whether to build shared libraries... " >&6; }
11973   test "$can_build_shared" = "no" && enable_shared=no
11974
11975   # On AIX, shared libraries and static libraries use the same namespace, and
11976   # are all built from PIC.
11977   case $host_os in
11978   aix3*)
11979     test "$enable_shared" = yes && enable_static=no
11980     if test -n "$RANLIB"; then
11981       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11982       postinstall_cmds='$RANLIB $lib'
11983     fi
11984     ;;
11985
11986   aix[4-9]*)
11987     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11988       test "$enable_shared" = yes && enable_static=no
11989     fi
11990     ;;
11991   esac
11992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11993 $as_echo "$enable_shared" >&6; }
11994
11995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11996 $as_echo_n "checking whether to build static libraries... " >&6; }
11997   # Make sure either enable_shared or enable_static is yes.
11998   test "$enable_shared" = yes || enable_static=yes
11999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12000 $as_echo "$enable_static" >&6; }
12001
12002
12003
12004
12005 fi
12006 ac_ext=c
12007 ac_cpp='$CPP $CPPFLAGS'
12008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12011
12012 CC="$lt_save_CC"
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028         ac_config_commands="$ac_config_commands libtool"
12029
12030
12031
12032
12033 # Only expand once:
12034
12035
12036
12037 # Gobject Introspection
12038
12039
12040
12041
12042
12043
12044
12045 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12046         if test -n "$ac_tool_prefix"; then
12047   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12048 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12050 $as_echo_n "checking for $ac_word... " >&6; }
12051 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12052   $as_echo_n "(cached) " >&6
12053 else
12054   case $PKG_CONFIG in
12055   [\\/]* | ?:[\\/]*)
12056   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12057   ;;
12058   *)
12059   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12060 for as_dir in $PATH
12061 do
12062   IFS=$as_save_IFS
12063   test -z "$as_dir" && as_dir=.
12064     for ac_exec_ext in '' $ac_executable_extensions; do
12065   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12066     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12068     break 2
12069   fi
12070 done
12071   done
12072 IFS=$as_save_IFS
12073
12074   ;;
12075 esac
12076 fi
12077 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12078 if test -n "$PKG_CONFIG"; then
12079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12080 $as_echo "$PKG_CONFIG" >&6; }
12081 else
12082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12083 $as_echo "no" >&6; }
12084 fi
12085
12086
12087 fi
12088 if test -z "$ac_cv_path_PKG_CONFIG"; then
12089   ac_pt_PKG_CONFIG=$PKG_CONFIG
12090   # Extract the first word of "pkg-config", so it can be a program name with args.
12091 set dummy pkg-config; ac_word=$2
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12093 $as_echo_n "checking for $ac_word... " >&6; }
12094 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12095   $as_echo_n "(cached) " >&6
12096 else
12097   case $ac_pt_PKG_CONFIG in
12098   [\\/]* | ?:[\\/]*)
12099   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12100   ;;
12101   *)
12102   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12103 for as_dir in $PATH
12104 do
12105   IFS=$as_save_IFS
12106   test -z "$as_dir" && as_dir=.
12107     for ac_exec_ext in '' $ac_executable_extensions; do
12108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12109     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12111     break 2
12112   fi
12113 done
12114   done
12115 IFS=$as_save_IFS
12116
12117   ;;
12118 esac
12119 fi
12120 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12121 if test -n "$ac_pt_PKG_CONFIG"; then
12122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12123 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12124 else
12125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12126 $as_echo "no" >&6; }
12127 fi
12128
12129   if test "x$ac_pt_PKG_CONFIG" = x; then
12130     PKG_CONFIG=""
12131   else
12132     case $cross_compiling:$ac_tool_warned in
12133 yes:)
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12136 ac_tool_warned=yes ;;
12137 esac
12138     PKG_CONFIG=$ac_pt_PKG_CONFIG
12139   fi
12140 else
12141   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12142 fi
12143
12144 fi
12145 if test -n "$PKG_CONFIG"; then
12146         _pkg_min_version=0.9.0
12147         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12148 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12149         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12150                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12151 $as_echo "yes" >&6; }
12152         else
12153                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12154 $as_echo "no" >&6; }
12155                 PKG_CONFIG=""
12156         fi
12157 fi
12158
12159
12160
12161                 # Check whether --enable-introspection was given.
12162 if test "${enable_introspection+set}" = set; then :
12163   enableval=$enable_introspection;
12164 else
12165   enable_introspection=auto
12166 fi
12167
12168
12169     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12170 $as_echo_n "checking for gobject-introspection... " >&6; }
12171
12172         case $enable_introspection in #(
12173   no) :
12174             found_introspection="no (disabled, use --enable-introspection to enable)"
12175      ;; #(
12176       yes) :
12177             if test -n "$PKG_CONFIG" && \
12178     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12179   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12180   ac_status=$?
12181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12182   test $ac_status = 0; }; then
12183   :
12184 else
12185   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12186 fi
12187         if test -n "$PKG_CONFIG" && \
12188     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
12189   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
12190   ac_status=$?
12191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12192   test $ac_status = 0; }; then
12193   found_introspection=yes
12194 else
12195   as_fn_error $? "You need to have gobject-introspection >= 1.30.0 installed to build libgsignon-glib" "$LINENO" 5
12196 fi
12197      ;; #(
12198       auto) :
12199             if test -n "$PKG_CONFIG" && \
12200     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
12201   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
12202   ac_status=$?
12203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12204   test $ac_status = 0; }; then
12205   found_introspection=yes
12206 else
12207   found_introspection=no
12208 fi
12209      ;; #(
12210   *) :
12211                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12212      ;;
12213 esac
12214     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12215 $as_echo "$found_introspection" >&6; }
12216
12217     INTROSPECTION_SCANNER=
12218     INTROSPECTION_COMPILER=
12219     INTROSPECTION_GENERATE=
12220     INTROSPECTION_GIRDIR=
12221     INTROSPECTION_TYPELIBDIR=
12222     if test "x$found_introspection" = "xyes"; then
12223        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12224        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12225        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12226        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12227        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12228        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12229        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12230        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12231     fi
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241      if test "x$found_introspection" = "xyes"; then
12242   HAVE_INTROSPECTION_TRUE=
12243   HAVE_INTROSPECTION_FALSE='#'
12244 else
12245   HAVE_INTROSPECTION_TRUE='#'
12246   HAVE_INTROSPECTION_FALSE=
12247 fi
12248
12249
12250
12251
12252
12253 pkg_failed=no
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
12255 $as_echo_n "checking for DEPS... " >&6; }
12256
12257 if test -n "$DEPS_CFLAGS"; then
12258     pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
12259  elif test -n "$PKG_CONFIG"; then
12260     if test -n "$PKG_CONFIG" && \
12261     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
12262      gio-unix-2.0
12263      glib-2.0 >= 2.32
12264      gobject-2.0,
12265      gthread-2.0\""; } >&5
12266   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12267      gio-unix-2.0
12268      glib-2.0 >= 2.32
12269      gobject-2.0,
12270      gthread-2.0") 2>&5
12271   ac_status=$?
12272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12273   test $ac_status = 0; }; then
12274   pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.30
12275      gio-unix-2.0
12276      glib-2.0 >= 2.32
12277      gobject-2.0,
12278      gthread-2.0" 2>/dev/null`
12279                       test "x$?" != "x0" && pkg_failed=yes
12280 else
12281   pkg_failed=yes
12282 fi
12283  else
12284     pkg_failed=untried
12285 fi
12286 if test -n "$DEPS_LIBS"; then
12287     pkg_cv_DEPS_LIBS="$DEPS_LIBS"
12288  elif test -n "$PKG_CONFIG"; then
12289     if test -n "$PKG_CONFIG" && \
12290     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30
12291      gio-unix-2.0
12292      glib-2.0 >= 2.32
12293      gobject-2.0,
12294      gthread-2.0\""; } >&5
12295   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30
12296      gio-unix-2.0
12297      glib-2.0 >= 2.32
12298      gobject-2.0,
12299      gthread-2.0") 2>&5
12300   ac_status=$?
12301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12302   test $ac_status = 0; }; then
12303   pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.30
12304      gio-unix-2.0
12305      glib-2.0 >= 2.32
12306      gobject-2.0,
12307      gthread-2.0" 2>/dev/null`
12308                       test "x$?" != "x0" && pkg_failed=yes
12309 else
12310   pkg_failed=yes
12311 fi
12312  else
12313     pkg_failed=untried
12314 fi
12315
12316
12317
12318 if test $pkg_failed = yes; then
12319         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12321
12322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12323         _pkg_short_errors_supported=yes
12324 else
12325         _pkg_short_errors_supported=no
12326 fi
12327         if test $_pkg_short_errors_supported = yes; then
12328                 DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.30
12329      gio-unix-2.0
12330      glib-2.0 >= 2.32
12331      gobject-2.0,
12332      gthread-2.0" 2>&1`
12333         else
12334                 DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.30
12335      gio-unix-2.0
12336      glib-2.0 >= 2.32
12337      gobject-2.0,
12338      gthread-2.0" 2>&1`
12339         fi
12340         # Put the nasty error message in config.log where it belongs
12341         echo "$DEPS_PKG_ERRORS" >&5
12342
12343         as_fn_error $? "Package requirements (gio-2.0 >= 2.30
12344      gio-unix-2.0
12345      glib-2.0 >= 2.32
12346      gobject-2.0,
12347      gthread-2.0) were not met:
12348
12349 $DEPS_PKG_ERRORS
12350
12351 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12352 installed software in a non-standard prefix.
12353
12354 Alternatively, you may set the environment variables DEPS_CFLAGS
12355 and DEPS_LIBS to avoid the need to call pkg-config.
12356 See the pkg-config man page for more details." "$LINENO" 5
12357 elif test $pkg_failed = untried; then
12358         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12359 $as_echo "no" >&6; }
12360         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12362 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12363 is in your PATH or set the PKG_CONFIG environment variable to the full
12364 path to pkg-config.
12365
12366 Alternatively, you may set the environment variables DEPS_CFLAGS
12367 and DEPS_LIBS to avoid the need to call pkg-config.
12368 See the pkg-config man page for more details.
12369
12370 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12371 See \`config.log' for more details" "$LINENO" 5; }
12372 else
12373         DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
12374         DEPS_LIBS=$pkg_cv_DEPS_LIBS
12375         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12376 $as_echo "yes" >&6; }
12377
12378 fi
12379
12380
12381
12382 # Check whether --enable-dbus-type was given.
12383 if test "${enable_dbus_type+set}" = set; then :
12384   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12385 else
12386   enable_dbus_type=p2p
12387 fi
12388
12389
12390 echo "----------------------"
12391 echo " DBUS TYPE : '$enable_dbus_type'"
12392 echo "-----------------------"
12393 if test "x$enable_dbus_type" = "xp2p" ; then
12394
12395 $as_echo "#define USE_P2P 1" >>confdefs.h
12396
12397
12398 $as_echo "#define SIGNOND_BUS_ADDRESS \"unix:path=%s/gsignond/bus-sock\"" >>confdefs.h
12399
12400 elif test "x$enable_dbus_type" = "xsession" ; then
12401
12402 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12403
12404
12405     # Build tests.
12406
12407 pkg_failed=no
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12409 $as_echo_n "checking for GTestDBus... " >&6; }
12410
12411 if test -n "$GTestDBus_CFLAGS"; then
12412     pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12413  elif test -n "$PKG_CONFIG"; then
12414     if test -n "$PKG_CONFIG" && \
12415     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12416   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12417   ac_status=$?
12418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12419   test $ac_status = 0; }; then
12420   pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.34" 2>/dev/null`
12421                       test "x$?" != "x0" && pkg_failed=yes
12422 else
12423   pkg_failed=yes
12424 fi
12425  else
12426     pkg_failed=untried
12427 fi
12428 if test -n "$GTestDBus_LIBS"; then
12429     pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12430  elif test -n "$PKG_CONFIG"; then
12431     if test -n "$PKG_CONFIG" && \
12432     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.34\""; } >&5
12433   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.34") 2>&5
12434   ac_status=$?
12435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12436   test $ac_status = 0; }; then
12437   pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.34" 2>/dev/null`
12438                       test "x$?" != "x0" && pkg_failed=yes
12439 else
12440   pkg_failed=yes
12441 fi
12442  else
12443     pkg_failed=untried
12444 fi
12445
12446
12447
12448 if test $pkg_failed = yes; then
12449         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12450 $as_echo "no" >&6; }
12451
12452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12453         _pkg_short_errors_supported=yes
12454 else
12455         _pkg_short_errors_supported=no
12456 fi
12457         if test $_pkg_short_errors_supported = yes; then
12458                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12459         else
12460                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.34" 2>&1`
12461         fi
12462         # Put the nasty error message in config.log where it belongs
12463         echo "$GTestDBus_PKG_ERRORS" >&5
12464
12465         gtestdbus=no
12466 elif test $pkg_failed = untried; then
12467         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12468 $as_echo "no" >&6; }
12469         gtestdbus=no
12470 else
12471         GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12472         GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12473         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12474 $as_echo "yes" >&6; }
12475         gtestdbus=yes
12476 fi
12477     if test "x$gtestdbus" = xyes; then
12478
12479 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12480
12481     else
12482
12483 $as_echo "#define HAVE_GTESTDBUS 0" >>confdefs.h
12484
12485     fi
12486 elif test "x$enable_dbus_type" = "xsystem" ; then
12487
12488 $as_echo "#define SIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12489
12490 fi
12491 if test "x$enable_dbus_type" != "xp2p" ; then
12492     DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12493 fi
12494
12495  if test x$gtestdbus = xyes; then
12496   HAVE_GTESTDBUS_TRUE=
12497   HAVE_GTESTDBUS_FALSE='#'
12498 else
12499   HAVE_GTESTDBUS_TRUE='#'
12500   HAVE_GTESTDBUS_FALSE=
12501 fi
12502
12503
12504 CHECK_REQUIRED="check >= 0.9.4"
12505
12506 # Check whether --enable-tests was given.
12507 if test "${enable_tests+set}" = set; then :
12508   enableval=$enable_tests;
12509 fi
12510
12511
12512 if test "x$enable_tests" != "xno"; 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   have_check=yes
12520 else
12521   have_check=no
12522 fi
12523 else
12524   have_check=no
12525 fi
12526
12527 if test "x$have_check" = "xyes"; then :
12528
12529 pkg_failed=no
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12531 $as_echo_n "checking for CHECK... " >&6; }
12532
12533 if test -n "$CHECK_CFLAGS"; then
12534     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12535  elif test -n "$PKG_CONFIG"; then
12536     if test -n "$PKG_CONFIG" && \
12537     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12538   ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12539   ac_status=$?
12540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12541   test $ac_status = 0; }; then
12542   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$CHECK_REQUIRED" 2>/dev/null`
12543                       test "x$?" != "x0" && pkg_failed=yes
12544 else
12545   pkg_failed=yes
12546 fi
12547  else
12548     pkg_failed=untried
12549 fi
12550 if test -n "$CHECK_LIBS"; then
12551     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12552  elif test -n "$PKG_CONFIG"; then
12553     if test -n "$PKG_CONFIG" && \
12554     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CHECK_REQUIRED\""; } >&5
12555   ($PKG_CONFIG --exists --print-errors "$CHECK_REQUIRED") 2>&5
12556   ac_status=$?
12557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12558   test $ac_status = 0; }; then
12559   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "$CHECK_REQUIRED" 2>/dev/null`
12560                       test "x$?" != "x0" && pkg_failed=yes
12561 else
12562   pkg_failed=yes
12563 fi
12564  else
12565     pkg_failed=untried
12566 fi
12567
12568
12569
12570 if test $pkg_failed = yes; then
12571         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12572 $as_echo "no" >&6; }
12573
12574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12575         _pkg_short_errors_supported=yes
12576 else
12577         _pkg_short_errors_supported=no
12578 fi
12579         if test $_pkg_short_errors_supported = yes; then
12580                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12581         else
12582                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$CHECK_REQUIRED" 2>&1`
12583         fi
12584         # Put the nasty error message in config.log where it belongs
12585         echo "$CHECK_PKG_ERRORS" >&5
12586
12587         as_fn_error $? "Package requirements ($CHECK_REQUIRED) were not met:
12588
12589 $CHECK_PKG_ERRORS
12590
12591 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12592 installed software in a non-standard prefix.
12593
12594 Alternatively, you may set the environment variables CHECK_CFLAGS
12595 and CHECK_LIBS to avoid the need to call pkg-config.
12596 See the pkg-config man page for more details." "$LINENO" 5
12597 elif test $pkg_failed = untried; then
12598         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12599 $as_echo "no" >&6; }
12600         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12602 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12603 is in your PATH or set the PKG_CONFIG environment variable to the full
12604 path to pkg-config.
12605
12606 Alternatively, you may set the environment variables CHECK_CFLAGS
12607 and CHECK_LIBS to avoid the need to call pkg-config.
12608 See the pkg-config man page for more details.
12609
12610 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12611 See \`config.log' for more details" "$LINENO" 5; }
12612 else
12613         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12614         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12615         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12616 $as_echo "yes" >&6; }
12617
12618 fi
12619
12620
12621 else
12622   if test "x$enable_tests" = "xyes"; then :
12623   as_fn_error $? "tests enabled but required dependencies were not found" "$LINENO" 5
12624 fi
12625 fi
12626
12627  if test "x$have_check" = "xyes"; then
12628   ENABLE_TESTS_TRUE=
12629   ENABLE_TESTS_FALSE='#'
12630 else
12631   ENABLE_TESTS_TRUE='#'
12632   ENABLE_TESTS_FALSE=
12633 fi
12634
12635
12636
12637
12638
12639
12640   gtk_doc_requires="gtk-doc >= 1.14"
12641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12642 $as_echo_n "checking for gtk-doc... " >&6; }
12643   if test -n "$PKG_CONFIG" && \
12644     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12645   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12646   ac_status=$?
12647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12648   test $ac_status = 0; }; then
12649   have_gtk_doc=yes
12650 else
12651   have_gtk_doc=no
12652 fi
12653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12654 $as_echo "$have_gtk_doc" >&6; }
12655
12656   if test "$have_gtk_doc" = "no"; then
12657       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12658   You will not be able to create source packages with 'make dist'
12659   because $gtk_doc_requires is not found." >&5
12660 $as_echo "$as_me: WARNING:
12661   You will not be able to create source packages with 'make dist'
12662   because $gtk_doc_requires is not found." >&2;}
12663   fi
12664
12665             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12666 set dummy gtkdoc-check; ac_word=$2
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12668 $as_echo_n "checking for $ac_word... " >&6; }
12669 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12670   $as_echo_n "(cached) " >&6
12671 else
12672   if test -n "$GTKDOC_CHECK"; then
12673   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12674 else
12675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12676 for as_dir in $PATH
12677 do
12678   IFS=$as_save_IFS
12679   test -z "$as_dir" && as_dir=.
12680     for ac_exec_ext in '' $ac_executable_extensions; do
12681   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12682     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12684     break 2
12685   fi
12686 done
12687   done
12688 IFS=$as_save_IFS
12689
12690 fi
12691 fi
12692 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12693 if test -n "$GTKDOC_CHECK"; then
12694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12695 $as_echo "$GTKDOC_CHECK" >&6; }
12696 else
12697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12698 $as_echo "no" >&6; }
12699 fi
12700
12701
12702   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12703 set dummy gtkdoc-check; ac_word=$2
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12705 $as_echo_n "checking for $ac_word... " >&6; }
12706 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12707   $as_echo_n "(cached) " >&6
12708 else
12709   case $GTKDOC_CHECK_PATH in
12710   [\\/]* | ?:[\\/]*)
12711   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12712   ;;
12713   *)
12714   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12715 for as_dir in $PATH
12716 do
12717   IFS=$as_save_IFS
12718   test -z "$as_dir" && as_dir=.
12719     for ac_exec_ext in '' $ac_executable_extensions; do
12720   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12721     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12723     break 2
12724   fi
12725 done
12726   done
12727 IFS=$as_save_IFS
12728
12729   ;;
12730 esac
12731 fi
12732 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12733 if test -n "$GTKDOC_CHECK_PATH"; then
12734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12735 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12736 else
12737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12738 $as_echo "no" >&6; }
12739 fi
12740
12741
12742   for ac_prog in gtkdoc-rebase
12743 do
12744   # Extract the first word of "$ac_prog", so it can be a program name with args.
12745 set dummy $ac_prog; ac_word=$2
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12747 $as_echo_n "checking for $ac_word... " >&6; }
12748 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12749   $as_echo_n "(cached) " >&6
12750 else
12751   case $GTKDOC_REBASE in
12752   [\\/]* | ?:[\\/]*)
12753   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12754   ;;
12755   *)
12756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12757 for as_dir in $PATH
12758 do
12759   IFS=$as_save_IFS
12760   test -z "$as_dir" && as_dir=.
12761     for ac_exec_ext in '' $ac_executable_extensions; do
12762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12763     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12765     break 2
12766   fi
12767 done
12768   done
12769 IFS=$as_save_IFS
12770
12771   ;;
12772 esac
12773 fi
12774 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12775 if test -n "$GTKDOC_REBASE"; then
12776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12777 $as_echo "$GTKDOC_REBASE" >&6; }
12778 else
12779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12780 $as_echo "no" >&6; }
12781 fi
12782
12783
12784   test -n "$GTKDOC_REBASE" && break
12785 done
12786 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12787
12788   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12789 set dummy gtkdoc-mkpdf; ac_word=$2
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12791 $as_echo_n "checking for $ac_word... " >&6; }
12792 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12793   $as_echo_n "(cached) " >&6
12794 else
12795   case $GTKDOC_MKPDF in
12796   [\\/]* | ?:[\\/]*)
12797   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12798   ;;
12799   *)
12800   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12801 for as_dir in $PATH
12802 do
12803   IFS=$as_save_IFS
12804   test -z "$as_dir" && as_dir=.
12805     for ac_exec_ext in '' $ac_executable_extensions; do
12806   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12807     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12809     break 2
12810   fi
12811 done
12812   done
12813 IFS=$as_save_IFS
12814
12815   ;;
12816 esac
12817 fi
12818 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12819 if test -n "$GTKDOC_MKPDF"; then
12820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12821 $as_echo "$GTKDOC_MKPDF" >&6; }
12822 else
12823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12824 $as_echo "no" >&6; }
12825 fi
12826
12827
12828
12829
12830 # Check whether --with-html-dir was given.
12831 if test "${with_html_dir+set}" = set; then :
12832   withval=$with_html_dir;
12833 else
12834   with_html_dir='${datadir}/gtk-doc/html'
12835 fi
12836
12837   HTML_DIR="$with_html_dir"
12838
12839
12840     # Check whether --enable-gtk-doc was given.
12841 if test "${enable_gtk_doc+set}" = set; then :
12842   enableval=$enable_gtk_doc;
12843 else
12844   enable_gtk_doc=no
12845 fi
12846
12847
12848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12849 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12851 $as_echo "$enable_gtk_doc" >&6; }
12852
12853   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12854     as_fn_error $? "
12855   You must have $gtk_doc_requires installed to build documentation for
12856   $PACKAGE_NAME. Please install gtk-doc or disable building the
12857   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12858   fi
12859
12860     if test "x$PACKAGE_NAME" != "xglib"; then
12861
12862 pkg_failed=no
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12864 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12865
12866 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12867     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12868  elif test -n "$PKG_CONFIG"; then
12869     if test -n "$PKG_CONFIG" && \
12870     { { $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
12871   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12872   ac_status=$?
12873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12874   test $ac_status = 0; }; then
12875   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12876                       test "x$?" != "x0" && pkg_failed=yes
12877 else
12878   pkg_failed=yes
12879 fi
12880  else
12881     pkg_failed=untried
12882 fi
12883 if test -n "$GTKDOC_DEPS_LIBS"; then
12884     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12885  elif test -n "$PKG_CONFIG"; then
12886     if test -n "$PKG_CONFIG" && \
12887     { { $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
12888   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12889   ac_status=$?
12890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12891   test $ac_status = 0; }; then
12892   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12893                       test "x$?" != "x0" && pkg_failed=yes
12894 else
12895   pkg_failed=yes
12896 fi
12897  else
12898     pkg_failed=untried
12899 fi
12900
12901
12902
12903 if test $pkg_failed = yes; then
12904         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12905 $as_echo "no" >&6; }
12906
12907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12908         _pkg_short_errors_supported=yes
12909 else
12910         _pkg_short_errors_supported=no
12911 fi
12912         if test $_pkg_short_errors_supported = yes; then
12913                 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`
12914         else
12915                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12916         fi
12917         # Put the nasty error message in config.log where it belongs
12918         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12919
12920         :
12921 elif test $pkg_failed = untried; then
12922         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12923 $as_echo "no" >&6; }
12924         :
12925 else
12926         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12927         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12928         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12929 $as_echo "yes" >&6; }
12930
12931 fi
12932   fi
12933
12934     # Check whether --enable-gtk-doc-html was given.
12935 if test "${enable_gtk_doc_html+set}" = set; then :
12936   enableval=$enable_gtk_doc_html;
12937 else
12938   enable_gtk_doc_html=yes
12939 fi
12940
12941     # Check whether --enable-gtk-doc-pdf was given.
12942 if test "${enable_gtk_doc_pdf+set}" = set; then :
12943   enableval=$enable_gtk_doc_pdf;
12944 else
12945   enable_gtk_doc_pdf=no
12946 fi
12947
12948
12949   if test -z "$GTKDOC_MKPDF"; then
12950     enable_gtk_doc_pdf=no
12951   fi
12952
12953   if test -z "$AM_DEFAULT_VERBOSITY"; then
12954     AM_DEFAULT_VERBOSITY=1
12955   fi
12956
12957
12958    if test x$have_gtk_doc = xyes; then
12959   HAVE_GTK_DOC_TRUE=
12960   HAVE_GTK_DOC_FALSE='#'
12961 else
12962   HAVE_GTK_DOC_TRUE='#'
12963   HAVE_GTK_DOC_FALSE=
12964 fi
12965
12966    if test x$enable_gtk_doc = xyes; then
12967   ENABLE_GTK_DOC_TRUE=
12968   ENABLE_GTK_DOC_FALSE='#'
12969 else
12970   ENABLE_GTK_DOC_TRUE='#'
12971   ENABLE_GTK_DOC_FALSE=
12972 fi
12973
12974    if test x$enable_gtk_doc_html = xyes; then
12975   GTK_DOC_BUILD_HTML_TRUE=
12976   GTK_DOC_BUILD_HTML_FALSE='#'
12977 else
12978   GTK_DOC_BUILD_HTML_TRUE='#'
12979   GTK_DOC_BUILD_HTML_FALSE=
12980 fi
12981
12982    if test x$enable_gtk_doc_pdf = xyes; then
12983   GTK_DOC_BUILD_PDF_TRUE=
12984   GTK_DOC_BUILD_PDF_FALSE='#'
12985 else
12986   GTK_DOC_BUILD_PDF_TRUE='#'
12987   GTK_DOC_BUILD_PDF_FALSE=
12988 fi
12989
12990    if test -n "$LIBTOOL"; then
12991   GTK_DOC_USE_LIBTOOL_TRUE=
12992   GTK_DOC_USE_LIBTOOL_FALSE='#'
12993 else
12994   GTK_DOC_USE_LIBTOOL_TRUE='#'
12995   GTK_DOC_USE_LIBTOOL_FALSE=
12996 fi
12997
12998    if test -n "$GTKDOC_REBASE"; then
12999   GTK_DOC_USE_REBASE_TRUE=
13000   GTK_DOC_USE_REBASE_FALSE='#'
13001 else
13002   GTK_DOC_USE_REBASE_TRUE='#'
13003   GTK_DOC_USE_REBASE_FALSE=
13004 fi
13005
13006
13007
13008
13009 # Check whether --enable-cast-checks was given.
13010 if test "${enable_cast_checks+set}" = set; then :
13011   enableval=$enable_cast_checks;
13012 fi
13013
13014 if test "x$enable_cast_checks" = "xno"; then :
13015   CFLAGS="$CFLAGS -DG_DISABLE_CAST_CHECKS"
13016 fi
13017
13018 # Check whether --enable-asserts was given.
13019 if test "${enable_asserts+set}" = set; then :
13020   enableval=$enable_asserts;
13021 fi
13022
13023 if test "x$enable_asserts" = "xno"; then :
13024   CFLAGS="$CFLAGS -DG_DISABLE_ASSERTS"
13025 fi
13026
13027 # Check whether --enable-checks was given.
13028 if test "${enable_checks+set}" = set; then :
13029   enableval=$enable_checks;
13030 fi
13031
13032 if test "x$checks" = "xno"; then :
13033   CFLAGS="$CFLAGS -DG_DISABLE_CHECKS"
13034 fi
13035
13036 # Check whether --enable-debug was given.
13037 if test "${enable_debug+set}" = set; then :
13038   enableval=$enable_debug;
13039 fi
13040
13041 if test "x$enable_debug" = "xyes"; then :
13042   CFLAGS="$CFLAGS -DENABLE_DEBUG"
13043 fi
13044
13045 # Check whether --enable-coverage was given.
13046 if test "${enable_coverage+set}" = set; then :
13047   enableval=$enable_coverage;
13048 fi
13049
13050 if test "x$enable_coverage" = "xyes"; then :
13051   CFLAGS="$CFLAGS -g -fprofile-arcs -ftest-coverage"
13052 fi
13053
13054 # Python support.
13055 PYGOBJECT_REQUIRED=2.90
13056
13057 # Check whether --enable-python was given.
13058 if test "${enable_python+set}" = set; then :
13059   enableval=$enable_python;
13060 fi
13061
13062
13063 if test "x$enable_python" != "xno"; then :
13064   if test -n "$PKG_CONFIG" && \
13065     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
13066   ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
13067   ac_status=$?
13068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13069   test $ac_status = 0; }; then
13070   have_python=yes
13071 else
13072   have_python=no
13073 fi
13074 fi
13075
13076 if test "x$have_python" = "xyes"; then :
13077
13078
13079
13080
13081
13082
13083         # Find any Python interpreter.
13084     if test -z "$PYTHON"; then
13085       for ac_prog in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
13086 do
13087   # Extract the first word of "$ac_prog", so it can be a program name with args.
13088 set dummy $ac_prog; ac_word=$2
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13090 $as_echo_n "checking for $ac_word... " >&6; }
13091 if ${ac_cv_path_PYTHON+:} false; then :
13092   $as_echo_n "(cached) " >&6
13093 else
13094   case $PYTHON in
13095   [\\/]* | ?:[\\/]*)
13096   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13097   ;;
13098   *)
13099   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13100 for as_dir in $PATH
13101 do
13102   IFS=$as_save_IFS
13103   test -z "$as_dir" && as_dir=.
13104     for ac_exec_ext in '' $ac_executable_extensions; do
13105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13106     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13108     break 2
13109   fi
13110 done
13111   done
13112 IFS=$as_save_IFS
13113
13114   ;;
13115 esac
13116 fi
13117 PYTHON=$ac_cv_path_PYTHON
13118 if test -n "$PYTHON"; then
13119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13120 $as_echo "$PYTHON" >&6; }
13121 else
13122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13123 $as_echo "no" >&6; }
13124 fi
13125
13126
13127   test -n "$PYTHON" && break
13128 done
13129 test -n "$PYTHON" || PYTHON=":"
13130
13131     fi
13132     am_display_PYTHON=python
13133
13134
13135   if test "$PYTHON" = :; then
13136       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
13137   else
13138
13139
13140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13141 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13142 if ${am_cv_python_version+:} false; then :
13143   $as_echo_n "(cached) " >&6
13144 else
13145   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13146 fi
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13148 $as_echo "$am_cv_python_version" >&6; }
13149   PYTHON_VERSION=$am_cv_python_version
13150
13151
13152
13153   PYTHON_PREFIX='${prefix}'
13154
13155   PYTHON_EXEC_PREFIX='${exec_prefix}'
13156
13157
13158
13159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13160 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13161 if ${am_cv_python_platform+:} false; then :
13162   $as_echo_n "(cached) " >&6
13163 else
13164   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13165 fi
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13167 $as_echo "$am_cv_python_platform" >&6; }
13168   PYTHON_PLATFORM=$am_cv_python_platform
13169
13170
13171   # Just factor out some code duplication.
13172   am_python_setup_sysconfig="\
13173 import sys
13174 # Prefer sysconfig over distutils.sysconfig, for better compatibility
13175 # with python 3.x.  See automake bug#10227.
13176 try:
13177     import sysconfig
13178 except ImportError:
13179     can_use_sysconfig = 0
13180 else:
13181     can_use_sysconfig = 1
13182 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
13183 # <https://github.com/pypa/virtualenv/issues/118>
13184 try:
13185     from platform import python_implementation
13186     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
13187         can_use_sysconfig = 0
13188 except ImportError:
13189     pass"
13190
13191
13192             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13193 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13194 if ${am_cv_python_pythondir+:} false; then :
13195   $as_echo_n "(cached) " >&6
13196 else
13197   if test "x$prefix" = xNONE
13198      then
13199        am_py_prefix=$ac_default_prefix
13200      else
13201        am_py_prefix=$prefix
13202      fi
13203      am_cv_python_pythondir=`$PYTHON -c "
13204 $am_python_setup_sysconfig
13205 if can_use_sysconfig:
13206     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
13207 else:
13208     from distutils import sysconfig
13209     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
13210 sys.stdout.write(sitedir)"`
13211      case $am_cv_python_pythondir in
13212      $am_py_prefix*)
13213        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13214        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13215        ;;
13216      *)
13217        case $am_py_prefix in
13218          /usr|/System*) ;;
13219          *)
13220           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13221           ;;
13222        esac
13223        ;;
13224      esac
13225
13226 fi
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13228 $as_echo "$am_cv_python_pythondir" >&6; }
13229   pythondir=$am_cv_python_pythondir
13230
13231
13232
13233   pkgpythondir=\${pythondir}/$PACKAGE
13234
13235
13236         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13237 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13238 if ${am_cv_python_pyexecdir+:} false; then :
13239   $as_echo_n "(cached) " >&6
13240 else
13241   if test "x$exec_prefix" = xNONE
13242      then
13243        am_py_exec_prefix=$am_py_prefix
13244      else
13245        am_py_exec_prefix=$exec_prefix
13246      fi
13247      am_cv_python_pyexecdir=`$PYTHON -c "
13248 $am_python_setup_sysconfig
13249 if can_use_sysconfig:
13250     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
13251 else:
13252     from distutils import sysconfig
13253     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
13254 sys.stdout.write(sitedir)"`
13255      case $am_cv_python_pyexecdir in
13256      $am_py_exec_prefix*)
13257        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13258        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13259        ;;
13260      *)
13261        case $am_py_exec_prefix in
13262          /usr|/System*) ;;
13263          *)
13264            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13265            ;;
13266        esac
13267        ;;
13268      esac
13269
13270 fi
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13272 $as_echo "$am_cv_python_pyexecdir" >&6; }
13273   pyexecdir=$am_cv_python_pyexecdir
13274
13275
13276
13277   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13278
13279
13280
13281   fi
13282
13283
13284      pyoverridesdir=`$PYTHON -c "import gi;print (gi._overridesdir)" 2>/dev/null`
13285
13286 fi
13287
13288  if test "x$have_python" = "xyes"; then
13289   ENABLE_PYTHON_TRUE=
13290   ENABLE_PYTHON_FALSE='#'
13291 else
13292   ENABLE_PYTHON_TRUE='#'
13293   ENABLE_PYTHON_FALSE=
13294 fi
13295
13296
13297 ac_config_files="$ac_config_files Makefile libgsignon-glib/Makefile libgsignon-glib.pc docs/Makefile docs/reference/Makefile docs/reference/version.xml tests/Makefile pygobject/Makefile examples/Makefile"
13298
13299 cat >confcache <<\_ACEOF
13300 # This file is a shell script that caches the results of configure
13301 # tests run on this system so they can be shared between configure
13302 # scripts and configure runs, see configure's option --config-cache.
13303 # It is not useful on other systems.  If it contains results you don't
13304 # want to keep, you may remove or edit it.
13305 #
13306 # config.status only pays attention to the cache file if you give it
13307 # the --recheck option to rerun configure.
13308 #
13309 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13310 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13311 # following values.
13312
13313 _ACEOF
13314
13315 # The following way of writing the cache mishandles newlines in values,
13316 # but we know of no workaround that is simple, portable, and efficient.
13317 # So, we kill variables containing newlines.
13318 # Ultrix sh set writes to stderr and can't be redirected directly,
13319 # and sets the high bit in the cache file unless we assign to the vars.
13320 (
13321   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13322     eval ac_val=\$$ac_var
13323     case $ac_val in #(
13324     *${as_nl}*)
13325       case $ac_var in #(
13326       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13327 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13328       esac
13329       case $ac_var in #(
13330       _ | IFS | as_nl) ;; #(
13331       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13332       *) { eval $ac_var=; unset $ac_var;} ;;
13333       esac ;;
13334     esac
13335   done
13336
13337   (set) 2>&1 |
13338     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13339     *${as_nl}ac_space=\ *)
13340       # `set' does not quote correctly, so add quotes: double-quote
13341       # substitution turns \\\\ into \\, and sed turns \\ into \.
13342       sed -n \
13343         "s/'/'\\\\''/g;
13344           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13345       ;; #(
13346     *)
13347       # `set' quotes correctly as required by POSIX, so do not add quotes.
13348       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13349       ;;
13350     esac |
13351     sort
13352 ) |
13353   sed '
13354      /^ac_cv_env_/b end
13355      t clear
13356      :clear
13357      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13358      t end
13359      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13360      :end' >>confcache
13361 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13362   if test -w "$cache_file"; then
13363     if test "x$cache_file" != "x/dev/null"; then
13364       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13365 $as_echo "$as_me: updating cache $cache_file" >&6;}
13366       if test ! -f "$cache_file" || test -h "$cache_file"; then
13367         cat confcache >"$cache_file"
13368       else
13369         case $cache_file in #(
13370         */* | ?:*)
13371           mv -f confcache "$cache_file"$$ &&
13372           mv -f "$cache_file"$$ "$cache_file" ;; #(
13373         *)
13374           mv -f confcache "$cache_file" ;;
13375         esac
13376       fi
13377     fi
13378   else
13379     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13380 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13381   fi
13382 fi
13383 rm -f confcache
13384
13385 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13386 # Let make expand exec_prefix.
13387 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13388
13389 DEFS=-DHAVE_CONFIG_H
13390
13391 ac_libobjs=
13392 ac_ltlibobjs=
13393 U=
13394 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13395   # 1. Remove the extension, and $U if already installed.
13396   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13397   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13398   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13399   #    will be set to the directory where LIBOBJS objects are built.
13400   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13401   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13402 done
13403 LIBOBJS=$ac_libobjs
13404
13405 LTLIBOBJS=$ac_ltlibobjs
13406
13407
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13409 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13410    if test -n "$am_sleep_pid"; then
13411      # Hide warnings about reused PIDs.
13412      wait $am_sleep_pid 2>/dev/null
13413    fi
13414    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13415 $as_echo "done" >&6; }
13416  if test -n "$EXEEXT"; then
13417   am__EXEEXT_TRUE=
13418   am__EXEEXT_FALSE='#'
13419 else
13420   am__EXEEXT_TRUE='#'
13421   am__EXEEXT_FALSE=
13422 fi
13423
13424 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13425   as_fn_error $? "conditional \"AMDEP\" was never defined.
13426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13427 fi
13428 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13429   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13431 fi
13432 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13433   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13435 fi
13436 if test -z "${HAVE_GTESTDBUS_TRUE}" && test -z "${HAVE_GTESTDBUS_FALSE}"; then
13437   as_fn_error $? "conditional \"HAVE_GTESTDBUS\" was never defined.
13438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13439 fi
13440 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13441   as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13443 fi
13444 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13445   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13447 fi
13448 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13449   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13451 fi
13452 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13453   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13455 fi
13456 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13457   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13459 fi
13460 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13461   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13463 fi
13464 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13465   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13467 fi
13468 if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
13469   as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
13470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13471 fi
13472
13473 : "${CONFIG_STATUS=./config.status}"
13474 ac_write_fail=0
13475 ac_clean_files_save=$ac_clean_files
13476 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13478 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13479 as_write_fail=0
13480 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13481 #! $SHELL
13482 # Generated by $as_me.
13483 # Run this file to recreate the current configuration.
13484 # Compiler output produced by configure, useful for debugging
13485 # configure, is in config.log if it exists.
13486
13487 debug=false
13488 ac_cs_recheck=false
13489 ac_cs_silent=false
13490
13491 SHELL=\${CONFIG_SHELL-$SHELL}
13492 export SHELL
13493 _ASEOF
13494 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13495 ## -------------------- ##
13496 ## M4sh Initialization. ##
13497 ## -------------------- ##
13498
13499 # Be more Bourne compatible
13500 DUALCASE=1; export DUALCASE # for MKS sh
13501 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13502   emulate sh
13503   NULLCMD=:
13504   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13505   # is contrary to our usage.  Disable this feature.
13506   alias -g '${1+"$@"}'='"$@"'
13507   setopt NO_GLOB_SUBST
13508 else
13509   case `(set -o) 2>/dev/null` in #(
13510   *posix*) :
13511     set -o posix ;; #(
13512   *) :
13513      ;;
13514 esac
13515 fi
13516
13517
13518 as_nl='
13519 '
13520 export as_nl
13521 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13522 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13523 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13524 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13525 # Prefer a ksh shell builtin over an external printf program on Solaris,
13526 # but without wasting forks for bash or zsh.
13527 if test -z "$BASH_VERSION$ZSH_VERSION" \
13528     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13529   as_echo='print -r --'
13530   as_echo_n='print -rn --'
13531 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13532   as_echo='printf %s\n'
13533   as_echo_n='printf %s'
13534 else
13535   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13536     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13537     as_echo_n='/usr/ucb/echo -n'
13538   else
13539     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13540     as_echo_n_body='eval
13541       arg=$1;
13542       case $arg in #(
13543       *"$as_nl"*)
13544         expr "X$arg" : "X\\(.*\\)$as_nl";
13545         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13546       esac;
13547       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13548     '
13549     export as_echo_n_body
13550     as_echo_n='sh -c $as_echo_n_body as_echo'
13551   fi
13552   export as_echo_body
13553   as_echo='sh -c $as_echo_body as_echo'
13554 fi
13555
13556 # The user is always right.
13557 if test "${PATH_SEPARATOR+set}" != set; then
13558   PATH_SEPARATOR=:
13559   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13560     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13561       PATH_SEPARATOR=';'
13562   }
13563 fi
13564
13565
13566 # IFS
13567 # We need space, tab and new line, in precisely that order.  Quoting is
13568 # there to prevent editors from complaining about space-tab.
13569 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13570 # splitting by setting IFS to empty value.)
13571 IFS=" ""        $as_nl"
13572
13573 # Find who we are.  Look in the path if we contain no directory separator.
13574 as_myself=
13575 case $0 in #((
13576   *[\\/]* ) as_myself=$0 ;;
13577   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13578 for as_dir in $PATH
13579 do
13580   IFS=$as_save_IFS
13581   test -z "$as_dir" && as_dir=.
13582     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13583   done
13584 IFS=$as_save_IFS
13585
13586      ;;
13587 esac
13588 # We did not find ourselves, most probably we were run as `sh COMMAND'
13589 # in which case we are not to be found in the path.
13590 if test "x$as_myself" = x; then
13591   as_myself=$0
13592 fi
13593 if test ! -f "$as_myself"; then
13594   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13595   exit 1
13596 fi
13597
13598 # Unset variables that we do not need and which cause bugs (e.g. in
13599 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13600 # suppresses any "Segmentation fault" message there.  '((' could
13601 # trigger a bug in pdksh 5.2.14.
13602 for as_var in BASH_ENV ENV MAIL MAILPATH
13603 do eval test x\${$as_var+set} = xset \
13604   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13605 done
13606 PS1='$ '
13607 PS2='> '
13608 PS4='+ '
13609
13610 # NLS nuisances.
13611 LC_ALL=C
13612 export LC_ALL
13613 LANGUAGE=C
13614 export LANGUAGE
13615
13616 # CDPATH.
13617 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13618
13619
13620 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13621 # ----------------------------------------
13622 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13623 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13624 # script with STATUS, using 1 if that was 0.
13625 as_fn_error ()
13626 {
13627   as_status=$1; test $as_status -eq 0 && as_status=1
13628   if test "$4"; then
13629     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13630     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13631   fi
13632   $as_echo "$as_me: error: $2" >&2
13633   as_fn_exit $as_status
13634 } # as_fn_error
13635
13636
13637 # as_fn_set_status STATUS
13638 # -----------------------
13639 # Set $? to STATUS, without forking.
13640 as_fn_set_status ()
13641 {
13642   return $1
13643 } # as_fn_set_status
13644
13645 # as_fn_exit STATUS
13646 # -----------------
13647 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13648 as_fn_exit ()
13649 {
13650   set +e
13651   as_fn_set_status $1
13652   exit $1
13653 } # as_fn_exit
13654
13655 # as_fn_unset VAR
13656 # ---------------
13657 # Portably unset VAR.
13658 as_fn_unset ()
13659 {
13660   { eval $1=; unset $1;}
13661 }
13662 as_unset=as_fn_unset
13663 # as_fn_append VAR VALUE
13664 # ----------------------
13665 # Append the text in VALUE to the end of the definition contained in VAR. Take
13666 # advantage of any shell optimizations that allow amortized linear growth over
13667 # repeated appends, instead of the typical quadratic growth present in naive
13668 # implementations.
13669 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13670   eval 'as_fn_append ()
13671   {
13672     eval $1+=\$2
13673   }'
13674 else
13675   as_fn_append ()
13676   {
13677     eval $1=\$$1\$2
13678   }
13679 fi # as_fn_append
13680
13681 # as_fn_arith ARG...
13682 # ------------------
13683 # Perform arithmetic evaluation on the ARGs, and store the result in the
13684 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13685 # must be portable across $(()) and expr.
13686 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13687   eval 'as_fn_arith ()
13688   {
13689     as_val=$(( $* ))
13690   }'
13691 else
13692   as_fn_arith ()
13693   {
13694     as_val=`expr "$@" || test $? -eq 1`
13695   }
13696 fi # as_fn_arith
13697
13698
13699 if expr a : '\(a\)' >/dev/null 2>&1 &&
13700    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13701   as_expr=expr
13702 else
13703   as_expr=false
13704 fi
13705
13706 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13707   as_basename=basename
13708 else
13709   as_basename=false
13710 fi
13711
13712 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13713   as_dirname=dirname
13714 else
13715   as_dirname=false
13716 fi
13717
13718 as_me=`$as_basename -- "$0" ||
13719 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13720          X"$0" : 'X\(//\)$' \| \
13721          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13722 $as_echo X/"$0" |
13723     sed '/^.*\/\([^/][^/]*\)\/*$/{
13724             s//\1/
13725             q
13726           }
13727           /^X\/\(\/\/\)$/{
13728             s//\1/
13729             q
13730           }
13731           /^X\/\(\/\).*/{
13732             s//\1/
13733             q
13734           }
13735           s/.*/./; q'`
13736
13737 # Avoid depending upon Character Ranges.
13738 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13739 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13740 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13741 as_cr_digits='0123456789'
13742 as_cr_alnum=$as_cr_Letters$as_cr_digits
13743
13744 ECHO_C= ECHO_N= ECHO_T=
13745 case `echo -n x` in #(((((
13746 -n*)
13747   case `echo 'xy\c'` in
13748   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13749   xy)  ECHO_C='\c';;
13750   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13751        ECHO_T=' ';;
13752   esac;;
13753 *)
13754   ECHO_N='-n';;
13755 esac
13756
13757 rm -f conf$$ conf$$.exe conf$$.file
13758 if test -d conf$$.dir; then
13759   rm -f conf$$.dir/conf$$.file
13760 else
13761   rm -f conf$$.dir
13762   mkdir conf$$.dir 2>/dev/null
13763 fi
13764 if (echo >conf$$.file) 2>/dev/null; then
13765   if ln -s conf$$.file conf$$ 2>/dev/null; then
13766     as_ln_s='ln -s'
13767     # ... but there are two gotchas:
13768     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13769     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13770     # In both cases, we have to default to `cp -pR'.
13771     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13772       as_ln_s='cp -pR'
13773   elif ln conf$$.file conf$$ 2>/dev/null; then
13774     as_ln_s=ln
13775   else
13776     as_ln_s='cp -pR'
13777   fi
13778 else
13779   as_ln_s='cp -pR'
13780 fi
13781 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13782 rmdir conf$$.dir 2>/dev/null
13783
13784
13785 # as_fn_mkdir_p
13786 # -------------
13787 # Create "$as_dir" as a directory, including parents if necessary.
13788 as_fn_mkdir_p ()
13789 {
13790
13791   case $as_dir in #(
13792   -*) as_dir=./$as_dir;;
13793   esac
13794   test -d "$as_dir" || eval $as_mkdir_p || {
13795     as_dirs=
13796     while :; do
13797       case $as_dir in #(
13798       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13799       *) as_qdir=$as_dir;;
13800       esac
13801       as_dirs="'$as_qdir' $as_dirs"
13802       as_dir=`$as_dirname -- "$as_dir" ||
13803 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13804          X"$as_dir" : 'X\(//\)[^/]' \| \
13805          X"$as_dir" : 'X\(//\)$' \| \
13806          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13807 $as_echo X"$as_dir" |
13808     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13809             s//\1/
13810             q
13811           }
13812           /^X\(\/\/\)[^/].*/{
13813             s//\1/
13814             q
13815           }
13816           /^X\(\/\/\)$/{
13817             s//\1/
13818             q
13819           }
13820           /^X\(\/\).*/{
13821             s//\1/
13822             q
13823           }
13824           s/.*/./; q'`
13825       test -d "$as_dir" && break
13826     done
13827     test -z "$as_dirs" || eval "mkdir $as_dirs"
13828   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13829
13830
13831 } # as_fn_mkdir_p
13832 if mkdir -p . 2>/dev/null; then
13833   as_mkdir_p='mkdir -p "$as_dir"'
13834 else
13835   test -d ./-p && rmdir ./-p
13836   as_mkdir_p=false
13837 fi
13838
13839
13840 # as_fn_executable_p FILE
13841 # -----------------------
13842 # Test if FILE is an executable regular file.
13843 as_fn_executable_p ()
13844 {
13845   test -f "$1" && test -x "$1"
13846 } # as_fn_executable_p
13847 as_test_x='test -x'
13848 as_executable_p=as_fn_executable_p
13849
13850 # Sed expression to map a string onto a valid CPP name.
13851 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13852
13853 # Sed expression to map a string onto a valid variable name.
13854 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13855
13856
13857 exec 6>&1
13858 ## ----------------------------------- ##
13859 ## Main body of $CONFIG_STATUS script. ##
13860 ## ----------------------------------- ##
13861 _ASEOF
13862 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13863
13864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13865 # Save the log message, to keep $0 and so on meaningful, and to
13866 # report actual input values of CONFIG_FILES etc. instead of their
13867 # values after options handling.
13868 ac_log="
13869 This file was extended by libgsignon-glib $as_me 2.1.0, which was
13870 generated by GNU Autoconf 2.69.  Invocation command line was
13871
13872   CONFIG_FILES    = $CONFIG_FILES
13873   CONFIG_HEADERS  = $CONFIG_HEADERS
13874   CONFIG_LINKS    = $CONFIG_LINKS
13875   CONFIG_COMMANDS = $CONFIG_COMMANDS
13876   $ $0 $@
13877
13878 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13879 "
13880
13881 _ACEOF
13882
13883 case $ac_config_files in *"
13884 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13885 esac
13886
13887 case $ac_config_headers in *"
13888 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13889 esac
13890
13891
13892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13893 # Files that config.status was made for.
13894 config_files="$ac_config_files"
13895 config_headers="$ac_config_headers"
13896 config_commands="$ac_config_commands"
13897
13898 _ACEOF
13899
13900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13901 ac_cs_usage="\
13902 \`$as_me' instantiates files and other configuration actions
13903 from templates according to the current configuration.  Unless the files
13904 and actions are specified as TAGs, all are instantiated by default.
13905
13906 Usage: $0 [OPTION]... [TAG]...
13907
13908   -h, --help       print this help, then exit
13909   -V, --version    print version number and configuration settings, then exit
13910       --config     print configuration, then exit
13911   -q, --quiet, --silent
13912                    do not print progress messages
13913   -d, --debug      don't remove temporary files
13914       --recheck    update $as_me by reconfiguring in the same conditions
13915       --file=FILE[:TEMPLATE]
13916                    instantiate the configuration file FILE
13917       --header=FILE[:TEMPLATE]
13918                    instantiate the configuration header FILE
13919
13920 Configuration files:
13921 $config_files
13922
13923 Configuration headers:
13924 $config_headers
13925
13926 Configuration commands:
13927 $config_commands
13928
13929 Report bugs to <http://code.google.com/p/accounts-sso/issues/entry>.
13930 libgsignon-glib home page: <http://code.google.com/p/accounts-sso/>."
13931
13932 _ACEOF
13933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13934 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13935 ac_cs_version="\\
13936 libgsignon-glib config.status 2.1.0
13937 configured by $0, generated by GNU Autoconf 2.69,
13938   with options \\"\$ac_cs_config\\"
13939
13940 Copyright (C) 2012 Free Software Foundation, Inc.
13941 This config.status script is free software; the Free Software Foundation
13942 gives unlimited permission to copy, distribute and modify it."
13943
13944 ac_pwd='$ac_pwd'
13945 srcdir='$srcdir'
13946 INSTALL='$INSTALL'
13947 MKDIR_P='$MKDIR_P'
13948 AWK='$AWK'
13949 test -n "\$AWK" || AWK=awk
13950 _ACEOF
13951
13952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13953 # The default lists apply if the user does not specify any file.
13954 ac_need_defaults=:
13955 while test $# != 0
13956 do
13957   case $1 in
13958   --*=?*)
13959     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13960     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13961     ac_shift=:
13962     ;;
13963   --*=)
13964     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13965     ac_optarg=
13966     ac_shift=:
13967     ;;
13968   *)
13969     ac_option=$1
13970     ac_optarg=$2
13971     ac_shift=shift
13972     ;;
13973   esac
13974
13975   case $ac_option in
13976   # Handling of the options.
13977   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13978     ac_cs_recheck=: ;;
13979   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13980     $as_echo "$ac_cs_version"; exit ;;
13981   --config | --confi | --conf | --con | --co | --c )
13982     $as_echo "$ac_cs_config"; exit ;;
13983   --debug | --debu | --deb | --de | --d | -d )
13984     debug=: ;;
13985   --file | --fil | --fi | --f )
13986     $ac_shift
13987     case $ac_optarg in
13988     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13989     '') as_fn_error $? "missing file argument" ;;
13990     esac
13991     as_fn_append CONFIG_FILES " '$ac_optarg'"
13992     ac_need_defaults=false;;
13993   --header | --heade | --head | --hea )
13994     $ac_shift
13995     case $ac_optarg in
13996     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13997     esac
13998     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13999     ac_need_defaults=false;;
14000   --he | --h)
14001     # Conflict between --help and --header
14002     as_fn_error $? "ambiguous option: \`$1'
14003 Try \`$0 --help' for more information.";;
14004   --help | --hel | -h )
14005     $as_echo "$ac_cs_usage"; exit ;;
14006   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14007   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14008     ac_cs_silent=: ;;
14009
14010   # This is an error.
14011   -*) as_fn_error $? "unrecognized option: \`$1'
14012 Try \`$0 --help' for more information." ;;
14013
14014   *) as_fn_append ac_config_targets " $1"
14015      ac_need_defaults=false ;;
14016
14017   esac
14018   shift
14019 done
14020
14021 ac_configure_extra_args=
14022
14023 if $ac_cs_silent; then
14024   exec 6>/dev/null
14025   ac_configure_extra_args="$ac_configure_extra_args --silent"
14026 fi
14027
14028 _ACEOF
14029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14030 if \$ac_cs_recheck; then
14031   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14032   shift
14033   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14034   CONFIG_SHELL='$SHELL'
14035   export CONFIG_SHELL
14036   exec "\$@"
14037 fi
14038
14039 _ACEOF
14040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14041 exec 5>>config.log
14042 {
14043   echo
14044   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14045 ## Running $as_me. ##
14046 _ASBOX
14047   $as_echo "$ac_log"
14048 } >&5
14049
14050 _ACEOF
14051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14052 #
14053 # INIT-COMMANDS
14054 #
14055 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14056
14057
14058 # The HP-UX ksh and POSIX shell print the target directory to stdout
14059 # if CDPATH is set.
14060 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14061
14062 sed_quote_subst='$sed_quote_subst'
14063 double_quote_subst='$double_quote_subst'
14064 delay_variable_subst='$delay_variable_subst'
14065 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14066 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14067 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14068 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14069 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14070 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14071 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14072 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14073 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14074 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14075 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14076 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14077 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14078 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14079 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14080 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14081 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14082 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14083 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14084 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14085 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14086 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14087 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14088 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14089 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14090 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14091 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14092 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14093 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14094 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14095 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14096 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14097 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14098 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14099 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14100 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14101 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14102 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14103 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14104 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14105 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14106 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14107 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14108 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14109 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14110 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14111 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14112 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14113 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14114 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14115 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14116 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14117 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14118 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14119 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14120 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14121 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"`'
14122 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14123 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14124 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14125 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14126 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14127 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14128 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14129 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14130 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14131 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14132 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14133 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14134 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14135 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14136 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14137 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14138 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14139 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14140 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14141 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14142 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14143 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14144 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14145 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14146 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14147 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14148 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14149 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14150 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14151 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14152 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14153 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14154 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14155 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14156 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14157 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14158 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14159 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14160 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14161 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14162 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14163 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14164 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14165 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14166 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14167 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14168 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14169 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14170 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14171 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14172 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14173 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14174 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14175 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14176 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14177 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14178 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14179 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14180 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14181 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14182 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14183 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14184 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14185 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14186 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14187 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14188 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14189 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14190 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14191 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14192 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14193 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14194 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14195
14196 LTCC='$LTCC'
14197 LTCFLAGS='$LTCFLAGS'
14198 compiler='$compiler_DEFAULT'
14199
14200 # A function that is used when there is no print builtin or printf.
14201 func_fallback_echo ()
14202 {
14203   eval 'cat <<_LTECHO_EOF
14204 \$1
14205 _LTECHO_EOF'
14206 }
14207
14208 # Quote evaled strings.
14209 for var in SHELL \
14210 ECHO \
14211 PATH_SEPARATOR \
14212 SED \
14213 GREP \
14214 EGREP \
14215 FGREP \
14216 LD \
14217 NM \
14218 LN_S \
14219 lt_SP2NL \
14220 lt_NL2SP \
14221 reload_flag \
14222 OBJDUMP \
14223 deplibs_check_method \
14224 file_magic_cmd \
14225 file_magic_glob \
14226 want_nocaseglob \
14227 DLLTOOL \
14228 sharedlib_from_linklib_cmd \
14229 AR \
14230 AR_FLAGS \
14231 archiver_list_spec \
14232 STRIP \
14233 RANLIB \
14234 CC \
14235 CFLAGS \
14236 compiler \
14237 lt_cv_sys_global_symbol_pipe \
14238 lt_cv_sys_global_symbol_to_cdecl \
14239 lt_cv_sys_global_symbol_to_c_name_address \
14240 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14241 nm_file_list_spec \
14242 lt_prog_compiler_no_builtin_flag \
14243 lt_prog_compiler_pic \
14244 lt_prog_compiler_wl \
14245 lt_prog_compiler_static \
14246 lt_cv_prog_compiler_c_o \
14247 need_locks \
14248 MANIFEST_TOOL \
14249 DSYMUTIL \
14250 NMEDIT \
14251 LIPO \
14252 OTOOL \
14253 OTOOL64 \
14254 shrext_cmds \
14255 export_dynamic_flag_spec \
14256 whole_archive_flag_spec \
14257 compiler_needs_object \
14258 with_gnu_ld \
14259 allow_undefined_flag \
14260 no_undefined_flag \
14261 hardcode_libdir_flag_spec \
14262 hardcode_libdir_separator \
14263 exclude_expsyms \
14264 include_expsyms \
14265 file_list_spec \
14266 variables_saved_for_relink \
14267 libname_spec \
14268 library_names_spec \
14269 soname_spec \
14270 install_override_mode \
14271 finish_eval \
14272 old_striplib \
14273 striplib; do
14274     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14275     *[\\\\\\\`\\"\\\$]*)
14276       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14277       ;;
14278     *)
14279       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14280       ;;
14281     esac
14282 done
14283
14284 # Double-quote double-evaled strings.
14285 for var in reload_cmds \
14286 old_postinstall_cmds \
14287 old_postuninstall_cmds \
14288 old_archive_cmds \
14289 extract_expsyms_cmds \
14290 old_archive_from_new_cmds \
14291 old_archive_from_expsyms_cmds \
14292 archive_cmds \
14293 archive_expsym_cmds \
14294 module_cmds \
14295 module_expsym_cmds \
14296 export_symbols_cmds \
14297 prelink_cmds \
14298 postlink_cmds \
14299 postinstall_cmds \
14300 postuninstall_cmds \
14301 finish_cmds \
14302 sys_lib_search_path_spec \
14303 sys_lib_dlsearch_path_spec; do
14304     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14305     *[\\\\\\\`\\"\\\$]*)
14306       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14307       ;;
14308     *)
14309       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14310       ;;
14311     esac
14312 done
14313
14314 ac_aux_dir='$ac_aux_dir'
14315 xsi_shell='$xsi_shell'
14316 lt_shell_append='$lt_shell_append'
14317
14318 # See if we are running on zsh, and set the options which allow our
14319 # commands through without removal of \ escapes INIT.
14320 if test -n "\${ZSH_VERSION+set}" ; then
14321    setopt NO_GLOB_SUBST
14322 fi
14323
14324
14325     PACKAGE='$PACKAGE'
14326     VERSION='$VERSION'
14327     TIMESTAMP='$TIMESTAMP'
14328     RM='$RM'
14329     ofile='$ofile'
14330
14331
14332
14333
14334 _ACEOF
14335
14336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14337
14338 # Handling of arguments.
14339 for ac_config_target in $ac_config_targets
14340 do
14341   case $ac_config_target in
14342     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14343     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14344     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14345     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14346     "libgsignon-glib/Makefile") CONFIG_FILES="$CONFIG_FILES libgsignon-glib/Makefile" ;;
14347     "libgsignon-glib.pc") CONFIG_FILES="$CONFIG_FILES libgsignon-glib.pc" ;;
14348     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14349     "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
14350     "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
14351     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14352     "pygobject/Makefile") CONFIG_FILES="$CONFIG_FILES pygobject/Makefile" ;;
14353     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14354
14355   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14356   esac
14357 done
14358
14359
14360 # If the user did not use the arguments to specify the items to instantiate,
14361 # then the envvar interface is used.  Set only those that are not.
14362 # We use the long form for the default assignment because of an extremely
14363 # bizarre bug on SunOS 4.1.3.
14364 if $ac_need_defaults; then
14365   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14366   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14367   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14368 fi
14369
14370 # Have a temporary directory for convenience.  Make it in the build tree
14371 # simply because there is no reason against having it here, and in addition,
14372 # creating and moving files from /tmp can sometimes cause problems.
14373 # Hook for its removal unless debugging.
14374 # Note that there is a small window in which the directory will not be cleaned:
14375 # after its creation but before its name has been assigned to `$tmp'.
14376 $debug ||
14377 {
14378   tmp= ac_tmp=
14379   trap 'exit_status=$?
14380   : "${ac_tmp:=$tmp}"
14381   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14382 ' 0
14383   trap 'as_fn_exit 1' 1 2 13 15
14384 }
14385 # Create a (secure) tmp directory for tmp files.
14386
14387 {
14388   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14389   test -d "$tmp"
14390 }  ||
14391 {
14392   tmp=./conf$$-$RANDOM
14393   (umask 077 && mkdir "$tmp")
14394 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14395 ac_tmp=$tmp
14396
14397 # Set up the scripts for CONFIG_FILES section.
14398 # No need to generate them if there are no CONFIG_FILES.
14399 # This happens for instance with `./config.status config.h'.
14400 if test -n "$CONFIG_FILES"; then
14401
14402
14403 ac_cr=`echo X | tr X '\015'`
14404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14405 # But we know of no other shell where ac_cr would be empty at this
14406 # point, so we can use a bashism as a fallback.
14407 if test "x$ac_cr" = x; then
14408   eval ac_cr=\$\'\\r\'
14409 fi
14410 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14411 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14412   ac_cs_awk_cr='\\r'
14413 else
14414   ac_cs_awk_cr=$ac_cr
14415 fi
14416
14417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14418 _ACEOF
14419
14420
14421 {
14422   echo "cat >conf$$subs.awk <<_ACEOF" &&
14423   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14424   echo "_ACEOF"
14425 } >conf$$subs.sh ||
14426   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14428 ac_delim='%!_!# '
14429 for ac_last_try in false false false false false :; do
14430   . ./conf$$subs.sh ||
14431     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14432
14433   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14434   if test $ac_delim_n = $ac_delim_num; then
14435     break
14436   elif $ac_last_try; then
14437     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14438   else
14439     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14440   fi
14441 done
14442 rm -f conf$$subs.sh
14443
14444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14445 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14446 _ACEOF
14447 sed -n '
14448 h
14449 s/^/S["/; s/!.*/"]=/
14450 p
14451 g
14452 s/^[^!]*!//
14453 :repl
14454 t repl
14455 s/'"$ac_delim"'$//
14456 t delim
14457 :nl
14458 h
14459 s/\(.\{148\}\)..*/\1/
14460 t more1
14461 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14462 p
14463 n
14464 b repl
14465 :more1
14466 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14467 p
14468 g
14469 s/.\{148\}//
14470 t nl
14471 :delim
14472 h
14473 s/\(.\{148\}\)..*/\1/
14474 t more2
14475 s/["\\]/\\&/g; s/^/"/; s/$/"/
14476 p
14477 b
14478 :more2
14479 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14480 p
14481 g
14482 s/.\{148\}//
14483 t delim
14484 ' <conf$$subs.awk | sed '
14485 /^[^""]/{
14486   N
14487   s/\n//
14488 }
14489 ' >>$CONFIG_STATUS || ac_write_fail=1
14490 rm -f conf$$subs.awk
14491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14492 _ACAWK
14493 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14494   for (key in S) S_is_set[key] = 1
14495   FS = "\a"
14496
14497 }
14498 {
14499   line = $ 0
14500   nfields = split(line, field, "@")
14501   substed = 0
14502   len = length(field[1])
14503   for (i = 2; i < nfields; i++) {
14504     key = field[i]
14505     keylen = length(key)
14506     if (S_is_set[key]) {
14507       value = S[key]
14508       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14509       len += length(value) + length(field[++i])
14510       substed = 1
14511     } else
14512       len += 1 + keylen
14513   }
14514
14515   print line
14516 }
14517
14518 _ACAWK
14519 _ACEOF
14520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14521 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14522   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14523 else
14524   cat
14525 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14526   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14527 _ACEOF
14528
14529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14531 # trailing colons and then remove the whole line if VPATH becomes empty
14532 # (actually we leave an empty line to preserve line numbers).
14533 if test "x$srcdir" = x.; then
14534   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14535 h
14536 s///
14537 s/^/:/
14538 s/[      ]*$/:/
14539 s/:\$(srcdir):/:/g
14540 s/:\${srcdir}:/:/g
14541 s/:@srcdir@:/:/g
14542 s/^:*//
14543 s/:*$//
14544 x
14545 s/\(=[   ]*\).*/\1/
14546 G
14547 s/\n//
14548 s/^[^=]*=[       ]*$//
14549 }'
14550 fi
14551
14552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14553 fi # test -n "$CONFIG_FILES"
14554
14555 # Set up the scripts for CONFIG_HEADERS section.
14556 # No need to generate them if there are no CONFIG_HEADERS.
14557 # This happens for instance with `./config.status Makefile'.
14558 if test -n "$CONFIG_HEADERS"; then
14559 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14560 BEGIN {
14561 _ACEOF
14562
14563 # Transform confdefs.h into an awk script `defines.awk', embedded as
14564 # here-document in config.status, that substitutes the proper values into
14565 # config.h.in to produce config.h.
14566
14567 # Create a delimiter string that does not exist in confdefs.h, to ease
14568 # handling of long lines.
14569 ac_delim='%!_!# '
14570 for ac_last_try in false false :; do
14571   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14572   if test -z "$ac_tt"; then
14573     break
14574   elif $ac_last_try; then
14575     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14576   else
14577     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14578   fi
14579 done
14580
14581 # For the awk script, D is an array of macro values keyed by name,
14582 # likewise P contains macro parameters if any.  Preserve backslash
14583 # newline sequences.
14584
14585 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14586 sed -n '
14587 s/.\{148\}/&'"$ac_delim"'/g
14588 t rset
14589 :rset
14590 s/^[     ]*#[    ]*define[       ][      ]*/ /
14591 t def
14592 d
14593 :def
14594 s/\\$//
14595 t bsnl
14596 s/["\\]/\\&/g
14597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14598 D["\1"]=" \3"/p
14599 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14600 d
14601 :bsnl
14602 s/["\\]/\\&/g
14603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14604 D["\1"]=" \3\\\\\\n"\\/p
14605 t cont
14606 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14607 t cont
14608 d
14609 :cont
14610 n
14611 s/.\{148\}/&'"$ac_delim"'/g
14612 t clear
14613 :clear
14614 s/\\$//
14615 t bsnlc
14616 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14617 d
14618 :bsnlc
14619 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14620 b cont
14621 ' <confdefs.h | sed '
14622 s/'"$ac_delim"'/"\\\
14623 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14624
14625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14626   for (key in D) D_is_set[key] = 1
14627   FS = "\a"
14628 }
14629 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14630   line = \$ 0
14631   split(line, arg, " ")
14632   if (arg[1] == "#") {
14633     defundef = arg[2]
14634     mac1 = arg[3]
14635   } else {
14636     defundef = substr(arg[1], 2)
14637     mac1 = arg[2]
14638   }
14639   split(mac1, mac2, "(") #)
14640   macro = mac2[1]
14641   prefix = substr(line, 1, index(line, defundef) - 1)
14642   if (D_is_set[macro]) {
14643     # Preserve the white space surrounding the "#".
14644     print prefix "define", macro P[macro] D[macro]
14645     next
14646   } else {
14647     # Replace #undef with comments.  This is necessary, for example,
14648     # in the case of _POSIX_SOURCE, which is predefined and required
14649     # on some systems where configure will not decide to define it.
14650     if (defundef == "undef") {
14651       print "/*", prefix defundef, macro, "*/"
14652       next
14653     }
14654   }
14655 }
14656 { print }
14657 _ACAWK
14658 _ACEOF
14659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14660   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14661 fi # test -n "$CONFIG_HEADERS"
14662
14663
14664 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14665 shift
14666 for ac_tag
14667 do
14668   case $ac_tag in
14669   :[FHLC]) ac_mode=$ac_tag; continue;;
14670   esac
14671   case $ac_mode$ac_tag in
14672   :[FHL]*:*);;
14673   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14674   :[FH]-) ac_tag=-:-;;
14675   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14676   esac
14677   ac_save_IFS=$IFS
14678   IFS=:
14679   set x $ac_tag
14680   IFS=$ac_save_IFS
14681   shift
14682   ac_file=$1
14683   shift
14684
14685   case $ac_mode in
14686   :L) ac_source=$1;;
14687   :[FH])
14688     ac_file_inputs=
14689     for ac_f
14690     do
14691       case $ac_f in
14692       -) ac_f="$ac_tmp/stdin";;
14693       *) # Look for the file first in the build tree, then in the source tree
14694          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14695          # because $ac_f cannot contain `:'.
14696          test -f "$ac_f" ||
14697            case $ac_f in
14698            [\\/$]*) false;;
14699            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14700            esac ||
14701            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14702       esac
14703       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14704       as_fn_append ac_file_inputs " '$ac_f'"
14705     done
14706
14707     # Let's still pretend it is `configure' which instantiates (i.e., don't
14708     # use $as_me), people would be surprised to read:
14709     #    /* config.h.  Generated by config.status.  */
14710     configure_input='Generated from '`
14711           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14712         `' by configure.'
14713     if test x"$ac_file" != x-; then
14714       configure_input="$ac_file.  $configure_input"
14715       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14716 $as_echo "$as_me: creating $ac_file" >&6;}
14717     fi
14718     # Neutralize special characters interpreted by sed in replacement strings.
14719     case $configure_input in #(
14720     *\&* | *\|* | *\\* )
14721        ac_sed_conf_input=`$as_echo "$configure_input" |
14722        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14723     *) ac_sed_conf_input=$configure_input;;
14724     esac
14725
14726     case $ac_tag in
14727     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14728       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14729     esac
14730     ;;
14731   esac
14732
14733   ac_dir=`$as_dirname -- "$ac_file" ||
14734 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14735          X"$ac_file" : 'X\(//\)[^/]' \| \
14736          X"$ac_file" : 'X\(//\)$' \| \
14737          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14738 $as_echo X"$ac_file" |
14739     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14740             s//\1/
14741             q
14742           }
14743           /^X\(\/\/\)[^/].*/{
14744             s//\1/
14745             q
14746           }
14747           /^X\(\/\/\)$/{
14748             s//\1/
14749             q
14750           }
14751           /^X\(\/\).*/{
14752             s//\1/
14753             q
14754           }
14755           s/.*/./; q'`
14756   as_dir="$ac_dir"; as_fn_mkdir_p
14757   ac_builddir=.
14758
14759 case "$ac_dir" in
14760 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14761 *)
14762   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14763   # A ".." for each directory in $ac_dir_suffix.
14764   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14765   case $ac_top_builddir_sub in
14766   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14767   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14768   esac ;;
14769 esac
14770 ac_abs_top_builddir=$ac_pwd
14771 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14772 # for backward compatibility:
14773 ac_top_builddir=$ac_top_build_prefix
14774
14775 case $srcdir in
14776   .)  # We are building in place.
14777     ac_srcdir=.
14778     ac_top_srcdir=$ac_top_builddir_sub
14779     ac_abs_top_srcdir=$ac_pwd ;;
14780   [\\/]* | ?:[\\/]* )  # Absolute name.
14781     ac_srcdir=$srcdir$ac_dir_suffix;
14782     ac_top_srcdir=$srcdir
14783     ac_abs_top_srcdir=$srcdir ;;
14784   *) # Relative name.
14785     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14786     ac_top_srcdir=$ac_top_build_prefix$srcdir
14787     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14788 esac
14789 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14790
14791
14792   case $ac_mode in
14793   :F)
14794   #
14795   # CONFIG_FILE
14796   #
14797
14798   case $INSTALL in
14799   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14800   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14801   esac
14802   ac_MKDIR_P=$MKDIR_P
14803   case $MKDIR_P in
14804   [\\/$]* | ?:[\\/]* ) ;;
14805   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14806   esac
14807 _ACEOF
14808
14809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14810 # If the template does not know about datarootdir, expand it.
14811 # FIXME: This hack should be removed a few years after 2.60.
14812 ac_datarootdir_hack=; ac_datarootdir_seen=
14813 ac_sed_dataroot='
14814 /datarootdir/ {
14815   p
14816   q
14817 }
14818 /@datadir@/p
14819 /@docdir@/p
14820 /@infodir@/p
14821 /@localedir@/p
14822 /@mandir@/p'
14823 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14824 *datarootdir*) ac_datarootdir_seen=yes;;
14825 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14826   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14827 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14828 _ACEOF
14829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14830   ac_datarootdir_hack='
14831   s&@datadir@&$datadir&g
14832   s&@docdir@&$docdir&g
14833   s&@infodir@&$infodir&g
14834   s&@localedir@&$localedir&g
14835   s&@mandir@&$mandir&g
14836   s&\\\${datarootdir}&$datarootdir&g' ;;
14837 esac
14838 _ACEOF
14839
14840 # Neutralize VPATH when `$srcdir' = `.'.
14841 # Shell code in configure.ac might set extrasub.
14842 # FIXME: do we really want to maintain this feature?
14843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14844 ac_sed_extra="$ac_vpsub
14845 $extrasub
14846 _ACEOF
14847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14848 :t
14849 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14850 s|@configure_input@|$ac_sed_conf_input|;t t
14851 s&@top_builddir@&$ac_top_builddir_sub&;t t
14852 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14853 s&@srcdir@&$ac_srcdir&;t t
14854 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14855 s&@top_srcdir@&$ac_top_srcdir&;t t
14856 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14857 s&@builddir@&$ac_builddir&;t t
14858 s&@abs_builddir@&$ac_abs_builddir&;t t
14859 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14860 s&@INSTALL@&$ac_INSTALL&;t t
14861 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14862 $ac_datarootdir_hack
14863 "
14864 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14865   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14866
14867 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14868   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14869   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14870       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14871   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14872 which seems to be undefined.  Please make sure it is defined" >&5
14873 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14874 which seems to be undefined.  Please make sure it is defined" >&2;}
14875
14876   rm -f "$ac_tmp/stdin"
14877   case $ac_file in
14878   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14879   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14880   esac \
14881   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14882  ;;
14883   :H)
14884   #
14885   # CONFIG_HEADER
14886   #
14887   if test x"$ac_file" != x-; then
14888     {
14889       $as_echo "/* $configure_input  */" \
14890       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14891     } >"$ac_tmp/config.h" \
14892       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14893     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14894       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14895 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14896     else
14897       rm -f "$ac_file"
14898       mv "$ac_tmp/config.h" "$ac_file" \
14899         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14900     fi
14901   else
14902     $as_echo "/* $configure_input  */" \
14903       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14904       || as_fn_error $? "could not create -" "$LINENO" 5
14905   fi
14906 # Compute "$ac_file"'s index in $config_headers.
14907 _am_arg="$ac_file"
14908 _am_stamp_count=1
14909 for _am_header in $config_headers :; do
14910   case $_am_header in
14911     $_am_arg | $_am_arg:* )
14912       break ;;
14913     * )
14914       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14915   esac
14916 done
14917 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14918 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14919          X"$_am_arg" : 'X\(//\)[^/]' \| \
14920          X"$_am_arg" : 'X\(//\)$' \| \
14921          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14922 $as_echo X"$_am_arg" |
14923     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14924             s//\1/
14925             q
14926           }
14927           /^X\(\/\/\)[^/].*/{
14928             s//\1/
14929             q
14930           }
14931           /^X\(\/\/\)$/{
14932             s//\1/
14933             q
14934           }
14935           /^X\(\/\).*/{
14936             s//\1/
14937             q
14938           }
14939           s/.*/./; q'`/stamp-h$_am_stamp_count
14940  ;;
14941
14942   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14943 $as_echo "$as_me: executing $ac_file commands" >&6;}
14944  ;;
14945   esac
14946
14947
14948   case $ac_file$ac_mode in
14949     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14950   # Older Autoconf quotes --file arguments for eval, but not when files
14951   # are listed without --file.  Let's play safe and only enable the eval
14952   # if we detect the quoting.
14953   case $CONFIG_FILES in
14954   *\'*) eval set x "$CONFIG_FILES" ;;
14955   *)   set x $CONFIG_FILES ;;
14956   esac
14957   shift
14958   for mf
14959   do
14960     # Strip MF so we end up with the name of the file.
14961     mf=`echo "$mf" | sed -e 's/:.*$//'`
14962     # Check whether this is an Automake generated Makefile or not.
14963     # We used to match only the files named 'Makefile.in', but
14964     # some people rename them; so instead we look at the file content.
14965     # Grep'ing the first line is not enough: some people post-process
14966     # each Makefile.in and add a new line on top of each file to say so.
14967     # Grep'ing the whole file is not good either: AIX grep has a line
14968     # limit of 2048, but all sed's we know have understand at least 4000.
14969     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14970       dirpart=`$as_dirname -- "$mf" ||
14971 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14972          X"$mf" : 'X\(//\)[^/]' \| \
14973          X"$mf" : 'X\(//\)$' \| \
14974          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14975 $as_echo X"$mf" |
14976     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14977             s//\1/
14978             q
14979           }
14980           /^X\(\/\/\)[^/].*/{
14981             s//\1/
14982             q
14983           }
14984           /^X\(\/\/\)$/{
14985             s//\1/
14986             q
14987           }
14988           /^X\(\/\).*/{
14989             s//\1/
14990             q
14991           }
14992           s/.*/./; q'`
14993     else
14994       continue
14995     fi
14996     # Extract the definition of DEPDIR, am__include, and am__quote
14997     # from the Makefile without running 'make'.
14998     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14999     test -z "$DEPDIR" && continue
15000     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15001     test -z "$am__include" && continue
15002     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15003     # Find all dependency output files, they are included files with
15004     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15005     # simplest approach to changing $(DEPDIR) to its actual value in the
15006     # expansion.
15007     for file in `sed -n "
15008       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15009          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15010       # Make sure the directory exists.
15011       test -f "$dirpart/$file" && continue
15012       fdir=`$as_dirname -- "$file" ||
15013 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15014          X"$file" : 'X\(//\)[^/]' \| \
15015          X"$file" : 'X\(//\)$' \| \
15016          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15017 $as_echo X"$file" |
15018     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15019             s//\1/
15020             q
15021           }
15022           /^X\(\/\/\)[^/].*/{
15023             s//\1/
15024             q
15025           }
15026           /^X\(\/\/\)$/{
15027             s//\1/
15028             q
15029           }
15030           /^X\(\/\).*/{
15031             s//\1/
15032             q
15033           }
15034           s/.*/./; q'`
15035       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15036       # echo "creating $dirpart/$file"
15037       echo '# dummy' > "$dirpart/$file"
15038     done
15039   done
15040 }
15041  ;;
15042     "libtool":C)
15043
15044     # See if we are running on zsh, and set the options which allow our
15045     # commands through without removal of \ escapes.
15046     if test -n "${ZSH_VERSION+set}" ; then
15047       setopt NO_GLOB_SUBST
15048     fi
15049
15050     cfgfile="${ofile}T"
15051     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15052     $RM "$cfgfile"
15053
15054     cat <<_LT_EOF >> "$cfgfile"
15055 #! $SHELL
15056
15057 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15058 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15059 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15060 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15061 #
15062 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15063 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15064 #                 Foundation, Inc.
15065 #   Written by Gordon Matzigkeit, 1996
15066 #
15067 #   This file is part of GNU Libtool.
15068 #
15069 # GNU Libtool is free software; you can redistribute it and/or
15070 # modify it under the terms of the GNU General Public License as
15071 # published by the Free Software Foundation; either version 2 of
15072 # the License, or (at your option) any later version.
15073 #
15074 # As a special exception to the GNU General Public License,
15075 # if you distribute this file as part of a program or library that
15076 # is built using GNU Libtool, you may include this file under the
15077 # same distribution terms that you use for the rest of that program.
15078 #
15079 # GNU Libtool is distributed in the hope that it will be useful,
15080 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15081 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15082 # GNU General Public License for more details.
15083 #
15084 # You should have received a copy of the GNU General Public License
15085 # along with GNU Libtool; see the file COPYING.  If not, a copy
15086 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15087 # obtained by writing to the Free Software Foundation, Inc.,
15088 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15089
15090
15091 # The names of the tagged configurations supported by this script.
15092 available_tags=""
15093
15094 # ### BEGIN LIBTOOL CONFIG
15095
15096 # Which release of libtool.m4 was used?
15097 macro_version=$macro_version
15098 macro_revision=$macro_revision
15099
15100 # Whether or not to build static libraries.
15101 build_old_libs=$enable_static
15102
15103 # Whether or not to build shared libraries.
15104 build_libtool_libs=$enable_shared
15105
15106 # What type of objects to build.
15107 pic_mode=$pic_mode
15108
15109 # Whether or not to optimize for fast installation.
15110 fast_install=$enable_fast_install
15111
15112 # Shell to use when invoking shell scripts.
15113 SHELL=$lt_SHELL
15114
15115 # An echo program that protects backslashes.
15116 ECHO=$lt_ECHO
15117
15118 # The PATH separator for the build system.
15119 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15120
15121 # The host system.
15122 host_alias=$host_alias
15123 host=$host
15124 host_os=$host_os
15125
15126 # The build system.
15127 build_alias=$build_alias
15128 build=$build
15129 build_os=$build_os
15130
15131 # A sed program that does not truncate output.
15132 SED=$lt_SED
15133
15134 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15135 Xsed="\$SED -e 1s/^X//"
15136
15137 # A grep program that handles long lines.
15138 GREP=$lt_GREP
15139
15140 # An ERE matcher.
15141 EGREP=$lt_EGREP
15142
15143 # A literal string matcher.
15144 FGREP=$lt_FGREP
15145
15146 # A BSD- or MS-compatible name lister.
15147 NM=$lt_NM
15148
15149 # Whether we need soft or hard links.
15150 LN_S=$lt_LN_S
15151
15152 # What is the maximum length of a command?
15153 max_cmd_len=$max_cmd_len
15154
15155 # Object file suffix (normally "o").
15156 objext=$ac_objext
15157
15158 # Executable file suffix (normally "").
15159 exeext=$exeext
15160
15161 # whether the shell understands "unset".
15162 lt_unset=$lt_unset
15163
15164 # turn spaces into newlines.
15165 SP2NL=$lt_lt_SP2NL
15166
15167 # turn newlines into spaces.
15168 NL2SP=$lt_lt_NL2SP
15169
15170 # convert \$build file names to \$host format.
15171 to_host_file_cmd=$lt_cv_to_host_file_cmd
15172
15173 # convert \$build files to toolchain format.
15174 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15175
15176 # An object symbol dumper.
15177 OBJDUMP=$lt_OBJDUMP
15178
15179 # Method to check whether dependent libraries are shared objects.
15180 deplibs_check_method=$lt_deplibs_check_method
15181
15182 # Command to use when deplibs_check_method = "file_magic".
15183 file_magic_cmd=$lt_file_magic_cmd
15184
15185 # How to find potential files when deplibs_check_method = "file_magic".
15186 file_magic_glob=$lt_file_magic_glob
15187
15188 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15189 want_nocaseglob=$lt_want_nocaseglob
15190
15191 # DLL creation program.
15192 DLLTOOL=$lt_DLLTOOL
15193
15194 # Command to associate shared and link libraries.
15195 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15196
15197 # The archiver.
15198 AR=$lt_AR
15199
15200 # Flags to create an archive.
15201 AR_FLAGS=$lt_AR_FLAGS
15202
15203 # How to feed a file listing to the archiver.
15204 archiver_list_spec=$lt_archiver_list_spec
15205
15206 # A symbol stripping program.
15207 STRIP=$lt_STRIP
15208
15209 # Commands used to install an old-style archive.
15210 RANLIB=$lt_RANLIB
15211 old_postinstall_cmds=$lt_old_postinstall_cmds
15212 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15213
15214 # Whether to use a lock for old archive extraction.
15215 lock_old_archive_extraction=$lock_old_archive_extraction
15216
15217 # A C compiler.
15218 LTCC=$lt_CC
15219
15220 # LTCC compiler flags.
15221 LTCFLAGS=$lt_CFLAGS
15222
15223 # Take the output of nm and produce a listing of raw symbols and C names.
15224 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15225
15226 # Transform the output of nm in a proper C declaration.
15227 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15228
15229 # Transform the output of nm in a C name address pair.
15230 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15231
15232 # Transform the output of nm in a C name address pair when lib prefix is needed.
15233 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15234
15235 # Specify filename containing input files for \$NM.
15236 nm_file_list_spec=$lt_nm_file_list_spec
15237
15238 # The root where to search for dependent libraries,and in which our libraries should be installed.
15239 lt_sysroot=$lt_sysroot
15240
15241 # The name of the directory that contains temporary libtool files.
15242 objdir=$objdir
15243
15244 # Used to examine libraries when file_magic_cmd begins with "file".
15245 MAGIC_CMD=$MAGIC_CMD
15246
15247 # Must we lock files when doing compilation?
15248 need_locks=$lt_need_locks
15249
15250 # Manifest tool.
15251 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15252
15253 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15254 DSYMUTIL=$lt_DSYMUTIL
15255
15256 # Tool to change global to local symbols on Mac OS X.
15257 NMEDIT=$lt_NMEDIT
15258
15259 # Tool to manipulate fat objects and archives on Mac OS X.
15260 LIPO=$lt_LIPO
15261
15262 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15263 OTOOL=$lt_OTOOL
15264
15265 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15266 OTOOL64=$lt_OTOOL64
15267
15268 # Old archive suffix (normally "a").
15269 libext=$libext
15270
15271 # Shared library suffix (normally ".so").
15272 shrext_cmds=$lt_shrext_cmds
15273
15274 # The commands to extract the exported symbol list from a shared archive.
15275 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15276
15277 # Variables whose values should be saved in libtool wrapper scripts and
15278 # restored at link time.
15279 variables_saved_for_relink=$lt_variables_saved_for_relink
15280
15281 # Do we need the "lib" prefix for modules?
15282 need_lib_prefix=$need_lib_prefix
15283
15284 # Do we need a version for libraries?
15285 need_version=$need_version
15286
15287 # Library versioning type.
15288 version_type=$version_type
15289
15290 # Shared library runtime path variable.
15291 runpath_var=$runpath_var
15292
15293 # Shared library path variable.
15294 shlibpath_var=$shlibpath_var
15295
15296 # Is shlibpath searched before the hard-coded library search path?
15297 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15298
15299 # Format of library name prefix.
15300 libname_spec=$lt_libname_spec
15301
15302 # List of archive names.  First name is the real one, the rest are links.
15303 # The last name is the one that the linker finds with -lNAME
15304 library_names_spec=$lt_library_names_spec
15305
15306 # The coded name of the library, if different from the real name.
15307 soname_spec=$lt_soname_spec
15308
15309 # Permission mode override for installation of shared libraries.
15310 install_override_mode=$lt_install_override_mode
15311
15312 # Command to use after installation of a shared archive.
15313 postinstall_cmds=$lt_postinstall_cmds
15314
15315 # Command to use after uninstallation of a shared archive.
15316 postuninstall_cmds=$lt_postuninstall_cmds
15317
15318 # Commands used to finish a libtool library installation in a directory.
15319 finish_cmds=$lt_finish_cmds
15320
15321 # As "finish_cmds", except a single script fragment to be evaled but
15322 # not shown.
15323 finish_eval=$lt_finish_eval
15324
15325 # Whether we should hardcode library paths into libraries.
15326 hardcode_into_libs=$hardcode_into_libs
15327
15328 # Compile-time system search path for libraries.
15329 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15330
15331 # Run-time system search path for libraries.
15332 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15333
15334 # Whether dlopen is supported.
15335 dlopen_support=$enable_dlopen
15336
15337 # Whether dlopen of programs is supported.
15338 dlopen_self=$enable_dlopen_self
15339
15340 # Whether dlopen of statically linked programs is supported.
15341 dlopen_self_static=$enable_dlopen_self_static
15342
15343 # Commands to strip libraries.
15344 old_striplib=$lt_old_striplib
15345 striplib=$lt_striplib
15346
15347
15348 # The linker used to build libraries.
15349 LD=$lt_LD
15350
15351 # How to create reloadable object files.
15352 reload_flag=$lt_reload_flag
15353 reload_cmds=$lt_reload_cmds
15354
15355 # Commands used to build an old-style archive.
15356 old_archive_cmds=$lt_old_archive_cmds
15357
15358 # A language specific compiler.
15359 CC=$lt_compiler
15360
15361 # Is the compiler the GNU compiler?
15362 with_gcc=$GCC
15363
15364 # Compiler flag to turn off builtin functions.
15365 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15366
15367 # Additional compiler flags for building library objects.
15368 pic_flag=$lt_lt_prog_compiler_pic
15369
15370 # How to pass a linker flag through the compiler.
15371 wl=$lt_lt_prog_compiler_wl
15372
15373 # Compiler flag to prevent dynamic linking.
15374 link_static_flag=$lt_lt_prog_compiler_static
15375
15376 # Does compiler simultaneously support -c and -o options?
15377 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15378
15379 # Whether or not to add -lc for building shared libraries.
15380 build_libtool_need_lc=$archive_cmds_need_lc
15381
15382 # Whether or not to disallow shared libs when runtime libs are static.
15383 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15384
15385 # Compiler flag to allow reflexive dlopens.
15386 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15387
15388 # Compiler flag to generate shared objects directly from archives.
15389 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15390
15391 # Whether the compiler copes with passing no objects directly.
15392 compiler_needs_object=$lt_compiler_needs_object
15393
15394 # Create an old-style archive from a shared archive.
15395 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15396
15397 # Create a temporary old-style archive to link instead of a shared archive.
15398 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15399
15400 # Commands used to build a shared archive.
15401 archive_cmds=$lt_archive_cmds
15402 archive_expsym_cmds=$lt_archive_expsym_cmds
15403
15404 # Commands used to build a loadable module if different from building
15405 # a shared archive.
15406 module_cmds=$lt_module_cmds
15407 module_expsym_cmds=$lt_module_expsym_cmds
15408
15409 # Whether we are building with GNU ld or not.
15410 with_gnu_ld=$lt_with_gnu_ld
15411
15412 # Flag that allows shared libraries with undefined symbols to be built.
15413 allow_undefined_flag=$lt_allow_undefined_flag
15414
15415 # Flag that enforces no undefined symbols.
15416 no_undefined_flag=$lt_no_undefined_flag
15417
15418 # Flag to hardcode \$libdir into a binary during linking.
15419 # This must work even if \$libdir does not exist
15420 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15421
15422 # Whether we need a single "-rpath" flag with a separated argument.
15423 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15424
15425 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15426 # DIR into the resulting binary.
15427 hardcode_direct=$hardcode_direct
15428
15429 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15430 # DIR into the resulting binary and the resulting library dependency is
15431 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15432 # library is relocated.
15433 hardcode_direct_absolute=$hardcode_direct_absolute
15434
15435 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15436 # into the resulting binary.
15437 hardcode_minus_L=$hardcode_minus_L
15438
15439 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15440 # into the resulting binary.
15441 hardcode_shlibpath_var=$hardcode_shlibpath_var
15442
15443 # Set to "yes" if building a shared library automatically hardcodes DIR
15444 # into the library and all subsequent libraries and executables linked
15445 # against it.
15446 hardcode_automatic=$hardcode_automatic
15447
15448 # Set to yes if linker adds runtime paths of dependent libraries
15449 # to runtime path list.
15450 inherit_rpath=$inherit_rpath
15451
15452 # Whether libtool must link a program against all its dependency libraries.
15453 link_all_deplibs=$link_all_deplibs
15454
15455 # Set to "yes" if exported symbols are required.
15456 always_export_symbols=$always_export_symbols
15457
15458 # The commands to list exported symbols.
15459 export_symbols_cmds=$lt_export_symbols_cmds
15460
15461 # Symbols that should not be listed in the preloaded symbols.
15462 exclude_expsyms=$lt_exclude_expsyms
15463
15464 # Symbols that must always be exported.
15465 include_expsyms=$lt_include_expsyms
15466
15467 # Commands necessary for linking programs (against libraries) with templates.
15468 prelink_cmds=$lt_prelink_cmds
15469
15470 # Commands necessary for finishing linking programs.
15471 postlink_cmds=$lt_postlink_cmds
15472
15473 # Specify filename containing input files.
15474 file_list_spec=$lt_file_list_spec
15475
15476 # How to hardcode a shared library path into an executable.
15477 hardcode_action=$hardcode_action
15478
15479 # ### END LIBTOOL CONFIG
15480
15481 _LT_EOF
15482
15483   case $host_os in
15484   aix3*)
15485     cat <<\_LT_EOF >> "$cfgfile"
15486 # AIX sometimes has problems with the GCC collect2 program.  For some
15487 # reason, if we set the COLLECT_NAMES environment variable, the problems
15488 # vanish in a puff of smoke.
15489 if test "X${COLLECT_NAMES+set}" != Xset; then
15490   COLLECT_NAMES=
15491   export COLLECT_NAMES
15492 fi
15493 _LT_EOF
15494     ;;
15495   esac
15496
15497
15498 ltmain="$ac_aux_dir/ltmain.sh"
15499
15500
15501   # We use sed instead of cat because bash on DJGPP gets confused if
15502   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15503   # text mode, it properly converts lines to CR/LF.  This bash problem
15504   # is reportedly fixed, but why not run on old versions too?
15505   sed '$q' "$ltmain" >> "$cfgfile" \
15506      || (rm -f "$cfgfile"; exit 1)
15507
15508   if test x"$xsi_shell" = xyes; then
15509   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15510 func_dirname ()\
15511 {\
15512 \    case ${1} in\
15513 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15514 \      *  ) func_dirname_result="${3}" ;;\
15515 \    esac\
15516 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15517   && mv -f "$cfgfile.tmp" "$cfgfile" \
15518     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15519 test 0 -eq $? || _lt_function_replace_fail=:
15520
15521
15522   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15523 func_basename ()\
15524 {\
15525 \    func_basename_result="${1##*/}"\
15526 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15527   && mv -f "$cfgfile.tmp" "$cfgfile" \
15528     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15529 test 0 -eq $? || _lt_function_replace_fail=:
15530
15531
15532   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15533 func_dirname_and_basename ()\
15534 {\
15535 \    case ${1} in\
15536 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15537 \      *  ) func_dirname_result="${3}" ;;\
15538 \    esac\
15539 \    func_basename_result="${1##*/}"\
15540 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15541   && mv -f "$cfgfile.tmp" "$cfgfile" \
15542     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15543 test 0 -eq $? || _lt_function_replace_fail=:
15544
15545
15546   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15547 func_stripname ()\
15548 {\
15549 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15550 \    # positional parameters, so assign one to ordinary parameter first.\
15551 \    func_stripname_result=${3}\
15552 \    func_stripname_result=${func_stripname_result#"${1}"}\
15553 \    func_stripname_result=${func_stripname_result%"${2}"}\
15554 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15555   && mv -f "$cfgfile.tmp" "$cfgfile" \
15556     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15557 test 0 -eq $? || _lt_function_replace_fail=:
15558
15559
15560   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15561 func_split_long_opt ()\
15562 {\
15563 \    func_split_long_opt_name=${1%%=*}\
15564 \    func_split_long_opt_arg=${1#*=}\
15565 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15566   && mv -f "$cfgfile.tmp" "$cfgfile" \
15567     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15568 test 0 -eq $? || _lt_function_replace_fail=:
15569
15570
15571   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15572 func_split_short_opt ()\
15573 {\
15574 \    func_split_short_opt_arg=${1#??}\
15575 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15576 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15577   && mv -f "$cfgfile.tmp" "$cfgfile" \
15578     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15579 test 0 -eq $? || _lt_function_replace_fail=:
15580
15581
15582   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15583 func_lo2o ()\
15584 {\
15585 \    case ${1} in\
15586 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15587 \      *)    func_lo2o_result=${1} ;;\
15588 \    esac\
15589 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15590   && mv -f "$cfgfile.tmp" "$cfgfile" \
15591     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15592 test 0 -eq $? || _lt_function_replace_fail=:
15593
15594
15595   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15596 func_xform ()\
15597 {\
15598     func_xform_result=${1%.*}.lo\
15599 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15600   && mv -f "$cfgfile.tmp" "$cfgfile" \
15601     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15602 test 0 -eq $? || _lt_function_replace_fail=:
15603
15604
15605   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15606 func_arith ()\
15607 {\
15608     func_arith_result=$(( $* ))\
15609 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15610   && mv -f "$cfgfile.tmp" "$cfgfile" \
15611     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15612 test 0 -eq $? || _lt_function_replace_fail=:
15613
15614
15615   sed -e '/^func_len ()$/,/^} # func_len /c\
15616 func_len ()\
15617 {\
15618     func_len_result=${#1}\
15619 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15620   && mv -f "$cfgfile.tmp" "$cfgfile" \
15621     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15622 test 0 -eq $? || _lt_function_replace_fail=:
15623
15624 fi
15625
15626 if test x"$lt_shell_append" = xyes; then
15627   sed -e '/^func_append ()$/,/^} # func_append /c\
15628 func_append ()\
15629 {\
15630     eval "${1}+=\\${2}"\
15631 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15632   && mv -f "$cfgfile.tmp" "$cfgfile" \
15633     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15634 test 0 -eq $? || _lt_function_replace_fail=:
15635
15636
15637   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15638 func_append_quoted ()\
15639 {\
15640 \    func_quote_for_eval "${2}"\
15641 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15642 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15643   && mv -f "$cfgfile.tmp" "$cfgfile" \
15644     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15645 test 0 -eq $? || _lt_function_replace_fail=:
15646
15647
15648   # Save a `func_append' function call where possible by direct use of '+='
15649   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15650     && mv -f "$cfgfile.tmp" "$cfgfile" \
15651       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15652   test 0 -eq $? || _lt_function_replace_fail=:
15653 else
15654   # Save a `func_append' function call even when '+=' is not available
15655   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15656     && mv -f "$cfgfile.tmp" "$cfgfile" \
15657       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15658   test 0 -eq $? || _lt_function_replace_fail=:
15659 fi
15660
15661 if test x"$_lt_function_replace_fail" = x":"; then
15662   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15663 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15664 fi
15665
15666
15667    mv -f "$cfgfile" "$ofile" ||
15668     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15669   chmod +x "$ofile"
15670
15671  ;;
15672
15673   esac
15674 done # for ac_tag
15675
15676
15677 as_fn_exit 0
15678 _ACEOF
15679 ac_clean_files=$ac_clean_files_save
15680
15681 test $ac_write_fail = 0 ||
15682   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15683
15684
15685 # configure is writing to config.log, and then calls config.status.
15686 # config.status does its own redirection, appending to config.log.
15687 # Unfortunately, on DOS this fails, as config.log is still kept open
15688 # by configure, so config.status won't be able to write to it; its
15689 # output is simply discarded.  So we exec the FD to /dev/null,
15690 # effectively closing config.log, so it can be properly (re)opened and
15691 # appended to by config.status.  When coming back to configure, we
15692 # need to make the FD available again.
15693 if test "$no_create" != yes; then
15694   ac_cs_success=:
15695   ac_config_status_args=
15696   test "$silent" = yes &&
15697     ac_config_status_args="$ac_config_status_args --quiet"
15698   exec 5>/dev/null
15699   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15700   exec 5>>config.log
15701   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15702   # would make configure fail if this is the last instruction.
15703   $ac_cs_success || as_fn_exit 1
15704 fi
15705 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15706   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15707 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15708 fi
15709