added change log file
[profile/ivi/gsignond.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gsignond 0.0.1.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139   emulate sh
140   NULLCMD=:
141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142   # is contrary to our usage.  Disable this feature.
143   alias -g '\${1+\"\$@\"}'='\"\$@\"'
144   setopt NO_GLOB_SUBST
145 else
146   case \`(set -o) 2>/dev/null\` in #(
147   *posix*) :
148     set -o posix ;; #(
149   *) :
150      ;;
151 esac
152 fi
153 "
154   as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168   exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
176   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180     PATH=/empty FPATH=/empty; export PATH FPATH
181     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184   if (eval "$as_required") 2>/dev/null; then :
185   as_have_required=yes
186 else
187   as_have_required=no
188 fi
189   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190
191 else
192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 as_found=false
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195 do
196   IFS=$as_save_IFS
197   test -z "$as_dir" && as_dir=.
198   as_found=:
199   case $as_dir in #(
200          /*)
201            for as_base in sh bash ksh sh5; do
202              # Try only shells that exist, to save several forks.
203              as_shell=$as_dir/$as_base
204              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206   CONFIG_SHELL=$as_shell as_have_required=yes
207                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   break 2
209 fi
210 fi
211            done;;
212        esac
213   as_found=false
214 done
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217   CONFIG_SHELL=$SHELL as_have_required=yes
218 fi; }
219 IFS=$as_save_IFS
220
221
222       if test "x$CONFIG_SHELL" != x; then :
223   # We cannot yet assume a decent shell, so we have to provide a
224         # neutralization value for shells without unset; and this also
225         # works around shells that cannot unset nonexistent variables.
226         # Preserve -v and -x to the replacement shell.
227         BASH_ENV=/dev/null
228         ENV=/dev/null
229         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230         export CONFIG_SHELL
231         case $- in # ((((
232           *v*x* | *x*v* ) as_opts=-vx ;;
233           *v* ) as_opts=-v ;;
234           *x* ) as_opts=-x ;;
235           * ) as_opts= ;;
236         esac
237         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238 fi
239
240     if test x$as_have_required = xno; then :
241   $as_echo "$0: This script requires a shell more modern than all"
242   $as_echo "$0: the shells that I found on your system."
243   if test x${ZSH_VERSION+set} = xset ; then
244     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246   else
247     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
251   fi
252   exit 1
253 fi
254 fi
255 fi
256 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
261
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
265 # as_fn_unset VAR
266 # ---------------
267 # Portably unset VAR.
268 as_fn_unset ()
269 {
270   { eval $1=; unset $1;}
271 }
272 as_unset=as_fn_unset
273
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
277 as_fn_set_status ()
278 {
279   return $1
280 } # as_fn_set_status
281
282 # as_fn_exit STATUS
283 # -----------------
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 as_fn_exit ()
286 {
287   set +e
288   as_fn_set_status $1
289   exit $1
290 } # as_fn_exit
291
292 # as_fn_mkdir_p
293 # -------------
294 # Create "$as_dir" as a directory, including parents if necessary.
295 as_fn_mkdir_p ()
296 {
297
298   case $as_dir in #(
299   -*) as_dir=./$as_dir;;
300   esac
301   test -d "$as_dir" || eval $as_mkdir_p || {
302     as_dirs=
303     while :; do
304       case $as_dir in #(
305       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306       *) as_qdir=$as_dir;;
307       esac
308       as_dirs="'$as_qdir' $as_dirs"
309       as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311          X"$as_dir" : 'X\(//\)[^/]' \| \
312          X"$as_dir" : 'X\(//\)$' \| \
313          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)[^/].*/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)$/{
324             s//\1/
325             q
326           }
327           /^X\(\/\).*/{
328             s//\1/
329             q
330           }
331           s/.*/./; q'`
332       test -d "$as_dir" && break
333     done
334     test -z "$as_dirs" || eval "mkdir $as_dirs"
335   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
336
337
338 } # as_fn_mkdir_p
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
344 # implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346   eval 'as_fn_append ()
347   {
348     eval $1+=\$2
349   }'
350 else
351   as_fn_append ()
352   {
353     eval $1=\$$1\$2
354   }
355 fi # as_fn_append
356
357 # as_fn_arith ARG...
358 # ------------------
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363   eval 'as_fn_arith ()
364   {
365     as_val=$(( $* ))
366   }'
367 else
368   as_fn_arith ()
369   {
370     as_val=`expr "$@" || test $? -eq 1`
371   }
372 fi # as_fn_arith
373
374
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
380 as_fn_error ()
381 {
382   as_status=$1; test $as_status -eq 0 && as_status=1
383   if test "$4"; then
384     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386   fi
387   $as_echo "$as_me: error: $2" >&2
388   as_fn_exit $as_status
389 } # as_fn_error
390
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392    test "X`expr 00001 : '.*\(...\)'`" = X001; then
393   as_expr=expr
394 else
395   as_expr=false
396 fi
397
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399   as_basename=basename
400 else
401   as_basename=false
402 fi
403
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405   as_dirname=dirname
406 else
407   as_dirname=false
408 fi
409
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412          X"$0" : 'X\(//\)$' \| \
413          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414 $as_echo X/"$0" |
415     sed '/^.*\/\([^/][^/]*\)\/*$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\/\)$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\).*/{
424             s//\1/
425             q
426           }
427           s/.*/./; q'`
428
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
435
436
437   as_lineno_1=$LINENO as_lineno_1a=$LINENO
438   as_lineno_2=$LINENO as_lineno_2a=$LINENO
439   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
442   sed -n '
443     p
444     /[$]LINENO/=
445   ' <$as_myself |
446     sed '
447       s/[$]LINENO.*/&-/
448       t lineno
449       b
450       :lineno
451       N
452       :loop
453       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454       t loop
455       s/-\n.*//
456     ' >$as_me.lineno &&
457   chmod +x "$as_me.lineno" ||
458     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
459
460   # Don't try to exec as it changes $[0], causing all sort of problems
461   # (the dirname of $[0] is not the place where we might find the
462   # original and so on.  Autoconf is especially sensitive to this).
463   . "./$as_me.lineno"
464   # Exit status is that of the last command.
465   exit
466 }
467
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
470 -n*)
471   case `echo 'xy\c'` in
472   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
473   xy)  ECHO_C='\c';;
474   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
475        ECHO_T=' ';;
476   esac;;
477 *)
478   ECHO_N='-n';;
479 esac
480
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483   rm -f conf$$.dir/conf$$.file
484 else
485   rm -f conf$$.dir
486   mkdir conf$$.dir 2>/dev/null
487 fi
488 if (echo >conf$$.file) 2>/dev/null; then
489   if ln -s conf$$.file conf$$ 2>/dev/null; then
490     as_ln_s='ln -s'
491     # ... but there are two gotchas:
492     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494     # In both cases, we have to default to `cp -p'.
495     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496       as_ln_s='cp -p'
497   elif ln conf$$.file conf$$ 2>/dev/null; then
498     as_ln_s=ln
499   else
500     as_ln_s='cp -p'
501   fi
502 else
503   as_ln_s='cp -p'
504 fi
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
507
508 if mkdir -p . 2>/dev/null; then
509   as_mkdir_p='mkdir -p "$as_dir"'
510 else
511   test -d ./-p && rmdir ./-p
512   as_mkdir_p=false
513 fi
514
515 if test -x / >/dev/null 2>&1; then
516   as_test_x='test -x'
517 else
518   if ls -dL / >/dev/null 2>&1; then
519     as_ls_L_option=L
520   else
521     as_ls_L_option=
522   fi
523   as_test_x='
524     eval sh -c '\''
525       if test -d "$1"; then
526         test -d "$1/.";
527       else
528         case $1 in #(
529         -*)set "./$1";;
530         esac;
531         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532         ???[sx]*):;;*)false;;esac;fi
533     '\'' sh
534   '
535 fi
536 as_executable_p=$as_test_x
537
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
540
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
543
544 SHELL=${CONFIG_SHELL-/bin/sh}
545
546
547 test -n "$DJDIR" || exec 7<&0 </dev/null
548 exec 6>&1
549
550 # Name of the host.
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
554
555 #
556 # Initializations.
557 #
558 ac_default_prefix=/usr/local
559 ac_clean_files=
560 ac_config_libobj_dir=.
561 LIBOBJS=
562 cross_compiling=no
563 subdirs=
564 MFLAGS=
565 MAKEFLAGS=
566
567 # Identity of this package.
568 PACKAGE_NAME='gsignond'
569 PACKAGE_TARNAME='gsignond'
570 PACKAGE_VERSION='0.0.1'
571 PACKAGE_STRING='gsignond 0.0.1'
572 PACKAGE_BUGREPORT=''
573 PACKAGE_URL='http://code.google.com/p/accounts-sso/'
574
575 ac_unique_file="src/daemon/main.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
578 #include <stdio.h>
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
581 #endif
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
584 #endif
585 #ifdef STDC_HEADERS
586 # include <stdlib.h>
587 # include <stddef.h>
588 #else
589 # ifdef HAVE_STDLIB_H
590 #  include <stdlib.h>
591 # endif
592 #endif
593 #ifdef HAVE_STRING_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
595 #  include <memory.h>
596 # endif
597 # include <string.h>
598 #endif
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
601 #endif
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
604 #endif
605 #ifdef HAVE_STDINT_H
606 # include <stdint.h>
607 #endif
608 #ifdef HAVE_UNISTD_H
609 # include <unistd.h>
610 #endif"
611
612 ac_subst_vars='am__EXEEXT_FALSE
613 am__EXEEXT_TRUE
614 LTLIBOBJS
615 LIBOBJS
616 GTK_DOC_USE_REBASE_FALSE
617 GTK_DOC_USE_REBASE_TRUE
618 GTK_DOC_USE_LIBTOOL_FALSE
619 GTK_DOC_USE_LIBTOOL_TRUE
620 GTK_DOC_BUILD_PDF_FALSE
621 GTK_DOC_BUILD_PDF_TRUE
622 GTK_DOC_BUILD_HTML_FALSE
623 GTK_DOC_BUILD_HTML_TRUE
624 ENABLE_GTK_DOC_FALSE
625 ENABLE_GTK_DOC_TRUE
626 GTKDOC_DEPS_LIBS
627 GTKDOC_DEPS_CFLAGS
628 HTML_DIR
629 GTKDOC_MKPDF
630 GTKDOC_REBASE
631 GTKDOC_CHECK
632 DBUS_INTERFACES_DIR
633 DBUS_SERVICES_DIR
634 MESSAGE_BUS_TYPE
635 USE_GTESTDBUS_FALSE
636 USE_GTESTDBUS_TRUE
637 GTestDBus_LIBS
638 GTestDBus_CFLAGS
639 GLIB_MKENUMS
640 HAVE_LIBECRYPTFS_FALSE
641 HAVE_LIBECRYPTFS_TRUE
642 LIBECRYPTFS_LIBS
643 LIBECRYPTFS_CFLAGS
644 HAVE_LIBSMACK_FALSE
645 HAVE_LIBSMACK_TRUE
646 LIBSMACK_LIBS
647 LIBSMACK_CFLAGS
648 CHECK_LIBS
649 CHECK_CFLAGS
650 GSIGNOND_LIBS
651 GSIGNOND_CFLAGS
652 PKG_CONFIG_LIBDIR
653 PKG_CONFIG_PATH
654 PKG_CONFIG
655 CPP
656 OTOOL64
657 OTOOL
658 LIPO
659 NMEDIT
660 DSYMUTIL
661 MANIFEST_TOOL
662 RANLIB
663 DLLTOOL
664 OBJDUMP
665 LN_S
666 NM
667 ac_ct_DUMPBIN
668 DUMPBIN
669 LD
670 FGREP
671 EGREP
672 GREP
673 SED
674 host_os
675 host_vendor
676 host_cpu
677 host
678 build_os
679 build_vendor
680 build_cpu
681 build
682 LIBTOOL
683 ifGNUmake
684 ac_ct_AR
685 AR
686 am__fastdepCC_FALSE
687 am__fastdepCC_TRUE
688 CCDEPMODE
689 am__nodep
690 AMDEPBACKSLASH
691 AMDEP_FALSE
692 AMDEP_TRUE
693 am__quote
694 am__include
695 DEPDIR
696 OBJEXT
697 EXEEXT
698 ac_ct_CC
699 CPPFLAGS
700 LDFLAGS
701 CFLAGS
702 CC
703 AM_BACKSLASH
704 AM_DEFAULT_VERBOSITY
705 AM_DEFAULT_V
706 AM_V
707 am__untar
708 am__tar
709 AMTAR
710 am__leading_dot
711 SET_MAKE
712 AWK
713 mkdir_p
714 MKDIR_P
715 INSTALL_STRIP_PROGRAM
716 STRIP
717 install_sh
718 MAKEINFO
719 AUTOHEADER
720 AUTOMAKE
721 AUTOCONF
722 ACLOCAL
723 VERSION
724 PACKAGE
725 CYGPATH_W
726 am__isrc
727 INSTALL_DATA
728 INSTALL_SCRIPT
729 INSTALL_PROGRAM
730 target_alias
731 host_alias
732 build_alias
733 LIBS
734 ECHO_T
735 ECHO_N
736 ECHO_C
737 DEFS
738 mandir
739 localedir
740 libdir
741 psdir
742 pdfdir
743 dvidir
744 htmldir
745 infodir
746 docdir
747 oldincludedir
748 includedir
749 localstatedir
750 sharedstatedir
751 sysconfdir
752 datadir
753 datarootdir
754 libexecdir
755 sbindir
756 bindir
757 program_transform_name
758 prefix
759 exec_prefix
760 PACKAGE_URL
761 PACKAGE_BUGREPORT
762 PACKAGE_STRING
763 PACKAGE_VERSION
764 PACKAGE_TARNAME
765 PACKAGE_NAME
766 PATH_SEPARATOR
767 SHELL'
768 ac_subst_files=''
769 ac_user_opts='
770 enable_option_checking
771 enable_silent_rules
772 enable_dependency_tracking
773 enable_static
774 enable_shared
775 with_pic
776 enable_fast_install
777 with_gnu_ld
778 with_sysroot
779 enable_libtool_lock
780 enable_distcheck
781 enable_dbus_type
782 enable_debug
783 enable_sql_log
784 with_html_dir
785 enable_gtk_doc
786 enable_gtk_doc_html
787 enable_gtk_doc_pdf
788 '
789       ac_precious_vars='build_alias
790 host_alias
791 target_alias
792 CC
793 CFLAGS
794 LDFLAGS
795 LIBS
796 CPPFLAGS
797 CPP
798 PKG_CONFIG
799 PKG_CONFIG_PATH
800 PKG_CONFIG_LIBDIR
801 GSIGNOND_CFLAGS
802 GSIGNOND_LIBS
803 CHECK_CFLAGS
804 CHECK_LIBS
805 LIBSMACK_CFLAGS
806 LIBSMACK_LIBS
807 LIBECRYPTFS_CFLAGS
808 LIBECRYPTFS_LIBS
809 GTestDBus_CFLAGS
810 GTestDBus_LIBS
811 GTKDOC_DEPS_CFLAGS
812 GTKDOC_DEPS_LIBS'
813
814
815 # Initialize some variables set by options.
816 ac_init_help=
817 ac_init_version=false
818 ac_unrecognized_opts=
819 ac_unrecognized_sep=
820 # The variables have the same names as the options, with
821 # dashes changed to underlines.
822 cache_file=/dev/null
823 exec_prefix=NONE
824 no_create=
825 no_recursion=
826 prefix=NONE
827 program_prefix=NONE
828 program_suffix=NONE
829 program_transform_name=s,x,x,
830 silent=
831 site=
832 srcdir=
833 verbose=
834 x_includes=NONE
835 x_libraries=NONE
836
837 # Installation directory options.
838 # These are left unexpanded so users can "make install exec_prefix=/foo"
839 # and all the variables that are supposed to be based on exec_prefix
840 # by default will actually change.
841 # Use braces instead of parens because sh, perl, etc. also accept them.
842 # (The list follows the same order as the GNU Coding Standards.)
843 bindir='${exec_prefix}/bin'
844 sbindir='${exec_prefix}/sbin'
845 libexecdir='${exec_prefix}/libexec'
846 datarootdir='${prefix}/share'
847 datadir='${datarootdir}'
848 sysconfdir='${prefix}/etc'
849 sharedstatedir='${prefix}/com'
850 localstatedir='${prefix}/var'
851 includedir='${prefix}/include'
852 oldincludedir='/usr/include'
853 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
854 infodir='${datarootdir}/info'
855 htmldir='${docdir}'
856 dvidir='${docdir}'
857 pdfdir='${docdir}'
858 psdir='${docdir}'
859 libdir='${exec_prefix}/lib'
860 localedir='${datarootdir}/locale'
861 mandir='${datarootdir}/man'
862
863 ac_prev=
864 ac_dashdash=
865 for ac_option
866 do
867   # If the previous option needs an argument, assign it.
868   if test -n "$ac_prev"; then
869     eval $ac_prev=\$ac_option
870     ac_prev=
871     continue
872   fi
873
874   case $ac_option in
875   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
876   *=)   ac_optarg= ;;
877   *)    ac_optarg=yes ;;
878   esac
879
880   # Accept the important Cygnus configure options, so we can diagnose typos.
881
882   case $ac_dashdash$ac_option in
883   --)
884     ac_dashdash=yes ;;
885
886   -bindir | --bindir | --bindi | --bind | --bin | --bi)
887     ac_prev=bindir ;;
888   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
889     bindir=$ac_optarg ;;
890
891   -build | --build | --buil | --bui | --bu)
892     ac_prev=build_alias ;;
893   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
894     build_alias=$ac_optarg ;;
895
896   -cache-file | --cache-file | --cache-fil | --cache-fi \
897   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
898     ac_prev=cache_file ;;
899   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
900   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
901     cache_file=$ac_optarg ;;
902
903   --config-cache | -C)
904     cache_file=config.cache ;;
905
906   -datadir | --datadir | --datadi | --datad)
907     ac_prev=datadir ;;
908   -datadir=* | --datadir=* | --datadi=* | --datad=*)
909     datadir=$ac_optarg ;;
910
911   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
912   | --dataroo | --dataro | --datar)
913     ac_prev=datarootdir ;;
914   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
915   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
916     datarootdir=$ac_optarg ;;
917
918   -disable-* | --disable-*)
919     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920     # Reject names that are not valid shell variable names.
921     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
922       as_fn_error $? "invalid feature name: $ac_useropt"
923     ac_useropt_orig=$ac_useropt
924     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925     case $ac_user_opts in
926       *"
927 "enable_$ac_useropt"
928 "*) ;;
929       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
930          ac_unrecognized_sep=', ';;
931     esac
932     eval enable_$ac_useropt=no ;;
933
934   -docdir | --docdir | --docdi | --doc | --do)
935     ac_prev=docdir ;;
936   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
937     docdir=$ac_optarg ;;
938
939   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
940     ac_prev=dvidir ;;
941   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
942     dvidir=$ac_optarg ;;
943
944   -enable-* | --enable-*)
945     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
946     # Reject names that are not valid shell variable names.
947     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948       as_fn_error $? "invalid feature name: $ac_useropt"
949     ac_useropt_orig=$ac_useropt
950     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951     case $ac_user_opts in
952       *"
953 "enable_$ac_useropt"
954 "*) ;;
955       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
956          ac_unrecognized_sep=', ';;
957     esac
958     eval enable_$ac_useropt=\$ac_optarg ;;
959
960   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
961   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
962   | --exec | --exe | --ex)
963     ac_prev=exec_prefix ;;
964   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
965   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
966   | --exec=* | --exe=* | --ex=*)
967     exec_prefix=$ac_optarg ;;
968
969   -gas | --gas | --ga | --g)
970     # Obsolete; use --with-gas.
971     with_gas=yes ;;
972
973   -help | --help | --hel | --he | -h)
974     ac_init_help=long ;;
975   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
976     ac_init_help=recursive ;;
977   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
978     ac_init_help=short ;;
979
980   -host | --host | --hos | --ho)
981     ac_prev=host_alias ;;
982   -host=* | --host=* | --hos=* | --ho=*)
983     host_alias=$ac_optarg ;;
984
985   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
986     ac_prev=htmldir ;;
987   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
988   | --ht=*)
989     htmldir=$ac_optarg ;;
990
991   -includedir | --includedir | --includedi | --included | --include \
992   | --includ | --inclu | --incl | --inc)
993     ac_prev=includedir ;;
994   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
995   | --includ=* | --inclu=* | --incl=* | --inc=*)
996     includedir=$ac_optarg ;;
997
998   -infodir | --infodir | --infodi | --infod | --info | --inf)
999     ac_prev=infodir ;;
1000   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1001     infodir=$ac_optarg ;;
1002
1003   -libdir | --libdir | --libdi | --libd)
1004     ac_prev=libdir ;;
1005   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1006     libdir=$ac_optarg ;;
1007
1008   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1009   | --libexe | --libex | --libe)
1010     ac_prev=libexecdir ;;
1011   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1012   | --libexe=* | --libex=* | --libe=*)
1013     libexecdir=$ac_optarg ;;
1014
1015   -localedir | --localedir | --localedi | --localed | --locale)
1016     ac_prev=localedir ;;
1017   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1018     localedir=$ac_optarg ;;
1019
1020   -localstatedir | --localstatedir | --localstatedi | --localstated \
1021   | --localstate | --localstat | --localsta | --localst | --locals)
1022     ac_prev=localstatedir ;;
1023   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1024   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1025     localstatedir=$ac_optarg ;;
1026
1027   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1028     ac_prev=mandir ;;
1029   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1030     mandir=$ac_optarg ;;
1031
1032   -nfp | --nfp | --nf)
1033     # Obsolete; use --without-fp.
1034     with_fp=no ;;
1035
1036   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1037   | --no-cr | --no-c | -n)
1038     no_create=yes ;;
1039
1040   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1041   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1042     no_recursion=yes ;;
1043
1044   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1045   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1046   | --oldin | --oldi | --old | --ol | --o)
1047     ac_prev=oldincludedir ;;
1048   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1049   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1050   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1051     oldincludedir=$ac_optarg ;;
1052
1053   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1054     ac_prev=prefix ;;
1055   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1056     prefix=$ac_optarg ;;
1057
1058   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1059   | --program-pre | --program-pr | --program-p)
1060     ac_prev=program_prefix ;;
1061   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1062   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1063     program_prefix=$ac_optarg ;;
1064
1065   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1066   | --program-suf | --program-su | --program-s)
1067     ac_prev=program_suffix ;;
1068   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1069   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1070     program_suffix=$ac_optarg ;;
1071
1072   -program-transform-name | --program-transform-name \
1073   | --program-transform-nam | --program-transform-na \
1074   | --program-transform-n | --program-transform- \
1075   | --program-transform | --program-transfor \
1076   | --program-transfo | --program-transf \
1077   | --program-trans | --program-tran \
1078   | --progr-tra | --program-tr | --program-t)
1079     ac_prev=program_transform_name ;;
1080   -program-transform-name=* | --program-transform-name=* \
1081   | --program-transform-nam=* | --program-transform-na=* \
1082   | --program-transform-n=* | --program-transform-=* \
1083   | --program-transform=* | --program-transfor=* \
1084   | --program-transfo=* | --program-transf=* \
1085   | --program-trans=* | --program-tran=* \
1086   | --progr-tra=* | --program-tr=* | --program-t=*)
1087     program_transform_name=$ac_optarg ;;
1088
1089   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1090     ac_prev=pdfdir ;;
1091   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1092     pdfdir=$ac_optarg ;;
1093
1094   -psdir | --psdir | --psdi | --psd | --ps)
1095     ac_prev=psdir ;;
1096   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1097     psdir=$ac_optarg ;;
1098
1099   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100   | -silent | --silent | --silen | --sile | --sil)
1101     silent=yes ;;
1102
1103   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1104     ac_prev=sbindir ;;
1105   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1106   | --sbi=* | --sb=*)
1107     sbindir=$ac_optarg ;;
1108
1109   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1110   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1111   | --sharedst | --shareds | --shared | --share | --shar \
1112   | --sha | --sh)
1113     ac_prev=sharedstatedir ;;
1114   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1115   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1116   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1117   | --sha=* | --sh=*)
1118     sharedstatedir=$ac_optarg ;;
1119
1120   -site | --site | --sit)
1121     ac_prev=site ;;
1122   -site=* | --site=* | --sit=*)
1123     site=$ac_optarg ;;
1124
1125   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1126     ac_prev=srcdir ;;
1127   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1128     srcdir=$ac_optarg ;;
1129
1130   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1131   | --syscon | --sysco | --sysc | --sys | --sy)
1132     ac_prev=sysconfdir ;;
1133   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1134   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1135     sysconfdir=$ac_optarg ;;
1136
1137   -target | --target | --targe | --targ | --tar | --ta | --t)
1138     ac_prev=target_alias ;;
1139   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1140     target_alias=$ac_optarg ;;
1141
1142   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1143     verbose=yes ;;
1144
1145   -version | --version | --versio | --versi | --vers | -V)
1146     ac_init_version=: ;;
1147
1148   -with-* | --with-*)
1149     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1150     # Reject names that are not valid shell variable names.
1151     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1152       as_fn_error $? "invalid package name: $ac_useropt"
1153     ac_useropt_orig=$ac_useropt
1154     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155     case $ac_user_opts in
1156       *"
1157 "with_$ac_useropt"
1158 "*) ;;
1159       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1160          ac_unrecognized_sep=', ';;
1161     esac
1162     eval with_$ac_useropt=\$ac_optarg ;;
1163
1164   -without-* | --without-*)
1165     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1166     # Reject names that are not valid shell variable names.
1167     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168       as_fn_error $? "invalid package name: $ac_useropt"
1169     ac_useropt_orig=$ac_useropt
1170     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171     case $ac_user_opts in
1172       *"
1173 "with_$ac_useropt"
1174 "*) ;;
1175       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1176          ac_unrecognized_sep=', ';;
1177     esac
1178     eval with_$ac_useropt=no ;;
1179
1180   --x)
1181     # Obsolete; use --with-x.
1182     with_x=yes ;;
1183
1184   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1185   | --x-incl | --x-inc | --x-in | --x-i)
1186     ac_prev=x_includes ;;
1187   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1188   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1189     x_includes=$ac_optarg ;;
1190
1191   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1192   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1193     ac_prev=x_libraries ;;
1194   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1195   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1196     x_libraries=$ac_optarg ;;
1197
1198   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1199 Try \`$0 --help' for more information"
1200     ;;
1201
1202   *=*)
1203     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1204     # Reject names that are not valid shell variable names.
1205     case $ac_envvar in #(
1206       '' | [0-9]* | *[!_$as_cr_alnum]* )
1207       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1208     esac
1209     eval $ac_envvar=\$ac_optarg
1210     export $ac_envvar ;;
1211
1212   *)
1213     # FIXME: should be removed in autoconf 3.0.
1214     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1215     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1217     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1218     ;;
1219
1220   esac
1221 done
1222
1223 if test -n "$ac_prev"; then
1224   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1225   as_fn_error $? "missing argument to $ac_option"
1226 fi
1227
1228 if test -n "$ac_unrecognized_opts"; then
1229   case $enable_option_checking in
1230     no) ;;
1231     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1232     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1233   esac
1234 fi
1235
1236 # Check all directory arguments for consistency.
1237 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1238                 datadir sysconfdir sharedstatedir localstatedir includedir \
1239                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1240                 libdir localedir mandir
1241 do
1242   eval ac_val=\$$ac_var
1243   # Remove trailing slashes.
1244   case $ac_val in
1245     */ )
1246       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1247       eval $ac_var=\$ac_val;;
1248   esac
1249   # Be sure to have absolute directory names.
1250   case $ac_val in
1251     [\\/$]* | ?:[\\/]* )  continue;;
1252     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1253   esac
1254   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1255 done
1256
1257 # There might be people who depend on the old broken behavior: `$host'
1258 # used to hold the argument of --host etc.
1259 # FIXME: To remove some day.
1260 build=$build_alias
1261 host=$host_alias
1262 target=$target_alias
1263
1264 # FIXME: To remove some day.
1265 if test "x$host_alias" != x; then
1266   if test "x$build_alias" = x; then
1267     cross_compiling=maybe
1268     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1269     If a cross compiler is detected then cross compile mode will be used" >&2
1270   elif test "x$build_alias" != "x$host_alias"; then
1271     cross_compiling=yes
1272   fi
1273 fi
1274
1275 ac_tool_prefix=
1276 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1277
1278 test "$silent" = yes && exec 6>/dev/null
1279
1280
1281 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1282 ac_ls_di=`ls -di .` &&
1283 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1284   as_fn_error $? "working directory cannot be determined"
1285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1286   as_fn_error $? "pwd does not report name of working directory"
1287
1288
1289 # Find the source files, if location was not specified.
1290 if test -z "$srcdir"; then
1291   ac_srcdir_defaulted=yes
1292   # Try the directory containing this script, then the parent directory.
1293   ac_confdir=`$as_dirname -- "$as_myself" ||
1294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1295          X"$as_myself" : 'X\(//\)[^/]' \| \
1296          X"$as_myself" : 'X\(//\)$' \| \
1297          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1298 $as_echo X"$as_myself" |
1299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1300             s//\1/
1301             q
1302           }
1303           /^X\(\/\/\)[^/].*/{
1304             s//\1/
1305             q
1306           }
1307           /^X\(\/\/\)$/{
1308             s//\1/
1309             q
1310           }
1311           /^X\(\/\).*/{
1312             s//\1/
1313             q
1314           }
1315           s/.*/./; q'`
1316   srcdir=$ac_confdir
1317   if test ! -r "$srcdir/$ac_unique_file"; then
1318     srcdir=..
1319   fi
1320 else
1321   ac_srcdir_defaulted=no
1322 fi
1323 if test ! -r "$srcdir/$ac_unique_file"; then
1324   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1325   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1326 fi
1327 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1328 ac_abs_confdir=`(
1329         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1330         pwd)`
1331 # When building in place, set srcdir=.
1332 if test "$ac_abs_confdir" = "$ac_pwd"; then
1333   srcdir=.
1334 fi
1335 # Remove unnecessary trailing slashes from srcdir.
1336 # Double slashes in file names in object file debugging info
1337 # mess up M-x gdb in Emacs.
1338 case $srcdir in
1339 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1340 esac
1341 for ac_var in $ac_precious_vars; do
1342   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1343   eval ac_env_${ac_var}_value=\$${ac_var}
1344   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1345   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1346 done
1347
1348 #
1349 # Report the --help message.
1350 #
1351 if test "$ac_init_help" = "long"; then
1352   # Omit some internal or obsolete options to make the list less imposing.
1353   # This message is too long to be a string in the A/UX 3.1 sh.
1354   cat <<_ACEOF
1355 \`configure' configures gsignond 0.0.1 to adapt to many kinds of systems.
1356
1357 Usage: $0 [OPTION]... [VAR=VALUE]...
1358
1359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1360 VAR=VALUE.  See below for descriptions of some of the useful variables.
1361
1362 Defaults for the options are specified in brackets.
1363
1364 Configuration:
1365   -h, --help              display this help and exit
1366       --help=short        display options specific to this package
1367       --help=recursive    display the short help of all the included packages
1368   -V, --version           display version information and exit
1369   -q, --quiet, --silent   do not print \`checking ...' messages
1370       --cache-file=FILE   cache test results in FILE [disabled]
1371   -C, --config-cache      alias for \`--cache-file=config.cache'
1372   -n, --no-create         do not create output files
1373       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1374
1375 Installation directories:
1376   --prefix=PREFIX         install architecture-independent files in PREFIX
1377                           [$ac_default_prefix]
1378   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1379                           [PREFIX]
1380
1381 By default, \`make install' will install all the files in
1382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1384 for instance \`--prefix=\$HOME'.
1385
1386 For better control, use the options below.
1387
1388 Fine tuning of the installation directories:
1389   --bindir=DIR            user executables [EPREFIX/bin]
1390   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1391   --libexecdir=DIR        program executables [EPREFIX/libexec]
1392   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1393   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1394   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1395   --libdir=DIR            object code libraries [EPREFIX/lib]
1396   --includedir=DIR        C header files [PREFIX/include]
1397   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1398   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1399   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1400   --infodir=DIR           info documentation [DATAROOTDIR/info]
1401   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1402   --mandir=DIR            man documentation [DATAROOTDIR/man]
1403   --docdir=DIR            documentation root [DATAROOTDIR/doc/gsignond]
1404   --htmldir=DIR           html documentation [DOCDIR]
1405   --dvidir=DIR            dvi documentation [DOCDIR]
1406   --pdfdir=DIR            pdf documentation [DOCDIR]
1407   --psdir=DIR             ps documentation [DOCDIR]
1408 _ACEOF
1409
1410   cat <<\_ACEOF
1411
1412 Program names:
1413   --program-prefix=PREFIX            prepend PREFIX to installed program names
1414   --program-suffix=SUFFIX            append SUFFIX to installed program names
1415   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1416
1417 System types:
1418   --build=BUILD     configure for building on BUILD [guessed]
1419   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1420 _ACEOF
1421 fi
1422
1423 if test -n "$ac_init_help"; then
1424   case $ac_init_help in
1425      short | recursive ) echo "Configuration of gsignond 0.0.1:";;
1426    esac
1427   cat <<\_ACEOF
1428
1429 Optional Features:
1430   --disable-option-checking  ignore unrecognized --enable/--with options
1431   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1432   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1433   --enable-silent-rules          less verbose build output (undo: `make V=1')
1434   --disable-silent-rules         verbose build output (undo: `make V=0')
1435   --disable-dependency-tracking  speeds up one-time build
1436   --enable-dependency-tracking   do not reject slow dependency extractors
1437   --enable-static[=PKGS]  build static libraries [default=no]
1438   --enable-shared[=PKGS]  build shared libraries [default=yes]
1439   --enable-fast-install[=PKGS]
1440                           optimize for fast installation [default=yes]
1441   --disable-libtool-lock  avoid locking (might break parallel builds)
1442   --enable-distcheck build for distcheck target
1443   --enable-dbus-type=dbus-type specify daemon dbus type:
1444                           p2p(default): uses peer to peer dbus
1445                           session: uses session message bus
1446                           system: uses system message bus
1447   --enable-debug          enable debug features
1448   --enable-sql-log          enable sql log feature
1449   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1450   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1451   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
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   GSIGNOND_CFLAGS
1478               C compiler flags for GSIGNOND, overriding pkg-config
1479   GSIGNOND_LIBS
1480               linker flags for GSIGNOND, overriding pkg-config
1481   CHECK_CFLAGS
1482               C compiler flags for CHECK, overriding pkg-config
1483   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1484   LIBSMACK_CFLAGS
1485               C compiler flags for LIBSMACK, overriding pkg-config
1486   LIBSMACK_LIBS
1487               linker flags for LIBSMACK, overriding pkg-config
1488   LIBECRYPTFS_CFLAGS
1489               C compiler flags for LIBECRYPTFS, overriding pkg-config
1490   LIBECRYPTFS_LIBS
1491               linker flags for LIBECRYPTFS, overriding pkg-config
1492   GTestDBus_CFLAGS
1493               C compiler flags for GTestDBus, overriding pkg-config
1494   GTestDBus_LIBS
1495               linker flags for GTestDBus, overriding pkg-config
1496   GTKDOC_DEPS_CFLAGS
1497               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1498   GTKDOC_DEPS_LIBS
1499               linker flags for GTKDOC_DEPS, overriding pkg-config
1500
1501 Use these variables to override the choices made by `configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1503
1504 Report bugs to the package provider.
1505 gsignond home page: <http://code.google.com/p/accounts-sso/>.
1506 _ACEOF
1507 ac_status=$?
1508 fi
1509
1510 if test "$ac_init_help" = "recursive"; then
1511   # If there are subdirs, report their specific --help.
1512   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513     test -d "$ac_dir" ||
1514       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1515       continue
1516     ac_builddir=.
1517
1518 case "$ac_dir" in
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 *)
1521   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1522   # A ".." for each directory in $ac_dir_suffix.
1523   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1524   case $ac_top_builddir_sub in
1525   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1527   esac ;;
1528 esac
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1533
1534 case $srcdir in
1535   .)  # We are building in place.
1536     ac_srcdir=.
1537     ac_top_srcdir=$ac_top_builddir_sub
1538     ac_abs_top_srcdir=$ac_pwd ;;
1539   [\\/]* | ?:[\\/]* )  # Absolute name.
1540     ac_srcdir=$srcdir$ac_dir_suffix;
1541     ac_top_srcdir=$srcdir
1542     ac_abs_top_srcdir=$srcdir ;;
1543   *) # Relative name.
1544     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545     ac_top_srcdir=$ac_top_build_prefix$srcdir
1546     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1547 esac
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1549
1550     cd "$ac_dir" || { ac_status=$?; continue; }
1551     # Check for guested configure.
1552     if test -f "$ac_srcdir/configure.gnu"; then
1553       echo &&
1554       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555     elif test -f "$ac_srcdir/configure"; then
1556       echo &&
1557       $SHELL "$ac_srcdir/configure" --help=recursive
1558     else
1559       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560     fi || ac_status=$?
1561     cd "$ac_pwd" || { ac_status=$?; break; }
1562   done
1563 fi
1564
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1567   cat <<\_ACEOF
1568 gsignond configure 0.0.1
1569 generated by GNU Autoconf 2.68
1570
1571 Copyright (C) 2010 Free Software Foundation, Inc.
1572 This configure script is free software; the Free Software Foundation
1573 gives unlimited permission to copy, distribute and modify it.
1574 _ACEOF
1575   exit
1576 fi
1577
1578 ## ------------------------ ##
1579 ## Autoconf initialization. ##
1580 ## ------------------------ ##
1581
1582 # ac_fn_c_try_compile LINENO
1583 # --------------------------
1584 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1585 ac_fn_c_try_compile ()
1586 {
1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588   rm -f conftest.$ac_objext
1589   if { { ac_try="$ac_compile"
1590 case "(($ac_try" in
1591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592   *) ac_try_echo=$ac_try;;
1593 esac
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596   (eval "$ac_compile") 2>conftest.err
1597   ac_status=$?
1598   if test -s conftest.err; then
1599     grep -v '^ *+' conftest.err >conftest.er1
1600     cat conftest.er1 >&5
1601     mv -f conftest.er1 conftest.err
1602   fi
1603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604   test $ac_status = 0; } && {
1605          test -z "$ac_c_werror_flag" ||
1606          test ! -s conftest.err
1607        } && test -s conftest.$ac_objext; then :
1608   ac_retval=0
1609 else
1610   $as_echo "$as_me: failed program was:" >&5
1611 sed 's/^/| /' conftest.$ac_ext >&5
1612
1613         ac_retval=1
1614 fi
1615   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616   as_fn_set_status $ac_retval
1617
1618 } # ac_fn_c_try_compile
1619
1620 # ac_fn_c_try_link LINENO
1621 # -----------------------
1622 # Try to link conftest.$ac_ext, and return whether this succeeded.
1623 ac_fn_c_try_link ()
1624 {
1625   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626   rm -f conftest.$ac_objext conftest$ac_exeext
1627   if { { ac_try="$ac_link"
1628 case "(($ac_try" in
1629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630   *) ac_try_echo=$ac_try;;
1631 esac
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634   (eval "$ac_link") 2>conftest.err
1635   ac_status=$?
1636   if test -s conftest.err; then
1637     grep -v '^ *+' conftest.err >conftest.er1
1638     cat conftest.er1 >&5
1639     mv -f conftest.er1 conftest.err
1640   fi
1641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642   test $ac_status = 0; } && {
1643          test -z "$ac_c_werror_flag" ||
1644          test ! -s conftest.err
1645        } && test -s conftest$ac_exeext && {
1646          test "$cross_compiling" = yes ||
1647          $as_test_x conftest$ac_exeext
1648        }; then :
1649   ac_retval=0
1650 else
1651   $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1653
1654         ac_retval=1
1655 fi
1656   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1657   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1658   # interfere with the next link command; also delete a directory that is
1659   # left behind by Apple's compiler.  We do this before executing the actions.
1660   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1661   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662   as_fn_set_status $ac_retval
1663
1664 } # ac_fn_c_try_link
1665
1666 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists and can be compiled using the include files in
1669 # INCLUDES, setting the cache variable VAR accordingly.
1670 ac_fn_c_check_header_compile ()
1671 {
1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 $as_echo_n "checking for $2... " >&6; }
1675 if eval \${$3+:} false; then :
1676   $as_echo_n "(cached) " >&6
1677 else
1678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679 /* end confdefs.h.  */
1680 $4
1681 #include <$2>
1682 _ACEOF
1683 if ac_fn_c_try_compile "$LINENO"; then :
1684   eval "$3=yes"
1685 else
1686   eval "$3=no"
1687 fi
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 fi
1690 eval ac_res=\$$3
1691                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694
1695 } # ac_fn_c_check_header_compile
1696
1697 # ac_fn_c_try_cpp LINENO
1698 # ----------------------
1699 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1700 ac_fn_c_try_cpp ()
1701 {
1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703   if { { ac_try="$ac_cpp conftest.$ac_ext"
1704 case "(($ac_try" in
1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706   *) ac_try_echo=$ac_try;;
1707 esac
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1711   ac_status=$?
1712   if test -s conftest.err; then
1713     grep -v '^ *+' conftest.err >conftest.er1
1714     cat conftest.er1 >&5
1715     mv -f conftest.er1 conftest.err
1716   fi
1717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718   test $ac_status = 0; } > conftest.i && {
1719          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1720          test ! -s conftest.err
1721        }; then :
1722   ac_retval=0
1723 else
1724   $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.$ac_ext >&5
1726
1727     ac_retval=1
1728 fi
1729   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730   as_fn_set_status $ac_retval
1731
1732 } # ac_fn_c_try_cpp
1733
1734 # ac_fn_c_try_run LINENO
1735 # ----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1737 # that executables *can* be run.
1738 ac_fn_c_try_run ()
1739 {
1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741   if { { ac_try="$ac_link"
1742 case "(($ac_try" in
1743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744   *) ac_try_echo=$ac_try;;
1745 esac
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748   (eval "$ac_link") 2>&5
1749   ac_status=$?
1750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1752   { { case "(($ac_try" in
1753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754   *) ac_try_echo=$ac_try;;
1755 esac
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758   (eval "$ac_try") 2>&5
1759   ac_status=$?
1760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761   test $ac_status = 0; }; }; then :
1762   ac_retval=0
1763 else
1764   $as_echo "$as_me: program exited with status $ac_status" >&5
1765        $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1767
1768        ac_retval=$ac_status
1769 fi
1770   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772   as_fn_set_status $ac_retval
1773
1774 } # ac_fn_c_try_run
1775
1776 # ac_fn_c_check_func LINENO FUNC VAR
1777 # ----------------------------------
1778 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1779 ac_fn_c_check_func ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval \${$3+:} false; then :
1785   $as_echo_n "(cached) " >&6
1786 else
1787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h.  */
1789 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1791 #define $2 innocuous_$2
1792
1793 /* System header to define __stub macros and hopefully few prototypes,
1794     which can conflict with char $2 (); below.
1795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1796     <limits.h> exists even on freestanding compilers.  */
1797
1798 #ifdef __STDC__
1799 # include <limits.h>
1800 #else
1801 # include <assert.h>
1802 #endif
1803
1804 #undef $2
1805
1806 /* Override any GCC internal prototype to avoid an error.
1807    Use char because int might match the return type of a GCC
1808    builtin and then its argument prototype would still apply.  */
1809 #ifdef __cplusplus
1810 extern "C"
1811 #endif
1812 char $2 ();
1813 /* The GNU C library defines this for functions which it implements
1814     to always fail with ENOSYS.  Some functions are actually named
1815     something starting with __ and the normal name is an alias.  */
1816 #if defined __stub_$2 || defined __stub___$2
1817 choke me
1818 #endif
1819
1820 int
1821 main ()
1822 {
1823 return $2 ();
1824   ;
1825   return 0;
1826 }
1827 _ACEOF
1828 if ac_fn_c_try_link "$LINENO"; then :
1829   eval "$3=yes"
1830 else
1831   eval "$3=no"
1832 fi
1833 rm -f core conftest.err conftest.$ac_objext \
1834     conftest$ac_exeext conftest.$ac_ext
1835 fi
1836 eval ac_res=\$$3
1837                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1839   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840
1841 } # ac_fn_c_check_func
1842
1843 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1844 # -------------------------------------------------------
1845 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1846 # the include files in INCLUDES and setting the cache variable VAR
1847 # accordingly.
1848 ac_fn_c_check_header_mongrel ()
1849 {
1850   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851   if eval \${$3+:} false; then :
1852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if eval \${$3+:} false; then :
1855   $as_echo_n "(cached) " >&6
1856 fi
1857 eval ac_res=\$$3
1858                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 else
1861   # Is the header compilable?
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1863 $as_echo_n "checking $2 usability... " >&6; }
1864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h.  */
1866 $4
1867 #include <$2>
1868 _ACEOF
1869 if ac_fn_c_try_compile "$LINENO"; then :
1870   ac_header_compiler=yes
1871 else
1872   ac_header_compiler=no
1873 fi
1874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1876 $as_echo "$ac_header_compiler" >&6; }
1877
1878 # Is the header present?
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1880 $as_echo_n "checking $2 presence... " >&6; }
1881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882 /* end confdefs.h.  */
1883 #include <$2>
1884 _ACEOF
1885 if ac_fn_c_try_cpp "$LINENO"; then :
1886   ac_header_preproc=yes
1887 else
1888   ac_header_preproc=no
1889 fi
1890 rm -f conftest.err conftest.i conftest.$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1892 $as_echo "$ac_header_preproc" >&6; }
1893
1894 # So?  What about this header?
1895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1896   yes:no: )
1897     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1898 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1899     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1900 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1901     ;;
1902   no:yes:* )
1903     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1904 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1905     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1906 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1907     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1908 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1909     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1910 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1911     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1912 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1913     ;;
1914 esac
1915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1916 $as_echo_n "checking for $2... " >&6; }
1917 if eval \${$3+:} false; then :
1918   $as_echo_n "(cached) " >&6
1919 else
1920   eval "$3=\$ac_header_compiler"
1921 fi
1922 eval ac_res=\$$3
1923                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1925 fi
1926   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927
1928 } # ac_fn_c_check_header_mongrel
1929 cat >config.log <<_ACEOF
1930 This file contains any messages produced by compilers while
1931 running configure, to aid debugging if configure makes a mistake.
1932
1933 It was created by gsignond $as_me 0.0.1, which was
1934 generated by GNU Autoconf 2.68.  Invocation command line was
1935
1936   $ $0 $@
1937
1938 _ACEOF
1939 exec 5>>config.log
1940 {
1941 cat <<_ASUNAME
1942 ## --------- ##
1943 ## Platform. ##
1944 ## --------- ##
1945
1946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1951
1952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1953 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1954
1955 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1956 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1958 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1959 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1960 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1961 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1962
1963 _ASUNAME
1964
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966 for as_dir in $PATH
1967 do
1968   IFS=$as_save_IFS
1969   test -z "$as_dir" && as_dir=.
1970     $as_echo "PATH: $as_dir"
1971   done
1972 IFS=$as_save_IFS
1973
1974 } >&5
1975
1976 cat >&5 <<_ACEOF
1977
1978
1979 ## ----------- ##
1980 ## Core tests. ##
1981 ## ----------- ##
1982
1983 _ACEOF
1984
1985
1986 # Keep a trace of the command line.
1987 # Strip out --no-create and --no-recursion so they do not pile up.
1988 # Strip out --silent because we don't want to record it for future runs.
1989 # Also quote any args containing shell meta-characters.
1990 # Make two passes to allow for proper duplicate-argument suppression.
1991 ac_configure_args=
1992 ac_configure_args0=
1993 ac_configure_args1=
1994 ac_must_keep_next=false
1995 for ac_pass in 1 2
1996 do
1997   for ac_arg
1998   do
1999     case $ac_arg in
2000     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2001     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2002     | -silent | --silent | --silen | --sile | --sil)
2003       continue ;;
2004     *\'*)
2005       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2006     esac
2007     case $ac_pass in
2008     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2009     2)
2010       as_fn_append ac_configure_args1 " '$ac_arg'"
2011       if test $ac_must_keep_next = true; then
2012         ac_must_keep_next=false # Got value, back to normal.
2013       else
2014         case $ac_arg in
2015           *=* | --config-cache | -C | -disable-* | --disable-* \
2016           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2017           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2018           | -with-* | --with-* | -without-* | --without-* | --x)
2019             case "$ac_configure_args0 " in
2020               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2021             esac
2022             ;;
2023           -* ) ac_must_keep_next=true ;;
2024         esac
2025       fi
2026       as_fn_append ac_configure_args " '$ac_arg'"
2027       ;;
2028     esac
2029   done
2030 done
2031 { ac_configure_args0=; unset ac_configure_args0;}
2032 { ac_configure_args1=; unset ac_configure_args1;}
2033
2034 # When interrupted or exit'd, cleanup temporary files, and complete
2035 # config.log.  We remove comments because anyway the quotes in there
2036 # would cause problems or look ugly.
2037 # WARNING: Use '\'' to represent an apostrophe within the trap.
2038 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2039 trap 'exit_status=$?
2040   # Save into config.log some information that might help in debugging.
2041   {
2042     echo
2043
2044     $as_echo "## ---------------- ##
2045 ## Cache variables. ##
2046 ## ---------------- ##"
2047     echo
2048     # The following way of writing the cache mishandles newlines in values,
2049 (
2050   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2051     eval ac_val=\$$ac_var
2052     case $ac_val in #(
2053     *${as_nl}*)
2054       case $ac_var in #(
2055       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2057       esac
2058       case $ac_var in #(
2059       _ | IFS | as_nl) ;; #(
2060       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2061       *) { eval $ac_var=; unset $ac_var;} ;;
2062       esac ;;
2063     esac
2064   done
2065   (set) 2>&1 |
2066     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2067     *${as_nl}ac_space=\ *)
2068       sed -n \
2069         "s/'\''/'\''\\\\'\'''\''/g;
2070           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2071       ;; #(
2072     *)
2073       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2074       ;;
2075     esac |
2076     sort
2077 )
2078     echo
2079
2080     $as_echo "## ----------------- ##
2081 ## Output variables. ##
2082 ## ----------------- ##"
2083     echo
2084     for ac_var in $ac_subst_vars
2085     do
2086       eval ac_val=\$$ac_var
2087       case $ac_val in
2088       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2089       esac
2090       $as_echo "$ac_var='\''$ac_val'\''"
2091     done | sort
2092     echo
2093
2094     if test -n "$ac_subst_files"; then
2095       $as_echo "## ------------------- ##
2096 ## File substitutions. ##
2097 ## ------------------- ##"
2098       echo
2099       for ac_var in $ac_subst_files
2100       do
2101         eval ac_val=\$$ac_var
2102         case $ac_val in
2103         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2104         esac
2105         $as_echo "$ac_var='\''$ac_val'\''"
2106       done | sort
2107       echo
2108     fi
2109
2110     if test -s confdefs.h; then
2111       $as_echo "## ----------- ##
2112 ## confdefs.h. ##
2113 ## ----------- ##"
2114       echo
2115       cat confdefs.h
2116       echo
2117     fi
2118     test "$ac_signal" != 0 &&
2119       $as_echo "$as_me: caught signal $ac_signal"
2120     $as_echo "$as_me: exit $exit_status"
2121   } >&5
2122   rm -f core *.core core.conftest.* &&
2123     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2124     exit $exit_status
2125 ' 0
2126 for ac_signal in 1 2 13 15; do
2127   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2128 done
2129 ac_signal=0
2130
2131 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2132 rm -f -r conftest* confdefs.h
2133
2134 $as_echo "/* confdefs.h */" > confdefs.h
2135
2136 # Predefined preprocessor variables.
2137
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_NAME "$PACKAGE_NAME"
2140 _ACEOF
2141
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2144 _ACEOF
2145
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2148 _ACEOF
2149
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_STRING "$PACKAGE_STRING"
2152 _ACEOF
2153
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2156 _ACEOF
2157
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_URL "$PACKAGE_URL"
2160 _ACEOF
2161
2162
2163 # Let the site file select an alternate cache file if it wants to.
2164 # Prefer an explicitly selected file to automatically selected ones.
2165 ac_site_file1=NONE
2166 ac_site_file2=NONE
2167 if test -n "$CONFIG_SITE"; then
2168   # We do not want a PATH search for config.site.
2169   case $CONFIG_SITE in #((
2170     -*)  ac_site_file1=./$CONFIG_SITE;;
2171     */*) ac_site_file1=$CONFIG_SITE;;
2172     *)   ac_site_file1=./$CONFIG_SITE;;
2173   esac
2174 elif test "x$prefix" != xNONE; then
2175   ac_site_file1=$prefix/share/config.site
2176   ac_site_file2=$prefix/etc/config.site
2177 else
2178   ac_site_file1=$ac_default_prefix/share/config.site
2179   ac_site_file2=$ac_default_prefix/etc/config.site
2180 fi
2181 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2182 do
2183   test "x$ac_site_file" = xNONE && continue
2184   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2185     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2186 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2187     sed 's/^/| /' "$ac_site_file" >&5
2188     . "$ac_site_file" \
2189       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191 as_fn_error $? "failed to load site script $ac_site_file
2192 See \`config.log' for more details" "$LINENO" 5; }
2193   fi
2194 done
2195
2196 if test -r "$cache_file"; then
2197   # Some versions of bash will fail to source /dev/null (special files
2198   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2199   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2200     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2201 $as_echo "$as_me: loading cache $cache_file" >&6;}
2202     case $cache_file in
2203       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2204       *)                      . "./$cache_file";;
2205     esac
2206   fi
2207 else
2208   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2209 $as_echo "$as_me: creating cache $cache_file" >&6;}
2210   >$cache_file
2211 fi
2212
2213 # Check that the precious variables saved in the cache have kept the same
2214 # value.
2215 ac_cache_corrupted=false
2216 for ac_var in $ac_precious_vars; do
2217   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2218   eval ac_new_set=\$ac_env_${ac_var}_set
2219   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2220   eval ac_new_val=\$ac_env_${ac_var}_value
2221   case $ac_old_set,$ac_new_set in
2222     set,)
2223       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2224 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2225       ac_cache_corrupted=: ;;
2226     ,set)
2227       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2228 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2229       ac_cache_corrupted=: ;;
2230     ,);;
2231     *)
2232       if test "x$ac_old_val" != "x$ac_new_val"; then
2233         # differences in whitespace do not lead to failure.
2234         ac_old_val_w=`echo x $ac_old_val`
2235         ac_new_val_w=`echo x $ac_new_val`
2236         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2237           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2238 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2239           ac_cache_corrupted=:
2240         else
2241           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2242 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2243           eval $ac_var=\$ac_old_val
2244         fi
2245         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2246 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2247         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2248 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2249       fi;;
2250   esac
2251   # Pass precious variables to config.status.
2252   if test "$ac_new_set" = set; then
2253     case $ac_new_val in
2254     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2255     *) ac_arg=$ac_var=$ac_new_val ;;
2256     esac
2257     case " $ac_configure_args " in
2258       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2259       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2260     esac
2261   fi
2262 done
2263 if $ac_cache_corrupted; then
2264   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2266   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2267 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2268   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2269 fi
2270 ## -------------------- ##
2271 ## Main body of script. ##
2272 ## -------------------- ##
2273
2274 ac_ext=c
2275 ac_cpp='$CPP $CPPFLAGS'
2276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2279
2280
2281
2282 ac_config_headers="$ac_config_headers config.h"
2283
2284 ac_aux_dir=
2285 for ac_dir in build-aux "$srcdir"/build-aux; do
2286   if test -f "$ac_dir/install-sh"; then
2287     ac_aux_dir=$ac_dir
2288     ac_install_sh="$ac_aux_dir/install-sh -c"
2289     break
2290   elif test -f "$ac_dir/install.sh"; then
2291     ac_aux_dir=$ac_dir
2292     ac_install_sh="$ac_aux_dir/install.sh -c"
2293     break
2294   elif test -f "$ac_dir/shtool"; then
2295     ac_aux_dir=$ac_dir
2296     ac_install_sh="$ac_aux_dir/shtool install -c"
2297     break
2298   fi
2299 done
2300 if test -z "$ac_aux_dir"; then
2301   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2302 fi
2303
2304 # These three variables are undocumented and unsupported,
2305 # and are intended to be withdrawn in a future Autoconf release.
2306 # They can cause serious problems if a builder's source tree is in a directory
2307 # whose full name contains unusual characters.
2308 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2309 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2310 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2311
2312
2313
2314
2315 am__api_version='1.11'
2316
2317 # Find a good install program.  We prefer a C program (faster),
2318 # so one script is as good as another.  But avoid the broken or
2319 # incompatible versions:
2320 # SysV /etc/install, /usr/sbin/install
2321 # SunOS /usr/etc/install
2322 # IRIX /sbin/install
2323 # AIX /bin/install
2324 # AmigaOS /C/install, which installs bootblocks on floppy discs
2325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2328 # OS/2's system install, which has a completely different semantic
2329 # ./install, which can be erroneously created by make from ./install.sh.
2330 # Reject install programs that cannot install multiple files.
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2332 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2333 if test -z "$INSTALL"; then
2334 if ${ac_cv_path_install+:} false; then :
2335   $as_echo_n "(cached) " >&6
2336 else
2337   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 for as_dir in $PATH
2339 do
2340   IFS=$as_save_IFS
2341   test -z "$as_dir" && as_dir=.
2342     # Account for people who put trailing slashes in PATH elements.
2343 case $as_dir/ in #((
2344   ./ | .// | /[cC]/* | \
2345   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2346   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2347   /usr/ucb/* ) ;;
2348   *)
2349     # OSF1 and SCO ODT 3.0 have their own names for install.
2350     # Don't use installbsd from OSF since it installs stuff as root
2351     # by default.
2352     for ac_prog in ginstall scoinst install; do
2353       for ac_exec_ext in '' $ac_executable_extensions; do
2354         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2355           if test $ac_prog = install &&
2356             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2357             # AIX install.  It has an incompatible calling convention.
2358             :
2359           elif test $ac_prog = install &&
2360             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361             # program-specific install script used by HP pwplus--don't use.
2362             :
2363           else
2364             rm -rf conftest.one conftest.two conftest.dir
2365             echo one > conftest.one
2366             echo two > conftest.two
2367             mkdir conftest.dir
2368             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2369               test -s conftest.one && test -s conftest.two &&
2370               test -s conftest.dir/conftest.one &&
2371               test -s conftest.dir/conftest.two
2372             then
2373               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2374               break 3
2375             fi
2376           fi
2377         fi
2378       done
2379     done
2380     ;;
2381 esac
2382
2383   done
2384 IFS=$as_save_IFS
2385
2386 rm -rf conftest.one conftest.two conftest.dir
2387
2388 fi
2389   if test "${ac_cv_path_install+set}" = set; then
2390     INSTALL=$ac_cv_path_install
2391   else
2392     # As a last resort, use the slow shell script.  Don't cache a
2393     # value for INSTALL within a source directory, because that will
2394     # break other packages using the cache if that directory is
2395     # removed, or if the value is a relative name.
2396     INSTALL=$ac_install_sh
2397   fi
2398 fi
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2400 $as_echo "$INSTALL" >&6; }
2401
2402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2403 # It thinks the first close brace ends the variable substitution.
2404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2405
2406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2407
2408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2409
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2411 $as_echo_n "checking whether build environment is sane... " >&6; }
2412 # Just in case
2413 sleep 1
2414 echo timestamp > conftest.file
2415 # Reject unsafe characters in $srcdir or the absolute working directory
2416 # name.  Accept space and tab only in the latter.
2417 am_lf='
2418 '
2419 case `pwd` in
2420   *[\\\"\#\$\&\'\`$am_lf]*)
2421     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2422 esac
2423 case $srcdir in
2424   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2425     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2426 esac
2427
2428 # Do `set' in a subshell so we don't clobber the current shell's
2429 # arguments.  Must try -L first in case configure is actually a
2430 # symlink; some systems play weird games with the mod time of symlinks
2431 # (eg FreeBSD returns the mod time of the symlink's containing
2432 # directory).
2433 if (
2434    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2435    if test "$*" = "X"; then
2436       # -L didn't work.
2437       set X `ls -t "$srcdir/configure" conftest.file`
2438    fi
2439    rm -f conftest.file
2440    if test "$*" != "X $srcdir/configure conftest.file" \
2441       && test "$*" != "X conftest.file $srcdir/configure"; then
2442
2443       # If neither matched, then we have a broken ls.  This can happen
2444       # if, for instance, CONFIG_SHELL is bash and it inherits a
2445       # broken ls alias from the environment.  This has actually
2446       # happened.  Such a system could not be considered "sane".
2447       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2448 alias in your environment" "$LINENO" 5
2449    fi
2450
2451    test "$2" = conftest.file
2452    )
2453 then
2454    # Ok.
2455    :
2456 else
2457    as_fn_error $? "newly created file is older than distributed files!
2458 Check your system clock" "$LINENO" 5
2459 fi
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2461 $as_echo "yes" >&6; }
2462 test "$program_prefix" != NONE &&
2463   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2464 # Use a double $ so make ignores it.
2465 test "$program_suffix" != NONE &&
2466   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2467 # Double any \ or $.
2468 # By default was `s,x,x', remove it if useless.
2469 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2470 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2471
2472 # expand $ac_aux_dir to an absolute path
2473 am_aux_dir=`cd $ac_aux_dir && pwd`
2474
2475 if test x"${MISSING+set}" != xset; then
2476   case $am_aux_dir in
2477   *\ * | *\     *)
2478     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2479   *)
2480     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2481   esac
2482 fi
2483 # Use eval to expand $SHELL
2484 if eval "$MISSING --run true"; then
2485   am_missing_run="$MISSING --run "
2486 else
2487   am_missing_run=
2488   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2489 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2490 fi
2491
2492 if test x"${install_sh}" != xset; then
2493   case $am_aux_dir in
2494   *\ * | *\     *)
2495     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2496   *)
2497     install_sh="\${SHELL} $am_aux_dir/install-sh"
2498   esac
2499 fi
2500
2501 # Installed binaries are usually stripped using `strip' when the user
2502 # run `make install-strip'.  However `strip' might not be the right
2503 # tool to use in cross-compilation environments, therefore Automake
2504 # will honor the `STRIP' environment variable to overrule this program.
2505 if test "$cross_compiling" != no; then
2506   if test -n "$ac_tool_prefix"; then
2507   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2508 set dummy ${ac_tool_prefix}strip; ac_word=$2
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if ${ac_cv_prog_STRIP+:} false; then :
2512   $as_echo_n "(cached) " >&6
2513 else
2514   if test -n "$STRIP"; then
2515   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2516 else
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520   IFS=$as_save_IFS
2521   test -z "$as_dir" && as_dir=.
2522     for ac_exec_ext in '' $ac_executable_extensions; do
2523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526     break 2
2527   fi
2528 done
2529   done
2530 IFS=$as_save_IFS
2531
2532 fi
2533 fi
2534 STRIP=$ac_cv_prog_STRIP
2535 if test -n "$STRIP"; then
2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2537 $as_echo "$STRIP" >&6; }
2538 else
2539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540 $as_echo "no" >&6; }
2541 fi
2542
2543
2544 fi
2545 if test -z "$ac_cv_prog_STRIP"; then
2546   ac_ct_STRIP=$STRIP
2547   # Extract the first word of "strip", so it can be a program name with args.
2548 set dummy strip; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2552   $as_echo_n "(cached) " >&6
2553 else
2554   if test -n "$ac_ct_STRIP"; then
2555   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2556 else
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 for as_dir in $PATH
2559 do
2560   IFS=$as_save_IFS
2561   test -z "$as_dir" && as_dir=.
2562     for ac_exec_ext in '' $ac_executable_extensions; do
2563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564     ac_cv_prog_ac_ct_STRIP="strip"
2565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566     break 2
2567   fi
2568 done
2569   done
2570 IFS=$as_save_IFS
2571
2572 fi
2573 fi
2574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2575 if test -n "$ac_ct_STRIP"; then
2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2577 $as_echo "$ac_ct_STRIP" >&6; }
2578 else
2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2581 fi
2582
2583   if test "x$ac_ct_STRIP" = x; then
2584     STRIP=":"
2585   else
2586     case $cross_compiling:$ac_tool_warned in
2587 yes:)
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2590 ac_tool_warned=yes ;;
2591 esac
2592     STRIP=$ac_ct_STRIP
2593   fi
2594 else
2595   STRIP="$ac_cv_prog_STRIP"
2596 fi
2597
2598 fi
2599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2600
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2602 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2603 if test -z "$MKDIR_P"; then
2604   if ${ac_cv_path_mkdir+:} false; then :
2605   $as_echo_n "(cached) " >&6
2606 else
2607   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2609 do
2610   IFS=$as_save_IFS
2611   test -z "$as_dir" && as_dir=.
2612     for ac_prog in mkdir gmkdir; do
2613          for ac_exec_ext in '' $ac_executable_extensions; do
2614            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2615            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2616              'mkdir (GNU coreutils) '* | \
2617              'mkdir (coreutils) '* | \
2618              'mkdir (fileutils) '4.1*)
2619                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2620                break 3;;
2621            esac
2622          done
2623        done
2624   done
2625 IFS=$as_save_IFS
2626
2627 fi
2628
2629   test -d ./--version && rmdir ./--version
2630   if test "${ac_cv_path_mkdir+set}" = set; then
2631     MKDIR_P="$ac_cv_path_mkdir -p"
2632   else
2633     # As a last resort, use the slow shell script.  Don't cache a
2634     # value for MKDIR_P within a source directory, because that will
2635     # break other packages using the cache if that directory is
2636     # removed, or if the value is a relative name.
2637     MKDIR_P="$ac_install_sh -d"
2638   fi
2639 fi
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2641 $as_echo "$MKDIR_P" >&6; }
2642
2643 mkdir_p="$MKDIR_P"
2644 case $mkdir_p in
2645   [\\/$]* | ?:[\\/]*) ;;
2646   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2647 esac
2648
2649 for ac_prog in gawk mawk nawk awk
2650 do
2651   # Extract the first word of "$ac_prog", so it can be a program name with args.
2652 set dummy $ac_prog; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_AWK+:} false; then :
2656   $as_echo_n "(cached) " >&6
2657 else
2658   if test -n "$AWK"; then
2659   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2660 else
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH
2663 do
2664   IFS=$as_save_IFS
2665   test -z "$as_dir" && as_dir=.
2666     for ac_exec_ext in '' $ac_executable_extensions; do
2667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668     ac_cv_prog_AWK="$ac_prog"
2669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670     break 2
2671   fi
2672 done
2673   done
2674 IFS=$as_save_IFS
2675
2676 fi
2677 fi
2678 AWK=$ac_cv_prog_AWK
2679 if test -n "$AWK"; then
2680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2681 $as_echo "$AWK" >&6; }
2682 else
2683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2685 fi
2686
2687
2688   test -n "$AWK" && break
2689 done
2690
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2692 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2693 set x ${MAKE-make}
2694 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2695 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2696   $as_echo_n "(cached) " >&6
2697 else
2698   cat >conftest.make <<\_ACEOF
2699 SHELL = /bin/sh
2700 all:
2701         @echo '@@@%%%=$(MAKE)=@@@%%%'
2702 _ACEOF
2703 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2704 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2705   *@@@%%%=?*=@@@%%%*)
2706     eval ac_cv_prog_make_${ac_make}_set=yes;;
2707   *)
2708     eval ac_cv_prog_make_${ac_make}_set=no;;
2709 esac
2710 rm -f conftest.make
2711 fi
2712 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2715   SET_MAKE=
2716 else
2717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2719   SET_MAKE="MAKE=${MAKE-make}"
2720 fi
2721
2722 rm -rf .tst 2>/dev/null
2723 mkdir .tst 2>/dev/null
2724 if test -d .tst; then
2725   am__leading_dot=.
2726 else
2727   am__leading_dot=_
2728 fi
2729 rmdir .tst 2>/dev/null
2730
2731 # Check whether --enable-silent-rules was given.
2732 if test "${enable_silent_rules+set}" = set; then :
2733   enableval=$enable_silent_rules;
2734 fi
2735
2736 case $enable_silent_rules in
2737 yes) AM_DEFAULT_VERBOSITY=0;;
2738 no)  AM_DEFAULT_VERBOSITY=1;;
2739 *)   AM_DEFAULT_VERBOSITY=1;;
2740 esac
2741 am_make=${MAKE-make}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2743 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2744 if ${am_cv_make_support_nested_variables+:} false; then :
2745   $as_echo_n "(cached) " >&6
2746 else
2747   if $as_echo 'TRUE=$(BAR$(V))
2748 BAR0=false
2749 BAR1=true
2750 V=1
2751 am__doit:
2752         @$(TRUE)
2753 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2754   am_cv_make_support_nested_variables=yes
2755 else
2756   am_cv_make_support_nested_variables=no
2757 fi
2758 fi
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2760 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2761 if test $am_cv_make_support_nested_variables = yes; then
2762     AM_V='$(V)'
2763   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2764 else
2765   AM_V=$AM_DEFAULT_VERBOSITY
2766   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2767 fi
2768 AM_BACKSLASH='\'
2769
2770 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2771   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2772   # is not polluted with repeated "-I."
2773   am__isrc=' -I$(srcdir)'
2774   # test to see if srcdir already configured
2775   if test -f $srcdir/config.status; then
2776     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2777   fi
2778 fi
2779
2780 # test whether we have cygpath
2781 if test -z "$CYGPATH_W"; then
2782   if (cygpath --version) >/dev/null 2>/dev/null; then
2783     CYGPATH_W='cygpath -w'
2784   else
2785     CYGPATH_W=echo
2786   fi
2787 fi
2788
2789
2790 # Define the identity of the package.
2791  PACKAGE='gsignond'
2792  VERSION='0.0.1'
2793
2794
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE "$PACKAGE"
2797 _ACEOF
2798
2799
2800 cat >>confdefs.h <<_ACEOF
2801 #define VERSION "$VERSION"
2802 _ACEOF
2803
2804 # Some tools Automake needs.
2805
2806 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2807
2808
2809 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2810
2811
2812 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2813
2814
2815 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2816
2817
2818 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2819
2820 # We need awk for the "check" target.  The system "awk" is bad on
2821 # some platforms.
2822 # Always define AMTAR for backward compatibility.  Yes, it's still used
2823 # in the wild :-(  We should find a proper way to deprecate it ...
2824 AMTAR='$${TAR-tar}'
2825
2826
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2828 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2829 # Loop over all known methods to create a tar archive until one works.
2830 _am_tools='gnutar  pax cpio none'
2831 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2832 # Do not fold the above two line into one, because Tru64 sh and
2833 # Solaris sh will not grok spaces in the rhs of `-'.
2834 for _am_tool in $_am_tools
2835 do
2836   case $_am_tool in
2837   gnutar)
2838     for _am_tar in tar gnutar gtar;
2839     do
2840       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2841    ($_am_tar --version) >&5 2>&5
2842    ac_status=$?
2843    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844    (exit $ac_status); } && break
2845     done
2846     am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2847     am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2848     am__untar="$_am_tar -xf -"
2849     ;;
2850   plaintar)
2851     # Must skip GNU tar: if it does not support --format= it doesn't create
2852     # ustar tarball either.
2853     (tar --version) >/dev/null 2>&1 && continue
2854     am__tar='tar chf - "$$tardir"'
2855     am__tar_='tar chf - "$tardir"'
2856     am__untar='tar xf -'
2857     ;;
2858   pax)
2859     am__tar='pax -L -x pax -w "$$tardir"'
2860     am__tar_='pax -L -x pax -w "$tardir"'
2861     am__untar='pax -r'
2862     ;;
2863   cpio)
2864     am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2865     am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2866     am__untar='cpio -i -H pax -d'
2867     ;;
2868   none)
2869     am__tar=false
2870     am__tar_=false
2871     am__untar=false
2872     ;;
2873   esac
2874
2875   # If the value was cached, stop now.  We just wanted to have am__tar
2876   # and am__untar set.
2877   test -n "${am_cv_prog_tar_pax}" && break
2878
2879   # tar/untar a dummy directory, and stop if the command works
2880   rm -rf conftest.dir
2881   mkdir conftest.dir
2882   echo GrepMe > conftest.dir/file
2883   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2884    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2885    ac_status=$?
2886    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887    (exit $ac_status); }
2888   rm -rf conftest.dir
2889   if test -s conftest.tar; then
2890     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2891    ($am__untar <conftest.tar) >&5 2>&5
2892    ac_status=$?
2893    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894    (exit $ac_status); }
2895     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2896   fi
2897 done
2898 rm -rf conftest.dir
2899
2900 if ${am_cv_prog_tar_pax+:} false; then :
2901   $as_echo_n "(cached) " >&6
2902 else
2903   am_cv_prog_tar_pax=$_am_tool
2904 fi
2905
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2907 $as_echo "$am_cv_prog_tar_pax" >&6; }
2908
2909
2910
2911
2912
2913
2914 # Checks for programs.
2915 ac_ext=c
2916 ac_cpp='$CPP $CPPFLAGS'
2917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2920 if test -n "$ac_tool_prefix"; then
2921   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2922 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if ${ac_cv_prog_CC+:} false; then :
2926   $as_echo_n "(cached) " >&6
2927 else
2928   if test -n "$CC"; then
2929   ac_cv_prog_CC="$CC" # Let the user override the test.
2930 else
2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932 for as_dir in $PATH
2933 do
2934   IFS=$as_save_IFS
2935   test -z "$as_dir" && as_dir=.
2936     for ac_exec_ext in '' $ac_executable_extensions; do
2937   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2940     break 2
2941   fi
2942 done
2943   done
2944 IFS=$as_save_IFS
2945
2946 fi
2947 fi
2948 CC=$ac_cv_prog_CC
2949 if test -n "$CC"; then
2950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2951 $as_echo "$CC" >&6; }
2952 else
2953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2955 fi
2956
2957
2958 fi
2959 if test -z "$ac_cv_prog_CC"; then
2960   ac_ct_CC=$CC
2961   # Extract the first word of "gcc", so it can be a program name with args.
2962 set dummy gcc; ac_word=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2966   $as_echo_n "(cached) " >&6
2967 else
2968   if test -n "$ac_ct_CC"; then
2969   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2970 else
2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 for as_dir in $PATH
2973 do
2974   IFS=$as_save_IFS
2975   test -z "$as_dir" && as_dir=.
2976     for ac_exec_ext in '' $ac_executable_extensions; do
2977   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978     ac_cv_prog_ac_ct_CC="gcc"
2979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980     break 2
2981   fi
2982 done
2983   done
2984 IFS=$as_save_IFS
2985
2986 fi
2987 fi
2988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2989 if test -n "$ac_ct_CC"; then
2990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2991 $as_echo "$ac_ct_CC" >&6; }
2992 else
2993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
2995 fi
2996
2997   if test "x$ac_ct_CC" = x; then
2998     CC=""
2999   else
3000     case $cross_compiling:$ac_tool_warned in
3001 yes:)
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3004 ac_tool_warned=yes ;;
3005 esac
3006     CC=$ac_ct_CC
3007   fi
3008 else
3009   CC="$ac_cv_prog_CC"
3010 fi
3011
3012 if test -z "$CC"; then
3013           if test -n "$ac_tool_prefix"; then
3014     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3015 set dummy ${ac_tool_prefix}cc; ac_word=$2
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017 $as_echo_n "checking for $ac_word... " >&6; }
3018 if ${ac_cv_prog_CC+:} false; then :
3019   $as_echo_n "(cached) " >&6
3020 else
3021   if test -n "$CC"; then
3022   ac_cv_prog_CC="$CC" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3026 do
3027   IFS=$as_save_IFS
3028   test -z "$as_dir" && as_dir=.
3029     for ac_exec_ext in '' $ac_executable_extensions; do
3030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031     ac_cv_prog_CC="${ac_tool_prefix}cc"
3032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3033     break 2
3034   fi
3035 done
3036   done
3037 IFS=$as_save_IFS
3038
3039 fi
3040 fi
3041 CC=$ac_cv_prog_CC
3042 if test -n "$CC"; then
3043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3044 $as_echo "$CC" >&6; }
3045 else
3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3048 fi
3049
3050
3051   fi
3052 fi
3053 if test -z "$CC"; then
3054   # Extract the first word of "cc", so it can be a program name with args.
3055 set dummy cc; ac_word=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if ${ac_cv_prog_CC+:} false; then :
3059   $as_echo_n "(cached) " >&6
3060 else
3061   if test -n "$CC"; then
3062   ac_cv_prog_CC="$CC" # Let the user override the test.
3063 else
3064   ac_prog_rejected=no
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 for as_dir in $PATH
3067 do
3068   IFS=$as_save_IFS
3069   test -z "$as_dir" && as_dir=.
3070     for ac_exec_ext in '' $ac_executable_extensions; do
3071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3073        ac_prog_rejected=yes
3074        continue
3075      fi
3076     ac_cv_prog_CC="cc"
3077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078     break 2
3079   fi
3080 done
3081   done
3082 IFS=$as_save_IFS
3083
3084 if test $ac_prog_rejected = yes; then
3085   # We found a bogon in the path, so make sure we never use it.
3086   set dummy $ac_cv_prog_CC
3087   shift
3088   if test $# != 0; then
3089     # We chose a different compiler from the bogus one.
3090     # However, it has the same basename, so the bogon will be chosen
3091     # first if we set CC to just the basename; use the full file name.
3092     shift
3093     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3094   fi
3095 fi
3096 fi
3097 fi
3098 CC=$ac_cv_prog_CC
3099 if test -n "$CC"; then
3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3102 else
3103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3105 fi
3106
3107
3108 fi
3109 if test -z "$CC"; then
3110   if test -n "$ac_tool_prefix"; then
3111   for ac_prog in cl.exe
3112   do
3113     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if ${ac_cv_prog_CC+:} false; then :
3118   $as_echo_n "(cached) " >&6
3119 else
3120   if test -n "$CC"; then
3121   ac_cv_prog_CC="$CC" # Let the user override the test.
3122 else
3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 for as_dir in $PATH
3125 do
3126   IFS=$as_save_IFS
3127   test -z "$as_dir" && as_dir=.
3128     for ac_exec_ext in '' $ac_executable_extensions; do
3129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3130     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3132     break 2
3133   fi
3134 done
3135   done
3136 IFS=$as_save_IFS
3137
3138 fi
3139 fi
3140 CC=$ac_cv_prog_CC
3141 if test -n "$CC"; then
3142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3143 $as_echo "$CC" >&6; }
3144 else
3145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3147 fi
3148
3149
3150     test -n "$CC" && break
3151   done
3152 fi
3153 if test -z "$CC"; then
3154   ac_ct_CC=$CC
3155   for ac_prog in cl.exe
3156 do
3157   # Extract the first word of "$ac_prog", so it can be a program name with args.
3158 set dummy $ac_prog; ac_word=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3162   $as_echo_n "(cached) " >&6
3163 else
3164   if test -n "$ac_ct_CC"; then
3165   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3166 else
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 for as_dir in $PATH
3169 do
3170   IFS=$as_save_IFS
3171   test -z "$as_dir" && as_dir=.
3172     for ac_exec_ext in '' $ac_executable_extensions; do
3173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174     ac_cv_prog_ac_ct_CC="$ac_prog"
3175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176     break 2
3177   fi
3178 done
3179   done
3180 IFS=$as_save_IFS
3181
3182 fi
3183 fi
3184 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3185 if test -n "$ac_ct_CC"; then
3186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3187 $as_echo "$ac_ct_CC" >&6; }
3188 else
3189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 fi
3192
3193
3194   test -n "$ac_ct_CC" && break
3195 done
3196
3197   if test "x$ac_ct_CC" = x; then
3198     CC=""
3199   else
3200     case $cross_compiling:$ac_tool_warned in
3201 yes:)
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3204 ac_tool_warned=yes ;;
3205 esac
3206     CC=$ac_ct_CC
3207   fi
3208 fi
3209
3210 fi
3211
3212
3213 test -z "$CC" && { { $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 $? "no acceptable C compiler found in \$PATH
3216 See \`config.log' for more details" "$LINENO" 5; }
3217
3218 # Provide some information about the compiler.
3219 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3220 set X $ac_compile
3221 ac_compiler=$2
3222 for ac_option in --version -v -V -qversion; do
3223   { { ac_try="$ac_compiler $ac_option >&5"
3224 case "(($ac_try" in
3225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226   *) ac_try_echo=$ac_try;;
3227 esac
3228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229 $as_echo "$ac_try_echo"; } >&5
3230   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3231   ac_status=$?
3232   if test -s conftest.err; then
3233     sed '10a\
3234 ... rest of stderr output deleted ...
3235          10q' conftest.err >conftest.er1
3236     cat conftest.er1 >&5
3237   fi
3238   rm -f conftest.er1 conftest.err
3239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240   test $ac_status = 0; }
3241 done
3242
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h.  */
3245
3246 int
3247 main ()
3248 {
3249
3250   ;
3251   return 0;
3252 }
3253 _ACEOF
3254 ac_clean_files_save=$ac_clean_files
3255 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3256 # Try to create an executable without -o first, disregard a.out.
3257 # It will help us diagnose broken compilers, and finding out an intuition
3258 # of exeext.
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3260 $as_echo_n "checking whether the C compiler works... " >&6; }
3261 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3262
3263 # The possible output files:
3264 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3265
3266 ac_rmfiles=
3267 for ac_file in $ac_files
3268 do
3269   case $ac_file in
3270     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3271     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3272   esac
3273 done
3274 rm -f $ac_rmfiles
3275
3276 if { { ac_try="$ac_link_default"
3277 case "(($ac_try" in
3278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279   *) ac_try_echo=$ac_try;;
3280 esac
3281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282 $as_echo "$ac_try_echo"; } >&5
3283   (eval "$ac_link_default") 2>&5
3284   ac_status=$?
3285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286   test $ac_status = 0; }; then :
3287   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3288 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3289 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3290 # so that the user can short-circuit this test for compilers unknown to
3291 # Autoconf.
3292 for ac_file in $ac_files ''
3293 do
3294   test -f "$ac_file" || continue
3295   case $ac_file in
3296     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3297         ;;
3298     [ab].out )
3299         # We found the default executable, but exeext='' is most
3300         # certainly right.
3301         break;;
3302     *.* )
3303         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3304         then :; else
3305            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3306         fi
3307         # We set ac_cv_exeext here because the later test for it is not
3308         # safe: cross compilers may not add the suffix if given an `-o'
3309         # argument, so we may need to know it at that point already.
3310         # Even if this section looks crufty: it has the advantage of
3311         # actually working.
3312         break;;
3313     * )
3314         break;;
3315   esac
3316 done
3317 test "$ac_cv_exeext" = no && ac_cv_exeext=
3318
3319 else
3320   ac_file=''
3321 fi
3322 if test -z "$ac_file"; then :
3323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3325 $as_echo "$as_me: failed program was:" >&5
3326 sed 's/^/| /' conftest.$ac_ext >&5
3327
3328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3330 as_fn_error 77 "C compiler cannot create executables
3331 See \`config.log' for more details" "$LINENO" 5; }
3332 else
3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3334 $as_echo "yes" >&6; }
3335 fi
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3337 $as_echo_n "checking for C compiler default output file name... " >&6; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3339 $as_echo "$ac_file" >&6; }
3340 ac_exeext=$ac_cv_exeext
3341
3342 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3343 ac_clean_files=$ac_clean_files_save
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3345 $as_echo_n "checking for suffix of executables... " >&6; }
3346 if { { ac_try="$ac_link"
3347 case "(($ac_try" in
3348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349   *) ac_try_echo=$ac_try;;
3350 esac
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353   (eval "$ac_link") 2>&5
3354   ac_status=$?
3355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356   test $ac_status = 0; }; then :
3357   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3358 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3359 # work properly (i.e., refer to `conftest.exe'), while it won't with
3360 # `rm'.
3361 for ac_file in conftest.exe conftest conftest.*; do
3362   test -f "$ac_file" || continue
3363   case $ac_file in
3364     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3365     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3366           break;;
3367     * ) break;;
3368   esac
3369 done
3370 else
3371   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3374 See \`config.log' for more details" "$LINENO" 5; }
3375 fi
3376 rm -f conftest conftest$ac_cv_exeext
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3378 $as_echo "$ac_cv_exeext" >&6; }
3379
3380 rm -f conftest.$ac_ext
3381 EXEEXT=$ac_cv_exeext
3382 ac_exeext=$EXEEXT
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h.  */
3385 #include <stdio.h>
3386 int
3387 main ()
3388 {
3389 FILE *f = fopen ("conftest.out", "w");
3390  return ferror (f) || fclose (f) != 0;
3391
3392   ;
3393   return 0;
3394 }
3395 _ACEOF
3396 ac_clean_files="$ac_clean_files conftest.out"
3397 # Check that the compiler produces executables we can run.  If not, either
3398 # the compiler is broken, or we cross compile.
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3400 $as_echo_n "checking whether we are cross compiling... " >&6; }
3401 if test "$cross_compiling" != yes; then
3402   { { ac_try="$ac_link"
3403 case "(($ac_try" in
3404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405   *) ac_try_echo=$ac_try;;
3406 esac
3407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409   (eval "$ac_link") 2>&5
3410   ac_status=$?
3411   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412   test $ac_status = 0; }
3413   if { ac_try='./conftest$ac_cv_exeext'
3414   { { case "(($ac_try" in
3415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416   *) ac_try_echo=$ac_try;;
3417 esac
3418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419 $as_echo "$ac_try_echo"; } >&5
3420   (eval "$ac_try") 2>&5
3421   ac_status=$?
3422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423   test $ac_status = 0; }; }; then
3424     cross_compiling=no
3425   else
3426     if test "$cross_compiling" = maybe; then
3427         cross_compiling=yes
3428     else
3429         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error $? "cannot run C compiled programs.
3432 If you meant to cross compile, use \`--host'.
3433 See \`config.log' for more details" "$LINENO" 5; }
3434     fi
3435   fi
3436 fi
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3438 $as_echo "$cross_compiling" >&6; }
3439
3440 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3441 ac_clean_files=$ac_clean_files_save
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3443 $as_echo_n "checking for suffix of object files... " >&6; }
3444 if ${ac_cv_objext+:} false; then :
3445   $as_echo_n "(cached) " >&6
3446 else
3447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h.  */
3449
3450 int
3451 main ()
3452 {
3453
3454   ;
3455   return 0;
3456 }
3457 _ACEOF
3458 rm -f conftest.o conftest.obj
3459 if { { ac_try="$ac_compile"
3460 case "(($ac_try" in
3461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462   *) ac_try_echo=$ac_try;;
3463 esac
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466   (eval "$ac_compile") 2>&5
3467   ac_status=$?
3468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469   test $ac_status = 0; }; then :
3470   for ac_file in conftest.o conftest.obj conftest.*; do
3471   test -f "$ac_file" || continue;
3472   case $ac_file in
3473     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3474     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3475        break;;
3476   esac
3477 done
3478 else
3479   $as_echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3481
3482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 as_fn_error $? "cannot compute suffix of object files: cannot compile
3485 See \`config.log' for more details" "$LINENO" 5; }
3486 fi
3487 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3488 fi
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3490 $as_echo "$ac_cv_objext" >&6; }
3491 OBJEXT=$ac_cv_objext
3492 ac_objext=$OBJEXT
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3494 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3495 if ${ac_cv_c_compiler_gnu+:} false; then :
3496   $as_echo_n "(cached) " >&6
3497 else
3498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h.  */
3500
3501 int
3502 main ()
3503 {
3504 #ifndef __GNUC__
3505        choke me
3506 #endif
3507
3508   ;
3509   return 0;
3510 }
3511 _ACEOF
3512 if ac_fn_c_try_compile "$LINENO"; then :
3513   ac_compiler_gnu=yes
3514 else
3515   ac_compiler_gnu=no
3516 fi
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3519
3520 fi
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3522 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3523 if test $ac_compiler_gnu = yes; then
3524   GCC=yes
3525 else
3526   GCC=
3527 fi
3528 ac_test_CFLAGS=${CFLAGS+set}
3529 ac_save_CFLAGS=$CFLAGS
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3531 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3532 if ${ac_cv_prog_cc_g+:} false; then :
3533   $as_echo_n "(cached) " >&6
3534 else
3535   ac_save_c_werror_flag=$ac_c_werror_flag
3536    ac_c_werror_flag=yes
3537    ac_cv_prog_cc_g=no
3538    CFLAGS="-g"
3539    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h.  */
3541
3542 int
3543 main ()
3544 {
3545
3546   ;
3547   return 0;
3548 }
3549 _ACEOF
3550 if ac_fn_c_try_compile "$LINENO"; then :
3551   ac_cv_prog_cc_g=yes
3552 else
3553   CFLAGS=""
3554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h.  */
3556
3557 int
3558 main ()
3559 {
3560
3561   ;
3562   return 0;
3563 }
3564 _ACEOF
3565 if ac_fn_c_try_compile "$LINENO"; then :
3566
3567 else
3568   ac_c_werror_flag=$ac_save_c_werror_flag
3569          CFLAGS="-g"
3570          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h.  */
3572
3573 int
3574 main ()
3575 {
3576
3577   ;
3578   return 0;
3579 }
3580 _ACEOF
3581 if ac_fn_c_try_compile "$LINENO"; then :
3582   ac_cv_prog_cc_g=yes
3583 fi
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 fi
3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3587 fi
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589    ac_c_werror_flag=$ac_save_c_werror_flag
3590 fi
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3592 $as_echo "$ac_cv_prog_cc_g" >&6; }
3593 if test "$ac_test_CFLAGS" = set; then
3594   CFLAGS=$ac_save_CFLAGS
3595 elif test $ac_cv_prog_cc_g = yes; then
3596   if test "$GCC" = yes; then
3597     CFLAGS="-g -O2"
3598   else
3599     CFLAGS="-g"
3600   fi
3601 else
3602   if test "$GCC" = yes; then
3603     CFLAGS="-O2"
3604   else
3605     CFLAGS=
3606   fi
3607 fi
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3609 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3610 if ${ac_cv_prog_cc_c89+:} false; then :
3611   $as_echo_n "(cached) " >&6
3612 else
3613   ac_cv_prog_cc_c89=no
3614 ac_save_CC=$CC
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h.  */
3617 #include <stdarg.h>
3618 #include <stdio.h>
3619 #include <sys/types.h>
3620 #include <sys/stat.h>
3621 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3622 struct buf { int x; };
3623 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3624 static char *e (p, i)
3625      char **p;
3626      int i;
3627 {
3628   return p[i];
3629 }
3630 static char *f (char * (*g) (char **, int), char **p, ...)
3631 {
3632   char *s;
3633   va_list v;
3634   va_start (v,p);
3635   s = g (p, va_arg (v,int));
3636   va_end (v);
3637   return s;
3638 }
3639
3640 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3641    function prototypes and stuff, but not '\xHH' hex character constants.
3642    These don't provoke an error unfortunately, instead are silently treated
3643    as 'x'.  The following induces an error, until -std is added to get
3644    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3645    array size at least.  It's necessary to write '\x00'==0 to get something
3646    that's true only with -std.  */
3647 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3648
3649 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3650    inside strings and character constants.  */
3651 #define FOO(x) 'x'
3652 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3653
3654 int test (int i, double x);
3655 struct s1 {int (*f) (int a);};
3656 struct s2 {int (*f) (double a);};
3657 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3658 int argc;
3659 char **argv;
3660 int
3661 main ()
3662 {
3663 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3664   ;
3665   return 0;
3666 }
3667 _ACEOF
3668 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3669         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3670 do
3671   CC="$ac_save_CC $ac_arg"
3672   if ac_fn_c_try_compile "$LINENO"; then :
3673   ac_cv_prog_cc_c89=$ac_arg
3674 fi
3675 rm -f core conftest.err conftest.$ac_objext
3676   test "x$ac_cv_prog_cc_c89" != "xno" && break
3677 done
3678 rm -f conftest.$ac_ext
3679 CC=$ac_save_CC
3680
3681 fi
3682 # AC_CACHE_VAL
3683 case "x$ac_cv_prog_cc_c89" in
3684   x)
3685     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3686 $as_echo "none needed" >&6; } ;;
3687   xno)
3688     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3689 $as_echo "unsupported" >&6; } ;;
3690   *)
3691     CC="$CC $ac_cv_prog_cc_c89"
3692     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3693 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3694 esac
3695 if test "x$ac_cv_prog_cc_c89" != xno; then :
3696
3697 fi
3698
3699 ac_ext=c
3700 ac_cpp='$CPP $CPPFLAGS'
3701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3704 DEPDIR="${am__leading_dot}deps"
3705
3706 ac_config_commands="$ac_config_commands depfiles"
3707
3708
3709 am_make=${MAKE-make}
3710 cat > confinc << 'END'
3711 am__doit:
3712         @echo this is the am__doit target
3713 .PHONY: am__doit
3714 END
3715 # If we don't find an include directive, just comment out the code.
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3717 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3718 am__include="#"
3719 am__quote=
3720 _am_result=none
3721 # First try GNU make style include.
3722 echo "include confinc" > confmf
3723 # Ignore all kinds of additional output from `make'.
3724 case `$am_make -s -f confmf 2> /dev/null` in #(
3725 *the\ am__doit\ target*)
3726   am__include=include
3727   am__quote=
3728   _am_result=GNU
3729   ;;
3730 esac
3731 # Now try BSD make style include.
3732 if test "$am__include" = "#"; then
3733    echo '.include "confinc"' > confmf
3734    case `$am_make -s -f confmf 2> /dev/null` in #(
3735    *the\ am__doit\ target*)
3736      am__include=.include
3737      am__quote="\""
3738      _am_result=BSD
3739      ;;
3740    esac
3741 fi
3742
3743
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3745 $as_echo "$_am_result" >&6; }
3746 rm -f confinc confmf
3747
3748 # Check whether --enable-dependency-tracking was given.
3749 if test "${enable_dependency_tracking+set}" = set; then :
3750   enableval=$enable_dependency_tracking;
3751 fi
3752
3753 if test "x$enable_dependency_tracking" != xno; then
3754   am_depcomp="$ac_aux_dir/depcomp"
3755   AMDEPBACKSLASH='\'
3756   am__nodep='_no'
3757 fi
3758  if test "x$enable_dependency_tracking" != xno; then
3759   AMDEP_TRUE=
3760   AMDEP_FALSE='#'
3761 else
3762   AMDEP_TRUE='#'
3763   AMDEP_FALSE=
3764 fi
3765
3766
3767
3768 depcc="$CC"   am_compiler_list=
3769
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3771 $as_echo_n "checking dependency style of $depcc... " >&6; }
3772 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3773   $as_echo_n "(cached) " >&6
3774 else
3775   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3776   # We make a subdir and do the tests there.  Otherwise we can end up
3777   # making bogus files that we don't know about and never remove.  For
3778   # instance it was reported that on HP-UX the gcc test will end up
3779   # making a dummy file named `D' -- because `-MD' means `put the output
3780   # in D'.
3781   rm -rf conftest.dir
3782   mkdir conftest.dir
3783   # Copy depcomp to subdir because otherwise we won't find it if we're
3784   # using a relative directory.
3785   cp "$am_depcomp" conftest.dir
3786   cd conftest.dir
3787   # We will build objects and dependencies in a subdirectory because
3788   # it helps to detect inapplicable dependency modes.  For instance
3789   # both Tru64's cc and ICC support -MD to output dependencies as a
3790   # side effect of compilation, but ICC will put the dependencies in
3791   # the current directory while Tru64 will put them in the object
3792   # directory.
3793   mkdir sub
3794
3795   am_cv_CC_dependencies_compiler_type=none
3796   if test "$am_compiler_list" = ""; then
3797      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3798   fi
3799   am__universal=false
3800   case " $depcc " in #(
3801      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3802      esac
3803
3804   for depmode in $am_compiler_list; do
3805     # Setup a source with many dependencies, because some compilers
3806     # like to wrap large dependency lists on column 80 (with \), and
3807     # we should not choose a depcomp mode which is confused by this.
3808     #
3809     # We need to recreate these files for each test, as the compiler may
3810     # overwrite some of them when testing with obscure command lines.
3811     # This happens at least with the AIX C compiler.
3812     : > sub/conftest.c
3813     for i in 1 2 3 4 5 6; do
3814       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3815       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3816       # Solaris 8's {/usr,}/bin/sh.
3817       touch sub/conftst$i.h
3818     done
3819     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3820
3821     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3822     # mode.  It turns out that the SunPro C++ compiler does not properly
3823     # handle `-M -o', and we need to detect this.  Also, some Intel
3824     # versions had trouble with output in subdirs
3825     am__obj=sub/conftest.${OBJEXT-o}
3826     am__minus_obj="-o $am__obj"
3827     case $depmode in
3828     gcc)
3829       # This depmode causes a compiler race in universal mode.
3830       test "$am__universal" = false || continue
3831       ;;
3832     nosideeffect)
3833       # after this tag, mechanisms are not by side-effect, so they'll
3834       # only be used when explicitly requested
3835       if test "x$enable_dependency_tracking" = xyes; then
3836         continue
3837       else
3838         break
3839       fi
3840       ;;
3841     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3842       # This compiler won't grok `-c -o', but also, the minuso test has
3843       # not run yet.  These depmodes are late enough in the game, and
3844       # so weak that their functioning should not be impacted.
3845       am__obj=conftest.${OBJEXT-o}
3846       am__minus_obj=
3847       ;;
3848     none) break ;;
3849     esac
3850     if depmode=$depmode \
3851        source=sub/conftest.c object=$am__obj \
3852        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3853        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3854          >/dev/null 2>conftest.err &&
3855        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3856        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3857        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3858        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3859       # icc doesn't choke on unknown options, it will just issue warnings
3860       # or remarks (even with -Werror).  So we grep stderr for any message
3861       # that says an option was ignored or not supported.
3862       # When given -MP, icc 7.0 and 7.1 complain thusly:
3863       #   icc: Command line warning: ignoring option '-M'; no argument required
3864       # The diagnosis changed in icc 8.0:
3865       #   icc: Command line remark: option '-MP' not supported
3866       if (grep 'ignoring option' conftest.err ||
3867           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3868         am_cv_CC_dependencies_compiler_type=$depmode
3869         break
3870       fi
3871     fi
3872   done
3873
3874   cd ..
3875   rm -rf conftest.dir
3876 else
3877   am_cv_CC_dependencies_compiler_type=none
3878 fi
3879
3880 fi
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3882 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3883 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3884
3885  if
3886   test "x$enable_dependency_tracking" != xno \
3887   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3888   am__fastdepCC_TRUE=
3889   am__fastdepCC_FALSE='#'
3890 else
3891   am__fastdepCC_TRUE='#'
3892   am__fastdepCC_FALSE=
3893 fi
3894
3895
3896
3897 if test -n "$ac_tool_prefix"; then
3898   for ac_prog in ar lib "link -lib"
3899   do
3900     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3903 $as_echo_n "checking for $ac_word... " >&6; }
3904 if ${ac_cv_prog_AR+:} false; then :
3905   $as_echo_n "(cached) " >&6
3906 else
3907   if test -n "$AR"; then
3908   ac_cv_prog_AR="$AR" # Let the user override the test.
3909 else
3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 for as_dir in $PATH
3912 do
3913   IFS=$as_save_IFS
3914   test -z "$as_dir" && as_dir=.
3915     for ac_exec_ext in '' $ac_executable_extensions; do
3916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3917     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3919     break 2
3920   fi
3921 done
3922   done
3923 IFS=$as_save_IFS
3924
3925 fi
3926 fi
3927 AR=$ac_cv_prog_AR
3928 if test -n "$AR"; then
3929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3930 $as_echo "$AR" >&6; }
3931 else
3932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3933 $as_echo "no" >&6; }
3934 fi
3935
3936
3937     test -n "$AR" && break
3938   done
3939 fi
3940 if test -z "$AR"; then
3941   ac_ct_AR=$AR
3942   for ac_prog in ar lib "link -lib"
3943 do
3944   # Extract the first word of "$ac_prog", so it can be a program name with args.
3945 set dummy $ac_prog; ac_word=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3949   $as_echo_n "(cached) " >&6
3950 else
3951   if test -n "$ac_ct_AR"; then
3952   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3953 else
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 for as_dir in $PATH
3956 do
3957   IFS=$as_save_IFS
3958   test -z "$as_dir" && as_dir=.
3959     for ac_exec_ext in '' $ac_executable_extensions; do
3960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3961     ac_cv_prog_ac_ct_AR="$ac_prog"
3962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963     break 2
3964   fi
3965 done
3966   done
3967 IFS=$as_save_IFS
3968
3969 fi
3970 fi
3971 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3972 if test -n "$ac_ct_AR"; then
3973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3974 $as_echo "$ac_ct_AR" >&6; }
3975 else
3976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3978 fi
3979
3980
3981   test -n "$ac_ct_AR" && break
3982 done
3983
3984   if test "x$ac_ct_AR" = x; then
3985     AR="false"
3986   else
3987     case $cross_compiling:$ac_tool_warned in
3988 yes:)
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3991 ac_tool_warned=yes ;;
3992 esac
3993     AR=$ac_ct_AR
3994   fi
3995 fi
3996
3997 : ${AR=ar}
3998
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4000 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4001 if ${am_cv_ar_interface+:} false; then :
4002   $as_echo_n "(cached) " >&6
4003 else
4004   am_cv_ar_interface=ar
4005    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h.  */
4007 int some_variable = 0;
4008 _ACEOF
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4011       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4012   (eval $am_ar_try) 2>&5
4013   ac_status=$?
4014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015   test $ac_status = 0; }
4016       if test "$ac_status" -eq 0; then
4017         am_cv_ar_interface=ar
4018       else
4019         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4020         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4021   (eval $am_ar_try) 2>&5
4022   ac_status=$?
4023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024   test $ac_status = 0; }
4025         if test "$ac_status" -eq 0; then
4026           am_cv_ar_interface=lib
4027         else
4028           am_cv_ar_interface=unknown
4029         fi
4030       fi
4031       rm -f conftest.lib libconftest.a
4032
4033 fi
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035
4036 fi
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4038 $as_echo "$am_cv_ar_interface" >&6; }
4039
4040 case $am_cv_ar_interface in
4041 ar)
4042   ;;
4043 lib)
4044   # Microsoft lib, so override with the ar-lib wrapper script.
4045   # FIXME: It is wrong to rewrite AR.
4046   # But if we don't then we get into trouble of one sort or another.
4047   # A longer-term fix would be to have automake use am__AR in this case,
4048   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4049   # similar.
4050   AR="$am_aux_dir/ar-lib $AR"
4051   ;;
4052 unknown)
4053   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4054   ;;
4055 esac
4056
4057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4058 $as_echo_n "checking for GNU make... " >&6; }
4059 if ${_cv_gnu_make_command+:} false; then :
4060   $as_echo_n "(cached) " >&6
4061 else
4062   _cv_gnu_make_command='' ;
4063                 for a in "$MAKE" make gmake gnumake ; do
4064                         if test -z "$a" ; then continue ; fi ;
4065                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
4066                                 _cv_gnu_make_command=$a ;
4067                                 break;
4068                         fi
4069                 done ;
4070
4071 fi
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4073 $as_echo "$_cv_gnu_make_command" >&6; } ;
4074         if test  "x$_cv_gnu_make_command" != "x"  ; then
4075                 ifGNUmake='' ;
4076         else
4077                 ifGNUmake='#' ;
4078                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4079 $as_echo "\"Not found\"" >&6; };
4080         fi
4081
4082
4083 if test "x$ifGNUmake" = "x#" ; then
4084         as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4085 fi
4086
4087 #libtool
4088
4089 case `pwd` in
4090   *\ * | *\     *)
4091     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4092 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4093 esac
4094
4095
4096
4097 macro_version='2.4.2'
4098 macro_revision='1.3337'
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112 ltmain="$ac_aux_dir/ltmain.sh"
4113
4114 # Make sure we can run config.sub.
4115 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4116   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4117
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4119 $as_echo_n "checking build system type... " >&6; }
4120 if ${ac_cv_build+:} false; then :
4121   $as_echo_n "(cached) " >&6
4122 else
4123   ac_build_alias=$build_alias
4124 test "x$ac_build_alias" = x &&
4125   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4126 test "x$ac_build_alias" = x &&
4127   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4128 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4129   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4130
4131 fi
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4133 $as_echo "$ac_cv_build" >&6; }
4134 case $ac_cv_build in
4135 *-*-*) ;;
4136 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4137 esac
4138 build=$ac_cv_build
4139 ac_save_IFS=$IFS; IFS='-'
4140 set x $ac_cv_build
4141 shift
4142 build_cpu=$1
4143 build_vendor=$2
4144 shift; shift
4145 # Remember, the first character of IFS is used to create $*,
4146 # except with old shells:
4147 build_os=$*
4148 IFS=$ac_save_IFS
4149 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4150
4151
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4153 $as_echo_n "checking host system type... " >&6; }
4154 if ${ac_cv_host+:} false; then :
4155   $as_echo_n "(cached) " >&6
4156 else
4157   if test "x$host_alias" = x; then
4158   ac_cv_host=$ac_cv_build
4159 else
4160   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4161     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4162 fi
4163
4164 fi
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4166 $as_echo "$ac_cv_host" >&6; }
4167 case $ac_cv_host in
4168 *-*-*) ;;
4169 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4170 esac
4171 host=$ac_cv_host
4172 ac_save_IFS=$IFS; IFS='-'
4173 set x $ac_cv_host
4174 shift
4175 host_cpu=$1
4176 host_vendor=$2
4177 shift; shift
4178 # Remember, the first character of IFS is used to create $*,
4179 # except with old shells:
4180 host_os=$*
4181 IFS=$ac_save_IFS
4182 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4183
4184
4185 # Backslashify metacharacters that are still active within
4186 # double-quoted strings.
4187 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4188
4189 # Same as above, but do not quote variable references.
4190 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4191
4192 # Sed substitution to delay expansion of an escaped shell variable in a
4193 # double_quote_subst'ed string.
4194 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4195
4196 # Sed substitution to delay expansion of an escaped single quote.
4197 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4198
4199 # Sed substitution to avoid accidental globbing in evaled expressions
4200 no_glob_subst='s/\*/\\\*/g'
4201
4202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4203 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4204 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4205
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4207 $as_echo_n "checking how to print strings... " >&6; }
4208 # Test print first, because it will be a builtin if present.
4209 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4210    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4211   ECHO='print -r --'
4212 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4213   ECHO='printf %s\n'
4214 else
4215   # Use this function as a fallback that always works.
4216   func_fallback_echo ()
4217   {
4218     eval 'cat <<_LTECHO_EOF
4219 $1
4220 _LTECHO_EOF'
4221   }
4222   ECHO='func_fallback_echo'
4223 fi
4224
4225 # func_echo_all arg...
4226 # Invoke $ECHO with all args, space-separated.
4227 func_echo_all ()
4228 {
4229     $ECHO ""
4230 }
4231
4232 case "$ECHO" in
4233   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4234 $as_echo "printf" >&6; } ;;
4235   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4236 $as_echo "print -r" >&6; } ;;
4237   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4238 $as_echo "cat" >&6; } ;;
4239 esac
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4255 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4256 if ${ac_cv_path_SED+:} false; then :
4257   $as_echo_n "(cached) " >&6
4258 else
4259             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4260      for ac_i in 1 2 3 4 5 6 7; do
4261        ac_script="$ac_script$as_nl$ac_script"
4262      done
4263      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4264      { ac_script=; unset ac_script;}
4265      if test -z "$SED"; then
4266   ac_path_SED_found=false
4267   # Loop through the user's path and test for each of PROGNAME-LIST
4268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 for as_dir in $PATH
4270 do
4271   IFS=$as_save_IFS
4272   test -z "$as_dir" && as_dir=.
4273     for ac_prog in sed gsed; do
4274     for ac_exec_ext in '' $ac_executable_extensions; do
4275       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4276       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4277 # Check for GNU ac_path_SED and select it if it is found.
4278   # Check for GNU $ac_path_SED
4279 case `"$ac_path_SED" --version 2>&1` in
4280 *GNU*)
4281   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4282 *)
4283   ac_count=0
4284   $as_echo_n 0123456789 >"conftest.in"
4285   while :
4286   do
4287     cat "conftest.in" "conftest.in" >"conftest.tmp"
4288     mv "conftest.tmp" "conftest.in"
4289     cp "conftest.in" "conftest.nl"
4290     $as_echo '' >> "conftest.nl"
4291     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4292     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4293     as_fn_arith $ac_count + 1 && ac_count=$as_val
4294     if test $ac_count -gt ${ac_path_SED_max-0}; then
4295       # Best one so far, save it but keep looking for a better one
4296       ac_cv_path_SED="$ac_path_SED"
4297       ac_path_SED_max=$ac_count
4298     fi
4299     # 10*(2^10) chars as input seems more than enough
4300     test $ac_count -gt 10 && break
4301   done
4302   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4303 esac
4304
4305       $ac_path_SED_found && break 3
4306     done
4307   done
4308   done
4309 IFS=$as_save_IFS
4310   if test -z "$ac_cv_path_SED"; then
4311     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4312   fi
4313 else
4314   ac_cv_path_SED=$SED
4315 fi
4316
4317 fi
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4319 $as_echo "$ac_cv_path_SED" >&6; }
4320  SED="$ac_cv_path_SED"
4321   rm -f conftest.sed
4322
4323 test -z "$SED" && SED=sed
4324 Xsed="$SED -e 1s/^X//"
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4337 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4338 if ${ac_cv_path_GREP+:} false; then :
4339   $as_echo_n "(cached) " >&6
4340 else
4341   if test -z "$GREP"; then
4342   ac_path_GREP_found=false
4343   # Loop through the user's path and test for each of PROGNAME-LIST
4344   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4346 do
4347   IFS=$as_save_IFS
4348   test -z "$as_dir" && as_dir=.
4349     for ac_prog in grep ggrep; do
4350     for ac_exec_ext in '' $ac_executable_extensions; do
4351       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4352       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4353 # Check for GNU ac_path_GREP and select it if it is found.
4354   # Check for GNU $ac_path_GREP
4355 case `"$ac_path_GREP" --version 2>&1` in
4356 *GNU*)
4357   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4358 *)
4359   ac_count=0
4360   $as_echo_n 0123456789 >"conftest.in"
4361   while :
4362   do
4363     cat "conftest.in" "conftest.in" >"conftest.tmp"
4364     mv "conftest.tmp" "conftest.in"
4365     cp "conftest.in" "conftest.nl"
4366     $as_echo 'GREP' >> "conftest.nl"
4367     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4368     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4369     as_fn_arith $ac_count + 1 && ac_count=$as_val
4370     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4371       # Best one so far, save it but keep looking for a better one
4372       ac_cv_path_GREP="$ac_path_GREP"
4373       ac_path_GREP_max=$ac_count
4374     fi
4375     # 10*(2^10) chars as input seems more than enough
4376     test $ac_count -gt 10 && break
4377   done
4378   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4379 esac
4380
4381       $ac_path_GREP_found && break 3
4382     done
4383   done
4384   done
4385 IFS=$as_save_IFS
4386   if test -z "$ac_cv_path_GREP"; then
4387     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4388   fi
4389 else
4390   ac_cv_path_GREP=$GREP
4391 fi
4392
4393 fi
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4395 $as_echo "$ac_cv_path_GREP" >&6; }
4396  GREP="$ac_cv_path_GREP"
4397
4398
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4400 $as_echo_n "checking for egrep... " >&6; }
4401 if ${ac_cv_path_EGREP+:} false; then :
4402   $as_echo_n "(cached) " >&6
4403 else
4404   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4405    then ac_cv_path_EGREP="$GREP -E"
4406    else
4407      if test -z "$EGREP"; then
4408   ac_path_EGREP_found=false
4409   # Loop through the user's path and test for each of PROGNAME-LIST
4410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4412 do
4413   IFS=$as_save_IFS
4414   test -z "$as_dir" && as_dir=.
4415     for ac_prog in egrep; do
4416     for ac_exec_ext in '' $ac_executable_extensions; do
4417       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4418       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4419 # Check for GNU ac_path_EGREP and select it if it is found.
4420   # Check for GNU $ac_path_EGREP
4421 case `"$ac_path_EGREP" --version 2>&1` in
4422 *GNU*)
4423   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4424 *)
4425   ac_count=0
4426   $as_echo_n 0123456789 >"conftest.in"
4427   while :
4428   do
4429     cat "conftest.in" "conftest.in" >"conftest.tmp"
4430     mv "conftest.tmp" "conftest.in"
4431     cp "conftest.in" "conftest.nl"
4432     $as_echo 'EGREP' >> "conftest.nl"
4433     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4434     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4435     as_fn_arith $ac_count + 1 && ac_count=$as_val
4436     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4437       # Best one so far, save it but keep looking for a better one
4438       ac_cv_path_EGREP="$ac_path_EGREP"
4439       ac_path_EGREP_max=$ac_count
4440     fi
4441     # 10*(2^10) chars as input seems more than enough
4442     test $ac_count -gt 10 && break
4443   done
4444   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4445 esac
4446
4447       $ac_path_EGREP_found && break 3
4448     done
4449   done
4450   done
4451 IFS=$as_save_IFS
4452   if test -z "$ac_cv_path_EGREP"; then
4453     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4454   fi
4455 else
4456   ac_cv_path_EGREP=$EGREP
4457 fi
4458
4459    fi
4460 fi
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4462 $as_echo "$ac_cv_path_EGREP" >&6; }
4463  EGREP="$ac_cv_path_EGREP"
4464
4465
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4467 $as_echo_n "checking for fgrep... " >&6; }
4468 if ${ac_cv_path_FGREP+:} false; then :
4469   $as_echo_n "(cached) " >&6
4470 else
4471   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4472    then ac_cv_path_FGREP="$GREP -F"
4473    else
4474      if test -z "$FGREP"; then
4475   ac_path_FGREP_found=false
4476   # Loop through the user's path and test for each of PROGNAME-LIST
4477   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4479 do
4480   IFS=$as_save_IFS
4481   test -z "$as_dir" && as_dir=.
4482     for ac_prog in fgrep; do
4483     for ac_exec_ext in '' $ac_executable_extensions; do
4484       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4485       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4486 # Check for GNU ac_path_FGREP and select it if it is found.
4487   # Check for GNU $ac_path_FGREP
4488 case `"$ac_path_FGREP" --version 2>&1` in
4489 *GNU*)
4490   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4491 *)
4492   ac_count=0
4493   $as_echo_n 0123456789 >"conftest.in"
4494   while :
4495   do
4496     cat "conftest.in" "conftest.in" >"conftest.tmp"
4497     mv "conftest.tmp" "conftest.in"
4498     cp "conftest.in" "conftest.nl"
4499     $as_echo 'FGREP' >> "conftest.nl"
4500     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4501     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4502     as_fn_arith $ac_count + 1 && ac_count=$as_val
4503     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4504       # Best one so far, save it but keep looking for a better one
4505       ac_cv_path_FGREP="$ac_path_FGREP"
4506       ac_path_FGREP_max=$ac_count
4507     fi
4508     # 10*(2^10) chars as input seems more than enough
4509     test $ac_count -gt 10 && break
4510   done
4511   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4512 esac
4513
4514       $ac_path_FGREP_found && break 3
4515     done
4516   done
4517   done
4518 IFS=$as_save_IFS
4519   if test -z "$ac_cv_path_FGREP"; then
4520     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4521   fi
4522 else
4523   ac_cv_path_FGREP=$FGREP
4524 fi
4525
4526    fi
4527 fi
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4529 $as_echo "$ac_cv_path_FGREP" >&6; }
4530  FGREP="$ac_cv_path_FGREP"
4531
4532
4533 test -z "$GREP" && GREP=grep
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553 # Check whether --with-gnu-ld was given.
4554 if test "${with_gnu_ld+set}" = set; then :
4555   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4556 else
4557   with_gnu_ld=no
4558 fi
4559
4560 ac_prog=ld
4561 if test "$GCC" = yes; then
4562   # Check if gcc -print-prog-name=ld gives a path.
4563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4564 $as_echo_n "checking for ld used by $CC... " >&6; }
4565   case $host in
4566   *-*-mingw*)
4567     # gcc leaves a trailing carriage return which upsets mingw
4568     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4569   *)
4570     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4571   esac
4572   case $ac_prog in
4573     # Accept absolute paths.
4574     [\\/]* | ?:[\\/]*)
4575       re_direlt='/[^/][^/]*/\.\./'
4576       # Canonicalize the pathname of ld
4577       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4578       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4579         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4580       done
4581       test -z "$LD" && LD="$ac_prog"
4582       ;;
4583   "")
4584     # If it fails, then pretend we aren't using GCC.
4585     ac_prog=ld
4586     ;;
4587   *)
4588     # If it is relative, then search for the first ld in PATH.
4589     with_gnu_ld=unknown
4590     ;;
4591   esac
4592 elif test "$with_gnu_ld" = yes; then
4593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4594 $as_echo_n "checking for GNU ld... " >&6; }
4595 else
4596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4597 $as_echo_n "checking for non-GNU ld... " >&6; }
4598 fi
4599 if ${lt_cv_path_LD+:} false; then :
4600   $as_echo_n "(cached) " >&6
4601 else
4602   if test -z "$LD"; then
4603   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4604   for ac_dir in $PATH; do
4605     IFS="$lt_save_ifs"
4606     test -z "$ac_dir" && ac_dir=.
4607     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4608       lt_cv_path_LD="$ac_dir/$ac_prog"
4609       # Check to see if the program is GNU ld.  I'd rather use --version,
4610       # but apparently some variants of GNU ld only accept -v.
4611       # Break only if it was the GNU/non-GNU ld that we prefer.
4612       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4613       *GNU* | *'with BFD'*)
4614         test "$with_gnu_ld" != no && break
4615         ;;
4616       *)
4617         test "$with_gnu_ld" != yes && break
4618         ;;
4619       esac
4620     fi
4621   done
4622   IFS="$lt_save_ifs"
4623 else
4624   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4625 fi
4626 fi
4627
4628 LD="$lt_cv_path_LD"
4629 if test -n "$LD"; then
4630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4631 $as_echo "$LD" >&6; }
4632 else
4633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4635 fi
4636 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4638 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4639 if ${lt_cv_prog_gnu_ld+:} false; then :
4640   $as_echo_n "(cached) " >&6
4641 else
4642   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4643 case `$LD -v 2>&1 </dev/null` in
4644 *GNU* | *'with BFD'*)
4645   lt_cv_prog_gnu_ld=yes
4646   ;;
4647 *)
4648   lt_cv_prog_gnu_ld=no
4649   ;;
4650 esac
4651 fi
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4653 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4654 with_gnu_ld=$lt_cv_prog_gnu_ld
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4665 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4666 if ${lt_cv_path_NM+:} false; then :
4667   $as_echo_n "(cached) " >&6
4668 else
4669   if test -n "$NM"; then
4670   # Let the user override the test.
4671   lt_cv_path_NM="$NM"
4672 else
4673   lt_nm_to_check="${ac_tool_prefix}nm"
4674   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4675     lt_nm_to_check="$lt_nm_to_check nm"
4676   fi
4677   for lt_tmp_nm in $lt_nm_to_check; do
4678     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4679     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4680       IFS="$lt_save_ifs"
4681       test -z "$ac_dir" && ac_dir=.
4682       tmp_nm="$ac_dir/$lt_tmp_nm"
4683       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4684         # Check to see if the nm accepts a BSD-compat flag.
4685         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4686         #   nm: unknown option "B" ignored
4687         # Tru64's nm complains that /dev/null is an invalid object file
4688         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4689         */dev/null* | *'Invalid file or object type'*)
4690           lt_cv_path_NM="$tmp_nm -B"
4691           break
4692           ;;
4693         *)
4694           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4695           */dev/null*)
4696             lt_cv_path_NM="$tmp_nm -p"
4697             break
4698             ;;
4699           *)
4700             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4701             continue # so that we can try to find one that supports BSD flags
4702             ;;
4703           esac
4704           ;;
4705         esac
4706       fi
4707     done
4708     IFS="$lt_save_ifs"
4709   done
4710   : ${lt_cv_path_NM=no}
4711 fi
4712 fi
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4714 $as_echo "$lt_cv_path_NM" >&6; }
4715 if test "$lt_cv_path_NM" != "no"; then
4716   NM="$lt_cv_path_NM"
4717 else
4718   # Didn't find any BSD compatible name lister, look for dumpbin.
4719   if test -n "$DUMPBIN"; then :
4720     # Let the user override the test.
4721   else
4722     if test -n "$ac_tool_prefix"; then
4723   for ac_prog in dumpbin "link -dump"
4724   do
4725     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if ${ac_cv_prog_DUMPBIN+:} false; then :
4730   $as_echo_n "(cached) " >&6
4731 else
4732   if test -n "$DUMPBIN"; then
4733   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4734 else
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736 for as_dir in $PATH
4737 do
4738   IFS=$as_save_IFS
4739   test -z "$as_dir" && as_dir=.
4740     for ac_exec_ext in '' $ac_executable_extensions; do
4741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4742     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4744     break 2
4745   fi
4746 done
4747   done
4748 IFS=$as_save_IFS
4749
4750 fi
4751 fi
4752 DUMPBIN=$ac_cv_prog_DUMPBIN
4753 if test -n "$DUMPBIN"; then
4754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4755 $as_echo "$DUMPBIN" >&6; }
4756 else
4757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4759 fi
4760
4761
4762     test -n "$DUMPBIN" && break
4763   done
4764 fi
4765 if test -z "$DUMPBIN"; then
4766   ac_ct_DUMPBIN=$DUMPBIN
4767   for ac_prog in dumpbin "link -dump"
4768 do
4769   # Extract the first word of "$ac_prog", so it can be a program name with args.
4770 set dummy $ac_prog; ac_word=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4774   $as_echo_n "(cached) " >&6
4775 else
4776   if test -n "$ac_ct_DUMPBIN"; then
4777   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4778 else
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH
4781 do
4782   IFS=$as_save_IFS
4783   test -z "$as_dir" && as_dir=.
4784     for ac_exec_ext in '' $ac_executable_extensions; do
4785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4788     break 2
4789   fi
4790 done
4791   done
4792 IFS=$as_save_IFS
4793
4794 fi
4795 fi
4796 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4797 if test -n "$ac_ct_DUMPBIN"; then
4798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4799 $as_echo "$ac_ct_DUMPBIN" >&6; }
4800 else
4801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4803 fi
4804
4805
4806   test -n "$ac_ct_DUMPBIN" && break
4807 done
4808
4809   if test "x$ac_ct_DUMPBIN" = x; then
4810     DUMPBIN=":"
4811   else
4812     case $cross_compiling:$ac_tool_warned in
4813 yes:)
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4816 ac_tool_warned=yes ;;
4817 esac
4818     DUMPBIN=$ac_ct_DUMPBIN
4819   fi
4820 fi
4821
4822     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4823     *COFF*)
4824       DUMPBIN="$DUMPBIN -symbols"
4825       ;;
4826     *)
4827       DUMPBIN=:
4828       ;;
4829     esac
4830   fi
4831
4832   if test "$DUMPBIN" != ":"; then
4833     NM="$DUMPBIN"
4834   fi
4835 fi
4836 test -z "$NM" && NM=nm
4837
4838
4839
4840
4841
4842
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4844 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4845 if ${lt_cv_nm_interface+:} false; then :
4846   $as_echo_n "(cached) " >&6
4847 else
4848   lt_cv_nm_interface="BSD nm"
4849   echo "int some_variable = 0;" > conftest.$ac_ext
4850   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4851   (eval "$ac_compile" 2>conftest.err)
4852   cat conftest.err >&5
4853   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4854   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4855   cat conftest.err >&5
4856   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4857   cat conftest.out >&5
4858   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4859     lt_cv_nm_interface="MS dumpbin"
4860   fi
4861   rm -f conftest*
4862 fi
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4864 $as_echo "$lt_cv_nm_interface" >&6; }
4865
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4867 $as_echo_n "checking whether ln -s works... " >&6; }
4868 LN_S=$as_ln_s
4869 if test "$LN_S" = "ln -s"; then
4870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4871 $as_echo "yes" >&6; }
4872 else
4873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4874 $as_echo "no, using $LN_S" >&6; }
4875 fi
4876
4877 # find the maximum length of command line arguments
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4879 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4880 if ${lt_cv_sys_max_cmd_len+:} false; then :
4881   $as_echo_n "(cached) " >&6
4882 else
4883     i=0
4884   teststring="ABCD"
4885
4886   case $build_os in
4887   msdosdjgpp*)
4888     # On DJGPP, this test can blow up pretty badly due to problems in libc
4889     # (any single argument exceeding 2000 bytes causes a buffer overrun
4890     # during glob expansion).  Even if it were fixed, the result of this
4891     # check would be larger than it should be.
4892     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4893     ;;
4894
4895   gnu*)
4896     # Under GNU Hurd, this test is not required because there is
4897     # no limit to the length of command line arguments.
4898     # Libtool will interpret -1 as no limit whatsoever
4899     lt_cv_sys_max_cmd_len=-1;
4900     ;;
4901
4902   cygwin* | mingw* | cegcc*)
4903     # On Win9x/ME, this test blows up -- it succeeds, but takes
4904     # about 5 minutes as the teststring grows exponentially.
4905     # Worse, since 9x/ME are not pre-emptively multitasking,
4906     # you end up with a "frozen" computer, even though with patience
4907     # the test eventually succeeds (with a max line length of 256k).
4908     # Instead, let's just punt: use the minimum linelength reported by
4909     # all of the supported platforms: 8192 (on NT/2K/XP).
4910     lt_cv_sys_max_cmd_len=8192;
4911     ;;
4912
4913   mint*)
4914     # On MiNT this can take a long time and run out of memory.
4915     lt_cv_sys_max_cmd_len=8192;
4916     ;;
4917
4918   amigaos*)
4919     # On AmigaOS with pdksh, this test takes hours, literally.
4920     # So we just punt and use a minimum line length of 8192.
4921     lt_cv_sys_max_cmd_len=8192;
4922     ;;
4923
4924   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4925     # This has been around since 386BSD, at least.  Likely further.
4926     if test -x /sbin/sysctl; then
4927       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4928     elif test -x /usr/sbin/sysctl; then
4929       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4930     else
4931       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4932     fi
4933     # And add a safety zone
4934     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4935     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4936     ;;
4937
4938   interix*)
4939     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4940     lt_cv_sys_max_cmd_len=196608
4941     ;;
4942
4943   os2*)
4944     # The test takes a long time on OS/2.
4945     lt_cv_sys_max_cmd_len=8192
4946     ;;
4947
4948   osf*)
4949     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4950     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4951     # nice to cause kernel panics so lets avoid the loop below.
4952     # First set a reasonable default.
4953     lt_cv_sys_max_cmd_len=16384
4954     #
4955     if test -x /sbin/sysconfig; then
4956       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4957         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4958       esac
4959     fi
4960     ;;
4961   sco3.2v5*)
4962     lt_cv_sys_max_cmd_len=102400
4963     ;;
4964   sysv5* | sco5v6* | sysv4.2uw2*)
4965     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4966     if test -n "$kargmax"; then
4967       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4968     else
4969       lt_cv_sys_max_cmd_len=32768
4970     fi
4971     ;;
4972   *)
4973     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4974     if test -n "$lt_cv_sys_max_cmd_len"; then
4975       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4976       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4977     else
4978       # Make teststring a little bigger before we do anything with it.
4979       # a 1K string should be a reasonable start.
4980       for i in 1 2 3 4 5 6 7 8 ; do
4981         teststring=$teststring$teststring
4982       done
4983       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4984       # If test is not a shell built-in, we'll probably end up computing a
4985       # maximum length that is only half of the actual maximum length, but
4986       # we can't tell.
4987       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4988                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4989               test $i != 17 # 1/2 MB should be enough
4990       do
4991         i=`expr $i + 1`
4992         teststring=$teststring$teststring
4993       done
4994       # Only check the string length outside the loop.
4995       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4996       teststring=
4997       # Add a significant safety factor because C++ compilers can tack on
4998       # massive amounts of additional arguments before passing them to the
4999       # linker.  It appears as though 1/2 is a usable value.
5000       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5001     fi
5002     ;;
5003   esac
5004
5005 fi
5006
5007 if test -n $lt_cv_sys_max_cmd_len ; then
5008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5009 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5010 else
5011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5012 $as_echo "none" >&6; }
5013 fi
5014 max_cmd_len=$lt_cv_sys_max_cmd_len
5015
5016
5017
5018
5019
5020
5021 : ${CP="cp -f"}
5022 : ${MV="mv -f"}
5023 : ${RM="rm -f"}
5024
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5026 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5027 # Try some XSI features
5028 xsi_shell=no
5029 ( _lt_dummy="a/b/c"
5030   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5031       = c,a/b,b/c, \
5032     && eval 'test $(( 1 + 1 )) -eq 2 \
5033     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5034   && xsi_shell=yes
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5036 $as_echo "$xsi_shell" >&6; }
5037
5038
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5040 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5041 lt_shell_append=no
5042 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5043     >/dev/null 2>&1 \
5044   && lt_shell_append=yes
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5046 $as_echo "$lt_shell_append" >&6; }
5047
5048
5049 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5050   lt_unset=unset
5051 else
5052   lt_unset=false
5053 fi
5054
5055
5056
5057
5058
5059 # test EBCDIC or ASCII
5060 case `echo X|tr X '\101'` in
5061  A) # ASCII based system
5062     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5063   lt_SP2NL='tr \040 \012'
5064   lt_NL2SP='tr \015\012 \040\040'
5065   ;;
5066  *) # EBCDIC based system
5067   lt_SP2NL='tr \100 \n'
5068   lt_NL2SP='tr \r\n \100\100'
5069   ;;
5070 esac
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5081 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5082 if ${lt_cv_to_host_file_cmd+:} false; then :
5083   $as_echo_n "(cached) " >&6
5084 else
5085   case $host in
5086   *-*-mingw* )
5087     case $build in
5088       *-*-mingw* ) # actually msys
5089         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5090         ;;
5091       *-*-cygwin* )
5092         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5093         ;;
5094       * ) # otherwise, assume *nix
5095         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5096         ;;
5097     esac
5098     ;;
5099   *-*-cygwin* )
5100     case $build in
5101       *-*-mingw* ) # actually msys
5102         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5103         ;;
5104       *-*-cygwin* )
5105         lt_cv_to_host_file_cmd=func_convert_file_noop
5106         ;;
5107       * ) # otherwise, assume *nix
5108         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5109         ;;
5110     esac
5111     ;;
5112   * ) # unhandled hosts (and "normal" native builds)
5113     lt_cv_to_host_file_cmd=func_convert_file_noop
5114     ;;
5115 esac
5116
5117 fi
5118
5119 to_host_file_cmd=$lt_cv_to_host_file_cmd
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5121 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5122
5123
5124
5125
5126
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5128 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5129 if ${lt_cv_to_tool_file_cmd+:} false; then :
5130   $as_echo_n "(cached) " >&6
5131 else
5132   #assume ordinary cross tools, or native build.
5133 lt_cv_to_tool_file_cmd=func_convert_file_noop
5134 case $host in
5135   *-*-mingw* )
5136     case $build in
5137       *-*-mingw* ) # actually msys
5138         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5139         ;;
5140     esac
5141     ;;
5142 esac
5143
5144 fi
5145
5146 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5148 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5149
5150
5151
5152
5153
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5155 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5156 if ${lt_cv_ld_reload_flag+:} false; then :
5157   $as_echo_n "(cached) " >&6
5158 else
5159   lt_cv_ld_reload_flag='-r'
5160 fi
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5162 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5163 reload_flag=$lt_cv_ld_reload_flag
5164 case $reload_flag in
5165 "" | " "*) ;;
5166 *) reload_flag=" $reload_flag" ;;
5167 esac
5168 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5169 case $host_os in
5170   cygwin* | mingw* | pw32* | cegcc*)
5171     if test "$GCC" != yes; then
5172       reload_cmds=false
5173     fi
5174     ;;
5175   darwin*)
5176     if test "$GCC" = yes; then
5177       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5178     else
5179       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5180     fi
5181     ;;
5182 esac
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192 if test -n "$ac_tool_prefix"; then
5193   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5194 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_prog_OBJDUMP+:} false; then :
5198   $as_echo_n "(cached) " >&6
5199 else
5200   if test -n "$OBJDUMP"; then
5201   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5202 else
5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 for as_dir in $PATH
5205 do
5206   IFS=$as_save_IFS
5207   test -z "$as_dir" && as_dir=.
5208     for ac_exec_ext in '' $ac_executable_extensions; do
5209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5210     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212     break 2
5213   fi
5214 done
5215   done
5216 IFS=$as_save_IFS
5217
5218 fi
5219 fi
5220 OBJDUMP=$ac_cv_prog_OBJDUMP
5221 if test -n "$OBJDUMP"; then
5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5223 $as_echo "$OBJDUMP" >&6; }
5224 else
5225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5227 fi
5228
5229
5230 fi
5231 if test -z "$ac_cv_prog_OBJDUMP"; then
5232   ac_ct_OBJDUMP=$OBJDUMP
5233   # Extract the first word of "objdump", so it can be a program name with args.
5234 set dummy objdump; ac_word=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5238   $as_echo_n "(cached) " >&6
5239 else
5240   if test -n "$ac_ct_OBJDUMP"; then
5241   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5242 else
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 for as_dir in $PATH
5245 do
5246   IFS=$as_save_IFS
5247   test -z "$as_dir" && as_dir=.
5248     for ac_exec_ext in '' $ac_executable_extensions; do
5249   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5250     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252     break 2
5253   fi
5254 done
5255   done
5256 IFS=$as_save_IFS
5257
5258 fi
5259 fi
5260 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5261 if test -n "$ac_ct_OBJDUMP"; then
5262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5263 $as_echo "$ac_ct_OBJDUMP" >&6; }
5264 else
5265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5267 fi
5268
5269   if test "x$ac_ct_OBJDUMP" = x; then
5270     OBJDUMP="false"
5271   else
5272     case $cross_compiling:$ac_tool_warned in
5273 yes:)
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5276 ac_tool_warned=yes ;;
5277 esac
5278     OBJDUMP=$ac_ct_OBJDUMP
5279   fi
5280 else
5281   OBJDUMP="$ac_cv_prog_OBJDUMP"
5282 fi
5283
5284 test -z "$OBJDUMP" && OBJDUMP=objdump
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5295 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5296 if ${lt_cv_deplibs_check_method+:} false; then :
5297   $as_echo_n "(cached) " >&6
5298 else
5299   lt_cv_file_magic_cmd='$MAGIC_CMD'
5300 lt_cv_file_magic_test_file=
5301 lt_cv_deplibs_check_method='unknown'
5302 # Need to set the preceding variable on all platforms that support
5303 # interlibrary dependencies.
5304 # 'none' -- dependencies not supported.
5305 # `unknown' -- same as none, but documents that we really don't know.
5306 # 'pass_all' -- all dependencies passed with no checks.
5307 # 'test_compile' -- check by making test program.
5308 # 'file_magic [[regex]]' -- check by looking for files in library path
5309 # which responds to the $file_magic_cmd with a given extended regex.
5310 # If you have `file' or equivalent on your system and you're not sure
5311 # whether `pass_all' will *always* work, you probably want this one.
5312
5313 case $host_os in
5314 aix[4-9]*)
5315   lt_cv_deplibs_check_method=pass_all
5316   ;;
5317
5318 beos*)
5319   lt_cv_deplibs_check_method=pass_all
5320   ;;
5321
5322 bsdi[45]*)
5323   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5324   lt_cv_file_magic_cmd='/usr/bin/file -L'
5325   lt_cv_file_magic_test_file=/shlib/libc.so
5326   ;;
5327
5328 cygwin*)
5329   # func_win32_libid is a shell function defined in ltmain.sh
5330   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5331   lt_cv_file_magic_cmd='func_win32_libid'
5332   ;;
5333
5334 mingw* | pw32*)
5335   # Base MSYS/MinGW do not provide the 'file' command needed by
5336   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5337   # unless we find 'file', for example because we are cross-compiling.
5338   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5339   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5340     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5341     lt_cv_file_magic_cmd='func_win32_libid'
5342   else
5343     # Keep this pattern in sync with the one in func_win32_libid.
5344     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5345     lt_cv_file_magic_cmd='$OBJDUMP -f'
5346   fi
5347   ;;
5348
5349 cegcc*)
5350   # use the weaker test based on 'objdump'. See mingw*.
5351   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5352   lt_cv_file_magic_cmd='$OBJDUMP -f'
5353   ;;
5354
5355 darwin* | rhapsody*)
5356   lt_cv_deplibs_check_method=pass_all
5357   ;;
5358
5359 freebsd* | dragonfly*)
5360   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5361     case $host_cpu in
5362     i*86 )
5363       # Not sure whether the presence of OpenBSD here was a mistake.
5364       # Let's accept both of them until this is cleared up.
5365       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5366       lt_cv_file_magic_cmd=/usr/bin/file
5367       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5368       ;;
5369     esac
5370   else
5371     lt_cv_deplibs_check_method=pass_all
5372   fi
5373   ;;
5374
5375 gnu*)
5376   lt_cv_deplibs_check_method=pass_all
5377   ;;
5378
5379 haiku*)
5380   lt_cv_deplibs_check_method=pass_all
5381   ;;
5382
5383 hpux10.20* | hpux11*)
5384   lt_cv_file_magic_cmd=/usr/bin/file
5385   case $host_cpu in
5386   ia64*)
5387     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5388     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5389     ;;
5390   hppa*64*)
5391     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]'
5392     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5393     ;;
5394   *)
5395     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5396     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5397     ;;
5398   esac
5399   ;;
5400
5401 interix[3-9]*)
5402   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5403   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5404   ;;
5405
5406 irix5* | irix6* | nonstopux*)
5407   case $LD in
5408   *-32|*"-32 ") libmagic=32-bit;;
5409   *-n32|*"-n32 ") libmagic=N32;;
5410   *-64|*"-64 ") libmagic=64-bit;;
5411   *) libmagic=never-match;;
5412   esac
5413   lt_cv_deplibs_check_method=pass_all
5414   ;;
5415
5416 # This must be glibc/ELF.
5417 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5418   lt_cv_deplibs_check_method=pass_all
5419   ;;
5420
5421 netbsd* | netbsdelf*-gnu)
5422   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5423     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5424   else
5425     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5426   fi
5427   ;;
5428
5429 newos6*)
5430   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5431   lt_cv_file_magic_cmd=/usr/bin/file
5432   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5433   ;;
5434
5435 *nto* | *qnx*)
5436   lt_cv_deplibs_check_method=pass_all
5437   ;;
5438
5439 openbsd*)
5440   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5441     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5442   else
5443     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5444   fi
5445   ;;
5446
5447 osf3* | osf4* | osf5*)
5448   lt_cv_deplibs_check_method=pass_all
5449   ;;
5450
5451 rdos*)
5452   lt_cv_deplibs_check_method=pass_all
5453   ;;
5454
5455 solaris*)
5456   lt_cv_deplibs_check_method=pass_all
5457   ;;
5458
5459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5460   lt_cv_deplibs_check_method=pass_all
5461   ;;
5462
5463 sysv4 | sysv4.3*)
5464   case $host_vendor in
5465   motorola)
5466     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]'
5467     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5468     ;;
5469   ncr)
5470     lt_cv_deplibs_check_method=pass_all
5471     ;;
5472   sequent)
5473     lt_cv_file_magic_cmd='/bin/file'
5474     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5475     ;;
5476   sni)
5477     lt_cv_file_magic_cmd='/bin/file'
5478     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5479     lt_cv_file_magic_test_file=/lib/libc.so
5480     ;;
5481   siemens)
5482     lt_cv_deplibs_check_method=pass_all
5483     ;;
5484   pc)
5485     lt_cv_deplibs_check_method=pass_all
5486     ;;
5487   esac
5488   ;;
5489
5490 tpf*)
5491   lt_cv_deplibs_check_method=pass_all
5492   ;;
5493 esac
5494
5495 fi
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5497 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5498
5499 file_magic_glob=
5500 want_nocaseglob=no
5501 if test "$build" = "$host"; then
5502   case $host_os in
5503   mingw* | pw32*)
5504     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5505       want_nocaseglob=yes
5506     else
5507       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5508     fi
5509     ;;
5510   esac
5511 fi
5512
5513 file_magic_cmd=$lt_cv_file_magic_cmd
5514 deplibs_check_method=$lt_cv_deplibs_check_method
5515 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538 if test -n "$ac_tool_prefix"; then
5539   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5540 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_DLLTOOL+:} false; then :
5544   $as_echo_n "(cached) " >&6
5545 else
5546   if test -n "$DLLTOOL"; then
5547   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5548 else
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 for as_dir in $PATH
5551 do
5552   IFS=$as_save_IFS
5553   test -z "$as_dir" && as_dir=.
5554     for ac_exec_ext in '' $ac_executable_extensions; do
5555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558     break 2
5559   fi
5560 done
5561   done
5562 IFS=$as_save_IFS
5563
5564 fi
5565 fi
5566 DLLTOOL=$ac_cv_prog_DLLTOOL
5567 if test -n "$DLLTOOL"; then
5568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5569 $as_echo "$DLLTOOL" >&6; }
5570 else
5571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5573 fi
5574
5575
5576 fi
5577 if test -z "$ac_cv_prog_DLLTOOL"; then
5578   ac_ct_DLLTOOL=$DLLTOOL
5579   # Extract the first word of "dlltool", so it can be a program name with args.
5580 set dummy dlltool; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5584   $as_echo_n "(cached) " >&6
5585 else
5586   if test -n "$ac_ct_DLLTOOL"; then
5587   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5588 else
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 for as_dir in $PATH
5591 do
5592   IFS=$as_save_IFS
5593   test -z "$as_dir" && as_dir=.
5594     for ac_exec_ext in '' $ac_executable_extensions; do
5595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5596     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598     break 2
5599   fi
5600 done
5601   done
5602 IFS=$as_save_IFS
5603
5604 fi
5605 fi
5606 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5607 if test -n "$ac_ct_DLLTOOL"; then
5608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5609 $as_echo "$ac_ct_DLLTOOL" >&6; }
5610 else
5611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5613 fi
5614
5615   if test "x$ac_ct_DLLTOOL" = x; then
5616     DLLTOOL="false"
5617   else
5618     case $cross_compiling:$ac_tool_warned in
5619 yes:)
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5622 ac_tool_warned=yes ;;
5623 esac
5624     DLLTOOL=$ac_ct_DLLTOOL
5625   fi
5626 else
5627   DLLTOOL="$ac_cv_prog_DLLTOOL"
5628 fi
5629
5630 test -z "$DLLTOOL" && DLLTOOL=dlltool
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5642 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5643 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5644   $as_echo_n "(cached) " >&6
5645 else
5646   lt_cv_sharedlib_from_linklib_cmd='unknown'
5647
5648 case $host_os in
5649 cygwin* | mingw* | pw32* | cegcc*)
5650   # two different shell functions defined in ltmain.sh
5651   # decide which to use based on capabilities of $DLLTOOL
5652   case `$DLLTOOL --help 2>&1` in
5653   *--identify-strict*)
5654     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5655     ;;
5656   *)
5657     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5658     ;;
5659   esac
5660   ;;
5661 *)
5662   # fallback: assume linklib IS sharedlib
5663   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5664   ;;
5665 esac
5666
5667 fi
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5669 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5670 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5671 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5672
5673
5674
5675
5676
5677
5678
5679 if test -n "$ac_tool_prefix"; then
5680   for ac_prog in ar
5681   do
5682     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_AR+:} false; then :
5687   $as_echo_n "(cached) " >&6
5688 else
5689   if test -n "$AR"; then
5690   ac_cv_prog_AR="$AR" # Let the user override the test.
5691 else
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH
5694 do
5695   IFS=$as_save_IFS
5696   test -z "$as_dir" && as_dir=.
5697     for ac_exec_ext in '' $ac_executable_extensions; do
5698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5699     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701     break 2
5702   fi
5703 done
5704   done
5705 IFS=$as_save_IFS
5706
5707 fi
5708 fi
5709 AR=$ac_cv_prog_AR
5710 if test -n "$AR"; then
5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5712 $as_echo "$AR" >&6; }
5713 else
5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5716 fi
5717
5718
5719     test -n "$AR" && break
5720   done
5721 fi
5722 if test -z "$AR"; then
5723   ac_ct_AR=$AR
5724   for ac_prog in ar
5725 do
5726   # Extract the first word of "$ac_prog", so it can be a program name with args.
5727 set dummy $ac_prog; ac_word=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5731   $as_echo_n "(cached) " >&6
5732 else
5733   if test -n "$ac_ct_AR"; then
5734   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5735 else
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 for as_dir in $PATH
5738 do
5739   IFS=$as_save_IFS
5740   test -z "$as_dir" && as_dir=.
5741     for ac_exec_ext in '' $ac_executable_extensions; do
5742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5743     ac_cv_prog_ac_ct_AR="$ac_prog"
5744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745     break 2
5746   fi
5747 done
5748   done
5749 IFS=$as_save_IFS
5750
5751 fi
5752 fi
5753 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5754 if test -n "$ac_ct_AR"; then
5755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5756 $as_echo "$ac_ct_AR" >&6; }
5757 else
5758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5760 fi
5761
5762
5763   test -n "$ac_ct_AR" && break
5764 done
5765
5766   if test "x$ac_ct_AR" = x; then
5767     AR="false"
5768   else
5769     case $cross_compiling:$ac_tool_warned in
5770 yes:)
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5773 ac_tool_warned=yes ;;
5774 esac
5775     AR=$ac_ct_AR
5776   fi
5777 fi
5778
5779 : ${AR=ar}
5780 : ${AR_FLAGS=cru}
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5793 $as_echo_n "checking for archiver @FILE support... " >&6; }
5794 if ${lt_cv_ar_at_file+:} false; then :
5795   $as_echo_n "(cached) " >&6
5796 else
5797   lt_cv_ar_at_file=no
5798    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h.  */
5800
5801 int
5802 main ()
5803 {
5804
5805   ;
5806   return 0;
5807 }
5808 _ACEOF
5809 if ac_fn_c_try_compile "$LINENO"; then :
5810   echo conftest.$ac_objext > conftest.lst
5811       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5812       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5813   (eval $lt_ar_try) 2>&5
5814   ac_status=$?
5815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5816   test $ac_status = 0; }
5817       if test "$ac_status" -eq 0; then
5818         # Ensure the archiver fails upon bogus file names.
5819         rm -f conftest.$ac_objext libconftest.a
5820         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5821   (eval $lt_ar_try) 2>&5
5822   ac_status=$?
5823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5824   test $ac_status = 0; }
5825         if test "$ac_status" -ne 0; then
5826           lt_cv_ar_at_file=@
5827         fi
5828       fi
5829       rm -f conftest.* libconftest.a
5830
5831 fi
5832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5833
5834 fi
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5836 $as_echo "$lt_cv_ar_at_file" >&6; }
5837
5838 if test "x$lt_cv_ar_at_file" = xno; then
5839   archiver_list_spec=
5840 else
5841   archiver_list_spec=$lt_cv_ar_at_file
5842 fi
5843
5844
5845
5846
5847
5848
5849
5850 if test -n "$ac_tool_prefix"; then
5851   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5852 set dummy ${ac_tool_prefix}strip; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_STRIP+:} false; then :
5856   $as_echo_n "(cached) " >&6
5857 else
5858   if test -n "$STRIP"; then
5859   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5863 do
5864   IFS=$as_save_IFS
5865   test -z "$as_dir" && as_dir=.
5866     for ac_exec_ext in '' $ac_executable_extensions; do
5867   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870     break 2
5871   fi
5872 done
5873   done
5874 IFS=$as_save_IFS
5875
5876 fi
5877 fi
5878 STRIP=$ac_cv_prog_STRIP
5879 if test -n "$STRIP"; then
5880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5881 $as_echo "$STRIP" >&6; }
5882 else
5883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5885 fi
5886
5887
5888 fi
5889 if test -z "$ac_cv_prog_STRIP"; then
5890   ac_ct_STRIP=$STRIP
5891   # Extract the first word of "strip", so it can be a program name with args.
5892 set dummy strip; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5896   $as_echo_n "(cached) " >&6
5897 else
5898   if test -n "$ac_ct_STRIP"; then
5899   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5903 do
5904   IFS=$as_save_IFS
5905   test -z "$as_dir" && as_dir=.
5906     for ac_exec_ext in '' $ac_executable_extensions; do
5907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908     ac_cv_prog_ac_ct_STRIP="strip"
5909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910     break 2
5911   fi
5912 done
5913   done
5914 IFS=$as_save_IFS
5915
5916 fi
5917 fi
5918 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5919 if test -n "$ac_ct_STRIP"; then
5920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5921 $as_echo "$ac_ct_STRIP" >&6; }
5922 else
5923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5925 fi
5926
5927   if test "x$ac_ct_STRIP" = x; then
5928     STRIP=":"
5929   else
5930     case $cross_compiling:$ac_tool_warned in
5931 yes:)
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5934 ac_tool_warned=yes ;;
5935 esac
5936     STRIP=$ac_ct_STRIP
5937   fi
5938 else
5939   STRIP="$ac_cv_prog_STRIP"
5940 fi
5941
5942 test -z "$STRIP" && STRIP=:
5943
5944
5945
5946
5947
5948
5949 if test -n "$ac_tool_prefix"; then
5950   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5951 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_RANLIB+:} false; then :
5955   $as_echo_n "(cached) " >&6
5956 else
5957   if test -n "$RANLIB"; then
5958   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5962 do
5963   IFS=$as_save_IFS
5964   test -z "$as_dir" && as_dir=.
5965     for ac_exec_ext in '' $ac_executable_extensions; do
5966   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969     break 2
5970   fi
5971 done
5972   done
5973 IFS=$as_save_IFS
5974
5975 fi
5976 fi
5977 RANLIB=$ac_cv_prog_RANLIB
5978 if test -n "$RANLIB"; then
5979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5980 $as_echo "$RANLIB" >&6; }
5981 else
5982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5984 fi
5985
5986
5987 fi
5988 if test -z "$ac_cv_prog_RANLIB"; then
5989   ac_ct_RANLIB=$RANLIB
5990   # Extract the first word of "ranlib", so it can be a program name with args.
5991 set dummy ranlib; ac_word=$2
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5993 $as_echo_n "checking for $ac_word... " >&6; }
5994 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5995   $as_echo_n "(cached) " >&6
5996 else
5997   if test -n "$ac_ct_RANLIB"; then
5998   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5999 else
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 for as_dir in $PATH
6002 do
6003   IFS=$as_save_IFS
6004   test -z "$as_dir" && as_dir=.
6005     for ac_exec_ext in '' $ac_executable_extensions; do
6006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007     ac_cv_prog_ac_ct_RANLIB="ranlib"
6008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6009     break 2
6010   fi
6011 done
6012   done
6013 IFS=$as_save_IFS
6014
6015 fi
6016 fi
6017 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6018 if test -n "$ac_ct_RANLIB"; then
6019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6020 $as_echo "$ac_ct_RANLIB" >&6; }
6021 else
6022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 $as_echo "no" >&6; }
6024 fi
6025
6026   if test "x$ac_ct_RANLIB" = x; then
6027     RANLIB=":"
6028   else
6029     case $cross_compiling:$ac_tool_warned in
6030 yes:)
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6033 ac_tool_warned=yes ;;
6034 esac
6035     RANLIB=$ac_ct_RANLIB
6036   fi
6037 else
6038   RANLIB="$ac_cv_prog_RANLIB"
6039 fi
6040
6041 test -z "$RANLIB" && RANLIB=:
6042
6043
6044
6045
6046
6047
6048 # Determine commands to create old-style static archives.
6049 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6050 old_postinstall_cmds='chmod 644 $oldlib'
6051 old_postuninstall_cmds=
6052
6053 if test -n "$RANLIB"; then
6054   case $host_os in
6055   openbsd*)
6056     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6057     ;;
6058   *)
6059     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6060     ;;
6061   esac
6062   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6063 fi
6064
6065 case $host_os in
6066   darwin*)
6067     lock_old_archive_extraction=yes ;;
6068   *)
6069     lock_old_archive_extraction=no ;;
6070 esac
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110 # If no C compiler was specified, use CC.
6111 LTCC=${LTCC-"$CC"}
6112
6113 # If no C compiler flags were specified, use CFLAGS.
6114 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6115
6116 # Allow CC to be a program name with arguments.
6117 compiler=$CC
6118
6119
6120 # Check for command to grab the raw symbol name followed by C symbol from nm.
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6122 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6123 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6124   $as_echo_n "(cached) " >&6
6125 else
6126
6127 # These are sane defaults that work on at least a few old systems.
6128 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6129
6130 # Character class describing NM global symbol codes.
6131 symcode='[BCDEGRST]'
6132
6133 # Regexp to match symbols that can be accessed directly from C.
6134 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6135
6136 # Define system-specific variables.
6137 case $host_os in
6138 aix*)
6139   symcode='[BCDT]'
6140   ;;
6141 cygwin* | mingw* | pw32* | cegcc*)
6142   symcode='[ABCDGISTW]'
6143   ;;
6144 hpux*)
6145   if test "$host_cpu" = ia64; then
6146     symcode='[ABCDEGRST]'
6147   fi
6148   ;;
6149 irix* | nonstopux*)
6150   symcode='[BCDEGRST]'
6151   ;;
6152 osf*)
6153   symcode='[BCDEGQRST]'
6154   ;;
6155 solaris*)
6156   symcode='[BDRT]'
6157   ;;
6158 sco3.2v5*)
6159   symcode='[DT]'
6160   ;;
6161 sysv4.2uw2*)
6162   symcode='[DT]'
6163   ;;
6164 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6165   symcode='[ABDT]'
6166   ;;
6167 sysv4)
6168   symcode='[DFNSTU]'
6169   ;;
6170 esac
6171
6172 # If we're using GNU nm, then use its standard symbol codes.
6173 case `$NM -V 2>&1` in
6174 *GNU* | *'with BFD'*)
6175   symcode='[ABCDGIRSTW]' ;;
6176 esac
6177
6178 # Transform an extracted symbol line into a proper C declaration.
6179 # Some systems (esp. on ia64) link data and code symbols differently,
6180 # so use this general approach.
6181 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6182
6183 # Transform an extracted symbol line into symbol name and symbol address
6184 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6185 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'"
6186
6187 # Handle CRLF in mingw tool chain
6188 opt_cr=
6189 case $build_os in
6190 mingw*)
6191   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6192   ;;
6193 esac
6194
6195 # Try without a prefix underscore, then with it.
6196 for ac_symprfx in "" "_"; do
6197
6198   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6199   symxfrm="\\1 $ac_symprfx\\2 \\2"
6200
6201   # Write the raw and C identifiers.
6202   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6203     # Fake it for dumpbin and say T for any non-static function
6204     # and D for any global variable.
6205     # Also find C++ and __fastcall symbols from MSVC++,
6206     # which start with @ or ?.
6207     lt_cv_sys_global_symbol_pipe="$AWK '"\
6208 "     {last_section=section; section=\$ 3};"\
6209 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6210 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6211 "     \$ 0!~/External *\|/{next};"\
6212 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6213 "     {if(hide[section]) next};"\
6214 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6215 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6216 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6217 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6218 "     ' prfx=^$ac_symprfx"
6219   else
6220     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6221   fi
6222   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6223
6224   # Check to see that the pipe works correctly.
6225   pipe_works=no
6226
6227   rm -f conftest*
6228   cat > conftest.$ac_ext <<_LT_EOF
6229 #ifdef __cplusplus
6230 extern "C" {
6231 #endif
6232 char nm_test_var;
6233 void nm_test_func(void);
6234 void nm_test_func(void){}
6235 #ifdef __cplusplus
6236 }
6237 #endif
6238 int main(){nm_test_var='a';nm_test_func();return(0);}
6239 _LT_EOF
6240
6241   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6242   (eval $ac_compile) 2>&5
6243   ac_status=$?
6244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6245   test $ac_status = 0; }; then
6246     # Now try to grab the symbols.
6247     nlist=conftest.nm
6248     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6249   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6250   ac_status=$?
6251   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6252   test $ac_status = 0; } && test -s "$nlist"; then
6253       # Try sorting and uniquifying the output.
6254       if sort "$nlist" | uniq > "$nlist"T; then
6255         mv -f "$nlist"T "$nlist"
6256       else
6257         rm -f "$nlist"T
6258       fi
6259
6260       # Make sure that we snagged all the symbols we need.
6261       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6262         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6263           cat <<_LT_EOF > conftest.$ac_ext
6264 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6265 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6266 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6267    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6268 # define LT_DLSYM_CONST
6269 #elif defined(__osf__)
6270 /* This system does not cope well with relocations in const data.  */
6271 # define LT_DLSYM_CONST
6272 #else
6273 # define LT_DLSYM_CONST const
6274 #endif
6275
6276 #ifdef __cplusplus
6277 extern "C" {
6278 #endif
6279
6280 _LT_EOF
6281           # Now generate the symbol file.
6282           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6283
6284           cat <<_LT_EOF >> conftest.$ac_ext
6285
6286 /* The mapping between symbol names and symbols.  */
6287 LT_DLSYM_CONST struct {
6288   const char *name;
6289   void       *address;
6290 }
6291 lt__PROGRAM__LTX_preloaded_symbols[] =
6292 {
6293   { "@PROGRAM@", (void *) 0 },
6294 _LT_EOF
6295           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6296           cat <<\_LT_EOF >> conftest.$ac_ext
6297   {0, (void *) 0}
6298 };
6299
6300 /* This works around a problem in FreeBSD linker */
6301 #ifdef FREEBSD_WORKAROUND
6302 static const void *lt_preloaded_setup() {
6303   return lt__PROGRAM__LTX_preloaded_symbols;
6304 }
6305 #endif
6306
6307 #ifdef __cplusplus
6308 }
6309 #endif
6310 _LT_EOF
6311           # Now try linking the two files.
6312           mv conftest.$ac_objext conftstm.$ac_objext
6313           lt_globsym_save_LIBS=$LIBS
6314           lt_globsym_save_CFLAGS=$CFLAGS
6315           LIBS="conftstm.$ac_objext"
6316           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6317           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6318   (eval $ac_link) 2>&5
6319   ac_status=$?
6320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6321   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6322             pipe_works=yes
6323           fi
6324           LIBS=$lt_globsym_save_LIBS
6325           CFLAGS=$lt_globsym_save_CFLAGS
6326         else
6327           echo "cannot find nm_test_func in $nlist" >&5
6328         fi
6329       else
6330         echo "cannot find nm_test_var in $nlist" >&5
6331       fi
6332     else
6333       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6334     fi
6335   else
6336     echo "$progname: failed program was:" >&5
6337     cat conftest.$ac_ext >&5
6338   fi
6339   rm -rf conftest* conftst*
6340
6341   # Do not use the global_symbol_pipe unless it works.
6342   if test "$pipe_works" = yes; then
6343     break
6344   else
6345     lt_cv_sys_global_symbol_pipe=
6346   fi
6347 done
6348
6349 fi
6350
6351 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6352   lt_cv_sys_global_symbol_to_cdecl=
6353 fi
6354 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6356 $as_echo "failed" >&6; }
6357 else
6358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6359 $as_echo "ok" >&6; }
6360 fi
6361
6362 # Response file support.
6363 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6364   nm_file_list_spec='@'
6365 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6366   nm_file_list_spec='@'
6367 fi
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6396 $as_echo_n "checking for sysroot... " >&6; }
6397
6398 # Check whether --with-sysroot was given.
6399 if test "${with_sysroot+set}" = set; then :
6400   withval=$with_sysroot;
6401 else
6402   with_sysroot=no
6403 fi
6404
6405
6406 lt_sysroot=
6407 case ${with_sysroot} in #(
6408  yes)
6409    if test "$GCC" = yes; then
6410      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6411    fi
6412    ;; #(
6413  /*)
6414    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6415    ;; #(
6416  no|'')
6417    ;; #(
6418  *)
6419    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6420 $as_echo "${with_sysroot}" >&6; }
6421    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6422    ;;
6423 esac
6424
6425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6426 $as_echo "${lt_sysroot:-no}" >&6; }
6427
6428
6429
6430
6431
6432 # Check whether --enable-libtool-lock was given.
6433 if test "${enable_libtool_lock+set}" = set; then :
6434   enableval=$enable_libtool_lock;
6435 fi
6436
6437 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6438
6439 # Some flags need to be propagated to the compiler or linker for good
6440 # libtool support.
6441 case $host in
6442 ia64-*-hpux*)
6443   # Find out which ABI we are using.
6444   echo 'int i;' > conftest.$ac_ext
6445   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6446   (eval $ac_compile) 2>&5
6447   ac_status=$?
6448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6449   test $ac_status = 0; }; then
6450     case `/usr/bin/file conftest.$ac_objext` in
6451       *ELF-32*)
6452         HPUX_IA64_MODE="32"
6453         ;;
6454       *ELF-64*)
6455         HPUX_IA64_MODE="64"
6456         ;;
6457     esac
6458   fi
6459   rm -rf conftest*
6460   ;;
6461 *-*-irix6*)
6462   # Find out which ABI we are using.
6463   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6464   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6465   (eval $ac_compile) 2>&5
6466   ac_status=$?
6467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6468   test $ac_status = 0; }; then
6469     if test "$lt_cv_prog_gnu_ld" = yes; then
6470       case `/usr/bin/file conftest.$ac_objext` in
6471         *32-bit*)
6472           LD="${LD-ld} -melf32bsmip"
6473           ;;
6474         *N32*)
6475           LD="${LD-ld} -melf32bmipn32"
6476           ;;
6477         *64-bit*)
6478           LD="${LD-ld} -melf64bmip"
6479         ;;
6480       esac
6481     else
6482       case `/usr/bin/file conftest.$ac_objext` in
6483         *32-bit*)
6484           LD="${LD-ld} -32"
6485           ;;
6486         *N32*)
6487           LD="${LD-ld} -n32"
6488           ;;
6489         *64-bit*)
6490           LD="${LD-ld} -64"
6491           ;;
6492       esac
6493     fi
6494   fi
6495   rm -rf conftest*
6496   ;;
6497
6498 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6499 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6500   # Find out which ABI we are using.
6501   echo 'int i;' > conftest.$ac_ext
6502   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6503   (eval $ac_compile) 2>&5
6504   ac_status=$?
6505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6506   test $ac_status = 0; }; then
6507     case `/usr/bin/file conftest.o` in
6508       *32-bit*)
6509         case $host in
6510           x86_64-*kfreebsd*-gnu)
6511             LD="${LD-ld} -m elf_i386_fbsd"
6512             ;;
6513           x86_64-*linux*)
6514             LD="${LD-ld} -m elf_i386"
6515             ;;
6516           ppc64-*linux*|powerpc64-*linux*)
6517             LD="${LD-ld} -m elf32ppclinux"
6518             ;;
6519           s390x-*linux*)
6520             LD="${LD-ld} -m elf_s390"
6521             ;;
6522           sparc64-*linux*)
6523             LD="${LD-ld} -m elf32_sparc"
6524             ;;
6525         esac
6526         ;;
6527       *64-bit*)
6528         case $host in
6529           x86_64-*kfreebsd*-gnu)
6530             LD="${LD-ld} -m elf_x86_64_fbsd"
6531             ;;
6532           x86_64-*linux*)
6533             LD="${LD-ld} -m elf_x86_64"
6534             ;;
6535           ppc*-*linux*|powerpc*-*linux*)
6536             LD="${LD-ld} -m elf64ppc"
6537             ;;
6538           s390*-*linux*|s390*-*tpf*)
6539             LD="${LD-ld} -m elf64_s390"
6540             ;;
6541           sparc*-*linux*)
6542             LD="${LD-ld} -m elf64_sparc"
6543             ;;
6544         esac
6545         ;;
6546     esac
6547   fi
6548   rm -rf conftest*
6549   ;;
6550
6551 *-*-sco3.2v5*)
6552   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6553   SAVE_CFLAGS="$CFLAGS"
6554   CFLAGS="$CFLAGS -belf"
6555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6556 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6557 if ${lt_cv_cc_needs_belf+:} false; then :
6558   $as_echo_n "(cached) " >&6
6559 else
6560   ac_ext=c
6561 ac_cpp='$CPP $CPPFLAGS'
6562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6565
6566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6567 /* end confdefs.h.  */
6568
6569 int
6570 main ()
6571 {
6572
6573   ;
6574   return 0;
6575 }
6576 _ACEOF
6577 if ac_fn_c_try_link "$LINENO"; then :
6578   lt_cv_cc_needs_belf=yes
6579 else
6580   lt_cv_cc_needs_belf=no
6581 fi
6582 rm -f core conftest.err conftest.$ac_objext \
6583     conftest$ac_exeext conftest.$ac_ext
6584      ac_ext=c
6585 ac_cpp='$CPP $CPPFLAGS'
6586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6589
6590 fi
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6592 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6593   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6594     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6595     CFLAGS="$SAVE_CFLAGS"
6596   fi
6597   ;;
6598 *-*solaris*)
6599   # Find out which ABI we are using.
6600   echo 'int i;' > conftest.$ac_ext
6601   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6602   (eval $ac_compile) 2>&5
6603   ac_status=$?
6604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6605   test $ac_status = 0; }; then
6606     case `/usr/bin/file conftest.o` in
6607     *64-bit*)
6608       case $lt_cv_prog_gnu_ld in
6609       yes*)
6610         case $host in
6611         i?86-*-solaris*)
6612           LD="${LD-ld} -m elf_x86_64"
6613           ;;
6614         sparc*-*-solaris*)
6615           LD="${LD-ld} -m elf64_sparc"
6616           ;;
6617         esac
6618         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6619         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6620           LD="${LD-ld}_sol2"
6621         fi
6622         ;;
6623       *)
6624         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6625           LD="${LD-ld} -64"
6626         fi
6627         ;;
6628       esac
6629       ;;
6630     esac
6631   fi
6632   rm -rf conftest*
6633   ;;
6634 esac
6635
6636 need_locks="$enable_libtool_lock"
6637
6638 if test -n "$ac_tool_prefix"; then
6639   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6640 set dummy ${ac_tool_prefix}mt; ac_word=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6644   $as_echo_n "(cached) " >&6
6645 else
6646   if test -n "$MANIFEST_TOOL"; then
6647   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6648 else
6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 for as_dir in $PATH
6651 do
6652   IFS=$as_save_IFS
6653   test -z "$as_dir" && as_dir=.
6654     for ac_exec_ext in '' $ac_executable_extensions; do
6655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6658     break 2
6659   fi
6660 done
6661   done
6662 IFS=$as_save_IFS
6663
6664 fi
6665 fi
6666 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6667 if test -n "$MANIFEST_TOOL"; then
6668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6669 $as_echo "$MANIFEST_TOOL" >&6; }
6670 else
6671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6673 fi
6674
6675
6676 fi
6677 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6678   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6679   # Extract the first word of "mt", so it can be a program name with args.
6680 set dummy mt; ac_word=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6684   $as_echo_n "(cached) " >&6
6685 else
6686   if test -n "$ac_ct_MANIFEST_TOOL"; then
6687   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6688 else
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 for as_dir in $PATH
6691 do
6692   IFS=$as_save_IFS
6693   test -z "$as_dir" && as_dir=.
6694     for ac_exec_ext in '' $ac_executable_extensions; do
6695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6698     break 2
6699   fi
6700 done
6701   done
6702 IFS=$as_save_IFS
6703
6704 fi
6705 fi
6706 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6707 if test -n "$ac_ct_MANIFEST_TOOL"; then
6708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6709 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6710 else
6711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6713 fi
6714
6715   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6716     MANIFEST_TOOL=":"
6717   else
6718     case $cross_compiling:$ac_tool_warned in
6719 yes:)
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned=yes ;;
6723 esac
6724     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6725   fi
6726 else
6727   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6728 fi
6729
6730 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6732 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6733 if ${lt_cv_path_mainfest_tool+:} false; then :
6734   $as_echo_n "(cached) " >&6
6735 else
6736   lt_cv_path_mainfest_tool=no
6737   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6738   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6739   cat conftest.err >&5
6740   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6741     lt_cv_path_mainfest_tool=yes
6742   fi
6743   rm -f conftest*
6744 fi
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6746 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6747 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6748   MANIFEST_TOOL=:
6749 fi
6750
6751
6752
6753
6754
6755
6756   case $host_os in
6757     rhapsody* | darwin*)
6758     if test -n "$ac_tool_prefix"; then
6759   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6760 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762 $as_echo_n "checking for $ac_word... " >&6; }
6763 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6764   $as_echo_n "(cached) " >&6
6765 else
6766   if test -n "$DSYMUTIL"; then
6767   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6768 else
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 for as_dir in $PATH
6771 do
6772   IFS=$as_save_IFS
6773   test -z "$as_dir" && as_dir=.
6774     for ac_exec_ext in '' $ac_executable_extensions; do
6775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6776     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6778     break 2
6779   fi
6780 done
6781   done
6782 IFS=$as_save_IFS
6783
6784 fi
6785 fi
6786 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6787 if test -n "$DSYMUTIL"; then
6788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6789 $as_echo "$DSYMUTIL" >&6; }
6790 else
6791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 $as_echo "no" >&6; }
6793 fi
6794
6795
6796 fi
6797 if test -z "$ac_cv_prog_DSYMUTIL"; then
6798   ac_ct_DSYMUTIL=$DSYMUTIL
6799   # Extract the first word of "dsymutil", so it can be a program name with args.
6800 set dummy dsymutil; ac_word=$2
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802 $as_echo_n "checking for $ac_word... " >&6; }
6803 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6804   $as_echo_n "(cached) " >&6
6805 else
6806   if test -n "$ac_ct_DSYMUTIL"; then
6807   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6808 else
6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 for as_dir in $PATH
6811 do
6812   IFS=$as_save_IFS
6813   test -z "$as_dir" && as_dir=.
6814     for ac_exec_ext in '' $ac_executable_extensions; do
6815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6816     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6818     break 2
6819   fi
6820 done
6821   done
6822 IFS=$as_save_IFS
6823
6824 fi
6825 fi
6826 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6827 if test -n "$ac_ct_DSYMUTIL"; then
6828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6829 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6830 else
6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832 $as_echo "no" >&6; }
6833 fi
6834
6835   if test "x$ac_ct_DSYMUTIL" = x; then
6836     DSYMUTIL=":"
6837   else
6838     case $cross_compiling:$ac_tool_warned in
6839 yes:)
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6842 ac_tool_warned=yes ;;
6843 esac
6844     DSYMUTIL=$ac_ct_DSYMUTIL
6845   fi
6846 else
6847   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6848 fi
6849
6850     if test -n "$ac_tool_prefix"; then
6851   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6852 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6854 $as_echo_n "checking for $ac_word... " >&6; }
6855 if ${ac_cv_prog_NMEDIT+:} false; then :
6856   $as_echo_n "(cached) " >&6
6857 else
6858   if test -n "$NMEDIT"; then
6859   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6860 else
6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6862 for as_dir in $PATH
6863 do
6864   IFS=$as_save_IFS
6865   test -z "$as_dir" && as_dir=.
6866     for ac_exec_ext in '' $ac_executable_extensions; do
6867   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6868     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6870     break 2
6871   fi
6872 done
6873   done
6874 IFS=$as_save_IFS
6875
6876 fi
6877 fi
6878 NMEDIT=$ac_cv_prog_NMEDIT
6879 if test -n "$NMEDIT"; then
6880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6881 $as_echo "$NMEDIT" >&6; }
6882 else
6883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884 $as_echo "no" >&6; }
6885 fi
6886
6887
6888 fi
6889 if test -z "$ac_cv_prog_NMEDIT"; then
6890   ac_ct_NMEDIT=$NMEDIT
6891   # Extract the first word of "nmedit", so it can be a program name with args.
6892 set dummy nmedit; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6896   $as_echo_n "(cached) " >&6
6897 else
6898   if test -n "$ac_ct_NMEDIT"; then
6899   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6900 else
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 for as_dir in $PATH
6903 do
6904   IFS=$as_save_IFS
6905   test -z "$as_dir" && as_dir=.
6906     for ac_exec_ext in '' $ac_executable_extensions; do
6907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6910     break 2
6911   fi
6912 done
6913   done
6914 IFS=$as_save_IFS
6915
6916 fi
6917 fi
6918 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6919 if test -n "$ac_ct_NMEDIT"; then
6920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6921 $as_echo "$ac_ct_NMEDIT" >&6; }
6922 else
6923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6925 fi
6926
6927   if test "x$ac_ct_NMEDIT" = x; then
6928     NMEDIT=":"
6929   else
6930     case $cross_compiling:$ac_tool_warned in
6931 yes:)
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6934 ac_tool_warned=yes ;;
6935 esac
6936     NMEDIT=$ac_ct_NMEDIT
6937   fi
6938 else
6939   NMEDIT="$ac_cv_prog_NMEDIT"
6940 fi
6941
6942     if test -n "$ac_tool_prefix"; then
6943   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6944 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6946 $as_echo_n "checking for $ac_word... " >&6; }
6947 if ${ac_cv_prog_LIPO+:} false; then :
6948   $as_echo_n "(cached) " >&6
6949 else
6950   if test -n "$LIPO"; then
6951   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6952 else
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954 for as_dir in $PATH
6955 do
6956   IFS=$as_save_IFS
6957   test -z "$as_dir" && as_dir=.
6958     for ac_exec_ext in '' $ac_executable_extensions; do
6959   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6960     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962     break 2
6963   fi
6964 done
6965   done
6966 IFS=$as_save_IFS
6967
6968 fi
6969 fi
6970 LIPO=$ac_cv_prog_LIPO
6971 if test -n "$LIPO"; then
6972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6973 $as_echo "$LIPO" >&6; }
6974 else
6975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976 $as_echo "no" >&6; }
6977 fi
6978
6979
6980 fi
6981 if test -z "$ac_cv_prog_LIPO"; then
6982   ac_ct_LIPO=$LIPO
6983   # Extract the first word of "lipo", so it can be a program name with args.
6984 set dummy lipo; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6988   $as_echo_n "(cached) " >&6
6989 else
6990   if test -n "$ac_ct_LIPO"; then
6991   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6992 else
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994 for as_dir in $PATH
6995 do
6996   IFS=$as_save_IFS
6997   test -z "$as_dir" && as_dir=.
6998     for ac_exec_ext in '' $ac_executable_extensions; do
6999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000     ac_cv_prog_ac_ct_LIPO="lipo"
7001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002     break 2
7003   fi
7004 done
7005   done
7006 IFS=$as_save_IFS
7007
7008 fi
7009 fi
7010 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7011 if test -n "$ac_ct_LIPO"; then
7012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7013 $as_echo "$ac_ct_LIPO" >&6; }
7014 else
7015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7017 fi
7018
7019   if test "x$ac_ct_LIPO" = x; then
7020     LIPO=":"
7021   else
7022     case $cross_compiling:$ac_tool_warned in
7023 yes:)
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7026 ac_tool_warned=yes ;;
7027 esac
7028     LIPO=$ac_ct_LIPO
7029   fi
7030 else
7031   LIPO="$ac_cv_prog_LIPO"
7032 fi
7033
7034     if test -n "$ac_tool_prefix"; then
7035   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7036 set dummy ${ac_tool_prefix}otool; ac_word=$2
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7038 $as_echo_n "checking for $ac_word... " >&6; }
7039 if ${ac_cv_prog_OTOOL+:} false; then :
7040   $as_echo_n "(cached) " >&6
7041 else
7042   if test -n "$OTOOL"; then
7043   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7044 else
7045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7046 for as_dir in $PATH
7047 do
7048   IFS=$as_save_IFS
7049   test -z "$as_dir" && as_dir=.
7050     for ac_exec_ext in '' $ac_executable_extensions; do
7051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7052     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7054     break 2
7055   fi
7056 done
7057   done
7058 IFS=$as_save_IFS
7059
7060 fi
7061 fi
7062 OTOOL=$ac_cv_prog_OTOOL
7063 if test -n "$OTOOL"; then
7064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7065 $as_echo "$OTOOL" >&6; }
7066 else
7067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068 $as_echo "no" >&6; }
7069 fi
7070
7071
7072 fi
7073 if test -z "$ac_cv_prog_OTOOL"; then
7074   ac_ct_OTOOL=$OTOOL
7075   # Extract the first word of "otool", so it can be a program name with args.
7076 set dummy otool; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7080   $as_echo_n "(cached) " >&6
7081 else
7082   if test -n "$ac_ct_OTOOL"; then
7083   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7084 else
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 for as_dir in $PATH
7087 do
7088   IFS=$as_save_IFS
7089   test -z "$as_dir" && as_dir=.
7090     for ac_exec_ext in '' $ac_executable_extensions; do
7091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7092     ac_cv_prog_ac_ct_OTOOL="otool"
7093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094     break 2
7095   fi
7096 done
7097   done
7098 IFS=$as_save_IFS
7099
7100 fi
7101 fi
7102 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7103 if test -n "$ac_ct_OTOOL"; then
7104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7105 $as_echo "$ac_ct_OTOOL" >&6; }
7106 else
7107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7109 fi
7110
7111   if test "x$ac_ct_OTOOL" = x; then
7112     OTOOL=":"
7113   else
7114     case $cross_compiling:$ac_tool_warned in
7115 yes:)
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7118 ac_tool_warned=yes ;;
7119 esac
7120     OTOOL=$ac_ct_OTOOL
7121   fi
7122 else
7123   OTOOL="$ac_cv_prog_OTOOL"
7124 fi
7125
7126     if test -n "$ac_tool_prefix"; then
7127   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7128 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130 $as_echo_n "checking for $ac_word... " >&6; }
7131 if ${ac_cv_prog_OTOOL64+:} false; then :
7132   $as_echo_n "(cached) " >&6
7133 else
7134   if test -n "$OTOOL64"; then
7135   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7136 else
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 for as_dir in $PATH
7139 do
7140   IFS=$as_save_IFS
7141   test -z "$as_dir" && as_dir=.
7142     for ac_exec_ext in '' $ac_executable_extensions; do
7143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7144     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146     break 2
7147   fi
7148 done
7149   done
7150 IFS=$as_save_IFS
7151
7152 fi
7153 fi
7154 OTOOL64=$ac_cv_prog_OTOOL64
7155 if test -n "$OTOOL64"; then
7156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7157 $as_echo "$OTOOL64" >&6; }
7158 else
7159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160 $as_echo "no" >&6; }
7161 fi
7162
7163
7164 fi
7165 if test -z "$ac_cv_prog_OTOOL64"; then
7166   ac_ct_OTOOL64=$OTOOL64
7167   # Extract the first word of "otool64", so it can be a program name with args.
7168 set dummy otool64; ac_word=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7172   $as_echo_n "(cached) " >&6
7173 else
7174   if test -n "$ac_ct_OTOOL64"; then
7175   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7176 else
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 for as_dir in $PATH
7179 do
7180   IFS=$as_save_IFS
7181   test -z "$as_dir" && as_dir=.
7182     for ac_exec_ext in '' $ac_executable_extensions; do
7183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184     ac_cv_prog_ac_ct_OTOOL64="otool64"
7185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7186     break 2
7187   fi
7188 done
7189   done
7190 IFS=$as_save_IFS
7191
7192 fi
7193 fi
7194 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7195 if test -n "$ac_ct_OTOOL64"; then
7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7197 $as_echo "$ac_ct_OTOOL64" >&6; }
7198 else
7199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7201 fi
7202
7203   if test "x$ac_ct_OTOOL64" = x; then
7204     OTOOL64=":"
7205   else
7206     case $cross_compiling:$ac_tool_warned in
7207 yes:)
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7210 ac_tool_warned=yes ;;
7211 esac
7212     OTOOL64=$ac_ct_OTOOL64
7213   fi
7214 else
7215   OTOOL64="$ac_cv_prog_OTOOL64"
7216 fi
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7245 $as_echo_n "checking for -single_module linker flag... " >&6; }
7246 if ${lt_cv_apple_cc_single_mod+:} false; then :
7247   $as_echo_n "(cached) " >&6
7248 else
7249   lt_cv_apple_cc_single_mod=no
7250       if test -z "${LT_MULTI_MODULE}"; then
7251         # By default we will add the -single_module flag. You can override
7252         # by either setting the environment variable LT_MULTI_MODULE
7253         # non-empty at configure time, or by adding -multi_module to the
7254         # link flags.
7255         rm -rf libconftest.dylib*
7256         echo "int foo(void){return 1;}" > conftest.c
7257         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7258 -dynamiclib -Wl,-single_module conftest.c" >&5
7259         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7260           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7261         _lt_result=$?
7262         # If there is a non-empty error log, and "single_module"
7263         # appears in it, assume the flag caused a linker warning
7264         if test -s conftest.err && $GREP single_module conftest.err; then
7265           cat conftest.err >&5
7266         # Otherwise, if the output was created with a 0 exit code from
7267         # the compiler, it worked.
7268         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7269           lt_cv_apple_cc_single_mod=yes
7270         else
7271           cat conftest.err >&5
7272         fi
7273         rm -rf libconftest.dylib*
7274         rm -f conftest.*
7275       fi
7276 fi
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7278 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7279
7280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7281 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7282 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7283   $as_echo_n "(cached) " >&6
7284 else
7285   lt_cv_ld_exported_symbols_list=no
7286       save_LDFLAGS=$LDFLAGS
7287       echo "_main" > conftest.sym
7288       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h.  */
7291
7292 int
7293 main ()
7294 {
7295
7296   ;
7297   return 0;
7298 }
7299 _ACEOF
7300 if ac_fn_c_try_link "$LINENO"; then :
7301   lt_cv_ld_exported_symbols_list=yes
7302 else
7303   lt_cv_ld_exported_symbols_list=no
7304 fi
7305 rm -f core conftest.err conftest.$ac_objext \
7306     conftest$ac_exeext conftest.$ac_ext
7307         LDFLAGS="$save_LDFLAGS"
7308
7309 fi
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7311 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7312
7313     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7314 $as_echo_n "checking for -force_load linker flag... " >&6; }
7315 if ${lt_cv_ld_force_load+:} false; then :
7316   $as_echo_n "(cached) " >&6
7317 else
7318   lt_cv_ld_force_load=no
7319       cat > conftest.c << _LT_EOF
7320 int forced_loaded() { return 2;}
7321 _LT_EOF
7322       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7323       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7324       echo "$AR cru libconftest.a conftest.o" >&5
7325       $AR cru libconftest.a conftest.o 2>&5
7326       echo "$RANLIB libconftest.a" >&5
7327       $RANLIB libconftest.a 2>&5
7328       cat > conftest.c << _LT_EOF
7329 int main() { return 0;}
7330 _LT_EOF
7331       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7332       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7333       _lt_result=$?
7334       if test -s conftest.err && $GREP force_load conftest.err; then
7335         cat conftest.err >&5
7336       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7337         lt_cv_ld_force_load=yes
7338       else
7339         cat conftest.err >&5
7340       fi
7341         rm -f conftest.err libconftest.a conftest conftest.c
7342         rm -rf conftest.dSYM
7343
7344 fi
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7346 $as_echo "$lt_cv_ld_force_load" >&6; }
7347     case $host_os in
7348     rhapsody* | darwin1.[012])
7349       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7350     darwin1.*)
7351       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7352     darwin*) # darwin 5.x on
7353       # if running on 10.5 or later, the deployment target defaults
7354       # to the OS version, if on x86, and 10.4, the deployment
7355       # target defaults to 10.4. Don't you love it?
7356       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7357         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7358           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7359         10.[012]*)
7360           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7361         10.*)
7362           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7363       esac
7364     ;;
7365   esac
7366     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7367       _lt_dar_single_mod='$single_module'
7368     fi
7369     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7370       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7371     else
7372       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7373     fi
7374     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7375       _lt_dsymutil='~$DSYMUTIL $lib || :'
7376     else
7377       _lt_dsymutil=
7378     fi
7379     ;;
7380   esac
7381
7382 ac_ext=c
7383 ac_cpp='$CPP $CPPFLAGS'
7384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7388 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7389 # On Suns, sometimes $CPP names a directory.
7390 if test -n "$CPP" && test -d "$CPP"; then
7391   CPP=
7392 fi
7393 if test -z "$CPP"; then
7394   if ${ac_cv_prog_CPP+:} false; then :
7395   $as_echo_n "(cached) " >&6
7396 else
7397       # Double quotes because CPP needs to be expanded
7398     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7399     do
7400       ac_preproc_ok=false
7401 for ac_c_preproc_warn_flag in '' yes
7402 do
7403   # Use a header file that comes with gcc, so configuring glibc
7404   # with a fresh cross-compiler works.
7405   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7406   # <limits.h> exists even on freestanding compilers.
7407   # On the NeXT, cc -E runs the code through the compiler's parser,
7408   # not just through cpp. "Syntax error" is here to catch this case.
7409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7410 /* end confdefs.h.  */
7411 #ifdef __STDC__
7412 # include <limits.h>
7413 #else
7414 # include <assert.h>
7415 #endif
7416                      Syntax error
7417 _ACEOF
7418 if ac_fn_c_try_cpp "$LINENO"; then :
7419
7420 else
7421   # Broken: fails on valid input.
7422 continue
7423 fi
7424 rm -f conftest.err conftest.i conftest.$ac_ext
7425
7426   # OK, works on sane cases.  Now check whether nonexistent headers
7427   # can be detected and how.
7428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7429 /* end confdefs.h.  */
7430 #include <ac_nonexistent.h>
7431 _ACEOF
7432 if ac_fn_c_try_cpp "$LINENO"; then :
7433   # Broken: success on invalid input.
7434 continue
7435 else
7436   # Passes both tests.
7437 ac_preproc_ok=:
7438 break
7439 fi
7440 rm -f conftest.err conftest.i conftest.$ac_ext
7441
7442 done
7443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7444 rm -f conftest.i conftest.err conftest.$ac_ext
7445 if $ac_preproc_ok; then :
7446   break
7447 fi
7448
7449     done
7450     ac_cv_prog_CPP=$CPP
7451
7452 fi
7453   CPP=$ac_cv_prog_CPP
7454 else
7455   ac_cv_prog_CPP=$CPP
7456 fi
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7458 $as_echo "$CPP" >&6; }
7459 ac_preproc_ok=false
7460 for ac_c_preproc_warn_flag in '' yes
7461 do
7462   # Use a header file that comes with gcc, so configuring glibc
7463   # with a fresh cross-compiler works.
7464   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7465   # <limits.h> exists even on freestanding compilers.
7466   # On the NeXT, cc -E runs the code through the compiler's parser,
7467   # not just through cpp. "Syntax error" is here to catch this case.
7468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7469 /* end confdefs.h.  */
7470 #ifdef __STDC__
7471 # include <limits.h>
7472 #else
7473 # include <assert.h>
7474 #endif
7475                      Syntax error
7476 _ACEOF
7477 if ac_fn_c_try_cpp "$LINENO"; then :
7478
7479 else
7480   # Broken: fails on valid input.
7481 continue
7482 fi
7483 rm -f conftest.err conftest.i conftest.$ac_ext
7484
7485   # OK, works on sane cases.  Now check whether nonexistent headers
7486   # can be detected and how.
7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7488 /* end confdefs.h.  */
7489 #include <ac_nonexistent.h>
7490 _ACEOF
7491 if ac_fn_c_try_cpp "$LINENO"; then :
7492   # Broken: success on invalid input.
7493 continue
7494 else
7495   # Passes both tests.
7496 ac_preproc_ok=:
7497 break
7498 fi
7499 rm -f conftest.err conftest.i conftest.$ac_ext
7500
7501 done
7502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7503 rm -f conftest.i conftest.err conftest.$ac_ext
7504 if $ac_preproc_ok; then :
7505
7506 else
7507   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7509 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7510 See \`config.log' for more details" "$LINENO" 5; }
7511 fi
7512
7513 ac_ext=c
7514 ac_cpp='$CPP $CPPFLAGS'
7515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7518
7519
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7521 $as_echo_n "checking for ANSI C header files... " >&6; }
7522 if ${ac_cv_header_stdc+:} false; then :
7523   $as_echo_n "(cached) " >&6
7524 else
7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h.  */
7527 #include <stdlib.h>
7528 #include <stdarg.h>
7529 #include <string.h>
7530 #include <float.h>
7531
7532 int
7533 main ()
7534 {
7535
7536   ;
7537   return 0;
7538 }
7539 _ACEOF
7540 if ac_fn_c_try_compile "$LINENO"; then :
7541   ac_cv_header_stdc=yes
7542 else
7543   ac_cv_header_stdc=no
7544 fi
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7546
7547 if test $ac_cv_header_stdc = yes; then
7548   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7550 /* end confdefs.h.  */
7551 #include <string.h>
7552
7553 _ACEOF
7554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7555   $EGREP "memchr" >/dev/null 2>&1; then :
7556
7557 else
7558   ac_cv_header_stdc=no
7559 fi
7560 rm -f conftest*
7561
7562 fi
7563
7564 if test $ac_cv_header_stdc = yes; then
7565   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h.  */
7568 #include <stdlib.h>
7569
7570 _ACEOF
7571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7572   $EGREP "free" >/dev/null 2>&1; then :
7573
7574 else
7575   ac_cv_header_stdc=no
7576 fi
7577 rm -f conftest*
7578
7579 fi
7580
7581 if test $ac_cv_header_stdc = yes; then
7582   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7583   if test "$cross_compiling" = yes; then :
7584   :
7585 else
7586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h.  */
7588 #include <ctype.h>
7589 #include <stdlib.h>
7590 #if ((' ' & 0x0FF) == 0x020)
7591 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7592 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7593 #else
7594 # define ISLOWER(c) \
7595                    (('a' <= (c) && (c) <= 'i') \
7596                      || ('j' <= (c) && (c) <= 'r') \
7597                      || ('s' <= (c) && (c) <= 'z'))
7598 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7599 #endif
7600
7601 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7602 int
7603 main ()
7604 {
7605   int i;
7606   for (i = 0; i < 256; i++)
7607     if (XOR (islower (i), ISLOWER (i))
7608         || toupper (i) != TOUPPER (i))
7609       return 2;
7610   return 0;
7611 }
7612 _ACEOF
7613 if ac_fn_c_try_run "$LINENO"; then :
7614
7615 else
7616   ac_cv_header_stdc=no
7617 fi
7618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7619   conftest.$ac_objext conftest.beam conftest.$ac_ext
7620 fi
7621
7622 fi
7623 fi
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7625 $as_echo "$ac_cv_header_stdc" >&6; }
7626 if test $ac_cv_header_stdc = yes; then
7627
7628 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7629
7630 fi
7631
7632 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7633 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7634                   inttypes.h stdint.h unistd.h
7635 do :
7636   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7637 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7638 "
7639 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7640   cat >>confdefs.h <<_ACEOF
7641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7642 _ACEOF
7643
7644 fi
7645
7646 done
7647
7648
7649 for ac_header in dlfcn.h
7650 do :
7651   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7652 "
7653 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7654   cat >>confdefs.h <<_ACEOF
7655 #define HAVE_DLFCN_H 1
7656 _ACEOF
7657
7658 fi
7659
7660 done
7661
7662
7663
7664
7665
7666 # Set options
7667 # Check whether --enable-static was given.
7668 if test "${enable_static+set}" = set; then :
7669   enableval=$enable_static; p=${PACKAGE-default}
7670     case $enableval in
7671     yes) enable_static=yes ;;
7672     no) enable_static=no ;;
7673     *)
7674      enable_static=no
7675       # Look at the argument we got.  We use all the common list separators.
7676       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7677       for pkg in $enableval; do
7678         IFS="$lt_save_ifs"
7679         if test "X$pkg" = "X$p"; then
7680           enable_static=yes
7681         fi
7682       done
7683       IFS="$lt_save_ifs"
7684       ;;
7685     esac
7686 else
7687   enable_static=no
7688 fi
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699         enable_dlopen=no
7700
7701
7702   enable_win32_dll=no
7703
7704
7705             # Check whether --enable-shared was given.
7706 if test "${enable_shared+set}" = set; then :
7707   enableval=$enable_shared; p=${PACKAGE-default}
7708     case $enableval in
7709     yes) enable_shared=yes ;;
7710     no) enable_shared=no ;;
7711     *)
7712       enable_shared=no
7713       # Look at the argument we got.  We use all the common list separators.
7714       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7715       for pkg in $enableval; do
7716         IFS="$lt_save_ifs"
7717         if test "X$pkg" = "X$p"; then
7718           enable_shared=yes
7719         fi
7720       done
7721       IFS="$lt_save_ifs"
7722       ;;
7723     esac
7724 else
7725   enable_shared=yes
7726 fi
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738 # Check whether --with-pic was given.
7739 if test "${with_pic+set}" = set; then :
7740   withval=$with_pic; lt_p=${PACKAGE-default}
7741     case $withval in
7742     yes|no) pic_mode=$withval ;;
7743     *)
7744       pic_mode=default
7745       # Look at the argument we got.  We use all the common list separators.
7746       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7747       for lt_pkg in $withval; do
7748         IFS="$lt_save_ifs"
7749         if test "X$lt_pkg" = "X$lt_p"; then
7750           pic_mode=yes
7751         fi
7752       done
7753       IFS="$lt_save_ifs"
7754       ;;
7755     esac
7756 else
7757   pic_mode=default
7758 fi
7759
7760
7761 test -z "$pic_mode" && pic_mode=default
7762
7763
7764
7765
7766
7767
7768
7769   # Check whether --enable-fast-install was given.
7770 if test "${enable_fast_install+set}" = set; then :
7771   enableval=$enable_fast_install; p=${PACKAGE-default}
7772     case $enableval in
7773     yes) enable_fast_install=yes ;;
7774     no) enable_fast_install=no ;;
7775     *)
7776       enable_fast_install=no
7777       # Look at the argument we got.  We use all the common list separators.
7778       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7779       for pkg in $enableval; do
7780         IFS="$lt_save_ifs"
7781         if test "X$pkg" = "X$p"; then
7782           enable_fast_install=yes
7783         fi
7784       done
7785       IFS="$lt_save_ifs"
7786       ;;
7787     esac
7788 else
7789   enable_fast_install=yes
7790 fi
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802 # This can be used to rebuild libtool when needed
7803 LIBTOOL_DEPS="$ltmain"
7804
7805 # Always use our own libtool.
7806 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837 test -z "$LN_S" && LN_S="ln -s"
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852 if test -n "${ZSH_VERSION+set}" ; then
7853    setopt NO_GLOB_SUBST
7854 fi
7855
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7857 $as_echo_n "checking for objdir... " >&6; }
7858 if ${lt_cv_objdir+:} false; then :
7859   $as_echo_n "(cached) " >&6
7860 else
7861   rm -f .libs 2>/dev/null
7862 mkdir .libs 2>/dev/null
7863 if test -d .libs; then
7864   lt_cv_objdir=.libs
7865 else
7866   # MS-DOS does not allow filenames that begin with a dot.
7867   lt_cv_objdir=_libs
7868 fi
7869 rmdir .libs 2>/dev/null
7870 fi
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7872 $as_echo "$lt_cv_objdir" >&6; }
7873 objdir=$lt_cv_objdir
7874
7875
7876
7877
7878
7879 cat >>confdefs.h <<_ACEOF
7880 #define LT_OBJDIR "$lt_cv_objdir/"
7881 _ACEOF
7882
7883
7884
7885
7886 case $host_os in
7887 aix3*)
7888   # AIX sometimes has problems with the GCC collect2 program.  For some
7889   # reason, if we set the COLLECT_NAMES environment variable, the problems
7890   # vanish in a puff of smoke.
7891   if test "X${COLLECT_NAMES+set}" != Xset; then
7892     COLLECT_NAMES=
7893     export COLLECT_NAMES
7894   fi
7895   ;;
7896 esac
7897
7898 # Global variables:
7899 ofile=libtool
7900 can_build_shared=yes
7901
7902 # All known linkers require a `.a' archive for static linking (except MSVC,
7903 # which needs '.lib').
7904 libext=a
7905
7906 with_gnu_ld="$lt_cv_prog_gnu_ld"
7907
7908 old_CC="$CC"
7909 old_CFLAGS="$CFLAGS"
7910
7911 # Set sane defaults for various variables
7912 test -z "$CC" && CC=cc
7913 test -z "$LTCC" && LTCC=$CC
7914 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7915 test -z "$LD" && LD=ld
7916 test -z "$ac_objext" && ac_objext=o
7917
7918 for cc_temp in $compiler""; do
7919   case $cc_temp in
7920     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7921     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7922     \-*) ;;
7923     *) break;;
7924   esac
7925 done
7926 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7927
7928
7929 # Only perform the check for file, if the check method requires it
7930 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7931 case $deplibs_check_method in
7932 file_magic*)
7933   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7934     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7935 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7936 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7937   $as_echo_n "(cached) " >&6
7938 else
7939   case $MAGIC_CMD in
7940 [\\/*] |  ?:[\\/]*)
7941   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7942   ;;
7943 *)
7944   lt_save_MAGIC_CMD="$MAGIC_CMD"
7945   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7946   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7947   for ac_dir in $ac_dummy; do
7948     IFS="$lt_save_ifs"
7949     test -z "$ac_dir" && ac_dir=.
7950     if test -f $ac_dir/${ac_tool_prefix}file; then
7951       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7952       if test -n "$file_magic_test_file"; then
7953         case $deplibs_check_method in
7954         "file_magic "*)
7955           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7956           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7957           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7958             $EGREP "$file_magic_regex" > /dev/null; then
7959             :
7960           else
7961             cat <<_LT_EOF 1>&2
7962
7963 *** Warning: the command libtool uses to detect shared libraries,
7964 *** $file_magic_cmd, produces output that libtool cannot recognize.
7965 *** The result is that libtool may fail to recognize shared libraries
7966 *** as such.  This will affect the creation of libtool libraries that
7967 *** depend on shared libraries, but programs linked with such libtool
7968 *** libraries will work regardless of this problem.  Nevertheless, you
7969 *** may want to report the problem to your system manager and/or to
7970 *** bug-libtool@gnu.org
7971
7972 _LT_EOF
7973           fi ;;
7974         esac
7975       fi
7976       break
7977     fi
7978   done
7979   IFS="$lt_save_ifs"
7980   MAGIC_CMD="$lt_save_MAGIC_CMD"
7981   ;;
7982 esac
7983 fi
7984
7985 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7986 if test -n "$MAGIC_CMD"; then
7987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7988 $as_echo "$MAGIC_CMD" >&6; }
7989 else
7990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7992 fi
7993
7994
7995
7996
7997
7998 if test -z "$lt_cv_path_MAGIC_CMD"; then
7999   if test -n "$ac_tool_prefix"; then
8000     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8001 $as_echo_n "checking for file... " >&6; }
8002 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8003   $as_echo_n "(cached) " >&6
8004 else
8005   case $MAGIC_CMD in
8006 [\\/*] |  ?:[\\/]*)
8007   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8008   ;;
8009 *)
8010   lt_save_MAGIC_CMD="$MAGIC_CMD"
8011   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8012   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8013   for ac_dir in $ac_dummy; do
8014     IFS="$lt_save_ifs"
8015     test -z "$ac_dir" && ac_dir=.
8016     if test -f $ac_dir/file; then
8017       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8018       if test -n "$file_magic_test_file"; then
8019         case $deplibs_check_method in
8020         "file_magic "*)
8021           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8022           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8023           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8024             $EGREP "$file_magic_regex" > /dev/null; then
8025             :
8026           else
8027             cat <<_LT_EOF 1>&2
8028
8029 *** Warning: the command libtool uses to detect shared libraries,
8030 *** $file_magic_cmd, produces output that libtool cannot recognize.
8031 *** The result is that libtool may fail to recognize shared libraries
8032 *** as such.  This will affect the creation of libtool libraries that
8033 *** depend on shared libraries, but programs linked with such libtool
8034 *** libraries will work regardless of this problem.  Nevertheless, you
8035 *** may want to report the problem to your system manager and/or to
8036 *** bug-libtool@gnu.org
8037
8038 _LT_EOF
8039           fi ;;
8040         esac
8041       fi
8042       break
8043     fi
8044   done
8045   IFS="$lt_save_ifs"
8046   MAGIC_CMD="$lt_save_MAGIC_CMD"
8047   ;;
8048 esac
8049 fi
8050
8051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8052 if test -n "$MAGIC_CMD"; then
8053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8054 $as_echo "$MAGIC_CMD" >&6; }
8055 else
8056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8057 $as_echo "no" >&6; }
8058 fi
8059
8060
8061   else
8062     MAGIC_CMD=:
8063   fi
8064 fi
8065
8066   fi
8067   ;;
8068 esac
8069
8070 # Use C for the default configuration in the libtool script
8071
8072 lt_save_CC="$CC"
8073 ac_ext=c
8074 ac_cpp='$CPP $CPPFLAGS'
8075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8078
8079
8080 # Source file extension for C test sources.
8081 ac_ext=c
8082
8083 # Object file extension for compiled C test sources.
8084 objext=o
8085 objext=$objext
8086
8087 # Code to be used in simple compile tests
8088 lt_simple_compile_test_code="int some_variable = 0;"
8089
8090 # Code to be used in simple link tests
8091 lt_simple_link_test_code='int main(){return(0);}'
8092
8093
8094
8095
8096
8097
8098
8099 # If no C compiler was specified, use CC.
8100 LTCC=${LTCC-"$CC"}
8101
8102 # If no C compiler flags were specified, use CFLAGS.
8103 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8104
8105 # Allow CC to be a program name with arguments.
8106 compiler=$CC
8107
8108 # Save the default compiler, since it gets overwritten when the other
8109 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8110 compiler_DEFAULT=$CC
8111
8112 # save warnings/boilerplate of simple test code
8113 ac_outfile=conftest.$ac_objext
8114 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8115 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8116 _lt_compiler_boilerplate=`cat conftest.err`
8117 $RM conftest*
8118
8119 ac_outfile=conftest.$ac_objext
8120 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8121 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8122 _lt_linker_boilerplate=`cat conftest.err`
8123 $RM -r conftest*
8124
8125
8126 ## CAVEAT EMPTOR:
8127 ## There is no encapsulation within the following macros, do not change
8128 ## the running order or otherwise move them around unless you know exactly
8129 ## what you are doing...
8130 if test -n "$compiler"; then
8131
8132 lt_prog_compiler_no_builtin_flag=
8133
8134 if test "$GCC" = yes; then
8135   case $cc_basename in
8136   nvcc*)
8137     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8138   *)
8139     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8140   esac
8141
8142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8143 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8144 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8145   $as_echo_n "(cached) " >&6
8146 else
8147   lt_cv_prog_compiler_rtti_exceptions=no
8148    ac_outfile=conftest.$ac_objext
8149    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8150    lt_compiler_flag="-fno-rtti -fno-exceptions"
8151    # Insert the option either (1) after the last *FLAGS variable, or
8152    # (2) before a word containing "conftest.", or (3) at the end.
8153    # Note that $ac_compile itself does not contain backslashes and begins
8154    # with a dollar sign (not a hyphen), so the echo should work correctly.
8155    # The option is referenced via a variable to avoid confusing sed.
8156    lt_compile=`echo "$ac_compile" | $SED \
8157    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8158    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8159    -e 's:$: $lt_compiler_flag:'`
8160    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8161    (eval "$lt_compile" 2>conftest.err)
8162    ac_status=$?
8163    cat conftest.err >&5
8164    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165    if (exit $ac_status) && test -s "$ac_outfile"; then
8166      # The compiler can only warn and ignore the option if not recognized
8167      # So say no if there are warnings other than the usual output.
8168      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8169      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8170      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8171        lt_cv_prog_compiler_rtti_exceptions=yes
8172      fi
8173    fi
8174    $RM conftest*
8175
8176 fi
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8178 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8179
8180 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8181     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8182 else
8183     :
8184 fi
8185
8186 fi
8187
8188
8189
8190
8191
8192
8193   lt_prog_compiler_wl=
8194 lt_prog_compiler_pic=
8195 lt_prog_compiler_static=
8196
8197
8198   if test "$GCC" = yes; then
8199     lt_prog_compiler_wl='-Wl,'
8200     lt_prog_compiler_static='-static'
8201
8202     case $host_os in
8203       aix*)
8204       # All AIX code is PIC.
8205       if test "$host_cpu" = ia64; then
8206         # AIX 5 now supports IA64 processor
8207         lt_prog_compiler_static='-Bstatic'
8208       fi
8209       ;;
8210
8211     amigaos*)
8212       case $host_cpu in
8213       powerpc)
8214             # see comment about AmigaOS4 .so support
8215             lt_prog_compiler_pic='-fPIC'
8216         ;;
8217       m68k)
8218             # FIXME: we need at least 68020 code to build shared libraries, but
8219             # adding the `-m68020' flag to GCC prevents building anything better,
8220             # like `-m68040'.
8221             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8222         ;;
8223       esac
8224       ;;
8225
8226     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8227       # PIC is the default for these OSes.
8228       ;;
8229
8230     mingw* | cygwin* | pw32* | os2* | cegcc*)
8231       # This hack is so that the source file can tell whether it is being
8232       # built for inclusion in a dll (and should export symbols for example).
8233       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8234       # (--disable-auto-import) libraries
8235       lt_prog_compiler_pic='-DDLL_EXPORT'
8236       ;;
8237
8238     darwin* | rhapsody*)
8239       # PIC is the default on this platform
8240       # Common symbols not allowed in MH_DYLIB files
8241       lt_prog_compiler_pic='-fno-common'
8242       ;;
8243
8244     haiku*)
8245       # PIC is the default for Haiku.
8246       # The "-static" flag exists, but is broken.
8247       lt_prog_compiler_static=
8248       ;;
8249
8250     hpux*)
8251       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8252       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8253       # sets the default TLS model and affects inlining.
8254       case $host_cpu in
8255       hppa*64*)
8256         # +Z the default
8257         ;;
8258       *)
8259         lt_prog_compiler_pic='-fPIC'
8260         ;;
8261       esac
8262       ;;
8263
8264     interix[3-9]*)
8265       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8266       # Instead, we relocate shared libraries at runtime.
8267       ;;
8268
8269     msdosdjgpp*)
8270       # Just because we use GCC doesn't mean we suddenly get shared libraries
8271       # on systems that don't support them.
8272       lt_prog_compiler_can_build_shared=no
8273       enable_shared=no
8274       ;;
8275
8276     *nto* | *qnx*)
8277       # QNX uses GNU C++, but need to define -shared option too, otherwise
8278       # it will coredump.
8279       lt_prog_compiler_pic='-fPIC -shared'
8280       ;;
8281
8282     sysv4*MP*)
8283       if test -d /usr/nec; then
8284         lt_prog_compiler_pic=-Kconform_pic
8285       fi
8286       ;;
8287
8288     *)
8289       lt_prog_compiler_pic='-fPIC'
8290       ;;
8291     esac
8292
8293     case $cc_basename in
8294     nvcc*) # Cuda Compiler Driver 2.2
8295       lt_prog_compiler_wl='-Xlinker '
8296       if test -n "$lt_prog_compiler_pic"; then
8297         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8298       fi
8299       ;;
8300     esac
8301   else
8302     # PORTME Check for flag to pass linker flags through the system compiler.
8303     case $host_os in
8304     aix*)
8305       lt_prog_compiler_wl='-Wl,'
8306       if test "$host_cpu" = ia64; then
8307         # AIX 5 now supports IA64 processor
8308         lt_prog_compiler_static='-Bstatic'
8309       else
8310         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8311       fi
8312       ;;
8313
8314     mingw* | cygwin* | pw32* | os2* | cegcc*)
8315       # This hack is so that the source file can tell whether it is being
8316       # built for inclusion in a dll (and should export symbols for example).
8317       lt_prog_compiler_pic='-DDLL_EXPORT'
8318       ;;
8319
8320     hpux9* | hpux10* | hpux11*)
8321       lt_prog_compiler_wl='-Wl,'
8322       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8323       # not for PA HP-UX.
8324       case $host_cpu in
8325       hppa*64*|ia64*)
8326         # +Z the default
8327         ;;
8328       *)
8329         lt_prog_compiler_pic='+Z'
8330         ;;
8331       esac
8332       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8333       lt_prog_compiler_static='${wl}-a ${wl}archive'
8334       ;;
8335
8336     irix5* | irix6* | nonstopux*)
8337       lt_prog_compiler_wl='-Wl,'
8338       # PIC (with -KPIC) is the default.
8339       lt_prog_compiler_static='-non_shared'
8340       ;;
8341
8342     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8343       case $cc_basename in
8344       # old Intel for x86_64 which still supported -KPIC.
8345       ecc*)
8346         lt_prog_compiler_wl='-Wl,'
8347         lt_prog_compiler_pic='-KPIC'
8348         lt_prog_compiler_static='-static'
8349         ;;
8350       # icc used to be incompatible with GCC.
8351       # ICC 10 doesn't accept -KPIC any more.
8352       icc* | ifort*)
8353         lt_prog_compiler_wl='-Wl,'
8354         lt_prog_compiler_pic='-fPIC'
8355         lt_prog_compiler_static='-static'
8356         ;;
8357       # Lahey Fortran 8.1.
8358       lf95*)
8359         lt_prog_compiler_wl='-Wl,'
8360         lt_prog_compiler_pic='--shared'
8361         lt_prog_compiler_static='--static'
8362         ;;
8363       nagfor*)
8364         # NAG Fortran compiler
8365         lt_prog_compiler_wl='-Wl,-Wl,,'
8366         lt_prog_compiler_pic='-PIC'
8367         lt_prog_compiler_static='-Bstatic'
8368         ;;
8369       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8370         # Portland Group compilers (*not* the Pentium gcc compiler,
8371         # which looks to be a dead project)
8372         lt_prog_compiler_wl='-Wl,'
8373         lt_prog_compiler_pic='-fpic'
8374         lt_prog_compiler_static='-Bstatic'
8375         ;;
8376       ccc*)
8377         lt_prog_compiler_wl='-Wl,'
8378         # All Alpha code is PIC.
8379         lt_prog_compiler_static='-non_shared'
8380         ;;
8381       xl* | bgxl* | bgf* | mpixl*)
8382         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8383         lt_prog_compiler_wl='-Wl,'
8384         lt_prog_compiler_pic='-qpic'
8385         lt_prog_compiler_static='-qstaticlink'
8386         ;;
8387       *)
8388         case `$CC -V 2>&1 | sed 5q` in
8389         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8390           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8391           lt_prog_compiler_pic='-KPIC'
8392           lt_prog_compiler_static='-Bstatic'
8393           lt_prog_compiler_wl=''
8394           ;;
8395         *Sun\ F* | *Sun*Fortran*)
8396           lt_prog_compiler_pic='-KPIC'
8397           lt_prog_compiler_static='-Bstatic'
8398           lt_prog_compiler_wl='-Qoption ld '
8399           ;;
8400         *Sun\ C*)
8401           # Sun C 5.9
8402           lt_prog_compiler_pic='-KPIC'
8403           lt_prog_compiler_static='-Bstatic'
8404           lt_prog_compiler_wl='-Wl,'
8405           ;;
8406         *Intel*\ [CF]*Compiler*)
8407           lt_prog_compiler_wl='-Wl,'
8408           lt_prog_compiler_pic='-fPIC'
8409           lt_prog_compiler_static='-static'
8410           ;;
8411         *Portland\ Group*)
8412           lt_prog_compiler_wl='-Wl,'
8413           lt_prog_compiler_pic='-fpic'
8414           lt_prog_compiler_static='-Bstatic'
8415           ;;
8416         esac
8417         ;;
8418       esac
8419       ;;
8420
8421     newsos6)
8422       lt_prog_compiler_pic='-KPIC'
8423       lt_prog_compiler_static='-Bstatic'
8424       ;;
8425
8426     *nto* | *qnx*)
8427       # QNX uses GNU C++, but need to define -shared option too, otherwise
8428       # it will coredump.
8429       lt_prog_compiler_pic='-fPIC -shared'
8430       ;;
8431
8432     osf3* | osf4* | osf5*)
8433       lt_prog_compiler_wl='-Wl,'
8434       # All OSF/1 code is PIC.
8435       lt_prog_compiler_static='-non_shared'
8436       ;;
8437
8438     rdos*)
8439       lt_prog_compiler_static='-non_shared'
8440       ;;
8441
8442     solaris*)
8443       lt_prog_compiler_pic='-KPIC'
8444       lt_prog_compiler_static='-Bstatic'
8445       case $cc_basename in
8446       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8447         lt_prog_compiler_wl='-Qoption ld ';;
8448       *)
8449         lt_prog_compiler_wl='-Wl,';;
8450       esac
8451       ;;
8452
8453     sunos4*)
8454       lt_prog_compiler_wl='-Qoption ld '
8455       lt_prog_compiler_pic='-PIC'
8456       lt_prog_compiler_static='-Bstatic'
8457       ;;
8458
8459     sysv4 | sysv4.2uw2* | sysv4.3*)
8460       lt_prog_compiler_wl='-Wl,'
8461       lt_prog_compiler_pic='-KPIC'
8462       lt_prog_compiler_static='-Bstatic'
8463       ;;
8464
8465     sysv4*MP*)
8466       if test -d /usr/nec ;then
8467         lt_prog_compiler_pic='-Kconform_pic'
8468         lt_prog_compiler_static='-Bstatic'
8469       fi
8470       ;;
8471
8472     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8473       lt_prog_compiler_wl='-Wl,'
8474       lt_prog_compiler_pic='-KPIC'
8475       lt_prog_compiler_static='-Bstatic'
8476       ;;
8477
8478     unicos*)
8479       lt_prog_compiler_wl='-Wl,'
8480       lt_prog_compiler_can_build_shared=no
8481       ;;
8482
8483     uts4*)
8484       lt_prog_compiler_pic='-pic'
8485       lt_prog_compiler_static='-Bstatic'
8486       ;;
8487
8488     *)
8489       lt_prog_compiler_can_build_shared=no
8490       ;;
8491     esac
8492   fi
8493
8494 case $host_os in
8495   # For platforms which do not support PIC, -DPIC is meaningless:
8496   *djgpp*)
8497     lt_prog_compiler_pic=
8498     ;;
8499   *)
8500     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8501     ;;
8502 esac
8503
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8506 if ${lt_cv_prog_compiler_pic+:} false; then :
8507   $as_echo_n "(cached) " >&6
8508 else
8509   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8510 fi
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8512 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8513 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8514
8515 #
8516 # Check to make sure the PIC flag actually works.
8517 #
8518 if test -n "$lt_prog_compiler_pic"; then
8519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8520 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8521 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8522   $as_echo_n "(cached) " >&6
8523 else
8524   lt_cv_prog_compiler_pic_works=no
8525    ac_outfile=conftest.$ac_objext
8526    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8527    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8528    # Insert the option either (1) after the last *FLAGS variable, or
8529    # (2) before a word containing "conftest.", or (3) at the end.
8530    # Note that $ac_compile itself does not contain backslashes and begins
8531    # with a dollar sign (not a hyphen), so the echo should work correctly.
8532    # The option is referenced via a variable to avoid confusing sed.
8533    lt_compile=`echo "$ac_compile" | $SED \
8534    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8535    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8536    -e 's:$: $lt_compiler_flag:'`
8537    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8538    (eval "$lt_compile" 2>conftest.err)
8539    ac_status=$?
8540    cat conftest.err >&5
8541    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542    if (exit $ac_status) && test -s "$ac_outfile"; then
8543      # The compiler can only warn and ignore the option if not recognized
8544      # So say no if there are warnings other than the usual output.
8545      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8546      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8547      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8548        lt_cv_prog_compiler_pic_works=yes
8549      fi
8550    fi
8551    $RM conftest*
8552
8553 fi
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8555 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8556
8557 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8558     case $lt_prog_compiler_pic in
8559      "" | " "*) ;;
8560      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8561      esac
8562 else
8563     lt_prog_compiler_pic=
8564      lt_prog_compiler_can_build_shared=no
8565 fi
8566
8567 fi
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579 #
8580 # Check to make sure the static flag actually works.
8581 #
8582 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8584 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8585 if ${lt_cv_prog_compiler_static_works+:} false; then :
8586   $as_echo_n "(cached) " >&6
8587 else
8588   lt_cv_prog_compiler_static_works=no
8589    save_LDFLAGS="$LDFLAGS"
8590    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8591    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8592    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8593      # The linker can only warn and ignore the option if not recognized
8594      # So say no if there are warnings
8595      if test -s conftest.err; then
8596        # Append any errors to the config.log.
8597        cat conftest.err 1>&5
8598        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8599        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8600        if diff conftest.exp conftest.er2 >/dev/null; then
8601          lt_cv_prog_compiler_static_works=yes
8602        fi
8603      else
8604        lt_cv_prog_compiler_static_works=yes
8605      fi
8606    fi
8607    $RM -r conftest*
8608    LDFLAGS="$save_LDFLAGS"
8609
8610 fi
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8612 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8613
8614 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8615     :
8616 else
8617     lt_prog_compiler_static=
8618 fi
8619
8620
8621
8622
8623
8624
8625
8626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8627 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8628 if ${lt_cv_prog_compiler_c_o+:} false; then :
8629   $as_echo_n "(cached) " >&6
8630 else
8631   lt_cv_prog_compiler_c_o=no
8632    $RM -r conftest 2>/dev/null
8633    mkdir conftest
8634    cd conftest
8635    mkdir out
8636    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8637
8638    lt_compiler_flag="-o out/conftest2.$ac_objext"
8639    # Insert the option either (1) after the last *FLAGS variable, or
8640    # (2) before a word containing "conftest.", or (3) at the end.
8641    # Note that $ac_compile itself does not contain backslashes and begins
8642    # with a dollar sign (not a hyphen), so the echo should work correctly.
8643    lt_compile=`echo "$ac_compile" | $SED \
8644    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8645    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8646    -e 's:$: $lt_compiler_flag:'`
8647    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8648    (eval "$lt_compile" 2>out/conftest.err)
8649    ac_status=$?
8650    cat out/conftest.err >&5
8651    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8653    then
8654      # The compiler can only warn and ignore the option if not recognized
8655      # So say no if there are warnings
8656      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8657      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8658      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8659        lt_cv_prog_compiler_c_o=yes
8660      fi
8661    fi
8662    chmod u+w . 2>&5
8663    $RM conftest*
8664    # SGI C++ compiler will create directory out/ii_files/ for
8665    # template instantiation
8666    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8667    $RM out/* && rmdir out
8668    cd ..
8669    $RM -r conftest
8670    $RM conftest*
8671
8672 fi
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8674 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8675
8676
8677
8678
8679
8680
8681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8682 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8683 if ${lt_cv_prog_compiler_c_o+:} false; then :
8684   $as_echo_n "(cached) " >&6
8685 else
8686   lt_cv_prog_compiler_c_o=no
8687    $RM -r conftest 2>/dev/null
8688    mkdir conftest
8689    cd conftest
8690    mkdir out
8691    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8692
8693    lt_compiler_flag="-o out/conftest2.$ac_objext"
8694    # Insert the option either (1) after the last *FLAGS variable, or
8695    # (2) before a word containing "conftest.", or (3) at the end.
8696    # Note that $ac_compile itself does not contain backslashes and begins
8697    # with a dollar sign (not a hyphen), so the echo should work correctly.
8698    lt_compile=`echo "$ac_compile" | $SED \
8699    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8700    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8701    -e 's:$: $lt_compiler_flag:'`
8702    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8703    (eval "$lt_compile" 2>out/conftest.err)
8704    ac_status=$?
8705    cat out/conftest.err >&5
8706    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8708    then
8709      # The compiler can only warn and ignore the option if not recognized
8710      # So say no if there are warnings
8711      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8712      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8713      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8714        lt_cv_prog_compiler_c_o=yes
8715      fi
8716    fi
8717    chmod u+w . 2>&5
8718    $RM conftest*
8719    # SGI C++ compiler will create directory out/ii_files/ for
8720    # template instantiation
8721    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8722    $RM out/* && rmdir out
8723    cd ..
8724    $RM -r conftest
8725    $RM conftest*
8726
8727 fi
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8729 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8730
8731
8732
8733
8734 hard_links="nottested"
8735 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8736   # do not overwrite the value of need_locks provided by the user
8737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8738 $as_echo_n "checking if we can lock with hard links... " >&6; }
8739   hard_links=yes
8740   $RM conftest*
8741   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8742   touch conftest.a
8743   ln conftest.a conftest.b 2>&5 || hard_links=no
8744   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8746 $as_echo "$hard_links" >&6; }
8747   if test "$hard_links" = no; then
8748     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8749 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8750     need_locks=warn
8751   fi
8752 else
8753   need_locks=no
8754 fi
8755
8756
8757
8758
8759
8760
8761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8762 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8763
8764   runpath_var=
8765   allow_undefined_flag=
8766   always_export_symbols=no
8767   archive_cmds=
8768   archive_expsym_cmds=
8769   compiler_needs_object=no
8770   enable_shared_with_static_runtimes=no
8771   export_dynamic_flag_spec=
8772   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8773   hardcode_automatic=no
8774   hardcode_direct=no
8775   hardcode_direct_absolute=no
8776   hardcode_libdir_flag_spec=
8777   hardcode_libdir_separator=
8778   hardcode_minus_L=no
8779   hardcode_shlibpath_var=unsupported
8780   inherit_rpath=no
8781   link_all_deplibs=unknown
8782   module_cmds=
8783   module_expsym_cmds=
8784   old_archive_from_new_cmds=
8785   old_archive_from_expsyms_cmds=
8786   thread_safe_flag_spec=
8787   whole_archive_flag_spec=
8788   # include_expsyms should be a list of space-separated symbols to be *always*
8789   # included in the symbol list
8790   include_expsyms=
8791   # exclude_expsyms can be an extended regexp of symbols to exclude
8792   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8793   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8794   # as well as any symbol that contains `d'.
8795   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8796   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8797   # platforms (ab)use it in PIC code, but their linkers get confused if
8798   # the symbol is explicitly referenced.  Since portable code cannot
8799   # rely on this symbol name, it's probably fine to never include it in
8800   # preloaded symbol tables.
8801   # Exclude shared library initialization/finalization symbols.
8802   extract_expsyms_cmds=
8803
8804   case $host_os in
8805   cygwin* | mingw* | pw32* | cegcc*)
8806     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8807     # When not using gcc, we currently assume that we are using
8808     # Microsoft Visual C++.
8809     if test "$GCC" != yes; then
8810       with_gnu_ld=no
8811     fi
8812     ;;
8813   interix*)
8814     # we just hope/assume this is gcc and not c89 (= MSVC++)
8815     with_gnu_ld=yes
8816     ;;
8817   openbsd*)
8818     with_gnu_ld=no
8819     ;;
8820   linux* | k*bsd*-gnu | gnu*)
8821     link_all_deplibs=no
8822     ;;
8823   esac
8824
8825   ld_shlibs=yes
8826
8827   # On some targets, GNU ld is compatible enough with the native linker
8828   # that we're better off using the native interface for both.
8829   lt_use_gnu_ld_interface=no
8830   if test "$with_gnu_ld" = yes; then
8831     case $host_os in
8832       aix*)
8833         # The AIX port of GNU ld has always aspired to compatibility
8834         # with the native linker.  However, as the warning in the GNU ld
8835         # block says, versions before 2.19.5* couldn't really create working
8836         # shared libraries, regardless of the interface used.
8837         case `$LD -v 2>&1` in
8838           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8839           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8840           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8841           *)
8842             lt_use_gnu_ld_interface=yes
8843             ;;
8844         esac
8845         ;;
8846       *)
8847         lt_use_gnu_ld_interface=yes
8848         ;;
8849     esac
8850   fi
8851
8852   if test "$lt_use_gnu_ld_interface" = yes; then
8853     # If archive_cmds runs LD, not CC, wlarc should be empty
8854     wlarc='${wl}'
8855
8856     # Set some defaults for GNU ld with shared library support. These
8857     # are reset later if shared libraries are not supported. Putting them
8858     # here allows them to be overridden if necessary.
8859     runpath_var=LD_RUN_PATH
8860     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8861     export_dynamic_flag_spec='${wl}--export-dynamic'
8862     # ancient GNU ld didn't support --whole-archive et. al.
8863     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8864       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8865     else
8866       whole_archive_flag_spec=
8867     fi
8868     supports_anon_versioning=no
8869     case `$LD -v 2>&1` in
8870       *GNU\ gold*) supports_anon_versioning=yes ;;
8871       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8872       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8873       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8874       *\ 2.11.*) ;; # other 2.11 versions
8875       *) supports_anon_versioning=yes ;;
8876     esac
8877
8878     # See if GNU ld supports shared libraries.
8879     case $host_os in
8880     aix[3-9]*)
8881       # On AIX/PPC, the GNU linker is very broken
8882       if test "$host_cpu" != ia64; then
8883         ld_shlibs=no
8884         cat <<_LT_EOF 1>&2
8885
8886 *** Warning: the GNU linker, at least up to release 2.19, is reported
8887 *** to be unable to reliably create shared libraries on AIX.
8888 *** Therefore, libtool is disabling shared libraries support.  If you
8889 *** really care for shared libraries, you may want to install binutils
8890 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8891 *** You will then need to restart the configuration process.
8892
8893 _LT_EOF
8894       fi
8895       ;;
8896
8897     amigaos*)
8898       case $host_cpu in
8899       powerpc)
8900             # see comment about AmigaOS4 .so support
8901             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8902             archive_expsym_cmds=''
8903         ;;
8904       m68k)
8905             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)'
8906             hardcode_libdir_flag_spec='-L$libdir'
8907             hardcode_minus_L=yes
8908         ;;
8909       esac
8910       ;;
8911
8912     beos*)
8913       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8914         allow_undefined_flag=unsupported
8915         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8916         # support --undefined.  This deserves some investigation.  FIXME
8917         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8918       else
8919         ld_shlibs=no
8920       fi
8921       ;;
8922
8923     cygwin* | mingw* | pw32* | cegcc*)
8924       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8925       # as there is no search path for DLLs.
8926       hardcode_libdir_flag_spec='-L$libdir'
8927       export_dynamic_flag_spec='${wl}--export-all-symbols'
8928       allow_undefined_flag=unsupported
8929       always_export_symbols=no
8930       enable_shared_with_static_runtimes=yes
8931       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'
8932       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8933
8934       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8935         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8936         # If the export-symbols file already is a .def file (1st line
8937         # is EXPORTS), use it as is; otherwise, prepend...
8938         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8939           cp $export_symbols $output_objdir/$soname.def;
8940         else
8941           echo EXPORTS > $output_objdir/$soname.def;
8942           cat $export_symbols >> $output_objdir/$soname.def;
8943         fi~
8944         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8945       else
8946         ld_shlibs=no
8947       fi
8948       ;;
8949
8950     haiku*)
8951       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8952       link_all_deplibs=yes
8953       ;;
8954
8955     interix[3-9]*)
8956       hardcode_direct=no
8957       hardcode_shlibpath_var=no
8958       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8959       export_dynamic_flag_spec='${wl}-E'
8960       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8961       # Instead, shared libraries are loaded at an image base (0x10000000 by
8962       # default) and relocated if they conflict, which is a slow very memory
8963       # consuming and fragmenting process.  To avoid this, we pick a random,
8964       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8965       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8966       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8967       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'
8968       ;;
8969
8970     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8971       tmp_diet=no
8972       if test "$host_os" = linux-dietlibc; then
8973         case $cc_basename in
8974           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8975         esac
8976       fi
8977       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8978          && test "$tmp_diet" = no
8979       then
8980         tmp_addflag=' $pic_flag'
8981         tmp_sharedflag='-shared'
8982         case $cc_basename,$host_cpu in
8983         pgcc*)                          # Portland Group C compiler
8984           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'
8985           tmp_addflag=' $pic_flag'
8986           ;;
8987         pgf77* | pgf90* | pgf95* | pgfortran*)
8988                                         # Portland Group f77 and f90 compilers
8989           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'
8990           tmp_addflag=' $pic_flag -Mnomain' ;;
8991         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8992           tmp_addflag=' -i_dynamic' ;;
8993         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8994           tmp_addflag=' -i_dynamic -nofor_main' ;;
8995         ifc* | ifort*)                  # Intel Fortran compiler
8996           tmp_addflag=' -nofor_main' ;;
8997         lf95*)                          # Lahey Fortran 8.1
8998           whole_archive_flag_spec=
8999           tmp_sharedflag='--shared' ;;
9000         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9001           tmp_sharedflag='-qmkshrobj'
9002           tmp_addflag= ;;
9003         nvcc*)  # Cuda Compiler Driver 2.2
9004           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'
9005           compiler_needs_object=yes
9006           ;;
9007         esac
9008         case `$CC -V 2>&1 | sed 5q` in
9009         *Sun\ C*)                       # Sun C 5.9
9010           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'
9011           compiler_needs_object=yes
9012           tmp_sharedflag='-G' ;;
9013         *Sun\ F*)                       # Sun Fortran 8.3
9014           tmp_sharedflag='-G' ;;
9015         esac
9016         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9017
9018         if test "x$supports_anon_versioning" = xyes; then
9019           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9020             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9021             echo "local: *; };" >> $output_objdir/$libname.ver~
9022             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9023         fi
9024
9025         case $cc_basename in
9026         xlf* | bgf* | bgxlf* | mpixlf*)
9027           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9028           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9029           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9030           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9031           if test "x$supports_anon_versioning" = xyes; then
9032             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9033               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9034               echo "local: *; };" >> $output_objdir/$libname.ver~
9035               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9036           fi
9037           ;;
9038         esac
9039       else
9040         ld_shlibs=no
9041       fi
9042       ;;
9043
9044     netbsd* | netbsdelf*-gnu)
9045       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9046         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9047         wlarc=
9048       else
9049         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9050         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9051       fi
9052       ;;
9053
9054     solaris*)
9055       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9056         ld_shlibs=no
9057         cat <<_LT_EOF 1>&2
9058
9059 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9060 *** create shared libraries on Solaris systems.  Therefore, libtool
9061 *** is disabling shared libraries support.  We urge you to upgrade GNU
9062 *** binutils to release 2.9.1 or newer.  Another option is to modify
9063 *** your PATH or compiler configuration so that the native linker is
9064 *** used, and then restart.
9065
9066 _LT_EOF
9067       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9068         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9069         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9070       else
9071         ld_shlibs=no
9072       fi
9073       ;;
9074
9075     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9076       case `$LD -v 2>&1` in
9077         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9078         ld_shlibs=no
9079         cat <<_LT_EOF 1>&2
9080
9081 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9082 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9083 *** is disabling shared libraries support.  We urge you to upgrade GNU
9084 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9085 *** your PATH or compiler configuration so that the native linker is
9086 *** used, and then restart.
9087
9088 _LT_EOF
9089         ;;
9090         *)
9091           # For security reasons, it is highly recommended that you always
9092           # use absolute paths for naming shared libraries, and exclude the
9093           # DT_RUNPATH tag from executables and libraries.  But doing so
9094           # requires that you compile everything twice, which is a pain.
9095           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9096             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9097             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9098             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9099           else
9100             ld_shlibs=no
9101           fi
9102         ;;
9103       esac
9104       ;;
9105
9106     sunos4*)
9107       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9108       wlarc=
9109       hardcode_direct=yes
9110       hardcode_shlibpath_var=no
9111       ;;
9112
9113     *)
9114       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9115         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9116         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9117       else
9118         ld_shlibs=no
9119       fi
9120       ;;
9121     esac
9122
9123     if test "$ld_shlibs" = no; then
9124       runpath_var=
9125       hardcode_libdir_flag_spec=
9126       export_dynamic_flag_spec=
9127       whole_archive_flag_spec=
9128     fi
9129   else
9130     # PORTME fill in a description of your system's linker (not GNU ld)
9131     case $host_os in
9132     aix3*)
9133       allow_undefined_flag=unsupported
9134       always_export_symbols=yes
9135       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'
9136       # Note: this linker hardcodes the directories in LIBPATH if there
9137       # are no directories specified by -L.
9138       hardcode_minus_L=yes
9139       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9140         # Neither direct hardcoding nor static linking is supported with a
9141         # broken collect2.
9142         hardcode_direct=unsupported
9143       fi
9144       ;;
9145
9146     aix[4-9]*)
9147       if test "$host_cpu" = ia64; then
9148         # On IA64, the linker does run time linking by default, so we don't
9149         # have to do anything special.
9150         aix_use_runtimelinking=no
9151         exp_sym_flag='-Bexport'
9152         no_entry_flag=""
9153       else
9154         # If we're using GNU nm, then we don't want the "-C" option.
9155         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9156         # Also, AIX nm treats weak defined symbols like other global
9157         # defined symbols, whereas GNU nm marks them as "W".
9158         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9159           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'
9160         else
9161           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'
9162         fi
9163         aix_use_runtimelinking=no
9164
9165         # Test if we are trying to use run time linking or normal
9166         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9167         # need to do runtime linking.
9168         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9169           for ld_flag in $LDFLAGS; do
9170           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9171             aix_use_runtimelinking=yes
9172             break
9173           fi
9174           done
9175           ;;
9176         esac
9177
9178         exp_sym_flag='-bexport'
9179         no_entry_flag='-bnoentry'
9180       fi
9181
9182       # When large executables or shared objects are built, AIX ld can
9183       # have problems creating the table of contents.  If linking a library
9184       # or program results in "error TOC overflow" add -mminimal-toc to
9185       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9186       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9187
9188       archive_cmds=''
9189       hardcode_direct=yes
9190       hardcode_direct_absolute=yes
9191       hardcode_libdir_separator=':'
9192       link_all_deplibs=yes
9193       file_list_spec='${wl}-f,'
9194
9195       if test "$GCC" = yes; then
9196         case $host_os in aix4.[012]|aix4.[012].*)
9197         # We only want to do this on AIX 4.2 and lower, the check
9198         # below for broken collect2 doesn't work under 4.3+
9199           collect2name=`${CC} -print-prog-name=collect2`
9200           if test -f "$collect2name" &&
9201            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9202           then
9203           # We have reworked collect2
9204           :
9205           else
9206           # We have old collect2
9207           hardcode_direct=unsupported
9208           # It fails to find uninstalled libraries when the uninstalled
9209           # path is not listed in the libpath.  Setting hardcode_minus_L
9210           # to unsupported forces relinking
9211           hardcode_minus_L=yes
9212           hardcode_libdir_flag_spec='-L$libdir'
9213           hardcode_libdir_separator=
9214           fi
9215           ;;
9216         esac
9217         shared_flag='-shared'
9218         if test "$aix_use_runtimelinking" = yes; then
9219           shared_flag="$shared_flag "'${wl}-G'
9220         fi
9221         link_all_deplibs=no
9222       else
9223         # not using gcc
9224         if test "$host_cpu" = ia64; then
9225         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9226         # chokes on -Wl,-G. The following line is correct:
9227           shared_flag='-G'
9228         else
9229           if test "$aix_use_runtimelinking" = yes; then
9230             shared_flag='${wl}-G'
9231           else
9232             shared_flag='${wl}-bM:SRE'
9233           fi
9234         fi
9235       fi
9236
9237       export_dynamic_flag_spec='${wl}-bexpall'
9238       # It seems that -bexpall does not export symbols beginning with
9239       # underscore (_), so it is better to generate a list of symbols to export.
9240       always_export_symbols=yes
9241       if test "$aix_use_runtimelinking" = yes; then
9242         # Warning - without using the other runtime loading flags (-brtl),
9243         # -berok will link without error, but may produce a broken library.
9244         allow_undefined_flag='-berok'
9245         # Determine the default libpath from the value encoded in an
9246         # empty executable.
9247         if test "${lt_cv_aix_libpath+set}" = set; then
9248   aix_libpath=$lt_cv_aix_libpath
9249 else
9250   if ${lt_cv_aix_libpath_+:} false; then :
9251   $as_echo_n "(cached) " >&6
9252 else
9253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h.  */
9255
9256 int
9257 main ()
9258 {
9259
9260   ;
9261   return 0;
9262 }
9263 _ACEOF
9264 if ac_fn_c_try_link "$LINENO"; then :
9265
9266   lt_aix_libpath_sed='
9267       /Import File Strings/,/^$/ {
9268           /^0/ {
9269               s/^0  *\([^ ]*\) *$/\1/
9270               p
9271           }
9272       }'
9273   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9274   # Check for a 64-bit object if we didn't find anything.
9275   if test -z "$lt_cv_aix_libpath_"; then
9276     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9277   fi
9278 fi
9279 rm -f core conftest.err conftest.$ac_objext \
9280     conftest$ac_exeext conftest.$ac_ext
9281   if test -z "$lt_cv_aix_libpath_"; then
9282     lt_cv_aix_libpath_="/usr/lib:/lib"
9283   fi
9284
9285 fi
9286
9287   aix_libpath=$lt_cv_aix_libpath_
9288 fi
9289
9290         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9291         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"
9292       else
9293         if test "$host_cpu" = ia64; then
9294           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9295           allow_undefined_flag="-z nodefs"
9296           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"
9297         else
9298          # Determine the default libpath from the value encoded in an
9299          # empty executable.
9300          if test "${lt_cv_aix_libpath+set}" = set; then
9301   aix_libpath=$lt_cv_aix_libpath
9302 else
9303   if ${lt_cv_aix_libpath_+:} false; then :
9304   $as_echo_n "(cached) " >&6
9305 else
9306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h.  */
9308
9309 int
9310 main ()
9311 {
9312
9313   ;
9314   return 0;
9315 }
9316 _ACEOF
9317 if ac_fn_c_try_link "$LINENO"; then :
9318
9319   lt_aix_libpath_sed='
9320       /Import File Strings/,/^$/ {
9321           /^0/ {
9322               s/^0  *\([^ ]*\) *$/\1/
9323               p
9324           }
9325       }'
9326   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9327   # Check for a 64-bit object if we didn't find anything.
9328   if test -z "$lt_cv_aix_libpath_"; then
9329     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9330   fi
9331 fi
9332 rm -f core conftest.err conftest.$ac_objext \
9333     conftest$ac_exeext conftest.$ac_ext
9334   if test -z "$lt_cv_aix_libpath_"; then
9335     lt_cv_aix_libpath_="/usr/lib:/lib"
9336   fi
9337
9338 fi
9339
9340   aix_libpath=$lt_cv_aix_libpath_
9341 fi
9342
9343          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9344           # Warning - without using the other run time loading flags,
9345           # -berok will link without error, but may produce a broken library.
9346           no_undefined_flag=' ${wl}-bernotok'
9347           allow_undefined_flag=' ${wl}-berok'
9348           if test "$with_gnu_ld" = yes; then
9349             # We only use this code for GNU lds that support --whole-archive.
9350             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9351           else
9352             # Exported symbols can be pulled into shared objects from archives
9353             whole_archive_flag_spec='$convenience'
9354           fi
9355           archive_cmds_need_lc=yes
9356           # This is similar to how AIX traditionally builds its shared libraries.
9357           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'
9358         fi
9359       fi
9360       ;;
9361
9362     amigaos*)
9363       case $host_cpu in
9364       powerpc)
9365             # see comment about AmigaOS4 .so support
9366             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9367             archive_expsym_cmds=''
9368         ;;
9369       m68k)
9370             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)'
9371             hardcode_libdir_flag_spec='-L$libdir'
9372             hardcode_minus_L=yes
9373         ;;
9374       esac
9375       ;;
9376
9377     bsdi[45]*)
9378       export_dynamic_flag_spec=-rdynamic
9379       ;;
9380
9381     cygwin* | mingw* | pw32* | cegcc*)
9382       # When not using gcc, we currently assume that we are using
9383       # Microsoft Visual C++.
9384       # hardcode_libdir_flag_spec is actually meaningless, as there is
9385       # no search path for DLLs.
9386       case $cc_basename in
9387       cl*)
9388         # Native MSVC
9389         hardcode_libdir_flag_spec=' '
9390         allow_undefined_flag=unsupported
9391         always_export_symbols=yes
9392         file_list_spec='@'
9393         # Tell ltmain to make .lib files, not .a files.
9394         libext=lib
9395         # Tell ltmain to make .dll files, not .so files.
9396         shrext_cmds=".dll"
9397         # FIXME: Setting linknames here is a bad hack.
9398         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9399         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9400             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9401           else
9402             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9403           fi~
9404           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9405           linknames='
9406         # The linker will not automatically build a static lib if we build a DLL.
9407         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9408         enable_shared_with_static_runtimes=yes
9409         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9410         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9411         # Don't use ranlib
9412         old_postinstall_cmds='chmod 644 $oldlib'
9413         postlink_cmds='lt_outputfile="@OUTPUT@"~
9414           lt_tool_outputfile="@TOOL_OUTPUT@"~
9415           case $lt_outputfile in
9416             *.exe|*.EXE) ;;
9417             *)
9418               lt_outputfile="$lt_outputfile.exe"
9419               lt_tool_outputfile="$lt_tool_outputfile.exe"
9420               ;;
9421           esac~
9422           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9423             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9424             $RM "$lt_outputfile.manifest";
9425           fi'
9426         ;;
9427       *)
9428         # Assume MSVC wrapper
9429         hardcode_libdir_flag_spec=' '
9430         allow_undefined_flag=unsupported
9431         # Tell ltmain to make .lib files, not .a files.
9432         libext=lib
9433         # Tell ltmain to make .dll files, not .so files.
9434         shrext_cmds=".dll"
9435         # FIXME: Setting linknames here is a bad hack.
9436         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9437         # The linker will automatically build a .lib file if we build a DLL.
9438         old_archive_from_new_cmds='true'
9439         # FIXME: Should let the user specify the lib program.
9440         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9441         enable_shared_with_static_runtimes=yes
9442         ;;
9443       esac
9444       ;;
9445
9446     darwin* | rhapsody*)
9447
9448
9449   archive_cmds_need_lc=no
9450   hardcode_direct=no
9451   hardcode_automatic=yes
9452   hardcode_shlibpath_var=unsupported
9453   if test "$lt_cv_ld_force_load" = "yes"; then
9454     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\"`'
9455
9456   else
9457     whole_archive_flag_spec=''
9458   fi
9459   link_all_deplibs=yes
9460   allow_undefined_flag="$_lt_dar_allow_undefined"
9461   case $cc_basename in
9462      ifort*) _lt_dar_can_shared=yes ;;
9463      *) _lt_dar_can_shared=$GCC ;;
9464   esac
9465   if test "$_lt_dar_can_shared" = "yes"; then
9466     output_verbose_link_cmd=func_echo_all
9467     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9468     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9469     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}"
9470     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}"
9471
9472   else
9473   ld_shlibs=no
9474   fi
9475
9476       ;;
9477
9478     dgux*)
9479       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9480       hardcode_libdir_flag_spec='-L$libdir'
9481       hardcode_shlibpath_var=no
9482       ;;
9483
9484     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9485     # support.  Future versions do this automatically, but an explicit c++rt0.o
9486     # does not break anything, and helps significantly (at the cost of a little
9487     # extra space).
9488     freebsd2.2*)
9489       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9490       hardcode_libdir_flag_spec='-R$libdir'
9491       hardcode_direct=yes
9492       hardcode_shlibpath_var=no
9493       ;;
9494
9495     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9496     freebsd2.*)
9497       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9498       hardcode_direct=yes
9499       hardcode_minus_L=yes
9500       hardcode_shlibpath_var=no
9501       ;;
9502
9503     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9504     freebsd* | dragonfly*)
9505       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9506       hardcode_libdir_flag_spec='-R$libdir'
9507       hardcode_direct=yes
9508       hardcode_shlibpath_var=no
9509       ;;
9510
9511     hpux9*)
9512       if test "$GCC" = yes; then
9513         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'
9514       else
9515         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'
9516       fi
9517       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9518       hardcode_libdir_separator=:
9519       hardcode_direct=yes
9520
9521       # hardcode_minus_L: Not really in the search PATH,
9522       # but as the default location of the library.
9523       hardcode_minus_L=yes
9524       export_dynamic_flag_spec='${wl}-E'
9525       ;;
9526
9527     hpux10*)
9528       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9529         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9530       else
9531         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9532       fi
9533       if test "$with_gnu_ld" = no; then
9534         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9535         hardcode_libdir_separator=:
9536         hardcode_direct=yes
9537         hardcode_direct_absolute=yes
9538         export_dynamic_flag_spec='${wl}-E'
9539         # hardcode_minus_L: Not really in the search PATH,
9540         # but as the default location of the library.
9541         hardcode_minus_L=yes
9542       fi
9543       ;;
9544
9545     hpux11*)
9546       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9547         case $host_cpu in
9548         hppa*64*)
9549           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9550           ;;
9551         ia64*)
9552           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9553           ;;
9554         *)
9555           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9556           ;;
9557         esac
9558       else
9559         case $host_cpu in
9560         hppa*64*)
9561           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9562           ;;
9563         ia64*)
9564           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9565           ;;
9566         *)
9567
9568           # Older versions of the 11.00 compiler do not understand -b yet
9569           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9570           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9571 $as_echo_n "checking if $CC understands -b... " >&6; }
9572 if ${lt_cv_prog_compiler__b+:} false; then :
9573   $as_echo_n "(cached) " >&6
9574 else
9575   lt_cv_prog_compiler__b=no
9576    save_LDFLAGS="$LDFLAGS"
9577    LDFLAGS="$LDFLAGS -b"
9578    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9579    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9580      # The linker can only warn and ignore the option if not recognized
9581      # So say no if there are warnings
9582      if test -s conftest.err; then
9583        # Append any errors to the config.log.
9584        cat conftest.err 1>&5
9585        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9586        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9587        if diff conftest.exp conftest.er2 >/dev/null; then
9588          lt_cv_prog_compiler__b=yes
9589        fi
9590      else
9591        lt_cv_prog_compiler__b=yes
9592      fi
9593    fi
9594    $RM -r conftest*
9595    LDFLAGS="$save_LDFLAGS"
9596
9597 fi
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9599 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9600
9601 if test x"$lt_cv_prog_compiler__b" = xyes; then
9602     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9603 else
9604     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9605 fi
9606
9607           ;;
9608         esac
9609       fi
9610       if test "$with_gnu_ld" = no; then
9611         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9612         hardcode_libdir_separator=:
9613
9614         case $host_cpu in
9615         hppa*64*|ia64*)
9616           hardcode_direct=no
9617           hardcode_shlibpath_var=no
9618           ;;
9619         *)
9620           hardcode_direct=yes
9621           hardcode_direct_absolute=yes
9622           export_dynamic_flag_spec='${wl}-E'
9623
9624           # hardcode_minus_L: Not really in the search PATH,
9625           # but as the default location of the library.
9626           hardcode_minus_L=yes
9627           ;;
9628         esac
9629       fi
9630       ;;
9631
9632     irix5* | irix6* | nonstopux*)
9633       if test "$GCC" = yes; then
9634         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'
9635         # Try to use the -exported_symbol ld option, if it does not
9636         # work, assume that -exports_file does not work either and
9637         # implicitly export all symbols.
9638         # This should be the same for all languages, so no per-tag cache variable.
9639         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9640 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9641 if ${lt_cv_irix_exported_symbol+:} false; then :
9642   $as_echo_n "(cached) " >&6
9643 else
9644   save_LDFLAGS="$LDFLAGS"
9645            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9646            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9647 /* end confdefs.h.  */
9648 int foo (void) { return 0; }
9649 _ACEOF
9650 if ac_fn_c_try_link "$LINENO"; then :
9651   lt_cv_irix_exported_symbol=yes
9652 else
9653   lt_cv_irix_exported_symbol=no
9654 fi
9655 rm -f core conftest.err conftest.$ac_objext \
9656     conftest$ac_exeext conftest.$ac_ext
9657            LDFLAGS="$save_LDFLAGS"
9658 fi
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9660 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9661         if test "$lt_cv_irix_exported_symbol" = yes; then
9662           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'
9663         fi
9664       else
9665         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'
9666         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'
9667       fi
9668       archive_cmds_need_lc='no'
9669       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9670       hardcode_libdir_separator=:
9671       inherit_rpath=yes
9672       link_all_deplibs=yes
9673       ;;
9674
9675     netbsd* | netbsdelf*-gnu)
9676       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9677         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9678       else
9679         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9680       fi
9681       hardcode_libdir_flag_spec='-R$libdir'
9682       hardcode_direct=yes
9683       hardcode_shlibpath_var=no
9684       ;;
9685
9686     newsos6)
9687       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9688       hardcode_direct=yes
9689       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9690       hardcode_libdir_separator=:
9691       hardcode_shlibpath_var=no
9692       ;;
9693
9694     *nto* | *qnx*)
9695       ;;
9696
9697     openbsd*)
9698       if test -f /usr/libexec/ld.so; then
9699         hardcode_direct=yes
9700         hardcode_shlibpath_var=no
9701         hardcode_direct_absolute=yes
9702         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9703           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9704           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9705           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9706           export_dynamic_flag_spec='${wl}-E'
9707         else
9708           case $host_os in
9709            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9710              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9711              hardcode_libdir_flag_spec='-R$libdir'
9712              ;;
9713            *)
9714              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9715              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9716              ;;
9717           esac
9718         fi
9719       else
9720         ld_shlibs=no
9721       fi
9722       ;;
9723
9724     os2*)
9725       hardcode_libdir_flag_spec='-L$libdir'
9726       hardcode_minus_L=yes
9727       allow_undefined_flag=unsupported
9728       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'
9729       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9730       ;;
9731
9732     osf3*)
9733       if test "$GCC" = yes; then
9734         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9735         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'
9736       else
9737         allow_undefined_flag=' -expect_unresolved \*'
9738         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'
9739       fi
9740       archive_cmds_need_lc='no'
9741       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9742       hardcode_libdir_separator=:
9743       ;;
9744
9745     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9746       if test "$GCC" = yes; then
9747         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9748         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'
9749         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9750       else
9751         allow_undefined_flag=' -expect_unresolved \*'
9752         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'
9753         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~
9754         $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'
9755
9756         # Both c and cxx compiler support -rpath directly
9757         hardcode_libdir_flag_spec='-rpath $libdir'
9758       fi
9759       archive_cmds_need_lc='no'
9760       hardcode_libdir_separator=:
9761       ;;
9762
9763     solaris*)
9764       no_undefined_flag=' -z defs'
9765       if test "$GCC" = yes; then
9766         wlarc='${wl}'
9767         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9768         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9769           $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'
9770       else
9771         case `$CC -V 2>&1` in
9772         *"Compilers 5.0"*)
9773           wlarc=''
9774           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9775           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9776           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9777           ;;
9778         *)
9779           wlarc='${wl}'
9780           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9781           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9782           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9783           ;;
9784         esac
9785       fi
9786       hardcode_libdir_flag_spec='-R$libdir'
9787       hardcode_shlibpath_var=no
9788       case $host_os in
9789       solaris2.[0-5] | solaris2.[0-5].*) ;;
9790       *)
9791         # The compiler driver will combine and reorder linker options,
9792         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9793         # but is careful enough not to reorder.
9794         # Supported since Solaris 2.6 (maybe 2.5.1?)
9795         if test "$GCC" = yes; then
9796           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9797         else
9798           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9799         fi
9800         ;;
9801       esac
9802       link_all_deplibs=yes
9803       ;;
9804
9805     sunos4*)
9806       if test "x$host_vendor" = xsequent; then
9807         # Use $CC to link under sequent, because it throws in some extra .o
9808         # files that make .init and .fini sections work.
9809         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9810       else
9811         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9812       fi
9813       hardcode_libdir_flag_spec='-L$libdir'
9814       hardcode_direct=yes
9815       hardcode_minus_L=yes
9816       hardcode_shlibpath_var=no
9817       ;;
9818
9819     sysv4)
9820       case $host_vendor in
9821         sni)
9822           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9823           hardcode_direct=yes # is this really true???
9824         ;;
9825         siemens)
9826           ## LD is ld it makes a PLAMLIB
9827           ## CC just makes a GrossModule.
9828           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9829           reload_cmds='$CC -r -o $output$reload_objs'
9830           hardcode_direct=no
9831         ;;
9832         motorola)
9833           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9834           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9835         ;;
9836       esac
9837       runpath_var='LD_RUN_PATH'
9838       hardcode_shlibpath_var=no
9839       ;;
9840
9841     sysv4.3*)
9842       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843       hardcode_shlibpath_var=no
9844       export_dynamic_flag_spec='-Bexport'
9845       ;;
9846
9847     sysv4*MP*)
9848       if test -d /usr/nec; then
9849         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850         hardcode_shlibpath_var=no
9851         runpath_var=LD_RUN_PATH
9852         hardcode_runpath_var=yes
9853         ld_shlibs=yes
9854       fi
9855       ;;
9856
9857     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9858       no_undefined_flag='${wl}-z,text'
9859       archive_cmds_need_lc=no
9860       hardcode_shlibpath_var=no
9861       runpath_var='LD_RUN_PATH'
9862
9863       if test "$GCC" = yes; then
9864         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9865         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9866       else
9867         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9869       fi
9870       ;;
9871
9872     sysv5* | sco3.2v5* | sco5v6*)
9873       # Note: We can NOT use -z defs as we might desire, because we do not
9874       # link with -lc, and that would cause any symbols used from libc to
9875       # always be unresolved, which means just about no library would
9876       # ever link correctly.  If we're not using GNU ld we use -z text
9877       # though, which does catch some bad symbols but isn't as heavy-handed
9878       # as -z defs.
9879       no_undefined_flag='${wl}-z,text'
9880       allow_undefined_flag='${wl}-z,nodefs'
9881       archive_cmds_need_lc=no
9882       hardcode_shlibpath_var=no
9883       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9884       hardcode_libdir_separator=':'
9885       link_all_deplibs=yes
9886       export_dynamic_flag_spec='${wl}-Bexport'
9887       runpath_var='LD_RUN_PATH'
9888
9889       if test "$GCC" = yes; then
9890         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9891         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9892       else
9893         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9894         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9895       fi
9896       ;;
9897
9898     uts4*)
9899       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9900       hardcode_libdir_flag_spec='-L$libdir'
9901       hardcode_shlibpath_var=no
9902       ;;
9903
9904     *)
9905       ld_shlibs=no
9906       ;;
9907     esac
9908
9909     if test x$host_vendor = xsni; then
9910       case $host in
9911       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9912         export_dynamic_flag_spec='${wl}-Blargedynsym'
9913         ;;
9914       esac
9915     fi
9916   fi
9917
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9919 $as_echo "$ld_shlibs" >&6; }
9920 test "$ld_shlibs" = no && can_build_shared=no
9921
9922 with_gnu_ld=$with_gnu_ld
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938 #
9939 # Do we need to explicitly link libc?
9940 #
9941 case "x$archive_cmds_need_lc" in
9942 x|xyes)
9943   # Assume -lc should be added
9944   archive_cmds_need_lc=yes
9945
9946   if test "$enable_shared" = yes && test "$GCC" = yes; then
9947     case $archive_cmds in
9948     *'~'*)
9949       # FIXME: we may have to deal with multi-command sequences.
9950       ;;
9951     '$CC '*)
9952       # Test whether the compiler implicitly links with -lc since on some
9953       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9954       # to ld, don't add -lc before -lgcc.
9955       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9956 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9957 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9958   $as_echo_n "(cached) " >&6
9959 else
9960   $RM conftest*
9961         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9962
9963         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9964   (eval $ac_compile) 2>&5
9965   ac_status=$?
9966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9967   test $ac_status = 0; } 2>conftest.err; then
9968           soname=conftest
9969           lib=conftest
9970           libobjs=conftest.$ac_objext
9971           deplibs=
9972           wl=$lt_prog_compiler_wl
9973           pic_flag=$lt_prog_compiler_pic
9974           compiler_flags=-v
9975           linker_flags=-v
9976           verstring=
9977           output_objdir=.
9978           libname=conftest
9979           lt_save_allow_undefined_flag=$allow_undefined_flag
9980           allow_undefined_flag=
9981           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9982   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9983   ac_status=$?
9984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9985   test $ac_status = 0; }
9986           then
9987             lt_cv_archive_cmds_need_lc=no
9988           else
9989             lt_cv_archive_cmds_need_lc=yes
9990           fi
9991           allow_undefined_flag=$lt_save_allow_undefined_flag
9992         else
9993           cat conftest.err 1>&5
9994         fi
9995         $RM conftest*
9996
9997 fi
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9999 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10000       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10001       ;;
10002     esac
10003   fi
10004   ;;
10005 esac
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
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10159 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10160
10161 if test "$GCC" = yes; then
10162   case $host_os in
10163     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10164     *) lt_awk_arg="/^libraries:/" ;;
10165   esac
10166   case $host_os in
10167     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10168     *) lt_sed_strip_eq="s,=/,/,g" ;;
10169   esac
10170   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10171   case $lt_search_path_spec in
10172   *\;*)
10173     # if the path contains ";" then we assume it to be the separator
10174     # otherwise default to the standard path separator (i.e. ":") - it is
10175     # assumed that no part of a normal pathname contains ";" but that should
10176     # okay in the real world where ";" in dirpaths is itself problematic.
10177     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10178     ;;
10179   *)
10180     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10181     ;;
10182   esac
10183   # Ok, now we have the path, separated by spaces, we can step through it
10184   # and add multilib dir if necessary.
10185   lt_tmp_lt_search_path_spec=
10186   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10187   for lt_sys_path in $lt_search_path_spec; do
10188     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10189       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10190     else
10191       test -d "$lt_sys_path" && \
10192         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10193     fi
10194   done
10195   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10196 BEGIN {RS=" "; FS="/|\n";} {
10197   lt_foo="";
10198   lt_count=0;
10199   for (lt_i = NF; lt_i > 0; lt_i--) {
10200     if ($lt_i != "" && $lt_i != ".") {
10201       if ($lt_i == "..") {
10202         lt_count++;
10203       } else {
10204         if (lt_count == 0) {
10205           lt_foo="/" $lt_i lt_foo;
10206         } else {
10207           lt_count--;
10208         }
10209       }
10210     }
10211   }
10212   if (lt_foo != "") { lt_freq[lt_foo]++; }
10213   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10214 }'`
10215   # AWK program above erroneously prepends '/' to C:/dos/paths
10216   # for these hosts.
10217   case $host_os in
10218     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10219       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10220   esac
10221   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10222 else
10223   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10224 fi
10225 library_names_spec=
10226 libname_spec='lib$name'
10227 soname_spec=
10228 shrext_cmds=".so"
10229 postinstall_cmds=
10230 postuninstall_cmds=
10231 finish_cmds=
10232 finish_eval=
10233 shlibpath_var=
10234 shlibpath_overrides_runpath=unknown
10235 version_type=none
10236 dynamic_linker="$host_os ld.so"
10237 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10238 need_lib_prefix=unknown
10239 hardcode_into_libs=no
10240
10241 # when you set need_version to no, make sure it does not cause -set_version
10242 # flags to be left without arguments
10243 need_version=unknown
10244
10245 case $host_os in
10246 aix3*)
10247   version_type=linux # correct to gnu/linux during the next big refactor
10248   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10249   shlibpath_var=LIBPATH
10250
10251   # AIX 3 has no versioning support, so we append a major version to the name.
10252   soname_spec='${libname}${release}${shared_ext}$major'
10253   ;;
10254
10255 aix[4-9]*)
10256   version_type=linux # correct to gnu/linux during the next big refactor
10257   need_lib_prefix=no
10258   need_version=no
10259   hardcode_into_libs=yes
10260   if test "$host_cpu" = ia64; then
10261     # AIX 5 supports IA64
10262     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10263     shlibpath_var=LD_LIBRARY_PATH
10264   else
10265     # With GCC up to 2.95.x, collect2 would create an import file
10266     # for dependence libraries.  The import file would start with
10267     # the line `#! .'.  This would cause the generated library to
10268     # depend on `.', always an invalid library.  This was fixed in
10269     # development snapshots of GCC prior to 3.0.
10270     case $host_os in
10271       aix4 | aix4.[01] | aix4.[01].*)
10272       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10273            echo ' yes '
10274            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10275         :
10276       else
10277         can_build_shared=no
10278       fi
10279       ;;
10280     esac
10281     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10282     # soname into executable. Probably we can add versioning support to
10283     # collect2, so additional links can be useful in future.
10284     if test "$aix_use_runtimelinking" = yes; then
10285       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10286       # instead of lib<name>.a to let people know that these are not
10287       # typical AIX shared libraries.
10288       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10289     else
10290       # We preserve .a as extension for shared libraries through AIX4.2
10291       # and later when we are not doing run time linking.
10292       library_names_spec='${libname}${release}.a $libname.a'
10293       soname_spec='${libname}${release}${shared_ext}$major'
10294     fi
10295     shlibpath_var=LIBPATH
10296   fi
10297   ;;
10298
10299 amigaos*)
10300   case $host_cpu in
10301   powerpc)
10302     # Since July 2007 AmigaOS4 officially supports .so libraries.
10303     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10304     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305     ;;
10306   m68k)
10307     library_names_spec='$libname.ixlibrary $libname.a'
10308     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10309     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'
10310     ;;
10311   esac
10312   ;;
10313
10314 beos*)
10315   library_names_spec='${libname}${shared_ext}'
10316   dynamic_linker="$host_os ld.so"
10317   shlibpath_var=LIBRARY_PATH
10318   ;;
10319
10320 bsdi[45]*)
10321   version_type=linux # correct to gnu/linux during the next big refactor
10322   need_version=no
10323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10324   soname_spec='${libname}${release}${shared_ext}$major'
10325   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10326   shlibpath_var=LD_LIBRARY_PATH
10327   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10328   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10329   # the default ld.so.conf also contains /usr/contrib/lib and
10330   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10331   # libtool to hard-code these into programs
10332   ;;
10333
10334 cygwin* | mingw* | pw32* | cegcc*)
10335   version_type=windows
10336   shrext_cmds=".dll"
10337   need_version=no
10338   need_lib_prefix=no
10339
10340   case $GCC,$cc_basename in
10341   yes,*)
10342     # gcc
10343     library_names_spec='$libname.dll.a'
10344     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10345     postinstall_cmds='base_file=`basename \${file}`~
10346       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10347       dldir=$destdir/`dirname \$dlpath`~
10348       test -d \$dldir || mkdir -p \$dldir~
10349       $install_prog $dir/$dlname \$dldir/$dlname~
10350       chmod a+x \$dldir/$dlname~
10351       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10352         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10353       fi'
10354     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10355       dlpath=$dir/\$dldll~
10356        $RM \$dlpath'
10357     shlibpath_overrides_runpath=yes
10358
10359     case $host_os in
10360     cygwin*)
10361       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10362       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10363
10364       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10365       ;;
10366     mingw* | cegcc*)
10367       # MinGW DLLs use traditional 'lib' prefix
10368       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10369       ;;
10370     pw32*)
10371       # pw32 DLLs use 'pw' prefix rather than 'lib'
10372       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10373       ;;
10374     esac
10375     dynamic_linker='Win32 ld.exe'
10376     ;;
10377
10378   *,cl*)
10379     # Native MSVC
10380     libname_spec='$name'
10381     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10382     library_names_spec='${libname}.dll.lib'
10383
10384     case $build_os in
10385     mingw*)
10386       sys_lib_search_path_spec=
10387       lt_save_ifs=$IFS
10388       IFS=';'
10389       for lt_path in $LIB
10390       do
10391         IFS=$lt_save_ifs
10392         # Let DOS variable expansion print the short 8.3 style file name.
10393         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10394         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10395       done
10396       IFS=$lt_save_ifs
10397       # Convert to MSYS style.
10398       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10399       ;;
10400     cygwin*)
10401       # Convert to unix form, then to dos form, then back to unix form
10402       # but this time dos style (no spaces!) so that the unix form looks
10403       # like /cygdrive/c/PROGRA~1:/cygdr...
10404       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10405       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10406       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10407       ;;
10408     *)
10409       sys_lib_search_path_spec="$LIB"
10410       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10411         # It is most probably a Windows format PATH.
10412         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10413       else
10414         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10415       fi
10416       # FIXME: find the short name or the path components, as spaces are
10417       # common. (e.g. "Program Files" -> "PROGRA~1")
10418       ;;
10419     esac
10420
10421     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10422     postinstall_cmds='base_file=`basename \${file}`~
10423       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10424       dldir=$destdir/`dirname \$dlpath`~
10425       test -d \$dldir || mkdir -p \$dldir~
10426       $install_prog $dir/$dlname \$dldir/$dlname'
10427     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10428       dlpath=$dir/\$dldll~
10429        $RM \$dlpath'
10430     shlibpath_overrides_runpath=yes
10431     dynamic_linker='Win32 link.exe'
10432     ;;
10433
10434   *)
10435     # Assume MSVC wrapper
10436     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10437     dynamic_linker='Win32 ld.exe'
10438     ;;
10439   esac
10440   # FIXME: first we should search . and the directory the executable is in
10441   shlibpath_var=PATH
10442   ;;
10443
10444 darwin* | rhapsody*)
10445   dynamic_linker="$host_os dyld"
10446   version_type=darwin
10447   need_lib_prefix=no
10448   need_version=no
10449   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10450   soname_spec='${libname}${release}${major}$shared_ext'
10451   shlibpath_overrides_runpath=yes
10452   shlibpath_var=DYLD_LIBRARY_PATH
10453   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10454
10455   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10456   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10457   ;;
10458
10459 dgux*)
10460   version_type=linux # correct to gnu/linux during the next big refactor
10461   need_lib_prefix=no
10462   need_version=no
10463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10464   soname_spec='${libname}${release}${shared_ext}$major'
10465   shlibpath_var=LD_LIBRARY_PATH
10466   ;;
10467
10468 freebsd* | dragonfly*)
10469   # DragonFly does not have aout.  When/if they implement a new
10470   # versioning mechanism, adjust this.
10471   if test -x /usr/bin/objformat; then
10472     objformat=`/usr/bin/objformat`
10473   else
10474     case $host_os in
10475     freebsd[23].*) objformat=aout ;;
10476     *) objformat=elf ;;
10477     esac
10478   fi
10479   version_type=freebsd-$objformat
10480   case $version_type in
10481     freebsd-elf*)
10482       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10483       need_version=no
10484       need_lib_prefix=no
10485       ;;
10486     freebsd-*)
10487       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10488       need_version=yes
10489       ;;
10490   esac
10491   shlibpath_var=LD_LIBRARY_PATH
10492   case $host_os in
10493   freebsd2.*)
10494     shlibpath_overrides_runpath=yes
10495     ;;
10496   freebsd3.[01]* | freebsdelf3.[01]*)
10497     shlibpath_overrides_runpath=yes
10498     hardcode_into_libs=yes
10499     ;;
10500   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10501   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10502     shlibpath_overrides_runpath=no
10503     hardcode_into_libs=yes
10504     ;;
10505   *) # from 4.6 on, and DragonFly
10506     shlibpath_overrides_runpath=yes
10507     hardcode_into_libs=yes
10508     ;;
10509   esac
10510   ;;
10511
10512 gnu*)
10513   version_type=linux # correct to gnu/linux during the next big refactor
10514   need_lib_prefix=no
10515   need_version=no
10516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10517   soname_spec='${libname}${release}${shared_ext}$major'
10518   shlibpath_var=LD_LIBRARY_PATH
10519   shlibpath_overrides_runpath=no
10520   hardcode_into_libs=yes
10521   ;;
10522
10523 haiku*)
10524   version_type=linux # correct to gnu/linux during the next big refactor
10525   need_lib_prefix=no
10526   need_version=no
10527   dynamic_linker="$host_os runtime_loader"
10528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10529   soname_spec='${libname}${release}${shared_ext}$major'
10530   shlibpath_var=LIBRARY_PATH
10531   shlibpath_overrides_runpath=yes
10532   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10533   hardcode_into_libs=yes
10534   ;;
10535
10536 hpux9* | hpux10* | hpux11*)
10537   # Give a soname corresponding to the major version so that dld.sl refuses to
10538   # link against other versions.
10539   version_type=sunos
10540   need_lib_prefix=no
10541   need_version=no
10542   case $host_cpu in
10543   ia64*)
10544     shrext_cmds='.so'
10545     hardcode_into_libs=yes
10546     dynamic_linker="$host_os dld.so"
10547     shlibpath_var=LD_LIBRARY_PATH
10548     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10549     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10550     soname_spec='${libname}${release}${shared_ext}$major'
10551     if test "X$HPUX_IA64_MODE" = X32; then
10552       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10553     else
10554       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10555     fi
10556     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10557     ;;
10558   hppa*64*)
10559     shrext_cmds='.sl'
10560     hardcode_into_libs=yes
10561     dynamic_linker="$host_os dld.sl"
10562     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10563     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10564     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565     soname_spec='${libname}${release}${shared_ext}$major'
10566     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10567     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10568     ;;
10569   *)
10570     shrext_cmds='.sl'
10571     dynamic_linker="$host_os dld.sl"
10572     shlibpath_var=SHLIB_PATH
10573     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10574     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575     soname_spec='${libname}${release}${shared_ext}$major'
10576     ;;
10577   esac
10578   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10579   postinstall_cmds='chmod 555 $lib'
10580   # or fails outright, so override atomically:
10581   install_override_mode=555
10582   ;;
10583
10584 interix[3-9]*)
10585   version_type=linux # correct to gnu/linux during the next big refactor
10586   need_lib_prefix=no
10587   need_version=no
10588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10589   soname_spec='${libname}${release}${shared_ext}$major'
10590   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10591   shlibpath_var=LD_LIBRARY_PATH
10592   shlibpath_overrides_runpath=no
10593   hardcode_into_libs=yes
10594   ;;
10595
10596 irix5* | irix6* | nonstopux*)
10597   case $host_os in
10598     nonstopux*) version_type=nonstopux ;;
10599     *)
10600         if test "$lt_cv_prog_gnu_ld" = yes; then
10601                 version_type=linux # correct to gnu/linux during the next big refactor
10602         else
10603                 version_type=irix
10604         fi ;;
10605   esac
10606   need_lib_prefix=no
10607   need_version=no
10608   soname_spec='${libname}${release}${shared_ext}$major'
10609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10610   case $host_os in
10611   irix5* | nonstopux*)
10612     libsuff= shlibsuff=
10613     ;;
10614   *)
10615     case $LD in # libtool.m4 will add one of these switches to LD
10616     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10617       libsuff= shlibsuff= libmagic=32-bit;;
10618     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10619       libsuff=32 shlibsuff=N32 libmagic=N32;;
10620     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10621       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10622     *) libsuff= shlibsuff= libmagic=never-match;;
10623     esac
10624     ;;
10625   esac
10626   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10627   shlibpath_overrides_runpath=no
10628   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10629   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10630   hardcode_into_libs=yes
10631   ;;
10632
10633 # No shared lib support for Linux oldld, aout, or coff.
10634 linux*oldld* | linux*aout* | linux*coff*)
10635   dynamic_linker=no
10636   ;;
10637
10638 # This must be glibc/ELF.
10639 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10640   version_type=linux # correct to gnu/linux during the next big refactor
10641   need_lib_prefix=no
10642   need_version=no
10643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10644   soname_spec='${libname}${release}${shared_ext}$major'
10645   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10646   shlibpath_var=LD_LIBRARY_PATH
10647   shlibpath_overrides_runpath=no
10648
10649   # Some binutils ld are patched to set DT_RUNPATH
10650   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10651   $as_echo_n "(cached) " >&6
10652 else
10653   lt_cv_shlibpath_overrides_runpath=no
10654     save_LDFLAGS=$LDFLAGS
10655     save_libdir=$libdir
10656     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10657          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10658     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h.  */
10660
10661 int
10662 main ()
10663 {
10664
10665   ;
10666   return 0;
10667 }
10668 _ACEOF
10669 if ac_fn_c_try_link "$LINENO"; then :
10670   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10671   lt_cv_shlibpath_overrides_runpath=yes
10672 fi
10673 fi
10674 rm -f core conftest.err conftest.$ac_objext \
10675     conftest$ac_exeext conftest.$ac_ext
10676     LDFLAGS=$save_LDFLAGS
10677     libdir=$save_libdir
10678
10679 fi
10680
10681   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10682
10683   # This implies no fast_install, which is unacceptable.
10684   # Some rework will be needed to allow for fast_install
10685   # before this can be enabled.
10686   hardcode_into_libs=yes
10687
10688   # Append ld.so.conf contents to the search path
10689   if test -f /etc/ld.so.conf; then
10690     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' ' '`
10691     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10692   fi
10693
10694   # We used to test for /lib/ld.so.1 and disable shared libraries on
10695   # powerpc, because MkLinux only supported shared libraries with the
10696   # GNU dynamic linker.  Since this was broken with cross compilers,
10697   # most powerpc-linux boxes support dynamic linking these days and
10698   # people can always --disable-shared, the test was removed, and we
10699   # assume the GNU/Linux dynamic linker is in use.
10700   dynamic_linker='GNU/Linux ld.so'
10701   ;;
10702
10703 netbsdelf*-gnu)
10704   version_type=linux
10705   need_lib_prefix=no
10706   need_version=no
10707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10708   soname_spec='${libname}${release}${shared_ext}$major'
10709   shlibpath_var=LD_LIBRARY_PATH
10710   shlibpath_overrides_runpath=no
10711   hardcode_into_libs=yes
10712   dynamic_linker='NetBSD ld.elf_so'
10713   ;;
10714
10715 netbsd*)
10716   version_type=sunos
10717   need_lib_prefix=no
10718   need_version=no
10719   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10720     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10721     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10722     dynamic_linker='NetBSD (a.out) ld.so'
10723   else
10724     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10725     soname_spec='${libname}${release}${shared_ext}$major'
10726     dynamic_linker='NetBSD ld.elf_so'
10727   fi
10728   shlibpath_var=LD_LIBRARY_PATH
10729   shlibpath_overrides_runpath=yes
10730   hardcode_into_libs=yes
10731   ;;
10732
10733 newsos6)
10734   version_type=linux # correct to gnu/linux during the next big refactor
10735   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736   shlibpath_var=LD_LIBRARY_PATH
10737   shlibpath_overrides_runpath=yes
10738   ;;
10739
10740 *nto* | *qnx*)
10741   version_type=qnx
10742   need_lib_prefix=no
10743   need_version=no
10744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745   soname_spec='${libname}${release}${shared_ext}$major'
10746   shlibpath_var=LD_LIBRARY_PATH
10747   shlibpath_overrides_runpath=no
10748   hardcode_into_libs=yes
10749   dynamic_linker='ldqnx.so'
10750   ;;
10751
10752 openbsd*)
10753   version_type=sunos
10754   sys_lib_dlsearch_path_spec="/usr/lib"
10755   need_lib_prefix=no
10756   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10757   case $host_os in
10758     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10759     *)                          need_version=no  ;;
10760   esac
10761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10762   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10763   shlibpath_var=LD_LIBRARY_PATH
10764   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10765     case $host_os in
10766       openbsd2.[89] | openbsd2.[89].*)
10767         shlibpath_overrides_runpath=no
10768         ;;
10769       *)
10770         shlibpath_overrides_runpath=yes
10771         ;;
10772       esac
10773   else
10774     shlibpath_overrides_runpath=yes
10775   fi
10776   ;;
10777
10778 os2*)
10779   libname_spec='$name'
10780   shrext_cmds=".dll"
10781   need_lib_prefix=no
10782   library_names_spec='$libname${shared_ext} $libname.a'
10783   dynamic_linker='OS/2 ld.exe'
10784   shlibpath_var=LIBPATH
10785   ;;
10786
10787 osf3* | osf4* | osf5*)
10788   version_type=osf
10789   need_lib_prefix=no
10790   need_version=no
10791   soname_spec='${libname}${release}${shared_ext}$major'
10792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10793   shlibpath_var=LD_LIBRARY_PATH
10794   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10795   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10796   ;;
10797
10798 rdos*)
10799   dynamic_linker=no
10800   ;;
10801
10802 solaris*)
10803   version_type=linux # correct to gnu/linux during the next big refactor
10804   need_lib_prefix=no
10805   need_version=no
10806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10807   soname_spec='${libname}${release}${shared_ext}$major'
10808   shlibpath_var=LD_LIBRARY_PATH
10809   shlibpath_overrides_runpath=yes
10810   hardcode_into_libs=yes
10811   # ldd complains unless libraries are executable
10812   postinstall_cmds='chmod +x $lib'
10813   ;;
10814
10815 sunos4*)
10816   version_type=sunos
10817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10818   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10819   shlibpath_var=LD_LIBRARY_PATH
10820   shlibpath_overrides_runpath=yes
10821   if test "$with_gnu_ld" = yes; then
10822     need_lib_prefix=no
10823   fi
10824   need_version=yes
10825   ;;
10826
10827 sysv4 | sysv4.3*)
10828   version_type=linux # correct to gnu/linux during the next big refactor
10829   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830   soname_spec='${libname}${release}${shared_ext}$major'
10831   shlibpath_var=LD_LIBRARY_PATH
10832   case $host_vendor in
10833     sni)
10834       shlibpath_overrides_runpath=no
10835       need_lib_prefix=no
10836       runpath_var=LD_RUN_PATH
10837       ;;
10838     siemens)
10839       need_lib_prefix=no
10840       ;;
10841     motorola)
10842       need_lib_prefix=no
10843       need_version=no
10844       shlibpath_overrides_runpath=no
10845       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10846       ;;
10847   esac
10848   ;;
10849
10850 sysv4*MP*)
10851   if test -d /usr/nec ;then
10852     version_type=linux # correct to gnu/linux during the next big refactor
10853     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10854     soname_spec='$libname${shared_ext}.$major'
10855     shlibpath_var=LD_LIBRARY_PATH
10856   fi
10857   ;;
10858
10859 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10860   version_type=freebsd-elf
10861   need_lib_prefix=no
10862   need_version=no
10863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10864   soname_spec='${libname}${release}${shared_ext}$major'
10865   shlibpath_var=LD_LIBRARY_PATH
10866   shlibpath_overrides_runpath=yes
10867   hardcode_into_libs=yes
10868   if test "$with_gnu_ld" = yes; then
10869     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10870   else
10871     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10872     case $host_os in
10873       sco3.2v5*)
10874         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10875         ;;
10876     esac
10877   fi
10878   sys_lib_dlsearch_path_spec='/usr/lib'
10879   ;;
10880
10881 tpf*)
10882   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10883   version_type=linux # correct to gnu/linux during the next big refactor
10884   need_lib_prefix=no
10885   need_version=no
10886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887   shlibpath_var=LD_LIBRARY_PATH
10888   shlibpath_overrides_runpath=no
10889   hardcode_into_libs=yes
10890   ;;
10891
10892 uts4*)
10893   version_type=linux # correct to gnu/linux during the next big refactor
10894   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895   soname_spec='${libname}${release}${shared_ext}$major'
10896   shlibpath_var=LD_LIBRARY_PATH
10897   ;;
10898
10899 *)
10900   dynamic_linker=no
10901   ;;
10902 esac
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10904 $as_echo "$dynamic_linker" >&6; }
10905 test "$dynamic_linker" = no && can_build_shared=no
10906
10907 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10908 if test "$GCC" = yes; then
10909   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10910 fi
10911
10912 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10913   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10914 fi
10915 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10916   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10917 fi
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11011 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11012 hardcode_action=
11013 if test -n "$hardcode_libdir_flag_spec" ||
11014    test -n "$runpath_var" ||
11015    test "X$hardcode_automatic" = "Xyes" ; then
11016
11017   # We can hardcode non-existent directories.
11018   if test "$hardcode_direct" != no &&
11019      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11020      # have to relink, otherwise we might link with an installed library
11021      # when we should be linking with a yet-to-be-installed one
11022      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11023      test "$hardcode_minus_L" != no; then
11024     # Linking always hardcodes the temporary library directory.
11025     hardcode_action=relink
11026   else
11027     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11028     hardcode_action=immediate
11029   fi
11030 else
11031   # We cannot hardcode anything, or else we can only hardcode existing
11032   # directories.
11033   hardcode_action=unsupported
11034 fi
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11036 $as_echo "$hardcode_action" >&6; }
11037
11038 if test "$hardcode_action" = relink ||
11039    test "$inherit_rpath" = yes; then
11040   # Fast installation is not supported
11041   enable_fast_install=no
11042 elif test "$shlibpath_overrides_runpath" = yes ||
11043      test "$enable_shared" = no; then
11044   # Fast installation is not necessary
11045   enable_fast_install=needless
11046 fi
11047
11048
11049
11050
11051
11052
11053   if test "x$enable_dlopen" != xyes; then
11054   enable_dlopen=unknown
11055   enable_dlopen_self=unknown
11056   enable_dlopen_self_static=unknown
11057 else
11058   lt_cv_dlopen=no
11059   lt_cv_dlopen_libs=
11060
11061   case $host_os in
11062   beos*)
11063     lt_cv_dlopen="load_add_on"
11064     lt_cv_dlopen_libs=
11065     lt_cv_dlopen_self=yes
11066     ;;
11067
11068   mingw* | pw32* | cegcc*)
11069     lt_cv_dlopen="LoadLibrary"
11070     lt_cv_dlopen_libs=
11071     ;;
11072
11073   cygwin*)
11074     lt_cv_dlopen="dlopen"
11075     lt_cv_dlopen_libs=
11076     ;;
11077
11078   darwin*)
11079   # if libdl is installed we need to link against it
11080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11081 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11082 if ${ac_cv_lib_dl_dlopen+:} false; then :
11083   $as_echo_n "(cached) " >&6
11084 else
11085   ac_check_lib_save_LIBS=$LIBS
11086 LIBS="-ldl  $LIBS"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h.  */
11089
11090 /* Override any GCC internal prototype to avoid an error.
11091    Use char because int might match the return type of a GCC
11092    builtin and then its argument prototype would still apply.  */
11093 #ifdef __cplusplus
11094 extern "C"
11095 #endif
11096 char dlopen ();
11097 int
11098 main ()
11099 {
11100 return dlopen ();
11101   ;
11102   return 0;
11103 }
11104 _ACEOF
11105 if ac_fn_c_try_link "$LINENO"; then :
11106   ac_cv_lib_dl_dlopen=yes
11107 else
11108   ac_cv_lib_dl_dlopen=no
11109 fi
11110 rm -f core conftest.err conftest.$ac_objext \
11111     conftest$ac_exeext conftest.$ac_ext
11112 LIBS=$ac_check_lib_save_LIBS
11113 fi
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11115 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11116 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11117   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11118 else
11119
11120     lt_cv_dlopen="dyld"
11121     lt_cv_dlopen_libs=
11122     lt_cv_dlopen_self=yes
11123
11124 fi
11125
11126     ;;
11127
11128   *)
11129     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11130 if test "x$ac_cv_func_shl_load" = xyes; then :
11131   lt_cv_dlopen="shl_load"
11132 else
11133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11134 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11135 if ${ac_cv_lib_dld_shl_load+:} false; then :
11136   $as_echo_n "(cached) " >&6
11137 else
11138   ac_check_lib_save_LIBS=$LIBS
11139 LIBS="-ldld  $LIBS"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h.  */
11142
11143 /* Override any GCC internal prototype to avoid an error.
11144    Use char because int might match the return type of a GCC
11145    builtin and then its argument prototype would still apply.  */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 char shl_load ();
11150 int
11151 main ()
11152 {
11153 return shl_load ();
11154   ;
11155   return 0;
11156 }
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"; then :
11159   ac_cv_lib_dld_shl_load=yes
11160 else
11161   ac_cv_lib_dld_shl_load=no
11162 fi
11163 rm -f core conftest.err conftest.$ac_objext \
11164     conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_lib_save_LIBS
11166 fi
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11168 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11169 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11170   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11171 else
11172   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11173 if test "x$ac_cv_func_dlopen" = xyes; then :
11174   lt_cv_dlopen="dlopen"
11175 else
11176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11177 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11178 if ${ac_cv_lib_dl_dlopen+:} false; then :
11179   $as_echo_n "(cached) " >&6
11180 else
11181   ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-ldl  $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h.  */
11185
11186 /* Override any GCC internal prototype to avoid an error.
11187    Use char because int might match the return type of a GCC
11188    builtin and then its argument prototype would still apply.  */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char dlopen ();
11193 int
11194 main ()
11195 {
11196 return dlopen ();
11197   ;
11198   return 0;
11199 }
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202   ac_cv_lib_dl_dlopen=yes
11203 else
11204   ac_cv_lib_dl_dlopen=no
11205 fi
11206 rm -f core conftest.err conftest.$ac_objext \
11207     conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11209 fi
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11211 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11212 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11213   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11214 else
11215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11216 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11217 if ${ac_cv_lib_svld_dlopen+:} false; then :
11218   $as_echo_n "(cached) " >&6
11219 else
11220   ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-lsvld  $LIBS"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h.  */
11224
11225 /* Override any GCC internal prototype to avoid an error.
11226    Use char because int might match the return type of a GCC
11227    builtin and then its argument prototype would still apply.  */
11228 #ifdef __cplusplus
11229 extern "C"
11230 #endif
11231 char dlopen ();
11232 int
11233 main ()
11234 {
11235 return dlopen ();
11236   ;
11237   return 0;
11238 }
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"; then :
11241   ac_cv_lib_svld_dlopen=yes
11242 else
11243   ac_cv_lib_svld_dlopen=no
11244 fi
11245 rm -f core conftest.err conftest.$ac_objext \
11246     conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11248 fi
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11250 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11251 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11252   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11253 else
11254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11255 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11256 if ${ac_cv_lib_dld_dld_link+:} false; then :
11257   $as_echo_n "(cached) " >&6
11258 else
11259   ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldld  $LIBS"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h.  */
11263
11264 /* Override any GCC internal prototype to avoid an error.
11265    Use char because int might match the return type of a GCC
11266    builtin and then its argument prototype would still apply.  */
11267 #ifdef __cplusplus
11268 extern "C"
11269 #endif
11270 char dld_link ();
11271 int
11272 main ()
11273 {
11274 return dld_link ();
11275   ;
11276   return 0;
11277 }
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280   ac_cv_lib_dld_dld_link=yes
11281 else
11282   ac_cv_lib_dld_dld_link=no
11283 fi
11284 rm -f core conftest.err conftest.$ac_objext \
11285     conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11287 fi
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11289 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11290 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11291   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11292 fi
11293
11294
11295 fi
11296
11297
11298 fi
11299
11300
11301 fi
11302
11303
11304 fi
11305
11306
11307 fi
11308
11309     ;;
11310   esac
11311
11312   if test "x$lt_cv_dlopen" != xno; then
11313     enable_dlopen=yes
11314   else
11315     enable_dlopen=no
11316   fi
11317
11318   case $lt_cv_dlopen in
11319   dlopen)
11320     save_CPPFLAGS="$CPPFLAGS"
11321     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11322
11323     save_LDFLAGS="$LDFLAGS"
11324     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11325
11326     save_LIBS="$LIBS"
11327     LIBS="$lt_cv_dlopen_libs $LIBS"
11328
11329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11330 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11331 if ${lt_cv_dlopen_self+:} false; then :
11332   $as_echo_n "(cached) " >&6
11333 else
11334           if test "$cross_compiling" = yes; then :
11335   lt_cv_dlopen_self=cross
11336 else
11337   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11338   lt_status=$lt_dlunknown
11339   cat > conftest.$ac_ext <<_LT_EOF
11340 #line $LINENO "configure"
11341 #include "confdefs.h"
11342
11343 #if HAVE_DLFCN_H
11344 #include <dlfcn.h>
11345 #endif
11346
11347 #include <stdio.h>
11348
11349 #ifdef RTLD_GLOBAL
11350 #  define LT_DLGLOBAL           RTLD_GLOBAL
11351 #else
11352 #  ifdef DL_GLOBAL
11353 #    define LT_DLGLOBAL         DL_GLOBAL
11354 #  else
11355 #    define LT_DLGLOBAL         0
11356 #  endif
11357 #endif
11358
11359 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11360    find out it does not work in some platform. */
11361 #ifndef LT_DLLAZY_OR_NOW
11362 #  ifdef RTLD_LAZY
11363 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11364 #  else
11365 #    ifdef DL_LAZY
11366 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11367 #    else
11368 #      ifdef RTLD_NOW
11369 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11370 #      else
11371 #        ifdef DL_NOW
11372 #          define LT_DLLAZY_OR_NOW      DL_NOW
11373 #        else
11374 #          define LT_DLLAZY_OR_NOW      0
11375 #        endif
11376 #      endif
11377 #    endif
11378 #  endif
11379 #endif
11380
11381 /* When -fvisbility=hidden is used, assume the code has been annotated
11382    correspondingly for the symbols needed.  */
11383 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11384 int fnord () __attribute__((visibility("default")));
11385 #endif
11386
11387 int fnord () { return 42; }
11388 int main ()
11389 {
11390   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11391   int status = $lt_dlunknown;
11392
11393   if (self)
11394     {
11395       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11396       else
11397         {
11398           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11399           else puts (dlerror ());
11400         }
11401       /* dlclose (self); */
11402     }
11403   else
11404     puts (dlerror ());
11405
11406   return status;
11407 }
11408 _LT_EOF
11409   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11410   (eval $ac_link) 2>&5
11411   ac_status=$?
11412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11413   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11414     (./conftest; exit; ) >&5 2>/dev/null
11415     lt_status=$?
11416     case x$lt_status in
11417       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11418       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11419       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11420     esac
11421   else :
11422     # compilation failed
11423     lt_cv_dlopen_self=no
11424   fi
11425 fi
11426 rm -fr conftest*
11427
11428
11429 fi
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11431 $as_echo "$lt_cv_dlopen_self" >&6; }
11432
11433     if test "x$lt_cv_dlopen_self" = xyes; then
11434       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11435       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11436 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11437 if ${lt_cv_dlopen_self_static+:} false; then :
11438   $as_echo_n "(cached) " >&6
11439 else
11440           if test "$cross_compiling" = yes; then :
11441   lt_cv_dlopen_self_static=cross
11442 else
11443   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11444   lt_status=$lt_dlunknown
11445   cat > conftest.$ac_ext <<_LT_EOF
11446 #line $LINENO "configure"
11447 #include "confdefs.h"
11448
11449 #if HAVE_DLFCN_H
11450 #include <dlfcn.h>
11451 #endif
11452
11453 #include <stdio.h>
11454
11455 #ifdef RTLD_GLOBAL
11456 #  define LT_DLGLOBAL           RTLD_GLOBAL
11457 #else
11458 #  ifdef DL_GLOBAL
11459 #    define LT_DLGLOBAL         DL_GLOBAL
11460 #  else
11461 #    define LT_DLGLOBAL         0
11462 #  endif
11463 #endif
11464
11465 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11466    find out it does not work in some platform. */
11467 #ifndef LT_DLLAZY_OR_NOW
11468 #  ifdef RTLD_LAZY
11469 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11470 #  else
11471 #    ifdef DL_LAZY
11472 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11473 #    else
11474 #      ifdef RTLD_NOW
11475 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11476 #      else
11477 #        ifdef DL_NOW
11478 #          define LT_DLLAZY_OR_NOW      DL_NOW
11479 #        else
11480 #          define LT_DLLAZY_OR_NOW      0
11481 #        endif
11482 #      endif
11483 #    endif
11484 #  endif
11485 #endif
11486
11487 /* When -fvisbility=hidden is used, assume the code has been annotated
11488    correspondingly for the symbols needed.  */
11489 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11490 int fnord () __attribute__((visibility("default")));
11491 #endif
11492
11493 int fnord () { return 42; }
11494 int main ()
11495 {
11496   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11497   int status = $lt_dlunknown;
11498
11499   if (self)
11500     {
11501       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11502       else
11503         {
11504           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11505           else puts (dlerror ());
11506         }
11507       /* dlclose (self); */
11508     }
11509   else
11510     puts (dlerror ());
11511
11512   return status;
11513 }
11514 _LT_EOF
11515   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11516   (eval $ac_link) 2>&5
11517   ac_status=$?
11518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11519   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11520     (./conftest; exit; ) >&5 2>/dev/null
11521     lt_status=$?
11522     case x$lt_status in
11523       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11524       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11525       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11526     esac
11527   else :
11528     # compilation failed
11529     lt_cv_dlopen_self_static=no
11530   fi
11531 fi
11532 rm -fr conftest*
11533
11534
11535 fi
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11537 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11538     fi
11539
11540     CPPFLAGS="$save_CPPFLAGS"
11541     LDFLAGS="$save_LDFLAGS"
11542     LIBS="$save_LIBS"
11543     ;;
11544   esac
11545
11546   case $lt_cv_dlopen_self in
11547   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11548   *) enable_dlopen_self=unknown ;;
11549   esac
11550
11551   case $lt_cv_dlopen_self_static in
11552   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11553   *) enable_dlopen_self_static=unknown ;;
11554   esac
11555 fi
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573 striplib=
11574 old_striplib=
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11576 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11577 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11578   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11579   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11581 $as_echo "yes" >&6; }
11582 else
11583 # FIXME - insert some real tests, host_os isn't really good enough
11584   case $host_os in
11585   darwin*)
11586     if test -n "$STRIP" ; then
11587       striplib="$STRIP -x"
11588       old_striplib="$STRIP -S"
11589       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11590 $as_echo "yes" >&6; }
11591     else
11592       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11593 $as_echo "no" >&6; }
11594     fi
11595     ;;
11596   *)
11597     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11598 $as_echo "no" >&6; }
11599     ;;
11600   esac
11601 fi
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614   # Report which library types will actually be built
11615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11616 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11618 $as_echo "$can_build_shared" >&6; }
11619
11620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11621 $as_echo_n "checking whether to build shared libraries... " >&6; }
11622   test "$can_build_shared" = "no" && enable_shared=no
11623
11624   # On AIX, shared libraries and static libraries use the same namespace, and
11625   # are all built from PIC.
11626   case $host_os in
11627   aix3*)
11628     test "$enable_shared" = yes && enable_static=no
11629     if test -n "$RANLIB"; then
11630       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11631       postinstall_cmds='$RANLIB $lib'
11632     fi
11633     ;;
11634
11635   aix[4-9]*)
11636     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11637       test "$enable_shared" = yes && enable_static=no
11638     fi
11639     ;;
11640   esac
11641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11642 $as_echo "$enable_shared" >&6; }
11643
11644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11645 $as_echo_n "checking whether to build static libraries... " >&6; }
11646   # Make sure either enable_shared or enable_static is yes.
11647   test "$enable_shared" = yes || enable_static=yes
11648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11649 $as_echo "$enable_static" >&6; }
11650
11651
11652
11653
11654 fi
11655 ac_ext=c
11656 ac_cpp='$CPP $CPPFLAGS'
11657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11660
11661 CC="$lt_save_CC"
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677         ac_config_commands="$ac_config_commands libtool"
11678
11679
11680
11681
11682 # Only expand once:
11683
11684
11685
11686 # Checks for libraries.
11687
11688
11689
11690
11691
11692
11693
11694 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11695         if test -n "$ac_tool_prefix"; then
11696   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11697 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11699 $as_echo_n "checking for $ac_word... " >&6; }
11700 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11701   $as_echo_n "(cached) " >&6
11702 else
11703   case $PKG_CONFIG in
11704   [\\/]* | ?:[\\/]*)
11705   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11706   ;;
11707   *)
11708   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11709 for as_dir in $PATH
11710 do
11711   IFS=$as_save_IFS
11712   test -z "$as_dir" && as_dir=.
11713     for ac_exec_ext in '' $ac_executable_extensions; do
11714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11715     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11717     break 2
11718   fi
11719 done
11720   done
11721 IFS=$as_save_IFS
11722
11723   ;;
11724 esac
11725 fi
11726 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11727 if test -n "$PKG_CONFIG"; then
11728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11729 $as_echo "$PKG_CONFIG" >&6; }
11730 else
11731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11732 $as_echo "no" >&6; }
11733 fi
11734
11735
11736 fi
11737 if test -z "$ac_cv_path_PKG_CONFIG"; then
11738   ac_pt_PKG_CONFIG=$PKG_CONFIG
11739   # Extract the first word of "pkg-config", so it can be a program name with args.
11740 set dummy pkg-config; ac_word=$2
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11742 $as_echo_n "checking for $ac_word... " >&6; }
11743 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11744   $as_echo_n "(cached) " >&6
11745 else
11746   case $ac_pt_PKG_CONFIG in
11747   [\\/]* | ?:[\\/]*)
11748   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11749   ;;
11750   *)
11751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11752 for as_dir in $PATH
11753 do
11754   IFS=$as_save_IFS
11755   test -z "$as_dir" && as_dir=.
11756     for ac_exec_ext in '' $ac_executable_extensions; do
11757   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11758     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11760     break 2
11761   fi
11762 done
11763   done
11764 IFS=$as_save_IFS
11765
11766   ;;
11767 esac
11768 fi
11769 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11770 if test -n "$ac_pt_PKG_CONFIG"; then
11771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11772 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11773 else
11774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11776 fi
11777
11778   if test "x$ac_pt_PKG_CONFIG" = x; then
11779     PKG_CONFIG=""
11780   else
11781     case $cross_compiling:$ac_tool_warned in
11782 yes:)
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11785 ac_tool_warned=yes ;;
11786 esac
11787     PKG_CONFIG=$ac_pt_PKG_CONFIG
11788   fi
11789 else
11790   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11791 fi
11792
11793 fi
11794 if test -n "$PKG_CONFIG"; then
11795         _pkg_min_version=0.9.0
11796         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11797 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11798         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11799                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11800 $as_echo "yes" >&6; }
11801         else
11802                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11803 $as_echo "no" >&6; }
11804                 PKG_CONFIG=""
11805         fi
11806 fi
11807
11808 pkg_failed=no
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11810 $as_echo_n "checking for GSIGNOND... " >&6; }
11811
11812 if test -n "$GSIGNOND_CFLAGS"; then
11813     pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11814  elif test -n "$PKG_CONFIG"; then
11815     if test -n "$PKG_CONFIG" && \
11816     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11817                    gio-2.0
11818                    gio-unix-2.0
11819                    gmodule-2.0
11820                    sqlite3\""; } >&5
11821   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11822                    gio-2.0
11823                    gio-unix-2.0
11824                    gmodule-2.0
11825                    sqlite3") 2>&5
11826   ac_status=$?
11827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11828   test $ac_status = 0; }; then
11829   pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
11830                    gio-2.0
11831                    gio-unix-2.0
11832                    gmodule-2.0
11833                    sqlite3" 2>/dev/null`
11834                       test "x$?" != "x0" && pkg_failed=yes
11835 else
11836   pkg_failed=yes
11837 fi
11838  else
11839     pkg_failed=untried
11840 fi
11841 if test -n "$GSIGNOND_LIBS"; then
11842     pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
11843  elif test -n "$PKG_CONFIG"; then
11844     if test -n "$PKG_CONFIG" && \
11845     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11846                    gio-2.0
11847                    gio-unix-2.0
11848                    gmodule-2.0
11849                    sqlite3\""; } >&5
11850   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11851                    gio-2.0
11852                    gio-unix-2.0
11853                    gmodule-2.0
11854                    sqlite3") 2>&5
11855   ac_status=$?
11856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11857   test $ac_status = 0; }; then
11858   pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
11859                    gio-2.0
11860                    gio-unix-2.0
11861                    gmodule-2.0
11862                    sqlite3" 2>/dev/null`
11863                       test "x$?" != "x0" && pkg_failed=yes
11864 else
11865   pkg_failed=yes
11866 fi
11867  else
11868     pkg_failed=untried
11869 fi
11870
11871
11872
11873 if test $pkg_failed = yes; then
11874         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11875 $as_echo "no" >&6; }
11876
11877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11878         _pkg_short_errors_supported=yes
11879 else
11880         _pkg_short_errors_supported=no
11881 fi
11882         if test $_pkg_short_errors_supported = yes; then
11883                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
11884                    gio-2.0
11885                    gio-unix-2.0
11886                    gmodule-2.0
11887                    sqlite3" 2>&1`
11888         else
11889                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
11890                    gio-2.0
11891                    gio-unix-2.0
11892                    gmodule-2.0
11893                    sqlite3" 2>&1`
11894         fi
11895         # Put the nasty error message in config.log where it belongs
11896         echo "$GSIGNOND_PKG_ERRORS" >&5
11897
11898         as_fn_error $? "Package requirements (glib-2.0 >= 2.30
11899                    gio-2.0
11900                    gio-unix-2.0
11901                    gmodule-2.0
11902                    sqlite3) were not met:
11903
11904 $GSIGNOND_PKG_ERRORS
11905
11906 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11907 installed software in a non-standard prefix.
11908
11909 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11910 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11911 See the pkg-config man page for more details." "$LINENO" 5
11912 elif test $pkg_failed = untried; then
11913         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11914 $as_echo "no" >&6; }
11915         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11917 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11918 is in your PATH or set the PKG_CONFIG environment variable to the full
11919 path to pkg-config.
11920
11921 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11922 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11923 See the pkg-config man page for more details.
11924
11925 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11926 See \`config.log' for more details" "$LINENO" 5; }
11927 else
11928         GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
11929         GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
11930         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11931 $as_echo "yes" >&6; }
11932
11933 fi
11934
11935
11936
11937
11938 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
11939
11940 pkg_failed=no
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
11942 $as_echo_n "checking for CHECK... " >&6; }
11943
11944 if test -n "$CHECK_CFLAGS"; then
11945     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
11946  elif test -n "$PKG_CONFIG"; then
11947     if test -n "$PKG_CONFIG" && \
11948     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11949   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11950   ac_status=$?
11951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11952   test $ac_status = 0; }; then
11953   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
11954                       test "x$?" != "x0" && pkg_failed=yes
11955 else
11956   pkg_failed=yes
11957 fi
11958  else
11959     pkg_failed=untried
11960 fi
11961 if test -n "$CHECK_LIBS"; then
11962     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
11963  elif test -n "$PKG_CONFIG"; then
11964     if test -n "$PKG_CONFIG" && \
11965     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11966   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11967   ac_status=$?
11968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11969   test $ac_status = 0; }; then
11970   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
11971                       test "x$?" != "x0" && pkg_failed=yes
11972 else
11973   pkg_failed=yes
11974 fi
11975  else
11976     pkg_failed=untried
11977 fi
11978
11979
11980
11981 if test $pkg_failed = yes; then
11982         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983 $as_echo "no" >&6; }
11984
11985 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11986         _pkg_short_errors_supported=yes
11987 else
11988         _pkg_short_errors_supported=no
11989 fi
11990         if test $_pkg_short_errors_supported = yes; then
11991                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
11992         else
11993                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
11994         fi
11995         # Put the nasty error message in config.log where it belongs
11996         echo "$CHECK_PKG_ERRORS" >&5
11997
11998         have_check=no
11999 elif test $pkg_failed = untried; then
12000         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12001 $as_echo "no" >&6; }
12002         have_check=no
12003 else
12004         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12005         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12006         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12007 $as_echo "yes" >&6; }
12008         have_check=yes
12009 fi
12010
12011
12012
12013
12014 pkg_failed=no
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12016 $as_echo_n "checking for LIBSMACK... " >&6; }
12017
12018 if test -n "$LIBSMACK_CFLAGS"; then
12019     pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12020  elif test -n "$PKG_CONFIG"; then
12021     if test -n "$PKG_CONFIG" && \
12022     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12023   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12024   ac_status=$?
12025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12026   test $ac_status = 0; }; then
12027   pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12028                       test "x$?" != "x0" && pkg_failed=yes
12029 else
12030   pkg_failed=yes
12031 fi
12032  else
12033     pkg_failed=untried
12034 fi
12035 if test -n "$LIBSMACK_LIBS"; then
12036     pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12037  elif test -n "$PKG_CONFIG"; then
12038     if test -n "$PKG_CONFIG" && \
12039     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12040   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12041   ac_status=$?
12042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12043   test $ac_status = 0; }; then
12044   pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12045                       test "x$?" != "x0" && pkg_failed=yes
12046 else
12047   pkg_failed=yes
12048 fi
12049  else
12050     pkg_failed=untried
12051 fi
12052
12053
12054
12055 if test $pkg_failed = yes; then
12056         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12057 $as_echo "no" >&6; }
12058
12059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12060         _pkg_short_errors_supported=yes
12061 else
12062         _pkg_short_errors_supported=no
12063 fi
12064         if test $_pkg_short_errors_supported = yes; then
12065                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12066         else
12067                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12068         fi
12069         # Put the nasty error message in config.log where it belongs
12070         echo "$LIBSMACK_PKG_ERRORS" >&5
12071
12072         libsmack=no
12073 elif test $pkg_failed = untried; then
12074         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12075 $as_echo "no" >&6; }
12076         libsmack=no
12077 else
12078         LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12079         LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12080         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12081 $as_echo "yes" >&6; }
12082         libsmack=yes
12083 fi
12084  if test x$libsmack = xyes; then
12085   HAVE_LIBSMACK_TRUE=
12086   HAVE_LIBSMACK_FALSE='#'
12087 else
12088   HAVE_LIBSMACK_TRUE='#'
12089   HAVE_LIBSMACK_FALSE=
12090 fi
12091
12092 if test "x$libsmack" = xyes; then
12093
12094 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12095
12096 fi
12097
12098
12099 pkg_failed=no
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12101 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12102
12103 if test -n "$LIBECRYPTFS_CFLAGS"; then
12104     pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12105  elif test -n "$PKG_CONFIG"; then
12106     if test -n "$PKG_CONFIG" && \
12107     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12108   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12109   ac_status=$?
12110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12111   test $ac_status = 0; }; then
12112   pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12113                       test "x$?" != "x0" && pkg_failed=yes
12114 else
12115   pkg_failed=yes
12116 fi
12117  else
12118     pkg_failed=untried
12119 fi
12120 if test -n "$LIBECRYPTFS_LIBS"; then
12121     pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12122  elif test -n "$PKG_CONFIG"; then
12123     if test -n "$PKG_CONFIG" && \
12124     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12125   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12126   ac_status=$?
12127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12128   test $ac_status = 0; }; then
12129   pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 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
12138
12139
12140 if test $pkg_failed = yes; then
12141         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12142 $as_echo "no" >&6; }
12143
12144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12145         _pkg_short_errors_supported=yes
12146 else
12147         _pkg_short_errors_supported=no
12148 fi
12149         if test $_pkg_short_errors_supported = yes; then
12150                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12151         else
12152                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12153         fi
12154         # Put the nasty error message in config.log where it belongs
12155         echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12156
12157         libecryptfs=no
12158 elif test $pkg_failed = untried; then
12159         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12161         libecryptfs=no
12162 else
12163         LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12164         LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12165         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12166 $as_echo "yes" >&6; }
12167         libecryptfs=yes
12168 fi
12169  if test x$libecryptfs = xyes; then
12170   HAVE_LIBECRYPTFS_TRUE=
12171   HAVE_LIBECRYPTFS_FALSE='#'
12172 else
12173   HAVE_LIBECRYPTFS_TRUE='#'
12174   HAVE_LIBECRYPTFS_FALSE=
12175 fi
12176
12177 if test "x$libecryptfs" = xes; then
12178
12179 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12180
12181 fi
12182
12183 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12184 set dummy glib-mkenums; ac_word=$2
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12186 $as_echo_n "checking for $ac_word... " >&6; }
12187 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12188   $as_echo_n "(cached) " >&6
12189 else
12190   case $GLIB_MKENUMS in
12191   [\\/]* | ?:[\\/]*)
12192   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12193   ;;
12194   *)
12195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12196 for as_dir in $PATH
12197 do
12198   IFS=$as_save_IFS
12199   test -z "$as_dir" && as_dir=.
12200     for ac_exec_ext in '' $ac_executable_extensions; do
12201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12202     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12204     break 2
12205   fi
12206 done
12207   done
12208 IFS=$as_save_IFS
12209
12210   ;;
12211 esac
12212 fi
12213 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12214 if test -n "$GLIB_MKENUMS"; then
12215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12216 $as_echo "$GLIB_MKENUMS" >&6; }
12217 else
12218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12219 $as_echo "no" >&6; }
12220 fi
12221
12222
12223
12224 # allow fake installations for "distcheck"
12225 # Check whether --enable-distcheck was given.
12226 if test "${enable_distcheck+set}" = set; then :
12227   enableval=$enable_distcheck; enable_distcheck=yes
12228 else
12229   enable_distcheck=no
12230 fi
12231
12232 echo -n "running distcheck... "
12233 echo $enable_distcheck
12234
12235 # Check whether --enable-dbus-type was given.
12236 if test "${enable_dbus_type+set}" = set; then :
12237   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12238 else
12239   enable_dbus_type=p2p
12240 fi
12241
12242 echo "----------------------"
12243 echo " DBUS TYPE : '$enable_dbus_type'"
12244 echo "----------------------"
12245 if test "x$enable_dbus_type" = "xp2p" ; then
12246
12247 $as_echo "#define USE_P2P 1" >>confdefs.h
12248
12249 elif test "x$enable_dbus_type" = "xsession" ; then
12250
12251 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12252
12253     if test "x$enable_distcheck" = "xyes" ; then
12254         DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12255     else
12256         DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12257     fi
12258
12259
12260 pkg_failed=no
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12262 $as_echo_n "checking for GTestDBus... " >&6; }
12263
12264 if test -n "$GTestDBus_CFLAGS"; then
12265     pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12266  elif test -n "$PKG_CONFIG"; then
12267     if test -n "$PKG_CONFIG" && \
12268     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12269   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12270   ac_status=$?
12271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12272   test $ac_status = 0; }; then
12273   pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12274                       test "x$?" != "x0" && pkg_failed=yes
12275 else
12276   pkg_failed=yes
12277 fi
12278  else
12279     pkg_failed=untried
12280 fi
12281 if test -n "$GTestDBus_LIBS"; then
12282     pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12283  elif test -n "$PKG_CONFIG"; then
12284     if test -n "$PKG_CONFIG" && \
12285     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12286   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12287   ac_status=$?
12288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12289   test $ac_status = 0; }; then
12290   pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12291                       test "x$?" != "x0" && pkg_failed=yes
12292 else
12293   pkg_failed=yes
12294 fi
12295  else
12296     pkg_failed=untried
12297 fi
12298
12299
12300
12301 if test $pkg_failed = yes; then
12302         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12303 $as_echo "no" >&6; }
12304
12305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12306         _pkg_short_errors_supported=yes
12307 else
12308         _pkg_short_errors_supported=no
12309 fi
12310         if test $_pkg_short_errors_supported = yes; then
12311                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12312         else
12313                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12314         fi
12315         # Put the nasty error message in config.log where it belongs
12316         echo "$GTestDBus_PKG_ERRORS" >&5
12317
12318         gtestdbus=no
12319 elif test $pkg_failed = untried; then
12320         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12322         gtestdbus=no
12323 else
12324         GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12325         GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12326         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12327 $as_echo "yes" >&6; }
12328         gtestdbus=yes
12329 fi
12330     if test "x$gtestdbus" = xyes; then
12331
12332 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12333
12334     fi
12335 elif test "x$enable_dbus_type" = "xsystem" ; then
12336
12337 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12338
12339     if test "x$enable_distcheck" = "xyes" ; then
12340         DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12341     else
12342         DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12343     fi
12344 fi
12345 if test "x$enable_dbus_type" != "xp2p" ; then
12346     if test "x$enable_distcheck" = "xyes" ; then
12347         DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12348     else
12349         DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12350     fi
12351 fi
12352
12353 # Check whether --enable-debug was given.
12354 if test "${enable_debug+set}" = set; then :
12355   enableval=$enable_debug; enable_debug=yes
12356 else
12357   enable_debug=no
12358 fi
12359
12360 echo -n "enable debug features... "
12361 echo $enable_debug
12362 if test "x$enable_debug" = "xyes" ; then
12363
12364 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12365
12366     # Check whether --enable-sql-log was given.
12367 if test "${enable_sql_log+set}" = set; then :
12368   enableval=$enable_sql_log; enable_sql_log=yes
12369 else
12370   enable_sql_log=no
12371 fi
12372
12373     echo -n "enable sql log feature... "
12374     echo $enable_sql_log
12375     if test "x$enable_sql_log" = "xyes" ; then
12376
12377 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12378
12379     fi
12380 fi
12381
12382  if test x$gtestdbus = xyes; then
12383   USE_GTESTDBUS_TRUE=
12384   USE_GTESTDBUS_FALSE='#'
12385 else
12386   USE_GTESTDBUS_TRUE='#'
12387   USE_GTESTDBUS_FALSE=
12388 fi
12389
12390 MESSAGE_BUS_TYPE=$enable_dbus_type
12391
12392
12393
12394
12395
12396 # gtk-doc
12397
12398
12399
12400     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12401 set dummy gtkdoc-check; ac_word=$2
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12403 $as_echo_n "checking for $ac_word... " >&6; }
12404 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12405   $as_echo_n "(cached) " >&6
12406 else
12407   case $GTKDOC_CHECK in
12408   [\\/]* | ?:[\\/]*)
12409   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12410   ;;
12411   *)
12412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12413 for as_dir in $PATH
12414 do
12415   IFS=$as_save_IFS
12416   test -z "$as_dir" && as_dir=.
12417     for ac_exec_ext in '' $ac_executable_extensions; do
12418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12419     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12421     break 2
12422   fi
12423 done
12424   done
12425 IFS=$as_save_IFS
12426
12427   ;;
12428 esac
12429 fi
12430 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12431 if test -n "$GTKDOC_CHECK"; then
12432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12433 $as_echo "$GTKDOC_CHECK" >&6; }
12434 else
12435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12436 $as_echo "no" >&6; }
12437 fi
12438
12439
12440   for ac_prog in gtkdoc-rebase
12441 do
12442   # Extract the first word of "$ac_prog", so it can be a program name with args.
12443 set dummy $ac_prog; ac_word=$2
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12445 $as_echo_n "checking for $ac_word... " >&6; }
12446 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12447   $as_echo_n "(cached) " >&6
12448 else
12449   case $GTKDOC_REBASE in
12450   [\\/]* | ?:[\\/]*)
12451   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12452   ;;
12453   *)
12454   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12455 for as_dir in $PATH
12456 do
12457   IFS=$as_save_IFS
12458   test -z "$as_dir" && as_dir=.
12459     for ac_exec_ext in '' $ac_executable_extensions; do
12460   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12461     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12463     break 2
12464   fi
12465 done
12466   done
12467 IFS=$as_save_IFS
12468
12469   ;;
12470 esac
12471 fi
12472 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12473 if test -n "$GTKDOC_REBASE"; then
12474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12475 $as_echo "$GTKDOC_REBASE" >&6; }
12476 else
12477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478 $as_echo "no" >&6; }
12479 fi
12480
12481
12482   test -n "$GTKDOC_REBASE" && break
12483 done
12484 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12485
12486   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12487 set dummy gtkdoc-mkpdf; ac_word=$2
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12489 $as_echo_n "checking for $ac_word... " >&6; }
12490 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12491   $as_echo_n "(cached) " >&6
12492 else
12493   case $GTKDOC_MKPDF in
12494   [\\/]* | ?:[\\/]*)
12495   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12496   ;;
12497   *)
12498   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12499 for as_dir in $PATH
12500 do
12501   IFS=$as_save_IFS
12502   test -z "$as_dir" && as_dir=.
12503     for ac_exec_ext in '' $ac_executable_extensions; do
12504   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12505     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12507     break 2
12508   fi
12509 done
12510   done
12511 IFS=$as_save_IFS
12512
12513   ;;
12514 esac
12515 fi
12516 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12517 if test -n "$GTKDOC_MKPDF"; then
12518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12519 $as_echo "$GTKDOC_MKPDF" >&6; }
12520 else
12521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12522 $as_echo "no" >&6; }
12523 fi
12524
12525
12526
12527
12528 # Check whether --with-html-dir was given.
12529 if test "${with_html_dir+set}" = set; then :
12530   withval=$with_html_dir;
12531 else
12532   with_html_dir='${datadir}/gtk-doc/html'
12533 fi
12534
12535   HTML_DIR="$with_html_dir"
12536
12537
12538     # Check whether --enable-gtk-doc was given.
12539 if test "${enable_gtk_doc+set}" = set; then :
12540   enableval=$enable_gtk_doc;
12541 else
12542   enable_gtk_doc=no
12543 fi
12544
12545
12546   if test x$enable_gtk_doc = xyes; then
12547     if test -n "$PKG_CONFIG" && \
12548     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc\""; } >&5
12549   ($PKG_CONFIG --exists --print-errors "gtk-doc") 2>&5
12550   ac_status=$?
12551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12552   test $ac_status = 0; }; then
12553   :
12554 else
12555   as_fn_error $? "gtk-doc not installed and --enable-gtk-doc requested" "$LINENO" 5
12556 fi
12557         if test "x$PACKAGE_NAME" != "xglib"; then
12558
12559 pkg_failed=no
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12561 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12562
12563 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12564     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12565  elif test -n "$PKG_CONFIG"; then
12566     if test -n "$PKG_CONFIG" && \
12567     { { $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
12568   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12569   ac_status=$?
12570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12571   test $ac_status = 0; }; then
12572   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12573                       test "x$?" != "x0" && pkg_failed=yes
12574 else
12575   pkg_failed=yes
12576 fi
12577  else
12578     pkg_failed=untried
12579 fi
12580 if test -n "$GTKDOC_DEPS_LIBS"; then
12581     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12582  elif test -n "$PKG_CONFIG"; then
12583     if test -n "$PKG_CONFIG" && \
12584     { { $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
12585   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12586   ac_status=$?
12587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12588   test $ac_status = 0; }; then
12589   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12590                       test "x$?" != "x0" && pkg_failed=yes
12591 else
12592   pkg_failed=yes
12593 fi
12594  else
12595     pkg_failed=untried
12596 fi
12597
12598
12599
12600 if test $pkg_failed = yes; then
12601         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12602 $as_echo "no" >&6; }
12603
12604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12605         _pkg_short_errors_supported=yes
12606 else
12607         _pkg_short_errors_supported=no
12608 fi
12609         if test $_pkg_short_errors_supported = yes; then
12610                 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`
12611         else
12612                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12613         fi
12614         # Put the nasty error message in config.log where it belongs
12615         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12616
12617         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
12618
12619 $GTKDOC_DEPS_PKG_ERRORS
12620
12621 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12622 installed software in a non-standard prefix.
12623
12624 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12625 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12626 See the pkg-config man page for more details." "$LINENO" 5
12627 elif test $pkg_failed = untried; then
12628         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12629 $as_echo "no" >&6; }
12630         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12632 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12633 is in your PATH or set the PKG_CONFIG environment variable to the full
12634 path to pkg-config.
12635
12636 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12637 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12638 See the pkg-config man page for more details.
12639
12640 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12641 See \`config.log' for more details" "$LINENO" 5; }
12642 else
12643         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12644         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12645         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12646 $as_echo "yes" >&6; }
12647
12648 fi
12649     fi
12650   fi
12651
12652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12653 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12655 $as_echo "$enable_gtk_doc" >&6; }
12656
12657     # Check whether --enable-gtk-doc-html was given.
12658 if test "${enable_gtk_doc_html+set}" = set; then :
12659   enableval=$enable_gtk_doc_html;
12660 else
12661   enable_gtk_doc_html=yes
12662 fi
12663
12664     # Check whether --enable-gtk-doc-pdf was given.
12665 if test "${enable_gtk_doc_pdf+set}" = set; then :
12666   enableval=$enable_gtk_doc_pdf;
12667 else
12668   enable_gtk_doc_pdf=no
12669 fi
12670
12671
12672   if test -z "$GTKDOC_MKPDF"; then
12673     enable_gtk_doc_pdf=no
12674   fi
12675
12676
12677    if test x$enable_gtk_doc = xyes; then
12678   ENABLE_GTK_DOC_TRUE=
12679   ENABLE_GTK_DOC_FALSE='#'
12680 else
12681   ENABLE_GTK_DOC_TRUE='#'
12682   ENABLE_GTK_DOC_FALSE=
12683 fi
12684
12685    if test x$enable_gtk_doc_html = xyes; then
12686   GTK_DOC_BUILD_HTML_TRUE=
12687   GTK_DOC_BUILD_HTML_FALSE='#'
12688 else
12689   GTK_DOC_BUILD_HTML_TRUE='#'
12690   GTK_DOC_BUILD_HTML_FALSE=
12691 fi
12692
12693    if test x$enable_gtk_doc_pdf = xyes; then
12694   GTK_DOC_BUILD_PDF_TRUE=
12695   GTK_DOC_BUILD_PDF_FALSE='#'
12696 else
12697   GTK_DOC_BUILD_PDF_TRUE='#'
12698   GTK_DOC_BUILD_PDF_FALSE=
12699 fi
12700
12701    if test -n "$LIBTOOL"; then
12702   GTK_DOC_USE_LIBTOOL_TRUE=
12703   GTK_DOC_USE_LIBTOOL_FALSE='#'
12704 else
12705   GTK_DOC_USE_LIBTOOL_TRUE='#'
12706   GTK_DOC_USE_LIBTOOL_FALSE=
12707 fi
12708
12709    if test -n "$GTKDOC_REBASE"; then
12710   GTK_DOC_USE_REBASE_TRUE=
12711   GTK_DOC_USE_REBASE_FALSE='#'
12712 else
12713   GTK_DOC_USE_REBASE_TRUE='#'
12714   GTK_DOC_USE_REBASE_FALSE=
12715 fi
12716
12717
12718
12719 # Checks for header files.
12720 for ac_header in string.h
12721 do :
12722   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12723 if test "x$ac_cv_header_string_h" = xyes; then :
12724   cat >>confdefs.h <<_ACEOF
12725 #define HAVE_STRING_H 1
12726 _ACEOF
12727
12728 fi
12729
12730 done
12731
12732
12733 # Enable feature sets
12734 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
12735
12736 # Checks for typedefs, structures, and compiler characteristics.
12737 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -Werror -DG_LOG_DOMAIN=\\\"gsignond\\\""
12738 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
12739
12740 # Checks for library functions.
12741
12742 ac_config_files="$ac_config_files Makefile ${PACKAGE_NAME}.pc ${PACKAGE_NAME}-uninstalled.pc src/Makefile src/common/Makefile src/common/db/Makefile src/daemon/Makefile src/daemon/db/Makefile src/daemon/dbus/Makefile src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service src/daemon/plugins/Makefile src/daemon/plugins/plugind/Makefile src/extensions/Makefile src/extensions/test/Makefile src/extensions/tizen/Makefile src/plugins/Makefile src/plugins/password/Makefile src/plugins/ssotest/Makefile src/plugins/digest/Makefile test/Makefile test/common/Makefile test/db/Makefile test/daemon/Makefile test/daemon/gsignond-dbus.conf test/plugins/Makefile"
12743
12744 cat >confcache <<\_ACEOF
12745 # This file is a shell script that caches the results of configure
12746 # tests run on this system so they can be shared between configure
12747 # scripts and configure runs, see configure's option --config-cache.
12748 # It is not useful on other systems.  If it contains results you don't
12749 # want to keep, you may remove or edit it.
12750 #
12751 # config.status only pays attention to the cache file if you give it
12752 # the --recheck option to rerun configure.
12753 #
12754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12756 # following values.
12757
12758 _ACEOF
12759
12760 # The following way of writing the cache mishandles newlines in values,
12761 # but we know of no workaround that is simple, portable, and efficient.
12762 # So, we kill variables containing newlines.
12763 # Ultrix sh set writes to stderr and can't be redirected directly,
12764 # and sets the high bit in the cache file unless we assign to the vars.
12765 (
12766   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12767     eval ac_val=\$$ac_var
12768     case $ac_val in #(
12769     *${as_nl}*)
12770       case $ac_var in #(
12771       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12772 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12773       esac
12774       case $ac_var in #(
12775       _ | IFS | as_nl) ;; #(
12776       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12777       *) { eval $ac_var=; unset $ac_var;} ;;
12778       esac ;;
12779     esac
12780   done
12781
12782   (set) 2>&1 |
12783     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12784     *${as_nl}ac_space=\ *)
12785       # `set' does not quote correctly, so add quotes: double-quote
12786       # substitution turns \\\\ into \\, and sed turns \\ into \.
12787       sed -n \
12788         "s/'/'\\\\''/g;
12789           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12790       ;; #(
12791     *)
12792       # `set' quotes correctly as required by POSIX, so do not add quotes.
12793       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12794       ;;
12795     esac |
12796     sort
12797 ) |
12798   sed '
12799      /^ac_cv_env_/b end
12800      t clear
12801      :clear
12802      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12803      t end
12804      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12805      :end' >>confcache
12806 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12807   if test -w "$cache_file"; then
12808     if test "x$cache_file" != "x/dev/null"; then
12809       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12810 $as_echo "$as_me: updating cache $cache_file" >&6;}
12811       if test ! -f "$cache_file" || test -h "$cache_file"; then
12812         cat confcache >"$cache_file"
12813       else
12814         case $cache_file in #(
12815         */* | ?:*)
12816           mv -f confcache "$cache_file"$$ &&
12817           mv -f "$cache_file"$$ "$cache_file" ;; #(
12818         *)
12819           mv -f confcache "$cache_file" ;;
12820         esac
12821       fi
12822     fi
12823   else
12824     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12825 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12826   fi
12827 fi
12828 rm -f confcache
12829
12830 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12831 # Let make expand exec_prefix.
12832 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12833
12834 DEFS=-DHAVE_CONFIG_H
12835
12836 ac_libobjs=
12837 ac_ltlibobjs=
12838 U=
12839 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12840   # 1. Remove the extension, and $U if already installed.
12841   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12842   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12843   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12844   #    will be set to the directory where LIBOBJS objects are built.
12845   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12846   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12847 done
12848 LIBOBJS=$ac_libobjs
12849
12850 LTLIBOBJS=$ac_ltlibobjs
12851
12852
12853  if test -n "$EXEEXT"; then
12854   am__EXEEXT_TRUE=
12855   am__EXEEXT_FALSE='#'
12856 else
12857   am__EXEEXT_TRUE='#'
12858   am__EXEEXT_FALSE=
12859 fi
12860
12861 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12862   as_fn_error $? "conditional \"AMDEP\" was never defined.
12863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12864 fi
12865 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12866   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12868 fi
12869 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
12870   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
12871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12872 fi
12873 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
12874   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
12875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12876 fi
12877 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
12878   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
12879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12880 fi
12881 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
12882   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
12883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12884 fi
12885 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
12886   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
12887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12888 fi
12889 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
12890   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
12891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12892 fi
12893 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
12894   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
12895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12896 fi
12897 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
12898   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
12899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12900 fi
12901
12902 : "${CONFIG_STATUS=./config.status}"
12903 ac_write_fail=0
12904 ac_clean_files_save=$ac_clean_files
12905 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12907 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12908 as_write_fail=0
12909 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12910 #! $SHELL
12911 # Generated by $as_me.
12912 # Run this file to recreate the current configuration.
12913 # Compiler output produced by configure, useful for debugging
12914 # configure, is in config.log if it exists.
12915
12916 debug=false
12917 ac_cs_recheck=false
12918 ac_cs_silent=false
12919
12920 SHELL=\${CONFIG_SHELL-$SHELL}
12921 export SHELL
12922 _ASEOF
12923 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12924 ## -------------------- ##
12925 ## M4sh Initialization. ##
12926 ## -------------------- ##
12927
12928 # Be more Bourne compatible
12929 DUALCASE=1; export DUALCASE # for MKS sh
12930 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12931   emulate sh
12932   NULLCMD=:
12933   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12934   # is contrary to our usage.  Disable this feature.
12935   alias -g '${1+"$@"}'='"$@"'
12936   setopt NO_GLOB_SUBST
12937 else
12938   case `(set -o) 2>/dev/null` in #(
12939   *posix*) :
12940     set -o posix ;; #(
12941   *) :
12942      ;;
12943 esac
12944 fi
12945
12946
12947 as_nl='
12948 '
12949 export as_nl
12950 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12951 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12952 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12953 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12954 # Prefer a ksh shell builtin over an external printf program on Solaris,
12955 # but without wasting forks for bash or zsh.
12956 if test -z "$BASH_VERSION$ZSH_VERSION" \
12957     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12958   as_echo='print -r --'
12959   as_echo_n='print -rn --'
12960 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12961   as_echo='printf %s\n'
12962   as_echo_n='printf %s'
12963 else
12964   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12965     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12966     as_echo_n='/usr/ucb/echo -n'
12967   else
12968     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12969     as_echo_n_body='eval
12970       arg=$1;
12971       case $arg in #(
12972       *"$as_nl"*)
12973         expr "X$arg" : "X\\(.*\\)$as_nl";
12974         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12975       esac;
12976       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12977     '
12978     export as_echo_n_body
12979     as_echo_n='sh -c $as_echo_n_body as_echo'
12980   fi
12981   export as_echo_body
12982   as_echo='sh -c $as_echo_body as_echo'
12983 fi
12984
12985 # The user is always right.
12986 if test "${PATH_SEPARATOR+set}" != set; then
12987   PATH_SEPARATOR=:
12988   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12989     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12990       PATH_SEPARATOR=';'
12991   }
12992 fi
12993
12994
12995 # IFS
12996 # We need space, tab and new line, in precisely that order.  Quoting is
12997 # there to prevent editors from complaining about space-tab.
12998 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12999 # splitting by setting IFS to empty value.)
13000 IFS=" ""        $as_nl"
13001
13002 # Find who we are.  Look in the path if we contain no directory separator.
13003 as_myself=
13004 case $0 in #((
13005   *[\\/]* ) as_myself=$0 ;;
13006   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13007 for as_dir in $PATH
13008 do
13009   IFS=$as_save_IFS
13010   test -z "$as_dir" && as_dir=.
13011     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13012   done
13013 IFS=$as_save_IFS
13014
13015      ;;
13016 esac
13017 # We did not find ourselves, most probably we were run as `sh COMMAND'
13018 # in which case we are not to be found in the path.
13019 if test "x$as_myself" = x; then
13020   as_myself=$0
13021 fi
13022 if test ! -f "$as_myself"; then
13023   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13024   exit 1
13025 fi
13026
13027 # Unset variables that we do not need and which cause bugs (e.g. in
13028 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13029 # suppresses any "Segmentation fault" message there.  '((' could
13030 # trigger a bug in pdksh 5.2.14.
13031 for as_var in BASH_ENV ENV MAIL MAILPATH
13032 do eval test x\${$as_var+set} = xset \
13033   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13034 done
13035 PS1='$ '
13036 PS2='> '
13037 PS4='+ '
13038
13039 # NLS nuisances.
13040 LC_ALL=C
13041 export LC_ALL
13042 LANGUAGE=C
13043 export LANGUAGE
13044
13045 # CDPATH.
13046 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13047
13048
13049 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13050 # ----------------------------------------
13051 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13052 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13053 # script with STATUS, using 1 if that was 0.
13054 as_fn_error ()
13055 {
13056   as_status=$1; test $as_status -eq 0 && as_status=1
13057   if test "$4"; then
13058     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13059     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13060   fi
13061   $as_echo "$as_me: error: $2" >&2
13062   as_fn_exit $as_status
13063 } # as_fn_error
13064
13065
13066 # as_fn_set_status STATUS
13067 # -----------------------
13068 # Set $? to STATUS, without forking.
13069 as_fn_set_status ()
13070 {
13071   return $1
13072 } # as_fn_set_status
13073
13074 # as_fn_exit STATUS
13075 # -----------------
13076 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13077 as_fn_exit ()
13078 {
13079   set +e
13080   as_fn_set_status $1
13081   exit $1
13082 } # as_fn_exit
13083
13084 # as_fn_unset VAR
13085 # ---------------
13086 # Portably unset VAR.
13087 as_fn_unset ()
13088 {
13089   { eval $1=; unset $1;}
13090 }
13091 as_unset=as_fn_unset
13092 # as_fn_append VAR VALUE
13093 # ----------------------
13094 # Append the text in VALUE to the end of the definition contained in VAR. Take
13095 # advantage of any shell optimizations that allow amortized linear growth over
13096 # repeated appends, instead of the typical quadratic growth present in naive
13097 # implementations.
13098 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13099   eval 'as_fn_append ()
13100   {
13101     eval $1+=\$2
13102   }'
13103 else
13104   as_fn_append ()
13105   {
13106     eval $1=\$$1\$2
13107   }
13108 fi # as_fn_append
13109
13110 # as_fn_arith ARG...
13111 # ------------------
13112 # Perform arithmetic evaluation on the ARGs, and store the result in the
13113 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13114 # must be portable across $(()) and expr.
13115 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13116   eval 'as_fn_arith ()
13117   {
13118     as_val=$(( $* ))
13119   }'
13120 else
13121   as_fn_arith ()
13122   {
13123     as_val=`expr "$@" || test $? -eq 1`
13124   }
13125 fi # as_fn_arith
13126
13127
13128 if expr a : '\(a\)' >/dev/null 2>&1 &&
13129    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13130   as_expr=expr
13131 else
13132   as_expr=false
13133 fi
13134
13135 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13136   as_basename=basename
13137 else
13138   as_basename=false
13139 fi
13140
13141 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13142   as_dirname=dirname
13143 else
13144   as_dirname=false
13145 fi
13146
13147 as_me=`$as_basename -- "$0" ||
13148 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13149          X"$0" : 'X\(//\)$' \| \
13150          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13151 $as_echo X/"$0" |
13152     sed '/^.*\/\([^/][^/]*\)\/*$/{
13153             s//\1/
13154             q
13155           }
13156           /^X\/\(\/\/\)$/{
13157             s//\1/
13158             q
13159           }
13160           /^X\/\(\/\).*/{
13161             s//\1/
13162             q
13163           }
13164           s/.*/./; q'`
13165
13166 # Avoid depending upon Character Ranges.
13167 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13168 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13169 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13170 as_cr_digits='0123456789'
13171 as_cr_alnum=$as_cr_Letters$as_cr_digits
13172
13173 ECHO_C= ECHO_N= ECHO_T=
13174 case `echo -n x` in #(((((
13175 -n*)
13176   case `echo 'xy\c'` in
13177   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13178   xy)  ECHO_C='\c';;
13179   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13180        ECHO_T=' ';;
13181   esac;;
13182 *)
13183   ECHO_N='-n';;
13184 esac
13185
13186 rm -f conf$$ conf$$.exe conf$$.file
13187 if test -d conf$$.dir; then
13188   rm -f conf$$.dir/conf$$.file
13189 else
13190   rm -f conf$$.dir
13191   mkdir conf$$.dir 2>/dev/null
13192 fi
13193 if (echo >conf$$.file) 2>/dev/null; then
13194   if ln -s conf$$.file conf$$ 2>/dev/null; then
13195     as_ln_s='ln -s'
13196     # ... but there are two gotchas:
13197     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13198     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13199     # In both cases, we have to default to `cp -p'.
13200     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13201       as_ln_s='cp -p'
13202   elif ln conf$$.file conf$$ 2>/dev/null; then
13203     as_ln_s=ln
13204   else
13205     as_ln_s='cp -p'
13206   fi
13207 else
13208   as_ln_s='cp -p'
13209 fi
13210 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13211 rmdir conf$$.dir 2>/dev/null
13212
13213
13214 # as_fn_mkdir_p
13215 # -------------
13216 # Create "$as_dir" as a directory, including parents if necessary.
13217 as_fn_mkdir_p ()
13218 {
13219
13220   case $as_dir in #(
13221   -*) as_dir=./$as_dir;;
13222   esac
13223   test -d "$as_dir" || eval $as_mkdir_p || {
13224     as_dirs=
13225     while :; do
13226       case $as_dir in #(
13227       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13228       *) as_qdir=$as_dir;;
13229       esac
13230       as_dirs="'$as_qdir' $as_dirs"
13231       as_dir=`$as_dirname -- "$as_dir" ||
13232 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13233          X"$as_dir" : 'X\(//\)[^/]' \| \
13234          X"$as_dir" : 'X\(//\)$' \| \
13235          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13236 $as_echo X"$as_dir" |
13237     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13238             s//\1/
13239             q
13240           }
13241           /^X\(\/\/\)[^/].*/{
13242             s//\1/
13243             q
13244           }
13245           /^X\(\/\/\)$/{
13246             s//\1/
13247             q
13248           }
13249           /^X\(\/\).*/{
13250             s//\1/
13251             q
13252           }
13253           s/.*/./; q'`
13254       test -d "$as_dir" && break
13255     done
13256     test -z "$as_dirs" || eval "mkdir $as_dirs"
13257   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13258
13259
13260 } # as_fn_mkdir_p
13261 if mkdir -p . 2>/dev/null; then
13262   as_mkdir_p='mkdir -p "$as_dir"'
13263 else
13264   test -d ./-p && rmdir ./-p
13265   as_mkdir_p=false
13266 fi
13267
13268 if test -x / >/dev/null 2>&1; then
13269   as_test_x='test -x'
13270 else
13271   if ls -dL / >/dev/null 2>&1; then
13272     as_ls_L_option=L
13273   else
13274     as_ls_L_option=
13275   fi
13276   as_test_x='
13277     eval sh -c '\''
13278       if test -d "$1"; then
13279         test -d "$1/.";
13280       else
13281         case $1 in #(
13282         -*)set "./$1";;
13283         esac;
13284         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13285         ???[sx]*):;;*)false;;esac;fi
13286     '\'' sh
13287   '
13288 fi
13289 as_executable_p=$as_test_x
13290
13291 # Sed expression to map a string onto a valid CPP name.
13292 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13293
13294 # Sed expression to map a string onto a valid variable name.
13295 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13296
13297
13298 exec 6>&1
13299 ## ----------------------------------- ##
13300 ## Main body of $CONFIG_STATUS script. ##
13301 ## ----------------------------------- ##
13302 _ASEOF
13303 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13304
13305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13306 # Save the log message, to keep $0 and so on meaningful, and to
13307 # report actual input values of CONFIG_FILES etc. instead of their
13308 # values after options handling.
13309 ac_log="
13310 This file was extended by gsignond $as_me 0.0.1, which was
13311 generated by GNU Autoconf 2.68.  Invocation command line was
13312
13313   CONFIG_FILES    = $CONFIG_FILES
13314   CONFIG_HEADERS  = $CONFIG_HEADERS
13315   CONFIG_LINKS    = $CONFIG_LINKS
13316   CONFIG_COMMANDS = $CONFIG_COMMANDS
13317   $ $0 $@
13318
13319 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13320 "
13321
13322 _ACEOF
13323
13324 case $ac_config_files in *"
13325 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13326 esac
13327
13328 case $ac_config_headers in *"
13329 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13330 esac
13331
13332
13333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13334 # Files that config.status was made for.
13335 config_files="$ac_config_files"
13336 config_headers="$ac_config_headers"
13337 config_commands="$ac_config_commands"
13338
13339 _ACEOF
13340
13341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13342 ac_cs_usage="\
13343 \`$as_me' instantiates files and other configuration actions
13344 from templates according to the current configuration.  Unless the files
13345 and actions are specified as TAGs, all are instantiated by default.
13346
13347 Usage: $0 [OPTION]... [TAG]...
13348
13349   -h, --help       print this help, then exit
13350   -V, --version    print version number and configuration settings, then exit
13351       --config     print configuration, then exit
13352   -q, --quiet, --silent
13353                    do not print progress messages
13354   -d, --debug      don't remove temporary files
13355       --recheck    update $as_me by reconfiguring in the same conditions
13356       --file=FILE[:TEMPLATE]
13357                    instantiate the configuration file FILE
13358       --header=FILE[:TEMPLATE]
13359                    instantiate the configuration header FILE
13360
13361 Configuration files:
13362 $config_files
13363
13364 Configuration headers:
13365 $config_headers
13366
13367 Configuration commands:
13368 $config_commands
13369
13370 Report bugs to the package provider.
13371 gsignond home page: <http://code.google.com/p/accounts-sso/>."
13372
13373 _ACEOF
13374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13375 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13376 ac_cs_version="\\
13377 gsignond config.status 0.0.1
13378 configured by $0, generated by GNU Autoconf 2.68,
13379   with options \\"\$ac_cs_config\\"
13380
13381 Copyright (C) 2010 Free Software Foundation, Inc.
13382 This config.status script is free software; the Free Software Foundation
13383 gives unlimited permission to copy, distribute and modify it."
13384
13385 ac_pwd='$ac_pwd'
13386 srcdir='$srcdir'
13387 INSTALL='$INSTALL'
13388 MKDIR_P='$MKDIR_P'
13389 AWK='$AWK'
13390 test -n "\$AWK" || AWK=awk
13391 _ACEOF
13392
13393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13394 # The default lists apply if the user does not specify any file.
13395 ac_need_defaults=:
13396 while test $# != 0
13397 do
13398   case $1 in
13399   --*=?*)
13400     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13401     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13402     ac_shift=:
13403     ;;
13404   --*=)
13405     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13406     ac_optarg=
13407     ac_shift=:
13408     ;;
13409   *)
13410     ac_option=$1
13411     ac_optarg=$2
13412     ac_shift=shift
13413     ;;
13414   esac
13415
13416   case $ac_option in
13417   # Handling of the options.
13418   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13419     ac_cs_recheck=: ;;
13420   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13421     $as_echo "$ac_cs_version"; exit ;;
13422   --config | --confi | --conf | --con | --co | --c )
13423     $as_echo "$ac_cs_config"; exit ;;
13424   --debug | --debu | --deb | --de | --d | -d )
13425     debug=: ;;
13426   --file | --fil | --fi | --f )
13427     $ac_shift
13428     case $ac_optarg in
13429     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13430     '') as_fn_error $? "missing file argument" ;;
13431     esac
13432     as_fn_append CONFIG_FILES " '$ac_optarg'"
13433     ac_need_defaults=false;;
13434   --header | --heade | --head | --hea )
13435     $ac_shift
13436     case $ac_optarg in
13437     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13438     esac
13439     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13440     ac_need_defaults=false;;
13441   --he | --h)
13442     # Conflict between --help and --header
13443     as_fn_error $? "ambiguous option: \`$1'
13444 Try \`$0 --help' for more information.";;
13445   --help | --hel | -h )
13446     $as_echo "$ac_cs_usage"; exit ;;
13447   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13448   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13449     ac_cs_silent=: ;;
13450
13451   # This is an error.
13452   -*) as_fn_error $? "unrecognized option: \`$1'
13453 Try \`$0 --help' for more information." ;;
13454
13455   *) as_fn_append ac_config_targets " $1"
13456      ac_need_defaults=false ;;
13457
13458   esac
13459   shift
13460 done
13461
13462 ac_configure_extra_args=
13463
13464 if $ac_cs_silent; then
13465   exec 6>/dev/null
13466   ac_configure_extra_args="$ac_configure_extra_args --silent"
13467 fi
13468
13469 _ACEOF
13470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13471 if \$ac_cs_recheck; then
13472   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13473   shift
13474   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13475   CONFIG_SHELL='$SHELL'
13476   export CONFIG_SHELL
13477   exec "\$@"
13478 fi
13479
13480 _ACEOF
13481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13482 exec 5>>config.log
13483 {
13484   echo
13485   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13486 ## Running $as_me. ##
13487 _ASBOX
13488   $as_echo "$ac_log"
13489 } >&5
13490
13491 _ACEOF
13492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13493 #
13494 # INIT-COMMANDS
13495 #
13496 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13497
13498
13499 # The HP-UX ksh and POSIX shell print the target directory to stdout
13500 # if CDPATH is set.
13501 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13502
13503 sed_quote_subst='$sed_quote_subst'
13504 double_quote_subst='$double_quote_subst'
13505 delay_variable_subst='$delay_variable_subst'
13506 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13507 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13508 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13509 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13510 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13511 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13512 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13513 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13514 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13515 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13516 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13517 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13518 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13519 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13520 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13521 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13522 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13523 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13524 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13525 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13526 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13527 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13528 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13529 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13530 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13531 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13532 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13533 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13534 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13535 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13536 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13537 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13538 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13539 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13540 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13541 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13542 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13543 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13544 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13545 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13546 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13547 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13548 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13549 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13550 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13551 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13552 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13553 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13554 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13555 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13556 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13557 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13558 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13559 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13560 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13561 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13562 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"`'
13563 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13564 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13565 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13566 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13567 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13568 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13569 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13570 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13571 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13572 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13573 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13574 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13575 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13576 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13577 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13578 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13579 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13580 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13581 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13582 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13583 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13584 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13585 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13586 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13587 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13588 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13589 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13590 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13591 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13592 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13593 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13594 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13595 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13596 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13597 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13598 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13599 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13600 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13601 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13602 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13603 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13604 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13605 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13606 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13607 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13608 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13609 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13610 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13611 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13612 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13613 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13614 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13615 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13616 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13617 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13618 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13619 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13620 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13621 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13622 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13623 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13624 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13625 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13626 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13627 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13628 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13629 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13630 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13631 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13632 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13633 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13634 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13635 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13636
13637 LTCC='$LTCC'
13638 LTCFLAGS='$LTCFLAGS'
13639 compiler='$compiler_DEFAULT'
13640
13641 # A function that is used when there is no print builtin or printf.
13642 func_fallback_echo ()
13643 {
13644   eval 'cat <<_LTECHO_EOF
13645 \$1
13646 _LTECHO_EOF'
13647 }
13648
13649 # Quote evaled strings.
13650 for var in SHELL \
13651 ECHO \
13652 PATH_SEPARATOR \
13653 SED \
13654 GREP \
13655 EGREP \
13656 FGREP \
13657 LD \
13658 NM \
13659 LN_S \
13660 lt_SP2NL \
13661 lt_NL2SP \
13662 reload_flag \
13663 OBJDUMP \
13664 deplibs_check_method \
13665 file_magic_cmd \
13666 file_magic_glob \
13667 want_nocaseglob \
13668 DLLTOOL \
13669 sharedlib_from_linklib_cmd \
13670 AR \
13671 AR_FLAGS \
13672 archiver_list_spec \
13673 STRIP \
13674 RANLIB \
13675 CC \
13676 CFLAGS \
13677 compiler \
13678 lt_cv_sys_global_symbol_pipe \
13679 lt_cv_sys_global_symbol_to_cdecl \
13680 lt_cv_sys_global_symbol_to_c_name_address \
13681 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13682 nm_file_list_spec \
13683 lt_prog_compiler_no_builtin_flag \
13684 lt_prog_compiler_pic \
13685 lt_prog_compiler_wl \
13686 lt_prog_compiler_static \
13687 lt_cv_prog_compiler_c_o \
13688 need_locks \
13689 MANIFEST_TOOL \
13690 DSYMUTIL \
13691 NMEDIT \
13692 LIPO \
13693 OTOOL \
13694 OTOOL64 \
13695 shrext_cmds \
13696 export_dynamic_flag_spec \
13697 whole_archive_flag_spec \
13698 compiler_needs_object \
13699 with_gnu_ld \
13700 allow_undefined_flag \
13701 no_undefined_flag \
13702 hardcode_libdir_flag_spec \
13703 hardcode_libdir_separator \
13704 exclude_expsyms \
13705 include_expsyms \
13706 file_list_spec \
13707 variables_saved_for_relink \
13708 libname_spec \
13709 library_names_spec \
13710 soname_spec \
13711 install_override_mode \
13712 finish_eval \
13713 old_striplib \
13714 striplib; do
13715     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13716     *[\\\\\\\`\\"\\\$]*)
13717       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13718       ;;
13719     *)
13720       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13721       ;;
13722     esac
13723 done
13724
13725 # Double-quote double-evaled strings.
13726 for var in reload_cmds \
13727 old_postinstall_cmds \
13728 old_postuninstall_cmds \
13729 old_archive_cmds \
13730 extract_expsyms_cmds \
13731 old_archive_from_new_cmds \
13732 old_archive_from_expsyms_cmds \
13733 archive_cmds \
13734 archive_expsym_cmds \
13735 module_cmds \
13736 module_expsym_cmds \
13737 export_symbols_cmds \
13738 prelink_cmds \
13739 postlink_cmds \
13740 postinstall_cmds \
13741 postuninstall_cmds \
13742 finish_cmds \
13743 sys_lib_search_path_spec \
13744 sys_lib_dlsearch_path_spec; do
13745     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13746     *[\\\\\\\`\\"\\\$]*)
13747       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13748       ;;
13749     *)
13750       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13751       ;;
13752     esac
13753 done
13754
13755 ac_aux_dir='$ac_aux_dir'
13756 xsi_shell='$xsi_shell'
13757 lt_shell_append='$lt_shell_append'
13758
13759 # See if we are running on zsh, and set the options which allow our
13760 # commands through without removal of \ escapes INIT.
13761 if test -n "\${ZSH_VERSION+set}" ; then
13762    setopt NO_GLOB_SUBST
13763 fi
13764
13765
13766     PACKAGE='$PACKAGE'
13767     VERSION='$VERSION'
13768     TIMESTAMP='$TIMESTAMP'
13769     RM='$RM'
13770     ofile='$ofile'
13771
13772
13773
13774
13775 _ACEOF
13776
13777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13778
13779 # Handling of arguments.
13780 for ac_config_target in $ac_config_targets
13781 do
13782   case $ac_config_target in
13783     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13784     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13785     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13786     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13787     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
13788     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
13789     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13790     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
13791     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
13792     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
13793     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
13794     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
13795     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
13796     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
13797     "src/daemon/plugins/plugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/plugind/Makefile" ;;
13798     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
13799     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
13800     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
13801     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
13802     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
13803     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
13804     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
13805     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13806     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
13807     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
13808     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
13809     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
13810     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
13811
13812   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13813   esac
13814 done
13815
13816
13817 # If the user did not use the arguments to specify the items to instantiate,
13818 # then the envvar interface is used.  Set only those that are not.
13819 # We use the long form for the default assignment because of an extremely
13820 # bizarre bug on SunOS 4.1.3.
13821 if $ac_need_defaults; then
13822   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13823   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13824   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13825 fi
13826
13827 # Have a temporary directory for convenience.  Make it in the build tree
13828 # simply because there is no reason against having it here, and in addition,
13829 # creating and moving files from /tmp can sometimes cause problems.
13830 # Hook for its removal unless debugging.
13831 # Note that there is a small window in which the directory will not be cleaned:
13832 # after its creation but before its name has been assigned to `$tmp'.
13833 $debug ||
13834 {
13835   tmp= ac_tmp=
13836   trap 'exit_status=$?
13837   : "${ac_tmp:=$tmp}"
13838   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13839 ' 0
13840   trap 'as_fn_exit 1' 1 2 13 15
13841 }
13842 # Create a (secure) tmp directory for tmp files.
13843
13844 {
13845   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13846   test -d "$tmp"
13847 }  ||
13848 {
13849   tmp=./conf$$-$RANDOM
13850   (umask 077 && mkdir "$tmp")
13851 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13852 ac_tmp=$tmp
13853
13854 # Set up the scripts for CONFIG_FILES section.
13855 # No need to generate them if there are no CONFIG_FILES.
13856 # This happens for instance with `./config.status config.h'.
13857 if test -n "$CONFIG_FILES"; then
13858
13859
13860 ac_cr=`echo X | tr X '\015'`
13861 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13862 # But we know of no other shell where ac_cr would be empty at this
13863 # point, so we can use a bashism as a fallback.
13864 if test "x$ac_cr" = x; then
13865   eval ac_cr=\$\'\\r\'
13866 fi
13867 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13868 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13869   ac_cs_awk_cr='\\r'
13870 else
13871   ac_cs_awk_cr=$ac_cr
13872 fi
13873
13874 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13875 _ACEOF
13876
13877
13878 {
13879   echo "cat >conf$$subs.awk <<_ACEOF" &&
13880   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13881   echo "_ACEOF"
13882 } >conf$$subs.sh ||
13883   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13884 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13885 ac_delim='%!_!# '
13886 for ac_last_try in false false false false false :; do
13887   . ./conf$$subs.sh ||
13888     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13889
13890   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13891   if test $ac_delim_n = $ac_delim_num; then
13892     break
13893   elif $ac_last_try; then
13894     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13895   else
13896     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13897   fi
13898 done
13899 rm -f conf$$subs.sh
13900
13901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13902 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13903 _ACEOF
13904 sed -n '
13905 h
13906 s/^/S["/; s/!.*/"]=/
13907 p
13908 g
13909 s/^[^!]*!//
13910 :repl
13911 t repl
13912 s/'"$ac_delim"'$//
13913 t delim
13914 :nl
13915 h
13916 s/\(.\{148\}\)..*/\1/
13917 t more1
13918 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13919 p
13920 n
13921 b repl
13922 :more1
13923 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13924 p
13925 g
13926 s/.\{148\}//
13927 t nl
13928 :delim
13929 h
13930 s/\(.\{148\}\)..*/\1/
13931 t more2
13932 s/["\\]/\\&/g; s/^/"/; s/$/"/
13933 p
13934 b
13935 :more2
13936 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13937 p
13938 g
13939 s/.\{148\}//
13940 t delim
13941 ' <conf$$subs.awk | sed '
13942 /^[^""]/{
13943   N
13944   s/\n//
13945 }
13946 ' >>$CONFIG_STATUS || ac_write_fail=1
13947 rm -f conf$$subs.awk
13948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13949 _ACAWK
13950 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13951   for (key in S) S_is_set[key] = 1
13952   FS = "\a"
13953
13954 }
13955 {
13956   line = $ 0
13957   nfields = split(line, field, "@")
13958   substed = 0
13959   len = length(field[1])
13960   for (i = 2; i < nfields; i++) {
13961     key = field[i]
13962     keylen = length(key)
13963     if (S_is_set[key]) {
13964       value = S[key]
13965       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13966       len += length(value) + length(field[++i])
13967       substed = 1
13968     } else
13969       len += 1 + keylen
13970   }
13971
13972   print line
13973 }
13974
13975 _ACAWK
13976 _ACEOF
13977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13978 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13979   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13980 else
13981   cat
13982 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13983   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13984 _ACEOF
13985
13986 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13987 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13988 # trailing colons and then remove the whole line if VPATH becomes empty
13989 # (actually we leave an empty line to preserve line numbers).
13990 if test "x$srcdir" = x.; then
13991   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13992 h
13993 s///
13994 s/^/:/
13995 s/[      ]*$/:/
13996 s/:\$(srcdir):/:/g
13997 s/:\${srcdir}:/:/g
13998 s/:@srcdir@:/:/g
13999 s/^:*//
14000 s/:*$//
14001 x
14002 s/\(=[   ]*\).*/\1/
14003 G
14004 s/\n//
14005 s/^[^=]*=[       ]*$//
14006 }'
14007 fi
14008
14009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14010 fi # test -n "$CONFIG_FILES"
14011
14012 # Set up the scripts for CONFIG_HEADERS section.
14013 # No need to generate them if there are no CONFIG_HEADERS.
14014 # This happens for instance with `./config.status Makefile'.
14015 if test -n "$CONFIG_HEADERS"; then
14016 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14017 BEGIN {
14018 _ACEOF
14019
14020 # Transform confdefs.h into an awk script `defines.awk', embedded as
14021 # here-document in config.status, that substitutes the proper values into
14022 # config.h.in to produce config.h.
14023
14024 # Create a delimiter string that does not exist in confdefs.h, to ease
14025 # handling of long lines.
14026 ac_delim='%!_!# '
14027 for ac_last_try in false false :; do
14028   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14029   if test -z "$ac_tt"; then
14030     break
14031   elif $ac_last_try; then
14032     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14033   else
14034     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14035   fi
14036 done
14037
14038 # For the awk script, D is an array of macro values keyed by name,
14039 # likewise P contains macro parameters if any.  Preserve backslash
14040 # newline sequences.
14041
14042 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14043 sed -n '
14044 s/.\{148\}/&'"$ac_delim"'/g
14045 t rset
14046 :rset
14047 s/^[     ]*#[    ]*define[       ][      ]*/ /
14048 t def
14049 d
14050 :def
14051 s/\\$//
14052 t bsnl
14053 s/["\\]/\\&/g
14054 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14055 D["\1"]=" \3"/p
14056 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14057 d
14058 :bsnl
14059 s/["\\]/\\&/g
14060 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14061 D["\1"]=" \3\\\\\\n"\\/p
14062 t cont
14063 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14064 t cont
14065 d
14066 :cont
14067 n
14068 s/.\{148\}/&'"$ac_delim"'/g
14069 t clear
14070 :clear
14071 s/\\$//
14072 t bsnlc
14073 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14074 d
14075 :bsnlc
14076 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14077 b cont
14078 ' <confdefs.h | sed '
14079 s/'"$ac_delim"'/"\\\
14080 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14081
14082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14083   for (key in D) D_is_set[key] = 1
14084   FS = "\a"
14085 }
14086 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14087   line = \$ 0
14088   split(line, arg, " ")
14089   if (arg[1] == "#") {
14090     defundef = arg[2]
14091     mac1 = arg[3]
14092   } else {
14093     defundef = substr(arg[1], 2)
14094     mac1 = arg[2]
14095   }
14096   split(mac1, mac2, "(") #)
14097   macro = mac2[1]
14098   prefix = substr(line, 1, index(line, defundef) - 1)
14099   if (D_is_set[macro]) {
14100     # Preserve the white space surrounding the "#".
14101     print prefix "define", macro P[macro] D[macro]
14102     next
14103   } else {
14104     # Replace #undef with comments.  This is necessary, for example,
14105     # in the case of _POSIX_SOURCE, which is predefined and required
14106     # on some systems where configure will not decide to define it.
14107     if (defundef == "undef") {
14108       print "/*", prefix defundef, macro, "*/"
14109       next
14110     }
14111   }
14112 }
14113 { print }
14114 _ACAWK
14115 _ACEOF
14116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14117   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14118 fi # test -n "$CONFIG_HEADERS"
14119
14120
14121 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14122 shift
14123 for ac_tag
14124 do
14125   case $ac_tag in
14126   :[FHLC]) ac_mode=$ac_tag; continue;;
14127   esac
14128   case $ac_mode$ac_tag in
14129   :[FHL]*:*);;
14130   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14131   :[FH]-) ac_tag=-:-;;
14132   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14133   esac
14134   ac_save_IFS=$IFS
14135   IFS=:
14136   set x $ac_tag
14137   IFS=$ac_save_IFS
14138   shift
14139   ac_file=$1
14140   shift
14141
14142   case $ac_mode in
14143   :L) ac_source=$1;;
14144   :[FH])
14145     ac_file_inputs=
14146     for ac_f
14147     do
14148       case $ac_f in
14149       -) ac_f="$ac_tmp/stdin";;
14150       *) # Look for the file first in the build tree, then in the source tree
14151          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14152          # because $ac_f cannot contain `:'.
14153          test -f "$ac_f" ||
14154            case $ac_f in
14155            [\\/$]*) false;;
14156            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14157            esac ||
14158            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14159       esac
14160       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14161       as_fn_append ac_file_inputs " '$ac_f'"
14162     done
14163
14164     # Let's still pretend it is `configure' which instantiates (i.e., don't
14165     # use $as_me), people would be surprised to read:
14166     #    /* config.h.  Generated by config.status.  */
14167     configure_input='Generated from '`
14168           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14169         `' by configure.'
14170     if test x"$ac_file" != x-; then
14171       configure_input="$ac_file.  $configure_input"
14172       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14173 $as_echo "$as_me: creating $ac_file" >&6;}
14174     fi
14175     # Neutralize special characters interpreted by sed in replacement strings.
14176     case $configure_input in #(
14177     *\&* | *\|* | *\\* )
14178        ac_sed_conf_input=`$as_echo "$configure_input" |
14179        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14180     *) ac_sed_conf_input=$configure_input;;
14181     esac
14182
14183     case $ac_tag in
14184     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14185       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14186     esac
14187     ;;
14188   esac
14189
14190   ac_dir=`$as_dirname -- "$ac_file" ||
14191 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14192          X"$ac_file" : 'X\(//\)[^/]' \| \
14193          X"$ac_file" : 'X\(//\)$' \| \
14194          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14195 $as_echo X"$ac_file" |
14196     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14197             s//\1/
14198             q
14199           }
14200           /^X\(\/\/\)[^/].*/{
14201             s//\1/
14202             q
14203           }
14204           /^X\(\/\/\)$/{
14205             s//\1/
14206             q
14207           }
14208           /^X\(\/\).*/{
14209             s//\1/
14210             q
14211           }
14212           s/.*/./; q'`
14213   as_dir="$ac_dir"; as_fn_mkdir_p
14214   ac_builddir=.
14215
14216 case "$ac_dir" in
14217 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14218 *)
14219   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14220   # A ".." for each directory in $ac_dir_suffix.
14221   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14222   case $ac_top_builddir_sub in
14223   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14224   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14225   esac ;;
14226 esac
14227 ac_abs_top_builddir=$ac_pwd
14228 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14229 # for backward compatibility:
14230 ac_top_builddir=$ac_top_build_prefix
14231
14232 case $srcdir in
14233   .)  # We are building in place.
14234     ac_srcdir=.
14235     ac_top_srcdir=$ac_top_builddir_sub
14236     ac_abs_top_srcdir=$ac_pwd ;;
14237   [\\/]* | ?:[\\/]* )  # Absolute name.
14238     ac_srcdir=$srcdir$ac_dir_suffix;
14239     ac_top_srcdir=$srcdir
14240     ac_abs_top_srcdir=$srcdir ;;
14241   *) # Relative name.
14242     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14243     ac_top_srcdir=$ac_top_build_prefix$srcdir
14244     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14245 esac
14246 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14247
14248
14249   case $ac_mode in
14250   :F)
14251   #
14252   # CONFIG_FILE
14253   #
14254
14255   case $INSTALL in
14256   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14257   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14258   esac
14259   ac_MKDIR_P=$MKDIR_P
14260   case $MKDIR_P in
14261   [\\/$]* | ?:[\\/]* ) ;;
14262   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14263   esac
14264 _ACEOF
14265
14266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14267 # If the template does not know about datarootdir, expand it.
14268 # FIXME: This hack should be removed a few years after 2.60.
14269 ac_datarootdir_hack=; ac_datarootdir_seen=
14270 ac_sed_dataroot='
14271 /datarootdir/ {
14272   p
14273   q
14274 }
14275 /@datadir@/p
14276 /@docdir@/p
14277 /@infodir@/p
14278 /@localedir@/p
14279 /@mandir@/p'
14280 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14281 *datarootdir*) ac_datarootdir_seen=yes;;
14282 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14283   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14284 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14285 _ACEOF
14286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14287   ac_datarootdir_hack='
14288   s&@datadir@&$datadir&g
14289   s&@docdir@&$docdir&g
14290   s&@infodir@&$infodir&g
14291   s&@localedir@&$localedir&g
14292   s&@mandir@&$mandir&g
14293   s&\\\${datarootdir}&$datarootdir&g' ;;
14294 esac
14295 _ACEOF
14296
14297 # Neutralize VPATH when `$srcdir' = `.'.
14298 # Shell code in configure.ac might set extrasub.
14299 # FIXME: do we really want to maintain this feature?
14300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14301 ac_sed_extra="$ac_vpsub
14302 $extrasub
14303 _ACEOF
14304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14305 :t
14306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14307 s|@configure_input@|$ac_sed_conf_input|;t t
14308 s&@top_builddir@&$ac_top_builddir_sub&;t t
14309 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14310 s&@srcdir@&$ac_srcdir&;t t
14311 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14312 s&@top_srcdir@&$ac_top_srcdir&;t t
14313 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14314 s&@builddir@&$ac_builddir&;t t
14315 s&@abs_builddir@&$ac_abs_builddir&;t t
14316 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14317 s&@INSTALL@&$ac_INSTALL&;t t
14318 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14319 $ac_datarootdir_hack
14320 "
14321 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14322   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14323
14324 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14325   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14326   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14327       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14328   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14329 which seems to be undefined.  Please make sure it is defined" >&5
14330 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14331 which seems to be undefined.  Please make sure it is defined" >&2;}
14332
14333   rm -f "$ac_tmp/stdin"
14334   case $ac_file in
14335   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14336   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14337   esac \
14338   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14339  ;;
14340   :H)
14341   #
14342   # CONFIG_HEADER
14343   #
14344   if test x"$ac_file" != x-; then
14345     {
14346       $as_echo "/* $configure_input  */" \
14347       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14348     } >"$ac_tmp/config.h" \
14349       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14350     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14351       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14352 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14353     else
14354       rm -f "$ac_file"
14355       mv "$ac_tmp/config.h" "$ac_file" \
14356         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14357     fi
14358   else
14359     $as_echo "/* $configure_input  */" \
14360       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14361       || as_fn_error $? "could not create -" "$LINENO" 5
14362   fi
14363 # Compute "$ac_file"'s index in $config_headers.
14364 _am_arg="$ac_file"
14365 _am_stamp_count=1
14366 for _am_header in $config_headers :; do
14367   case $_am_header in
14368     $_am_arg | $_am_arg:* )
14369       break ;;
14370     * )
14371       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14372   esac
14373 done
14374 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14375 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14376          X"$_am_arg" : 'X\(//\)[^/]' \| \
14377          X"$_am_arg" : 'X\(//\)$' \| \
14378          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14379 $as_echo X"$_am_arg" |
14380     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14381             s//\1/
14382             q
14383           }
14384           /^X\(\/\/\)[^/].*/{
14385             s//\1/
14386             q
14387           }
14388           /^X\(\/\/\)$/{
14389             s//\1/
14390             q
14391           }
14392           /^X\(\/\).*/{
14393             s//\1/
14394             q
14395           }
14396           s/.*/./; q'`/stamp-h$_am_stamp_count
14397  ;;
14398
14399   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14400 $as_echo "$as_me: executing $ac_file commands" >&6;}
14401  ;;
14402   esac
14403
14404
14405   case $ac_file$ac_mode in
14406     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14407   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14408   # are listed without --file.  Let's play safe and only enable the eval
14409   # if we detect the quoting.
14410   case $CONFIG_FILES in
14411   *\'*) eval set x "$CONFIG_FILES" ;;
14412   *)   set x $CONFIG_FILES ;;
14413   esac
14414   shift
14415   for mf
14416   do
14417     # Strip MF so we end up with the name of the file.
14418     mf=`echo "$mf" | sed -e 's/:.*$//'`
14419     # Check whether this is an Automake generated Makefile or not.
14420     # We used to match only the files named `Makefile.in', but
14421     # some people rename them; so instead we look at the file content.
14422     # Grep'ing the first line is not enough: some people post-process
14423     # each Makefile.in and add a new line on top of each file to say so.
14424     # Grep'ing the whole file is not good either: AIX grep has a line
14425     # limit of 2048, but all sed's we know have understand at least 4000.
14426     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14427       dirpart=`$as_dirname -- "$mf" ||
14428 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14429          X"$mf" : 'X\(//\)[^/]' \| \
14430          X"$mf" : 'X\(//\)$' \| \
14431          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14432 $as_echo X"$mf" |
14433     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14434             s//\1/
14435             q
14436           }
14437           /^X\(\/\/\)[^/].*/{
14438             s//\1/
14439             q
14440           }
14441           /^X\(\/\/\)$/{
14442             s//\1/
14443             q
14444           }
14445           /^X\(\/\).*/{
14446             s//\1/
14447             q
14448           }
14449           s/.*/./; q'`
14450     else
14451       continue
14452     fi
14453     # Extract the definition of DEPDIR, am__include, and am__quote
14454     # from the Makefile without running `make'.
14455     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14456     test -z "$DEPDIR" && continue
14457     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14458     test -z "am__include" && continue
14459     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14460     # When using ansi2knr, U may be empty or an underscore; expand it
14461     U=`sed -n 's/^U = //p' < "$mf"`
14462     # Find all dependency output files, they are included files with
14463     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14464     # simplest approach to changing $(DEPDIR) to its actual value in the
14465     # expansion.
14466     for file in `sed -n "
14467       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14468          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14469       # Make sure the directory exists.
14470       test -f "$dirpart/$file" && continue
14471       fdir=`$as_dirname -- "$file" ||
14472 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14473          X"$file" : 'X\(//\)[^/]' \| \
14474          X"$file" : 'X\(//\)$' \| \
14475          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14476 $as_echo X"$file" |
14477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14478             s//\1/
14479             q
14480           }
14481           /^X\(\/\/\)[^/].*/{
14482             s//\1/
14483             q
14484           }
14485           /^X\(\/\/\)$/{
14486             s//\1/
14487             q
14488           }
14489           /^X\(\/\).*/{
14490             s//\1/
14491             q
14492           }
14493           s/.*/./; q'`
14494       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14495       # echo "creating $dirpart/$file"
14496       echo '# dummy' > "$dirpart/$file"
14497     done
14498   done
14499 }
14500  ;;
14501     "libtool":C)
14502
14503     # See if we are running on zsh, and set the options which allow our
14504     # commands through without removal of \ escapes.
14505     if test -n "${ZSH_VERSION+set}" ; then
14506       setopt NO_GLOB_SUBST
14507     fi
14508
14509     cfgfile="${ofile}T"
14510     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14511     $RM "$cfgfile"
14512
14513     cat <<_LT_EOF >> "$cfgfile"
14514 #! $SHELL
14515
14516 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14517 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14518 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14519 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14520 #
14521 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14522 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14523 #                 Foundation, Inc.
14524 #   Written by Gordon Matzigkeit, 1996
14525 #
14526 #   This file is part of GNU Libtool.
14527 #
14528 # GNU Libtool is free software; you can redistribute it and/or
14529 # modify it under the terms of the GNU General Public License as
14530 # published by the Free Software Foundation; either version 2 of
14531 # the License, or (at your option) any later version.
14532 #
14533 # As a special exception to the GNU General Public License,
14534 # if you distribute this file as part of a program or library that
14535 # is built using GNU Libtool, you may include this file under the
14536 # same distribution terms that you use for the rest of that program.
14537 #
14538 # GNU Libtool is distributed in the hope that it will be useful,
14539 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14540 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14541 # GNU General Public License for more details.
14542 #
14543 # You should have received a copy of the GNU General Public License
14544 # along with GNU Libtool; see the file COPYING.  If not, a copy
14545 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14546 # obtained by writing to the Free Software Foundation, Inc.,
14547 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14548
14549
14550 # The names of the tagged configurations supported by this script.
14551 available_tags=""
14552
14553 # ### BEGIN LIBTOOL CONFIG
14554
14555 # Which release of libtool.m4 was used?
14556 macro_version=$macro_version
14557 macro_revision=$macro_revision
14558
14559 # Whether or not to build static libraries.
14560 build_old_libs=$enable_static
14561
14562 # Whether or not to build shared libraries.
14563 build_libtool_libs=$enable_shared
14564
14565 # What type of objects to build.
14566 pic_mode=$pic_mode
14567
14568 # Whether or not to optimize for fast installation.
14569 fast_install=$enable_fast_install
14570
14571 # Shell to use when invoking shell scripts.
14572 SHELL=$lt_SHELL
14573
14574 # An echo program that protects backslashes.
14575 ECHO=$lt_ECHO
14576
14577 # The PATH separator for the build system.
14578 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14579
14580 # The host system.
14581 host_alias=$host_alias
14582 host=$host
14583 host_os=$host_os
14584
14585 # The build system.
14586 build_alias=$build_alias
14587 build=$build
14588 build_os=$build_os
14589
14590 # A sed program that does not truncate output.
14591 SED=$lt_SED
14592
14593 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14594 Xsed="\$SED -e 1s/^X//"
14595
14596 # A grep program that handles long lines.
14597 GREP=$lt_GREP
14598
14599 # An ERE matcher.
14600 EGREP=$lt_EGREP
14601
14602 # A literal string matcher.
14603 FGREP=$lt_FGREP
14604
14605 # A BSD- or MS-compatible name lister.
14606 NM=$lt_NM
14607
14608 # Whether we need soft or hard links.
14609 LN_S=$lt_LN_S
14610
14611 # What is the maximum length of a command?
14612 max_cmd_len=$max_cmd_len
14613
14614 # Object file suffix (normally "o").
14615 objext=$ac_objext
14616
14617 # Executable file suffix (normally "").
14618 exeext=$exeext
14619
14620 # whether the shell understands "unset".
14621 lt_unset=$lt_unset
14622
14623 # turn spaces into newlines.
14624 SP2NL=$lt_lt_SP2NL
14625
14626 # turn newlines into spaces.
14627 NL2SP=$lt_lt_NL2SP
14628
14629 # convert \$build file names to \$host format.
14630 to_host_file_cmd=$lt_cv_to_host_file_cmd
14631
14632 # convert \$build files to toolchain format.
14633 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14634
14635 # An object symbol dumper.
14636 OBJDUMP=$lt_OBJDUMP
14637
14638 # Method to check whether dependent libraries are shared objects.
14639 deplibs_check_method=$lt_deplibs_check_method
14640
14641 # Command to use when deplibs_check_method = "file_magic".
14642 file_magic_cmd=$lt_file_magic_cmd
14643
14644 # How to find potential files when deplibs_check_method = "file_magic".
14645 file_magic_glob=$lt_file_magic_glob
14646
14647 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14648 want_nocaseglob=$lt_want_nocaseglob
14649
14650 # DLL creation program.
14651 DLLTOOL=$lt_DLLTOOL
14652
14653 # Command to associate shared and link libraries.
14654 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14655
14656 # The archiver.
14657 AR=$lt_AR
14658
14659 # Flags to create an archive.
14660 AR_FLAGS=$lt_AR_FLAGS
14661
14662 # How to feed a file listing to the archiver.
14663 archiver_list_spec=$lt_archiver_list_spec
14664
14665 # A symbol stripping program.
14666 STRIP=$lt_STRIP
14667
14668 # Commands used to install an old-style archive.
14669 RANLIB=$lt_RANLIB
14670 old_postinstall_cmds=$lt_old_postinstall_cmds
14671 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14672
14673 # Whether to use a lock for old archive extraction.
14674 lock_old_archive_extraction=$lock_old_archive_extraction
14675
14676 # A C compiler.
14677 LTCC=$lt_CC
14678
14679 # LTCC compiler flags.
14680 LTCFLAGS=$lt_CFLAGS
14681
14682 # Take the output of nm and produce a listing of raw symbols and C names.
14683 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14684
14685 # Transform the output of nm in a proper C declaration.
14686 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14687
14688 # Transform the output of nm in a C name address pair.
14689 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14690
14691 # Transform the output of nm in a C name address pair when lib prefix is needed.
14692 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14693
14694 # Specify filename containing input files for \$NM.
14695 nm_file_list_spec=$lt_nm_file_list_spec
14696
14697 # The root where to search for dependent libraries,and in which our libraries should be installed.
14698 lt_sysroot=$lt_sysroot
14699
14700 # The name of the directory that contains temporary libtool files.
14701 objdir=$objdir
14702
14703 # Used to examine libraries when file_magic_cmd begins with "file".
14704 MAGIC_CMD=$MAGIC_CMD
14705
14706 # Must we lock files when doing compilation?
14707 need_locks=$lt_need_locks
14708
14709 # Manifest tool.
14710 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14711
14712 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14713 DSYMUTIL=$lt_DSYMUTIL
14714
14715 # Tool to change global to local symbols on Mac OS X.
14716 NMEDIT=$lt_NMEDIT
14717
14718 # Tool to manipulate fat objects and archives on Mac OS X.
14719 LIPO=$lt_LIPO
14720
14721 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14722 OTOOL=$lt_OTOOL
14723
14724 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14725 OTOOL64=$lt_OTOOL64
14726
14727 # Old archive suffix (normally "a").
14728 libext=$libext
14729
14730 # Shared library suffix (normally ".so").
14731 shrext_cmds=$lt_shrext_cmds
14732
14733 # The commands to extract the exported symbol list from a shared archive.
14734 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14735
14736 # Variables whose values should be saved in libtool wrapper scripts and
14737 # restored at link time.
14738 variables_saved_for_relink=$lt_variables_saved_for_relink
14739
14740 # Do we need the "lib" prefix for modules?
14741 need_lib_prefix=$need_lib_prefix
14742
14743 # Do we need a version for libraries?
14744 need_version=$need_version
14745
14746 # Library versioning type.
14747 version_type=$version_type
14748
14749 # Shared library runtime path variable.
14750 runpath_var=$runpath_var
14751
14752 # Shared library path variable.
14753 shlibpath_var=$shlibpath_var
14754
14755 # Is shlibpath searched before the hard-coded library search path?
14756 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14757
14758 # Format of library name prefix.
14759 libname_spec=$lt_libname_spec
14760
14761 # List of archive names.  First name is the real one, the rest are links.
14762 # The last name is the one that the linker finds with -lNAME
14763 library_names_spec=$lt_library_names_spec
14764
14765 # The coded name of the library, if different from the real name.
14766 soname_spec=$lt_soname_spec
14767
14768 # Permission mode override for installation of shared libraries.
14769 install_override_mode=$lt_install_override_mode
14770
14771 # Command to use after installation of a shared archive.
14772 postinstall_cmds=$lt_postinstall_cmds
14773
14774 # Command to use after uninstallation of a shared archive.
14775 postuninstall_cmds=$lt_postuninstall_cmds
14776
14777 # Commands used to finish a libtool library installation in a directory.
14778 finish_cmds=$lt_finish_cmds
14779
14780 # As "finish_cmds", except a single script fragment to be evaled but
14781 # not shown.
14782 finish_eval=$lt_finish_eval
14783
14784 # Whether we should hardcode library paths into libraries.
14785 hardcode_into_libs=$hardcode_into_libs
14786
14787 # Compile-time system search path for libraries.
14788 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14789
14790 # Run-time system search path for libraries.
14791 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14792
14793 # Whether dlopen is supported.
14794 dlopen_support=$enable_dlopen
14795
14796 # Whether dlopen of programs is supported.
14797 dlopen_self=$enable_dlopen_self
14798
14799 # Whether dlopen of statically linked programs is supported.
14800 dlopen_self_static=$enable_dlopen_self_static
14801
14802 # Commands to strip libraries.
14803 old_striplib=$lt_old_striplib
14804 striplib=$lt_striplib
14805
14806
14807 # The linker used to build libraries.
14808 LD=$lt_LD
14809
14810 # How to create reloadable object files.
14811 reload_flag=$lt_reload_flag
14812 reload_cmds=$lt_reload_cmds
14813
14814 # Commands used to build an old-style archive.
14815 old_archive_cmds=$lt_old_archive_cmds
14816
14817 # A language specific compiler.
14818 CC=$lt_compiler
14819
14820 # Is the compiler the GNU compiler?
14821 with_gcc=$GCC
14822
14823 # Compiler flag to turn off builtin functions.
14824 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14825
14826 # Additional compiler flags for building library objects.
14827 pic_flag=$lt_lt_prog_compiler_pic
14828
14829 # How to pass a linker flag through the compiler.
14830 wl=$lt_lt_prog_compiler_wl
14831
14832 # Compiler flag to prevent dynamic linking.
14833 link_static_flag=$lt_lt_prog_compiler_static
14834
14835 # Does compiler simultaneously support -c and -o options?
14836 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14837
14838 # Whether or not to add -lc for building shared libraries.
14839 build_libtool_need_lc=$archive_cmds_need_lc
14840
14841 # Whether or not to disallow shared libs when runtime libs are static.
14842 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14843
14844 # Compiler flag to allow reflexive dlopens.
14845 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14846
14847 # Compiler flag to generate shared objects directly from archives.
14848 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14849
14850 # Whether the compiler copes with passing no objects directly.
14851 compiler_needs_object=$lt_compiler_needs_object
14852
14853 # Create an old-style archive from a shared archive.
14854 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14855
14856 # Create a temporary old-style archive to link instead of a shared archive.
14857 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14858
14859 # Commands used to build a shared archive.
14860 archive_cmds=$lt_archive_cmds
14861 archive_expsym_cmds=$lt_archive_expsym_cmds
14862
14863 # Commands used to build a loadable module if different from building
14864 # a shared archive.
14865 module_cmds=$lt_module_cmds
14866 module_expsym_cmds=$lt_module_expsym_cmds
14867
14868 # Whether we are building with GNU ld or not.
14869 with_gnu_ld=$lt_with_gnu_ld
14870
14871 # Flag that allows shared libraries with undefined symbols to be built.
14872 allow_undefined_flag=$lt_allow_undefined_flag
14873
14874 # Flag that enforces no undefined symbols.
14875 no_undefined_flag=$lt_no_undefined_flag
14876
14877 # Flag to hardcode \$libdir into a binary during linking.
14878 # This must work even if \$libdir does not exist
14879 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14880
14881 # Whether we need a single "-rpath" flag with a separated argument.
14882 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14883
14884 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14885 # DIR into the resulting binary.
14886 hardcode_direct=$hardcode_direct
14887
14888 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14889 # DIR into the resulting binary and the resulting library dependency is
14890 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14891 # library is relocated.
14892 hardcode_direct_absolute=$hardcode_direct_absolute
14893
14894 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14895 # into the resulting binary.
14896 hardcode_minus_L=$hardcode_minus_L
14897
14898 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14899 # into the resulting binary.
14900 hardcode_shlibpath_var=$hardcode_shlibpath_var
14901
14902 # Set to "yes" if building a shared library automatically hardcodes DIR
14903 # into the library and all subsequent libraries and executables linked
14904 # against it.
14905 hardcode_automatic=$hardcode_automatic
14906
14907 # Set to yes if linker adds runtime paths of dependent libraries
14908 # to runtime path list.
14909 inherit_rpath=$inherit_rpath
14910
14911 # Whether libtool must link a program against all its dependency libraries.
14912 link_all_deplibs=$link_all_deplibs
14913
14914 # Set to "yes" if exported symbols are required.
14915 always_export_symbols=$always_export_symbols
14916
14917 # The commands to list exported symbols.
14918 export_symbols_cmds=$lt_export_symbols_cmds
14919
14920 # Symbols that should not be listed in the preloaded symbols.
14921 exclude_expsyms=$lt_exclude_expsyms
14922
14923 # Symbols that must always be exported.
14924 include_expsyms=$lt_include_expsyms
14925
14926 # Commands necessary for linking programs (against libraries) with templates.
14927 prelink_cmds=$lt_prelink_cmds
14928
14929 # Commands necessary for finishing linking programs.
14930 postlink_cmds=$lt_postlink_cmds
14931
14932 # Specify filename containing input files.
14933 file_list_spec=$lt_file_list_spec
14934
14935 # How to hardcode a shared library path into an executable.
14936 hardcode_action=$hardcode_action
14937
14938 # ### END LIBTOOL CONFIG
14939
14940 _LT_EOF
14941
14942   case $host_os in
14943   aix3*)
14944     cat <<\_LT_EOF >> "$cfgfile"
14945 # AIX sometimes has problems with the GCC collect2 program.  For some
14946 # reason, if we set the COLLECT_NAMES environment variable, the problems
14947 # vanish in a puff of smoke.
14948 if test "X${COLLECT_NAMES+set}" != Xset; then
14949   COLLECT_NAMES=
14950   export COLLECT_NAMES
14951 fi
14952 _LT_EOF
14953     ;;
14954   esac
14955
14956
14957 ltmain="$ac_aux_dir/ltmain.sh"
14958
14959
14960   # We use sed instead of cat because bash on DJGPP gets confused if
14961   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14962   # text mode, it properly converts lines to CR/LF.  This bash problem
14963   # is reportedly fixed, but why not run on old versions too?
14964   sed '$q' "$ltmain" >> "$cfgfile" \
14965      || (rm -f "$cfgfile"; exit 1)
14966
14967   if test x"$xsi_shell" = xyes; then
14968   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14969 func_dirname ()\
14970 {\
14971 \    case ${1} in\
14972 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14973 \      *  ) func_dirname_result="${3}" ;;\
14974 \    esac\
14975 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14976   && mv -f "$cfgfile.tmp" "$cfgfile" \
14977     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14978 test 0 -eq $? || _lt_function_replace_fail=:
14979
14980
14981   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14982 func_basename ()\
14983 {\
14984 \    func_basename_result="${1##*/}"\
14985 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14986   && mv -f "$cfgfile.tmp" "$cfgfile" \
14987     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14988 test 0 -eq $? || _lt_function_replace_fail=:
14989
14990
14991   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14992 func_dirname_and_basename ()\
14993 {\
14994 \    case ${1} in\
14995 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14996 \      *  ) func_dirname_result="${3}" ;;\
14997 \    esac\
14998 \    func_basename_result="${1##*/}"\
14999 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15000   && mv -f "$cfgfile.tmp" "$cfgfile" \
15001     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15002 test 0 -eq $? || _lt_function_replace_fail=:
15003
15004
15005   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15006 func_stripname ()\
15007 {\
15008 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15009 \    # positional parameters, so assign one to ordinary parameter first.\
15010 \    func_stripname_result=${3}\
15011 \    func_stripname_result=${func_stripname_result#"${1}"}\
15012 \    func_stripname_result=${func_stripname_result%"${2}"}\
15013 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15014   && mv -f "$cfgfile.tmp" "$cfgfile" \
15015     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15016 test 0 -eq $? || _lt_function_replace_fail=:
15017
15018
15019   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15020 func_split_long_opt ()\
15021 {\
15022 \    func_split_long_opt_name=${1%%=*}\
15023 \    func_split_long_opt_arg=${1#*=}\
15024 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15025   && mv -f "$cfgfile.tmp" "$cfgfile" \
15026     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15027 test 0 -eq $? || _lt_function_replace_fail=:
15028
15029
15030   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15031 func_split_short_opt ()\
15032 {\
15033 \    func_split_short_opt_arg=${1#??}\
15034 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15035 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15036   && mv -f "$cfgfile.tmp" "$cfgfile" \
15037     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15038 test 0 -eq $? || _lt_function_replace_fail=:
15039
15040
15041   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15042 func_lo2o ()\
15043 {\
15044 \    case ${1} in\
15045 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15046 \      *)    func_lo2o_result=${1} ;;\
15047 \    esac\
15048 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15049   && mv -f "$cfgfile.tmp" "$cfgfile" \
15050     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15051 test 0 -eq $? || _lt_function_replace_fail=:
15052
15053
15054   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15055 func_xform ()\
15056 {\
15057     func_xform_result=${1%.*}.lo\
15058 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15059   && mv -f "$cfgfile.tmp" "$cfgfile" \
15060     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15061 test 0 -eq $? || _lt_function_replace_fail=:
15062
15063
15064   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15065 func_arith ()\
15066 {\
15067     func_arith_result=$(( $* ))\
15068 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15069   && mv -f "$cfgfile.tmp" "$cfgfile" \
15070     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15071 test 0 -eq $? || _lt_function_replace_fail=:
15072
15073
15074   sed -e '/^func_len ()$/,/^} # func_len /c\
15075 func_len ()\
15076 {\
15077     func_len_result=${#1}\
15078 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15079   && mv -f "$cfgfile.tmp" "$cfgfile" \
15080     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15081 test 0 -eq $? || _lt_function_replace_fail=:
15082
15083 fi
15084
15085 if test x"$lt_shell_append" = xyes; then
15086   sed -e '/^func_append ()$/,/^} # func_append /c\
15087 func_append ()\
15088 {\
15089     eval "${1}+=\\${2}"\
15090 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15091   && mv -f "$cfgfile.tmp" "$cfgfile" \
15092     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15093 test 0 -eq $? || _lt_function_replace_fail=:
15094
15095
15096   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15097 func_append_quoted ()\
15098 {\
15099 \    func_quote_for_eval "${2}"\
15100 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15101 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15102   && mv -f "$cfgfile.tmp" "$cfgfile" \
15103     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15104 test 0 -eq $? || _lt_function_replace_fail=:
15105
15106
15107   # Save a `func_append' function call where possible by direct use of '+='
15108   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15109     && mv -f "$cfgfile.tmp" "$cfgfile" \
15110       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15111   test 0 -eq $? || _lt_function_replace_fail=:
15112 else
15113   # Save a `func_append' function call even when '+=' is not available
15114   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15115     && mv -f "$cfgfile.tmp" "$cfgfile" \
15116       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15117   test 0 -eq $? || _lt_function_replace_fail=:
15118 fi
15119
15120 if test x"$_lt_function_replace_fail" = x":"; then
15121   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15122 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15123 fi
15124
15125
15126    mv -f "$cfgfile" "$ofile" ||
15127     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15128   chmod +x "$ofile"
15129
15130  ;;
15131
15132   esac
15133 done # for ac_tag
15134
15135
15136 as_fn_exit 0
15137 _ACEOF
15138 ac_clean_files=$ac_clean_files_save
15139
15140 test $ac_write_fail = 0 ||
15141   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15142
15143
15144 # configure is writing to config.log, and then calls config.status.
15145 # config.status does its own redirection, appending to config.log.
15146 # Unfortunately, on DOS this fails, as config.log is still kept open
15147 # by configure, so config.status won't be able to write to it; its
15148 # output is simply discarded.  So we exec the FD to /dev/null,
15149 # effectively closing config.log, so it can be properly (re)opened and
15150 # appended to by config.status.  When coming back to configure, we
15151 # need to make the FD available again.
15152 if test "$no_create" != yes; then
15153   ac_cs_success=:
15154   ac_config_status_args=
15155   test "$silent" = yes &&
15156     ac_config_status_args="$ac_config_status_args --quiet"
15157   exec 5>/dev/null
15158   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15159   exec 5>>config.log
15160   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15161   # would make configure fail if this is the last instruction.
15162   $ac_cs_success || as_fn_exit 1
15163 fi
15164 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15165   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15166 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15167 fi
15168
15169
15170 if test x$enable_dbus_type != xp2p; then
15171     ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15172
15173 cat >confcache <<\_ACEOF
15174 # This file is a shell script that caches the results of configure
15175 # tests run on this system so they can be shared between configure
15176 # scripts and configure runs, see configure's option --config-cache.
15177 # It is not useful on other systems.  If it contains results you don't
15178 # want to keep, you may remove or edit it.
15179 #
15180 # config.status only pays attention to the cache file if you give it
15181 # the --recheck option to rerun configure.
15182 #
15183 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15184 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15185 # following values.
15186
15187 _ACEOF
15188
15189 # The following way of writing the cache mishandles newlines in values,
15190 # but we know of no workaround that is simple, portable, and efficient.
15191 # So, we kill variables containing newlines.
15192 # Ultrix sh set writes to stderr and can't be redirected directly,
15193 # and sets the high bit in the cache file unless we assign to the vars.
15194 (
15195   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15196     eval ac_val=\$$ac_var
15197     case $ac_val in #(
15198     *${as_nl}*)
15199       case $ac_var in #(
15200       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15201 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15202       esac
15203       case $ac_var in #(
15204       _ | IFS | as_nl) ;; #(
15205       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15206       *) { eval $ac_var=; unset $ac_var;} ;;
15207       esac ;;
15208     esac
15209   done
15210
15211   (set) 2>&1 |
15212     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15213     *${as_nl}ac_space=\ *)
15214       # `set' does not quote correctly, so add quotes: double-quote
15215       # substitution turns \\\\ into \\, and sed turns \\ into \.
15216       sed -n \
15217         "s/'/'\\\\''/g;
15218           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15219       ;; #(
15220     *)
15221       # `set' quotes correctly as required by POSIX, so do not add quotes.
15222       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15223       ;;
15224     esac |
15225     sort
15226 ) |
15227   sed '
15228      /^ac_cv_env_/b end
15229      t clear
15230      :clear
15231      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15232      t end
15233      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15234      :end' >>confcache
15235 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15236   if test -w "$cache_file"; then
15237     if test "x$cache_file" != "x/dev/null"; then
15238       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15239 $as_echo "$as_me: updating cache $cache_file" >&6;}
15240       if test ! -f "$cache_file" || test -h "$cache_file"; then
15241         cat confcache >"$cache_file"
15242       else
15243         case $cache_file in #(
15244         */* | ?:*)
15245           mv -f confcache "$cache_file"$$ &&
15246           mv -f "$cache_file"$$ "$cache_file" ;; #(
15247         *)
15248           mv -f confcache "$cache_file" ;;
15249         esac
15250       fi
15251     fi
15252   else
15253     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15254 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15255   fi
15256 fi
15257 rm -f confcache
15258
15259 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15260 # Let make expand exec_prefix.
15261 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15262
15263 DEFS=-DHAVE_CONFIG_H
15264
15265 ac_libobjs=
15266 ac_ltlibobjs=
15267 U=
15268 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15269   # 1. Remove the extension, and $U if already installed.
15270   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15271   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15272   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15273   #    will be set to the directory where LIBOBJS objects are built.
15274   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15275   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15276 done
15277 LIBOBJS=$ac_libobjs
15278
15279 LTLIBOBJS=$ac_ltlibobjs
15280
15281
15282  if test -n "$EXEEXT"; then
15283   am__EXEEXT_TRUE=
15284   am__EXEEXT_FALSE='#'
15285 else
15286   am__EXEEXT_TRUE='#'
15287   am__EXEEXT_FALSE=
15288 fi
15289
15290 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15291   as_fn_error $? "conditional \"AMDEP\" was never defined.
15292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15293 fi
15294 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15295   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15297 fi
15298 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15299   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15301 fi
15302 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15303   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15305 fi
15306 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15307   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15309 fi
15310 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15311   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15313 fi
15314 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15315   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15317 fi
15318 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15319   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15321 fi
15322 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15323   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15325 fi
15326 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15327   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15329 fi
15330 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15331   as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15333 fi
15334
15335 : "${CONFIG_STATUS=./config.status}"
15336 ac_write_fail=0
15337 ac_clean_files_save=$ac_clean_files
15338 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15340 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15341 as_write_fail=0
15342 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15343 #! $SHELL
15344 # Generated by $as_me.
15345 # Run this file to recreate the current configuration.
15346 # Compiler output produced by configure, useful for debugging
15347 # configure, is in config.log if it exists.
15348
15349 debug=false
15350 ac_cs_recheck=false
15351 ac_cs_silent=false
15352
15353 SHELL=\${CONFIG_SHELL-$SHELL}
15354 export SHELL
15355 _ASEOF
15356 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15357 ## -------------------- ##
15358 ## M4sh Initialization. ##
15359 ## -------------------- ##
15360
15361 # Be more Bourne compatible
15362 DUALCASE=1; export DUALCASE # for MKS sh
15363 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15364   emulate sh
15365   NULLCMD=:
15366   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15367   # is contrary to our usage.  Disable this feature.
15368   alias -g '${1+"$@"}'='"$@"'
15369   setopt NO_GLOB_SUBST
15370 else
15371   case `(set -o) 2>/dev/null` in #(
15372   *posix*) :
15373     set -o posix ;; #(
15374   *) :
15375      ;;
15376 esac
15377 fi
15378
15379
15380 as_nl='
15381 '
15382 export as_nl
15383 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15384 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15387 # Prefer a ksh shell builtin over an external printf program on Solaris,
15388 # but without wasting forks for bash or zsh.
15389 if test -z "$BASH_VERSION$ZSH_VERSION" \
15390     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15391   as_echo='print -r --'
15392   as_echo_n='print -rn --'
15393 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15394   as_echo='printf %s\n'
15395   as_echo_n='printf %s'
15396 else
15397   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15398     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15399     as_echo_n='/usr/ucb/echo -n'
15400   else
15401     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15402     as_echo_n_body='eval
15403       arg=$1;
15404       case $arg in #(
15405       *"$as_nl"*)
15406         expr "X$arg" : "X\\(.*\\)$as_nl";
15407         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15408       esac;
15409       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15410     '
15411     export as_echo_n_body
15412     as_echo_n='sh -c $as_echo_n_body as_echo'
15413   fi
15414   export as_echo_body
15415   as_echo='sh -c $as_echo_body as_echo'
15416 fi
15417
15418 # The user is always right.
15419 if test "${PATH_SEPARATOR+set}" != set; then
15420   PATH_SEPARATOR=:
15421   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15422     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15423       PATH_SEPARATOR=';'
15424   }
15425 fi
15426
15427
15428 # IFS
15429 # We need space, tab and new line, in precisely that order.  Quoting is
15430 # there to prevent editors from complaining about space-tab.
15431 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15432 # splitting by setting IFS to empty value.)
15433 IFS=" ""        $as_nl"
15434
15435 # Find who we are.  Look in the path if we contain no directory separator.
15436 as_myself=
15437 case $0 in #((
15438   *[\\/]* ) as_myself=$0 ;;
15439   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15440 for as_dir in $PATH
15441 do
15442   IFS=$as_save_IFS
15443   test -z "$as_dir" && as_dir=.
15444     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15445   done
15446 IFS=$as_save_IFS
15447
15448      ;;
15449 esac
15450 # We did not find ourselves, most probably we were run as `sh COMMAND'
15451 # in which case we are not to be found in the path.
15452 if test "x$as_myself" = x; then
15453   as_myself=$0
15454 fi
15455 if test ! -f "$as_myself"; then
15456   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15457   exit 1
15458 fi
15459
15460 # Unset variables that we do not need and which cause bugs (e.g. in
15461 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15462 # suppresses any "Segmentation fault" message there.  '((' could
15463 # trigger a bug in pdksh 5.2.14.
15464 for as_var in BASH_ENV ENV MAIL MAILPATH
15465 do eval test x\${$as_var+set} = xset \
15466   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15467 done
15468 PS1='$ '
15469 PS2='> '
15470 PS4='+ '
15471
15472 # NLS nuisances.
15473 LC_ALL=C
15474 export LC_ALL
15475 LANGUAGE=C
15476 export LANGUAGE
15477
15478 # CDPATH.
15479 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15480
15481
15482 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15483 # ----------------------------------------
15484 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15485 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15486 # script with STATUS, using 1 if that was 0.
15487 as_fn_error ()
15488 {
15489   as_status=$1; test $as_status -eq 0 && as_status=1
15490   if test "$4"; then
15491     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15492     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15493   fi
15494   $as_echo "$as_me: error: $2" >&2
15495   as_fn_exit $as_status
15496 } # as_fn_error
15497
15498
15499 # as_fn_set_status STATUS
15500 # -----------------------
15501 # Set $? to STATUS, without forking.
15502 as_fn_set_status ()
15503 {
15504   return $1
15505 } # as_fn_set_status
15506
15507 # as_fn_exit STATUS
15508 # -----------------
15509 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15510 as_fn_exit ()
15511 {
15512   set +e
15513   as_fn_set_status $1
15514   exit $1
15515 } # as_fn_exit
15516
15517 # as_fn_unset VAR
15518 # ---------------
15519 # Portably unset VAR.
15520 as_fn_unset ()
15521 {
15522   { eval $1=; unset $1;}
15523 }
15524 as_unset=as_fn_unset
15525 # as_fn_append VAR VALUE
15526 # ----------------------
15527 # Append the text in VALUE to the end of the definition contained in VAR. Take
15528 # advantage of any shell optimizations that allow amortized linear growth over
15529 # repeated appends, instead of the typical quadratic growth present in naive
15530 # implementations.
15531 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15532   eval 'as_fn_append ()
15533   {
15534     eval $1+=\$2
15535   }'
15536 else
15537   as_fn_append ()
15538   {
15539     eval $1=\$$1\$2
15540   }
15541 fi # as_fn_append
15542
15543 # as_fn_arith ARG...
15544 # ------------------
15545 # Perform arithmetic evaluation on the ARGs, and store the result in the
15546 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15547 # must be portable across $(()) and expr.
15548 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15549   eval 'as_fn_arith ()
15550   {
15551     as_val=$(( $* ))
15552   }'
15553 else
15554   as_fn_arith ()
15555   {
15556     as_val=`expr "$@" || test $? -eq 1`
15557   }
15558 fi # as_fn_arith
15559
15560
15561 if expr a : '\(a\)' >/dev/null 2>&1 &&
15562    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15563   as_expr=expr
15564 else
15565   as_expr=false
15566 fi
15567
15568 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15569   as_basename=basename
15570 else
15571   as_basename=false
15572 fi
15573
15574 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15575   as_dirname=dirname
15576 else
15577   as_dirname=false
15578 fi
15579
15580 as_me=`$as_basename -- "$0" ||
15581 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15582          X"$0" : 'X\(//\)$' \| \
15583          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15584 $as_echo X/"$0" |
15585     sed '/^.*\/\([^/][^/]*\)\/*$/{
15586             s//\1/
15587             q
15588           }
15589           /^X\/\(\/\/\)$/{
15590             s//\1/
15591             q
15592           }
15593           /^X\/\(\/\).*/{
15594             s//\1/
15595             q
15596           }
15597           s/.*/./; q'`
15598
15599 # Avoid depending upon Character Ranges.
15600 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15603 as_cr_digits='0123456789'
15604 as_cr_alnum=$as_cr_Letters$as_cr_digits
15605
15606 ECHO_C= ECHO_N= ECHO_T=
15607 case `echo -n x` in #(((((
15608 -n*)
15609   case `echo 'xy\c'` in
15610   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15611   xy)  ECHO_C='\c';;
15612   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15613        ECHO_T=' ';;
15614   esac;;
15615 *)
15616   ECHO_N='-n';;
15617 esac
15618
15619 rm -f conf$$ conf$$.exe conf$$.file
15620 if test -d conf$$.dir; then
15621   rm -f conf$$.dir/conf$$.file
15622 else
15623   rm -f conf$$.dir
15624   mkdir conf$$.dir 2>/dev/null
15625 fi
15626 if (echo >conf$$.file) 2>/dev/null; then
15627   if ln -s conf$$.file conf$$ 2>/dev/null; then
15628     as_ln_s='ln -s'
15629     # ... but there are two gotchas:
15630     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15631     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15632     # In both cases, we have to default to `cp -p'.
15633     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15634       as_ln_s='cp -p'
15635   elif ln conf$$.file conf$$ 2>/dev/null; then
15636     as_ln_s=ln
15637   else
15638     as_ln_s='cp -p'
15639   fi
15640 else
15641   as_ln_s='cp -p'
15642 fi
15643 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15644 rmdir conf$$.dir 2>/dev/null
15645
15646
15647 # as_fn_mkdir_p
15648 # -------------
15649 # Create "$as_dir" as a directory, including parents if necessary.
15650 as_fn_mkdir_p ()
15651 {
15652
15653   case $as_dir in #(
15654   -*) as_dir=./$as_dir;;
15655   esac
15656   test -d "$as_dir" || eval $as_mkdir_p || {
15657     as_dirs=
15658     while :; do
15659       case $as_dir in #(
15660       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15661       *) as_qdir=$as_dir;;
15662       esac
15663       as_dirs="'$as_qdir' $as_dirs"
15664       as_dir=`$as_dirname -- "$as_dir" ||
15665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15666          X"$as_dir" : 'X\(//\)[^/]' \| \
15667          X"$as_dir" : 'X\(//\)$' \| \
15668          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15669 $as_echo X"$as_dir" |
15670     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15671             s//\1/
15672             q
15673           }
15674           /^X\(\/\/\)[^/].*/{
15675             s//\1/
15676             q
15677           }
15678           /^X\(\/\/\)$/{
15679             s//\1/
15680             q
15681           }
15682           /^X\(\/\).*/{
15683             s//\1/
15684             q
15685           }
15686           s/.*/./; q'`
15687       test -d "$as_dir" && break
15688     done
15689     test -z "$as_dirs" || eval "mkdir $as_dirs"
15690   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15691
15692
15693 } # as_fn_mkdir_p
15694 if mkdir -p . 2>/dev/null; then
15695   as_mkdir_p='mkdir -p "$as_dir"'
15696 else
15697   test -d ./-p && rmdir ./-p
15698   as_mkdir_p=false
15699 fi
15700
15701 if test -x / >/dev/null 2>&1; then
15702   as_test_x='test -x'
15703 else
15704   if ls -dL / >/dev/null 2>&1; then
15705     as_ls_L_option=L
15706   else
15707     as_ls_L_option=
15708   fi
15709   as_test_x='
15710     eval sh -c '\''
15711       if test -d "$1"; then
15712         test -d "$1/.";
15713       else
15714         case $1 in #(
15715         -*)set "./$1";;
15716         esac;
15717         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15718         ???[sx]*):;;*)false;;esac;fi
15719     '\'' sh
15720   '
15721 fi
15722 as_executable_p=$as_test_x
15723
15724 # Sed expression to map a string onto a valid CPP name.
15725 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15726
15727 # Sed expression to map a string onto a valid variable name.
15728 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15729
15730
15731 exec 6>&1
15732 ## ----------------------------------- ##
15733 ## Main body of $CONFIG_STATUS script. ##
15734 ## ----------------------------------- ##
15735 _ASEOF
15736 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15737
15738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15739 # Save the log message, to keep $0 and so on meaningful, and to
15740 # report actual input values of CONFIG_FILES etc. instead of their
15741 # values after options handling.
15742 ac_log="
15743 This file was extended by gsignond $as_me 0.0.1, which was
15744 generated by GNU Autoconf 2.68.  Invocation command line was
15745
15746   CONFIG_FILES    = $CONFIG_FILES
15747   CONFIG_HEADERS  = $CONFIG_HEADERS
15748   CONFIG_LINKS    = $CONFIG_LINKS
15749   CONFIG_COMMANDS = $CONFIG_COMMANDS
15750   $ $0 $@
15751
15752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15753 "
15754
15755 _ACEOF
15756
15757 case $ac_config_files in *"
15758 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15759 esac
15760
15761 case $ac_config_headers in *"
15762 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15763 esac
15764
15765
15766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15767 # Files that config.status was made for.
15768 config_files="$ac_config_files"
15769 config_headers="$ac_config_headers"
15770 config_commands="$ac_config_commands"
15771
15772 _ACEOF
15773
15774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15775 ac_cs_usage="\
15776 \`$as_me' instantiates files and other configuration actions
15777 from templates according to the current configuration.  Unless the files
15778 and actions are specified as TAGs, all are instantiated by default.
15779
15780 Usage: $0 [OPTION]... [TAG]...
15781
15782   -h, --help       print this help, then exit
15783   -V, --version    print version number and configuration settings, then exit
15784       --config     print configuration, then exit
15785   -q, --quiet, --silent
15786                    do not print progress messages
15787   -d, --debug      don't remove temporary files
15788       --recheck    update $as_me by reconfiguring in the same conditions
15789       --file=FILE[:TEMPLATE]
15790                    instantiate the configuration file FILE
15791       --header=FILE[:TEMPLATE]
15792                    instantiate the configuration header FILE
15793
15794 Configuration files:
15795 $config_files
15796
15797 Configuration headers:
15798 $config_headers
15799
15800 Configuration commands:
15801 $config_commands
15802
15803 Report bugs to the package provider.
15804 gsignond home page: <http://code.google.com/p/accounts-sso/>."
15805
15806 _ACEOF
15807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15808 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15809 ac_cs_version="\\
15810 gsignond config.status 0.0.1
15811 configured by $0, generated by GNU Autoconf 2.68,
15812   with options \\"\$ac_cs_config\\"
15813
15814 Copyright (C) 2010 Free Software Foundation, Inc.
15815 This config.status script is free software; the Free Software Foundation
15816 gives unlimited permission to copy, distribute and modify it."
15817
15818 ac_pwd='$ac_pwd'
15819 srcdir='$srcdir'
15820 INSTALL='$INSTALL'
15821 MKDIR_P='$MKDIR_P'
15822 AWK='$AWK'
15823 test -n "\$AWK" || AWK=awk
15824 _ACEOF
15825
15826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15827 # The default lists apply if the user does not specify any file.
15828 ac_need_defaults=:
15829 while test $# != 0
15830 do
15831   case $1 in
15832   --*=?*)
15833     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15834     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15835     ac_shift=:
15836     ;;
15837   --*=)
15838     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15839     ac_optarg=
15840     ac_shift=:
15841     ;;
15842   *)
15843     ac_option=$1
15844     ac_optarg=$2
15845     ac_shift=shift
15846     ;;
15847   esac
15848
15849   case $ac_option in
15850   # Handling of the options.
15851   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15852     ac_cs_recheck=: ;;
15853   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15854     $as_echo "$ac_cs_version"; exit ;;
15855   --config | --confi | --conf | --con | --co | --c )
15856     $as_echo "$ac_cs_config"; exit ;;
15857   --debug | --debu | --deb | --de | --d | -d )
15858     debug=: ;;
15859   --file | --fil | --fi | --f )
15860     $ac_shift
15861     case $ac_optarg in
15862     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15863     '') as_fn_error $? "missing file argument" ;;
15864     esac
15865     as_fn_append CONFIG_FILES " '$ac_optarg'"
15866     ac_need_defaults=false;;
15867   --header | --heade | --head | --hea )
15868     $ac_shift
15869     case $ac_optarg in
15870     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15871     esac
15872     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15873     ac_need_defaults=false;;
15874   --he | --h)
15875     # Conflict between --help and --header
15876     as_fn_error $? "ambiguous option: \`$1'
15877 Try \`$0 --help' for more information.";;
15878   --help | --hel | -h )
15879     $as_echo "$ac_cs_usage"; exit ;;
15880   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15881   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15882     ac_cs_silent=: ;;
15883
15884   # This is an error.
15885   -*) as_fn_error $? "unrecognized option: \`$1'
15886 Try \`$0 --help' for more information." ;;
15887
15888   *) as_fn_append ac_config_targets " $1"
15889      ac_need_defaults=false ;;
15890
15891   esac
15892   shift
15893 done
15894
15895 ac_configure_extra_args=
15896
15897 if $ac_cs_silent; then
15898   exec 6>/dev/null
15899   ac_configure_extra_args="$ac_configure_extra_args --silent"
15900 fi
15901
15902 _ACEOF
15903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15904 if \$ac_cs_recheck; then
15905   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15906   shift
15907   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15908   CONFIG_SHELL='$SHELL'
15909   export CONFIG_SHELL
15910   exec "\$@"
15911 fi
15912
15913 _ACEOF
15914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15915 exec 5>>config.log
15916 {
15917   echo
15918   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15919 ## Running $as_me. ##
15920 _ASBOX
15921   $as_echo "$ac_log"
15922 } >&5
15923
15924 _ACEOF
15925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15926 #
15927 # INIT-COMMANDS
15928 #
15929 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15930
15931
15932 # The HP-UX ksh and POSIX shell print the target directory to stdout
15933 # if CDPATH is set.
15934 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15935
15936 sed_quote_subst='$sed_quote_subst'
15937 double_quote_subst='$double_quote_subst'
15938 delay_variable_subst='$delay_variable_subst'
15939 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15940 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15941 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15942 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15943 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15944 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15945 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15946 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15947 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15948 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15949 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15950 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15951 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15952 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15953 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15954 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15955 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15956 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15957 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15958 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15959 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15960 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15961 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15962 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15963 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15964 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15965 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15966 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15967 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15968 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15969 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15970 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15971 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15972 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15973 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15974 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15975 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15976 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15977 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15978 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15979 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15980 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15981 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15982 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15983 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15984 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15985 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15986 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15987 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15988 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15989 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15990 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15991 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15992 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15993 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15994 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15995 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"`'
15996 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15997 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15998 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15999 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16000 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16001 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16002 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16003 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16004 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16005 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16006 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16007 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16008 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16009 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16010 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16011 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16012 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16013 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16014 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16015 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16016 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16017 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16018 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16019 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16020 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16021 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16022 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16023 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16024 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16025 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16026 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16027 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16028 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16029 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16030 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16031 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16032 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16033 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16034 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16035 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16036 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16037 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16038 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16039 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16040 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16041 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16042 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16043 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16044 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16045 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16046 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16047 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16048 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16049 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16050 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16051 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16052 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16053 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16054 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16055 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16056 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16057 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16058 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16059 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16060 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16061 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16062 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16063 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16064 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16065 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16066 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16067 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16068 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16069
16070 LTCC='$LTCC'
16071 LTCFLAGS='$LTCFLAGS'
16072 compiler='$compiler_DEFAULT'
16073
16074 # A function that is used when there is no print builtin or printf.
16075 func_fallback_echo ()
16076 {
16077   eval 'cat <<_LTECHO_EOF
16078 \$1
16079 _LTECHO_EOF'
16080 }
16081
16082 # Quote evaled strings.
16083 for var in SHELL \
16084 ECHO \
16085 PATH_SEPARATOR \
16086 SED \
16087 GREP \
16088 EGREP \
16089 FGREP \
16090 LD \
16091 NM \
16092 LN_S \
16093 lt_SP2NL \
16094 lt_NL2SP \
16095 reload_flag \
16096 OBJDUMP \
16097 deplibs_check_method \
16098 file_magic_cmd \
16099 file_magic_glob \
16100 want_nocaseglob \
16101 DLLTOOL \
16102 sharedlib_from_linklib_cmd \
16103 AR \
16104 AR_FLAGS \
16105 archiver_list_spec \
16106 STRIP \
16107 RANLIB \
16108 CC \
16109 CFLAGS \
16110 compiler \
16111 lt_cv_sys_global_symbol_pipe \
16112 lt_cv_sys_global_symbol_to_cdecl \
16113 lt_cv_sys_global_symbol_to_c_name_address \
16114 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16115 nm_file_list_spec \
16116 lt_prog_compiler_no_builtin_flag \
16117 lt_prog_compiler_pic \
16118 lt_prog_compiler_wl \
16119 lt_prog_compiler_static \
16120 lt_cv_prog_compiler_c_o \
16121 need_locks \
16122 MANIFEST_TOOL \
16123 DSYMUTIL \
16124 NMEDIT \
16125 LIPO \
16126 OTOOL \
16127 OTOOL64 \
16128 shrext_cmds \
16129 export_dynamic_flag_spec \
16130 whole_archive_flag_spec \
16131 compiler_needs_object \
16132 with_gnu_ld \
16133 allow_undefined_flag \
16134 no_undefined_flag \
16135 hardcode_libdir_flag_spec \
16136 hardcode_libdir_separator \
16137 exclude_expsyms \
16138 include_expsyms \
16139 file_list_spec \
16140 variables_saved_for_relink \
16141 libname_spec \
16142 library_names_spec \
16143 soname_spec \
16144 install_override_mode \
16145 finish_eval \
16146 old_striplib \
16147 striplib; do
16148     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16149     *[\\\\\\\`\\"\\\$]*)
16150       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16151       ;;
16152     *)
16153       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16154       ;;
16155     esac
16156 done
16157
16158 # Double-quote double-evaled strings.
16159 for var in reload_cmds \
16160 old_postinstall_cmds \
16161 old_postuninstall_cmds \
16162 old_archive_cmds \
16163 extract_expsyms_cmds \
16164 old_archive_from_new_cmds \
16165 old_archive_from_expsyms_cmds \
16166 archive_cmds \
16167 archive_expsym_cmds \
16168 module_cmds \
16169 module_expsym_cmds \
16170 export_symbols_cmds \
16171 prelink_cmds \
16172 postlink_cmds \
16173 postinstall_cmds \
16174 postuninstall_cmds \
16175 finish_cmds \
16176 sys_lib_search_path_spec \
16177 sys_lib_dlsearch_path_spec; do
16178     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16179     *[\\\\\\\`\\"\\\$]*)
16180       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16181       ;;
16182     *)
16183       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16184       ;;
16185     esac
16186 done
16187
16188 ac_aux_dir='$ac_aux_dir'
16189 xsi_shell='$xsi_shell'
16190 lt_shell_append='$lt_shell_append'
16191
16192 # See if we are running on zsh, and set the options which allow our
16193 # commands through without removal of \ escapes INIT.
16194 if test -n "\${ZSH_VERSION+set}" ; then
16195    setopt NO_GLOB_SUBST
16196 fi
16197
16198
16199     PACKAGE='$PACKAGE'
16200     VERSION='$VERSION'
16201     TIMESTAMP='$TIMESTAMP'
16202     RM='$RM'
16203     ofile='$ofile'
16204
16205 ac_aux_dir='$ac_aux_dir'
16206
16207
16208
16209 _ACEOF
16210
16211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16212
16213 # Handling of arguments.
16214 for ac_config_target in $ac_config_targets
16215 do
16216   case $ac_config_target in
16217     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16218     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16219     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16220     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16221     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16222     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16223     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16224     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16225     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16226     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16227     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16228     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16229     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16230     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16231     "src/daemon/plugins/plugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/plugind/Makefile" ;;
16232     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16233     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16234     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16235     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16236     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16237     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16238     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16239     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16240     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16241     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16242     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16243     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16244     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16245     "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16246
16247   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16248   esac
16249 done
16250
16251
16252 # If the user did not use the arguments to specify the items to instantiate,
16253 # then the envvar interface is used.  Set only those that are not.
16254 # We use the long form for the default assignment because of an extremely
16255 # bizarre bug on SunOS 4.1.3.
16256 if $ac_need_defaults; then
16257   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16258   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16259   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16260 fi
16261
16262 # Have a temporary directory for convenience.  Make it in the build tree
16263 # simply because there is no reason against having it here, and in addition,
16264 # creating and moving files from /tmp can sometimes cause problems.
16265 # Hook for its removal unless debugging.
16266 # Note that there is a small window in which the directory will not be cleaned:
16267 # after its creation but before its name has been assigned to `$tmp'.
16268 $debug ||
16269 {
16270   tmp= ac_tmp=
16271   trap 'exit_status=$?
16272   : "${ac_tmp:=$tmp}"
16273   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16274 ' 0
16275   trap 'as_fn_exit 1' 1 2 13 15
16276 }
16277 # Create a (secure) tmp directory for tmp files.
16278
16279 {
16280   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16281   test -d "$tmp"
16282 }  ||
16283 {
16284   tmp=./conf$$-$RANDOM
16285   (umask 077 && mkdir "$tmp")
16286 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16287 ac_tmp=$tmp
16288
16289 # Set up the scripts for CONFIG_FILES section.
16290 # No need to generate them if there are no CONFIG_FILES.
16291 # This happens for instance with `./config.status config.h'.
16292 if test -n "$CONFIG_FILES"; then
16293
16294
16295 ac_cr=`echo X | tr X '\015'`
16296 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16297 # But we know of no other shell where ac_cr would be empty at this
16298 # point, so we can use a bashism as a fallback.
16299 if test "x$ac_cr" = x; then
16300   eval ac_cr=\$\'\\r\'
16301 fi
16302 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16303 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16304   ac_cs_awk_cr='\\r'
16305 else
16306   ac_cs_awk_cr=$ac_cr
16307 fi
16308
16309 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16310 _ACEOF
16311
16312
16313 {
16314   echo "cat >conf$$subs.awk <<_ACEOF" &&
16315   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16316   echo "_ACEOF"
16317 } >conf$$subs.sh ||
16318   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16319 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16320 ac_delim='%!_!# '
16321 for ac_last_try in false false false false false :; do
16322   . ./conf$$subs.sh ||
16323     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16324
16325   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16326   if test $ac_delim_n = $ac_delim_num; then
16327     break
16328   elif $ac_last_try; then
16329     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16330   else
16331     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16332   fi
16333 done
16334 rm -f conf$$subs.sh
16335
16336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16337 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16338 _ACEOF
16339 sed -n '
16340 h
16341 s/^/S["/; s/!.*/"]=/
16342 p
16343 g
16344 s/^[^!]*!//
16345 :repl
16346 t repl
16347 s/'"$ac_delim"'$//
16348 t delim
16349 :nl
16350 h
16351 s/\(.\{148\}\)..*/\1/
16352 t more1
16353 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16354 p
16355 n
16356 b repl
16357 :more1
16358 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16359 p
16360 g
16361 s/.\{148\}//
16362 t nl
16363 :delim
16364 h
16365 s/\(.\{148\}\)..*/\1/
16366 t more2
16367 s/["\\]/\\&/g; s/^/"/; s/$/"/
16368 p
16369 b
16370 :more2
16371 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16372 p
16373 g
16374 s/.\{148\}//
16375 t delim
16376 ' <conf$$subs.awk | sed '
16377 /^[^""]/{
16378   N
16379   s/\n//
16380 }
16381 ' >>$CONFIG_STATUS || ac_write_fail=1
16382 rm -f conf$$subs.awk
16383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16384 _ACAWK
16385 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16386   for (key in S) S_is_set[key] = 1
16387   FS = "\a"
16388
16389 }
16390 {
16391   line = $ 0
16392   nfields = split(line, field, "@")
16393   substed = 0
16394   len = length(field[1])
16395   for (i = 2; i < nfields; i++) {
16396     key = field[i]
16397     keylen = length(key)
16398     if (S_is_set[key]) {
16399       value = S[key]
16400       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16401       len += length(value) + length(field[++i])
16402       substed = 1
16403     } else
16404       len += 1 + keylen
16405   }
16406
16407   print line
16408 }
16409
16410 _ACAWK
16411 _ACEOF
16412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16413 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16414   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16415 else
16416   cat
16417 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16418   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16419 _ACEOF
16420
16421 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16422 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16423 # trailing colons and then remove the whole line if VPATH becomes empty
16424 # (actually we leave an empty line to preserve line numbers).
16425 if test "x$srcdir" = x.; then
16426   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16427 h
16428 s///
16429 s/^/:/
16430 s/[      ]*$/:/
16431 s/:\$(srcdir):/:/g
16432 s/:\${srcdir}:/:/g
16433 s/:@srcdir@:/:/g
16434 s/^:*//
16435 s/:*$//
16436 x
16437 s/\(=[   ]*\).*/\1/
16438 G
16439 s/\n//
16440 s/^[^=]*=[       ]*$//
16441 }'
16442 fi
16443
16444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16445 fi # test -n "$CONFIG_FILES"
16446
16447 # Set up the scripts for CONFIG_HEADERS section.
16448 # No need to generate them if there are no CONFIG_HEADERS.
16449 # This happens for instance with `./config.status Makefile'.
16450 if test -n "$CONFIG_HEADERS"; then
16451 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16452 BEGIN {
16453 _ACEOF
16454
16455 # Transform confdefs.h into an awk script `defines.awk', embedded as
16456 # here-document in config.status, that substitutes the proper values into
16457 # config.h.in to produce config.h.
16458
16459 # Create a delimiter string that does not exist in confdefs.h, to ease
16460 # handling of long lines.
16461 ac_delim='%!_!# '
16462 for ac_last_try in false false :; do
16463   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16464   if test -z "$ac_tt"; then
16465     break
16466   elif $ac_last_try; then
16467     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16468   else
16469     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16470   fi
16471 done
16472
16473 # For the awk script, D is an array of macro values keyed by name,
16474 # likewise P contains macro parameters if any.  Preserve backslash
16475 # newline sequences.
16476
16477 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16478 sed -n '
16479 s/.\{148\}/&'"$ac_delim"'/g
16480 t rset
16481 :rset
16482 s/^[     ]*#[    ]*define[       ][      ]*/ /
16483 t def
16484 d
16485 :def
16486 s/\\$//
16487 t bsnl
16488 s/["\\]/\\&/g
16489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16490 D["\1"]=" \3"/p
16491 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16492 d
16493 :bsnl
16494 s/["\\]/\\&/g
16495 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16496 D["\1"]=" \3\\\\\\n"\\/p
16497 t cont
16498 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16499 t cont
16500 d
16501 :cont
16502 n
16503 s/.\{148\}/&'"$ac_delim"'/g
16504 t clear
16505 :clear
16506 s/\\$//
16507 t bsnlc
16508 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16509 d
16510 :bsnlc
16511 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16512 b cont
16513 ' <confdefs.h | sed '
16514 s/'"$ac_delim"'/"\\\
16515 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16516
16517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16518   for (key in D) D_is_set[key] = 1
16519   FS = "\a"
16520 }
16521 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16522   line = \$ 0
16523   split(line, arg, " ")
16524   if (arg[1] == "#") {
16525     defundef = arg[2]
16526     mac1 = arg[3]
16527   } else {
16528     defundef = substr(arg[1], 2)
16529     mac1 = arg[2]
16530   }
16531   split(mac1, mac2, "(") #)
16532   macro = mac2[1]
16533   prefix = substr(line, 1, index(line, defundef) - 1)
16534   if (D_is_set[macro]) {
16535     # Preserve the white space surrounding the "#".
16536     print prefix "define", macro P[macro] D[macro]
16537     next
16538   } else {
16539     # Replace #undef with comments.  This is necessary, for example,
16540     # in the case of _POSIX_SOURCE, which is predefined and required
16541     # on some systems where configure will not decide to define it.
16542     if (defundef == "undef") {
16543       print "/*", prefix defundef, macro, "*/"
16544       next
16545     }
16546   }
16547 }
16548 { print }
16549 _ACAWK
16550 _ACEOF
16551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16552   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16553 fi # test -n "$CONFIG_HEADERS"
16554
16555
16556 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16557 shift
16558 for ac_tag
16559 do
16560   case $ac_tag in
16561   :[FHLC]) ac_mode=$ac_tag; continue;;
16562   esac
16563   case $ac_mode$ac_tag in
16564   :[FHL]*:*);;
16565   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16566   :[FH]-) ac_tag=-:-;;
16567   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16568   esac
16569   ac_save_IFS=$IFS
16570   IFS=:
16571   set x $ac_tag
16572   IFS=$ac_save_IFS
16573   shift
16574   ac_file=$1
16575   shift
16576
16577   case $ac_mode in
16578   :L) ac_source=$1;;
16579   :[FH])
16580     ac_file_inputs=
16581     for ac_f
16582     do
16583       case $ac_f in
16584       -) ac_f="$ac_tmp/stdin";;
16585       *) # Look for the file first in the build tree, then in the source tree
16586          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16587          # because $ac_f cannot contain `:'.
16588          test -f "$ac_f" ||
16589            case $ac_f in
16590            [\\/$]*) false;;
16591            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16592            esac ||
16593            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16594       esac
16595       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16596       as_fn_append ac_file_inputs " '$ac_f'"
16597     done
16598
16599     # Let's still pretend it is `configure' which instantiates (i.e., don't
16600     # use $as_me), people would be surprised to read:
16601     #    /* config.h.  Generated by config.status.  */
16602     configure_input='Generated from '`
16603           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16604         `' by configure.'
16605     if test x"$ac_file" != x-; then
16606       configure_input="$ac_file.  $configure_input"
16607       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16608 $as_echo "$as_me: creating $ac_file" >&6;}
16609     fi
16610     # Neutralize special characters interpreted by sed in replacement strings.
16611     case $configure_input in #(
16612     *\&* | *\|* | *\\* )
16613        ac_sed_conf_input=`$as_echo "$configure_input" |
16614        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16615     *) ac_sed_conf_input=$configure_input;;
16616     esac
16617
16618     case $ac_tag in
16619     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16620       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16621     esac
16622     ;;
16623   esac
16624
16625   ac_dir=`$as_dirname -- "$ac_file" ||
16626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16627          X"$ac_file" : 'X\(//\)[^/]' \| \
16628          X"$ac_file" : 'X\(//\)$' \| \
16629          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16630 $as_echo X"$ac_file" |
16631     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16632             s//\1/
16633             q
16634           }
16635           /^X\(\/\/\)[^/].*/{
16636             s//\1/
16637             q
16638           }
16639           /^X\(\/\/\)$/{
16640             s//\1/
16641             q
16642           }
16643           /^X\(\/\).*/{
16644             s//\1/
16645             q
16646           }
16647           s/.*/./; q'`
16648   as_dir="$ac_dir"; as_fn_mkdir_p
16649   ac_builddir=.
16650
16651 case "$ac_dir" in
16652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16653 *)
16654   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16655   # A ".." for each directory in $ac_dir_suffix.
16656   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16657   case $ac_top_builddir_sub in
16658   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16659   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16660   esac ;;
16661 esac
16662 ac_abs_top_builddir=$ac_pwd
16663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16664 # for backward compatibility:
16665 ac_top_builddir=$ac_top_build_prefix
16666
16667 case $srcdir in
16668   .)  # We are building in place.
16669     ac_srcdir=.
16670     ac_top_srcdir=$ac_top_builddir_sub
16671     ac_abs_top_srcdir=$ac_pwd ;;
16672   [\\/]* | ?:[\\/]* )  # Absolute name.
16673     ac_srcdir=$srcdir$ac_dir_suffix;
16674     ac_top_srcdir=$srcdir
16675     ac_abs_top_srcdir=$srcdir ;;
16676   *) # Relative name.
16677     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16678     ac_top_srcdir=$ac_top_build_prefix$srcdir
16679     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16680 esac
16681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16682
16683
16684   case $ac_mode in
16685   :F)
16686   #
16687   # CONFIG_FILE
16688   #
16689
16690   case $INSTALL in
16691   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16692   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16693   esac
16694   ac_MKDIR_P=$MKDIR_P
16695   case $MKDIR_P in
16696   [\\/$]* | ?:[\\/]* ) ;;
16697   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16698   esac
16699 _ACEOF
16700
16701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16702 # If the template does not know about datarootdir, expand it.
16703 # FIXME: This hack should be removed a few years after 2.60.
16704 ac_datarootdir_hack=; ac_datarootdir_seen=
16705 ac_sed_dataroot='
16706 /datarootdir/ {
16707   p
16708   q
16709 }
16710 /@datadir@/p
16711 /@docdir@/p
16712 /@infodir@/p
16713 /@localedir@/p
16714 /@mandir@/p'
16715 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16716 *datarootdir*) ac_datarootdir_seen=yes;;
16717 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16718   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16719 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16720 _ACEOF
16721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16722   ac_datarootdir_hack='
16723   s&@datadir@&$datadir&g
16724   s&@docdir@&$docdir&g
16725   s&@infodir@&$infodir&g
16726   s&@localedir@&$localedir&g
16727   s&@mandir@&$mandir&g
16728   s&\\\${datarootdir}&$datarootdir&g' ;;
16729 esac
16730 _ACEOF
16731
16732 # Neutralize VPATH when `$srcdir' = `.'.
16733 # Shell code in configure.ac might set extrasub.
16734 # FIXME: do we really want to maintain this feature?
16735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16736 ac_sed_extra="$ac_vpsub
16737 $extrasub
16738 _ACEOF
16739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16740 :t
16741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16742 s|@configure_input@|$ac_sed_conf_input|;t t
16743 s&@top_builddir@&$ac_top_builddir_sub&;t t
16744 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16745 s&@srcdir@&$ac_srcdir&;t t
16746 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16747 s&@top_srcdir@&$ac_top_srcdir&;t t
16748 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16749 s&@builddir@&$ac_builddir&;t t
16750 s&@abs_builddir@&$ac_abs_builddir&;t t
16751 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16752 s&@INSTALL@&$ac_INSTALL&;t t
16753 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16754 $ac_datarootdir_hack
16755 "
16756 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16757   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16758
16759 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16760   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16761   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16762       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16763   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16764 which seems to be undefined.  Please make sure it is defined" >&5
16765 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16766 which seems to be undefined.  Please make sure it is defined" >&2;}
16767
16768   rm -f "$ac_tmp/stdin"
16769   case $ac_file in
16770   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16771   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16772   esac \
16773   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16774  ;;
16775   :H)
16776   #
16777   # CONFIG_HEADER
16778   #
16779   if test x"$ac_file" != x-; then
16780     {
16781       $as_echo "/* $configure_input  */" \
16782       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16783     } >"$ac_tmp/config.h" \
16784       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16785     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16786       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16787 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16788     else
16789       rm -f "$ac_file"
16790       mv "$ac_tmp/config.h" "$ac_file" \
16791         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16792     fi
16793   else
16794     $as_echo "/* $configure_input  */" \
16795       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16796       || as_fn_error $? "could not create -" "$LINENO" 5
16797   fi
16798 # Compute "$ac_file"'s index in $config_headers.
16799 _am_arg="$ac_file"
16800 _am_stamp_count=1
16801 for _am_header in $config_headers :; do
16802   case $_am_header in
16803     $_am_arg | $_am_arg:* )
16804       break ;;
16805     * )
16806       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16807   esac
16808 done
16809 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16810 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16811          X"$_am_arg" : 'X\(//\)[^/]' \| \
16812          X"$_am_arg" : 'X\(//\)$' \| \
16813          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16814 $as_echo X"$_am_arg" |
16815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16816             s//\1/
16817             q
16818           }
16819           /^X\(\/\/\)[^/].*/{
16820             s//\1/
16821             q
16822           }
16823           /^X\(\/\/\)$/{
16824             s//\1/
16825             q
16826           }
16827           /^X\(\/\).*/{
16828             s//\1/
16829             q
16830           }
16831           s/.*/./; q'`/stamp-h$_am_stamp_count
16832  ;;
16833
16834   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16835 $as_echo "$as_me: executing $ac_file commands" >&6;}
16836  ;;
16837   esac
16838
16839
16840   case $ac_file$ac_mode in
16841     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16842   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16843   # are listed without --file.  Let's play safe and only enable the eval
16844   # if we detect the quoting.
16845   case $CONFIG_FILES in
16846   *\'*) eval set x "$CONFIG_FILES" ;;
16847   *)   set x $CONFIG_FILES ;;
16848   esac
16849   shift
16850   for mf
16851   do
16852     # Strip MF so we end up with the name of the file.
16853     mf=`echo "$mf" | sed -e 's/:.*$//'`
16854     # Check whether this is an Automake generated Makefile or not.
16855     # We used to match only the files named `Makefile.in', but
16856     # some people rename them; so instead we look at the file content.
16857     # Grep'ing the first line is not enough: some people post-process
16858     # each Makefile.in and add a new line on top of each file to say so.
16859     # Grep'ing the whole file is not good either: AIX grep has a line
16860     # limit of 2048, but all sed's we know have understand at least 4000.
16861     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16862       dirpart=`$as_dirname -- "$mf" ||
16863 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16864          X"$mf" : 'X\(//\)[^/]' \| \
16865          X"$mf" : 'X\(//\)$' \| \
16866          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16867 $as_echo X"$mf" |
16868     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16869             s//\1/
16870             q
16871           }
16872           /^X\(\/\/\)[^/].*/{
16873             s//\1/
16874             q
16875           }
16876           /^X\(\/\/\)$/{
16877             s//\1/
16878             q
16879           }
16880           /^X\(\/\).*/{
16881             s//\1/
16882             q
16883           }
16884           s/.*/./; q'`
16885     else
16886       continue
16887     fi
16888     # Extract the definition of DEPDIR, am__include, and am__quote
16889     # from the Makefile without running `make'.
16890     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16891     test -z "$DEPDIR" && continue
16892     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16893     test -z "am__include" && continue
16894     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16895     # When using ansi2knr, U may be empty or an underscore; expand it
16896     U=`sed -n 's/^U = //p' < "$mf"`
16897     # Find all dependency output files, they are included files with
16898     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16899     # simplest approach to changing $(DEPDIR) to its actual value in the
16900     # expansion.
16901     for file in `sed -n "
16902       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16903          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16904       # Make sure the directory exists.
16905       test -f "$dirpart/$file" && continue
16906       fdir=`$as_dirname -- "$file" ||
16907 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16908          X"$file" : 'X\(//\)[^/]' \| \
16909          X"$file" : 'X\(//\)$' \| \
16910          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16911 $as_echo X"$file" |
16912     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16913             s//\1/
16914             q
16915           }
16916           /^X\(\/\/\)[^/].*/{
16917             s//\1/
16918             q
16919           }
16920           /^X\(\/\/\)$/{
16921             s//\1/
16922             q
16923           }
16924           /^X\(\/\).*/{
16925             s//\1/
16926             q
16927           }
16928           s/.*/./; q'`
16929       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16930       # echo "creating $dirpart/$file"
16931       echo '# dummy' > "$dirpart/$file"
16932     done
16933   done
16934 }
16935  ;;
16936     "libtool":C)
16937
16938     # See if we are running on zsh, and set the options which allow our
16939     # commands through without removal of \ escapes.
16940     if test -n "${ZSH_VERSION+set}" ; then
16941       setopt NO_GLOB_SUBST
16942     fi
16943
16944     cfgfile="${ofile}T"
16945     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16946     $RM "$cfgfile"
16947
16948     cat <<_LT_EOF >> "$cfgfile"
16949 #! $SHELL
16950
16951 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16952 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16953 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16954 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16955 #
16956 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16957 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16958 #                 Foundation, Inc.
16959 #   Written by Gordon Matzigkeit, 1996
16960 #
16961 #   This file is part of GNU Libtool.
16962 #
16963 # GNU Libtool is free software; you can redistribute it and/or
16964 # modify it under the terms of the GNU General Public License as
16965 # published by the Free Software Foundation; either version 2 of
16966 # the License, or (at your option) any later version.
16967 #
16968 # As a special exception to the GNU General Public License,
16969 # if you distribute this file as part of a program or library that
16970 # is built using GNU Libtool, you may include this file under the
16971 # same distribution terms that you use for the rest of that program.
16972 #
16973 # GNU Libtool is distributed in the hope that it will be useful,
16974 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16975 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16976 # GNU General Public License for more details.
16977 #
16978 # You should have received a copy of the GNU General Public License
16979 # along with GNU Libtool; see the file COPYING.  If not, a copy
16980 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16981 # obtained by writing to the Free Software Foundation, Inc.,
16982 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16983
16984
16985 # The names of the tagged configurations supported by this script.
16986 available_tags=""
16987
16988 # ### BEGIN LIBTOOL CONFIG
16989
16990 # Which release of libtool.m4 was used?
16991 macro_version=$macro_version
16992 macro_revision=$macro_revision
16993
16994 # Whether or not to build static libraries.
16995 build_old_libs=$enable_static
16996
16997 # Whether or not to build shared libraries.
16998 build_libtool_libs=$enable_shared
16999
17000 # What type of objects to build.
17001 pic_mode=$pic_mode
17002
17003 # Whether or not to optimize for fast installation.
17004 fast_install=$enable_fast_install
17005
17006 # Shell to use when invoking shell scripts.
17007 SHELL=$lt_SHELL
17008
17009 # An echo program that protects backslashes.
17010 ECHO=$lt_ECHO
17011
17012 # The PATH separator for the build system.
17013 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17014
17015 # The host system.
17016 host_alias=$host_alias
17017 host=$host
17018 host_os=$host_os
17019
17020 # The build system.
17021 build_alias=$build_alias
17022 build=$build
17023 build_os=$build_os
17024
17025 # A sed program that does not truncate output.
17026 SED=$lt_SED
17027
17028 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17029 Xsed="\$SED -e 1s/^X//"
17030
17031 # A grep program that handles long lines.
17032 GREP=$lt_GREP
17033
17034 # An ERE matcher.
17035 EGREP=$lt_EGREP
17036
17037 # A literal string matcher.
17038 FGREP=$lt_FGREP
17039
17040 # A BSD- or MS-compatible name lister.
17041 NM=$lt_NM
17042
17043 # Whether we need soft or hard links.
17044 LN_S=$lt_LN_S
17045
17046 # What is the maximum length of a command?
17047 max_cmd_len=$max_cmd_len
17048
17049 # Object file suffix (normally "o").
17050 objext=$ac_objext
17051
17052 # Executable file suffix (normally "").
17053 exeext=$exeext
17054
17055 # whether the shell understands "unset".
17056 lt_unset=$lt_unset
17057
17058 # turn spaces into newlines.
17059 SP2NL=$lt_lt_SP2NL
17060
17061 # turn newlines into spaces.
17062 NL2SP=$lt_lt_NL2SP
17063
17064 # convert \$build file names to \$host format.
17065 to_host_file_cmd=$lt_cv_to_host_file_cmd
17066
17067 # convert \$build files to toolchain format.
17068 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17069
17070 # An object symbol dumper.
17071 OBJDUMP=$lt_OBJDUMP
17072
17073 # Method to check whether dependent libraries are shared objects.
17074 deplibs_check_method=$lt_deplibs_check_method
17075
17076 # Command to use when deplibs_check_method = "file_magic".
17077 file_magic_cmd=$lt_file_magic_cmd
17078
17079 # How to find potential files when deplibs_check_method = "file_magic".
17080 file_magic_glob=$lt_file_magic_glob
17081
17082 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17083 want_nocaseglob=$lt_want_nocaseglob
17084
17085 # DLL creation program.
17086 DLLTOOL=$lt_DLLTOOL
17087
17088 # Command to associate shared and link libraries.
17089 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17090
17091 # The archiver.
17092 AR=$lt_AR
17093
17094 # Flags to create an archive.
17095 AR_FLAGS=$lt_AR_FLAGS
17096
17097 # How to feed a file listing to the archiver.
17098 archiver_list_spec=$lt_archiver_list_spec
17099
17100 # A symbol stripping program.
17101 STRIP=$lt_STRIP
17102
17103 # Commands used to install an old-style archive.
17104 RANLIB=$lt_RANLIB
17105 old_postinstall_cmds=$lt_old_postinstall_cmds
17106 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17107
17108 # Whether to use a lock for old archive extraction.
17109 lock_old_archive_extraction=$lock_old_archive_extraction
17110
17111 # A C compiler.
17112 LTCC=$lt_CC
17113
17114 # LTCC compiler flags.
17115 LTCFLAGS=$lt_CFLAGS
17116
17117 # Take the output of nm and produce a listing of raw symbols and C names.
17118 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17119
17120 # Transform the output of nm in a proper C declaration.
17121 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17122
17123 # Transform the output of nm in a C name address pair.
17124 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17125
17126 # Transform the output of nm in a C name address pair when lib prefix is needed.
17127 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17128
17129 # Specify filename containing input files for \$NM.
17130 nm_file_list_spec=$lt_nm_file_list_spec
17131
17132 # The root where to search for dependent libraries,and in which our libraries should be installed.
17133 lt_sysroot=$lt_sysroot
17134
17135 # The name of the directory that contains temporary libtool files.
17136 objdir=$objdir
17137
17138 # Used to examine libraries when file_magic_cmd begins with "file".
17139 MAGIC_CMD=$MAGIC_CMD
17140
17141 # Must we lock files when doing compilation?
17142 need_locks=$lt_need_locks
17143
17144 # Manifest tool.
17145 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17146
17147 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17148 DSYMUTIL=$lt_DSYMUTIL
17149
17150 # Tool to change global to local symbols on Mac OS X.
17151 NMEDIT=$lt_NMEDIT
17152
17153 # Tool to manipulate fat objects and archives on Mac OS X.
17154 LIPO=$lt_LIPO
17155
17156 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17157 OTOOL=$lt_OTOOL
17158
17159 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17160 OTOOL64=$lt_OTOOL64
17161
17162 # Old archive suffix (normally "a").
17163 libext=$libext
17164
17165 # Shared library suffix (normally ".so").
17166 shrext_cmds=$lt_shrext_cmds
17167
17168 # The commands to extract the exported symbol list from a shared archive.
17169 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17170
17171 # Variables whose values should be saved in libtool wrapper scripts and
17172 # restored at link time.
17173 variables_saved_for_relink=$lt_variables_saved_for_relink
17174
17175 # Do we need the "lib" prefix for modules?
17176 need_lib_prefix=$need_lib_prefix
17177
17178 # Do we need a version for libraries?
17179 need_version=$need_version
17180
17181 # Library versioning type.
17182 version_type=$version_type
17183
17184 # Shared library runtime path variable.
17185 runpath_var=$runpath_var
17186
17187 # Shared library path variable.
17188 shlibpath_var=$shlibpath_var
17189
17190 # Is shlibpath searched before the hard-coded library search path?
17191 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17192
17193 # Format of library name prefix.
17194 libname_spec=$lt_libname_spec
17195
17196 # List of archive names.  First name is the real one, the rest are links.
17197 # The last name is the one that the linker finds with -lNAME
17198 library_names_spec=$lt_library_names_spec
17199
17200 # The coded name of the library, if different from the real name.
17201 soname_spec=$lt_soname_spec
17202
17203 # Permission mode override for installation of shared libraries.
17204 install_override_mode=$lt_install_override_mode
17205
17206 # Command to use after installation of a shared archive.
17207 postinstall_cmds=$lt_postinstall_cmds
17208
17209 # Command to use after uninstallation of a shared archive.
17210 postuninstall_cmds=$lt_postuninstall_cmds
17211
17212 # Commands used to finish a libtool library installation in a directory.
17213 finish_cmds=$lt_finish_cmds
17214
17215 # As "finish_cmds", except a single script fragment to be evaled but
17216 # not shown.
17217 finish_eval=$lt_finish_eval
17218
17219 # Whether we should hardcode library paths into libraries.
17220 hardcode_into_libs=$hardcode_into_libs
17221
17222 # Compile-time system search path for libraries.
17223 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17224
17225 # Run-time system search path for libraries.
17226 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17227
17228 # Whether dlopen is supported.
17229 dlopen_support=$enable_dlopen
17230
17231 # Whether dlopen of programs is supported.
17232 dlopen_self=$enable_dlopen_self
17233
17234 # Whether dlopen of statically linked programs is supported.
17235 dlopen_self_static=$enable_dlopen_self_static
17236
17237 # Commands to strip libraries.
17238 old_striplib=$lt_old_striplib
17239 striplib=$lt_striplib
17240
17241
17242 # The linker used to build libraries.
17243 LD=$lt_LD
17244
17245 # How to create reloadable object files.
17246 reload_flag=$lt_reload_flag
17247 reload_cmds=$lt_reload_cmds
17248
17249 # Commands used to build an old-style archive.
17250 old_archive_cmds=$lt_old_archive_cmds
17251
17252 # A language specific compiler.
17253 CC=$lt_compiler
17254
17255 # Is the compiler the GNU compiler?
17256 with_gcc=$GCC
17257
17258 # Compiler flag to turn off builtin functions.
17259 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17260
17261 # Additional compiler flags for building library objects.
17262 pic_flag=$lt_lt_prog_compiler_pic
17263
17264 # How to pass a linker flag through the compiler.
17265 wl=$lt_lt_prog_compiler_wl
17266
17267 # Compiler flag to prevent dynamic linking.
17268 link_static_flag=$lt_lt_prog_compiler_static
17269
17270 # Does compiler simultaneously support -c and -o options?
17271 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17272
17273 # Whether or not to add -lc for building shared libraries.
17274 build_libtool_need_lc=$archive_cmds_need_lc
17275
17276 # Whether or not to disallow shared libs when runtime libs are static.
17277 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17278
17279 # Compiler flag to allow reflexive dlopens.
17280 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17281
17282 # Compiler flag to generate shared objects directly from archives.
17283 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17284
17285 # Whether the compiler copes with passing no objects directly.
17286 compiler_needs_object=$lt_compiler_needs_object
17287
17288 # Create an old-style archive from a shared archive.
17289 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17290
17291 # Create a temporary old-style archive to link instead of a shared archive.
17292 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17293
17294 # Commands used to build a shared archive.
17295 archive_cmds=$lt_archive_cmds
17296 archive_expsym_cmds=$lt_archive_expsym_cmds
17297
17298 # Commands used to build a loadable module if different from building
17299 # a shared archive.
17300 module_cmds=$lt_module_cmds
17301 module_expsym_cmds=$lt_module_expsym_cmds
17302
17303 # Whether we are building with GNU ld or not.
17304 with_gnu_ld=$lt_with_gnu_ld
17305
17306 # Flag that allows shared libraries with undefined symbols to be built.
17307 allow_undefined_flag=$lt_allow_undefined_flag
17308
17309 # Flag that enforces no undefined symbols.
17310 no_undefined_flag=$lt_no_undefined_flag
17311
17312 # Flag to hardcode \$libdir into a binary during linking.
17313 # This must work even if \$libdir does not exist
17314 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17315
17316 # Whether we need a single "-rpath" flag with a separated argument.
17317 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17318
17319 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17320 # DIR into the resulting binary.
17321 hardcode_direct=$hardcode_direct
17322
17323 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17324 # DIR into the resulting binary and the resulting library dependency is
17325 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17326 # library is relocated.
17327 hardcode_direct_absolute=$hardcode_direct_absolute
17328
17329 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17330 # into the resulting binary.
17331 hardcode_minus_L=$hardcode_minus_L
17332
17333 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17334 # into the resulting binary.
17335 hardcode_shlibpath_var=$hardcode_shlibpath_var
17336
17337 # Set to "yes" if building a shared library automatically hardcodes DIR
17338 # into the library and all subsequent libraries and executables linked
17339 # against it.
17340 hardcode_automatic=$hardcode_automatic
17341
17342 # Set to yes if linker adds runtime paths of dependent libraries
17343 # to runtime path list.
17344 inherit_rpath=$inherit_rpath
17345
17346 # Whether libtool must link a program against all its dependency libraries.
17347 link_all_deplibs=$link_all_deplibs
17348
17349 # Set to "yes" if exported symbols are required.
17350 always_export_symbols=$always_export_symbols
17351
17352 # The commands to list exported symbols.
17353 export_symbols_cmds=$lt_export_symbols_cmds
17354
17355 # Symbols that should not be listed in the preloaded symbols.
17356 exclude_expsyms=$lt_exclude_expsyms
17357
17358 # Symbols that must always be exported.
17359 include_expsyms=$lt_include_expsyms
17360
17361 # Commands necessary for linking programs (against libraries) with templates.
17362 prelink_cmds=$lt_prelink_cmds
17363
17364 # Commands necessary for finishing linking programs.
17365 postlink_cmds=$lt_postlink_cmds
17366
17367 # Specify filename containing input files.
17368 file_list_spec=$lt_file_list_spec
17369
17370 # How to hardcode a shared library path into an executable.
17371 hardcode_action=$hardcode_action
17372
17373 # ### END LIBTOOL CONFIG
17374
17375 _LT_EOF
17376
17377   case $host_os in
17378   aix3*)
17379     cat <<\_LT_EOF >> "$cfgfile"
17380 # AIX sometimes has problems with the GCC collect2 program.  For some
17381 # reason, if we set the COLLECT_NAMES environment variable, the problems
17382 # vanish in a puff of smoke.
17383 if test "X${COLLECT_NAMES+set}" != Xset; then
17384   COLLECT_NAMES=
17385   export COLLECT_NAMES
17386 fi
17387 _LT_EOF
17388     ;;
17389   esac
17390
17391
17392 ltmain="$ac_aux_dir/ltmain.sh"
17393
17394
17395   # We use sed instead of cat because bash on DJGPP gets confused if
17396   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17397   # text mode, it properly converts lines to CR/LF.  This bash problem
17398   # is reportedly fixed, but why not run on old versions too?
17399   sed '$q' "$ltmain" >> "$cfgfile" \
17400      || (rm -f "$cfgfile"; exit 1)
17401
17402   if test x"$xsi_shell" = xyes; then
17403   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17404 func_dirname ()\
17405 {\
17406 \    case ${1} in\
17407 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17408 \      *  ) func_dirname_result="${3}" ;;\
17409 \    esac\
17410 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17411   && mv -f "$cfgfile.tmp" "$cfgfile" \
17412     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17413 test 0 -eq $? || _lt_function_replace_fail=:
17414
17415
17416   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17417 func_basename ()\
17418 {\
17419 \    func_basename_result="${1##*/}"\
17420 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17421   && mv -f "$cfgfile.tmp" "$cfgfile" \
17422     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17423 test 0 -eq $? || _lt_function_replace_fail=:
17424
17425
17426   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17427 func_dirname_and_basename ()\
17428 {\
17429 \    case ${1} in\
17430 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17431 \      *  ) func_dirname_result="${3}" ;;\
17432 \    esac\
17433 \    func_basename_result="${1##*/}"\
17434 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17435   && mv -f "$cfgfile.tmp" "$cfgfile" \
17436     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17437 test 0 -eq $? || _lt_function_replace_fail=:
17438
17439
17440   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17441 func_stripname ()\
17442 {\
17443 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17444 \    # positional parameters, so assign one to ordinary parameter first.\
17445 \    func_stripname_result=${3}\
17446 \    func_stripname_result=${func_stripname_result#"${1}"}\
17447 \    func_stripname_result=${func_stripname_result%"${2}"}\
17448 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17449   && mv -f "$cfgfile.tmp" "$cfgfile" \
17450     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17451 test 0 -eq $? || _lt_function_replace_fail=:
17452
17453
17454   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17455 func_split_long_opt ()\
17456 {\
17457 \    func_split_long_opt_name=${1%%=*}\
17458 \    func_split_long_opt_arg=${1#*=}\
17459 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17460   && mv -f "$cfgfile.tmp" "$cfgfile" \
17461     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17462 test 0 -eq $? || _lt_function_replace_fail=:
17463
17464
17465   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17466 func_split_short_opt ()\
17467 {\
17468 \    func_split_short_opt_arg=${1#??}\
17469 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17470 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17471   && mv -f "$cfgfile.tmp" "$cfgfile" \
17472     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17473 test 0 -eq $? || _lt_function_replace_fail=:
17474
17475
17476   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17477 func_lo2o ()\
17478 {\
17479 \    case ${1} in\
17480 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17481 \      *)    func_lo2o_result=${1} ;;\
17482 \    esac\
17483 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17484   && mv -f "$cfgfile.tmp" "$cfgfile" \
17485     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17486 test 0 -eq $? || _lt_function_replace_fail=:
17487
17488
17489   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17490 func_xform ()\
17491 {\
17492     func_xform_result=${1%.*}.lo\
17493 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17494   && mv -f "$cfgfile.tmp" "$cfgfile" \
17495     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17496 test 0 -eq $? || _lt_function_replace_fail=:
17497
17498
17499   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17500 func_arith ()\
17501 {\
17502     func_arith_result=$(( $* ))\
17503 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17504   && mv -f "$cfgfile.tmp" "$cfgfile" \
17505     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17506 test 0 -eq $? || _lt_function_replace_fail=:
17507
17508
17509   sed -e '/^func_len ()$/,/^} # func_len /c\
17510 func_len ()\
17511 {\
17512     func_len_result=${#1}\
17513 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17514   && mv -f "$cfgfile.tmp" "$cfgfile" \
17515     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17516 test 0 -eq $? || _lt_function_replace_fail=:
17517
17518 fi
17519
17520 if test x"$lt_shell_append" = xyes; then
17521   sed -e '/^func_append ()$/,/^} # func_append /c\
17522 func_append ()\
17523 {\
17524     eval "${1}+=\\${2}"\
17525 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17526   && mv -f "$cfgfile.tmp" "$cfgfile" \
17527     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17528 test 0 -eq $? || _lt_function_replace_fail=:
17529
17530
17531   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17532 func_append_quoted ()\
17533 {\
17534 \    func_quote_for_eval "${2}"\
17535 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17536 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17537   && mv -f "$cfgfile.tmp" "$cfgfile" \
17538     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17539 test 0 -eq $? || _lt_function_replace_fail=:
17540
17541
17542   # Save a `func_append' function call where possible by direct use of '+='
17543   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17544     && mv -f "$cfgfile.tmp" "$cfgfile" \
17545       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17546   test 0 -eq $? || _lt_function_replace_fail=:
17547 else
17548   # Save a `func_append' function call even when '+=' is not available
17549   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17550     && mv -f "$cfgfile.tmp" "$cfgfile" \
17551       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17552   test 0 -eq $? || _lt_function_replace_fail=:
17553 fi
17554
17555 if test x"$_lt_function_replace_fail" = x":"; then
17556   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17557 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17558 fi
17559
17560
17561    mv -f "$cfgfile" "$ofile" ||
17562     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17563   chmod +x "$ofile"
17564
17565  ;;
17566
17567   esac
17568 done # for ac_tag
17569
17570
17571 as_fn_exit 0
17572 _ACEOF
17573 ac_clean_files=$ac_clean_files_save
17574
17575 test $ac_write_fail = 0 ||
17576   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17577
17578
17579 # configure is writing to config.log, and then calls config.status.
17580 # config.status does its own redirection, appending to config.log.
17581 # Unfortunately, on DOS this fails, as config.log is still kept open
17582 # by configure, so config.status won't be able to write to it; its
17583 # output is simply discarded.  So we exec the FD to /dev/null,
17584 # effectively closing config.log, so it can be properly (re)opened and
17585 # appended to by config.status.  When coming back to configure, we
17586 # need to make the FD available again.
17587 if test "$no_create" != yes; then
17588   ac_cs_success=:
17589   ac_config_status_args=
17590   test "$silent" = yes &&
17591     ac_config_status_args="$ac_config_status_args --quiet"
17592   exec 5>/dev/null
17593   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17594   exec 5>>config.log
17595   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17596   # would make configure fail if this is the last instruction.
17597   $ac_cs_success || as_fn_exit 1
17598 fi
17599 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17600   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17601 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17602 fi
17603
17604 fi