Update to upstream 1.0.1
[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 1.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='1.0.1'
571 PACKAGE_STRING='gsignond 1.0.1'
572 PACKAGE_BUGREPORT=''
573 PACKAGE_URL='http://01.org/gsso'
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 HAVE_GTK_DOC_FALSE
627 HAVE_GTK_DOC_TRUE
628 GTKDOC_DEPS_LIBS
629 GTKDOC_DEPS_CFLAGS
630 HTML_DIR
631 GTKDOC_MKPDF
632 GTKDOC_REBASE
633 GTKDOC_CHECK_PATH
634 GTKDOC_CHECK
635 DBUS_INTERFACES_DIR
636 DBUS_SERVICES_DIR
637 SET_PERMISSIONS_FALSE
638 SET_PERMISSIONS_TRUE
639 HAVE_DEBUG_FALSE
640 HAVE_DEBUG_TRUE
641 MESSAGE_BUS_TYPE
642 USE_GTESTDBUS_FALSE
643 USE_GTESTDBUS_TRUE
644 BASE_STORAGE_DIR
645 KEYCHAIN_SYSCTX
646 GTestDBus_LIBS
647 GTestDBus_CFLAGS
648 GLIB_MKENUMS
649 HAVE_LIBECRYPTFS_FALSE
650 HAVE_LIBECRYPTFS_TRUE
651 LIBECRYPTFS_LIBS
652 LIBECRYPTFS_CFLAGS
653 HAVE_LIBSMACK_FALSE
654 HAVE_LIBSMACK_TRUE
655 LIBSMACK_LIBS
656 LIBSMACK_CFLAGS
657 CHECK_LIBS
658 CHECK_CFLAGS
659 GSIGNOND_LIBS
660 GSIGNOND_CFLAGS
661 PKG_CONFIG_LIBDIR
662 PKG_CONFIG_PATH
663 PKG_CONFIG
664 CPP
665 OTOOL64
666 OTOOL
667 LIPO
668 NMEDIT
669 DSYMUTIL
670 MANIFEST_TOOL
671 RANLIB
672 DLLTOOL
673 OBJDUMP
674 LN_S
675 NM
676 ac_ct_DUMPBIN
677 DUMPBIN
678 LD
679 FGREP
680 EGREP
681 GREP
682 SED
683 host_os
684 host_vendor
685 host_cpu
686 host
687 build_os
688 build_vendor
689 build_cpu
690 build
691 LIBTOOL
692 ifGNUmake
693 ac_ct_AR
694 AR
695 am__fastdepCC_FALSE
696 am__fastdepCC_TRUE
697 CCDEPMODE
698 am__nodep
699 AMDEPBACKSLASH
700 AMDEP_FALSE
701 AMDEP_TRUE
702 am__quote
703 am__include
704 DEPDIR
705 OBJEXT
706 EXEEXT
707 ac_ct_CC
708 CPPFLAGS
709 LDFLAGS
710 CFLAGS
711 CC
712 AM_BACKSLASH
713 AM_DEFAULT_VERBOSITY
714 AM_DEFAULT_V
715 AM_V
716 am__untar
717 am__tar
718 AMTAR
719 am__leading_dot
720 SET_MAKE
721 AWK
722 mkdir_p
723 MKDIR_P
724 INSTALL_STRIP_PROGRAM
725 STRIP
726 install_sh
727 MAKEINFO
728 AUTOHEADER
729 AUTOMAKE
730 AUTOCONF
731 ACLOCAL
732 VERSION
733 PACKAGE
734 CYGPATH_W
735 am__isrc
736 INSTALL_DATA
737 INSTALL_SCRIPT
738 INSTALL_PROGRAM
739 target_alias
740 host_alias
741 build_alias
742 LIBS
743 ECHO_T
744 ECHO_N
745 ECHO_C
746 DEFS
747 mandir
748 localedir
749 libdir
750 psdir
751 pdfdir
752 dvidir
753 htmldir
754 infodir
755 docdir
756 oldincludedir
757 includedir
758 localstatedir
759 sharedstatedir
760 sysconfdir
761 datadir
762 datarootdir
763 libexecdir
764 sbindir
765 bindir
766 program_transform_name
767 prefix
768 exec_prefix
769 PACKAGE_URL
770 PACKAGE_BUGREPORT
771 PACKAGE_STRING
772 PACKAGE_VERSION
773 PACKAGE_TARNAME
774 PACKAGE_NAME
775 PATH_SEPARATOR
776 SHELL'
777 ac_subst_files=''
778 ac_user_opts='
779 enable_option_checking
780 enable_silent_rules
781 enable_dependency_tracking
782 enable_static
783 enable_shared
784 with_pic
785 enable_fast_install
786 with_gnu_ld
787 with_sysroot
788 enable_libtool_lock
789 enable_coverage
790 enable_distcheck
791 enable_dbus_type
792 enable_keychain
793 enable_storagedir
794 enable_debug
795 enable_sql_log
796 enable_acltriggers
797 with_html_dir
798 enable_gtk_doc
799 enable_gtk_doc_html
800 enable_gtk_doc_pdf
801 '
802       ac_precious_vars='build_alias
803 host_alias
804 target_alias
805 CC
806 CFLAGS
807 LDFLAGS
808 LIBS
809 CPPFLAGS
810 CPP
811 PKG_CONFIG
812 PKG_CONFIG_PATH
813 PKG_CONFIG_LIBDIR
814 GSIGNOND_CFLAGS
815 GSIGNOND_LIBS
816 CHECK_CFLAGS
817 CHECK_LIBS
818 LIBSMACK_CFLAGS
819 LIBSMACK_LIBS
820 LIBECRYPTFS_CFLAGS
821 LIBECRYPTFS_LIBS
822 GTestDBus_CFLAGS
823 GTestDBus_LIBS
824 GTKDOC_DEPS_CFLAGS
825 GTKDOC_DEPS_LIBS'
826
827
828 # Initialize some variables set by options.
829 ac_init_help=
830 ac_init_version=false
831 ac_unrecognized_opts=
832 ac_unrecognized_sep=
833 # The variables have the same names as the options, with
834 # dashes changed to underlines.
835 cache_file=/dev/null
836 exec_prefix=NONE
837 no_create=
838 no_recursion=
839 prefix=NONE
840 program_prefix=NONE
841 program_suffix=NONE
842 program_transform_name=s,x,x,
843 silent=
844 site=
845 srcdir=
846 verbose=
847 x_includes=NONE
848 x_libraries=NONE
849
850 # Installation directory options.
851 # These are left unexpanded so users can "make install exec_prefix=/foo"
852 # and all the variables that are supposed to be based on exec_prefix
853 # by default will actually change.
854 # Use braces instead of parens because sh, perl, etc. also accept them.
855 # (The list follows the same order as the GNU Coding Standards.)
856 bindir='${exec_prefix}/bin'
857 sbindir='${exec_prefix}/sbin'
858 libexecdir='${exec_prefix}/libexec'
859 datarootdir='${prefix}/share'
860 datadir='${datarootdir}'
861 sysconfdir='${prefix}/etc'
862 sharedstatedir='${prefix}/com'
863 localstatedir='${prefix}/var'
864 includedir='${prefix}/include'
865 oldincludedir='/usr/include'
866 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
867 infodir='${datarootdir}/info'
868 htmldir='${docdir}'
869 dvidir='${docdir}'
870 pdfdir='${docdir}'
871 psdir='${docdir}'
872 libdir='${exec_prefix}/lib'
873 localedir='${datarootdir}/locale'
874 mandir='${datarootdir}/man'
875
876 ac_prev=
877 ac_dashdash=
878 for ac_option
879 do
880   # If the previous option needs an argument, assign it.
881   if test -n "$ac_prev"; then
882     eval $ac_prev=\$ac_option
883     ac_prev=
884     continue
885   fi
886
887   case $ac_option in
888   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
889   *=)   ac_optarg= ;;
890   *)    ac_optarg=yes ;;
891   esac
892
893   # Accept the important Cygnus configure options, so we can diagnose typos.
894
895   case $ac_dashdash$ac_option in
896   --)
897     ac_dashdash=yes ;;
898
899   -bindir | --bindir | --bindi | --bind | --bin | --bi)
900     ac_prev=bindir ;;
901   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
902     bindir=$ac_optarg ;;
903
904   -build | --build | --buil | --bui | --bu)
905     ac_prev=build_alias ;;
906   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
907     build_alias=$ac_optarg ;;
908
909   -cache-file | --cache-file | --cache-fil | --cache-fi \
910   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
911     ac_prev=cache_file ;;
912   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
913   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
914     cache_file=$ac_optarg ;;
915
916   --config-cache | -C)
917     cache_file=config.cache ;;
918
919   -datadir | --datadir | --datadi | --datad)
920     ac_prev=datadir ;;
921   -datadir=* | --datadir=* | --datadi=* | --datad=*)
922     datadir=$ac_optarg ;;
923
924   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
925   | --dataroo | --dataro | --datar)
926     ac_prev=datarootdir ;;
927   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
928   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
929     datarootdir=$ac_optarg ;;
930
931   -disable-* | --disable-*)
932     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933     # Reject names that are not valid shell variable names.
934     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935       as_fn_error $? "invalid feature name: $ac_useropt"
936     ac_useropt_orig=$ac_useropt
937     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938     case $ac_user_opts in
939       *"
940 "enable_$ac_useropt"
941 "*) ;;
942       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943          ac_unrecognized_sep=', ';;
944     esac
945     eval enable_$ac_useropt=no ;;
946
947   -docdir | --docdir | --docdi | --doc | --do)
948     ac_prev=docdir ;;
949   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
950     docdir=$ac_optarg ;;
951
952   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
953     ac_prev=dvidir ;;
954   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
955     dvidir=$ac_optarg ;;
956
957   -enable-* | --enable-*)
958     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959     # Reject names that are not valid shell variable names.
960     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961       as_fn_error $? "invalid feature name: $ac_useropt"
962     ac_useropt_orig=$ac_useropt
963     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964     case $ac_user_opts in
965       *"
966 "enable_$ac_useropt"
967 "*) ;;
968       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969          ac_unrecognized_sep=', ';;
970     esac
971     eval enable_$ac_useropt=\$ac_optarg ;;
972
973   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975   | --exec | --exe | --ex)
976     ac_prev=exec_prefix ;;
977   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
978   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
979   | --exec=* | --exe=* | --ex=*)
980     exec_prefix=$ac_optarg ;;
981
982   -gas | --gas | --ga | --g)
983     # Obsolete; use --with-gas.
984     with_gas=yes ;;
985
986   -help | --help | --hel | --he | -h)
987     ac_init_help=long ;;
988   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
989     ac_init_help=recursive ;;
990   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
991     ac_init_help=short ;;
992
993   -host | --host | --hos | --ho)
994     ac_prev=host_alias ;;
995   -host=* | --host=* | --hos=* | --ho=*)
996     host_alias=$ac_optarg ;;
997
998   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
999     ac_prev=htmldir ;;
1000   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1001   | --ht=*)
1002     htmldir=$ac_optarg ;;
1003
1004   -includedir | --includedir | --includedi | --included | --include \
1005   | --includ | --inclu | --incl | --inc)
1006     ac_prev=includedir ;;
1007   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1008   | --includ=* | --inclu=* | --incl=* | --inc=*)
1009     includedir=$ac_optarg ;;
1010
1011   -infodir | --infodir | --infodi | --infod | --info | --inf)
1012     ac_prev=infodir ;;
1013   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1014     infodir=$ac_optarg ;;
1015
1016   -libdir | --libdir | --libdi | --libd)
1017     ac_prev=libdir ;;
1018   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1019     libdir=$ac_optarg ;;
1020
1021   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1022   | --libexe | --libex | --libe)
1023     ac_prev=libexecdir ;;
1024   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1025   | --libexe=* | --libex=* | --libe=*)
1026     libexecdir=$ac_optarg ;;
1027
1028   -localedir | --localedir | --localedi | --localed | --locale)
1029     ac_prev=localedir ;;
1030   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1031     localedir=$ac_optarg ;;
1032
1033   -localstatedir | --localstatedir | --localstatedi | --localstated \
1034   | --localstate | --localstat | --localsta | --localst | --locals)
1035     ac_prev=localstatedir ;;
1036   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1037   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1038     localstatedir=$ac_optarg ;;
1039
1040   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1041     ac_prev=mandir ;;
1042   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1043     mandir=$ac_optarg ;;
1044
1045   -nfp | --nfp | --nf)
1046     # Obsolete; use --without-fp.
1047     with_fp=no ;;
1048
1049   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1050   | --no-cr | --no-c | -n)
1051     no_create=yes ;;
1052
1053   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1055     no_recursion=yes ;;
1056
1057   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1058   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1059   | --oldin | --oldi | --old | --ol | --o)
1060     ac_prev=oldincludedir ;;
1061   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1062   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1063   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1064     oldincludedir=$ac_optarg ;;
1065
1066   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1067     ac_prev=prefix ;;
1068   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1069     prefix=$ac_optarg ;;
1070
1071   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1072   | --program-pre | --program-pr | --program-p)
1073     ac_prev=program_prefix ;;
1074   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1075   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1076     program_prefix=$ac_optarg ;;
1077
1078   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1079   | --program-suf | --program-su | --program-s)
1080     ac_prev=program_suffix ;;
1081   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1082   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1083     program_suffix=$ac_optarg ;;
1084
1085   -program-transform-name | --program-transform-name \
1086   | --program-transform-nam | --program-transform-na \
1087   | --program-transform-n | --program-transform- \
1088   | --program-transform | --program-transfor \
1089   | --program-transfo | --program-transf \
1090   | --program-trans | --program-tran \
1091   | --progr-tra | --program-tr | --program-t)
1092     ac_prev=program_transform_name ;;
1093   -program-transform-name=* | --program-transform-name=* \
1094   | --program-transform-nam=* | --program-transform-na=* \
1095   | --program-transform-n=* | --program-transform-=* \
1096   | --program-transform=* | --program-transfor=* \
1097   | --program-transfo=* | --program-transf=* \
1098   | --program-trans=* | --program-tran=* \
1099   | --progr-tra=* | --program-tr=* | --program-t=*)
1100     program_transform_name=$ac_optarg ;;
1101
1102   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1103     ac_prev=pdfdir ;;
1104   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1105     pdfdir=$ac_optarg ;;
1106
1107   -psdir | --psdir | --psdi | --psd | --ps)
1108     ac_prev=psdir ;;
1109   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1110     psdir=$ac_optarg ;;
1111
1112   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1113   | -silent | --silent | --silen | --sile | --sil)
1114     silent=yes ;;
1115
1116   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1117     ac_prev=sbindir ;;
1118   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1119   | --sbi=* | --sb=*)
1120     sbindir=$ac_optarg ;;
1121
1122   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1123   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1124   | --sharedst | --shareds | --shared | --share | --shar \
1125   | --sha | --sh)
1126     ac_prev=sharedstatedir ;;
1127   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1128   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1129   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1130   | --sha=* | --sh=*)
1131     sharedstatedir=$ac_optarg ;;
1132
1133   -site | --site | --sit)
1134     ac_prev=site ;;
1135   -site=* | --site=* | --sit=*)
1136     site=$ac_optarg ;;
1137
1138   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1139     ac_prev=srcdir ;;
1140   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1141     srcdir=$ac_optarg ;;
1142
1143   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1144   | --syscon | --sysco | --sysc | --sys | --sy)
1145     ac_prev=sysconfdir ;;
1146   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1147   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1148     sysconfdir=$ac_optarg ;;
1149
1150   -target | --target | --targe | --targ | --tar | --ta | --t)
1151     ac_prev=target_alias ;;
1152   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1153     target_alias=$ac_optarg ;;
1154
1155   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1156     verbose=yes ;;
1157
1158   -version | --version | --versio | --versi | --vers | -V)
1159     ac_init_version=: ;;
1160
1161   -with-* | --with-*)
1162     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163     # Reject names that are not valid shell variable names.
1164     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165       as_fn_error $? "invalid package name: $ac_useropt"
1166     ac_useropt_orig=$ac_useropt
1167     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168     case $ac_user_opts in
1169       *"
1170 "with_$ac_useropt"
1171 "*) ;;
1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173          ac_unrecognized_sep=', ';;
1174     esac
1175     eval with_$ac_useropt=\$ac_optarg ;;
1176
1177   -without-* | --without-*)
1178     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179     # Reject names that are not valid shell variable names.
1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181       as_fn_error $? "invalid package name: $ac_useropt"
1182     ac_useropt_orig=$ac_useropt
1183     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184     case $ac_user_opts in
1185       *"
1186 "with_$ac_useropt"
1187 "*) ;;
1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189          ac_unrecognized_sep=', ';;
1190     esac
1191     eval with_$ac_useropt=no ;;
1192
1193   --x)
1194     # Obsolete; use --with-x.
1195     with_x=yes ;;
1196
1197   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1198   | --x-incl | --x-inc | --x-in | --x-i)
1199     ac_prev=x_includes ;;
1200   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1201   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1202     x_includes=$ac_optarg ;;
1203
1204   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1205   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1206     ac_prev=x_libraries ;;
1207   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1208   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1209     x_libraries=$ac_optarg ;;
1210
1211   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1212 Try \`$0 --help' for more information"
1213     ;;
1214
1215   *=*)
1216     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1217     # Reject names that are not valid shell variable names.
1218     case $ac_envvar in #(
1219       '' | [0-9]* | *[!_$as_cr_alnum]* )
1220       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1221     esac
1222     eval $ac_envvar=\$ac_optarg
1223     export $ac_envvar ;;
1224
1225   *)
1226     # FIXME: should be removed in autoconf 3.0.
1227     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1229       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1231     ;;
1232
1233   esac
1234 done
1235
1236 if test -n "$ac_prev"; then
1237   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1238   as_fn_error $? "missing argument to $ac_option"
1239 fi
1240
1241 if test -n "$ac_unrecognized_opts"; then
1242   case $enable_option_checking in
1243     no) ;;
1244     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1245     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1246   esac
1247 fi
1248
1249 # Check all directory arguments for consistency.
1250 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251                 datadir sysconfdir sharedstatedir localstatedir includedir \
1252                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253                 libdir localedir mandir
1254 do
1255   eval ac_val=\$$ac_var
1256   # Remove trailing slashes.
1257   case $ac_val in
1258     */ )
1259       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260       eval $ac_var=\$ac_val;;
1261   esac
1262   # Be sure to have absolute directory names.
1263   case $ac_val in
1264     [\\/$]* | ?:[\\/]* )  continue;;
1265     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1266   esac
1267   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1268 done
1269
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1273 build=$build_alias
1274 host=$host_alias
1275 target=$target_alias
1276
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x; then
1279   if test "x$build_alias" = x; then
1280     cross_compiling=maybe
1281     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1282     If a cross compiler is detected then cross compile mode will be used" >&2
1283   elif test "x$build_alias" != "x$host_alias"; then
1284     cross_compiling=yes
1285   fi
1286 fi
1287
1288 ac_tool_prefix=
1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1290
1291 test "$silent" = yes && exec 6>/dev/null
1292
1293
1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1295 ac_ls_di=`ls -di .` &&
1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1297   as_fn_error $? "working directory cannot be determined"
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299   as_fn_error $? "pwd does not report name of working directory"
1300
1301
1302 # Find the source files, if location was not specified.
1303 if test -z "$srcdir"; then
1304   ac_srcdir_defaulted=yes
1305   # Try the directory containing this script, then the parent directory.
1306   ac_confdir=`$as_dirname -- "$as_myself" ||
1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1308          X"$as_myself" : 'X\(//\)[^/]' \| \
1309          X"$as_myself" : 'X\(//\)$' \| \
1310          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1311 $as_echo X"$as_myself" |
1312     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1313             s//\1/
1314             q
1315           }
1316           /^X\(\/\/\)[^/].*/{
1317             s//\1/
1318             q
1319           }
1320           /^X\(\/\/\)$/{
1321             s//\1/
1322             q
1323           }
1324           /^X\(\/\).*/{
1325             s//\1/
1326             q
1327           }
1328           s/.*/./; q'`
1329   srcdir=$ac_confdir
1330   if test ! -r "$srcdir/$ac_unique_file"; then
1331     srcdir=..
1332   fi
1333 else
1334   ac_srcdir_defaulted=no
1335 fi
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1337   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1338   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1339 fi
1340 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1341 ac_abs_confdir=`(
1342         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1343         pwd)`
1344 # When building in place, set srcdir=.
1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346   srcdir=.
1347 fi
1348 # Remove unnecessary trailing slashes from srcdir.
1349 # Double slashes in file names in object file debugging info
1350 # mess up M-x gdb in Emacs.
1351 case $srcdir in
1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1353 esac
1354 for ac_var in $ac_precious_vars; do
1355   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1356   eval ac_env_${ac_var}_value=\$${ac_var}
1357   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1358   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1359 done
1360
1361 #
1362 # Report the --help message.
1363 #
1364 if test "$ac_init_help" = "long"; then
1365   # Omit some internal or obsolete options to make the list less imposing.
1366   # This message is too long to be a string in the A/UX 3.1 sh.
1367   cat <<_ACEOF
1368 \`configure' configures gsignond 1.0.1 to adapt to many kinds of systems.
1369
1370 Usage: $0 [OPTION]... [VAR=VALUE]...
1371
1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1373 VAR=VALUE.  See below for descriptions of some of the useful variables.
1374
1375 Defaults for the options are specified in brackets.
1376
1377 Configuration:
1378   -h, --help              display this help and exit
1379       --help=short        display options specific to this package
1380       --help=recursive    display the short help of all the included packages
1381   -V, --version           display version information and exit
1382   -q, --quiet, --silent   do not print \`checking ...' messages
1383       --cache-file=FILE   cache test results in FILE [disabled]
1384   -C, --config-cache      alias for \`--cache-file=config.cache'
1385   -n, --no-create         do not create output files
1386       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1387
1388 Installation directories:
1389   --prefix=PREFIX         install architecture-independent files in PREFIX
1390                           [$ac_default_prefix]
1391   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1392                           [PREFIX]
1393
1394 By default, \`make install' will install all the files in
1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1397 for instance \`--prefix=\$HOME'.
1398
1399 For better control, use the options below.
1400
1401 Fine tuning of the installation directories:
1402   --bindir=DIR            user executables [EPREFIX/bin]
1403   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1404   --libexecdir=DIR        program executables [EPREFIX/libexec]
1405   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1406   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1407   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1408   --libdir=DIR            object code libraries [EPREFIX/lib]
1409   --includedir=DIR        C header files [PREFIX/include]
1410   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1411   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1412   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1413   --infodir=DIR           info documentation [DATAROOTDIR/info]
1414   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1415   --mandir=DIR            man documentation [DATAROOTDIR/man]
1416   --docdir=DIR            documentation root [DATAROOTDIR/doc/gsignond]
1417   --htmldir=DIR           html documentation [DOCDIR]
1418   --dvidir=DIR            dvi documentation [DOCDIR]
1419   --pdfdir=DIR            pdf documentation [DOCDIR]
1420   --psdir=DIR             ps documentation [DOCDIR]
1421 _ACEOF
1422
1423   cat <<\_ACEOF
1424
1425 Program names:
1426   --program-prefix=PREFIX            prepend PREFIX to installed program names
1427   --program-suffix=SUFFIX            append SUFFIX to installed program names
1428   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1429
1430 System types:
1431   --build=BUILD     configure for building on BUILD [guessed]
1432   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1433 _ACEOF
1434 fi
1435
1436 if test -n "$ac_init_help"; then
1437   case $ac_init_help in
1438      short | recursive ) echo "Configuration of gsignond 1.0.1:";;
1439    esac
1440   cat <<\_ACEOF
1441
1442 Optional Features:
1443   --disable-option-checking  ignore unrecognized --enable/--with options
1444   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1445   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1446   --enable-silent-rules          less verbose build output (undo: `make V=1')
1447   --disable-silent-rules         verbose build output (undo: `make V=0')
1448   --disable-dependency-tracking  speeds up one-time build
1449   --enable-dependency-tracking   do not reject slow dependency extractors
1450   --enable-static[=PKGS]  build static libraries [default=no]
1451   --enable-shared[=PKGS]  build shared libraries [default=yes]
1452   --enable-fast-install[=PKGS]
1453                           optimize for fast installation [default=yes]
1454   --disable-libtool-lock  avoid locking (might break parallel builds)
1455   --enable-coverage       compile with coverage info
1456   --enable-distcheck build for distcheck target
1457   --enable-dbus-type=dbus-type specify daemon dbus type:
1458                           p2p(default): uses peer to peer dbus
1459                           session: uses session message bus
1460                           system: uses system message bus
1461   --enable-keychain=sysctx
1462                           enable keychain access with
1463                           system context "sysctx"
1464   --enable-storagedir=path
1465                           enable storage at location "path"
1466                           instead of default "/var/db"
1467   --enable-debug          enable debug features
1468   --enable-sql-log        enable sql log feature
1469   --enable-acltriggers    enable ACL before delete triggers
1470   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1471   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1472   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1473
1474 Optional Packages:
1475   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1476   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1477   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1478                           both]
1479   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1480   --with-sysroot=DIR Search for dependent libraries within DIR
1481                         (or the compiler's sysroot if not specified).
1482   --with-html-dir=PATH    path to installed docs
1483
1484 Some influential environment variables:
1485   CC          C compiler command
1486   CFLAGS      C compiler flags
1487   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1488               nonstandard directory <lib dir>
1489   LIBS        libraries to pass to the linker, e.g. -l<library>
1490   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1491               you have headers in a nonstandard directory <include dir>
1492   CPP         C preprocessor
1493   PKG_CONFIG  path to pkg-config utility
1494   PKG_CONFIG_PATH
1495               directories to add to pkg-config's search path
1496   PKG_CONFIG_LIBDIR
1497               path overriding pkg-config's built-in search path
1498   GSIGNOND_CFLAGS
1499               C compiler flags for GSIGNOND, overriding pkg-config
1500   GSIGNOND_LIBS
1501               linker flags for GSIGNOND, overriding pkg-config
1502   CHECK_CFLAGS
1503               C compiler flags for CHECK, overriding pkg-config
1504   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1505   LIBSMACK_CFLAGS
1506               C compiler flags for LIBSMACK, overriding pkg-config
1507   LIBSMACK_LIBS
1508               linker flags for LIBSMACK, overriding pkg-config
1509   LIBECRYPTFS_CFLAGS
1510               C compiler flags for LIBECRYPTFS, overriding pkg-config
1511   LIBECRYPTFS_LIBS
1512               linker flags for LIBECRYPTFS, overriding pkg-config
1513   GTestDBus_CFLAGS
1514               C compiler flags for GTestDBus, overriding pkg-config
1515   GTestDBus_LIBS
1516               linker flags for GTestDBus, overriding pkg-config
1517   GTKDOC_DEPS_CFLAGS
1518               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1519   GTKDOC_DEPS_LIBS
1520               linker flags for GTKDOC_DEPS, overriding pkg-config
1521
1522 Use these variables to override the choices made by `configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1524
1525 Report bugs to the package provider.
1526 gsignond home page: <http://01.org/gsso>.
1527 _ACEOF
1528 ac_status=$?
1529 fi
1530
1531 if test "$ac_init_help" = "recursive"; then
1532   # If there are subdirs, report their specific --help.
1533   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534     test -d "$ac_dir" ||
1535       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1536       continue
1537     ac_builddir=.
1538
1539 case "$ac_dir" in
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 *)
1542   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543   # A ".." for each directory in $ac_dir_suffix.
1544   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545   case $ac_top_builddir_sub in
1546   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1548   esac ;;
1549 esac
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1554
1555 case $srcdir in
1556   .)  # We are building in place.
1557     ac_srcdir=.
1558     ac_top_srcdir=$ac_top_builddir_sub
1559     ac_abs_top_srcdir=$ac_pwd ;;
1560   [\\/]* | ?:[\\/]* )  # Absolute name.
1561     ac_srcdir=$srcdir$ac_dir_suffix;
1562     ac_top_srcdir=$srcdir
1563     ac_abs_top_srcdir=$srcdir ;;
1564   *) # Relative name.
1565     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566     ac_top_srcdir=$ac_top_build_prefix$srcdir
1567     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1568 esac
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1570
1571     cd "$ac_dir" || { ac_status=$?; continue; }
1572     # Check for guested configure.
1573     if test -f "$ac_srcdir/configure.gnu"; then
1574       echo &&
1575       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576     elif test -f "$ac_srcdir/configure"; then
1577       echo &&
1578       $SHELL "$ac_srcdir/configure" --help=recursive
1579     else
1580       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1581     fi || ac_status=$?
1582     cd "$ac_pwd" || { ac_status=$?; break; }
1583   done
1584 fi
1585
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1588   cat <<\_ACEOF
1589 gsignond configure 1.0.1
1590 generated by GNU Autoconf 2.68
1591
1592 Copyright (C) 2010 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1595 _ACEOF
1596   exit
1597 fi
1598
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1602
1603 # ac_fn_c_try_compile LINENO
1604 # --------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_compile ()
1607 {
1608   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609   rm -f conftest.$ac_objext
1610   if { { ac_try="$ac_compile"
1611 case "(($ac_try" in
1612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613   *) ac_try_echo=$ac_try;;
1614 esac
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617   (eval "$ac_compile") 2>conftest.err
1618   ac_status=$?
1619   if test -s conftest.err; then
1620     grep -v '^ *+' conftest.err >conftest.er1
1621     cat conftest.er1 >&5
1622     mv -f conftest.er1 conftest.err
1623   fi
1624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625   test $ac_status = 0; } && {
1626          test -z "$ac_c_werror_flag" ||
1627          test ! -s conftest.err
1628        } && test -s conftest.$ac_objext; then :
1629   ac_retval=0
1630 else
1631   $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1633
1634         ac_retval=1
1635 fi
1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637   as_fn_set_status $ac_retval
1638
1639 } # ac_fn_c_try_compile
1640
1641 # ac_fn_c_try_link LINENO
1642 # -----------------------
1643 # Try to link conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_link ()
1645 {
1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647   rm -f conftest.$ac_objext conftest$ac_exeext
1648   if { { ac_try="$ac_link"
1649 case "(($ac_try" in
1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651   *) ac_try_echo=$ac_try;;
1652 esac
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655   (eval "$ac_link") 2>conftest.err
1656   ac_status=$?
1657   if test -s conftest.err; then
1658     grep -v '^ *+' conftest.err >conftest.er1
1659     cat conftest.er1 >&5
1660     mv -f conftest.er1 conftest.err
1661   fi
1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663   test $ac_status = 0; } && {
1664          test -z "$ac_c_werror_flag" ||
1665          test ! -s conftest.err
1666        } && test -s conftest$ac_exeext && {
1667          test "$cross_compiling" = yes ||
1668          $as_test_x conftest$ac_exeext
1669        }; then :
1670   ac_retval=0
1671 else
1672   $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1674
1675         ac_retval=1
1676 fi
1677   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1678   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1679   # interfere with the next link command; also delete a directory that is
1680   # left behind by Apple's compiler.  We do this before executing the actions.
1681   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683   as_fn_set_status $ac_retval
1684
1685 } # ac_fn_c_try_link
1686
1687 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1688 # -------------------------------------------------------
1689 # Tests whether HEADER exists and can be compiled using the include files in
1690 # INCLUDES, setting the cache variable VAR accordingly.
1691 ac_fn_c_check_header_compile ()
1692 {
1693   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if eval \${$3+:} false; then :
1697   $as_echo_n "(cached) " >&6
1698 else
1699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h.  */
1701 $4
1702 #include <$2>
1703 _ACEOF
1704 if ac_fn_c_try_compile "$LINENO"; then :
1705   eval "$3=yes"
1706 else
1707   eval "$3=no"
1708 fi
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710 fi
1711 eval ac_res=\$$3
1712                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715
1716 } # ac_fn_c_check_header_compile
1717
1718 # ac_fn_c_try_cpp LINENO
1719 # ----------------------
1720 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1721 ac_fn_c_try_cpp ()
1722 {
1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724   if { { ac_try="$ac_cpp conftest.$ac_ext"
1725 case "(($ac_try" in
1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727   *) ac_try_echo=$ac_try;;
1728 esac
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1732   ac_status=$?
1733   if test -s conftest.err; then
1734     grep -v '^ *+' conftest.err >conftest.er1
1735     cat conftest.er1 >&5
1736     mv -f conftest.er1 conftest.err
1737   fi
1738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739   test $ac_status = 0; } > conftest.i && {
1740          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1741          test ! -s conftest.err
1742        }; then :
1743   ac_retval=0
1744 else
1745   $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1747
1748     ac_retval=1
1749 fi
1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751   as_fn_set_status $ac_retval
1752
1753 } # ac_fn_c_try_cpp
1754
1755 # ac_fn_c_try_run LINENO
1756 # ----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1758 # that executables *can* be run.
1759 ac_fn_c_try_run ()
1760 {
1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762   if { { ac_try="$ac_link"
1763 case "(($ac_try" in
1764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765   *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769   (eval "$ac_link") 2>&5
1770   ac_status=$?
1771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1773   { { case "(($ac_try" in
1774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775   *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779   (eval "$ac_try") 2>&5
1780   ac_status=$?
1781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782   test $ac_status = 0; }; }; then :
1783   ac_retval=0
1784 else
1785   $as_echo "$as_me: program exited with status $ac_status" >&5
1786        $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1788
1789        ac_retval=$ac_status
1790 fi
1791   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793   as_fn_set_status $ac_retval
1794
1795 } # ac_fn_c_try_run
1796
1797 # ac_fn_c_check_func LINENO FUNC VAR
1798 # ----------------------------------
1799 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1800 ac_fn_c_check_func ()
1801 {
1802   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806   $as_echo_n "(cached) " >&6
1807 else
1808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h.  */
1810 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1812 #define $2 innocuous_$2
1813
1814 /* System header to define __stub macros and hopefully few prototypes,
1815     which can conflict with char $2 (); below.
1816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1817     <limits.h> exists even on freestanding compilers.  */
1818
1819 #ifdef __STDC__
1820 # include <limits.h>
1821 #else
1822 # include <assert.h>
1823 #endif
1824
1825 #undef $2
1826
1827 /* Override any GCC internal prototype to avoid an error.
1828    Use char because int might match the return type of a GCC
1829    builtin and then its argument prototype would still apply.  */
1830 #ifdef __cplusplus
1831 extern "C"
1832 #endif
1833 char $2 ();
1834 /* The GNU C library defines this for functions which it implements
1835     to always fail with ENOSYS.  Some functions are actually named
1836     something starting with __ and the normal name is an alias.  */
1837 #if defined __stub_$2 || defined __stub___$2
1838 choke me
1839 #endif
1840
1841 int
1842 main ()
1843 {
1844 return $2 ();
1845   ;
1846   return 0;
1847 }
1848 _ACEOF
1849 if ac_fn_c_try_link "$LINENO"; then :
1850   eval "$3=yes"
1851 else
1852   eval "$3=no"
1853 fi
1854 rm -f core conftest.err conftest.$ac_objext \
1855     conftest$ac_exeext conftest.$ac_ext
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   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861
1862 } # ac_fn_c_check_func
1863
1864 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1865 # -------------------------------------------------------
1866 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1867 # the include files in INCLUDES and setting the cache variable VAR
1868 # accordingly.
1869 ac_fn_c_check_header_mongrel ()
1870 {
1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872   if eval \${$3+:} false; then :
1873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if eval \${$3+:} false; then :
1876   $as_echo_n "(cached) " >&6
1877 fi
1878 eval ac_res=\$$3
1879                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 $as_echo "$ac_res" >&6; }
1881 else
1882   # Is the header compilable?
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1884 $as_echo_n "checking $2 usability... " >&6; }
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h.  */
1887 $4
1888 #include <$2>
1889 _ACEOF
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891   ac_header_compiler=yes
1892 else
1893   ac_header_compiler=no
1894 fi
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1897 $as_echo "$ac_header_compiler" >&6; }
1898
1899 # Is the header present?
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1901 $as_echo_n "checking $2 presence... " >&6; }
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h.  */
1904 #include <$2>
1905 _ACEOF
1906 if ac_fn_c_try_cpp "$LINENO"; then :
1907   ac_header_preproc=yes
1908 else
1909   ac_header_preproc=no
1910 fi
1911 rm -f conftest.err conftest.i conftest.$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1913 $as_echo "$ac_header_preproc" >&6; }
1914
1915 # So?  What about this header?
1916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1917   yes:no: )
1918     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1919 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1920     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1921 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1922     ;;
1923   no:yes:* )
1924     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1925 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1926     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1927 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1928     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1929 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1930     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1931 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1932     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1933 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1934     ;;
1935 esac
1936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if eval \${$3+:} false; then :
1939   $as_echo_n "(cached) " >&6
1940 else
1941   eval "$3=\$ac_header_compiler"
1942 fi
1943 eval ac_res=\$$3
1944                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 fi
1947   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948
1949 } # ac_fn_c_check_header_mongrel
1950 cat >config.log <<_ACEOF
1951 This file contains any messages produced by compilers while
1952 running configure, to aid debugging if configure makes a mistake.
1953
1954 It was created by gsignond $as_me 1.0.1, which was
1955 generated by GNU Autoconf 2.68.  Invocation command line was
1956
1957   $ $0 $@
1958
1959 _ACEOF
1960 exec 5>>config.log
1961 {
1962 cat <<_ASUNAME
1963 ## --------- ##
1964 ## Platform. ##
1965 ## --------- ##
1966
1967 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1968 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1969 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1970 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1971 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1972
1973 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1974 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1975
1976 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1977 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1978 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1979 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1980 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1981 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1982 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1983
1984 _ASUNAME
1985
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 for as_dir in $PATH
1988 do
1989   IFS=$as_save_IFS
1990   test -z "$as_dir" && as_dir=.
1991     $as_echo "PATH: $as_dir"
1992   done
1993 IFS=$as_save_IFS
1994
1995 } >&5
1996
1997 cat >&5 <<_ACEOF
1998
1999
2000 ## ----------- ##
2001 ## Core tests. ##
2002 ## ----------- ##
2003
2004 _ACEOF
2005
2006
2007 # Keep a trace of the command line.
2008 # Strip out --no-create and --no-recursion so they do not pile up.
2009 # Strip out --silent because we don't want to record it for future runs.
2010 # Also quote any args containing shell meta-characters.
2011 # Make two passes to allow for proper duplicate-argument suppression.
2012 ac_configure_args=
2013 ac_configure_args0=
2014 ac_configure_args1=
2015 ac_must_keep_next=false
2016 for ac_pass in 1 2
2017 do
2018   for ac_arg
2019   do
2020     case $ac_arg in
2021     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2022     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2023     | -silent | --silent | --silen | --sile | --sil)
2024       continue ;;
2025     *\'*)
2026       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2027     esac
2028     case $ac_pass in
2029     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2030     2)
2031       as_fn_append ac_configure_args1 " '$ac_arg'"
2032       if test $ac_must_keep_next = true; then
2033         ac_must_keep_next=false # Got value, back to normal.
2034       else
2035         case $ac_arg in
2036           *=* | --config-cache | -C | -disable-* | --disable-* \
2037           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2038           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2039           | -with-* | --with-* | -without-* | --without-* | --x)
2040             case "$ac_configure_args0 " in
2041               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2042             esac
2043             ;;
2044           -* ) ac_must_keep_next=true ;;
2045         esac
2046       fi
2047       as_fn_append ac_configure_args " '$ac_arg'"
2048       ;;
2049     esac
2050   done
2051 done
2052 { ac_configure_args0=; unset ac_configure_args0;}
2053 { ac_configure_args1=; unset ac_configure_args1;}
2054
2055 # When interrupted or exit'd, cleanup temporary files, and complete
2056 # config.log.  We remove comments because anyway the quotes in there
2057 # would cause problems or look ugly.
2058 # WARNING: Use '\'' to represent an apostrophe within the trap.
2059 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2060 trap 'exit_status=$?
2061   # Save into config.log some information that might help in debugging.
2062   {
2063     echo
2064
2065     $as_echo "## ---------------- ##
2066 ## Cache variables. ##
2067 ## ---------------- ##"
2068     echo
2069     # The following way of writing the cache mishandles newlines in values,
2070 (
2071   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2072     eval ac_val=\$$ac_var
2073     case $ac_val in #(
2074     *${as_nl}*)
2075       case $ac_var in #(
2076       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2078       esac
2079       case $ac_var in #(
2080       _ | IFS | as_nl) ;; #(
2081       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2082       *) { eval $ac_var=; unset $ac_var;} ;;
2083       esac ;;
2084     esac
2085   done
2086   (set) 2>&1 |
2087     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2088     *${as_nl}ac_space=\ *)
2089       sed -n \
2090         "s/'\''/'\''\\\\'\'''\''/g;
2091           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2092       ;; #(
2093     *)
2094       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2095       ;;
2096     esac |
2097     sort
2098 )
2099     echo
2100
2101     $as_echo "## ----------------- ##
2102 ## Output variables. ##
2103 ## ----------------- ##"
2104     echo
2105     for ac_var in $ac_subst_vars
2106     do
2107       eval ac_val=\$$ac_var
2108       case $ac_val in
2109       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2110       esac
2111       $as_echo "$ac_var='\''$ac_val'\''"
2112     done | sort
2113     echo
2114
2115     if test -n "$ac_subst_files"; then
2116       $as_echo "## ------------------- ##
2117 ## File substitutions. ##
2118 ## ------------------- ##"
2119       echo
2120       for ac_var in $ac_subst_files
2121       do
2122         eval ac_val=\$$ac_var
2123         case $ac_val in
2124         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2125         esac
2126         $as_echo "$ac_var='\''$ac_val'\''"
2127       done | sort
2128       echo
2129     fi
2130
2131     if test -s confdefs.h; then
2132       $as_echo "## ----------- ##
2133 ## confdefs.h. ##
2134 ## ----------- ##"
2135       echo
2136       cat confdefs.h
2137       echo
2138     fi
2139     test "$ac_signal" != 0 &&
2140       $as_echo "$as_me: caught signal $ac_signal"
2141     $as_echo "$as_me: exit $exit_status"
2142   } >&5
2143   rm -f core *.core core.conftest.* &&
2144     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2145     exit $exit_status
2146 ' 0
2147 for ac_signal in 1 2 13 15; do
2148   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2149 done
2150 ac_signal=0
2151
2152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2153 rm -f -r conftest* confdefs.h
2154
2155 $as_echo "/* confdefs.h */" > confdefs.h
2156
2157 # Predefined preprocessor variables.
2158
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_NAME "$PACKAGE_NAME"
2161 _ACEOF
2162
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2165 _ACEOF
2166
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2169 _ACEOF
2170
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_STRING "$PACKAGE_STRING"
2173 _ACEOF
2174
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2177 _ACEOF
2178
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_URL "$PACKAGE_URL"
2181 _ACEOF
2182
2183
2184 # Let the site file select an alternate cache file if it wants to.
2185 # Prefer an explicitly selected file to automatically selected ones.
2186 ac_site_file1=NONE
2187 ac_site_file2=NONE
2188 if test -n "$CONFIG_SITE"; then
2189   # We do not want a PATH search for config.site.
2190   case $CONFIG_SITE in #((
2191     -*)  ac_site_file1=./$CONFIG_SITE;;
2192     */*) ac_site_file1=$CONFIG_SITE;;
2193     *)   ac_site_file1=./$CONFIG_SITE;;
2194   esac
2195 elif test "x$prefix" != xNONE; then
2196   ac_site_file1=$prefix/share/config.site
2197   ac_site_file2=$prefix/etc/config.site
2198 else
2199   ac_site_file1=$ac_default_prefix/share/config.site
2200   ac_site_file2=$ac_default_prefix/etc/config.site
2201 fi
2202 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2203 do
2204   test "x$ac_site_file" = xNONE && continue
2205   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2206     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2207 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2208     sed 's/^/| /' "$ac_site_file" >&5
2209     . "$ac_site_file" \
2210       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 as_fn_error $? "failed to load site script $ac_site_file
2213 See \`config.log' for more details" "$LINENO" 5; }
2214   fi
2215 done
2216
2217 if test -r "$cache_file"; then
2218   # Some versions of bash will fail to source /dev/null (special files
2219   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2220   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2221     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2222 $as_echo "$as_me: loading cache $cache_file" >&6;}
2223     case $cache_file in
2224       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2225       *)                      . "./$cache_file";;
2226     esac
2227   fi
2228 else
2229   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2230 $as_echo "$as_me: creating cache $cache_file" >&6;}
2231   >$cache_file
2232 fi
2233
2234 # Check that the precious variables saved in the cache have kept the same
2235 # value.
2236 ac_cache_corrupted=false
2237 for ac_var in $ac_precious_vars; do
2238   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2239   eval ac_new_set=\$ac_env_${ac_var}_set
2240   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2241   eval ac_new_val=\$ac_env_${ac_var}_value
2242   case $ac_old_set,$ac_new_set in
2243     set,)
2244       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2245 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2246       ac_cache_corrupted=: ;;
2247     ,set)
2248       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2249 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2250       ac_cache_corrupted=: ;;
2251     ,);;
2252     *)
2253       if test "x$ac_old_val" != "x$ac_new_val"; then
2254         # differences in whitespace do not lead to failure.
2255         ac_old_val_w=`echo x $ac_old_val`
2256         ac_new_val_w=`echo x $ac_new_val`
2257         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2258           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2259 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2260           ac_cache_corrupted=:
2261         else
2262           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2263 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2264           eval $ac_var=\$ac_old_val
2265         fi
2266         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2267 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2268         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2269 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2270       fi;;
2271   esac
2272   # Pass precious variables to config.status.
2273   if test "$ac_new_set" = set; then
2274     case $ac_new_val in
2275     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2276     *) ac_arg=$ac_var=$ac_new_val ;;
2277     esac
2278     case " $ac_configure_args " in
2279       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2280       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2281     esac
2282   fi
2283 done
2284 if $ac_cache_corrupted; then
2285   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2287   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2288 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2289   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2290 fi
2291 ## -------------------- ##
2292 ## Main body of script. ##
2293 ## -------------------- ##
2294
2295 ac_ext=c
2296 ac_cpp='$CPP $CPPFLAGS'
2297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300
2301
2302
2303 ac_config_headers="$ac_config_headers config.h"
2304
2305 ac_aux_dir=
2306 for ac_dir in build-aux "$srcdir"/build-aux; do
2307   if test -f "$ac_dir/install-sh"; then
2308     ac_aux_dir=$ac_dir
2309     ac_install_sh="$ac_aux_dir/install-sh -c"
2310     break
2311   elif test -f "$ac_dir/install.sh"; then
2312     ac_aux_dir=$ac_dir
2313     ac_install_sh="$ac_aux_dir/install.sh -c"
2314     break
2315   elif test -f "$ac_dir/shtool"; then
2316     ac_aux_dir=$ac_dir
2317     ac_install_sh="$ac_aux_dir/shtool install -c"
2318     break
2319   fi
2320 done
2321 if test -z "$ac_aux_dir"; then
2322   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2323 fi
2324
2325 # These three variables are undocumented and unsupported,
2326 # and are intended to be withdrawn in a future Autoconf release.
2327 # They can cause serious problems if a builder's source tree is in a directory
2328 # whose full name contains unusual characters.
2329 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2330 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2331 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2332
2333
2334
2335
2336 am__api_version='1.11'
2337
2338 # Find a good install program.  We prefer a C program (faster),
2339 # so one script is as good as another.  But avoid the broken or
2340 # incompatible versions:
2341 # SysV /etc/install, /usr/sbin/install
2342 # SunOS /usr/etc/install
2343 # IRIX /sbin/install
2344 # AIX /bin/install
2345 # AmigaOS /C/install, which installs bootblocks on floppy discs
2346 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2347 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2348 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2349 # OS/2's system install, which has a completely different semantic
2350 # ./install, which can be erroneously created by make from ./install.sh.
2351 # Reject install programs that cannot install multiple files.
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2353 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2354 if test -z "$INSTALL"; then
2355 if ${ac_cv_path_install+:} false; then :
2356   $as_echo_n "(cached) " >&6
2357 else
2358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 for as_dir in $PATH
2360 do
2361   IFS=$as_save_IFS
2362   test -z "$as_dir" && as_dir=.
2363     # Account for people who put trailing slashes in PATH elements.
2364 case $as_dir/ in #((
2365   ./ | .// | /[cC]/* | \
2366   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2367   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2368   /usr/ucb/* ) ;;
2369   *)
2370     # OSF1 and SCO ODT 3.0 have their own names for install.
2371     # Don't use installbsd from OSF since it installs stuff as root
2372     # by default.
2373     for ac_prog in ginstall scoinst install; do
2374       for ac_exec_ext in '' $ac_executable_extensions; do
2375         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2376           if test $ac_prog = install &&
2377             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2378             # AIX install.  It has an incompatible calling convention.
2379             :
2380           elif test $ac_prog = install &&
2381             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2382             # program-specific install script used by HP pwplus--don't use.
2383             :
2384           else
2385             rm -rf conftest.one conftest.two conftest.dir
2386             echo one > conftest.one
2387             echo two > conftest.two
2388             mkdir conftest.dir
2389             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2390               test -s conftest.one && test -s conftest.two &&
2391               test -s conftest.dir/conftest.one &&
2392               test -s conftest.dir/conftest.two
2393             then
2394               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2395               break 3
2396             fi
2397           fi
2398         fi
2399       done
2400     done
2401     ;;
2402 esac
2403
2404   done
2405 IFS=$as_save_IFS
2406
2407 rm -rf conftest.one conftest.two conftest.dir
2408
2409 fi
2410   if test "${ac_cv_path_install+set}" = set; then
2411     INSTALL=$ac_cv_path_install
2412   else
2413     # As a last resort, use the slow shell script.  Don't cache a
2414     # value for INSTALL within a source directory, because that will
2415     # break other packages using the cache if that directory is
2416     # removed, or if the value is a relative name.
2417     INSTALL=$ac_install_sh
2418   fi
2419 fi
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2421 $as_echo "$INSTALL" >&6; }
2422
2423 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2424 # It thinks the first close brace ends the variable substitution.
2425 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2426
2427 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2428
2429 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2430
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2432 $as_echo_n "checking whether build environment is sane... " >&6; }
2433 # Just in case
2434 sleep 1
2435 echo timestamp > conftest.file
2436 # Reject unsafe characters in $srcdir or the absolute working directory
2437 # name.  Accept space and tab only in the latter.
2438 am_lf='
2439 '
2440 case `pwd` in
2441   *[\\\"\#\$\&\'\`$am_lf]*)
2442     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2443 esac
2444 case $srcdir in
2445   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2446     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2447 esac
2448
2449 # Do `set' in a subshell so we don't clobber the current shell's
2450 # arguments.  Must try -L first in case configure is actually a
2451 # symlink; some systems play weird games with the mod time of symlinks
2452 # (eg FreeBSD returns the mod time of the symlink's containing
2453 # directory).
2454 if (
2455    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2456    if test "$*" = "X"; then
2457       # -L didn't work.
2458       set X `ls -t "$srcdir/configure" conftest.file`
2459    fi
2460    rm -f conftest.file
2461    if test "$*" != "X $srcdir/configure conftest.file" \
2462       && test "$*" != "X conftest.file $srcdir/configure"; then
2463
2464       # If neither matched, then we have a broken ls.  This can happen
2465       # if, for instance, CONFIG_SHELL is bash and it inherits a
2466       # broken ls alias from the environment.  This has actually
2467       # happened.  Such a system could not be considered "sane".
2468       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2469 alias in your environment" "$LINENO" 5
2470    fi
2471
2472    test "$2" = conftest.file
2473    )
2474 then
2475    # Ok.
2476    :
2477 else
2478    as_fn_error $? "newly created file is older than distributed files!
2479 Check your system clock" "$LINENO" 5
2480 fi
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2482 $as_echo "yes" >&6; }
2483 test "$program_prefix" != NONE &&
2484   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2485 # Use a double $ so make ignores it.
2486 test "$program_suffix" != NONE &&
2487   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2488 # Double any \ or $.
2489 # By default was `s,x,x', remove it if useless.
2490 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2491 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2492
2493 # expand $ac_aux_dir to an absolute path
2494 am_aux_dir=`cd $ac_aux_dir && pwd`
2495
2496 if test x"${MISSING+set}" != xset; then
2497   case $am_aux_dir in
2498   *\ * | *\     *)
2499     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2500   *)
2501     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2502   esac
2503 fi
2504 # Use eval to expand $SHELL
2505 if eval "$MISSING --run true"; then
2506   am_missing_run="$MISSING --run "
2507 else
2508   am_missing_run=
2509   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2510 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2511 fi
2512
2513 if test x"${install_sh}" != xset; then
2514   case $am_aux_dir in
2515   *\ * | *\     *)
2516     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2517   *)
2518     install_sh="\${SHELL} $am_aux_dir/install-sh"
2519   esac
2520 fi
2521
2522 # Installed binaries are usually stripped using `strip' when the user
2523 # run `make install-strip'.  However `strip' might not be the right
2524 # tool to use in cross-compilation environments, therefore Automake
2525 # will honor the `STRIP' environment variable to overrule this program.
2526 if test "$cross_compiling" != no; then
2527   if test -n "$ac_tool_prefix"; then
2528   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2529 set dummy ${ac_tool_prefix}strip; ac_word=$2
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2531 $as_echo_n "checking for $ac_word... " >&6; }
2532 if ${ac_cv_prog_STRIP+:} false; then :
2533   $as_echo_n "(cached) " >&6
2534 else
2535   if test -n "$STRIP"; then
2536   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2537 else
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH
2540 do
2541   IFS=$as_save_IFS
2542   test -z "$as_dir" && as_dir=.
2543     for ac_exec_ext in '' $ac_executable_extensions; do
2544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2547     break 2
2548   fi
2549 done
2550   done
2551 IFS=$as_save_IFS
2552
2553 fi
2554 fi
2555 STRIP=$ac_cv_prog_STRIP
2556 if test -n "$STRIP"; then
2557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2558 $as_echo "$STRIP" >&6; }
2559 else
2560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2561 $as_echo "no" >&6; }
2562 fi
2563
2564
2565 fi
2566 if test -z "$ac_cv_prog_STRIP"; then
2567   ac_ct_STRIP=$STRIP
2568   # Extract the first word of "strip", so it can be a program name with args.
2569 set dummy strip; ac_word=$2
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2573   $as_echo_n "(cached) " >&6
2574 else
2575   if test -n "$ac_ct_STRIP"; then
2576   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2577 else
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2580 do
2581   IFS=$as_save_IFS
2582   test -z "$as_dir" && as_dir=.
2583     for ac_exec_ext in '' $ac_executable_extensions; do
2584   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585     ac_cv_prog_ac_ct_STRIP="strip"
2586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587     break 2
2588   fi
2589 done
2590   done
2591 IFS=$as_save_IFS
2592
2593 fi
2594 fi
2595 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2596 if test -n "$ac_ct_STRIP"; then
2597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2598 $as_echo "$ac_ct_STRIP" >&6; }
2599 else
2600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 $as_echo "no" >&6; }
2602 fi
2603
2604   if test "x$ac_ct_STRIP" = x; then
2605     STRIP=":"
2606   else
2607     case $cross_compiling:$ac_tool_warned in
2608 yes:)
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2611 ac_tool_warned=yes ;;
2612 esac
2613     STRIP=$ac_ct_STRIP
2614   fi
2615 else
2616   STRIP="$ac_cv_prog_STRIP"
2617 fi
2618
2619 fi
2620 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2621
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2623 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2624 if test -z "$MKDIR_P"; then
2625   if ${ac_cv_path_mkdir+:} false; then :
2626   $as_echo_n "(cached) " >&6
2627 else
2628   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2630 do
2631   IFS=$as_save_IFS
2632   test -z "$as_dir" && as_dir=.
2633     for ac_prog in mkdir gmkdir; do
2634          for ac_exec_ext in '' $ac_executable_extensions; do
2635            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2636            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2637              'mkdir (GNU coreutils) '* | \
2638              'mkdir (coreutils) '* | \
2639              'mkdir (fileutils) '4.1*)
2640                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2641                break 3;;
2642            esac
2643          done
2644        done
2645   done
2646 IFS=$as_save_IFS
2647
2648 fi
2649
2650   test -d ./--version && rmdir ./--version
2651   if test "${ac_cv_path_mkdir+set}" = set; then
2652     MKDIR_P="$ac_cv_path_mkdir -p"
2653   else
2654     # As a last resort, use the slow shell script.  Don't cache a
2655     # value for MKDIR_P within a source directory, because that will
2656     # break other packages using the cache if that directory is
2657     # removed, or if the value is a relative name.
2658     MKDIR_P="$ac_install_sh -d"
2659   fi
2660 fi
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2662 $as_echo "$MKDIR_P" >&6; }
2663
2664 mkdir_p="$MKDIR_P"
2665 case $mkdir_p in
2666   [\\/$]* | ?:[\\/]*) ;;
2667   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2668 esac
2669
2670 for ac_prog in gawk mawk nawk awk
2671 do
2672   # Extract the first word of "$ac_prog", so it can be a program name with args.
2673 set dummy $ac_prog; ac_word=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if ${ac_cv_prog_AWK+:} false; then :
2677   $as_echo_n "(cached) " >&6
2678 else
2679   if test -n "$AWK"; then
2680   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2681 else
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 for as_dir in $PATH
2684 do
2685   IFS=$as_save_IFS
2686   test -z "$as_dir" && as_dir=.
2687     for ac_exec_ext in '' $ac_executable_extensions; do
2688   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2689     ac_cv_prog_AWK="$ac_prog"
2690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691     break 2
2692   fi
2693 done
2694   done
2695 IFS=$as_save_IFS
2696
2697 fi
2698 fi
2699 AWK=$ac_cv_prog_AWK
2700 if test -n "$AWK"; then
2701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2702 $as_echo "$AWK" >&6; }
2703 else
2704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705 $as_echo "no" >&6; }
2706 fi
2707
2708
2709   test -n "$AWK" && break
2710 done
2711
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2713 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2714 set x ${MAKE-make}
2715 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2716 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2717   $as_echo_n "(cached) " >&6
2718 else
2719   cat >conftest.make <<\_ACEOF
2720 SHELL = /bin/sh
2721 all:
2722         @echo '@@@%%%=$(MAKE)=@@@%%%'
2723 _ACEOF
2724 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2725 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2726   *@@@%%%=?*=@@@%%%*)
2727     eval ac_cv_prog_make_${ac_make}_set=yes;;
2728   *)
2729     eval ac_cv_prog_make_${ac_make}_set=no;;
2730 esac
2731 rm -f conftest.make
2732 fi
2733 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2735 $as_echo "yes" >&6; }
2736   SET_MAKE=
2737 else
2738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2740   SET_MAKE="MAKE=${MAKE-make}"
2741 fi
2742
2743 rm -rf .tst 2>/dev/null
2744 mkdir .tst 2>/dev/null
2745 if test -d .tst; then
2746   am__leading_dot=.
2747 else
2748   am__leading_dot=_
2749 fi
2750 rmdir .tst 2>/dev/null
2751
2752 # Check whether --enable-silent-rules was given.
2753 if test "${enable_silent_rules+set}" = set; then :
2754   enableval=$enable_silent_rules;
2755 fi
2756
2757 case $enable_silent_rules in
2758 yes) AM_DEFAULT_VERBOSITY=0;;
2759 no)  AM_DEFAULT_VERBOSITY=1;;
2760 *)   AM_DEFAULT_VERBOSITY=1;;
2761 esac
2762 am_make=${MAKE-make}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2764 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2765 if ${am_cv_make_support_nested_variables+:} false; then :
2766   $as_echo_n "(cached) " >&6
2767 else
2768   if $as_echo 'TRUE=$(BAR$(V))
2769 BAR0=false
2770 BAR1=true
2771 V=1
2772 am__doit:
2773         @$(TRUE)
2774 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2775   am_cv_make_support_nested_variables=yes
2776 else
2777   am_cv_make_support_nested_variables=no
2778 fi
2779 fi
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2781 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2782 if test $am_cv_make_support_nested_variables = yes; then
2783     AM_V='$(V)'
2784   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2785 else
2786   AM_V=$AM_DEFAULT_VERBOSITY
2787   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2788 fi
2789 AM_BACKSLASH='\'
2790
2791 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2792   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2793   # is not polluted with repeated "-I."
2794   am__isrc=' -I$(srcdir)'
2795   # test to see if srcdir already configured
2796   if test -f $srcdir/config.status; then
2797     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2798   fi
2799 fi
2800
2801 # test whether we have cygpath
2802 if test -z "$CYGPATH_W"; then
2803   if (cygpath --version) >/dev/null 2>/dev/null; then
2804     CYGPATH_W='cygpath -w'
2805   else
2806     CYGPATH_W=echo
2807   fi
2808 fi
2809
2810
2811 # Define the identity of the package.
2812  PACKAGE='gsignond'
2813  VERSION='1.0.1'
2814
2815
2816 cat >>confdefs.h <<_ACEOF
2817 #define PACKAGE "$PACKAGE"
2818 _ACEOF
2819
2820
2821 cat >>confdefs.h <<_ACEOF
2822 #define VERSION "$VERSION"
2823 _ACEOF
2824
2825 # Some tools Automake needs.
2826
2827 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2828
2829
2830 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2831
2832
2833 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2834
2835
2836 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2837
2838
2839 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2840
2841 # We need awk for the "check" target.  The system "awk" is bad on
2842 # some platforms.
2843 # Always define AMTAR for backward compatibility.  Yes, it's still used
2844 # in the wild :-(  We should find a proper way to deprecate it ...
2845 AMTAR='$${TAR-tar}'
2846
2847
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2849 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2850 # Loop over all known methods to create a tar archive until one works.
2851 _am_tools='gnutar  pax cpio none'
2852 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2853 # Do not fold the above two line into one, because Tru64 sh and
2854 # Solaris sh will not grok spaces in the rhs of `-'.
2855 for _am_tool in $_am_tools
2856 do
2857   case $_am_tool in
2858   gnutar)
2859     for _am_tar in tar gnutar gtar;
2860     do
2861       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2862    ($_am_tar --version) >&5 2>&5
2863    ac_status=$?
2864    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865    (exit $ac_status); } && break
2866     done
2867     am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2868     am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2869     am__untar="$_am_tar -xf -"
2870     ;;
2871   plaintar)
2872     # Must skip GNU tar: if it does not support --format= it doesn't create
2873     # ustar tarball either.
2874     (tar --version) >/dev/null 2>&1 && continue
2875     am__tar='tar chf - "$$tardir"'
2876     am__tar_='tar chf - "$tardir"'
2877     am__untar='tar xf -'
2878     ;;
2879   pax)
2880     am__tar='pax -L -x pax -w "$$tardir"'
2881     am__tar_='pax -L -x pax -w "$tardir"'
2882     am__untar='pax -r'
2883     ;;
2884   cpio)
2885     am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2886     am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2887     am__untar='cpio -i -H pax -d'
2888     ;;
2889   none)
2890     am__tar=false
2891     am__tar_=false
2892     am__untar=false
2893     ;;
2894   esac
2895
2896   # If the value was cached, stop now.  We just wanted to have am__tar
2897   # and am__untar set.
2898   test -n "${am_cv_prog_tar_pax}" && break
2899
2900   # tar/untar a dummy directory, and stop if the command works
2901   rm -rf conftest.dir
2902   mkdir conftest.dir
2903   echo GrepMe > conftest.dir/file
2904   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2905    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2906    ac_status=$?
2907    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908    (exit $ac_status); }
2909   rm -rf conftest.dir
2910   if test -s conftest.tar; then
2911     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2912    ($am__untar <conftest.tar) >&5 2>&5
2913    ac_status=$?
2914    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915    (exit $ac_status); }
2916     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2917   fi
2918 done
2919 rm -rf conftest.dir
2920
2921 if ${am_cv_prog_tar_pax+:} false; then :
2922   $as_echo_n "(cached) " >&6
2923 else
2924   am_cv_prog_tar_pax=$_am_tool
2925 fi
2926
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2928 $as_echo "$am_cv_prog_tar_pax" >&6; }
2929
2930
2931
2932
2933
2934
2935 # Checks for programs.
2936 ac_ext=c
2937 ac_cpp='$CPP $CPPFLAGS'
2938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2941 if test -n "$ac_tool_prefix"; then
2942   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2943 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_CC+:} false; then :
2947   $as_echo_n "(cached) " >&6
2948 else
2949   if test -n "$CC"; then
2950   ac_cv_prog_CC="$CC" # Let the user override the test.
2951 else
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 for as_dir in $PATH
2954 do
2955   IFS=$as_save_IFS
2956   test -z "$as_dir" && as_dir=.
2957     for ac_exec_ext in '' $ac_executable_extensions; do
2958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961     break 2
2962   fi
2963 done
2964   done
2965 IFS=$as_save_IFS
2966
2967 fi
2968 fi
2969 CC=$ac_cv_prog_CC
2970 if test -n "$CC"; then
2971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2972 $as_echo "$CC" >&6; }
2973 else
2974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2976 fi
2977
2978
2979 fi
2980 if test -z "$ac_cv_prog_CC"; then
2981   ac_ct_CC=$CC
2982   # Extract the first word of "gcc", so it can be a program name with args.
2983 set dummy gcc; ac_word=$2
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985 $as_echo_n "checking for $ac_word... " >&6; }
2986 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2987   $as_echo_n "(cached) " >&6
2988 else
2989   if test -n "$ac_ct_CC"; then
2990   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2991 else
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 for as_dir in $PATH
2994 do
2995   IFS=$as_save_IFS
2996   test -z "$as_dir" && as_dir=.
2997     for ac_exec_ext in '' $ac_executable_extensions; do
2998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999     ac_cv_prog_ac_ct_CC="gcc"
3000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001     break 2
3002   fi
3003 done
3004   done
3005 IFS=$as_save_IFS
3006
3007 fi
3008 fi
3009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3010 if test -n "$ac_ct_CC"; then
3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3012 $as_echo "$ac_ct_CC" >&6; }
3013 else
3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 $as_echo "no" >&6; }
3016 fi
3017
3018   if test "x$ac_ct_CC" = x; then
3019     CC=""
3020   else
3021     case $cross_compiling:$ac_tool_warned in
3022 yes:)
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3025 ac_tool_warned=yes ;;
3026 esac
3027     CC=$ac_ct_CC
3028   fi
3029 else
3030   CC="$ac_cv_prog_CC"
3031 fi
3032
3033 if test -z "$CC"; then
3034           if test -n "$ac_tool_prefix"; then
3035     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3036 set dummy ${ac_tool_prefix}cc; ac_word=$2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if ${ac_cv_prog_CC+:} false; then :
3040   $as_echo_n "(cached) " >&6
3041 else
3042   if test -n "$CC"; then
3043   ac_cv_prog_CC="$CC" # Let the user override the test.
3044 else
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 for as_dir in $PATH
3047 do
3048   IFS=$as_save_IFS
3049   test -z "$as_dir" && as_dir=.
3050     for ac_exec_ext in '' $ac_executable_extensions; do
3051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052     ac_cv_prog_CC="${ac_tool_prefix}cc"
3053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3054     break 2
3055   fi
3056 done
3057   done
3058 IFS=$as_save_IFS
3059
3060 fi
3061 fi
3062 CC=$ac_cv_prog_CC
3063 if test -n "$CC"; then
3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3065 $as_echo "$CC" >&6; }
3066 else
3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3069 fi
3070
3071
3072   fi
3073 fi
3074 if test -z "$CC"; then
3075   # Extract the first word of "cc", so it can be a program name with args.
3076 set dummy cc; ac_word=$2
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078 $as_echo_n "checking for $ac_word... " >&6; }
3079 if ${ac_cv_prog_CC+:} false; then :
3080   $as_echo_n "(cached) " >&6
3081 else
3082   if test -n "$CC"; then
3083   ac_cv_prog_CC="$CC" # Let the user override the test.
3084 else
3085   ac_prog_rejected=no
3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3087 for as_dir in $PATH
3088 do
3089   IFS=$as_save_IFS
3090   test -z "$as_dir" && as_dir=.
3091     for ac_exec_ext in '' $ac_executable_extensions; do
3092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3093     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3094        ac_prog_rejected=yes
3095        continue
3096      fi
3097     ac_cv_prog_CC="cc"
3098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099     break 2
3100   fi
3101 done
3102   done
3103 IFS=$as_save_IFS
3104
3105 if test $ac_prog_rejected = yes; then
3106   # We found a bogon in the path, so make sure we never use it.
3107   set dummy $ac_cv_prog_CC
3108   shift
3109   if test $# != 0; then
3110     # We chose a different compiler from the bogus one.
3111     # However, it has the same basename, so the bogon will be chosen
3112     # first if we set CC to just the basename; use the full file name.
3113     shift
3114     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3115   fi
3116 fi
3117 fi
3118 fi
3119 CC=$ac_cv_prog_CC
3120 if test -n "$CC"; then
3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3122 $as_echo "$CC" >&6; }
3123 else
3124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3126 fi
3127
3128
3129 fi
3130 if test -z "$CC"; then
3131   if test -n "$ac_tool_prefix"; then
3132   for ac_prog in cl.exe
3133   do
3134     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3135 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_CC+:} false; then :
3139   $as_echo_n "(cached) " >&6
3140 else
3141   if test -n "$CC"; then
3142   ac_cv_prog_CC="$CC" # Let the user override the test.
3143 else
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH
3146 do
3147   IFS=$as_save_IFS
3148   test -z "$as_dir" && as_dir=.
3149     for ac_exec_ext in '' $ac_executable_extensions; do
3150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153     break 2
3154   fi
3155 done
3156   done
3157 IFS=$as_save_IFS
3158
3159 fi
3160 fi
3161 CC=$ac_cv_prog_CC
3162 if test -n "$CC"; then
3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3164 $as_echo "$CC" >&6; }
3165 else
3166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3168 fi
3169
3170
3171     test -n "$CC" && break
3172   done
3173 fi
3174 if test -z "$CC"; then
3175   ac_ct_CC=$CC
3176   for ac_prog in cl.exe
3177 do
3178   # Extract the first word of "$ac_prog", so it can be a program name with args.
3179 set dummy $ac_prog; ac_word=$2
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3183   $as_echo_n "(cached) " >&6
3184 else
3185   if test -n "$ac_ct_CC"; then
3186   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3187 else
3188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 for as_dir in $PATH
3190 do
3191   IFS=$as_save_IFS
3192   test -z "$as_dir" && as_dir=.
3193     for ac_exec_ext in '' $ac_executable_extensions; do
3194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195     ac_cv_prog_ac_ct_CC="$ac_prog"
3196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197     break 2
3198   fi
3199 done
3200   done
3201 IFS=$as_save_IFS
3202
3203 fi
3204 fi
3205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3206 if test -n "$ac_ct_CC"; then
3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3208 $as_echo "$ac_ct_CC" >&6; }
3209 else
3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3212 fi
3213
3214
3215   test -n "$ac_ct_CC" && break
3216 done
3217
3218   if test "x$ac_ct_CC" = x; then
3219     CC=""
3220   else
3221     case $cross_compiling:$ac_tool_warned in
3222 yes:)
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3225 ac_tool_warned=yes ;;
3226 esac
3227     CC=$ac_ct_CC
3228   fi
3229 fi
3230
3231 fi
3232
3233
3234 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 as_fn_error $? "no acceptable C compiler found in \$PATH
3237 See \`config.log' for more details" "$LINENO" 5; }
3238
3239 # Provide some information about the compiler.
3240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3241 set X $ac_compile
3242 ac_compiler=$2
3243 for ac_option in --version -v -V -qversion; do
3244   { { ac_try="$ac_compiler $ac_option >&5"
3245 case "(($ac_try" in
3246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247   *) ac_try_echo=$ac_try;;
3248 esac
3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250 $as_echo "$ac_try_echo"; } >&5
3251   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3252   ac_status=$?
3253   if test -s conftest.err; then
3254     sed '10a\
3255 ... rest of stderr output deleted ...
3256          10q' conftest.err >conftest.er1
3257     cat conftest.er1 >&5
3258   fi
3259   rm -f conftest.er1 conftest.err
3260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261   test $ac_status = 0; }
3262 done
3263
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h.  */
3266
3267 int
3268 main ()
3269 {
3270
3271   ;
3272   return 0;
3273 }
3274 _ACEOF
3275 ac_clean_files_save=$ac_clean_files
3276 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3277 # Try to create an executable without -o first, disregard a.out.
3278 # It will help us diagnose broken compilers, and finding out an intuition
3279 # of exeext.
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3281 $as_echo_n "checking whether the C compiler works... " >&6; }
3282 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3283
3284 # The possible output files:
3285 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3286
3287 ac_rmfiles=
3288 for ac_file in $ac_files
3289 do
3290   case $ac_file in
3291     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3292     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3293   esac
3294 done
3295 rm -f $ac_rmfiles
3296
3297 if { { ac_try="$ac_link_default"
3298 case "(($ac_try" in
3299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300   *) ac_try_echo=$ac_try;;
3301 esac
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304   (eval "$ac_link_default") 2>&5
3305   ac_status=$?
3306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3307   test $ac_status = 0; }; then :
3308   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3309 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3310 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3311 # so that the user can short-circuit this test for compilers unknown to
3312 # Autoconf.
3313 for ac_file in $ac_files ''
3314 do
3315   test -f "$ac_file" || continue
3316   case $ac_file in
3317     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3318         ;;
3319     [ab].out )
3320         # We found the default executable, but exeext='' is most
3321         # certainly right.
3322         break;;
3323     *.* )
3324         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3325         then :; else
3326            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3327         fi
3328         # We set ac_cv_exeext here because the later test for it is not
3329         # safe: cross compilers may not add the suffix if given an `-o'
3330         # argument, so we may need to know it at that point already.
3331         # Even if this section looks crufty: it has the advantage of
3332         # actually working.
3333         break;;
3334     * )
3335         break;;
3336   esac
3337 done
3338 test "$ac_cv_exeext" = no && ac_cv_exeext=
3339
3340 else
3341   ac_file=''
3342 fi
3343 if test -z "$ac_file"; then :
3344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 $as_echo "no" >&6; }
3346 $as_echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3348
3349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 as_fn_error 77 "C compiler cannot create executables
3352 See \`config.log' for more details" "$LINENO" 5; }
3353 else
3354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3355 $as_echo "yes" >&6; }
3356 fi
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3358 $as_echo_n "checking for C compiler default output file name... " >&6; }
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3360 $as_echo "$ac_file" >&6; }
3361 ac_exeext=$ac_cv_exeext
3362
3363 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3364 ac_clean_files=$ac_clean_files_save
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3366 $as_echo_n "checking for suffix of executables... " >&6; }
3367 if { { ac_try="$ac_link"
3368 case "(($ac_try" in
3369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370   *) ac_try_echo=$ac_try;;
3371 esac
3372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3373 $as_echo "$ac_try_echo"; } >&5
3374   (eval "$ac_link") 2>&5
3375   ac_status=$?
3376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3377   test $ac_status = 0; }; then :
3378   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3379 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3380 # work properly (i.e., refer to `conftest.exe'), while it won't with
3381 # `rm'.
3382 for ac_file in conftest.exe conftest conftest.*; do
3383   test -f "$ac_file" || continue
3384   case $ac_file in
3385     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3386     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3387           break;;
3388     * ) break;;
3389   esac
3390 done
3391 else
3392   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3395 See \`config.log' for more details" "$LINENO" 5; }
3396 fi
3397 rm -f conftest conftest$ac_cv_exeext
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3399 $as_echo "$ac_cv_exeext" >&6; }
3400
3401 rm -f conftest.$ac_ext
3402 EXEEXT=$ac_cv_exeext
3403 ac_exeext=$EXEEXT
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h.  */
3406 #include <stdio.h>
3407 int
3408 main ()
3409 {
3410 FILE *f = fopen ("conftest.out", "w");
3411  return ferror (f) || fclose (f) != 0;
3412
3413   ;
3414   return 0;
3415 }
3416 _ACEOF
3417 ac_clean_files="$ac_clean_files conftest.out"
3418 # Check that the compiler produces executables we can run.  If not, either
3419 # the compiler is broken, or we cross compile.
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3421 $as_echo_n "checking whether we are cross compiling... " >&6; }
3422 if test "$cross_compiling" != yes; then
3423   { { ac_try="$ac_link"
3424 case "(($ac_try" in
3425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426   *) ac_try_echo=$ac_try;;
3427 esac
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430   (eval "$ac_link") 2>&5
3431   ac_status=$?
3432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433   test $ac_status = 0; }
3434   if { ac_try='./conftest$ac_cv_exeext'
3435   { { case "(($ac_try" in
3436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437   *) ac_try_echo=$ac_try;;
3438 esac
3439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3440 $as_echo "$ac_try_echo"; } >&5
3441   (eval "$ac_try") 2>&5
3442   ac_status=$?
3443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3444   test $ac_status = 0; }; }; then
3445     cross_compiling=no
3446   else
3447     if test "$cross_compiling" = maybe; then
3448         cross_compiling=yes
3449     else
3450         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452 as_fn_error $? "cannot run C compiled programs.
3453 If you meant to cross compile, use \`--host'.
3454 See \`config.log' for more details" "$LINENO" 5; }
3455     fi
3456   fi
3457 fi
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3459 $as_echo "$cross_compiling" >&6; }
3460
3461 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3462 ac_clean_files=$ac_clean_files_save
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3464 $as_echo_n "checking for suffix of object files... " >&6; }
3465 if ${ac_cv_objext+:} false; then :
3466   $as_echo_n "(cached) " >&6
3467 else
3468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h.  */
3470
3471 int
3472 main ()
3473 {
3474
3475   ;
3476   return 0;
3477 }
3478 _ACEOF
3479 rm -f conftest.o conftest.obj
3480 if { { ac_try="$ac_compile"
3481 case "(($ac_try" in
3482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483   *) ac_try_echo=$ac_try;;
3484 esac
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487   (eval "$ac_compile") 2>&5
3488   ac_status=$?
3489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490   test $ac_status = 0; }; then :
3491   for ac_file in conftest.o conftest.obj conftest.*; do
3492   test -f "$ac_file" || continue;
3493   case $ac_file in
3494     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3495     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3496        break;;
3497   esac
3498 done
3499 else
3500   $as_echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.$ac_ext >&5
3502
3503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 as_fn_error $? "cannot compute suffix of object files: cannot compile
3506 See \`config.log' for more details" "$LINENO" 5; }
3507 fi
3508 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3509 fi
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3511 $as_echo "$ac_cv_objext" >&6; }
3512 OBJEXT=$ac_cv_objext
3513 ac_objext=$OBJEXT
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3515 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3516 if ${ac_cv_c_compiler_gnu+:} false; then :
3517   $as_echo_n "(cached) " >&6
3518 else
3519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h.  */
3521
3522 int
3523 main ()
3524 {
3525 #ifndef __GNUC__
3526        choke me
3527 #endif
3528
3529   ;
3530   return 0;
3531 }
3532 _ACEOF
3533 if ac_fn_c_try_compile "$LINENO"; then :
3534   ac_compiler_gnu=yes
3535 else
3536   ac_compiler_gnu=no
3537 fi
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3540
3541 fi
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3543 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3544 if test $ac_compiler_gnu = yes; then
3545   GCC=yes
3546 else
3547   GCC=
3548 fi
3549 ac_test_CFLAGS=${CFLAGS+set}
3550 ac_save_CFLAGS=$CFLAGS
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3552 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3553 if ${ac_cv_prog_cc_g+:} false; then :
3554   $as_echo_n "(cached) " >&6
3555 else
3556   ac_save_c_werror_flag=$ac_c_werror_flag
3557    ac_c_werror_flag=yes
3558    ac_cv_prog_cc_g=no
3559    CFLAGS="-g"
3560    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h.  */
3562
3563 int
3564 main ()
3565 {
3566
3567   ;
3568   return 0;
3569 }
3570 _ACEOF
3571 if ac_fn_c_try_compile "$LINENO"; then :
3572   ac_cv_prog_cc_g=yes
3573 else
3574   CFLAGS=""
3575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h.  */
3577
3578 int
3579 main ()
3580 {
3581
3582   ;
3583   return 0;
3584 }
3585 _ACEOF
3586 if ac_fn_c_try_compile "$LINENO"; then :
3587
3588 else
3589   ac_c_werror_flag=$ac_save_c_werror_flag
3590          CFLAGS="-g"
3591          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h.  */
3593
3594 int
3595 main ()
3596 {
3597
3598   ;
3599   return 0;
3600 }
3601 _ACEOF
3602 if ac_fn_c_try_compile "$LINENO"; then :
3603   ac_cv_prog_cc_g=yes
3604 fi
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606 fi
3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608 fi
3609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610    ac_c_werror_flag=$ac_save_c_werror_flag
3611 fi
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3613 $as_echo "$ac_cv_prog_cc_g" >&6; }
3614 if test "$ac_test_CFLAGS" = set; then
3615   CFLAGS=$ac_save_CFLAGS
3616 elif test $ac_cv_prog_cc_g = yes; then
3617   if test "$GCC" = yes; then
3618     CFLAGS="-g -O2"
3619   else
3620     CFLAGS="-g"
3621   fi
3622 else
3623   if test "$GCC" = yes; then
3624     CFLAGS="-O2"
3625   else
3626     CFLAGS=
3627   fi
3628 fi
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3630 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3631 if ${ac_cv_prog_cc_c89+:} false; then :
3632   $as_echo_n "(cached) " >&6
3633 else
3634   ac_cv_prog_cc_c89=no
3635 ac_save_CC=$CC
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h.  */
3638 #include <stdarg.h>
3639 #include <stdio.h>
3640 #include <sys/types.h>
3641 #include <sys/stat.h>
3642 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3643 struct buf { int x; };
3644 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3645 static char *e (p, i)
3646      char **p;
3647      int i;
3648 {
3649   return p[i];
3650 }
3651 static char *f (char * (*g) (char **, int), char **p, ...)
3652 {
3653   char *s;
3654   va_list v;
3655   va_start (v,p);
3656   s = g (p, va_arg (v,int));
3657   va_end (v);
3658   return s;
3659 }
3660
3661 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3662    function prototypes and stuff, but not '\xHH' hex character constants.
3663    These don't provoke an error unfortunately, instead are silently treated
3664    as 'x'.  The following induces an error, until -std is added to get
3665    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3666    array size at least.  It's necessary to write '\x00'==0 to get something
3667    that's true only with -std.  */
3668 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3669
3670 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3671    inside strings and character constants.  */
3672 #define FOO(x) 'x'
3673 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3674
3675 int test (int i, double x);
3676 struct s1 {int (*f) (int a);};
3677 struct s2 {int (*f) (double a);};
3678 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3679 int argc;
3680 char **argv;
3681 int
3682 main ()
3683 {
3684 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3685   ;
3686   return 0;
3687 }
3688 _ACEOF
3689 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3690         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3691 do
3692   CC="$ac_save_CC $ac_arg"
3693   if ac_fn_c_try_compile "$LINENO"; then :
3694   ac_cv_prog_cc_c89=$ac_arg
3695 fi
3696 rm -f core conftest.err conftest.$ac_objext
3697   test "x$ac_cv_prog_cc_c89" != "xno" && break
3698 done
3699 rm -f conftest.$ac_ext
3700 CC=$ac_save_CC
3701
3702 fi
3703 # AC_CACHE_VAL
3704 case "x$ac_cv_prog_cc_c89" in
3705   x)
3706     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3707 $as_echo "none needed" >&6; } ;;
3708   xno)
3709     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3710 $as_echo "unsupported" >&6; } ;;
3711   *)
3712     CC="$CC $ac_cv_prog_cc_c89"
3713     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3714 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3715 esac
3716 if test "x$ac_cv_prog_cc_c89" != xno; then :
3717
3718 fi
3719
3720 ac_ext=c
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725 DEPDIR="${am__leading_dot}deps"
3726
3727 ac_config_commands="$ac_config_commands depfiles"
3728
3729
3730 am_make=${MAKE-make}
3731 cat > confinc << 'END'
3732 am__doit:
3733         @echo this is the am__doit target
3734 .PHONY: am__doit
3735 END
3736 # If we don't find an include directive, just comment out the code.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3738 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3739 am__include="#"
3740 am__quote=
3741 _am_result=none
3742 # First try GNU make style include.
3743 echo "include confinc" > confmf
3744 # Ignore all kinds of additional output from `make'.
3745 case `$am_make -s -f confmf 2> /dev/null` in #(
3746 *the\ am__doit\ target*)
3747   am__include=include
3748   am__quote=
3749   _am_result=GNU
3750   ;;
3751 esac
3752 # Now try BSD make style include.
3753 if test "$am__include" = "#"; then
3754    echo '.include "confinc"' > confmf
3755    case `$am_make -s -f confmf 2> /dev/null` in #(
3756    *the\ am__doit\ target*)
3757      am__include=.include
3758      am__quote="\""
3759      _am_result=BSD
3760      ;;
3761    esac
3762 fi
3763
3764
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3766 $as_echo "$_am_result" >&6; }
3767 rm -f confinc confmf
3768
3769 # Check whether --enable-dependency-tracking was given.
3770 if test "${enable_dependency_tracking+set}" = set; then :
3771   enableval=$enable_dependency_tracking;
3772 fi
3773
3774 if test "x$enable_dependency_tracking" != xno; then
3775   am_depcomp="$ac_aux_dir/depcomp"
3776   AMDEPBACKSLASH='\'
3777   am__nodep='_no'
3778 fi
3779  if test "x$enable_dependency_tracking" != xno; then
3780   AMDEP_TRUE=
3781   AMDEP_FALSE='#'
3782 else
3783   AMDEP_TRUE='#'
3784   AMDEP_FALSE=
3785 fi
3786
3787
3788
3789 depcc="$CC"   am_compiler_list=
3790
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3792 $as_echo_n "checking dependency style of $depcc... " >&6; }
3793 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3794   $as_echo_n "(cached) " >&6
3795 else
3796   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3797   # We make a subdir and do the tests there.  Otherwise we can end up
3798   # making bogus files that we don't know about and never remove.  For
3799   # instance it was reported that on HP-UX the gcc test will end up
3800   # making a dummy file named `D' -- because `-MD' means `put the output
3801   # in D'.
3802   rm -rf conftest.dir
3803   mkdir conftest.dir
3804   # Copy depcomp to subdir because otherwise we won't find it if we're
3805   # using a relative directory.
3806   cp "$am_depcomp" conftest.dir
3807   cd conftest.dir
3808   # We will build objects and dependencies in a subdirectory because
3809   # it helps to detect inapplicable dependency modes.  For instance
3810   # both Tru64's cc and ICC support -MD to output dependencies as a
3811   # side effect of compilation, but ICC will put the dependencies in
3812   # the current directory while Tru64 will put them in the object
3813   # directory.
3814   mkdir sub
3815
3816   am_cv_CC_dependencies_compiler_type=none
3817   if test "$am_compiler_list" = ""; then
3818      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3819   fi
3820   am__universal=false
3821   case " $depcc " in #(
3822      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3823      esac
3824
3825   for depmode in $am_compiler_list; do
3826     # Setup a source with many dependencies, because some compilers
3827     # like to wrap large dependency lists on column 80 (with \), and
3828     # we should not choose a depcomp mode which is confused by this.
3829     #
3830     # We need to recreate these files for each test, as the compiler may
3831     # overwrite some of them when testing with obscure command lines.
3832     # This happens at least with the AIX C compiler.
3833     : > sub/conftest.c
3834     for i in 1 2 3 4 5 6; do
3835       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3836       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3837       # Solaris 8's {/usr,}/bin/sh.
3838       touch sub/conftst$i.h
3839     done
3840     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3841
3842     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3843     # mode.  It turns out that the SunPro C++ compiler does not properly
3844     # handle `-M -o', and we need to detect this.  Also, some Intel
3845     # versions had trouble with output in subdirs
3846     am__obj=sub/conftest.${OBJEXT-o}
3847     am__minus_obj="-o $am__obj"
3848     case $depmode in
3849     gcc)
3850       # This depmode causes a compiler race in universal mode.
3851       test "$am__universal" = false || continue
3852       ;;
3853     nosideeffect)
3854       # after this tag, mechanisms are not by side-effect, so they'll
3855       # only be used when explicitly requested
3856       if test "x$enable_dependency_tracking" = xyes; then
3857         continue
3858       else
3859         break
3860       fi
3861       ;;
3862     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3863       # This compiler won't grok `-c -o', but also, the minuso test has
3864       # not run yet.  These depmodes are late enough in the game, and
3865       # so weak that their functioning should not be impacted.
3866       am__obj=conftest.${OBJEXT-o}
3867       am__minus_obj=
3868       ;;
3869     none) break ;;
3870     esac
3871     if depmode=$depmode \
3872        source=sub/conftest.c object=$am__obj \
3873        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3874        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3875          >/dev/null 2>conftest.err &&
3876        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3877        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3878        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3879        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3880       # icc doesn't choke on unknown options, it will just issue warnings
3881       # or remarks (even with -Werror).  So we grep stderr for any message
3882       # that says an option was ignored or not supported.
3883       # When given -MP, icc 7.0 and 7.1 complain thusly:
3884       #   icc: Command line warning: ignoring option '-M'; no argument required
3885       # The diagnosis changed in icc 8.0:
3886       #   icc: Command line remark: option '-MP' not supported
3887       if (grep 'ignoring option' conftest.err ||
3888           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3889         am_cv_CC_dependencies_compiler_type=$depmode
3890         break
3891       fi
3892     fi
3893   done
3894
3895   cd ..
3896   rm -rf conftest.dir
3897 else
3898   am_cv_CC_dependencies_compiler_type=none
3899 fi
3900
3901 fi
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3903 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3904 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3905
3906  if
3907   test "x$enable_dependency_tracking" != xno \
3908   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3909   am__fastdepCC_TRUE=
3910   am__fastdepCC_FALSE='#'
3911 else
3912   am__fastdepCC_TRUE='#'
3913   am__fastdepCC_FALSE=
3914 fi
3915
3916
3917
3918 if test -n "$ac_tool_prefix"; then
3919   for ac_prog in ar lib "link -lib"
3920   do
3921     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3922 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_AR+:} false; then :
3926   $as_echo_n "(cached) " >&6
3927 else
3928   if test -n "$AR"; then
3929   ac_cv_prog_AR="$AR" # Let the user override the test.
3930 else
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 for as_dir in $PATH
3933 do
3934   IFS=$as_save_IFS
3935   test -z "$as_dir" && as_dir=.
3936     for ac_exec_ext in '' $ac_executable_extensions; do
3937   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3938     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3940     break 2
3941   fi
3942 done
3943   done
3944 IFS=$as_save_IFS
3945
3946 fi
3947 fi
3948 AR=$ac_cv_prog_AR
3949 if test -n "$AR"; then
3950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3951 $as_echo "$AR" >&6; }
3952 else
3953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3955 fi
3956
3957
3958     test -n "$AR" && break
3959   done
3960 fi
3961 if test -z "$AR"; then
3962   ac_ct_AR=$AR
3963   for ac_prog in ar lib "link -lib"
3964 do
3965   # Extract the first word of "$ac_prog", so it can be a program name with args.
3966 set dummy $ac_prog; ac_word=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3970   $as_echo_n "(cached) " >&6
3971 else
3972   if test -n "$ac_ct_AR"; then
3973   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3974 else
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in $PATH
3977 do
3978   IFS=$as_save_IFS
3979   test -z "$as_dir" && as_dir=.
3980     for ac_exec_ext in '' $ac_executable_extensions; do
3981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3982     ac_cv_prog_ac_ct_AR="$ac_prog"
3983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984     break 2
3985   fi
3986 done
3987   done
3988 IFS=$as_save_IFS
3989
3990 fi
3991 fi
3992 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3993 if test -n "$ac_ct_AR"; then
3994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3995 $as_echo "$ac_ct_AR" >&6; }
3996 else
3997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
3999 fi
4000
4001
4002   test -n "$ac_ct_AR" && break
4003 done
4004
4005   if test "x$ac_ct_AR" = x; then
4006     AR="false"
4007   else
4008     case $cross_compiling:$ac_tool_warned in
4009 yes:)
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4012 ac_tool_warned=yes ;;
4013 esac
4014     AR=$ac_ct_AR
4015   fi
4016 fi
4017
4018 : ${AR=ar}
4019
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4021 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4022 if ${am_cv_ar_interface+:} false; then :
4023   $as_echo_n "(cached) " >&6
4024 else
4025   am_cv_ar_interface=ar
4026    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h.  */
4028 int some_variable = 0;
4029 _ACEOF
4030 if ac_fn_c_try_compile "$LINENO"; then :
4031   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4032       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4033   (eval $am_ar_try) 2>&5
4034   ac_status=$?
4035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036   test $ac_status = 0; }
4037       if test "$ac_status" -eq 0; then
4038         am_cv_ar_interface=ar
4039       else
4040         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4041         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4042   (eval $am_ar_try) 2>&5
4043   ac_status=$?
4044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045   test $ac_status = 0; }
4046         if test "$ac_status" -eq 0; then
4047           am_cv_ar_interface=lib
4048         else
4049           am_cv_ar_interface=unknown
4050         fi
4051       fi
4052       rm -f conftest.lib libconftest.a
4053
4054 fi
4055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4056
4057 fi
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4059 $as_echo "$am_cv_ar_interface" >&6; }
4060
4061 case $am_cv_ar_interface in
4062 ar)
4063   ;;
4064 lib)
4065   # Microsoft lib, so override with the ar-lib wrapper script.
4066   # FIXME: It is wrong to rewrite AR.
4067   # But if we don't then we get into trouble of one sort or another.
4068   # A longer-term fix would be to have automake use am__AR in this case,
4069   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4070   # similar.
4071   AR="$am_aux_dir/ar-lib $AR"
4072   ;;
4073 unknown)
4074   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4075   ;;
4076 esac
4077
4078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4079 $as_echo_n "checking for GNU make... " >&6; }
4080 if ${_cv_gnu_make_command+:} false; then :
4081   $as_echo_n "(cached) " >&6
4082 else
4083   _cv_gnu_make_command='' ;
4084                 for a in "$MAKE" make gmake gnumake ; do
4085                         if test -z "$a" ; then continue ; fi ;
4086                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
4087                                 _cv_gnu_make_command=$a ;
4088                                 break;
4089                         fi
4090                 done ;
4091
4092 fi
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4094 $as_echo "$_cv_gnu_make_command" >&6; } ;
4095         if test  "x$_cv_gnu_make_command" != "x"  ; then
4096                 ifGNUmake='' ;
4097         else
4098                 ifGNUmake='#' ;
4099                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4100 $as_echo "\"Not found\"" >&6; };
4101         fi
4102
4103
4104 if test "x$ifGNUmake" = "x#" ; then
4105         as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4106 fi
4107
4108 #libtool
4109
4110 case `pwd` in
4111   *\ * | *\     *)
4112     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4113 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4114 esac
4115
4116
4117
4118 macro_version='2.4.2'
4119 macro_revision='1.3337'
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133 ltmain="$ac_aux_dir/ltmain.sh"
4134
4135 # Make sure we can run config.sub.
4136 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4137   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4138
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4140 $as_echo_n "checking build system type... " >&6; }
4141 if ${ac_cv_build+:} false; then :
4142   $as_echo_n "(cached) " >&6
4143 else
4144   ac_build_alias=$build_alias
4145 test "x$ac_build_alias" = x &&
4146   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4147 test "x$ac_build_alias" = x &&
4148   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4149 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4150   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4151
4152 fi
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4154 $as_echo "$ac_cv_build" >&6; }
4155 case $ac_cv_build in
4156 *-*-*) ;;
4157 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4158 esac
4159 build=$ac_cv_build
4160 ac_save_IFS=$IFS; IFS='-'
4161 set x $ac_cv_build
4162 shift
4163 build_cpu=$1
4164 build_vendor=$2
4165 shift; shift
4166 # Remember, the first character of IFS is used to create $*,
4167 # except with old shells:
4168 build_os=$*
4169 IFS=$ac_save_IFS
4170 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4171
4172
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4174 $as_echo_n "checking host system type... " >&6; }
4175 if ${ac_cv_host+:} false; then :
4176   $as_echo_n "(cached) " >&6
4177 else
4178   if test "x$host_alias" = x; then
4179   ac_cv_host=$ac_cv_build
4180 else
4181   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4182     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4183 fi
4184
4185 fi
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4187 $as_echo "$ac_cv_host" >&6; }
4188 case $ac_cv_host in
4189 *-*-*) ;;
4190 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4191 esac
4192 host=$ac_cv_host
4193 ac_save_IFS=$IFS; IFS='-'
4194 set x $ac_cv_host
4195 shift
4196 host_cpu=$1
4197 host_vendor=$2
4198 shift; shift
4199 # Remember, the first character of IFS is used to create $*,
4200 # except with old shells:
4201 host_os=$*
4202 IFS=$ac_save_IFS
4203 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4204
4205
4206 # Backslashify metacharacters that are still active within
4207 # double-quoted strings.
4208 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4209
4210 # Same as above, but do not quote variable references.
4211 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4212
4213 # Sed substitution to delay expansion of an escaped shell variable in a
4214 # double_quote_subst'ed string.
4215 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4216
4217 # Sed substitution to delay expansion of an escaped single quote.
4218 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4219
4220 # Sed substitution to avoid accidental globbing in evaled expressions
4221 no_glob_subst='s/\*/\\\*/g'
4222
4223 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4224 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4225 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4226
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4228 $as_echo_n "checking how to print strings... " >&6; }
4229 # Test print first, because it will be a builtin if present.
4230 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4231    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4232   ECHO='print -r --'
4233 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4234   ECHO='printf %s\n'
4235 else
4236   # Use this function as a fallback that always works.
4237   func_fallback_echo ()
4238   {
4239     eval 'cat <<_LTECHO_EOF
4240 $1
4241 _LTECHO_EOF'
4242   }
4243   ECHO='func_fallback_echo'
4244 fi
4245
4246 # func_echo_all arg...
4247 # Invoke $ECHO with all args, space-separated.
4248 func_echo_all ()
4249 {
4250     $ECHO ""
4251 }
4252
4253 case "$ECHO" in
4254   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4255 $as_echo "printf" >&6; } ;;
4256   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4257 $as_echo "print -r" >&6; } ;;
4258   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4259 $as_echo "cat" >&6; } ;;
4260 esac
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4276 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4277 if ${ac_cv_path_SED+:} false; then :
4278   $as_echo_n "(cached) " >&6
4279 else
4280             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4281      for ac_i in 1 2 3 4 5 6 7; do
4282        ac_script="$ac_script$as_nl$ac_script"
4283      done
4284      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4285      { ac_script=; unset ac_script;}
4286      if test -z "$SED"; then
4287   ac_path_SED_found=false
4288   # Loop through the user's path and test for each of PROGNAME-LIST
4289   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in $PATH
4291 do
4292   IFS=$as_save_IFS
4293   test -z "$as_dir" && as_dir=.
4294     for ac_prog in sed gsed; do
4295     for ac_exec_ext in '' $ac_executable_extensions; do
4296       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4297       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4298 # Check for GNU ac_path_SED and select it if it is found.
4299   # Check for GNU $ac_path_SED
4300 case `"$ac_path_SED" --version 2>&1` in
4301 *GNU*)
4302   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4303 *)
4304   ac_count=0
4305   $as_echo_n 0123456789 >"conftest.in"
4306   while :
4307   do
4308     cat "conftest.in" "conftest.in" >"conftest.tmp"
4309     mv "conftest.tmp" "conftest.in"
4310     cp "conftest.in" "conftest.nl"
4311     $as_echo '' >> "conftest.nl"
4312     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4313     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4314     as_fn_arith $ac_count + 1 && ac_count=$as_val
4315     if test $ac_count -gt ${ac_path_SED_max-0}; then
4316       # Best one so far, save it but keep looking for a better one
4317       ac_cv_path_SED="$ac_path_SED"
4318       ac_path_SED_max=$ac_count
4319     fi
4320     # 10*(2^10) chars as input seems more than enough
4321     test $ac_count -gt 10 && break
4322   done
4323   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4324 esac
4325
4326       $ac_path_SED_found && break 3
4327     done
4328   done
4329   done
4330 IFS=$as_save_IFS
4331   if test -z "$ac_cv_path_SED"; then
4332     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4333   fi
4334 else
4335   ac_cv_path_SED=$SED
4336 fi
4337
4338 fi
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4340 $as_echo "$ac_cv_path_SED" >&6; }
4341  SED="$ac_cv_path_SED"
4342   rm -f conftest.sed
4343
4344 test -z "$SED" && SED=sed
4345 Xsed="$SED -e 1s/^X//"
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4358 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4359 if ${ac_cv_path_GREP+:} false; then :
4360   $as_echo_n "(cached) " >&6
4361 else
4362   if test -z "$GREP"; then
4363   ac_path_GREP_found=false
4364   # Loop through the user's path and test for each of PROGNAME-LIST
4365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4367 do
4368   IFS=$as_save_IFS
4369   test -z "$as_dir" && as_dir=.
4370     for ac_prog in grep ggrep; do
4371     for ac_exec_ext in '' $ac_executable_extensions; do
4372       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4373       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4374 # Check for GNU ac_path_GREP and select it if it is found.
4375   # Check for GNU $ac_path_GREP
4376 case `"$ac_path_GREP" --version 2>&1` in
4377 *GNU*)
4378   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4379 *)
4380   ac_count=0
4381   $as_echo_n 0123456789 >"conftest.in"
4382   while :
4383   do
4384     cat "conftest.in" "conftest.in" >"conftest.tmp"
4385     mv "conftest.tmp" "conftest.in"
4386     cp "conftest.in" "conftest.nl"
4387     $as_echo 'GREP' >> "conftest.nl"
4388     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4389     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4390     as_fn_arith $ac_count + 1 && ac_count=$as_val
4391     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4392       # Best one so far, save it but keep looking for a better one
4393       ac_cv_path_GREP="$ac_path_GREP"
4394       ac_path_GREP_max=$ac_count
4395     fi
4396     # 10*(2^10) chars as input seems more than enough
4397     test $ac_count -gt 10 && break
4398   done
4399   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4400 esac
4401
4402       $ac_path_GREP_found && break 3
4403     done
4404   done
4405   done
4406 IFS=$as_save_IFS
4407   if test -z "$ac_cv_path_GREP"; then
4408     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4409   fi
4410 else
4411   ac_cv_path_GREP=$GREP
4412 fi
4413
4414 fi
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4416 $as_echo "$ac_cv_path_GREP" >&6; }
4417  GREP="$ac_cv_path_GREP"
4418
4419
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4421 $as_echo_n "checking for egrep... " >&6; }
4422 if ${ac_cv_path_EGREP+:} false; then :
4423   $as_echo_n "(cached) " >&6
4424 else
4425   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4426    then ac_cv_path_EGREP="$GREP -E"
4427    else
4428      if test -z "$EGREP"; then
4429   ac_path_EGREP_found=false
4430   # Loop through the user's path and test for each of PROGNAME-LIST
4431   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4433 do
4434   IFS=$as_save_IFS
4435   test -z "$as_dir" && as_dir=.
4436     for ac_prog in egrep; do
4437     for ac_exec_ext in '' $ac_executable_extensions; do
4438       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4439       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4440 # Check for GNU ac_path_EGREP and select it if it is found.
4441   # Check for GNU $ac_path_EGREP
4442 case `"$ac_path_EGREP" --version 2>&1` in
4443 *GNU*)
4444   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4445 *)
4446   ac_count=0
4447   $as_echo_n 0123456789 >"conftest.in"
4448   while :
4449   do
4450     cat "conftest.in" "conftest.in" >"conftest.tmp"
4451     mv "conftest.tmp" "conftest.in"
4452     cp "conftest.in" "conftest.nl"
4453     $as_echo 'EGREP' >> "conftest.nl"
4454     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4455     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4456     as_fn_arith $ac_count + 1 && ac_count=$as_val
4457     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4458       # Best one so far, save it but keep looking for a better one
4459       ac_cv_path_EGREP="$ac_path_EGREP"
4460       ac_path_EGREP_max=$ac_count
4461     fi
4462     # 10*(2^10) chars as input seems more than enough
4463     test $ac_count -gt 10 && break
4464   done
4465   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4466 esac
4467
4468       $ac_path_EGREP_found && break 3
4469     done
4470   done
4471   done
4472 IFS=$as_save_IFS
4473   if test -z "$ac_cv_path_EGREP"; then
4474     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4475   fi
4476 else
4477   ac_cv_path_EGREP=$EGREP
4478 fi
4479
4480    fi
4481 fi
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4483 $as_echo "$ac_cv_path_EGREP" >&6; }
4484  EGREP="$ac_cv_path_EGREP"
4485
4486
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4488 $as_echo_n "checking for fgrep... " >&6; }
4489 if ${ac_cv_path_FGREP+:} false; then :
4490   $as_echo_n "(cached) " >&6
4491 else
4492   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4493    then ac_cv_path_FGREP="$GREP -F"
4494    else
4495      if test -z "$FGREP"; then
4496   ac_path_FGREP_found=false
4497   # Loop through the user's path and test for each of PROGNAME-LIST
4498   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4499 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4500 do
4501   IFS=$as_save_IFS
4502   test -z "$as_dir" && as_dir=.
4503     for ac_prog in fgrep; do
4504     for ac_exec_ext in '' $ac_executable_extensions; do
4505       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4506       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4507 # Check for GNU ac_path_FGREP and select it if it is found.
4508   # Check for GNU $ac_path_FGREP
4509 case `"$ac_path_FGREP" --version 2>&1` in
4510 *GNU*)
4511   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4512 *)
4513   ac_count=0
4514   $as_echo_n 0123456789 >"conftest.in"
4515   while :
4516   do
4517     cat "conftest.in" "conftest.in" >"conftest.tmp"
4518     mv "conftest.tmp" "conftest.in"
4519     cp "conftest.in" "conftest.nl"
4520     $as_echo 'FGREP' >> "conftest.nl"
4521     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4522     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4523     as_fn_arith $ac_count + 1 && ac_count=$as_val
4524     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4525       # Best one so far, save it but keep looking for a better one
4526       ac_cv_path_FGREP="$ac_path_FGREP"
4527       ac_path_FGREP_max=$ac_count
4528     fi
4529     # 10*(2^10) chars as input seems more than enough
4530     test $ac_count -gt 10 && break
4531   done
4532   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4533 esac
4534
4535       $ac_path_FGREP_found && break 3
4536     done
4537   done
4538   done
4539 IFS=$as_save_IFS
4540   if test -z "$ac_cv_path_FGREP"; then
4541     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4542   fi
4543 else
4544   ac_cv_path_FGREP=$FGREP
4545 fi
4546
4547    fi
4548 fi
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4550 $as_echo "$ac_cv_path_FGREP" >&6; }
4551  FGREP="$ac_cv_path_FGREP"
4552
4553
4554 test -z "$GREP" && GREP=grep
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574 # Check whether --with-gnu-ld was given.
4575 if test "${with_gnu_ld+set}" = set; then :
4576   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4577 else
4578   with_gnu_ld=no
4579 fi
4580
4581 ac_prog=ld
4582 if test "$GCC" = yes; then
4583   # Check if gcc -print-prog-name=ld gives a path.
4584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4585 $as_echo_n "checking for ld used by $CC... " >&6; }
4586   case $host in
4587   *-*-mingw*)
4588     # gcc leaves a trailing carriage return which upsets mingw
4589     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4590   *)
4591     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4592   esac
4593   case $ac_prog in
4594     # Accept absolute paths.
4595     [\\/]* | ?:[\\/]*)
4596       re_direlt='/[^/][^/]*/\.\./'
4597       # Canonicalize the pathname of ld
4598       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4599       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4600         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4601       done
4602       test -z "$LD" && LD="$ac_prog"
4603       ;;
4604   "")
4605     # If it fails, then pretend we aren't using GCC.
4606     ac_prog=ld
4607     ;;
4608   *)
4609     # If it is relative, then search for the first ld in PATH.
4610     with_gnu_ld=unknown
4611     ;;
4612   esac
4613 elif test "$with_gnu_ld" = yes; then
4614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4615 $as_echo_n "checking for GNU ld... " >&6; }
4616 else
4617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4618 $as_echo_n "checking for non-GNU ld... " >&6; }
4619 fi
4620 if ${lt_cv_path_LD+:} false; then :
4621   $as_echo_n "(cached) " >&6
4622 else
4623   if test -z "$LD"; then
4624   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4625   for ac_dir in $PATH; do
4626     IFS="$lt_save_ifs"
4627     test -z "$ac_dir" && ac_dir=.
4628     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4629       lt_cv_path_LD="$ac_dir/$ac_prog"
4630       # Check to see if the program is GNU ld.  I'd rather use --version,
4631       # but apparently some variants of GNU ld only accept -v.
4632       # Break only if it was the GNU/non-GNU ld that we prefer.
4633       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4634       *GNU* | *'with BFD'*)
4635         test "$with_gnu_ld" != no && break
4636         ;;
4637       *)
4638         test "$with_gnu_ld" != yes && break
4639         ;;
4640       esac
4641     fi
4642   done
4643   IFS="$lt_save_ifs"
4644 else
4645   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4646 fi
4647 fi
4648
4649 LD="$lt_cv_path_LD"
4650 if test -n "$LD"; then
4651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4652 $as_echo "$LD" >&6; }
4653 else
4654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 $as_echo "no" >&6; }
4656 fi
4657 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4659 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4660 if ${lt_cv_prog_gnu_ld+:} false; then :
4661   $as_echo_n "(cached) " >&6
4662 else
4663   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4664 case `$LD -v 2>&1 </dev/null` in
4665 *GNU* | *'with BFD'*)
4666   lt_cv_prog_gnu_ld=yes
4667   ;;
4668 *)
4669   lt_cv_prog_gnu_ld=no
4670   ;;
4671 esac
4672 fi
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4674 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4675 with_gnu_ld=$lt_cv_prog_gnu_ld
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4686 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4687 if ${lt_cv_path_NM+:} false; then :
4688   $as_echo_n "(cached) " >&6
4689 else
4690   if test -n "$NM"; then
4691   # Let the user override the test.
4692   lt_cv_path_NM="$NM"
4693 else
4694   lt_nm_to_check="${ac_tool_prefix}nm"
4695   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4696     lt_nm_to_check="$lt_nm_to_check nm"
4697   fi
4698   for lt_tmp_nm in $lt_nm_to_check; do
4699     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4700     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4701       IFS="$lt_save_ifs"
4702       test -z "$ac_dir" && ac_dir=.
4703       tmp_nm="$ac_dir/$lt_tmp_nm"
4704       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4705         # Check to see if the nm accepts a BSD-compat flag.
4706         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4707         #   nm: unknown option "B" ignored
4708         # Tru64's nm complains that /dev/null is an invalid object file
4709         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4710         */dev/null* | *'Invalid file or object type'*)
4711           lt_cv_path_NM="$tmp_nm -B"
4712           break
4713           ;;
4714         *)
4715           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4716           */dev/null*)
4717             lt_cv_path_NM="$tmp_nm -p"
4718             break
4719             ;;
4720           *)
4721             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4722             continue # so that we can try to find one that supports BSD flags
4723             ;;
4724           esac
4725           ;;
4726         esac
4727       fi
4728     done
4729     IFS="$lt_save_ifs"
4730   done
4731   : ${lt_cv_path_NM=no}
4732 fi
4733 fi
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4735 $as_echo "$lt_cv_path_NM" >&6; }
4736 if test "$lt_cv_path_NM" != "no"; then
4737   NM="$lt_cv_path_NM"
4738 else
4739   # Didn't find any BSD compatible name lister, look for dumpbin.
4740   if test -n "$DUMPBIN"; then :
4741     # Let the user override the test.
4742   else
4743     if test -n "$ac_tool_prefix"; then
4744   for ac_prog in dumpbin "link -dump"
4745   do
4746     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 $as_echo_n "checking for $ac_word... " >&6; }
4750 if ${ac_cv_prog_DUMPBIN+:} false; then :
4751   $as_echo_n "(cached) " >&6
4752 else
4753   if test -n "$DUMPBIN"; then
4754   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4755 else
4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 for as_dir in $PATH
4758 do
4759   IFS=$as_save_IFS
4760   test -z "$as_dir" && as_dir=.
4761     for ac_exec_ext in '' $ac_executable_extensions; do
4762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4763     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4765     break 2
4766   fi
4767 done
4768   done
4769 IFS=$as_save_IFS
4770
4771 fi
4772 fi
4773 DUMPBIN=$ac_cv_prog_DUMPBIN
4774 if test -n "$DUMPBIN"; then
4775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4776 $as_echo "$DUMPBIN" >&6; }
4777 else
4778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4780 fi
4781
4782
4783     test -n "$DUMPBIN" && break
4784   done
4785 fi
4786 if test -z "$DUMPBIN"; then
4787   ac_ct_DUMPBIN=$DUMPBIN
4788   for ac_prog in dumpbin "link -dump"
4789 do
4790   # Extract the first word of "$ac_prog", so it can be a program name with args.
4791 set dummy $ac_prog; ac_word=$2
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4795   $as_echo_n "(cached) " >&6
4796 else
4797   if test -n "$ac_ct_DUMPBIN"; then
4798   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4799 else
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 for as_dir in $PATH
4802 do
4803   IFS=$as_save_IFS
4804   test -z "$as_dir" && as_dir=.
4805     for ac_exec_ext in '' $ac_executable_extensions; do
4806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4807     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809     break 2
4810   fi
4811 done
4812   done
4813 IFS=$as_save_IFS
4814
4815 fi
4816 fi
4817 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4818 if test -n "$ac_ct_DUMPBIN"; then
4819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4820 $as_echo "$ac_ct_DUMPBIN" >&6; }
4821 else
4822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4823 $as_echo "no" >&6; }
4824 fi
4825
4826
4827   test -n "$ac_ct_DUMPBIN" && break
4828 done
4829
4830   if test "x$ac_ct_DUMPBIN" = x; then
4831     DUMPBIN=":"
4832   else
4833     case $cross_compiling:$ac_tool_warned in
4834 yes:)
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4837 ac_tool_warned=yes ;;
4838 esac
4839     DUMPBIN=$ac_ct_DUMPBIN
4840   fi
4841 fi
4842
4843     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4844     *COFF*)
4845       DUMPBIN="$DUMPBIN -symbols"
4846       ;;
4847     *)
4848       DUMPBIN=:
4849       ;;
4850     esac
4851   fi
4852
4853   if test "$DUMPBIN" != ":"; then
4854     NM="$DUMPBIN"
4855   fi
4856 fi
4857 test -z "$NM" && NM=nm
4858
4859
4860
4861
4862
4863
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4865 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4866 if ${lt_cv_nm_interface+:} false; then :
4867   $as_echo_n "(cached) " >&6
4868 else
4869   lt_cv_nm_interface="BSD nm"
4870   echo "int some_variable = 0;" > conftest.$ac_ext
4871   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4872   (eval "$ac_compile" 2>conftest.err)
4873   cat conftest.err >&5
4874   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4875   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4876   cat conftest.err >&5
4877   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4878   cat conftest.out >&5
4879   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4880     lt_cv_nm_interface="MS dumpbin"
4881   fi
4882   rm -f conftest*
4883 fi
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4885 $as_echo "$lt_cv_nm_interface" >&6; }
4886
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4888 $as_echo_n "checking whether ln -s works... " >&6; }
4889 LN_S=$as_ln_s
4890 if test "$LN_S" = "ln -s"; then
4891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4892 $as_echo "yes" >&6; }
4893 else
4894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4895 $as_echo "no, using $LN_S" >&6; }
4896 fi
4897
4898 # find the maximum length of command line arguments
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4900 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4901 if ${lt_cv_sys_max_cmd_len+:} false; then :
4902   $as_echo_n "(cached) " >&6
4903 else
4904     i=0
4905   teststring="ABCD"
4906
4907   case $build_os in
4908   msdosdjgpp*)
4909     # On DJGPP, this test can blow up pretty badly due to problems in libc
4910     # (any single argument exceeding 2000 bytes causes a buffer overrun
4911     # during glob expansion).  Even if it were fixed, the result of this
4912     # check would be larger than it should be.
4913     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4914     ;;
4915
4916   gnu*)
4917     # Under GNU Hurd, this test is not required because there is
4918     # no limit to the length of command line arguments.
4919     # Libtool will interpret -1 as no limit whatsoever
4920     lt_cv_sys_max_cmd_len=-1;
4921     ;;
4922
4923   cygwin* | mingw* | cegcc*)
4924     # On Win9x/ME, this test blows up -- it succeeds, but takes
4925     # about 5 minutes as the teststring grows exponentially.
4926     # Worse, since 9x/ME are not pre-emptively multitasking,
4927     # you end up with a "frozen" computer, even though with patience
4928     # the test eventually succeeds (with a max line length of 256k).
4929     # Instead, let's just punt: use the minimum linelength reported by
4930     # all of the supported platforms: 8192 (on NT/2K/XP).
4931     lt_cv_sys_max_cmd_len=8192;
4932     ;;
4933
4934   mint*)
4935     # On MiNT this can take a long time and run out of memory.
4936     lt_cv_sys_max_cmd_len=8192;
4937     ;;
4938
4939   amigaos*)
4940     # On AmigaOS with pdksh, this test takes hours, literally.
4941     # So we just punt and use a minimum line length of 8192.
4942     lt_cv_sys_max_cmd_len=8192;
4943     ;;
4944
4945   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4946     # This has been around since 386BSD, at least.  Likely further.
4947     if test -x /sbin/sysctl; then
4948       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4949     elif test -x /usr/sbin/sysctl; then
4950       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4951     else
4952       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4953     fi
4954     # And add a safety zone
4955     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4956     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4957     ;;
4958
4959   interix*)
4960     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4961     lt_cv_sys_max_cmd_len=196608
4962     ;;
4963
4964   os2*)
4965     # The test takes a long time on OS/2.
4966     lt_cv_sys_max_cmd_len=8192
4967     ;;
4968
4969   osf*)
4970     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4971     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4972     # nice to cause kernel panics so lets avoid the loop below.
4973     # First set a reasonable default.
4974     lt_cv_sys_max_cmd_len=16384
4975     #
4976     if test -x /sbin/sysconfig; then
4977       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4978         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4979       esac
4980     fi
4981     ;;
4982   sco3.2v5*)
4983     lt_cv_sys_max_cmd_len=102400
4984     ;;
4985   sysv5* | sco5v6* | sysv4.2uw2*)
4986     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4987     if test -n "$kargmax"; then
4988       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4989     else
4990       lt_cv_sys_max_cmd_len=32768
4991     fi
4992     ;;
4993   *)
4994     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4995     if test -n "$lt_cv_sys_max_cmd_len"; then
4996       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4997       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4998     else
4999       # Make teststring a little bigger before we do anything with it.
5000       # a 1K string should be a reasonable start.
5001       for i in 1 2 3 4 5 6 7 8 ; do
5002         teststring=$teststring$teststring
5003       done
5004       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5005       # If test is not a shell built-in, we'll probably end up computing a
5006       # maximum length that is only half of the actual maximum length, but
5007       # we can't tell.
5008       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5009                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5010               test $i != 17 # 1/2 MB should be enough
5011       do
5012         i=`expr $i + 1`
5013         teststring=$teststring$teststring
5014       done
5015       # Only check the string length outside the loop.
5016       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5017       teststring=
5018       # Add a significant safety factor because C++ compilers can tack on
5019       # massive amounts of additional arguments before passing them to the
5020       # linker.  It appears as though 1/2 is a usable value.
5021       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5022     fi
5023     ;;
5024   esac
5025
5026 fi
5027
5028 if test -n $lt_cv_sys_max_cmd_len ; then
5029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5030 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5031 else
5032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5033 $as_echo "none" >&6; }
5034 fi
5035 max_cmd_len=$lt_cv_sys_max_cmd_len
5036
5037
5038
5039
5040
5041
5042 : ${CP="cp -f"}
5043 : ${MV="mv -f"}
5044 : ${RM="rm -f"}
5045
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5047 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5048 # Try some XSI features
5049 xsi_shell=no
5050 ( _lt_dummy="a/b/c"
5051   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5052       = c,a/b,b/c, \
5053     && eval 'test $(( 1 + 1 )) -eq 2 \
5054     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5055   && xsi_shell=yes
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5057 $as_echo "$xsi_shell" >&6; }
5058
5059
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5061 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5062 lt_shell_append=no
5063 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5064     >/dev/null 2>&1 \
5065   && lt_shell_append=yes
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5067 $as_echo "$lt_shell_append" >&6; }
5068
5069
5070 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5071   lt_unset=unset
5072 else
5073   lt_unset=false
5074 fi
5075
5076
5077
5078
5079
5080 # test EBCDIC or ASCII
5081 case `echo X|tr X '\101'` in
5082  A) # ASCII based system
5083     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5084   lt_SP2NL='tr \040 \012'
5085   lt_NL2SP='tr \015\012 \040\040'
5086   ;;
5087  *) # EBCDIC based system
5088   lt_SP2NL='tr \100 \n'
5089   lt_NL2SP='tr \r\n \100\100'
5090   ;;
5091 esac
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5102 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5103 if ${lt_cv_to_host_file_cmd+:} false; then :
5104   $as_echo_n "(cached) " >&6
5105 else
5106   case $host in
5107   *-*-mingw* )
5108     case $build in
5109       *-*-mingw* ) # actually msys
5110         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5111         ;;
5112       *-*-cygwin* )
5113         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5114         ;;
5115       * ) # otherwise, assume *nix
5116         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5117         ;;
5118     esac
5119     ;;
5120   *-*-cygwin* )
5121     case $build in
5122       *-*-mingw* ) # actually msys
5123         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5124         ;;
5125       *-*-cygwin* )
5126         lt_cv_to_host_file_cmd=func_convert_file_noop
5127         ;;
5128       * ) # otherwise, assume *nix
5129         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5130         ;;
5131     esac
5132     ;;
5133   * ) # unhandled hosts (and "normal" native builds)
5134     lt_cv_to_host_file_cmd=func_convert_file_noop
5135     ;;
5136 esac
5137
5138 fi
5139
5140 to_host_file_cmd=$lt_cv_to_host_file_cmd
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5142 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5143
5144
5145
5146
5147
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5149 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5150 if ${lt_cv_to_tool_file_cmd+:} false; then :
5151   $as_echo_n "(cached) " >&6
5152 else
5153   #assume ordinary cross tools, or native build.
5154 lt_cv_to_tool_file_cmd=func_convert_file_noop
5155 case $host in
5156   *-*-mingw* )
5157     case $build in
5158       *-*-mingw* ) # actually msys
5159         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5160         ;;
5161     esac
5162     ;;
5163 esac
5164
5165 fi
5166
5167 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5169 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5170
5171
5172
5173
5174
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5176 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5177 if ${lt_cv_ld_reload_flag+:} false; then :
5178   $as_echo_n "(cached) " >&6
5179 else
5180   lt_cv_ld_reload_flag='-r'
5181 fi
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5183 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5184 reload_flag=$lt_cv_ld_reload_flag
5185 case $reload_flag in
5186 "" | " "*) ;;
5187 *) reload_flag=" $reload_flag" ;;
5188 esac
5189 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5190 case $host_os in
5191   cygwin* | mingw* | pw32* | cegcc*)
5192     if test "$GCC" != yes; then
5193       reload_cmds=false
5194     fi
5195     ;;
5196   darwin*)
5197     if test "$GCC" = yes; then
5198       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5199     else
5200       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5201     fi
5202     ;;
5203 esac
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213 if test -n "$ac_tool_prefix"; then
5214   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_OBJDUMP+:} false; then :
5219   $as_echo_n "(cached) " >&6
5220 else
5221   if test -n "$OBJDUMP"; then
5222   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5223 else
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH
5226 do
5227   IFS=$as_save_IFS
5228   test -z "$as_dir" && as_dir=.
5229     for ac_exec_ext in '' $ac_executable_extensions; do
5230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233     break 2
5234   fi
5235 done
5236   done
5237 IFS=$as_save_IFS
5238
5239 fi
5240 fi
5241 OBJDUMP=$ac_cv_prog_OBJDUMP
5242 if test -n "$OBJDUMP"; then
5243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5244 $as_echo "$OBJDUMP" >&6; }
5245 else
5246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5248 fi
5249
5250
5251 fi
5252 if test -z "$ac_cv_prog_OBJDUMP"; then
5253   ac_ct_OBJDUMP=$OBJDUMP
5254   # Extract the first word of "objdump", so it can be a program name with args.
5255 set dummy objdump; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5259   $as_echo_n "(cached) " >&6
5260 else
5261   if test -n "$ac_ct_OBJDUMP"; then
5262   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5263 else
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH
5266 do
5267   IFS=$as_save_IFS
5268   test -z "$as_dir" && as_dir=.
5269     for ac_exec_ext in '' $ac_executable_extensions; do
5270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273     break 2
5274   fi
5275 done
5276   done
5277 IFS=$as_save_IFS
5278
5279 fi
5280 fi
5281 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5282 if test -n "$ac_ct_OBJDUMP"; then
5283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5284 $as_echo "$ac_ct_OBJDUMP" >&6; }
5285 else
5286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5288 fi
5289
5290   if test "x$ac_ct_OBJDUMP" = x; then
5291     OBJDUMP="false"
5292   else
5293     case $cross_compiling:$ac_tool_warned in
5294 yes:)
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5297 ac_tool_warned=yes ;;
5298 esac
5299     OBJDUMP=$ac_ct_OBJDUMP
5300   fi
5301 else
5302   OBJDUMP="$ac_cv_prog_OBJDUMP"
5303 fi
5304
5305 test -z "$OBJDUMP" && OBJDUMP=objdump
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5316 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5317 if ${lt_cv_deplibs_check_method+:} false; then :
5318   $as_echo_n "(cached) " >&6
5319 else
5320   lt_cv_file_magic_cmd='$MAGIC_CMD'
5321 lt_cv_file_magic_test_file=
5322 lt_cv_deplibs_check_method='unknown'
5323 # Need to set the preceding variable on all platforms that support
5324 # interlibrary dependencies.
5325 # 'none' -- dependencies not supported.
5326 # `unknown' -- same as none, but documents that we really don't know.
5327 # 'pass_all' -- all dependencies passed with no checks.
5328 # 'test_compile' -- check by making test program.
5329 # 'file_magic [[regex]]' -- check by looking for files in library path
5330 # which responds to the $file_magic_cmd with a given extended regex.
5331 # If you have `file' or equivalent on your system and you're not sure
5332 # whether `pass_all' will *always* work, you probably want this one.
5333
5334 case $host_os in
5335 aix[4-9]*)
5336   lt_cv_deplibs_check_method=pass_all
5337   ;;
5338
5339 beos*)
5340   lt_cv_deplibs_check_method=pass_all
5341   ;;
5342
5343 bsdi[45]*)
5344   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5345   lt_cv_file_magic_cmd='/usr/bin/file -L'
5346   lt_cv_file_magic_test_file=/shlib/libc.so
5347   ;;
5348
5349 cygwin*)
5350   # func_win32_libid is a shell function defined in ltmain.sh
5351   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5352   lt_cv_file_magic_cmd='func_win32_libid'
5353   ;;
5354
5355 mingw* | pw32*)
5356   # Base MSYS/MinGW do not provide the 'file' command needed by
5357   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5358   # unless we find 'file', for example because we are cross-compiling.
5359   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5360   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5361     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5362     lt_cv_file_magic_cmd='func_win32_libid'
5363   else
5364     # Keep this pattern in sync with the one in func_win32_libid.
5365     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5366     lt_cv_file_magic_cmd='$OBJDUMP -f'
5367   fi
5368   ;;
5369
5370 cegcc*)
5371   # use the weaker test based on 'objdump'. See mingw*.
5372   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5373   lt_cv_file_magic_cmd='$OBJDUMP -f'
5374   ;;
5375
5376 darwin* | rhapsody*)
5377   lt_cv_deplibs_check_method=pass_all
5378   ;;
5379
5380 freebsd* | dragonfly*)
5381   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5382     case $host_cpu in
5383     i*86 )
5384       # Not sure whether the presence of OpenBSD here was a mistake.
5385       # Let's accept both of them until this is cleared up.
5386       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5387       lt_cv_file_magic_cmd=/usr/bin/file
5388       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5389       ;;
5390     esac
5391   else
5392     lt_cv_deplibs_check_method=pass_all
5393   fi
5394   ;;
5395
5396 gnu*)
5397   lt_cv_deplibs_check_method=pass_all
5398   ;;
5399
5400 haiku*)
5401   lt_cv_deplibs_check_method=pass_all
5402   ;;
5403
5404 hpux10.20* | hpux11*)
5405   lt_cv_file_magic_cmd=/usr/bin/file
5406   case $host_cpu in
5407   ia64*)
5408     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5409     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5410     ;;
5411   hppa*64*)
5412     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]'
5413     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5414     ;;
5415   *)
5416     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5417     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5418     ;;
5419   esac
5420   ;;
5421
5422 interix[3-9]*)
5423   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5424   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5425   ;;
5426
5427 irix5* | irix6* | nonstopux*)
5428   case $LD in
5429   *-32|*"-32 ") libmagic=32-bit;;
5430   *-n32|*"-n32 ") libmagic=N32;;
5431   *-64|*"-64 ") libmagic=64-bit;;
5432   *) libmagic=never-match;;
5433   esac
5434   lt_cv_deplibs_check_method=pass_all
5435   ;;
5436
5437 # This must be glibc/ELF.
5438 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5439   lt_cv_deplibs_check_method=pass_all
5440   ;;
5441
5442 netbsd* | netbsdelf*-gnu)
5443   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5444     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5445   else
5446     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5447   fi
5448   ;;
5449
5450 newos6*)
5451   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5452   lt_cv_file_magic_cmd=/usr/bin/file
5453   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5454   ;;
5455
5456 *nto* | *qnx*)
5457   lt_cv_deplibs_check_method=pass_all
5458   ;;
5459
5460 openbsd*)
5461   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5462     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5463   else
5464     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5465   fi
5466   ;;
5467
5468 osf3* | osf4* | osf5*)
5469   lt_cv_deplibs_check_method=pass_all
5470   ;;
5471
5472 rdos*)
5473   lt_cv_deplibs_check_method=pass_all
5474   ;;
5475
5476 solaris*)
5477   lt_cv_deplibs_check_method=pass_all
5478   ;;
5479
5480 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5481   lt_cv_deplibs_check_method=pass_all
5482   ;;
5483
5484 sysv4 | sysv4.3*)
5485   case $host_vendor in
5486   motorola)
5487     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]'
5488     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5489     ;;
5490   ncr)
5491     lt_cv_deplibs_check_method=pass_all
5492     ;;
5493   sequent)
5494     lt_cv_file_magic_cmd='/bin/file'
5495     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5496     ;;
5497   sni)
5498     lt_cv_file_magic_cmd='/bin/file'
5499     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5500     lt_cv_file_magic_test_file=/lib/libc.so
5501     ;;
5502   siemens)
5503     lt_cv_deplibs_check_method=pass_all
5504     ;;
5505   pc)
5506     lt_cv_deplibs_check_method=pass_all
5507     ;;
5508   esac
5509   ;;
5510
5511 tpf*)
5512   lt_cv_deplibs_check_method=pass_all
5513   ;;
5514 esac
5515
5516 fi
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5518 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5519
5520 file_magic_glob=
5521 want_nocaseglob=no
5522 if test "$build" = "$host"; then
5523   case $host_os in
5524   mingw* | pw32*)
5525     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5526       want_nocaseglob=yes
5527     else
5528       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5529     fi
5530     ;;
5531   esac
5532 fi
5533
5534 file_magic_cmd=$lt_cv_file_magic_cmd
5535 deplibs_check_method=$lt_cv_deplibs_check_method
5536 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559 if test -n "$ac_tool_prefix"; then
5560   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5561 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_DLLTOOL+:} false; then :
5565   $as_echo_n "(cached) " >&6
5566 else
5567   if test -n "$DLLTOOL"; then
5568   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5572 do
5573   IFS=$as_save_IFS
5574   test -z "$as_dir" && as_dir=.
5575     for ac_exec_ext in '' $ac_executable_extensions; do
5576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579     break 2
5580   fi
5581 done
5582   done
5583 IFS=$as_save_IFS
5584
5585 fi
5586 fi
5587 DLLTOOL=$ac_cv_prog_DLLTOOL
5588 if test -n "$DLLTOOL"; then
5589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5590 $as_echo "$DLLTOOL" >&6; }
5591 else
5592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5594 fi
5595
5596
5597 fi
5598 if test -z "$ac_cv_prog_DLLTOOL"; then
5599   ac_ct_DLLTOOL=$DLLTOOL
5600   # Extract the first word of "dlltool", so it can be a program name with args.
5601 set dummy dlltool; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5605   $as_echo_n "(cached) " >&6
5606 else
5607   if test -n "$ac_ct_DLLTOOL"; then
5608   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5612 do
5613   IFS=$as_save_IFS
5614   test -z "$as_dir" && as_dir=.
5615     for ac_exec_ext in '' $ac_executable_extensions; do
5616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5617     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619     break 2
5620   fi
5621 done
5622   done
5623 IFS=$as_save_IFS
5624
5625 fi
5626 fi
5627 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5628 if test -n "$ac_ct_DLLTOOL"; then
5629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5630 $as_echo "$ac_ct_DLLTOOL" >&6; }
5631 else
5632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5634 fi
5635
5636   if test "x$ac_ct_DLLTOOL" = x; then
5637     DLLTOOL="false"
5638   else
5639     case $cross_compiling:$ac_tool_warned in
5640 yes:)
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5643 ac_tool_warned=yes ;;
5644 esac
5645     DLLTOOL=$ac_ct_DLLTOOL
5646   fi
5647 else
5648   DLLTOOL="$ac_cv_prog_DLLTOOL"
5649 fi
5650
5651 test -z "$DLLTOOL" && DLLTOOL=dlltool
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5663 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5664 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5665   $as_echo_n "(cached) " >&6
5666 else
5667   lt_cv_sharedlib_from_linklib_cmd='unknown'
5668
5669 case $host_os in
5670 cygwin* | mingw* | pw32* | cegcc*)
5671   # two different shell functions defined in ltmain.sh
5672   # decide which to use based on capabilities of $DLLTOOL
5673   case `$DLLTOOL --help 2>&1` in
5674   *--identify-strict*)
5675     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5676     ;;
5677   *)
5678     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5679     ;;
5680   esac
5681   ;;
5682 *)
5683   # fallback: assume linklib IS sharedlib
5684   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5685   ;;
5686 esac
5687
5688 fi
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5690 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5691 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5692 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5693
5694
5695
5696
5697
5698
5699
5700 if test -n "$ac_tool_prefix"; then
5701   for ac_prog in ar
5702   do
5703     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5704 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_prog_AR+:} false; then :
5708   $as_echo_n "(cached) " >&6
5709 else
5710   if test -n "$AR"; then
5711   ac_cv_prog_AR="$AR" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5715 do
5716   IFS=$as_save_IFS
5717   test -z "$as_dir" && as_dir=.
5718     for ac_exec_ext in '' $ac_executable_extensions; do
5719   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5720     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5721     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722     break 2
5723   fi
5724 done
5725   done
5726 IFS=$as_save_IFS
5727
5728 fi
5729 fi
5730 AR=$ac_cv_prog_AR
5731 if test -n "$AR"; then
5732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5733 $as_echo "$AR" >&6; }
5734 else
5735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5737 fi
5738
5739
5740     test -n "$AR" && break
5741   done
5742 fi
5743 if test -z "$AR"; then
5744   ac_ct_AR=$AR
5745   for ac_prog in ar
5746 do
5747   # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy $ac_prog; ac_word=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5752   $as_echo_n "(cached) " >&6
5753 else
5754   if test -n "$ac_ct_AR"; then
5755   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5756 else
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 for as_dir in $PATH
5759 do
5760   IFS=$as_save_IFS
5761   test -z "$as_dir" && as_dir=.
5762     for ac_exec_ext in '' $ac_executable_extensions; do
5763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5764     ac_cv_prog_ac_ct_AR="$ac_prog"
5765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766     break 2
5767   fi
5768 done
5769   done
5770 IFS=$as_save_IFS
5771
5772 fi
5773 fi
5774 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5775 if test -n "$ac_ct_AR"; then
5776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5777 $as_echo "$ac_ct_AR" >&6; }
5778 else
5779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5781 fi
5782
5783
5784   test -n "$ac_ct_AR" && break
5785 done
5786
5787   if test "x$ac_ct_AR" = x; then
5788     AR="false"
5789   else
5790     case $cross_compiling:$ac_tool_warned in
5791 yes:)
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5794 ac_tool_warned=yes ;;
5795 esac
5796     AR=$ac_ct_AR
5797   fi
5798 fi
5799
5800 : ${AR=ar}
5801 : ${AR_FLAGS=cru}
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5814 $as_echo_n "checking for archiver @FILE support... " >&6; }
5815 if ${lt_cv_ar_at_file+:} false; then :
5816   $as_echo_n "(cached) " >&6
5817 else
5818   lt_cv_ar_at_file=no
5819    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h.  */
5821
5822 int
5823 main ()
5824 {
5825
5826   ;
5827   return 0;
5828 }
5829 _ACEOF
5830 if ac_fn_c_try_compile "$LINENO"; then :
5831   echo conftest.$ac_objext > conftest.lst
5832       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5833       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5834   (eval $lt_ar_try) 2>&5
5835   ac_status=$?
5836   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5837   test $ac_status = 0; }
5838       if test "$ac_status" -eq 0; then
5839         # Ensure the archiver fails upon bogus file names.
5840         rm -f conftest.$ac_objext libconftest.a
5841         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5842   (eval $lt_ar_try) 2>&5
5843   ac_status=$?
5844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5845   test $ac_status = 0; }
5846         if test "$ac_status" -ne 0; then
5847           lt_cv_ar_at_file=@
5848         fi
5849       fi
5850       rm -f conftest.* libconftest.a
5851
5852 fi
5853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5854
5855 fi
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5857 $as_echo "$lt_cv_ar_at_file" >&6; }
5858
5859 if test "x$lt_cv_ar_at_file" = xno; then
5860   archiver_list_spec=
5861 else
5862   archiver_list_spec=$lt_cv_ar_at_file
5863 fi
5864
5865
5866
5867
5868
5869
5870
5871 if test -n "$ac_tool_prefix"; then
5872   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5873 set dummy ${ac_tool_prefix}strip; ac_word=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if ${ac_cv_prog_STRIP+:} false; then :
5877   $as_echo_n "(cached) " >&6
5878 else
5879   if test -n "$STRIP"; then
5880   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5881 else
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in $PATH
5884 do
5885   IFS=$as_save_IFS
5886   test -z "$as_dir" && as_dir=.
5887     for ac_exec_ext in '' $ac_executable_extensions; do
5888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891     break 2
5892   fi
5893 done
5894   done
5895 IFS=$as_save_IFS
5896
5897 fi
5898 fi
5899 STRIP=$ac_cv_prog_STRIP
5900 if test -n "$STRIP"; then
5901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5902 $as_echo "$STRIP" >&6; }
5903 else
5904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 $as_echo "no" >&6; }
5906 fi
5907
5908
5909 fi
5910 if test -z "$ac_cv_prog_STRIP"; then
5911   ac_ct_STRIP=$STRIP
5912   # Extract the first word of "strip", so it can be a program name with args.
5913 set dummy strip; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5917   $as_echo_n "(cached) " >&6
5918 else
5919   if test -n "$ac_ct_STRIP"; then
5920   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5924 do
5925   IFS=$as_save_IFS
5926   test -z "$as_dir" && as_dir=.
5927     for ac_exec_ext in '' $ac_executable_extensions; do
5928   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5929     ac_cv_prog_ac_ct_STRIP="strip"
5930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931     break 2
5932   fi
5933 done
5934   done
5935 IFS=$as_save_IFS
5936
5937 fi
5938 fi
5939 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5940 if test -n "$ac_ct_STRIP"; then
5941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5942 $as_echo "$ac_ct_STRIP" >&6; }
5943 else
5944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5946 fi
5947
5948   if test "x$ac_ct_STRIP" = x; then
5949     STRIP=":"
5950   else
5951     case $cross_compiling:$ac_tool_warned in
5952 yes:)
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5955 ac_tool_warned=yes ;;
5956 esac
5957     STRIP=$ac_ct_STRIP
5958   fi
5959 else
5960   STRIP="$ac_cv_prog_STRIP"
5961 fi
5962
5963 test -z "$STRIP" && STRIP=:
5964
5965
5966
5967
5968
5969
5970 if test -n "$ac_tool_prefix"; then
5971   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5972 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_RANLIB+:} false; then :
5976   $as_echo_n "(cached) " >&6
5977 else
5978   if test -n "$RANLIB"; then
5979   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5983 do
5984   IFS=$as_save_IFS
5985   test -z "$as_dir" && as_dir=.
5986     for ac_exec_ext in '' $ac_executable_extensions; do
5987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5988     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990     break 2
5991   fi
5992 done
5993   done
5994 IFS=$as_save_IFS
5995
5996 fi
5997 fi
5998 RANLIB=$ac_cv_prog_RANLIB
5999 if test -n "$RANLIB"; then
6000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6001 $as_echo "$RANLIB" >&6; }
6002 else
6003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6005 fi
6006
6007
6008 fi
6009 if test -z "$ac_cv_prog_RANLIB"; then
6010   ac_ct_RANLIB=$RANLIB
6011   # Extract the first word of "ranlib", so it can be a program name with args.
6012 set dummy ranlib; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6016   $as_echo_n "(cached) " >&6
6017 else
6018   if test -n "$ac_ct_RANLIB"; then
6019   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6020 else
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 for as_dir in $PATH
6023 do
6024   IFS=$as_save_IFS
6025   test -z "$as_dir" && as_dir=.
6026     for ac_exec_ext in '' $ac_executable_extensions; do
6027   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028     ac_cv_prog_ac_ct_RANLIB="ranlib"
6029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030     break 2
6031   fi
6032 done
6033   done
6034 IFS=$as_save_IFS
6035
6036 fi
6037 fi
6038 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6039 if test -n "$ac_ct_RANLIB"; then
6040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6041 $as_echo "$ac_ct_RANLIB" >&6; }
6042 else
6043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6045 fi
6046
6047   if test "x$ac_ct_RANLIB" = x; then
6048     RANLIB=":"
6049   else
6050     case $cross_compiling:$ac_tool_warned in
6051 yes:)
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6054 ac_tool_warned=yes ;;
6055 esac
6056     RANLIB=$ac_ct_RANLIB
6057   fi
6058 else
6059   RANLIB="$ac_cv_prog_RANLIB"
6060 fi
6061
6062 test -z "$RANLIB" && RANLIB=:
6063
6064
6065
6066
6067
6068
6069 # Determine commands to create old-style static archives.
6070 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6071 old_postinstall_cmds='chmod 644 $oldlib'
6072 old_postuninstall_cmds=
6073
6074 if test -n "$RANLIB"; then
6075   case $host_os in
6076   openbsd*)
6077     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6078     ;;
6079   *)
6080     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6081     ;;
6082   esac
6083   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6084 fi
6085
6086 case $host_os in
6087   darwin*)
6088     lock_old_archive_extraction=yes ;;
6089   *)
6090     lock_old_archive_extraction=no ;;
6091 esac
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131 # If no C compiler was specified, use CC.
6132 LTCC=${LTCC-"$CC"}
6133
6134 # If no C compiler flags were specified, use CFLAGS.
6135 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6136
6137 # Allow CC to be a program name with arguments.
6138 compiler=$CC
6139
6140
6141 # Check for command to grab the raw symbol name followed by C symbol from nm.
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6143 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6144 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6145   $as_echo_n "(cached) " >&6
6146 else
6147
6148 # These are sane defaults that work on at least a few old systems.
6149 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6150
6151 # Character class describing NM global symbol codes.
6152 symcode='[BCDEGRST]'
6153
6154 # Regexp to match symbols that can be accessed directly from C.
6155 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6156
6157 # Define system-specific variables.
6158 case $host_os in
6159 aix*)
6160   symcode='[BCDT]'
6161   ;;
6162 cygwin* | mingw* | pw32* | cegcc*)
6163   symcode='[ABCDGISTW]'
6164   ;;
6165 hpux*)
6166   if test "$host_cpu" = ia64; then
6167     symcode='[ABCDEGRST]'
6168   fi
6169   ;;
6170 irix* | nonstopux*)
6171   symcode='[BCDEGRST]'
6172   ;;
6173 osf*)
6174   symcode='[BCDEGQRST]'
6175   ;;
6176 solaris*)
6177   symcode='[BDRT]'
6178   ;;
6179 sco3.2v5*)
6180   symcode='[DT]'
6181   ;;
6182 sysv4.2uw2*)
6183   symcode='[DT]'
6184   ;;
6185 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6186   symcode='[ABDT]'
6187   ;;
6188 sysv4)
6189   symcode='[DFNSTU]'
6190   ;;
6191 esac
6192
6193 # If we're using GNU nm, then use its standard symbol codes.
6194 case `$NM -V 2>&1` in
6195 *GNU* | *'with BFD'*)
6196   symcode='[ABCDGIRSTW]' ;;
6197 esac
6198
6199 # Transform an extracted symbol line into a proper C declaration.
6200 # Some systems (esp. on ia64) link data and code symbols differently,
6201 # so use this general approach.
6202 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6203
6204 # Transform an extracted symbol line into symbol name and symbol address
6205 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6206 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'"
6207
6208 # Handle CRLF in mingw tool chain
6209 opt_cr=
6210 case $build_os in
6211 mingw*)
6212   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6213   ;;
6214 esac
6215
6216 # Try without a prefix underscore, then with it.
6217 for ac_symprfx in "" "_"; do
6218
6219   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6220   symxfrm="\\1 $ac_symprfx\\2 \\2"
6221
6222   # Write the raw and C identifiers.
6223   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6224     # Fake it for dumpbin and say T for any non-static function
6225     # and D for any global variable.
6226     # Also find C++ and __fastcall symbols from MSVC++,
6227     # which start with @ or ?.
6228     lt_cv_sys_global_symbol_pipe="$AWK '"\
6229 "     {last_section=section; section=\$ 3};"\
6230 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6231 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6232 "     \$ 0!~/External *\|/{next};"\
6233 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6234 "     {if(hide[section]) next};"\
6235 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6236 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6237 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6238 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6239 "     ' prfx=^$ac_symprfx"
6240   else
6241     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6242   fi
6243   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6244
6245   # Check to see that the pipe works correctly.
6246   pipe_works=no
6247
6248   rm -f conftest*
6249   cat > conftest.$ac_ext <<_LT_EOF
6250 #ifdef __cplusplus
6251 extern "C" {
6252 #endif
6253 char nm_test_var;
6254 void nm_test_func(void);
6255 void nm_test_func(void){}
6256 #ifdef __cplusplus
6257 }
6258 #endif
6259 int main(){nm_test_var='a';nm_test_func();return(0);}
6260 _LT_EOF
6261
6262   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6263   (eval $ac_compile) 2>&5
6264   ac_status=$?
6265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6266   test $ac_status = 0; }; then
6267     # Now try to grab the symbols.
6268     nlist=conftest.nm
6269     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6270   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6271   ac_status=$?
6272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6273   test $ac_status = 0; } && test -s "$nlist"; then
6274       # Try sorting and uniquifying the output.
6275       if sort "$nlist" | uniq > "$nlist"T; then
6276         mv -f "$nlist"T "$nlist"
6277       else
6278         rm -f "$nlist"T
6279       fi
6280
6281       # Make sure that we snagged all the symbols we need.
6282       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6283         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6284           cat <<_LT_EOF > conftest.$ac_ext
6285 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6286 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6287 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6288    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6289 # define LT_DLSYM_CONST
6290 #elif defined(__osf__)
6291 /* This system does not cope well with relocations in const data.  */
6292 # define LT_DLSYM_CONST
6293 #else
6294 # define LT_DLSYM_CONST const
6295 #endif
6296
6297 #ifdef __cplusplus
6298 extern "C" {
6299 #endif
6300
6301 _LT_EOF
6302           # Now generate the symbol file.
6303           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6304
6305           cat <<_LT_EOF >> conftest.$ac_ext
6306
6307 /* The mapping between symbol names and symbols.  */
6308 LT_DLSYM_CONST struct {
6309   const char *name;
6310   void       *address;
6311 }
6312 lt__PROGRAM__LTX_preloaded_symbols[] =
6313 {
6314   { "@PROGRAM@", (void *) 0 },
6315 _LT_EOF
6316           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6317           cat <<\_LT_EOF >> conftest.$ac_ext
6318   {0, (void *) 0}
6319 };
6320
6321 /* This works around a problem in FreeBSD linker */
6322 #ifdef FREEBSD_WORKAROUND
6323 static const void *lt_preloaded_setup() {
6324   return lt__PROGRAM__LTX_preloaded_symbols;
6325 }
6326 #endif
6327
6328 #ifdef __cplusplus
6329 }
6330 #endif
6331 _LT_EOF
6332           # Now try linking the two files.
6333           mv conftest.$ac_objext conftstm.$ac_objext
6334           lt_globsym_save_LIBS=$LIBS
6335           lt_globsym_save_CFLAGS=$CFLAGS
6336           LIBS="conftstm.$ac_objext"
6337           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6338           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6339   (eval $ac_link) 2>&5
6340   ac_status=$?
6341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6342   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6343             pipe_works=yes
6344           fi
6345           LIBS=$lt_globsym_save_LIBS
6346           CFLAGS=$lt_globsym_save_CFLAGS
6347         else
6348           echo "cannot find nm_test_func in $nlist" >&5
6349         fi
6350       else
6351         echo "cannot find nm_test_var in $nlist" >&5
6352       fi
6353     else
6354       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6355     fi
6356   else
6357     echo "$progname: failed program was:" >&5
6358     cat conftest.$ac_ext >&5
6359   fi
6360   rm -rf conftest* conftst*
6361
6362   # Do not use the global_symbol_pipe unless it works.
6363   if test "$pipe_works" = yes; then
6364     break
6365   else
6366     lt_cv_sys_global_symbol_pipe=
6367   fi
6368 done
6369
6370 fi
6371
6372 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6373   lt_cv_sys_global_symbol_to_cdecl=
6374 fi
6375 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6377 $as_echo "failed" >&6; }
6378 else
6379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6380 $as_echo "ok" >&6; }
6381 fi
6382
6383 # Response file support.
6384 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6385   nm_file_list_spec='@'
6386 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6387   nm_file_list_spec='@'
6388 fi
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6417 $as_echo_n "checking for sysroot... " >&6; }
6418
6419 # Check whether --with-sysroot was given.
6420 if test "${with_sysroot+set}" = set; then :
6421   withval=$with_sysroot;
6422 else
6423   with_sysroot=no
6424 fi
6425
6426
6427 lt_sysroot=
6428 case ${with_sysroot} in #(
6429  yes)
6430    if test "$GCC" = yes; then
6431      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6432    fi
6433    ;; #(
6434  /*)
6435    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6436    ;; #(
6437  no|'')
6438    ;; #(
6439  *)
6440    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6441 $as_echo "${with_sysroot}" >&6; }
6442    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6443    ;;
6444 esac
6445
6446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6447 $as_echo "${lt_sysroot:-no}" >&6; }
6448
6449
6450
6451
6452
6453 # Check whether --enable-libtool-lock was given.
6454 if test "${enable_libtool_lock+set}" = set; then :
6455   enableval=$enable_libtool_lock;
6456 fi
6457
6458 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6459
6460 # Some flags need to be propagated to the compiler or linker for good
6461 # libtool support.
6462 case $host in
6463 ia64-*-hpux*)
6464   # Find out which ABI we are using.
6465   echo 'int i;' > conftest.$ac_ext
6466   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6467   (eval $ac_compile) 2>&5
6468   ac_status=$?
6469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6470   test $ac_status = 0; }; then
6471     case `/usr/bin/file conftest.$ac_objext` in
6472       *ELF-32*)
6473         HPUX_IA64_MODE="32"
6474         ;;
6475       *ELF-64*)
6476         HPUX_IA64_MODE="64"
6477         ;;
6478     esac
6479   fi
6480   rm -rf conftest*
6481   ;;
6482 *-*-irix6*)
6483   # Find out which ABI we are using.
6484   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6485   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6486   (eval $ac_compile) 2>&5
6487   ac_status=$?
6488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6489   test $ac_status = 0; }; then
6490     if test "$lt_cv_prog_gnu_ld" = yes; then
6491       case `/usr/bin/file conftest.$ac_objext` in
6492         *32-bit*)
6493           LD="${LD-ld} -melf32bsmip"
6494           ;;
6495         *N32*)
6496           LD="${LD-ld} -melf32bmipn32"
6497           ;;
6498         *64-bit*)
6499           LD="${LD-ld} -melf64bmip"
6500         ;;
6501       esac
6502     else
6503       case `/usr/bin/file conftest.$ac_objext` in
6504         *32-bit*)
6505           LD="${LD-ld} -32"
6506           ;;
6507         *N32*)
6508           LD="${LD-ld} -n32"
6509           ;;
6510         *64-bit*)
6511           LD="${LD-ld} -64"
6512           ;;
6513       esac
6514     fi
6515   fi
6516   rm -rf conftest*
6517   ;;
6518
6519 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6520 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6521   # Find out which ABI we are using.
6522   echo 'int i;' > conftest.$ac_ext
6523   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6524   (eval $ac_compile) 2>&5
6525   ac_status=$?
6526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6527   test $ac_status = 0; }; then
6528     case `/usr/bin/file conftest.o` in
6529       *32-bit*)
6530         case $host in
6531           x86_64-*kfreebsd*-gnu)
6532             LD="${LD-ld} -m elf_i386_fbsd"
6533             ;;
6534           x86_64-*linux*)
6535             LD="${LD-ld} -m elf_i386"
6536             ;;
6537           ppc64-*linux*|powerpc64-*linux*)
6538             LD="${LD-ld} -m elf32ppclinux"
6539             ;;
6540           s390x-*linux*)
6541             LD="${LD-ld} -m elf_s390"
6542             ;;
6543           sparc64-*linux*)
6544             LD="${LD-ld} -m elf32_sparc"
6545             ;;
6546         esac
6547         ;;
6548       *64-bit*)
6549         case $host in
6550           x86_64-*kfreebsd*-gnu)
6551             LD="${LD-ld} -m elf_x86_64_fbsd"
6552             ;;
6553           x86_64-*linux*)
6554             LD="${LD-ld} -m elf_x86_64"
6555             ;;
6556           ppc*-*linux*|powerpc*-*linux*)
6557             LD="${LD-ld} -m elf64ppc"
6558             ;;
6559           s390*-*linux*|s390*-*tpf*)
6560             LD="${LD-ld} -m elf64_s390"
6561             ;;
6562           sparc*-*linux*)
6563             LD="${LD-ld} -m elf64_sparc"
6564             ;;
6565         esac
6566         ;;
6567     esac
6568   fi
6569   rm -rf conftest*
6570   ;;
6571
6572 *-*-sco3.2v5*)
6573   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6574   SAVE_CFLAGS="$CFLAGS"
6575   CFLAGS="$CFLAGS -belf"
6576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6577 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6578 if ${lt_cv_cc_needs_belf+:} false; then :
6579   $as_echo_n "(cached) " >&6
6580 else
6581   ac_ext=c
6582 ac_cpp='$CPP $CPPFLAGS'
6583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6586
6587      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588 /* end confdefs.h.  */
6589
6590 int
6591 main ()
6592 {
6593
6594   ;
6595   return 0;
6596 }
6597 _ACEOF
6598 if ac_fn_c_try_link "$LINENO"; then :
6599   lt_cv_cc_needs_belf=yes
6600 else
6601   lt_cv_cc_needs_belf=no
6602 fi
6603 rm -f core conftest.err conftest.$ac_objext \
6604     conftest$ac_exeext conftest.$ac_ext
6605      ac_ext=c
6606 ac_cpp='$CPP $CPPFLAGS'
6607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6610
6611 fi
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6613 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6614   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6615     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6616     CFLAGS="$SAVE_CFLAGS"
6617   fi
6618   ;;
6619 *-*solaris*)
6620   # Find out which ABI we are using.
6621   echo 'int i;' > conftest.$ac_ext
6622   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6623   (eval $ac_compile) 2>&5
6624   ac_status=$?
6625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6626   test $ac_status = 0; }; then
6627     case `/usr/bin/file conftest.o` in
6628     *64-bit*)
6629       case $lt_cv_prog_gnu_ld in
6630       yes*)
6631         case $host in
6632         i?86-*-solaris*)
6633           LD="${LD-ld} -m elf_x86_64"
6634           ;;
6635         sparc*-*-solaris*)
6636           LD="${LD-ld} -m elf64_sparc"
6637           ;;
6638         esac
6639         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6640         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6641           LD="${LD-ld}_sol2"
6642         fi
6643         ;;
6644       *)
6645         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6646           LD="${LD-ld} -64"
6647         fi
6648         ;;
6649       esac
6650       ;;
6651     esac
6652   fi
6653   rm -rf conftest*
6654   ;;
6655 esac
6656
6657 need_locks="$enable_libtool_lock"
6658
6659 if test -n "$ac_tool_prefix"; then
6660   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6661 set dummy ${ac_tool_prefix}mt; ac_word=$2
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 $as_echo_n "checking for $ac_word... " >&6; }
6664 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6665   $as_echo_n "(cached) " >&6
6666 else
6667   if test -n "$MANIFEST_TOOL"; then
6668   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6669 else
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 for as_dir in $PATH
6672 do
6673   IFS=$as_save_IFS
6674   test -z "$as_dir" && as_dir=.
6675     for ac_exec_ext in '' $ac_executable_extensions; do
6676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679     break 2
6680   fi
6681 done
6682   done
6683 IFS=$as_save_IFS
6684
6685 fi
6686 fi
6687 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6688 if test -n "$MANIFEST_TOOL"; then
6689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6690 $as_echo "$MANIFEST_TOOL" >&6; }
6691 else
6692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6694 fi
6695
6696
6697 fi
6698 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6699   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6700   # Extract the first word of "mt", so it can be a program name with args.
6701 set dummy mt; ac_word=$2
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 $as_echo_n "checking for $ac_word... " >&6; }
6704 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6705   $as_echo_n "(cached) " >&6
6706 else
6707   if test -n "$ac_ct_MANIFEST_TOOL"; then
6708   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6709 else
6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 for as_dir in $PATH
6712 do
6713   IFS=$as_save_IFS
6714   test -z "$as_dir" && as_dir=.
6715     for ac_exec_ext in '' $ac_executable_extensions; do
6716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6717     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719     break 2
6720   fi
6721 done
6722   done
6723 IFS=$as_save_IFS
6724
6725 fi
6726 fi
6727 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6728 if test -n "$ac_ct_MANIFEST_TOOL"; then
6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6730 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6731 else
6732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 $as_echo "no" >&6; }
6734 fi
6735
6736   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6737     MANIFEST_TOOL=":"
6738   else
6739     case $cross_compiling:$ac_tool_warned in
6740 yes:)
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6743 ac_tool_warned=yes ;;
6744 esac
6745     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6746   fi
6747 else
6748   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6749 fi
6750
6751 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6753 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6754 if ${lt_cv_path_mainfest_tool+:} false; then :
6755   $as_echo_n "(cached) " >&6
6756 else
6757   lt_cv_path_mainfest_tool=no
6758   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6759   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6760   cat conftest.err >&5
6761   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6762     lt_cv_path_mainfest_tool=yes
6763   fi
6764   rm -f conftest*
6765 fi
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6767 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6768 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6769   MANIFEST_TOOL=:
6770 fi
6771
6772
6773
6774
6775
6776
6777   case $host_os in
6778     rhapsody* | darwin*)
6779     if test -n "$ac_tool_prefix"; then
6780   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6781 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 $as_echo_n "checking for $ac_word... " >&6; }
6784 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6785   $as_echo_n "(cached) " >&6
6786 else
6787   if test -n "$DSYMUTIL"; then
6788   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6789 else
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 for as_dir in $PATH
6792 do
6793   IFS=$as_save_IFS
6794   test -z "$as_dir" && as_dir=.
6795     for ac_exec_ext in '' $ac_executable_extensions; do
6796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6797     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6799     break 2
6800   fi
6801 done
6802   done
6803 IFS=$as_save_IFS
6804
6805 fi
6806 fi
6807 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6808 if test -n "$DSYMUTIL"; then
6809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6810 $as_echo "$DSYMUTIL" >&6; }
6811 else
6812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6814 fi
6815
6816
6817 fi
6818 if test -z "$ac_cv_prog_DSYMUTIL"; then
6819   ac_ct_DSYMUTIL=$DSYMUTIL
6820   # Extract the first word of "dsymutil", so it can be a program name with args.
6821 set dummy dsymutil; ac_word=$2
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823 $as_echo_n "checking for $ac_word... " >&6; }
6824 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6825   $as_echo_n "(cached) " >&6
6826 else
6827   if test -n "$ac_ct_DSYMUTIL"; then
6828   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6829 else
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 for as_dir in $PATH
6832 do
6833   IFS=$as_save_IFS
6834   test -z "$as_dir" && as_dir=.
6835     for ac_exec_ext in '' $ac_executable_extensions; do
6836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6837     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6839     break 2
6840   fi
6841 done
6842   done
6843 IFS=$as_save_IFS
6844
6845 fi
6846 fi
6847 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6848 if test -n "$ac_ct_DSYMUTIL"; then
6849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6850 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6851 else
6852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853 $as_echo "no" >&6; }
6854 fi
6855
6856   if test "x$ac_ct_DSYMUTIL" = x; then
6857     DSYMUTIL=":"
6858   else
6859     case $cross_compiling:$ac_tool_warned in
6860 yes:)
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863 ac_tool_warned=yes ;;
6864 esac
6865     DSYMUTIL=$ac_ct_DSYMUTIL
6866   fi
6867 else
6868   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6869 fi
6870
6871     if test -n "$ac_tool_prefix"; then
6872   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6873 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if ${ac_cv_prog_NMEDIT+:} false; then :
6877   $as_echo_n "(cached) " >&6
6878 else
6879   if test -n "$NMEDIT"; then
6880   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6881 else
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 for as_dir in $PATH
6884 do
6885   IFS=$as_save_IFS
6886   test -z "$as_dir" && as_dir=.
6887     for ac_exec_ext in '' $ac_executable_extensions; do
6888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6891     break 2
6892   fi
6893 done
6894   done
6895 IFS=$as_save_IFS
6896
6897 fi
6898 fi
6899 NMEDIT=$ac_cv_prog_NMEDIT
6900 if test -n "$NMEDIT"; then
6901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6902 $as_echo "$NMEDIT" >&6; }
6903 else
6904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6906 fi
6907
6908
6909 fi
6910 if test -z "$ac_cv_prog_NMEDIT"; then
6911   ac_ct_NMEDIT=$NMEDIT
6912   # Extract the first word of "nmedit", so it can be a program name with args.
6913 set dummy nmedit; ac_word=$2
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915 $as_echo_n "checking for $ac_word... " >&6; }
6916 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6917   $as_echo_n "(cached) " >&6
6918 else
6919   if test -n "$ac_ct_NMEDIT"; then
6920   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6921 else
6922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 for as_dir in $PATH
6924 do
6925   IFS=$as_save_IFS
6926   test -z "$as_dir" && as_dir=.
6927     for ac_exec_ext in '' $ac_executable_extensions; do
6928   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931     break 2
6932   fi
6933 done
6934   done
6935 IFS=$as_save_IFS
6936
6937 fi
6938 fi
6939 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6940 if test -n "$ac_ct_NMEDIT"; then
6941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6942 $as_echo "$ac_ct_NMEDIT" >&6; }
6943 else
6944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945 $as_echo "no" >&6; }
6946 fi
6947
6948   if test "x$ac_ct_NMEDIT" = x; then
6949     NMEDIT=":"
6950   else
6951     case $cross_compiling:$ac_tool_warned in
6952 yes:)
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6955 ac_tool_warned=yes ;;
6956 esac
6957     NMEDIT=$ac_ct_NMEDIT
6958   fi
6959 else
6960   NMEDIT="$ac_cv_prog_NMEDIT"
6961 fi
6962
6963     if test -n "$ac_tool_prefix"; then
6964   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6965 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6967 $as_echo_n "checking for $ac_word... " >&6; }
6968 if ${ac_cv_prog_LIPO+:} false; then :
6969   $as_echo_n "(cached) " >&6
6970 else
6971   if test -n "$LIPO"; then
6972   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6973 else
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 for as_dir in $PATH
6976 do
6977   IFS=$as_save_IFS
6978   test -z "$as_dir" && as_dir=.
6979     for ac_exec_ext in '' $ac_executable_extensions; do
6980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6981     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6983     break 2
6984   fi
6985 done
6986   done
6987 IFS=$as_save_IFS
6988
6989 fi
6990 fi
6991 LIPO=$ac_cv_prog_LIPO
6992 if test -n "$LIPO"; then
6993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6994 $as_echo "$LIPO" >&6; }
6995 else
6996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997 $as_echo "no" >&6; }
6998 fi
6999
7000
7001 fi
7002 if test -z "$ac_cv_prog_LIPO"; then
7003   ac_ct_LIPO=$LIPO
7004   # Extract the first word of "lipo", so it can be a program name with args.
7005 set dummy lipo; ac_word=$2
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7007 $as_echo_n "checking for $ac_word... " >&6; }
7008 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7009   $as_echo_n "(cached) " >&6
7010 else
7011   if test -n "$ac_ct_LIPO"; then
7012   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7013 else
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 for as_dir in $PATH
7016 do
7017   IFS=$as_save_IFS
7018   test -z "$as_dir" && as_dir=.
7019     for ac_exec_ext in '' $ac_executable_extensions; do
7020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7021     ac_cv_prog_ac_ct_LIPO="lipo"
7022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7023     break 2
7024   fi
7025 done
7026   done
7027 IFS=$as_save_IFS
7028
7029 fi
7030 fi
7031 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7032 if test -n "$ac_ct_LIPO"; then
7033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7034 $as_echo "$ac_ct_LIPO" >&6; }
7035 else
7036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7037 $as_echo "no" >&6; }
7038 fi
7039
7040   if test "x$ac_ct_LIPO" = x; then
7041     LIPO=":"
7042   else
7043     case $cross_compiling:$ac_tool_warned in
7044 yes:)
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7047 ac_tool_warned=yes ;;
7048 esac
7049     LIPO=$ac_ct_LIPO
7050   fi
7051 else
7052   LIPO="$ac_cv_prog_LIPO"
7053 fi
7054
7055     if test -n "$ac_tool_prefix"; then
7056   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7057 set dummy ${ac_tool_prefix}otool; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if ${ac_cv_prog_OTOOL+:} false; then :
7061   $as_echo_n "(cached) " >&6
7062 else
7063   if test -n "$OTOOL"; then
7064   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7065 else
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 for as_dir in $PATH
7068 do
7069   IFS=$as_save_IFS
7070   test -z "$as_dir" && as_dir=.
7071     for ac_exec_ext in '' $ac_executable_extensions; do
7072   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075     break 2
7076   fi
7077 done
7078   done
7079 IFS=$as_save_IFS
7080
7081 fi
7082 fi
7083 OTOOL=$ac_cv_prog_OTOOL
7084 if test -n "$OTOOL"; then
7085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7086 $as_echo "$OTOOL" >&6; }
7087 else
7088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7090 fi
7091
7092
7093 fi
7094 if test -z "$ac_cv_prog_OTOOL"; then
7095   ac_ct_OTOOL=$OTOOL
7096   # Extract the first word of "otool", so it can be a program name with args.
7097 set dummy otool; ac_word=$2
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7099 $as_echo_n "checking for $ac_word... " >&6; }
7100 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7101   $as_echo_n "(cached) " >&6
7102 else
7103   if test -n "$ac_ct_OTOOL"; then
7104   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7105 else
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 for as_dir in $PATH
7108 do
7109   IFS=$as_save_IFS
7110   test -z "$as_dir" && as_dir=.
7111     for ac_exec_ext in '' $ac_executable_extensions; do
7112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113     ac_cv_prog_ac_ct_OTOOL="otool"
7114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7115     break 2
7116   fi
7117 done
7118   done
7119 IFS=$as_save_IFS
7120
7121 fi
7122 fi
7123 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7124 if test -n "$ac_ct_OTOOL"; then
7125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7126 $as_echo "$ac_ct_OTOOL" >&6; }
7127 else
7128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 $as_echo "no" >&6; }
7130 fi
7131
7132   if test "x$ac_ct_OTOOL" = x; then
7133     OTOOL=":"
7134   else
7135     case $cross_compiling:$ac_tool_warned in
7136 yes:)
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7139 ac_tool_warned=yes ;;
7140 esac
7141     OTOOL=$ac_ct_OTOOL
7142   fi
7143 else
7144   OTOOL="$ac_cv_prog_OTOOL"
7145 fi
7146
7147     if test -n "$ac_tool_prefix"; then
7148   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7149 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if ${ac_cv_prog_OTOOL64+:} false; then :
7153   $as_echo_n "(cached) " >&6
7154 else
7155   if test -n "$OTOOL64"; then
7156   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7157 else
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 for as_dir in $PATH
7160 do
7161   IFS=$as_save_IFS
7162   test -z "$as_dir" && as_dir=.
7163     for ac_exec_ext in '' $ac_executable_extensions; do
7164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167     break 2
7168   fi
7169 done
7170   done
7171 IFS=$as_save_IFS
7172
7173 fi
7174 fi
7175 OTOOL64=$ac_cv_prog_OTOOL64
7176 if test -n "$OTOOL64"; then
7177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7178 $as_echo "$OTOOL64" >&6; }
7179 else
7180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7182 fi
7183
7184
7185 fi
7186 if test -z "$ac_cv_prog_OTOOL64"; then
7187   ac_ct_OTOOL64=$OTOOL64
7188   # Extract the first word of "otool64", so it can be a program name with args.
7189 set dummy otool64; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7193   $as_echo_n "(cached) " >&6
7194 else
7195   if test -n "$ac_ct_OTOOL64"; then
7196   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7197 else
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $PATH
7200 do
7201   IFS=$as_save_IFS
7202   test -z "$as_dir" && as_dir=.
7203     for ac_exec_ext in '' $ac_executable_extensions; do
7204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205     ac_cv_prog_ac_ct_OTOOL64="otool64"
7206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207     break 2
7208   fi
7209 done
7210   done
7211 IFS=$as_save_IFS
7212
7213 fi
7214 fi
7215 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7216 if test -n "$ac_ct_OTOOL64"; then
7217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7218 $as_echo "$ac_ct_OTOOL64" >&6; }
7219 else
7220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7222 fi
7223
7224   if test "x$ac_ct_OTOOL64" = x; then
7225     OTOOL64=":"
7226   else
7227     case $cross_compiling:$ac_tool_warned in
7228 yes:)
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7231 ac_tool_warned=yes ;;
7232 esac
7233     OTOOL64=$ac_ct_OTOOL64
7234   fi
7235 else
7236   OTOOL64="$ac_cv_prog_OTOOL64"
7237 fi
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7266 $as_echo_n "checking for -single_module linker flag... " >&6; }
7267 if ${lt_cv_apple_cc_single_mod+:} false; then :
7268   $as_echo_n "(cached) " >&6
7269 else
7270   lt_cv_apple_cc_single_mod=no
7271       if test -z "${LT_MULTI_MODULE}"; then
7272         # By default we will add the -single_module flag. You can override
7273         # by either setting the environment variable LT_MULTI_MODULE
7274         # non-empty at configure time, or by adding -multi_module to the
7275         # link flags.
7276         rm -rf libconftest.dylib*
7277         echo "int foo(void){return 1;}" > conftest.c
7278         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7279 -dynamiclib -Wl,-single_module conftest.c" >&5
7280         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7281           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7282         _lt_result=$?
7283         # If there is a non-empty error log, and "single_module"
7284         # appears in it, assume the flag caused a linker warning
7285         if test -s conftest.err && $GREP single_module conftest.err; then
7286           cat conftest.err >&5
7287         # Otherwise, if the output was created with a 0 exit code from
7288         # the compiler, it worked.
7289         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7290           lt_cv_apple_cc_single_mod=yes
7291         else
7292           cat conftest.err >&5
7293         fi
7294         rm -rf libconftest.dylib*
7295         rm -f conftest.*
7296       fi
7297 fi
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7299 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7300
7301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7302 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7303 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7304   $as_echo_n "(cached) " >&6
7305 else
7306   lt_cv_ld_exported_symbols_list=no
7307       save_LDFLAGS=$LDFLAGS
7308       echo "_main" > conftest.sym
7309       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7311 /* end confdefs.h.  */
7312
7313 int
7314 main ()
7315 {
7316
7317   ;
7318   return 0;
7319 }
7320 _ACEOF
7321 if ac_fn_c_try_link "$LINENO"; then :
7322   lt_cv_ld_exported_symbols_list=yes
7323 else
7324   lt_cv_ld_exported_symbols_list=no
7325 fi
7326 rm -f core conftest.err conftest.$ac_objext \
7327     conftest$ac_exeext conftest.$ac_ext
7328         LDFLAGS="$save_LDFLAGS"
7329
7330 fi
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7332 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7333
7334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7335 $as_echo_n "checking for -force_load linker flag... " >&6; }
7336 if ${lt_cv_ld_force_load+:} false; then :
7337   $as_echo_n "(cached) " >&6
7338 else
7339   lt_cv_ld_force_load=no
7340       cat > conftest.c << _LT_EOF
7341 int forced_loaded() { return 2;}
7342 _LT_EOF
7343       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7344       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7345       echo "$AR cru libconftest.a conftest.o" >&5
7346       $AR cru libconftest.a conftest.o 2>&5
7347       echo "$RANLIB libconftest.a" >&5
7348       $RANLIB libconftest.a 2>&5
7349       cat > conftest.c << _LT_EOF
7350 int main() { return 0;}
7351 _LT_EOF
7352       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7353       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7354       _lt_result=$?
7355       if test -s conftest.err && $GREP force_load conftest.err; then
7356         cat conftest.err >&5
7357       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7358         lt_cv_ld_force_load=yes
7359       else
7360         cat conftest.err >&5
7361       fi
7362         rm -f conftest.err libconftest.a conftest conftest.c
7363         rm -rf conftest.dSYM
7364
7365 fi
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7367 $as_echo "$lt_cv_ld_force_load" >&6; }
7368     case $host_os in
7369     rhapsody* | darwin1.[012])
7370       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7371     darwin1.*)
7372       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7373     darwin*) # darwin 5.x on
7374       # if running on 10.5 or later, the deployment target defaults
7375       # to the OS version, if on x86, and 10.4, the deployment
7376       # target defaults to 10.4. Don't you love it?
7377       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7378         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7379           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7380         10.[012]*)
7381           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7382         10.*)
7383           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7384       esac
7385     ;;
7386   esac
7387     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7388       _lt_dar_single_mod='$single_module'
7389     fi
7390     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7391       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7392     else
7393       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7394     fi
7395     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7396       _lt_dsymutil='~$DSYMUTIL $lib || :'
7397     else
7398       _lt_dsymutil=
7399     fi
7400     ;;
7401   esac
7402
7403 ac_ext=c
7404 ac_cpp='$CPP $CPPFLAGS'
7405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7409 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7410 # On Suns, sometimes $CPP names a directory.
7411 if test -n "$CPP" && test -d "$CPP"; then
7412   CPP=
7413 fi
7414 if test -z "$CPP"; then
7415   if ${ac_cv_prog_CPP+:} false; then :
7416   $as_echo_n "(cached) " >&6
7417 else
7418       # Double quotes because CPP needs to be expanded
7419     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7420     do
7421       ac_preproc_ok=false
7422 for ac_c_preproc_warn_flag in '' yes
7423 do
7424   # Use a header file that comes with gcc, so configuring glibc
7425   # with a fresh cross-compiler works.
7426   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7427   # <limits.h> exists even on freestanding compilers.
7428   # On the NeXT, cc -E runs the code through the compiler's parser,
7429   # not just through cpp. "Syntax error" is here to catch this case.
7430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7431 /* end confdefs.h.  */
7432 #ifdef __STDC__
7433 # include <limits.h>
7434 #else
7435 # include <assert.h>
7436 #endif
7437                      Syntax error
7438 _ACEOF
7439 if ac_fn_c_try_cpp "$LINENO"; then :
7440
7441 else
7442   # Broken: fails on valid input.
7443 continue
7444 fi
7445 rm -f conftest.err conftest.i conftest.$ac_ext
7446
7447   # OK, works on sane cases.  Now check whether nonexistent headers
7448   # can be detected and how.
7449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h.  */
7451 #include <ac_nonexistent.h>
7452 _ACEOF
7453 if ac_fn_c_try_cpp "$LINENO"; then :
7454   # Broken: success on invalid input.
7455 continue
7456 else
7457   # Passes both tests.
7458 ac_preproc_ok=:
7459 break
7460 fi
7461 rm -f conftest.err conftest.i conftest.$ac_ext
7462
7463 done
7464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7465 rm -f conftest.i conftest.err conftest.$ac_ext
7466 if $ac_preproc_ok; then :
7467   break
7468 fi
7469
7470     done
7471     ac_cv_prog_CPP=$CPP
7472
7473 fi
7474   CPP=$ac_cv_prog_CPP
7475 else
7476   ac_cv_prog_CPP=$CPP
7477 fi
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7479 $as_echo "$CPP" >&6; }
7480 ac_preproc_ok=false
7481 for ac_c_preproc_warn_flag in '' yes
7482 do
7483   # Use a header file that comes with gcc, so configuring glibc
7484   # with a fresh cross-compiler works.
7485   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7486   # <limits.h> exists even on freestanding compilers.
7487   # On the NeXT, cc -E runs the code through the compiler's parser,
7488   # not just through cpp. "Syntax error" is here to catch this case.
7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7490 /* end confdefs.h.  */
7491 #ifdef __STDC__
7492 # include <limits.h>
7493 #else
7494 # include <assert.h>
7495 #endif
7496                      Syntax error
7497 _ACEOF
7498 if ac_fn_c_try_cpp "$LINENO"; then :
7499
7500 else
7501   # Broken: fails on valid input.
7502 continue
7503 fi
7504 rm -f conftest.err conftest.i conftest.$ac_ext
7505
7506   # OK, works on sane cases.  Now check whether nonexistent headers
7507   # can be detected and how.
7508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7509 /* end confdefs.h.  */
7510 #include <ac_nonexistent.h>
7511 _ACEOF
7512 if ac_fn_c_try_cpp "$LINENO"; then :
7513   # Broken: success on invalid input.
7514 continue
7515 else
7516   # Passes both tests.
7517 ac_preproc_ok=:
7518 break
7519 fi
7520 rm -f conftest.err conftest.i conftest.$ac_ext
7521
7522 done
7523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7524 rm -f conftest.i conftest.err conftest.$ac_ext
7525 if $ac_preproc_ok; then :
7526
7527 else
7528   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7530 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7531 See \`config.log' for more details" "$LINENO" 5; }
7532 fi
7533
7534 ac_ext=c
7535 ac_cpp='$CPP $CPPFLAGS'
7536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7539
7540
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7542 $as_echo_n "checking for ANSI C header files... " >&6; }
7543 if ${ac_cv_header_stdc+:} false; then :
7544   $as_echo_n "(cached) " >&6
7545 else
7546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7547 /* end confdefs.h.  */
7548 #include <stdlib.h>
7549 #include <stdarg.h>
7550 #include <string.h>
7551 #include <float.h>
7552
7553 int
7554 main ()
7555 {
7556
7557   ;
7558   return 0;
7559 }
7560 _ACEOF
7561 if ac_fn_c_try_compile "$LINENO"; then :
7562   ac_cv_header_stdc=yes
7563 else
7564   ac_cv_header_stdc=no
7565 fi
7566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7567
7568 if test $ac_cv_header_stdc = yes; then
7569   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h.  */
7572 #include <string.h>
7573
7574 _ACEOF
7575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7576   $EGREP "memchr" >/dev/null 2>&1; then :
7577
7578 else
7579   ac_cv_header_stdc=no
7580 fi
7581 rm -f conftest*
7582
7583 fi
7584
7585 if test $ac_cv_header_stdc = yes; then
7586   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7588 /* end confdefs.h.  */
7589 #include <stdlib.h>
7590
7591 _ACEOF
7592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7593   $EGREP "free" >/dev/null 2>&1; then :
7594
7595 else
7596   ac_cv_header_stdc=no
7597 fi
7598 rm -f conftest*
7599
7600 fi
7601
7602 if test $ac_cv_header_stdc = yes; then
7603   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7604   if test "$cross_compiling" = yes; then :
7605   :
7606 else
7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h.  */
7609 #include <ctype.h>
7610 #include <stdlib.h>
7611 #if ((' ' & 0x0FF) == 0x020)
7612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7614 #else
7615 # define ISLOWER(c) \
7616                    (('a' <= (c) && (c) <= 'i') \
7617                      || ('j' <= (c) && (c) <= 'r') \
7618                      || ('s' <= (c) && (c) <= 'z'))
7619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7620 #endif
7621
7622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7623 int
7624 main ()
7625 {
7626   int i;
7627   for (i = 0; i < 256; i++)
7628     if (XOR (islower (i), ISLOWER (i))
7629         || toupper (i) != TOUPPER (i))
7630       return 2;
7631   return 0;
7632 }
7633 _ACEOF
7634 if ac_fn_c_try_run "$LINENO"; then :
7635
7636 else
7637   ac_cv_header_stdc=no
7638 fi
7639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7640   conftest.$ac_objext conftest.beam conftest.$ac_ext
7641 fi
7642
7643 fi
7644 fi
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7646 $as_echo "$ac_cv_header_stdc" >&6; }
7647 if test $ac_cv_header_stdc = yes; then
7648
7649 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7650
7651 fi
7652
7653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7655                   inttypes.h stdint.h unistd.h
7656 do :
7657   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7658 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7659 "
7660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7661   cat >>confdefs.h <<_ACEOF
7662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7663 _ACEOF
7664
7665 fi
7666
7667 done
7668
7669
7670 for ac_header in dlfcn.h
7671 do :
7672   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7673 "
7674 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7675   cat >>confdefs.h <<_ACEOF
7676 #define HAVE_DLFCN_H 1
7677 _ACEOF
7678
7679 fi
7680
7681 done
7682
7683
7684
7685
7686
7687 # Set options
7688 # Check whether --enable-static was given.
7689 if test "${enable_static+set}" = set; then :
7690   enableval=$enable_static; p=${PACKAGE-default}
7691     case $enableval in
7692     yes) enable_static=yes ;;
7693     no) enable_static=no ;;
7694     *)
7695      enable_static=no
7696       # Look at the argument we got.  We use all the common list separators.
7697       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7698       for pkg in $enableval; do
7699         IFS="$lt_save_ifs"
7700         if test "X$pkg" = "X$p"; then
7701           enable_static=yes
7702         fi
7703       done
7704       IFS="$lt_save_ifs"
7705       ;;
7706     esac
7707 else
7708   enable_static=no
7709 fi
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720         enable_dlopen=no
7721
7722
7723   enable_win32_dll=no
7724
7725
7726             # Check whether --enable-shared was given.
7727 if test "${enable_shared+set}" = set; then :
7728   enableval=$enable_shared; p=${PACKAGE-default}
7729     case $enableval in
7730     yes) enable_shared=yes ;;
7731     no) enable_shared=no ;;
7732     *)
7733       enable_shared=no
7734       # Look at the argument we got.  We use all the common list separators.
7735       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7736       for pkg in $enableval; do
7737         IFS="$lt_save_ifs"
7738         if test "X$pkg" = "X$p"; then
7739           enable_shared=yes
7740         fi
7741       done
7742       IFS="$lt_save_ifs"
7743       ;;
7744     esac
7745 else
7746   enable_shared=yes
7747 fi
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759 # Check whether --with-pic was given.
7760 if test "${with_pic+set}" = set; then :
7761   withval=$with_pic; lt_p=${PACKAGE-default}
7762     case $withval in
7763     yes|no) pic_mode=$withval ;;
7764     *)
7765       pic_mode=default
7766       # Look at the argument we got.  We use all the common list separators.
7767       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7768       for lt_pkg in $withval; do
7769         IFS="$lt_save_ifs"
7770         if test "X$lt_pkg" = "X$lt_p"; then
7771           pic_mode=yes
7772         fi
7773       done
7774       IFS="$lt_save_ifs"
7775       ;;
7776     esac
7777 else
7778   pic_mode=default
7779 fi
7780
7781
7782 test -z "$pic_mode" && pic_mode=default
7783
7784
7785
7786
7787
7788
7789
7790   # Check whether --enable-fast-install was given.
7791 if test "${enable_fast_install+set}" = set; then :
7792   enableval=$enable_fast_install; p=${PACKAGE-default}
7793     case $enableval in
7794     yes) enable_fast_install=yes ;;
7795     no) enable_fast_install=no ;;
7796     *)
7797       enable_fast_install=no
7798       # Look at the argument we got.  We use all the common list separators.
7799       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7800       for pkg in $enableval; do
7801         IFS="$lt_save_ifs"
7802         if test "X$pkg" = "X$p"; then
7803           enable_fast_install=yes
7804         fi
7805       done
7806       IFS="$lt_save_ifs"
7807       ;;
7808     esac
7809 else
7810   enable_fast_install=yes
7811 fi
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823 # This can be used to rebuild libtool when needed
7824 LIBTOOL_DEPS="$ltmain"
7825
7826 # Always use our own libtool.
7827 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858 test -z "$LN_S" && LN_S="ln -s"
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873 if test -n "${ZSH_VERSION+set}" ; then
7874    setopt NO_GLOB_SUBST
7875 fi
7876
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7878 $as_echo_n "checking for objdir... " >&6; }
7879 if ${lt_cv_objdir+:} false; then :
7880   $as_echo_n "(cached) " >&6
7881 else
7882   rm -f .libs 2>/dev/null
7883 mkdir .libs 2>/dev/null
7884 if test -d .libs; then
7885   lt_cv_objdir=.libs
7886 else
7887   # MS-DOS does not allow filenames that begin with a dot.
7888   lt_cv_objdir=_libs
7889 fi
7890 rmdir .libs 2>/dev/null
7891 fi
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7893 $as_echo "$lt_cv_objdir" >&6; }
7894 objdir=$lt_cv_objdir
7895
7896
7897
7898
7899
7900 cat >>confdefs.h <<_ACEOF
7901 #define LT_OBJDIR "$lt_cv_objdir/"
7902 _ACEOF
7903
7904
7905
7906
7907 case $host_os in
7908 aix3*)
7909   # AIX sometimes has problems with the GCC collect2 program.  For some
7910   # reason, if we set the COLLECT_NAMES environment variable, the problems
7911   # vanish in a puff of smoke.
7912   if test "X${COLLECT_NAMES+set}" != Xset; then
7913     COLLECT_NAMES=
7914     export COLLECT_NAMES
7915   fi
7916   ;;
7917 esac
7918
7919 # Global variables:
7920 ofile=libtool
7921 can_build_shared=yes
7922
7923 # All known linkers require a `.a' archive for static linking (except MSVC,
7924 # which needs '.lib').
7925 libext=a
7926
7927 with_gnu_ld="$lt_cv_prog_gnu_ld"
7928
7929 old_CC="$CC"
7930 old_CFLAGS="$CFLAGS"
7931
7932 # Set sane defaults for various variables
7933 test -z "$CC" && CC=cc
7934 test -z "$LTCC" && LTCC=$CC
7935 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7936 test -z "$LD" && LD=ld
7937 test -z "$ac_objext" && ac_objext=o
7938
7939 for cc_temp in $compiler""; do
7940   case $cc_temp in
7941     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7942     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7943     \-*) ;;
7944     *) break;;
7945   esac
7946 done
7947 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7948
7949
7950 # Only perform the check for file, if the check method requires it
7951 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7952 case $deplibs_check_method in
7953 file_magic*)
7954   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7955     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7956 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7957 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7958   $as_echo_n "(cached) " >&6
7959 else
7960   case $MAGIC_CMD in
7961 [\\/*] |  ?:[\\/]*)
7962   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7963   ;;
7964 *)
7965   lt_save_MAGIC_CMD="$MAGIC_CMD"
7966   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7967   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7968   for ac_dir in $ac_dummy; do
7969     IFS="$lt_save_ifs"
7970     test -z "$ac_dir" && ac_dir=.
7971     if test -f $ac_dir/${ac_tool_prefix}file; then
7972       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7973       if test -n "$file_magic_test_file"; then
7974         case $deplibs_check_method in
7975         "file_magic "*)
7976           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7977           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7978           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7979             $EGREP "$file_magic_regex" > /dev/null; then
7980             :
7981           else
7982             cat <<_LT_EOF 1>&2
7983
7984 *** Warning: the command libtool uses to detect shared libraries,
7985 *** $file_magic_cmd, produces output that libtool cannot recognize.
7986 *** The result is that libtool may fail to recognize shared libraries
7987 *** as such.  This will affect the creation of libtool libraries that
7988 *** depend on shared libraries, but programs linked with such libtool
7989 *** libraries will work regardless of this problem.  Nevertheless, you
7990 *** may want to report the problem to your system manager and/or to
7991 *** bug-libtool@gnu.org
7992
7993 _LT_EOF
7994           fi ;;
7995         esac
7996       fi
7997       break
7998     fi
7999   done
8000   IFS="$lt_save_ifs"
8001   MAGIC_CMD="$lt_save_MAGIC_CMD"
8002   ;;
8003 esac
8004 fi
8005
8006 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8007 if test -n "$MAGIC_CMD"; then
8008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8009 $as_echo "$MAGIC_CMD" >&6; }
8010 else
8011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8013 fi
8014
8015
8016
8017
8018
8019 if test -z "$lt_cv_path_MAGIC_CMD"; then
8020   if test -n "$ac_tool_prefix"; then
8021     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8022 $as_echo_n "checking for file... " >&6; }
8023 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8024   $as_echo_n "(cached) " >&6
8025 else
8026   case $MAGIC_CMD in
8027 [\\/*] |  ?:[\\/]*)
8028   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8029   ;;
8030 *)
8031   lt_save_MAGIC_CMD="$MAGIC_CMD"
8032   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8033   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8034   for ac_dir in $ac_dummy; do
8035     IFS="$lt_save_ifs"
8036     test -z "$ac_dir" && ac_dir=.
8037     if test -f $ac_dir/file; then
8038       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8039       if test -n "$file_magic_test_file"; then
8040         case $deplibs_check_method in
8041         "file_magic "*)
8042           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8043           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8044           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8045             $EGREP "$file_magic_regex" > /dev/null; then
8046             :
8047           else
8048             cat <<_LT_EOF 1>&2
8049
8050 *** Warning: the command libtool uses to detect shared libraries,
8051 *** $file_magic_cmd, produces output that libtool cannot recognize.
8052 *** The result is that libtool may fail to recognize shared libraries
8053 *** as such.  This will affect the creation of libtool libraries that
8054 *** depend on shared libraries, but programs linked with such libtool
8055 *** libraries will work regardless of this problem.  Nevertheless, you
8056 *** may want to report the problem to your system manager and/or to
8057 *** bug-libtool@gnu.org
8058
8059 _LT_EOF
8060           fi ;;
8061         esac
8062       fi
8063       break
8064     fi
8065   done
8066   IFS="$lt_save_ifs"
8067   MAGIC_CMD="$lt_save_MAGIC_CMD"
8068   ;;
8069 esac
8070 fi
8071
8072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8073 if test -n "$MAGIC_CMD"; then
8074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8075 $as_echo "$MAGIC_CMD" >&6; }
8076 else
8077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078 $as_echo "no" >&6; }
8079 fi
8080
8081
8082   else
8083     MAGIC_CMD=:
8084   fi
8085 fi
8086
8087   fi
8088   ;;
8089 esac
8090
8091 # Use C for the default configuration in the libtool script
8092
8093 lt_save_CC="$CC"
8094 ac_ext=c
8095 ac_cpp='$CPP $CPPFLAGS'
8096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8099
8100
8101 # Source file extension for C test sources.
8102 ac_ext=c
8103
8104 # Object file extension for compiled C test sources.
8105 objext=o
8106 objext=$objext
8107
8108 # Code to be used in simple compile tests
8109 lt_simple_compile_test_code="int some_variable = 0;"
8110
8111 # Code to be used in simple link tests
8112 lt_simple_link_test_code='int main(){return(0);}'
8113
8114
8115
8116
8117
8118
8119
8120 # If no C compiler was specified, use CC.
8121 LTCC=${LTCC-"$CC"}
8122
8123 # If no C compiler flags were specified, use CFLAGS.
8124 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8125
8126 # Allow CC to be a program name with arguments.
8127 compiler=$CC
8128
8129 # Save the default compiler, since it gets overwritten when the other
8130 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8131 compiler_DEFAULT=$CC
8132
8133 # save warnings/boilerplate of simple test code
8134 ac_outfile=conftest.$ac_objext
8135 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8136 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8137 _lt_compiler_boilerplate=`cat conftest.err`
8138 $RM conftest*
8139
8140 ac_outfile=conftest.$ac_objext
8141 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8142 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8143 _lt_linker_boilerplate=`cat conftest.err`
8144 $RM -r conftest*
8145
8146
8147 ## CAVEAT EMPTOR:
8148 ## There is no encapsulation within the following macros, do not change
8149 ## the running order or otherwise move them around unless you know exactly
8150 ## what you are doing...
8151 if test -n "$compiler"; then
8152
8153 lt_prog_compiler_no_builtin_flag=
8154
8155 if test "$GCC" = yes; then
8156   case $cc_basename in
8157   nvcc*)
8158     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8159   *)
8160     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8161   esac
8162
8163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8164 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8165 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8166   $as_echo_n "(cached) " >&6
8167 else
8168   lt_cv_prog_compiler_rtti_exceptions=no
8169    ac_outfile=conftest.$ac_objext
8170    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8171    lt_compiler_flag="-fno-rtti -fno-exceptions"
8172    # Insert the option either (1) after the last *FLAGS variable, or
8173    # (2) before a word containing "conftest.", or (3) at the end.
8174    # Note that $ac_compile itself does not contain backslashes and begins
8175    # with a dollar sign (not a hyphen), so the echo should work correctly.
8176    # The option is referenced via a variable to avoid confusing sed.
8177    lt_compile=`echo "$ac_compile" | $SED \
8178    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8179    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8180    -e 's:$: $lt_compiler_flag:'`
8181    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8182    (eval "$lt_compile" 2>conftest.err)
8183    ac_status=$?
8184    cat conftest.err >&5
8185    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186    if (exit $ac_status) && test -s "$ac_outfile"; then
8187      # The compiler can only warn and ignore the option if not recognized
8188      # So say no if there are warnings other than the usual output.
8189      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8190      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8191      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8192        lt_cv_prog_compiler_rtti_exceptions=yes
8193      fi
8194    fi
8195    $RM conftest*
8196
8197 fi
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8199 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8200
8201 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8202     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8203 else
8204     :
8205 fi
8206
8207 fi
8208
8209
8210
8211
8212
8213
8214   lt_prog_compiler_wl=
8215 lt_prog_compiler_pic=
8216 lt_prog_compiler_static=
8217
8218
8219   if test "$GCC" = yes; then
8220     lt_prog_compiler_wl='-Wl,'
8221     lt_prog_compiler_static='-static'
8222
8223     case $host_os in
8224       aix*)
8225       # All AIX code is PIC.
8226       if test "$host_cpu" = ia64; then
8227         # AIX 5 now supports IA64 processor
8228         lt_prog_compiler_static='-Bstatic'
8229       fi
8230       ;;
8231
8232     amigaos*)
8233       case $host_cpu in
8234       powerpc)
8235             # see comment about AmigaOS4 .so support
8236             lt_prog_compiler_pic='-fPIC'
8237         ;;
8238       m68k)
8239             # FIXME: we need at least 68020 code to build shared libraries, but
8240             # adding the `-m68020' flag to GCC prevents building anything better,
8241             # like `-m68040'.
8242             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8243         ;;
8244       esac
8245       ;;
8246
8247     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8248       # PIC is the default for these OSes.
8249       ;;
8250
8251     mingw* | cygwin* | pw32* | os2* | cegcc*)
8252       # This hack is so that the source file can tell whether it is being
8253       # built for inclusion in a dll (and should export symbols for example).
8254       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8255       # (--disable-auto-import) libraries
8256       lt_prog_compiler_pic='-DDLL_EXPORT'
8257       ;;
8258
8259     darwin* | rhapsody*)
8260       # PIC is the default on this platform
8261       # Common symbols not allowed in MH_DYLIB files
8262       lt_prog_compiler_pic='-fno-common'
8263       ;;
8264
8265     haiku*)
8266       # PIC is the default for Haiku.
8267       # The "-static" flag exists, but is broken.
8268       lt_prog_compiler_static=
8269       ;;
8270
8271     hpux*)
8272       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8273       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8274       # sets the default TLS model and affects inlining.
8275       case $host_cpu in
8276       hppa*64*)
8277         # +Z the default
8278         ;;
8279       *)
8280         lt_prog_compiler_pic='-fPIC'
8281         ;;
8282       esac
8283       ;;
8284
8285     interix[3-9]*)
8286       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8287       # Instead, we relocate shared libraries at runtime.
8288       ;;
8289
8290     msdosdjgpp*)
8291       # Just because we use GCC doesn't mean we suddenly get shared libraries
8292       # on systems that don't support them.
8293       lt_prog_compiler_can_build_shared=no
8294       enable_shared=no
8295       ;;
8296
8297     *nto* | *qnx*)
8298       # QNX uses GNU C++, but need to define -shared option too, otherwise
8299       # it will coredump.
8300       lt_prog_compiler_pic='-fPIC -shared'
8301       ;;
8302
8303     sysv4*MP*)
8304       if test -d /usr/nec; then
8305         lt_prog_compiler_pic=-Kconform_pic
8306       fi
8307       ;;
8308
8309     *)
8310       lt_prog_compiler_pic='-fPIC'
8311       ;;
8312     esac
8313
8314     case $cc_basename in
8315     nvcc*) # Cuda Compiler Driver 2.2
8316       lt_prog_compiler_wl='-Xlinker '
8317       if test -n "$lt_prog_compiler_pic"; then
8318         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8319       fi
8320       ;;
8321     esac
8322   else
8323     # PORTME Check for flag to pass linker flags through the system compiler.
8324     case $host_os in
8325     aix*)
8326       lt_prog_compiler_wl='-Wl,'
8327       if test "$host_cpu" = ia64; then
8328         # AIX 5 now supports IA64 processor
8329         lt_prog_compiler_static='-Bstatic'
8330       else
8331         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8332       fi
8333       ;;
8334
8335     mingw* | cygwin* | pw32* | os2* | cegcc*)
8336       # This hack is so that the source file can tell whether it is being
8337       # built for inclusion in a dll (and should export symbols for example).
8338       lt_prog_compiler_pic='-DDLL_EXPORT'
8339       ;;
8340
8341     hpux9* | hpux10* | hpux11*)
8342       lt_prog_compiler_wl='-Wl,'
8343       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8344       # not for PA HP-UX.
8345       case $host_cpu in
8346       hppa*64*|ia64*)
8347         # +Z the default
8348         ;;
8349       *)
8350         lt_prog_compiler_pic='+Z'
8351         ;;
8352       esac
8353       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8354       lt_prog_compiler_static='${wl}-a ${wl}archive'
8355       ;;
8356
8357     irix5* | irix6* | nonstopux*)
8358       lt_prog_compiler_wl='-Wl,'
8359       # PIC (with -KPIC) is the default.
8360       lt_prog_compiler_static='-non_shared'
8361       ;;
8362
8363     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8364       case $cc_basename in
8365       # old Intel for x86_64 which still supported -KPIC.
8366       ecc*)
8367         lt_prog_compiler_wl='-Wl,'
8368         lt_prog_compiler_pic='-KPIC'
8369         lt_prog_compiler_static='-static'
8370         ;;
8371       # icc used to be incompatible with GCC.
8372       # ICC 10 doesn't accept -KPIC any more.
8373       icc* | ifort*)
8374         lt_prog_compiler_wl='-Wl,'
8375         lt_prog_compiler_pic='-fPIC'
8376         lt_prog_compiler_static='-static'
8377         ;;
8378       # Lahey Fortran 8.1.
8379       lf95*)
8380         lt_prog_compiler_wl='-Wl,'
8381         lt_prog_compiler_pic='--shared'
8382         lt_prog_compiler_static='--static'
8383         ;;
8384       nagfor*)
8385         # NAG Fortran compiler
8386         lt_prog_compiler_wl='-Wl,-Wl,,'
8387         lt_prog_compiler_pic='-PIC'
8388         lt_prog_compiler_static='-Bstatic'
8389         ;;
8390       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8391         # Portland Group compilers (*not* the Pentium gcc compiler,
8392         # which looks to be a dead project)
8393         lt_prog_compiler_wl='-Wl,'
8394         lt_prog_compiler_pic='-fpic'
8395         lt_prog_compiler_static='-Bstatic'
8396         ;;
8397       ccc*)
8398         lt_prog_compiler_wl='-Wl,'
8399         # All Alpha code is PIC.
8400         lt_prog_compiler_static='-non_shared'
8401         ;;
8402       xl* | bgxl* | bgf* | mpixl*)
8403         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8404         lt_prog_compiler_wl='-Wl,'
8405         lt_prog_compiler_pic='-qpic'
8406         lt_prog_compiler_static='-qstaticlink'
8407         ;;
8408       *)
8409         case `$CC -V 2>&1 | sed 5q` in
8410         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8411           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8412           lt_prog_compiler_pic='-KPIC'
8413           lt_prog_compiler_static='-Bstatic'
8414           lt_prog_compiler_wl=''
8415           ;;
8416         *Sun\ F* | *Sun*Fortran*)
8417           lt_prog_compiler_pic='-KPIC'
8418           lt_prog_compiler_static='-Bstatic'
8419           lt_prog_compiler_wl='-Qoption ld '
8420           ;;
8421         *Sun\ C*)
8422           # Sun C 5.9
8423           lt_prog_compiler_pic='-KPIC'
8424           lt_prog_compiler_static='-Bstatic'
8425           lt_prog_compiler_wl='-Wl,'
8426           ;;
8427         *Intel*\ [CF]*Compiler*)
8428           lt_prog_compiler_wl='-Wl,'
8429           lt_prog_compiler_pic='-fPIC'
8430           lt_prog_compiler_static='-static'
8431           ;;
8432         *Portland\ Group*)
8433           lt_prog_compiler_wl='-Wl,'
8434           lt_prog_compiler_pic='-fpic'
8435           lt_prog_compiler_static='-Bstatic'
8436           ;;
8437         esac
8438         ;;
8439       esac
8440       ;;
8441
8442     newsos6)
8443       lt_prog_compiler_pic='-KPIC'
8444       lt_prog_compiler_static='-Bstatic'
8445       ;;
8446
8447     *nto* | *qnx*)
8448       # QNX uses GNU C++, but need to define -shared option too, otherwise
8449       # it will coredump.
8450       lt_prog_compiler_pic='-fPIC -shared'
8451       ;;
8452
8453     osf3* | osf4* | osf5*)
8454       lt_prog_compiler_wl='-Wl,'
8455       # All OSF/1 code is PIC.
8456       lt_prog_compiler_static='-non_shared'
8457       ;;
8458
8459     rdos*)
8460       lt_prog_compiler_static='-non_shared'
8461       ;;
8462
8463     solaris*)
8464       lt_prog_compiler_pic='-KPIC'
8465       lt_prog_compiler_static='-Bstatic'
8466       case $cc_basename in
8467       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8468         lt_prog_compiler_wl='-Qoption ld ';;
8469       *)
8470         lt_prog_compiler_wl='-Wl,';;
8471       esac
8472       ;;
8473
8474     sunos4*)
8475       lt_prog_compiler_wl='-Qoption ld '
8476       lt_prog_compiler_pic='-PIC'
8477       lt_prog_compiler_static='-Bstatic'
8478       ;;
8479
8480     sysv4 | sysv4.2uw2* | sysv4.3*)
8481       lt_prog_compiler_wl='-Wl,'
8482       lt_prog_compiler_pic='-KPIC'
8483       lt_prog_compiler_static='-Bstatic'
8484       ;;
8485
8486     sysv4*MP*)
8487       if test -d /usr/nec ;then
8488         lt_prog_compiler_pic='-Kconform_pic'
8489         lt_prog_compiler_static='-Bstatic'
8490       fi
8491       ;;
8492
8493     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8494       lt_prog_compiler_wl='-Wl,'
8495       lt_prog_compiler_pic='-KPIC'
8496       lt_prog_compiler_static='-Bstatic'
8497       ;;
8498
8499     unicos*)
8500       lt_prog_compiler_wl='-Wl,'
8501       lt_prog_compiler_can_build_shared=no
8502       ;;
8503
8504     uts4*)
8505       lt_prog_compiler_pic='-pic'
8506       lt_prog_compiler_static='-Bstatic'
8507       ;;
8508
8509     *)
8510       lt_prog_compiler_can_build_shared=no
8511       ;;
8512     esac
8513   fi
8514
8515 case $host_os in
8516   # For platforms which do not support PIC, -DPIC is meaningless:
8517   *djgpp*)
8518     lt_prog_compiler_pic=
8519     ;;
8520   *)
8521     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8522     ;;
8523 esac
8524
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8526 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8527 if ${lt_cv_prog_compiler_pic+:} false; then :
8528   $as_echo_n "(cached) " >&6
8529 else
8530   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8531 fi
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8533 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8534 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8535
8536 #
8537 # Check to make sure the PIC flag actually works.
8538 #
8539 if test -n "$lt_prog_compiler_pic"; then
8540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8541 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8542 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8543   $as_echo_n "(cached) " >&6
8544 else
8545   lt_cv_prog_compiler_pic_works=no
8546    ac_outfile=conftest.$ac_objext
8547    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8548    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8549    # Insert the option either (1) after the last *FLAGS variable, or
8550    # (2) before a word containing "conftest.", or (3) at the end.
8551    # Note that $ac_compile itself does not contain backslashes and begins
8552    # with a dollar sign (not a hyphen), so the echo should work correctly.
8553    # The option is referenced via a variable to avoid confusing sed.
8554    lt_compile=`echo "$ac_compile" | $SED \
8555    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8556    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8557    -e 's:$: $lt_compiler_flag:'`
8558    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8559    (eval "$lt_compile" 2>conftest.err)
8560    ac_status=$?
8561    cat conftest.err >&5
8562    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563    if (exit $ac_status) && test -s "$ac_outfile"; then
8564      # The compiler can only warn and ignore the option if not recognized
8565      # So say no if there are warnings other than the usual output.
8566      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8567      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8568      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8569        lt_cv_prog_compiler_pic_works=yes
8570      fi
8571    fi
8572    $RM conftest*
8573
8574 fi
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8576 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8577
8578 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8579     case $lt_prog_compiler_pic in
8580      "" | " "*) ;;
8581      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8582      esac
8583 else
8584     lt_prog_compiler_pic=
8585      lt_prog_compiler_can_build_shared=no
8586 fi
8587
8588 fi
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600 #
8601 # Check to make sure the static flag actually works.
8602 #
8603 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8605 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8606 if ${lt_cv_prog_compiler_static_works+:} false; then :
8607   $as_echo_n "(cached) " >&6
8608 else
8609   lt_cv_prog_compiler_static_works=no
8610    save_LDFLAGS="$LDFLAGS"
8611    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8612    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8613    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8614      # The linker can only warn and ignore the option if not recognized
8615      # So say no if there are warnings
8616      if test -s conftest.err; then
8617        # Append any errors to the config.log.
8618        cat conftest.err 1>&5
8619        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8620        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8621        if diff conftest.exp conftest.er2 >/dev/null; then
8622          lt_cv_prog_compiler_static_works=yes
8623        fi
8624      else
8625        lt_cv_prog_compiler_static_works=yes
8626      fi
8627    fi
8628    $RM -r conftest*
8629    LDFLAGS="$save_LDFLAGS"
8630
8631 fi
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8633 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8634
8635 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8636     :
8637 else
8638     lt_prog_compiler_static=
8639 fi
8640
8641
8642
8643
8644
8645
8646
8647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8648 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8649 if ${lt_cv_prog_compiler_c_o+:} false; then :
8650   $as_echo_n "(cached) " >&6
8651 else
8652   lt_cv_prog_compiler_c_o=no
8653    $RM -r conftest 2>/dev/null
8654    mkdir conftest
8655    cd conftest
8656    mkdir out
8657    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8658
8659    lt_compiler_flag="-o out/conftest2.$ac_objext"
8660    # Insert the option either (1) after the last *FLAGS variable, or
8661    # (2) before a word containing "conftest.", or (3) at the end.
8662    # Note that $ac_compile itself does not contain backslashes and begins
8663    # with a dollar sign (not a hyphen), so the echo should work correctly.
8664    lt_compile=`echo "$ac_compile" | $SED \
8665    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8666    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8667    -e 's:$: $lt_compiler_flag:'`
8668    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8669    (eval "$lt_compile" 2>out/conftest.err)
8670    ac_status=$?
8671    cat out/conftest.err >&5
8672    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8674    then
8675      # The compiler can only warn and ignore the option if not recognized
8676      # So say no if there are warnings
8677      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8678      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8679      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8680        lt_cv_prog_compiler_c_o=yes
8681      fi
8682    fi
8683    chmod u+w . 2>&5
8684    $RM conftest*
8685    # SGI C++ compiler will create directory out/ii_files/ for
8686    # template instantiation
8687    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8688    $RM out/* && rmdir out
8689    cd ..
8690    $RM -r conftest
8691    $RM conftest*
8692
8693 fi
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8695 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8696
8697
8698
8699
8700
8701
8702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8703 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8704 if ${lt_cv_prog_compiler_c_o+:} false; then :
8705   $as_echo_n "(cached) " >&6
8706 else
8707   lt_cv_prog_compiler_c_o=no
8708    $RM -r conftest 2>/dev/null
8709    mkdir conftest
8710    cd conftest
8711    mkdir out
8712    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8713
8714    lt_compiler_flag="-o out/conftest2.$ac_objext"
8715    # Insert the option either (1) after the last *FLAGS variable, or
8716    # (2) before a word containing "conftest.", or (3) at the end.
8717    # Note that $ac_compile itself does not contain backslashes and begins
8718    # with a dollar sign (not a hyphen), so the echo should work correctly.
8719    lt_compile=`echo "$ac_compile" | $SED \
8720    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8721    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8722    -e 's:$: $lt_compiler_flag:'`
8723    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8724    (eval "$lt_compile" 2>out/conftest.err)
8725    ac_status=$?
8726    cat out/conftest.err >&5
8727    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8729    then
8730      # The compiler can only warn and ignore the option if not recognized
8731      # So say no if there are warnings
8732      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8733      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8734      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8735        lt_cv_prog_compiler_c_o=yes
8736      fi
8737    fi
8738    chmod u+w . 2>&5
8739    $RM conftest*
8740    # SGI C++ compiler will create directory out/ii_files/ for
8741    # template instantiation
8742    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8743    $RM out/* && rmdir out
8744    cd ..
8745    $RM -r conftest
8746    $RM conftest*
8747
8748 fi
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8750 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8751
8752
8753
8754
8755 hard_links="nottested"
8756 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8757   # do not overwrite the value of need_locks provided by the user
8758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8759 $as_echo_n "checking if we can lock with hard links... " >&6; }
8760   hard_links=yes
8761   $RM conftest*
8762   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8763   touch conftest.a
8764   ln conftest.a conftest.b 2>&5 || hard_links=no
8765   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8767 $as_echo "$hard_links" >&6; }
8768   if test "$hard_links" = no; then
8769     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8770 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8771     need_locks=warn
8772   fi
8773 else
8774   need_locks=no
8775 fi
8776
8777
8778
8779
8780
8781
8782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8783 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8784
8785   runpath_var=
8786   allow_undefined_flag=
8787   always_export_symbols=no
8788   archive_cmds=
8789   archive_expsym_cmds=
8790   compiler_needs_object=no
8791   enable_shared_with_static_runtimes=no
8792   export_dynamic_flag_spec=
8793   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8794   hardcode_automatic=no
8795   hardcode_direct=no
8796   hardcode_direct_absolute=no
8797   hardcode_libdir_flag_spec=
8798   hardcode_libdir_separator=
8799   hardcode_minus_L=no
8800   hardcode_shlibpath_var=unsupported
8801   inherit_rpath=no
8802   link_all_deplibs=unknown
8803   module_cmds=
8804   module_expsym_cmds=
8805   old_archive_from_new_cmds=
8806   old_archive_from_expsyms_cmds=
8807   thread_safe_flag_spec=
8808   whole_archive_flag_spec=
8809   # include_expsyms should be a list of space-separated symbols to be *always*
8810   # included in the symbol list
8811   include_expsyms=
8812   # exclude_expsyms can be an extended regexp of symbols to exclude
8813   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8814   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8815   # as well as any symbol that contains `d'.
8816   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8817   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8818   # platforms (ab)use it in PIC code, but their linkers get confused if
8819   # the symbol is explicitly referenced.  Since portable code cannot
8820   # rely on this symbol name, it's probably fine to never include it in
8821   # preloaded symbol tables.
8822   # Exclude shared library initialization/finalization symbols.
8823   extract_expsyms_cmds=
8824
8825   case $host_os in
8826   cygwin* | mingw* | pw32* | cegcc*)
8827     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8828     # When not using gcc, we currently assume that we are using
8829     # Microsoft Visual C++.
8830     if test "$GCC" != yes; then
8831       with_gnu_ld=no
8832     fi
8833     ;;
8834   interix*)
8835     # we just hope/assume this is gcc and not c89 (= MSVC++)
8836     with_gnu_ld=yes
8837     ;;
8838   openbsd*)
8839     with_gnu_ld=no
8840     ;;
8841   linux* | k*bsd*-gnu | gnu*)
8842     link_all_deplibs=no
8843     ;;
8844   esac
8845
8846   ld_shlibs=yes
8847
8848   # On some targets, GNU ld is compatible enough with the native linker
8849   # that we're better off using the native interface for both.
8850   lt_use_gnu_ld_interface=no
8851   if test "$with_gnu_ld" = yes; then
8852     case $host_os in
8853       aix*)
8854         # The AIX port of GNU ld has always aspired to compatibility
8855         # with the native linker.  However, as the warning in the GNU ld
8856         # block says, versions before 2.19.5* couldn't really create working
8857         # shared libraries, regardless of the interface used.
8858         case `$LD -v 2>&1` in
8859           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8860           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8861           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8862           *)
8863             lt_use_gnu_ld_interface=yes
8864             ;;
8865         esac
8866         ;;
8867       *)
8868         lt_use_gnu_ld_interface=yes
8869         ;;
8870     esac
8871   fi
8872
8873   if test "$lt_use_gnu_ld_interface" = yes; then
8874     # If archive_cmds runs LD, not CC, wlarc should be empty
8875     wlarc='${wl}'
8876
8877     # Set some defaults for GNU ld with shared library support. These
8878     # are reset later if shared libraries are not supported. Putting them
8879     # here allows them to be overridden if necessary.
8880     runpath_var=LD_RUN_PATH
8881     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8882     export_dynamic_flag_spec='${wl}--export-dynamic'
8883     # ancient GNU ld didn't support --whole-archive et. al.
8884     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8885       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8886     else
8887       whole_archive_flag_spec=
8888     fi
8889     supports_anon_versioning=no
8890     case `$LD -v 2>&1` in
8891       *GNU\ gold*) supports_anon_versioning=yes ;;
8892       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8893       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8894       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8895       *\ 2.11.*) ;; # other 2.11 versions
8896       *) supports_anon_versioning=yes ;;
8897     esac
8898
8899     # See if GNU ld supports shared libraries.
8900     case $host_os in
8901     aix[3-9]*)
8902       # On AIX/PPC, the GNU linker is very broken
8903       if test "$host_cpu" != ia64; then
8904         ld_shlibs=no
8905         cat <<_LT_EOF 1>&2
8906
8907 *** Warning: the GNU linker, at least up to release 2.19, is reported
8908 *** to be unable to reliably create shared libraries on AIX.
8909 *** Therefore, libtool is disabling shared libraries support.  If you
8910 *** really care for shared libraries, you may want to install binutils
8911 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8912 *** You will then need to restart the configuration process.
8913
8914 _LT_EOF
8915       fi
8916       ;;
8917
8918     amigaos*)
8919       case $host_cpu in
8920       powerpc)
8921             # see comment about AmigaOS4 .so support
8922             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8923             archive_expsym_cmds=''
8924         ;;
8925       m68k)
8926             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)'
8927             hardcode_libdir_flag_spec='-L$libdir'
8928             hardcode_minus_L=yes
8929         ;;
8930       esac
8931       ;;
8932
8933     beos*)
8934       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8935         allow_undefined_flag=unsupported
8936         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8937         # support --undefined.  This deserves some investigation.  FIXME
8938         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8939       else
8940         ld_shlibs=no
8941       fi
8942       ;;
8943
8944     cygwin* | mingw* | pw32* | cegcc*)
8945       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8946       # as there is no search path for DLLs.
8947       hardcode_libdir_flag_spec='-L$libdir'
8948       export_dynamic_flag_spec='${wl}--export-all-symbols'
8949       allow_undefined_flag=unsupported
8950       always_export_symbols=no
8951       enable_shared_with_static_runtimes=yes
8952       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'
8953       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8954
8955       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8956         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8957         # If the export-symbols file already is a .def file (1st line
8958         # is EXPORTS), use it as is; otherwise, prepend...
8959         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8960           cp $export_symbols $output_objdir/$soname.def;
8961         else
8962           echo EXPORTS > $output_objdir/$soname.def;
8963           cat $export_symbols >> $output_objdir/$soname.def;
8964         fi~
8965         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8966       else
8967         ld_shlibs=no
8968       fi
8969       ;;
8970
8971     haiku*)
8972       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8973       link_all_deplibs=yes
8974       ;;
8975
8976     interix[3-9]*)
8977       hardcode_direct=no
8978       hardcode_shlibpath_var=no
8979       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8980       export_dynamic_flag_spec='${wl}-E'
8981       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8982       # Instead, shared libraries are loaded at an image base (0x10000000 by
8983       # default) and relocated if they conflict, which is a slow very memory
8984       # consuming and fragmenting process.  To avoid this, we pick a random,
8985       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8986       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8987       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8988       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'
8989       ;;
8990
8991     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8992       tmp_diet=no
8993       if test "$host_os" = linux-dietlibc; then
8994         case $cc_basename in
8995           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8996         esac
8997       fi
8998       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8999          && test "$tmp_diet" = no
9000       then
9001         tmp_addflag=' $pic_flag'
9002         tmp_sharedflag='-shared'
9003         case $cc_basename,$host_cpu in
9004         pgcc*)                          # Portland Group C compiler
9005           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'
9006           tmp_addflag=' $pic_flag'
9007           ;;
9008         pgf77* | pgf90* | pgf95* | pgfortran*)
9009                                         # Portland Group f77 and f90 compilers
9010           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'
9011           tmp_addflag=' $pic_flag -Mnomain' ;;
9012         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9013           tmp_addflag=' -i_dynamic' ;;
9014         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9015           tmp_addflag=' -i_dynamic -nofor_main' ;;
9016         ifc* | ifort*)                  # Intel Fortran compiler
9017           tmp_addflag=' -nofor_main' ;;
9018         lf95*)                          # Lahey Fortran 8.1
9019           whole_archive_flag_spec=
9020           tmp_sharedflag='--shared' ;;
9021         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9022           tmp_sharedflag='-qmkshrobj'
9023           tmp_addflag= ;;
9024         nvcc*)  # Cuda Compiler Driver 2.2
9025           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'
9026           compiler_needs_object=yes
9027           ;;
9028         esac
9029         case `$CC -V 2>&1 | sed 5q` in
9030         *Sun\ C*)                       # Sun C 5.9
9031           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'
9032           compiler_needs_object=yes
9033           tmp_sharedflag='-G' ;;
9034         *Sun\ F*)                       # Sun Fortran 8.3
9035           tmp_sharedflag='-G' ;;
9036         esac
9037         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9038
9039         if test "x$supports_anon_versioning" = xyes; then
9040           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9041             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9042             echo "local: *; };" >> $output_objdir/$libname.ver~
9043             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9044         fi
9045
9046         case $cc_basename in
9047         xlf* | bgf* | bgxlf* | mpixlf*)
9048           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9049           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9050           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9051           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9052           if test "x$supports_anon_versioning" = xyes; then
9053             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9054               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9055               echo "local: *; };" >> $output_objdir/$libname.ver~
9056               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9057           fi
9058           ;;
9059         esac
9060       else
9061         ld_shlibs=no
9062       fi
9063       ;;
9064
9065     netbsd* | netbsdelf*-gnu)
9066       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9067         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9068         wlarc=
9069       else
9070         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9071         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9072       fi
9073       ;;
9074
9075     solaris*)
9076       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9077         ld_shlibs=no
9078         cat <<_LT_EOF 1>&2
9079
9080 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9081 *** create shared libraries on Solaris systems.  Therefore, libtool
9082 *** is disabling shared libraries support.  We urge you to upgrade GNU
9083 *** binutils to release 2.9.1 or newer.  Another option is to modify
9084 *** your PATH or compiler configuration so that the native linker is
9085 *** used, and then restart.
9086
9087 _LT_EOF
9088       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9089         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9090         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9091       else
9092         ld_shlibs=no
9093       fi
9094       ;;
9095
9096     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9097       case `$LD -v 2>&1` in
9098         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9099         ld_shlibs=no
9100         cat <<_LT_EOF 1>&2
9101
9102 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9103 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9104 *** is disabling shared libraries support.  We urge you to upgrade GNU
9105 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9106 *** your PATH or compiler configuration so that the native linker is
9107 *** used, and then restart.
9108
9109 _LT_EOF
9110         ;;
9111         *)
9112           # For security reasons, it is highly recommended that you always
9113           # use absolute paths for naming shared libraries, and exclude the
9114           # DT_RUNPATH tag from executables and libraries.  But doing so
9115           # requires that you compile everything twice, which is a pain.
9116           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9117             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9118             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9119             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9120           else
9121             ld_shlibs=no
9122           fi
9123         ;;
9124       esac
9125       ;;
9126
9127     sunos4*)
9128       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9129       wlarc=
9130       hardcode_direct=yes
9131       hardcode_shlibpath_var=no
9132       ;;
9133
9134     *)
9135       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9136         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9138       else
9139         ld_shlibs=no
9140       fi
9141       ;;
9142     esac
9143
9144     if test "$ld_shlibs" = no; then
9145       runpath_var=
9146       hardcode_libdir_flag_spec=
9147       export_dynamic_flag_spec=
9148       whole_archive_flag_spec=
9149     fi
9150   else
9151     # PORTME fill in a description of your system's linker (not GNU ld)
9152     case $host_os in
9153     aix3*)
9154       allow_undefined_flag=unsupported
9155       always_export_symbols=yes
9156       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'
9157       # Note: this linker hardcodes the directories in LIBPATH if there
9158       # are no directories specified by -L.
9159       hardcode_minus_L=yes
9160       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9161         # Neither direct hardcoding nor static linking is supported with a
9162         # broken collect2.
9163         hardcode_direct=unsupported
9164       fi
9165       ;;
9166
9167     aix[4-9]*)
9168       if test "$host_cpu" = ia64; then
9169         # On IA64, the linker does run time linking by default, so we don't
9170         # have to do anything special.
9171         aix_use_runtimelinking=no
9172         exp_sym_flag='-Bexport'
9173         no_entry_flag=""
9174       else
9175         # If we're using GNU nm, then we don't want the "-C" option.
9176         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9177         # Also, AIX nm treats weak defined symbols like other global
9178         # defined symbols, whereas GNU nm marks them as "W".
9179         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9180           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'
9181         else
9182           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'
9183         fi
9184         aix_use_runtimelinking=no
9185
9186         # Test if we are trying to use run time linking or normal
9187         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9188         # need to do runtime linking.
9189         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9190           for ld_flag in $LDFLAGS; do
9191           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9192             aix_use_runtimelinking=yes
9193             break
9194           fi
9195           done
9196           ;;
9197         esac
9198
9199         exp_sym_flag='-bexport'
9200         no_entry_flag='-bnoentry'
9201       fi
9202
9203       # When large executables or shared objects are built, AIX ld can
9204       # have problems creating the table of contents.  If linking a library
9205       # or program results in "error TOC overflow" add -mminimal-toc to
9206       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9207       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9208
9209       archive_cmds=''
9210       hardcode_direct=yes
9211       hardcode_direct_absolute=yes
9212       hardcode_libdir_separator=':'
9213       link_all_deplibs=yes
9214       file_list_spec='${wl}-f,'
9215
9216       if test "$GCC" = yes; then
9217         case $host_os in aix4.[012]|aix4.[012].*)
9218         # We only want to do this on AIX 4.2 and lower, the check
9219         # below for broken collect2 doesn't work under 4.3+
9220           collect2name=`${CC} -print-prog-name=collect2`
9221           if test -f "$collect2name" &&
9222            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9223           then
9224           # We have reworked collect2
9225           :
9226           else
9227           # We have old collect2
9228           hardcode_direct=unsupported
9229           # It fails to find uninstalled libraries when the uninstalled
9230           # path is not listed in the libpath.  Setting hardcode_minus_L
9231           # to unsupported forces relinking
9232           hardcode_minus_L=yes
9233           hardcode_libdir_flag_spec='-L$libdir'
9234           hardcode_libdir_separator=
9235           fi
9236           ;;
9237         esac
9238         shared_flag='-shared'
9239         if test "$aix_use_runtimelinking" = yes; then
9240           shared_flag="$shared_flag "'${wl}-G'
9241         fi
9242         link_all_deplibs=no
9243       else
9244         # not using gcc
9245         if test "$host_cpu" = ia64; then
9246         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9247         # chokes on -Wl,-G. The following line is correct:
9248           shared_flag='-G'
9249         else
9250           if test "$aix_use_runtimelinking" = yes; then
9251             shared_flag='${wl}-G'
9252           else
9253             shared_flag='${wl}-bM:SRE'
9254           fi
9255         fi
9256       fi
9257
9258       export_dynamic_flag_spec='${wl}-bexpall'
9259       # It seems that -bexpall does not export symbols beginning with
9260       # underscore (_), so it is better to generate a list of symbols to export.
9261       always_export_symbols=yes
9262       if test "$aix_use_runtimelinking" = yes; then
9263         # Warning - without using the other runtime loading flags (-brtl),
9264         # -berok will link without error, but may produce a broken library.
9265         allow_undefined_flag='-berok'
9266         # Determine the default libpath from the value encoded in an
9267         # empty executable.
9268         if test "${lt_cv_aix_libpath+set}" = set; then
9269   aix_libpath=$lt_cv_aix_libpath
9270 else
9271   if ${lt_cv_aix_libpath_+:} false; then :
9272   $as_echo_n "(cached) " >&6
9273 else
9274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h.  */
9276
9277 int
9278 main ()
9279 {
9280
9281   ;
9282   return 0;
9283 }
9284 _ACEOF
9285 if ac_fn_c_try_link "$LINENO"; then :
9286
9287   lt_aix_libpath_sed='
9288       /Import File Strings/,/^$/ {
9289           /^0/ {
9290               s/^0  *\([^ ]*\) *$/\1/
9291               p
9292           }
9293       }'
9294   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9295   # Check for a 64-bit object if we didn't find anything.
9296   if test -z "$lt_cv_aix_libpath_"; then
9297     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9298   fi
9299 fi
9300 rm -f core conftest.err conftest.$ac_objext \
9301     conftest$ac_exeext conftest.$ac_ext
9302   if test -z "$lt_cv_aix_libpath_"; then
9303     lt_cv_aix_libpath_="/usr/lib:/lib"
9304   fi
9305
9306 fi
9307
9308   aix_libpath=$lt_cv_aix_libpath_
9309 fi
9310
9311         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9312         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"
9313       else
9314         if test "$host_cpu" = ia64; then
9315           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9316           allow_undefined_flag="-z nodefs"
9317           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"
9318         else
9319          # Determine the default libpath from the value encoded in an
9320          # empty executable.
9321          if test "${lt_cv_aix_libpath+set}" = set; then
9322   aix_libpath=$lt_cv_aix_libpath
9323 else
9324   if ${lt_cv_aix_libpath_+:} false; then :
9325   $as_echo_n "(cached) " >&6
9326 else
9327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h.  */
9329
9330 int
9331 main ()
9332 {
9333
9334   ;
9335   return 0;
9336 }
9337 _ACEOF
9338 if ac_fn_c_try_link "$LINENO"; then :
9339
9340   lt_aix_libpath_sed='
9341       /Import File Strings/,/^$/ {
9342           /^0/ {
9343               s/^0  *\([^ ]*\) *$/\1/
9344               p
9345           }
9346       }'
9347   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9348   # Check for a 64-bit object if we didn't find anything.
9349   if test -z "$lt_cv_aix_libpath_"; then
9350     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9351   fi
9352 fi
9353 rm -f core conftest.err conftest.$ac_objext \
9354     conftest$ac_exeext conftest.$ac_ext
9355   if test -z "$lt_cv_aix_libpath_"; then
9356     lt_cv_aix_libpath_="/usr/lib:/lib"
9357   fi
9358
9359 fi
9360
9361   aix_libpath=$lt_cv_aix_libpath_
9362 fi
9363
9364          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9365           # Warning - without using the other run time loading flags,
9366           # -berok will link without error, but may produce a broken library.
9367           no_undefined_flag=' ${wl}-bernotok'
9368           allow_undefined_flag=' ${wl}-berok'
9369           if test "$with_gnu_ld" = yes; then
9370             # We only use this code for GNU lds that support --whole-archive.
9371             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9372           else
9373             # Exported symbols can be pulled into shared objects from archives
9374             whole_archive_flag_spec='$convenience'
9375           fi
9376           archive_cmds_need_lc=yes
9377           # This is similar to how AIX traditionally builds its shared libraries.
9378           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'
9379         fi
9380       fi
9381       ;;
9382
9383     amigaos*)
9384       case $host_cpu in
9385       powerpc)
9386             # see comment about AmigaOS4 .so support
9387             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388             archive_expsym_cmds=''
9389         ;;
9390       m68k)
9391             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)'
9392             hardcode_libdir_flag_spec='-L$libdir'
9393             hardcode_minus_L=yes
9394         ;;
9395       esac
9396       ;;
9397
9398     bsdi[45]*)
9399       export_dynamic_flag_spec=-rdynamic
9400       ;;
9401
9402     cygwin* | mingw* | pw32* | cegcc*)
9403       # When not using gcc, we currently assume that we are using
9404       # Microsoft Visual C++.
9405       # hardcode_libdir_flag_spec is actually meaningless, as there is
9406       # no search path for DLLs.
9407       case $cc_basename in
9408       cl*)
9409         # Native MSVC
9410         hardcode_libdir_flag_spec=' '
9411         allow_undefined_flag=unsupported
9412         always_export_symbols=yes
9413         file_list_spec='@'
9414         # Tell ltmain to make .lib files, not .a files.
9415         libext=lib
9416         # Tell ltmain to make .dll files, not .so files.
9417         shrext_cmds=".dll"
9418         # FIXME: Setting linknames here is a bad hack.
9419         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9420         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9421             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9422           else
9423             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9424           fi~
9425           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9426           linknames='
9427         # The linker will not automatically build a static lib if we build a DLL.
9428         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9429         enable_shared_with_static_runtimes=yes
9430         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9431         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9432         # Don't use ranlib
9433         old_postinstall_cmds='chmod 644 $oldlib'
9434         postlink_cmds='lt_outputfile="@OUTPUT@"~
9435           lt_tool_outputfile="@TOOL_OUTPUT@"~
9436           case $lt_outputfile in
9437             *.exe|*.EXE) ;;
9438             *)
9439               lt_outputfile="$lt_outputfile.exe"
9440               lt_tool_outputfile="$lt_tool_outputfile.exe"
9441               ;;
9442           esac~
9443           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9444             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9445             $RM "$lt_outputfile.manifest";
9446           fi'
9447         ;;
9448       *)
9449         # Assume MSVC wrapper
9450         hardcode_libdir_flag_spec=' '
9451         allow_undefined_flag=unsupported
9452         # Tell ltmain to make .lib files, not .a files.
9453         libext=lib
9454         # Tell ltmain to make .dll files, not .so files.
9455         shrext_cmds=".dll"
9456         # FIXME: Setting linknames here is a bad hack.
9457         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9458         # The linker will automatically build a .lib file if we build a DLL.
9459         old_archive_from_new_cmds='true'
9460         # FIXME: Should let the user specify the lib program.
9461         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9462         enable_shared_with_static_runtimes=yes
9463         ;;
9464       esac
9465       ;;
9466
9467     darwin* | rhapsody*)
9468
9469
9470   archive_cmds_need_lc=no
9471   hardcode_direct=no
9472   hardcode_automatic=yes
9473   hardcode_shlibpath_var=unsupported
9474   if test "$lt_cv_ld_force_load" = "yes"; then
9475     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\"`'
9476
9477   else
9478     whole_archive_flag_spec=''
9479   fi
9480   link_all_deplibs=yes
9481   allow_undefined_flag="$_lt_dar_allow_undefined"
9482   case $cc_basename in
9483      ifort*) _lt_dar_can_shared=yes ;;
9484      *) _lt_dar_can_shared=$GCC ;;
9485   esac
9486   if test "$_lt_dar_can_shared" = "yes"; then
9487     output_verbose_link_cmd=func_echo_all
9488     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9489     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9490     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}"
9491     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}"
9492
9493   else
9494   ld_shlibs=no
9495   fi
9496
9497       ;;
9498
9499     dgux*)
9500       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9501       hardcode_libdir_flag_spec='-L$libdir'
9502       hardcode_shlibpath_var=no
9503       ;;
9504
9505     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9506     # support.  Future versions do this automatically, but an explicit c++rt0.o
9507     # does not break anything, and helps significantly (at the cost of a little
9508     # extra space).
9509     freebsd2.2*)
9510       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9511       hardcode_libdir_flag_spec='-R$libdir'
9512       hardcode_direct=yes
9513       hardcode_shlibpath_var=no
9514       ;;
9515
9516     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9517     freebsd2.*)
9518       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9519       hardcode_direct=yes
9520       hardcode_minus_L=yes
9521       hardcode_shlibpath_var=no
9522       ;;
9523
9524     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9525     freebsd* | dragonfly*)
9526       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9527       hardcode_libdir_flag_spec='-R$libdir'
9528       hardcode_direct=yes
9529       hardcode_shlibpath_var=no
9530       ;;
9531
9532     hpux9*)
9533       if test "$GCC" = yes; then
9534         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'
9535       else
9536         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'
9537       fi
9538       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9539       hardcode_libdir_separator=:
9540       hardcode_direct=yes
9541
9542       # hardcode_minus_L: Not really in the search PATH,
9543       # but as the default location of the library.
9544       hardcode_minus_L=yes
9545       export_dynamic_flag_spec='${wl}-E'
9546       ;;
9547
9548     hpux10*)
9549       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9550         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9551       else
9552         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9553       fi
9554       if test "$with_gnu_ld" = no; then
9555         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9556         hardcode_libdir_separator=:
9557         hardcode_direct=yes
9558         hardcode_direct_absolute=yes
9559         export_dynamic_flag_spec='${wl}-E'
9560         # hardcode_minus_L: Not really in the search PATH,
9561         # but as the default location of the library.
9562         hardcode_minus_L=yes
9563       fi
9564       ;;
9565
9566     hpux11*)
9567       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9568         case $host_cpu in
9569         hppa*64*)
9570           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9571           ;;
9572         ia64*)
9573           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9574           ;;
9575         *)
9576           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9577           ;;
9578         esac
9579       else
9580         case $host_cpu in
9581         hppa*64*)
9582           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9583           ;;
9584         ia64*)
9585           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9586           ;;
9587         *)
9588
9589           # Older versions of the 11.00 compiler do not understand -b yet
9590           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9591           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9592 $as_echo_n "checking if $CC understands -b... " >&6; }
9593 if ${lt_cv_prog_compiler__b+:} false; then :
9594   $as_echo_n "(cached) " >&6
9595 else
9596   lt_cv_prog_compiler__b=no
9597    save_LDFLAGS="$LDFLAGS"
9598    LDFLAGS="$LDFLAGS -b"
9599    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9600    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9601      # The linker can only warn and ignore the option if not recognized
9602      # So say no if there are warnings
9603      if test -s conftest.err; then
9604        # Append any errors to the config.log.
9605        cat conftest.err 1>&5
9606        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9607        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9608        if diff conftest.exp conftest.er2 >/dev/null; then
9609          lt_cv_prog_compiler__b=yes
9610        fi
9611      else
9612        lt_cv_prog_compiler__b=yes
9613      fi
9614    fi
9615    $RM -r conftest*
9616    LDFLAGS="$save_LDFLAGS"
9617
9618 fi
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9620 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9621
9622 if test x"$lt_cv_prog_compiler__b" = xyes; then
9623     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9624 else
9625     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9626 fi
9627
9628           ;;
9629         esac
9630       fi
9631       if test "$with_gnu_ld" = no; then
9632         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9633         hardcode_libdir_separator=:
9634
9635         case $host_cpu in
9636         hppa*64*|ia64*)
9637           hardcode_direct=no
9638           hardcode_shlibpath_var=no
9639           ;;
9640         *)
9641           hardcode_direct=yes
9642           hardcode_direct_absolute=yes
9643           export_dynamic_flag_spec='${wl}-E'
9644
9645           # hardcode_minus_L: Not really in the search PATH,
9646           # but as the default location of the library.
9647           hardcode_minus_L=yes
9648           ;;
9649         esac
9650       fi
9651       ;;
9652
9653     irix5* | irix6* | nonstopux*)
9654       if test "$GCC" = yes; then
9655         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'
9656         # Try to use the -exported_symbol ld option, if it does not
9657         # work, assume that -exports_file does not work either and
9658         # implicitly export all symbols.
9659         # This should be the same for all languages, so no per-tag cache variable.
9660         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9661 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9662 if ${lt_cv_irix_exported_symbol+:} false; then :
9663   $as_echo_n "(cached) " >&6
9664 else
9665   save_LDFLAGS="$LDFLAGS"
9666            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9667            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h.  */
9669 int foo (void) { return 0; }
9670 _ACEOF
9671 if ac_fn_c_try_link "$LINENO"; then :
9672   lt_cv_irix_exported_symbol=yes
9673 else
9674   lt_cv_irix_exported_symbol=no
9675 fi
9676 rm -f core conftest.err conftest.$ac_objext \
9677     conftest$ac_exeext conftest.$ac_ext
9678            LDFLAGS="$save_LDFLAGS"
9679 fi
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9681 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9682         if test "$lt_cv_irix_exported_symbol" = yes; then
9683           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'
9684         fi
9685       else
9686         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'
9687         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'
9688       fi
9689       archive_cmds_need_lc='no'
9690       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9691       hardcode_libdir_separator=:
9692       inherit_rpath=yes
9693       link_all_deplibs=yes
9694       ;;
9695
9696     netbsd* | netbsdelf*-gnu)
9697       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9698         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9699       else
9700         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9701       fi
9702       hardcode_libdir_flag_spec='-R$libdir'
9703       hardcode_direct=yes
9704       hardcode_shlibpath_var=no
9705       ;;
9706
9707     newsos6)
9708       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9709       hardcode_direct=yes
9710       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9711       hardcode_libdir_separator=:
9712       hardcode_shlibpath_var=no
9713       ;;
9714
9715     *nto* | *qnx*)
9716       ;;
9717
9718     openbsd*)
9719       if test -f /usr/libexec/ld.so; then
9720         hardcode_direct=yes
9721         hardcode_shlibpath_var=no
9722         hardcode_direct_absolute=yes
9723         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9724           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9725           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9726           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9727           export_dynamic_flag_spec='${wl}-E'
9728         else
9729           case $host_os in
9730            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9731              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732              hardcode_libdir_flag_spec='-R$libdir'
9733              ;;
9734            *)
9735              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9736              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9737              ;;
9738           esac
9739         fi
9740       else
9741         ld_shlibs=no
9742       fi
9743       ;;
9744
9745     os2*)
9746       hardcode_libdir_flag_spec='-L$libdir'
9747       hardcode_minus_L=yes
9748       allow_undefined_flag=unsupported
9749       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'
9750       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9751       ;;
9752
9753     osf3*)
9754       if test "$GCC" = yes; then
9755         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9756         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'
9757       else
9758         allow_undefined_flag=' -expect_unresolved \*'
9759         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'
9760       fi
9761       archive_cmds_need_lc='no'
9762       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9763       hardcode_libdir_separator=:
9764       ;;
9765
9766     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9767       if test "$GCC" = yes; then
9768         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9769         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'
9770         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9771       else
9772         allow_undefined_flag=' -expect_unresolved \*'
9773         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'
9774         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~
9775         $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'
9776
9777         # Both c and cxx compiler support -rpath directly
9778         hardcode_libdir_flag_spec='-rpath $libdir'
9779       fi
9780       archive_cmds_need_lc='no'
9781       hardcode_libdir_separator=:
9782       ;;
9783
9784     solaris*)
9785       no_undefined_flag=' -z defs'
9786       if test "$GCC" = yes; then
9787         wlarc='${wl}'
9788         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9789         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9790           $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'
9791       else
9792         case `$CC -V 2>&1` in
9793         *"Compilers 5.0"*)
9794           wlarc=''
9795           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9796           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9797           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9798           ;;
9799         *)
9800           wlarc='${wl}'
9801           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9802           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9803           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9804           ;;
9805         esac
9806       fi
9807       hardcode_libdir_flag_spec='-R$libdir'
9808       hardcode_shlibpath_var=no
9809       case $host_os in
9810       solaris2.[0-5] | solaris2.[0-5].*) ;;
9811       *)
9812         # The compiler driver will combine and reorder linker options,
9813         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9814         # but is careful enough not to reorder.
9815         # Supported since Solaris 2.6 (maybe 2.5.1?)
9816         if test "$GCC" = yes; then
9817           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9818         else
9819           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9820         fi
9821         ;;
9822       esac
9823       link_all_deplibs=yes
9824       ;;
9825
9826     sunos4*)
9827       if test "x$host_vendor" = xsequent; then
9828         # Use $CC to link under sequent, because it throws in some extra .o
9829         # files that make .init and .fini sections work.
9830         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9831       else
9832         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9833       fi
9834       hardcode_libdir_flag_spec='-L$libdir'
9835       hardcode_direct=yes
9836       hardcode_minus_L=yes
9837       hardcode_shlibpath_var=no
9838       ;;
9839
9840     sysv4)
9841       case $host_vendor in
9842         sni)
9843           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9844           hardcode_direct=yes # is this really true???
9845         ;;
9846         siemens)
9847           ## LD is ld it makes a PLAMLIB
9848           ## CC just makes a GrossModule.
9849           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9850           reload_cmds='$CC -r -o $output$reload_objs'
9851           hardcode_direct=no
9852         ;;
9853         motorola)
9854           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9855           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9856         ;;
9857       esac
9858       runpath_var='LD_RUN_PATH'
9859       hardcode_shlibpath_var=no
9860       ;;
9861
9862     sysv4.3*)
9863       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864       hardcode_shlibpath_var=no
9865       export_dynamic_flag_spec='-Bexport'
9866       ;;
9867
9868     sysv4*MP*)
9869       if test -d /usr/nec; then
9870         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9871         hardcode_shlibpath_var=no
9872         runpath_var=LD_RUN_PATH
9873         hardcode_runpath_var=yes
9874         ld_shlibs=yes
9875       fi
9876       ;;
9877
9878     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9879       no_undefined_flag='${wl}-z,text'
9880       archive_cmds_need_lc=no
9881       hardcode_shlibpath_var=no
9882       runpath_var='LD_RUN_PATH'
9883
9884       if test "$GCC" = yes; then
9885         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9886         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9887       else
9888         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9889         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9890       fi
9891       ;;
9892
9893     sysv5* | sco3.2v5* | sco5v6*)
9894       # Note: We can NOT use -z defs as we might desire, because we do not
9895       # link with -lc, and that would cause any symbols used from libc to
9896       # always be unresolved, which means just about no library would
9897       # ever link correctly.  If we're not using GNU ld we use -z text
9898       # though, which does catch some bad symbols but isn't as heavy-handed
9899       # as -z defs.
9900       no_undefined_flag='${wl}-z,text'
9901       allow_undefined_flag='${wl}-z,nodefs'
9902       archive_cmds_need_lc=no
9903       hardcode_shlibpath_var=no
9904       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9905       hardcode_libdir_separator=':'
9906       link_all_deplibs=yes
9907       export_dynamic_flag_spec='${wl}-Bexport'
9908       runpath_var='LD_RUN_PATH'
9909
9910       if test "$GCC" = yes; then
9911         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9912         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9913       else
9914         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9915         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9916       fi
9917       ;;
9918
9919     uts4*)
9920       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9921       hardcode_libdir_flag_spec='-L$libdir'
9922       hardcode_shlibpath_var=no
9923       ;;
9924
9925     *)
9926       ld_shlibs=no
9927       ;;
9928     esac
9929
9930     if test x$host_vendor = xsni; then
9931       case $host in
9932       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9933         export_dynamic_flag_spec='${wl}-Blargedynsym'
9934         ;;
9935       esac
9936     fi
9937   fi
9938
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9940 $as_echo "$ld_shlibs" >&6; }
9941 test "$ld_shlibs" = no && can_build_shared=no
9942
9943 with_gnu_ld=$with_gnu_ld
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959 #
9960 # Do we need to explicitly link libc?
9961 #
9962 case "x$archive_cmds_need_lc" in
9963 x|xyes)
9964   # Assume -lc should be added
9965   archive_cmds_need_lc=yes
9966
9967   if test "$enable_shared" = yes && test "$GCC" = yes; then
9968     case $archive_cmds in
9969     *'~'*)
9970       # FIXME: we may have to deal with multi-command sequences.
9971       ;;
9972     '$CC '*)
9973       # Test whether the compiler implicitly links with -lc since on some
9974       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9975       # to ld, don't add -lc before -lgcc.
9976       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9977 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9978 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9979   $as_echo_n "(cached) " >&6
9980 else
9981   $RM conftest*
9982         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9983
9984         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9985   (eval $ac_compile) 2>&5
9986   ac_status=$?
9987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9988   test $ac_status = 0; } 2>conftest.err; then
9989           soname=conftest
9990           lib=conftest
9991           libobjs=conftest.$ac_objext
9992           deplibs=
9993           wl=$lt_prog_compiler_wl
9994           pic_flag=$lt_prog_compiler_pic
9995           compiler_flags=-v
9996           linker_flags=-v
9997           verstring=
9998           output_objdir=.
9999           libname=conftest
10000           lt_save_allow_undefined_flag=$allow_undefined_flag
10001           allow_undefined_flag=
10002           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10003   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10004   ac_status=$?
10005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10006   test $ac_status = 0; }
10007           then
10008             lt_cv_archive_cmds_need_lc=no
10009           else
10010             lt_cv_archive_cmds_need_lc=yes
10011           fi
10012           allow_undefined_flag=$lt_save_allow_undefined_flag
10013         else
10014           cat conftest.err 1>&5
10015         fi
10016         $RM conftest*
10017
10018 fi
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10020 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10021       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10022       ;;
10023     esac
10024   fi
10025   ;;
10026 esac
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
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10180 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10181
10182 if test "$GCC" = yes; then
10183   case $host_os in
10184     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10185     *) lt_awk_arg="/^libraries:/" ;;
10186   esac
10187   case $host_os in
10188     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10189     *) lt_sed_strip_eq="s,=/,/,g" ;;
10190   esac
10191   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10192   case $lt_search_path_spec in
10193   *\;*)
10194     # if the path contains ";" then we assume it to be the separator
10195     # otherwise default to the standard path separator (i.e. ":") - it is
10196     # assumed that no part of a normal pathname contains ";" but that should
10197     # okay in the real world where ";" in dirpaths is itself problematic.
10198     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10199     ;;
10200   *)
10201     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10202     ;;
10203   esac
10204   # Ok, now we have the path, separated by spaces, we can step through it
10205   # and add multilib dir if necessary.
10206   lt_tmp_lt_search_path_spec=
10207   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10208   for lt_sys_path in $lt_search_path_spec; do
10209     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10210       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10211     else
10212       test -d "$lt_sys_path" && \
10213         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10214     fi
10215   done
10216   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10217 BEGIN {RS=" "; FS="/|\n";} {
10218   lt_foo="";
10219   lt_count=0;
10220   for (lt_i = NF; lt_i > 0; lt_i--) {
10221     if ($lt_i != "" && $lt_i != ".") {
10222       if ($lt_i == "..") {
10223         lt_count++;
10224       } else {
10225         if (lt_count == 0) {
10226           lt_foo="/" $lt_i lt_foo;
10227         } else {
10228           lt_count--;
10229         }
10230       }
10231     }
10232   }
10233   if (lt_foo != "") { lt_freq[lt_foo]++; }
10234   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10235 }'`
10236   # AWK program above erroneously prepends '/' to C:/dos/paths
10237   # for these hosts.
10238   case $host_os in
10239     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10240       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10241   esac
10242   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10243 else
10244   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10245 fi
10246 library_names_spec=
10247 libname_spec='lib$name'
10248 soname_spec=
10249 shrext_cmds=".so"
10250 postinstall_cmds=
10251 postuninstall_cmds=
10252 finish_cmds=
10253 finish_eval=
10254 shlibpath_var=
10255 shlibpath_overrides_runpath=unknown
10256 version_type=none
10257 dynamic_linker="$host_os ld.so"
10258 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10259 need_lib_prefix=unknown
10260 hardcode_into_libs=no
10261
10262 # when you set need_version to no, make sure it does not cause -set_version
10263 # flags to be left without arguments
10264 need_version=unknown
10265
10266 case $host_os in
10267 aix3*)
10268   version_type=linux # correct to gnu/linux during the next big refactor
10269   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10270   shlibpath_var=LIBPATH
10271
10272   # AIX 3 has no versioning support, so we append a major version to the name.
10273   soname_spec='${libname}${release}${shared_ext}$major'
10274   ;;
10275
10276 aix[4-9]*)
10277   version_type=linux # correct to gnu/linux during the next big refactor
10278   need_lib_prefix=no
10279   need_version=no
10280   hardcode_into_libs=yes
10281   if test "$host_cpu" = ia64; then
10282     # AIX 5 supports IA64
10283     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10284     shlibpath_var=LD_LIBRARY_PATH
10285   else
10286     # With GCC up to 2.95.x, collect2 would create an import file
10287     # for dependence libraries.  The import file would start with
10288     # the line `#! .'.  This would cause the generated library to
10289     # depend on `.', always an invalid library.  This was fixed in
10290     # development snapshots of GCC prior to 3.0.
10291     case $host_os in
10292       aix4 | aix4.[01] | aix4.[01].*)
10293       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10294            echo ' yes '
10295            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10296         :
10297       else
10298         can_build_shared=no
10299       fi
10300       ;;
10301     esac
10302     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10303     # soname into executable. Probably we can add versioning support to
10304     # collect2, so additional links can be useful in future.
10305     if test "$aix_use_runtimelinking" = yes; then
10306       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10307       # instead of lib<name>.a to let people know that these are not
10308       # typical AIX shared libraries.
10309       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10310     else
10311       # We preserve .a as extension for shared libraries through AIX4.2
10312       # and later when we are not doing run time linking.
10313       library_names_spec='${libname}${release}.a $libname.a'
10314       soname_spec='${libname}${release}${shared_ext}$major'
10315     fi
10316     shlibpath_var=LIBPATH
10317   fi
10318   ;;
10319
10320 amigaos*)
10321   case $host_cpu in
10322   powerpc)
10323     # Since July 2007 AmigaOS4 officially supports .so libraries.
10324     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10325     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10326     ;;
10327   m68k)
10328     library_names_spec='$libname.ixlibrary $libname.a'
10329     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10330     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'
10331     ;;
10332   esac
10333   ;;
10334
10335 beos*)
10336   library_names_spec='${libname}${shared_ext}'
10337   dynamic_linker="$host_os ld.so"
10338   shlibpath_var=LIBRARY_PATH
10339   ;;
10340
10341 bsdi[45]*)
10342   version_type=linux # correct to gnu/linux during the next big refactor
10343   need_version=no
10344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345   soname_spec='${libname}${release}${shared_ext}$major'
10346   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10347   shlibpath_var=LD_LIBRARY_PATH
10348   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10349   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10350   # the default ld.so.conf also contains /usr/contrib/lib and
10351   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10352   # libtool to hard-code these into programs
10353   ;;
10354
10355 cygwin* | mingw* | pw32* | cegcc*)
10356   version_type=windows
10357   shrext_cmds=".dll"
10358   need_version=no
10359   need_lib_prefix=no
10360
10361   case $GCC,$cc_basename in
10362   yes,*)
10363     # gcc
10364     library_names_spec='$libname.dll.a'
10365     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10366     postinstall_cmds='base_file=`basename \${file}`~
10367       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10368       dldir=$destdir/`dirname \$dlpath`~
10369       test -d \$dldir || mkdir -p \$dldir~
10370       $install_prog $dir/$dlname \$dldir/$dlname~
10371       chmod a+x \$dldir/$dlname~
10372       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10373         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10374       fi'
10375     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10376       dlpath=$dir/\$dldll~
10377        $RM \$dlpath'
10378     shlibpath_overrides_runpath=yes
10379
10380     case $host_os in
10381     cygwin*)
10382       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10383       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10384
10385       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10386       ;;
10387     mingw* | cegcc*)
10388       # MinGW DLLs use traditional 'lib' prefix
10389       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10390       ;;
10391     pw32*)
10392       # pw32 DLLs use 'pw' prefix rather than 'lib'
10393       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10394       ;;
10395     esac
10396     dynamic_linker='Win32 ld.exe'
10397     ;;
10398
10399   *,cl*)
10400     # Native MSVC
10401     libname_spec='$name'
10402     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10403     library_names_spec='${libname}.dll.lib'
10404
10405     case $build_os in
10406     mingw*)
10407       sys_lib_search_path_spec=
10408       lt_save_ifs=$IFS
10409       IFS=';'
10410       for lt_path in $LIB
10411       do
10412         IFS=$lt_save_ifs
10413         # Let DOS variable expansion print the short 8.3 style file name.
10414         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10415         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10416       done
10417       IFS=$lt_save_ifs
10418       # Convert to MSYS style.
10419       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10420       ;;
10421     cygwin*)
10422       # Convert to unix form, then to dos form, then back to unix form
10423       # but this time dos style (no spaces!) so that the unix form looks
10424       # like /cygdrive/c/PROGRA~1:/cygdr...
10425       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10426       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10427       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10428       ;;
10429     *)
10430       sys_lib_search_path_spec="$LIB"
10431       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10432         # It is most probably a Windows format PATH.
10433         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10434       else
10435         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10436       fi
10437       # FIXME: find the short name or the path components, as spaces are
10438       # common. (e.g. "Program Files" -> "PROGRA~1")
10439       ;;
10440     esac
10441
10442     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10443     postinstall_cmds='base_file=`basename \${file}`~
10444       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10445       dldir=$destdir/`dirname \$dlpath`~
10446       test -d \$dldir || mkdir -p \$dldir~
10447       $install_prog $dir/$dlname \$dldir/$dlname'
10448     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10449       dlpath=$dir/\$dldll~
10450        $RM \$dlpath'
10451     shlibpath_overrides_runpath=yes
10452     dynamic_linker='Win32 link.exe'
10453     ;;
10454
10455   *)
10456     # Assume MSVC wrapper
10457     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10458     dynamic_linker='Win32 ld.exe'
10459     ;;
10460   esac
10461   # FIXME: first we should search . and the directory the executable is in
10462   shlibpath_var=PATH
10463   ;;
10464
10465 darwin* | rhapsody*)
10466   dynamic_linker="$host_os dyld"
10467   version_type=darwin
10468   need_lib_prefix=no
10469   need_version=no
10470   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10471   soname_spec='${libname}${release}${major}$shared_ext'
10472   shlibpath_overrides_runpath=yes
10473   shlibpath_var=DYLD_LIBRARY_PATH
10474   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10475
10476   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10477   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10478   ;;
10479
10480 dgux*)
10481   version_type=linux # correct to gnu/linux during the next big refactor
10482   need_lib_prefix=no
10483   need_version=no
10484   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10485   soname_spec='${libname}${release}${shared_ext}$major'
10486   shlibpath_var=LD_LIBRARY_PATH
10487   ;;
10488
10489 freebsd* | dragonfly*)
10490   # DragonFly does not have aout.  When/if they implement a new
10491   # versioning mechanism, adjust this.
10492   if test -x /usr/bin/objformat; then
10493     objformat=`/usr/bin/objformat`
10494   else
10495     case $host_os in
10496     freebsd[23].*) objformat=aout ;;
10497     *) objformat=elf ;;
10498     esac
10499   fi
10500   version_type=freebsd-$objformat
10501   case $version_type in
10502     freebsd-elf*)
10503       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10504       need_version=no
10505       need_lib_prefix=no
10506       ;;
10507     freebsd-*)
10508       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10509       need_version=yes
10510       ;;
10511   esac
10512   shlibpath_var=LD_LIBRARY_PATH
10513   case $host_os in
10514   freebsd2.*)
10515     shlibpath_overrides_runpath=yes
10516     ;;
10517   freebsd3.[01]* | freebsdelf3.[01]*)
10518     shlibpath_overrides_runpath=yes
10519     hardcode_into_libs=yes
10520     ;;
10521   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10522   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10523     shlibpath_overrides_runpath=no
10524     hardcode_into_libs=yes
10525     ;;
10526   *) # from 4.6 on, and DragonFly
10527     shlibpath_overrides_runpath=yes
10528     hardcode_into_libs=yes
10529     ;;
10530   esac
10531   ;;
10532
10533 gnu*)
10534   version_type=linux # correct to gnu/linux during the next big refactor
10535   need_lib_prefix=no
10536   need_version=no
10537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10538   soname_spec='${libname}${release}${shared_ext}$major'
10539   shlibpath_var=LD_LIBRARY_PATH
10540   shlibpath_overrides_runpath=no
10541   hardcode_into_libs=yes
10542   ;;
10543
10544 haiku*)
10545   version_type=linux # correct to gnu/linux during the next big refactor
10546   need_lib_prefix=no
10547   need_version=no
10548   dynamic_linker="$host_os runtime_loader"
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   shlibpath_var=LIBRARY_PATH
10552   shlibpath_overrides_runpath=yes
10553   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10554   hardcode_into_libs=yes
10555   ;;
10556
10557 hpux9* | hpux10* | hpux11*)
10558   # Give a soname corresponding to the major version so that dld.sl refuses to
10559   # link against other versions.
10560   version_type=sunos
10561   need_lib_prefix=no
10562   need_version=no
10563   case $host_cpu in
10564   ia64*)
10565     shrext_cmds='.so'
10566     hardcode_into_libs=yes
10567     dynamic_linker="$host_os dld.so"
10568     shlibpath_var=LD_LIBRARY_PATH
10569     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10570     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10571     soname_spec='${libname}${release}${shared_ext}$major'
10572     if test "X$HPUX_IA64_MODE" = X32; then
10573       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10574     else
10575       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10576     fi
10577     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10578     ;;
10579   hppa*64*)
10580     shrext_cmds='.sl'
10581     hardcode_into_libs=yes
10582     dynamic_linker="$host_os dld.sl"
10583     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10584     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10585     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10586     soname_spec='${libname}${release}${shared_ext}$major'
10587     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10588     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10589     ;;
10590   *)
10591     shrext_cmds='.sl'
10592     dynamic_linker="$host_os dld.sl"
10593     shlibpath_var=SHLIB_PATH
10594     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10595     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596     soname_spec='${libname}${release}${shared_ext}$major'
10597     ;;
10598   esac
10599   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10600   postinstall_cmds='chmod 555 $lib'
10601   # or fails outright, so override atomically:
10602   install_override_mode=555
10603   ;;
10604
10605 interix[3-9]*)
10606   version_type=linux # correct to gnu/linux during the next big refactor
10607   need_lib_prefix=no
10608   need_version=no
10609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10610   soname_spec='${libname}${release}${shared_ext}$major'
10611   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10612   shlibpath_var=LD_LIBRARY_PATH
10613   shlibpath_overrides_runpath=no
10614   hardcode_into_libs=yes
10615   ;;
10616
10617 irix5* | irix6* | nonstopux*)
10618   case $host_os in
10619     nonstopux*) version_type=nonstopux ;;
10620     *)
10621         if test "$lt_cv_prog_gnu_ld" = yes; then
10622                 version_type=linux # correct to gnu/linux during the next big refactor
10623         else
10624                 version_type=irix
10625         fi ;;
10626   esac
10627   need_lib_prefix=no
10628   need_version=no
10629   soname_spec='${libname}${release}${shared_ext}$major'
10630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10631   case $host_os in
10632   irix5* | nonstopux*)
10633     libsuff= shlibsuff=
10634     ;;
10635   *)
10636     case $LD in # libtool.m4 will add one of these switches to LD
10637     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10638       libsuff= shlibsuff= libmagic=32-bit;;
10639     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10640       libsuff=32 shlibsuff=N32 libmagic=N32;;
10641     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10642       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10643     *) libsuff= shlibsuff= libmagic=never-match;;
10644     esac
10645     ;;
10646   esac
10647   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10648   shlibpath_overrides_runpath=no
10649   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10650   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10651   hardcode_into_libs=yes
10652   ;;
10653
10654 # No shared lib support for Linux oldld, aout, or coff.
10655 linux*oldld* | linux*aout* | linux*coff*)
10656   dynamic_linker=no
10657   ;;
10658
10659 # This must be glibc/ELF.
10660 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10661   version_type=linux # correct to gnu/linux during the next big refactor
10662   need_lib_prefix=no
10663   need_version=no
10664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665   soname_spec='${libname}${release}${shared_ext}$major'
10666   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10667   shlibpath_var=LD_LIBRARY_PATH
10668   shlibpath_overrides_runpath=no
10669
10670   # Some binutils ld are patched to set DT_RUNPATH
10671   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10672   $as_echo_n "(cached) " >&6
10673 else
10674   lt_cv_shlibpath_overrides_runpath=no
10675     save_LDFLAGS=$LDFLAGS
10676     save_libdir=$libdir
10677     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10678          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10679     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h.  */
10681
10682 int
10683 main ()
10684 {
10685
10686   ;
10687   return 0;
10688 }
10689 _ACEOF
10690 if ac_fn_c_try_link "$LINENO"; then :
10691   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10692   lt_cv_shlibpath_overrides_runpath=yes
10693 fi
10694 fi
10695 rm -f core conftest.err conftest.$ac_objext \
10696     conftest$ac_exeext conftest.$ac_ext
10697     LDFLAGS=$save_LDFLAGS
10698     libdir=$save_libdir
10699
10700 fi
10701
10702   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10703
10704   # This implies no fast_install, which is unacceptable.
10705   # Some rework will be needed to allow for fast_install
10706   # before this can be enabled.
10707   hardcode_into_libs=yes
10708
10709   # Append ld.so.conf contents to the search path
10710   if test -f /etc/ld.so.conf; then
10711     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' ' '`
10712     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10713   fi
10714
10715   # We used to test for /lib/ld.so.1 and disable shared libraries on
10716   # powerpc, because MkLinux only supported shared libraries with the
10717   # GNU dynamic linker.  Since this was broken with cross compilers,
10718   # most powerpc-linux boxes support dynamic linking these days and
10719   # people can always --disable-shared, the test was removed, and we
10720   # assume the GNU/Linux dynamic linker is in use.
10721   dynamic_linker='GNU/Linux ld.so'
10722   ;;
10723
10724 netbsdelf*-gnu)
10725   version_type=linux
10726   need_lib_prefix=no
10727   need_version=no
10728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10729   soname_spec='${libname}${release}${shared_ext}$major'
10730   shlibpath_var=LD_LIBRARY_PATH
10731   shlibpath_overrides_runpath=no
10732   hardcode_into_libs=yes
10733   dynamic_linker='NetBSD ld.elf_so'
10734   ;;
10735
10736 netbsd*)
10737   version_type=sunos
10738   need_lib_prefix=no
10739   need_version=no
10740   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10741     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10742     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10743     dynamic_linker='NetBSD (a.out) ld.so'
10744   else
10745     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746     soname_spec='${libname}${release}${shared_ext}$major'
10747     dynamic_linker='NetBSD ld.elf_so'
10748   fi
10749   shlibpath_var=LD_LIBRARY_PATH
10750   shlibpath_overrides_runpath=yes
10751   hardcode_into_libs=yes
10752   ;;
10753
10754 newsos6)
10755   version_type=linux # correct to gnu/linux during the next big refactor
10756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757   shlibpath_var=LD_LIBRARY_PATH
10758   shlibpath_overrides_runpath=yes
10759   ;;
10760
10761 *nto* | *qnx*)
10762   version_type=qnx
10763   need_lib_prefix=no
10764   need_version=no
10765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10766   soname_spec='${libname}${release}${shared_ext}$major'
10767   shlibpath_var=LD_LIBRARY_PATH
10768   shlibpath_overrides_runpath=no
10769   hardcode_into_libs=yes
10770   dynamic_linker='ldqnx.so'
10771   ;;
10772
10773 openbsd*)
10774   version_type=sunos
10775   sys_lib_dlsearch_path_spec="/usr/lib"
10776   need_lib_prefix=no
10777   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10778   case $host_os in
10779     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10780     *)                          need_version=no  ;;
10781   esac
10782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10783   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10784   shlibpath_var=LD_LIBRARY_PATH
10785   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10786     case $host_os in
10787       openbsd2.[89] | openbsd2.[89].*)
10788         shlibpath_overrides_runpath=no
10789         ;;
10790       *)
10791         shlibpath_overrides_runpath=yes
10792         ;;
10793       esac
10794   else
10795     shlibpath_overrides_runpath=yes
10796   fi
10797   ;;
10798
10799 os2*)
10800   libname_spec='$name'
10801   shrext_cmds=".dll"
10802   need_lib_prefix=no
10803   library_names_spec='$libname${shared_ext} $libname.a'
10804   dynamic_linker='OS/2 ld.exe'
10805   shlibpath_var=LIBPATH
10806   ;;
10807
10808 osf3* | osf4* | osf5*)
10809   version_type=osf
10810   need_lib_prefix=no
10811   need_version=no
10812   soname_spec='${libname}${release}${shared_ext}$major'
10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814   shlibpath_var=LD_LIBRARY_PATH
10815   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10816   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10817   ;;
10818
10819 rdos*)
10820   dynamic_linker=no
10821   ;;
10822
10823 solaris*)
10824   version_type=linux # correct to gnu/linux during the next big refactor
10825   need_lib_prefix=no
10826   need_version=no
10827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828   soname_spec='${libname}${release}${shared_ext}$major'
10829   shlibpath_var=LD_LIBRARY_PATH
10830   shlibpath_overrides_runpath=yes
10831   hardcode_into_libs=yes
10832   # ldd complains unless libraries are executable
10833   postinstall_cmds='chmod +x $lib'
10834   ;;
10835
10836 sunos4*)
10837   version_type=sunos
10838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10839   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10840   shlibpath_var=LD_LIBRARY_PATH
10841   shlibpath_overrides_runpath=yes
10842   if test "$with_gnu_ld" = yes; then
10843     need_lib_prefix=no
10844   fi
10845   need_version=yes
10846   ;;
10847
10848 sysv4 | sysv4.3*)
10849   version_type=linux # correct to gnu/linux during the next big refactor
10850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851   soname_spec='${libname}${release}${shared_ext}$major'
10852   shlibpath_var=LD_LIBRARY_PATH
10853   case $host_vendor in
10854     sni)
10855       shlibpath_overrides_runpath=no
10856       need_lib_prefix=no
10857       runpath_var=LD_RUN_PATH
10858       ;;
10859     siemens)
10860       need_lib_prefix=no
10861       ;;
10862     motorola)
10863       need_lib_prefix=no
10864       need_version=no
10865       shlibpath_overrides_runpath=no
10866       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10867       ;;
10868   esac
10869   ;;
10870
10871 sysv4*MP*)
10872   if test -d /usr/nec ;then
10873     version_type=linux # correct to gnu/linux during the next big refactor
10874     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10875     soname_spec='$libname${shared_ext}.$major'
10876     shlibpath_var=LD_LIBRARY_PATH
10877   fi
10878   ;;
10879
10880 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10881   version_type=freebsd-elf
10882   need_lib_prefix=no
10883   need_version=no
10884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10885   soname_spec='${libname}${release}${shared_ext}$major'
10886   shlibpath_var=LD_LIBRARY_PATH
10887   shlibpath_overrides_runpath=yes
10888   hardcode_into_libs=yes
10889   if test "$with_gnu_ld" = yes; then
10890     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10891   else
10892     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10893     case $host_os in
10894       sco3.2v5*)
10895         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10896         ;;
10897     esac
10898   fi
10899   sys_lib_dlsearch_path_spec='/usr/lib'
10900   ;;
10901
10902 tpf*)
10903   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10904   version_type=linux # correct to gnu/linux during the next big refactor
10905   need_lib_prefix=no
10906   need_version=no
10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908   shlibpath_var=LD_LIBRARY_PATH
10909   shlibpath_overrides_runpath=no
10910   hardcode_into_libs=yes
10911   ;;
10912
10913 uts4*)
10914   version_type=linux # correct to gnu/linux during the next big refactor
10915   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916   soname_spec='${libname}${release}${shared_ext}$major'
10917   shlibpath_var=LD_LIBRARY_PATH
10918   ;;
10919
10920 *)
10921   dynamic_linker=no
10922   ;;
10923 esac
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10925 $as_echo "$dynamic_linker" >&6; }
10926 test "$dynamic_linker" = no && can_build_shared=no
10927
10928 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10929 if test "$GCC" = yes; then
10930   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10931 fi
10932
10933 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10934   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10935 fi
10936 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10937   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10938 fi
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
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11032 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11033 hardcode_action=
11034 if test -n "$hardcode_libdir_flag_spec" ||
11035    test -n "$runpath_var" ||
11036    test "X$hardcode_automatic" = "Xyes" ; then
11037
11038   # We can hardcode non-existent directories.
11039   if test "$hardcode_direct" != no &&
11040      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11041      # have to relink, otherwise we might link with an installed library
11042      # when we should be linking with a yet-to-be-installed one
11043      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11044      test "$hardcode_minus_L" != no; then
11045     # Linking always hardcodes the temporary library directory.
11046     hardcode_action=relink
11047   else
11048     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11049     hardcode_action=immediate
11050   fi
11051 else
11052   # We cannot hardcode anything, or else we can only hardcode existing
11053   # directories.
11054   hardcode_action=unsupported
11055 fi
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11057 $as_echo "$hardcode_action" >&6; }
11058
11059 if test "$hardcode_action" = relink ||
11060    test "$inherit_rpath" = yes; then
11061   # Fast installation is not supported
11062   enable_fast_install=no
11063 elif test "$shlibpath_overrides_runpath" = yes ||
11064      test "$enable_shared" = no; then
11065   # Fast installation is not necessary
11066   enable_fast_install=needless
11067 fi
11068
11069
11070
11071
11072
11073
11074   if test "x$enable_dlopen" != xyes; then
11075   enable_dlopen=unknown
11076   enable_dlopen_self=unknown
11077   enable_dlopen_self_static=unknown
11078 else
11079   lt_cv_dlopen=no
11080   lt_cv_dlopen_libs=
11081
11082   case $host_os in
11083   beos*)
11084     lt_cv_dlopen="load_add_on"
11085     lt_cv_dlopen_libs=
11086     lt_cv_dlopen_self=yes
11087     ;;
11088
11089   mingw* | pw32* | cegcc*)
11090     lt_cv_dlopen="LoadLibrary"
11091     lt_cv_dlopen_libs=
11092     ;;
11093
11094   cygwin*)
11095     lt_cv_dlopen="dlopen"
11096     lt_cv_dlopen_libs=
11097     ;;
11098
11099   darwin*)
11100   # if libdl is installed we need to link against it
11101     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11102 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11103 if ${ac_cv_lib_dl_dlopen+:} false; then :
11104   $as_echo_n "(cached) " >&6
11105 else
11106   ac_check_lib_save_LIBS=$LIBS
11107 LIBS="-ldl  $LIBS"
11108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h.  */
11110
11111 /* Override any GCC internal prototype to avoid an error.
11112    Use char because int might match the return type of a GCC
11113    builtin and then its argument prototype would still apply.  */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char dlopen ();
11118 int
11119 main ()
11120 {
11121 return dlopen ();
11122   ;
11123   return 0;
11124 }
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"; then :
11127   ac_cv_lib_dl_dlopen=yes
11128 else
11129   ac_cv_lib_dl_dlopen=no
11130 fi
11131 rm -f core conftest.err conftest.$ac_objext \
11132     conftest$ac_exeext conftest.$ac_ext
11133 LIBS=$ac_check_lib_save_LIBS
11134 fi
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11136 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11137 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11138   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11139 else
11140
11141     lt_cv_dlopen="dyld"
11142     lt_cv_dlopen_libs=
11143     lt_cv_dlopen_self=yes
11144
11145 fi
11146
11147     ;;
11148
11149   *)
11150     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11151 if test "x$ac_cv_func_shl_load" = xyes; then :
11152   lt_cv_dlopen="shl_load"
11153 else
11154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11155 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11156 if ${ac_cv_lib_dld_shl_load+:} false; then :
11157   $as_echo_n "(cached) " >&6
11158 else
11159   ac_check_lib_save_LIBS=$LIBS
11160 LIBS="-ldld  $LIBS"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h.  */
11163
11164 /* Override any GCC internal prototype to avoid an error.
11165    Use char because int might match the return type of a GCC
11166    builtin and then its argument prototype would still apply.  */
11167 #ifdef __cplusplus
11168 extern "C"
11169 #endif
11170 char shl_load ();
11171 int
11172 main ()
11173 {
11174 return shl_load ();
11175   ;
11176   return 0;
11177 }
11178 _ACEOF
11179 if ac_fn_c_try_link "$LINENO"; then :
11180   ac_cv_lib_dld_shl_load=yes
11181 else
11182   ac_cv_lib_dld_shl_load=no
11183 fi
11184 rm -f core conftest.err conftest.$ac_objext \
11185     conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_lib_save_LIBS
11187 fi
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11189 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11190 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11191   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11192 else
11193   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11194 if test "x$ac_cv_func_dlopen" = xyes; then :
11195   lt_cv_dlopen="dlopen"
11196 else
11197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11198 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11199 if ${ac_cv_lib_dl_dlopen+:} false; then :
11200   $as_echo_n "(cached) " >&6
11201 else
11202   ac_check_lib_save_LIBS=$LIBS
11203 LIBS="-ldl  $LIBS"
11204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h.  */
11206
11207 /* Override any GCC internal prototype to avoid an error.
11208    Use char because int might match the return type of a GCC
11209    builtin and then its argument prototype would still apply.  */
11210 #ifdef __cplusplus
11211 extern "C"
11212 #endif
11213 char dlopen ();
11214 int
11215 main ()
11216 {
11217 return dlopen ();
11218   ;
11219   return 0;
11220 }
11221 _ACEOF
11222 if ac_fn_c_try_link "$LINENO"; then :
11223   ac_cv_lib_dl_dlopen=yes
11224 else
11225   ac_cv_lib_dl_dlopen=no
11226 fi
11227 rm -f core conftest.err conftest.$ac_objext \
11228     conftest$ac_exeext conftest.$ac_ext
11229 LIBS=$ac_check_lib_save_LIBS
11230 fi
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11232 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11233 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11234   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11235 else
11236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11237 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11238 if ${ac_cv_lib_svld_dlopen+:} false; then :
11239   $as_echo_n "(cached) " >&6
11240 else
11241   ac_check_lib_save_LIBS=$LIBS
11242 LIBS="-lsvld  $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h.  */
11245
11246 /* Override any GCC internal prototype to avoid an error.
11247    Use char because int might match the return type of a GCC
11248    builtin and then its argument prototype would still apply.  */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 char dlopen ();
11253 int
11254 main ()
11255 {
11256 return dlopen ();
11257   ;
11258   return 0;
11259 }
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"; then :
11262   ac_cv_lib_svld_dlopen=yes
11263 else
11264   ac_cv_lib_svld_dlopen=no
11265 fi
11266 rm -f core conftest.err conftest.$ac_objext \
11267     conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11269 fi
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11271 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11272 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11273   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11274 else
11275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11276 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11277 if ${ac_cv_lib_dld_dld_link+:} false; then :
11278   $as_echo_n "(cached) " >&6
11279 else
11280   ac_check_lib_save_LIBS=$LIBS
11281 LIBS="-ldld  $LIBS"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h.  */
11284
11285 /* Override any GCC internal prototype to avoid an error.
11286    Use char because int might match the return type of a GCC
11287    builtin and then its argument prototype would still apply.  */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char dld_link ();
11292 int
11293 main ()
11294 {
11295 return dld_link ();
11296   ;
11297   return 0;
11298 }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301   ac_cv_lib_dld_dld_link=yes
11302 else
11303   ac_cv_lib_dld_dld_link=no
11304 fi
11305 rm -f core conftest.err conftest.$ac_objext \
11306     conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11308 fi
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11310 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11311 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11312   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11313 fi
11314
11315
11316 fi
11317
11318
11319 fi
11320
11321
11322 fi
11323
11324
11325 fi
11326
11327
11328 fi
11329
11330     ;;
11331   esac
11332
11333   if test "x$lt_cv_dlopen" != xno; then
11334     enable_dlopen=yes
11335   else
11336     enable_dlopen=no
11337   fi
11338
11339   case $lt_cv_dlopen in
11340   dlopen)
11341     save_CPPFLAGS="$CPPFLAGS"
11342     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11343
11344     save_LDFLAGS="$LDFLAGS"
11345     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11346
11347     save_LIBS="$LIBS"
11348     LIBS="$lt_cv_dlopen_libs $LIBS"
11349
11350     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11351 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11352 if ${lt_cv_dlopen_self+:} false; then :
11353   $as_echo_n "(cached) " >&6
11354 else
11355           if test "$cross_compiling" = yes; then :
11356   lt_cv_dlopen_self=cross
11357 else
11358   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11359   lt_status=$lt_dlunknown
11360   cat > conftest.$ac_ext <<_LT_EOF
11361 #line $LINENO "configure"
11362 #include "confdefs.h"
11363
11364 #if HAVE_DLFCN_H
11365 #include <dlfcn.h>
11366 #endif
11367
11368 #include <stdio.h>
11369
11370 #ifdef RTLD_GLOBAL
11371 #  define LT_DLGLOBAL           RTLD_GLOBAL
11372 #else
11373 #  ifdef DL_GLOBAL
11374 #    define LT_DLGLOBAL         DL_GLOBAL
11375 #  else
11376 #    define LT_DLGLOBAL         0
11377 #  endif
11378 #endif
11379
11380 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11381    find out it does not work in some platform. */
11382 #ifndef LT_DLLAZY_OR_NOW
11383 #  ifdef RTLD_LAZY
11384 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11385 #  else
11386 #    ifdef DL_LAZY
11387 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11388 #    else
11389 #      ifdef RTLD_NOW
11390 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11391 #      else
11392 #        ifdef DL_NOW
11393 #          define LT_DLLAZY_OR_NOW      DL_NOW
11394 #        else
11395 #          define LT_DLLAZY_OR_NOW      0
11396 #        endif
11397 #      endif
11398 #    endif
11399 #  endif
11400 #endif
11401
11402 /* When -fvisbility=hidden is used, assume the code has been annotated
11403    correspondingly for the symbols needed.  */
11404 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11405 int fnord () __attribute__((visibility("default")));
11406 #endif
11407
11408 int fnord () { return 42; }
11409 int main ()
11410 {
11411   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11412   int status = $lt_dlunknown;
11413
11414   if (self)
11415     {
11416       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11417       else
11418         {
11419           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11420           else puts (dlerror ());
11421         }
11422       /* dlclose (self); */
11423     }
11424   else
11425     puts (dlerror ());
11426
11427   return status;
11428 }
11429 _LT_EOF
11430   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11431   (eval $ac_link) 2>&5
11432   ac_status=$?
11433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11434   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11435     (./conftest; exit; ) >&5 2>/dev/null
11436     lt_status=$?
11437     case x$lt_status in
11438       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11439       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11440       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11441     esac
11442   else :
11443     # compilation failed
11444     lt_cv_dlopen_self=no
11445   fi
11446 fi
11447 rm -fr conftest*
11448
11449
11450 fi
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11452 $as_echo "$lt_cv_dlopen_self" >&6; }
11453
11454     if test "x$lt_cv_dlopen_self" = xyes; then
11455       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11456       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11457 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11458 if ${lt_cv_dlopen_self_static+:} false; then :
11459   $as_echo_n "(cached) " >&6
11460 else
11461           if test "$cross_compiling" = yes; then :
11462   lt_cv_dlopen_self_static=cross
11463 else
11464   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11465   lt_status=$lt_dlunknown
11466   cat > conftest.$ac_ext <<_LT_EOF
11467 #line $LINENO "configure"
11468 #include "confdefs.h"
11469
11470 #if HAVE_DLFCN_H
11471 #include <dlfcn.h>
11472 #endif
11473
11474 #include <stdio.h>
11475
11476 #ifdef RTLD_GLOBAL
11477 #  define LT_DLGLOBAL           RTLD_GLOBAL
11478 #else
11479 #  ifdef DL_GLOBAL
11480 #    define LT_DLGLOBAL         DL_GLOBAL
11481 #  else
11482 #    define LT_DLGLOBAL         0
11483 #  endif
11484 #endif
11485
11486 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11487    find out it does not work in some platform. */
11488 #ifndef LT_DLLAZY_OR_NOW
11489 #  ifdef RTLD_LAZY
11490 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11491 #  else
11492 #    ifdef DL_LAZY
11493 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11494 #    else
11495 #      ifdef RTLD_NOW
11496 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11497 #      else
11498 #        ifdef DL_NOW
11499 #          define LT_DLLAZY_OR_NOW      DL_NOW
11500 #        else
11501 #          define LT_DLLAZY_OR_NOW      0
11502 #        endif
11503 #      endif
11504 #    endif
11505 #  endif
11506 #endif
11507
11508 /* When -fvisbility=hidden is used, assume the code has been annotated
11509    correspondingly for the symbols needed.  */
11510 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11511 int fnord () __attribute__((visibility("default")));
11512 #endif
11513
11514 int fnord () { return 42; }
11515 int main ()
11516 {
11517   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11518   int status = $lt_dlunknown;
11519
11520   if (self)
11521     {
11522       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11523       else
11524         {
11525           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11526           else puts (dlerror ());
11527         }
11528       /* dlclose (self); */
11529     }
11530   else
11531     puts (dlerror ());
11532
11533   return status;
11534 }
11535 _LT_EOF
11536   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11537   (eval $ac_link) 2>&5
11538   ac_status=$?
11539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11540   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11541     (./conftest; exit; ) >&5 2>/dev/null
11542     lt_status=$?
11543     case x$lt_status in
11544       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11545       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11546       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11547     esac
11548   else :
11549     # compilation failed
11550     lt_cv_dlopen_self_static=no
11551   fi
11552 fi
11553 rm -fr conftest*
11554
11555
11556 fi
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11558 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11559     fi
11560
11561     CPPFLAGS="$save_CPPFLAGS"
11562     LDFLAGS="$save_LDFLAGS"
11563     LIBS="$save_LIBS"
11564     ;;
11565   esac
11566
11567   case $lt_cv_dlopen_self in
11568   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11569   *) enable_dlopen_self=unknown ;;
11570   esac
11571
11572   case $lt_cv_dlopen_self_static in
11573   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11574   *) enable_dlopen_self_static=unknown ;;
11575   esac
11576 fi
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594 striplib=
11595 old_striplib=
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11597 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11598 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11599   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11600   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11602 $as_echo "yes" >&6; }
11603 else
11604 # FIXME - insert some real tests, host_os isn't really good enough
11605   case $host_os in
11606   darwin*)
11607     if test -n "$STRIP" ; then
11608       striplib="$STRIP -x"
11609       old_striplib="$STRIP -S"
11610       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11611 $as_echo "yes" >&6; }
11612     else
11613       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11615     fi
11616     ;;
11617   *)
11618     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619 $as_echo "no" >&6; }
11620     ;;
11621   esac
11622 fi
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635   # Report which library types will actually be built
11636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11637 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11639 $as_echo "$can_build_shared" >&6; }
11640
11641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11642 $as_echo_n "checking whether to build shared libraries... " >&6; }
11643   test "$can_build_shared" = "no" && enable_shared=no
11644
11645   # On AIX, shared libraries and static libraries use the same namespace, and
11646   # are all built from PIC.
11647   case $host_os in
11648   aix3*)
11649     test "$enable_shared" = yes && enable_static=no
11650     if test -n "$RANLIB"; then
11651       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11652       postinstall_cmds='$RANLIB $lib'
11653     fi
11654     ;;
11655
11656   aix[4-9]*)
11657     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11658       test "$enable_shared" = yes && enable_static=no
11659     fi
11660     ;;
11661   esac
11662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11663 $as_echo "$enable_shared" >&6; }
11664
11665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11666 $as_echo_n "checking whether to build static libraries... " >&6; }
11667   # Make sure either enable_shared or enable_static is yes.
11668   test "$enable_shared" = yes || enable_static=yes
11669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11670 $as_echo "$enable_static" >&6; }
11671
11672
11673
11674
11675 fi
11676 ac_ext=c
11677 ac_cpp='$CPP $CPPFLAGS'
11678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11681
11682 CC="$lt_save_CC"
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698         ac_config_commands="$ac_config_commands libtool"
11699
11700
11701
11702
11703 # Only expand once:
11704
11705
11706
11707 # Checks for libraries.
11708
11709
11710
11711
11712
11713
11714
11715 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11716         if test -n "$ac_tool_prefix"; then
11717   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11718 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11720 $as_echo_n "checking for $ac_word... " >&6; }
11721 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11722   $as_echo_n "(cached) " >&6
11723 else
11724   case $PKG_CONFIG in
11725   [\\/]* | ?:[\\/]*)
11726   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11727   ;;
11728   *)
11729   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11730 for as_dir in $PATH
11731 do
11732   IFS=$as_save_IFS
11733   test -z "$as_dir" && as_dir=.
11734     for ac_exec_ext in '' $ac_executable_extensions; do
11735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11736     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11738     break 2
11739   fi
11740 done
11741   done
11742 IFS=$as_save_IFS
11743
11744   ;;
11745 esac
11746 fi
11747 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11748 if test -n "$PKG_CONFIG"; then
11749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11750 $as_echo "$PKG_CONFIG" >&6; }
11751 else
11752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11754 fi
11755
11756
11757 fi
11758 if test -z "$ac_cv_path_PKG_CONFIG"; then
11759   ac_pt_PKG_CONFIG=$PKG_CONFIG
11760   # Extract the first word of "pkg-config", so it can be a program name with args.
11761 set dummy pkg-config; ac_word=$2
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11763 $as_echo_n "checking for $ac_word... " >&6; }
11764 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11765   $as_echo_n "(cached) " >&6
11766 else
11767   case $ac_pt_PKG_CONFIG in
11768   [\\/]* | ?:[\\/]*)
11769   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11770   ;;
11771   *)
11772   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11774 do
11775   IFS=$as_save_IFS
11776   test -z "$as_dir" && as_dir=.
11777     for ac_exec_ext in '' $ac_executable_extensions; do
11778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11779     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11780     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11781     break 2
11782   fi
11783 done
11784   done
11785 IFS=$as_save_IFS
11786
11787   ;;
11788 esac
11789 fi
11790 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11791 if test -n "$ac_pt_PKG_CONFIG"; then
11792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11793 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11794 else
11795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11796 $as_echo "no" >&6; }
11797 fi
11798
11799   if test "x$ac_pt_PKG_CONFIG" = x; then
11800     PKG_CONFIG=""
11801   else
11802     case $cross_compiling:$ac_tool_warned in
11803 yes:)
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11806 ac_tool_warned=yes ;;
11807 esac
11808     PKG_CONFIG=$ac_pt_PKG_CONFIG
11809   fi
11810 else
11811   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11812 fi
11813
11814 fi
11815 if test -n "$PKG_CONFIG"; then
11816         _pkg_min_version=0.9.0
11817         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11818 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11819         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11820                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11821 $as_echo "yes" >&6; }
11822         else
11823                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11824 $as_echo "no" >&6; }
11825                 PKG_CONFIG=""
11826         fi
11827 fi
11828
11829 pkg_failed=no
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11831 $as_echo_n "checking for GSIGNOND... " >&6; }
11832
11833 if test -n "$GSIGNOND_CFLAGS"; then
11834     pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11835  elif test -n "$PKG_CONFIG"; then
11836     if test -n "$PKG_CONFIG" && \
11837     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11838                    gio-2.0
11839                    gio-unix-2.0
11840                    gmodule-2.0
11841                    sqlite3\""; } >&5
11842   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11843                    gio-2.0
11844                    gio-unix-2.0
11845                    gmodule-2.0
11846                    sqlite3") 2>&5
11847   ac_status=$?
11848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11849   test $ac_status = 0; }; then
11850   pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
11851                    gio-2.0
11852                    gio-unix-2.0
11853                    gmodule-2.0
11854                    sqlite3" 2>/dev/null`
11855                       test "x$?" != "x0" && pkg_failed=yes
11856 else
11857   pkg_failed=yes
11858 fi
11859  else
11860     pkg_failed=untried
11861 fi
11862 if test -n "$GSIGNOND_LIBS"; then
11863     pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
11864  elif test -n "$PKG_CONFIG"; then
11865     if test -n "$PKG_CONFIG" && \
11866     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11867                    gio-2.0
11868                    gio-unix-2.0
11869                    gmodule-2.0
11870                    sqlite3\""; } >&5
11871   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11872                    gio-2.0
11873                    gio-unix-2.0
11874                    gmodule-2.0
11875                    sqlite3") 2>&5
11876   ac_status=$?
11877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11878   test $ac_status = 0; }; then
11879   pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
11880                    gio-2.0
11881                    gio-unix-2.0
11882                    gmodule-2.0
11883                    sqlite3" 2>/dev/null`
11884                       test "x$?" != "x0" && pkg_failed=yes
11885 else
11886   pkg_failed=yes
11887 fi
11888  else
11889     pkg_failed=untried
11890 fi
11891
11892
11893
11894 if test $pkg_failed = yes; then
11895         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11896 $as_echo "no" >&6; }
11897
11898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11899         _pkg_short_errors_supported=yes
11900 else
11901         _pkg_short_errors_supported=no
11902 fi
11903         if test $_pkg_short_errors_supported = yes; then
11904                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
11905                    gio-2.0
11906                    gio-unix-2.0
11907                    gmodule-2.0
11908                    sqlite3" 2>&1`
11909         else
11910                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
11911                    gio-2.0
11912                    gio-unix-2.0
11913                    gmodule-2.0
11914                    sqlite3" 2>&1`
11915         fi
11916         # Put the nasty error message in config.log where it belongs
11917         echo "$GSIGNOND_PKG_ERRORS" >&5
11918
11919         as_fn_error $? "Package requirements (glib-2.0 >= 2.30
11920                    gio-2.0
11921                    gio-unix-2.0
11922                    gmodule-2.0
11923                    sqlite3) were not met:
11924
11925 $GSIGNOND_PKG_ERRORS
11926
11927 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11928 installed software in a non-standard prefix.
11929
11930 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11931 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11932 See the pkg-config man page for more details." "$LINENO" 5
11933 elif test $pkg_failed = untried; then
11934         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11935 $as_echo "no" >&6; }
11936         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11938 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11939 is in your PATH or set the PKG_CONFIG environment variable to the full
11940 path to pkg-config.
11941
11942 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11943 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11944 See the pkg-config man page for more details.
11945
11946 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11947 See \`config.log' for more details" "$LINENO" 5; }
11948 else
11949         GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
11950         GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
11951         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11952 $as_echo "yes" >&6; }
11953
11954 fi
11955
11956
11957
11958
11959 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
11960
11961 pkg_failed=no
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
11963 $as_echo_n "checking for CHECK... " >&6; }
11964
11965 if test -n "$CHECK_CFLAGS"; then
11966     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
11967  elif test -n "$PKG_CONFIG"; then
11968     if test -n "$PKG_CONFIG" && \
11969     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11970   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11971   ac_status=$?
11972   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11973   test $ac_status = 0; }; then
11974   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
11975                       test "x$?" != "x0" && pkg_failed=yes
11976 else
11977   pkg_failed=yes
11978 fi
11979  else
11980     pkg_failed=untried
11981 fi
11982 if test -n "$CHECK_LIBS"; then
11983     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
11984  elif test -n "$PKG_CONFIG"; then
11985     if test -n "$PKG_CONFIG" && \
11986     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11987   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11988   ac_status=$?
11989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11990   test $ac_status = 0; }; then
11991   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
11992                       test "x$?" != "x0" && pkg_failed=yes
11993 else
11994   pkg_failed=yes
11995 fi
11996  else
11997     pkg_failed=untried
11998 fi
11999
12000
12001
12002 if test $pkg_failed = yes; then
12003         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12005
12006 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12007         _pkg_short_errors_supported=yes
12008 else
12009         _pkg_short_errors_supported=no
12010 fi
12011         if test $_pkg_short_errors_supported = yes; then
12012                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12013         else
12014                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12015         fi
12016         # Put the nasty error message in config.log where it belongs
12017         echo "$CHECK_PKG_ERRORS" >&5
12018
12019         have_check=no
12020 elif test $pkg_failed = untried; then
12021         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12022 $as_echo "no" >&6; }
12023         have_check=no
12024 else
12025         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12026         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12027         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12028 $as_echo "yes" >&6; }
12029         have_check=yes
12030 fi
12031
12032
12033
12034
12035 pkg_failed=no
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12037 $as_echo_n "checking for LIBSMACK... " >&6; }
12038
12039 if test -n "$LIBSMACK_CFLAGS"; then
12040     pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12041  elif test -n "$PKG_CONFIG"; then
12042     if test -n "$PKG_CONFIG" && \
12043     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12044   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12045   ac_status=$?
12046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12047   test $ac_status = 0; }; then
12048   pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12049                       test "x$?" != "x0" && pkg_failed=yes
12050 else
12051   pkg_failed=yes
12052 fi
12053  else
12054     pkg_failed=untried
12055 fi
12056 if test -n "$LIBSMACK_LIBS"; then
12057     pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12058  elif test -n "$PKG_CONFIG"; then
12059     if test -n "$PKG_CONFIG" && \
12060     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12061   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12062   ac_status=$?
12063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12064   test $ac_status = 0; }; then
12065   pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12066                       test "x$?" != "x0" && pkg_failed=yes
12067 else
12068   pkg_failed=yes
12069 fi
12070  else
12071     pkg_failed=untried
12072 fi
12073
12074
12075
12076 if test $pkg_failed = yes; then
12077         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 $as_echo "no" >&6; }
12079
12080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12081         _pkg_short_errors_supported=yes
12082 else
12083         _pkg_short_errors_supported=no
12084 fi
12085         if test $_pkg_short_errors_supported = yes; then
12086                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12087         else
12088                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12089         fi
12090         # Put the nasty error message in config.log where it belongs
12091         echo "$LIBSMACK_PKG_ERRORS" >&5
12092
12093         libsmack=no
12094 elif test $pkg_failed = untried; then
12095         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12096 $as_echo "no" >&6; }
12097         libsmack=no
12098 else
12099         LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12100         LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12101         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12102 $as_echo "yes" >&6; }
12103         libsmack=yes
12104 fi
12105  if test x$libsmack = xyes; then
12106   HAVE_LIBSMACK_TRUE=
12107   HAVE_LIBSMACK_FALSE='#'
12108 else
12109   HAVE_LIBSMACK_TRUE='#'
12110   HAVE_LIBSMACK_FALSE=
12111 fi
12112
12113 if test "x$libsmack" = xyes; then
12114
12115 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12116
12117 fi
12118
12119
12120 pkg_failed=no
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12122 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12123
12124 if test -n "$LIBECRYPTFS_CFLAGS"; then
12125     pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12126  elif test -n "$PKG_CONFIG"; then
12127     if test -n "$PKG_CONFIG" && \
12128     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12129   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12130   ac_status=$?
12131   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12132   test $ac_status = 0; }; then
12133   pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12134                       test "x$?" != "x0" && pkg_failed=yes
12135 else
12136   pkg_failed=yes
12137 fi
12138  else
12139     pkg_failed=untried
12140 fi
12141 if test -n "$LIBECRYPTFS_LIBS"; then
12142     pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12143  elif test -n "$PKG_CONFIG"; then
12144     if test -n "$PKG_CONFIG" && \
12145     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12146   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12147   ac_status=$?
12148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12149   test $ac_status = 0; }; then
12150   pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12151                       test "x$?" != "x0" && pkg_failed=yes
12152 else
12153   pkg_failed=yes
12154 fi
12155  else
12156     pkg_failed=untried
12157 fi
12158
12159
12160
12161 if test $pkg_failed = yes; then
12162         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12164
12165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12166         _pkg_short_errors_supported=yes
12167 else
12168         _pkg_short_errors_supported=no
12169 fi
12170         if test $_pkg_short_errors_supported = yes; then
12171                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12172         else
12173                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12174         fi
12175         # Put the nasty error message in config.log where it belongs
12176         echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12177
12178         libecryptfs=no
12179 elif test $pkg_failed = untried; then
12180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12181 $as_echo "no" >&6; }
12182         libecryptfs=no
12183 else
12184         LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12185         LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12186         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12187 $as_echo "yes" >&6; }
12188         libecryptfs=yes
12189 fi
12190  if test x$libecryptfs = xyes; then
12191   HAVE_LIBECRYPTFS_TRUE=
12192   HAVE_LIBECRYPTFS_FALSE='#'
12193 else
12194   HAVE_LIBECRYPTFS_TRUE='#'
12195   HAVE_LIBECRYPTFS_FALSE=
12196 fi
12197
12198 if test "x$libecryptfs" = xes; then
12199
12200 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12201
12202 fi
12203
12204 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12205 set dummy glib-mkenums; ac_word=$2
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12207 $as_echo_n "checking for $ac_word... " >&6; }
12208 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12209   $as_echo_n "(cached) " >&6
12210 else
12211   case $GLIB_MKENUMS in
12212   [\\/]* | ?:[\\/]*)
12213   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12214   ;;
12215   *)
12216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12217 for as_dir in $PATH
12218 do
12219   IFS=$as_save_IFS
12220   test -z "$as_dir" && as_dir=.
12221     for ac_exec_ext in '' $ac_executable_extensions; do
12222   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12223     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12225     break 2
12226   fi
12227 done
12228   done
12229 IFS=$as_save_IFS
12230
12231   ;;
12232 esac
12233 fi
12234 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12235 if test -n "$GLIB_MKENUMS"; then
12236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12237 $as_echo "$GLIB_MKENUMS" >&6; }
12238 else
12239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12240 $as_echo "no" >&6; }
12241 fi
12242
12243
12244
12245 # Check whether --enable-coverage was given.
12246 if test "${enable_coverage+set}" = set; then :
12247   enableval=$enable_coverage;
12248 fi
12249
12250 if test "x$enable_coverage" = "xyes"; then :
12251   CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
12252 fi
12253
12254 # allow fake installations for "distcheck"
12255 # Check whether --enable-distcheck was given.
12256 if test "${enable_distcheck+set}" = set; then :
12257   enableval=$enable_distcheck; enable_distcheck=yes
12258 else
12259   enable_distcheck=no
12260 fi
12261
12262 echo -n "running distcheck... "
12263 echo $enable_distcheck
12264
12265 # Check whether --enable-dbus-type was given.
12266 if test "${enable_dbus_type+set}" = set; then :
12267   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12268 else
12269   enable_dbus_type=p2p
12270 fi
12271
12272 echo "----------------------"
12273 echo " DBUS TYPE : '$enable_dbus_type'"
12274 echo "----------------------"
12275 if test "x$enable_dbus_type" = "xp2p" ; then
12276
12277 $as_echo "#define USE_P2P 1" >>confdefs.h
12278
12279 elif test "x$enable_dbus_type" = "xsession" ; then
12280
12281 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12282
12283     if test "x$enable_distcheck" = "xyes" ; then
12284         DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12285     else
12286         DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12287     fi
12288
12289
12290 pkg_failed=no
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12292 $as_echo_n "checking for GTestDBus... " >&6; }
12293
12294 if test -n "$GTestDBus_CFLAGS"; then
12295     pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12296  elif test -n "$PKG_CONFIG"; then
12297     if test -n "$PKG_CONFIG" && \
12298     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12299   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12300   ac_status=$?
12301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12302   test $ac_status = 0; }; then
12303   pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12304                       test "x$?" != "x0" && pkg_failed=yes
12305 else
12306   pkg_failed=yes
12307 fi
12308  else
12309     pkg_failed=untried
12310 fi
12311 if test -n "$GTestDBus_LIBS"; then
12312     pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12313  elif test -n "$PKG_CONFIG"; then
12314     if test -n "$PKG_CONFIG" && \
12315     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12316   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12317   ac_status=$?
12318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12319   test $ac_status = 0; }; then
12320   pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12321                       test "x$?" != "x0" && pkg_failed=yes
12322 else
12323   pkg_failed=yes
12324 fi
12325  else
12326     pkg_failed=untried
12327 fi
12328
12329
12330
12331 if test $pkg_failed = yes; then
12332         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12334
12335 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12336         _pkg_short_errors_supported=yes
12337 else
12338         _pkg_short_errors_supported=no
12339 fi
12340         if test $_pkg_short_errors_supported = yes; then
12341                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12342         else
12343                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12344         fi
12345         # Put the nasty error message in config.log where it belongs
12346         echo "$GTestDBus_PKG_ERRORS" >&5
12347
12348         gtestdbus=no
12349 elif test $pkg_failed = untried; then
12350         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12351 $as_echo "no" >&6; }
12352         gtestdbus=no
12353 else
12354         GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12355         GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12356         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12357 $as_echo "yes" >&6; }
12358         gtestdbus=yes
12359 fi
12360     if test "x$gtestdbus" = xyes; then
12361
12362 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12363
12364     fi
12365 elif test "x$enable_dbus_type" = "xsystem" ; then
12366
12367 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12368
12369     if test "x$enable_distcheck" = "xyes" ; then
12370         DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12371     else
12372         DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12373     fi
12374 fi
12375 if test "x$enable_dbus_type" != "xp2p" ; then
12376     if test "x$enable_distcheck" = "xyes" ; then
12377         DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12378     else
12379         DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12380     fi
12381 fi
12382
12383 # Check whether --enable-keychain was given.
12384 if test "${enable_keychain+set}" = set; then :
12385   enableval=$enable_keychain; enable_keychain=$enableval
12386 fi
12387
12388 if test "x$enable_keychain" != "x" ; then
12389
12390 cat >>confdefs.h <<_ACEOF
12391 #define KEYCHAIN_SYSCTX "$enable_keychain"
12392 _ACEOF
12393
12394     KEYCHAIN_SYSCTX="#KeychainSystemContext = $enable_keychain"
12395
12396 else
12397     KEYCHAIN_SYSCTX="#KeychainSystemContext = \"\""
12398
12399 fi
12400
12401 # Check whether --enable-storagedir was given.
12402 if test "${enable_storagedir+set}" = set; then :
12403   enableval=$enable_storagedir; enable_storagedir=$enableval
12404 else
12405   enable_storagedir="/var/db"
12406 fi
12407
12408
12409 cat >>confdefs.h <<_ACEOF
12410 #define BASE_STORAGE_DIR "$enable_storagedir"
12411 _ACEOF
12412
12413 BASE_STORAGE_DIR="#StoragePath = $enable_storagedir"
12414
12415
12416 # Check whether --enable-debug was given.
12417 if test "${enable_debug+set}" = set; then :
12418   enableval=$enable_debug; enable_debug=yes
12419 else
12420   enable_debug=no
12421 fi
12422
12423 echo -n "enable debug features... "
12424 echo $enable_debug
12425 if test "x$enable_debug" = "xyes" ; then
12426
12427 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12428
12429     # Check whether --enable-sql-log was given.
12430 if test "${enable_sql_log+set}" = set; then :
12431   enableval=$enable_sql_log; enable_sql_log=yes
12432 else
12433   enable_sql_log=no
12434 fi
12435
12436     echo -n "enable sql log feature... "
12437     echo $enable_sql_log
12438     if test "x$enable_sql_log" = "xyes" ; then
12439
12440 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12441
12442     fi
12443 fi
12444
12445 # Check whether --enable-acltriggers was given.
12446 if test "${enable_acltriggers+set}" = set; then :
12447   enableval=$enable_acltriggers; enable_acl_triggers=yes
12448 else
12449   enable_acl_triggers=no
12450 fi
12451
12452 if test "x$enable_acl_triggers" = "xyes" ; then
12453
12454 $as_echo "#define ENABLE_DB_ACL_TRIGGERS 1" >>confdefs.h
12455
12456 fi
12457
12458  if test x$gtestdbus = xyes; then
12459   USE_GTESTDBUS_TRUE=
12460   USE_GTESTDBUS_FALSE='#'
12461 else
12462   USE_GTESTDBUS_TRUE='#'
12463   USE_GTESTDBUS_FALSE=
12464 fi
12465
12466 MESSAGE_BUS_TYPE=$enable_dbus_type
12467
12468
12469  if test x$enable_debug = xyes; then
12470   HAVE_DEBUG_TRUE=
12471   HAVE_DEBUG_FALSE='#'
12472 else
12473   HAVE_DEBUG_TRUE='#'
12474   HAVE_DEBUG_FALSE=
12475 fi
12476
12477  if test x$enable_distcheck != xyes; then
12478   SET_PERMISSIONS_TRUE=
12479   SET_PERMISSIONS_FALSE='#'
12480 else
12481   SET_PERMISSIONS_TRUE='#'
12482   SET_PERMISSIONS_FALSE=
12483 fi
12484
12485
12486
12487
12488
12489 # gtk-doc
12490
12491
12492
12493   gtk_doc_requires="gtk-doc >= 1.18"
12494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12495 $as_echo_n "checking for gtk-doc... " >&6; }
12496   if test -n "$PKG_CONFIG" && \
12497     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12498   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12499   ac_status=$?
12500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12501   test $ac_status = 0; }; then
12502   have_gtk_doc=yes
12503 else
12504   have_gtk_doc=no
12505 fi
12506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12507 $as_echo "$have_gtk_doc" >&6; }
12508
12509   if test "$have_gtk_doc" = "no"; then
12510       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12511   You will not be able to create source packages with 'make dist'
12512   because $gtk_doc_requires is not found." >&5
12513 $as_echo "$as_me: WARNING:
12514   You will not be able to create source packages with 'make dist'
12515   because $gtk_doc_requires is not found." >&2;}
12516   fi
12517
12518             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12519 set dummy gtkdoc-check; ac_word=$2
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12521 $as_echo_n "checking for $ac_word... " >&6; }
12522 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12523   $as_echo_n "(cached) " >&6
12524 else
12525   if test -n "$GTKDOC_CHECK"; then
12526   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12527 else
12528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12529 for as_dir in $PATH
12530 do
12531   IFS=$as_save_IFS
12532   test -z "$as_dir" && as_dir=.
12533     for ac_exec_ext in '' $ac_executable_extensions; do
12534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12535     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12537     break 2
12538   fi
12539 done
12540   done
12541 IFS=$as_save_IFS
12542
12543 fi
12544 fi
12545 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12546 if test -n "$GTKDOC_CHECK"; then
12547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12548 $as_echo "$GTKDOC_CHECK" >&6; }
12549 else
12550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12551 $as_echo "no" >&6; }
12552 fi
12553
12554
12555   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12556 set dummy gtkdoc-check; ac_word=$2
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12558 $as_echo_n "checking for $ac_word... " >&6; }
12559 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12560   $as_echo_n "(cached) " >&6
12561 else
12562   case $GTKDOC_CHECK_PATH in
12563   [\\/]* | ?:[\\/]*)
12564   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12565   ;;
12566   *)
12567   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12568 for as_dir in $PATH
12569 do
12570   IFS=$as_save_IFS
12571   test -z "$as_dir" && as_dir=.
12572     for ac_exec_ext in '' $ac_executable_extensions; do
12573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12574     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12576     break 2
12577   fi
12578 done
12579   done
12580 IFS=$as_save_IFS
12581
12582   ;;
12583 esac
12584 fi
12585 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12586 if test -n "$GTKDOC_CHECK_PATH"; then
12587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12588 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12589 else
12590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591 $as_echo "no" >&6; }
12592 fi
12593
12594
12595   for ac_prog in gtkdoc-rebase
12596 do
12597   # Extract the first word of "$ac_prog", so it can be a program name with args.
12598 set dummy $ac_prog; ac_word=$2
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12600 $as_echo_n "checking for $ac_word... " >&6; }
12601 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12602   $as_echo_n "(cached) " >&6
12603 else
12604   case $GTKDOC_REBASE in
12605   [\\/]* | ?:[\\/]*)
12606   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12607   ;;
12608   *)
12609   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12610 for as_dir in $PATH
12611 do
12612   IFS=$as_save_IFS
12613   test -z "$as_dir" && as_dir=.
12614     for ac_exec_ext in '' $ac_executable_extensions; do
12615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12616     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12618     break 2
12619   fi
12620 done
12621   done
12622 IFS=$as_save_IFS
12623
12624   ;;
12625 esac
12626 fi
12627 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12628 if test -n "$GTKDOC_REBASE"; then
12629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12630 $as_echo "$GTKDOC_REBASE" >&6; }
12631 else
12632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12633 $as_echo "no" >&6; }
12634 fi
12635
12636
12637   test -n "$GTKDOC_REBASE" && break
12638 done
12639 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12640
12641   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12642 set dummy gtkdoc-mkpdf; ac_word=$2
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12644 $as_echo_n "checking for $ac_word... " >&6; }
12645 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12646   $as_echo_n "(cached) " >&6
12647 else
12648   case $GTKDOC_MKPDF in
12649   [\\/]* | ?:[\\/]*)
12650   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12651   ;;
12652   *)
12653   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12654 for as_dir in $PATH
12655 do
12656   IFS=$as_save_IFS
12657   test -z "$as_dir" && as_dir=.
12658     for ac_exec_ext in '' $ac_executable_extensions; do
12659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12660     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12662     break 2
12663   fi
12664 done
12665   done
12666 IFS=$as_save_IFS
12667
12668   ;;
12669 esac
12670 fi
12671 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12672 if test -n "$GTKDOC_MKPDF"; then
12673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12674 $as_echo "$GTKDOC_MKPDF" >&6; }
12675 else
12676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12678 fi
12679
12680
12681
12682
12683 # Check whether --with-html-dir was given.
12684 if test "${with_html_dir+set}" = set; then :
12685   withval=$with_html_dir;
12686 else
12687   with_html_dir='${datadir}/gtk-doc/html'
12688 fi
12689
12690   HTML_DIR="$with_html_dir"
12691
12692
12693     # Check whether --enable-gtk-doc was given.
12694 if test "${enable_gtk_doc+set}" = set; then :
12695   enableval=$enable_gtk_doc;
12696 else
12697   enable_gtk_doc=no
12698 fi
12699
12700
12701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12702 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12704 $as_echo "$enable_gtk_doc" >&6; }
12705
12706   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12707     as_fn_error $? "
12708   You must have $gtk_doc_requires installed to build documentation for
12709   $PACKAGE_NAME. Please install gtk-doc or disable building the
12710   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12711   fi
12712
12713     if test "x$PACKAGE_NAME" != "xglib"; then
12714
12715 pkg_failed=no
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12717 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12718
12719 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12720     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12721  elif test -n "$PKG_CONFIG"; then
12722     if test -n "$PKG_CONFIG" && \
12723     { { $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
12724   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12725   ac_status=$?
12726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12727   test $ac_status = 0; }; then
12728   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12729                       test "x$?" != "x0" && pkg_failed=yes
12730 else
12731   pkg_failed=yes
12732 fi
12733  else
12734     pkg_failed=untried
12735 fi
12736 if test -n "$GTKDOC_DEPS_LIBS"; then
12737     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12738  elif test -n "$PKG_CONFIG"; then
12739     if test -n "$PKG_CONFIG" && \
12740     { { $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
12741   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12742   ac_status=$?
12743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12744   test $ac_status = 0; }; then
12745   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12746                       test "x$?" != "x0" && pkg_failed=yes
12747 else
12748   pkg_failed=yes
12749 fi
12750  else
12751     pkg_failed=untried
12752 fi
12753
12754
12755
12756 if test $pkg_failed = yes; then
12757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12758 $as_echo "no" >&6; }
12759
12760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12761         _pkg_short_errors_supported=yes
12762 else
12763         _pkg_short_errors_supported=no
12764 fi
12765         if test $_pkg_short_errors_supported = yes; then
12766                 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`
12767         else
12768                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12769         fi
12770         # Put the nasty error message in config.log where it belongs
12771         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12772
12773         :
12774 elif test $pkg_failed = untried; then
12775         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12777         :
12778 else
12779         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12780         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12781         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12782 $as_echo "yes" >&6; }
12783
12784 fi
12785   fi
12786
12787     # Check whether --enable-gtk-doc-html was given.
12788 if test "${enable_gtk_doc_html+set}" = set; then :
12789   enableval=$enable_gtk_doc_html;
12790 else
12791   enable_gtk_doc_html=yes
12792 fi
12793
12794     # Check whether --enable-gtk-doc-pdf was given.
12795 if test "${enable_gtk_doc_pdf+set}" = set; then :
12796   enableval=$enable_gtk_doc_pdf;
12797 else
12798   enable_gtk_doc_pdf=no
12799 fi
12800
12801
12802   if test -z "$GTKDOC_MKPDF"; then
12803     enable_gtk_doc_pdf=no
12804   fi
12805
12806   if test -z "$AM_DEFAULT_VERBOSITY"; then
12807     AM_DEFAULT_VERBOSITY=1
12808   fi
12809
12810
12811    if test x$have_gtk_doc = xyes; then
12812   HAVE_GTK_DOC_TRUE=
12813   HAVE_GTK_DOC_FALSE='#'
12814 else
12815   HAVE_GTK_DOC_TRUE='#'
12816   HAVE_GTK_DOC_FALSE=
12817 fi
12818
12819    if test x$enable_gtk_doc = xyes; then
12820   ENABLE_GTK_DOC_TRUE=
12821   ENABLE_GTK_DOC_FALSE='#'
12822 else
12823   ENABLE_GTK_DOC_TRUE='#'
12824   ENABLE_GTK_DOC_FALSE=
12825 fi
12826
12827    if test x$enable_gtk_doc_html = xyes; then
12828   GTK_DOC_BUILD_HTML_TRUE=
12829   GTK_DOC_BUILD_HTML_FALSE='#'
12830 else
12831   GTK_DOC_BUILD_HTML_TRUE='#'
12832   GTK_DOC_BUILD_HTML_FALSE=
12833 fi
12834
12835    if test x$enable_gtk_doc_pdf = xyes; then
12836   GTK_DOC_BUILD_PDF_TRUE=
12837   GTK_DOC_BUILD_PDF_FALSE='#'
12838 else
12839   GTK_DOC_BUILD_PDF_TRUE='#'
12840   GTK_DOC_BUILD_PDF_FALSE=
12841 fi
12842
12843    if test -n "$LIBTOOL"; then
12844   GTK_DOC_USE_LIBTOOL_TRUE=
12845   GTK_DOC_USE_LIBTOOL_FALSE='#'
12846 else
12847   GTK_DOC_USE_LIBTOOL_TRUE='#'
12848   GTK_DOC_USE_LIBTOOL_FALSE=
12849 fi
12850
12851    if test -n "$GTKDOC_REBASE"; then
12852   GTK_DOC_USE_REBASE_TRUE=
12853   GTK_DOC_USE_REBASE_FALSE='#'
12854 else
12855   GTK_DOC_USE_REBASE_TRUE='#'
12856   GTK_DOC_USE_REBASE_FALSE=
12857 fi
12858
12859
12860
12861 # Checks for header files.
12862 for ac_header in string.h
12863 do :
12864   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12865 if test "x$ac_cv_header_string_h" = xyes; then :
12866   cat >>confdefs.h <<_ACEOF
12867 #define HAVE_STRING_H 1
12868 _ACEOF
12869
12870 fi
12871
12872 done
12873
12874
12875 # Enable feature sets
12876 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
12877
12878 # Checks for typedefs, structures, and compiler characteristics.
12879 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -DG_LOG_DOMAIN=\\\"gsignond\\\""
12880 if test "x$enable_debug" = "xno" ; then
12881     GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Werror"
12882 fi
12883
12884 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
12885
12886 # Checks for library functions.
12887
12888 ac_config_files="$ac_config_files Makefile ${PACKAGE_NAME}.pc ${PACKAGE_NAME}-uninstalled.pc gsignond.conf docs/Makefile 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/gplugind/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"
12889
12890 cat >confcache <<\_ACEOF
12891 # This file is a shell script that caches the results of configure
12892 # tests run on this system so they can be shared between configure
12893 # scripts and configure runs, see configure's option --config-cache.
12894 # It is not useful on other systems.  If it contains results you don't
12895 # want to keep, you may remove or edit it.
12896 #
12897 # config.status only pays attention to the cache file if you give it
12898 # the --recheck option to rerun configure.
12899 #
12900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12902 # following values.
12903
12904 _ACEOF
12905
12906 # The following way of writing the cache mishandles newlines in values,
12907 # but we know of no workaround that is simple, portable, and efficient.
12908 # So, we kill variables containing newlines.
12909 # Ultrix sh set writes to stderr and can't be redirected directly,
12910 # and sets the high bit in the cache file unless we assign to the vars.
12911 (
12912   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12913     eval ac_val=\$$ac_var
12914     case $ac_val in #(
12915     *${as_nl}*)
12916       case $ac_var in #(
12917       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12918 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12919       esac
12920       case $ac_var in #(
12921       _ | IFS | as_nl) ;; #(
12922       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12923       *) { eval $ac_var=; unset $ac_var;} ;;
12924       esac ;;
12925     esac
12926   done
12927
12928   (set) 2>&1 |
12929     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12930     *${as_nl}ac_space=\ *)
12931       # `set' does not quote correctly, so add quotes: double-quote
12932       # substitution turns \\\\ into \\, and sed turns \\ into \.
12933       sed -n \
12934         "s/'/'\\\\''/g;
12935           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12936       ;; #(
12937     *)
12938       # `set' quotes correctly as required by POSIX, so do not add quotes.
12939       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12940       ;;
12941     esac |
12942     sort
12943 ) |
12944   sed '
12945      /^ac_cv_env_/b end
12946      t clear
12947      :clear
12948      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12949      t end
12950      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12951      :end' >>confcache
12952 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12953   if test -w "$cache_file"; then
12954     if test "x$cache_file" != "x/dev/null"; then
12955       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12956 $as_echo "$as_me: updating cache $cache_file" >&6;}
12957       if test ! -f "$cache_file" || test -h "$cache_file"; then
12958         cat confcache >"$cache_file"
12959       else
12960         case $cache_file in #(
12961         */* | ?:*)
12962           mv -f confcache "$cache_file"$$ &&
12963           mv -f "$cache_file"$$ "$cache_file" ;; #(
12964         *)
12965           mv -f confcache "$cache_file" ;;
12966         esac
12967       fi
12968     fi
12969   else
12970     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12971 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12972   fi
12973 fi
12974 rm -f confcache
12975
12976 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12977 # Let make expand exec_prefix.
12978 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12979
12980 DEFS=-DHAVE_CONFIG_H
12981
12982 ac_libobjs=
12983 ac_ltlibobjs=
12984 U=
12985 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12986   # 1. Remove the extension, and $U if already installed.
12987   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12988   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12989   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12990   #    will be set to the directory where LIBOBJS objects are built.
12991   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12992   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12993 done
12994 LIBOBJS=$ac_libobjs
12995
12996 LTLIBOBJS=$ac_ltlibobjs
12997
12998
12999  if test -n "$EXEEXT"; then
13000   am__EXEEXT_TRUE=
13001   am__EXEEXT_FALSE='#'
13002 else
13003   am__EXEEXT_TRUE='#'
13004   am__EXEEXT_FALSE=
13005 fi
13006
13007 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13008   as_fn_error $? "conditional \"AMDEP\" was never defined.
13009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13010 fi
13011 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13012   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13014 fi
13015 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
13016   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
13017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13018 fi
13019 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
13020   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
13021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13022 fi
13023 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
13024   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
13025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13026 fi
13027 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13028   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13030 fi
13031 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13032   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13034 fi
13035 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13036   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13038 fi
13039 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13040   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13042 fi
13043 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13044   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13046 fi
13047 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13048   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13050 fi
13051 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13052   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13054 fi
13055 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13056   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13058 fi
13059
13060 : "${CONFIG_STATUS=./config.status}"
13061 ac_write_fail=0
13062 ac_clean_files_save=$ac_clean_files
13063 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13065 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13066 as_write_fail=0
13067 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13068 #! $SHELL
13069 # Generated by $as_me.
13070 # Run this file to recreate the current configuration.
13071 # Compiler output produced by configure, useful for debugging
13072 # configure, is in config.log if it exists.
13073
13074 debug=false
13075 ac_cs_recheck=false
13076 ac_cs_silent=false
13077
13078 SHELL=\${CONFIG_SHELL-$SHELL}
13079 export SHELL
13080 _ASEOF
13081 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13082 ## -------------------- ##
13083 ## M4sh Initialization. ##
13084 ## -------------------- ##
13085
13086 # Be more Bourne compatible
13087 DUALCASE=1; export DUALCASE # for MKS sh
13088 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13089   emulate sh
13090   NULLCMD=:
13091   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13092   # is contrary to our usage.  Disable this feature.
13093   alias -g '${1+"$@"}'='"$@"'
13094   setopt NO_GLOB_SUBST
13095 else
13096   case `(set -o) 2>/dev/null` in #(
13097   *posix*) :
13098     set -o posix ;; #(
13099   *) :
13100      ;;
13101 esac
13102 fi
13103
13104
13105 as_nl='
13106 '
13107 export as_nl
13108 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13109 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13110 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13111 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13112 # Prefer a ksh shell builtin over an external printf program on Solaris,
13113 # but without wasting forks for bash or zsh.
13114 if test -z "$BASH_VERSION$ZSH_VERSION" \
13115     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13116   as_echo='print -r --'
13117   as_echo_n='print -rn --'
13118 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13119   as_echo='printf %s\n'
13120   as_echo_n='printf %s'
13121 else
13122   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13123     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13124     as_echo_n='/usr/ucb/echo -n'
13125   else
13126     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13127     as_echo_n_body='eval
13128       arg=$1;
13129       case $arg in #(
13130       *"$as_nl"*)
13131         expr "X$arg" : "X\\(.*\\)$as_nl";
13132         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13133       esac;
13134       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13135     '
13136     export as_echo_n_body
13137     as_echo_n='sh -c $as_echo_n_body as_echo'
13138   fi
13139   export as_echo_body
13140   as_echo='sh -c $as_echo_body as_echo'
13141 fi
13142
13143 # The user is always right.
13144 if test "${PATH_SEPARATOR+set}" != set; then
13145   PATH_SEPARATOR=:
13146   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13147     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13148       PATH_SEPARATOR=';'
13149   }
13150 fi
13151
13152
13153 # IFS
13154 # We need space, tab and new line, in precisely that order.  Quoting is
13155 # there to prevent editors from complaining about space-tab.
13156 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13157 # splitting by setting IFS to empty value.)
13158 IFS=" ""        $as_nl"
13159
13160 # Find who we are.  Look in the path if we contain no directory separator.
13161 as_myself=
13162 case $0 in #((
13163   *[\\/]* ) as_myself=$0 ;;
13164   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13165 for as_dir in $PATH
13166 do
13167   IFS=$as_save_IFS
13168   test -z "$as_dir" && as_dir=.
13169     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13170   done
13171 IFS=$as_save_IFS
13172
13173      ;;
13174 esac
13175 # We did not find ourselves, most probably we were run as `sh COMMAND'
13176 # in which case we are not to be found in the path.
13177 if test "x$as_myself" = x; then
13178   as_myself=$0
13179 fi
13180 if test ! -f "$as_myself"; then
13181   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13182   exit 1
13183 fi
13184
13185 # Unset variables that we do not need and which cause bugs (e.g. in
13186 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13187 # suppresses any "Segmentation fault" message there.  '((' could
13188 # trigger a bug in pdksh 5.2.14.
13189 for as_var in BASH_ENV ENV MAIL MAILPATH
13190 do eval test x\${$as_var+set} = xset \
13191   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13192 done
13193 PS1='$ '
13194 PS2='> '
13195 PS4='+ '
13196
13197 # NLS nuisances.
13198 LC_ALL=C
13199 export LC_ALL
13200 LANGUAGE=C
13201 export LANGUAGE
13202
13203 # CDPATH.
13204 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13205
13206
13207 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13208 # ----------------------------------------
13209 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13210 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13211 # script with STATUS, using 1 if that was 0.
13212 as_fn_error ()
13213 {
13214   as_status=$1; test $as_status -eq 0 && as_status=1
13215   if test "$4"; then
13216     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13217     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13218   fi
13219   $as_echo "$as_me: error: $2" >&2
13220   as_fn_exit $as_status
13221 } # as_fn_error
13222
13223
13224 # as_fn_set_status STATUS
13225 # -----------------------
13226 # Set $? to STATUS, without forking.
13227 as_fn_set_status ()
13228 {
13229   return $1
13230 } # as_fn_set_status
13231
13232 # as_fn_exit STATUS
13233 # -----------------
13234 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13235 as_fn_exit ()
13236 {
13237   set +e
13238   as_fn_set_status $1
13239   exit $1
13240 } # as_fn_exit
13241
13242 # as_fn_unset VAR
13243 # ---------------
13244 # Portably unset VAR.
13245 as_fn_unset ()
13246 {
13247   { eval $1=; unset $1;}
13248 }
13249 as_unset=as_fn_unset
13250 # as_fn_append VAR VALUE
13251 # ----------------------
13252 # Append the text in VALUE to the end of the definition contained in VAR. Take
13253 # advantage of any shell optimizations that allow amortized linear growth over
13254 # repeated appends, instead of the typical quadratic growth present in naive
13255 # implementations.
13256 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13257   eval 'as_fn_append ()
13258   {
13259     eval $1+=\$2
13260   }'
13261 else
13262   as_fn_append ()
13263   {
13264     eval $1=\$$1\$2
13265   }
13266 fi # as_fn_append
13267
13268 # as_fn_arith ARG...
13269 # ------------------
13270 # Perform arithmetic evaluation on the ARGs, and store the result in the
13271 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13272 # must be portable across $(()) and expr.
13273 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13274   eval 'as_fn_arith ()
13275   {
13276     as_val=$(( $* ))
13277   }'
13278 else
13279   as_fn_arith ()
13280   {
13281     as_val=`expr "$@" || test $? -eq 1`
13282   }
13283 fi # as_fn_arith
13284
13285
13286 if expr a : '\(a\)' >/dev/null 2>&1 &&
13287    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13288   as_expr=expr
13289 else
13290   as_expr=false
13291 fi
13292
13293 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13294   as_basename=basename
13295 else
13296   as_basename=false
13297 fi
13298
13299 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13300   as_dirname=dirname
13301 else
13302   as_dirname=false
13303 fi
13304
13305 as_me=`$as_basename -- "$0" ||
13306 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13307          X"$0" : 'X\(//\)$' \| \
13308          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13309 $as_echo X/"$0" |
13310     sed '/^.*\/\([^/][^/]*\)\/*$/{
13311             s//\1/
13312             q
13313           }
13314           /^X\/\(\/\/\)$/{
13315             s//\1/
13316             q
13317           }
13318           /^X\/\(\/\).*/{
13319             s//\1/
13320             q
13321           }
13322           s/.*/./; q'`
13323
13324 # Avoid depending upon Character Ranges.
13325 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13326 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13327 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13328 as_cr_digits='0123456789'
13329 as_cr_alnum=$as_cr_Letters$as_cr_digits
13330
13331 ECHO_C= ECHO_N= ECHO_T=
13332 case `echo -n x` in #(((((
13333 -n*)
13334   case `echo 'xy\c'` in
13335   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13336   xy)  ECHO_C='\c';;
13337   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13338        ECHO_T=' ';;
13339   esac;;
13340 *)
13341   ECHO_N='-n';;
13342 esac
13343
13344 rm -f conf$$ conf$$.exe conf$$.file
13345 if test -d conf$$.dir; then
13346   rm -f conf$$.dir/conf$$.file
13347 else
13348   rm -f conf$$.dir
13349   mkdir conf$$.dir 2>/dev/null
13350 fi
13351 if (echo >conf$$.file) 2>/dev/null; then
13352   if ln -s conf$$.file conf$$ 2>/dev/null; then
13353     as_ln_s='ln -s'
13354     # ... but there are two gotchas:
13355     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13356     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13357     # In both cases, we have to default to `cp -p'.
13358     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13359       as_ln_s='cp -p'
13360   elif ln conf$$.file conf$$ 2>/dev/null; then
13361     as_ln_s=ln
13362   else
13363     as_ln_s='cp -p'
13364   fi
13365 else
13366   as_ln_s='cp -p'
13367 fi
13368 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13369 rmdir conf$$.dir 2>/dev/null
13370
13371
13372 # as_fn_mkdir_p
13373 # -------------
13374 # Create "$as_dir" as a directory, including parents if necessary.
13375 as_fn_mkdir_p ()
13376 {
13377
13378   case $as_dir in #(
13379   -*) as_dir=./$as_dir;;
13380   esac
13381   test -d "$as_dir" || eval $as_mkdir_p || {
13382     as_dirs=
13383     while :; do
13384       case $as_dir in #(
13385       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13386       *) as_qdir=$as_dir;;
13387       esac
13388       as_dirs="'$as_qdir' $as_dirs"
13389       as_dir=`$as_dirname -- "$as_dir" ||
13390 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13391          X"$as_dir" : 'X\(//\)[^/]' \| \
13392          X"$as_dir" : 'X\(//\)$' \| \
13393          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13394 $as_echo X"$as_dir" |
13395     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13396             s//\1/
13397             q
13398           }
13399           /^X\(\/\/\)[^/].*/{
13400             s//\1/
13401             q
13402           }
13403           /^X\(\/\/\)$/{
13404             s//\1/
13405             q
13406           }
13407           /^X\(\/\).*/{
13408             s//\1/
13409             q
13410           }
13411           s/.*/./; q'`
13412       test -d "$as_dir" && break
13413     done
13414     test -z "$as_dirs" || eval "mkdir $as_dirs"
13415   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13416
13417
13418 } # as_fn_mkdir_p
13419 if mkdir -p . 2>/dev/null; then
13420   as_mkdir_p='mkdir -p "$as_dir"'
13421 else
13422   test -d ./-p && rmdir ./-p
13423   as_mkdir_p=false
13424 fi
13425
13426 if test -x / >/dev/null 2>&1; then
13427   as_test_x='test -x'
13428 else
13429   if ls -dL / >/dev/null 2>&1; then
13430     as_ls_L_option=L
13431   else
13432     as_ls_L_option=
13433   fi
13434   as_test_x='
13435     eval sh -c '\''
13436       if test -d "$1"; then
13437         test -d "$1/.";
13438       else
13439         case $1 in #(
13440         -*)set "./$1";;
13441         esac;
13442         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13443         ???[sx]*):;;*)false;;esac;fi
13444     '\'' sh
13445   '
13446 fi
13447 as_executable_p=$as_test_x
13448
13449 # Sed expression to map a string onto a valid CPP name.
13450 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13451
13452 # Sed expression to map a string onto a valid variable name.
13453 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13454
13455
13456 exec 6>&1
13457 ## ----------------------------------- ##
13458 ## Main body of $CONFIG_STATUS script. ##
13459 ## ----------------------------------- ##
13460 _ASEOF
13461 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13462
13463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13464 # Save the log message, to keep $0 and so on meaningful, and to
13465 # report actual input values of CONFIG_FILES etc. instead of their
13466 # values after options handling.
13467 ac_log="
13468 This file was extended by gsignond $as_me 1.0.1, which was
13469 generated by GNU Autoconf 2.68.  Invocation command line was
13470
13471   CONFIG_FILES    = $CONFIG_FILES
13472   CONFIG_HEADERS  = $CONFIG_HEADERS
13473   CONFIG_LINKS    = $CONFIG_LINKS
13474   CONFIG_COMMANDS = $CONFIG_COMMANDS
13475   $ $0 $@
13476
13477 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13478 "
13479
13480 _ACEOF
13481
13482 case $ac_config_files in *"
13483 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13484 esac
13485
13486 case $ac_config_headers in *"
13487 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13488 esac
13489
13490
13491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13492 # Files that config.status was made for.
13493 config_files="$ac_config_files"
13494 config_headers="$ac_config_headers"
13495 config_commands="$ac_config_commands"
13496
13497 _ACEOF
13498
13499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13500 ac_cs_usage="\
13501 \`$as_me' instantiates files and other configuration actions
13502 from templates according to the current configuration.  Unless the files
13503 and actions are specified as TAGs, all are instantiated by default.
13504
13505 Usage: $0 [OPTION]... [TAG]...
13506
13507   -h, --help       print this help, then exit
13508   -V, --version    print version number and configuration settings, then exit
13509       --config     print configuration, then exit
13510   -q, --quiet, --silent
13511                    do not print progress messages
13512   -d, --debug      don't remove temporary files
13513       --recheck    update $as_me by reconfiguring in the same conditions
13514       --file=FILE[:TEMPLATE]
13515                    instantiate the configuration file FILE
13516       --header=FILE[:TEMPLATE]
13517                    instantiate the configuration header FILE
13518
13519 Configuration files:
13520 $config_files
13521
13522 Configuration headers:
13523 $config_headers
13524
13525 Configuration commands:
13526 $config_commands
13527
13528 Report bugs to the package provider.
13529 gsignond home page: <http://01.org/gsso>."
13530
13531 _ACEOF
13532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13533 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13534 ac_cs_version="\\
13535 gsignond config.status 1.0.1
13536 configured by $0, generated by GNU Autoconf 2.68,
13537   with options \\"\$ac_cs_config\\"
13538
13539 Copyright (C) 2010 Free Software Foundation, Inc.
13540 This config.status script is free software; the Free Software Foundation
13541 gives unlimited permission to copy, distribute and modify it."
13542
13543 ac_pwd='$ac_pwd'
13544 srcdir='$srcdir'
13545 INSTALL='$INSTALL'
13546 MKDIR_P='$MKDIR_P'
13547 AWK='$AWK'
13548 test -n "\$AWK" || AWK=awk
13549 _ACEOF
13550
13551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13552 # The default lists apply if the user does not specify any file.
13553 ac_need_defaults=:
13554 while test $# != 0
13555 do
13556   case $1 in
13557   --*=?*)
13558     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13559     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13560     ac_shift=:
13561     ;;
13562   --*=)
13563     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13564     ac_optarg=
13565     ac_shift=:
13566     ;;
13567   *)
13568     ac_option=$1
13569     ac_optarg=$2
13570     ac_shift=shift
13571     ;;
13572   esac
13573
13574   case $ac_option in
13575   # Handling of the options.
13576   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13577     ac_cs_recheck=: ;;
13578   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13579     $as_echo "$ac_cs_version"; exit ;;
13580   --config | --confi | --conf | --con | --co | --c )
13581     $as_echo "$ac_cs_config"; exit ;;
13582   --debug | --debu | --deb | --de | --d | -d )
13583     debug=: ;;
13584   --file | --fil | --fi | --f )
13585     $ac_shift
13586     case $ac_optarg in
13587     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13588     '') as_fn_error $? "missing file argument" ;;
13589     esac
13590     as_fn_append CONFIG_FILES " '$ac_optarg'"
13591     ac_need_defaults=false;;
13592   --header | --heade | --head | --hea )
13593     $ac_shift
13594     case $ac_optarg in
13595     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13596     esac
13597     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13598     ac_need_defaults=false;;
13599   --he | --h)
13600     # Conflict between --help and --header
13601     as_fn_error $? "ambiguous option: \`$1'
13602 Try \`$0 --help' for more information.";;
13603   --help | --hel | -h )
13604     $as_echo "$ac_cs_usage"; exit ;;
13605   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13606   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13607     ac_cs_silent=: ;;
13608
13609   # This is an error.
13610   -*) as_fn_error $? "unrecognized option: \`$1'
13611 Try \`$0 --help' for more information." ;;
13612
13613   *) as_fn_append ac_config_targets " $1"
13614      ac_need_defaults=false ;;
13615
13616   esac
13617   shift
13618 done
13619
13620 ac_configure_extra_args=
13621
13622 if $ac_cs_silent; then
13623   exec 6>/dev/null
13624   ac_configure_extra_args="$ac_configure_extra_args --silent"
13625 fi
13626
13627 _ACEOF
13628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13629 if \$ac_cs_recheck; then
13630   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13631   shift
13632   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13633   CONFIG_SHELL='$SHELL'
13634   export CONFIG_SHELL
13635   exec "\$@"
13636 fi
13637
13638 _ACEOF
13639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13640 exec 5>>config.log
13641 {
13642   echo
13643   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13644 ## Running $as_me. ##
13645 _ASBOX
13646   $as_echo "$ac_log"
13647 } >&5
13648
13649 _ACEOF
13650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13651 #
13652 # INIT-COMMANDS
13653 #
13654 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13655
13656
13657 # The HP-UX ksh and POSIX shell print the target directory to stdout
13658 # if CDPATH is set.
13659 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13660
13661 sed_quote_subst='$sed_quote_subst'
13662 double_quote_subst='$double_quote_subst'
13663 delay_variable_subst='$delay_variable_subst'
13664 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13665 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13666 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13667 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13668 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13669 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13670 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13671 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13672 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13673 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13674 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13675 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13676 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13677 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13678 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13679 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13680 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13681 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13682 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13683 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13684 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13685 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13686 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13687 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13688 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13689 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13690 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13691 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13692 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13693 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13694 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13695 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13696 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13697 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13698 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13699 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13700 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13701 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13702 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13703 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13704 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13705 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13706 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13707 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13708 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13709 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13710 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13711 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13712 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13713 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13714 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13715 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13716 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13717 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13718 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13719 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13720 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"`'
13721 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13722 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13723 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13724 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13725 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13726 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13727 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13728 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13729 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13730 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13731 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13732 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13733 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13734 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13735 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13736 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13737 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13738 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13739 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13740 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13741 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13742 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13743 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13744 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13745 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13746 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13747 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13748 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13749 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13750 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13751 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13752 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13753 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13754 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13755 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13756 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13757 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13758 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13759 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13760 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13761 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13762 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13763 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13764 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13765 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13766 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13767 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13768 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13769 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13770 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13771 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13772 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13773 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13774 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13775 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13776 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13777 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13778 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13779 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13780 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13781 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13782 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13783 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13784 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13785 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13786 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13787 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13788 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13789 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13790 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13791 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13792 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13793 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13794
13795 LTCC='$LTCC'
13796 LTCFLAGS='$LTCFLAGS'
13797 compiler='$compiler_DEFAULT'
13798
13799 # A function that is used when there is no print builtin or printf.
13800 func_fallback_echo ()
13801 {
13802   eval 'cat <<_LTECHO_EOF
13803 \$1
13804 _LTECHO_EOF'
13805 }
13806
13807 # Quote evaled strings.
13808 for var in SHELL \
13809 ECHO \
13810 PATH_SEPARATOR \
13811 SED \
13812 GREP \
13813 EGREP \
13814 FGREP \
13815 LD \
13816 NM \
13817 LN_S \
13818 lt_SP2NL \
13819 lt_NL2SP \
13820 reload_flag \
13821 OBJDUMP \
13822 deplibs_check_method \
13823 file_magic_cmd \
13824 file_magic_glob \
13825 want_nocaseglob \
13826 DLLTOOL \
13827 sharedlib_from_linklib_cmd \
13828 AR \
13829 AR_FLAGS \
13830 archiver_list_spec \
13831 STRIP \
13832 RANLIB \
13833 CC \
13834 CFLAGS \
13835 compiler \
13836 lt_cv_sys_global_symbol_pipe \
13837 lt_cv_sys_global_symbol_to_cdecl \
13838 lt_cv_sys_global_symbol_to_c_name_address \
13839 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13840 nm_file_list_spec \
13841 lt_prog_compiler_no_builtin_flag \
13842 lt_prog_compiler_pic \
13843 lt_prog_compiler_wl \
13844 lt_prog_compiler_static \
13845 lt_cv_prog_compiler_c_o \
13846 need_locks \
13847 MANIFEST_TOOL \
13848 DSYMUTIL \
13849 NMEDIT \
13850 LIPO \
13851 OTOOL \
13852 OTOOL64 \
13853 shrext_cmds \
13854 export_dynamic_flag_spec \
13855 whole_archive_flag_spec \
13856 compiler_needs_object \
13857 with_gnu_ld \
13858 allow_undefined_flag \
13859 no_undefined_flag \
13860 hardcode_libdir_flag_spec \
13861 hardcode_libdir_separator \
13862 exclude_expsyms \
13863 include_expsyms \
13864 file_list_spec \
13865 variables_saved_for_relink \
13866 libname_spec \
13867 library_names_spec \
13868 soname_spec \
13869 install_override_mode \
13870 finish_eval \
13871 old_striplib \
13872 striplib; do
13873     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13874     *[\\\\\\\`\\"\\\$]*)
13875       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13876       ;;
13877     *)
13878       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13879       ;;
13880     esac
13881 done
13882
13883 # Double-quote double-evaled strings.
13884 for var in reload_cmds \
13885 old_postinstall_cmds \
13886 old_postuninstall_cmds \
13887 old_archive_cmds \
13888 extract_expsyms_cmds \
13889 old_archive_from_new_cmds \
13890 old_archive_from_expsyms_cmds \
13891 archive_cmds \
13892 archive_expsym_cmds \
13893 module_cmds \
13894 module_expsym_cmds \
13895 export_symbols_cmds \
13896 prelink_cmds \
13897 postlink_cmds \
13898 postinstall_cmds \
13899 postuninstall_cmds \
13900 finish_cmds \
13901 sys_lib_search_path_spec \
13902 sys_lib_dlsearch_path_spec; do
13903     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13904     *[\\\\\\\`\\"\\\$]*)
13905       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13906       ;;
13907     *)
13908       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13909       ;;
13910     esac
13911 done
13912
13913 ac_aux_dir='$ac_aux_dir'
13914 xsi_shell='$xsi_shell'
13915 lt_shell_append='$lt_shell_append'
13916
13917 # See if we are running on zsh, and set the options which allow our
13918 # commands through without removal of \ escapes INIT.
13919 if test -n "\${ZSH_VERSION+set}" ; then
13920    setopt NO_GLOB_SUBST
13921 fi
13922
13923
13924     PACKAGE='$PACKAGE'
13925     VERSION='$VERSION'
13926     TIMESTAMP='$TIMESTAMP'
13927     RM='$RM'
13928     ofile='$ofile'
13929
13930
13931
13932
13933 _ACEOF
13934
13935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13936
13937 # Handling of arguments.
13938 for ac_config_target in $ac_config_targets
13939 do
13940   case $ac_config_target in
13941     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13942     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13943     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13944     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13945     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
13946     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
13947     "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
13948     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
13949     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13950     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
13951     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
13952     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
13953     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
13954     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
13955     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
13956     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
13957     "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
13958     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
13959     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
13960     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
13961     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
13962     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
13963     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
13964     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
13965     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13966     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
13967     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
13968     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
13969     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
13970     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
13971
13972   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13973   esac
13974 done
13975
13976
13977 # If the user did not use the arguments to specify the items to instantiate,
13978 # then the envvar interface is used.  Set only those that are not.
13979 # We use the long form for the default assignment because of an extremely
13980 # bizarre bug on SunOS 4.1.3.
13981 if $ac_need_defaults; then
13982   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13983   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13984   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13985 fi
13986
13987 # Have a temporary directory for convenience.  Make it in the build tree
13988 # simply because there is no reason against having it here, and in addition,
13989 # creating and moving files from /tmp can sometimes cause problems.
13990 # Hook for its removal unless debugging.
13991 # Note that there is a small window in which the directory will not be cleaned:
13992 # after its creation but before its name has been assigned to `$tmp'.
13993 $debug ||
13994 {
13995   tmp= ac_tmp=
13996   trap 'exit_status=$?
13997   : "${ac_tmp:=$tmp}"
13998   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13999 ' 0
14000   trap 'as_fn_exit 1' 1 2 13 15
14001 }
14002 # Create a (secure) tmp directory for tmp files.
14003
14004 {
14005   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14006   test -d "$tmp"
14007 }  ||
14008 {
14009   tmp=./conf$$-$RANDOM
14010   (umask 077 && mkdir "$tmp")
14011 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14012 ac_tmp=$tmp
14013
14014 # Set up the scripts for CONFIG_FILES section.
14015 # No need to generate them if there are no CONFIG_FILES.
14016 # This happens for instance with `./config.status config.h'.
14017 if test -n "$CONFIG_FILES"; then
14018
14019
14020 ac_cr=`echo X | tr X '\015'`
14021 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14022 # But we know of no other shell where ac_cr would be empty at this
14023 # point, so we can use a bashism as a fallback.
14024 if test "x$ac_cr" = x; then
14025   eval ac_cr=\$\'\\r\'
14026 fi
14027 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14028 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14029   ac_cs_awk_cr='\\r'
14030 else
14031   ac_cs_awk_cr=$ac_cr
14032 fi
14033
14034 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14035 _ACEOF
14036
14037
14038 {
14039   echo "cat >conf$$subs.awk <<_ACEOF" &&
14040   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14041   echo "_ACEOF"
14042 } >conf$$subs.sh ||
14043   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14044 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14045 ac_delim='%!_!# '
14046 for ac_last_try in false false false false false :; do
14047   . ./conf$$subs.sh ||
14048     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14049
14050   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14051   if test $ac_delim_n = $ac_delim_num; then
14052     break
14053   elif $ac_last_try; then
14054     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14055   else
14056     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14057   fi
14058 done
14059 rm -f conf$$subs.sh
14060
14061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14062 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14063 _ACEOF
14064 sed -n '
14065 h
14066 s/^/S["/; s/!.*/"]=/
14067 p
14068 g
14069 s/^[^!]*!//
14070 :repl
14071 t repl
14072 s/'"$ac_delim"'$//
14073 t delim
14074 :nl
14075 h
14076 s/\(.\{148\}\)..*/\1/
14077 t more1
14078 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14079 p
14080 n
14081 b repl
14082 :more1
14083 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14084 p
14085 g
14086 s/.\{148\}//
14087 t nl
14088 :delim
14089 h
14090 s/\(.\{148\}\)..*/\1/
14091 t more2
14092 s/["\\]/\\&/g; s/^/"/; s/$/"/
14093 p
14094 b
14095 :more2
14096 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14097 p
14098 g
14099 s/.\{148\}//
14100 t delim
14101 ' <conf$$subs.awk | sed '
14102 /^[^""]/{
14103   N
14104   s/\n//
14105 }
14106 ' >>$CONFIG_STATUS || ac_write_fail=1
14107 rm -f conf$$subs.awk
14108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14109 _ACAWK
14110 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14111   for (key in S) S_is_set[key] = 1
14112   FS = "\a"
14113
14114 }
14115 {
14116   line = $ 0
14117   nfields = split(line, field, "@")
14118   substed = 0
14119   len = length(field[1])
14120   for (i = 2; i < nfields; i++) {
14121     key = field[i]
14122     keylen = length(key)
14123     if (S_is_set[key]) {
14124       value = S[key]
14125       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14126       len += length(value) + length(field[++i])
14127       substed = 1
14128     } else
14129       len += 1 + keylen
14130   }
14131
14132   print line
14133 }
14134
14135 _ACAWK
14136 _ACEOF
14137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14138 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14139   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14140 else
14141   cat
14142 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14143   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14144 _ACEOF
14145
14146 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14147 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14148 # trailing colons and then remove the whole line if VPATH becomes empty
14149 # (actually we leave an empty line to preserve line numbers).
14150 if test "x$srcdir" = x.; then
14151   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14152 h
14153 s///
14154 s/^/:/
14155 s/[      ]*$/:/
14156 s/:\$(srcdir):/:/g
14157 s/:\${srcdir}:/:/g
14158 s/:@srcdir@:/:/g
14159 s/^:*//
14160 s/:*$//
14161 x
14162 s/\(=[   ]*\).*/\1/
14163 G
14164 s/\n//
14165 s/^[^=]*=[       ]*$//
14166 }'
14167 fi
14168
14169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14170 fi # test -n "$CONFIG_FILES"
14171
14172 # Set up the scripts for CONFIG_HEADERS section.
14173 # No need to generate them if there are no CONFIG_HEADERS.
14174 # This happens for instance with `./config.status Makefile'.
14175 if test -n "$CONFIG_HEADERS"; then
14176 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14177 BEGIN {
14178 _ACEOF
14179
14180 # Transform confdefs.h into an awk script `defines.awk', embedded as
14181 # here-document in config.status, that substitutes the proper values into
14182 # config.h.in to produce config.h.
14183
14184 # Create a delimiter string that does not exist in confdefs.h, to ease
14185 # handling of long lines.
14186 ac_delim='%!_!# '
14187 for ac_last_try in false false :; do
14188   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14189   if test -z "$ac_tt"; then
14190     break
14191   elif $ac_last_try; then
14192     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14193   else
14194     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14195   fi
14196 done
14197
14198 # For the awk script, D is an array of macro values keyed by name,
14199 # likewise P contains macro parameters if any.  Preserve backslash
14200 # newline sequences.
14201
14202 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14203 sed -n '
14204 s/.\{148\}/&'"$ac_delim"'/g
14205 t rset
14206 :rset
14207 s/^[     ]*#[    ]*define[       ][      ]*/ /
14208 t def
14209 d
14210 :def
14211 s/\\$//
14212 t bsnl
14213 s/["\\]/\\&/g
14214 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14215 D["\1"]=" \3"/p
14216 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14217 d
14218 :bsnl
14219 s/["\\]/\\&/g
14220 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14221 D["\1"]=" \3\\\\\\n"\\/p
14222 t cont
14223 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14224 t cont
14225 d
14226 :cont
14227 n
14228 s/.\{148\}/&'"$ac_delim"'/g
14229 t clear
14230 :clear
14231 s/\\$//
14232 t bsnlc
14233 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14234 d
14235 :bsnlc
14236 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14237 b cont
14238 ' <confdefs.h | sed '
14239 s/'"$ac_delim"'/"\\\
14240 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14241
14242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14243   for (key in D) D_is_set[key] = 1
14244   FS = "\a"
14245 }
14246 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14247   line = \$ 0
14248   split(line, arg, " ")
14249   if (arg[1] == "#") {
14250     defundef = arg[2]
14251     mac1 = arg[3]
14252   } else {
14253     defundef = substr(arg[1], 2)
14254     mac1 = arg[2]
14255   }
14256   split(mac1, mac2, "(") #)
14257   macro = mac2[1]
14258   prefix = substr(line, 1, index(line, defundef) - 1)
14259   if (D_is_set[macro]) {
14260     # Preserve the white space surrounding the "#".
14261     print prefix "define", macro P[macro] D[macro]
14262     next
14263   } else {
14264     # Replace #undef with comments.  This is necessary, for example,
14265     # in the case of _POSIX_SOURCE, which is predefined and required
14266     # on some systems where configure will not decide to define it.
14267     if (defundef == "undef") {
14268       print "/*", prefix defundef, macro, "*/"
14269       next
14270     }
14271   }
14272 }
14273 { print }
14274 _ACAWK
14275 _ACEOF
14276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14277   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14278 fi # test -n "$CONFIG_HEADERS"
14279
14280
14281 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14282 shift
14283 for ac_tag
14284 do
14285   case $ac_tag in
14286   :[FHLC]) ac_mode=$ac_tag; continue;;
14287   esac
14288   case $ac_mode$ac_tag in
14289   :[FHL]*:*);;
14290   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14291   :[FH]-) ac_tag=-:-;;
14292   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14293   esac
14294   ac_save_IFS=$IFS
14295   IFS=:
14296   set x $ac_tag
14297   IFS=$ac_save_IFS
14298   shift
14299   ac_file=$1
14300   shift
14301
14302   case $ac_mode in
14303   :L) ac_source=$1;;
14304   :[FH])
14305     ac_file_inputs=
14306     for ac_f
14307     do
14308       case $ac_f in
14309       -) ac_f="$ac_tmp/stdin";;
14310       *) # Look for the file first in the build tree, then in the source tree
14311          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14312          # because $ac_f cannot contain `:'.
14313          test -f "$ac_f" ||
14314            case $ac_f in
14315            [\\/$]*) false;;
14316            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14317            esac ||
14318            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14319       esac
14320       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14321       as_fn_append ac_file_inputs " '$ac_f'"
14322     done
14323
14324     # Let's still pretend it is `configure' which instantiates (i.e., don't
14325     # use $as_me), people would be surprised to read:
14326     #    /* config.h.  Generated by config.status.  */
14327     configure_input='Generated from '`
14328           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14329         `' by configure.'
14330     if test x"$ac_file" != x-; then
14331       configure_input="$ac_file.  $configure_input"
14332       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14333 $as_echo "$as_me: creating $ac_file" >&6;}
14334     fi
14335     # Neutralize special characters interpreted by sed in replacement strings.
14336     case $configure_input in #(
14337     *\&* | *\|* | *\\* )
14338        ac_sed_conf_input=`$as_echo "$configure_input" |
14339        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14340     *) ac_sed_conf_input=$configure_input;;
14341     esac
14342
14343     case $ac_tag in
14344     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14345       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14346     esac
14347     ;;
14348   esac
14349
14350   ac_dir=`$as_dirname -- "$ac_file" ||
14351 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14352          X"$ac_file" : 'X\(//\)[^/]' \| \
14353          X"$ac_file" : 'X\(//\)$' \| \
14354          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14355 $as_echo X"$ac_file" |
14356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14357             s//\1/
14358             q
14359           }
14360           /^X\(\/\/\)[^/].*/{
14361             s//\1/
14362             q
14363           }
14364           /^X\(\/\/\)$/{
14365             s//\1/
14366             q
14367           }
14368           /^X\(\/\).*/{
14369             s//\1/
14370             q
14371           }
14372           s/.*/./; q'`
14373   as_dir="$ac_dir"; as_fn_mkdir_p
14374   ac_builddir=.
14375
14376 case "$ac_dir" in
14377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14378 *)
14379   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14380   # A ".." for each directory in $ac_dir_suffix.
14381   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14382   case $ac_top_builddir_sub in
14383   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14384   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14385   esac ;;
14386 esac
14387 ac_abs_top_builddir=$ac_pwd
14388 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14389 # for backward compatibility:
14390 ac_top_builddir=$ac_top_build_prefix
14391
14392 case $srcdir in
14393   .)  # We are building in place.
14394     ac_srcdir=.
14395     ac_top_srcdir=$ac_top_builddir_sub
14396     ac_abs_top_srcdir=$ac_pwd ;;
14397   [\\/]* | ?:[\\/]* )  # Absolute name.
14398     ac_srcdir=$srcdir$ac_dir_suffix;
14399     ac_top_srcdir=$srcdir
14400     ac_abs_top_srcdir=$srcdir ;;
14401   *) # Relative name.
14402     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14403     ac_top_srcdir=$ac_top_build_prefix$srcdir
14404     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14405 esac
14406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14407
14408
14409   case $ac_mode in
14410   :F)
14411   #
14412   # CONFIG_FILE
14413   #
14414
14415   case $INSTALL in
14416   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14417   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14418   esac
14419   ac_MKDIR_P=$MKDIR_P
14420   case $MKDIR_P in
14421   [\\/$]* | ?:[\\/]* ) ;;
14422   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14423   esac
14424 _ACEOF
14425
14426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14427 # If the template does not know about datarootdir, expand it.
14428 # FIXME: This hack should be removed a few years after 2.60.
14429 ac_datarootdir_hack=; ac_datarootdir_seen=
14430 ac_sed_dataroot='
14431 /datarootdir/ {
14432   p
14433   q
14434 }
14435 /@datadir@/p
14436 /@docdir@/p
14437 /@infodir@/p
14438 /@localedir@/p
14439 /@mandir@/p'
14440 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14441 *datarootdir*) ac_datarootdir_seen=yes;;
14442 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14443   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14444 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14445 _ACEOF
14446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14447   ac_datarootdir_hack='
14448   s&@datadir@&$datadir&g
14449   s&@docdir@&$docdir&g
14450   s&@infodir@&$infodir&g
14451   s&@localedir@&$localedir&g
14452   s&@mandir@&$mandir&g
14453   s&\\\${datarootdir}&$datarootdir&g' ;;
14454 esac
14455 _ACEOF
14456
14457 # Neutralize VPATH when `$srcdir' = `.'.
14458 # Shell code in configure.ac might set extrasub.
14459 # FIXME: do we really want to maintain this feature?
14460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14461 ac_sed_extra="$ac_vpsub
14462 $extrasub
14463 _ACEOF
14464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14465 :t
14466 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14467 s|@configure_input@|$ac_sed_conf_input|;t t
14468 s&@top_builddir@&$ac_top_builddir_sub&;t t
14469 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14470 s&@srcdir@&$ac_srcdir&;t t
14471 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14472 s&@top_srcdir@&$ac_top_srcdir&;t t
14473 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14474 s&@builddir@&$ac_builddir&;t t
14475 s&@abs_builddir@&$ac_abs_builddir&;t t
14476 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14477 s&@INSTALL@&$ac_INSTALL&;t t
14478 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14479 $ac_datarootdir_hack
14480 "
14481 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14482   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14483
14484 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14485   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14486   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14487       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14488   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14489 which seems to be undefined.  Please make sure it is defined" >&5
14490 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14491 which seems to be undefined.  Please make sure it is defined" >&2;}
14492
14493   rm -f "$ac_tmp/stdin"
14494   case $ac_file in
14495   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14496   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14497   esac \
14498   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14499  ;;
14500   :H)
14501   #
14502   # CONFIG_HEADER
14503   #
14504   if test x"$ac_file" != x-; then
14505     {
14506       $as_echo "/* $configure_input  */" \
14507       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14508     } >"$ac_tmp/config.h" \
14509       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14510     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14511       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14512 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14513     else
14514       rm -f "$ac_file"
14515       mv "$ac_tmp/config.h" "$ac_file" \
14516         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14517     fi
14518   else
14519     $as_echo "/* $configure_input  */" \
14520       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14521       || as_fn_error $? "could not create -" "$LINENO" 5
14522   fi
14523 # Compute "$ac_file"'s index in $config_headers.
14524 _am_arg="$ac_file"
14525 _am_stamp_count=1
14526 for _am_header in $config_headers :; do
14527   case $_am_header in
14528     $_am_arg | $_am_arg:* )
14529       break ;;
14530     * )
14531       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14532   esac
14533 done
14534 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14535 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14536          X"$_am_arg" : 'X\(//\)[^/]' \| \
14537          X"$_am_arg" : 'X\(//\)$' \| \
14538          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14539 $as_echo X"$_am_arg" |
14540     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14541             s//\1/
14542             q
14543           }
14544           /^X\(\/\/\)[^/].*/{
14545             s//\1/
14546             q
14547           }
14548           /^X\(\/\/\)$/{
14549             s//\1/
14550             q
14551           }
14552           /^X\(\/\).*/{
14553             s//\1/
14554             q
14555           }
14556           s/.*/./; q'`/stamp-h$_am_stamp_count
14557  ;;
14558
14559   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14560 $as_echo "$as_me: executing $ac_file commands" >&6;}
14561  ;;
14562   esac
14563
14564
14565   case $ac_file$ac_mode in
14566     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14567   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14568   # are listed without --file.  Let's play safe and only enable the eval
14569   # if we detect the quoting.
14570   case $CONFIG_FILES in
14571   *\'*) eval set x "$CONFIG_FILES" ;;
14572   *)   set x $CONFIG_FILES ;;
14573   esac
14574   shift
14575   for mf
14576   do
14577     # Strip MF so we end up with the name of the file.
14578     mf=`echo "$mf" | sed -e 's/:.*$//'`
14579     # Check whether this is an Automake generated Makefile or not.
14580     # We used to match only the files named `Makefile.in', but
14581     # some people rename them; so instead we look at the file content.
14582     # Grep'ing the first line is not enough: some people post-process
14583     # each Makefile.in and add a new line on top of each file to say so.
14584     # Grep'ing the whole file is not good either: AIX grep has a line
14585     # limit of 2048, but all sed's we know have understand at least 4000.
14586     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14587       dirpart=`$as_dirname -- "$mf" ||
14588 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14589          X"$mf" : 'X\(//\)[^/]' \| \
14590          X"$mf" : 'X\(//\)$' \| \
14591          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14592 $as_echo X"$mf" |
14593     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14594             s//\1/
14595             q
14596           }
14597           /^X\(\/\/\)[^/].*/{
14598             s//\1/
14599             q
14600           }
14601           /^X\(\/\/\)$/{
14602             s//\1/
14603             q
14604           }
14605           /^X\(\/\).*/{
14606             s//\1/
14607             q
14608           }
14609           s/.*/./; q'`
14610     else
14611       continue
14612     fi
14613     # Extract the definition of DEPDIR, am__include, and am__quote
14614     # from the Makefile without running `make'.
14615     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14616     test -z "$DEPDIR" && continue
14617     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14618     test -z "am__include" && continue
14619     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14620     # When using ansi2knr, U may be empty or an underscore; expand it
14621     U=`sed -n 's/^U = //p' < "$mf"`
14622     # Find all dependency output files, they are included files with
14623     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14624     # simplest approach to changing $(DEPDIR) to its actual value in the
14625     # expansion.
14626     for file in `sed -n "
14627       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14628          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14629       # Make sure the directory exists.
14630       test -f "$dirpart/$file" && continue
14631       fdir=`$as_dirname -- "$file" ||
14632 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14633          X"$file" : 'X\(//\)[^/]' \| \
14634          X"$file" : 'X\(//\)$' \| \
14635          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14636 $as_echo X"$file" |
14637     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14638             s//\1/
14639             q
14640           }
14641           /^X\(\/\/\)[^/].*/{
14642             s//\1/
14643             q
14644           }
14645           /^X\(\/\/\)$/{
14646             s//\1/
14647             q
14648           }
14649           /^X\(\/\).*/{
14650             s//\1/
14651             q
14652           }
14653           s/.*/./; q'`
14654       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14655       # echo "creating $dirpart/$file"
14656       echo '# dummy' > "$dirpart/$file"
14657     done
14658   done
14659 }
14660  ;;
14661     "libtool":C)
14662
14663     # See if we are running on zsh, and set the options which allow our
14664     # commands through without removal of \ escapes.
14665     if test -n "${ZSH_VERSION+set}" ; then
14666       setopt NO_GLOB_SUBST
14667     fi
14668
14669     cfgfile="${ofile}T"
14670     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14671     $RM "$cfgfile"
14672
14673     cat <<_LT_EOF >> "$cfgfile"
14674 #! $SHELL
14675
14676 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14677 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14678 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14679 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14680 #
14681 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14682 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14683 #                 Foundation, Inc.
14684 #   Written by Gordon Matzigkeit, 1996
14685 #
14686 #   This file is part of GNU Libtool.
14687 #
14688 # GNU Libtool is free software; you can redistribute it and/or
14689 # modify it under the terms of the GNU General Public License as
14690 # published by the Free Software Foundation; either version 2 of
14691 # the License, or (at your option) any later version.
14692 #
14693 # As a special exception to the GNU General Public License,
14694 # if you distribute this file as part of a program or library that
14695 # is built using GNU Libtool, you may include this file under the
14696 # same distribution terms that you use for the rest of that program.
14697 #
14698 # GNU Libtool is distributed in the hope that it will be useful,
14699 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14700 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14701 # GNU General Public License for more details.
14702 #
14703 # You should have received a copy of the GNU General Public License
14704 # along with GNU Libtool; see the file COPYING.  If not, a copy
14705 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14706 # obtained by writing to the Free Software Foundation, Inc.,
14707 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14708
14709
14710 # The names of the tagged configurations supported by this script.
14711 available_tags=""
14712
14713 # ### BEGIN LIBTOOL CONFIG
14714
14715 # Which release of libtool.m4 was used?
14716 macro_version=$macro_version
14717 macro_revision=$macro_revision
14718
14719 # Whether or not to build static libraries.
14720 build_old_libs=$enable_static
14721
14722 # Whether or not to build shared libraries.
14723 build_libtool_libs=$enable_shared
14724
14725 # What type of objects to build.
14726 pic_mode=$pic_mode
14727
14728 # Whether or not to optimize for fast installation.
14729 fast_install=$enable_fast_install
14730
14731 # Shell to use when invoking shell scripts.
14732 SHELL=$lt_SHELL
14733
14734 # An echo program that protects backslashes.
14735 ECHO=$lt_ECHO
14736
14737 # The PATH separator for the build system.
14738 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14739
14740 # The host system.
14741 host_alias=$host_alias
14742 host=$host
14743 host_os=$host_os
14744
14745 # The build system.
14746 build_alias=$build_alias
14747 build=$build
14748 build_os=$build_os
14749
14750 # A sed program that does not truncate output.
14751 SED=$lt_SED
14752
14753 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14754 Xsed="\$SED -e 1s/^X//"
14755
14756 # A grep program that handles long lines.
14757 GREP=$lt_GREP
14758
14759 # An ERE matcher.
14760 EGREP=$lt_EGREP
14761
14762 # A literal string matcher.
14763 FGREP=$lt_FGREP
14764
14765 # A BSD- or MS-compatible name lister.
14766 NM=$lt_NM
14767
14768 # Whether we need soft or hard links.
14769 LN_S=$lt_LN_S
14770
14771 # What is the maximum length of a command?
14772 max_cmd_len=$max_cmd_len
14773
14774 # Object file suffix (normally "o").
14775 objext=$ac_objext
14776
14777 # Executable file suffix (normally "").
14778 exeext=$exeext
14779
14780 # whether the shell understands "unset".
14781 lt_unset=$lt_unset
14782
14783 # turn spaces into newlines.
14784 SP2NL=$lt_lt_SP2NL
14785
14786 # turn newlines into spaces.
14787 NL2SP=$lt_lt_NL2SP
14788
14789 # convert \$build file names to \$host format.
14790 to_host_file_cmd=$lt_cv_to_host_file_cmd
14791
14792 # convert \$build files to toolchain format.
14793 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14794
14795 # An object symbol dumper.
14796 OBJDUMP=$lt_OBJDUMP
14797
14798 # Method to check whether dependent libraries are shared objects.
14799 deplibs_check_method=$lt_deplibs_check_method
14800
14801 # Command to use when deplibs_check_method = "file_magic".
14802 file_magic_cmd=$lt_file_magic_cmd
14803
14804 # How to find potential files when deplibs_check_method = "file_magic".
14805 file_magic_glob=$lt_file_magic_glob
14806
14807 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14808 want_nocaseglob=$lt_want_nocaseglob
14809
14810 # DLL creation program.
14811 DLLTOOL=$lt_DLLTOOL
14812
14813 # Command to associate shared and link libraries.
14814 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14815
14816 # The archiver.
14817 AR=$lt_AR
14818
14819 # Flags to create an archive.
14820 AR_FLAGS=$lt_AR_FLAGS
14821
14822 # How to feed a file listing to the archiver.
14823 archiver_list_spec=$lt_archiver_list_spec
14824
14825 # A symbol stripping program.
14826 STRIP=$lt_STRIP
14827
14828 # Commands used to install an old-style archive.
14829 RANLIB=$lt_RANLIB
14830 old_postinstall_cmds=$lt_old_postinstall_cmds
14831 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14832
14833 # Whether to use a lock for old archive extraction.
14834 lock_old_archive_extraction=$lock_old_archive_extraction
14835
14836 # A C compiler.
14837 LTCC=$lt_CC
14838
14839 # LTCC compiler flags.
14840 LTCFLAGS=$lt_CFLAGS
14841
14842 # Take the output of nm and produce a listing of raw symbols and C names.
14843 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14844
14845 # Transform the output of nm in a proper C declaration.
14846 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14847
14848 # Transform the output of nm in a C name address pair.
14849 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14850
14851 # Transform the output of nm in a C name address pair when lib prefix is needed.
14852 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14853
14854 # Specify filename containing input files for \$NM.
14855 nm_file_list_spec=$lt_nm_file_list_spec
14856
14857 # The root where to search for dependent libraries,and in which our libraries should be installed.
14858 lt_sysroot=$lt_sysroot
14859
14860 # The name of the directory that contains temporary libtool files.
14861 objdir=$objdir
14862
14863 # Used to examine libraries when file_magic_cmd begins with "file".
14864 MAGIC_CMD=$MAGIC_CMD
14865
14866 # Must we lock files when doing compilation?
14867 need_locks=$lt_need_locks
14868
14869 # Manifest tool.
14870 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14871
14872 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14873 DSYMUTIL=$lt_DSYMUTIL
14874
14875 # Tool to change global to local symbols on Mac OS X.
14876 NMEDIT=$lt_NMEDIT
14877
14878 # Tool to manipulate fat objects and archives on Mac OS X.
14879 LIPO=$lt_LIPO
14880
14881 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14882 OTOOL=$lt_OTOOL
14883
14884 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14885 OTOOL64=$lt_OTOOL64
14886
14887 # Old archive suffix (normally "a").
14888 libext=$libext
14889
14890 # Shared library suffix (normally ".so").
14891 shrext_cmds=$lt_shrext_cmds
14892
14893 # The commands to extract the exported symbol list from a shared archive.
14894 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14895
14896 # Variables whose values should be saved in libtool wrapper scripts and
14897 # restored at link time.
14898 variables_saved_for_relink=$lt_variables_saved_for_relink
14899
14900 # Do we need the "lib" prefix for modules?
14901 need_lib_prefix=$need_lib_prefix
14902
14903 # Do we need a version for libraries?
14904 need_version=$need_version
14905
14906 # Library versioning type.
14907 version_type=$version_type
14908
14909 # Shared library runtime path variable.
14910 runpath_var=$runpath_var
14911
14912 # Shared library path variable.
14913 shlibpath_var=$shlibpath_var
14914
14915 # Is shlibpath searched before the hard-coded library search path?
14916 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14917
14918 # Format of library name prefix.
14919 libname_spec=$lt_libname_spec
14920
14921 # List of archive names.  First name is the real one, the rest are links.
14922 # The last name is the one that the linker finds with -lNAME
14923 library_names_spec=$lt_library_names_spec
14924
14925 # The coded name of the library, if different from the real name.
14926 soname_spec=$lt_soname_spec
14927
14928 # Permission mode override for installation of shared libraries.
14929 install_override_mode=$lt_install_override_mode
14930
14931 # Command to use after installation of a shared archive.
14932 postinstall_cmds=$lt_postinstall_cmds
14933
14934 # Command to use after uninstallation of a shared archive.
14935 postuninstall_cmds=$lt_postuninstall_cmds
14936
14937 # Commands used to finish a libtool library installation in a directory.
14938 finish_cmds=$lt_finish_cmds
14939
14940 # As "finish_cmds", except a single script fragment to be evaled but
14941 # not shown.
14942 finish_eval=$lt_finish_eval
14943
14944 # Whether we should hardcode library paths into libraries.
14945 hardcode_into_libs=$hardcode_into_libs
14946
14947 # Compile-time system search path for libraries.
14948 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14949
14950 # Run-time system search path for libraries.
14951 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14952
14953 # Whether dlopen is supported.
14954 dlopen_support=$enable_dlopen
14955
14956 # Whether dlopen of programs is supported.
14957 dlopen_self=$enable_dlopen_self
14958
14959 # Whether dlopen of statically linked programs is supported.
14960 dlopen_self_static=$enable_dlopen_self_static
14961
14962 # Commands to strip libraries.
14963 old_striplib=$lt_old_striplib
14964 striplib=$lt_striplib
14965
14966
14967 # The linker used to build libraries.
14968 LD=$lt_LD
14969
14970 # How to create reloadable object files.
14971 reload_flag=$lt_reload_flag
14972 reload_cmds=$lt_reload_cmds
14973
14974 # Commands used to build an old-style archive.
14975 old_archive_cmds=$lt_old_archive_cmds
14976
14977 # A language specific compiler.
14978 CC=$lt_compiler
14979
14980 # Is the compiler the GNU compiler?
14981 with_gcc=$GCC
14982
14983 # Compiler flag to turn off builtin functions.
14984 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14985
14986 # Additional compiler flags for building library objects.
14987 pic_flag=$lt_lt_prog_compiler_pic
14988
14989 # How to pass a linker flag through the compiler.
14990 wl=$lt_lt_prog_compiler_wl
14991
14992 # Compiler flag to prevent dynamic linking.
14993 link_static_flag=$lt_lt_prog_compiler_static
14994
14995 # Does compiler simultaneously support -c and -o options?
14996 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14997
14998 # Whether or not to add -lc for building shared libraries.
14999 build_libtool_need_lc=$archive_cmds_need_lc
15000
15001 # Whether or not to disallow shared libs when runtime libs are static.
15002 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15003
15004 # Compiler flag to allow reflexive dlopens.
15005 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15006
15007 # Compiler flag to generate shared objects directly from archives.
15008 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15009
15010 # Whether the compiler copes with passing no objects directly.
15011 compiler_needs_object=$lt_compiler_needs_object
15012
15013 # Create an old-style archive from a shared archive.
15014 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15015
15016 # Create a temporary old-style archive to link instead of a shared archive.
15017 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15018
15019 # Commands used to build a shared archive.
15020 archive_cmds=$lt_archive_cmds
15021 archive_expsym_cmds=$lt_archive_expsym_cmds
15022
15023 # Commands used to build a loadable module if different from building
15024 # a shared archive.
15025 module_cmds=$lt_module_cmds
15026 module_expsym_cmds=$lt_module_expsym_cmds
15027
15028 # Whether we are building with GNU ld or not.
15029 with_gnu_ld=$lt_with_gnu_ld
15030
15031 # Flag that allows shared libraries with undefined symbols to be built.
15032 allow_undefined_flag=$lt_allow_undefined_flag
15033
15034 # Flag that enforces no undefined symbols.
15035 no_undefined_flag=$lt_no_undefined_flag
15036
15037 # Flag to hardcode \$libdir into a binary during linking.
15038 # This must work even if \$libdir does not exist
15039 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15040
15041 # Whether we need a single "-rpath" flag with a separated argument.
15042 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15043
15044 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15045 # DIR into the resulting binary.
15046 hardcode_direct=$hardcode_direct
15047
15048 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15049 # DIR into the resulting binary and the resulting library dependency is
15050 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15051 # library is relocated.
15052 hardcode_direct_absolute=$hardcode_direct_absolute
15053
15054 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15055 # into the resulting binary.
15056 hardcode_minus_L=$hardcode_minus_L
15057
15058 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15059 # into the resulting binary.
15060 hardcode_shlibpath_var=$hardcode_shlibpath_var
15061
15062 # Set to "yes" if building a shared library automatically hardcodes DIR
15063 # into the library and all subsequent libraries and executables linked
15064 # against it.
15065 hardcode_automatic=$hardcode_automatic
15066
15067 # Set to yes if linker adds runtime paths of dependent libraries
15068 # to runtime path list.
15069 inherit_rpath=$inherit_rpath
15070
15071 # Whether libtool must link a program against all its dependency libraries.
15072 link_all_deplibs=$link_all_deplibs
15073
15074 # Set to "yes" if exported symbols are required.
15075 always_export_symbols=$always_export_symbols
15076
15077 # The commands to list exported symbols.
15078 export_symbols_cmds=$lt_export_symbols_cmds
15079
15080 # Symbols that should not be listed in the preloaded symbols.
15081 exclude_expsyms=$lt_exclude_expsyms
15082
15083 # Symbols that must always be exported.
15084 include_expsyms=$lt_include_expsyms
15085
15086 # Commands necessary for linking programs (against libraries) with templates.
15087 prelink_cmds=$lt_prelink_cmds
15088
15089 # Commands necessary for finishing linking programs.
15090 postlink_cmds=$lt_postlink_cmds
15091
15092 # Specify filename containing input files.
15093 file_list_spec=$lt_file_list_spec
15094
15095 # How to hardcode a shared library path into an executable.
15096 hardcode_action=$hardcode_action
15097
15098 # ### END LIBTOOL CONFIG
15099
15100 _LT_EOF
15101
15102   case $host_os in
15103   aix3*)
15104     cat <<\_LT_EOF >> "$cfgfile"
15105 # AIX sometimes has problems with the GCC collect2 program.  For some
15106 # reason, if we set the COLLECT_NAMES environment variable, the problems
15107 # vanish in a puff of smoke.
15108 if test "X${COLLECT_NAMES+set}" != Xset; then
15109   COLLECT_NAMES=
15110   export COLLECT_NAMES
15111 fi
15112 _LT_EOF
15113     ;;
15114   esac
15115
15116
15117 ltmain="$ac_aux_dir/ltmain.sh"
15118
15119
15120   # We use sed instead of cat because bash on DJGPP gets confused if
15121   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15122   # text mode, it properly converts lines to CR/LF.  This bash problem
15123   # is reportedly fixed, but why not run on old versions too?
15124   sed '$q' "$ltmain" >> "$cfgfile" \
15125      || (rm -f "$cfgfile"; exit 1)
15126
15127   if test x"$xsi_shell" = xyes; then
15128   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15129 func_dirname ()\
15130 {\
15131 \    case ${1} in\
15132 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15133 \      *  ) func_dirname_result="${3}" ;;\
15134 \    esac\
15135 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15136   && mv -f "$cfgfile.tmp" "$cfgfile" \
15137     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15138 test 0 -eq $? || _lt_function_replace_fail=:
15139
15140
15141   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15142 func_basename ()\
15143 {\
15144 \    func_basename_result="${1##*/}"\
15145 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15146   && mv -f "$cfgfile.tmp" "$cfgfile" \
15147     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15148 test 0 -eq $? || _lt_function_replace_fail=:
15149
15150
15151   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15152 func_dirname_and_basename ()\
15153 {\
15154 \    case ${1} in\
15155 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15156 \      *  ) func_dirname_result="${3}" ;;\
15157 \    esac\
15158 \    func_basename_result="${1##*/}"\
15159 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15160   && mv -f "$cfgfile.tmp" "$cfgfile" \
15161     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15162 test 0 -eq $? || _lt_function_replace_fail=:
15163
15164
15165   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15166 func_stripname ()\
15167 {\
15168 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15169 \    # positional parameters, so assign one to ordinary parameter first.\
15170 \    func_stripname_result=${3}\
15171 \    func_stripname_result=${func_stripname_result#"${1}"}\
15172 \    func_stripname_result=${func_stripname_result%"${2}"}\
15173 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15174   && mv -f "$cfgfile.tmp" "$cfgfile" \
15175     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15176 test 0 -eq $? || _lt_function_replace_fail=:
15177
15178
15179   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15180 func_split_long_opt ()\
15181 {\
15182 \    func_split_long_opt_name=${1%%=*}\
15183 \    func_split_long_opt_arg=${1#*=}\
15184 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15185   && mv -f "$cfgfile.tmp" "$cfgfile" \
15186     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15187 test 0 -eq $? || _lt_function_replace_fail=:
15188
15189
15190   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15191 func_split_short_opt ()\
15192 {\
15193 \    func_split_short_opt_arg=${1#??}\
15194 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15195 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15196   && mv -f "$cfgfile.tmp" "$cfgfile" \
15197     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15198 test 0 -eq $? || _lt_function_replace_fail=:
15199
15200
15201   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15202 func_lo2o ()\
15203 {\
15204 \    case ${1} in\
15205 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15206 \      *)    func_lo2o_result=${1} ;;\
15207 \    esac\
15208 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15209   && mv -f "$cfgfile.tmp" "$cfgfile" \
15210     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15211 test 0 -eq $? || _lt_function_replace_fail=:
15212
15213
15214   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15215 func_xform ()\
15216 {\
15217     func_xform_result=${1%.*}.lo\
15218 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15219   && mv -f "$cfgfile.tmp" "$cfgfile" \
15220     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15221 test 0 -eq $? || _lt_function_replace_fail=:
15222
15223
15224   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15225 func_arith ()\
15226 {\
15227     func_arith_result=$(( $* ))\
15228 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15229   && mv -f "$cfgfile.tmp" "$cfgfile" \
15230     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15231 test 0 -eq $? || _lt_function_replace_fail=:
15232
15233
15234   sed -e '/^func_len ()$/,/^} # func_len /c\
15235 func_len ()\
15236 {\
15237     func_len_result=${#1}\
15238 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15239   && mv -f "$cfgfile.tmp" "$cfgfile" \
15240     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15241 test 0 -eq $? || _lt_function_replace_fail=:
15242
15243 fi
15244
15245 if test x"$lt_shell_append" = xyes; then
15246   sed -e '/^func_append ()$/,/^} # func_append /c\
15247 func_append ()\
15248 {\
15249     eval "${1}+=\\${2}"\
15250 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15251   && mv -f "$cfgfile.tmp" "$cfgfile" \
15252     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15253 test 0 -eq $? || _lt_function_replace_fail=:
15254
15255
15256   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15257 func_append_quoted ()\
15258 {\
15259 \    func_quote_for_eval "${2}"\
15260 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15261 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15262   && mv -f "$cfgfile.tmp" "$cfgfile" \
15263     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15264 test 0 -eq $? || _lt_function_replace_fail=:
15265
15266
15267   # Save a `func_append' function call where possible by direct use of '+='
15268   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15269     && mv -f "$cfgfile.tmp" "$cfgfile" \
15270       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15271   test 0 -eq $? || _lt_function_replace_fail=:
15272 else
15273   # Save a `func_append' function call even when '+=' is not available
15274   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15275     && mv -f "$cfgfile.tmp" "$cfgfile" \
15276       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15277   test 0 -eq $? || _lt_function_replace_fail=:
15278 fi
15279
15280 if test x"$_lt_function_replace_fail" = x":"; then
15281   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15282 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15283 fi
15284
15285
15286    mv -f "$cfgfile" "$ofile" ||
15287     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15288   chmod +x "$ofile"
15289
15290  ;;
15291
15292   esac
15293 done # for ac_tag
15294
15295
15296 as_fn_exit 0
15297 _ACEOF
15298 ac_clean_files=$ac_clean_files_save
15299
15300 test $ac_write_fail = 0 ||
15301   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15302
15303
15304 # configure is writing to config.log, and then calls config.status.
15305 # config.status does its own redirection, appending to config.log.
15306 # Unfortunately, on DOS this fails, as config.log is still kept open
15307 # by configure, so config.status won't be able to write to it; its
15308 # output is simply discarded.  So we exec the FD to /dev/null,
15309 # effectively closing config.log, so it can be properly (re)opened and
15310 # appended to by config.status.  When coming back to configure, we
15311 # need to make the FD available again.
15312 if test "$no_create" != yes; then
15313   ac_cs_success=:
15314   ac_config_status_args=
15315   test "$silent" = yes &&
15316     ac_config_status_args="$ac_config_status_args --quiet"
15317   exec 5>/dev/null
15318   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15319   exec 5>>config.log
15320   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15321   # would make configure fail if this is the last instruction.
15322   $ac_cs_success || as_fn_exit 1
15323 fi
15324 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15325   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15326 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15327 fi
15328
15329
15330 if test x$enable_dbus_type != xp2p; then
15331     ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15332
15333 cat >confcache <<\_ACEOF
15334 # This file is a shell script that caches the results of configure
15335 # tests run on this system so they can be shared between configure
15336 # scripts and configure runs, see configure's option --config-cache.
15337 # It is not useful on other systems.  If it contains results you don't
15338 # want to keep, you may remove or edit it.
15339 #
15340 # config.status only pays attention to the cache file if you give it
15341 # the --recheck option to rerun configure.
15342 #
15343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15345 # following values.
15346
15347 _ACEOF
15348
15349 # The following way of writing the cache mishandles newlines in values,
15350 # but we know of no workaround that is simple, portable, and efficient.
15351 # So, we kill variables containing newlines.
15352 # Ultrix sh set writes to stderr and can't be redirected directly,
15353 # and sets the high bit in the cache file unless we assign to the vars.
15354 (
15355   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15356     eval ac_val=\$$ac_var
15357     case $ac_val in #(
15358     *${as_nl}*)
15359       case $ac_var in #(
15360       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15361 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15362       esac
15363       case $ac_var in #(
15364       _ | IFS | as_nl) ;; #(
15365       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15366       *) { eval $ac_var=; unset $ac_var;} ;;
15367       esac ;;
15368     esac
15369   done
15370
15371   (set) 2>&1 |
15372     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15373     *${as_nl}ac_space=\ *)
15374       # `set' does not quote correctly, so add quotes: double-quote
15375       # substitution turns \\\\ into \\, and sed turns \\ into \.
15376       sed -n \
15377         "s/'/'\\\\''/g;
15378           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15379       ;; #(
15380     *)
15381       # `set' quotes correctly as required by POSIX, so do not add quotes.
15382       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15383       ;;
15384     esac |
15385     sort
15386 ) |
15387   sed '
15388      /^ac_cv_env_/b end
15389      t clear
15390      :clear
15391      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15392      t end
15393      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15394      :end' >>confcache
15395 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15396   if test -w "$cache_file"; then
15397     if test "x$cache_file" != "x/dev/null"; then
15398       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15399 $as_echo "$as_me: updating cache $cache_file" >&6;}
15400       if test ! -f "$cache_file" || test -h "$cache_file"; then
15401         cat confcache >"$cache_file"
15402       else
15403         case $cache_file in #(
15404         */* | ?:*)
15405           mv -f confcache "$cache_file"$$ &&
15406           mv -f "$cache_file"$$ "$cache_file" ;; #(
15407         *)
15408           mv -f confcache "$cache_file" ;;
15409         esac
15410       fi
15411     fi
15412   else
15413     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15414 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15415   fi
15416 fi
15417 rm -f confcache
15418
15419 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15420 # Let make expand exec_prefix.
15421 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15422
15423 DEFS=-DHAVE_CONFIG_H
15424
15425 ac_libobjs=
15426 ac_ltlibobjs=
15427 U=
15428 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15429   # 1. Remove the extension, and $U if already installed.
15430   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15431   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15432   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15433   #    will be set to the directory where LIBOBJS objects are built.
15434   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15435   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15436 done
15437 LIBOBJS=$ac_libobjs
15438
15439 LTLIBOBJS=$ac_ltlibobjs
15440
15441
15442  if test -n "$EXEEXT"; then
15443   am__EXEEXT_TRUE=
15444   am__EXEEXT_FALSE='#'
15445 else
15446   am__EXEEXT_TRUE='#'
15447   am__EXEEXT_FALSE=
15448 fi
15449
15450 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15451   as_fn_error $? "conditional \"AMDEP\" was never defined.
15452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15453 fi
15454 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15455   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15457 fi
15458 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15459   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15461 fi
15462 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15463   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15465 fi
15466 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15467   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15469 fi
15470 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
15471   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
15472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15473 fi
15474 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
15475   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
15476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15477 fi
15478 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15479   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15481 fi
15482 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15483   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15485 fi
15486 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15487   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15489 fi
15490 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15491   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15493 fi
15494 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15495   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15497 fi
15498 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15499   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15501 fi
15502 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15503   as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15505 fi
15506
15507 : "${CONFIG_STATUS=./config.status}"
15508 ac_write_fail=0
15509 ac_clean_files_save=$ac_clean_files
15510 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15512 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15513 as_write_fail=0
15514 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15515 #! $SHELL
15516 # Generated by $as_me.
15517 # Run this file to recreate the current configuration.
15518 # Compiler output produced by configure, useful for debugging
15519 # configure, is in config.log if it exists.
15520
15521 debug=false
15522 ac_cs_recheck=false
15523 ac_cs_silent=false
15524
15525 SHELL=\${CONFIG_SHELL-$SHELL}
15526 export SHELL
15527 _ASEOF
15528 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15529 ## -------------------- ##
15530 ## M4sh Initialization. ##
15531 ## -------------------- ##
15532
15533 # Be more Bourne compatible
15534 DUALCASE=1; export DUALCASE # for MKS sh
15535 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15536   emulate sh
15537   NULLCMD=:
15538   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15539   # is contrary to our usage.  Disable this feature.
15540   alias -g '${1+"$@"}'='"$@"'
15541   setopt NO_GLOB_SUBST
15542 else
15543   case `(set -o) 2>/dev/null` in #(
15544   *posix*) :
15545     set -o posix ;; #(
15546   *) :
15547      ;;
15548 esac
15549 fi
15550
15551
15552 as_nl='
15553 '
15554 export as_nl
15555 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15556 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15557 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15559 # Prefer a ksh shell builtin over an external printf program on Solaris,
15560 # but without wasting forks for bash or zsh.
15561 if test -z "$BASH_VERSION$ZSH_VERSION" \
15562     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15563   as_echo='print -r --'
15564   as_echo_n='print -rn --'
15565 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15566   as_echo='printf %s\n'
15567   as_echo_n='printf %s'
15568 else
15569   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15570     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15571     as_echo_n='/usr/ucb/echo -n'
15572   else
15573     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15574     as_echo_n_body='eval
15575       arg=$1;
15576       case $arg in #(
15577       *"$as_nl"*)
15578         expr "X$arg" : "X\\(.*\\)$as_nl";
15579         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15580       esac;
15581       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15582     '
15583     export as_echo_n_body
15584     as_echo_n='sh -c $as_echo_n_body as_echo'
15585   fi
15586   export as_echo_body
15587   as_echo='sh -c $as_echo_body as_echo'
15588 fi
15589
15590 # The user is always right.
15591 if test "${PATH_SEPARATOR+set}" != set; then
15592   PATH_SEPARATOR=:
15593   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15594     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15595       PATH_SEPARATOR=';'
15596   }
15597 fi
15598
15599
15600 # IFS
15601 # We need space, tab and new line, in precisely that order.  Quoting is
15602 # there to prevent editors from complaining about space-tab.
15603 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15604 # splitting by setting IFS to empty value.)
15605 IFS=" ""        $as_nl"
15606
15607 # Find who we are.  Look in the path if we contain no directory separator.
15608 as_myself=
15609 case $0 in #((
15610   *[\\/]* ) as_myself=$0 ;;
15611   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15612 for as_dir in $PATH
15613 do
15614   IFS=$as_save_IFS
15615   test -z "$as_dir" && as_dir=.
15616     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15617   done
15618 IFS=$as_save_IFS
15619
15620      ;;
15621 esac
15622 # We did not find ourselves, most probably we were run as `sh COMMAND'
15623 # in which case we are not to be found in the path.
15624 if test "x$as_myself" = x; then
15625   as_myself=$0
15626 fi
15627 if test ! -f "$as_myself"; then
15628   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15629   exit 1
15630 fi
15631
15632 # Unset variables that we do not need and which cause bugs (e.g. in
15633 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15634 # suppresses any "Segmentation fault" message there.  '((' could
15635 # trigger a bug in pdksh 5.2.14.
15636 for as_var in BASH_ENV ENV MAIL MAILPATH
15637 do eval test x\${$as_var+set} = xset \
15638   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15639 done
15640 PS1='$ '
15641 PS2='> '
15642 PS4='+ '
15643
15644 # NLS nuisances.
15645 LC_ALL=C
15646 export LC_ALL
15647 LANGUAGE=C
15648 export LANGUAGE
15649
15650 # CDPATH.
15651 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15652
15653
15654 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15655 # ----------------------------------------
15656 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15657 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15658 # script with STATUS, using 1 if that was 0.
15659 as_fn_error ()
15660 {
15661   as_status=$1; test $as_status -eq 0 && as_status=1
15662   if test "$4"; then
15663     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15664     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15665   fi
15666   $as_echo "$as_me: error: $2" >&2
15667   as_fn_exit $as_status
15668 } # as_fn_error
15669
15670
15671 # as_fn_set_status STATUS
15672 # -----------------------
15673 # Set $? to STATUS, without forking.
15674 as_fn_set_status ()
15675 {
15676   return $1
15677 } # as_fn_set_status
15678
15679 # as_fn_exit STATUS
15680 # -----------------
15681 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15682 as_fn_exit ()
15683 {
15684   set +e
15685   as_fn_set_status $1
15686   exit $1
15687 } # as_fn_exit
15688
15689 # as_fn_unset VAR
15690 # ---------------
15691 # Portably unset VAR.
15692 as_fn_unset ()
15693 {
15694   { eval $1=; unset $1;}
15695 }
15696 as_unset=as_fn_unset
15697 # as_fn_append VAR VALUE
15698 # ----------------------
15699 # Append the text in VALUE to the end of the definition contained in VAR. Take
15700 # advantage of any shell optimizations that allow amortized linear growth over
15701 # repeated appends, instead of the typical quadratic growth present in naive
15702 # implementations.
15703 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15704   eval 'as_fn_append ()
15705   {
15706     eval $1+=\$2
15707   }'
15708 else
15709   as_fn_append ()
15710   {
15711     eval $1=\$$1\$2
15712   }
15713 fi # as_fn_append
15714
15715 # as_fn_arith ARG...
15716 # ------------------
15717 # Perform arithmetic evaluation on the ARGs, and store the result in the
15718 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15719 # must be portable across $(()) and expr.
15720 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15721   eval 'as_fn_arith ()
15722   {
15723     as_val=$(( $* ))
15724   }'
15725 else
15726   as_fn_arith ()
15727   {
15728     as_val=`expr "$@" || test $? -eq 1`
15729   }
15730 fi # as_fn_arith
15731
15732
15733 if expr a : '\(a\)' >/dev/null 2>&1 &&
15734    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15735   as_expr=expr
15736 else
15737   as_expr=false
15738 fi
15739
15740 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15741   as_basename=basename
15742 else
15743   as_basename=false
15744 fi
15745
15746 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15747   as_dirname=dirname
15748 else
15749   as_dirname=false
15750 fi
15751
15752 as_me=`$as_basename -- "$0" ||
15753 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15754          X"$0" : 'X\(//\)$' \| \
15755          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15756 $as_echo X/"$0" |
15757     sed '/^.*\/\([^/][^/]*\)\/*$/{
15758             s//\1/
15759             q
15760           }
15761           /^X\/\(\/\/\)$/{
15762             s//\1/
15763             q
15764           }
15765           /^X\/\(\/\).*/{
15766             s//\1/
15767             q
15768           }
15769           s/.*/./; q'`
15770
15771 # Avoid depending upon Character Ranges.
15772 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15773 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15774 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15775 as_cr_digits='0123456789'
15776 as_cr_alnum=$as_cr_Letters$as_cr_digits
15777
15778 ECHO_C= ECHO_N= ECHO_T=
15779 case `echo -n x` in #(((((
15780 -n*)
15781   case `echo 'xy\c'` in
15782   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15783   xy)  ECHO_C='\c';;
15784   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15785        ECHO_T=' ';;
15786   esac;;
15787 *)
15788   ECHO_N='-n';;
15789 esac
15790
15791 rm -f conf$$ conf$$.exe conf$$.file
15792 if test -d conf$$.dir; then
15793   rm -f conf$$.dir/conf$$.file
15794 else
15795   rm -f conf$$.dir
15796   mkdir conf$$.dir 2>/dev/null
15797 fi
15798 if (echo >conf$$.file) 2>/dev/null; then
15799   if ln -s conf$$.file conf$$ 2>/dev/null; then
15800     as_ln_s='ln -s'
15801     # ... but there are two gotchas:
15802     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15803     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15804     # In both cases, we have to default to `cp -p'.
15805     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15806       as_ln_s='cp -p'
15807   elif ln conf$$.file conf$$ 2>/dev/null; then
15808     as_ln_s=ln
15809   else
15810     as_ln_s='cp -p'
15811   fi
15812 else
15813   as_ln_s='cp -p'
15814 fi
15815 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15816 rmdir conf$$.dir 2>/dev/null
15817
15818
15819 # as_fn_mkdir_p
15820 # -------------
15821 # Create "$as_dir" as a directory, including parents if necessary.
15822 as_fn_mkdir_p ()
15823 {
15824
15825   case $as_dir in #(
15826   -*) as_dir=./$as_dir;;
15827   esac
15828   test -d "$as_dir" || eval $as_mkdir_p || {
15829     as_dirs=
15830     while :; do
15831       case $as_dir in #(
15832       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15833       *) as_qdir=$as_dir;;
15834       esac
15835       as_dirs="'$as_qdir' $as_dirs"
15836       as_dir=`$as_dirname -- "$as_dir" ||
15837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15838          X"$as_dir" : 'X\(//\)[^/]' \| \
15839          X"$as_dir" : 'X\(//\)$' \| \
15840          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15841 $as_echo X"$as_dir" |
15842     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15843             s//\1/
15844             q
15845           }
15846           /^X\(\/\/\)[^/].*/{
15847             s//\1/
15848             q
15849           }
15850           /^X\(\/\/\)$/{
15851             s//\1/
15852             q
15853           }
15854           /^X\(\/\).*/{
15855             s//\1/
15856             q
15857           }
15858           s/.*/./; q'`
15859       test -d "$as_dir" && break
15860     done
15861     test -z "$as_dirs" || eval "mkdir $as_dirs"
15862   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15863
15864
15865 } # as_fn_mkdir_p
15866 if mkdir -p . 2>/dev/null; then
15867   as_mkdir_p='mkdir -p "$as_dir"'
15868 else
15869   test -d ./-p && rmdir ./-p
15870   as_mkdir_p=false
15871 fi
15872
15873 if test -x / >/dev/null 2>&1; then
15874   as_test_x='test -x'
15875 else
15876   if ls -dL / >/dev/null 2>&1; then
15877     as_ls_L_option=L
15878   else
15879     as_ls_L_option=
15880   fi
15881   as_test_x='
15882     eval sh -c '\''
15883       if test -d "$1"; then
15884         test -d "$1/.";
15885       else
15886         case $1 in #(
15887         -*)set "./$1";;
15888         esac;
15889         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15890         ???[sx]*):;;*)false;;esac;fi
15891     '\'' sh
15892   '
15893 fi
15894 as_executable_p=$as_test_x
15895
15896 # Sed expression to map a string onto a valid CPP name.
15897 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15898
15899 # Sed expression to map a string onto a valid variable name.
15900 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15901
15902
15903 exec 6>&1
15904 ## ----------------------------------- ##
15905 ## Main body of $CONFIG_STATUS script. ##
15906 ## ----------------------------------- ##
15907 _ASEOF
15908 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15909
15910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15911 # Save the log message, to keep $0 and so on meaningful, and to
15912 # report actual input values of CONFIG_FILES etc. instead of their
15913 # values after options handling.
15914 ac_log="
15915 This file was extended by gsignond $as_me 1.0.1, which was
15916 generated by GNU Autoconf 2.68.  Invocation command line was
15917
15918   CONFIG_FILES    = $CONFIG_FILES
15919   CONFIG_HEADERS  = $CONFIG_HEADERS
15920   CONFIG_LINKS    = $CONFIG_LINKS
15921   CONFIG_COMMANDS = $CONFIG_COMMANDS
15922   $ $0 $@
15923
15924 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15925 "
15926
15927 _ACEOF
15928
15929 case $ac_config_files in *"
15930 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15931 esac
15932
15933 case $ac_config_headers in *"
15934 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15935 esac
15936
15937
15938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15939 # Files that config.status was made for.
15940 config_files="$ac_config_files"
15941 config_headers="$ac_config_headers"
15942 config_commands="$ac_config_commands"
15943
15944 _ACEOF
15945
15946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15947 ac_cs_usage="\
15948 \`$as_me' instantiates files and other configuration actions
15949 from templates according to the current configuration.  Unless the files
15950 and actions are specified as TAGs, all are instantiated by default.
15951
15952 Usage: $0 [OPTION]... [TAG]...
15953
15954   -h, --help       print this help, then exit
15955   -V, --version    print version number and configuration settings, then exit
15956       --config     print configuration, then exit
15957   -q, --quiet, --silent
15958                    do not print progress messages
15959   -d, --debug      don't remove temporary files
15960       --recheck    update $as_me by reconfiguring in the same conditions
15961       --file=FILE[:TEMPLATE]
15962                    instantiate the configuration file FILE
15963       --header=FILE[:TEMPLATE]
15964                    instantiate the configuration header FILE
15965
15966 Configuration files:
15967 $config_files
15968
15969 Configuration headers:
15970 $config_headers
15971
15972 Configuration commands:
15973 $config_commands
15974
15975 Report bugs to the package provider.
15976 gsignond home page: <http://01.org/gsso>."
15977
15978 _ACEOF
15979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15980 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15981 ac_cs_version="\\
15982 gsignond config.status 1.0.1
15983 configured by $0, generated by GNU Autoconf 2.68,
15984   with options \\"\$ac_cs_config\\"
15985
15986 Copyright (C) 2010 Free Software Foundation, Inc.
15987 This config.status script is free software; the Free Software Foundation
15988 gives unlimited permission to copy, distribute and modify it."
15989
15990 ac_pwd='$ac_pwd'
15991 srcdir='$srcdir'
15992 INSTALL='$INSTALL'
15993 MKDIR_P='$MKDIR_P'
15994 AWK='$AWK'
15995 test -n "\$AWK" || AWK=awk
15996 _ACEOF
15997
15998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15999 # The default lists apply if the user does not specify any file.
16000 ac_need_defaults=:
16001 while test $# != 0
16002 do
16003   case $1 in
16004   --*=?*)
16005     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16006     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16007     ac_shift=:
16008     ;;
16009   --*=)
16010     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16011     ac_optarg=
16012     ac_shift=:
16013     ;;
16014   *)
16015     ac_option=$1
16016     ac_optarg=$2
16017     ac_shift=shift
16018     ;;
16019   esac
16020
16021   case $ac_option in
16022   # Handling of the options.
16023   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16024     ac_cs_recheck=: ;;
16025   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16026     $as_echo "$ac_cs_version"; exit ;;
16027   --config | --confi | --conf | --con | --co | --c )
16028     $as_echo "$ac_cs_config"; exit ;;
16029   --debug | --debu | --deb | --de | --d | -d )
16030     debug=: ;;
16031   --file | --fil | --fi | --f )
16032     $ac_shift
16033     case $ac_optarg in
16034     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16035     '') as_fn_error $? "missing file argument" ;;
16036     esac
16037     as_fn_append CONFIG_FILES " '$ac_optarg'"
16038     ac_need_defaults=false;;
16039   --header | --heade | --head | --hea )
16040     $ac_shift
16041     case $ac_optarg in
16042     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16043     esac
16044     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16045     ac_need_defaults=false;;
16046   --he | --h)
16047     # Conflict between --help and --header
16048     as_fn_error $? "ambiguous option: \`$1'
16049 Try \`$0 --help' for more information.";;
16050   --help | --hel | -h )
16051     $as_echo "$ac_cs_usage"; exit ;;
16052   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16053   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16054     ac_cs_silent=: ;;
16055
16056   # This is an error.
16057   -*) as_fn_error $? "unrecognized option: \`$1'
16058 Try \`$0 --help' for more information." ;;
16059
16060   *) as_fn_append ac_config_targets " $1"
16061      ac_need_defaults=false ;;
16062
16063   esac
16064   shift
16065 done
16066
16067 ac_configure_extra_args=
16068
16069 if $ac_cs_silent; then
16070   exec 6>/dev/null
16071   ac_configure_extra_args="$ac_configure_extra_args --silent"
16072 fi
16073
16074 _ACEOF
16075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16076 if \$ac_cs_recheck; then
16077   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16078   shift
16079   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16080   CONFIG_SHELL='$SHELL'
16081   export CONFIG_SHELL
16082   exec "\$@"
16083 fi
16084
16085 _ACEOF
16086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16087 exec 5>>config.log
16088 {
16089   echo
16090   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16091 ## Running $as_me. ##
16092 _ASBOX
16093   $as_echo "$ac_log"
16094 } >&5
16095
16096 _ACEOF
16097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16098 #
16099 # INIT-COMMANDS
16100 #
16101 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16102
16103
16104 # The HP-UX ksh and POSIX shell print the target directory to stdout
16105 # if CDPATH is set.
16106 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16107
16108 sed_quote_subst='$sed_quote_subst'
16109 double_quote_subst='$double_quote_subst'
16110 delay_variable_subst='$delay_variable_subst'
16111 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16112 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16113 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16114 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16115 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16116 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16117 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16118 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16119 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16120 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16121 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16122 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16123 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16124 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16125 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16126 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16127 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16128 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16129 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16130 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16131 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16132 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16133 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16134 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16135 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16136 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16137 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16138 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16139 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16140 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16141 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16142 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16143 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16144 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16145 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16146 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16147 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16148 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16149 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16150 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16151 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16152 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16153 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16154 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16155 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16156 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16157 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16158 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16159 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16160 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16161 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16162 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16163 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16164 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16165 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16166 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16167 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"`'
16168 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16169 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16170 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16171 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16172 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16173 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16174 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16175 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16176 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16177 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16178 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16179 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16180 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16181 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16182 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16183 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16184 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16185 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16186 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16187 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16188 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16189 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16190 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16191 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16192 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16193 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16194 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16195 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16196 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16197 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16198 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16199 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16200 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16201 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16202 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16203 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16204 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16205 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16206 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16207 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16208 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16209 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16210 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16211 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16212 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16213 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16214 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16215 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16216 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16217 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16218 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16219 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16220 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16221 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16222 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16223 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16224 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16225 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16226 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16227 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16228 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16229 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16230 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16231 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16232 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16233 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16234 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16235 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16236 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16237 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16238 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16239 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16240 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16241
16242 LTCC='$LTCC'
16243 LTCFLAGS='$LTCFLAGS'
16244 compiler='$compiler_DEFAULT'
16245
16246 # A function that is used when there is no print builtin or printf.
16247 func_fallback_echo ()
16248 {
16249   eval 'cat <<_LTECHO_EOF
16250 \$1
16251 _LTECHO_EOF'
16252 }
16253
16254 # Quote evaled strings.
16255 for var in SHELL \
16256 ECHO \
16257 PATH_SEPARATOR \
16258 SED \
16259 GREP \
16260 EGREP \
16261 FGREP \
16262 LD \
16263 NM \
16264 LN_S \
16265 lt_SP2NL \
16266 lt_NL2SP \
16267 reload_flag \
16268 OBJDUMP \
16269 deplibs_check_method \
16270 file_magic_cmd \
16271 file_magic_glob \
16272 want_nocaseglob \
16273 DLLTOOL \
16274 sharedlib_from_linklib_cmd \
16275 AR \
16276 AR_FLAGS \
16277 archiver_list_spec \
16278 STRIP \
16279 RANLIB \
16280 CC \
16281 CFLAGS \
16282 compiler \
16283 lt_cv_sys_global_symbol_pipe \
16284 lt_cv_sys_global_symbol_to_cdecl \
16285 lt_cv_sys_global_symbol_to_c_name_address \
16286 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16287 nm_file_list_spec \
16288 lt_prog_compiler_no_builtin_flag \
16289 lt_prog_compiler_pic \
16290 lt_prog_compiler_wl \
16291 lt_prog_compiler_static \
16292 lt_cv_prog_compiler_c_o \
16293 need_locks \
16294 MANIFEST_TOOL \
16295 DSYMUTIL \
16296 NMEDIT \
16297 LIPO \
16298 OTOOL \
16299 OTOOL64 \
16300 shrext_cmds \
16301 export_dynamic_flag_spec \
16302 whole_archive_flag_spec \
16303 compiler_needs_object \
16304 with_gnu_ld \
16305 allow_undefined_flag \
16306 no_undefined_flag \
16307 hardcode_libdir_flag_spec \
16308 hardcode_libdir_separator \
16309 exclude_expsyms \
16310 include_expsyms \
16311 file_list_spec \
16312 variables_saved_for_relink \
16313 libname_spec \
16314 library_names_spec \
16315 soname_spec \
16316 install_override_mode \
16317 finish_eval \
16318 old_striplib \
16319 striplib; do
16320     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16321     *[\\\\\\\`\\"\\\$]*)
16322       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16323       ;;
16324     *)
16325       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16326       ;;
16327     esac
16328 done
16329
16330 # Double-quote double-evaled strings.
16331 for var in reload_cmds \
16332 old_postinstall_cmds \
16333 old_postuninstall_cmds \
16334 old_archive_cmds \
16335 extract_expsyms_cmds \
16336 old_archive_from_new_cmds \
16337 old_archive_from_expsyms_cmds \
16338 archive_cmds \
16339 archive_expsym_cmds \
16340 module_cmds \
16341 module_expsym_cmds \
16342 export_symbols_cmds \
16343 prelink_cmds \
16344 postlink_cmds \
16345 postinstall_cmds \
16346 postuninstall_cmds \
16347 finish_cmds \
16348 sys_lib_search_path_spec \
16349 sys_lib_dlsearch_path_spec; do
16350     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16351     *[\\\\\\\`\\"\\\$]*)
16352       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16353       ;;
16354     *)
16355       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16356       ;;
16357     esac
16358 done
16359
16360 ac_aux_dir='$ac_aux_dir'
16361 xsi_shell='$xsi_shell'
16362 lt_shell_append='$lt_shell_append'
16363
16364 # See if we are running on zsh, and set the options which allow our
16365 # commands through without removal of \ escapes INIT.
16366 if test -n "\${ZSH_VERSION+set}" ; then
16367    setopt NO_GLOB_SUBST
16368 fi
16369
16370
16371     PACKAGE='$PACKAGE'
16372     VERSION='$VERSION'
16373     TIMESTAMP='$TIMESTAMP'
16374     RM='$RM'
16375     ofile='$ofile'
16376
16377 ac_aux_dir='$ac_aux_dir'
16378
16379
16380
16381 _ACEOF
16382
16383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16384
16385 # Handling of arguments.
16386 for ac_config_target in $ac_config_targets
16387 do
16388   case $ac_config_target in
16389     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16390     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16391     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16392     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16393     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16394     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16395     "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
16396     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16397     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16398     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16399     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16400     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16401     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16402     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16403     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16404     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16405     "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
16406     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16407     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16408     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16409     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16410     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16411     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16412     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16413     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16414     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16415     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16416     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16417     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16418     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16419     "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16420
16421   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16422   esac
16423 done
16424
16425
16426 # If the user did not use the arguments to specify the items to instantiate,
16427 # then the envvar interface is used.  Set only those that are not.
16428 # We use the long form for the default assignment because of an extremely
16429 # bizarre bug on SunOS 4.1.3.
16430 if $ac_need_defaults; then
16431   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16432   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16433   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16434 fi
16435
16436 # Have a temporary directory for convenience.  Make it in the build tree
16437 # simply because there is no reason against having it here, and in addition,
16438 # creating and moving files from /tmp can sometimes cause problems.
16439 # Hook for its removal unless debugging.
16440 # Note that there is a small window in which the directory will not be cleaned:
16441 # after its creation but before its name has been assigned to `$tmp'.
16442 $debug ||
16443 {
16444   tmp= ac_tmp=
16445   trap 'exit_status=$?
16446   : "${ac_tmp:=$tmp}"
16447   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16448 ' 0
16449   trap 'as_fn_exit 1' 1 2 13 15
16450 }
16451 # Create a (secure) tmp directory for tmp files.
16452
16453 {
16454   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16455   test -d "$tmp"
16456 }  ||
16457 {
16458   tmp=./conf$$-$RANDOM
16459   (umask 077 && mkdir "$tmp")
16460 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16461 ac_tmp=$tmp
16462
16463 # Set up the scripts for CONFIG_FILES section.
16464 # No need to generate them if there are no CONFIG_FILES.
16465 # This happens for instance with `./config.status config.h'.
16466 if test -n "$CONFIG_FILES"; then
16467
16468
16469 ac_cr=`echo X | tr X '\015'`
16470 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16471 # But we know of no other shell where ac_cr would be empty at this
16472 # point, so we can use a bashism as a fallback.
16473 if test "x$ac_cr" = x; then
16474   eval ac_cr=\$\'\\r\'
16475 fi
16476 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16477 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16478   ac_cs_awk_cr='\\r'
16479 else
16480   ac_cs_awk_cr=$ac_cr
16481 fi
16482
16483 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16484 _ACEOF
16485
16486
16487 {
16488   echo "cat >conf$$subs.awk <<_ACEOF" &&
16489   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16490   echo "_ACEOF"
16491 } >conf$$subs.sh ||
16492   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16493 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16494 ac_delim='%!_!# '
16495 for ac_last_try in false false false false false :; do
16496   . ./conf$$subs.sh ||
16497     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16498
16499   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16500   if test $ac_delim_n = $ac_delim_num; then
16501     break
16502   elif $ac_last_try; then
16503     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16504   else
16505     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16506   fi
16507 done
16508 rm -f conf$$subs.sh
16509
16510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16511 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16512 _ACEOF
16513 sed -n '
16514 h
16515 s/^/S["/; s/!.*/"]=/
16516 p
16517 g
16518 s/^[^!]*!//
16519 :repl
16520 t repl
16521 s/'"$ac_delim"'$//
16522 t delim
16523 :nl
16524 h
16525 s/\(.\{148\}\)..*/\1/
16526 t more1
16527 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16528 p
16529 n
16530 b repl
16531 :more1
16532 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16533 p
16534 g
16535 s/.\{148\}//
16536 t nl
16537 :delim
16538 h
16539 s/\(.\{148\}\)..*/\1/
16540 t more2
16541 s/["\\]/\\&/g; s/^/"/; s/$/"/
16542 p
16543 b
16544 :more2
16545 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16546 p
16547 g
16548 s/.\{148\}//
16549 t delim
16550 ' <conf$$subs.awk | sed '
16551 /^[^""]/{
16552   N
16553   s/\n//
16554 }
16555 ' >>$CONFIG_STATUS || ac_write_fail=1
16556 rm -f conf$$subs.awk
16557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16558 _ACAWK
16559 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16560   for (key in S) S_is_set[key] = 1
16561   FS = "\a"
16562
16563 }
16564 {
16565   line = $ 0
16566   nfields = split(line, field, "@")
16567   substed = 0
16568   len = length(field[1])
16569   for (i = 2; i < nfields; i++) {
16570     key = field[i]
16571     keylen = length(key)
16572     if (S_is_set[key]) {
16573       value = S[key]
16574       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16575       len += length(value) + length(field[++i])
16576       substed = 1
16577     } else
16578       len += 1 + keylen
16579   }
16580
16581   print line
16582 }
16583
16584 _ACAWK
16585 _ACEOF
16586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16587 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16588   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16589 else
16590   cat
16591 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16592   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16593 _ACEOF
16594
16595 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16596 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16597 # trailing colons and then remove the whole line if VPATH becomes empty
16598 # (actually we leave an empty line to preserve line numbers).
16599 if test "x$srcdir" = x.; then
16600   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16601 h
16602 s///
16603 s/^/:/
16604 s/[      ]*$/:/
16605 s/:\$(srcdir):/:/g
16606 s/:\${srcdir}:/:/g
16607 s/:@srcdir@:/:/g
16608 s/^:*//
16609 s/:*$//
16610 x
16611 s/\(=[   ]*\).*/\1/
16612 G
16613 s/\n//
16614 s/^[^=]*=[       ]*$//
16615 }'
16616 fi
16617
16618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16619 fi # test -n "$CONFIG_FILES"
16620
16621 # Set up the scripts for CONFIG_HEADERS section.
16622 # No need to generate them if there are no CONFIG_HEADERS.
16623 # This happens for instance with `./config.status Makefile'.
16624 if test -n "$CONFIG_HEADERS"; then
16625 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16626 BEGIN {
16627 _ACEOF
16628
16629 # Transform confdefs.h into an awk script `defines.awk', embedded as
16630 # here-document in config.status, that substitutes the proper values into
16631 # config.h.in to produce config.h.
16632
16633 # Create a delimiter string that does not exist in confdefs.h, to ease
16634 # handling of long lines.
16635 ac_delim='%!_!# '
16636 for ac_last_try in false false :; do
16637   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16638   if test -z "$ac_tt"; then
16639     break
16640   elif $ac_last_try; then
16641     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16642   else
16643     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16644   fi
16645 done
16646
16647 # For the awk script, D is an array of macro values keyed by name,
16648 # likewise P contains macro parameters if any.  Preserve backslash
16649 # newline sequences.
16650
16651 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16652 sed -n '
16653 s/.\{148\}/&'"$ac_delim"'/g
16654 t rset
16655 :rset
16656 s/^[     ]*#[    ]*define[       ][      ]*/ /
16657 t def
16658 d
16659 :def
16660 s/\\$//
16661 t bsnl
16662 s/["\\]/\\&/g
16663 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16664 D["\1"]=" \3"/p
16665 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16666 d
16667 :bsnl
16668 s/["\\]/\\&/g
16669 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16670 D["\1"]=" \3\\\\\\n"\\/p
16671 t cont
16672 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16673 t cont
16674 d
16675 :cont
16676 n
16677 s/.\{148\}/&'"$ac_delim"'/g
16678 t clear
16679 :clear
16680 s/\\$//
16681 t bsnlc
16682 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16683 d
16684 :bsnlc
16685 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16686 b cont
16687 ' <confdefs.h | sed '
16688 s/'"$ac_delim"'/"\\\
16689 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16690
16691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16692   for (key in D) D_is_set[key] = 1
16693   FS = "\a"
16694 }
16695 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16696   line = \$ 0
16697   split(line, arg, " ")
16698   if (arg[1] == "#") {
16699     defundef = arg[2]
16700     mac1 = arg[3]
16701   } else {
16702     defundef = substr(arg[1], 2)
16703     mac1 = arg[2]
16704   }
16705   split(mac1, mac2, "(") #)
16706   macro = mac2[1]
16707   prefix = substr(line, 1, index(line, defundef) - 1)
16708   if (D_is_set[macro]) {
16709     # Preserve the white space surrounding the "#".
16710     print prefix "define", macro P[macro] D[macro]
16711     next
16712   } else {
16713     # Replace #undef with comments.  This is necessary, for example,
16714     # in the case of _POSIX_SOURCE, which is predefined and required
16715     # on some systems where configure will not decide to define it.
16716     if (defundef == "undef") {
16717       print "/*", prefix defundef, macro, "*/"
16718       next
16719     }
16720   }
16721 }
16722 { print }
16723 _ACAWK
16724 _ACEOF
16725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16726   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16727 fi # test -n "$CONFIG_HEADERS"
16728
16729
16730 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16731 shift
16732 for ac_tag
16733 do
16734   case $ac_tag in
16735   :[FHLC]) ac_mode=$ac_tag; continue;;
16736   esac
16737   case $ac_mode$ac_tag in
16738   :[FHL]*:*);;
16739   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16740   :[FH]-) ac_tag=-:-;;
16741   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16742   esac
16743   ac_save_IFS=$IFS
16744   IFS=:
16745   set x $ac_tag
16746   IFS=$ac_save_IFS
16747   shift
16748   ac_file=$1
16749   shift
16750
16751   case $ac_mode in
16752   :L) ac_source=$1;;
16753   :[FH])
16754     ac_file_inputs=
16755     for ac_f
16756     do
16757       case $ac_f in
16758       -) ac_f="$ac_tmp/stdin";;
16759       *) # Look for the file first in the build tree, then in the source tree
16760          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16761          # because $ac_f cannot contain `:'.
16762          test -f "$ac_f" ||
16763            case $ac_f in
16764            [\\/$]*) false;;
16765            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16766            esac ||
16767            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16768       esac
16769       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16770       as_fn_append ac_file_inputs " '$ac_f'"
16771     done
16772
16773     # Let's still pretend it is `configure' which instantiates (i.e., don't
16774     # use $as_me), people would be surprised to read:
16775     #    /* config.h.  Generated by config.status.  */
16776     configure_input='Generated from '`
16777           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16778         `' by configure.'
16779     if test x"$ac_file" != x-; then
16780       configure_input="$ac_file.  $configure_input"
16781       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16782 $as_echo "$as_me: creating $ac_file" >&6;}
16783     fi
16784     # Neutralize special characters interpreted by sed in replacement strings.
16785     case $configure_input in #(
16786     *\&* | *\|* | *\\* )
16787        ac_sed_conf_input=`$as_echo "$configure_input" |
16788        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16789     *) ac_sed_conf_input=$configure_input;;
16790     esac
16791
16792     case $ac_tag in
16793     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16794       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16795     esac
16796     ;;
16797   esac
16798
16799   ac_dir=`$as_dirname -- "$ac_file" ||
16800 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16801          X"$ac_file" : 'X\(//\)[^/]' \| \
16802          X"$ac_file" : 'X\(//\)$' \| \
16803          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16804 $as_echo X"$ac_file" |
16805     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16806             s//\1/
16807             q
16808           }
16809           /^X\(\/\/\)[^/].*/{
16810             s//\1/
16811             q
16812           }
16813           /^X\(\/\/\)$/{
16814             s//\1/
16815             q
16816           }
16817           /^X\(\/\).*/{
16818             s//\1/
16819             q
16820           }
16821           s/.*/./; q'`
16822   as_dir="$ac_dir"; as_fn_mkdir_p
16823   ac_builddir=.
16824
16825 case "$ac_dir" in
16826 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16827 *)
16828   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16829   # A ".." for each directory in $ac_dir_suffix.
16830   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16831   case $ac_top_builddir_sub in
16832   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16833   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16834   esac ;;
16835 esac
16836 ac_abs_top_builddir=$ac_pwd
16837 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16838 # for backward compatibility:
16839 ac_top_builddir=$ac_top_build_prefix
16840
16841 case $srcdir in
16842   .)  # We are building in place.
16843     ac_srcdir=.
16844     ac_top_srcdir=$ac_top_builddir_sub
16845     ac_abs_top_srcdir=$ac_pwd ;;
16846   [\\/]* | ?:[\\/]* )  # Absolute name.
16847     ac_srcdir=$srcdir$ac_dir_suffix;
16848     ac_top_srcdir=$srcdir
16849     ac_abs_top_srcdir=$srcdir ;;
16850   *) # Relative name.
16851     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16852     ac_top_srcdir=$ac_top_build_prefix$srcdir
16853     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16854 esac
16855 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16856
16857
16858   case $ac_mode in
16859   :F)
16860   #
16861   # CONFIG_FILE
16862   #
16863
16864   case $INSTALL in
16865   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16866   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16867   esac
16868   ac_MKDIR_P=$MKDIR_P
16869   case $MKDIR_P in
16870   [\\/$]* | ?:[\\/]* ) ;;
16871   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16872   esac
16873 _ACEOF
16874
16875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16876 # If the template does not know about datarootdir, expand it.
16877 # FIXME: This hack should be removed a few years after 2.60.
16878 ac_datarootdir_hack=; ac_datarootdir_seen=
16879 ac_sed_dataroot='
16880 /datarootdir/ {
16881   p
16882   q
16883 }
16884 /@datadir@/p
16885 /@docdir@/p
16886 /@infodir@/p
16887 /@localedir@/p
16888 /@mandir@/p'
16889 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16890 *datarootdir*) ac_datarootdir_seen=yes;;
16891 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16892   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16893 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16894 _ACEOF
16895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16896   ac_datarootdir_hack='
16897   s&@datadir@&$datadir&g
16898   s&@docdir@&$docdir&g
16899   s&@infodir@&$infodir&g
16900   s&@localedir@&$localedir&g
16901   s&@mandir@&$mandir&g
16902   s&\\\${datarootdir}&$datarootdir&g' ;;
16903 esac
16904 _ACEOF
16905
16906 # Neutralize VPATH when `$srcdir' = `.'.
16907 # Shell code in configure.ac might set extrasub.
16908 # FIXME: do we really want to maintain this feature?
16909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16910 ac_sed_extra="$ac_vpsub
16911 $extrasub
16912 _ACEOF
16913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16914 :t
16915 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16916 s|@configure_input@|$ac_sed_conf_input|;t t
16917 s&@top_builddir@&$ac_top_builddir_sub&;t t
16918 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16919 s&@srcdir@&$ac_srcdir&;t t
16920 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16921 s&@top_srcdir@&$ac_top_srcdir&;t t
16922 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16923 s&@builddir@&$ac_builddir&;t t
16924 s&@abs_builddir@&$ac_abs_builddir&;t t
16925 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16926 s&@INSTALL@&$ac_INSTALL&;t t
16927 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16928 $ac_datarootdir_hack
16929 "
16930 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16931   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16932
16933 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16934   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16935   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16936       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16937   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16938 which seems to be undefined.  Please make sure it is defined" >&5
16939 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16940 which seems to be undefined.  Please make sure it is defined" >&2;}
16941
16942   rm -f "$ac_tmp/stdin"
16943   case $ac_file in
16944   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16945   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16946   esac \
16947   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16948  ;;
16949   :H)
16950   #
16951   # CONFIG_HEADER
16952   #
16953   if test x"$ac_file" != x-; then
16954     {
16955       $as_echo "/* $configure_input  */" \
16956       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16957     } >"$ac_tmp/config.h" \
16958       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16959     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16960       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16961 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16962     else
16963       rm -f "$ac_file"
16964       mv "$ac_tmp/config.h" "$ac_file" \
16965         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16966     fi
16967   else
16968     $as_echo "/* $configure_input  */" \
16969       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16970       || as_fn_error $? "could not create -" "$LINENO" 5
16971   fi
16972 # Compute "$ac_file"'s index in $config_headers.
16973 _am_arg="$ac_file"
16974 _am_stamp_count=1
16975 for _am_header in $config_headers :; do
16976   case $_am_header in
16977     $_am_arg | $_am_arg:* )
16978       break ;;
16979     * )
16980       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16981   esac
16982 done
16983 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16984 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16985          X"$_am_arg" : 'X\(//\)[^/]' \| \
16986          X"$_am_arg" : 'X\(//\)$' \| \
16987          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16988 $as_echo X"$_am_arg" |
16989     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16990             s//\1/
16991             q
16992           }
16993           /^X\(\/\/\)[^/].*/{
16994             s//\1/
16995             q
16996           }
16997           /^X\(\/\/\)$/{
16998             s//\1/
16999             q
17000           }
17001           /^X\(\/\).*/{
17002             s//\1/
17003             q
17004           }
17005           s/.*/./; q'`/stamp-h$_am_stamp_count
17006  ;;
17007
17008   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17009 $as_echo "$as_me: executing $ac_file commands" >&6;}
17010  ;;
17011   esac
17012
17013
17014   case $ac_file$ac_mode in
17015     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17016   # Autoconf 2.62 quotes --file arguments for eval, but not when files
17017   # are listed without --file.  Let's play safe and only enable the eval
17018   # if we detect the quoting.
17019   case $CONFIG_FILES in
17020   *\'*) eval set x "$CONFIG_FILES" ;;
17021   *)   set x $CONFIG_FILES ;;
17022   esac
17023   shift
17024   for mf
17025   do
17026     # Strip MF so we end up with the name of the file.
17027     mf=`echo "$mf" | sed -e 's/:.*$//'`
17028     # Check whether this is an Automake generated Makefile or not.
17029     # We used to match only the files named `Makefile.in', but
17030     # some people rename them; so instead we look at the file content.
17031     # Grep'ing the first line is not enough: some people post-process
17032     # each Makefile.in and add a new line on top of each file to say so.
17033     # Grep'ing the whole file is not good either: AIX grep has a line
17034     # limit of 2048, but all sed's we know have understand at least 4000.
17035     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17036       dirpart=`$as_dirname -- "$mf" ||
17037 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17038          X"$mf" : 'X\(//\)[^/]' \| \
17039          X"$mf" : 'X\(//\)$' \| \
17040          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17041 $as_echo X"$mf" |
17042     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17043             s//\1/
17044             q
17045           }
17046           /^X\(\/\/\)[^/].*/{
17047             s//\1/
17048             q
17049           }
17050           /^X\(\/\/\)$/{
17051             s//\1/
17052             q
17053           }
17054           /^X\(\/\).*/{
17055             s//\1/
17056             q
17057           }
17058           s/.*/./; q'`
17059     else
17060       continue
17061     fi
17062     # Extract the definition of DEPDIR, am__include, and am__quote
17063     # from the Makefile without running `make'.
17064     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17065     test -z "$DEPDIR" && continue
17066     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17067     test -z "am__include" && continue
17068     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17069     # When using ansi2knr, U may be empty or an underscore; expand it
17070     U=`sed -n 's/^U = //p' < "$mf"`
17071     # Find all dependency output files, they are included files with
17072     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17073     # simplest approach to changing $(DEPDIR) to its actual value in the
17074     # expansion.
17075     for file in `sed -n "
17076       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17077          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17078       # Make sure the directory exists.
17079       test -f "$dirpart/$file" && continue
17080       fdir=`$as_dirname -- "$file" ||
17081 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17082          X"$file" : 'X\(//\)[^/]' \| \
17083          X"$file" : 'X\(//\)$' \| \
17084          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17085 $as_echo X"$file" |
17086     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17087             s//\1/
17088             q
17089           }
17090           /^X\(\/\/\)[^/].*/{
17091             s//\1/
17092             q
17093           }
17094           /^X\(\/\/\)$/{
17095             s//\1/
17096             q
17097           }
17098           /^X\(\/\).*/{
17099             s//\1/
17100             q
17101           }
17102           s/.*/./; q'`
17103       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17104       # echo "creating $dirpart/$file"
17105       echo '# dummy' > "$dirpart/$file"
17106     done
17107   done
17108 }
17109  ;;
17110     "libtool":C)
17111
17112     # See if we are running on zsh, and set the options which allow our
17113     # commands through without removal of \ escapes.
17114     if test -n "${ZSH_VERSION+set}" ; then
17115       setopt NO_GLOB_SUBST
17116     fi
17117
17118     cfgfile="${ofile}T"
17119     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17120     $RM "$cfgfile"
17121
17122     cat <<_LT_EOF >> "$cfgfile"
17123 #! $SHELL
17124
17125 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17126 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17127 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17128 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17129 #
17130 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17131 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17132 #                 Foundation, Inc.
17133 #   Written by Gordon Matzigkeit, 1996
17134 #
17135 #   This file is part of GNU Libtool.
17136 #
17137 # GNU Libtool is free software; you can redistribute it and/or
17138 # modify it under the terms of the GNU General Public License as
17139 # published by the Free Software Foundation; either version 2 of
17140 # the License, or (at your option) any later version.
17141 #
17142 # As a special exception to the GNU General Public License,
17143 # if you distribute this file as part of a program or library that
17144 # is built using GNU Libtool, you may include this file under the
17145 # same distribution terms that you use for the rest of that program.
17146 #
17147 # GNU Libtool is distributed in the hope that it will be useful,
17148 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17149 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17150 # GNU General Public License for more details.
17151 #
17152 # You should have received a copy of the GNU General Public License
17153 # along with GNU Libtool; see the file COPYING.  If not, a copy
17154 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17155 # obtained by writing to the Free Software Foundation, Inc.,
17156 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17157
17158
17159 # The names of the tagged configurations supported by this script.
17160 available_tags=""
17161
17162 # ### BEGIN LIBTOOL CONFIG
17163
17164 # Which release of libtool.m4 was used?
17165 macro_version=$macro_version
17166 macro_revision=$macro_revision
17167
17168 # Whether or not to build static libraries.
17169 build_old_libs=$enable_static
17170
17171 # Whether or not to build shared libraries.
17172 build_libtool_libs=$enable_shared
17173
17174 # What type of objects to build.
17175 pic_mode=$pic_mode
17176
17177 # Whether or not to optimize for fast installation.
17178 fast_install=$enable_fast_install
17179
17180 # Shell to use when invoking shell scripts.
17181 SHELL=$lt_SHELL
17182
17183 # An echo program that protects backslashes.
17184 ECHO=$lt_ECHO
17185
17186 # The PATH separator for the build system.
17187 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17188
17189 # The host system.
17190 host_alias=$host_alias
17191 host=$host
17192 host_os=$host_os
17193
17194 # The build system.
17195 build_alias=$build_alias
17196 build=$build
17197 build_os=$build_os
17198
17199 # A sed program that does not truncate output.
17200 SED=$lt_SED
17201
17202 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17203 Xsed="\$SED -e 1s/^X//"
17204
17205 # A grep program that handles long lines.
17206 GREP=$lt_GREP
17207
17208 # An ERE matcher.
17209 EGREP=$lt_EGREP
17210
17211 # A literal string matcher.
17212 FGREP=$lt_FGREP
17213
17214 # A BSD- or MS-compatible name lister.
17215 NM=$lt_NM
17216
17217 # Whether we need soft or hard links.
17218 LN_S=$lt_LN_S
17219
17220 # What is the maximum length of a command?
17221 max_cmd_len=$max_cmd_len
17222
17223 # Object file suffix (normally "o").
17224 objext=$ac_objext
17225
17226 # Executable file suffix (normally "").
17227 exeext=$exeext
17228
17229 # whether the shell understands "unset".
17230 lt_unset=$lt_unset
17231
17232 # turn spaces into newlines.
17233 SP2NL=$lt_lt_SP2NL
17234
17235 # turn newlines into spaces.
17236 NL2SP=$lt_lt_NL2SP
17237
17238 # convert \$build file names to \$host format.
17239 to_host_file_cmd=$lt_cv_to_host_file_cmd
17240
17241 # convert \$build files to toolchain format.
17242 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17243
17244 # An object symbol dumper.
17245 OBJDUMP=$lt_OBJDUMP
17246
17247 # Method to check whether dependent libraries are shared objects.
17248 deplibs_check_method=$lt_deplibs_check_method
17249
17250 # Command to use when deplibs_check_method = "file_magic".
17251 file_magic_cmd=$lt_file_magic_cmd
17252
17253 # How to find potential files when deplibs_check_method = "file_magic".
17254 file_magic_glob=$lt_file_magic_glob
17255
17256 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17257 want_nocaseglob=$lt_want_nocaseglob
17258
17259 # DLL creation program.
17260 DLLTOOL=$lt_DLLTOOL
17261
17262 # Command to associate shared and link libraries.
17263 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17264
17265 # The archiver.
17266 AR=$lt_AR
17267
17268 # Flags to create an archive.
17269 AR_FLAGS=$lt_AR_FLAGS
17270
17271 # How to feed a file listing to the archiver.
17272 archiver_list_spec=$lt_archiver_list_spec
17273
17274 # A symbol stripping program.
17275 STRIP=$lt_STRIP
17276
17277 # Commands used to install an old-style archive.
17278 RANLIB=$lt_RANLIB
17279 old_postinstall_cmds=$lt_old_postinstall_cmds
17280 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17281
17282 # Whether to use a lock for old archive extraction.
17283 lock_old_archive_extraction=$lock_old_archive_extraction
17284
17285 # A C compiler.
17286 LTCC=$lt_CC
17287
17288 # LTCC compiler flags.
17289 LTCFLAGS=$lt_CFLAGS
17290
17291 # Take the output of nm and produce a listing of raw symbols and C names.
17292 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17293
17294 # Transform the output of nm in a proper C declaration.
17295 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17296
17297 # Transform the output of nm in a C name address pair.
17298 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17299
17300 # Transform the output of nm in a C name address pair when lib prefix is needed.
17301 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17302
17303 # Specify filename containing input files for \$NM.
17304 nm_file_list_spec=$lt_nm_file_list_spec
17305
17306 # The root where to search for dependent libraries,and in which our libraries should be installed.
17307 lt_sysroot=$lt_sysroot
17308
17309 # The name of the directory that contains temporary libtool files.
17310 objdir=$objdir
17311
17312 # Used to examine libraries when file_magic_cmd begins with "file".
17313 MAGIC_CMD=$MAGIC_CMD
17314
17315 # Must we lock files when doing compilation?
17316 need_locks=$lt_need_locks
17317
17318 # Manifest tool.
17319 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17320
17321 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17322 DSYMUTIL=$lt_DSYMUTIL
17323
17324 # Tool to change global to local symbols on Mac OS X.
17325 NMEDIT=$lt_NMEDIT
17326
17327 # Tool to manipulate fat objects and archives on Mac OS X.
17328 LIPO=$lt_LIPO
17329
17330 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17331 OTOOL=$lt_OTOOL
17332
17333 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17334 OTOOL64=$lt_OTOOL64
17335
17336 # Old archive suffix (normally "a").
17337 libext=$libext
17338
17339 # Shared library suffix (normally ".so").
17340 shrext_cmds=$lt_shrext_cmds
17341
17342 # The commands to extract the exported symbol list from a shared archive.
17343 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17344
17345 # Variables whose values should be saved in libtool wrapper scripts and
17346 # restored at link time.
17347 variables_saved_for_relink=$lt_variables_saved_for_relink
17348
17349 # Do we need the "lib" prefix for modules?
17350 need_lib_prefix=$need_lib_prefix
17351
17352 # Do we need a version for libraries?
17353 need_version=$need_version
17354
17355 # Library versioning type.
17356 version_type=$version_type
17357
17358 # Shared library runtime path variable.
17359 runpath_var=$runpath_var
17360
17361 # Shared library path variable.
17362 shlibpath_var=$shlibpath_var
17363
17364 # Is shlibpath searched before the hard-coded library search path?
17365 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17366
17367 # Format of library name prefix.
17368 libname_spec=$lt_libname_spec
17369
17370 # List of archive names.  First name is the real one, the rest are links.
17371 # The last name is the one that the linker finds with -lNAME
17372 library_names_spec=$lt_library_names_spec
17373
17374 # The coded name of the library, if different from the real name.
17375 soname_spec=$lt_soname_spec
17376
17377 # Permission mode override for installation of shared libraries.
17378 install_override_mode=$lt_install_override_mode
17379
17380 # Command to use after installation of a shared archive.
17381 postinstall_cmds=$lt_postinstall_cmds
17382
17383 # Command to use after uninstallation of a shared archive.
17384 postuninstall_cmds=$lt_postuninstall_cmds
17385
17386 # Commands used to finish a libtool library installation in a directory.
17387 finish_cmds=$lt_finish_cmds
17388
17389 # As "finish_cmds", except a single script fragment to be evaled but
17390 # not shown.
17391 finish_eval=$lt_finish_eval
17392
17393 # Whether we should hardcode library paths into libraries.
17394 hardcode_into_libs=$hardcode_into_libs
17395
17396 # Compile-time system search path for libraries.
17397 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17398
17399 # Run-time system search path for libraries.
17400 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17401
17402 # Whether dlopen is supported.
17403 dlopen_support=$enable_dlopen
17404
17405 # Whether dlopen of programs is supported.
17406 dlopen_self=$enable_dlopen_self
17407
17408 # Whether dlopen of statically linked programs is supported.
17409 dlopen_self_static=$enable_dlopen_self_static
17410
17411 # Commands to strip libraries.
17412 old_striplib=$lt_old_striplib
17413 striplib=$lt_striplib
17414
17415
17416 # The linker used to build libraries.
17417 LD=$lt_LD
17418
17419 # How to create reloadable object files.
17420 reload_flag=$lt_reload_flag
17421 reload_cmds=$lt_reload_cmds
17422
17423 # Commands used to build an old-style archive.
17424 old_archive_cmds=$lt_old_archive_cmds
17425
17426 # A language specific compiler.
17427 CC=$lt_compiler
17428
17429 # Is the compiler the GNU compiler?
17430 with_gcc=$GCC
17431
17432 # Compiler flag to turn off builtin functions.
17433 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17434
17435 # Additional compiler flags for building library objects.
17436 pic_flag=$lt_lt_prog_compiler_pic
17437
17438 # How to pass a linker flag through the compiler.
17439 wl=$lt_lt_prog_compiler_wl
17440
17441 # Compiler flag to prevent dynamic linking.
17442 link_static_flag=$lt_lt_prog_compiler_static
17443
17444 # Does compiler simultaneously support -c and -o options?
17445 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17446
17447 # Whether or not to add -lc for building shared libraries.
17448 build_libtool_need_lc=$archive_cmds_need_lc
17449
17450 # Whether or not to disallow shared libs when runtime libs are static.
17451 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17452
17453 # Compiler flag to allow reflexive dlopens.
17454 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17455
17456 # Compiler flag to generate shared objects directly from archives.
17457 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17458
17459 # Whether the compiler copes with passing no objects directly.
17460 compiler_needs_object=$lt_compiler_needs_object
17461
17462 # Create an old-style archive from a shared archive.
17463 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17464
17465 # Create a temporary old-style archive to link instead of a shared archive.
17466 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17467
17468 # Commands used to build a shared archive.
17469 archive_cmds=$lt_archive_cmds
17470 archive_expsym_cmds=$lt_archive_expsym_cmds
17471
17472 # Commands used to build a loadable module if different from building
17473 # a shared archive.
17474 module_cmds=$lt_module_cmds
17475 module_expsym_cmds=$lt_module_expsym_cmds
17476
17477 # Whether we are building with GNU ld or not.
17478 with_gnu_ld=$lt_with_gnu_ld
17479
17480 # Flag that allows shared libraries with undefined symbols to be built.
17481 allow_undefined_flag=$lt_allow_undefined_flag
17482
17483 # Flag that enforces no undefined symbols.
17484 no_undefined_flag=$lt_no_undefined_flag
17485
17486 # Flag to hardcode \$libdir into a binary during linking.
17487 # This must work even if \$libdir does not exist
17488 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17489
17490 # Whether we need a single "-rpath" flag with a separated argument.
17491 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17492
17493 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17494 # DIR into the resulting binary.
17495 hardcode_direct=$hardcode_direct
17496
17497 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17498 # DIR into the resulting binary and the resulting library dependency is
17499 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17500 # library is relocated.
17501 hardcode_direct_absolute=$hardcode_direct_absolute
17502
17503 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17504 # into the resulting binary.
17505 hardcode_minus_L=$hardcode_minus_L
17506
17507 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17508 # into the resulting binary.
17509 hardcode_shlibpath_var=$hardcode_shlibpath_var
17510
17511 # Set to "yes" if building a shared library automatically hardcodes DIR
17512 # into the library and all subsequent libraries and executables linked
17513 # against it.
17514 hardcode_automatic=$hardcode_automatic
17515
17516 # Set to yes if linker adds runtime paths of dependent libraries
17517 # to runtime path list.
17518 inherit_rpath=$inherit_rpath
17519
17520 # Whether libtool must link a program against all its dependency libraries.
17521 link_all_deplibs=$link_all_deplibs
17522
17523 # Set to "yes" if exported symbols are required.
17524 always_export_symbols=$always_export_symbols
17525
17526 # The commands to list exported symbols.
17527 export_symbols_cmds=$lt_export_symbols_cmds
17528
17529 # Symbols that should not be listed in the preloaded symbols.
17530 exclude_expsyms=$lt_exclude_expsyms
17531
17532 # Symbols that must always be exported.
17533 include_expsyms=$lt_include_expsyms
17534
17535 # Commands necessary for linking programs (against libraries) with templates.
17536 prelink_cmds=$lt_prelink_cmds
17537
17538 # Commands necessary for finishing linking programs.
17539 postlink_cmds=$lt_postlink_cmds
17540
17541 # Specify filename containing input files.
17542 file_list_spec=$lt_file_list_spec
17543
17544 # How to hardcode a shared library path into an executable.
17545 hardcode_action=$hardcode_action
17546
17547 # ### END LIBTOOL CONFIG
17548
17549 _LT_EOF
17550
17551   case $host_os in
17552   aix3*)
17553     cat <<\_LT_EOF >> "$cfgfile"
17554 # AIX sometimes has problems with the GCC collect2 program.  For some
17555 # reason, if we set the COLLECT_NAMES environment variable, the problems
17556 # vanish in a puff of smoke.
17557 if test "X${COLLECT_NAMES+set}" != Xset; then
17558   COLLECT_NAMES=
17559   export COLLECT_NAMES
17560 fi
17561 _LT_EOF
17562     ;;
17563   esac
17564
17565
17566 ltmain="$ac_aux_dir/ltmain.sh"
17567
17568
17569   # We use sed instead of cat because bash on DJGPP gets confused if
17570   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17571   # text mode, it properly converts lines to CR/LF.  This bash problem
17572   # is reportedly fixed, but why not run on old versions too?
17573   sed '$q' "$ltmain" >> "$cfgfile" \
17574      || (rm -f "$cfgfile"; exit 1)
17575
17576   if test x"$xsi_shell" = xyes; then
17577   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17578 func_dirname ()\
17579 {\
17580 \    case ${1} in\
17581 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17582 \      *  ) func_dirname_result="${3}" ;;\
17583 \    esac\
17584 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17585   && mv -f "$cfgfile.tmp" "$cfgfile" \
17586     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17587 test 0 -eq $? || _lt_function_replace_fail=:
17588
17589
17590   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17591 func_basename ()\
17592 {\
17593 \    func_basename_result="${1##*/}"\
17594 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17595   && mv -f "$cfgfile.tmp" "$cfgfile" \
17596     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17597 test 0 -eq $? || _lt_function_replace_fail=:
17598
17599
17600   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17601 func_dirname_and_basename ()\
17602 {\
17603 \    case ${1} in\
17604 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17605 \      *  ) func_dirname_result="${3}" ;;\
17606 \    esac\
17607 \    func_basename_result="${1##*/}"\
17608 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17609   && mv -f "$cfgfile.tmp" "$cfgfile" \
17610     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17611 test 0 -eq $? || _lt_function_replace_fail=:
17612
17613
17614   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17615 func_stripname ()\
17616 {\
17617 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17618 \    # positional parameters, so assign one to ordinary parameter first.\
17619 \    func_stripname_result=${3}\
17620 \    func_stripname_result=${func_stripname_result#"${1}"}\
17621 \    func_stripname_result=${func_stripname_result%"${2}"}\
17622 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17623   && mv -f "$cfgfile.tmp" "$cfgfile" \
17624     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17625 test 0 -eq $? || _lt_function_replace_fail=:
17626
17627
17628   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17629 func_split_long_opt ()\
17630 {\
17631 \    func_split_long_opt_name=${1%%=*}\
17632 \    func_split_long_opt_arg=${1#*=}\
17633 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17634   && mv -f "$cfgfile.tmp" "$cfgfile" \
17635     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17636 test 0 -eq $? || _lt_function_replace_fail=:
17637
17638
17639   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17640 func_split_short_opt ()\
17641 {\
17642 \    func_split_short_opt_arg=${1#??}\
17643 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17644 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17645   && mv -f "$cfgfile.tmp" "$cfgfile" \
17646     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17647 test 0 -eq $? || _lt_function_replace_fail=:
17648
17649
17650   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17651 func_lo2o ()\
17652 {\
17653 \    case ${1} in\
17654 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17655 \      *)    func_lo2o_result=${1} ;;\
17656 \    esac\
17657 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17658   && mv -f "$cfgfile.tmp" "$cfgfile" \
17659     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17660 test 0 -eq $? || _lt_function_replace_fail=:
17661
17662
17663   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17664 func_xform ()\
17665 {\
17666     func_xform_result=${1%.*}.lo\
17667 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17668   && mv -f "$cfgfile.tmp" "$cfgfile" \
17669     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17670 test 0 -eq $? || _lt_function_replace_fail=:
17671
17672
17673   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17674 func_arith ()\
17675 {\
17676     func_arith_result=$(( $* ))\
17677 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17678   && mv -f "$cfgfile.tmp" "$cfgfile" \
17679     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17680 test 0 -eq $? || _lt_function_replace_fail=:
17681
17682
17683   sed -e '/^func_len ()$/,/^} # func_len /c\
17684 func_len ()\
17685 {\
17686     func_len_result=${#1}\
17687 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17688   && mv -f "$cfgfile.tmp" "$cfgfile" \
17689     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17690 test 0 -eq $? || _lt_function_replace_fail=:
17691
17692 fi
17693
17694 if test x"$lt_shell_append" = xyes; then
17695   sed -e '/^func_append ()$/,/^} # func_append /c\
17696 func_append ()\
17697 {\
17698     eval "${1}+=\\${2}"\
17699 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17700   && mv -f "$cfgfile.tmp" "$cfgfile" \
17701     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17702 test 0 -eq $? || _lt_function_replace_fail=:
17703
17704
17705   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17706 func_append_quoted ()\
17707 {\
17708 \    func_quote_for_eval "${2}"\
17709 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17710 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17711   && mv -f "$cfgfile.tmp" "$cfgfile" \
17712     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17713 test 0 -eq $? || _lt_function_replace_fail=:
17714
17715
17716   # Save a `func_append' function call where possible by direct use of '+='
17717   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17718     && mv -f "$cfgfile.tmp" "$cfgfile" \
17719       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17720   test 0 -eq $? || _lt_function_replace_fail=:
17721 else
17722   # Save a `func_append' function call even when '+=' is not available
17723   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17724     && mv -f "$cfgfile.tmp" "$cfgfile" \
17725       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17726   test 0 -eq $? || _lt_function_replace_fail=:
17727 fi
17728
17729 if test x"$_lt_function_replace_fail" = x":"; then
17730   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17731 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17732 fi
17733
17734
17735    mv -f "$cfgfile" "$ofile" ||
17736     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17737   chmod +x "$ofile"
17738
17739  ;;
17740
17741   esac
17742 done # for ac_tag
17743
17744
17745 as_fn_exit 0
17746 _ACEOF
17747 ac_clean_files=$ac_clean_files_save
17748
17749 test $ac_write_fail = 0 ||
17750   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17751
17752
17753 # configure is writing to config.log, and then calls config.status.
17754 # config.status does its own redirection, appending to config.log.
17755 # Unfortunately, on DOS this fails, as config.log is still kept open
17756 # by configure, so config.status won't be able to write to it; its
17757 # output is simply discarded.  So we exec the FD to /dev/null,
17758 # effectively closing config.log, so it can be properly (re)opened and
17759 # appended to by config.status.  When coming back to configure, we
17760 # need to make the FD available again.
17761 if test "$no_create" != yes; then
17762   ac_cs_success=:
17763   ac_config_status_args=
17764   test "$silent" = yes &&
17765     ac_config_status_args="$ac_config_status_args --quiet"
17766   exec 5>/dev/null
17767   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17768   exec 5>>config.log
17769   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17770   # would make configure fail if this is the last instruction.
17771   $ac_cs_success || as_fn_exit 1
17772 fi
17773 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17774   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17775 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17776 fi
17777
17778 fi