Fix memleak when setting proxy property
[profile/ivi/gsignond-plugin-oauth.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gsignond-plugin-oauth 1.0.0.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     PATH=/empty FPATH=/empty; export PATH FPATH
205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='gsignond-plugin-oauth'
589 PACKAGE_TARNAME='gsignond-plugin-oauth'
590 PACKAGE_VERSION='1.0.0'
591 PACKAGE_STRING='gsignond-plugin-oauth 1.0.0'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 ac_unique_file="src/gsignond-oauth-plugin.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 #  include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 #  include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 EXTENSIONSDIR
637 PLUGINSDIR
638 CHECK_LIBS
639 CHECK_CFLAGS
640 LIBSOUP_LIBS
641 LIBSOUP_CFLAGS
642 GSIGNON_LIBS
643 GSIGNON_CFLAGS
644 GTK_DOC_USE_REBASE_FALSE
645 GTK_DOC_USE_REBASE_TRUE
646 GTK_DOC_USE_LIBTOOL_FALSE
647 GTK_DOC_USE_LIBTOOL_TRUE
648 GTK_DOC_BUILD_PDF_FALSE
649 GTK_DOC_BUILD_PDF_TRUE
650 GTK_DOC_BUILD_HTML_FALSE
651 GTK_DOC_BUILD_HTML_TRUE
652 ENABLE_GTK_DOC_FALSE
653 ENABLE_GTK_DOC_TRUE
654 HAVE_GTK_DOC_FALSE
655 HAVE_GTK_DOC_TRUE
656 GTKDOC_DEPS_LIBS
657 GTKDOC_DEPS_CFLAGS
658 HTML_DIR
659 GTKDOC_MKPDF
660 GTKDOC_REBASE
661 GTKDOC_CHECK_PATH
662 GTKDOC_CHECK
663 PKG_CONFIG_LIBDIR
664 PKG_CONFIG_PATH
665 PKG_CONFIG
666 CPP
667 OTOOL64
668 OTOOL
669 LIPO
670 NMEDIT
671 DSYMUTIL
672 MANIFEST_TOOL
673 RANLIB
674 DLLTOOL
675 OBJDUMP
676 LN_S
677 NM
678 ac_ct_DUMPBIN
679 DUMPBIN
680 LD
681 FGREP
682 EGREP
683 GREP
684 SED
685 host_os
686 host_vendor
687 host_cpu
688 host
689 build_os
690 build_vendor
691 build_cpu
692 build
693 LIBTOOL
694 ac_ct_AR
695 AR
696 am__fastdepCC_FALSE
697 am__fastdepCC_TRUE
698 CCDEPMODE
699 am__nodep
700 AMDEPBACKSLASH
701 AMDEP_FALSE
702 AMDEP_TRUE
703 am__quote
704 am__include
705 DEPDIR
706 OBJEXT
707 EXEEXT
708 ac_ct_CC
709 CPPFLAGS
710 LDFLAGS
711 CFLAGS
712 CC
713 AM_BACKSLASH
714 AM_DEFAULT_VERBOSITY
715 AM_DEFAULT_V
716 AM_V
717 am__untar
718 am__tar
719 AMTAR
720 am__leading_dot
721 SET_MAKE
722 AWK
723 mkdir_p
724 MKDIR_P
725 INSTALL_STRIP_PROGRAM
726 STRIP
727 install_sh
728 MAKEINFO
729 AUTOHEADER
730 AUTOMAKE
731 AUTOCONF
732 ACLOCAL
733 VERSION
734 PACKAGE
735 CYGPATH_W
736 am__isrc
737 INSTALL_DATA
738 INSTALL_SCRIPT
739 INSTALL_PROGRAM
740 target_alias
741 host_alias
742 build_alias
743 LIBS
744 ECHO_T
745 ECHO_N
746 ECHO_C
747 DEFS
748 mandir
749 localedir
750 libdir
751 psdir
752 pdfdir
753 dvidir
754 htmldir
755 infodir
756 docdir
757 oldincludedir
758 includedir
759 localstatedir
760 sharedstatedir
761 sysconfdir
762 datadir
763 datarootdir
764 libexecdir
765 sbindir
766 bindir
767 program_transform_name
768 prefix
769 exec_prefix
770 PACKAGE_URL
771 PACKAGE_BUGREPORT
772 PACKAGE_STRING
773 PACKAGE_VERSION
774 PACKAGE_TARNAME
775 PACKAGE_NAME
776 PATH_SEPARATOR
777 SHELL'
778 ac_subst_files=''
779 ac_user_opts='
780 enable_option_checking
781 enable_silent_rules
782 enable_dependency_tracking
783 enable_static
784 enable_shared
785 with_pic
786 enable_fast_install
787 with_gnu_ld
788 with_sysroot
789 enable_libtool_lock
790 with_html_dir
791 enable_gtk_doc
792 enable_gtk_doc_html
793 enable_gtk_doc_pdf
794 enable_coverage
795 enable_distcheck
796 '
797       ac_precious_vars='build_alias
798 host_alias
799 target_alias
800 CC
801 CFLAGS
802 LDFLAGS
803 LIBS
804 CPPFLAGS
805 CPP
806 PKG_CONFIG
807 PKG_CONFIG_PATH
808 PKG_CONFIG_LIBDIR
809 GTKDOC_DEPS_CFLAGS
810 GTKDOC_DEPS_LIBS
811 GSIGNON_CFLAGS
812 GSIGNON_LIBS
813 LIBSOUP_CFLAGS
814 LIBSOUP_LIBS
815 CHECK_CFLAGS
816 CHECK_LIBS'
817
818
819 # Initialize some variables set by options.
820 ac_init_help=
821 ac_init_version=false
822 ac_unrecognized_opts=
823 ac_unrecognized_sep=
824 # The variables have the same names as the options, with
825 # dashes changed to underlines.
826 cache_file=/dev/null
827 exec_prefix=NONE
828 no_create=
829 no_recursion=
830 prefix=NONE
831 program_prefix=NONE
832 program_suffix=NONE
833 program_transform_name=s,x,x,
834 silent=
835 site=
836 srcdir=
837 verbose=
838 x_includes=NONE
839 x_libraries=NONE
840
841 # Installation directory options.
842 # These are left unexpanded so users can "make install exec_prefix=/foo"
843 # and all the variables that are supposed to be based on exec_prefix
844 # by default will actually change.
845 # Use braces instead of parens because sh, perl, etc. also accept them.
846 # (The list follows the same order as the GNU Coding Standards.)
847 bindir='${exec_prefix}/bin'
848 sbindir='${exec_prefix}/sbin'
849 libexecdir='${exec_prefix}/libexec'
850 datarootdir='${prefix}/share'
851 datadir='${datarootdir}'
852 sysconfdir='${prefix}/etc'
853 sharedstatedir='${prefix}/com'
854 localstatedir='${prefix}/var'
855 includedir='${prefix}/include'
856 oldincludedir='/usr/include'
857 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
858 infodir='${datarootdir}/info'
859 htmldir='${docdir}'
860 dvidir='${docdir}'
861 pdfdir='${docdir}'
862 psdir='${docdir}'
863 libdir='${exec_prefix}/lib'
864 localedir='${datarootdir}/locale'
865 mandir='${datarootdir}/man'
866
867 ac_prev=
868 ac_dashdash=
869 for ac_option
870 do
871   # If the previous option needs an argument, assign it.
872   if test -n "$ac_prev"; then
873     eval $ac_prev=\$ac_option
874     ac_prev=
875     continue
876   fi
877
878   case $ac_option in
879   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880   *=)   ac_optarg= ;;
881   *)    ac_optarg=yes ;;
882   esac
883
884   # Accept the important Cygnus configure options, so we can diagnose typos.
885
886   case $ac_dashdash$ac_option in
887   --)
888     ac_dashdash=yes ;;
889
890   -bindir | --bindir | --bindi | --bind | --bin | --bi)
891     ac_prev=bindir ;;
892   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
893     bindir=$ac_optarg ;;
894
895   -build | --build | --buil | --bui | --bu)
896     ac_prev=build_alias ;;
897   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
898     build_alias=$ac_optarg ;;
899
900   -cache-file | --cache-file | --cache-fil | --cache-fi \
901   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
902     ac_prev=cache_file ;;
903   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
904   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
905     cache_file=$ac_optarg ;;
906
907   --config-cache | -C)
908     cache_file=config.cache ;;
909
910   -datadir | --datadir | --datadi | --datad)
911     ac_prev=datadir ;;
912   -datadir=* | --datadir=* | --datadi=* | --datad=*)
913     datadir=$ac_optarg ;;
914
915   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
916   | --dataroo | --dataro | --datar)
917     ac_prev=datarootdir ;;
918   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
919   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
920     datarootdir=$ac_optarg ;;
921
922   -disable-* | --disable-*)
923     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924     # Reject names that are not valid shell variable names.
925     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926       as_fn_error $? "invalid feature name: $ac_useropt"
927     ac_useropt_orig=$ac_useropt
928     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929     case $ac_user_opts in
930       *"
931 "enable_$ac_useropt"
932 "*) ;;
933       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934          ac_unrecognized_sep=', ';;
935     esac
936     eval enable_$ac_useropt=no ;;
937
938   -docdir | --docdir | --docdi | --doc | --do)
939     ac_prev=docdir ;;
940   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
941     docdir=$ac_optarg ;;
942
943   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
944     ac_prev=dvidir ;;
945   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
946     dvidir=$ac_optarg ;;
947
948   -enable-* | --enable-*)
949     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950     # Reject names that are not valid shell variable names.
951     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952       as_fn_error $? "invalid feature name: $ac_useropt"
953     ac_useropt_orig=$ac_useropt
954     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955     case $ac_user_opts in
956       *"
957 "enable_$ac_useropt"
958 "*) ;;
959       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960          ac_unrecognized_sep=', ';;
961     esac
962     eval enable_$ac_useropt=\$ac_optarg ;;
963
964   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
965   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
966   | --exec | --exe | --ex)
967     ac_prev=exec_prefix ;;
968   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
969   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
970   | --exec=* | --exe=* | --ex=*)
971     exec_prefix=$ac_optarg ;;
972
973   -gas | --gas | --ga | --g)
974     # Obsolete; use --with-gas.
975     with_gas=yes ;;
976
977   -help | --help | --hel | --he | -h)
978     ac_init_help=long ;;
979   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
980     ac_init_help=recursive ;;
981   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
982     ac_init_help=short ;;
983
984   -host | --host | --hos | --ho)
985     ac_prev=host_alias ;;
986   -host=* | --host=* | --hos=* | --ho=*)
987     host_alias=$ac_optarg ;;
988
989   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
990     ac_prev=htmldir ;;
991   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
992   | --ht=*)
993     htmldir=$ac_optarg ;;
994
995   -includedir | --includedir | --includedi | --included | --include \
996   | --includ | --inclu | --incl | --inc)
997     ac_prev=includedir ;;
998   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
999   | --includ=* | --inclu=* | --incl=* | --inc=*)
1000     includedir=$ac_optarg ;;
1001
1002   -infodir | --infodir | --infodi | --infod | --info | --inf)
1003     ac_prev=infodir ;;
1004   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1005     infodir=$ac_optarg ;;
1006
1007   -libdir | --libdir | --libdi | --libd)
1008     ac_prev=libdir ;;
1009   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1010     libdir=$ac_optarg ;;
1011
1012   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1013   | --libexe | --libex | --libe)
1014     ac_prev=libexecdir ;;
1015   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1016   | --libexe=* | --libex=* | --libe=*)
1017     libexecdir=$ac_optarg ;;
1018
1019   -localedir | --localedir | --localedi | --localed | --locale)
1020     ac_prev=localedir ;;
1021   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1022     localedir=$ac_optarg ;;
1023
1024   -localstatedir | --localstatedir | --localstatedi | --localstated \
1025   | --localstate | --localstat | --localsta | --localst | --locals)
1026     ac_prev=localstatedir ;;
1027   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1028   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1029     localstatedir=$ac_optarg ;;
1030
1031   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1032     ac_prev=mandir ;;
1033   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1034     mandir=$ac_optarg ;;
1035
1036   -nfp | --nfp | --nf)
1037     # Obsolete; use --without-fp.
1038     with_fp=no ;;
1039
1040   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1041   | --no-cr | --no-c | -n)
1042     no_create=yes ;;
1043
1044   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1045   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1046     no_recursion=yes ;;
1047
1048   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1049   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1050   | --oldin | --oldi | --old | --ol | --o)
1051     ac_prev=oldincludedir ;;
1052   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1053   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1054   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1055     oldincludedir=$ac_optarg ;;
1056
1057   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1058     ac_prev=prefix ;;
1059   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1060     prefix=$ac_optarg ;;
1061
1062   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1063   | --program-pre | --program-pr | --program-p)
1064     ac_prev=program_prefix ;;
1065   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1066   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1067     program_prefix=$ac_optarg ;;
1068
1069   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1070   | --program-suf | --program-su | --program-s)
1071     ac_prev=program_suffix ;;
1072   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1073   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1074     program_suffix=$ac_optarg ;;
1075
1076   -program-transform-name | --program-transform-name \
1077   | --program-transform-nam | --program-transform-na \
1078   | --program-transform-n | --program-transform- \
1079   | --program-transform | --program-transfor \
1080   | --program-transfo | --program-transf \
1081   | --program-trans | --program-tran \
1082   | --progr-tra | --program-tr | --program-t)
1083     ac_prev=program_transform_name ;;
1084   -program-transform-name=* | --program-transform-name=* \
1085   | --program-transform-nam=* | --program-transform-na=* \
1086   | --program-transform-n=* | --program-transform-=* \
1087   | --program-transform=* | --program-transfor=* \
1088   | --program-transfo=* | --program-transf=* \
1089   | --program-trans=* | --program-tran=* \
1090   | --progr-tra=* | --program-tr=* | --program-t=*)
1091     program_transform_name=$ac_optarg ;;
1092
1093   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1094     ac_prev=pdfdir ;;
1095   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1096     pdfdir=$ac_optarg ;;
1097
1098   -psdir | --psdir | --psdi | --psd | --ps)
1099     ac_prev=psdir ;;
1100   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1101     psdir=$ac_optarg ;;
1102
1103   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1104   | -silent | --silent | --silen | --sile | --sil)
1105     silent=yes ;;
1106
1107   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1108     ac_prev=sbindir ;;
1109   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1110   | --sbi=* | --sb=*)
1111     sbindir=$ac_optarg ;;
1112
1113   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1114   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1115   | --sharedst | --shareds | --shared | --share | --shar \
1116   | --sha | --sh)
1117     ac_prev=sharedstatedir ;;
1118   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1119   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1120   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1121   | --sha=* | --sh=*)
1122     sharedstatedir=$ac_optarg ;;
1123
1124   -site | --site | --sit)
1125     ac_prev=site ;;
1126   -site=* | --site=* | --sit=*)
1127     site=$ac_optarg ;;
1128
1129   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1130     ac_prev=srcdir ;;
1131   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1132     srcdir=$ac_optarg ;;
1133
1134   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1135   | --syscon | --sysco | --sysc | --sys | --sy)
1136     ac_prev=sysconfdir ;;
1137   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1138   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1139     sysconfdir=$ac_optarg ;;
1140
1141   -target | --target | --targe | --targ | --tar | --ta | --t)
1142     ac_prev=target_alias ;;
1143   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1144     target_alias=$ac_optarg ;;
1145
1146   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1147     verbose=yes ;;
1148
1149   -version | --version | --versio | --versi | --vers | -V)
1150     ac_init_version=: ;;
1151
1152   -with-* | --with-*)
1153     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154     # Reject names that are not valid shell variable names.
1155     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156       as_fn_error $? "invalid package name: $ac_useropt"
1157     ac_useropt_orig=$ac_useropt
1158     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159     case $ac_user_opts in
1160       *"
1161 "with_$ac_useropt"
1162 "*) ;;
1163       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1164          ac_unrecognized_sep=', ';;
1165     esac
1166     eval with_$ac_useropt=\$ac_optarg ;;
1167
1168   -without-* | --without-*)
1169     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1170     # Reject names that are not valid shell variable names.
1171     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172       as_fn_error $? "invalid package name: $ac_useropt"
1173     ac_useropt_orig=$ac_useropt
1174     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175     case $ac_user_opts in
1176       *"
1177 "with_$ac_useropt"
1178 "*) ;;
1179       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180          ac_unrecognized_sep=', ';;
1181     esac
1182     eval with_$ac_useropt=no ;;
1183
1184   --x)
1185     # Obsolete; use --with-x.
1186     with_x=yes ;;
1187
1188   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1189   | --x-incl | --x-inc | --x-in | --x-i)
1190     ac_prev=x_includes ;;
1191   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1192   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1193     x_includes=$ac_optarg ;;
1194
1195   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1196   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1197     ac_prev=x_libraries ;;
1198   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1199   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1200     x_libraries=$ac_optarg ;;
1201
1202   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1203 Try \`$0 --help' for more information"
1204     ;;
1205
1206   *=*)
1207     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1208     # Reject names that are not valid shell variable names.
1209     case $ac_envvar in #(
1210       '' | [0-9]* | *[!_$as_cr_alnum]* )
1211       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1212     esac
1213     eval $ac_envvar=\$ac_optarg
1214     export $ac_envvar ;;
1215
1216   *)
1217     # FIXME: should be removed in autoconf 3.0.
1218     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1220       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1222     ;;
1223
1224   esac
1225 done
1226
1227 if test -n "$ac_prev"; then
1228   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1229   as_fn_error $? "missing argument to $ac_option"
1230 fi
1231
1232 if test -n "$ac_unrecognized_opts"; then
1233   case $enable_option_checking in
1234     no) ;;
1235     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1236     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237   esac
1238 fi
1239
1240 # Check all directory arguments for consistency.
1241 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1242                 datadir sysconfdir sharedstatedir localstatedir includedir \
1243                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1244                 libdir localedir mandir
1245 do
1246   eval ac_val=\$$ac_var
1247   # Remove trailing slashes.
1248   case $ac_val in
1249     */ )
1250       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1251       eval $ac_var=\$ac_val;;
1252   esac
1253   # Be sure to have absolute directory names.
1254   case $ac_val in
1255     [\\/$]* | ?:[\\/]* )  continue;;
1256     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1257   esac
1258   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1259 done
1260
1261 # There might be people who depend on the old broken behavior: `$host'
1262 # used to hold the argument of --host etc.
1263 # FIXME: To remove some day.
1264 build=$build_alias
1265 host=$host_alias
1266 target=$target_alias
1267
1268 # FIXME: To remove some day.
1269 if test "x$host_alias" != x; then
1270   if test "x$build_alias" = x; then
1271     cross_compiling=maybe
1272   elif test "x$build_alias" != "x$host_alias"; then
1273     cross_compiling=yes
1274   fi
1275 fi
1276
1277 ac_tool_prefix=
1278 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1279
1280 test "$silent" = yes && exec 6>/dev/null
1281
1282
1283 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1284 ac_ls_di=`ls -di .` &&
1285 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1286   as_fn_error $? "working directory cannot be determined"
1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288   as_fn_error $? "pwd does not report name of working directory"
1289
1290
1291 # Find the source files, if location was not specified.
1292 if test -z "$srcdir"; then
1293   ac_srcdir_defaulted=yes
1294   # Try the directory containing this script, then the parent directory.
1295   ac_confdir=`$as_dirname -- "$as_myself" ||
1296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297          X"$as_myself" : 'X\(//\)[^/]' \| \
1298          X"$as_myself" : 'X\(//\)$' \| \
1299          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300 $as_echo X"$as_myself" |
1301     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302             s//\1/
1303             q
1304           }
1305           /^X\(\/\/\)[^/].*/{
1306             s//\1/
1307             q
1308           }
1309           /^X\(\/\/\)$/{
1310             s//\1/
1311             q
1312           }
1313           /^X\(\/\).*/{
1314             s//\1/
1315             q
1316           }
1317           s/.*/./; q'`
1318   srcdir=$ac_confdir
1319   if test ! -r "$srcdir/$ac_unique_file"; then
1320     srcdir=..
1321   fi
1322 else
1323   ac_srcdir_defaulted=no
1324 fi
1325 if test ! -r "$srcdir/$ac_unique_file"; then
1326   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1327   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1328 fi
1329 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1330 ac_abs_confdir=`(
1331         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1332         pwd)`
1333 # When building in place, set srcdir=.
1334 if test "$ac_abs_confdir" = "$ac_pwd"; then
1335   srcdir=.
1336 fi
1337 # Remove unnecessary trailing slashes from srcdir.
1338 # Double slashes in file names in object file debugging info
1339 # mess up M-x gdb in Emacs.
1340 case $srcdir in
1341 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1342 esac
1343 for ac_var in $ac_precious_vars; do
1344   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1345   eval ac_env_${ac_var}_value=\$${ac_var}
1346   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1347   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1348 done
1349
1350 #
1351 # Report the --help message.
1352 #
1353 if test "$ac_init_help" = "long"; then
1354   # Omit some internal or obsolete options to make the list less imposing.
1355   # This message is too long to be a string in the A/UX 3.1 sh.
1356   cat <<_ACEOF
1357 \`configure' configures gsignond-plugin-oauth 1.0.0 to adapt to many kinds of systems.
1358
1359 Usage: $0 [OPTION]... [VAR=VALUE]...
1360
1361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1362 VAR=VALUE.  See below for descriptions of some of the useful variables.
1363
1364 Defaults for the options are specified in brackets.
1365
1366 Configuration:
1367   -h, --help              display this help and exit
1368       --help=short        display options specific to this package
1369       --help=recursive    display the short help of all the included packages
1370   -V, --version           display version information and exit
1371   -q, --quiet, --silent   do not print \`checking ...' messages
1372       --cache-file=FILE   cache test results in FILE [disabled]
1373   -C, --config-cache      alias for \`--cache-file=config.cache'
1374   -n, --no-create         do not create output files
1375       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1376
1377 Installation directories:
1378   --prefix=PREFIX         install architecture-independent files in PREFIX
1379                           [$ac_default_prefix]
1380   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1381                           [PREFIX]
1382
1383 By default, \`make install' will install all the files in
1384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1386 for instance \`--prefix=\$HOME'.
1387
1388 For better control, use the options below.
1389
1390 Fine tuning of the installation directories:
1391   --bindir=DIR            user executables [EPREFIX/bin]
1392   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1393   --libexecdir=DIR        program executables [EPREFIX/libexec]
1394   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1395   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1396   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1397   --libdir=DIR            object code libraries [EPREFIX/lib]
1398   --includedir=DIR        C header files [PREFIX/include]
1399   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1400   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1401   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1402   --infodir=DIR           info documentation [DATAROOTDIR/info]
1403   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1404   --mandir=DIR            man documentation [DATAROOTDIR/man]
1405   --docdir=DIR            documentation root
1406                           [DATAROOTDIR/doc/gsignond-plugin-oauth]
1407   --htmldir=DIR           html documentation [DOCDIR]
1408   --dvidir=DIR            dvi documentation [DOCDIR]
1409   --pdfdir=DIR            pdf documentation [DOCDIR]
1410   --psdir=DIR             ps documentation [DOCDIR]
1411 _ACEOF
1412
1413   cat <<\_ACEOF
1414
1415 Program names:
1416   --program-prefix=PREFIX            prepend PREFIX to installed program names
1417   --program-suffix=SUFFIX            append SUFFIX to installed program names
1418   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1419
1420 System types:
1421   --build=BUILD     configure for building on BUILD [guessed]
1422   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1423 _ACEOF
1424 fi
1425
1426 if test -n "$ac_init_help"; then
1427   case $ac_init_help in
1428      short | recursive ) echo "Configuration of gsignond-plugin-oauth 1.0.0:";;
1429    esac
1430   cat <<\_ACEOF
1431
1432 Optional Features:
1433   --disable-option-checking  ignore unrecognized --enable/--with options
1434   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1435   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1436   --enable-silent-rules   less verbose build output (undo: "make V=1")
1437   --disable-silent-rules  verbose build output (undo: "make V=0")
1438   --enable-dependency-tracking
1439                           do not reject slow dependency extractors
1440   --disable-dependency-tracking
1441                           speeds up one-time build
1442   --enable-static[=PKGS]  build static libraries [default=no]
1443   --enable-shared[=PKGS]  build shared libraries [default=yes]
1444   --enable-fast-install[=PKGS]
1445                           optimize for fast installation [default=yes]
1446   --disable-libtool-lock  avoid locking (might break parallel builds)
1447   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1448   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1449   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1450   --enable-coverage       compile with coverage info
1451   --enable-distcheck build for distcheck target
1452
1453 Optional Packages:
1454   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1455   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1456   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1457                           both]
1458   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1459   --with-sysroot=DIR Search for dependent libraries within DIR
1460                         (or the compiler's sysroot if not specified).
1461   --with-html-dir=PATH    path to installed docs
1462
1463 Some influential environment variables:
1464   CC          C compiler command
1465   CFLAGS      C compiler flags
1466   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1467               nonstandard directory <lib dir>
1468   LIBS        libraries to pass to the linker, e.g. -l<library>
1469   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1470               you have headers in a nonstandard directory <include dir>
1471   CPP         C preprocessor
1472   PKG_CONFIG  path to pkg-config utility
1473   PKG_CONFIG_PATH
1474               directories to add to pkg-config's search path
1475   PKG_CONFIG_LIBDIR
1476               path overriding pkg-config's built-in search path
1477   GTKDOC_DEPS_CFLAGS
1478               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1479   GTKDOC_DEPS_LIBS
1480               linker flags for GTKDOC_DEPS, overriding pkg-config
1481   GSIGNON_CFLAGS
1482               C compiler flags for GSIGNON, overriding pkg-config
1483   GSIGNON_LIBS
1484               linker flags for GSIGNON, overriding pkg-config
1485   LIBSOUP_CFLAGS
1486               C compiler flags for LIBSOUP, overriding pkg-config
1487   LIBSOUP_LIBS
1488               linker flags for LIBSOUP, overriding pkg-config
1489   CHECK_CFLAGS
1490               C compiler flags for CHECK, overriding pkg-config
1491   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1492
1493 Use these variables to override the choices made by `configure' or to help
1494 it to find libraries and programs with nonstandard names/locations.
1495
1496 Report bugs to the package provider.
1497 _ACEOF
1498 ac_status=$?
1499 fi
1500
1501 if test "$ac_init_help" = "recursive"; then
1502   # If there are subdirs, report their specific --help.
1503   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1504     test -d "$ac_dir" ||
1505       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1506       continue
1507     ac_builddir=.
1508
1509 case "$ac_dir" in
1510 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 *)
1512   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1513   # A ".." for each directory in $ac_dir_suffix.
1514   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1515   case $ac_top_builddir_sub in
1516   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1518   esac ;;
1519 esac
1520 ac_abs_top_builddir=$ac_pwd
1521 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1522 # for backward compatibility:
1523 ac_top_builddir=$ac_top_build_prefix
1524
1525 case $srcdir in
1526   .)  # We are building in place.
1527     ac_srcdir=.
1528     ac_top_srcdir=$ac_top_builddir_sub
1529     ac_abs_top_srcdir=$ac_pwd ;;
1530   [\\/]* | ?:[\\/]* )  # Absolute name.
1531     ac_srcdir=$srcdir$ac_dir_suffix;
1532     ac_top_srcdir=$srcdir
1533     ac_abs_top_srcdir=$srcdir ;;
1534   *) # Relative name.
1535     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1536     ac_top_srcdir=$ac_top_build_prefix$srcdir
1537     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1538 esac
1539 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1540
1541     cd "$ac_dir" || { ac_status=$?; continue; }
1542     # Check for guested configure.
1543     if test -f "$ac_srcdir/configure.gnu"; then
1544       echo &&
1545       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1546     elif test -f "$ac_srcdir/configure"; then
1547       echo &&
1548       $SHELL "$ac_srcdir/configure" --help=recursive
1549     else
1550       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1551     fi || ac_status=$?
1552     cd "$ac_pwd" || { ac_status=$?; break; }
1553   done
1554 fi
1555
1556 test -n "$ac_init_help" && exit $ac_status
1557 if $ac_init_version; then
1558   cat <<\_ACEOF
1559 gsignond-plugin-oauth configure 1.0.0
1560 generated by GNU Autoconf 2.69
1561
1562 Copyright (C) 2012 Free Software Foundation, Inc.
1563 This configure script is free software; the Free Software Foundation
1564 gives unlimited permission to copy, distribute and modify it.
1565 _ACEOF
1566   exit
1567 fi
1568
1569 ## ------------------------ ##
1570 ## Autoconf initialization. ##
1571 ## ------------------------ ##
1572
1573 # ac_fn_c_try_compile LINENO
1574 # --------------------------
1575 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1576 ac_fn_c_try_compile ()
1577 {
1578   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579   rm -f conftest.$ac_objext
1580   if { { ac_try="$ac_compile"
1581 case "(($ac_try" in
1582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583   *) ac_try_echo=$ac_try;;
1584 esac
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587   (eval "$ac_compile") 2>conftest.err
1588   ac_status=$?
1589   if test -s conftest.err; then
1590     grep -v '^ *+' conftest.err >conftest.er1
1591     cat conftest.er1 >&5
1592     mv -f conftest.er1 conftest.err
1593   fi
1594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595   test $ac_status = 0; } && {
1596          test -z "$ac_c_werror_flag" ||
1597          test ! -s conftest.err
1598        } && test -s conftest.$ac_objext; then :
1599   ac_retval=0
1600 else
1601   $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.$ac_ext >&5
1603
1604         ac_retval=1
1605 fi
1606   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607   as_fn_set_status $ac_retval
1608
1609 } # ac_fn_c_try_compile
1610
1611 # ac_fn_c_try_link LINENO
1612 # -----------------------
1613 # Try to link conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_link ()
1615 {
1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617   rm -f conftest.$ac_objext conftest$ac_exeext
1618   if { { ac_try="$ac_link"
1619 case "(($ac_try" in
1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621   *) ac_try_echo=$ac_try;;
1622 esac
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625   (eval "$ac_link") 2>conftest.err
1626   ac_status=$?
1627   if test -s conftest.err; then
1628     grep -v '^ *+' conftest.err >conftest.er1
1629     cat conftest.er1 >&5
1630     mv -f conftest.er1 conftest.err
1631   fi
1632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633   test $ac_status = 0; } && {
1634          test -z "$ac_c_werror_flag" ||
1635          test ! -s conftest.err
1636        } && test -s conftest$ac_exeext && {
1637          test "$cross_compiling" = yes ||
1638          test -x conftest$ac_exeext
1639        }; then :
1640   ac_retval=0
1641 else
1642   $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1644
1645         ac_retval=1
1646 fi
1647   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1648   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1649   # interfere with the next link command; also delete a directory that is
1650   # left behind by Apple's compiler.  We do this before executing the actions.
1651   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1652   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653   as_fn_set_status $ac_retval
1654
1655 } # ac_fn_c_try_link
1656
1657 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1658 # -------------------------------------------------------
1659 # Tests whether HEADER exists and can be compiled using the include files in
1660 # INCLUDES, setting the cache variable VAR accordingly.
1661 ac_fn_c_check_header_compile ()
1662 {
1663   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665 $as_echo_n "checking for $2... " >&6; }
1666 if eval \${$3+:} false; then :
1667   $as_echo_n "(cached) " >&6
1668 else
1669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670 /* end confdefs.h.  */
1671 $4
1672 #include <$2>
1673 _ACEOF
1674 if ac_fn_c_try_compile "$LINENO"; then :
1675   eval "$3=yes"
1676 else
1677   eval "$3=no"
1678 fi
1679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1680 fi
1681 eval ac_res=\$$3
1682                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1684   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685
1686 } # ac_fn_c_check_header_compile
1687
1688 # ac_fn_c_try_cpp LINENO
1689 # ----------------------
1690 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1691 ac_fn_c_try_cpp ()
1692 {
1693   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694   if { { ac_try="$ac_cpp conftest.$ac_ext"
1695 case "(($ac_try" in
1696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697   *) ac_try_echo=$ac_try;;
1698 esac
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1702   ac_status=$?
1703   if test -s conftest.err; then
1704     grep -v '^ *+' conftest.err >conftest.er1
1705     cat conftest.er1 >&5
1706     mv -f conftest.er1 conftest.err
1707   fi
1708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709   test $ac_status = 0; } > conftest.i && {
1710          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1711          test ! -s conftest.err
1712        }; then :
1713   ac_retval=0
1714 else
1715   $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1717
1718     ac_retval=1
1719 fi
1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721   as_fn_set_status $ac_retval
1722
1723 } # ac_fn_c_try_cpp
1724
1725 # ac_fn_c_try_run LINENO
1726 # ----------------------
1727 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1728 # that executables *can* be run.
1729 ac_fn_c_try_run ()
1730 {
1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732   if { { ac_try="$ac_link"
1733 case "(($ac_try" in
1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735   *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739   (eval "$ac_link") 2>&5
1740   ac_status=$?
1741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1743   { { case "(($ac_try" in
1744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745   *) ac_try_echo=$ac_try;;
1746 esac
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749   (eval "$ac_try") 2>&5
1750   ac_status=$?
1751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752   test $ac_status = 0; }; }; then :
1753   ac_retval=0
1754 else
1755   $as_echo "$as_me: program exited with status $ac_status" >&5
1756        $as_echo "$as_me: failed program was:" >&5
1757 sed 's/^/| /' conftest.$ac_ext >&5
1758
1759        ac_retval=$ac_status
1760 fi
1761   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763   as_fn_set_status $ac_retval
1764
1765 } # ac_fn_c_try_run
1766
1767 # ac_fn_c_check_func LINENO FUNC VAR
1768 # ----------------------------------
1769 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1770 ac_fn_c_check_func ()
1771 {
1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \${$3+:} false; then :
1776   $as_echo_n "(cached) " >&6
1777 else
1778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h.  */
1780 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1782 #define $2 innocuous_$2
1783
1784 /* System header to define __stub macros and hopefully few prototypes,
1785     which can conflict with char $2 (); below.
1786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1787     <limits.h> exists even on freestanding compilers.  */
1788
1789 #ifdef __STDC__
1790 # include <limits.h>
1791 #else
1792 # include <assert.h>
1793 #endif
1794
1795 #undef $2
1796
1797 /* Override any GCC internal prototype to avoid an error.
1798    Use char because int might match the return type of a GCC
1799    builtin and then its argument prototype would still apply.  */
1800 #ifdef __cplusplus
1801 extern "C"
1802 #endif
1803 char $2 ();
1804 /* The GNU C library defines this for functions which it implements
1805     to always fail with ENOSYS.  Some functions are actually named
1806     something starting with __ and the normal name is an alias.  */
1807 #if defined __stub_$2 || defined __stub___$2
1808 choke me
1809 #endif
1810
1811 int
1812 main ()
1813 {
1814 return $2 ();
1815   ;
1816   return 0;
1817 }
1818 _ACEOF
1819 if ac_fn_c_try_link "$LINENO"; then :
1820   eval "$3=yes"
1821 else
1822   eval "$3=no"
1823 fi
1824 rm -f core conftest.err conftest.$ac_objext \
1825     conftest$ac_exeext conftest.$ac_ext
1826 fi
1827 eval ac_res=\$$3
1828                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829 $as_echo "$ac_res" >&6; }
1830   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831
1832 } # ac_fn_c_check_func
1833 cat >config.log <<_ACEOF
1834 This file contains any messages produced by compilers while
1835 running configure, to aid debugging if configure makes a mistake.
1836
1837 It was created by gsignond-plugin-oauth $as_me 1.0.0, which was
1838 generated by GNU Autoconf 2.69.  Invocation command line was
1839
1840   $ $0 $@
1841
1842 _ACEOF
1843 exec 5>>config.log
1844 {
1845 cat <<_ASUNAME
1846 ## --------- ##
1847 ## Platform. ##
1848 ## --------- ##
1849
1850 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1851 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1852 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1853 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1854 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1855
1856 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1857 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1858
1859 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1860 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1861 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1862 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1863 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1864 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1865 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1866
1867 _ASUNAME
1868
1869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1870 for as_dir in $PATH
1871 do
1872   IFS=$as_save_IFS
1873   test -z "$as_dir" && as_dir=.
1874     $as_echo "PATH: $as_dir"
1875   done
1876 IFS=$as_save_IFS
1877
1878 } >&5
1879
1880 cat >&5 <<_ACEOF
1881
1882
1883 ## ----------- ##
1884 ## Core tests. ##
1885 ## ----------- ##
1886
1887 _ACEOF
1888
1889
1890 # Keep a trace of the command line.
1891 # Strip out --no-create and --no-recursion so they do not pile up.
1892 # Strip out --silent because we don't want to record it for future runs.
1893 # Also quote any args containing shell meta-characters.
1894 # Make two passes to allow for proper duplicate-argument suppression.
1895 ac_configure_args=
1896 ac_configure_args0=
1897 ac_configure_args1=
1898 ac_must_keep_next=false
1899 for ac_pass in 1 2
1900 do
1901   for ac_arg
1902   do
1903     case $ac_arg in
1904     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1905     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1906     | -silent | --silent | --silen | --sile | --sil)
1907       continue ;;
1908     *\'*)
1909       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1910     esac
1911     case $ac_pass in
1912     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1913     2)
1914       as_fn_append ac_configure_args1 " '$ac_arg'"
1915       if test $ac_must_keep_next = true; then
1916         ac_must_keep_next=false # Got value, back to normal.
1917       else
1918         case $ac_arg in
1919           *=* | --config-cache | -C | -disable-* | --disable-* \
1920           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1921           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1922           | -with-* | --with-* | -without-* | --without-* | --x)
1923             case "$ac_configure_args0 " in
1924               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1925             esac
1926             ;;
1927           -* ) ac_must_keep_next=true ;;
1928         esac
1929       fi
1930       as_fn_append ac_configure_args " '$ac_arg'"
1931       ;;
1932     esac
1933   done
1934 done
1935 { ac_configure_args0=; unset ac_configure_args0;}
1936 { ac_configure_args1=; unset ac_configure_args1;}
1937
1938 # When interrupted or exit'd, cleanup temporary files, and complete
1939 # config.log.  We remove comments because anyway the quotes in there
1940 # would cause problems or look ugly.
1941 # WARNING: Use '\'' to represent an apostrophe within the trap.
1942 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1943 trap 'exit_status=$?
1944   # Save into config.log some information that might help in debugging.
1945   {
1946     echo
1947
1948     $as_echo "## ---------------- ##
1949 ## Cache variables. ##
1950 ## ---------------- ##"
1951     echo
1952     # The following way of writing the cache mishandles newlines in values,
1953 (
1954   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1955     eval ac_val=\$$ac_var
1956     case $ac_val in #(
1957     *${as_nl}*)
1958       case $ac_var in #(
1959       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1961       esac
1962       case $ac_var in #(
1963       _ | IFS | as_nl) ;; #(
1964       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1965       *) { eval $ac_var=; unset $ac_var;} ;;
1966       esac ;;
1967     esac
1968   done
1969   (set) 2>&1 |
1970     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1971     *${as_nl}ac_space=\ *)
1972       sed -n \
1973         "s/'\''/'\''\\\\'\'''\''/g;
1974           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1975       ;; #(
1976     *)
1977       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1978       ;;
1979     esac |
1980     sort
1981 )
1982     echo
1983
1984     $as_echo "## ----------------- ##
1985 ## Output variables. ##
1986 ## ----------------- ##"
1987     echo
1988     for ac_var in $ac_subst_vars
1989     do
1990       eval ac_val=\$$ac_var
1991       case $ac_val in
1992       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1993       esac
1994       $as_echo "$ac_var='\''$ac_val'\''"
1995     done | sort
1996     echo
1997
1998     if test -n "$ac_subst_files"; then
1999       $as_echo "## ------------------- ##
2000 ## File substitutions. ##
2001 ## ------------------- ##"
2002       echo
2003       for ac_var in $ac_subst_files
2004       do
2005         eval ac_val=\$$ac_var
2006         case $ac_val in
2007         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2008         esac
2009         $as_echo "$ac_var='\''$ac_val'\''"
2010       done | sort
2011       echo
2012     fi
2013
2014     if test -s confdefs.h; then
2015       $as_echo "## ----------- ##
2016 ## confdefs.h. ##
2017 ## ----------- ##"
2018       echo
2019       cat confdefs.h
2020       echo
2021     fi
2022     test "$ac_signal" != 0 &&
2023       $as_echo "$as_me: caught signal $ac_signal"
2024     $as_echo "$as_me: exit $exit_status"
2025   } >&5
2026   rm -f core *.core core.conftest.* &&
2027     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2028     exit $exit_status
2029 ' 0
2030 for ac_signal in 1 2 13 15; do
2031   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2032 done
2033 ac_signal=0
2034
2035 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2036 rm -f -r conftest* confdefs.h
2037
2038 $as_echo "/* confdefs.h */" > confdefs.h
2039
2040 # Predefined preprocessor variables.
2041
2042 cat >>confdefs.h <<_ACEOF
2043 #define PACKAGE_NAME "$PACKAGE_NAME"
2044 _ACEOF
2045
2046 cat >>confdefs.h <<_ACEOF
2047 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2048 _ACEOF
2049
2050 cat >>confdefs.h <<_ACEOF
2051 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2052 _ACEOF
2053
2054 cat >>confdefs.h <<_ACEOF
2055 #define PACKAGE_STRING "$PACKAGE_STRING"
2056 _ACEOF
2057
2058 cat >>confdefs.h <<_ACEOF
2059 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2060 _ACEOF
2061
2062 cat >>confdefs.h <<_ACEOF
2063 #define PACKAGE_URL "$PACKAGE_URL"
2064 _ACEOF
2065
2066
2067 # Let the site file select an alternate cache file if it wants to.
2068 # Prefer an explicitly selected file to automatically selected ones.
2069 ac_site_file1=NONE
2070 ac_site_file2=NONE
2071 if test -n "$CONFIG_SITE"; then
2072   # We do not want a PATH search for config.site.
2073   case $CONFIG_SITE in #((
2074     -*)  ac_site_file1=./$CONFIG_SITE;;
2075     */*) ac_site_file1=$CONFIG_SITE;;
2076     *)   ac_site_file1=./$CONFIG_SITE;;
2077   esac
2078 elif test "x$prefix" != xNONE; then
2079   ac_site_file1=$prefix/share/config.site
2080   ac_site_file2=$prefix/etc/config.site
2081 else
2082   ac_site_file1=$ac_default_prefix/share/config.site
2083   ac_site_file2=$ac_default_prefix/etc/config.site
2084 fi
2085 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2086 do
2087   test "x$ac_site_file" = xNONE && continue
2088   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2089     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2090 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2091     sed 's/^/| /' "$ac_site_file" >&5
2092     . "$ac_site_file" \
2093       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2095 as_fn_error $? "failed to load site script $ac_site_file
2096 See \`config.log' for more details" "$LINENO" 5; }
2097   fi
2098 done
2099
2100 if test -r "$cache_file"; then
2101   # Some versions of bash will fail to source /dev/null (special files
2102   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2103   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2104     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2105 $as_echo "$as_me: loading cache $cache_file" >&6;}
2106     case $cache_file in
2107       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2108       *)                      . "./$cache_file";;
2109     esac
2110   fi
2111 else
2112   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2113 $as_echo "$as_me: creating cache $cache_file" >&6;}
2114   >$cache_file
2115 fi
2116
2117 # Check that the precious variables saved in the cache have kept the same
2118 # value.
2119 ac_cache_corrupted=false
2120 for ac_var in $ac_precious_vars; do
2121   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2122   eval ac_new_set=\$ac_env_${ac_var}_set
2123   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2124   eval ac_new_val=\$ac_env_${ac_var}_value
2125   case $ac_old_set,$ac_new_set in
2126     set,)
2127       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2128 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2129       ac_cache_corrupted=: ;;
2130     ,set)
2131       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2132 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2133       ac_cache_corrupted=: ;;
2134     ,);;
2135     *)
2136       if test "x$ac_old_val" != "x$ac_new_val"; then
2137         # differences in whitespace do not lead to failure.
2138         ac_old_val_w=`echo x $ac_old_val`
2139         ac_new_val_w=`echo x $ac_new_val`
2140         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2141           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2142 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2143           ac_cache_corrupted=:
2144         else
2145           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2146 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2147           eval $ac_var=\$ac_old_val
2148         fi
2149         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2150 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2151         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2152 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2153       fi;;
2154   esac
2155   # Pass precious variables to config.status.
2156   if test "$ac_new_set" = set; then
2157     case $ac_new_val in
2158     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2159     *) ac_arg=$ac_var=$ac_new_val ;;
2160     esac
2161     case " $ac_configure_args " in
2162       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2163       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2164     esac
2165   fi
2166 done
2167 if $ac_cache_corrupted; then
2168   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2170   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2171 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2172   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2173 fi
2174 ## -------------------- ##
2175 ## Main body of script. ##
2176 ## -------------------- ##
2177
2178 ac_ext=c
2179 ac_cpp='$CPP $CPPFLAGS'
2180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2183
2184
2185
2186 ac_config_headers="$ac_config_headers config.h"
2187
2188 ac_aux_dir=
2189 for ac_dir in build-aux "$srcdir"/build-aux; do
2190   if test -f "$ac_dir/install-sh"; then
2191     ac_aux_dir=$ac_dir
2192     ac_install_sh="$ac_aux_dir/install-sh -c"
2193     break
2194   elif test -f "$ac_dir/install.sh"; then
2195     ac_aux_dir=$ac_dir
2196     ac_install_sh="$ac_aux_dir/install.sh -c"
2197     break
2198   elif test -f "$ac_dir/shtool"; then
2199     ac_aux_dir=$ac_dir
2200     ac_install_sh="$ac_aux_dir/shtool install -c"
2201     break
2202   fi
2203 done
2204 if test -z "$ac_aux_dir"; then
2205   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2206 fi
2207
2208 # These three variables are undocumented and unsupported,
2209 # and are intended to be withdrawn in a future Autoconf release.
2210 # They can cause serious problems if a builder's source tree is in a directory
2211 # whose full name contains unusual characters.
2212 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2213 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2214 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2215
2216
2217
2218
2219 am__api_version='1.14'
2220
2221 # Find a good install program.  We prefer a C program (faster),
2222 # so one script is as good as another.  But avoid the broken or
2223 # incompatible versions:
2224 # SysV /etc/install, /usr/sbin/install
2225 # SunOS /usr/etc/install
2226 # IRIX /sbin/install
2227 # AIX /bin/install
2228 # AmigaOS /C/install, which installs bootblocks on floppy discs
2229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2232 # OS/2's system install, which has a completely different semantic
2233 # ./install, which can be erroneously created by make from ./install.sh.
2234 # Reject install programs that cannot install multiple files.
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2236 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2237 if test -z "$INSTALL"; then
2238 if ${ac_cv_path_install+:} false; then :
2239   $as_echo_n "(cached) " >&6
2240 else
2241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242 for as_dir in $PATH
2243 do
2244   IFS=$as_save_IFS
2245   test -z "$as_dir" && as_dir=.
2246     # Account for people who put trailing slashes in PATH elements.
2247 case $as_dir/ in #((
2248   ./ | .// | /[cC]/* | \
2249   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2250   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2251   /usr/ucb/* ) ;;
2252   *)
2253     # OSF1 and SCO ODT 3.0 have their own names for install.
2254     # Don't use installbsd from OSF since it installs stuff as root
2255     # by default.
2256     for ac_prog in ginstall scoinst install; do
2257       for ac_exec_ext in '' $ac_executable_extensions; do
2258         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2259           if test $ac_prog = install &&
2260             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2261             # AIX install.  It has an incompatible calling convention.
2262             :
2263           elif test $ac_prog = install &&
2264             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2265             # program-specific install script used by HP pwplus--don't use.
2266             :
2267           else
2268             rm -rf conftest.one conftest.two conftest.dir
2269             echo one > conftest.one
2270             echo two > conftest.two
2271             mkdir conftest.dir
2272             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2273               test -s conftest.one && test -s conftest.two &&
2274               test -s conftest.dir/conftest.one &&
2275               test -s conftest.dir/conftest.two
2276             then
2277               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2278               break 3
2279             fi
2280           fi
2281         fi
2282       done
2283     done
2284     ;;
2285 esac
2286
2287   done
2288 IFS=$as_save_IFS
2289
2290 rm -rf conftest.one conftest.two conftest.dir
2291
2292 fi
2293   if test "${ac_cv_path_install+set}" = set; then
2294     INSTALL=$ac_cv_path_install
2295   else
2296     # As a last resort, use the slow shell script.  Don't cache a
2297     # value for INSTALL within a source directory, because that will
2298     # break other packages using the cache if that directory is
2299     # removed, or if the value is a relative name.
2300     INSTALL=$ac_install_sh
2301   fi
2302 fi
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2304 $as_echo "$INSTALL" >&6; }
2305
2306 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2307 # It thinks the first close brace ends the variable substitution.
2308 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2309
2310 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2311
2312 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2313
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2315 $as_echo_n "checking whether build environment is sane... " >&6; }
2316 # Reject unsafe characters in $srcdir or the absolute working directory
2317 # name.  Accept space and tab only in the latter.
2318 am_lf='
2319 '
2320 case `pwd` in
2321   *[\\\"\#\$\&\'\`$am_lf]*)
2322     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2323 esac
2324 case $srcdir in
2325   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2326     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2327 esac
2328
2329 # Do 'set' in a subshell so we don't clobber the current shell's
2330 # arguments.  Must try -L first in case configure is actually a
2331 # symlink; some systems play weird games with the mod time of symlinks
2332 # (eg FreeBSD returns the mod time of the symlink's containing
2333 # directory).
2334 if (
2335    am_has_slept=no
2336    for am_try in 1 2; do
2337      echo "timestamp, slept: $am_has_slept" > conftest.file
2338      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2339      if test "$*" = "X"; then
2340         # -L didn't work.
2341         set X `ls -t "$srcdir/configure" conftest.file`
2342      fi
2343      if test "$*" != "X $srcdir/configure conftest.file" \
2344         && test "$*" != "X conftest.file $srcdir/configure"; then
2345
2346         # If neither matched, then we have a broken ls.  This can happen
2347         # if, for instance, CONFIG_SHELL is bash and it inherits a
2348         # broken ls alias from the environment.  This has actually
2349         # happened.  Such a system could not be considered "sane".
2350         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2351   alias in your environment" "$LINENO" 5
2352      fi
2353      if test "$2" = conftest.file || test $am_try -eq 2; then
2354        break
2355      fi
2356      # Just in case.
2357      sleep 1
2358      am_has_slept=yes
2359    done
2360    test "$2" = conftest.file
2361    )
2362 then
2363    # Ok.
2364    :
2365 else
2366    as_fn_error $? "newly created file is older than distributed files!
2367 Check your system clock" "$LINENO" 5
2368 fi
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2370 $as_echo "yes" >&6; }
2371 # If we didn't sleep, we still need to ensure time stamps of config.status and
2372 # generated files are strictly newer.
2373 am_sleep_pid=
2374 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2375   ( sleep 1 ) &
2376   am_sleep_pid=$!
2377 fi
2378
2379 rm -f conftest.file
2380
2381 test "$program_prefix" != NONE &&
2382   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2383 # Use a double $ so make ignores it.
2384 test "$program_suffix" != NONE &&
2385   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2386 # Double any \ or $.
2387 # By default was `s,x,x', remove it if useless.
2388 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2389 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2390
2391 # expand $ac_aux_dir to an absolute path
2392 am_aux_dir=`cd $ac_aux_dir && pwd`
2393
2394 if test x"${MISSING+set}" != xset; then
2395   case $am_aux_dir in
2396   *\ * | *\     *)
2397     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2398   *)
2399     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2400   esac
2401 fi
2402 # Use eval to expand $SHELL
2403 if eval "$MISSING --is-lightweight"; then
2404   am_missing_run="$MISSING "
2405 else
2406   am_missing_run=
2407   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2408 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2409 fi
2410
2411 if test x"${install_sh}" != xset; then
2412   case $am_aux_dir in
2413   *\ * | *\     *)
2414     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2415   *)
2416     install_sh="\${SHELL} $am_aux_dir/install-sh"
2417   esac
2418 fi
2419
2420 # Installed binaries are usually stripped using 'strip' when the user
2421 # run "make install-strip".  However 'strip' might not be the right
2422 # tool to use in cross-compilation environments, therefore Automake
2423 # will honor the 'STRIP' environment variable to overrule this program.
2424 if test "$cross_compiling" != no; then
2425   if test -n "$ac_tool_prefix"; then
2426   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2427 set dummy ${ac_tool_prefix}strip; ac_word=$2
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2429 $as_echo_n "checking for $ac_word... " >&6; }
2430 if ${ac_cv_prog_STRIP+:} false; then :
2431   $as_echo_n "(cached) " >&6
2432 else
2433   if test -n "$STRIP"; then
2434   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2435 else
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 for as_dir in $PATH
2438 do
2439   IFS=$as_save_IFS
2440   test -z "$as_dir" && as_dir=.
2441     for ac_exec_ext in '' $ac_executable_extensions; do
2442   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2443     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445     break 2
2446   fi
2447 done
2448   done
2449 IFS=$as_save_IFS
2450
2451 fi
2452 fi
2453 STRIP=$ac_cv_prog_STRIP
2454 if test -n "$STRIP"; then
2455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2456 $as_echo "$STRIP" >&6; }
2457 else
2458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2459 $as_echo "no" >&6; }
2460 fi
2461
2462
2463 fi
2464 if test -z "$ac_cv_prog_STRIP"; then
2465   ac_ct_STRIP=$STRIP
2466   # Extract the first word of "strip", so it can be a program name with args.
2467 set dummy strip; ac_word=$2
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2469 $as_echo_n "checking for $ac_word... " >&6; }
2470 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2471   $as_echo_n "(cached) " >&6
2472 else
2473   if test -n "$ac_ct_STRIP"; then
2474   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2475 else
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 for as_dir in $PATH
2478 do
2479   IFS=$as_save_IFS
2480   test -z "$as_dir" && as_dir=.
2481     for ac_exec_ext in '' $ac_executable_extensions; do
2482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2483     ac_cv_prog_ac_ct_STRIP="strip"
2484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485     break 2
2486   fi
2487 done
2488   done
2489 IFS=$as_save_IFS
2490
2491 fi
2492 fi
2493 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2494 if test -n "$ac_ct_STRIP"; then
2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2496 $as_echo "$ac_ct_STRIP" >&6; }
2497 else
2498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2499 $as_echo "no" >&6; }
2500 fi
2501
2502   if test "x$ac_ct_STRIP" = x; then
2503     STRIP=":"
2504   else
2505     case $cross_compiling:$ac_tool_warned in
2506 yes:)
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2509 ac_tool_warned=yes ;;
2510 esac
2511     STRIP=$ac_ct_STRIP
2512   fi
2513 else
2514   STRIP="$ac_cv_prog_STRIP"
2515 fi
2516
2517 fi
2518 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2519
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2521 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2522 if test -z "$MKDIR_P"; then
2523   if ${ac_cv_path_mkdir+:} false; then :
2524   $as_echo_n "(cached) " >&6
2525 else
2526   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2528 do
2529   IFS=$as_save_IFS
2530   test -z "$as_dir" && as_dir=.
2531     for ac_prog in mkdir gmkdir; do
2532          for ac_exec_ext in '' $ac_executable_extensions; do
2533            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2534            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2535              'mkdir (GNU coreutils) '* | \
2536              'mkdir (coreutils) '* | \
2537              'mkdir (fileutils) '4.1*)
2538                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2539                break 3;;
2540            esac
2541          done
2542        done
2543   done
2544 IFS=$as_save_IFS
2545
2546 fi
2547
2548   test -d ./--version && rmdir ./--version
2549   if test "${ac_cv_path_mkdir+set}" = set; then
2550     MKDIR_P="$ac_cv_path_mkdir -p"
2551   else
2552     # As a last resort, use the slow shell script.  Don't cache a
2553     # value for MKDIR_P within a source directory, because that will
2554     # break other packages using the cache if that directory is
2555     # removed, or if the value is a relative name.
2556     MKDIR_P="$ac_install_sh -d"
2557   fi
2558 fi
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2560 $as_echo "$MKDIR_P" >&6; }
2561
2562 for ac_prog in gawk mawk nawk awk
2563 do
2564   # Extract the first word of "$ac_prog", so it can be a program name with args.
2565 set dummy $ac_prog; ac_word=$2
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if ${ac_cv_prog_AWK+:} false; then :
2569   $as_echo_n "(cached) " >&6
2570 else
2571   if test -n "$AWK"; then
2572   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2573 else
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 for as_dir in $PATH
2576 do
2577   IFS=$as_save_IFS
2578   test -z "$as_dir" && as_dir=.
2579     for ac_exec_ext in '' $ac_executable_extensions; do
2580   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2581     ac_cv_prog_AWK="$ac_prog"
2582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2583     break 2
2584   fi
2585 done
2586   done
2587 IFS=$as_save_IFS
2588
2589 fi
2590 fi
2591 AWK=$ac_cv_prog_AWK
2592 if test -n "$AWK"; then
2593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2594 $as_echo "$AWK" >&6; }
2595 else
2596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2598 fi
2599
2600
2601   test -n "$AWK" && break
2602 done
2603
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2605 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2606 set x ${MAKE-make}
2607 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2608 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2609   $as_echo_n "(cached) " >&6
2610 else
2611   cat >conftest.make <<\_ACEOF
2612 SHELL = /bin/sh
2613 all:
2614         @echo '@@@%%%=$(MAKE)=@@@%%%'
2615 _ACEOF
2616 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2617 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2618   *@@@%%%=?*=@@@%%%*)
2619     eval ac_cv_prog_make_${ac_make}_set=yes;;
2620   *)
2621     eval ac_cv_prog_make_${ac_make}_set=no;;
2622 esac
2623 rm -f conftest.make
2624 fi
2625 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2627 $as_echo "yes" >&6; }
2628   SET_MAKE=
2629 else
2630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2632   SET_MAKE="MAKE=${MAKE-make}"
2633 fi
2634
2635 rm -rf .tst 2>/dev/null
2636 mkdir .tst 2>/dev/null
2637 if test -d .tst; then
2638   am__leading_dot=.
2639 else
2640   am__leading_dot=_
2641 fi
2642 rmdir .tst 2>/dev/null
2643
2644 # Check whether --enable-silent-rules was given.
2645 if test "${enable_silent_rules+set}" = set; then :
2646   enableval=$enable_silent_rules;
2647 fi
2648
2649 case $enable_silent_rules in # (((
2650   yes) AM_DEFAULT_VERBOSITY=0;;
2651    no) AM_DEFAULT_VERBOSITY=1;;
2652     *) AM_DEFAULT_VERBOSITY=1;;
2653 esac
2654 am_make=${MAKE-make}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2656 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2657 if ${am_cv_make_support_nested_variables+:} false; then :
2658   $as_echo_n "(cached) " >&6
2659 else
2660   if $as_echo 'TRUE=$(BAR$(V))
2661 BAR0=false
2662 BAR1=true
2663 V=1
2664 am__doit:
2665         @$(TRUE)
2666 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2667   am_cv_make_support_nested_variables=yes
2668 else
2669   am_cv_make_support_nested_variables=no
2670 fi
2671 fi
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2673 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2674 if test $am_cv_make_support_nested_variables = yes; then
2675     AM_V='$(V)'
2676   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2677 else
2678   AM_V=$AM_DEFAULT_VERBOSITY
2679   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2680 fi
2681 AM_BACKSLASH='\'
2682
2683 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2684   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2685   # is not polluted with repeated "-I."
2686   am__isrc=' -I$(srcdir)'
2687   # test to see if srcdir already configured
2688   if test -f $srcdir/config.status; then
2689     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2690   fi
2691 fi
2692
2693 # test whether we have cygpath
2694 if test -z "$CYGPATH_W"; then
2695   if (cygpath --version) >/dev/null 2>/dev/null; then
2696     CYGPATH_W='cygpath -w'
2697   else
2698     CYGPATH_W=echo
2699   fi
2700 fi
2701
2702
2703 # Define the identity of the package.
2704  PACKAGE='gsignond-plugin-oauth'
2705  VERSION='1.0.0'
2706
2707
2708 cat >>confdefs.h <<_ACEOF
2709 #define PACKAGE "$PACKAGE"
2710 _ACEOF
2711
2712
2713 cat >>confdefs.h <<_ACEOF
2714 #define VERSION "$VERSION"
2715 _ACEOF
2716
2717 # Some tools Automake needs.
2718
2719 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2720
2721
2722 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2723
2724
2725 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2726
2727
2728 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2729
2730
2731 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2732
2733 # For better backward compatibility.  To be removed once Automake 1.9.x
2734 # dies out for good.  For more background, see:
2735 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2736 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2737 mkdir_p='$(MKDIR_P)'
2738
2739 # We need awk for the "check" target.  The system "awk" is bad on
2740 # some platforms.
2741 # Always define AMTAR for backward compatibility.  Yes, it's still used
2742 # in the wild :-(  We should find a proper way to deprecate it ...
2743 AMTAR='$${TAR-tar}'
2744
2745
2746 # We'll loop over all known methods to create a tar archive until one works.
2747 _am_tools='gnutar  pax cpio none'
2748
2749 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2750
2751
2752
2753
2754
2755
2756 # POSIX will say in a future version that running "rm -f" with no argument
2757 # is OK; and we want to be able to make that assumption in our Makefile
2758 # recipes.  So use an aggressive probe to check that the usage we want is
2759 # actually supported "in the wild" to an acceptable degree.
2760 # See automake bug#10828.
2761 # To make any issue more visible, cause the running configure to be aborted
2762 # by default if the 'rm' program in use doesn't match our expectations; the
2763 # user can still override this though.
2764 if rm -f && rm -fr && rm -rf; then : OK; else
2765   cat >&2 <<'END'
2766 Oops!
2767
2768 Your 'rm' program seems unable to run without file operands specified
2769 on the command line, even when the '-f' option is present.  This is contrary
2770 to the behaviour of most rm programs out there, and not conforming with
2771 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2772
2773 Please tell bug-automake@gnu.org about your system, including the value
2774 of your $PATH and any error possibly output before this message.  This
2775 can help us improve future automake versions.
2776
2777 END
2778   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2779     echo 'Configuration will proceed anyway, since you have set the' >&2
2780     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2781     echo >&2
2782   else
2783     cat >&2 <<'END'
2784 Aborting the configuration process, to ensure you take notice of the issue.
2785
2786 You can download and install GNU coreutils to get an 'rm' implementation
2787 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2788
2789 If you want to complete the configuration process using your problematic
2790 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2791 to "yes", and re-run configure.
2792
2793 END
2794     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2795   fi
2796 fi
2797
2798
2799 # Checks for programs.
2800 ac_ext=c
2801 ac_cpp='$CPP $CPPFLAGS'
2802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2805 if test -n "$ac_tool_prefix"; then
2806   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2807 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if ${ac_cv_prog_CC+:} false; then :
2811   $as_echo_n "(cached) " >&6
2812 else
2813   if test -n "$CC"; then
2814   ac_cv_prog_CC="$CC" # Let the user override the test.
2815 else
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 for as_dir in $PATH
2818 do
2819   IFS=$as_save_IFS
2820   test -z "$as_dir" && as_dir=.
2821     for ac_exec_ext in '' $ac_executable_extensions; do
2822   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2823     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2825     break 2
2826   fi
2827 done
2828   done
2829 IFS=$as_save_IFS
2830
2831 fi
2832 fi
2833 CC=$ac_cv_prog_CC
2834 if test -n "$CC"; then
2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2836 $as_echo "$CC" >&6; }
2837 else
2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2840 fi
2841
2842
2843 fi
2844 if test -z "$ac_cv_prog_CC"; then
2845   ac_ct_CC=$CC
2846   # Extract the first word of "gcc", so it can be a program name with args.
2847 set dummy gcc; ac_word=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2851   $as_echo_n "(cached) " >&6
2852 else
2853   if test -n "$ac_ct_CC"; then
2854   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2855 else
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 for as_dir in $PATH
2858 do
2859   IFS=$as_save_IFS
2860   test -z "$as_dir" && as_dir=.
2861     for ac_exec_ext in '' $ac_executable_extensions; do
2862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2863     ac_cv_prog_ac_ct_CC="gcc"
2864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865     break 2
2866   fi
2867 done
2868   done
2869 IFS=$as_save_IFS
2870
2871 fi
2872 fi
2873 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2874 if test -n "$ac_ct_CC"; then
2875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2876 $as_echo "$ac_ct_CC" >&6; }
2877 else
2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2880 fi
2881
2882   if test "x$ac_ct_CC" = x; then
2883     CC=""
2884   else
2885     case $cross_compiling:$ac_tool_warned in
2886 yes:)
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2889 ac_tool_warned=yes ;;
2890 esac
2891     CC=$ac_ct_CC
2892   fi
2893 else
2894   CC="$ac_cv_prog_CC"
2895 fi
2896
2897 if test -z "$CC"; then
2898           if test -n "$ac_tool_prefix"; then
2899     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2900 set dummy ${ac_tool_prefix}cc; ac_word=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if ${ac_cv_prog_CC+:} false; then :
2904   $as_echo_n "(cached) " >&6
2905 else
2906   if test -n "$CC"; then
2907   ac_cv_prog_CC="$CC" # Let the user override the test.
2908 else
2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 for as_dir in $PATH
2911 do
2912   IFS=$as_save_IFS
2913   test -z "$as_dir" && as_dir=.
2914     for ac_exec_ext in '' $ac_executable_extensions; do
2915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2916     ac_cv_prog_CC="${ac_tool_prefix}cc"
2917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2918     break 2
2919   fi
2920 done
2921   done
2922 IFS=$as_save_IFS
2923
2924 fi
2925 fi
2926 CC=$ac_cv_prog_CC
2927 if test -n "$CC"; then
2928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2929 $as_echo "$CC" >&6; }
2930 else
2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2933 fi
2934
2935
2936   fi
2937 fi
2938 if test -z "$CC"; then
2939   # Extract the first word of "cc", so it can be a program name with args.
2940 set dummy cc; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_CC+:} false; then :
2944   $as_echo_n "(cached) " >&6
2945 else
2946   if test -n "$CC"; then
2947   ac_cv_prog_CC="$CC" # Let the user override the test.
2948 else
2949   ac_prog_rejected=no
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 for as_dir in $PATH
2952 do
2953   IFS=$as_save_IFS
2954   test -z "$as_dir" && as_dir=.
2955     for ac_exec_ext in '' $ac_executable_extensions; do
2956   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2958        ac_prog_rejected=yes
2959        continue
2960      fi
2961     ac_cv_prog_CC="cc"
2962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963     break 2
2964   fi
2965 done
2966   done
2967 IFS=$as_save_IFS
2968
2969 if test $ac_prog_rejected = yes; then
2970   # We found a bogon in the path, so make sure we never use it.
2971   set dummy $ac_cv_prog_CC
2972   shift
2973   if test $# != 0; then
2974     # We chose a different compiler from the bogus one.
2975     # However, it has the same basename, so the bogon will be chosen
2976     # first if we set CC to just the basename; use the full file name.
2977     shift
2978     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2979   fi
2980 fi
2981 fi
2982 fi
2983 CC=$ac_cv_prog_CC
2984 if test -n "$CC"; then
2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2986 $as_echo "$CC" >&6; }
2987 else
2988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2990 fi
2991
2992
2993 fi
2994 if test -z "$CC"; then
2995   if test -n "$ac_tool_prefix"; then
2996   for ac_prog in cl.exe
2997   do
2998     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2999 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if ${ac_cv_prog_CC+:} false; then :
3003   $as_echo_n "(cached) " >&6
3004 else
3005   if test -n "$CC"; then
3006   ac_cv_prog_CC="$CC" # Let the user override the test.
3007 else
3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 for as_dir in $PATH
3010 do
3011   IFS=$as_save_IFS
3012   test -z "$as_dir" && as_dir=.
3013     for ac_exec_ext in '' $ac_executable_extensions; do
3014   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3015     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017     break 2
3018   fi
3019 done
3020   done
3021 IFS=$as_save_IFS
3022
3023 fi
3024 fi
3025 CC=$ac_cv_prog_CC
3026 if test -n "$CC"; then
3027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3028 $as_echo "$CC" >&6; }
3029 else
3030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3032 fi
3033
3034
3035     test -n "$CC" && break
3036   done
3037 fi
3038 if test -z "$CC"; then
3039   ac_ct_CC=$CC
3040   for ac_prog in cl.exe
3041 do
3042   # Extract the first word of "$ac_prog", so it can be a program name with args.
3043 set dummy $ac_prog; ac_word=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3047   $as_echo_n "(cached) " >&6
3048 else
3049   if test -n "$ac_ct_CC"; then
3050   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3051 else
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH
3054 do
3055   IFS=$as_save_IFS
3056   test -z "$as_dir" && as_dir=.
3057     for ac_exec_ext in '' $ac_executable_extensions; do
3058   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059     ac_cv_prog_ac_ct_CC="$ac_prog"
3060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061     break 2
3062   fi
3063 done
3064   done
3065 IFS=$as_save_IFS
3066
3067 fi
3068 fi
3069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3070 if test -n "$ac_ct_CC"; then
3071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3072 $as_echo "$ac_ct_CC" >&6; }
3073 else
3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3076 fi
3077
3078
3079   test -n "$ac_ct_CC" && break
3080 done
3081
3082   if test "x$ac_ct_CC" = x; then
3083     CC=""
3084   else
3085     case $cross_compiling:$ac_tool_warned in
3086 yes:)
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3089 ac_tool_warned=yes ;;
3090 esac
3091     CC=$ac_ct_CC
3092   fi
3093 fi
3094
3095 fi
3096
3097
3098 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100 as_fn_error $? "no acceptable C compiler found in \$PATH
3101 See \`config.log' for more details" "$LINENO" 5; }
3102
3103 # Provide some information about the compiler.
3104 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3105 set X $ac_compile
3106 ac_compiler=$2
3107 for ac_option in --version -v -V -qversion; do
3108   { { ac_try="$ac_compiler $ac_option >&5"
3109 case "(($ac_try" in
3110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111   *) ac_try_echo=$ac_try;;
3112 esac
3113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3114 $as_echo "$ac_try_echo"; } >&5
3115   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3116   ac_status=$?
3117   if test -s conftest.err; then
3118     sed '10a\
3119 ... rest of stderr output deleted ...
3120          10q' conftest.err >conftest.er1
3121     cat conftest.er1 >&5
3122   fi
3123   rm -f conftest.er1 conftest.err
3124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125   test $ac_status = 0; }
3126 done
3127
3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h.  */
3130
3131 int
3132 main ()
3133 {
3134
3135   ;
3136   return 0;
3137 }
3138 _ACEOF
3139 ac_clean_files_save=$ac_clean_files
3140 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3141 # Try to create an executable without -o first, disregard a.out.
3142 # It will help us diagnose broken compilers, and finding out an intuition
3143 # of exeext.
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3145 $as_echo_n "checking whether the C compiler works... " >&6; }
3146 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3147
3148 # The possible output files:
3149 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3150
3151 ac_rmfiles=
3152 for ac_file in $ac_files
3153 do
3154   case $ac_file in
3155     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3156     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3157   esac
3158 done
3159 rm -f $ac_rmfiles
3160
3161 if { { ac_try="$ac_link_default"
3162 case "(($ac_try" in
3163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164   *) ac_try_echo=$ac_try;;
3165 esac
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168   (eval "$ac_link_default") 2>&5
3169   ac_status=$?
3170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171   test $ac_status = 0; }; then :
3172   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3173 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3174 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3175 # so that the user can short-circuit this test for compilers unknown to
3176 # Autoconf.
3177 for ac_file in $ac_files ''
3178 do
3179   test -f "$ac_file" || continue
3180   case $ac_file in
3181     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3182         ;;
3183     [ab].out )
3184         # We found the default executable, but exeext='' is most
3185         # certainly right.
3186         break;;
3187     *.* )
3188         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3189         then :; else
3190            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3191         fi
3192         # We set ac_cv_exeext here because the later test for it is not
3193         # safe: cross compilers may not add the suffix if given an `-o'
3194         # argument, so we may need to know it at that point already.
3195         # Even if this section looks crufty: it has the advantage of
3196         # actually working.
3197         break;;
3198     * )
3199         break;;
3200   esac
3201 done
3202 test "$ac_cv_exeext" = no && ac_cv_exeext=
3203
3204 else
3205   ac_file=''
3206 fi
3207 if test -z "$ac_file"; then :
3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3210 $as_echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3212
3213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215 as_fn_error 77 "C compiler cannot create executables
3216 See \`config.log' for more details" "$LINENO" 5; }
3217 else
3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3219 $as_echo "yes" >&6; }
3220 fi
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3222 $as_echo_n "checking for C compiler default output file name... " >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3224 $as_echo "$ac_file" >&6; }
3225 ac_exeext=$ac_cv_exeext
3226
3227 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3228 ac_clean_files=$ac_clean_files_save
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3230 $as_echo_n "checking for suffix of executables... " >&6; }
3231 if { { ac_try="$ac_link"
3232 case "(($ac_try" in
3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234   *) ac_try_echo=$ac_try;;
3235 esac
3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237 $as_echo "$ac_try_echo"; } >&5
3238   (eval "$ac_link") 2>&5
3239   ac_status=$?
3240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3241   test $ac_status = 0; }; then :
3242   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3243 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3244 # work properly (i.e., refer to `conftest.exe'), while it won't with
3245 # `rm'.
3246 for ac_file in conftest.exe conftest conftest.*; do
3247   test -f "$ac_file" || continue
3248   case $ac_file in
3249     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3250     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3251           break;;
3252     * ) break;;
3253   esac
3254 done
3255 else
3256   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3259 See \`config.log' for more details" "$LINENO" 5; }
3260 fi
3261 rm -f conftest conftest$ac_cv_exeext
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3263 $as_echo "$ac_cv_exeext" >&6; }
3264
3265 rm -f conftest.$ac_ext
3266 EXEEXT=$ac_cv_exeext
3267 ac_exeext=$EXEEXT
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h.  */
3270 #include <stdio.h>
3271 int
3272 main ()
3273 {
3274 FILE *f = fopen ("conftest.out", "w");
3275  return ferror (f) || fclose (f) != 0;
3276
3277   ;
3278   return 0;
3279 }
3280 _ACEOF
3281 ac_clean_files="$ac_clean_files conftest.out"
3282 # Check that the compiler produces executables we can run.  If not, either
3283 # the compiler is broken, or we cross compile.
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3285 $as_echo_n "checking whether we are cross compiling... " >&6; }
3286 if test "$cross_compiling" != yes; then
3287   { { ac_try="$ac_link"
3288 case "(($ac_try" in
3289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290   *) ac_try_echo=$ac_try;;
3291 esac
3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293 $as_echo "$ac_try_echo"; } >&5
3294   (eval "$ac_link") 2>&5
3295   ac_status=$?
3296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297   test $ac_status = 0; }
3298   if { ac_try='./conftest$ac_cv_exeext'
3299   { { case "(($ac_try" in
3300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301   *) ac_try_echo=$ac_try;;
3302 esac
3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3304 $as_echo "$ac_try_echo"; } >&5
3305   (eval "$ac_try") 2>&5
3306   ac_status=$?
3307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3308   test $ac_status = 0; }; }; then
3309     cross_compiling=no
3310   else
3311     if test "$cross_compiling" = maybe; then
3312         cross_compiling=yes
3313     else
3314         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3316 as_fn_error $? "cannot run C compiled programs.
3317 If you meant to cross compile, use \`--host'.
3318 See \`config.log' for more details" "$LINENO" 5; }
3319     fi
3320   fi
3321 fi
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3323 $as_echo "$cross_compiling" >&6; }
3324
3325 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3326 ac_clean_files=$ac_clean_files_save
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3328 $as_echo_n "checking for suffix of object files... " >&6; }
3329 if ${ac_cv_objext+:} false; then :
3330   $as_echo_n "(cached) " >&6
3331 else
3332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h.  */
3334
3335 int
3336 main ()
3337 {
3338
3339   ;
3340   return 0;
3341 }
3342 _ACEOF
3343 rm -f conftest.o conftest.obj
3344 if { { ac_try="$ac_compile"
3345 case "(($ac_try" in
3346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347   *) ac_try_echo=$ac_try;;
3348 esac
3349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3350 $as_echo "$ac_try_echo"; } >&5
3351   (eval "$ac_compile") 2>&5
3352   ac_status=$?
3353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3354   test $ac_status = 0; }; then :
3355   for ac_file in conftest.o conftest.obj conftest.*; do
3356   test -f "$ac_file" || continue;
3357   case $ac_file in
3358     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3359     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3360        break;;
3361   esac
3362 done
3363 else
3364   $as_echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3366
3367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 as_fn_error $? "cannot compute suffix of object files: cannot compile
3370 See \`config.log' for more details" "$LINENO" 5; }
3371 fi
3372 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3373 fi
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3375 $as_echo "$ac_cv_objext" >&6; }
3376 OBJEXT=$ac_cv_objext
3377 ac_objext=$OBJEXT
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3379 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3380 if ${ac_cv_c_compiler_gnu+:} false; then :
3381   $as_echo_n "(cached) " >&6
3382 else
3383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h.  */
3385
3386 int
3387 main ()
3388 {
3389 #ifndef __GNUC__
3390        choke me
3391 #endif
3392
3393   ;
3394   return 0;
3395 }
3396 _ACEOF
3397 if ac_fn_c_try_compile "$LINENO"; then :
3398   ac_compiler_gnu=yes
3399 else
3400   ac_compiler_gnu=no
3401 fi
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3404
3405 fi
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3407 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3408 if test $ac_compiler_gnu = yes; then
3409   GCC=yes
3410 else
3411   GCC=
3412 fi
3413 ac_test_CFLAGS=${CFLAGS+set}
3414 ac_save_CFLAGS=$CFLAGS
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3416 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3417 if ${ac_cv_prog_cc_g+:} false; then :
3418   $as_echo_n "(cached) " >&6
3419 else
3420   ac_save_c_werror_flag=$ac_c_werror_flag
3421    ac_c_werror_flag=yes
3422    ac_cv_prog_cc_g=no
3423    CFLAGS="-g"
3424    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h.  */
3426
3427 int
3428 main ()
3429 {
3430
3431   ;
3432   return 0;
3433 }
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3436   ac_cv_prog_cc_g=yes
3437 else
3438   CFLAGS=""
3439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h.  */
3441
3442 int
3443 main ()
3444 {
3445
3446   ;
3447   return 0;
3448 }
3449 _ACEOF
3450 if ac_fn_c_try_compile "$LINENO"; then :
3451
3452 else
3453   ac_c_werror_flag=$ac_save_c_werror_flag
3454          CFLAGS="-g"
3455          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h.  */
3457
3458 int
3459 main ()
3460 {
3461
3462   ;
3463   return 0;
3464 }
3465 _ACEOF
3466 if ac_fn_c_try_compile "$LINENO"; then :
3467   ac_cv_prog_cc_g=yes
3468 fi
3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 fi
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472 fi
3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474    ac_c_werror_flag=$ac_save_c_werror_flag
3475 fi
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3477 $as_echo "$ac_cv_prog_cc_g" >&6; }
3478 if test "$ac_test_CFLAGS" = set; then
3479   CFLAGS=$ac_save_CFLAGS
3480 elif test $ac_cv_prog_cc_g = yes; then
3481   if test "$GCC" = yes; then
3482     CFLAGS="-g -O2"
3483   else
3484     CFLAGS="-g"
3485   fi
3486 else
3487   if test "$GCC" = yes; then
3488     CFLAGS="-O2"
3489   else
3490     CFLAGS=
3491   fi
3492 fi
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3494 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3495 if ${ac_cv_prog_cc_c89+:} false; then :
3496   $as_echo_n "(cached) " >&6
3497 else
3498   ac_cv_prog_cc_c89=no
3499 ac_save_CC=$CC
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h.  */
3502 #include <stdarg.h>
3503 #include <stdio.h>
3504 struct stat;
3505 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3506 struct buf { int x; };
3507 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3508 static char *e (p, i)
3509      char **p;
3510      int i;
3511 {
3512   return p[i];
3513 }
3514 static char *f (char * (*g) (char **, int), char **p, ...)
3515 {
3516   char *s;
3517   va_list v;
3518   va_start (v,p);
3519   s = g (p, va_arg (v,int));
3520   va_end (v);
3521   return s;
3522 }
3523
3524 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3525    function prototypes and stuff, but not '\xHH' hex character constants.
3526    These don't provoke an error unfortunately, instead are silently treated
3527    as 'x'.  The following induces an error, until -std is added to get
3528    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3529    array size at least.  It's necessary to write '\x00'==0 to get something
3530    that's true only with -std.  */
3531 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3532
3533 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3534    inside strings and character constants.  */
3535 #define FOO(x) 'x'
3536 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3537
3538 int test (int i, double x);
3539 struct s1 {int (*f) (int a);};
3540 struct s2 {int (*f) (double a);};
3541 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3542 int argc;
3543 char **argv;
3544 int
3545 main ()
3546 {
3547 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3548   ;
3549   return 0;
3550 }
3551 _ACEOF
3552 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3553         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3554 do
3555   CC="$ac_save_CC $ac_arg"
3556   if ac_fn_c_try_compile "$LINENO"; then :
3557   ac_cv_prog_cc_c89=$ac_arg
3558 fi
3559 rm -f core conftest.err conftest.$ac_objext
3560   test "x$ac_cv_prog_cc_c89" != "xno" && break
3561 done
3562 rm -f conftest.$ac_ext
3563 CC=$ac_save_CC
3564
3565 fi
3566 # AC_CACHE_VAL
3567 case "x$ac_cv_prog_cc_c89" in
3568   x)
3569     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3570 $as_echo "none needed" >&6; } ;;
3571   xno)
3572     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3573 $as_echo "unsupported" >&6; } ;;
3574   *)
3575     CC="$CC $ac_cv_prog_cc_c89"
3576     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3577 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3578 esac
3579 if test "x$ac_cv_prog_cc_c89" != xno; then :
3580
3581 fi
3582
3583 ac_ext=c
3584 ac_cpp='$CPP $CPPFLAGS'
3585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3588
3589 ac_ext=c
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3595 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3596 if ${am_cv_prog_cc_c_o+:} false; then :
3597   $as_echo_n "(cached) " >&6
3598 else
3599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h.  */
3601
3602 int
3603 main ()
3604 {
3605
3606   ;
3607   return 0;
3608 }
3609 _ACEOF
3610   # Make sure it works both with $CC and with simple cc.
3611   # Following AC_PROG_CC_C_O, we do the test twice because some
3612   # compilers refuse to overwrite an existing .o file with -o,
3613   # though they will create one.
3614   am_cv_prog_cc_c_o=yes
3615   for am_i in 1 2; do
3616     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3617    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3618    ac_status=$?
3619    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620    (exit $ac_status); } \
3621          && test -f conftest2.$ac_objext; then
3622       : OK
3623     else
3624       am_cv_prog_cc_c_o=no
3625       break
3626     fi
3627   done
3628   rm -f core conftest*
3629   unset am_i
3630 fi
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3632 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3633 if test "$am_cv_prog_cc_c_o" != yes; then
3634    # Losing compiler, so override with the script.
3635    # FIXME: It is wrong to rewrite CC.
3636    # But if we don't then we get into trouble of one sort or another.
3637    # A longer-term fix would be to have automake use am__CC in this case,
3638    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3639    CC="$am_aux_dir/compile $CC"
3640 fi
3641 ac_ext=c
3642 ac_cpp='$CPP $CPPFLAGS'
3643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3646
3647 DEPDIR="${am__leading_dot}deps"
3648
3649 ac_config_commands="$ac_config_commands depfiles"
3650
3651
3652 am_make=${MAKE-make}
3653 cat > confinc << 'END'
3654 am__doit:
3655         @echo this is the am__doit target
3656 .PHONY: am__doit
3657 END
3658 # If we don't find an include directive, just comment out the code.
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3660 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3661 am__include="#"
3662 am__quote=
3663 _am_result=none
3664 # First try GNU make style include.
3665 echo "include confinc" > confmf
3666 # Ignore all kinds of additional output from 'make'.
3667 case `$am_make -s -f confmf 2> /dev/null` in #(
3668 *the\ am__doit\ target*)
3669   am__include=include
3670   am__quote=
3671   _am_result=GNU
3672   ;;
3673 esac
3674 # Now try BSD make style include.
3675 if test "$am__include" = "#"; then
3676    echo '.include "confinc"' > confmf
3677    case `$am_make -s -f confmf 2> /dev/null` in #(
3678    *the\ am__doit\ target*)
3679      am__include=.include
3680      am__quote="\""
3681      _am_result=BSD
3682      ;;
3683    esac
3684 fi
3685
3686
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3688 $as_echo "$_am_result" >&6; }
3689 rm -f confinc confmf
3690
3691 # Check whether --enable-dependency-tracking was given.
3692 if test "${enable_dependency_tracking+set}" = set; then :
3693   enableval=$enable_dependency_tracking;
3694 fi
3695
3696 if test "x$enable_dependency_tracking" != xno; then
3697   am_depcomp="$ac_aux_dir/depcomp"
3698   AMDEPBACKSLASH='\'
3699   am__nodep='_no'
3700 fi
3701  if test "x$enable_dependency_tracking" != xno; then
3702   AMDEP_TRUE=
3703   AMDEP_FALSE='#'
3704 else
3705   AMDEP_TRUE='#'
3706   AMDEP_FALSE=
3707 fi
3708
3709
3710
3711 depcc="$CC"   am_compiler_list=
3712
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3714 $as_echo_n "checking dependency style of $depcc... " >&6; }
3715 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3716   $as_echo_n "(cached) " >&6
3717 else
3718   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3719   # We make a subdir and do the tests there.  Otherwise we can end up
3720   # making bogus files that we don't know about and never remove.  For
3721   # instance it was reported that on HP-UX the gcc test will end up
3722   # making a dummy file named 'D' -- because '-MD' means "put the output
3723   # in D".
3724   rm -rf conftest.dir
3725   mkdir conftest.dir
3726   # Copy depcomp to subdir because otherwise we won't find it if we're
3727   # using a relative directory.
3728   cp "$am_depcomp" conftest.dir
3729   cd conftest.dir
3730   # We will build objects and dependencies in a subdirectory because
3731   # it helps to detect inapplicable dependency modes.  For instance
3732   # both Tru64's cc and ICC support -MD to output dependencies as a
3733   # side effect of compilation, but ICC will put the dependencies in
3734   # the current directory while Tru64 will put them in the object
3735   # directory.
3736   mkdir sub
3737
3738   am_cv_CC_dependencies_compiler_type=none
3739   if test "$am_compiler_list" = ""; then
3740      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3741   fi
3742   am__universal=false
3743   case " $depcc " in #(
3744      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3745      esac
3746
3747   for depmode in $am_compiler_list; do
3748     # Setup a source with many dependencies, because some compilers
3749     # like to wrap large dependency lists on column 80 (with \), and
3750     # we should not choose a depcomp mode which is confused by this.
3751     #
3752     # We need to recreate these files for each test, as the compiler may
3753     # overwrite some of them when testing with obscure command lines.
3754     # This happens at least with the AIX C compiler.
3755     : > sub/conftest.c
3756     for i in 1 2 3 4 5 6; do
3757       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3758       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3759       # Solaris 10 /bin/sh.
3760       echo '/* dummy */' > sub/conftst$i.h
3761     done
3762     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3763
3764     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3765     # mode.  It turns out that the SunPro C++ compiler does not properly
3766     # handle '-M -o', and we need to detect this.  Also, some Intel
3767     # versions had trouble with output in subdirs.
3768     am__obj=sub/conftest.${OBJEXT-o}
3769     am__minus_obj="-o $am__obj"
3770     case $depmode in
3771     gcc)
3772       # This depmode causes a compiler race in universal mode.
3773       test "$am__universal" = false || continue
3774       ;;
3775     nosideeffect)
3776       # After this tag, mechanisms are not by side-effect, so they'll
3777       # only be used when explicitly requested.
3778       if test "x$enable_dependency_tracking" = xyes; then
3779         continue
3780       else
3781         break
3782       fi
3783       ;;
3784     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3785       # This compiler won't grok '-c -o', but also, the minuso test has
3786       # not run yet.  These depmodes are late enough in the game, and
3787       # so weak that their functioning should not be impacted.
3788       am__obj=conftest.${OBJEXT-o}
3789       am__minus_obj=
3790       ;;
3791     none) break ;;
3792     esac
3793     if depmode=$depmode \
3794        source=sub/conftest.c object=$am__obj \
3795        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3796        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3797          >/dev/null 2>conftest.err &&
3798        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3799        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3800        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3801        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3802       # icc doesn't choke on unknown options, it will just issue warnings
3803       # or remarks (even with -Werror).  So we grep stderr for any message
3804       # that says an option was ignored or not supported.
3805       # When given -MP, icc 7.0 and 7.1 complain thusly:
3806       #   icc: Command line warning: ignoring option '-M'; no argument required
3807       # The diagnosis changed in icc 8.0:
3808       #   icc: Command line remark: option '-MP' not supported
3809       if (grep 'ignoring option' conftest.err ||
3810           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3811         am_cv_CC_dependencies_compiler_type=$depmode
3812         break
3813       fi
3814     fi
3815   done
3816
3817   cd ..
3818   rm -rf conftest.dir
3819 else
3820   am_cv_CC_dependencies_compiler_type=none
3821 fi
3822
3823 fi
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3825 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3826 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3827
3828  if
3829   test "x$enable_dependency_tracking" != xno \
3830   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3831   am__fastdepCC_TRUE=
3832   am__fastdepCC_FALSE='#'
3833 else
3834   am__fastdepCC_TRUE='#'
3835   am__fastdepCC_FALSE=
3836 fi
3837
3838
3839
3840 if test -n "$ac_tool_prefix"; then
3841   for ac_prog in ar lib "link -lib"
3842   do
3843     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_AR+:} false; then :
3848   $as_echo_n "(cached) " >&6
3849 else
3850   if test -n "$AR"; then
3851   ac_cv_prog_AR="$AR" # Let the user override the test.
3852 else
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH
3855 do
3856   IFS=$as_save_IFS
3857   test -z "$as_dir" && as_dir=.
3858     for ac_exec_ext in '' $ac_executable_extensions; do
3859   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862     break 2
3863   fi
3864 done
3865   done
3866 IFS=$as_save_IFS
3867
3868 fi
3869 fi
3870 AR=$ac_cv_prog_AR
3871 if test -n "$AR"; then
3872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3873 $as_echo "$AR" >&6; }
3874 else
3875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3877 fi
3878
3879
3880     test -n "$AR" && break
3881   done
3882 fi
3883 if test -z "$AR"; then
3884   ac_ct_AR=$AR
3885   for ac_prog in ar lib "link -lib"
3886 do
3887   # Extract the first word of "$ac_prog", so it can be a program name with args.
3888 set dummy $ac_prog; ac_word=$2
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890 $as_echo_n "checking for $ac_word... " >&6; }
3891 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3892   $as_echo_n "(cached) " >&6
3893 else
3894   if test -n "$ac_ct_AR"; then
3895   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3896 else
3897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3898 for as_dir in $PATH
3899 do
3900   IFS=$as_save_IFS
3901   test -z "$as_dir" && as_dir=.
3902     for ac_exec_ext in '' $ac_executable_extensions; do
3903   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3904     ac_cv_prog_ac_ct_AR="$ac_prog"
3905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3906     break 2
3907   fi
3908 done
3909   done
3910 IFS=$as_save_IFS
3911
3912 fi
3913 fi
3914 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3915 if test -n "$ac_ct_AR"; then
3916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3917 $as_echo "$ac_ct_AR" >&6; }
3918 else
3919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3921 fi
3922
3923
3924   test -n "$ac_ct_AR" && break
3925 done
3926
3927   if test "x$ac_ct_AR" = x; then
3928     AR="false"
3929   else
3930     case $cross_compiling:$ac_tool_warned in
3931 yes:)
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3934 ac_tool_warned=yes ;;
3935 esac
3936     AR=$ac_ct_AR
3937   fi
3938 fi
3939
3940 : ${AR=ar}
3941
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3943 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3944 if ${am_cv_ar_interface+:} false; then :
3945   $as_echo_n "(cached) " >&6
3946 else
3947   ac_ext=c
3948 ac_cpp='$CPP $CPPFLAGS'
3949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3952
3953    am_cv_ar_interface=ar
3954    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h.  */
3956 int some_variable = 0;
3957 _ACEOF
3958 if ac_fn_c_try_compile "$LINENO"; then :
3959   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3960       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3961   (eval $am_ar_try) 2>&5
3962   ac_status=$?
3963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964   test $ac_status = 0; }
3965       if test "$ac_status" -eq 0; then
3966         am_cv_ar_interface=ar
3967       else
3968         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3969         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3970   (eval $am_ar_try) 2>&5
3971   ac_status=$?
3972   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973   test $ac_status = 0; }
3974         if test "$ac_status" -eq 0; then
3975           am_cv_ar_interface=lib
3976         else
3977           am_cv_ar_interface=unknown
3978         fi
3979       fi
3980       rm -f conftest.lib libconftest.a
3981
3982 fi
3983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3984    ac_ext=c
3985 ac_cpp='$CPP $CPPFLAGS'
3986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3989
3990 fi
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3992 $as_echo "$am_cv_ar_interface" >&6; }
3993
3994 case $am_cv_ar_interface in
3995 ar)
3996   ;;
3997 lib)
3998   # Microsoft lib, so override with the ar-lib wrapper script.
3999   # FIXME: It is wrong to rewrite AR.
4000   # But if we don't then we get into trouble of one sort or another.
4001   # A longer-term fix would be to have automake use am__AR in this case,
4002   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4003   # similar.
4004   AR="$am_aux_dir/ar-lib $AR"
4005   ;;
4006 unknown)
4007   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4008   ;;
4009 esac
4010
4011
4012 #libtool
4013
4014 case `pwd` in
4015   *\ * | *\     *)
4016     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4017 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4018 esac
4019
4020
4021
4022 macro_version='2.4.2'
4023 macro_revision='1.3337'
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037 ltmain="$ac_aux_dir/ltmain.sh"
4038
4039 # Make sure we can run config.sub.
4040 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4041   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4042
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4044 $as_echo_n "checking build system type... " >&6; }
4045 if ${ac_cv_build+:} false; then :
4046   $as_echo_n "(cached) " >&6
4047 else
4048   ac_build_alias=$build_alias
4049 test "x$ac_build_alias" = x &&
4050   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4051 test "x$ac_build_alias" = x &&
4052   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4053 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4054   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4055
4056 fi
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4058 $as_echo "$ac_cv_build" >&6; }
4059 case $ac_cv_build in
4060 *-*-*) ;;
4061 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4062 esac
4063 build=$ac_cv_build
4064 ac_save_IFS=$IFS; IFS='-'
4065 set x $ac_cv_build
4066 shift
4067 build_cpu=$1
4068 build_vendor=$2
4069 shift; shift
4070 # Remember, the first character of IFS is used to create $*,
4071 # except with old shells:
4072 build_os=$*
4073 IFS=$ac_save_IFS
4074 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4075
4076
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4078 $as_echo_n "checking host system type... " >&6; }
4079 if ${ac_cv_host+:} false; then :
4080   $as_echo_n "(cached) " >&6
4081 else
4082   if test "x$host_alias" = x; then
4083   ac_cv_host=$ac_cv_build
4084 else
4085   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4086     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4087 fi
4088
4089 fi
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4091 $as_echo "$ac_cv_host" >&6; }
4092 case $ac_cv_host in
4093 *-*-*) ;;
4094 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4095 esac
4096 host=$ac_cv_host
4097 ac_save_IFS=$IFS; IFS='-'
4098 set x $ac_cv_host
4099 shift
4100 host_cpu=$1
4101 host_vendor=$2
4102 shift; shift
4103 # Remember, the first character of IFS is used to create $*,
4104 # except with old shells:
4105 host_os=$*
4106 IFS=$ac_save_IFS
4107 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4108
4109
4110 # Backslashify metacharacters that are still active within
4111 # double-quoted strings.
4112 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4113
4114 # Same as above, but do not quote variable references.
4115 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4116
4117 # Sed substitution to delay expansion of an escaped shell variable in a
4118 # double_quote_subst'ed string.
4119 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4120
4121 # Sed substitution to delay expansion of an escaped single quote.
4122 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4123
4124 # Sed substitution to avoid accidental globbing in evaled expressions
4125 no_glob_subst='s/\*/\\\*/g'
4126
4127 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4128 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4129 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4130
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4132 $as_echo_n "checking how to print strings... " >&6; }
4133 # Test print first, because it will be a builtin if present.
4134 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4135    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4136   ECHO='print -r --'
4137 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4138   ECHO='printf %s\n'
4139 else
4140   # Use this function as a fallback that always works.
4141   func_fallback_echo ()
4142   {
4143     eval 'cat <<_LTECHO_EOF
4144 $1
4145 _LTECHO_EOF'
4146   }
4147   ECHO='func_fallback_echo'
4148 fi
4149
4150 # func_echo_all arg...
4151 # Invoke $ECHO with all args, space-separated.
4152 func_echo_all ()
4153 {
4154     $ECHO ""
4155 }
4156
4157 case "$ECHO" in
4158   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4159 $as_echo "printf" >&6; } ;;
4160   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4161 $as_echo "print -r" >&6; } ;;
4162   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4163 $as_echo "cat" >&6; } ;;
4164 esac
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4180 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4181 if ${ac_cv_path_SED+:} false; then :
4182   $as_echo_n "(cached) " >&6
4183 else
4184             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4185      for ac_i in 1 2 3 4 5 6 7; do
4186        ac_script="$ac_script$as_nl$ac_script"
4187      done
4188      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4189      { ac_script=; unset ac_script;}
4190      if test -z "$SED"; then
4191   ac_path_SED_found=false
4192   # Loop through the user's path and test for each of PROGNAME-LIST
4193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH
4195 do
4196   IFS=$as_save_IFS
4197   test -z "$as_dir" && as_dir=.
4198     for ac_prog in sed gsed; do
4199     for ac_exec_ext in '' $ac_executable_extensions; do
4200       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4201       as_fn_executable_p "$ac_path_SED" || continue
4202 # Check for GNU ac_path_SED and select it if it is found.
4203   # Check for GNU $ac_path_SED
4204 case `"$ac_path_SED" --version 2>&1` in
4205 *GNU*)
4206   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4207 *)
4208   ac_count=0
4209   $as_echo_n 0123456789 >"conftest.in"
4210   while :
4211   do
4212     cat "conftest.in" "conftest.in" >"conftest.tmp"
4213     mv "conftest.tmp" "conftest.in"
4214     cp "conftest.in" "conftest.nl"
4215     $as_echo '' >> "conftest.nl"
4216     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4217     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4218     as_fn_arith $ac_count + 1 && ac_count=$as_val
4219     if test $ac_count -gt ${ac_path_SED_max-0}; then
4220       # Best one so far, save it but keep looking for a better one
4221       ac_cv_path_SED="$ac_path_SED"
4222       ac_path_SED_max=$ac_count
4223     fi
4224     # 10*(2^10) chars as input seems more than enough
4225     test $ac_count -gt 10 && break
4226   done
4227   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4228 esac
4229
4230       $ac_path_SED_found && break 3
4231     done
4232   done
4233   done
4234 IFS=$as_save_IFS
4235   if test -z "$ac_cv_path_SED"; then
4236     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4237   fi
4238 else
4239   ac_cv_path_SED=$SED
4240 fi
4241
4242 fi
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4244 $as_echo "$ac_cv_path_SED" >&6; }
4245  SED="$ac_cv_path_SED"
4246   rm -f conftest.sed
4247
4248 test -z "$SED" && SED=sed
4249 Xsed="$SED -e 1s/^X//"
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4262 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4263 if ${ac_cv_path_GREP+:} false; then :
4264   $as_echo_n "(cached) " >&6
4265 else
4266   if test -z "$GREP"; then
4267   ac_path_GREP_found=false
4268   # Loop through the user's path and test for each of PROGNAME-LIST
4269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4271 do
4272   IFS=$as_save_IFS
4273   test -z "$as_dir" && as_dir=.
4274     for ac_prog in grep ggrep; do
4275     for ac_exec_ext in '' $ac_executable_extensions; do
4276       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4277       as_fn_executable_p "$ac_path_GREP" || continue
4278 # Check for GNU ac_path_GREP and select it if it is found.
4279   # Check for GNU $ac_path_GREP
4280 case `"$ac_path_GREP" --version 2>&1` in
4281 *GNU*)
4282   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4283 *)
4284   ac_count=0
4285   $as_echo_n 0123456789 >"conftest.in"
4286   while :
4287   do
4288     cat "conftest.in" "conftest.in" >"conftest.tmp"
4289     mv "conftest.tmp" "conftest.in"
4290     cp "conftest.in" "conftest.nl"
4291     $as_echo 'GREP' >> "conftest.nl"
4292     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4293     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4294     as_fn_arith $ac_count + 1 && ac_count=$as_val
4295     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4296       # Best one so far, save it but keep looking for a better one
4297       ac_cv_path_GREP="$ac_path_GREP"
4298       ac_path_GREP_max=$ac_count
4299     fi
4300     # 10*(2^10) chars as input seems more than enough
4301     test $ac_count -gt 10 && break
4302   done
4303   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4304 esac
4305
4306       $ac_path_GREP_found && break 3
4307     done
4308   done
4309   done
4310 IFS=$as_save_IFS
4311   if test -z "$ac_cv_path_GREP"; then
4312     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4313   fi
4314 else
4315   ac_cv_path_GREP=$GREP
4316 fi
4317
4318 fi
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4320 $as_echo "$ac_cv_path_GREP" >&6; }
4321  GREP="$ac_cv_path_GREP"
4322
4323
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4325 $as_echo_n "checking for egrep... " >&6; }
4326 if ${ac_cv_path_EGREP+:} false; then :
4327   $as_echo_n "(cached) " >&6
4328 else
4329   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4330    then ac_cv_path_EGREP="$GREP -E"
4331    else
4332      if test -z "$EGREP"; then
4333   ac_path_EGREP_found=false
4334   # Loop through the user's path and test for each of PROGNAME-LIST
4335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4337 do
4338   IFS=$as_save_IFS
4339   test -z "$as_dir" && as_dir=.
4340     for ac_prog in egrep; do
4341     for ac_exec_ext in '' $ac_executable_extensions; do
4342       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4343       as_fn_executable_p "$ac_path_EGREP" || continue
4344 # Check for GNU ac_path_EGREP and select it if it is found.
4345   # Check for GNU $ac_path_EGREP
4346 case `"$ac_path_EGREP" --version 2>&1` in
4347 *GNU*)
4348   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4349 *)
4350   ac_count=0
4351   $as_echo_n 0123456789 >"conftest.in"
4352   while :
4353   do
4354     cat "conftest.in" "conftest.in" >"conftest.tmp"
4355     mv "conftest.tmp" "conftest.in"
4356     cp "conftest.in" "conftest.nl"
4357     $as_echo 'EGREP' >> "conftest.nl"
4358     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4359     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4360     as_fn_arith $ac_count + 1 && ac_count=$as_val
4361     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4362       # Best one so far, save it but keep looking for a better one
4363       ac_cv_path_EGREP="$ac_path_EGREP"
4364       ac_path_EGREP_max=$ac_count
4365     fi
4366     # 10*(2^10) chars as input seems more than enough
4367     test $ac_count -gt 10 && break
4368   done
4369   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4370 esac
4371
4372       $ac_path_EGREP_found && break 3
4373     done
4374   done
4375   done
4376 IFS=$as_save_IFS
4377   if test -z "$ac_cv_path_EGREP"; then
4378     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4379   fi
4380 else
4381   ac_cv_path_EGREP=$EGREP
4382 fi
4383
4384    fi
4385 fi
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4387 $as_echo "$ac_cv_path_EGREP" >&6; }
4388  EGREP="$ac_cv_path_EGREP"
4389
4390
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4392 $as_echo_n "checking for fgrep... " >&6; }
4393 if ${ac_cv_path_FGREP+:} false; then :
4394   $as_echo_n "(cached) " >&6
4395 else
4396   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4397    then ac_cv_path_FGREP="$GREP -F"
4398    else
4399      if test -z "$FGREP"; then
4400   ac_path_FGREP_found=false
4401   # Loop through the user's path and test for each of PROGNAME-LIST
4402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4404 do
4405   IFS=$as_save_IFS
4406   test -z "$as_dir" && as_dir=.
4407     for ac_prog in fgrep; do
4408     for ac_exec_ext in '' $ac_executable_extensions; do
4409       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4410       as_fn_executable_p "$ac_path_FGREP" || continue
4411 # Check for GNU ac_path_FGREP and select it if it is found.
4412   # Check for GNU $ac_path_FGREP
4413 case `"$ac_path_FGREP" --version 2>&1` in
4414 *GNU*)
4415   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4416 *)
4417   ac_count=0
4418   $as_echo_n 0123456789 >"conftest.in"
4419   while :
4420   do
4421     cat "conftest.in" "conftest.in" >"conftest.tmp"
4422     mv "conftest.tmp" "conftest.in"
4423     cp "conftest.in" "conftest.nl"
4424     $as_echo 'FGREP' >> "conftest.nl"
4425     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4426     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4427     as_fn_arith $ac_count + 1 && ac_count=$as_val
4428     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4429       # Best one so far, save it but keep looking for a better one
4430       ac_cv_path_FGREP="$ac_path_FGREP"
4431       ac_path_FGREP_max=$ac_count
4432     fi
4433     # 10*(2^10) chars as input seems more than enough
4434     test $ac_count -gt 10 && break
4435   done
4436   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4437 esac
4438
4439       $ac_path_FGREP_found && break 3
4440     done
4441   done
4442   done
4443 IFS=$as_save_IFS
4444   if test -z "$ac_cv_path_FGREP"; then
4445     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4446   fi
4447 else
4448   ac_cv_path_FGREP=$FGREP
4449 fi
4450
4451    fi
4452 fi
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4454 $as_echo "$ac_cv_path_FGREP" >&6; }
4455  FGREP="$ac_cv_path_FGREP"
4456
4457
4458 test -z "$GREP" && GREP=grep
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478 # Check whether --with-gnu-ld was given.
4479 if test "${with_gnu_ld+set}" = set; then :
4480   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4481 else
4482   with_gnu_ld=no
4483 fi
4484
4485 ac_prog=ld
4486 if test "$GCC" = yes; then
4487   # Check if gcc -print-prog-name=ld gives a path.
4488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4489 $as_echo_n "checking for ld used by $CC... " >&6; }
4490   case $host in
4491   *-*-mingw*)
4492     # gcc leaves a trailing carriage return which upsets mingw
4493     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4494   *)
4495     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4496   esac
4497   case $ac_prog in
4498     # Accept absolute paths.
4499     [\\/]* | ?:[\\/]*)
4500       re_direlt='/[^/][^/]*/\.\./'
4501       # Canonicalize the pathname of ld
4502       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4503       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4504         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4505       done
4506       test -z "$LD" && LD="$ac_prog"
4507       ;;
4508   "")
4509     # If it fails, then pretend we aren't using GCC.
4510     ac_prog=ld
4511     ;;
4512   *)
4513     # If it is relative, then search for the first ld in PATH.
4514     with_gnu_ld=unknown
4515     ;;
4516   esac
4517 elif test "$with_gnu_ld" = yes; then
4518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4519 $as_echo_n "checking for GNU ld... " >&6; }
4520 else
4521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4522 $as_echo_n "checking for non-GNU ld... " >&6; }
4523 fi
4524 if ${lt_cv_path_LD+:} false; then :
4525   $as_echo_n "(cached) " >&6
4526 else
4527   if test -z "$LD"; then
4528   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4529   for ac_dir in $PATH; do
4530     IFS="$lt_save_ifs"
4531     test -z "$ac_dir" && ac_dir=.
4532     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4533       lt_cv_path_LD="$ac_dir/$ac_prog"
4534       # Check to see if the program is GNU ld.  I'd rather use --version,
4535       # but apparently some variants of GNU ld only accept -v.
4536       # Break only if it was the GNU/non-GNU ld that we prefer.
4537       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4538       *GNU* | *'with BFD'*)
4539         test "$with_gnu_ld" != no && break
4540         ;;
4541       *)
4542         test "$with_gnu_ld" != yes && break
4543         ;;
4544       esac
4545     fi
4546   done
4547   IFS="$lt_save_ifs"
4548 else
4549   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4550 fi
4551 fi
4552
4553 LD="$lt_cv_path_LD"
4554 if test -n "$LD"; then
4555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4556 $as_echo "$LD" >&6; }
4557 else
4558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4559 $as_echo "no" >&6; }
4560 fi
4561 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4563 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4564 if ${lt_cv_prog_gnu_ld+:} false; then :
4565   $as_echo_n "(cached) " >&6
4566 else
4567   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4568 case `$LD -v 2>&1 </dev/null` in
4569 *GNU* | *'with BFD'*)
4570   lt_cv_prog_gnu_ld=yes
4571   ;;
4572 *)
4573   lt_cv_prog_gnu_ld=no
4574   ;;
4575 esac
4576 fi
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4578 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4579 with_gnu_ld=$lt_cv_prog_gnu_ld
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4590 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4591 if ${lt_cv_path_NM+:} false; then :
4592   $as_echo_n "(cached) " >&6
4593 else
4594   if test -n "$NM"; then
4595   # Let the user override the test.
4596   lt_cv_path_NM="$NM"
4597 else
4598   lt_nm_to_check="${ac_tool_prefix}nm"
4599   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4600     lt_nm_to_check="$lt_nm_to_check nm"
4601   fi
4602   for lt_tmp_nm in $lt_nm_to_check; do
4603     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4604     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4605       IFS="$lt_save_ifs"
4606       test -z "$ac_dir" && ac_dir=.
4607       tmp_nm="$ac_dir/$lt_tmp_nm"
4608       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4609         # Check to see if the nm accepts a BSD-compat flag.
4610         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4611         #   nm: unknown option "B" ignored
4612         # Tru64's nm complains that /dev/null is an invalid object file
4613         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4614         */dev/null* | *'Invalid file or object type'*)
4615           lt_cv_path_NM="$tmp_nm -B"
4616           break
4617           ;;
4618         *)
4619           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4620           */dev/null*)
4621             lt_cv_path_NM="$tmp_nm -p"
4622             break
4623             ;;
4624           *)
4625             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4626             continue # so that we can try to find one that supports BSD flags
4627             ;;
4628           esac
4629           ;;
4630         esac
4631       fi
4632     done
4633     IFS="$lt_save_ifs"
4634   done
4635   : ${lt_cv_path_NM=no}
4636 fi
4637 fi
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4639 $as_echo "$lt_cv_path_NM" >&6; }
4640 if test "$lt_cv_path_NM" != "no"; then
4641   NM="$lt_cv_path_NM"
4642 else
4643   # Didn't find any BSD compatible name lister, look for dumpbin.
4644   if test -n "$DUMPBIN"; then :
4645     # Let the user override the test.
4646   else
4647     if test -n "$ac_tool_prefix"; then
4648   for ac_prog in dumpbin "link -dump"
4649   do
4650     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_DUMPBIN+:} false; then :
4655   $as_echo_n "(cached) " >&6
4656 else
4657   if test -n "$DUMPBIN"; then
4658   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4662 do
4663   IFS=$as_save_IFS
4664   test -z "$as_dir" && as_dir=.
4665     for ac_exec_ext in '' $ac_executable_extensions; do
4666   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669     break 2
4670   fi
4671 done
4672   done
4673 IFS=$as_save_IFS
4674
4675 fi
4676 fi
4677 DUMPBIN=$ac_cv_prog_DUMPBIN
4678 if test -n "$DUMPBIN"; then
4679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4680 $as_echo "$DUMPBIN" >&6; }
4681 else
4682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4684 fi
4685
4686
4687     test -n "$DUMPBIN" && break
4688   done
4689 fi
4690 if test -z "$DUMPBIN"; then
4691   ac_ct_DUMPBIN=$DUMPBIN
4692   for ac_prog in dumpbin "link -dump"
4693 do
4694   # Extract the first word of "$ac_prog", so it can be a program name with args.
4695 set dummy $ac_prog; ac_word=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4699   $as_echo_n "(cached) " >&6
4700 else
4701   if test -n "$ac_ct_DUMPBIN"; then
4702   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4703 else
4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 for as_dir in $PATH
4706 do
4707   IFS=$as_save_IFS
4708   test -z "$as_dir" && as_dir=.
4709     for ac_exec_ext in '' $ac_executable_extensions; do
4710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4711     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713     break 2
4714   fi
4715 done
4716   done
4717 IFS=$as_save_IFS
4718
4719 fi
4720 fi
4721 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4722 if test -n "$ac_ct_DUMPBIN"; then
4723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4724 $as_echo "$ac_ct_DUMPBIN" >&6; }
4725 else
4726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4728 fi
4729
4730
4731   test -n "$ac_ct_DUMPBIN" && break
4732 done
4733
4734   if test "x$ac_ct_DUMPBIN" = x; then
4735     DUMPBIN=":"
4736   else
4737     case $cross_compiling:$ac_tool_warned in
4738 yes:)
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4741 ac_tool_warned=yes ;;
4742 esac
4743     DUMPBIN=$ac_ct_DUMPBIN
4744   fi
4745 fi
4746
4747     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4748     *COFF*)
4749       DUMPBIN="$DUMPBIN -symbols"
4750       ;;
4751     *)
4752       DUMPBIN=:
4753       ;;
4754     esac
4755   fi
4756
4757   if test "$DUMPBIN" != ":"; then
4758     NM="$DUMPBIN"
4759   fi
4760 fi
4761 test -z "$NM" && NM=nm
4762
4763
4764
4765
4766
4767
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4769 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4770 if ${lt_cv_nm_interface+:} false; then :
4771   $as_echo_n "(cached) " >&6
4772 else
4773   lt_cv_nm_interface="BSD nm"
4774   echo "int some_variable = 0;" > conftest.$ac_ext
4775   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4776   (eval "$ac_compile" 2>conftest.err)
4777   cat conftest.err >&5
4778   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4779   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4780   cat conftest.err >&5
4781   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4782   cat conftest.out >&5
4783   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4784     lt_cv_nm_interface="MS dumpbin"
4785   fi
4786   rm -f conftest*
4787 fi
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4789 $as_echo "$lt_cv_nm_interface" >&6; }
4790
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4792 $as_echo_n "checking whether ln -s works... " >&6; }
4793 LN_S=$as_ln_s
4794 if test "$LN_S" = "ln -s"; then
4795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4796 $as_echo "yes" >&6; }
4797 else
4798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4799 $as_echo "no, using $LN_S" >&6; }
4800 fi
4801
4802 # find the maximum length of command line arguments
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4804 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4805 if ${lt_cv_sys_max_cmd_len+:} false; then :
4806   $as_echo_n "(cached) " >&6
4807 else
4808     i=0
4809   teststring="ABCD"
4810
4811   case $build_os in
4812   msdosdjgpp*)
4813     # On DJGPP, this test can blow up pretty badly due to problems in libc
4814     # (any single argument exceeding 2000 bytes causes a buffer overrun
4815     # during glob expansion).  Even if it were fixed, the result of this
4816     # check would be larger than it should be.
4817     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4818     ;;
4819
4820   gnu*)
4821     # Under GNU Hurd, this test is not required because there is
4822     # no limit to the length of command line arguments.
4823     # Libtool will interpret -1 as no limit whatsoever
4824     lt_cv_sys_max_cmd_len=-1;
4825     ;;
4826
4827   cygwin* | mingw* | cegcc*)
4828     # On Win9x/ME, this test blows up -- it succeeds, but takes
4829     # about 5 minutes as the teststring grows exponentially.
4830     # Worse, since 9x/ME are not pre-emptively multitasking,
4831     # you end up with a "frozen" computer, even though with patience
4832     # the test eventually succeeds (with a max line length of 256k).
4833     # Instead, let's just punt: use the minimum linelength reported by
4834     # all of the supported platforms: 8192 (on NT/2K/XP).
4835     lt_cv_sys_max_cmd_len=8192;
4836     ;;
4837
4838   mint*)
4839     # On MiNT this can take a long time and run out of memory.
4840     lt_cv_sys_max_cmd_len=8192;
4841     ;;
4842
4843   amigaos*)
4844     # On AmigaOS with pdksh, this test takes hours, literally.
4845     # So we just punt and use a minimum line length of 8192.
4846     lt_cv_sys_max_cmd_len=8192;
4847     ;;
4848
4849   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4850     # This has been around since 386BSD, at least.  Likely further.
4851     if test -x /sbin/sysctl; then
4852       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4853     elif test -x /usr/sbin/sysctl; then
4854       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4855     else
4856       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4857     fi
4858     # And add a safety zone
4859     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4860     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4861     ;;
4862
4863   interix*)
4864     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4865     lt_cv_sys_max_cmd_len=196608
4866     ;;
4867
4868   os2*)
4869     # The test takes a long time on OS/2.
4870     lt_cv_sys_max_cmd_len=8192
4871     ;;
4872
4873   osf*)
4874     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4875     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4876     # nice to cause kernel panics so lets avoid the loop below.
4877     # First set a reasonable default.
4878     lt_cv_sys_max_cmd_len=16384
4879     #
4880     if test -x /sbin/sysconfig; then
4881       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4882         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4883       esac
4884     fi
4885     ;;
4886   sco3.2v5*)
4887     lt_cv_sys_max_cmd_len=102400
4888     ;;
4889   sysv5* | sco5v6* | sysv4.2uw2*)
4890     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4891     if test -n "$kargmax"; then
4892       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4893     else
4894       lt_cv_sys_max_cmd_len=32768
4895     fi
4896     ;;
4897   *)
4898     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4899     if test -n "$lt_cv_sys_max_cmd_len" && \
4900         test undefined != "$lt_cv_sys_max_cmd_len"; then
4901       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4902       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4903     else
4904       # Make teststring a little bigger before we do anything with it.
4905       # a 1K string should be a reasonable start.
4906       for i in 1 2 3 4 5 6 7 8 ; do
4907         teststring=$teststring$teststring
4908       done
4909       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4910       # If test is not a shell built-in, we'll probably end up computing a
4911       # maximum length that is only half of the actual maximum length, but
4912       # we can't tell.
4913       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4914                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4915               test $i != 17 # 1/2 MB should be enough
4916       do
4917         i=`expr $i + 1`
4918         teststring=$teststring$teststring
4919       done
4920       # Only check the string length outside the loop.
4921       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4922       teststring=
4923       # Add a significant safety factor because C++ compilers can tack on
4924       # massive amounts of additional arguments before passing them to the
4925       # linker.  It appears as though 1/2 is a usable value.
4926       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4927     fi
4928     ;;
4929   esac
4930
4931 fi
4932
4933 if test -n $lt_cv_sys_max_cmd_len ; then
4934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4935 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4936 else
4937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4938 $as_echo "none" >&6; }
4939 fi
4940 max_cmd_len=$lt_cv_sys_max_cmd_len
4941
4942
4943
4944
4945
4946
4947 : ${CP="cp -f"}
4948 : ${MV="mv -f"}
4949 : ${RM="rm -f"}
4950
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4952 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4953 # Try some XSI features
4954 xsi_shell=no
4955 ( _lt_dummy="a/b/c"
4956   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4957       = c,a/b,b/c, \
4958     && eval 'test $(( 1 + 1 )) -eq 2 \
4959     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4960   && xsi_shell=yes
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4962 $as_echo "$xsi_shell" >&6; }
4963
4964
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4966 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4967 lt_shell_append=no
4968 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4969     >/dev/null 2>&1 \
4970   && lt_shell_append=yes
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4972 $as_echo "$lt_shell_append" >&6; }
4973
4974
4975 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4976   lt_unset=unset
4977 else
4978   lt_unset=false
4979 fi
4980
4981
4982
4983
4984
4985 # test EBCDIC or ASCII
4986 case `echo X|tr X '\101'` in
4987  A) # ASCII based system
4988     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4989   lt_SP2NL='tr \040 \012'
4990   lt_NL2SP='tr \015\012 \040\040'
4991   ;;
4992  *) # EBCDIC based system
4993   lt_SP2NL='tr \100 \n'
4994   lt_NL2SP='tr \r\n \100\100'
4995   ;;
4996 esac
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5007 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5008 if ${lt_cv_to_host_file_cmd+:} false; then :
5009   $as_echo_n "(cached) " >&6
5010 else
5011   case $host in
5012   *-*-mingw* )
5013     case $build in
5014       *-*-mingw* ) # actually msys
5015         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5016         ;;
5017       *-*-cygwin* )
5018         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5019         ;;
5020       * ) # otherwise, assume *nix
5021         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5022         ;;
5023     esac
5024     ;;
5025   *-*-cygwin* )
5026     case $build in
5027       *-*-mingw* ) # actually msys
5028         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5029         ;;
5030       *-*-cygwin* )
5031         lt_cv_to_host_file_cmd=func_convert_file_noop
5032         ;;
5033       * ) # otherwise, assume *nix
5034         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5035         ;;
5036     esac
5037     ;;
5038   * ) # unhandled hosts (and "normal" native builds)
5039     lt_cv_to_host_file_cmd=func_convert_file_noop
5040     ;;
5041 esac
5042
5043 fi
5044
5045 to_host_file_cmd=$lt_cv_to_host_file_cmd
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5047 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5048
5049
5050
5051
5052
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5054 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5055 if ${lt_cv_to_tool_file_cmd+:} false; then :
5056   $as_echo_n "(cached) " >&6
5057 else
5058   #assume ordinary cross tools, or native build.
5059 lt_cv_to_tool_file_cmd=func_convert_file_noop
5060 case $host in
5061   *-*-mingw* )
5062     case $build in
5063       *-*-mingw* ) # actually msys
5064         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5065         ;;
5066     esac
5067     ;;
5068 esac
5069
5070 fi
5071
5072 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5074 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5075
5076
5077
5078
5079
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5081 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5082 if ${lt_cv_ld_reload_flag+:} false; then :
5083   $as_echo_n "(cached) " >&6
5084 else
5085   lt_cv_ld_reload_flag='-r'
5086 fi
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5088 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5089 reload_flag=$lt_cv_ld_reload_flag
5090 case $reload_flag in
5091 "" | " "*) ;;
5092 *) reload_flag=" $reload_flag" ;;
5093 esac
5094 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5095 case $host_os in
5096   cygwin* | mingw* | pw32* | cegcc*)
5097     if test "$GCC" != yes; then
5098       reload_cmds=false
5099     fi
5100     ;;
5101   darwin*)
5102     if test "$GCC" = yes; then
5103       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5104     else
5105       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5106     fi
5107     ;;
5108 esac
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118 if test -n "$ac_tool_prefix"; then
5119   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5120 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if ${ac_cv_prog_OBJDUMP+:} false; then :
5124   $as_echo_n "(cached) " >&6
5125 else
5126   if test -n "$OBJDUMP"; then
5127   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5128 else
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5131 do
5132   IFS=$as_save_IFS
5133   test -z "$as_dir" && as_dir=.
5134     for ac_exec_ext in '' $ac_executable_extensions; do
5135   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138     break 2
5139   fi
5140 done
5141   done
5142 IFS=$as_save_IFS
5143
5144 fi
5145 fi
5146 OBJDUMP=$ac_cv_prog_OBJDUMP
5147 if test -n "$OBJDUMP"; then
5148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5149 $as_echo "$OBJDUMP" >&6; }
5150 else
5151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5153 fi
5154
5155
5156 fi
5157 if test -z "$ac_cv_prog_OBJDUMP"; then
5158   ac_ct_OBJDUMP=$OBJDUMP
5159   # Extract the first word of "objdump", so it can be a program name with args.
5160 set dummy objdump; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5164   $as_echo_n "(cached) " >&6
5165 else
5166   if test -n "$ac_ct_OBJDUMP"; then
5167   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5168 else
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH
5171 do
5172   IFS=$as_save_IFS
5173   test -z "$as_dir" && as_dir=.
5174     for ac_exec_ext in '' $ac_executable_extensions; do
5175   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178     break 2
5179   fi
5180 done
5181   done
5182 IFS=$as_save_IFS
5183
5184 fi
5185 fi
5186 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5187 if test -n "$ac_ct_OBJDUMP"; then
5188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5189 $as_echo "$ac_ct_OBJDUMP" >&6; }
5190 else
5191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5193 fi
5194
5195   if test "x$ac_ct_OBJDUMP" = x; then
5196     OBJDUMP="false"
5197   else
5198     case $cross_compiling:$ac_tool_warned in
5199 yes:)
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5202 ac_tool_warned=yes ;;
5203 esac
5204     OBJDUMP=$ac_ct_OBJDUMP
5205   fi
5206 else
5207   OBJDUMP="$ac_cv_prog_OBJDUMP"
5208 fi
5209
5210 test -z "$OBJDUMP" && OBJDUMP=objdump
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5221 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5222 if ${lt_cv_deplibs_check_method+:} false; then :
5223   $as_echo_n "(cached) " >&6
5224 else
5225   lt_cv_file_magic_cmd='$MAGIC_CMD'
5226 lt_cv_file_magic_test_file=
5227 lt_cv_deplibs_check_method='unknown'
5228 # Need to set the preceding variable on all platforms that support
5229 # interlibrary dependencies.
5230 # 'none' -- dependencies not supported.
5231 # `unknown' -- same as none, but documents that we really don't know.
5232 # 'pass_all' -- all dependencies passed with no checks.
5233 # 'test_compile' -- check by making test program.
5234 # 'file_magic [[regex]]' -- check by looking for files in library path
5235 # which responds to the $file_magic_cmd with a given extended regex.
5236 # If you have `file' or equivalent on your system and you're not sure
5237 # whether `pass_all' will *always* work, you probably want this one.
5238
5239 case $host_os in
5240 aix[4-9]*)
5241   lt_cv_deplibs_check_method=pass_all
5242   ;;
5243
5244 beos*)
5245   lt_cv_deplibs_check_method=pass_all
5246   ;;
5247
5248 bsdi[45]*)
5249   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5250   lt_cv_file_magic_cmd='/usr/bin/file -L'
5251   lt_cv_file_magic_test_file=/shlib/libc.so
5252   ;;
5253
5254 cygwin*)
5255   # func_win32_libid is a shell function defined in ltmain.sh
5256   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5257   lt_cv_file_magic_cmd='func_win32_libid'
5258   ;;
5259
5260 mingw* | pw32*)
5261   # Base MSYS/MinGW do not provide the 'file' command needed by
5262   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5263   # unless we find 'file', for example because we are cross-compiling.
5264   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5265   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5266     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5267     lt_cv_file_magic_cmd='func_win32_libid'
5268   else
5269     # Keep this pattern in sync with the one in func_win32_libid.
5270     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5271     lt_cv_file_magic_cmd='$OBJDUMP -f'
5272   fi
5273   ;;
5274
5275 cegcc*)
5276   # use the weaker test based on 'objdump'. See mingw*.
5277   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5278   lt_cv_file_magic_cmd='$OBJDUMP -f'
5279   ;;
5280
5281 darwin* | rhapsody*)
5282   lt_cv_deplibs_check_method=pass_all
5283   ;;
5284
5285 freebsd* | dragonfly*)
5286   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5287     case $host_cpu in
5288     i*86 )
5289       # Not sure whether the presence of OpenBSD here was a mistake.
5290       # Let's accept both of them until this is cleared up.
5291       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5292       lt_cv_file_magic_cmd=/usr/bin/file
5293       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5294       ;;
5295     esac
5296   else
5297     lt_cv_deplibs_check_method=pass_all
5298   fi
5299   ;;
5300
5301 haiku*)
5302   lt_cv_deplibs_check_method=pass_all
5303   ;;
5304
5305 hpux10.20* | hpux11*)
5306   lt_cv_file_magic_cmd=/usr/bin/file
5307   case $host_cpu in
5308   ia64*)
5309     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5310     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5311     ;;
5312   hppa*64*)
5313     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]'
5314     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5315     ;;
5316   *)
5317     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5318     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5319     ;;
5320   esac
5321   ;;
5322
5323 interix[3-9]*)
5324   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5325   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5326   ;;
5327
5328 irix5* | irix6* | nonstopux*)
5329   case $LD in
5330   *-32|*"-32 ") libmagic=32-bit;;
5331   *-n32|*"-n32 ") libmagic=N32;;
5332   *-64|*"-64 ") libmagic=64-bit;;
5333   *) libmagic=never-match;;
5334   esac
5335   lt_cv_deplibs_check_method=pass_all
5336   ;;
5337
5338 # This must be glibc/ELF.
5339 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5340   lt_cv_deplibs_check_method=pass_all
5341   ;;
5342
5343 netbsd* | netbsdelf*-gnu)
5344   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5345     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5346   else
5347     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5348   fi
5349   ;;
5350
5351 newos6*)
5352   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5353   lt_cv_file_magic_cmd=/usr/bin/file
5354   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5355   ;;
5356
5357 *nto* | *qnx*)
5358   lt_cv_deplibs_check_method=pass_all
5359   ;;
5360
5361 openbsd*)
5362   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5363     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5364   else
5365     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5366   fi
5367   ;;
5368
5369 osf3* | osf4* | osf5*)
5370   lt_cv_deplibs_check_method=pass_all
5371   ;;
5372
5373 rdos*)
5374   lt_cv_deplibs_check_method=pass_all
5375   ;;
5376
5377 solaris*)
5378   lt_cv_deplibs_check_method=pass_all
5379   ;;
5380
5381 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5382   lt_cv_deplibs_check_method=pass_all
5383   ;;
5384
5385 sysv4 | sysv4.3*)
5386   case $host_vendor in
5387   motorola)
5388     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]'
5389     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5390     ;;
5391   ncr)
5392     lt_cv_deplibs_check_method=pass_all
5393     ;;
5394   sequent)
5395     lt_cv_file_magic_cmd='/bin/file'
5396     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5397     ;;
5398   sni)
5399     lt_cv_file_magic_cmd='/bin/file'
5400     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5401     lt_cv_file_magic_test_file=/lib/libc.so
5402     ;;
5403   siemens)
5404     lt_cv_deplibs_check_method=pass_all
5405     ;;
5406   pc)
5407     lt_cv_deplibs_check_method=pass_all
5408     ;;
5409   esac
5410   ;;
5411
5412 tpf*)
5413   lt_cv_deplibs_check_method=pass_all
5414   ;;
5415 esac
5416
5417 fi
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5419 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5420
5421 file_magic_glob=
5422 want_nocaseglob=no
5423 if test "$build" = "$host"; then
5424   case $host_os in
5425   mingw* | pw32*)
5426     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5427       want_nocaseglob=yes
5428     else
5429       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5430     fi
5431     ;;
5432   esac
5433 fi
5434
5435 file_magic_cmd=$lt_cv_file_magic_cmd
5436 deplibs_check_method=$lt_cv_deplibs_check_method
5437 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460 if test -n "$ac_tool_prefix"; then
5461   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5462 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if ${ac_cv_prog_DLLTOOL+:} false; then :
5466   $as_echo_n "(cached) " >&6
5467 else
5468   if test -n "$DLLTOOL"; then
5469   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5473 do
5474   IFS=$as_save_IFS
5475   test -z "$as_dir" && as_dir=.
5476     for ac_exec_ext in '' $ac_executable_extensions; do
5477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5478     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480     break 2
5481   fi
5482 done
5483   done
5484 IFS=$as_save_IFS
5485
5486 fi
5487 fi
5488 DLLTOOL=$ac_cv_prog_DLLTOOL
5489 if test -n "$DLLTOOL"; then
5490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5491 $as_echo "$DLLTOOL" >&6; }
5492 else
5493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5495 fi
5496
5497
5498 fi
5499 if test -z "$ac_cv_prog_DLLTOOL"; then
5500   ac_ct_DLLTOOL=$DLLTOOL
5501   # Extract the first word of "dlltool", so it can be a program name with args.
5502 set dummy dlltool; ac_word=$2
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5506   $as_echo_n "(cached) " >&6
5507 else
5508   if test -n "$ac_ct_DLLTOOL"; then
5509   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5510 else
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH
5513 do
5514   IFS=$as_save_IFS
5515   test -z "$as_dir" && as_dir=.
5516     for ac_exec_ext in '' $ac_executable_extensions; do
5517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5518     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520     break 2
5521   fi
5522 done
5523   done
5524 IFS=$as_save_IFS
5525
5526 fi
5527 fi
5528 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5529 if test -n "$ac_ct_DLLTOOL"; then
5530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5531 $as_echo "$ac_ct_DLLTOOL" >&6; }
5532 else
5533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5535 fi
5536
5537   if test "x$ac_ct_DLLTOOL" = x; then
5538     DLLTOOL="false"
5539   else
5540     case $cross_compiling:$ac_tool_warned in
5541 yes:)
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5544 ac_tool_warned=yes ;;
5545 esac
5546     DLLTOOL=$ac_ct_DLLTOOL
5547   fi
5548 else
5549   DLLTOOL="$ac_cv_prog_DLLTOOL"
5550 fi
5551
5552 test -z "$DLLTOOL" && DLLTOOL=dlltool
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5564 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5565 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5566   $as_echo_n "(cached) " >&6
5567 else
5568   lt_cv_sharedlib_from_linklib_cmd='unknown'
5569
5570 case $host_os in
5571 cygwin* | mingw* | pw32* | cegcc*)
5572   # two different shell functions defined in ltmain.sh
5573   # decide which to use based on capabilities of $DLLTOOL
5574   case `$DLLTOOL --help 2>&1` in
5575   *--identify-strict*)
5576     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5577     ;;
5578   *)
5579     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5580     ;;
5581   esac
5582   ;;
5583 *)
5584   # fallback: assume linklib IS sharedlib
5585   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5586   ;;
5587 esac
5588
5589 fi
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5591 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5592 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5593 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5594
5595
5596
5597
5598
5599
5600
5601 if test -n "$ac_tool_prefix"; then
5602   for ac_prog in ar
5603   do
5604     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_AR+:} false; then :
5609   $as_echo_n "(cached) " >&6
5610 else
5611   if test -n "$AR"; then
5612   ac_cv_prog_AR="$AR" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5616 do
5617   IFS=$as_save_IFS
5618   test -z "$as_dir" && as_dir=.
5619     for ac_exec_ext in '' $ac_executable_extensions; do
5620   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623     break 2
5624   fi
5625 done
5626   done
5627 IFS=$as_save_IFS
5628
5629 fi
5630 fi
5631 AR=$ac_cv_prog_AR
5632 if test -n "$AR"; then
5633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5634 $as_echo "$AR" >&6; }
5635 else
5636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5638 fi
5639
5640
5641     test -n "$AR" && break
5642   done
5643 fi
5644 if test -z "$AR"; then
5645   ac_ct_AR=$AR
5646   for ac_prog in ar
5647 do
5648   # Extract the first word of "$ac_prog", so it can be a program name with args.
5649 set dummy $ac_prog; ac_word=$2
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5651 $as_echo_n "checking for $ac_word... " >&6; }
5652 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5653   $as_echo_n "(cached) " >&6
5654 else
5655   if test -n "$ac_ct_AR"; then
5656   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5657 else
5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 for as_dir in $PATH
5660 do
5661   IFS=$as_save_IFS
5662   test -z "$as_dir" && as_dir=.
5663     for ac_exec_ext in '' $ac_executable_extensions; do
5664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5665     ac_cv_prog_ac_ct_AR="$ac_prog"
5666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5667     break 2
5668   fi
5669 done
5670   done
5671 IFS=$as_save_IFS
5672
5673 fi
5674 fi
5675 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5676 if test -n "$ac_ct_AR"; then
5677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5678 $as_echo "$ac_ct_AR" >&6; }
5679 else
5680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5681 $as_echo "no" >&6; }
5682 fi
5683
5684
5685   test -n "$ac_ct_AR" && break
5686 done
5687
5688   if test "x$ac_ct_AR" = x; then
5689     AR="false"
5690   else
5691     case $cross_compiling:$ac_tool_warned in
5692 yes:)
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5695 ac_tool_warned=yes ;;
5696 esac
5697     AR=$ac_ct_AR
5698   fi
5699 fi
5700
5701 : ${AR=ar}
5702 : ${AR_FLAGS=cru}
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5715 $as_echo_n "checking for archiver @FILE support... " >&6; }
5716 if ${lt_cv_ar_at_file+:} false; then :
5717   $as_echo_n "(cached) " >&6
5718 else
5719   lt_cv_ar_at_file=no
5720    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h.  */
5722
5723 int
5724 main ()
5725 {
5726
5727   ;
5728   return 0;
5729 }
5730 _ACEOF
5731 if ac_fn_c_try_compile "$LINENO"; then :
5732   echo conftest.$ac_objext > conftest.lst
5733       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5734       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5735   (eval $lt_ar_try) 2>&5
5736   ac_status=$?
5737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5738   test $ac_status = 0; }
5739       if test "$ac_status" -eq 0; then
5740         # Ensure the archiver fails upon bogus file names.
5741         rm -f conftest.$ac_objext libconftest.a
5742         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5743   (eval $lt_ar_try) 2>&5
5744   ac_status=$?
5745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5746   test $ac_status = 0; }
5747         if test "$ac_status" -ne 0; then
5748           lt_cv_ar_at_file=@
5749         fi
5750       fi
5751       rm -f conftest.* libconftest.a
5752
5753 fi
5754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5755
5756 fi
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5758 $as_echo "$lt_cv_ar_at_file" >&6; }
5759
5760 if test "x$lt_cv_ar_at_file" = xno; then
5761   archiver_list_spec=
5762 else
5763   archiver_list_spec=$lt_cv_ar_at_file
5764 fi
5765
5766
5767
5768
5769
5770
5771
5772 if test -n "$ac_tool_prefix"; then
5773   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5774 set dummy ${ac_tool_prefix}strip; ac_word=$2
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5776 $as_echo_n "checking for $ac_word... " >&6; }
5777 if ${ac_cv_prog_STRIP+:} false; then :
5778   $as_echo_n "(cached) " >&6
5779 else
5780   if test -n "$STRIP"; then
5781   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5782 else
5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 for as_dir in $PATH
5785 do
5786   IFS=$as_save_IFS
5787   test -z "$as_dir" && as_dir=.
5788     for ac_exec_ext in '' $ac_executable_extensions; do
5789   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5790     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5792     break 2
5793   fi
5794 done
5795   done
5796 IFS=$as_save_IFS
5797
5798 fi
5799 fi
5800 STRIP=$ac_cv_prog_STRIP
5801 if test -n "$STRIP"; then
5802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5803 $as_echo "$STRIP" >&6; }
5804 else
5805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 $as_echo "no" >&6; }
5807 fi
5808
5809
5810 fi
5811 if test -z "$ac_cv_prog_STRIP"; then
5812   ac_ct_STRIP=$STRIP
5813   # Extract the first word of "strip", so it can be a program name with args.
5814 set dummy strip; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5818   $as_echo_n "(cached) " >&6
5819 else
5820   if test -n "$ac_ct_STRIP"; then
5821   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5822 else
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 for as_dir in $PATH
5825 do
5826   IFS=$as_save_IFS
5827   test -z "$as_dir" && as_dir=.
5828     for ac_exec_ext in '' $ac_executable_extensions; do
5829   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830     ac_cv_prog_ac_ct_STRIP="strip"
5831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832     break 2
5833   fi
5834 done
5835   done
5836 IFS=$as_save_IFS
5837
5838 fi
5839 fi
5840 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5841 if test -n "$ac_ct_STRIP"; then
5842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5843 $as_echo "$ac_ct_STRIP" >&6; }
5844 else
5845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5847 fi
5848
5849   if test "x$ac_ct_STRIP" = x; then
5850     STRIP=":"
5851   else
5852     case $cross_compiling:$ac_tool_warned in
5853 yes:)
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5856 ac_tool_warned=yes ;;
5857 esac
5858     STRIP=$ac_ct_STRIP
5859   fi
5860 else
5861   STRIP="$ac_cv_prog_STRIP"
5862 fi
5863
5864 test -z "$STRIP" && STRIP=:
5865
5866
5867
5868
5869
5870
5871 if test -n "$ac_tool_prefix"; then
5872   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5873 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if ${ac_cv_prog_RANLIB+:} false; then :
5877   $as_echo_n "(cached) " >&6
5878 else
5879   if test -n "$RANLIB"; then
5880   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5881 else
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in $PATH
5884 do
5885   IFS=$as_save_IFS
5886   test -z "$as_dir" && as_dir=.
5887     for ac_exec_ext in '' $ac_executable_extensions; do
5888   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891     break 2
5892   fi
5893 done
5894   done
5895 IFS=$as_save_IFS
5896
5897 fi
5898 fi
5899 RANLIB=$ac_cv_prog_RANLIB
5900 if test -n "$RANLIB"; then
5901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5902 $as_echo "$RANLIB" >&6; }
5903 else
5904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 $as_echo "no" >&6; }
5906 fi
5907
5908
5909 fi
5910 if test -z "$ac_cv_prog_RANLIB"; then
5911   ac_ct_RANLIB=$RANLIB
5912   # Extract the first word of "ranlib", so it can be a program name with args.
5913 set dummy ranlib; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5917   $as_echo_n "(cached) " >&6
5918 else
5919   if test -n "$ac_ct_RANLIB"; then
5920   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5924 do
5925   IFS=$as_save_IFS
5926   test -z "$as_dir" && as_dir=.
5927     for ac_exec_ext in '' $ac_executable_extensions; do
5928   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929     ac_cv_prog_ac_ct_RANLIB="ranlib"
5930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931     break 2
5932   fi
5933 done
5934   done
5935 IFS=$as_save_IFS
5936
5937 fi
5938 fi
5939 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5940 if test -n "$ac_ct_RANLIB"; then
5941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5942 $as_echo "$ac_ct_RANLIB" >&6; }
5943 else
5944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5946 fi
5947
5948   if test "x$ac_ct_RANLIB" = x; then
5949     RANLIB=":"
5950   else
5951     case $cross_compiling:$ac_tool_warned in
5952 yes:)
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5955 ac_tool_warned=yes ;;
5956 esac
5957     RANLIB=$ac_ct_RANLIB
5958   fi
5959 else
5960   RANLIB="$ac_cv_prog_RANLIB"
5961 fi
5962
5963 test -z "$RANLIB" && RANLIB=:
5964
5965
5966
5967
5968
5969
5970 # Determine commands to create old-style static archives.
5971 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5972 old_postinstall_cmds='chmod 644 $oldlib'
5973 old_postuninstall_cmds=
5974
5975 if test -n "$RANLIB"; then
5976   case $host_os in
5977   openbsd*)
5978     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5979     ;;
5980   *)
5981     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5982     ;;
5983   esac
5984   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5985 fi
5986
5987 case $host_os in
5988   darwin*)
5989     lock_old_archive_extraction=yes ;;
5990   *)
5991     lock_old_archive_extraction=no ;;
5992 esac
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032 # If no C compiler was specified, use CC.
6033 LTCC=${LTCC-"$CC"}
6034
6035 # If no C compiler flags were specified, use CFLAGS.
6036 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6037
6038 # Allow CC to be a program name with arguments.
6039 compiler=$CC
6040
6041
6042 # Check for command to grab the raw symbol name followed by C symbol from nm.
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6044 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6045 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6046   $as_echo_n "(cached) " >&6
6047 else
6048
6049 # These are sane defaults that work on at least a few old systems.
6050 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6051
6052 # Character class describing NM global symbol codes.
6053 symcode='[BCDEGRST]'
6054
6055 # Regexp to match symbols that can be accessed directly from C.
6056 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6057
6058 # Define system-specific variables.
6059 case $host_os in
6060 aix*)
6061   symcode='[BCDT]'
6062   ;;
6063 cygwin* | mingw* | pw32* | cegcc*)
6064   symcode='[ABCDGISTW]'
6065   ;;
6066 hpux*)
6067   if test "$host_cpu" = ia64; then
6068     symcode='[ABCDEGRST]'
6069   fi
6070   ;;
6071 irix* | nonstopux*)
6072   symcode='[BCDEGRST]'
6073   ;;
6074 osf*)
6075   symcode='[BCDEGQRST]'
6076   ;;
6077 solaris*)
6078   symcode='[BDRT]'
6079   ;;
6080 sco3.2v5*)
6081   symcode='[DT]'
6082   ;;
6083 sysv4.2uw2*)
6084   symcode='[DT]'
6085   ;;
6086 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6087   symcode='[ABDT]'
6088   ;;
6089 sysv4)
6090   symcode='[DFNSTU]'
6091   ;;
6092 esac
6093
6094 # If we're using GNU nm, then use its standard symbol codes.
6095 case `$NM -V 2>&1` in
6096 *GNU* | *'with BFD'*)
6097   symcode='[ABCDGIRSTW]' ;;
6098 esac
6099
6100 # Transform an extracted symbol line into a proper C declaration.
6101 # Some systems (esp. on ia64) link data and code symbols differently,
6102 # so use this general approach.
6103 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6104
6105 # Transform an extracted symbol line into symbol name and symbol address
6106 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6107 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'"
6108
6109 # Handle CRLF in mingw tool chain
6110 opt_cr=
6111 case $build_os in
6112 mingw*)
6113   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6114   ;;
6115 esac
6116
6117 # Try without a prefix underscore, then with it.
6118 for ac_symprfx in "" "_"; do
6119
6120   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6121   symxfrm="\\1 $ac_symprfx\\2 \\2"
6122
6123   # Write the raw and C identifiers.
6124   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6125     # Fake it for dumpbin and say T for any non-static function
6126     # and D for any global variable.
6127     # Also find C++ and __fastcall symbols from MSVC++,
6128     # which start with @ or ?.
6129     lt_cv_sys_global_symbol_pipe="$AWK '"\
6130 "     {last_section=section; section=\$ 3};"\
6131 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6132 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6133 "     \$ 0!~/External *\|/{next};"\
6134 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6135 "     {if(hide[section]) next};"\
6136 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6137 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6138 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6139 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6140 "     ' prfx=^$ac_symprfx"
6141   else
6142     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6143   fi
6144   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6145
6146   # Check to see that the pipe works correctly.
6147   pipe_works=no
6148
6149   rm -f conftest*
6150   cat > conftest.$ac_ext <<_LT_EOF
6151 #ifdef __cplusplus
6152 extern "C" {
6153 #endif
6154 char nm_test_var;
6155 void nm_test_func(void);
6156 void nm_test_func(void){}
6157 #ifdef __cplusplus
6158 }
6159 #endif
6160 int main(){nm_test_var='a';nm_test_func();return(0);}
6161 _LT_EOF
6162
6163   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6164   (eval $ac_compile) 2>&5
6165   ac_status=$?
6166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6167   test $ac_status = 0; }; then
6168     # Now try to grab the symbols.
6169     nlist=conftest.nm
6170     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6171   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6172   ac_status=$?
6173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6174   test $ac_status = 0; } && test -s "$nlist"; then
6175       # Try sorting and uniquifying the output.
6176       if sort "$nlist" | uniq > "$nlist"T; then
6177         mv -f "$nlist"T "$nlist"
6178       else
6179         rm -f "$nlist"T
6180       fi
6181
6182       # Make sure that we snagged all the symbols we need.
6183       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6184         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6185           cat <<_LT_EOF > conftest.$ac_ext
6186 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6187 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6188 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6189    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6190 # define LT_DLSYM_CONST
6191 #elif defined(__osf__)
6192 /* This system does not cope well with relocations in const data.  */
6193 # define LT_DLSYM_CONST
6194 #else
6195 # define LT_DLSYM_CONST const
6196 #endif
6197
6198 #ifdef __cplusplus
6199 extern "C" {
6200 #endif
6201
6202 _LT_EOF
6203           # Now generate the symbol file.
6204           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6205
6206           cat <<_LT_EOF >> conftest.$ac_ext
6207
6208 /* The mapping between symbol names and symbols.  */
6209 LT_DLSYM_CONST struct {
6210   const char *name;
6211   void       *address;
6212 }
6213 lt__PROGRAM__LTX_preloaded_symbols[] =
6214 {
6215   { "@PROGRAM@", (void *) 0 },
6216 _LT_EOF
6217           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6218           cat <<\_LT_EOF >> conftest.$ac_ext
6219   {0, (void *) 0}
6220 };
6221
6222 /* This works around a problem in FreeBSD linker */
6223 #ifdef FREEBSD_WORKAROUND
6224 static const void *lt_preloaded_setup() {
6225   return lt__PROGRAM__LTX_preloaded_symbols;
6226 }
6227 #endif
6228
6229 #ifdef __cplusplus
6230 }
6231 #endif
6232 _LT_EOF
6233           # Now try linking the two files.
6234           mv conftest.$ac_objext conftstm.$ac_objext
6235           lt_globsym_save_LIBS=$LIBS
6236           lt_globsym_save_CFLAGS=$CFLAGS
6237           LIBS="conftstm.$ac_objext"
6238           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6239           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6240   (eval $ac_link) 2>&5
6241   ac_status=$?
6242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6243   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6244             pipe_works=yes
6245           fi
6246           LIBS=$lt_globsym_save_LIBS
6247           CFLAGS=$lt_globsym_save_CFLAGS
6248         else
6249           echo "cannot find nm_test_func in $nlist" >&5
6250         fi
6251       else
6252         echo "cannot find nm_test_var in $nlist" >&5
6253       fi
6254     else
6255       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6256     fi
6257   else
6258     echo "$progname: failed program was:" >&5
6259     cat conftest.$ac_ext >&5
6260   fi
6261   rm -rf conftest* conftst*
6262
6263   # Do not use the global_symbol_pipe unless it works.
6264   if test "$pipe_works" = yes; then
6265     break
6266   else
6267     lt_cv_sys_global_symbol_pipe=
6268   fi
6269 done
6270
6271 fi
6272
6273 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6274   lt_cv_sys_global_symbol_to_cdecl=
6275 fi
6276 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6278 $as_echo "failed" >&6; }
6279 else
6280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6281 $as_echo "ok" >&6; }
6282 fi
6283
6284 # Response file support.
6285 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6286   nm_file_list_spec='@'
6287 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6288   nm_file_list_spec='@'
6289 fi
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6318 $as_echo_n "checking for sysroot... " >&6; }
6319
6320 # Check whether --with-sysroot was given.
6321 if test "${with_sysroot+set}" = set; then :
6322   withval=$with_sysroot;
6323 else
6324   with_sysroot=no
6325 fi
6326
6327
6328 lt_sysroot=
6329 case ${with_sysroot} in #(
6330  yes)
6331    if test "$GCC" = yes; then
6332      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6333    fi
6334    ;; #(
6335  /*)
6336    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6337    ;; #(
6338  no|'')
6339    ;; #(
6340  *)
6341    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6342 $as_echo "${with_sysroot}" >&6; }
6343    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6344    ;;
6345 esac
6346
6347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6348 $as_echo "${lt_sysroot:-no}" >&6; }
6349
6350
6351
6352
6353
6354 # Check whether --enable-libtool-lock was given.
6355 if test "${enable_libtool_lock+set}" = set; then :
6356   enableval=$enable_libtool_lock;
6357 fi
6358
6359 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6360
6361 # Some flags need to be propagated to the compiler or linker for good
6362 # libtool support.
6363 case $host in
6364 ia64-*-hpux*)
6365   # Find out which ABI we are using.
6366   echo 'int i;' > conftest.$ac_ext
6367   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6368   (eval $ac_compile) 2>&5
6369   ac_status=$?
6370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6371   test $ac_status = 0; }; then
6372     case `/usr/bin/file conftest.$ac_objext` in
6373       *ELF-32*)
6374         HPUX_IA64_MODE="32"
6375         ;;
6376       *ELF-64*)
6377         HPUX_IA64_MODE="64"
6378         ;;
6379     esac
6380   fi
6381   rm -rf conftest*
6382   ;;
6383 *-*-irix6*)
6384   # Find out which ABI we are using.
6385   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6386   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6387   (eval $ac_compile) 2>&5
6388   ac_status=$?
6389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6390   test $ac_status = 0; }; then
6391     if test "$lt_cv_prog_gnu_ld" = yes; then
6392       case `/usr/bin/file conftest.$ac_objext` in
6393         *32-bit*)
6394           LD="${LD-ld} -melf32bsmip"
6395           ;;
6396         *N32*)
6397           LD="${LD-ld} -melf32bmipn32"
6398           ;;
6399         *64-bit*)
6400           LD="${LD-ld} -melf64bmip"
6401         ;;
6402       esac
6403     else
6404       case `/usr/bin/file conftest.$ac_objext` in
6405         *32-bit*)
6406           LD="${LD-ld} -32"
6407           ;;
6408         *N32*)
6409           LD="${LD-ld} -n32"
6410           ;;
6411         *64-bit*)
6412           LD="${LD-ld} -64"
6413           ;;
6414       esac
6415     fi
6416   fi
6417   rm -rf conftest*
6418   ;;
6419
6420 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6421 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6422   # Find out which ABI we are using.
6423   echo 'int i;' > conftest.$ac_ext
6424   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6425   (eval $ac_compile) 2>&5
6426   ac_status=$?
6427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6428   test $ac_status = 0; }; then
6429     case `/usr/bin/file conftest.o` in
6430       *32-bit*)
6431         case $host in
6432           x86_64-*kfreebsd*-gnu)
6433             LD="${LD-ld} -m elf_i386_fbsd"
6434             ;;
6435           x86_64-*linux*)
6436             case `/usr/bin/file conftest.o` in
6437               *x86-64*)
6438                 LD="${LD-ld} -m elf32_x86_64"
6439                 ;;
6440               *)
6441                 LD="${LD-ld} -m elf_i386"
6442                 ;;
6443             esac
6444             ;;
6445           powerpc64le-*)
6446             LD="${LD-ld} -m elf32lppclinux"
6447             ;;
6448           powerpc64-*)
6449             LD="${LD-ld} -m elf32ppclinux"
6450             ;;
6451           s390x-*linux*)
6452             LD="${LD-ld} -m elf_s390"
6453             ;;
6454           sparc64-*linux*)
6455             LD="${LD-ld} -m elf32_sparc"
6456             ;;
6457         esac
6458         ;;
6459       *64-bit*)
6460         case $host in
6461           x86_64-*kfreebsd*-gnu)
6462             LD="${LD-ld} -m elf_x86_64_fbsd"
6463             ;;
6464           x86_64-*linux*)
6465             LD="${LD-ld} -m elf_x86_64"
6466             ;;
6467           powerpcle-*)
6468             LD="${LD-ld} -m elf64lppc"
6469             ;;
6470           powerpc-*)
6471             LD="${LD-ld} -m elf64ppc"
6472             ;;
6473           s390*-*linux*|s390*-*tpf*)
6474             LD="${LD-ld} -m elf64_s390"
6475             ;;
6476           sparc*-*linux*)
6477             LD="${LD-ld} -m elf64_sparc"
6478             ;;
6479         esac
6480         ;;
6481     esac
6482   fi
6483   rm -rf conftest*
6484   ;;
6485
6486 *-*-sco3.2v5*)
6487   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6488   SAVE_CFLAGS="$CFLAGS"
6489   CFLAGS="$CFLAGS -belf"
6490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6491 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6492 if ${lt_cv_cc_needs_belf+:} false; then :
6493   $as_echo_n "(cached) " >&6
6494 else
6495   ac_ext=c
6496 ac_cpp='$CPP $CPPFLAGS'
6497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6500
6501      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h.  */
6503
6504 int
6505 main ()
6506 {
6507
6508   ;
6509   return 0;
6510 }
6511 _ACEOF
6512 if ac_fn_c_try_link "$LINENO"; then :
6513   lt_cv_cc_needs_belf=yes
6514 else
6515   lt_cv_cc_needs_belf=no
6516 fi
6517 rm -f core conftest.err conftest.$ac_objext \
6518     conftest$ac_exeext conftest.$ac_ext
6519      ac_ext=c
6520 ac_cpp='$CPP $CPPFLAGS'
6521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6524
6525 fi
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6527 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6528   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6529     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6530     CFLAGS="$SAVE_CFLAGS"
6531   fi
6532   ;;
6533 *-*solaris*)
6534   # Find out which ABI we are using.
6535   echo 'int i;' > conftest.$ac_ext
6536   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6537   (eval $ac_compile) 2>&5
6538   ac_status=$?
6539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6540   test $ac_status = 0; }; then
6541     case `/usr/bin/file conftest.o` in
6542     *64-bit*)
6543       case $lt_cv_prog_gnu_ld in
6544       yes*)
6545         case $host in
6546         i?86-*-solaris*)
6547           LD="${LD-ld} -m elf_x86_64"
6548           ;;
6549         sparc*-*-solaris*)
6550           LD="${LD-ld} -m elf64_sparc"
6551           ;;
6552         esac
6553         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6554         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6555           LD="${LD-ld}_sol2"
6556         fi
6557         ;;
6558       *)
6559         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6560           LD="${LD-ld} -64"
6561         fi
6562         ;;
6563       esac
6564       ;;
6565     esac
6566   fi
6567   rm -rf conftest*
6568   ;;
6569 esac
6570
6571 need_locks="$enable_libtool_lock"
6572
6573 if test -n "$ac_tool_prefix"; then
6574   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6575 set dummy ${ac_tool_prefix}mt; ac_word=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6579   $as_echo_n "(cached) " >&6
6580 else
6581   if test -n "$MANIFEST_TOOL"; then
6582   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6586 do
6587   IFS=$as_save_IFS
6588   test -z "$as_dir" && as_dir=.
6589     for ac_exec_ext in '' $ac_executable_extensions; do
6590   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6593     break 2
6594   fi
6595 done
6596   done
6597 IFS=$as_save_IFS
6598
6599 fi
6600 fi
6601 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6602 if test -n "$MANIFEST_TOOL"; then
6603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6604 $as_echo "$MANIFEST_TOOL" >&6; }
6605 else
6606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6608 fi
6609
6610
6611 fi
6612 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6613   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6614   # Extract the first word of "mt", so it can be a program name with args.
6615 set dummy mt; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6619   $as_echo_n "(cached) " >&6
6620 else
6621   if test -n "$ac_ct_MANIFEST_TOOL"; then
6622   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6626 do
6627   IFS=$as_save_IFS
6628   test -z "$as_dir" && as_dir=.
6629     for ac_exec_ext in '' $ac_executable_extensions; do
6630   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633     break 2
6634   fi
6635 done
6636   done
6637 IFS=$as_save_IFS
6638
6639 fi
6640 fi
6641 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6642 if test -n "$ac_ct_MANIFEST_TOOL"; then
6643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6644 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6645 else
6646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6648 fi
6649
6650   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6651     MANIFEST_TOOL=":"
6652   else
6653     case $cross_compiling:$ac_tool_warned in
6654 yes:)
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6657 ac_tool_warned=yes ;;
6658 esac
6659     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6660   fi
6661 else
6662   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6663 fi
6664
6665 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6667 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6668 if ${lt_cv_path_mainfest_tool+:} false; then :
6669   $as_echo_n "(cached) " >&6
6670 else
6671   lt_cv_path_mainfest_tool=no
6672   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6673   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6674   cat conftest.err >&5
6675   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6676     lt_cv_path_mainfest_tool=yes
6677   fi
6678   rm -f conftest*
6679 fi
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6681 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6682 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6683   MANIFEST_TOOL=:
6684 fi
6685
6686
6687
6688
6689
6690
6691   case $host_os in
6692     rhapsody* | darwin*)
6693     if test -n "$ac_tool_prefix"; then
6694   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6695 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697 $as_echo_n "checking for $ac_word... " >&6; }
6698 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6699   $as_echo_n "(cached) " >&6
6700 else
6701   if test -n "$DSYMUTIL"; then
6702   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6703 else
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705 for as_dir in $PATH
6706 do
6707   IFS=$as_save_IFS
6708   test -z "$as_dir" && as_dir=.
6709     for ac_exec_ext in '' $ac_executable_extensions; do
6710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6711     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6713     break 2
6714   fi
6715 done
6716   done
6717 IFS=$as_save_IFS
6718
6719 fi
6720 fi
6721 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6722 if test -n "$DSYMUTIL"; then
6723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6724 $as_echo "$DSYMUTIL" >&6; }
6725 else
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727 $as_echo "no" >&6; }
6728 fi
6729
6730
6731 fi
6732 if test -z "$ac_cv_prog_DSYMUTIL"; then
6733   ac_ct_DSYMUTIL=$DSYMUTIL
6734   # Extract the first word of "dsymutil", so it can be a program name with args.
6735 set dummy dsymutil; ac_word=$2
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737 $as_echo_n "checking for $ac_word... " >&6; }
6738 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6739   $as_echo_n "(cached) " >&6
6740 else
6741   if test -n "$ac_ct_DSYMUTIL"; then
6742   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6743 else
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 for as_dir in $PATH
6746 do
6747   IFS=$as_save_IFS
6748   test -z "$as_dir" && as_dir=.
6749     for ac_exec_ext in '' $ac_executable_extensions; do
6750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6751     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6753     break 2
6754   fi
6755 done
6756   done
6757 IFS=$as_save_IFS
6758
6759 fi
6760 fi
6761 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6762 if test -n "$ac_ct_DSYMUTIL"; then
6763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6764 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6765 else
6766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 $as_echo "no" >&6; }
6768 fi
6769
6770   if test "x$ac_ct_DSYMUTIL" = x; then
6771     DSYMUTIL=":"
6772   else
6773     case $cross_compiling:$ac_tool_warned in
6774 yes:)
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6777 ac_tool_warned=yes ;;
6778 esac
6779     DSYMUTIL=$ac_ct_DSYMUTIL
6780   fi
6781 else
6782   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6783 fi
6784
6785     if test -n "$ac_tool_prefix"; then
6786   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6787 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if ${ac_cv_prog_NMEDIT+:} false; then :
6791   $as_echo_n "(cached) " >&6
6792 else
6793   if test -n "$NMEDIT"; then
6794   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6795 else
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 for as_dir in $PATH
6798 do
6799   IFS=$as_save_IFS
6800   test -z "$as_dir" && as_dir=.
6801     for ac_exec_ext in '' $ac_executable_extensions; do
6802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6803     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805     break 2
6806   fi
6807 done
6808   done
6809 IFS=$as_save_IFS
6810
6811 fi
6812 fi
6813 NMEDIT=$ac_cv_prog_NMEDIT
6814 if test -n "$NMEDIT"; then
6815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6816 $as_echo "$NMEDIT" >&6; }
6817 else
6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6820 fi
6821
6822
6823 fi
6824 if test -z "$ac_cv_prog_NMEDIT"; then
6825   ac_ct_NMEDIT=$NMEDIT
6826   # Extract the first word of "nmedit", so it can be a program name with args.
6827 set dummy nmedit; ac_word=$2
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 $as_echo_n "checking for $ac_word... " >&6; }
6830 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6831   $as_echo_n "(cached) " >&6
6832 else
6833   if test -n "$ac_ct_NMEDIT"; then
6834   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6835 else
6836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 for as_dir in $PATH
6838 do
6839   IFS=$as_save_IFS
6840   test -z "$as_dir" && as_dir=.
6841     for ac_exec_ext in '' $ac_executable_extensions; do
6842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6843     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845     break 2
6846   fi
6847 done
6848   done
6849 IFS=$as_save_IFS
6850
6851 fi
6852 fi
6853 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6854 if test -n "$ac_ct_NMEDIT"; then
6855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6856 $as_echo "$ac_ct_NMEDIT" >&6; }
6857 else
6858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 $as_echo "no" >&6; }
6860 fi
6861
6862   if test "x$ac_ct_NMEDIT" = x; then
6863     NMEDIT=":"
6864   else
6865     case $cross_compiling:$ac_tool_warned in
6866 yes:)
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6869 ac_tool_warned=yes ;;
6870 esac
6871     NMEDIT=$ac_ct_NMEDIT
6872   fi
6873 else
6874   NMEDIT="$ac_cv_prog_NMEDIT"
6875 fi
6876
6877     if test -n "$ac_tool_prefix"; then
6878   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6879 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_LIPO+:} false; then :
6883   $as_echo_n "(cached) " >&6
6884 else
6885   if test -n "$LIPO"; then
6886   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6887 else
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 for as_dir in $PATH
6890 do
6891   IFS=$as_save_IFS
6892   test -z "$as_dir" && as_dir=.
6893     for ac_exec_ext in '' $ac_executable_extensions; do
6894   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897     break 2
6898   fi
6899 done
6900   done
6901 IFS=$as_save_IFS
6902
6903 fi
6904 fi
6905 LIPO=$ac_cv_prog_LIPO
6906 if test -n "$LIPO"; then
6907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6908 $as_echo "$LIPO" >&6; }
6909 else
6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6912 fi
6913
6914
6915 fi
6916 if test -z "$ac_cv_prog_LIPO"; then
6917   ac_ct_LIPO=$LIPO
6918   # Extract the first word of "lipo", so it can be a program name with args.
6919 set dummy lipo; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6923   $as_echo_n "(cached) " >&6
6924 else
6925   if test -n "$ac_ct_LIPO"; then
6926   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6927 else
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 for as_dir in $PATH
6930 do
6931   IFS=$as_save_IFS
6932   test -z "$as_dir" && as_dir=.
6933     for ac_exec_ext in '' $ac_executable_extensions; do
6934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6935     ac_cv_prog_ac_ct_LIPO="lipo"
6936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937     break 2
6938   fi
6939 done
6940   done
6941 IFS=$as_save_IFS
6942
6943 fi
6944 fi
6945 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6946 if test -n "$ac_ct_LIPO"; then
6947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6948 $as_echo "$ac_ct_LIPO" >&6; }
6949 else
6950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6952 fi
6953
6954   if test "x$ac_ct_LIPO" = x; then
6955     LIPO=":"
6956   else
6957     case $cross_compiling:$ac_tool_warned in
6958 yes:)
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6961 ac_tool_warned=yes ;;
6962 esac
6963     LIPO=$ac_ct_LIPO
6964   fi
6965 else
6966   LIPO="$ac_cv_prog_LIPO"
6967 fi
6968
6969     if test -n "$ac_tool_prefix"; then
6970   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6971 set dummy ${ac_tool_prefix}otool; ac_word=$2
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973 $as_echo_n "checking for $ac_word... " >&6; }
6974 if ${ac_cv_prog_OTOOL+:} false; then :
6975   $as_echo_n "(cached) " >&6
6976 else
6977   if test -n "$OTOOL"; then
6978   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6979 else
6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 for as_dir in $PATH
6982 do
6983   IFS=$as_save_IFS
6984   test -z "$as_dir" && as_dir=.
6985     for ac_exec_ext in '' $ac_executable_extensions; do
6986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6987     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989     break 2
6990   fi
6991 done
6992   done
6993 IFS=$as_save_IFS
6994
6995 fi
6996 fi
6997 OTOOL=$ac_cv_prog_OTOOL
6998 if test -n "$OTOOL"; then
6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7000 $as_echo "$OTOOL" >&6; }
7001 else
7002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003 $as_echo "no" >&6; }
7004 fi
7005
7006
7007 fi
7008 if test -z "$ac_cv_prog_OTOOL"; then
7009   ac_ct_OTOOL=$OTOOL
7010   # Extract the first word of "otool", so it can be a program name with args.
7011 set dummy otool; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7015   $as_echo_n "(cached) " >&6
7016 else
7017   if test -n "$ac_ct_OTOOL"; then
7018   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7019 else
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 for as_dir in $PATH
7022 do
7023   IFS=$as_save_IFS
7024   test -z "$as_dir" && as_dir=.
7025     for ac_exec_ext in '' $ac_executable_extensions; do
7026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7027     ac_cv_prog_ac_ct_OTOOL="otool"
7028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029     break 2
7030   fi
7031 done
7032   done
7033 IFS=$as_save_IFS
7034
7035 fi
7036 fi
7037 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7038 if test -n "$ac_ct_OTOOL"; then
7039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7040 $as_echo "$ac_ct_OTOOL" >&6; }
7041 else
7042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043 $as_echo "no" >&6; }
7044 fi
7045
7046   if test "x$ac_ct_OTOOL" = x; then
7047     OTOOL=":"
7048   else
7049     case $cross_compiling:$ac_tool_warned in
7050 yes:)
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7053 ac_tool_warned=yes ;;
7054 esac
7055     OTOOL=$ac_ct_OTOOL
7056   fi
7057 else
7058   OTOOL="$ac_cv_prog_OTOOL"
7059 fi
7060
7061     if test -n "$ac_tool_prefix"; then
7062   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7063 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if ${ac_cv_prog_OTOOL64+:} false; then :
7067   $as_echo_n "(cached) " >&6
7068 else
7069   if test -n "$OTOOL64"; then
7070   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7071 else
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 for as_dir in $PATH
7074 do
7075   IFS=$as_save_IFS
7076   test -z "$as_dir" && as_dir=.
7077     for ac_exec_ext in '' $ac_executable_extensions; do
7078   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7079     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7081     break 2
7082   fi
7083 done
7084   done
7085 IFS=$as_save_IFS
7086
7087 fi
7088 fi
7089 OTOOL64=$ac_cv_prog_OTOOL64
7090 if test -n "$OTOOL64"; then
7091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7092 $as_echo "$OTOOL64" >&6; }
7093 else
7094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7096 fi
7097
7098
7099 fi
7100 if test -z "$ac_cv_prog_OTOOL64"; then
7101   ac_ct_OTOOL64=$OTOOL64
7102   # Extract the first word of "otool64", so it can be a program name with args.
7103 set dummy otool64; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7107   $as_echo_n "(cached) " >&6
7108 else
7109   if test -n "$ac_ct_OTOOL64"; then
7110   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7111 else
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 for as_dir in $PATH
7114 do
7115   IFS=$as_save_IFS
7116   test -z "$as_dir" && as_dir=.
7117     for ac_exec_ext in '' $ac_executable_extensions; do
7118   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119     ac_cv_prog_ac_ct_OTOOL64="otool64"
7120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121     break 2
7122   fi
7123 done
7124   done
7125 IFS=$as_save_IFS
7126
7127 fi
7128 fi
7129 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7130 if test -n "$ac_ct_OTOOL64"; then
7131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7132 $as_echo "$ac_ct_OTOOL64" >&6; }
7133 else
7134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7136 fi
7137
7138   if test "x$ac_ct_OTOOL64" = x; then
7139     OTOOL64=":"
7140   else
7141     case $cross_compiling:$ac_tool_warned in
7142 yes:)
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7145 ac_tool_warned=yes ;;
7146 esac
7147     OTOOL64=$ac_ct_OTOOL64
7148   fi
7149 else
7150   OTOOL64="$ac_cv_prog_OTOOL64"
7151 fi
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7180 $as_echo_n "checking for -single_module linker flag... " >&6; }
7181 if ${lt_cv_apple_cc_single_mod+:} false; then :
7182   $as_echo_n "(cached) " >&6
7183 else
7184   lt_cv_apple_cc_single_mod=no
7185       if test -z "${LT_MULTI_MODULE}"; then
7186         # By default we will add the -single_module flag. You can override
7187         # by either setting the environment variable LT_MULTI_MODULE
7188         # non-empty at configure time, or by adding -multi_module to the
7189         # link flags.
7190         rm -rf libconftest.dylib*
7191         echo "int foo(void){return 1;}" > conftest.c
7192         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7193 -dynamiclib -Wl,-single_module conftest.c" >&5
7194         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7195           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7196         _lt_result=$?
7197         # If there is a non-empty error log, and "single_module"
7198         # appears in it, assume the flag caused a linker warning
7199         if test -s conftest.err && $GREP single_module conftest.err; then
7200           cat conftest.err >&5
7201         # Otherwise, if the output was created with a 0 exit code from
7202         # the compiler, it worked.
7203         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7204           lt_cv_apple_cc_single_mod=yes
7205         else
7206           cat conftest.err >&5
7207         fi
7208         rm -rf libconftest.dylib*
7209         rm -f conftest.*
7210       fi
7211 fi
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7213 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7214
7215     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7216 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7217 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7218   $as_echo_n "(cached) " >&6
7219 else
7220   lt_cv_ld_exported_symbols_list=no
7221       save_LDFLAGS=$LDFLAGS
7222       echo "_main" > conftest.sym
7223       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7225 /* end confdefs.h.  */
7226
7227 int
7228 main ()
7229 {
7230
7231   ;
7232   return 0;
7233 }
7234 _ACEOF
7235 if ac_fn_c_try_link "$LINENO"; then :
7236   lt_cv_ld_exported_symbols_list=yes
7237 else
7238   lt_cv_ld_exported_symbols_list=no
7239 fi
7240 rm -f core conftest.err conftest.$ac_objext \
7241     conftest$ac_exeext conftest.$ac_ext
7242         LDFLAGS="$save_LDFLAGS"
7243
7244 fi
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7246 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7247
7248     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7249 $as_echo_n "checking for -force_load linker flag... " >&6; }
7250 if ${lt_cv_ld_force_load+:} false; then :
7251   $as_echo_n "(cached) " >&6
7252 else
7253   lt_cv_ld_force_load=no
7254       cat > conftest.c << _LT_EOF
7255 int forced_loaded() { return 2;}
7256 _LT_EOF
7257       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7258       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7259       echo "$AR cru libconftest.a conftest.o" >&5
7260       $AR cru libconftest.a conftest.o 2>&5
7261       echo "$RANLIB libconftest.a" >&5
7262       $RANLIB libconftest.a 2>&5
7263       cat > conftest.c << _LT_EOF
7264 int main() { return 0;}
7265 _LT_EOF
7266       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7267       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7268       _lt_result=$?
7269       if test -s conftest.err && $GREP force_load conftest.err; then
7270         cat conftest.err >&5
7271       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7272         lt_cv_ld_force_load=yes
7273       else
7274         cat conftest.err >&5
7275       fi
7276         rm -f conftest.err libconftest.a conftest conftest.c
7277         rm -rf conftest.dSYM
7278
7279 fi
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7281 $as_echo "$lt_cv_ld_force_load" >&6; }
7282     case $host_os in
7283     rhapsody* | darwin1.[012])
7284       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7285     darwin1.*)
7286       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7287     darwin*) # darwin 5.x on
7288       # if running on 10.5 or later, the deployment target defaults
7289       # to the OS version, if on x86, and 10.4, the deployment
7290       # target defaults to 10.4. Don't you love it?
7291       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7292         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7293           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7294         10.[012]*)
7295           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7296         10.*)
7297           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7298       esac
7299     ;;
7300   esac
7301     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7302       _lt_dar_single_mod='$single_module'
7303     fi
7304     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7305       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7306     else
7307       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7308     fi
7309     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7310       _lt_dsymutil='~$DSYMUTIL $lib || :'
7311     else
7312       _lt_dsymutil=
7313     fi
7314     ;;
7315   esac
7316
7317 ac_ext=c
7318 ac_cpp='$CPP $CPPFLAGS'
7319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7323 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7324 # On Suns, sometimes $CPP names a directory.
7325 if test -n "$CPP" && test -d "$CPP"; then
7326   CPP=
7327 fi
7328 if test -z "$CPP"; then
7329   if ${ac_cv_prog_CPP+:} false; then :
7330   $as_echo_n "(cached) " >&6
7331 else
7332       # Double quotes because CPP needs to be expanded
7333     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7334     do
7335       ac_preproc_ok=false
7336 for ac_c_preproc_warn_flag in '' yes
7337 do
7338   # Use a header file that comes with gcc, so configuring glibc
7339   # with a fresh cross-compiler works.
7340   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7341   # <limits.h> exists even on freestanding compilers.
7342   # On the NeXT, cc -E runs the code through the compiler's parser,
7343   # not just through cpp. "Syntax error" is here to catch this case.
7344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7345 /* end confdefs.h.  */
7346 #ifdef __STDC__
7347 # include <limits.h>
7348 #else
7349 # include <assert.h>
7350 #endif
7351                      Syntax error
7352 _ACEOF
7353 if ac_fn_c_try_cpp "$LINENO"; then :
7354
7355 else
7356   # Broken: fails on valid input.
7357 continue
7358 fi
7359 rm -f conftest.err conftest.i conftest.$ac_ext
7360
7361   # OK, works on sane cases.  Now check whether nonexistent headers
7362   # can be detected and how.
7363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h.  */
7365 #include <ac_nonexistent.h>
7366 _ACEOF
7367 if ac_fn_c_try_cpp "$LINENO"; then :
7368   # Broken: success on invalid input.
7369 continue
7370 else
7371   # Passes both tests.
7372 ac_preproc_ok=:
7373 break
7374 fi
7375 rm -f conftest.err conftest.i conftest.$ac_ext
7376
7377 done
7378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7379 rm -f conftest.i conftest.err conftest.$ac_ext
7380 if $ac_preproc_ok; then :
7381   break
7382 fi
7383
7384     done
7385     ac_cv_prog_CPP=$CPP
7386
7387 fi
7388   CPP=$ac_cv_prog_CPP
7389 else
7390   ac_cv_prog_CPP=$CPP
7391 fi
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7393 $as_echo "$CPP" >&6; }
7394 ac_preproc_ok=false
7395 for ac_c_preproc_warn_flag in '' yes
7396 do
7397   # Use a header file that comes with gcc, so configuring glibc
7398   # with a fresh cross-compiler works.
7399   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7400   # <limits.h> exists even on freestanding compilers.
7401   # On the NeXT, cc -E runs the code through the compiler's parser,
7402   # not just through cpp. "Syntax error" is here to catch this case.
7403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7404 /* end confdefs.h.  */
7405 #ifdef __STDC__
7406 # include <limits.h>
7407 #else
7408 # include <assert.h>
7409 #endif
7410                      Syntax error
7411 _ACEOF
7412 if ac_fn_c_try_cpp "$LINENO"; then :
7413
7414 else
7415   # Broken: fails on valid input.
7416 continue
7417 fi
7418 rm -f conftest.err conftest.i conftest.$ac_ext
7419
7420   # OK, works on sane cases.  Now check whether nonexistent headers
7421   # can be detected and how.
7422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h.  */
7424 #include <ac_nonexistent.h>
7425 _ACEOF
7426 if ac_fn_c_try_cpp "$LINENO"; then :
7427   # Broken: success on invalid input.
7428 continue
7429 else
7430   # Passes both tests.
7431 ac_preproc_ok=:
7432 break
7433 fi
7434 rm -f conftest.err conftest.i conftest.$ac_ext
7435
7436 done
7437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7438 rm -f conftest.i conftest.err conftest.$ac_ext
7439 if $ac_preproc_ok; then :
7440
7441 else
7442   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7444 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7445 See \`config.log' for more details" "$LINENO" 5; }
7446 fi
7447
7448 ac_ext=c
7449 ac_cpp='$CPP $CPPFLAGS'
7450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7453
7454
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7456 $as_echo_n "checking for ANSI C header files... " >&6; }
7457 if ${ac_cv_header_stdc+:} false; then :
7458   $as_echo_n "(cached) " >&6
7459 else
7460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7461 /* end confdefs.h.  */
7462 #include <stdlib.h>
7463 #include <stdarg.h>
7464 #include <string.h>
7465 #include <float.h>
7466
7467 int
7468 main ()
7469 {
7470
7471   ;
7472   return 0;
7473 }
7474 _ACEOF
7475 if ac_fn_c_try_compile "$LINENO"; then :
7476   ac_cv_header_stdc=yes
7477 else
7478   ac_cv_header_stdc=no
7479 fi
7480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7481
7482 if test $ac_cv_header_stdc = yes; then
7483   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7485 /* end confdefs.h.  */
7486 #include <string.h>
7487
7488 _ACEOF
7489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7490   $EGREP "memchr" >/dev/null 2>&1; then :
7491
7492 else
7493   ac_cv_header_stdc=no
7494 fi
7495 rm -f conftest*
7496
7497 fi
7498
7499 if test $ac_cv_header_stdc = yes; then
7500   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h.  */
7503 #include <stdlib.h>
7504
7505 _ACEOF
7506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7507   $EGREP "free" >/dev/null 2>&1; then :
7508
7509 else
7510   ac_cv_header_stdc=no
7511 fi
7512 rm -f conftest*
7513
7514 fi
7515
7516 if test $ac_cv_header_stdc = yes; then
7517   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7518   if test "$cross_compiling" = yes; then :
7519   :
7520 else
7521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h.  */
7523 #include <ctype.h>
7524 #include <stdlib.h>
7525 #if ((' ' & 0x0FF) == 0x020)
7526 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7527 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7528 #else
7529 # define ISLOWER(c) \
7530                    (('a' <= (c) && (c) <= 'i') \
7531                      || ('j' <= (c) && (c) <= 'r') \
7532                      || ('s' <= (c) && (c) <= 'z'))
7533 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7534 #endif
7535
7536 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7537 int
7538 main ()
7539 {
7540   int i;
7541   for (i = 0; i < 256; i++)
7542     if (XOR (islower (i), ISLOWER (i))
7543         || toupper (i) != TOUPPER (i))
7544       return 2;
7545   return 0;
7546 }
7547 _ACEOF
7548 if ac_fn_c_try_run "$LINENO"; then :
7549
7550 else
7551   ac_cv_header_stdc=no
7552 fi
7553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7554   conftest.$ac_objext conftest.beam conftest.$ac_ext
7555 fi
7556
7557 fi
7558 fi
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7560 $as_echo "$ac_cv_header_stdc" >&6; }
7561 if test $ac_cv_header_stdc = yes; then
7562
7563 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7564
7565 fi
7566
7567 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7568 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7569                   inttypes.h stdint.h unistd.h
7570 do :
7571   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7572 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7573 "
7574 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7575   cat >>confdefs.h <<_ACEOF
7576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7577 _ACEOF
7578
7579 fi
7580
7581 done
7582
7583
7584 for ac_header in dlfcn.h
7585 do :
7586   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7587 "
7588 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7589   cat >>confdefs.h <<_ACEOF
7590 #define HAVE_DLFCN_H 1
7591 _ACEOF
7592
7593 fi
7594
7595 done
7596
7597
7598
7599
7600
7601 # Set options
7602 # Check whether --enable-static was given.
7603 if test "${enable_static+set}" = set; then :
7604   enableval=$enable_static; p=${PACKAGE-default}
7605     case $enableval in
7606     yes) enable_static=yes ;;
7607     no) enable_static=no ;;
7608     *)
7609      enable_static=no
7610       # Look at the argument we got.  We use all the common list separators.
7611       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7612       for pkg in $enableval; do
7613         IFS="$lt_save_ifs"
7614         if test "X$pkg" = "X$p"; then
7615           enable_static=yes
7616         fi
7617       done
7618       IFS="$lt_save_ifs"
7619       ;;
7620     esac
7621 else
7622   enable_static=no
7623 fi
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634         enable_dlopen=no
7635
7636
7637   enable_win32_dll=no
7638
7639
7640             # Check whether --enable-shared was given.
7641 if test "${enable_shared+set}" = set; then :
7642   enableval=$enable_shared; p=${PACKAGE-default}
7643     case $enableval in
7644     yes) enable_shared=yes ;;
7645     no) enable_shared=no ;;
7646     *)
7647       enable_shared=no
7648       # Look at the argument we got.  We use all the common list separators.
7649       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7650       for pkg in $enableval; do
7651         IFS="$lt_save_ifs"
7652         if test "X$pkg" = "X$p"; then
7653           enable_shared=yes
7654         fi
7655       done
7656       IFS="$lt_save_ifs"
7657       ;;
7658     esac
7659 else
7660   enable_shared=yes
7661 fi
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673 # Check whether --with-pic was given.
7674 if test "${with_pic+set}" = set; then :
7675   withval=$with_pic; lt_p=${PACKAGE-default}
7676     case $withval in
7677     yes|no) pic_mode=$withval ;;
7678     *)
7679       pic_mode=default
7680       # Look at the argument we got.  We use all the common list separators.
7681       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7682       for lt_pkg in $withval; do
7683         IFS="$lt_save_ifs"
7684         if test "X$lt_pkg" = "X$lt_p"; then
7685           pic_mode=yes
7686         fi
7687       done
7688       IFS="$lt_save_ifs"
7689       ;;
7690     esac
7691 else
7692   pic_mode=default
7693 fi
7694
7695
7696 test -z "$pic_mode" && pic_mode=default
7697
7698
7699
7700
7701
7702
7703
7704   # Check whether --enable-fast-install was given.
7705 if test "${enable_fast_install+set}" = set; then :
7706   enableval=$enable_fast_install; p=${PACKAGE-default}
7707     case $enableval in
7708     yes) enable_fast_install=yes ;;
7709     no) enable_fast_install=no ;;
7710     *)
7711       enable_fast_install=no
7712       # Look at the argument we got.  We use all the common list separators.
7713       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7714       for pkg in $enableval; do
7715         IFS="$lt_save_ifs"
7716         if test "X$pkg" = "X$p"; then
7717           enable_fast_install=yes
7718         fi
7719       done
7720       IFS="$lt_save_ifs"
7721       ;;
7722     esac
7723 else
7724   enable_fast_install=yes
7725 fi
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737 # This can be used to rebuild libtool when needed
7738 LIBTOOL_DEPS="$ltmain"
7739
7740 # Always use our own libtool.
7741 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772 test -z "$LN_S" && LN_S="ln -s"
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787 if test -n "${ZSH_VERSION+set}" ; then
7788    setopt NO_GLOB_SUBST
7789 fi
7790
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7792 $as_echo_n "checking for objdir... " >&6; }
7793 if ${lt_cv_objdir+:} false; then :
7794   $as_echo_n "(cached) " >&6
7795 else
7796   rm -f .libs 2>/dev/null
7797 mkdir .libs 2>/dev/null
7798 if test -d .libs; then
7799   lt_cv_objdir=.libs
7800 else
7801   # MS-DOS does not allow filenames that begin with a dot.
7802   lt_cv_objdir=_libs
7803 fi
7804 rmdir .libs 2>/dev/null
7805 fi
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7807 $as_echo "$lt_cv_objdir" >&6; }
7808 objdir=$lt_cv_objdir
7809
7810
7811
7812
7813
7814 cat >>confdefs.h <<_ACEOF
7815 #define LT_OBJDIR "$lt_cv_objdir/"
7816 _ACEOF
7817
7818
7819
7820
7821 case $host_os in
7822 aix3*)
7823   # AIX sometimes has problems with the GCC collect2 program.  For some
7824   # reason, if we set the COLLECT_NAMES environment variable, the problems
7825   # vanish in a puff of smoke.
7826   if test "X${COLLECT_NAMES+set}" != Xset; then
7827     COLLECT_NAMES=
7828     export COLLECT_NAMES
7829   fi
7830   ;;
7831 esac
7832
7833 # Global variables:
7834 ofile=libtool
7835 can_build_shared=yes
7836
7837 # All known linkers require a `.a' archive for static linking (except MSVC,
7838 # which needs '.lib').
7839 libext=a
7840
7841 with_gnu_ld="$lt_cv_prog_gnu_ld"
7842
7843 old_CC="$CC"
7844 old_CFLAGS="$CFLAGS"
7845
7846 # Set sane defaults for various variables
7847 test -z "$CC" && CC=cc
7848 test -z "$LTCC" && LTCC=$CC
7849 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7850 test -z "$LD" && LD=ld
7851 test -z "$ac_objext" && ac_objext=o
7852
7853 for cc_temp in $compiler""; do
7854   case $cc_temp in
7855     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7856     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7857     \-*) ;;
7858     *) break;;
7859   esac
7860 done
7861 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7862
7863
7864 # Only perform the check for file, if the check method requires it
7865 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7866 case $deplibs_check_method in
7867 file_magic*)
7868   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7870 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7871 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7872   $as_echo_n "(cached) " >&6
7873 else
7874   case $MAGIC_CMD in
7875 [\\/*] |  ?:[\\/]*)
7876   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7877   ;;
7878 *)
7879   lt_save_MAGIC_CMD="$MAGIC_CMD"
7880   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7881   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7882   for ac_dir in $ac_dummy; do
7883     IFS="$lt_save_ifs"
7884     test -z "$ac_dir" && ac_dir=.
7885     if test -f $ac_dir/${ac_tool_prefix}file; then
7886       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7887       if test -n "$file_magic_test_file"; then
7888         case $deplibs_check_method in
7889         "file_magic "*)
7890           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7891           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7892           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7893             $EGREP "$file_magic_regex" > /dev/null; then
7894             :
7895           else
7896             cat <<_LT_EOF 1>&2
7897
7898 *** Warning: the command libtool uses to detect shared libraries,
7899 *** $file_magic_cmd, produces output that libtool cannot recognize.
7900 *** The result is that libtool may fail to recognize shared libraries
7901 *** as such.  This will affect the creation of libtool libraries that
7902 *** depend on shared libraries, but programs linked with such libtool
7903 *** libraries will work regardless of this problem.  Nevertheless, you
7904 *** may want to report the problem to your system manager and/or to
7905 *** bug-libtool@gnu.org
7906
7907 _LT_EOF
7908           fi ;;
7909         esac
7910       fi
7911       break
7912     fi
7913   done
7914   IFS="$lt_save_ifs"
7915   MAGIC_CMD="$lt_save_MAGIC_CMD"
7916   ;;
7917 esac
7918 fi
7919
7920 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7921 if test -n "$MAGIC_CMD"; then
7922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7923 $as_echo "$MAGIC_CMD" >&6; }
7924 else
7925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7926 $as_echo "no" >&6; }
7927 fi
7928
7929
7930
7931
7932
7933 if test -z "$lt_cv_path_MAGIC_CMD"; then
7934   if test -n "$ac_tool_prefix"; then
7935     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7936 $as_echo_n "checking for file... " >&6; }
7937 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7938   $as_echo_n "(cached) " >&6
7939 else
7940   case $MAGIC_CMD in
7941 [\\/*] |  ?:[\\/]*)
7942   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7943   ;;
7944 *)
7945   lt_save_MAGIC_CMD="$MAGIC_CMD"
7946   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7947   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7948   for ac_dir in $ac_dummy; do
7949     IFS="$lt_save_ifs"
7950     test -z "$ac_dir" && ac_dir=.
7951     if test -f $ac_dir/file; then
7952       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7953       if test -n "$file_magic_test_file"; then
7954         case $deplibs_check_method in
7955         "file_magic "*)
7956           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7957           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7958           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7959             $EGREP "$file_magic_regex" > /dev/null; then
7960             :
7961           else
7962             cat <<_LT_EOF 1>&2
7963
7964 *** Warning: the command libtool uses to detect shared libraries,
7965 *** $file_magic_cmd, produces output that libtool cannot recognize.
7966 *** The result is that libtool may fail to recognize shared libraries
7967 *** as such.  This will affect the creation of libtool libraries that
7968 *** depend on shared libraries, but programs linked with such libtool
7969 *** libraries will work regardless of this problem.  Nevertheless, you
7970 *** may want to report the problem to your system manager and/or to
7971 *** bug-libtool@gnu.org
7972
7973 _LT_EOF
7974           fi ;;
7975         esac
7976       fi
7977       break
7978     fi
7979   done
7980   IFS="$lt_save_ifs"
7981   MAGIC_CMD="$lt_save_MAGIC_CMD"
7982   ;;
7983 esac
7984 fi
7985
7986 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7987 if test -n "$MAGIC_CMD"; then
7988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7989 $as_echo "$MAGIC_CMD" >&6; }
7990 else
7991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992 $as_echo "no" >&6; }
7993 fi
7994
7995
7996   else
7997     MAGIC_CMD=:
7998   fi
7999 fi
8000
8001   fi
8002   ;;
8003 esac
8004
8005 # Use C for the default configuration in the libtool script
8006
8007 lt_save_CC="$CC"
8008 ac_ext=c
8009 ac_cpp='$CPP $CPPFLAGS'
8010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8013
8014
8015 # Source file extension for C test sources.
8016 ac_ext=c
8017
8018 # Object file extension for compiled C test sources.
8019 objext=o
8020 objext=$objext
8021
8022 # Code to be used in simple compile tests
8023 lt_simple_compile_test_code="int some_variable = 0;"
8024
8025 # Code to be used in simple link tests
8026 lt_simple_link_test_code='int main(){return(0);}'
8027
8028
8029
8030
8031
8032
8033
8034 # If no C compiler was specified, use CC.
8035 LTCC=${LTCC-"$CC"}
8036
8037 # If no C compiler flags were specified, use CFLAGS.
8038 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8039
8040 # Allow CC to be a program name with arguments.
8041 compiler=$CC
8042
8043 # Save the default compiler, since it gets overwritten when the other
8044 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8045 compiler_DEFAULT=$CC
8046
8047 # save warnings/boilerplate of simple test code
8048 ac_outfile=conftest.$ac_objext
8049 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8050 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8051 _lt_compiler_boilerplate=`cat conftest.err`
8052 $RM conftest*
8053
8054 ac_outfile=conftest.$ac_objext
8055 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8056 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8057 _lt_linker_boilerplate=`cat conftest.err`
8058 $RM -r conftest*
8059
8060
8061 ## CAVEAT EMPTOR:
8062 ## There is no encapsulation within the following macros, do not change
8063 ## the running order or otherwise move them around unless you know exactly
8064 ## what you are doing...
8065 if test -n "$compiler"; then
8066
8067 lt_prog_compiler_no_builtin_flag=
8068
8069 if test "$GCC" = yes; then
8070   case $cc_basename in
8071   nvcc*)
8072     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8073   *)
8074     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8075   esac
8076
8077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8078 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8079 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8080   $as_echo_n "(cached) " >&6
8081 else
8082   lt_cv_prog_compiler_rtti_exceptions=no
8083    ac_outfile=conftest.$ac_objext
8084    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8085    lt_compiler_flag="-fno-rtti -fno-exceptions"
8086    # Insert the option either (1) after the last *FLAGS variable, or
8087    # (2) before a word containing "conftest.", or (3) at the end.
8088    # Note that $ac_compile itself does not contain backslashes and begins
8089    # with a dollar sign (not a hyphen), so the echo should work correctly.
8090    # The option is referenced via a variable to avoid confusing sed.
8091    lt_compile=`echo "$ac_compile" | $SED \
8092    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8093    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8094    -e 's:$: $lt_compiler_flag:'`
8095    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8096    (eval "$lt_compile" 2>conftest.err)
8097    ac_status=$?
8098    cat conftest.err >&5
8099    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100    if (exit $ac_status) && test -s "$ac_outfile"; then
8101      # The compiler can only warn and ignore the option if not recognized
8102      # So say no if there are warnings other than the usual output.
8103      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8104      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8105      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8106        lt_cv_prog_compiler_rtti_exceptions=yes
8107      fi
8108    fi
8109    $RM conftest*
8110
8111 fi
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8113 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8114
8115 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8116     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8117 else
8118     :
8119 fi
8120
8121 fi
8122
8123
8124
8125
8126
8127
8128   lt_prog_compiler_wl=
8129 lt_prog_compiler_pic=
8130 lt_prog_compiler_static=
8131
8132
8133   if test "$GCC" = yes; then
8134     lt_prog_compiler_wl='-Wl,'
8135     lt_prog_compiler_static='-static'
8136
8137     case $host_os in
8138       aix*)
8139       # All AIX code is PIC.
8140       if test "$host_cpu" = ia64; then
8141         # AIX 5 now supports IA64 processor
8142         lt_prog_compiler_static='-Bstatic'
8143       fi
8144       ;;
8145
8146     amigaos*)
8147       case $host_cpu in
8148       powerpc)
8149             # see comment about AmigaOS4 .so support
8150             lt_prog_compiler_pic='-fPIC'
8151         ;;
8152       m68k)
8153             # FIXME: we need at least 68020 code to build shared libraries, but
8154             # adding the `-m68020' flag to GCC prevents building anything better,
8155             # like `-m68040'.
8156             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8157         ;;
8158       esac
8159       ;;
8160
8161     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8162       # PIC is the default for these OSes.
8163       ;;
8164
8165     mingw* | cygwin* | pw32* | os2* | cegcc*)
8166       # This hack is so that the source file can tell whether it is being
8167       # built for inclusion in a dll (and should export symbols for example).
8168       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8169       # (--disable-auto-import) libraries
8170       lt_prog_compiler_pic='-DDLL_EXPORT'
8171       ;;
8172
8173     darwin* | rhapsody*)
8174       # PIC is the default on this platform
8175       # Common symbols not allowed in MH_DYLIB files
8176       lt_prog_compiler_pic='-fno-common'
8177       ;;
8178
8179     haiku*)
8180       # PIC is the default for Haiku.
8181       # The "-static" flag exists, but is broken.
8182       lt_prog_compiler_static=
8183       ;;
8184
8185     hpux*)
8186       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8187       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8188       # sets the default TLS model and affects inlining.
8189       case $host_cpu in
8190       hppa*64*)
8191         # +Z the default
8192         ;;
8193       *)
8194         lt_prog_compiler_pic='-fPIC'
8195         ;;
8196       esac
8197       ;;
8198
8199     interix[3-9]*)
8200       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8201       # Instead, we relocate shared libraries at runtime.
8202       ;;
8203
8204     msdosdjgpp*)
8205       # Just because we use GCC doesn't mean we suddenly get shared libraries
8206       # on systems that don't support them.
8207       lt_prog_compiler_can_build_shared=no
8208       enable_shared=no
8209       ;;
8210
8211     *nto* | *qnx*)
8212       # QNX uses GNU C++, but need to define -shared option too, otherwise
8213       # it will coredump.
8214       lt_prog_compiler_pic='-fPIC -shared'
8215       ;;
8216
8217     sysv4*MP*)
8218       if test -d /usr/nec; then
8219         lt_prog_compiler_pic=-Kconform_pic
8220       fi
8221       ;;
8222
8223     *)
8224       lt_prog_compiler_pic='-fPIC'
8225       ;;
8226     esac
8227
8228     case $cc_basename in
8229     nvcc*) # Cuda Compiler Driver 2.2
8230       lt_prog_compiler_wl='-Xlinker '
8231       if test -n "$lt_prog_compiler_pic"; then
8232         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8233       fi
8234       ;;
8235     esac
8236   else
8237     # PORTME Check for flag to pass linker flags through the system compiler.
8238     case $host_os in
8239     aix*)
8240       lt_prog_compiler_wl='-Wl,'
8241       if test "$host_cpu" = ia64; then
8242         # AIX 5 now supports IA64 processor
8243         lt_prog_compiler_static='-Bstatic'
8244       else
8245         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8246       fi
8247       ;;
8248
8249     mingw* | cygwin* | pw32* | os2* | cegcc*)
8250       # This hack is so that the source file can tell whether it is being
8251       # built for inclusion in a dll (and should export symbols for example).
8252       lt_prog_compiler_pic='-DDLL_EXPORT'
8253       ;;
8254
8255     hpux9* | hpux10* | hpux11*)
8256       lt_prog_compiler_wl='-Wl,'
8257       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8258       # not for PA HP-UX.
8259       case $host_cpu in
8260       hppa*64*|ia64*)
8261         # +Z the default
8262         ;;
8263       *)
8264         lt_prog_compiler_pic='+Z'
8265         ;;
8266       esac
8267       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8268       lt_prog_compiler_static='${wl}-a ${wl}archive'
8269       ;;
8270
8271     irix5* | irix6* | nonstopux*)
8272       lt_prog_compiler_wl='-Wl,'
8273       # PIC (with -KPIC) is the default.
8274       lt_prog_compiler_static='-non_shared'
8275       ;;
8276
8277     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8278       case $cc_basename in
8279       # old Intel for x86_64 which still supported -KPIC.
8280       ecc*)
8281         lt_prog_compiler_wl='-Wl,'
8282         lt_prog_compiler_pic='-KPIC'
8283         lt_prog_compiler_static='-static'
8284         ;;
8285       # icc used to be incompatible with GCC.
8286       # ICC 10 doesn't accept -KPIC any more.
8287       icc* | ifort*)
8288         lt_prog_compiler_wl='-Wl,'
8289         lt_prog_compiler_pic='-fPIC'
8290         lt_prog_compiler_static='-static'
8291         ;;
8292       # Lahey Fortran 8.1.
8293       lf95*)
8294         lt_prog_compiler_wl='-Wl,'
8295         lt_prog_compiler_pic='--shared'
8296         lt_prog_compiler_static='--static'
8297         ;;
8298       nagfor*)
8299         # NAG Fortran compiler
8300         lt_prog_compiler_wl='-Wl,-Wl,,'
8301         lt_prog_compiler_pic='-PIC'
8302         lt_prog_compiler_static='-Bstatic'
8303         ;;
8304       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8305         # Portland Group compilers (*not* the Pentium gcc compiler,
8306         # which looks to be a dead project)
8307         lt_prog_compiler_wl='-Wl,'
8308         lt_prog_compiler_pic='-fpic'
8309         lt_prog_compiler_static='-Bstatic'
8310         ;;
8311       ccc*)
8312         lt_prog_compiler_wl='-Wl,'
8313         # All Alpha code is PIC.
8314         lt_prog_compiler_static='-non_shared'
8315         ;;
8316       xl* | bgxl* | bgf* | mpixl*)
8317         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8318         lt_prog_compiler_wl='-Wl,'
8319         lt_prog_compiler_pic='-qpic'
8320         lt_prog_compiler_static='-qstaticlink'
8321         ;;
8322       *)
8323         case `$CC -V 2>&1 | sed 5q` in
8324         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8325           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8326           lt_prog_compiler_pic='-KPIC'
8327           lt_prog_compiler_static='-Bstatic'
8328           lt_prog_compiler_wl=''
8329           ;;
8330         *Sun\ F* | *Sun*Fortran*)
8331           lt_prog_compiler_pic='-KPIC'
8332           lt_prog_compiler_static='-Bstatic'
8333           lt_prog_compiler_wl='-Qoption ld '
8334           ;;
8335         *Sun\ C*)
8336           # Sun C 5.9
8337           lt_prog_compiler_pic='-KPIC'
8338           lt_prog_compiler_static='-Bstatic'
8339           lt_prog_compiler_wl='-Wl,'
8340           ;;
8341         *Intel*\ [CF]*Compiler*)
8342           lt_prog_compiler_wl='-Wl,'
8343           lt_prog_compiler_pic='-fPIC'
8344           lt_prog_compiler_static='-static'
8345           ;;
8346         *Portland\ Group*)
8347           lt_prog_compiler_wl='-Wl,'
8348           lt_prog_compiler_pic='-fpic'
8349           lt_prog_compiler_static='-Bstatic'
8350           ;;
8351         esac
8352         ;;
8353       esac
8354       ;;
8355
8356     newsos6)
8357       lt_prog_compiler_pic='-KPIC'
8358       lt_prog_compiler_static='-Bstatic'
8359       ;;
8360
8361     *nto* | *qnx*)
8362       # QNX uses GNU C++, but need to define -shared option too, otherwise
8363       # it will coredump.
8364       lt_prog_compiler_pic='-fPIC -shared'
8365       ;;
8366
8367     osf3* | osf4* | osf5*)
8368       lt_prog_compiler_wl='-Wl,'
8369       # All OSF/1 code is PIC.
8370       lt_prog_compiler_static='-non_shared'
8371       ;;
8372
8373     rdos*)
8374       lt_prog_compiler_static='-non_shared'
8375       ;;
8376
8377     solaris*)
8378       lt_prog_compiler_pic='-KPIC'
8379       lt_prog_compiler_static='-Bstatic'
8380       case $cc_basename in
8381       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8382         lt_prog_compiler_wl='-Qoption ld ';;
8383       *)
8384         lt_prog_compiler_wl='-Wl,';;
8385       esac
8386       ;;
8387
8388     sunos4*)
8389       lt_prog_compiler_wl='-Qoption ld '
8390       lt_prog_compiler_pic='-PIC'
8391       lt_prog_compiler_static='-Bstatic'
8392       ;;
8393
8394     sysv4 | sysv4.2uw2* | sysv4.3*)
8395       lt_prog_compiler_wl='-Wl,'
8396       lt_prog_compiler_pic='-KPIC'
8397       lt_prog_compiler_static='-Bstatic'
8398       ;;
8399
8400     sysv4*MP*)
8401       if test -d /usr/nec ;then
8402         lt_prog_compiler_pic='-Kconform_pic'
8403         lt_prog_compiler_static='-Bstatic'
8404       fi
8405       ;;
8406
8407     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8408       lt_prog_compiler_wl='-Wl,'
8409       lt_prog_compiler_pic='-KPIC'
8410       lt_prog_compiler_static='-Bstatic'
8411       ;;
8412
8413     unicos*)
8414       lt_prog_compiler_wl='-Wl,'
8415       lt_prog_compiler_can_build_shared=no
8416       ;;
8417
8418     uts4*)
8419       lt_prog_compiler_pic='-pic'
8420       lt_prog_compiler_static='-Bstatic'
8421       ;;
8422
8423     *)
8424       lt_prog_compiler_can_build_shared=no
8425       ;;
8426     esac
8427   fi
8428
8429 case $host_os in
8430   # For platforms which do not support PIC, -DPIC is meaningless:
8431   *djgpp*)
8432     lt_prog_compiler_pic=
8433     ;;
8434   *)
8435     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8436     ;;
8437 esac
8438
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8440 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8441 if ${lt_cv_prog_compiler_pic+:} false; then :
8442   $as_echo_n "(cached) " >&6
8443 else
8444   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8445 fi
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8447 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8448 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8449
8450 #
8451 # Check to make sure the PIC flag actually works.
8452 #
8453 if test -n "$lt_prog_compiler_pic"; then
8454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8455 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8456 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8457   $as_echo_n "(cached) " >&6
8458 else
8459   lt_cv_prog_compiler_pic_works=no
8460    ac_outfile=conftest.$ac_objext
8461    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8462    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8463    # Insert the option either (1) after the last *FLAGS variable, or
8464    # (2) before a word containing "conftest.", or (3) at the end.
8465    # Note that $ac_compile itself does not contain backslashes and begins
8466    # with a dollar sign (not a hyphen), so the echo should work correctly.
8467    # The option is referenced via a variable to avoid confusing sed.
8468    lt_compile=`echo "$ac_compile" | $SED \
8469    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8470    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8471    -e 's:$: $lt_compiler_flag:'`
8472    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8473    (eval "$lt_compile" 2>conftest.err)
8474    ac_status=$?
8475    cat conftest.err >&5
8476    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477    if (exit $ac_status) && test -s "$ac_outfile"; then
8478      # The compiler can only warn and ignore the option if not recognized
8479      # So say no if there are warnings other than the usual output.
8480      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8481      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8482      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8483        lt_cv_prog_compiler_pic_works=yes
8484      fi
8485    fi
8486    $RM conftest*
8487
8488 fi
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8490 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8491
8492 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8493     case $lt_prog_compiler_pic in
8494      "" | " "*) ;;
8495      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8496      esac
8497 else
8498     lt_prog_compiler_pic=
8499      lt_prog_compiler_can_build_shared=no
8500 fi
8501
8502 fi
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514 #
8515 # Check to make sure the static flag actually works.
8516 #
8517 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8519 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8520 if ${lt_cv_prog_compiler_static_works+:} false; then :
8521   $as_echo_n "(cached) " >&6
8522 else
8523   lt_cv_prog_compiler_static_works=no
8524    save_LDFLAGS="$LDFLAGS"
8525    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8526    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8527    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8528      # The linker can only warn and ignore the option if not recognized
8529      # So say no if there are warnings
8530      if test -s conftest.err; then
8531        # Append any errors to the config.log.
8532        cat conftest.err 1>&5
8533        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8534        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8535        if diff conftest.exp conftest.er2 >/dev/null; then
8536          lt_cv_prog_compiler_static_works=yes
8537        fi
8538      else
8539        lt_cv_prog_compiler_static_works=yes
8540      fi
8541    fi
8542    $RM -r conftest*
8543    LDFLAGS="$save_LDFLAGS"
8544
8545 fi
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8547 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8548
8549 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8550     :
8551 else
8552     lt_prog_compiler_static=
8553 fi
8554
8555
8556
8557
8558
8559
8560
8561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8562 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8563 if ${lt_cv_prog_compiler_c_o+:} false; then :
8564   $as_echo_n "(cached) " >&6
8565 else
8566   lt_cv_prog_compiler_c_o=no
8567    $RM -r conftest 2>/dev/null
8568    mkdir conftest
8569    cd conftest
8570    mkdir out
8571    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8572
8573    lt_compiler_flag="-o out/conftest2.$ac_objext"
8574    # Insert the option either (1) after the last *FLAGS variable, or
8575    # (2) before a word containing "conftest.", or (3) at the end.
8576    # Note that $ac_compile itself does not contain backslashes and begins
8577    # with a dollar sign (not a hyphen), so the echo should work correctly.
8578    lt_compile=`echo "$ac_compile" | $SED \
8579    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8580    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8581    -e 's:$: $lt_compiler_flag:'`
8582    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8583    (eval "$lt_compile" 2>out/conftest.err)
8584    ac_status=$?
8585    cat out/conftest.err >&5
8586    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8588    then
8589      # The compiler can only warn and ignore the option if not recognized
8590      # So say no if there are warnings
8591      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8592      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8593      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8594        lt_cv_prog_compiler_c_o=yes
8595      fi
8596    fi
8597    chmod u+w . 2>&5
8598    $RM conftest*
8599    # SGI C++ compiler will create directory out/ii_files/ for
8600    # template instantiation
8601    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8602    $RM out/* && rmdir out
8603    cd ..
8604    $RM -r conftest
8605    $RM conftest*
8606
8607 fi
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8609 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8610
8611
8612
8613
8614
8615
8616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8617 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8618 if ${lt_cv_prog_compiler_c_o+:} false; then :
8619   $as_echo_n "(cached) " >&6
8620 else
8621   lt_cv_prog_compiler_c_o=no
8622    $RM -r conftest 2>/dev/null
8623    mkdir conftest
8624    cd conftest
8625    mkdir out
8626    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8627
8628    lt_compiler_flag="-o out/conftest2.$ac_objext"
8629    # Insert the option either (1) after the last *FLAGS variable, or
8630    # (2) before a word containing "conftest.", or (3) at the end.
8631    # Note that $ac_compile itself does not contain backslashes and begins
8632    # with a dollar sign (not a hyphen), so the echo should work correctly.
8633    lt_compile=`echo "$ac_compile" | $SED \
8634    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8635    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8636    -e 's:$: $lt_compiler_flag:'`
8637    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8638    (eval "$lt_compile" 2>out/conftest.err)
8639    ac_status=$?
8640    cat out/conftest.err >&5
8641    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8643    then
8644      # The compiler can only warn and ignore the option if not recognized
8645      # So say no if there are warnings
8646      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8647      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8648      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8649        lt_cv_prog_compiler_c_o=yes
8650      fi
8651    fi
8652    chmod u+w . 2>&5
8653    $RM conftest*
8654    # SGI C++ compiler will create directory out/ii_files/ for
8655    # template instantiation
8656    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8657    $RM out/* && rmdir out
8658    cd ..
8659    $RM -r conftest
8660    $RM conftest*
8661
8662 fi
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8664 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8665
8666
8667
8668
8669 hard_links="nottested"
8670 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8671   # do not overwrite the value of need_locks provided by the user
8672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8673 $as_echo_n "checking if we can lock with hard links... " >&6; }
8674   hard_links=yes
8675   $RM conftest*
8676   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8677   touch conftest.a
8678   ln conftest.a conftest.b 2>&5 || hard_links=no
8679   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8681 $as_echo "$hard_links" >&6; }
8682   if test "$hard_links" = no; then
8683     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8684 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8685     need_locks=warn
8686   fi
8687 else
8688   need_locks=no
8689 fi
8690
8691
8692
8693
8694
8695
8696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8697 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8698
8699   runpath_var=
8700   allow_undefined_flag=
8701   always_export_symbols=no
8702   archive_cmds=
8703   archive_expsym_cmds=
8704   compiler_needs_object=no
8705   enable_shared_with_static_runtimes=no
8706   export_dynamic_flag_spec=
8707   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8708   hardcode_automatic=no
8709   hardcode_direct=no
8710   hardcode_direct_absolute=no
8711   hardcode_libdir_flag_spec=
8712   hardcode_libdir_separator=
8713   hardcode_minus_L=no
8714   hardcode_shlibpath_var=unsupported
8715   inherit_rpath=no
8716   link_all_deplibs=unknown
8717   module_cmds=
8718   module_expsym_cmds=
8719   old_archive_from_new_cmds=
8720   old_archive_from_expsyms_cmds=
8721   thread_safe_flag_spec=
8722   whole_archive_flag_spec=
8723   # include_expsyms should be a list of space-separated symbols to be *always*
8724   # included in the symbol list
8725   include_expsyms=
8726   # exclude_expsyms can be an extended regexp of symbols to exclude
8727   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8728   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8729   # as well as any symbol that contains `d'.
8730   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8731   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8732   # platforms (ab)use it in PIC code, but their linkers get confused if
8733   # the symbol is explicitly referenced.  Since portable code cannot
8734   # rely on this symbol name, it's probably fine to never include it in
8735   # preloaded symbol tables.
8736   # Exclude shared library initialization/finalization symbols.
8737   extract_expsyms_cmds=
8738
8739   case $host_os in
8740   cygwin* | mingw* | pw32* | cegcc*)
8741     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8742     # When not using gcc, we currently assume that we are using
8743     # Microsoft Visual C++.
8744     if test "$GCC" != yes; then
8745       with_gnu_ld=no
8746     fi
8747     ;;
8748   interix*)
8749     # we just hope/assume this is gcc and not c89 (= MSVC++)
8750     with_gnu_ld=yes
8751     ;;
8752   openbsd*)
8753     with_gnu_ld=no
8754     ;;
8755   linux* | k*bsd*-gnu | gnu*)
8756     link_all_deplibs=no
8757     ;;
8758   esac
8759
8760   ld_shlibs=yes
8761
8762   # On some targets, GNU ld is compatible enough with the native linker
8763   # that we're better off using the native interface for both.
8764   lt_use_gnu_ld_interface=no
8765   if test "$with_gnu_ld" = yes; then
8766     case $host_os in
8767       aix*)
8768         # The AIX port of GNU ld has always aspired to compatibility
8769         # with the native linker.  However, as the warning in the GNU ld
8770         # block says, versions before 2.19.5* couldn't really create working
8771         # shared libraries, regardless of the interface used.
8772         case `$LD -v 2>&1` in
8773           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8774           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8775           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8776           *)
8777             lt_use_gnu_ld_interface=yes
8778             ;;
8779         esac
8780         ;;
8781       *)
8782         lt_use_gnu_ld_interface=yes
8783         ;;
8784     esac
8785   fi
8786
8787   if test "$lt_use_gnu_ld_interface" = yes; then
8788     # If archive_cmds runs LD, not CC, wlarc should be empty
8789     wlarc='${wl}'
8790
8791     # Set some defaults for GNU ld with shared library support. These
8792     # are reset later if shared libraries are not supported. Putting them
8793     # here allows them to be overridden if necessary.
8794     runpath_var=LD_RUN_PATH
8795     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8796     export_dynamic_flag_spec='${wl}--export-dynamic'
8797     # ancient GNU ld didn't support --whole-archive et. al.
8798     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8799       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8800     else
8801       whole_archive_flag_spec=
8802     fi
8803     supports_anon_versioning=no
8804     case `$LD -v 2>&1` in
8805       *GNU\ gold*) supports_anon_versioning=yes ;;
8806       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8807       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8808       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8809       *\ 2.11.*) ;; # other 2.11 versions
8810       *) supports_anon_versioning=yes ;;
8811     esac
8812
8813     # See if GNU ld supports shared libraries.
8814     case $host_os in
8815     aix[3-9]*)
8816       # On AIX/PPC, the GNU linker is very broken
8817       if test "$host_cpu" != ia64; then
8818         ld_shlibs=no
8819         cat <<_LT_EOF 1>&2
8820
8821 *** Warning: the GNU linker, at least up to release 2.19, is reported
8822 *** to be unable to reliably create shared libraries on AIX.
8823 *** Therefore, libtool is disabling shared libraries support.  If you
8824 *** really care for shared libraries, you may want to install binutils
8825 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8826 *** You will then need to restart the configuration process.
8827
8828 _LT_EOF
8829       fi
8830       ;;
8831
8832     amigaos*)
8833       case $host_cpu in
8834       powerpc)
8835             # see comment about AmigaOS4 .so support
8836             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8837             archive_expsym_cmds=''
8838         ;;
8839       m68k)
8840             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)'
8841             hardcode_libdir_flag_spec='-L$libdir'
8842             hardcode_minus_L=yes
8843         ;;
8844       esac
8845       ;;
8846
8847     beos*)
8848       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8849         allow_undefined_flag=unsupported
8850         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8851         # support --undefined.  This deserves some investigation.  FIXME
8852         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8853       else
8854         ld_shlibs=no
8855       fi
8856       ;;
8857
8858     cygwin* | mingw* | pw32* | cegcc*)
8859       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8860       # as there is no search path for DLLs.
8861       hardcode_libdir_flag_spec='-L$libdir'
8862       export_dynamic_flag_spec='${wl}--export-all-symbols'
8863       allow_undefined_flag=unsupported
8864       always_export_symbols=no
8865       enable_shared_with_static_runtimes=yes
8866       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'
8867       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8868
8869       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8870         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8871         # If the export-symbols file already is a .def file (1st line
8872         # is EXPORTS), use it as is; otherwise, prepend...
8873         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8874           cp $export_symbols $output_objdir/$soname.def;
8875         else
8876           echo EXPORTS > $output_objdir/$soname.def;
8877           cat $export_symbols >> $output_objdir/$soname.def;
8878         fi~
8879         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8880       else
8881         ld_shlibs=no
8882       fi
8883       ;;
8884
8885     haiku*)
8886       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8887       link_all_deplibs=yes
8888       ;;
8889
8890     interix[3-9]*)
8891       hardcode_direct=no
8892       hardcode_shlibpath_var=no
8893       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8894       export_dynamic_flag_spec='${wl}-E'
8895       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8896       # Instead, shared libraries are loaded at an image base (0x10000000 by
8897       # default) and relocated if they conflict, which is a slow very memory
8898       # consuming and fragmenting process.  To avoid this, we pick a random,
8899       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8900       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8901       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8902       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'
8903       ;;
8904
8905     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8906       tmp_diet=no
8907       if test "$host_os" = linux-dietlibc; then
8908         case $cc_basename in
8909           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8910         esac
8911       fi
8912       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8913          && test "$tmp_diet" = no
8914       then
8915         tmp_addflag=' $pic_flag'
8916         tmp_sharedflag='-shared'
8917         case $cc_basename,$host_cpu in
8918         pgcc*)                          # Portland Group C compiler
8919           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'
8920           tmp_addflag=' $pic_flag'
8921           ;;
8922         pgf77* | pgf90* | pgf95* | pgfortran*)
8923                                         # Portland Group f77 and f90 compilers
8924           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'
8925           tmp_addflag=' $pic_flag -Mnomain' ;;
8926         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8927           tmp_addflag=' -i_dynamic' ;;
8928         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8929           tmp_addflag=' -i_dynamic -nofor_main' ;;
8930         ifc* | ifort*)                  # Intel Fortran compiler
8931           tmp_addflag=' -nofor_main' ;;
8932         lf95*)                          # Lahey Fortran 8.1
8933           whole_archive_flag_spec=
8934           tmp_sharedflag='--shared' ;;
8935         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8936           tmp_sharedflag='-qmkshrobj'
8937           tmp_addflag= ;;
8938         nvcc*)  # Cuda Compiler Driver 2.2
8939           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'
8940           compiler_needs_object=yes
8941           ;;
8942         esac
8943         case `$CC -V 2>&1 | sed 5q` in
8944         *Sun\ C*)                       # Sun C 5.9
8945           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'
8946           compiler_needs_object=yes
8947           tmp_sharedflag='-G' ;;
8948         *Sun\ F*)                       # Sun Fortran 8.3
8949           tmp_sharedflag='-G' ;;
8950         esac
8951         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8952
8953         if test "x$supports_anon_versioning" = xyes; then
8954           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8955             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8956             echo "local: *; };" >> $output_objdir/$libname.ver~
8957             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8958         fi
8959
8960         case $cc_basename in
8961         xlf* | bgf* | bgxlf* | mpixlf*)
8962           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8963           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8964           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8965           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8966           if test "x$supports_anon_versioning" = xyes; then
8967             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8968               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8969               echo "local: *; };" >> $output_objdir/$libname.ver~
8970               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8971           fi
8972           ;;
8973         esac
8974       else
8975         ld_shlibs=no
8976       fi
8977       ;;
8978
8979     netbsd* | netbsdelf*-gnu)
8980       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8981         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8982         wlarc=
8983       else
8984         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8985         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8986       fi
8987       ;;
8988
8989     solaris*)
8990       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8991         ld_shlibs=no
8992         cat <<_LT_EOF 1>&2
8993
8994 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8995 *** create shared libraries on Solaris systems.  Therefore, libtool
8996 *** is disabling shared libraries support.  We urge you to upgrade GNU
8997 *** binutils to release 2.9.1 or newer.  Another option is to modify
8998 *** your PATH or compiler configuration so that the native linker is
8999 *** used, and then restart.
9000
9001 _LT_EOF
9002       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9003         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9004         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9005       else
9006         ld_shlibs=no
9007       fi
9008       ;;
9009
9010     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9011       case `$LD -v 2>&1` in
9012         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9013         ld_shlibs=no
9014         cat <<_LT_EOF 1>&2
9015
9016 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9017 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9018 *** is disabling shared libraries support.  We urge you to upgrade GNU
9019 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9020 *** your PATH or compiler configuration so that the native linker is
9021 *** used, and then restart.
9022
9023 _LT_EOF
9024         ;;
9025         *)
9026           # For security reasons, it is highly recommended that you always
9027           # use absolute paths for naming shared libraries, and exclude the
9028           # DT_RUNPATH tag from executables and libraries.  But doing so
9029           # requires that you compile everything twice, which is a pain.
9030           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9031             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9032             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9033             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9034           else
9035             ld_shlibs=no
9036           fi
9037         ;;
9038       esac
9039       ;;
9040
9041     sunos4*)
9042       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9043       wlarc=
9044       hardcode_direct=yes
9045       hardcode_shlibpath_var=no
9046       ;;
9047
9048     *)
9049       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9050         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9051         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9052       else
9053         ld_shlibs=no
9054       fi
9055       ;;
9056     esac
9057
9058     if test "$ld_shlibs" = no; then
9059       runpath_var=
9060       hardcode_libdir_flag_spec=
9061       export_dynamic_flag_spec=
9062       whole_archive_flag_spec=
9063     fi
9064   else
9065     # PORTME fill in a description of your system's linker (not GNU ld)
9066     case $host_os in
9067     aix3*)
9068       allow_undefined_flag=unsupported
9069       always_export_symbols=yes
9070       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'
9071       # Note: this linker hardcodes the directories in LIBPATH if there
9072       # are no directories specified by -L.
9073       hardcode_minus_L=yes
9074       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9075         # Neither direct hardcoding nor static linking is supported with a
9076         # broken collect2.
9077         hardcode_direct=unsupported
9078       fi
9079       ;;
9080
9081     aix[4-9]*)
9082       if test "$host_cpu" = ia64; then
9083         # On IA64, the linker does run time linking by default, so we don't
9084         # have to do anything special.
9085         aix_use_runtimelinking=no
9086         exp_sym_flag='-Bexport'
9087         no_entry_flag=""
9088       else
9089         # If we're using GNU nm, then we don't want the "-C" option.
9090         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9091         # Also, AIX nm treats weak defined symbols like other global
9092         # defined symbols, whereas GNU nm marks them as "W".
9093         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9094           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'
9095         else
9096           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'
9097         fi
9098         aix_use_runtimelinking=no
9099
9100         # Test if we are trying to use run time linking or normal
9101         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9102         # need to do runtime linking.
9103         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9104           for ld_flag in $LDFLAGS; do
9105           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9106             aix_use_runtimelinking=yes
9107             break
9108           fi
9109           done
9110           ;;
9111         esac
9112
9113         exp_sym_flag='-bexport'
9114         no_entry_flag='-bnoentry'
9115       fi
9116
9117       # When large executables or shared objects are built, AIX ld can
9118       # have problems creating the table of contents.  If linking a library
9119       # or program results in "error TOC overflow" add -mminimal-toc to
9120       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9121       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9122
9123       archive_cmds=''
9124       hardcode_direct=yes
9125       hardcode_direct_absolute=yes
9126       hardcode_libdir_separator=':'
9127       link_all_deplibs=yes
9128       file_list_spec='${wl}-f,'
9129
9130       if test "$GCC" = yes; then
9131         case $host_os in aix4.[012]|aix4.[012].*)
9132         # We only want to do this on AIX 4.2 and lower, the check
9133         # below for broken collect2 doesn't work under 4.3+
9134           collect2name=`${CC} -print-prog-name=collect2`
9135           if test -f "$collect2name" &&
9136            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9137           then
9138           # We have reworked collect2
9139           :
9140           else
9141           # We have old collect2
9142           hardcode_direct=unsupported
9143           # It fails to find uninstalled libraries when the uninstalled
9144           # path is not listed in the libpath.  Setting hardcode_minus_L
9145           # to unsupported forces relinking
9146           hardcode_minus_L=yes
9147           hardcode_libdir_flag_spec='-L$libdir'
9148           hardcode_libdir_separator=
9149           fi
9150           ;;
9151         esac
9152         shared_flag='-shared'
9153         if test "$aix_use_runtimelinking" = yes; then
9154           shared_flag="$shared_flag "'${wl}-G'
9155         fi
9156         link_all_deplibs=no
9157       else
9158         # not using gcc
9159         if test "$host_cpu" = ia64; then
9160         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9161         # chokes on -Wl,-G. The following line is correct:
9162           shared_flag='-G'
9163         else
9164           if test "$aix_use_runtimelinking" = yes; then
9165             shared_flag='${wl}-G'
9166           else
9167             shared_flag='${wl}-bM:SRE'
9168           fi
9169         fi
9170       fi
9171
9172       export_dynamic_flag_spec='${wl}-bexpall'
9173       # It seems that -bexpall does not export symbols beginning with
9174       # underscore (_), so it is better to generate a list of symbols to export.
9175       always_export_symbols=yes
9176       if test "$aix_use_runtimelinking" = yes; then
9177         # Warning - without using the other runtime loading flags (-brtl),
9178         # -berok will link without error, but may produce a broken library.
9179         allow_undefined_flag='-berok'
9180         # Determine the default libpath from the value encoded in an
9181         # empty executable.
9182         if test "${lt_cv_aix_libpath+set}" = set; then
9183   aix_libpath=$lt_cv_aix_libpath
9184 else
9185   if ${lt_cv_aix_libpath_+:} false; then :
9186   $as_echo_n "(cached) " >&6
9187 else
9188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h.  */
9190
9191 int
9192 main ()
9193 {
9194
9195   ;
9196   return 0;
9197 }
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9200
9201   lt_aix_libpath_sed='
9202       /Import File Strings/,/^$/ {
9203           /^0/ {
9204               s/^0  *\([^ ]*\) *$/\1/
9205               p
9206           }
9207       }'
9208   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9209   # Check for a 64-bit object if we didn't find anything.
9210   if test -z "$lt_cv_aix_libpath_"; then
9211     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9212   fi
9213 fi
9214 rm -f core conftest.err conftest.$ac_objext \
9215     conftest$ac_exeext conftest.$ac_ext
9216   if test -z "$lt_cv_aix_libpath_"; then
9217     lt_cv_aix_libpath_="/usr/lib:/lib"
9218   fi
9219
9220 fi
9221
9222   aix_libpath=$lt_cv_aix_libpath_
9223 fi
9224
9225         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9226         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"
9227       else
9228         if test "$host_cpu" = ia64; then
9229           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9230           allow_undefined_flag="-z nodefs"
9231           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"
9232         else
9233          # Determine the default libpath from the value encoded in an
9234          # empty executable.
9235          if test "${lt_cv_aix_libpath+set}" = set; then
9236   aix_libpath=$lt_cv_aix_libpath
9237 else
9238   if ${lt_cv_aix_libpath_+:} false; then :
9239   $as_echo_n "(cached) " >&6
9240 else
9241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h.  */
9243
9244 int
9245 main ()
9246 {
9247
9248   ;
9249   return 0;
9250 }
9251 _ACEOF
9252 if ac_fn_c_try_link "$LINENO"; then :
9253
9254   lt_aix_libpath_sed='
9255       /Import File Strings/,/^$/ {
9256           /^0/ {
9257               s/^0  *\([^ ]*\) *$/\1/
9258               p
9259           }
9260       }'
9261   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9262   # Check for a 64-bit object if we didn't find anything.
9263   if test -z "$lt_cv_aix_libpath_"; then
9264     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9265   fi
9266 fi
9267 rm -f core conftest.err conftest.$ac_objext \
9268     conftest$ac_exeext conftest.$ac_ext
9269   if test -z "$lt_cv_aix_libpath_"; then
9270     lt_cv_aix_libpath_="/usr/lib:/lib"
9271   fi
9272
9273 fi
9274
9275   aix_libpath=$lt_cv_aix_libpath_
9276 fi
9277
9278          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9279           # Warning - without using the other run time loading flags,
9280           # -berok will link without error, but may produce a broken library.
9281           no_undefined_flag=' ${wl}-bernotok'
9282           allow_undefined_flag=' ${wl}-berok'
9283           if test "$with_gnu_ld" = yes; then
9284             # We only use this code for GNU lds that support --whole-archive.
9285             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9286           else
9287             # Exported symbols can be pulled into shared objects from archives
9288             whole_archive_flag_spec='$convenience'
9289           fi
9290           archive_cmds_need_lc=yes
9291           # This is similar to how AIX traditionally builds its shared libraries.
9292           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'
9293         fi
9294       fi
9295       ;;
9296
9297     amigaos*)
9298       case $host_cpu in
9299       powerpc)
9300             # see comment about AmigaOS4 .so support
9301             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302             archive_expsym_cmds=''
9303         ;;
9304       m68k)
9305             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)'
9306             hardcode_libdir_flag_spec='-L$libdir'
9307             hardcode_minus_L=yes
9308         ;;
9309       esac
9310       ;;
9311
9312     bsdi[45]*)
9313       export_dynamic_flag_spec=-rdynamic
9314       ;;
9315
9316     cygwin* | mingw* | pw32* | cegcc*)
9317       # When not using gcc, we currently assume that we are using
9318       # Microsoft Visual C++.
9319       # hardcode_libdir_flag_spec is actually meaningless, as there is
9320       # no search path for DLLs.
9321       case $cc_basename in
9322       cl*)
9323         # Native MSVC
9324         hardcode_libdir_flag_spec=' '
9325         allow_undefined_flag=unsupported
9326         always_export_symbols=yes
9327         file_list_spec='@'
9328         # Tell ltmain to make .lib files, not .a files.
9329         libext=lib
9330         # Tell ltmain to make .dll files, not .so files.
9331         shrext_cmds=".dll"
9332         # FIXME: Setting linknames here is a bad hack.
9333         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9334         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9335             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9336           else
9337             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9338           fi~
9339           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9340           linknames='
9341         # The linker will not automatically build a static lib if we build a DLL.
9342         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9343         enable_shared_with_static_runtimes=yes
9344         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9345         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9346         # Don't use ranlib
9347         old_postinstall_cmds='chmod 644 $oldlib'
9348         postlink_cmds='lt_outputfile="@OUTPUT@"~
9349           lt_tool_outputfile="@TOOL_OUTPUT@"~
9350           case $lt_outputfile in
9351             *.exe|*.EXE) ;;
9352             *)
9353               lt_outputfile="$lt_outputfile.exe"
9354               lt_tool_outputfile="$lt_tool_outputfile.exe"
9355               ;;
9356           esac~
9357           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9358             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9359             $RM "$lt_outputfile.manifest";
9360           fi'
9361         ;;
9362       *)
9363         # Assume MSVC wrapper
9364         hardcode_libdir_flag_spec=' '
9365         allow_undefined_flag=unsupported
9366         # Tell ltmain to make .lib files, not .a files.
9367         libext=lib
9368         # Tell ltmain to make .dll files, not .so files.
9369         shrext_cmds=".dll"
9370         # FIXME: Setting linknames here is a bad hack.
9371         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9372         # The linker will automatically build a .lib file if we build a DLL.
9373         old_archive_from_new_cmds='true'
9374         # FIXME: Should let the user specify the lib program.
9375         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9376         enable_shared_with_static_runtimes=yes
9377         ;;
9378       esac
9379       ;;
9380
9381     darwin* | rhapsody*)
9382
9383
9384   archive_cmds_need_lc=no
9385   hardcode_direct=no
9386   hardcode_automatic=yes
9387   hardcode_shlibpath_var=unsupported
9388   if test "$lt_cv_ld_force_load" = "yes"; then
9389     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\"`'
9390
9391   else
9392     whole_archive_flag_spec=''
9393   fi
9394   link_all_deplibs=yes
9395   allow_undefined_flag="$_lt_dar_allow_undefined"
9396   case $cc_basename in
9397      ifort*) _lt_dar_can_shared=yes ;;
9398      *) _lt_dar_can_shared=$GCC ;;
9399   esac
9400   if test "$_lt_dar_can_shared" = "yes"; then
9401     output_verbose_link_cmd=func_echo_all
9402     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9403     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9404     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}"
9405     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}"
9406
9407   else
9408   ld_shlibs=no
9409   fi
9410
9411       ;;
9412
9413     dgux*)
9414       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9415       hardcode_libdir_flag_spec='-L$libdir'
9416       hardcode_shlibpath_var=no
9417       ;;
9418
9419     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9420     # support.  Future versions do this automatically, but an explicit c++rt0.o
9421     # does not break anything, and helps significantly (at the cost of a little
9422     # extra space).
9423     freebsd2.2*)
9424       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9425       hardcode_libdir_flag_spec='-R$libdir'
9426       hardcode_direct=yes
9427       hardcode_shlibpath_var=no
9428       ;;
9429
9430     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9431     freebsd2.*)
9432       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9433       hardcode_direct=yes
9434       hardcode_minus_L=yes
9435       hardcode_shlibpath_var=no
9436       ;;
9437
9438     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9439     freebsd* | dragonfly*)
9440       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9441       hardcode_libdir_flag_spec='-R$libdir'
9442       hardcode_direct=yes
9443       hardcode_shlibpath_var=no
9444       ;;
9445
9446     hpux9*)
9447       if test "$GCC" = yes; then
9448         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'
9449       else
9450         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'
9451       fi
9452       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9453       hardcode_libdir_separator=:
9454       hardcode_direct=yes
9455
9456       # hardcode_minus_L: Not really in the search PATH,
9457       # but as the default location of the library.
9458       hardcode_minus_L=yes
9459       export_dynamic_flag_spec='${wl}-E'
9460       ;;
9461
9462     hpux10*)
9463       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9464         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9465       else
9466         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9467       fi
9468       if test "$with_gnu_ld" = no; then
9469         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9470         hardcode_libdir_separator=:
9471         hardcode_direct=yes
9472         hardcode_direct_absolute=yes
9473         export_dynamic_flag_spec='${wl}-E'
9474         # hardcode_minus_L: Not really in the search PATH,
9475         # but as the default location of the library.
9476         hardcode_minus_L=yes
9477       fi
9478       ;;
9479
9480     hpux11*)
9481       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9482         case $host_cpu in
9483         hppa*64*)
9484           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9485           ;;
9486         ia64*)
9487           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9488           ;;
9489         *)
9490           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9491           ;;
9492         esac
9493       else
9494         case $host_cpu in
9495         hppa*64*)
9496           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9497           ;;
9498         ia64*)
9499           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9500           ;;
9501         *)
9502
9503           # Older versions of the 11.00 compiler do not understand -b yet
9504           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9505           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9506 $as_echo_n "checking if $CC understands -b... " >&6; }
9507 if ${lt_cv_prog_compiler__b+:} false; then :
9508   $as_echo_n "(cached) " >&6
9509 else
9510   lt_cv_prog_compiler__b=no
9511    save_LDFLAGS="$LDFLAGS"
9512    LDFLAGS="$LDFLAGS -b"
9513    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9514    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9515      # The linker can only warn and ignore the option if not recognized
9516      # So say no if there are warnings
9517      if test -s conftest.err; then
9518        # Append any errors to the config.log.
9519        cat conftest.err 1>&5
9520        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9521        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9522        if diff conftest.exp conftest.er2 >/dev/null; then
9523          lt_cv_prog_compiler__b=yes
9524        fi
9525      else
9526        lt_cv_prog_compiler__b=yes
9527      fi
9528    fi
9529    $RM -r conftest*
9530    LDFLAGS="$save_LDFLAGS"
9531
9532 fi
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9534 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9535
9536 if test x"$lt_cv_prog_compiler__b" = xyes; then
9537     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9538 else
9539     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9540 fi
9541
9542           ;;
9543         esac
9544       fi
9545       if test "$with_gnu_ld" = no; then
9546         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9547         hardcode_libdir_separator=:
9548
9549         case $host_cpu in
9550         hppa*64*|ia64*)
9551           hardcode_direct=no
9552           hardcode_shlibpath_var=no
9553           ;;
9554         *)
9555           hardcode_direct=yes
9556           hardcode_direct_absolute=yes
9557           export_dynamic_flag_spec='${wl}-E'
9558
9559           # hardcode_minus_L: Not really in the search PATH,
9560           # but as the default location of the library.
9561           hardcode_minus_L=yes
9562           ;;
9563         esac
9564       fi
9565       ;;
9566
9567     irix5* | irix6* | nonstopux*)
9568       if test "$GCC" = yes; then
9569         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'
9570         # Try to use the -exported_symbol ld option, if it does not
9571         # work, assume that -exports_file does not work either and
9572         # implicitly export all symbols.
9573         # This should be the same for all languages, so no per-tag cache variable.
9574         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9575 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9576 if ${lt_cv_irix_exported_symbol+:} false; then :
9577   $as_echo_n "(cached) " >&6
9578 else
9579   save_LDFLAGS="$LDFLAGS"
9580            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9581            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h.  */
9583 int foo (void) { return 0; }
9584 _ACEOF
9585 if ac_fn_c_try_link "$LINENO"; then :
9586   lt_cv_irix_exported_symbol=yes
9587 else
9588   lt_cv_irix_exported_symbol=no
9589 fi
9590 rm -f core conftest.err conftest.$ac_objext \
9591     conftest$ac_exeext conftest.$ac_ext
9592            LDFLAGS="$save_LDFLAGS"
9593 fi
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9595 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9596         if test "$lt_cv_irix_exported_symbol" = yes; then
9597           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'
9598         fi
9599       else
9600         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'
9601         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'
9602       fi
9603       archive_cmds_need_lc='no'
9604       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9605       hardcode_libdir_separator=:
9606       inherit_rpath=yes
9607       link_all_deplibs=yes
9608       ;;
9609
9610     netbsd* | netbsdelf*-gnu)
9611       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9612         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9613       else
9614         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9615       fi
9616       hardcode_libdir_flag_spec='-R$libdir'
9617       hardcode_direct=yes
9618       hardcode_shlibpath_var=no
9619       ;;
9620
9621     newsos6)
9622       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9623       hardcode_direct=yes
9624       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9625       hardcode_libdir_separator=:
9626       hardcode_shlibpath_var=no
9627       ;;
9628
9629     *nto* | *qnx*)
9630       ;;
9631
9632     openbsd*)
9633       if test -f /usr/libexec/ld.so; then
9634         hardcode_direct=yes
9635         hardcode_shlibpath_var=no
9636         hardcode_direct_absolute=yes
9637         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9638           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9639           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9640           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9641           export_dynamic_flag_spec='${wl}-E'
9642         else
9643           case $host_os in
9644            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9645              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9646              hardcode_libdir_flag_spec='-R$libdir'
9647              ;;
9648            *)
9649              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9650              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9651              ;;
9652           esac
9653         fi
9654       else
9655         ld_shlibs=no
9656       fi
9657       ;;
9658
9659     os2*)
9660       hardcode_libdir_flag_spec='-L$libdir'
9661       hardcode_minus_L=yes
9662       allow_undefined_flag=unsupported
9663       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'
9664       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9665       ;;
9666
9667     osf3*)
9668       if test "$GCC" = yes; then
9669         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9670         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'
9671       else
9672         allow_undefined_flag=' -expect_unresolved \*'
9673         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'
9674       fi
9675       archive_cmds_need_lc='no'
9676       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9677       hardcode_libdir_separator=:
9678       ;;
9679
9680     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9681       if test "$GCC" = yes; then
9682         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9683         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'
9684         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9685       else
9686         allow_undefined_flag=' -expect_unresolved \*'
9687         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'
9688         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~
9689         $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'
9690
9691         # Both c and cxx compiler support -rpath directly
9692         hardcode_libdir_flag_spec='-rpath $libdir'
9693       fi
9694       archive_cmds_need_lc='no'
9695       hardcode_libdir_separator=:
9696       ;;
9697
9698     solaris*)
9699       no_undefined_flag=' -z defs'
9700       if test "$GCC" = yes; then
9701         wlarc='${wl}'
9702         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9703         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9704           $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'
9705       else
9706         case `$CC -V 2>&1` in
9707         *"Compilers 5.0"*)
9708           wlarc=''
9709           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9710           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9711           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9712           ;;
9713         *)
9714           wlarc='${wl}'
9715           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9716           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9717           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9718           ;;
9719         esac
9720       fi
9721       hardcode_libdir_flag_spec='-R$libdir'
9722       hardcode_shlibpath_var=no
9723       case $host_os in
9724       solaris2.[0-5] | solaris2.[0-5].*) ;;
9725       *)
9726         # The compiler driver will combine and reorder linker options,
9727         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9728         # but is careful enough not to reorder.
9729         # Supported since Solaris 2.6 (maybe 2.5.1?)
9730         if test "$GCC" = yes; then
9731           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9732         else
9733           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9734         fi
9735         ;;
9736       esac
9737       link_all_deplibs=yes
9738       ;;
9739
9740     sunos4*)
9741       if test "x$host_vendor" = xsequent; then
9742         # Use $CC to link under sequent, because it throws in some extra .o
9743         # files that make .init and .fini sections work.
9744         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9745       else
9746         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9747       fi
9748       hardcode_libdir_flag_spec='-L$libdir'
9749       hardcode_direct=yes
9750       hardcode_minus_L=yes
9751       hardcode_shlibpath_var=no
9752       ;;
9753
9754     sysv4)
9755       case $host_vendor in
9756         sni)
9757           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9758           hardcode_direct=yes # is this really true???
9759         ;;
9760         siemens)
9761           ## LD is ld it makes a PLAMLIB
9762           ## CC just makes a GrossModule.
9763           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9764           reload_cmds='$CC -r -o $output$reload_objs'
9765           hardcode_direct=no
9766         ;;
9767         motorola)
9768           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9769           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9770         ;;
9771       esac
9772       runpath_var='LD_RUN_PATH'
9773       hardcode_shlibpath_var=no
9774       ;;
9775
9776     sysv4.3*)
9777       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9778       hardcode_shlibpath_var=no
9779       export_dynamic_flag_spec='-Bexport'
9780       ;;
9781
9782     sysv4*MP*)
9783       if test -d /usr/nec; then
9784         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9785         hardcode_shlibpath_var=no
9786         runpath_var=LD_RUN_PATH
9787         hardcode_runpath_var=yes
9788         ld_shlibs=yes
9789       fi
9790       ;;
9791
9792     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9793       no_undefined_flag='${wl}-z,text'
9794       archive_cmds_need_lc=no
9795       hardcode_shlibpath_var=no
9796       runpath_var='LD_RUN_PATH'
9797
9798       if test "$GCC" = yes; then
9799         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9800         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9801       else
9802         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9803         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9804       fi
9805       ;;
9806
9807     sysv5* | sco3.2v5* | sco5v6*)
9808       # Note: We can NOT use -z defs as we might desire, because we do not
9809       # link with -lc, and that would cause any symbols used from libc to
9810       # always be unresolved, which means just about no library would
9811       # ever link correctly.  If we're not using GNU ld we use -z text
9812       # though, which does catch some bad symbols but isn't as heavy-handed
9813       # as -z defs.
9814       no_undefined_flag='${wl}-z,text'
9815       allow_undefined_flag='${wl}-z,nodefs'
9816       archive_cmds_need_lc=no
9817       hardcode_shlibpath_var=no
9818       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9819       hardcode_libdir_separator=':'
9820       link_all_deplibs=yes
9821       export_dynamic_flag_spec='${wl}-Bexport'
9822       runpath_var='LD_RUN_PATH'
9823
9824       if test "$GCC" = yes; then
9825         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9826         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9827       else
9828         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9829         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9830       fi
9831       ;;
9832
9833     uts4*)
9834       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9835       hardcode_libdir_flag_spec='-L$libdir'
9836       hardcode_shlibpath_var=no
9837       ;;
9838
9839     *)
9840       ld_shlibs=no
9841       ;;
9842     esac
9843
9844     if test x$host_vendor = xsni; then
9845       case $host in
9846       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9847         export_dynamic_flag_spec='${wl}-Blargedynsym'
9848         ;;
9849       esac
9850     fi
9851   fi
9852
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9854 $as_echo "$ld_shlibs" >&6; }
9855 test "$ld_shlibs" = no && can_build_shared=no
9856
9857 with_gnu_ld=$with_gnu_ld
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873 #
9874 # Do we need to explicitly link libc?
9875 #
9876 case "x$archive_cmds_need_lc" in
9877 x|xyes)
9878   # Assume -lc should be added
9879   archive_cmds_need_lc=yes
9880
9881   if test "$enable_shared" = yes && test "$GCC" = yes; then
9882     case $archive_cmds in
9883     *'~'*)
9884       # FIXME: we may have to deal with multi-command sequences.
9885       ;;
9886     '$CC '*)
9887       # Test whether the compiler implicitly links with -lc since on some
9888       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9889       # to ld, don't add -lc before -lgcc.
9890       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9891 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9892 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9893   $as_echo_n "(cached) " >&6
9894 else
9895   $RM conftest*
9896         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9897
9898         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9899   (eval $ac_compile) 2>&5
9900   ac_status=$?
9901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9902   test $ac_status = 0; } 2>conftest.err; then
9903           soname=conftest
9904           lib=conftest
9905           libobjs=conftest.$ac_objext
9906           deplibs=
9907           wl=$lt_prog_compiler_wl
9908           pic_flag=$lt_prog_compiler_pic
9909           compiler_flags=-v
9910           linker_flags=-v
9911           verstring=
9912           output_objdir=.
9913           libname=conftest
9914           lt_save_allow_undefined_flag=$allow_undefined_flag
9915           allow_undefined_flag=
9916           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9917   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9918   ac_status=$?
9919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9920   test $ac_status = 0; }
9921           then
9922             lt_cv_archive_cmds_need_lc=no
9923           else
9924             lt_cv_archive_cmds_need_lc=yes
9925           fi
9926           allow_undefined_flag=$lt_save_allow_undefined_flag
9927         else
9928           cat conftest.err 1>&5
9929         fi
9930         $RM conftest*
9931
9932 fi
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9934 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9935       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9936       ;;
9937     esac
9938   fi
9939   ;;
9940 esac
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10094 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10095
10096 if test "$GCC" = yes; then
10097   case $host_os in
10098     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10099     *) lt_awk_arg="/^libraries:/" ;;
10100   esac
10101   case $host_os in
10102     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10103     *) lt_sed_strip_eq="s,=/,/,g" ;;
10104   esac
10105   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10106   case $lt_search_path_spec in
10107   *\;*)
10108     # if the path contains ";" then we assume it to be the separator
10109     # otherwise default to the standard path separator (i.e. ":") - it is
10110     # assumed that no part of a normal pathname contains ";" but that should
10111     # okay in the real world where ";" in dirpaths is itself problematic.
10112     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10113     ;;
10114   *)
10115     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10116     ;;
10117   esac
10118   # Ok, now we have the path, separated by spaces, we can step through it
10119   # and add multilib dir if necessary.
10120   lt_tmp_lt_search_path_spec=
10121   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10122   for lt_sys_path in $lt_search_path_spec; do
10123     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10124       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10125     else
10126       test -d "$lt_sys_path" && \
10127         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10128     fi
10129   done
10130   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10131 BEGIN {RS=" "; FS="/|\n";} {
10132   lt_foo="";
10133   lt_count=0;
10134   for (lt_i = NF; lt_i > 0; lt_i--) {
10135     if ($lt_i != "" && $lt_i != ".") {
10136       if ($lt_i == "..") {
10137         lt_count++;
10138       } else {
10139         if (lt_count == 0) {
10140           lt_foo="/" $lt_i lt_foo;
10141         } else {
10142           lt_count--;
10143         }
10144       }
10145     }
10146   }
10147   if (lt_foo != "") { lt_freq[lt_foo]++; }
10148   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10149 }'`
10150   # AWK program above erroneously prepends '/' to C:/dos/paths
10151   # for these hosts.
10152   case $host_os in
10153     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10154       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10155   esac
10156   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10157 else
10158   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10159 fi
10160 library_names_spec=
10161 libname_spec='lib$name'
10162 soname_spec=
10163 shrext_cmds=".so"
10164 postinstall_cmds=
10165 postuninstall_cmds=
10166 finish_cmds=
10167 finish_eval=
10168 shlibpath_var=
10169 shlibpath_overrides_runpath=unknown
10170 version_type=none
10171 dynamic_linker="$host_os ld.so"
10172 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10173 need_lib_prefix=unknown
10174 hardcode_into_libs=no
10175
10176 # when you set need_version to no, make sure it does not cause -set_version
10177 # flags to be left without arguments
10178 need_version=unknown
10179
10180 case $host_os in
10181 aix3*)
10182   version_type=linux # correct to gnu/linux during the next big refactor
10183   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10184   shlibpath_var=LIBPATH
10185
10186   # AIX 3 has no versioning support, so we append a major version to the name.
10187   soname_spec='${libname}${release}${shared_ext}$major'
10188   ;;
10189
10190 aix[4-9]*)
10191   version_type=linux # correct to gnu/linux during the next big refactor
10192   need_lib_prefix=no
10193   need_version=no
10194   hardcode_into_libs=yes
10195   if test "$host_cpu" = ia64; then
10196     # AIX 5 supports IA64
10197     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10198     shlibpath_var=LD_LIBRARY_PATH
10199   else
10200     # With GCC up to 2.95.x, collect2 would create an import file
10201     # for dependence libraries.  The import file would start with
10202     # the line `#! .'.  This would cause the generated library to
10203     # depend on `.', always an invalid library.  This was fixed in
10204     # development snapshots of GCC prior to 3.0.
10205     case $host_os in
10206       aix4 | aix4.[01] | aix4.[01].*)
10207       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10208            echo ' yes '
10209            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10210         :
10211       else
10212         can_build_shared=no
10213       fi
10214       ;;
10215     esac
10216     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10217     # soname into executable. Probably we can add versioning support to
10218     # collect2, so additional links can be useful in future.
10219     if test "$aix_use_runtimelinking" = yes; then
10220       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10221       # instead of lib<name>.a to let people know that these are not
10222       # typical AIX shared libraries.
10223       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10224     else
10225       # We preserve .a as extension for shared libraries through AIX4.2
10226       # and later when we are not doing run time linking.
10227       library_names_spec='${libname}${release}.a $libname.a'
10228       soname_spec='${libname}${release}${shared_ext}$major'
10229     fi
10230     shlibpath_var=LIBPATH
10231   fi
10232   ;;
10233
10234 amigaos*)
10235   case $host_cpu in
10236   powerpc)
10237     # Since July 2007 AmigaOS4 officially supports .so libraries.
10238     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10239     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10240     ;;
10241   m68k)
10242     library_names_spec='$libname.ixlibrary $libname.a'
10243     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10244     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'
10245     ;;
10246   esac
10247   ;;
10248
10249 beos*)
10250   library_names_spec='${libname}${shared_ext}'
10251   dynamic_linker="$host_os ld.so"
10252   shlibpath_var=LIBRARY_PATH
10253   ;;
10254
10255 bsdi[45]*)
10256   version_type=linux # correct to gnu/linux during the next big refactor
10257   need_version=no
10258   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10259   soname_spec='${libname}${release}${shared_ext}$major'
10260   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10261   shlibpath_var=LD_LIBRARY_PATH
10262   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10263   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10264   # the default ld.so.conf also contains /usr/contrib/lib and
10265   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10266   # libtool to hard-code these into programs
10267   ;;
10268
10269 cygwin* | mingw* | pw32* | cegcc*)
10270   version_type=windows
10271   shrext_cmds=".dll"
10272   need_version=no
10273   need_lib_prefix=no
10274
10275   case $GCC,$cc_basename in
10276   yes,*)
10277     # gcc
10278     library_names_spec='$libname.dll.a'
10279     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10280     postinstall_cmds='base_file=`basename \${file}`~
10281       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10282       dldir=$destdir/`dirname \$dlpath`~
10283       test -d \$dldir || mkdir -p \$dldir~
10284       $install_prog $dir/$dlname \$dldir/$dlname~
10285       chmod a+x \$dldir/$dlname~
10286       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10287         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10288       fi'
10289     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10290       dlpath=$dir/\$dldll~
10291        $RM \$dlpath'
10292     shlibpath_overrides_runpath=yes
10293
10294     case $host_os in
10295     cygwin*)
10296       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10297       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10298
10299       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10300       ;;
10301     mingw* | cegcc*)
10302       # MinGW DLLs use traditional 'lib' prefix
10303       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10304       ;;
10305     pw32*)
10306       # pw32 DLLs use 'pw' prefix rather than 'lib'
10307       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10308       ;;
10309     esac
10310     dynamic_linker='Win32 ld.exe'
10311     ;;
10312
10313   *,cl*)
10314     # Native MSVC
10315     libname_spec='$name'
10316     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10317     library_names_spec='${libname}.dll.lib'
10318
10319     case $build_os in
10320     mingw*)
10321       sys_lib_search_path_spec=
10322       lt_save_ifs=$IFS
10323       IFS=';'
10324       for lt_path in $LIB
10325       do
10326         IFS=$lt_save_ifs
10327         # Let DOS variable expansion print the short 8.3 style file name.
10328         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10329         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10330       done
10331       IFS=$lt_save_ifs
10332       # Convert to MSYS style.
10333       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10334       ;;
10335     cygwin*)
10336       # Convert to unix form, then to dos form, then back to unix form
10337       # but this time dos style (no spaces!) so that the unix form looks
10338       # like /cygdrive/c/PROGRA~1:/cygdr...
10339       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10340       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10341       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10342       ;;
10343     *)
10344       sys_lib_search_path_spec="$LIB"
10345       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10346         # It is most probably a Windows format PATH.
10347         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10348       else
10349         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10350       fi
10351       # FIXME: find the short name or the path components, as spaces are
10352       # common. (e.g. "Program Files" -> "PROGRA~1")
10353       ;;
10354     esac
10355
10356     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10357     postinstall_cmds='base_file=`basename \${file}`~
10358       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10359       dldir=$destdir/`dirname \$dlpath`~
10360       test -d \$dldir || mkdir -p \$dldir~
10361       $install_prog $dir/$dlname \$dldir/$dlname'
10362     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10363       dlpath=$dir/\$dldll~
10364        $RM \$dlpath'
10365     shlibpath_overrides_runpath=yes
10366     dynamic_linker='Win32 link.exe'
10367     ;;
10368
10369   *)
10370     # Assume MSVC wrapper
10371     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10372     dynamic_linker='Win32 ld.exe'
10373     ;;
10374   esac
10375   # FIXME: first we should search . and the directory the executable is in
10376   shlibpath_var=PATH
10377   ;;
10378
10379 darwin* | rhapsody*)
10380   dynamic_linker="$host_os dyld"
10381   version_type=darwin
10382   need_lib_prefix=no
10383   need_version=no
10384   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10385   soname_spec='${libname}${release}${major}$shared_ext'
10386   shlibpath_overrides_runpath=yes
10387   shlibpath_var=DYLD_LIBRARY_PATH
10388   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10389
10390   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10391   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10392   ;;
10393
10394 dgux*)
10395   version_type=linux # correct to gnu/linux during the next big refactor
10396   need_lib_prefix=no
10397   need_version=no
10398   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10399   soname_spec='${libname}${release}${shared_ext}$major'
10400   shlibpath_var=LD_LIBRARY_PATH
10401   ;;
10402
10403 freebsd* | dragonfly*)
10404   # DragonFly does not have aout.  When/if they implement a new
10405   # versioning mechanism, adjust this.
10406   if test -x /usr/bin/objformat; then
10407     objformat=`/usr/bin/objformat`
10408   else
10409     case $host_os in
10410     freebsd[23].*) objformat=aout ;;
10411     *) objformat=elf ;;
10412     esac
10413   fi
10414   version_type=freebsd-$objformat
10415   case $version_type in
10416     freebsd-elf*)
10417       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10418       need_version=no
10419       need_lib_prefix=no
10420       ;;
10421     freebsd-*)
10422       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10423       need_version=yes
10424       ;;
10425   esac
10426   shlibpath_var=LD_LIBRARY_PATH
10427   case $host_os in
10428   freebsd2.*)
10429     shlibpath_overrides_runpath=yes
10430     ;;
10431   freebsd3.[01]* | freebsdelf3.[01]*)
10432     shlibpath_overrides_runpath=yes
10433     hardcode_into_libs=yes
10434     ;;
10435   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10436   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10437     shlibpath_overrides_runpath=no
10438     hardcode_into_libs=yes
10439     ;;
10440   *) # from 4.6 on, and DragonFly
10441     shlibpath_overrides_runpath=yes
10442     hardcode_into_libs=yes
10443     ;;
10444   esac
10445   ;;
10446
10447 haiku*)
10448   version_type=linux # correct to gnu/linux during the next big refactor
10449   need_lib_prefix=no
10450   need_version=no
10451   dynamic_linker="$host_os runtime_loader"
10452   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10453   soname_spec='${libname}${release}${shared_ext}$major'
10454   shlibpath_var=LIBRARY_PATH
10455   shlibpath_overrides_runpath=yes
10456   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10457   hardcode_into_libs=yes
10458   ;;
10459
10460 hpux9* | hpux10* | hpux11*)
10461   # Give a soname corresponding to the major version so that dld.sl refuses to
10462   # link against other versions.
10463   version_type=sunos
10464   need_lib_prefix=no
10465   need_version=no
10466   case $host_cpu in
10467   ia64*)
10468     shrext_cmds='.so'
10469     hardcode_into_libs=yes
10470     dynamic_linker="$host_os dld.so"
10471     shlibpath_var=LD_LIBRARY_PATH
10472     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10473     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10474     soname_spec='${libname}${release}${shared_ext}$major'
10475     if test "X$HPUX_IA64_MODE" = X32; then
10476       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10477     else
10478       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10479     fi
10480     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10481     ;;
10482   hppa*64*)
10483     shrext_cmds='.sl'
10484     hardcode_into_libs=yes
10485     dynamic_linker="$host_os dld.sl"
10486     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10487     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10488     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10489     soname_spec='${libname}${release}${shared_ext}$major'
10490     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10491     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10492     ;;
10493   *)
10494     shrext_cmds='.sl'
10495     dynamic_linker="$host_os dld.sl"
10496     shlibpath_var=SHLIB_PATH
10497     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10498     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10499     soname_spec='${libname}${release}${shared_ext}$major'
10500     ;;
10501   esac
10502   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10503   postinstall_cmds='chmod 555 $lib'
10504   # or fails outright, so override atomically:
10505   install_override_mode=555
10506   ;;
10507
10508 interix[3-9]*)
10509   version_type=linux # correct to gnu/linux during the next big refactor
10510   need_lib_prefix=no
10511   need_version=no
10512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10513   soname_spec='${libname}${release}${shared_ext}$major'
10514   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10515   shlibpath_var=LD_LIBRARY_PATH
10516   shlibpath_overrides_runpath=no
10517   hardcode_into_libs=yes
10518   ;;
10519
10520 irix5* | irix6* | nonstopux*)
10521   case $host_os in
10522     nonstopux*) version_type=nonstopux ;;
10523     *)
10524         if test "$lt_cv_prog_gnu_ld" = yes; then
10525                 version_type=linux # correct to gnu/linux during the next big refactor
10526         else
10527                 version_type=irix
10528         fi ;;
10529   esac
10530   need_lib_prefix=no
10531   need_version=no
10532   soname_spec='${libname}${release}${shared_ext}$major'
10533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10534   case $host_os in
10535   irix5* | nonstopux*)
10536     libsuff= shlibsuff=
10537     ;;
10538   *)
10539     case $LD in # libtool.m4 will add one of these switches to LD
10540     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10541       libsuff= shlibsuff= libmagic=32-bit;;
10542     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10543       libsuff=32 shlibsuff=N32 libmagic=N32;;
10544     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10545       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10546     *) libsuff= shlibsuff= libmagic=never-match;;
10547     esac
10548     ;;
10549   esac
10550   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10551   shlibpath_overrides_runpath=no
10552   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10553   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10554   hardcode_into_libs=yes
10555   ;;
10556
10557 # No shared lib support for Linux oldld, aout, or coff.
10558 linux*oldld* | linux*aout* | linux*coff*)
10559   dynamic_linker=no
10560   ;;
10561
10562 # This must be glibc/ELF.
10563 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10564   version_type=linux # correct to gnu/linux during the next big refactor
10565   need_lib_prefix=no
10566   need_version=no
10567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10568   soname_spec='${libname}${release}${shared_ext}$major'
10569   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10570   shlibpath_var=LD_LIBRARY_PATH
10571   shlibpath_overrides_runpath=no
10572
10573   # Some binutils ld are patched to set DT_RUNPATH
10574   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10575   $as_echo_n "(cached) " >&6
10576 else
10577   lt_cv_shlibpath_overrides_runpath=no
10578     save_LDFLAGS=$LDFLAGS
10579     save_libdir=$libdir
10580     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10581          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10582     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h.  */
10584
10585 int
10586 main ()
10587 {
10588
10589   ;
10590   return 0;
10591 }
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10595   lt_cv_shlibpath_overrides_runpath=yes
10596 fi
10597 fi
10598 rm -f core conftest.err conftest.$ac_objext \
10599     conftest$ac_exeext conftest.$ac_ext
10600     LDFLAGS=$save_LDFLAGS
10601     libdir=$save_libdir
10602
10603 fi
10604
10605   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10606
10607   # This implies no fast_install, which is unacceptable.
10608   # Some rework will be needed to allow for fast_install
10609   # before this can be enabled.
10610   hardcode_into_libs=yes
10611
10612   # Append ld.so.conf contents to the search path
10613   if test -f /etc/ld.so.conf; then
10614     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' ' '`
10615     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10616   fi
10617
10618   # We used to test for /lib/ld.so.1 and disable shared libraries on
10619   # powerpc, because MkLinux only supported shared libraries with the
10620   # GNU dynamic linker.  Since this was broken with cross compilers,
10621   # most powerpc-linux boxes support dynamic linking these days and
10622   # people can always --disable-shared, the test was removed, and we
10623   # assume the GNU/Linux dynamic linker is in use.
10624   dynamic_linker='GNU/Linux ld.so'
10625   ;;
10626
10627 netbsdelf*-gnu)
10628   version_type=linux
10629   need_lib_prefix=no
10630   need_version=no
10631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10632   soname_spec='${libname}${release}${shared_ext}$major'
10633   shlibpath_var=LD_LIBRARY_PATH
10634   shlibpath_overrides_runpath=no
10635   hardcode_into_libs=yes
10636   dynamic_linker='NetBSD ld.elf_so'
10637   ;;
10638
10639 netbsd*)
10640   version_type=sunos
10641   need_lib_prefix=no
10642   need_version=no
10643   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10644     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10645     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10646     dynamic_linker='NetBSD (a.out) ld.so'
10647   else
10648     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10649     soname_spec='${libname}${release}${shared_ext}$major'
10650     dynamic_linker='NetBSD ld.elf_so'
10651   fi
10652   shlibpath_var=LD_LIBRARY_PATH
10653   shlibpath_overrides_runpath=yes
10654   hardcode_into_libs=yes
10655   ;;
10656
10657 newsos6)
10658   version_type=linux # correct to gnu/linux during the next big refactor
10659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660   shlibpath_var=LD_LIBRARY_PATH
10661   shlibpath_overrides_runpath=yes
10662   ;;
10663
10664 *nto* | *qnx*)
10665   version_type=qnx
10666   need_lib_prefix=no
10667   need_version=no
10668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669   soname_spec='${libname}${release}${shared_ext}$major'
10670   shlibpath_var=LD_LIBRARY_PATH
10671   shlibpath_overrides_runpath=no
10672   hardcode_into_libs=yes
10673   dynamic_linker='ldqnx.so'
10674   ;;
10675
10676 openbsd*)
10677   version_type=sunos
10678   sys_lib_dlsearch_path_spec="/usr/lib"
10679   need_lib_prefix=no
10680   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10681   case $host_os in
10682     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10683     *)                          need_version=no  ;;
10684   esac
10685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10686   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10687   shlibpath_var=LD_LIBRARY_PATH
10688   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10689     case $host_os in
10690       openbsd2.[89] | openbsd2.[89].*)
10691         shlibpath_overrides_runpath=no
10692         ;;
10693       *)
10694         shlibpath_overrides_runpath=yes
10695         ;;
10696       esac
10697   else
10698     shlibpath_overrides_runpath=yes
10699   fi
10700   ;;
10701
10702 os2*)
10703   libname_spec='$name'
10704   shrext_cmds=".dll"
10705   need_lib_prefix=no
10706   library_names_spec='$libname${shared_ext} $libname.a'
10707   dynamic_linker='OS/2 ld.exe'
10708   shlibpath_var=LIBPATH
10709   ;;
10710
10711 osf3* | osf4* | osf5*)
10712   version_type=osf
10713   need_lib_prefix=no
10714   need_version=no
10715   soname_spec='${libname}${release}${shared_ext}$major'
10716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717   shlibpath_var=LD_LIBRARY_PATH
10718   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10719   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10720   ;;
10721
10722 rdos*)
10723   dynamic_linker=no
10724   ;;
10725
10726 solaris*)
10727   version_type=linux # correct to gnu/linux during the next big refactor
10728   need_lib_prefix=no
10729   need_version=no
10730   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10731   soname_spec='${libname}${release}${shared_ext}$major'
10732   shlibpath_var=LD_LIBRARY_PATH
10733   shlibpath_overrides_runpath=yes
10734   hardcode_into_libs=yes
10735   # ldd complains unless libraries are executable
10736   postinstall_cmds='chmod +x $lib'
10737   ;;
10738
10739 sunos4*)
10740   version_type=sunos
10741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10742   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10743   shlibpath_var=LD_LIBRARY_PATH
10744   shlibpath_overrides_runpath=yes
10745   if test "$with_gnu_ld" = yes; then
10746     need_lib_prefix=no
10747   fi
10748   need_version=yes
10749   ;;
10750
10751 sysv4 | sysv4.3*)
10752   version_type=linux # correct to gnu/linux during the next big refactor
10753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10754   soname_spec='${libname}${release}${shared_ext}$major'
10755   shlibpath_var=LD_LIBRARY_PATH
10756   case $host_vendor in
10757     sni)
10758       shlibpath_overrides_runpath=no
10759       need_lib_prefix=no
10760       runpath_var=LD_RUN_PATH
10761       ;;
10762     siemens)
10763       need_lib_prefix=no
10764       ;;
10765     motorola)
10766       need_lib_prefix=no
10767       need_version=no
10768       shlibpath_overrides_runpath=no
10769       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10770       ;;
10771   esac
10772   ;;
10773
10774 sysv4*MP*)
10775   if test -d /usr/nec ;then
10776     version_type=linux # correct to gnu/linux during the next big refactor
10777     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10778     soname_spec='$libname${shared_ext}.$major'
10779     shlibpath_var=LD_LIBRARY_PATH
10780   fi
10781   ;;
10782
10783 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10784   version_type=freebsd-elf
10785   need_lib_prefix=no
10786   need_version=no
10787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10788   soname_spec='${libname}${release}${shared_ext}$major'
10789   shlibpath_var=LD_LIBRARY_PATH
10790   shlibpath_overrides_runpath=yes
10791   hardcode_into_libs=yes
10792   if test "$with_gnu_ld" = yes; then
10793     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10794   else
10795     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10796     case $host_os in
10797       sco3.2v5*)
10798         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10799         ;;
10800     esac
10801   fi
10802   sys_lib_dlsearch_path_spec='/usr/lib'
10803   ;;
10804
10805 tpf*)
10806   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10807   version_type=linux # correct to gnu/linux during the next big refactor
10808   need_lib_prefix=no
10809   need_version=no
10810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10811   shlibpath_var=LD_LIBRARY_PATH
10812   shlibpath_overrides_runpath=no
10813   hardcode_into_libs=yes
10814   ;;
10815
10816 uts4*)
10817   version_type=linux # correct to gnu/linux during the next big refactor
10818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819   soname_spec='${libname}${release}${shared_ext}$major'
10820   shlibpath_var=LD_LIBRARY_PATH
10821   ;;
10822
10823 *)
10824   dynamic_linker=no
10825   ;;
10826 esac
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10828 $as_echo "$dynamic_linker" >&6; }
10829 test "$dynamic_linker" = no && can_build_shared=no
10830
10831 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10832 if test "$GCC" = yes; then
10833   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10834 fi
10835
10836 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10837   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10838 fi
10839 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10840   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10841 fi
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10935 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10936 hardcode_action=
10937 if test -n "$hardcode_libdir_flag_spec" ||
10938    test -n "$runpath_var" ||
10939    test "X$hardcode_automatic" = "Xyes" ; then
10940
10941   # We can hardcode non-existent directories.
10942   if test "$hardcode_direct" != no &&
10943      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10944      # have to relink, otherwise we might link with an installed library
10945      # when we should be linking with a yet-to-be-installed one
10946      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10947      test "$hardcode_minus_L" != no; then
10948     # Linking always hardcodes the temporary library directory.
10949     hardcode_action=relink
10950   else
10951     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10952     hardcode_action=immediate
10953   fi
10954 else
10955   # We cannot hardcode anything, or else we can only hardcode existing
10956   # directories.
10957   hardcode_action=unsupported
10958 fi
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10960 $as_echo "$hardcode_action" >&6; }
10961
10962 if test "$hardcode_action" = relink ||
10963    test "$inherit_rpath" = yes; then
10964   # Fast installation is not supported
10965   enable_fast_install=no
10966 elif test "$shlibpath_overrides_runpath" = yes ||
10967      test "$enable_shared" = no; then
10968   # Fast installation is not necessary
10969   enable_fast_install=needless
10970 fi
10971
10972
10973
10974
10975
10976
10977   if test "x$enable_dlopen" != xyes; then
10978   enable_dlopen=unknown
10979   enable_dlopen_self=unknown
10980   enable_dlopen_self_static=unknown
10981 else
10982   lt_cv_dlopen=no
10983   lt_cv_dlopen_libs=
10984
10985   case $host_os in
10986   beos*)
10987     lt_cv_dlopen="load_add_on"
10988     lt_cv_dlopen_libs=
10989     lt_cv_dlopen_self=yes
10990     ;;
10991
10992   mingw* | pw32* | cegcc*)
10993     lt_cv_dlopen="LoadLibrary"
10994     lt_cv_dlopen_libs=
10995     ;;
10996
10997   cygwin*)
10998     lt_cv_dlopen="dlopen"
10999     lt_cv_dlopen_libs=
11000     ;;
11001
11002   darwin*)
11003   # if libdl is installed we need to link against it
11004     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11005 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11006 if ${ac_cv_lib_dl_dlopen+:} false; then :
11007   $as_echo_n "(cached) " >&6
11008 else
11009   ac_check_lib_save_LIBS=$LIBS
11010 LIBS="-ldl  $LIBS"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h.  */
11013
11014 /* Override any GCC internal prototype to avoid an error.
11015    Use char because int might match the return type of a GCC
11016    builtin and then its argument prototype would still apply.  */
11017 #ifdef __cplusplus
11018 extern "C"
11019 #endif
11020 char dlopen ();
11021 int
11022 main ()
11023 {
11024 return dlopen ();
11025   ;
11026   return 0;
11027 }
11028 _ACEOF
11029 if ac_fn_c_try_link "$LINENO"; then :
11030   ac_cv_lib_dl_dlopen=yes
11031 else
11032   ac_cv_lib_dl_dlopen=no
11033 fi
11034 rm -f core conftest.err conftest.$ac_objext \
11035     conftest$ac_exeext conftest.$ac_ext
11036 LIBS=$ac_check_lib_save_LIBS
11037 fi
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11039 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11040 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11041   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11042 else
11043
11044     lt_cv_dlopen="dyld"
11045     lt_cv_dlopen_libs=
11046     lt_cv_dlopen_self=yes
11047
11048 fi
11049
11050     ;;
11051
11052   *)
11053     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11054 if test "x$ac_cv_func_shl_load" = xyes; then :
11055   lt_cv_dlopen="shl_load"
11056 else
11057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11058 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11059 if ${ac_cv_lib_dld_shl_load+:} false; then :
11060   $as_echo_n "(cached) " >&6
11061 else
11062   ac_check_lib_save_LIBS=$LIBS
11063 LIBS="-ldld  $LIBS"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h.  */
11066
11067 /* Override any GCC internal prototype to avoid an error.
11068    Use char because int might match the return type of a GCC
11069    builtin and then its argument prototype would still apply.  */
11070 #ifdef __cplusplus
11071 extern "C"
11072 #endif
11073 char shl_load ();
11074 int
11075 main ()
11076 {
11077 return shl_load ();
11078   ;
11079   return 0;
11080 }
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083   ac_cv_lib_dld_shl_load=yes
11084 else
11085   ac_cv_lib_dld_shl_load=no
11086 fi
11087 rm -f core conftest.err conftest.$ac_objext \
11088     conftest$ac_exeext conftest.$ac_ext
11089 LIBS=$ac_check_lib_save_LIBS
11090 fi
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11092 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11093 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11094   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11095 else
11096   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11097 if test "x$ac_cv_func_dlopen" = xyes; then :
11098   lt_cv_dlopen="dlopen"
11099 else
11100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11101 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11102 if ${ac_cv_lib_dl_dlopen+:} false; then :
11103   $as_echo_n "(cached) " >&6
11104 else
11105   ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-ldl  $LIBS"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h.  */
11109
11110 /* Override any GCC internal prototype to avoid an error.
11111    Use char because int might match the return type of a GCC
11112    builtin and then its argument prototype would still apply.  */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char dlopen ();
11117 int
11118 main ()
11119 {
11120 return dlopen ();
11121   ;
11122   return 0;
11123 }
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11126   ac_cv_lib_dl_dlopen=yes
11127 else
11128   ac_cv_lib_dl_dlopen=no
11129 fi
11130 rm -f core conftest.err conftest.$ac_objext \
11131     conftest$ac_exeext conftest.$ac_ext
11132 LIBS=$ac_check_lib_save_LIBS
11133 fi
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11135 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11136 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11137   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11138 else
11139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11140 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11141 if ${ac_cv_lib_svld_dlopen+:} false; then :
11142   $as_echo_n "(cached) " >&6
11143 else
11144   ac_check_lib_save_LIBS=$LIBS
11145 LIBS="-lsvld  $LIBS"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h.  */
11148
11149 /* Override any GCC internal prototype to avoid an error.
11150    Use char because int might match the return type of a GCC
11151    builtin and then its argument prototype would still apply.  */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char dlopen ();
11156 int
11157 main ()
11158 {
11159 return dlopen ();
11160   ;
11161   return 0;
11162 }
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165   ac_cv_lib_svld_dlopen=yes
11166 else
11167   ac_cv_lib_svld_dlopen=no
11168 fi
11169 rm -f core conftest.err conftest.$ac_objext \
11170     conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11172 fi
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11174 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11175 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11176   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11177 else
11178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11179 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11180 if ${ac_cv_lib_dld_dld_link+:} false; then :
11181   $as_echo_n "(cached) " >&6
11182 else
11183   ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-ldld  $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h.  */
11187
11188 /* Override any GCC internal prototype to avoid an error.
11189    Use char because int might match the return type of a GCC
11190    builtin and then its argument prototype would still apply.  */
11191 #ifdef __cplusplus
11192 extern "C"
11193 #endif
11194 char dld_link ();
11195 int
11196 main ()
11197 {
11198 return dld_link ();
11199   ;
11200   return 0;
11201 }
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"; then :
11204   ac_cv_lib_dld_dld_link=yes
11205 else
11206   ac_cv_lib_dld_dld_link=no
11207 fi
11208 rm -f core conftest.err conftest.$ac_objext \
11209     conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11211 fi
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11213 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11214 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11215   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11216 fi
11217
11218
11219 fi
11220
11221
11222 fi
11223
11224
11225 fi
11226
11227
11228 fi
11229
11230
11231 fi
11232
11233     ;;
11234   esac
11235
11236   if test "x$lt_cv_dlopen" != xno; then
11237     enable_dlopen=yes
11238   else
11239     enable_dlopen=no
11240   fi
11241
11242   case $lt_cv_dlopen in
11243   dlopen)
11244     save_CPPFLAGS="$CPPFLAGS"
11245     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11246
11247     save_LDFLAGS="$LDFLAGS"
11248     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11249
11250     save_LIBS="$LIBS"
11251     LIBS="$lt_cv_dlopen_libs $LIBS"
11252
11253     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11254 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11255 if ${lt_cv_dlopen_self+:} false; then :
11256   $as_echo_n "(cached) " >&6
11257 else
11258           if test "$cross_compiling" = yes; then :
11259   lt_cv_dlopen_self=cross
11260 else
11261   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11262   lt_status=$lt_dlunknown
11263   cat > conftest.$ac_ext <<_LT_EOF
11264 #line $LINENO "configure"
11265 #include "confdefs.h"
11266
11267 #if HAVE_DLFCN_H
11268 #include <dlfcn.h>
11269 #endif
11270
11271 #include <stdio.h>
11272
11273 #ifdef RTLD_GLOBAL
11274 #  define LT_DLGLOBAL           RTLD_GLOBAL
11275 #else
11276 #  ifdef DL_GLOBAL
11277 #    define LT_DLGLOBAL         DL_GLOBAL
11278 #  else
11279 #    define LT_DLGLOBAL         0
11280 #  endif
11281 #endif
11282
11283 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11284    find out it does not work in some platform. */
11285 #ifndef LT_DLLAZY_OR_NOW
11286 #  ifdef RTLD_LAZY
11287 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11288 #  else
11289 #    ifdef DL_LAZY
11290 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11291 #    else
11292 #      ifdef RTLD_NOW
11293 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11294 #      else
11295 #        ifdef DL_NOW
11296 #          define LT_DLLAZY_OR_NOW      DL_NOW
11297 #        else
11298 #          define LT_DLLAZY_OR_NOW      0
11299 #        endif
11300 #      endif
11301 #    endif
11302 #  endif
11303 #endif
11304
11305 /* When -fvisbility=hidden is used, assume the code has been annotated
11306    correspondingly for the symbols needed.  */
11307 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11308 int fnord () __attribute__((visibility("default")));
11309 #endif
11310
11311 int fnord () { return 42; }
11312 int main ()
11313 {
11314   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11315   int status = $lt_dlunknown;
11316
11317   if (self)
11318     {
11319       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11320       else
11321         {
11322           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11323           else puts (dlerror ());
11324         }
11325       /* dlclose (self); */
11326     }
11327   else
11328     puts (dlerror ());
11329
11330   return status;
11331 }
11332 _LT_EOF
11333   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11334   (eval $ac_link) 2>&5
11335   ac_status=$?
11336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11337   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11338     (./conftest; exit; ) >&5 2>/dev/null
11339     lt_status=$?
11340     case x$lt_status in
11341       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11342       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11343       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11344     esac
11345   else :
11346     # compilation failed
11347     lt_cv_dlopen_self=no
11348   fi
11349 fi
11350 rm -fr conftest*
11351
11352
11353 fi
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11355 $as_echo "$lt_cv_dlopen_self" >&6; }
11356
11357     if test "x$lt_cv_dlopen_self" = xyes; then
11358       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11359       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11360 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11361 if ${lt_cv_dlopen_self_static+:} false; then :
11362   $as_echo_n "(cached) " >&6
11363 else
11364           if test "$cross_compiling" = yes; then :
11365   lt_cv_dlopen_self_static=cross
11366 else
11367   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11368   lt_status=$lt_dlunknown
11369   cat > conftest.$ac_ext <<_LT_EOF
11370 #line $LINENO "configure"
11371 #include "confdefs.h"
11372
11373 #if HAVE_DLFCN_H
11374 #include <dlfcn.h>
11375 #endif
11376
11377 #include <stdio.h>
11378
11379 #ifdef RTLD_GLOBAL
11380 #  define LT_DLGLOBAL           RTLD_GLOBAL
11381 #else
11382 #  ifdef DL_GLOBAL
11383 #    define LT_DLGLOBAL         DL_GLOBAL
11384 #  else
11385 #    define LT_DLGLOBAL         0
11386 #  endif
11387 #endif
11388
11389 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11390    find out it does not work in some platform. */
11391 #ifndef LT_DLLAZY_OR_NOW
11392 #  ifdef RTLD_LAZY
11393 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11394 #  else
11395 #    ifdef DL_LAZY
11396 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11397 #    else
11398 #      ifdef RTLD_NOW
11399 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11400 #      else
11401 #        ifdef DL_NOW
11402 #          define LT_DLLAZY_OR_NOW      DL_NOW
11403 #        else
11404 #          define LT_DLLAZY_OR_NOW      0
11405 #        endif
11406 #      endif
11407 #    endif
11408 #  endif
11409 #endif
11410
11411 /* When -fvisbility=hidden is used, assume the code has been annotated
11412    correspondingly for the symbols needed.  */
11413 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11414 int fnord () __attribute__((visibility("default")));
11415 #endif
11416
11417 int fnord () { return 42; }
11418 int main ()
11419 {
11420   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11421   int status = $lt_dlunknown;
11422
11423   if (self)
11424     {
11425       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11426       else
11427         {
11428           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11429           else puts (dlerror ());
11430         }
11431       /* dlclose (self); */
11432     }
11433   else
11434     puts (dlerror ());
11435
11436   return status;
11437 }
11438 _LT_EOF
11439   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11440   (eval $ac_link) 2>&5
11441   ac_status=$?
11442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11443   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11444     (./conftest; exit; ) >&5 2>/dev/null
11445     lt_status=$?
11446     case x$lt_status in
11447       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11448       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11449       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11450     esac
11451   else :
11452     # compilation failed
11453     lt_cv_dlopen_self_static=no
11454   fi
11455 fi
11456 rm -fr conftest*
11457
11458
11459 fi
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11461 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11462     fi
11463
11464     CPPFLAGS="$save_CPPFLAGS"
11465     LDFLAGS="$save_LDFLAGS"
11466     LIBS="$save_LIBS"
11467     ;;
11468   esac
11469
11470   case $lt_cv_dlopen_self in
11471   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11472   *) enable_dlopen_self=unknown ;;
11473   esac
11474
11475   case $lt_cv_dlopen_self_static in
11476   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11477   *) enable_dlopen_self_static=unknown ;;
11478   esac
11479 fi
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497 striplib=
11498 old_striplib=
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11500 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11501 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11502   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11503   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11505 $as_echo "yes" >&6; }
11506 else
11507 # FIXME - insert some real tests, host_os isn't really good enough
11508   case $host_os in
11509   darwin*)
11510     if test -n "$STRIP" ; then
11511       striplib="$STRIP -x"
11512       old_striplib="$STRIP -S"
11513       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11514 $as_echo "yes" >&6; }
11515     else
11516       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11517 $as_echo "no" >&6; }
11518     fi
11519     ;;
11520   *)
11521     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11522 $as_echo "no" >&6; }
11523     ;;
11524   esac
11525 fi
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538   # Report which library types will actually be built
11539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11540 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11542 $as_echo "$can_build_shared" >&6; }
11543
11544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11545 $as_echo_n "checking whether to build shared libraries... " >&6; }
11546   test "$can_build_shared" = "no" && enable_shared=no
11547
11548   # On AIX, shared libraries and static libraries use the same namespace, and
11549   # are all built from PIC.
11550   case $host_os in
11551   aix3*)
11552     test "$enable_shared" = yes && enable_static=no
11553     if test -n "$RANLIB"; then
11554       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11555       postinstall_cmds='$RANLIB $lib'
11556     fi
11557     ;;
11558
11559   aix[4-9]*)
11560     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11561       test "$enable_shared" = yes && enable_static=no
11562     fi
11563     ;;
11564   esac
11565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11566 $as_echo "$enable_shared" >&6; }
11567
11568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11569 $as_echo_n "checking whether to build static libraries... " >&6; }
11570   # Make sure either enable_shared or enable_static is yes.
11571   test "$enable_shared" = yes || enable_static=yes
11572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11573 $as_echo "$enable_static" >&6; }
11574
11575
11576
11577
11578 fi
11579 ac_ext=c
11580 ac_cpp='$CPP $CPPFLAGS'
11581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11584
11585 CC="$lt_save_CC"
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601         ac_config_commands="$ac_config_commands libtool"
11602
11603
11604
11605
11606 # Only expand once:
11607
11608
11609
11610 #gtk-doc
11611
11612
11613
11614
11615
11616
11617
11618 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11619         if test -n "$ac_tool_prefix"; then
11620   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11621 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11623 $as_echo_n "checking for $ac_word... " >&6; }
11624 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11625   $as_echo_n "(cached) " >&6
11626 else
11627   case $PKG_CONFIG in
11628   [\\/]* | ?:[\\/]*)
11629   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11630   ;;
11631   *)
11632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11633 for as_dir in $PATH
11634 do
11635   IFS=$as_save_IFS
11636   test -z "$as_dir" && as_dir=.
11637     for ac_exec_ext in '' $ac_executable_extensions; do
11638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11639     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11641     break 2
11642   fi
11643 done
11644   done
11645 IFS=$as_save_IFS
11646
11647   ;;
11648 esac
11649 fi
11650 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11651 if test -n "$PKG_CONFIG"; then
11652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11653 $as_echo "$PKG_CONFIG" >&6; }
11654 else
11655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11656 $as_echo "no" >&6; }
11657 fi
11658
11659
11660 fi
11661 if test -z "$ac_cv_path_PKG_CONFIG"; then
11662   ac_pt_PKG_CONFIG=$PKG_CONFIG
11663   # Extract the first word of "pkg-config", so it can be a program name with args.
11664 set dummy pkg-config; ac_word=$2
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11666 $as_echo_n "checking for $ac_word... " >&6; }
11667 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11668   $as_echo_n "(cached) " >&6
11669 else
11670   case $ac_pt_PKG_CONFIG in
11671   [\\/]* | ?:[\\/]*)
11672   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11673   ;;
11674   *)
11675   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11676 for as_dir in $PATH
11677 do
11678   IFS=$as_save_IFS
11679   test -z "$as_dir" && as_dir=.
11680     for ac_exec_ext in '' $ac_executable_extensions; do
11681   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11682     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11684     break 2
11685   fi
11686 done
11687   done
11688 IFS=$as_save_IFS
11689
11690   ;;
11691 esac
11692 fi
11693 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11694 if test -n "$ac_pt_PKG_CONFIG"; then
11695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11696 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11697 else
11698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699 $as_echo "no" >&6; }
11700 fi
11701
11702   if test "x$ac_pt_PKG_CONFIG" = x; then
11703     PKG_CONFIG=""
11704   else
11705     case $cross_compiling:$ac_tool_warned in
11706 yes:)
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11709 ac_tool_warned=yes ;;
11710 esac
11711     PKG_CONFIG=$ac_pt_PKG_CONFIG
11712   fi
11713 else
11714   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11715 fi
11716
11717 fi
11718 if test -n "$PKG_CONFIG"; then
11719         _pkg_min_version=0.9.0
11720         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11721 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11722         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11723                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11724 $as_echo "yes" >&6; }
11725         else
11726                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11727 $as_echo "no" >&6; }
11728                 PKG_CONFIG=""
11729         fi
11730 fi
11731
11732
11733
11734   gtk_doc_requires="gtk-doc >= 1.18"
11735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
11736 $as_echo_n "checking for gtk-doc... " >&6; }
11737   if test -n "$PKG_CONFIG" && \
11738     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
11739   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
11740   ac_status=$?
11741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11742   test $ac_status = 0; }; then
11743   have_gtk_doc=yes
11744 else
11745   have_gtk_doc=no
11746 fi
11747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
11748 $as_echo "$have_gtk_doc" >&6; }
11749
11750   if test "$have_gtk_doc" = "no"; then
11751       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11752   You will not be able to create source packages with 'make dist'
11753   because $gtk_doc_requires is not found." >&5
11754 $as_echo "$as_me: WARNING:
11755   You will not be able to create source packages with 'make dist'
11756   because $gtk_doc_requires is not found." >&2;}
11757   fi
11758
11759             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11760 set dummy gtkdoc-check; ac_word=$2
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11762 $as_echo_n "checking for $ac_word... " >&6; }
11763 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
11764   $as_echo_n "(cached) " >&6
11765 else
11766   if test -n "$GTKDOC_CHECK"; then
11767   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
11768 else
11769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11770 for as_dir in $PATH
11771 do
11772   IFS=$as_save_IFS
11773   test -z "$as_dir" && as_dir=.
11774     for ac_exec_ext in '' $ac_executable_extensions; do
11775   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11776     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
11777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11778     break 2
11779   fi
11780 done
11781   done
11782 IFS=$as_save_IFS
11783
11784 fi
11785 fi
11786 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
11787 if test -n "$GTKDOC_CHECK"; then
11788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11789 $as_echo "$GTKDOC_CHECK" >&6; }
11790 else
11791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11792 $as_echo "no" >&6; }
11793 fi
11794
11795
11796   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11797 set dummy gtkdoc-check; ac_word=$2
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11799 $as_echo_n "checking for $ac_word... " >&6; }
11800 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
11801   $as_echo_n "(cached) " >&6
11802 else
11803   case $GTKDOC_CHECK_PATH in
11804   [\\/]* | ?:[\\/]*)
11805   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
11806   ;;
11807   *)
11808   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11809 for as_dir in $PATH
11810 do
11811   IFS=$as_save_IFS
11812   test -z "$as_dir" && as_dir=.
11813     for ac_exec_ext in '' $ac_executable_extensions; do
11814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11815     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
11816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11817     break 2
11818   fi
11819 done
11820   done
11821 IFS=$as_save_IFS
11822
11823   ;;
11824 esac
11825 fi
11826 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
11827 if test -n "$GTKDOC_CHECK_PATH"; then
11828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
11829 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
11830 else
11831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832 $as_echo "no" >&6; }
11833 fi
11834
11835
11836   for ac_prog in gtkdoc-rebase
11837 do
11838   # Extract the first word of "$ac_prog", so it can be a program name with args.
11839 set dummy $ac_prog; ac_word=$2
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11841 $as_echo_n "checking for $ac_word... " >&6; }
11842 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
11843   $as_echo_n "(cached) " >&6
11844 else
11845   case $GTKDOC_REBASE in
11846   [\\/]* | ?:[\\/]*)
11847   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11848   ;;
11849   *)
11850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851 for as_dir in $PATH
11852 do
11853   IFS=$as_save_IFS
11854   test -z "$as_dir" && as_dir=.
11855     for ac_exec_ext in '' $ac_executable_extensions; do
11856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11857     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11859     break 2
11860   fi
11861 done
11862   done
11863 IFS=$as_save_IFS
11864
11865   ;;
11866 esac
11867 fi
11868 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11869 if test -n "$GTKDOC_REBASE"; then
11870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11871 $as_echo "$GTKDOC_REBASE" >&6; }
11872 else
11873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11875 fi
11876
11877
11878   test -n "$GTKDOC_REBASE" && break
11879 done
11880 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11881
11882   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11883 set dummy gtkdoc-mkpdf; ac_word=$2
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11885 $as_echo_n "checking for $ac_word... " >&6; }
11886 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
11887   $as_echo_n "(cached) " >&6
11888 else
11889   case $GTKDOC_MKPDF in
11890   [\\/]* | ?:[\\/]*)
11891   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11892   ;;
11893   *)
11894   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11895 for as_dir in $PATH
11896 do
11897   IFS=$as_save_IFS
11898   test -z "$as_dir" && as_dir=.
11899     for ac_exec_ext in '' $ac_executable_extensions; do
11900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11901     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11903     break 2
11904   fi
11905 done
11906   done
11907 IFS=$as_save_IFS
11908
11909   ;;
11910 esac
11911 fi
11912 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11913 if test -n "$GTKDOC_MKPDF"; then
11914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11915 $as_echo "$GTKDOC_MKPDF" >&6; }
11916 else
11917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11919 fi
11920
11921
11922
11923
11924 # Check whether --with-html-dir was given.
11925 if test "${with_html_dir+set}" = set; then :
11926   withval=$with_html_dir;
11927 else
11928   with_html_dir='${datadir}/gtk-doc/html'
11929 fi
11930
11931   HTML_DIR="$with_html_dir"
11932
11933
11934     # Check whether --enable-gtk-doc was given.
11935 if test "${enable_gtk_doc+set}" = set; then :
11936   enableval=$enable_gtk_doc;
11937 else
11938   enable_gtk_doc=no
11939 fi
11940
11941
11942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11943 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11945 $as_echo "$enable_gtk_doc" >&6; }
11946
11947   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
11948     as_fn_error $? "
11949   You must have $gtk_doc_requires installed to build documentation for
11950   $PACKAGE_NAME. Please install gtk-doc or disable building the
11951   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
11952   fi
11953
11954     if test "x$PACKAGE_NAME" != "xglib"; then
11955
11956 pkg_failed=no
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
11958 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
11959
11960 if test -n "$GTKDOC_DEPS_CFLAGS"; then
11961     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
11962  elif test -n "$PKG_CONFIG"; then
11963     if test -n "$PKG_CONFIG" && \
11964     { { $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
11965   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
11966   ac_status=$?
11967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11968   test $ac_status = 0; }; then
11969   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
11970                       test "x$?" != "x0" && pkg_failed=yes
11971 else
11972   pkg_failed=yes
11973 fi
11974  else
11975     pkg_failed=untried
11976 fi
11977 if test -n "$GTKDOC_DEPS_LIBS"; then
11978     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
11979  elif test -n "$PKG_CONFIG"; then
11980     if test -n "$PKG_CONFIG" && \
11981     { { $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
11982   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
11983   ac_status=$?
11984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11985   test $ac_status = 0; }; then
11986   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
11987                       test "x$?" != "x0" && pkg_failed=yes
11988 else
11989   pkg_failed=yes
11990 fi
11991  else
11992     pkg_failed=untried
11993 fi
11994
11995
11996
11997 if test $pkg_failed = yes; then
11998         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11999 $as_echo "no" >&6; }
12000
12001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12002         _pkg_short_errors_supported=yes
12003 else
12004         _pkg_short_errors_supported=no
12005 fi
12006         if test $_pkg_short_errors_supported = yes; then
12007                 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`
12008         else
12009                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12010         fi
12011         # Put the nasty error message in config.log where it belongs
12012         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12013
12014         :
12015 elif test $pkg_failed = untried; then
12016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12017 $as_echo "no" >&6; }
12018         :
12019 else
12020         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12021         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12022         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12023 $as_echo "yes" >&6; }
12024
12025 fi
12026   fi
12027
12028     # Check whether --enable-gtk-doc-html was given.
12029 if test "${enable_gtk_doc_html+set}" = set; then :
12030   enableval=$enable_gtk_doc_html;
12031 else
12032   enable_gtk_doc_html=yes
12033 fi
12034
12035     # Check whether --enable-gtk-doc-pdf was given.
12036 if test "${enable_gtk_doc_pdf+set}" = set; then :
12037   enableval=$enable_gtk_doc_pdf;
12038 else
12039   enable_gtk_doc_pdf=no
12040 fi
12041
12042
12043   if test -z "$GTKDOC_MKPDF"; then
12044     enable_gtk_doc_pdf=no
12045   fi
12046
12047   if test -z "$AM_DEFAULT_VERBOSITY"; then
12048     AM_DEFAULT_VERBOSITY=1
12049   fi
12050
12051
12052    if test x$have_gtk_doc = xyes; then
12053   HAVE_GTK_DOC_TRUE=
12054   HAVE_GTK_DOC_FALSE='#'
12055 else
12056   HAVE_GTK_DOC_TRUE='#'
12057   HAVE_GTK_DOC_FALSE=
12058 fi
12059
12060    if test x$enable_gtk_doc = xyes; then
12061   ENABLE_GTK_DOC_TRUE=
12062   ENABLE_GTK_DOC_FALSE='#'
12063 else
12064   ENABLE_GTK_DOC_TRUE='#'
12065   ENABLE_GTK_DOC_FALSE=
12066 fi
12067
12068    if test x$enable_gtk_doc_html = xyes; then
12069   GTK_DOC_BUILD_HTML_TRUE=
12070   GTK_DOC_BUILD_HTML_FALSE='#'
12071 else
12072   GTK_DOC_BUILD_HTML_TRUE='#'
12073   GTK_DOC_BUILD_HTML_FALSE=
12074 fi
12075
12076    if test x$enable_gtk_doc_pdf = xyes; then
12077   GTK_DOC_BUILD_PDF_TRUE=
12078   GTK_DOC_BUILD_PDF_FALSE='#'
12079 else
12080   GTK_DOC_BUILD_PDF_TRUE='#'
12081   GTK_DOC_BUILD_PDF_FALSE=
12082 fi
12083
12084    if test -n "$LIBTOOL"; then
12085   GTK_DOC_USE_LIBTOOL_TRUE=
12086   GTK_DOC_USE_LIBTOOL_FALSE='#'
12087 else
12088   GTK_DOC_USE_LIBTOOL_TRUE='#'
12089   GTK_DOC_USE_LIBTOOL_FALSE=
12090 fi
12091
12092    if test -n "$GTKDOC_REBASE"; then
12093   GTK_DOC_USE_REBASE_TRUE=
12094   GTK_DOC_USE_REBASE_FALSE='#'
12095 else
12096   GTK_DOC_USE_REBASE_TRUE='#'
12097   GTK_DOC_USE_REBASE_FALSE=
12098 fi
12099
12100
12101
12102 # Checks for libraries.
12103
12104 pkg_failed=no
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNON" >&5
12106 $as_echo_n "checking for GSIGNON... " >&6; }
12107
12108 if test -n "$GSIGNON_CFLAGS"; then
12109     pkg_cv_GSIGNON_CFLAGS="$GSIGNON_CFLAGS"
12110  elif test -n "$PKG_CONFIG"; then
12111     if test -n "$PKG_CONFIG" && \
12112     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
12113                    json-glib-1.0
12114                    gsignond
12115                    gnutls
12116 \""; } >&5
12117   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12118                    json-glib-1.0
12119                    gsignond
12120                    gnutls
12121 ") 2>&5
12122   ac_status=$?
12123   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12124   test $ac_status = 0; }; then
12125   pkg_cv_GSIGNON_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
12126                    json-glib-1.0
12127                    gsignond
12128                    gnutls
12129 " 2>/dev/null`
12130                       test "x$?" != "x0" && pkg_failed=yes
12131 else
12132   pkg_failed=yes
12133 fi
12134  else
12135     pkg_failed=untried
12136 fi
12137 if test -n "$GSIGNON_LIBS"; then
12138     pkg_cv_GSIGNON_LIBS="$GSIGNON_LIBS"
12139  elif test -n "$PKG_CONFIG"; then
12140     if test -n "$PKG_CONFIG" && \
12141     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
12142                    json-glib-1.0
12143                    gsignond
12144                    gnutls
12145 \""; } >&5
12146   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12147                    json-glib-1.0
12148                    gsignond
12149                    gnutls
12150 ") 2>&5
12151   ac_status=$?
12152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12153   test $ac_status = 0; }; then
12154   pkg_cv_GSIGNON_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
12155                    json-glib-1.0
12156                    gsignond
12157                    gnutls
12158 " 2>/dev/null`
12159                       test "x$?" != "x0" && pkg_failed=yes
12160 else
12161   pkg_failed=yes
12162 fi
12163  else
12164     pkg_failed=untried
12165 fi
12166
12167
12168
12169 if test $pkg_failed = yes; then
12170         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12171 $as_echo "no" >&6; }
12172
12173 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12174         _pkg_short_errors_supported=yes
12175 else
12176         _pkg_short_errors_supported=no
12177 fi
12178         if test $_pkg_short_errors_supported = yes; then
12179                 GSIGNON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
12180                    json-glib-1.0
12181                    gsignond
12182                    gnutls
12183 " 2>&1`
12184         else
12185                 GSIGNON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
12186                    json-glib-1.0
12187                    gsignond
12188                    gnutls
12189 " 2>&1`
12190         fi
12191         # Put the nasty error message in config.log where it belongs
12192         echo "$GSIGNON_PKG_ERRORS" >&5
12193
12194         as_fn_error $? "Package requirements (glib-2.0 >= 2.30
12195                    json-glib-1.0
12196                    gsignond
12197                    gnutls
12198 ) were not met:
12199
12200 $GSIGNON_PKG_ERRORS
12201
12202 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12203 installed software in a non-standard prefix.
12204
12205 Alternatively, you may set the environment variables GSIGNON_CFLAGS
12206 and GSIGNON_LIBS to avoid the need to call pkg-config.
12207 See the pkg-config man page for more details." "$LINENO" 5
12208 elif test $pkg_failed = untried; then
12209         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12211         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12213 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12214 is in your PATH or set the PKG_CONFIG environment variable to the full
12215 path to pkg-config.
12216
12217 Alternatively, you may set the environment variables GSIGNON_CFLAGS
12218 and GSIGNON_LIBS to avoid the need to call pkg-config.
12219 See the pkg-config man page for more details.
12220
12221 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12222 See \`config.log' for more details" "$LINENO" 5; }
12223 else
12224         GSIGNON_CFLAGS=$pkg_cv_GSIGNON_CFLAGS
12225         GSIGNON_LIBS=$pkg_cv_GSIGNON_LIBS
12226         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12227 $as_echo "yes" >&6; }
12228
12229 fi
12230
12231
12232
12233
12234 pkg_failed=no
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
12236 $as_echo_n "checking for LIBSOUP... " >&6; }
12237
12238 if test -n "$LIBSOUP_CFLAGS"; then
12239     pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
12240  elif test -n "$PKG_CONFIG"; then
12241     if test -n "$PKG_CONFIG" && \
12242     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
12243   ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
12244   ac_status=$?
12245   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12246   test $ac_status = 0; }; then
12247   pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
12248                       test "x$?" != "x0" && pkg_failed=yes
12249 else
12250   pkg_failed=yes
12251 fi
12252  else
12253     pkg_failed=untried
12254 fi
12255 if test -n "$LIBSOUP_LIBS"; then
12256     pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
12257  elif test -n "$PKG_CONFIG"; then
12258     if test -n "$PKG_CONFIG" && \
12259     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
12260   ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
12261   ac_status=$?
12262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12263   test $ac_status = 0; }; then
12264   pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
12265                       test "x$?" != "x0" && pkg_failed=yes
12266 else
12267   pkg_failed=yes
12268 fi
12269  else
12270     pkg_failed=untried
12271 fi
12272
12273
12274
12275 if test $pkg_failed = yes; then
12276         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12277 $as_echo "no" >&6; }
12278
12279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12280         _pkg_short_errors_supported=yes
12281 else
12282         _pkg_short_errors_supported=no
12283 fi
12284         if test $_pkg_short_errors_supported = yes; then
12285                 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
12286         else
12287                 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
12288         fi
12289         # Put the nasty error message in config.log where it belongs
12290         echo "$LIBSOUP_PKG_ERRORS" >&5
12291
12292         as_fn_error $? "Package requirements (libsoup-2.4) were not met:
12293
12294 $LIBSOUP_PKG_ERRORS
12295
12296 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12297 installed software in a non-standard prefix.
12298
12299 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
12300 and LIBSOUP_LIBS to avoid the need to call pkg-config.
12301 See the pkg-config man page for more details." "$LINENO" 5
12302 elif test $pkg_failed = untried; then
12303         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12304 $as_echo "no" >&6; }
12305         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12307 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12308 is in your PATH or set the PKG_CONFIG environment variable to the full
12309 path to pkg-config.
12310
12311 Alternatively, you may set the environment variables LIBSOUP_CFLAGS
12312 and LIBSOUP_LIBS to avoid the need to call pkg-config.
12313 See the pkg-config man page for more details.
12314
12315 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12316 See \`config.log' for more details" "$LINENO" 5; }
12317 else
12318         LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
12319         LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
12320         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12321 $as_echo "yes" >&6; }
12322
12323 fi
12324
12325
12326
12327 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
12328
12329 pkg_failed=no
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12331 $as_echo_n "checking for CHECK... " >&6; }
12332
12333 if test -n "$CHECK_CFLAGS"; then
12334     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12335  elif test -n "$PKG_CONFIG"; then
12336     if test -n "$PKG_CONFIG" && \
12337     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12338   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12339   ac_status=$?
12340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12341   test $ac_status = 0; }; then
12342   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12343                       test "x$?" != "x0" && pkg_failed=yes
12344 else
12345   pkg_failed=yes
12346 fi
12347  else
12348     pkg_failed=untried
12349 fi
12350 if test -n "$CHECK_LIBS"; then
12351     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12352  elif test -n "$PKG_CONFIG"; then
12353     if test -n "$PKG_CONFIG" && \
12354     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12355   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12356   ac_status=$?
12357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12358   test $ac_status = 0; }; then
12359   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12360                       test "x$?" != "x0" && pkg_failed=yes
12361 else
12362   pkg_failed=yes
12363 fi
12364  else
12365     pkg_failed=untried
12366 fi
12367
12368
12369
12370 if test $pkg_failed = yes; then
12371         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12372 $as_echo "no" >&6; }
12373
12374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12375         _pkg_short_errors_supported=yes
12376 else
12377         _pkg_short_errors_supported=no
12378 fi
12379         if test $_pkg_short_errors_supported = yes; then
12380                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12381         else
12382                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12383         fi
12384         # Put the nasty error message in config.log where it belongs
12385         echo "$CHECK_PKG_ERRORS" >&5
12386
12387         have_check=no
12388 elif test $pkg_failed = untried; then
12389         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12390 $as_echo "no" >&6; }
12391         have_check=no
12392 else
12393         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12394         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12395         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12396 $as_echo "yes" >&6; }
12397         have_check=yes
12398 fi
12399
12400
12401
12402 # Check whether --enable-coverage was given.
12403 if test "${enable_coverage+set}" = set; then :
12404   enableval=$enable_coverage;
12405 fi
12406
12407 if test "x$enable_coverage" = "xyes"; then :
12408   CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
12409 fi
12410
12411 # allow fake installations for "distcheck"
12412 # Check whether --enable-distcheck was given.
12413 if test "${enable_distcheck+set}" = set; then :
12414   enableval=$enable_distcheck; enable_distcheck=yes
12415 else
12416   enable_distcheck=no
12417 fi
12418
12419 echo -n "running distcheck... "
12420 echo $enable_distcheck
12421
12422 if test "x$enable_distcheck" = "xyes" ; then
12423      EXTENSIONSDIR="${libdir}/gsignond/extensions"
12424      PLUGINSDIR="${libdir}/gsignond/gplugins"
12425 else
12426      PLUGINSDIR=`pkg-config gsignond --variable=gpluginsdir`
12427      EXTENSIONSDIR=`pkg-config gsignond --variable=extensionsdir`
12428 fi
12429
12430
12431
12432 GSIGNON_CFLAGS="$GSIGNON_CFLAGS -Wall -Werror"
12433
12434 ac_config_files="$ac_config_files Makefile docs/Makefile src/Makefile test/Makefile examples/Makefile"
12435
12436 cat >confcache <<\_ACEOF
12437 # This file is a shell script that caches the results of configure
12438 # tests run on this system so they can be shared between configure
12439 # scripts and configure runs, see configure's option --config-cache.
12440 # It is not useful on other systems.  If it contains results you don't
12441 # want to keep, you may remove or edit it.
12442 #
12443 # config.status only pays attention to the cache file if you give it
12444 # the --recheck option to rerun configure.
12445 #
12446 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12447 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12448 # following values.
12449
12450 _ACEOF
12451
12452 # The following way of writing the cache mishandles newlines in values,
12453 # but we know of no workaround that is simple, portable, and efficient.
12454 # So, we kill variables containing newlines.
12455 # Ultrix sh set writes to stderr and can't be redirected directly,
12456 # and sets the high bit in the cache file unless we assign to the vars.
12457 (
12458   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12459     eval ac_val=\$$ac_var
12460     case $ac_val in #(
12461     *${as_nl}*)
12462       case $ac_var in #(
12463       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12464 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12465       esac
12466       case $ac_var in #(
12467       _ | IFS | as_nl) ;; #(
12468       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12469       *) { eval $ac_var=; unset $ac_var;} ;;
12470       esac ;;
12471     esac
12472   done
12473
12474   (set) 2>&1 |
12475     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12476     *${as_nl}ac_space=\ *)
12477       # `set' does not quote correctly, so add quotes: double-quote
12478       # substitution turns \\\\ into \\, and sed turns \\ into \.
12479       sed -n \
12480         "s/'/'\\\\''/g;
12481           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12482       ;; #(
12483     *)
12484       # `set' quotes correctly as required by POSIX, so do not add quotes.
12485       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12486       ;;
12487     esac |
12488     sort
12489 ) |
12490   sed '
12491      /^ac_cv_env_/b end
12492      t clear
12493      :clear
12494      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12495      t end
12496      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12497      :end' >>confcache
12498 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12499   if test -w "$cache_file"; then
12500     if test "x$cache_file" != "x/dev/null"; then
12501       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12502 $as_echo "$as_me: updating cache $cache_file" >&6;}
12503       if test ! -f "$cache_file" || test -h "$cache_file"; then
12504         cat confcache >"$cache_file"
12505       else
12506         case $cache_file in #(
12507         */* | ?:*)
12508           mv -f confcache "$cache_file"$$ &&
12509           mv -f "$cache_file"$$ "$cache_file" ;; #(
12510         *)
12511           mv -f confcache "$cache_file" ;;
12512         esac
12513       fi
12514     fi
12515   else
12516     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12517 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12518   fi
12519 fi
12520 rm -f confcache
12521
12522 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12523 # Let make expand exec_prefix.
12524 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12525
12526 DEFS=-DHAVE_CONFIG_H
12527
12528 ac_libobjs=
12529 ac_ltlibobjs=
12530 U=
12531 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12532   # 1. Remove the extension, and $U if already installed.
12533   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12534   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12535   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12536   #    will be set to the directory where LIBOBJS objects are built.
12537   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12538   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12539 done
12540 LIBOBJS=$ac_libobjs
12541
12542 LTLIBOBJS=$ac_ltlibobjs
12543
12544
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12546 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12547    if test -n "$am_sleep_pid"; then
12548      # Hide warnings about reused PIDs.
12549      wait $am_sleep_pid 2>/dev/null
12550    fi
12551    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12552 $as_echo "done" >&6; }
12553  if test -n "$EXEEXT"; then
12554   am__EXEEXT_TRUE=
12555   am__EXEEXT_FALSE='#'
12556 else
12557   am__EXEEXT_TRUE='#'
12558   am__EXEEXT_FALSE=
12559 fi
12560
12561 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12562   as_fn_error $? "conditional \"AMDEP\" was never defined.
12563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12564 fi
12565 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12566   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12568 fi
12569 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
12570   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
12571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12572 fi
12573 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
12574   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
12575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12576 fi
12577 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
12578   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
12579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12580 fi
12581 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
12582   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
12583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12584 fi
12585 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
12586   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
12587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12588 fi
12589 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
12590   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
12591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12592 fi
12593
12594 : "${CONFIG_STATUS=./config.status}"
12595 ac_write_fail=0
12596 ac_clean_files_save=$ac_clean_files
12597 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12599 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12600 as_write_fail=0
12601 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12602 #! $SHELL
12603 # Generated by $as_me.
12604 # Run this file to recreate the current configuration.
12605 # Compiler output produced by configure, useful for debugging
12606 # configure, is in config.log if it exists.
12607
12608 debug=false
12609 ac_cs_recheck=false
12610 ac_cs_silent=false
12611
12612 SHELL=\${CONFIG_SHELL-$SHELL}
12613 export SHELL
12614 _ASEOF
12615 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12616 ## -------------------- ##
12617 ## M4sh Initialization. ##
12618 ## -------------------- ##
12619
12620 # Be more Bourne compatible
12621 DUALCASE=1; export DUALCASE # for MKS sh
12622 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12623   emulate sh
12624   NULLCMD=:
12625   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12626   # is contrary to our usage.  Disable this feature.
12627   alias -g '${1+"$@"}'='"$@"'
12628   setopt NO_GLOB_SUBST
12629 else
12630   case `(set -o) 2>/dev/null` in #(
12631   *posix*) :
12632     set -o posix ;; #(
12633   *) :
12634      ;;
12635 esac
12636 fi
12637
12638
12639 as_nl='
12640 '
12641 export as_nl
12642 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12643 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12644 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12646 # Prefer a ksh shell builtin over an external printf program on Solaris,
12647 # but without wasting forks for bash or zsh.
12648 if test -z "$BASH_VERSION$ZSH_VERSION" \
12649     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12650   as_echo='print -r --'
12651   as_echo_n='print -rn --'
12652 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12653   as_echo='printf %s\n'
12654   as_echo_n='printf %s'
12655 else
12656   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12657     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12658     as_echo_n='/usr/ucb/echo -n'
12659   else
12660     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12661     as_echo_n_body='eval
12662       arg=$1;
12663       case $arg in #(
12664       *"$as_nl"*)
12665         expr "X$arg" : "X\\(.*\\)$as_nl";
12666         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12667       esac;
12668       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12669     '
12670     export as_echo_n_body
12671     as_echo_n='sh -c $as_echo_n_body as_echo'
12672   fi
12673   export as_echo_body
12674   as_echo='sh -c $as_echo_body as_echo'
12675 fi
12676
12677 # The user is always right.
12678 if test "${PATH_SEPARATOR+set}" != set; then
12679   PATH_SEPARATOR=:
12680   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12681     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12682       PATH_SEPARATOR=';'
12683   }
12684 fi
12685
12686
12687 # IFS
12688 # We need space, tab and new line, in precisely that order.  Quoting is
12689 # there to prevent editors from complaining about space-tab.
12690 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12691 # splitting by setting IFS to empty value.)
12692 IFS=" ""        $as_nl"
12693
12694 # Find who we are.  Look in the path if we contain no directory separator.
12695 as_myself=
12696 case $0 in #((
12697   *[\\/]* ) as_myself=$0 ;;
12698   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12699 for as_dir in $PATH
12700 do
12701   IFS=$as_save_IFS
12702   test -z "$as_dir" && as_dir=.
12703     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12704   done
12705 IFS=$as_save_IFS
12706
12707      ;;
12708 esac
12709 # We did not find ourselves, most probably we were run as `sh COMMAND'
12710 # in which case we are not to be found in the path.
12711 if test "x$as_myself" = x; then
12712   as_myself=$0
12713 fi
12714 if test ! -f "$as_myself"; then
12715   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12716   exit 1
12717 fi
12718
12719 # Unset variables that we do not need and which cause bugs (e.g. in
12720 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12721 # suppresses any "Segmentation fault" message there.  '((' could
12722 # trigger a bug in pdksh 5.2.14.
12723 for as_var in BASH_ENV ENV MAIL MAILPATH
12724 do eval test x\${$as_var+set} = xset \
12725   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12726 done
12727 PS1='$ '
12728 PS2='> '
12729 PS4='+ '
12730
12731 # NLS nuisances.
12732 LC_ALL=C
12733 export LC_ALL
12734 LANGUAGE=C
12735 export LANGUAGE
12736
12737 # CDPATH.
12738 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12739
12740
12741 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12742 # ----------------------------------------
12743 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12744 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12745 # script with STATUS, using 1 if that was 0.
12746 as_fn_error ()
12747 {
12748   as_status=$1; test $as_status -eq 0 && as_status=1
12749   if test "$4"; then
12750     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12751     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12752   fi
12753   $as_echo "$as_me: error: $2" >&2
12754   as_fn_exit $as_status
12755 } # as_fn_error
12756
12757
12758 # as_fn_set_status STATUS
12759 # -----------------------
12760 # Set $? to STATUS, without forking.
12761 as_fn_set_status ()
12762 {
12763   return $1
12764 } # as_fn_set_status
12765
12766 # as_fn_exit STATUS
12767 # -----------------
12768 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12769 as_fn_exit ()
12770 {
12771   set +e
12772   as_fn_set_status $1
12773   exit $1
12774 } # as_fn_exit
12775
12776 # as_fn_unset VAR
12777 # ---------------
12778 # Portably unset VAR.
12779 as_fn_unset ()
12780 {
12781   { eval $1=; unset $1;}
12782 }
12783 as_unset=as_fn_unset
12784 # as_fn_append VAR VALUE
12785 # ----------------------
12786 # Append the text in VALUE to the end of the definition contained in VAR. Take
12787 # advantage of any shell optimizations that allow amortized linear growth over
12788 # repeated appends, instead of the typical quadratic growth present in naive
12789 # implementations.
12790 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12791   eval 'as_fn_append ()
12792   {
12793     eval $1+=\$2
12794   }'
12795 else
12796   as_fn_append ()
12797   {
12798     eval $1=\$$1\$2
12799   }
12800 fi # as_fn_append
12801
12802 # as_fn_arith ARG...
12803 # ------------------
12804 # Perform arithmetic evaluation on the ARGs, and store the result in the
12805 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12806 # must be portable across $(()) and expr.
12807 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12808   eval 'as_fn_arith ()
12809   {
12810     as_val=$(( $* ))
12811   }'
12812 else
12813   as_fn_arith ()
12814   {
12815     as_val=`expr "$@" || test $? -eq 1`
12816   }
12817 fi # as_fn_arith
12818
12819
12820 if expr a : '\(a\)' >/dev/null 2>&1 &&
12821    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12822   as_expr=expr
12823 else
12824   as_expr=false
12825 fi
12826
12827 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12828   as_basename=basename
12829 else
12830   as_basename=false
12831 fi
12832
12833 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12834   as_dirname=dirname
12835 else
12836   as_dirname=false
12837 fi
12838
12839 as_me=`$as_basename -- "$0" ||
12840 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12841          X"$0" : 'X\(//\)$' \| \
12842          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12843 $as_echo X/"$0" |
12844     sed '/^.*\/\([^/][^/]*\)\/*$/{
12845             s//\1/
12846             q
12847           }
12848           /^X\/\(\/\/\)$/{
12849             s//\1/
12850             q
12851           }
12852           /^X\/\(\/\).*/{
12853             s//\1/
12854             q
12855           }
12856           s/.*/./; q'`
12857
12858 # Avoid depending upon Character Ranges.
12859 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12860 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12861 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12862 as_cr_digits='0123456789'
12863 as_cr_alnum=$as_cr_Letters$as_cr_digits
12864
12865 ECHO_C= ECHO_N= ECHO_T=
12866 case `echo -n x` in #(((((
12867 -n*)
12868   case `echo 'xy\c'` in
12869   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12870   xy)  ECHO_C='\c';;
12871   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12872        ECHO_T=' ';;
12873   esac;;
12874 *)
12875   ECHO_N='-n';;
12876 esac
12877
12878 rm -f conf$$ conf$$.exe conf$$.file
12879 if test -d conf$$.dir; then
12880   rm -f conf$$.dir/conf$$.file
12881 else
12882   rm -f conf$$.dir
12883   mkdir conf$$.dir 2>/dev/null
12884 fi
12885 if (echo >conf$$.file) 2>/dev/null; then
12886   if ln -s conf$$.file conf$$ 2>/dev/null; then
12887     as_ln_s='ln -s'
12888     # ... but there are two gotchas:
12889     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12890     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12891     # In both cases, we have to default to `cp -pR'.
12892     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12893       as_ln_s='cp -pR'
12894   elif ln conf$$.file conf$$ 2>/dev/null; then
12895     as_ln_s=ln
12896   else
12897     as_ln_s='cp -pR'
12898   fi
12899 else
12900   as_ln_s='cp -pR'
12901 fi
12902 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12903 rmdir conf$$.dir 2>/dev/null
12904
12905
12906 # as_fn_mkdir_p
12907 # -------------
12908 # Create "$as_dir" as a directory, including parents if necessary.
12909 as_fn_mkdir_p ()
12910 {
12911
12912   case $as_dir in #(
12913   -*) as_dir=./$as_dir;;
12914   esac
12915   test -d "$as_dir" || eval $as_mkdir_p || {
12916     as_dirs=
12917     while :; do
12918       case $as_dir in #(
12919       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12920       *) as_qdir=$as_dir;;
12921       esac
12922       as_dirs="'$as_qdir' $as_dirs"
12923       as_dir=`$as_dirname -- "$as_dir" ||
12924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12925          X"$as_dir" : 'X\(//\)[^/]' \| \
12926          X"$as_dir" : 'X\(//\)$' \| \
12927          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12928 $as_echo X"$as_dir" |
12929     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12930             s//\1/
12931             q
12932           }
12933           /^X\(\/\/\)[^/].*/{
12934             s//\1/
12935             q
12936           }
12937           /^X\(\/\/\)$/{
12938             s//\1/
12939             q
12940           }
12941           /^X\(\/\).*/{
12942             s//\1/
12943             q
12944           }
12945           s/.*/./; q'`
12946       test -d "$as_dir" && break
12947     done
12948     test -z "$as_dirs" || eval "mkdir $as_dirs"
12949   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12950
12951
12952 } # as_fn_mkdir_p
12953 if mkdir -p . 2>/dev/null; then
12954   as_mkdir_p='mkdir -p "$as_dir"'
12955 else
12956   test -d ./-p && rmdir ./-p
12957   as_mkdir_p=false
12958 fi
12959
12960
12961 # as_fn_executable_p FILE
12962 # -----------------------
12963 # Test if FILE is an executable regular file.
12964 as_fn_executable_p ()
12965 {
12966   test -f "$1" && test -x "$1"
12967 } # as_fn_executable_p
12968 as_test_x='test -x'
12969 as_executable_p=as_fn_executable_p
12970
12971 # Sed expression to map a string onto a valid CPP name.
12972 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12973
12974 # Sed expression to map a string onto a valid variable name.
12975 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12976
12977
12978 exec 6>&1
12979 ## ----------------------------------- ##
12980 ## Main body of $CONFIG_STATUS script. ##
12981 ## ----------------------------------- ##
12982 _ASEOF
12983 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12984
12985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12986 # Save the log message, to keep $0 and so on meaningful, and to
12987 # report actual input values of CONFIG_FILES etc. instead of their
12988 # values after options handling.
12989 ac_log="
12990 This file was extended by gsignond-plugin-oauth $as_me 1.0.0, which was
12991 generated by GNU Autoconf 2.69.  Invocation command line was
12992
12993   CONFIG_FILES    = $CONFIG_FILES
12994   CONFIG_HEADERS  = $CONFIG_HEADERS
12995   CONFIG_LINKS    = $CONFIG_LINKS
12996   CONFIG_COMMANDS = $CONFIG_COMMANDS
12997   $ $0 $@
12998
12999 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13000 "
13001
13002 _ACEOF
13003
13004 case $ac_config_files in *"
13005 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13006 esac
13007
13008 case $ac_config_headers in *"
13009 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13010 esac
13011
13012
13013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13014 # Files that config.status was made for.
13015 config_files="$ac_config_files"
13016 config_headers="$ac_config_headers"
13017 config_commands="$ac_config_commands"
13018
13019 _ACEOF
13020
13021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13022 ac_cs_usage="\
13023 \`$as_me' instantiates files and other configuration actions
13024 from templates according to the current configuration.  Unless the files
13025 and actions are specified as TAGs, all are instantiated by default.
13026
13027 Usage: $0 [OPTION]... [TAG]...
13028
13029   -h, --help       print this help, then exit
13030   -V, --version    print version number and configuration settings, then exit
13031       --config     print configuration, then exit
13032   -q, --quiet, --silent
13033                    do not print progress messages
13034   -d, --debug      don't remove temporary files
13035       --recheck    update $as_me by reconfiguring in the same conditions
13036       --file=FILE[:TEMPLATE]
13037                    instantiate the configuration file FILE
13038       --header=FILE[:TEMPLATE]
13039                    instantiate the configuration header FILE
13040
13041 Configuration files:
13042 $config_files
13043
13044 Configuration headers:
13045 $config_headers
13046
13047 Configuration commands:
13048 $config_commands
13049
13050 Report bugs to the package provider."
13051
13052 _ACEOF
13053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13054 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13055 ac_cs_version="\\
13056 gsignond-plugin-oauth config.status 1.0.0
13057 configured by $0, generated by GNU Autoconf 2.69,
13058   with options \\"\$ac_cs_config\\"
13059
13060 Copyright (C) 2012 Free Software Foundation, Inc.
13061 This config.status script is free software; the Free Software Foundation
13062 gives unlimited permission to copy, distribute and modify it."
13063
13064 ac_pwd='$ac_pwd'
13065 srcdir='$srcdir'
13066 INSTALL='$INSTALL'
13067 MKDIR_P='$MKDIR_P'
13068 AWK='$AWK'
13069 test -n "\$AWK" || AWK=awk
13070 _ACEOF
13071
13072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13073 # The default lists apply if the user does not specify any file.
13074 ac_need_defaults=:
13075 while test $# != 0
13076 do
13077   case $1 in
13078   --*=?*)
13079     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13080     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13081     ac_shift=:
13082     ;;
13083   --*=)
13084     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13085     ac_optarg=
13086     ac_shift=:
13087     ;;
13088   *)
13089     ac_option=$1
13090     ac_optarg=$2
13091     ac_shift=shift
13092     ;;
13093   esac
13094
13095   case $ac_option in
13096   # Handling of the options.
13097   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13098     ac_cs_recheck=: ;;
13099   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13100     $as_echo "$ac_cs_version"; exit ;;
13101   --config | --confi | --conf | --con | --co | --c )
13102     $as_echo "$ac_cs_config"; exit ;;
13103   --debug | --debu | --deb | --de | --d | -d )
13104     debug=: ;;
13105   --file | --fil | --fi | --f )
13106     $ac_shift
13107     case $ac_optarg in
13108     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13109     '') as_fn_error $? "missing file argument" ;;
13110     esac
13111     as_fn_append CONFIG_FILES " '$ac_optarg'"
13112     ac_need_defaults=false;;
13113   --header | --heade | --head | --hea )
13114     $ac_shift
13115     case $ac_optarg in
13116     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13117     esac
13118     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13119     ac_need_defaults=false;;
13120   --he | --h)
13121     # Conflict between --help and --header
13122     as_fn_error $? "ambiguous option: \`$1'
13123 Try \`$0 --help' for more information.";;
13124   --help | --hel | -h )
13125     $as_echo "$ac_cs_usage"; exit ;;
13126   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13127   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13128     ac_cs_silent=: ;;
13129
13130   # This is an error.
13131   -*) as_fn_error $? "unrecognized option: \`$1'
13132 Try \`$0 --help' for more information." ;;
13133
13134   *) as_fn_append ac_config_targets " $1"
13135      ac_need_defaults=false ;;
13136
13137   esac
13138   shift
13139 done
13140
13141 ac_configure_extra_args=
13142
13143 if $ac_cs_silent; then
13144   exec 6>/dev/null
13145   ac_configure_extra_args="$ac_configure_extra_args --silent"
13146 fi
13147
13148 _ACEOF
13149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13150 if \$ac_cs_recheck; then
13151   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13152   shift
13153   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13154   CONFIG_SHELL='$SHELL'
13155   export CONFIG_SHELL
13156   exec "\$@"
13157 fi
13158
13159 _ACEOF
13160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13161 exec 5>>config.log
13162 {
13163   echo
13164   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13165 ## Running $as_me. ##
13166 _ASBOX
13167   $as_echo "$ac_log"
13168 } >&5
13169
13170 _ACEOF
13171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13172 #
13173 # INIT-COMMANDS
13174 #
13175 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13176
13177
13178 # The HP-UX ksh and POSIX shell print the target directory to stdout
13179 # if CDPATH is set.
13180 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13181
13182 sed_quote_subst='$sed_quote_subst'
13183 double_quote_subst='$double_quote_subst'
13184 delay_variable_subst='$delay_variable_subst'
13185 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13186 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13187 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13188 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13189 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13190 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13191 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13192 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13193 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13194 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13195 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13196 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13197 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13198 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13199 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13200 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13201 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13202 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13203 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13204 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13205 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13206 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13207 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13208 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13209 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13210 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13211 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13212 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13213 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13214 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13215 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13216 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13217 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13218 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13219 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13220 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13221 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13222 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13223 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13224 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13225 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13226 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13227 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13228 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13229 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13230 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13231 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13232 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13233 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13234 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13235 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13236 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13237 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13238 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13239 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13240 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13241 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"`'
13242 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13243 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13244 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13245 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13246 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13247 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13248 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13249 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13250 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13251 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13252 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13253 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13254 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13255 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13256 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13257 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13258 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13259 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13260 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13261 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13262 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13263 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13264 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13265 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13266 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13267 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13268 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13269 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13270 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13271 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13272 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13273 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13274 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13275 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13276 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13277 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13278 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13279 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13280 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13281 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13282 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13283 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13284 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13285 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13286 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13287 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13288 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13289 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13290 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13291 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13292 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13293 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13294 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13295 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13296 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13297 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13298 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13299 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13300 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13301 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13302 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13303 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13304 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13305 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13306 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13307 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13308 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13309 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13310 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13311 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13312 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13313 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13314 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13315
13316 LTCC='$LTCC'
13317 LTCFLAGS='$LTCFLAGS'
13318 compiler='$compiler_DEFAULT'
13319
13320 # A function that is used when there is no print builtin or printf.
13321 func_fallback_echo ()
13322 {
13323   eval 'cat <<_LTECHO_EOF
13324 \$1
13325 _LTECHO_EOF'
13326 }
13327
13328 # Quote evaled strings.
13329 for var in SHELL \
13330 ECHO \
13331 PATH_SEPARATOR \
13332 SED \
13333 GREP \
13334 EGREP \
13335 FGREP \
13336 LD \
13337 NM \
13338 LN_S \
13339 lt_SP2NL \
13340 lt_NL2SP \
13341 reload_flag \
13342 OBJDUMP \
13343 deplibs_check_method \
13344 file_magic_cmd \
13345 file_magic_glob \
13346 want_nocaseglob \
13347 DLLTOOL \
13348 sharedlib_from_linklib_cmd \
13349 AR \
13350 AR_FLAGS \
13351 archiver_list_spec \
13352 STRIP \
13353 RANLIB \
13354 CC \
13355 CFLAGS \
13356 compiler \
13357 lt_cv_sys_global_symbol_pipe \
13358 lt_cv_sys_global_symbol_to_cdecl \
13359 lt_cv_sys_global_symbol_to_c_name_address \
13360 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13361 nm_file_list_spec \
13362 lt_prog_compiler_no_builtin_flag \
13363 lt_prog_compiler_pic \
13364 lt_prog_compiler_wl \
13365 lt_prog_compiler_static \
13366 lt_cv_prog_compiler_c_o \
13367 need_locks \
13368 MANIFEST_TOOL \
13369 DSYMUTIL \
13370 NMEDIT \
13371 LIPO \
13372 OTOOL \
13373 OTOOL64 \
13374 shrext_cmds \
13375 export_dynamic_flag_spec \
13376 whole_archive_flag_spec \
13377 compiler_needs_object \
13378 with_gnu_ld \
13379 allow_undefined_flag \
13380 no_undefined_flag \
13381 hardcode_libdir_flag_spec \
13382 hardcode_libdir_separator \
13383 exclude_expsyms \
13384 include_expsyms \
13385 file_list_spec \
13386 variables_saved_for_relink \
13387 libname_spec \
13388 library_names_spec \
13389 soname_spec \
13390 install_override_mode \
13391 finish_eval \
13392 old_striplib \
13393 striplib; do
13394     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13395     *[\\\\\\\`\\"\\\$]*)
13396       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13397       ;;
13398     *)
13399       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13400       ;;
13401     esac
13402 done
13403
13404 # Double-quote double-evaled strings.
13405 for var in reload_cmds \
13406 old_postinstall_cmds \
13407 old_postuninstall_cmds \
13408 old_archive_cmds \
13409 extract_expsyms_cmds \
13410 old_archive_from_new_cmds \
13411 old_archive_from_expsyms_cmds \
13412 archive_cmds \
13413 archive_expsym_cmds \
13414 module_cmds \
13415 module_expsym_cmds \
13416 export_symbols_cmds \
13417 prelink_cmds \
13418 postlink_cmds \
13419 postinstall_cmds \
13420 postuninstall_cmds \
13421 finish_cmds \
13422 sys_lib_search_path_spec \
13423 sys_lib_dlsearch_path_spec; do
13424     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13425     *[\\\\\\\`\\"\\\$]*)
13426       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13427       ;;
13428     *)
13429       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13430       ;;
13431     esac
13432 done
13433
13434 ac_aux_dir='$ac_aux_dir'
13435 xsi_shell='$xsi_shell'
13436 lt_shell_append='$lt_shell_append'
13437
13438 # See if we are running on zsh, and set the options which allow our
13439 # commands through without removal of \ escapes INIT.
13440 if test -n "\${ZSH_VERSION+set}" ; then
13441    setopt NO_GLOB_SUBST
13442 fi
13443
13444
13445     PACKAGE='$PACKAGE'
13446     VERSION='$VERSION'
13447     TIMESTAMP='$TIMESTAMP'
13448     RM='$RM'
13449     ofile='$ofile'
13450
13451
13452
13453
13454 _ACEOF
13455
13456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13457
13458 # Handling of arguments.
13459 for ac_config_target in $ac_config_targets
13460 do
13461   case $ac_config_target in
13462     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13463     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13464     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13465     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13466     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
13467     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13468     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13469     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
13470
13471   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13472   esac
13473 done
13474
13475
13476 # If the user did not use the arguments to specify the items to instantiate,
13477 # then the envvar interface is used.  Set only those that are not.
13478 # We use the long form for the default assignment because of an extremely
13479 # bizarre bug on SunOS 4.1.3.
13480 if $ac_need_defaults; then
13481   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13482   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13483   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13484 fi
13485
13486 # Have a temporary directory for convenience.  Make it in the build tree
13487 # simply because there is no reason against having it here, and in addition,
13488 # creating and moving files from /tmp can sometimes cause problems.
13489 # Hook for its removal unless debugging.
13490 # Note that there is a small window in which the directory will not be cleaned:
13491 # after its creation but before its name has been assigned to `$tmp'.
13492 $debug ||
13493 {
13494   tmp= ac_tmp=
13495   trap 'exit_status=$?
13496   : "${ac_tmp:=$tmp}"
13497   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13498 ' 0
13499   trap 'as_fn_exit 1' 1 2 13 15
13500 }
13501 # Create a (secure) tmp directory for tmp files.
13502
13503 {
13504   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13505   test -d "$tmp"
13506 }  ||
13507 {
13508   tmp=./conf$$-$RANDOM
13509   (umask 077 && mkdir "$tmp")
13510 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13511 ac_tmp=$tmp
13512
13513 # Set up the scripts for CONFIG_FILES section.
13514 # No need to generate them if there are no CONFIG_FILES.
13515 # This happens for instance with `./config.status config.h'.
13516 if test -n "$CONFIG_FILES"; then
13517
13518
13519 ac_cr=`echo X | tr X '\015'`
13520 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13521 # But we know of no other shell where ac_cr would be empty at this
13522 # point, so we can use a bashism as a fallback.
13523 if test "x$ac_cr" = x; then
13524   eval ac_cr=\$\'\\r\'
13525 fi
13526 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13527 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13528   ac_cs_awk_cr='\\r'
13529 else
13530   ac_cs_awk_cr=$ac_cr
13531 fi
13532
13533 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13534 _ACEOF
13535
13536
13537 {
13538   echo "cat >conf$$subs.awk <<_ACEOF" &&
13539   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13540   echo "_ACEOF"
13541 } >conf$$subs.sh ||
13542   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13543 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13544 ac_delim='%!_!# '
13545 for ac_last_try in false false false false false :; do
13546   . ./conf$$subs.sh ||
13547     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13548
13549   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13550   if test $ac_delim_n = $ac_delim_num; then
13551     break
13552   elif $ac_last_try; then
13553     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13554   else
13555     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13556   fi
13557 done
13558 rm -f conf$$subs.sh
13559
13560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13561 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13562 _ACEOF
13563 sed -n '
13564 h
13565 s/^/S["/; s/!.*/"]=/
13566 p
13567 g
13568 s/^[^!]*!//
13569 :repl
13570 t repl
13571 s/'"$ac_delim"'$//
13572 t delim
13573 :nl
13574 h
13575 s/\(.\{148\}\)..*/\1/
13576 t more1
13577 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13578 p
13579 n
13580 b repl
13581 :more1
13582 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13583 p
13584 g
13585 s/.\{148\}//
13586 t nl
13587 :delim
13588 h
13589 s/\(.\{148\}\)..*/\1/
13590 t more2
13591 s/["\\]/\\&/g; s/^/"/; s/$/"/
13592 p
13593 b
13594 :more2
13595 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13596 p
13597 g
13598 s/.\{148\}//
13599 t delim
13600 ' <conf$$subs.awk | sed '
13601 /^[^""]/{
13602   N
13603   s/\n//
13604 }
13605 ' >>$CONFIG_STATUS || ac_write_fail=1
13606 rm -f conf$$subs.awk
13607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13608 _ACAWK
13609 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13610   for (key in S) S_is_set[key] = 1
13611   FS = "\a"
13612
13613 }
13614 {
13615   line = $ 0
13616   nfields = split(line, field, "@")
13617   substed = 0
13618   len = length(field[1])
13619   for (i = 2; i < nfields; i++) {
13620     key = field[i]
13621     keylen = length(key)
13622     if (S_is_set[key]) {
13623       value = S[key]
13624       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13625       len += length(value) + length(field[++i])
13626       substed = 1
13627     } else
13628       len += 1 + keylen
13629   }
13630
13631   print line
13632 }
13633
13634 _ACAWK
13635 _ACEOF
13636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13637 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13638   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13639 else
13640   cat
13641 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13642   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13643 _ACEOF
13644
13645 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13646 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13647 # trailing colons and then remove the whole line if VPATH becomes empty
13648 # (actually we leave an empty line to preserve line numbers).
13649 if test "x$srcdir" = x.; then
13650   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13651 h
13652 s///
13653 s/^/:/
13654 s/[      ]*$/:/
13655 s/:\$(srcdir):/:/g
13656 s/:\${srcdir}:/:/g
13657 s/:@srcdir@:/:/g
13658 s/^:*//
13659 s/:*$//
13660 x
13661 s/\(=[   ]*\).*/\1/
13662 G
13663 s/\n//
13664 s/^[^=]*=[       ]*$//
13665 }'
13666 fi
13667
13668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13669 fi # test -n "$CONFIG_FILES"
13670
13671 # Set up the scripts for CONFIG_HEADERS section.
13672 # No need to generate them if there are no CONFIG_HEADERS.
13673 # This happens for instance with `./config.status Makefile'.
13674 if test -n "$CONFIG_HEADERS"; then
13675 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13676 BEGIN {
13677 _ACEOF
13678
13679 # Transform confdefs.h into an awk script `defines.awk', embedded as
13680 # here-document in config.status, that substitutes the proper values into
13681 # config.h.in to produce config.h.
13682
13683 # Create a delimiter string that does not exist in confdefs.h, to ease
13684 # handling of long lines.
13685 ac_delim='%!_!# '
13686 for ac_last_try in false false :; do
13687   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13688   if test -z "$ac_tt"; then
13689     break
13690   elif $ac_last_try; then
13691     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13692   else
13693     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13694   fi
13695 done
13696
13697 # For the awk script, D is an array of macro values keyed by name,
13698 # likewise P contains macro parameters if any.  Preserve backslash
13699 # newline sequences.
13700
13701 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13702 sed -n '
13703 s/.\{148\}/&'"$ac_delim"'/g
13704 t rset
13705 :rset
13706 s/^[     ]*#[    ]*define[       ][      ]*/ /
13707 t def
13708 d
13709 :def
13710 s/\\$//
13711 t bsnl
13712 s/["\\]/\\&/g
13713 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13714 D["\1"]=" \3"/p
13715 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13716 d
13717 :bsnl
13718 s/["\\]/\\&/g
13719 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13720 D["\1"]=" \3\\\\\\n"\\/p
13721 t cont
13722 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13723 t cont
13724 d
13725 :cont
13726 n
13727 s/.\{148\}/&'"$ac_delim"'/g
13728 t clear
13729 :clear
13730 s/\\$//
13731 t bsnlc
13732 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13733 d
13734 :bsnlc
13735 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13736 b cont
13737 ' <confdefs.h | sed '
13738 s/'"$ac_delim"'/"\\\
13739 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13740
13741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13742   for (key in D) D_is_set[key] = 1
13743   FS = "\a"
13744 }
13745 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13746   line = \$ 0
13747   split(line, arg, " ")
13748   if (arg[1] == "#") {
13749     defundef = arg[2]
13750     mac1 = arg[3]
13751   } else {
13752     defundef = substr(arg[1], 2)
13753     mac1 = arg[2]
13754   }
13755   split(mac1, mac2, "(") #)
13756   macro = mac2[1]
13757   prefix = substr(line, 1, index(line, defundef) - 1)
13758   if (D_is_set[macro]) {
13759     # Preserve the white space surrounding the "#".
13760     print prefix "define", macro P[macro] D[macro]
13761     next
13762   } else {
13763     # Replace #undef with comments.  This is necessary, for example,
13764     # in the case of _POSIX_SOURCE, which is predefined and required
13765     # on some systems where configure will not decide to define it.
13766     if (defundef == "undef") {
13767       print "/*", prefix defundef, macro, "*/"
13768       next
13769     }
13770   }
13771 }
13772 { print }
13773 _ACAWK
13774 _ACEOF
13775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13776   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13777 fi # test -n "$CONFIG_HEADERS"
13778
13779
13780 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13781 shift
13782 for ac_tag
13783 do
13784   case $ac_tag in
13785   :[FHLC]) ac_mode=$ac_tag; continue;;
13786   esac
13787   case $ac_mode$ac_tag in
13788   :[FHL]*:*);;
13789   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13790   :[FH]-) ac_tag=-:-;;
13791   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13792   esac
13793   ac_save_IFS=$IFS
13794   IFS=:
13795   set x $ac_tag
13796   IFS=$ac_save_IFS
13797   shift
13798   ac_file=$1
13799   shift
13800
13801   case $ac_mode in
13802   :L) ac_source=$1;;
13803   :[FH])
13804     ac_file_inputs=
13805     for ac_f
13806     do
13807       case $ac_f in
13808       -) ac_f="$ac_tmp/stdin";;
13809       *) # Look for the file first in the build tree, then in the source tree
13810          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13811          # because $ac_f cannot contain `:'.
13812          test -f "$ac_f" ||
13813            case $ac_f in
13814            [\\/$]*) false;;
13815            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13816            esac ||
13817            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13818       esac
13819       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13820       as_fn_append ac_file_inputs " '$ac_f'"
13821     done
13822
13823     # Let's still pretend it is `configure' which instantiates (i.e., don't
13824     # use $as_me), people would be surprised to read:
13825     #    /* config.h.  Generated by config.status.  */
13826     configure_input='Generated from '`
13827           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13828         `' by configure.'
13829     if test x"$ac_file" != x-; then
13830       configure_input="$ac_file.  $configure_input"
13831       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13832 $as_echo "$as_me: creating $ac_file" >&6;}
13833     fi
13834     # Neutralize special characters interpreted by sed in replacement strings.
13835     case $configure_input in #(
13836     *\&* | *\|* | *\\* )
13837        ac_sed_conf_input=`$as_echo "$configure_input" |
13838        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13839     *) ac_sed_conf_input=$configure_input;;
13840     esac
13841
13842     case $ac_tag in
13843     *:-:* | *:-) cat >"$ac_tmp/stdin" \
13844       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13845     esac
13846     ;;
13847   esac
13848
13849   ac_dir=`$as_dirname -- "$ac_file" ||
13850 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13851          X"$ac_file" : 'X\(//\)[^/]' \| \
13852          X"$ac_file" : 'X\(//\)$' \| \
13853          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13854 $as_echo X"$ac_file" |
13855     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13856             s//\1/
13857             q
13858           }
13859           /^X\(\/\/\)[^/].*/{
13860             s//\1/
13861             q
13862           }
13863           /^X\(\/\/\)$/{
13864             s//\1/
13865             q
13866           }
13867           /^X\(\/\).*/{
13868             s//\1/
13869             q
13870           }
13871           s/.*/./; q'`
13872   as_dir="$ac_dir"; as_fn_mkdir_p
13873   ac_builddir=.
13874
13875 case "$ac_dir" in
13876 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13877 *)
13878   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13879   # A ".." for each directory in $ac_dir_suffix.
13880   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13881   case $ac_top_builddir_sub in
13882   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13883   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13884   esac ;;
13885 esac
13886 ac_abs_top_builddir=$ac_pwd
13887 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13888 # for backward compatibility:
13889 ac_top_builddir=$ac_top_build_prefix
13890
13891 case $srcdir in
13892   .)  # We are building in place.
13893     ac_srcdir=.
13894     ac_top_srcdir=$ac_top_builddir_sub
13895     ac_abs_top_srcdir=$ac_pwd ;;
13896   [\\/]* | ?:[\\/]* )  # Absolute name.
13897     ac_srcdir=$srcdir$ac_dir_suffix;
13898     ac_top_srcdir=$srcdir
13899     ac_abs_top_srcdir=$srcdir ;;
13900   *) # Relative name.
13901     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13902     ac_top_srcdir=$ac_top_build_prefix$srcdir
13903     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13904 esac
13905 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13906
13907
13908   case $ac_mode in
13909   :F)
13910   #
13911   # CONFIG_FILE
13912   #
13913
13914   case $INSTALL in
13915   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13916   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13917   esac
13918   ac_MKDIR_P=$MKDIR_P
13919   case $MKDIR_P in
13920   [\\/$]* | ?:[\\/]* ) ;;
13921   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13922   esac
13923 _ACEOF
13924
13925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13926 # If the template does not know about datarootdir, expand it.
13927 # FIXME: This hack should be removed a few years after 2.60.
13928 ac_datarootdir_hack=; ac_datarootdir_seen=
13929 ac_sed_dataroot='
13930 /datarootdir/ {
13931   p
13932   q
13933 }
13934 /@datadir@/p
13935 /@docdir@/p
13936 /@infodir@/p
13937 /@localedir@/p
13938 /@mandir@/p'
13939 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13940 *datarootdir*) ac_datarootdir_seen=yes;;
13941 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13942   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13943 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13944 _ACEOF
13945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13946   ac_datarootdir_hack='
13947   s&@datadir@&$datadir&g
13948   s&@docdir@&$docdir&g
13949   s&@infodir@&$infodir&g
13950   s&@localedir@&$localedir&g
13951   s&@mandir@&$mandir&g
13952   s&\\\${datarootdir}&$datarootdir&g' ;;
13953 esac
13954 _ACEOF
13955
13956 # Neutralize VPATH when `$srcdir' = `.'.
13957 # Shell code in configure.ac might set extrasub.
13958 # FIXME: do we really want to maintain this feature?
13959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13960 ac_sed_extra="$ac_vpsub
13961 $extrasub
13962 _ACEOF
13963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13964 :t
13965 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13966 s|@configure_input@|$ac_sed_conf_input|;t t
13967 s&@top_builddir@&$ac_top_builddir_sub&;t t
13968 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13969 s&@srcdir@&$ac_srcdir&;t t
13970 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13971 s&@top_srcdir@&$ac_top_srcdir&;t t
13972 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13973 s&@builddir@&$ac_builddir&;t t
13974 s&@abs_builddir@&$ac_abs_builddir&;t t
13975 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13976 s&@INSTALL@&$ac_INSTALL&;t t
13977 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13978 $ac_datarootdir_hack
13979 "
13980 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13981   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13982
13983 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13984   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13985   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13986       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13987   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13988 which seems to be undefined.  Please make sure it is defined" >&5
13989 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13990 which seems to be undefined.  Please make sure it is defined" >&2;}
13991
13992   rm -f "$ac_tmp/stdin"
13993   case $ac_file in
13994   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13995   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13996   esac \
13997   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13998  ;;
13999   :H)
14000   #
14001   # CONFIG_HEADER
14002   #
14003   if test x"$ac_file" != x-; then
14004     {
14005       $as_echo "/* $configure_input  */" \
14006       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14007     } >"$ac_tmp/config.h" \
14008       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14009     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14010       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14011 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14012     else
14013       rm -f "$ac_file"
14014       mv "$ac_tmp/config.h" "$ac_file" \
14015         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14016     fi
14017   else
14018     $as_echo "/* $configure_input  */" \
14019       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14020       || as_fn_error $? "could not create -" "$LINENO" 5
14021   fi
14022 # Compute "$ac_file"'s index in $config_headers.
14023 _am_arg="$ac_file"
14024 _am_stamp_count=1
14025 for _am_header in $config_headers :; do
14026   case $_am_header in
14027     $_am_arg | $_am_arg:* )
14028       break ;;
14029     * )
14030       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14031   esac
14032 done
14033 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14034 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14035          X"$_am_arg" : 'X\(//\)[^/]' \| \
14036          X"$_am_arg" : 'X\(//\)$' \| \
14037          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14038 $as_echo X"$_am_arg" |
14039     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14040             s//\1/
14041             q
14042           }
14043           /^X\(\/\/\)[^/].*/{
14044             s//\1/
14045             q
14046           }
14047           /^X\(\/\/\)$/{
14048             s//\1/
14049             q
14050           }
14051           /^X\(\/\).*/{
14052             s//\1/
14053             q
14054           }
14055           s/.*/./; q'`/stamp-h$_am_stamp_count
14056  ;;
14057
14058   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14059 $as_echo "$as_me: executing $ac_file commands" >&6;}
14060  ;;
14061   esac
14062
14063
14064   case $ac_file$ac_mode in
14065     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14066   # Older Autoconf quotes --file arguments for eval, but not when files
14067   # are listed without --file.  Let's play safe and only enable the eval
14068   # if we detect the quoting.
14069   case $CONFIG_FILES in
14070   *\'*) eval set x "$CONFIG_FILES" ;;
14071   *)   set x $CONFIG_FILES ;;
14072   esac
14073   shift
14074   for mf
14075   do
14076     # Strip MF so we end up with the name of the file.
14077     mf=`echo "$mf" | sed -e 's/:.*$//'`
14078     # Check whether this is an Automake generated Makefile or not.
14079     # We used to match only the files named 'Makefile.in', but
14080     # some people rename them; so instead we look at the file content.
14081     # Grep'ing the first line is not enough: some people post-process
14082     # each Makefile.in and add a new line on top of each file to say so.
14083     # Grep'ing the whole file is not good either: AIX grep has a line
14084     # limit of 2048, but all sed's we know have understand at least 4000.
14085     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14086       dirpart=`$as_dirname -- "$mf" ||
14087 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14088          X"$mf" : 'X\(//\)[^/]' \| \
14089          X"$mf" : 'X\(//\)$' \| \
14090          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14091 $as_echo X"$mf" |
14092     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14093             s//\1/
14094             q
14095           }
14096           /^X\(\/\/\)[^/].*/{
14097             s//\1/
14098             q
14099           }
14100           /^X\(\/\/\)$/{
14101             s//\1/
14102             q
14103           }
14104           /^X\(\/\).*/{
14105             s//\1/
14106             q
14107           }
14108           s/.*/./; q'`
14109     else
14110       continue
14111     fi
14112     # Extract the definition of DEPDIR, am__include, and am__quote
14113     # from the Makefile without running 'make'.
14114     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14115     test -z "$DEPDIR" && continue
14116     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14117     test -z "$am__include" && continue
14118     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14119     # Find all dependency output files, they are included files with
14120     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14121     # simplest approach to changing $(DEPDIR) to its actual value in the
14122     # expansion.
14123     for file in `sed -n "
14124       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14125          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14126       # Make sure the directory exists.
14127       test -f "$dirpart/$file" && continue
14128       fdir=`$as_dirname -- "$file" ||
14129 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14130          X"$file" : 'X\(//\)[^/]' \| \
14131          X"$file" : 'X\(//\)$' \| \
14132          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14133 $as_echo X"$file" |
14134     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14135             s//\1/
14136             q
14137           }
14138           /^X\(\/\/\)[^/].*/{
14139             s//\1/
14140             q
14141           }
14142           /^X\(\/\/\)$/{
14143             s//\1/
14144             q
14145           }
14146           /^X\(\/\).*/{
14147             s//\1/
14148             q
14149           }
14150           s/.*/./; q'`
14151       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14152       # echo "creating $dirpart/$file"
14153       echo '# dummy' > "$dirpart/$file"
14154     done
14155   done
14156 }
14157  ;;
14158     "libtool":C)
14159
14160     # See if we are running on zsh, and set the options which allow our
14161     # commands through without removal of \ escapes.
14162     if test -n "${ZSH_VERSION+set}" ; then
14163       setopt NO_GLOB_SUBST
14164     fi
14165
14166     cfgfile="${ofile}T"
14167     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14168     $RM "$cfgfile"
14169
14170     cat <<_LT_EOF >> "$cfgfile"
14171 #! $SHELL
14172
14173 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14174 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14175 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14176 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14177 #
14178 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14179 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14180 #                 Foundation, Inc.
14181 #   Written by Gordon Matzigkeit, 1996
14182 #
14183 #   This file is part of GNU Libtool.
14184 #
14185 # GNU Libtool is free software; you can redistribute it and/or
14186 # modify it under the terms of the GNU General Public License as
14187 # published by the Free Software Foundation; either version 2 of
14188 # the License, or (at your option) any later version.
14189 #
14190 # As a special exception to the GNU General Public License,
14191 # if you distribute this file as part of a program or library that
14192 # is built using GNU Libtool, you may include this file under the
14193 # same distribution terms that you use for the rest of that program.
14194 #
14195 # GNU Libtool is distributed in the hope that it will be useful,
14196 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14197 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14198 # GNU General Public License for more details.
14199 #
14200 # You should have received a copy of the GNU General Public License
14201 # along with GNU Libtool; see the file COPYING.  If not, a copy
14202 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14203 # obtained by writing to the Free Software Foundation, Inc.,
14204 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14205
14206
14207 # The names of the tagged configurations supported by this script.
14208 available_tags=""
14209
14210 # ### BEGIN LIBTOOL CONFIG
14211
14212 # Which release of libtool.m4 was used?
14213 macro_version=$macro_version
14214 macro_revision=$macro_revision
14215
14216 # Whether or not to build static libraries.
14217 build_old_libs=$enable_static
14218
14219 # Whether or not to build shared libraries.
14220 build_libtool_libs=$enable_shared
14221
14222 # What type of objects to build.
14223 pic_mode=$pic_mode
14224
14225 # Whether or not to optimize for fast installation.
14226 fast_install=$enable_fast_install
14227
14228 # Shell to use when invoking shell scripts.
14229 SHELL=$lt_SHELL
14230
14231 # An echo program that protects backslashes.
14232 ECHO=$lt_ECHO
14233
14234 # The PATH separator for the build system.
14235 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14236
14237 # The host system.
14238 host_alias=$host_alias
14239 host=$host
14240 host_os=$host_os
14241
14242 # The build system.
14243 build_alias=$build_alias
14244 build=$build
14245 build_os=$build_os
14246
14247 # A sed program that does not truncate output.
14248 SED=$lt_SED
14249
14250 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14251 Xsed="\$SED -e 1s/^X//"
14252
14253 # A grep program that handles long lines.
14254 GREP=$lt_GREP
14255
14256 # An ERE matcher.
14257 EGREP=$lt_EGREP
14258
14259 # A literal string matcher.
14260 FGREP=$lt_FGREP
14261
14262 # A BSD- or MS-compatible name lister.
14263 NM=$lt_NM
14264
14265 # Whether we need soft or hard links.
14266 LN_S=$lt_LN_S
14267
14268 # What is the maximum length of a command?
14269 max_cmd_len=$max_cmd_len
14270
14271 # Object file suffix (normally "o").
14272 objext=$ac_objext
14273
14274 # Executable file suffix (normally "").
14275 exeext=$exeext
14276
14277 # whether the shell understands "unset".
14278 lt_unset=$lt_unset
14279
14280 # turn spaces into newlines.
14281 SP2NL=$lt_lt_SP2NL
14282
14283 # turn newlines into spaces.
14284 NL2SP=$lt_lt_NL2SP
14285
14286 # convert \$build file names to \$host format.
14287 to_host_file_cmd=$lt_cv_to_host_file_cmd
14288
14289 # convert \$build files to toolchain format.
14290 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14291
14292 # An object symbol dumper.
14293 OBJDUMP=$lt_OBJDUMP
14294
14295 # Method to check whether dependent libraries are shared objects.
14296 deplibs_check_method=$lt_deplibs_check_method
14297
14298 # Command to use when deplibs_check_method = "file_magic".
14299 file_magic_cmd=$lt_file_magic_cmd
14300
14301 # How to find potential files when deplibs_check_method = "file_magic".
14302 file_magic_glob=$lt_file_magic_glob
14303
14304 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14305 want_nocaseglob=$lt_want_nocaseglob
14306
14307 # DLL creation program.
14308 DLLTOOL=$lt_DLLTOOL
14309
14310 # Command to associate shared and link libraries.
14311 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14312
14313 # The archiver.
14314 AR=$lt_AR
14315
14316 # Flags to create an archive.
14317 AR_FLAGS=$lt_AR_FLAGS
14318
14319 # How to feed a file listing to the archiver.
14320 archiver_list_spec=$lt_archiver_list_spec
14321
14322 # A symbol stripping program.
14323 STRIP=$lt_STRIP
14324
14325 # Commands used to install an old-style archive.
14326 RANLIB=$lt_RANLIB
14327 old_postinstall_cmds=$lt_old_postinstall_cmds
14328 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14329
14330 # Whether to use a lock for old archive extraction.
14331 lock_old_archive_extraction=$lock_old_archive_extraction
14332
14333 # A C compiler.
14334 LTCC=$lt_CC
14335
14336 # LTCC compiler flags.
14337 LTCFLAGS=$lt_CFLAGS
14338
14339 # Take the output of nm and produce a listing of raw symbols and C names.
14340 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14341
14342 # Transform the output of nm in a proper C declaration.
14343 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14344
14345 # Transform the output of nm in a C name address pair.
14346 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14347
14348 # Transform the output of nm in a C name address pair when lib prefix is needed.
14349 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14350
14351 # Specify filename containing input files for \$NM.
14352 nm_file_list_spec=$lt_nm_file_list_spec
14353
14354 # The root where to search for dependent libraries,and in which our libraries should be installed.
14355 lt_sysroot=$lt_sysroot
14356
14357 # The name of the directory that contains temporary libtool files.
14358 objdir=$objdir
14359
14360 # Used to examine libraries when file_magic_cmd begins with "file".
14361 MAGIC_CMD=$MAGIC_CMD
14362
14363 # Must we lock files when doing compilation?
14364 need_locks=$lt_need_locks
14365
14366 # Manifest tool.
14367 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14368
14369 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14370 DSYMUTIL=$lt_DSYMUTIL
14371
14372 # Tool to change global to local symbols on Mac OS X.
14373 NMEDIT=$lt_NMEDIT
14374
14375 # Tool to manipulate fat objects and archives on Mac OS X.
14376 LIPO=$lt_LIPO
14377
14378 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14379 OTOOL=$lt_OTOOL
14380
14381 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14382 OTOOL64=$lt_OTOOL64
14383
14384 # Old archive suffix (normally "a").
14385 libext=$libext
14386
14387 # Shared library suffix (normally ".so").
14388 shrext_cmds=$lt_shrext_cmds
14389
14390 # The commands to extract the exported symbol list from a shared archive.
14391 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14392
14393 # Variables whose values should be saved in libtool wrapper scripts and
14394 # restored at link time.
14395 variables_saved_for_relink=$lt_variables_saved_for_relink
14396
14397 # Do we need the "lib" prefix for modules?
14398 need_lib_prefix=$need_lib_prefix
14399
14400 # Do we need a version for libraries?
14401 need_version=$need_version
14402
14403 # Library versioning type.
14404 version_type=$version_type
14405
14406 # Shared library runtime path variable.
14407 runpath_var=$runpath_var
14408
14409 # Shared library path variable.
14410 shlibpath_var=$shlibpath_var
14411
14412 # Is shlibpath searched before the hard-coded library search path?
14413 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14414
14415 # Format of library name prefix.
14416 libname_spec=$lt_libname_spec
14417
14418 # List of archive names.  First name is the real one, the rest are links.
14419 # The last name is the one that the linker finds with -lNAME
14420 library_names_spec=$lt_library_names_spec
14421
14422 # The coded name of the library, if different from the real name.
14423 soname_spec=$lt_soname_spec
14424
14425 # Permission mode override for installation of shared libraries.
14426 install_override_mode=$lt_install_override_mode
14427
14428 # Command to use after installation of a shared archive.
14429 postinstall_cmds=$lt_postinstall_cmds
14430
14431 # Command to use after uninstallation of a shared archive.
14432 postuninstall_cmds=$lt_postuninstall_cmds
14433
14434 # Commands used to finish a libtool library installation in a directory.
14435 finish_cmds=$lt_finish_cmds
14436
14437 # As "finish_cmds", except a single script fragment to be evaled but
14438 # not shown.
14439 finish_eval=$lt_finish_eval
14440
14441 # Whether we should hardcode library paths into libraries.
14442 hardcode_into_libs=$hardcode_into_libs
14443
14444 # Compile-time system search path for libraries.
14445 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14446
14447 # Run-time system search path for libraries.
14448 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14449
14450 # Whether dlopen is supported.
14451 dlopen_support=$enable_dlopen
14452
14453 # Whether dlopen of programs is supported.
14454 dlopen_self=$enable_dlopen_self
14455
14456 # Whether dlopen of statically linked programs is supported.
14457 dlopen_self_static=$enable_dlopen_self_static
14458
14459 # Commands to strip libraries.
14460 old_striplib=$lt_old_striplib
14461 striplib=$lt_striplib
14462
14463
14464 # The linker used to build libraries.
14465 LD=$lt_LD
14466
14467 # How to create reloadable object files.
14468 reload_flag=$lt_reload_flag
14469 reload_cmds=$lt_reload_cmds
14470
14471 # Commands used to build an old-style archive.
14472 old_archive_cmds=$lt_old_archive_cmds
14473
14474 # A language specific compiler.
14475 CC=$lt_compiler
14476
14477 # Is the compiler the GNU compiler?
14478 with_gcc=$GCC
14479
14480 # Compiler flag to turn off builtin functions.
14481 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14482
14483 # Additional compiler flags for building library objects.
14484 pic_flag=$lt_lt_prog_compiler_pic
14485
14486 # How to pass a linker flag through the compiler.
14487 wl=$lt_lt_prog_compiler_wl
14488
14489 # Compiler flag to prevent dynamic linking.
14490 link_static_flag=$lt_lt_prog_compiler_static
14491
14492 # Does compiler simultaneously support -c and -o options?
14493 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14494
14495 # Whether or not to add -lc for building shared libraries.
14496 build_libtool_need_lc=$archive_cmds_need_lc
14497
14498 # Whether or not to disallow shared libs when runtime libs are static.
14499 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14500
14501 # Compiler flag to allow reflexive dlopens.
14502 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14503
14504 # Compiler flag to generate shared objects directly from archives.
14505 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14506
14507 # Whether the compiler copes with passing no objects directly.
14508 compiler_needs_object=$lt_compiler_needs_object
14509
14510 # Create an old-style archive from a shared archive.
14511 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14512
14513 # Create a temporary old-style archive to link instead of a shared archive.
14514 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14515
14516 # Commands used to build a shared archive.
14517 archive_cmds=$lt_archive_cmds
14518 archive_expsym_cmds=$lt_archive_expsym_cmds
14519
14520 # Commands used to build a loadable module if different from building
14521 # a shared archive.
14522 module_cmds=$lt_module_cmds
14523 module_expsym_cmds=$lt_module_expsym_cmds
14524
14525 # Whether we are building with GNU ld or not.
14526 with_gnu_ld=$lt_with_gnu_ld
14527
14528 # Flag that allows shared libraries with undefined symbols to be built.
14529 allow_undefined_flag=$lt_allow_undefined_flag
14530
14531 # Flag that enforces no undefined symbols.
14532 no_undefined_flag=$lt_no_undefined_flag
14533
14534 # Flag to hardcode \$libdir into a binary during linking.
14535 # This must work even if \$libdir does not exist
14536 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14537
14538 # Whether we need a single "-rpath" flag with a separated argument.
14539 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14540
14541 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14542 # DIR into the resulting binary.
14543 hardcode_direct=$hardcode_direct
14544
14545 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14546 # DIR into the resulting binary and the resulting library dependency is
14547 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14548 # library is relocated.
14549 hardcode_direct_absolute=$hardcode_direct_absolute
14550
14551 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14552 # into the resulting binary.
14553 hardcode_minus_L=$hardcode_minus_L
14554
14555 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14556 # into the resulting binary.
14557 hardcode_shlibpath_var=$hardcode_shlibpath_var
14558
14559 # Set to "yes" if building a shared library automatically hardcodes DIR
14560 # into the library and all subsequent libraries and executables linked
14561 # against it.
14562 hardcode_automatic=$hardcode_automatic
14563
14564 # Set to yes if linker adds runtime paths of dependent libraries
14565 # to runtime path list.
14566 inherit_rpath=$inherit_rpath
14567
14568 # Whether libtool must link a program against all its dependency libraries.
14569 link_all_deplibs=$link_all_deplibs
14570
14571 # Set to "yes" if exported symbols are required.
14572 always_export_symbols=$always_export_symbols
14573
14574 # The commands to list exported symbols.
14575 export_symbols_cmds=$lt_export_symbols_cmds
14576
14577 # Symbols that should not be listed in the preloaded symbols.
14578 exclude_expsyms=$lt_exclude_expsyms
14579
14580 # Symbols that must always be exported.
14581 include_expsyms=$lt_include_expsyms
14582
14583 # Commands necessary for linking programs (against libraries) with templates.
14584 prelink_cmds=$lt_prelink_cmds
14585
14586 # Commands necessary for finishing linking programs.
14587 postlink_cmds=$lt_postlink_cmds
14588
14589 # Specify filename containing input files.
14590 file_list_spec=$lt_file_list_spec
14591
14592 # How to hardcode a shared library path into an executable.
14593 hardcode_action=$hardcode_action
14594
14595 # ### END LIBTOOL CONFIG
14596
14597 _LT_EOF
14598
14599   case $host_os in
14600   aix3*)
14601     cat <<\_LT_EOF >> "$cfgfile"
14602 # AIX sometimes has problems with the GCC collect2 program.  For some
14603 # reason, if we set the COLLECT_NAMES environment variable, the problems
14604 # vanish in a puff of smoke.
14605 if test "X${COLLECT_NAMES+set}" != Xset; then
14606   COLLECT_NAMES=
14607   export COLLECT_NAMES
14608 fi
14609 _LT_EOF
14610     ;;
14611   esac
14612
14613
14614 ltmain="$ac_aux_dir/ltmain.sh"
14615
14616
14617   # We use sed instead of cat because bash on DJGPP gets confused if
14618   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14619   # text mode, it properly converts lines to CR/LF.  This bash problem
14620   # is reportedly fixed, but why not run on old versions too?
14621   sed '$q' "$ltmain" >> "$cfgfile" \
14622      || (rm -f "$cfgfile"; exit 1)
14623
14624   if test x"$xsi_shell" = xyes; then
14625   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14626 func_dirname ()\
14627 {\
14628 \    case ${1} in\
14629 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14630 \      *  ) func_dirname_result="${3}" ;;\
14631 \    esac\
14632 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14633   && mv -f "$cfgfile.tmp" "$cfgfile" \
14634     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14635 test 0 -eq $? || _lt_function_replace_fail=:
14636
14637
14638   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14639 func_basename ()\
14640 {\
14641 \    func_basename_result="${1##*/}"\
14642 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14643   && mv -f "$cfgfile.tmp" "$cfgfile" \
14644     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14645 test 0 -eq $? || _lt_function_replace_fail=:
14646
14647
14648   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14649 func_dirname_and_basename ()\
14650 {\
14651 \    case ${1} in\
14652 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14653 \      *  ) func_dirname_result="${3}" ;;\
14654 \    esac\
14655 \    func_basename_result="${1##*/}"\
14656 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14657   && mv -f "$cfgfile.tmp" "$cfgfile" \
14658     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14659 test 0 -eq $? || _lt_function_replace_fail=:
14660
14661
14662   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14663 func_stripname ()\
14664 {\
14665 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14666 \    # positional parameters, so assign one to ordinary parameter first.\
14667 \    func_stripname_result=${3}\
14668 \    func_stripname_result=${func_stripname_result#"${1}"}\
14669 \    func_stripname_result=${func_stripname_result%"${2}"}\
14670 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14671   && mv -f "$cfgfile.tmp" "$cfgfile" \
14672     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14673 test 0 -eq $? || _lt_function_replace_fail=:
14674
14675
14676   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14677 func_split_long_opt ()\
14678 {\
14679 \    func_split_long_opt_name=${1%%=*}\
14680 \    func_split_long_opt_arg=${1#*=}\
14681 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14682   && mv -f "$cfgfile.tmp" "$cfgfile" \
14683     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14684 test 0 -eq $? || _lt_function_replace_fail=:
14685
14686
14687   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14688 func_split_short_opt ()\
14689 {\
14690 \    func_split_short_opt_arg=${1#??}\
14691 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14692 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14693   && mv -f "$cfgfile.tmp" "$cfgfile" \
14694     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14695 test 0 -eq $? || _lt_function_replace_fail=:
14696
14697
14698   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14699 func_lo2o ()\
14700 {\
14701 \    case ${1} in\
14702 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14703 \      *)    func_lo2o_result=${1} ;;\
14704 \    esac\
14705 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14706   && mv -f "$cfgfile.tmp" "$cfgfile" \
14707     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14708 test 0 -eq $? || _lt_function_replace_fail=:
14709
14710
14711   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14712 func_xform ()\
14713 {\
14714     func_xform_result=${1%.*}.lo\
14715 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14716   && mv -f "$cfgfile.tmp" "$cfgfile" \
14717     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14718 test 0 -eq $? || _lt_function_replace_fail=:
14719
14720
14721   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14722 func_arith ()\
14723 {\
14724     func_arith_result=$(( $* ))\
14725 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14726   && mv -f "$cfgfile.tmp" "$cfgfile" \
14727     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14728 test 0 -eq $? || _lt_function_replace_fail=:
14729
14730
14731   sed -e '/^func_len ()$/,/^} # func_len /c\
14732 func_len ()\
14733 {\
14734     func_len_result=${#1}\
14735 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14736   && mv -f "$cfgfile.tmp" "$cfgfile" \
14737     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14738 test 0 -eq $? || _lt_function_replace_fail=:
14739
14740 fi
14741
14742 if test x"$lt_shell_append" = xyes; then
14743   sed -e '/^func_append ()$/,/^} # func_append /c\
14744 func_append ()\
14745 {\
14746     eval "${1}+=\\${2}"\
14747 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14748   && mv -f "$cfgfile.tmp" "$cfgfile" \
14749     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14750 test 0 -eq $? || _lt_function_replace_fail=:
14751
14752
14753   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14754 func_append_quoted ()\
14755 {\
14756 \    func_quote_for_eval "${2}"\
14757 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14758 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14759   && mv -f "$cfgfile.tmp" "$cfgfile" \
14760     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14761 test 0 -eq $? || _lt_function_replace_fail=:
14762
14763
14764   # Save a `func_append' function call where possible by direct use of '+='
14765   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14766     && mv -f "$cfgfile.tmp" "$cfgfile" \
14767       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14768   test 0 -eq $? || _lt_function_replace_fail=:
14769 else
14770   # Save a `func_append' function call even when '+=' is not available
14771   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14772     && mv -f "$cfgfile.tmp" "$cfgfile" \
14773       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14774   test 0 -eq $? || _lt_function_replace_fail=:
14775 fi
14776
14777 if test x"$_lt_function_replace_fail" = x":"; then
14778   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14779 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14780 fi
14781
14782
14783    mv -f "$cfgfile" "$ofile" ||
14784     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14785   chmod +x "$ofile"
14786
14787  ;;
14788
14789   esac
14790 done # for ac_tag
14791
14792
14793 as_fn_exit 0
14794 _ACEOF
14795 ac_clean_files=$ac_clean_files_save
14796
14797 test $ac_write_fail = 0 ||
14798   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14799
14800
14801 # configure is writing to config.log, and then calls config.status.
14802 # config.status does its own redirection, appending to config.log.
14803 # Unfortunately, on DOS this fails, as config.log is still kept open
14804 # by configure, so config.status won't be able to write to it; its
14805 # output is simply discarded.  So we exec the FD to /dev/null,
14806 # effectively closing config.log, so it can be properly (re)opened and
14807 # appended to by config.status.  When coming back to configure, we
14808 # need to make the FD available again.
14809 if test "$no_create" != yes; then
14810   ac_cs_success=:
14811   ac_config_status_args=
14812   test "$silent" = yes &&
14813     ac_config_status_args="$ac_config_status_args --quiet"
14814   exec 5>/dev/null
14815   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14816   exec 5>>config.log
14817   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14818   # would make configure fail if this is the last instruction.
14819   $ac_cs_success || as_fn_exit 1
14820 fi
14821 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14822   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14823 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14824 fi
14825