Improve spec file accuracy
[profile/ivi/gsignond.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gsignond 1.0.1.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     PATH=/empty FPATH=/empty; export PATH FPATH
205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='gsignond'
589 PACKAGE_TARNAME='gsignond'
590 PACKAGE_VERSION='1.0.1'
591 PACKAGE_STRING='gsignond 1.0.1'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL='http://01.org/gsso'
594
595 ac_unique_file="src/daemon/main.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 #  include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 #  include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 GTK_DOC_USE_REBASE_FALSE
637 GTK_DOC_USE_REBASE_TRUE
638 GTK_DOC_USE_LIBTOOL_FALSE
639 GTK_DOC_USE_LIBTOOL_TRUE
640 GTK_DOC_BUILD_PDF_FALSE
641 GTK_DOC_BUILD_PDF_TRUE
642 GTK_DOC_BUILD_HTML_FALSE
643 GTK_DOC_BUILD_HTML_TRUE
644 ENABLE_GTK_DOC_FALSE
645 ENABLE_GTK_DOC_TRUE
646 HAVE_GTK_DOC_FALSE
647 HAVE_GTK_DOC_TRUE
648 GTKDOC_DEPS_LIBS
649 GTKDOC_DEPS_CFLAGS
650 HTML_DIR
651 GTKDOC_MKPDF
652 GTKDOC_REBASE
653 GTKDOC_CHECK_PATH
654 GTKDOC_CHECK
655 DBUS_INTERFACES_DIR
656 DBUS_SERVICES_DIR
657 SET_PERMISSIONS_FALSE
658 SET_PERMISSIONS_TRUE
659 HAVE_DEBUG_FALSE
660 HAVE_DEBUG_TRUE
661 MESSAGE_BUS_TYPE
662 USE_GTESTDBUS_FALSE
663 USE_GTESTDBUS_TRUE
664 BASE_STORAGE_DIR
665 KEYCHAIN_SYSCTX
666 GTestDBus_LIBS
667 GTestDBus_CFLAGS
668 GLIB_MKENUMS
669 HAVE_LIBECRYPTFS_FALSE
670 HAVE_LIBECRYPTFS_TRUE
671 LIBECRYPTFS_LIBS
672 LIBECRYPTFS_CFLAGS
673 HAVE_LIBSMACK_FALSE
674 HAVE_LIBSMACK_TRUE
675 LIBSMACK_LIBS
676 LIBSMACK_CFLAGS
677 CHECK_LIBS
678 CHECK_CFLAGS
679 GSIGNOND_LIBS
680 GSIGNOND_CFLAGS
681 PKG_CONFIG_LIBDIR
682 PKG_CONFIG_PATH
683 PKG_CONFIG
684 CPP
685 OTOOL64
686 OTOOL
687 LIPO
688 NMEDIT
689 DSYMUTIL
690 MANIFEST_TOOL
691 RANLIB
692 DLLTOOL
693 OBJDUMP
694 LN_S
695 NM
696 ac_ct_DUMPBIN
697 DUMPBIN
698 LD
699 FGREP
700 EGREP
701 GREP
702 SED
703 host_os
704 host_vendor
705 host_cpu
706 host
707 build_os
708 build_vendor
709 build_cpu
710 build
711 LIBTOOL
712 ifGNUmake
713 ac_ct_AR
714 AR
715 am__fastdepCC_FALSE
716 am__fastdepCC_TRUE
717 CCDEPMODE
718 am__nodep
719 AMDEPBACKSLASH
720 AMDEP_FALSE
721 AMDEP_TRUE
722 am__quote
723 am__include
724 DEPDIR
725 OBJEXT
726 EXEEXT
727 ac_ct_CC
728 CPPFLAGS
729 LDFLAGS
730 CFLAGS
731 CC
732 AM_BACKSLASH
733 AM_DEFAULT_VERBOSITY
734 AM_DEFAULT_V
735 AM_V
736 am__untar
737 am__tar
738 AMTAR
739 am__leading_dot
740 SET_MAKE
741 AWK
742 mkdir_p
743 MKDIR_P
744 INSTALL_STRIP_PROGRAM
745 STRIP
746 install_sh
747 MAKEINFO
748 AUTOHEADER
749 AUTOMAKE
750 AUTOCONF
751 ACLOCAL
752 VERSION
753 PACKAGE
754 CYGPATH_W
755 am__isrc
756 INSTALL_DATA
757 INSTALL_SCRIPT
758 INSTALL_PROGRAM
759 target_alias
760 host_alias
761 build_alias
762 LIBS
763 ECHO_T
764 ECHO_N
765 ECHO_C
766 DEFS
767 mandir
768 localedir
769 libdir
770 psdir
771 pdfdir
772 dvidir
773 htmldir
774 infodir
775 docdir
776 oldincludedir
777 includedir
778 localstatedir
779 sharedstatedir
780 sysconfdir
781 datadir
782 datarootdir
783 libexecdir
784 sbindir
785 bindir
786 program_transform_name
787 prefix
788 exec_prefix
789 PACKAGE_URL
790 PACKAGE_BUGREPORT
791 PACKAGE_STRING
792 PACKAGE_VERSION
793 PACKAGE_TARNAME
794 PACKAGE_NAME
795 PATH_SEPARATOR
796 SHELL'
797 ac_subst_files=''
798 ac_user_opts='
799 enable_option_checking
800 enable_silent_rules
801 enable_dependency_tracking
802 enable_static
803 enable_shared
804 with_pic
805 enable_fast_install
806 with_gnu_ld
807 with_sysroot
808 enable_libtool_lock
809 enable_coverage
810 enable_distcheck
811 enable_dbus_type
812 enable_keychain
813 enable_storagedir
814 enable_debug
815 enable_sql_log
816 enable_acltriggers
817 with_html_dir
818 enable_gtk_doc
819 enable_gtk_doc_html
820 enable_gtk_doc_pdf
821 '
822       ac_precious_vars='build_alias
823 host_alias
824 target_alias
825 CC
826 CFLAGS
827 LDFLAGS
828 LIBS
829 CPPFLAGS
830 CPP
831 PKG_CONFIG
832 PKG_CONFIG_PATH
833 PKG_CONFIG_LIBDIR
834 GSIGNOND_CFLAGS
835 GSIGNOND_LIBS
836 CHECK_CFLAGS
837 CHECK_LIBS
838 LIBSMACK_CFLAGS
839 LIBSMACK_LIBS
840 LIBECRYPTFS_CFLAGS
841 LIBECRYPTFS_LIBS
842 GTestDBus_CFLAGS
843 GTestDBus_LIBS
844 GTKDOC_DEPS_CFLAGS
845 GTKDOC_DEPS_LIBS'
846
847
848 # Initialize some variables set by options.
849 ac_init_help=
850 ac_init_version=false
851 ac_unrecognized_opts=
852 ac_unrecognized_sep=
853 # The variables have the same names as the options, with
854 # dashes changed to underlines.
855 cache_file=/dev/null
856 exec_prefix=NONE
857 no_create=
858 no_recursion=
859 prefix=NONE
860 program_prefix=NONE
861 program_suffix=NONE
862 program_transform_name=s,x,x,
863 silent=
864 site=
865 srcdir=
866 verbose=
867 x_includes=NONE
868 x_libraries=NONE
869
870 # Installation directory options.
871 # These are left unexpanded so users can "make install exec_prefix=/foo"
872 # and all the variables that are supposed to be based on exec_prefix
873 # by default will actually change.
874 # Use braces instead of parens because sh, perl, etc. also accept them.
875 # (The list follows the same order as the GNU Coding Standards.)
876 bindir='${exec_prefix}/bin'
877 sbindir='${exec_prefix}/sbin'
878 libexecdir='${exec_prefix}/libexec'
879 datarootdir='${prefix}/share'
880 datadir='${datarootdir}'
881 sysconfdir='${prefix}/etc'
882 sharedstatedir='${prefix}/com'
883 localstatedir='${prefix}/var'
884 includedir='${prefix}/include'
885 oldincludedir='/usr/include'
886 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
887 infodir='${datarootdir}/info'
888 htmldir='${docdir}'
889 dvidir='${docdir}'
890 pdfdir='${docdir}'
891 psdir='${docdir}'
892 libdir='${exec_prefix}/lib'
893 localedir='${datarootdir}/locale'
894 mandir='${datarootdir}/man'
895
896 ac_prev=
897 ac_dashdash=
898 for ac_option
899 do
900   # If the previous option needs an argument, assign it.
901   if test -n "$ac_prev"; then
902     eval $ac_prev=\$ac_option
903     ac_prev=
904     continue
905   fi
906
907   case $ac_option in
908   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909   *=)   ac_optarg= ;;
910   *)    ac_optarg=yes ;;
911   esac
912
913   # Accept the important Cygnus configure options, so we can diagnose typos.
914
915   case $ac_dashdash$ac_option in
916   --)
917     ac_dashdash=yes ;;
918
919   -bindir | --bindir | --bindi | --bind | --bin | --bi)
920     ac_prev=bindir ;;
921   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
922     bindir=$ac_optarg ;;
923
924   -build | --build | --buil | --bui | --bu)
925     ac_prev=build_alias ;;
926   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
927     build_alias=$ac_optarg ;;
928
929   -cache-file | --cache-file | --cache-fil | --cache-fi \
930   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
931     ac_prev=cache_file ;;
932   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
933   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
934     cache_file=$ac_optarg ;;
935
936   --config-cache | -C)
937     cache_file=config.cache ;;
938
939   -datadir | --datadir | --datadi | --datad)
940     ac_prev=datadir ;;
941   -datadir=* | --datadir=* | --datadi=* | --datad=*)
942     datadir=$ac_optarg ;;
943
944   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
945   | --dataroo | --dataro | --datar)
946     ac_prev=datarootdir ;;
947   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
948   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
949     datarootdir=$ac_optarg ;;
950
951   -disable-* | --disable-*)
952     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953     # Reject names that are not valid shell variable names.
954     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955       as_fn_error $? "invalid feature name: $ac_useropt"
956     ac_useropt_orig=$ac_useropt
957     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958     case $ac_user_opts in
959       *"
960 "enable_$ac_useropt"
961 "*) ;;
962       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963          ac_unrecognized_sep=', ';;
964     esac
965     eval enable_$ac_useropt=no ;;
966
967   -docdir | --docdir | --docdi | --doc | --do)
968     ac_prev=docdir ;;
969   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
970     docdir=$ac_optarg ;;
971
972   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
973     ac_prev=dvidir ;;
974   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
975     dvidir=$ac_optarg ;;
976
977   -enable-* | --enable-*)
978     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979     # Reject names that are not valid shell variable names.
980     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981       as_fn_error $? "invalid feature name: $ac_useropt"
982     ac_useropt_orig=$ac_useropt
983     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984     case $ac_user_opts in
985       *"
986 "enable_$ac_useropt"
987 "*) ;;
988       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989          ac_unrecognized_sep=', ';;
990     esac
991     eval enable_$ac_useropt=\$ac_optarg ;;
992
993   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
994   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
995   | --exec | --exe | --ex)
996     ac_prev=exec_prefix ;;
997   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
998   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
999   | --exec=* | --exe=* | --ex=*)
1000     exec_prefix=$ac_optarg ;;
1001
1002   -gas | --gas | --ga | --g)
1003     # Obsolete; use --with-gas.
1004     with_gas=yes ;;
1005
1006   -help | --help | --hel | --he | -h)
1007     ac_init_help=long ;;
1008   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1009     ac_init_help=recursive ;;
1010   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1011     ac_init_help=short ;;
1012
1013   -host | --host | --hos | --ho)
1014     ac_prev=host_alias ;;
1015   -host=* | --host=* | --hos=* | --ho=*)
1016     host_alias=$ac_optarg ;;
1017
1018   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1019     ac_prev=htmldir ;;
1020   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1021   | --ht=*)
1022     htmldir=$ac_optarg ;;
1023
1024   -includedir | --includedir | --includedi | --included | --include \
1025   | --includ | --inclu | --incl | --inc)
1026     ac_prev=includedir ;;
1027   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1028   | --includ=* | --inclu=* | --incl=* | --inc=*)
1029     includedir=$ac_optarg ;;
1030
1031   -infodir | --infodir | --infodi | --infod | --info | --inf)
1032     ac_prev=infodir ;;
1033   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1034     infodir=$ac_optarg ;;
1035
1036   -libdir | --libdir | --libdi | --libd)
1037     ac_prev=libdir ;;
1038   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1039     libdir=$ac_optarg ;;
1040
1041   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1042   | --libexe | --libex | --libe)
1043     ac_prev=libexecdir ;;
1044   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1045   | --libexe=* | --libex=* | --libe=*)
1046     libexecdir=$ac_optarg ;;
1047
1048   -localedir | --localedir | --localedi | --localed | --locale)
1049     ac_prev=localedir ;;
1050   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1051     localedir=$ac_optarg ;;
1052
1053   -localstatedir | --localstatedir | --localstatedi | --localstated \
1054   | --localstate | --localstat | --localsta | --localst | --locals)
1055     ac_prev=localstatedir ;;
1056   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1057   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1058     localstatedir=$ac_optarg ;;
1059
1060   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1061     ac_prev=mandir ;;
1062   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1063     mandir=$ac_optarg ;;
1064
1065   -nfp | --nfp | --nf)
1066     # Obsolete; use --without-fp.
1067     with_fp=no ;;
1068
1069   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1070   | --no-cr | --no-c | -n)
1071     no_create=yes ;;
1072
1073   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1074   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1075     no_recursion=yes ;;
1076
1077   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1078   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1079   | --oldin | --oldi | --old | --ol | --o)
1080     ac_prev=oldincludedir ;;
1081   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1082   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1083   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1084     oldincludedir=$ac_optarg ;;
1085
1086   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1087     ac_prev=prefix ;;
1088   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1089     prefix=$ac_optarg ;;
1090
1091   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1092   | --program-pre | --program-pr | --program-p)
1093     ac_prev=program_prefix ;;
1094   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1095   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1096     program_prefix=$ac_optarg ;;
1097
1098   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1099   | --program-suf | --program-su | --program-s)
1100     ac_prev=program_suffix ;;
1101   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1102   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1103     program_suffix=$ac_optarg ;;
1104
1105   -program-transform-name | --program-transform-name \
1106   | --program-transform-nam | --program-transform-na \
1107   | --program-transform-n | --program-transform- \
1108   | --program-transform | --program-transfor \
1109   | --program-transfo | --program-transf \
1110   | --program-trans | --program-tran \
1111   | --progr-tra | --program-tr | --program-t)
1112     ac_prev=program_transform_name ;;
1113   -program-transform-name=* | --program-transform-name=* \
1114   | --program-transform-nam=* | --program-transform-na=* \
1115   | --program-transform-n=* | --program-transform-=* \
1116   | --program-transform=* | --program-transfor=* \
1117   | --program-transfo=* | --program-transf=* \
1118   | --program-trans=* | --program-tran=* \
1119   | --progr-tra=* | --program-tr=* | --program-t=*)
1120     program_transform_name=$ac_optarg ;;
1121
1122   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1123     ac_prev=pdfdir ;;
1124   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1125     pdfdir=$ac_optarg ;;
1126
1127   -psdir | --psdir | --psdi | --psd | --ps)
1128     ac_prev=psdir ;;
1129   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1130     psdir=$ac_optarg ;;
1131
1132   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133   | -silent | --silent | --silen | --sile | --sil)
1134     silent=yes ;;
1135
1136   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1137     ac_prev=sbindir ;;
1138   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1139   | --sbi=* | --sb=*)
1140     sbindir=$ac_optarg ;;
1141
1142   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1143   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1144   | --sharedst | --shareds | --shared | --share | --shar \
1145   | --sha | --sh)
1146     ac_prev=sharedstatedir ;;
1147   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1148   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1149   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1150   | --sha=* | --sh=*)
1151     sharedstatedir=$ac_optarg ;;
1152
1153   -site | --site | --sit)
1154     ac_prev=site ;;
1155   -site=* | --site=* | --sit=*)
1156     site=$ac_optarg ;;
1157
1158   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1159     ac_prev=srcdir ;;
1160   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1161     srcdir=$ac_optarg ;;
1162
1163   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1164   | --syscon | --sysco | --sysc | --sys | --sy)
1165     ac_prev=sysconfdir ;;
1166   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1167   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1168     sysconfdir=$ac_optarg ;;
1169
1170   -target | --target | --targe | --targ | --tar | --ta | --t)
1171     ac_prev=target_alias ;;
1172   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1173     target_alias=$ac_optarg ;;
1174
1175   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1176     verbose=yes ;;
1177
1178   -version | --version | --versio | --versi | --vers | -V)
1179     ac_init_version=: ;;
1180
1181   -with-* | --with-*)
1182     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183     # Reject names that are not valid shell variable names.
1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185       as_fn_error $? "invalid package name: $ac_useropt"
1186     ac_useropt_orig=$ac_useropt
1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188     case $ac_user_opts in
1189       *"
1190 "with_$ac_useropt"
1191 "*) ;;
1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193          ac_unrecognized_sep=', ';;
1194     esac
1195     eval with_$ac_useropt=\$ac_optarg ;;
1196
1197   -without-* | --without-*)
1198     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199     # Reject names that are not valid shell variable names.
1200     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201       as_fn_error $? "invalid package name: $ac_useropt"
1202     ac_useropt_orig=$ac_useropt
1203     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204     case $ac_user_opts in
1205       *"
1206 "with_$ac_useropt"
1207 "*) ;;
1208       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209          ac_unrecognized_sep=', ';;
1210     esac
1211     eval with_$ac_useropt=no ;;
1212
1213   --x)
1214     # Obsolete; use --with-x.
1215     with_x=yes ;;
1216
1217   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1218   | --x-incl | --x-inc | --x-in | --x-i)
1219     ac_prev=x_includes ;;
1220   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1221   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1222     x_includes=$ac_optarg ;;
1223
1224   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1225   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1226     ac_prev=x_libraries ;;
1227   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1228   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1229     x_libraries=$ac_optarg ;;
1230
1231   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1232 Try \`$0 --help' for more information"
1233     ;;
1234
1235   *=*)
1236     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1237     # Reject names that are not valid shell variable names.
1238     case $ac_envvar in #(
1239       '' | [0-9]* | *[!_$as_cr_alnum]* )
1240       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1241     esac
1242     eval $ac_envvar=\$ac_optarg
1243     export $ac_envvar ;;
1244
1245   *)
1246     # FIXME: should be removed in autoconf 3.0.
1247     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251     ;;
1252
1253   esac
1254 done
1255
1256 if test -n "$ac_prev"; then
1257   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1258   as_fn_error $? "missing argument to $ac_option"
1259 fi
1260
1261 if test -n "$ac_unrecognized_opts"; then
1262   case $enable_option_checking in
1263     no) ;;
1264     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1265     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266   esac
1267 fi
1268
1269 # Check all directory arguments for consistency.
1270 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271                 datadir sysconfdir sharedstatedir localstatedir includedir \
1272                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273                 libdir localedir mandir
1274 do
1275   eval ac_val=\$$ac_var
1276   # Remove trailing slashes.
1277   case $ac_val in
1278     */ )
1279       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280       eval $ac_var=\$ac_val;;
1281   esac
1282   # Be sure to have absolute directory names.
1283   case $ac_val in
1284     [\\/$]* | ?:[\\/]* )  continue;;
1285     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1286   esac
1287   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1288 done
1289
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1293 build=$build_alias
1294 host=$host_alias
1295 target=$target_alias
1296
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x; then
1299   if test "x$build_alias" = x; then
1300     cross_compiling=maybe
1301   elif test "x$build_alias" != "x$host_alias"; then
1302     cross_compiling=yes
1303   fi
1304 fi
1305
1306 ac_tool_prefix=
1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1308
1309 test "$silent" = yes && exec 6>/dev/null
1310
1311
1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di=`ls -di .` &&
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315   as_fn_error $? "working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317   as_fn_error $? "pwd does not report name of working directory"
1318
1319
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322   ac_srcdir_defaulted=yes
1323   # Try the directory containing this script, then the parent directory.
1324   ac_confdir=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326          X"$as_myself" : 'X\(//\)[^/]' \| \
1327          X"$as_myself" : 'X\(//\)$' \| \
1328          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331             s//\1/
1332             q
1333           }
1334           /^X\(\/\/\)[^/].*/{
1335             s//\1/
1336             q
1337           }
1338           /^X\(\/\/\)$/{
1339             s//\1/
1340             q
1341           }
1342           /^X\(\/\).*/{
1343             s//\1/
1344             q
1345           }
1346           s/.*/./; q'`
1347   srcdir=$ac_confdir
1348   if test ! -r "$srcdir/$ac_unique_file"; then
1349     srcdir=..
1350   fi
1351 else
1352   ac_srcdir_defaulted=no
1353 fi
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1356   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1357 fi
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1359 ac_abs_confdir=`(
1360         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1361         pwd)`
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1364   srcdir=.
1365 fi
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1369 case $srcdir in
1370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1371 esac
1372 for ac_var in $ac_precious_vars; do
1373   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1374   eval ac_env_${ac_var}_value=\$${ac_var}
1375   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1376   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1377 done
1378
1379 #
1380 # Report the --help message.
1381 #
1382 if test "$ac_init_help" = "long"; then
1383   # Omit some internal or obsolete options to make the list less imposing.
1384   # This message is too long to be a string in the A/UX 3.1 sh.
1385   cat <<_ACEOF
1386 \`configure' configures gsignond 1.0.1 to adapt to many kinds of systems.
1387
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1389
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE.  See below for descriptions of some of the useful variables.
1392
1393 Defaults for the options are specified in brackets.
1394
1395 Configuration:
1396   -h, --help              display this help and exit
1397       --help=short        display options specific to this package
1398       --help=recursive    display the short help of all the included packages
1399   -V, --version           display version information and exit
1400   -q, --quiet, --silent   do not print \`checking ...' messages
1401       --cache-file=FILE   cache test results in FILE [disabled]
1402   -C, --config-cache      alias for \`--cache-file=config.cache'
1403   -n, --no-create         do not create output files
1404       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1405
1406 Installation directories:
1407   --prefix=PREFIX         install architecture-independent files in PREFIX
1408                           [$ac_default_prefix]
1409   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1410                           [PREFIX]
1411
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1416
1417 For better control, use the options below.
1418
1419 Fine tuning of the installation directories:
1420   --bindir=DIR            user executables [EPREFIX/bin]
1421   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1422   --libexecdir=DIR        program executables [EPREFIX/libexec]
1423   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1424   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1425   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1426   --libdir=DIR            object code libraries [EPREFIX/lib]
1427   --includedir=DIR        C header files [PREFIX/include]
1428   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1429   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1430   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1431   --infodir=DIR           info documentation [DATAROOTDIR/info]
1432   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1433   --mandir=DIR            man documentation [DATAROOTDIR/man]
1434   --docdir=DIR            documentation root [DATAROOTDIR/doc/gsignond]
1435   --htmldir=DIR           html documentation [DOCDIR]
1436   --dvidir=DIR            dvi documentation [DOCDIR]
1437   --pdfdir=DIR            pdf documentation [DOCDIR]
1438   --psdir=DIR             ps documentation [DOCDIR]
1439 _ACEOF
1440
1441   cat <<\_ACEOF
1442
1443 Program names:
1444   --program-prefix=PREFIX            prepend PREFIX to installed program names
1445   --program-suffix=SUFFIX            append SUFFIX to installed program names
1446   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1447
1448 System types:
1449   --build=BUILD     configure for building on BUILD [guessed]
1450   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1451 _ACEOF
1452 fi
1453
1454 if test -n "$ac_init_help"; then
1455   case $ac_init_help in
1456      short | recursive ) echo "Configuration of gsignond 1.0.1:";;
1457    esac
1458   cat <<\_ACEOF
1459
1460 Optional Features:
1461   --disable-option-checking  ignore unrecognized --enable/--with options
1462   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1463   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1464   --enable-silent-rules   less verbose build output (undo: "make V=1")
1465   --disable-silent-rules  verbose build output (undo: "make V=0")
1466   --enable-dependency-tracking
1467                           do not reject slow dependency extractors
1468   --disable-dependency-tracking
1469                           speeds up one-time build
1470   --enable-static[=PKGS]  build static libraries [default=no]
1471   --enable-shared[=PKGS]  build shared libraries [default=yes]
1472   --enable-fast-install[=PKGS]
1473                           optimize for fast installation [default=yes]
1474   --disable-libtool-lock  avoid locking (might break parallel builds)
1475   --enable-coverage       compile with coverage info
1476   --enable-distcheck build for distcheck target
1477   --enable-dbus-type=dbus-type specify daemon dbus type:
1478                           p2p(default): uses peer to peer dbus
1479                           session: uses session message bus
1480                           system: uses system message bus
1481   --enable-keychain=sysctx
1482                           enable keychain access with
1483                           system context "sysctx"
1484   --enable-storagedir=path
1485                           enable storage at location "path"
1486                           instead of default "/var/db"
1487   --enable-debug          enable debug features
1488   --enable-sql-log        enable sql log feature
1489   --enable-acltriggers    enable ACL before delete triggers
1490   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1491   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1492   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1493
1494 Optional Packages:
1495   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1496   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1497   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1498                           both]
1499   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1500   --with-sysroot=DIR Search for dependent libraries within DIR
1501                         (or the compiler's sysroot if not specified).
1502   --with-html-dir=PATH    path to installed docs
1503
1504 Some influential environment variables:
1505   CC          C compiler command
1506   CFLAGS      C compiler flags
1507   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1508               nonstandard directory <lib dir>
1509   LIBS        libraries to pass to the linker, e.g. -l<library>
1510   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511               you have headers in a nonstandard directory <include dir>
1512   CPP         C preprocessor
1513   PKG_CONFIG  path to pkg-config utility
1514   PKG_CONFIG_PATH
1515               directories to add to pkg-config's search path
1516   PKG_CONFIG_LIBDIR
1517               path overriding pkg-config's built-in search path
1518   GSIGNOND_CFLAGS
1519               C compiler flags for GSIGNOND, overriding pkg-config
1520   GSIGNOND_LIBS
1521               linker flags for GSIGNOND, overriding pkg-config
1522   CHECK_CFLAGS
1523               C compiler flags for CHECK, overriding pkg-config
1524   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1525   LIBSMACK_CFLAGS
1526               C compiler flags for LIBSMACK, overriding pkg-config
1527   LIBSMACK_LIBS
1528               linker flags for LIBSMACK, overriding pkg-config
1529   LIBECRYPTFS_CFLAGS
1530               C compiler flags for LIBECRYPTFS, overriding pkg-config
1531   LIBECRYPTFS_LIBS
1532               linker flags for LIBECRYPTFS, overriding pkg-config
1533   GTestDBus_CFLAGS
1534               C compiler flags for GTestDBus, overriding pkg-config
1535   GTestDBus_LIBS
1536               linker flags for GTestDBus, overriding pkg-config
1537   GTKDOC_DEPS_CFLAGS
1538               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1539   GTKDOC_DEPS_LIBS
1540               linker flags for GTKDOC_DEPS, overriding pkg-config
1541
1542 Use these variables to override the choices made by `configure' or to help
1543 it to find libraries and programs with nonstandard names/locations.
1544
1545 Report bugs to the package provider.
1546 gsignond home page: <http://01.org/gsso>.
1547 _ACEOF
1548 ac_status=$?
1549 fi
1550
1551 if test "$ac_init_help" = "recursive"; then
1552   # If there are subdirs, report their specific --help.
1553   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1554     test -d "$ac_dir" ||
1555       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1556       continue
1557     ac_builddir=.
1558
1559 case "$ac_dir" in
1560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561 *)
1562   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1563   # A ".." for each directory in $ac_dir_suffix.
1564   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1565   case $ac_top_builddir_sub in
1566   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1568   esac ;;
1569 esac
1570 ac_abs_top_builddir=$ac_pwd
1571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1572 # for backward compatibility:
1573 ac_top_builddir=$ac_top_build_prefix
1574
1575 case $srcdir in
1576   .)  # We are building in place.
1577     ac_srcdir=.
1578     ac_top_srcdir=$ac_top_builddir_sub
1579     ac_abs_top_srcdir=$ac_pwd ;;
1580   [\\/]* | ?:[\\/]* )  # Absolute name.
1581     ac_srcdir=$srcdir$ac_dir_suffix;
1582     ac_top_srcdir=$srcdir
1583     ac_abs_top_srcdir=$srcdir ;;
1584   *) # Relative name.
1585     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586     ac_top_srcdir=$ac_top_build_prefix$srcdir
1587     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1588 esac
1589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1590
1591     cd "$ac_dir" || { ac_status=$?; continue; }
1592     # Check for guested configure.
1593     if test -f "$ac_srcdir/configure.gnu"; then
1594       echo &&
1595       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596     elif test -f "$ac_srcdir/configure"; then
1597       echo &&
1598       $SHELL "$ac_srcdir/configure" --help=recursive
1599     else
1600       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1601     fi || ac_status=$?
1602     cd "$ac_pwd" || { ac_status=$?; break; }
1603   done
1604 fi
1605
1606 test -n "$ac_init_help" && exit $ac_status
1607 if $ac_init_version; then
1608   cat <<\_ACEOF
1609 gsignond configure 1.0.1
1610 generated by GNU Autoconf 2.69
1611
1612 Copyright (C) 2012 Free Software Foundation, Inc.
1613 This configure script is free software; the Free Software Foundation
1614 gives unlimited permission to copy, distribute and modify it.
1615 _ACEOF
1616   exit
1617 fi
1618
1619 ## ------------------------ ##
1620 ## Autoconf initialization. ##
1621 ## ------------------------ ##
1622
1623 # ac_fn_c_try_compile LINENO
1624 # --------------------------
1625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1626 ac_fn_c_try_compile ()
1627 {
1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629   rm -f conftest.$ac_objext
1630   if { { ac_try="$ac_compile"
1631 case "(($ac_try" in
1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633   *) ac_try_echo=$ac_try;;
1634 esac
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637   (eval "$ac_compile") 2>conftest.err
1638   ac_status=$?
1639   if test -s conftest.err; then
1640     grep -v '^ *+' conftest.err >conftest.er1
1641     cat conftest.er1 >&5
1642     mv -f conftest.er1 conftest.err
1643   fi
1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645   test $ac_status = 0; } && {
1646          test -z "$ac_c_werror_flag" ||
1647          test ! -s conftest.err
1648        } && test -s conftest.$ac_objext; then :
1649   ac_retval=0
1650 else
1651   $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1653
1654         ac_retval=1
1655 fi
1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657   as_fn_set_status $ac_retval
1658
1659 } # ac_fn_c_try_compile
1660
1661 # ac_fn_c_try_link LINENO
1662 # -----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_link ()
1665 {
1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667   rm -f conftest.$ac_objext conftest$ac_exeext
1668   if { { ac_try="$ac_link"
1669 case "(($ac_try" in
1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671   *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675   (eval "$ac_link") 2>conftest.err
1676   ac_status=$?
1677   if test -s conftest.err; then
1678     grep -v '^ *+' conftest.err >conftest.er1
1679     cat conftest.er1 >&5
1680     mv -f conftest.er1 conftest.err
1681   fi
1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683   test $ac_status = 0; } && {
1684          test -z "$ac_c_werror_flag" ||
1685          test ! -s conftest.err
1686        } && test -s conftest$ac_exeext && {
1687          test "$cross_compiling" = yes ||
1688          test -x conftest$ac_exeext
1689        }; then :
1690   ac_retval=0
1691 else
1692   $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1694
1695         ac_retval=1
1696 fi
1697   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1698   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1699   # interfere with the next link command; also delete a directory that is
1700   # left behind by Apple's compiler.  We do this before executing the actions.
1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703   as_fn_set_status $ac_retval
1704
1705 } # ac_fn_c_try_link
1706
1707 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1708 # -------------------------------------------------------
1709 # Tests whether HEADER exists and can be compiled using the include files in
1710 # INCLUDES, setting the cache variable VAR accordingly.
1711 ac_fn_c_check_header_compile ()
1712 {
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval \${$3+:} false; then :
1717   $as_echo_n "(cached) " >&6
1718 else
1719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h.  */
1721 $4
1722 #include <$2>
1723 _ACEOF
1724 if ac_fn_c_try_compile "$LINENO"; then :
1725   eval "$3=yes"
1726 else
1727   eval "$3=no"
1728 fi
1729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1730 fi
1731 eval ac_res=\$$3
1732                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735
1736 } # ac_fn_c_check_header_compile
1737
1738 # ac_fn_c_try_cpp LINENO
1739 # ----------------------
1740 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1741 ac_fn_c_try_cpp ()
1742 {
1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744   if { { ac_try="$ac_cpp conftest.$ac_ext"
1745 case "(($ac_try" in
1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747   *) ac_try_echo=$ac_try;;
1748 esac
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1752   ac_status=$?
1753   if test -s conftest.err; then
1754     grep -v '^ *+' conftest.err >conftest.er1
1755     cat conftest.er1 >&5
1756     mv -f conftest.er1 conftest.err
1757   fi
1758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759   test $ac_status = 0; } > conftest.i && {
1760          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1761          test ! -s conftest.err
1762        }; then :
1763   ac_retval=0
1764 else
1765   $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1767
1768     ac_retval=1
1769 fi
1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771   as_fn_set_status $ac_retval
1772
1773 } # ac_fn_c_try_cpp
1774
1775 # ac_fn_c_try_run LINENO
1776 # ----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778 # that executables *can* be run.
1779 ac_fn_c_try_run ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   if { { ac_try="$ac_link"
1783 case "(($ac_try" in
1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785   *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789   (eval "$ac_link") 2>&5
1790   ac_status=$?
1791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793   { { case "(($ac_try" in
1794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795   *) ac_try_echo=$ac_try;;
1796 esac
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799   (eval "$ac_try") 2>&5
1800   ac_status=$?
1801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802   test $ac_status = 0; }; }; then :
1803   ac_retval=0
1804 else
1805   $as_echo "$as_me: program exited with status $ac_status" >&5
1806        $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1808
1809        ac_retval=$ac_status
1810 fi
1811   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813   as_fn_set_status $ac_retval
1814
1815 } # ac_fn_c_try_run
1816
1817 # ac_fn_c_check_func LINENO FUNC VAR
1818 # ----------------------------------
1819 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1820 ac_fn_c_check_func ()
1821 {
1822   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \${$3+:} false; then :
1826   $as_echo_n "(cached) " >&6
1827 else
1828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h.  */
1830 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1832 #define $2 innocuous_$2
1833
1834 /* System header to define __stub macros and hopefully few prototypes,
1835     which can conflict with char $2 (); below.
1836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837     <limits.h> exists even on freestanding compilers.  */
1838
1839 #ifdef __STDC__
1840 # include <limits.h>
1841 #else
1842 # include <assert.h>
1843 #endif
1844
1845 #undef $2
1846
1847 /* Override any GCC internal prototype to avoid an error.
1848    Use char because int might match the return type of a GCC
1849    builtin and then its argument prototype would still apply.  */
1850 #ifdef __cplusplus
1851 extern "C"
1852 #endif
1853 char $2 ();
1854 /* The GNU C library defines this for functions which it implements
1855     to always fail with ENOSYS.  Some functions are actually named
1856     something starting with __ and the normal name is an alias.  */
1857 #if defined __stub_$2 || defined __stub___$2
1858 choke me
1859 #endif
1860
1861 int
1862 main ()
1863 {
1864 return $2 ();
1865   ;
1866   return 0;
1867 }
1868 _ACEOF
1869 if ac_fn_c_try_link "$LINENO"; then :
1870   eval "$3=yes"
1871 else
1872   eval "$3=no"
1873 fi
1874 rm -f core conftest.err conftest.$ac_objext \
1875     conftest$ac_exeext conftest.$ac_ext
1876 fi
1877 eval ac_res=\$$3
1878                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
1882 } # ac_fn_c_check_func
1883
1884 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1887 # the include files in INCLUDES and setting the cache variable VAR
1888 # accordingly.
1889 ac_fn_c_check_header_mongrel ()
1890 {
1891   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892   if eval \${$3+:} false; then :
1893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896   $as_echo_n "(cached) " >&6
1897 fi
1898 eval ac_res=\$$3
1899                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 else
1902   # Is the header compilable?
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1904 $as_echo_n "checking $2 usability... " >&6; }
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h.  */
1907 $4
1908 #include <$2>
1909 _ACEOF
1910 if ac_fn_c_try_compile "$LINENO"; then :
1911   ac_header_compiler=yes
1912 else
1913   ac_header_compiler=no
1914 fi
1915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1917 $as_echo "$ac_header_compiler" >&6; }
1918
1919 # Is the header present?
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1921 $as_echo_n "checking $2 presence... " >&6; }
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h.  */
1924 #include <$2>
1925 _ACEOF
1926 if ac_fn_c_try_cpp "$LINENO"; then :
1927   ac_header_preproc=yes
1928 else
1929   ac_header_preproc=no
1930 fi
1931 rm -f conftest.err conftest.i conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1933 $as_echo "$ac_header_preproc" >&6; }
1934
1935 # So?  What about this header?
1936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1937   yes:no: )
1938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1939 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942     ;;
1943   no:yes:* )
1944     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1945 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1947 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1949 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1951 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1954     ;;
1955 esac
1956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957 $as_echo_n "checking for $2... " >&6; }
1958 if eval \${$3+:} false; then :
1959   $as_echo_n "(cached) " >&6
1960 else
1961   eval "$3=\$ac_header_compiler"
1962 fi
1963 eval ac_res=\$$3
1964                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 fi
1967   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968
1969 } # ac_fn_c_check_header_mongrel
1970 cat >config.log <<_ACEOF
1971 This file contains any messages produced by compilers while
1972 running configure, to aid debugging if configure makes a mistake.
1973
1974 It was created by gsignond $as_me 1.0.1, which was
1975 generated by GNU Autoconf 2.69.  Invocation command line was
1976
1977   $ $0 $@
1978
1979 _ACEOF
1980 exec 5>>config.log
1981 {
1982 cat <<_ASUNAME
1983 ## --------- ##
1984 ## Platform. ##
1985 ## --------- ##
1986
1987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1992
1993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1994 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1995
1996 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1997 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1999 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2000 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2001 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2002 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2003
2004 _ASUNAME
2005
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 for as_dir in $PATH
2008 do
2009   IFS=$as_save_IFS
2010   test -z "$as_dir" && as_dir=.
2011     $as_echo "PATH: $as_dir"
2012   done
2013 IFS=$as_save_IFS
2014
2015 } >&5
2016
2017 cat >&5 <<_ACEOF
2018
2019
2020 ## ----------- ##
2021 ## Core tests. ##
2022 ## ----------- ##
2023
2024 _ACEOF
2025
2026
2027 # Keep a trace of the command line.
2028 # Strip out --no-create and --no-recursion so they do not pile up.
2029 # Strip out --silent because we don't want to record it for future runs.
2030 # Also quote any args containing shell meta-characters.
2031 # Make two passes to allow for proper duplicate-argument suppression.
2032 ac_configure_args=
2033 ac_configure_args0=
2034 ac_configure_args1=
2035 ac_must_keep_next=false
2036 for ac_pass in 1 2
2037 do
2038   for ac_arg
2039   do
2040     case $ac_arg in
2041     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2042     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2043     | -silent | --silent | --silen | --sile | --sil)
2044       continue ;;
2045     *\'*)
2046       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2047     esac
2048     case $ac_pass in
2049     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2050     2)
2051       as_fn_append ac_configure_args1 " '$ac_arg'"
2052       if test $ac_must_keep_next = true; then
2053         ac_must_keep_next=false # Got value, back to normal.
2054       else
2055         case $ac_arg in
2056           *=* | --config-cache | -C | -disable-* | --disable-* \
2057           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2058           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2059           | -with-* | --with-* | -without-* | --without-* | --x)
2060             case "$ac_configure_args0 " in
2061               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2062             esac
2063             ;;
2064           -* ) ac_must_keep_next=true ;;
2065         esac
2066       fi
2067       as_fn_append ac_configure_args " '$ac_arg'"
2068       ;;
2069     esac
2070   done
2071 done
2072 { ac_configure_args0=; unset ac_configure_args0;}
2073 { ac_configure_args1=; unset ac_configure_args1;}
2074
2075 # When interrupted or exit'd, cleanup temporary files, and complete
2076 # config.log.  We remove comments because anyway the quotes in there
2077 # would cause problems or look ugly.
2078 # WARNING: Use '\'' to represent an apostrophe within the trap.
2079 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2080 trap 'exit_status=$?
2081   # Save into config.log some information that might help in debugging.
2082   {
2083     echo
2084
2085     $as_echo "## ---------------- ##
2086 ## Cache variables. ##
2087 ## ---------------- ##"
2088     echo
2089     # The following way of writing the cache mishandles newlines in values,
2090 (
2091   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2092     eval ac_val=\$$ac_var
2093     case $ac_val in #(
2094     *${as_nl}*)
2095       case $ac_var in #(
2096       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2097 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2098       esac
2099       case $ac_var in #(
2100       _ | IFS | as_nl) ;; #(
2101       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2102       *) { eval $ac_var=; unset $ac_var;} ;;
2103       esac ;;
2104     esac
2105   done
2106   (set) 2>&1 |
2107     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2108     *${as_nl}ac_space=\ *)
2109       sed -n \
2110         "s/'\''/'\''\\\\'\'''\''/g;
2111           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2112       ;; #(
2113     *)
2114       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2115       ;;
2116     esac |
2117     sort
2118 )
2119     echo
2120
2121     $as_echo "## ----------------- ##
2122 ## Output variables. ##
2123 ## ----------------- ##"
2124     echo
2125     for ac_var in $ac_subst_vars
2126     do
2127       eval ac_val=\$$ac_var
2128       case $ac_val in
2129       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2130       esac
2131       $as_echo "$ac_var='\''$ac_val'\''"
2132     done | sort
2133     echo
2134
2135     if test -n "$ac_subst_files"; then
2136       $as_echo "## ------------------- ##
2137 ## File substitutions. ##
2138 ## ------------------- ##"
2139       echo
2140       for ac_var in $ac_subst_files
2141       do
2142         eval ac_val=\$$ac_var
2143         case $ac_val in
2144         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2145         esac
2146         $as_echo "$ac_var='\''$ac_val'\''"
2147       done | sort
2148       echo
2149     fi
2150
2151     if test -s confdefs.h; then
2152       $as_echo "## ----------- ##
2153 ## confdefs.h. ##
2154 ## ----------- ##"
2155       echo
2156       cat confdefs.h
2157       echo
2158     fi
2159     test "$ac_signal" != 0 &&
2160       $as_echo "$as_me: caught signal $ac_signal"
2161     $as_echo "$as_me: exit $exit_status"
2162   } >&5
2163   rm -f core *.core core.conftest.* &&
2164     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2165     exit $exit_status
2166 ' 0
2167 for ac_signal in 1 2 13 15; do
2168   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2169 done
2170 ac_signal=0
2171
2172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2173 rm -f -r conftest* confdefs.h
2174
2175 $as_echo "/* confdefs.h */" > confdefs.h
2176
2177 # Predefined preprocessor variables.
2178
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_NAME "$PACKAGE_NAME"
2181 _ACEOF
2182
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2185 _ACEOF
2186
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2189 _ACEOF
2190
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_STRING "$PACKAGE_STRING"
2193 _ACEOF
2194
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2197 _ACEOF
2198
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_URL "$PACKAGE_URL"
2201 _ACEOF
2202
2203
2204 # Let the site file select an alternate cache file if it wants to.
2205 # Prefer an explicitly selected file to automatically selected ones.
2206 ac_site_file1=NONE
2207 ac_site_file2=NONE
2208 if test -n "$CONFIG_SITE"; then
2209   # We do not want a PATH search for config.site.
2210   case $CONFIG_SITE in #((
2211     -*)  ac_site_file1=./$CONFIG_SITE;;
2212     */*) ac_site_file1=$CONFIG_SITE;;
2213     *)   ac_site_file1=./$CONFIG_SITE;;
2214   esac
2215 elif test "x$prefix" != xNONE; then
2216   ac_site_file1=$prefix/share/config.site
2217   ac_site_file2=$prefix/etc/config.site
2218 else
2219   ac_site_file1=$ac_default_prefix/share/config.site
2220   ac_site_file2=$ac_default_prefix/etc/config.site
2221 fi
2222 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2223 do
2224   test "x$ac_site_file" = xNONE && continue
2225   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2226     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2227 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2228     sed 's/^/| /' "$ac_site_file" >&5
2229     . "$ac_site_file" \
2230       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 as_fn_error $? "failed to load site script $ac_site_file
2233 See \`config.log' for more details" "$LINENO" 5; }
2234   fi
2235 done
2236
2237 if test -r "$cache_file"; then
2238   # Some versions of bash will fail to source /dev/null (special files
2239   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2240   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2241     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2242 $as_echo "$as_me: loading cache $cache_file" >&6;}
2243     case $cache_file in
2244       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2245       *)                      . "./$cache_file";;
2246     esac
2247   fi
2248 else
2249   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2250 $as_echo "$as_me: creating cache $cache_file" >&6;}
2251   >$cache_file
2252 fi
2253
2254 # Check that the precious variables saved in the cache have kept the same
2255 # value.
2256 ac_cache_corrupted=false
2257 for ac_var in $ac_precious_vars; do
2258   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2259   eval ac_new_set=\$ac_env_${ac_var}_set
2260   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2261   eval ac_new_val=\$ac_env_${ac_var}_value
2262   case $ac_old_set,$ac_new_set in
2263     set,)
2264       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2265 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2266       ac_cache_corrupted=: ;;
2267     ,set)
2268       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2269 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2270       ac_cache_corrupted=: ;;
2271     ,);;
2272     *)
2273       if test "x$ac_old_val" != "x$ac_new_val"; then
2274         # differences in whitespace do not lead to failure.
2275         ac_old_val_w=`echo x $ac_old_val`
2276         ac_new_val_w=`echo x $ac_new_val`
2277         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2278           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2279 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2280           ac_cache_corrupted=:
2281         else
2282           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2283 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2284           eval $ac_var=\$ac_old_val
2285         fi
2286         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2287 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2288         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2289 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2290       fi;;
2291   esac
2292   # Pass precious variables to config.status.
2293   if test "$ac_new_set" = set; then
2294     case $ac_new_val in
2295     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2296     *) ac_arg=$ac_var=$ac_new_val ;;
2297     esac
2298     case " $ac_configure_args " in
2299       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2300       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2301     esac
2302   fi
2303 done
2304 if $ac_cache_corrupted; then
2305   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2308 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2309   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2310 fi
2311 ## -------------------- ##
2312 ## Main body of script. ##
2313 ## -------------------- ##
2314
2315 ac_ext=c
2316 ac_cpp='$CPP $CPPFLAGS'
2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320
2321
2322
2323 ac_config_headers="$ac_config_headers config.h"
2324
2325 ac_aux_dir=
2326 for ac_dir in build-aux "$srcdir"/build-aux; do
2327   if test -f "$ac_dir/install-sh"; then
2328     ac_aux_dir=$ac_dir
2329     ac_install_sh="$ac_aux_dir/install-sh -c"
2330     break
2331   elif test -f "$ac_dir/install.sh"; then
2332     ac_aux_dir=$ac_dir
2333     ac_install_sh="$ac_aux_dir/install.sh -c"
2334     break
2335   elif test -f "$ac_dir/shtool"; then
2336     ac_aux_dir=$ac_dir
2337     ac_install_sh="$ac_aux_dir/shtool install -c"
2338     break
2339   fi
2340 done
2341 if test -z "$ac_aux_dir"; then
2342   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2343 fi
2344
2345 # These three variables are undocumented and unsupported,
2346 # and are intended to be withdrawn in a future Autoconf release.
2347 # They can cause serious problems if a builder's source tree is in a directory
2348 # whose full name contains unusual characters.
2349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2351 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2352
2353
2354
2355
2356 am__api_version='1.14'
2357
2358 # Find a good install program.  We prefer a C program (faster),
2359 # so one script is as good as another.  But avoid the broken or
2360 # incompatible versions:
2361 # SysV /etc/install, /usr/sbin/install
2362 # SunOS /usr/etc/install
2363 # IRIX /sbin/install
2364 # AIX /bin/install
2365 # AmigaOS /C/install, which installs bootblocks on floppy discs
2366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2369 # OS/2's system install, which has a completely different semantic
2370 # ./install, which can be erroneously created by make from ./install.sh.
2371 # Reject install programs that cannot install multiple files.
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2373 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2374 if test -z "$INSTALL"; then
2375 if ${ac_cv_path_install+:} false; then :
2376   $as_echo_n "(cached) " >&6
2377 else
2378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 for as_dir in $PATH
2380 do
2381   IFS=$as_save_IFS
2382   test -z "$as_dir" && as_dir=.
2383     # Account for people who put trailing slashes in PATH elements.
2384 case $as_dir/ in #((
2385   ./ | .// | /[cC]/* | \
2386   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2387   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2388   /usr/ucb/* ) ;;
2389   *)
2390     # OSF1 and SCO ODT 3.0 have their own names for install.
2391     # Don't use installbsd from OSF since it installs stuff as root
2392     # by default.
2393     for ac_prog in ginstall scoinst install; do
2394       for ac_exec_ext in '' $ac_executable_extensions; do
2395         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2396           if test $ac_prog = install &&
2397             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398             # AIX install.  It has an incompatible calling convention.
2399             :
2400           elif test $ac_prog = install &&
2401             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402             # program-specific install script used by HP pwplus--don't use.
2403             :
2404           else
2405             rm -rf conftest.one conftest.two conftest.dir
2406             echo one > conftest.one
2407             echo two > conftest.two
2408             mkdir conftest.dir
2409             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2410               test -s conftest.one && test -s conftest.two &&
2411               test -s conftest.dir/conftest.one &&
2412               test -s conftest.dir/conftest.two
2413             then
2414               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2415               break 3
2416             fi
2417           fi
2418         fi
2419       done
2420     done
2421     ;;
2422 esac
2423
2424   done
2425 IFS=$as_save_IFS
2426
2427 rm -rf conftest.one conftest.two conftest.dir
2428
2429 fi
2430   if test "${ac_cv_path_install+set}" = set; then
2431     INSTALL=$ac_cv_path_install
2432   else
2433     # As a last resort, use the slow shell script.  Don't cache a
2434     # value for INSTALL within a source directory, because that will
2435     # break other packages using the cache if that directory is
2436     # removed, or if the value is a relative name.
2437     INSTALL=$ac_install_sh
2438   fi
2439 fi
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2441 $as_echo "$INSTALL" >&6; }
2442
2443 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2444 # It thinks the first close brace ends the variable substitution.
2445 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2446
2447 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2448
2449 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2450
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2452 $as_echo_n "checking whether build environment is sane... " >&6; }
2453 # Reject unsafe characters in $srcdir or the absolute working directory
2454 # name.  Accept space and tab only in the latter.
2455 am_lf='
2456 '
2457 case `pwd` in
2458   *[\\\"\#\$\&\'\`$am_lf]*)
2459     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2460 esac
2461 case $srcdir in
2462   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2463     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2464 esac
2465
2466 # Do 'set' in a subshell so we don't clobber the current shell's
2467 # arguments.  Must try -L first in case configure is actually a
2468 # symlink; some systems play weird games with the mod time of symlinks
2469 # (eg FreeBSD returns the mod time of the symlink's containing
2470 # directory).
2471 if (
2472    am_has_slept=no
2473    for am_try in 1 2; do
2474      echo "timestamp, slept: $am_has_slept" > conftest.file
2475      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2476      if test "$*" = "X"; then
2477         # -L didn't work.
2478         set X `ls -t "$srcdir/configure" conftest.file`
2479      fi
2480      if test "$*" != "X $srcdir/configure conftest.file" \
2481         && test "$*" != "X conftest.file $srcdir/configure"; then
2482
2483         # If neither matched, then we have a broken ls.  This can happen
2484         # if, for instance, CONFIG_SHELL is bash and it inherits a
2485         # broken ls alias from the environment.  This has actually
2486         # happened.  Such a system could not be considered "sane".
2487         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2488   alias in your environment" "$LINENO" 5
2489      fi
2490      if test "$2" = conftest.file || test $am_try -eq 2; then
2491        break
2492      fi
2493      # Just in case.
2494      sleep 1
2495      am_has_slept=yes
2496    done
2497    test "$2" = conftest.file
2498    )
2499 then
2500    # Ok.
2501    :
2502 else
2503    as_fn_error $? "newly created file is older than distributed files!
2504 Check your system clock" "$LINENO" 5
2505 fi
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2507 $as_echo "yes" >&6; }
2508 # If we didn't sleep, we still need to ensure time stamps of config.status and
2509 # generated files are strictly newer.
2510 am_sleep_pid=
2511 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2512   ( sleep 1 ) &
2513   am_sleep_pid=$!
2514 fi
2515
2516 rm -f conftest.file
2517
2518 test "$program_prefix" != NONE &&
2519   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2520 # Use a double $ so make ignores it.
2521 test "$program_suffix" != NONE &&
2522   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2523 # Double any \ or $.
2524 # By default was `s,x,x', remove it if useless.
2525 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2526 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2527
2528 # expand $ac_aux_dir to an absolute path
2529 am_aux_dir=`cd $ac_aux_dir && pwd`
2530
2531 if test x"${MISSING+set}" != xset; then
2532   case $am_aux_dir in
2533   *\ * | *\     *)
2534     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2535   *)
2536     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2537   esac
2538 fi
2539 # Use eval to expand $SHELL
2540 if eval "$MISSING --is-lightweight"; then
2541   am_missing_run="$MISSING "
2542 else
2543   am_missing_run=
2544   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2545 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2546 fi
2547
2548 if test x"${install_sh}" != xset; then
2549   case $am_aux_dir in
2550   *\ * | *\     *)
2551     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2552   *)
2553     install_sh="\${SHELL} $am_aux_dir/install-sh"
2554   esac
2555 fi
2556
2557 # Installed binaries are usually stripped using 'strip' when the user
2558 # run "make install-strip".  However 'strip' might not be the right
2559 # tool to use in cross-compilation environments, therefore Automake
2560 # will honor the 'STRIP' environment variable to overrule this program.
2561 if test "$cross_compiling" != no; then
2562   if test -n "$ac_tool_prefix"; then
2563   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2564 set dummy ${ac_tool_prefix}strip; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_STRIP+:} false; then :
2568   $as_echo_n "(cached) " >&6
2569 else
2570   if test -n "$STRIP"; then
2571   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2572 else
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH
2575 do
2576   IFS=$as_save_IFS
2577   test -z "$as_dir" && as_dir=.
2578     for ac_exec_ext in '' $ac_executable_extensions; do
2579   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582     break 2
2583   fi
2584 done
2585   done
2586 IFS=$as_save_IFS
2587
2588 fi
2589 fi
2590 STRIP=$ac_cv_prog_STRIP
2591 if test -n "$STRIP"; then
2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2593 $as_echo "$STRIP" >&6; }
2594 else
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2597 fi
2598
2599
2600 fi
2601 if test -z "$ac_cv_prog_STRIP"; then
2602   ac_ct_STRIP=$STRIP
2603   # Extract the first word of "strip", so it can be a program name with args.
2604 set dummy strip; ac_word=$2
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2608   $as_echo_n "(cached) " >&6
2609 else
2610   if test -n "$ac_ct_STRIP"; then
2611   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2612 else
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 for as_dir in $PATH
2615 do
2616   IFS=$as_save_IFS
2617   test -z "$as_dir" && as_dir=.
2618     for ac_exec_ext in '' $ac_executable_extensions; do
2619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620     ac_cv_prog_ac_ct_STRIP="strip"
2621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622     break 2
2623   fi
2624 done
2625   done
2626 IFS=$as_save_IFS
2627
2628 fi
2629 fi
2630 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2631 if test -n "$ac_ct_STRIP"; then
2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2633 $as_echo "$ac_ct_STRIP" >&6; }
2634 else
2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636 $as_echo "no" >&6; }
2637 fi
2638
2639   if test "x$ac_ct_STRIP" = x; then
2640     STRIP=":"
2641   else
2642     case $cross_compiling:$ac_tool_warned in
2643 yes:)
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2646 ac_tool_warned=yes ;;
2647 esac
2648     STRIP=$ac_ct_STRIP
2649   fi
2650 else
2651   STRIP="$ac_cv_prog_STRIP"
2652 fi
2653
2654 fi
2655 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2656
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2658 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2659 if test -z "$MKDIR_P"; then
2660   if ${ac_cv_path_mkdir+:} false; then :
2661   $as_echo_n "(cached) " >&6
2662 else
2663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668     for ac_prog in mkdir gmkdir; do
2669          for ac_exec_ext in '' $ac_executable_extensions; do
2670            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2671            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2672              'mkdir (GNU coreutils) '* | \
2673              'mkdir (coreutils) '* | \
2674              'mkdir (fileutils) '4.1*)
2675                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2676                break 3;;
2677            esac
2678          done
2679        done
2680   done
2681 IFS=$as_save_IFS
2682
2683 fi
2684
2685   test -d ./--version && rmdir ./--version
2686   if test "${ac_cv_path_mkdir+set}" = set; then
2687     MKDIR_P="$ac_cv_path_mkdir -p"
2688   else
2689     # As a last resort, use the slow shell script.  Don't cache a
2690     # value for MKDIR_P within a source directory, because that will
2691     # break other packages using the cache if that directory is
2692     # removed, or if the value is a relative name.
2693     MKDIR_P="$ac_install_sh -d"
2694   fi
2695 fi
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2697 $as_echo "$MKDIR_P" >&6; }
2698
2699 for ac_prog in gawk mawk nawk awk
2700 do
2701   # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy $ac_prog; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if ${ac_cv_prog_AWK+:} false; then :
2706   $as_echo_n "(cached) " >&6
2707 else
2708   if test -n "$AWK"; then
2709   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2710 else
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 for as_dir in $PATH
2713 do
2714   IFS=$as_save_IFS
2715   test -z "$as_dir" && as_dir=.
2716     for ac_exec_ext in '' $ac_executable_extensions; do
2717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2718     ac_cv_prog_AWK="$ac_prog"
2719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720     break 2
2721   fi
2722 done
2723   done
2724 IFS=$as_save_IFS
2725
2726 fi
2727 fi
2728 AWK=$ac_cv_prog_AWK
2729 if test -n "$AWK"; then
2730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2731 $as_echo "$AWK" >&6; }
2732 else
2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2735 fi
2736
2737
2738   test -n "$AWK" && break
2739 done
2740
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2742 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2743 set x ${MAKE-make}
2744 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2745 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2746   $as_echo_n "(cached) " >&6
2747 else
2748   cat >conftest.make <<\_ACEOF
2749 SHELL = /bin/sh
2750 all:
2751         @echo '@@@%%%=$(MAKE)=@@@%%%'
2752 _ACEOF
2753 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2754 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2755   *@@@%%%=?*=@@@%%%*)
2756     eval ac_cv_prog_make_${ac_make}_set=yes;;
2757   *)
2758     eval ac_cv_prog_make_${ac_make}_set=no;;
2759 esac
2760 rm -f conftest.make
2761 fi
2762 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2764 $as_echo "yes" >&6; }
2765   SET_MAKE=
2766 else
2767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2769   SET_MAKE="MAKE=${MAKE-make}"
2770 fi
2771
2772 rm -rf .tst 2>/dev/null
2773 mkdir .tst 2>/dev/null
2774 if test -d .tst; then
2775   am__leading_dot=.
2776 else
2777   am__leading_dot=_
2778 fi
2779 rmdir .tst 2>/dev/null
2780
2781 # Check whether --enable-silent-rules was given.
2782 if test "${enable_silent_rules+set}" = set; then :
2783   enableval=$enable_silent_rules;
2784 fi
2785
2786 case $enable_silent_rules in # (((
2787   yes) AM_DEFAULT_VERBOSITY=0;;
2788    no) AM_DEFAULT_VERBOSITY=1;;
2789     *) AM_DEFAULT_VERBOSITY=1;;
2790 esac
2791 am_make=${MAKE-make}
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2793 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2794 if ${am_cv_make_support_nested_variables+:} false; then :
2795   $as_echo_n "(cached) " >&6
2796 else
2797   if $as_echo 'TRUE=$(BAR$(V))
2798 BAR0=false
2799 BAR1=true
2800 V=1
2801 am__doit:
2802         @$(TRUE)
2803 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2804   am_cv_make_support_nested_variables=yes
2805 else
2806   am_cv_make_support_nested_variables=no
2807 fi
2808 fi
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2810 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2811 if test $am_cv_make_support_nested_variables = yes; then
2812     AM_V='$(V)'
2813   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2814 else
2815   AM_V=$AM_DEFAULT_VERBOSITY
2816   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2817 fi
2818 AM_BACKSLASH='\'
2819
2820 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2821   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2822   # is not polluted with repeated "-I."
2823   am__isrc=' -I$(srcdir)'
2824   # test to see if srcdir already configured
2825   if test -f $srcdir/config.status; then
2826     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2827   fi
2828 fi
2829
2830 # test whether we have cygpath
2831 if test -z "$CYGPATH_W"; then
2832   if (cygpath --version) >/dev/null 2>/dev/null; then
2833     CYGPATH_W='cygpath -w'
2834   else
2835     CYGPATH_W=echo
2836   fi
2837 fi
2838
2839
2840 # Define the identity of the package.
2841  PACKAGE='gsignond'
2842  VERSION='1.0.1'
2843
2844
2845 cat >>confdefs.h <<_ACEOF
2846 #define PACKAGE "$PACKAGE"
2847 _ACEOF
2848
2849
2850 cat >>confdefs.h <<_ACEOF
2851 #define VERSION "$VERSION"
2852 _ACEOF
2853
2854 # Some tools Automake needs.
2855
2856 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2857
2858
2859 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2860
2861
2862 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2863
2864
2865 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2866
2867
2868 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2869
2870 # For better backward compatibility.  To be removed once Automake 1.9.x
2871 # dies out for good.  For more background, see:
2872 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2873 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2874 mkdir_p='$(MKDIR_P)'
2875
2876 # We need awk for the "check" target.  The system "awk" is bad on
2877 # some platforms.
2878 # Always define AMTAR for backward compatibility.  Yes, it's still used
2879 # in the wild :-(  We should find a proper way to deprecate it ...
2880 AMTAR='$${TAR-tar}'
2881
2882
2883 # We'll loop over all known methods to create a tar archive until one works.
2884 _am_tools='gnutar  pax cpio none'
2885
2886
2887
2888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2889 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2890
2891   # Go ahead even if we have the value already cached.  We do so because we
2892   # need to set the values for the 'am__tar' and 'am__untar' variables.
2893   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2894
2895   for _am_tool in $_am_tools; do
2896     case $_am_tool in
2897     gnutar)
2898       for _am_tar in tar gnutar gtar; do
2899         { echo "$as_me:$LINENO: $_am_tar --version" >&5
2900    ($_am_tar --version) >&5 2>&5
2901    ac_status=$?
2902    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903    (exit $ac_status); } && break
2904       done
2905       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2906       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2907       am__untar="$_am_tar -xf -"
2908       ;;
2909     plaintar)
2910       # Must skip GNU tar: if it does not support --format= it doesn't create
2911       # ustar tarball either.
2912       (tar --version) >/dev/null 2>&1 && continue
2913       am__tar='tar chf - "$$tardir"'
2914       am__tar_='tar chf - "$tardir"'
2915       am__untar='tar xf -'
2916       ;;
2917     pax)
2918       am__tar='pax -L -x pax -w "$$tardir"'
2919       am__tar_='pax -L -x pax -w "$tardir"'
2920       am__untar='pax -r'
2921       ;;
2922     cpio)
2923       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2924       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2925       am__untar='cpio -i -H pax -d'
2926       ;;
2927     none)
2928       am__tar=false
2929       am__tar_=false
2930       am__untar=false
2931       ;;
2932     esac
2933
2934     # If the value was cached, stop now.  We just wanted to have am__tar
2935     # and am__untar set.
2936     test -n "${am_cv_prog_tar_pax}" && break
2937
2938     # tar/untar a dummy directory, and stop if the command works.
2939     rm -rf conftest.dir
2940     mkdir conftest.dir
2941     echo GrepMe > conftest.dir/file
2942     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2943    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2944    ac_status=$?
2945    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946    (exit $ac_status); }
2947     rm -rf conftest.dir
2948     if test -s conftest.tar; then
2949       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2950    ($am__untar <conftest.tar) >&5 2>&5
2951    ac_status=$?
2952    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953    (exit $ac_status); }
2954       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2955    (cat conftest.dir/file) >&5 2>&5
2956    ac_status=$?
2957    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958    (exit $ac_status); }
2959       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2960     fi
2961   done
2962   rm -rf conftest.dir
2963
2964   if ${am_cv_prog_tar_pax+:} false; then :
2965   $as_echo_n "(cached) " >&6
2966 else
2967   am_cv_prog_tar_pax=$_am_tool
2968 fi
2969
2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2971 $as_echo "$am_cv_prog_tar_pax" >&6; }
2972
2973
2974
2975
2976
2977
2978 # POSIX will say in a future version that running "rm -f" with no argument
2979 # is OK; and we want to be able to make that assumption in our Makefile
2980 # recipes.  So use an aggressive probe to check that the usage we want is
2981 # actually supported "in the wild" to an acceptable degree.
2982 # See automake bug#10828.
2983 # To make any issue more visible, cause the running configure to be aborted
2984 # by default if the 'rm' program in use doesn't match our expectations; the
2985 # user can still override this though.
2986 if rm -f && rm -fr && rm -rf; then : OK; else
2987   cat >&2 <<'END'
2988 Oops!
2989
2990 Your 'rm' program seems unable to run without file operands specified
2991 on the command line, even when the '-f' option is present.  This is contrary
2992 to the behaviour of most rm programs out there, and not conforming with
2993 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2994
2995 Please tell bug-automake@gnu.org about your system, including the value
2996 of your $PATH and any error possibly output before this message.  This
2997 can help us improve future automake versions.
2998
2999 END
3000   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3001     echo 'Configuration will proceed anyway, since you have set the' >&2
3002     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3003     echo >&2
3004   else
3005     cat >&2 <<'END'
3006 Aborting the configuration process, to ensure you take notice of the issue.
3007
3008 You can download and install GNU coreutils to get an 'rm' implementation
3009 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3010
3011 If you want to complete the configuration process using your problematic
3012 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3013 to "yes", and re-run configure.
3014
3015 END
3016     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3017   fi
3018 fi
3019
3020
3021 # Checks for programs.
3022 ac_ext=c
3023 ac_cpp='$CPP $CPPFLAGS'
3024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 if test -n "$ac_tool_prefix"; then
3028   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_CC+:} false; then :
3033   $as_echo_n "(cached) " >&6
3034 else
3035   if test -n "$CC"; then
3036   ac_cv_prog_CC="$CC" # Let the user override the test.
3037 else
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 for as_dir in $PATH
3040 do
3041   IFS=$as_save_IFS
3042   test -z "$as_dir" && as_dir=.
3043     for ac_exec_ext in '' $ac_executable_extensions; do
3044   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3045     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047     break 2
3048   fi
3049 done
3050   done
3051 IFS=$as_save_IFS
3052
3053 fi
3054 fi
3055 CC=$ac_cv_prog_CC
3056 if test -n "$CC"; then
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3059 else
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3062 fi
3063
3064
3065 fi
3066 if test -z "$ac_cv_prog_CC"; then
3067   ac_ct_CC=$CC
3068   # Extract the first word of "gcc", so it can be a program name with args.
3069 set dummy gcc; ac_word=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3073   $as_echo_n "(cached) " >&6
3074 else
3075   if test -n "$ac_ct_CC"; then
3076   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3077 else
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 for as_dir in $PATH
3080 do
3081   IFS=$as_save_IFS
3082   test -z "$as_dir" && as_dir=.
3083     for ac_exec_ext in '' $ac_executable_extensions; do
3084   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3085     ac_cv_prog_ac_ct_CC="gcc"
3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087     break 2
3088   fi
3089 done
3090   done
3091 IFS=$as_save_IFS
3092
3093 fi
3094 fi
3095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3096 if test -n "$ac_ct_CC"; then
3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3098 $as_echo "$ac_ct_CC" >&6; }
3099 else
3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3102 fi
3103
3104   if test "x$ac_ct_CC" = x; then
3105     CC=""
3106   else
3107     case $cross_compiling:$ac_tool_warned in
3108 yes:)
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111 ac_tool_warned=yes ;;
3112 esac
3113     CC=$ac_ct_CC
3114   fi
3115 else
3116   CC="$ac_cv_prog_CC"
3117 fi
3118
3119 if test -z "$CC"; then
3120           if test -n "$ac_tool_prefix"; then
3121     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3122 set dummy ${ac_tool_prefix}cc; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_CC+:} false; then :
3126   $as_echo_n "(cached) " >&6
3127 else
3128   if test -n "$CC"; then
3129   ac_cv_prog_CC="$CC" # Let the user override the test.
3130 else
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3133 do
3134   IFS=$as_save_IFS
3135   test -z "$as_dir" && as_dir=.
3136     for ac_exec_ext in '' $ac_executable_extensions; do
3137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138     ac_cv_prog_CC="${ac_tool_prefix}cc"
3139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140     break 2
3141   fi
3142 done
3143   done
3144 IFS=$as_save_IFS
3145
3146 fi
3147 fi
3148 CC=$ac_cv_prog_CC
3149 if test -n "$CC"; then
3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3152 else
3153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3155 fi
3156
3157
3158   fi
3159 fi
3160 if test -z "$CC"; then
3161   # Extract the first word of "cc", so it can be a program name with args.
3162 set dummy cc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false; then :
3166   $as_echo_n "(cached) " >&6
3167 else
3168   if test -n "$CC"; then
3169   ac_cv_prog_CC="$CC" # Let the user override the test.
3170 else
3171   ac_prog_rejected=no
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 for as_dir in $PATH
3174 do
3175   IFS=$as_save_IFS
3176   test -z "$as_dir" && as_dir=.
3177     for ac_exec_ext in '' $ac_executable_extensions; do
3178   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3180        ac_prog_rejected=yes
3181        continue
3182      fi
3183     ac_cv_prog_CC="cc"
3184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185     break 2
3186   fi
3187 done
3188   done
3189 IFS=$as_save_IFS
3190
3191 if test $ac_prog_rejected = yes; then
3192   # We found a bogon in the path, so make sure we never use it.
3193   set dummy $ac_cv_prog_CC
3194   shift
3195   if test $# != 0; then
3196     # We chose a different compiler from the bogus one.
3197     # However, it has the same basename, so the bogon will be chosen
3198     # first if we set CC to just the basename; use the full file name.
3199     shift
3200     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3201   fi
3202 fi
3203 fi
3204 fi
3205 CC=$ac_cv_prog_CC
3206 if test -n "$CC"; then
3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208 $as_echo "$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 fi
3216 if test -z "$CC"; then
3217   if test -n "$ac_tool_prefix"; then
3218   for ac_prog in cl.exe
3219   do
3220     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_CC+:} false; then :
3225   $as_echo_n "(cached) " >&6
3226 else
3227   if test -n "$CC"; then
3228   ac_cv_prog_CC="$CC" # Let the user override the test.
3229 else
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231 for as_dir in $PATH
3232 do
3233   IFS=$as_save_IFS
3234   test -z "$as_dir" && as_dir=.
3235     for ac_exec_ext in '' $ac_executable_extensions; do
3236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3237     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239     break 2
3240   fi
3241 done
3242   done
3243 IFS=$as_save_IFS
3244
3245 fi
3246 fi
3247 CC=$ac_cv_prog_CC
3248 if test -n "$CC"; then
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250 $as_echo "$CC" >&6; }
3251 else
3252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 fi
3255
3256
3257     test -n "$CC" && break
3258   done
3259 fi
3260 if test -z "$CC"; then
3261   ac_ct_CC=$CC
3262   for ac_prog in cl.exe
3263 do
3264   # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy $ac_prog; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3269   $as_echo_n "(cached) " >&6
3270 else
3271   if test -n "$ac_ct_CC"; then
3272   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3273 else
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275 for as_dir in $PATH
3276 do
3277   IFS=$as_save_IFS
3278   test -z "$as_dir" && as_dir=.
3279     for ac_exec_ext in '' $ac_executable_extensions; do
3280   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3281     ac_cv_prog_ac_ct_CC="$ac_prog"
3282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283     break 2
3284   fi
3285 done
3286   done
3287 IFS=$as_save_IFS
3288
3289 fi
3290 fi
3291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3292 if test -n "$ac_ct_CC"; then
3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3294 $as_echo "$ac_ct_CC" >&6; }
3295 else
3296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3298 fi
3299
3300
3301   test -n "$ac_ct_CC" && break
3302 done
3303
3304   if test "x$ac_ct_CC" = x; then
3305     CC=""
3306   else
3307     case $cross_compiling:$ac_tool_warned in
3308 yes:)
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311 ac_tool_warned=yes ;;
3312 esac
3313     CC=$ac_ct_CC
3314   fi
3315 fi
3316
3317 fi
3318
3319
3320 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error $? "no acceptable C compiler found in \$PATH
3323 See \`config.log' for more details" "$LINENO" 5; }
3324
3325 # Provide some information about the compiler.
3326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3327 set X $ac_compile
3328 ac_compiler=$2
3329 for ac_option in --version -v -V -qversion; do
3330   { { ac_try="$ac_compiler $ac_option >&5"
3331 case "(($ac_try" in
3332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333   *) ac_try_echo=$ac_try;;
3334 esac
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3338   ac_status=$?
3339   if test -s conftest.err; then
3340     sed '10a\
3341 ... rest of stderr output deleted ...
3342          10q' conftest.err >conftest.er1
3343     cat conftest.er1 >&5
3344   fi
3345   rm -f conftest.er1 conftest.err
3346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347   test $ac_status = 0; }
3348 done
3349
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h.  */
3352
3353 int
3354 main ()
3355 {
3356
3357   ;
3358   return 0;
3359 }
3360 _ACEOF
3361 ac_clean_files_save=$ac_clean_files
3362 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3363 # Try to create an executable without -o first, disregard a.out.
3364 # It will help us diagnose broken compilers, and finding out an intuition
3365 # of exeext.
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3367 $as_echo_n "checking whether the C compiler works... " >&6; }
3368 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3369
3370 # The possible output files:
3371 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3372
3373 ac_rmfiles=
3374 for ac_file in $ac_files
3375 do
3376   case $ac_file in
3377     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3379   esac
3380 done
3381 rm -f $ac_rmfiles
3382
3383 if { { ac_try="$ac_link_default"
3384 case "(($ac_try" in
3385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386   *) ac_try_echo=$ac_try;;
3387 esac
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390   (eval "$ac_link_default") 2>&5
3391   ac_status=$?
3392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393   test $ac_status = 0; }; then :
3394   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3396 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3397 # so that the user can short-circuit this test for compilers unknown to
3398 # Autoconf.
3399 for ac_file in $ac_files ''
3400 do
3401   test -f "$ac_file" || continue
3402   case $ac_file in
3403     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3404         ;;
3405     [ab].out )
3406         # We found the default executable, but exeext='' is most
3407         # certainly right.
3408         break;;
3409     *.* )
3410         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3411         then :; else
3412            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3413         fi
3414         # We set ac_cv_exeext here because the later test for it is not
3415         # safe: cross compilers may not add the suffix if given an `-o'
3416         # argument, so we may need to know it at that point already.
3417         # Even if this section looks crufty: it has the advantage of
3418         # actually working.
3419         break;;
3420     * )
3421         break;;
3422   esac
3423 done
3424 test "$ac_cv_exeext" = no && ac_cv_exeext=
3425
3426 else
3427   ac_file=''
3428 fi
3429 if test -z "$ac_file"; then :
3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3432 $as_echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.$ac_ext >&5
3434
3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 as_fn_error 77 "C compiler cannot create executables
3438 See \`config.log' for more details" "$LINENO" 5; }
3439 else
3440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3441 $as_echo "yes" >&6; }
3442 fi
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3444 $as_echo_n "checking for C compiler default output file name... " >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3446 $as_echo "$ac_file" >&6; }
3447 ac_exeext=$ac_cv_exeext
3448
3449 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3450 ac_clean_files=$ac_clean_files_save
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3452 $as_echo_n "checking for suffix of executables... " >&6; }
3453 if { { ac_try="$ac_link"
3454 case "(($ac_try" in
3455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456   *) ac_try_echo=$ac_try;;
3457 esac
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460   (eval "$ac_link") 2>&5
3461   ac_status=$?
3462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463   test $ac_status = 0; }; then :
3464   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3465 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3466 # work properly (i.e., refer to `conftest.exe'), while it won't with
3467 # `rm'.
3468 for ac_file in conftest.exe conftest conftest.*; do
3469   test -f "$ac_file" || continue
3470   case $ac_file in
3471     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3472     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3473           break;;
3474     * ) break;;
3475   esac
3476 done
3477 else
3478   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3481 See \`config.log' for more details" "$LINENO" 5; }
3482 fi
3483 rm -f conftest conftest$ac_cv_exeext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3485 $as_echo "$ac_cv_exeext" >&6; }
3486
3487 rm -f conftest.$ac_ext
3488 EXEEXT=$ac_cv_exeext
3489 ac_exeext=$EXEEXT
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h.  */
3492 #include <stdio.h>
3493 int
3494 main ()
3495 {
3496 FILE *f = fopen ("conftest.out", "w");
3497  return ferror (f) || fclose (f) != 0;
3498
3499   ;
3500   return 0;
3501 }
3502 _ACEOF
3503 ac_clean_files="$ac_clean_files conftest.out"
3504 # Check that the compiler produces executables we can run.  If not, either
3505 # the compiler is broken, or we cross compile.
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3507 $as_echo_n "checking whether we are cross compiling... " >&6; }
3508 if test "$cross_compiling" != yes; then
3509   { { ac_try="$ac_link"
3510 case "(($ac_try" in
3511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512   *) ac_try_echo=$ac_try;;
3513 esac
3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516   (eval "$ac_link") 2>&5
3517   ac_status=$?
3518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519   test $ac_status = 0; }
3520   if { ac_try='./conftest$ac_cv_exeext'
3521   { { case "(($ac_try" in
3522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523   *) ac_try_echo=$ac_try;;
3524 esac
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527   (eval "$ac_try") 2>&5
3528   ac_status=$?
3529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530   test $ac_status = 0; }; }; then
3531     cross_compiling=no
3532   else
3533     if test "$cross_compiling" = maybe; then
3534         cross_compiling=yes
3535     else
3536         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538 as_fn_error $? "cannot run C compiled programs.
3539 If you meant to cross compile, use \`--host'.
3540 See \`config.log' for more details" "$LINENO" 5; }
3541     fi
3542   fi
3543 fi
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3545 $as_echo "$cross_compiling" >&6; }
3546
3547 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3548 ac_clean_files=$ac_clean_files_save
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3550 $as_echo_n "checking for suffix of object files... " >&6; }
3551 if ${ac_cv_objext+:} false; then :
3552   $as_echo_n "(cached) " >&6
3553 else
3554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h.  */
3556
3557 int
3558 main ()
3559 {
3560
3561   ;
3562   return 0;
3563 }
3564 _ACEOF
3565 rm -f conftest.o conftest.obj
3566 if { { ac_try="$ac_compile"
3567 case "(($ac_try" in
3568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569   *) ac_try_echo=$ac_try;;
3570 esac
3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572 $as_echo "$ac_try_echo"; } >&5
3573   (eval "$ac_compile") 2>&5
3574   ac_status=$?
3575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576   test $ac_status = 0; }; then :
3577   for ac_file in conftest.o conftest.obj conftest.*; do
3578   test -f "$ac_file" || continue;
3579   case $ac_file in
3580     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3581     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3582        break;;
3583   esac
3584 done
3585 else
3586   $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3588
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error $? "cannot compute suffix of object files: cannot compile
3592 See \`config.log' for more details" "$LINENO" 5; }
3593 fi
3594 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3595 fi
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3597 $as_echo "$ac_cv_objext" >&6; }
3598 OBJEXT=$ac_cv_objext
3599 ac_objext=$OBJEXT
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3601 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3602 if ${ac_cv_c_compiler_gnu+:} false; then :
3603   $as_echo_n "(cached) " >&6
3604 else
3605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h.  */
3607
3608 int
3609 main ()
3610 {
3611 #ifndef __GNUC__
3612        choke me
3613 #endif
3614
3615   ;
3616   return 0;
3617 }
3618 _ACEOF
3619 if ac_fn_c_try_compile "$LINENO"; then :
3620   ac_compiler_gnu=yes
3621 else
3622   ac_compiler_gnu=no
3623 fi
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3626
3627 fi
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3629 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3630 if test $ac_compiler_gnu = yes; then
3631   GCC=yes
3632 else
3633   GCC=
3634 fi
3635 ac_test_CFLAGS=${CFLAGS+set}
3636 ac_save_CFLAGS=$CFLAGS
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3638 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3639 if ${ac_cv_prog_cc_g+:} false; then :
3640   $as_echo_n "(cached) " >&6
3641 else
3642   ac_save_c_werror_flag=$ac_c_werror_flag
3643    ac_c_werror_flag=yes
3644    ac_cv_prog_cc_g=no
3645    CFLAGS="-g"
3646    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h.  */
3648
3649 int
3650 main ()
3651 {
3652
3653   ;
3654   return 0;
3655 }
3656 _ACEOF
3657 if ac_fn_c_try_compile "$LINENO"; then :
3658   ac_cv_prog_cc_g=yes
3659 else
3660   CFLAGS=""
3661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h.  */
3663
3664 int
3665 main ()
3666 {
3667
3668   ;
3669   return 0;
3670 }
3671 _ACEOF
3672 if ac_fn_c_try_compile "$LINENO"; then :
3673
3674 else
3675   ac_c_werror_flag=$ac_save_c_werror_flag
3676          CFLAGS="-g"
3677          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h.  */
3679
3680 int
3681 main ()
3682 {
3683
3684   ;
3685   return 0;
3686 }
3687 _ACEOF
3688 if ac_fn_c_try_compile "$LINENO"; then :
3689   ac_cv_prog_cc_g=yes
3690 fi
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692 fi
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 fi
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696    ac_c_werror_flag=$ac_save_c_werror_flag
3697 fi
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3699 $as_echo "$ac_cv_prog_cc_g" >&6; }
3700 if test "$ac_test_CFLAGS" = set; then
3701   CFLAGS=$ac_save_CFLAGS
3702 elif test $ac_cv_prog_cc_g = yes; then
3703   if test "$GCC" = yes; then
3704     CFLAGS="-g -O2"
3705   else
3706     CFLAGS="-g"
3707   fi
3708 else
3709   if test "$GCC" = yes; then
3710     CFLAGS="-O2"
3711   else
3712     CFLAGS=
3713   fi
3714 fi
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3716 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3717 if ${ac_cv_prog_cc_c89+:} false; then :
3718   $as_echo_n "(cached) " >&6
3719 else
3720   ac_cv_prog_cc_c89=no
3721 ac_save_CC=$CC
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h.  */
3724 #include <stdarg.h>
3725 #include <stdio.h>
3726 struct stat;
3727 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3728 struct buf { int x; };
3729 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3730 static char *e (p, i)
3731      char **p;
3732      int i;
3733 {
3734   return p[i];
3735 }
3736 static char *f (char * (*g) (char **, int), char **p, ...)
3737 {
3738   char *s;
3739   va_list v;
3740   va_start (v,p);
3741   s = g (p, va_arg (v,int));
3742   va_end (v);
3743   return s;
3744 }
3745
3746 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3747    function prototypes and stuff, but not '\xHH' hex character constants.
3748    These don't provoke an error unfortunately, instead are silently treated
3749    as 'x'.  The following induces an error, until -std is added to get
3750    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3751    array size at least.  It's necessary to write '\x00'==0 to get something
3752    that's true only with -std.  */
3753 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3754
3755 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3756    inside strings and character constants.  */
3757 #define FOO(x) 'x'
3758 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3759
3760 int test (int i, double x);
3761 struct s1 {int (*f) (int a);};
3762 struct s2 {int (*f) (double a);};
3763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3764 int argc;
3765 char **argv;
3766 int
3767 main ()
3768 {
3769 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3770   ;
3771   return 0;
3772 }
3773 _ACEOF
3774 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3775         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3776 do
3777   CC="$ac_save_CC $ac_arg"
3778   if ac_fn_c_try_compile "$LINENO"; then :
3779   ac_cv_prog_cc_c89=$ac_arg
3780 fi
3781 rm -f core conftest.err conftest.$ac_objext
3782   test "x$ac_cv_prog_cc_c89" != "xno" && break
3783 done
3784 rm -f conftest.$ac_ext
3785 CC=$ac_save_CC
3786
3787 fi
3788 # AC_CACHE_VAL
3789 case "x$ac_cv_prog_cc_c89" in
3790   x)
3791     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3792 $as_echo "none needed" >&6; } ;;
3793   xno)
3794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3795 $as_echo "unsupported" >&6; } ;;
3796   *)
3797     CC="$CC $ac_cv_prog_cc_c89"
3798     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3799 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3800 esac
3801 if test "x$ac_cv_prog_cc_c89" != xno; then :
3802
3803 fi
3804
3805 ac_ext=c
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810
3811 ac_ext=c
3812 ac_cpp='$CPP $CPPFLAGS'
3813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3817 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3818 if ${am_cv_prog_cc_c_o+:} false; then :
3819   $as_echo_n "(cached) " >&6
3820 else
3821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h.  */
3823
3824 int
3825 main ()
3826 {
3827
3828   ;
3829   return 0;
3830 }
3831 _ACEOF
3832   # Make sure it works both with $CC and with simple cc.
3833   # Following AC_PROG_CC_C_O, we do the test twice because some
3834   # compilers refuse to overwrite an existing .o file with -o,
3835   # though they will create one.
3836   am_cv_prog_cc_c_o=yes
3837   for am_i in 1 2; do
3838     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3839    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3840    ac_status=$?
3841    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842    (exit $ac_status); } \
3843          && test -f conftest2.$ac_objext; then
3844       : OK
3845     else
3846       am_cv_prog_cc_c_o=no
3847       break
3848     fi
3849   done
3850   rm -f core conftest*
3851   unset am_i
3852 fi
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3854 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3855 if test "$am_cv_prog_cc_c_o" != yes; then
3856    # Losing compiler, so override with the script.
3857    # FIXME: It is wrong to rewrite CC.
3858    # But if we don't then we get into trouble of one sort or another.
3859    # A longer-term fix would be to have automake use am__CC in this case,
3860    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3861    CC="$am_aux_dir/compile $CC"
3862 fi
3863 ac_ext=c
3864 ac_cpp='$CPP $CPPFLAGS'
3865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3868
3869 DEPDIR="${am__leading_dot}deps"
3870
3871 ac_config_commands="$ac_config_commands depfiles"
3872
3873
3874 am_make=${MAKE-make}
3875 cat > confinc << 'END'
3876 am__doit:
3877         @echo this is the am__doit target
3878 .PHONY: am__doit
3879 END
3880 # If we don't find an include directive, just comment out the code.
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3882 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3883 am__include="#"
3884 am__quote=
3885 _am_result=none
3886 # First try GNU make style include.
3887 echo "include confinc" > confmf
3888 # Ignore all kinds of additional output from 'make'.
3889 case `$am_make -s -f confmf 2> /dev/null` in #(
3890 *the\ am__doit\ target*)
3891   am__include=include
3892   am__quote=
3893   _am_result=GNU
3894   ;;
3895 esac
3896 # Now try BSD make style include.
3897 if test "$am__include" = "#"; then
3898    echo '.include "confinc"' > confmf
3899    case `$am_make -s -f confmf 2> /dev/null` in #(
3900    *the\ am__doit\ target*)
3901      am__include=.include
3902      am__quote="\""
3903      _am_result=BSD
3904      ;;
3905    esac
3906 fi
3907
3908
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3910 $as_echo "$_am_result" >&6; }
3911 rm -f confinc confmf
3912
3913 # Check whether --enable-dependency-tracking was given.
3914 if test "${enable_dependency_tracking+set}" = set; then :
3915   enableval=$enable_dependency_tracking;
3916 fi
3917
3918 if test "x$enable_dependency_tracking" != xno; then
3919   am_depcomp="$ac_aux_dir/depcomp"
3920   AMDEPBACKSLASH='\'
3921   am__nodep='_no'
3922 fi
3923  if test "x$enable_dependency_tracking" != xno; then
3924   AMDEP_TRUE=
3925   AMDEP_FALSE='#'
3926 else
3927   AMDEP_TRUE='#'
3928   AMDEP_FALSE=
3929 fi
3930
3931
3932
3933 depcc="$CC"   am_compiler_list=
3934
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3936 $as_echo_n "checking dependency style of $depcc... " >&6; }
3937 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3938   $as_echo_n "(cached) " >&6
3939 else
3940   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3941   # We make a subdir and do the tests there.  Otherwise we can end up
3942   # making bogus files that we don't know about and never remove.  For
3943   # instance it was reported that on HP-UX the gcc test will end up
3944   # making a dummy file named 'D' -- because '-MD' means "put the output
3945   # in D".
3946   rm -rf conftest.dir
3947   mkdir conftest.dir
3948   # Copy depcomp to subdir because otherwise we won't find it if we're
3949   # using a relative directory.
3950   cp "$am_depcomp" conftest.dir
3951   cd conftest.dir
3952   # We will build objects and dependencies in a subdirectory because
3953   # it helps to detect inapplicable dependency modes.  For instance
3954   # both Tru64's cc and ICC support -MD to output dependencies as a
3955   # side effect of compilation, but ICC will put the dependencies in
3956   # the current directory while Tru64 will put them in the object
3957   # directory.
3958   mkdir sub
3959
3960   am_cv_CC_dependencies_compiler_type=none
3961   if test "$am_compiler_list" = ""; then
3962      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3963   fi
3964   am__universal=false
3965   case " $depcc " in #(
3966      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3967      esac
3968
3969   for depmode in $am_compiler_list; do
3970     # Setup a source with many dependencies, because some compilers
3971     # like to wrap large dependency lists on column 80 (with \), and
3972     # we should not choose a depcomp mode which is confused by this.
3973     #
3974     # We need to recreate these files for each test, as the compiler may
3975     # overwrite some of them when testing with obscure command lines.
3976     # This happens at least with the AIX C compiler.
3977     : > sub/conftest.c
3978     for i in 1 2 3 4 5 6; do
3979       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3980       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3981       # Solaris 10 /bin/sh.
3982       echo '/* dummy */' > sub/conftst$i.h
3983     done
3984     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3985
3986     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3987     # mode.  It turns out that the SunPro C++ compiler does not properly
3988     # handle '-M -o', and we need to detect this.  Also, some Intel
3989     # versions had trouble with output in subdirs.
3990     am__obj=sub/conftest.${OBJEXT-o}
3991     am__minus_obj="-o $am__obj"
3992     case $depmode in
3993     gcc)
3994       # This depmode causes a compiler race in universal mode.
3995       test "$am__universal" = false || continue
3996       ;;
3997     nosideeffect)
3998       # After this tag, mechanisms are not by side-effect, so they'll
3999       # only be used when explicitly requested.
4000       if test "x$enable_dependency_tracking" = xyes; then
4001         continue
4002       else
4003         break
4004       fi
4005       ;;
4006     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4007       # This compiler won't grok '-c -o', but also, the minuso test has
4008       # not run yet.  These depmodes are late enough in the game, and
4009       # so weak that their functioning should not be impacted.
4010       am__obj=conftest.${OBJEXT-o}
4011       am__minus_obj=
4012       ;;
4013     none) break ;;
4014     esac
4015     if depmode=$depmode \
4016        source=sub/conftest.c object=$am__obj \
4017        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4018        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4019          >/dev/null 2>conftest.err &&
4020        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4021        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4022        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4023        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4024       # icc doesn't choke on unknown options, it will just issue warnings
4025       # or remarks (even with -Werror).  So we grep stderr for any message
4026       # that says an option was ignored or not supported.
4027       # When given -MP, icc 7.0 and 7.1 complain thusly:
4028       #   icc: Command line warning: ignoring option '-M'; no argument required
4029       # The diagnosis changed in icc 8.0:
4030       #   icc: Command line remark: option '-MP' not supported
4031       if (grep 'ignoring option' conftest.err ||
4032           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4033         am_cv_CC_dependencies_compiler_type=$depmode
4034         break
4035       fi
4036     fi
4037   done
4038
4039   cd ..
4040   rm -rf conftest.dir
4041 else
4042   am_cv_CC_dependencies_compiler_type=none
4043 fi
4044
4045 fi
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4047 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4048 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4049
4050  if
4051   test "x$enable_dependency_tracking" != xno \
4052   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4053   am__fastdepCC_TRUE=
4054   am__fastdepCC_FALSE='#'
4055 else
4056   am__fastdepCC_TRUE='#'
4057   am__fastdepCC_FALSE=
4058 fi
4059
4060
4061
4062 if test -n "$ac_tool_prefix"; then
4063   for ac_prog in ar lib "link -lib"
4064   do
4065     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if ${ac_cv_prog_AR+:} false; then :
4070   $as_echo_n "(cached) " >&6
4071 else
4072   if test -n "$AR"; then
4073   ac_cv_prog_AR="$AR" # Let the user override the test.
4074 else
4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 for as_dir in $PATH
4077 do
4078   IFS=$as_save_IFS
4079   test -z "$as_dir" && as_dir=.
4080     for ac_exec_ext in '' $ac_executable_extensions; do
4081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4082     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4084     break 2
4085   fi
4086 done
4087   done
4088 IFS=$as_save_IFS
4089
4090 fi
4091 fi
4092 AR=$ac_cv_prog_AR
4093 if test -n "$AR"; then
4094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4095 $as_echo "$AR" >&6; }
4096 else
4097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4099 fi
4100
4101
4102     test -n "$AR" && break
4103   done
4104 fi
4105 if test -z "$AR"; then
4106   ac_ct_AR=$AR
4107   for ac_prog in ar lib "link -lib"
4108 do
4109   # Extract the first word of "$ac_prog", so it can be a program name with args.
4110 set dummy $ac_prog; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4114   $as_echo_n "(cached) " >&6
4115 else
4116   if test -n "$ac_ct_AR"; then
4117   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4118 else
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120 for as_dir in $PATH
4121 do
4122   IFS=$as_save_IFS
4123   test -z "$as_dir" && as_dir=.
4124     for ac_exec_ext in '' $ac_executable_extensions; do
4125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126     ac_cv_prog_ac_ct_AR="$ac_prog"
4127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128     break 2
4129   fi
4130 done
4131   done
4132 IFS=$as_save_IFS
4133
4134 fi
4135 fi
4136 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4137 if test -n "$ac_ct_AR"; then
4138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4139 $as_echo "$ac_ct_AR" >&6; }
4140 else
4141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4143 fi
4144
4145
4146   test -n "$ac_ct_AR" && break
4147 done
4148
4149   if test "x$ac_ct_AR" = x; then
4150     AR="false"
4151   else
4152     case $cross_compiling:$ac_tool_warned in
4153 yes:)
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4156 ac_tool_warned=yes ;;
4157 esac
4158     AR=$ac_ct_AR
4159   fi
4160 fi
4161
4162 : ${AR=ar}
4163
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4165 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4166 if ${am_cv_ar_interface+:} false; then :
4167   $as_echo_n "(cached) " >&6
4168 else
4169   ac_ext=c
4170 ac_cpp='$CPP $CPPFLAGS'
4171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4174
4175    am_cv_ar_interface=ar
4176    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h.  */
4178 int some_variable = 0;
4179 _ACEOF
4180 if ac_fn_c_try_compile "$LINENO"; then :
4181   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4182       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4183   (eval $am_ar_try) 2>&5
4184   ac_status=$?
4185   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186   test $ac_status = 0; }
4187       if test "$ac_status" -eq 0; then
4188         am_cv_ar_interface=ar
4189       else
4190         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4191         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4192   (eval $am_ar_try) 2>&5
4193   ac_status=$?
4194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4195   test $ac_status = 0; }
4196         if test "$ac_status" -eq 0; then
4197           am_cv_ar_interface=lib
4198         else
4199           am_cv_ar_interface=unknown
4200         fi
4201       fi
4202       rm -f conftest.lib libconftest.a
4203
4204 fi
4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206    ac_ext=c
4207 ac_cpp='$CPP $CPPFLAGS'
4208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4211
4212 fi
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4214 $as_echo "$am_cv_ar_interface" >&6; }
4215
4216 case $am_cv_ar_interface in
4217 ar)
4218   ;;
4219 lib)
4220   # Microsoft lib, so override with the ar-lib wrapper script.
4221   # FIXME: It is wrong to rewrite AR.
4222   # But if we don't then we get into trouble of one sort or another.
4223   # A longer-term fix would be to have automake use am__AR in this case,
4224   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4225   # similar.
4226   AR="$am_aux_dir/ar-lib $AR"
4227   ;;
4228 unknown)
4229   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4230   ;;
4231 esac
4232
4233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4234 $as_echo_n "checking for GNU make... " >&6; }
4235 if ${_cv_gnu_make_command+:} false; then :
4236   $as_echo_n "(cached) " >&6
4237 else
4238   _cv_gnu_make_command='' ;
4239                 for a in "$MAKE" make gmake gnumake ; do
4240                         if test -z "$a" ; then continue ; fi ;
4241                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
4242                                 _cv_gnu_make_command=$a ;
4243                                 break;
4244                         fi
4245                 done ;
4246
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4249 $as_echo "$_cv_gnu_make_command" >&6; } ;
4250         if test  "x$_cv_gnu_make_command" != "x"  ; then
4251                 ifGNUmake='' ;
4252         else
4253                 ifGNUmake='#' ;
4254                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4255 $as_echo "\"Not found\"" >&6; };
4256         fi
4257
4258
4259 if test "x$ifGNUmake" = "x#" ; then
4260         as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4261 fi
4262
4263 #libtool
4264
4265 case `pwd` in
4266   *\ * | *\     *)
4267     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4268 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4269 esac
4270
4271
4272
4273 macro_version='2.4.2'
4274 macro_revision='1.3337'
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288 ltmain="$ac_aux_dir/ltmain.sh"
4289
4290 # Make sure we can run config.sub.
4291 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4292   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4293
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4295 $as_echo_n "checking build system type... " >&6; }
4296 if ${ac_cv_build+:} false; then :
4297   $as_echo_n "(cached) " >&6
4298 else
4299   ac_build_alias=$build_alias
4300 test "x$ac_build_alias" = x &&
4301   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4302 test "x$ac_build_alias" = x &&
4303   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4305   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4306
4307 fi
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4309 $as_echo "$ac_cv_build" >&6; }
4310 case $ac_cv_build in
4311 *-*-*) ;;
4312 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4313 esac
4314 build=$ac_cv_build
4315 ac_save_IFS=$IFS; IFS='-'
4316 set x $ac_cv_build
4317 shift
4318 build_cpu=$1
4319 build_vendor=$2
4320 shift; shift
4321 # Remember, the first character of IFS is used to create $*,
4322 # except with old shells:
4323 build_os=$*
4324 IFS=$ac_save_IFS
4325 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4326
4327
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4329 $as_echo_n "checking host system type... " >&6; }
4330 if ${ac_cv_host+:} false; then :
4331   $as_echo_n "(cached) " >&6
4332 else
4333   if test "x$host_alias" = x; then
4334   ac_cv_host=$ac_cv_build
4335 else
4336   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4337     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4338 fi
4339
4340 fi
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4342 $as_echo "$ac_cv_host" >&6; }
4343 case $ac_cv_host in
4344 *-*-*) ;;
4345 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4346 esac
4347 host=$ac_cv_host
4348 ac_save_IFS=$IFS; IFS='-'
4349 set x $ac_cv_host
4350 shift
4351 host_cpu=$1
4352 host_vendor=$2
4353 shift; shift
4354 # Remember, the first character of IFS is used to create $*,
4355 # except with old shells:
4356 host_os=$*
4357 IFS=$ac_save_IFS
4358 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4359
4360
4361 # Backslashify metacharacters that are still active within
4362 # double-quoted strings.
4363 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4364
4365 # Same as above, but do not quote variable references.
4366 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4367
4368 # Sed substitution to delay expansion of an escaped shell variable in a
4369 # double_quote_subst'ed string.
4370 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4371
4372 # Sed substitution to delay expansion of an escaped single quote.
4373 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4374
4375 # Sed substitution to avoid accidental globbing in evaled expressions
4376 no_glob_subst='s/\*/\\\*/g'
4377
4378 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4379 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4380 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4381
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4383 $as_echo_n "checking how to print strings... " >&6; }
4384 # Test print first, because it will be a builtin if present.
4385 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4386    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4387   ECHO='print -r --'
4388 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4389   ECHO='printf %s\n'
4390 else
4391   # Use this function as a fallback that always works.
4392   func_fallback_echo ()
4393   {
4394     eval 'cat <<_LTECHO_EOF
4395 $1
4396 _LTECHO_EOF'
4397   }
4398   ECHO='func_fallback_echo'
4399 fi
4400
4401 # func_echo_all arg...
4402 # Invoke $ECHO with all args, space-separated.
4403 func_echo_all ()
4404 {
4405     $ECHO ""
4406 }
4407
4408 case "$ECHO" in
4409   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4410 $as_echo "printf" >&6; } ;;
4411   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4412 $as_echo "print -r" >&6; } ;;
4413   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4414 $as_echo "cat" >&6; } ;;
4415 esac
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4431 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4432 if ${ac_cv_path_SED+:} false; then :
4433   $as_echo_n "(cached) " >&6
4434 else
4435             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4436      for ac_i in 1 2 3 4 5 6 7; do
4437        ac_script="$ac_script$as_nl$ac_script"
4438      done
4439      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4440      { ac_script=; unset ac_script;}
4441      if test -z "$SED"; then
4442   ac_path_SED_found=false
4443   # Loop through the user's path and test for each of PROGNAME-LIST
4444   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4446 do
4447   IFS=$as_save_IFS
4448   test -z "$as_dir" && as_dir=.
4449     for ac_prog in sed gsed; do
4450     for ac_exec_ext in '' $ac_executable_extensions; do
4451       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4452       as_fn_executable_p "$ac_path_SED" || continue
4453 # Check for GNU ac_path_SED and select it if it is found.
4454   # Check for GNU $ac_path_SED
4455 case `"$ac_path_SED" --version 2>&1` in
4456 *GNU*)
4457   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4458 *)
4459   ac_count=0
4460   $as_echo_n 0123456789 >"conftest.in"
4461   while :
4462   do
4463     cat "conftest.in" "conftest.in" >"conftest.tmp"
4464     mv "conftest.tmp" "conftest.in"
4465     cp "conftest.in" "conftest.nl"
4466     $as_echo '' >> "conftest.nl"
4467     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4468     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4469     as_fn_arith $ac_count + 1 && ac_count=$as_val
4470     if test $ac_count -gt ${ac_path_SED_max-0}; then
4471       # Best one so far, save it but keep looking for a better one
4472       ac_cv_path_SED="$ac_path_SED"
4473       ac_path_SED_max=$ac_count
4474     fi
4475     # 10*(2^10) chars as input seems more than enough
4476     test $ac_count -gt 10 && break
4477   done
4478   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4479 esac
4480
4481       $ac_path_SED_found && break 3
4482     done
4483   done
4484   done
4485 IFS=$as_save_IFS
4486   if test -z "$ac_cv_path_SED"; then
4487     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4488   fi
4489 else
4490   ac_cv_path_SED=$SED
4491 fi
4492
4493 fi
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4495 $as_echo "$ac_cv_path_SED" >&6; }
4496  SED="$ac_cv_path_SED"
4497   rm -f conftest.sed
4498
4499 test -z "$SED" && SED=sed
4500 Xsed="$SED -e 1s/^X//"
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4513 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4514 if ${ac_cv_path_GREP+:} false; then :
4515   $as_echo_n "(cached) " >&6
4516 else
4517   if test -z "$GREP"; then
4518   ac_path_GREP_found=false
4519   # Loop through the user's path and test for each of PROGNAME-LIST
4520   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4522 do
4523   IFS=$as_save_IFS
4524   test -z "$as_dir" && as_dir=.
4525     for ac_prog in grep ggrep; do
4526     for ac_exec_ext in '' $ac_executable_extensions; do
4527       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4528       as_fn_executable_p "$ac_path_GREP" || continue
4529 # Check for GNU ac_path_GREP and select it if it is found.
4530   # Check for GNU $ac_path_GREP
4531 case `"$ac_path_GREP" --version 2>&1` in
4532 *GNU*)
4533   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4534 *)
4535   ac_count=0
4536   $as_echo_n 0123456789 >"conftest.in"
4537   while :
4538   do
4539     cat "conftest.in" "conftest.in" >"conftest.tmp"
4540     mv "conftest.tmp" "conftest.in"
4541     cp "conftest.in" "conftest.nl"
4542     $as_echo 'GREP' >> "conftest.nl"
4543     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4544     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4545     as_fn_arith $ac_count + 1 && ac_count=$as_val
4546     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4547       # Best one so far, save it but keep looking for a better one
4548       ac_cv_path_GREP="$ac_path_GREP"
4549       ac_path_GREP_max=$ac_count
4550     fi
4551     # 10*(2^10) chars as input seems more than enough
4552     test $ac_count -gt 10 && break
4553   done
4554   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4555 esac
4556
4557       $ac_path_GREP_found && break 3
4558     done
4559   done
4560   done
4561 IFS=$as_save_IFS
4562   if test -z "$ac_cv_path_GREP"; then
4563     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4564   fi
4565 else
4566   ac_cv_path_GREP=$GREP
4567 fi
4568
4569 fi
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4571 $as_echo "$ac_cv_path_GREP" >&6; }
4572  GREP="$ac_cv_path_GREP"
4573
4574
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4576 $as_echo_n "checking for egrep... " >&6; }
4577 if ${ac_cv_path_EGREP+:} false; then :
4578   $as_echo_n "(cached) " >&6
4579 else
4580   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4581    then ac_cv_path_EGREP="$GREP -E"
4582    else
4583      if test -z "$EGREP"; then
4584   ac_path_EGREP_found=false
4585   # Loop through the user's path and test for each of PROGNAME-LIST
4586   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4588 do
4589   IFS=$as_save_IFS
4590   test -z "$as_dir" && as_dir=.
4591     for ac_prog in egrep; do
4592     for ac_exec_ext in '' $ac_executable_extensions; do
4593       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4594       as_fn_executable_p "$ac_path_EGREP" || continue
4595 # Check for GNU ac_path_EGREP and select it if it is found.
4596   # Check for GNU $ac_path_EGREP
4597 case `"$ac_path_EGREP" --version 2>&1` in
4598 *GNU*)
4599   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4600 *)
4601   ac_count=0
4602   $as_echo_n 0123456789 >"conftest.in"
4603   while :
4604   do
4605     cat "conftest.in" "conftest.in" >"conftest.tmp"
4606     mv "conftest.tmp" "conftest.in"
4607     cp "conftest.in" "conftest.nl"
4608     $as_echo 'EGREP' >> "conftest.nl"
4609     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4610     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4611     as_fn_arith $ac_count + 1 && ac_count=$as_val
4612     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4613       # Best one so far, save it but keep looking for a better one
4614       ac_cv_path_EGREP="$ac_path_EGREP"
4615       ac_path_EGREP_max=$ac_count
4616     fi
4617     # 10*(2^10) chars as input seems more than enough
4618     test $ac_count -gt 10 && break
4619   done
4620   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4621 esac
4622
4623       $ac_path_EGREP_found && break 3
4624     done
4625   done
4626   done
4627 IFS=$as_save_IFS
4628   if test -z "$ac_cv_path_EGREP"; then
4629     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630   fi
4631 else
4632   ac_cv_path_EGREP=$EGREP
4633 fi
4634
4635    fi
4636 fi
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4638 $as_echo "$ac_cv_path_EGREP" >&6; }
4639  EGREP="$ac_cv_path_EGREP"
4640
4641
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4643 $as_echo_n "checking for fgrep... " >&6; }
4644 if ${ac_cv_path_FGREP+:} false; then :
4645   $as_echo_n "(cached) " >&6
4646 else
4647   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4648    then ac_cv_path_FGREP="$GREP -F"
4649    else
4650      if test -z "$FGREP"; then
4651   ac_path_FGREP_found=false
4652   # Loop through the user's path and test for each of PROGNAME-LIST
4653   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4655 do
4656   IFS=$as_save_IFS
4657   test -z "$as_dir" && as_dir=.
4658     for ac_prog in fgrep; do
4659     for ac_exec_ext in '' $ac_executable_extensions; do
4660       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4661       as_fn_executable_p "$ac_path_FGREP" || continue
4662 # Check for GNU ac_path_FGREP and select it if it is found.
4663   # Check for GNU $ac_path_FGREP
4664 case `"$ac_path_FGREP" --version 2>&1` in
4665 *GNU*)
4666   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4667 *)
4668   ac_count=0
4669   $as_echo_n 0123456789 >"conftest.in"
4670   while :
4671   do
4672     cat "conftest.in" "conftest.in" >"conftest.tmp"
4673     mv "conftest.tmp" "conftest.in"
4674     cp "conftest.in" "conftest.nl"
4675     $as_echo 'FGREP' >> "conftest.nl"
4676     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4677     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4678     as_fn_arith $ac_count + 1 && ac_count=$as_val
4679     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4680       # Best one so far, save it but keep looking for a better one
4681       ac_cv_path_FGREP="$ac_path_FGREP"
4682       ac_path_FGREP_max=$ac_count
4683     fi
4684     # 10*(2^10) chars as input seems more than enough
4685     test $ac_count -gt 10 && break
4686   done
4687   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4688 esac
4689
4690       $ac_path_FGREP_found && break 3
4691     done
4692   done
4693   done
4694 IFS=$as_save_IFS
4695   if test -z "$ac_cv_path_FGREP"; then
4696     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4697   fi
4698 else
4699   ac_cv_path_FGREP=$FGREP
4700 fi
4701
4702    fi
4703 fi
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4705 $as_echo "$ac_cv_path_FGREP" >&6; }
4706  FGREP="$ac_cv_path_FGREP"
4707
4708
4709 test -z "$GREP" && GREP=grep
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729 # Check whether --with-gnu-ld was given.
4730 if test "${with_gnu_ld+set}" = set; then :
4731   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4732 else
4733   with_gnu_ld=no
4734 fi
4735
4736 ac_prog=ld
4737 if test "$GCC" = yes; then
4738   # Check if gcc -print-prog-name=ld gives a path.
4739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4740 $as_echo_n "checking for ld used by $CC... " >&6; }
4741   case $host in
4742   *-*-mingw*)
4743     # gcc leaves a trailing carriage return which upsets mingw
4744     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4745   *)
4746     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4747   esac
4748   case $ac_prog in
4749     # Accept absolute paths.
4750     [\\/]* | ?:[\\/]*)
4751       re_direlt='/[^/][^/]*/\.\./'
4752       # Canonicalize the pathname of ld
4753       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4754       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4755         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4756       done
4757       test -z "$LD" && LD="$ac_prog"
4758       ;;
4759   "")
4760     # If it fails, then pretend we aren't using GCC.
4761     ac_prog=ld
4762     ;;
4763   *)
4764     # If it is relative, then search for the first ld in PATH.
4765     with_gnu_ld=unknown
4766     ;;
4767   esac
4768 elif test "$with_gnu_ld" = yes; then
4769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4770 $as_echo_n "checking for GNU ld... " >&6; }
4771 else
4772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4773 $as_echo_n "checking for non-GNU ld... " >&6; }
4774 fi
4775 if ${lt_cv_path_LD+:} false; then :
4776   $as_echo_n "(cached) " >&6
4777 else
4778   if test -z "$LD"; then
4779   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4780   for ac_dir in $PATH; do
4781     IFS="$lt_save_ifs"
4782     test -z "$ac_dir" && ac_dir=.
4783     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4784       lt_cv_path_LD="$ac_dir/$ac_prog"
4785       # Check to see if the program is GNU ld.  I'd rather use --version,
4786       # but apparently some variants of GNU ld only accept -v.
4787       # Break only if it was the GNU/non-GNU ld that we prefer.
4788       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4789       *GNU* | *'with BFD'*)
4790         test "$with_gnu_ld" != no && break
4791         ;;
4792       *)
4793         test "$with_gnu_ld" != yes && break
4794         ;;
4795       esac
4796     fi
4797   done
4798   IFS="$lt_save_ifs"
4799 else
4800   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4801 fi
4802 fi
4803
4804 LD="$lt_cv_path_LD"
4805 if test -n "$LD"; then
4806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4807 $as_echo "$LD" >&6; }
4808 else
4809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4811 fi
4812 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4814 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4815 if ${lt_cv_prog_gnu_ld+:} false; then :
4816   $as_echo_n "(cached) " >&6
4817 else
4818   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4819 case `$LD -v 2>&1 </dev/null` in
4820 *GNU* | *'with BFD'*)
4821   lt_cv_prog_gnu_ld=yes
4822   ;;
4823 *)
4824   lt_cv_prog_gnu_ld=no
4825   ;;
4826 esac
4827 fi
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4829 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4830 with_gnu_ld=$lt_cv_prog_gnu_ld
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4841 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4842 if ${lt_cv_path_NM+:} false; then :
4843   $as_echo_n "(cached) " >&6
4844 else
4845   if test -n "$NM"; then
4846   # Let the user override the test.
4847   lt_cv_path_NM="$NM"
4848 else
4849   lt_nm_to_check="${ac_tool_prefix}nm"
4850   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4851     lt_nm_to_check="$lt_nm_to_check nm"
4852   fi
4853   for lt_tmp_nm in $lt_nm_to_check; do
4854     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4855     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4856       IFS="$lt_save_ifs"
4857       test -z "$ac_dir" && ac_dir=.
4858       tmp_nm="$ac_dir/$lt_tmp_nm"
4859       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4860         # Check to see if the nm accepts a BSD-compat flag.
4861         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4862         #   nm: unknown option "B" ignored
4863         # Tru64's nm complains that /dev/null is an invalid object file
4864         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4865         */dev/null* | *'Invalid file or object type'*)
4866           lt_cv_path_NM="$tmp_nm -B"
4867           break
4868           ;;
4869         *)
4870           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4871           */dev/null*)
4872             lt_cv_path_NM="$tmp_nm -p"
4873             break
4874             ;;
4875           *)
4876             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4877             continue # so that we can try to find one that supports BSD flags
4878             ;;
4879           esac
4880           ;;
4881         esac
4882       fi
4883     done
4884     IFS="$lt_save_ifs"
4885   done
4886   : ${lt_cv_path_NM=no}
4887 fi
4888 fi
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4890 $as_echo "$lt_cv_path_NM" >&6; }
4891 if test "$lt_cv_path_NM" != "no"; then
4892   NM="$lt_cv_path_NM"
4893 else
4894   # Didn't find any BSD compatible name lister, look for dumpbin.
4895   if test -n "$DUMPBIN"; then :
4896     # Let the user override the test.
4897   else
4898     if test -n "$ac_tool_prefix"; then
4899   for ac_prog in dumpbin "link -dump"
4900   do
4901     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 $as_echo_n "checking for $ac_word... " >&6; }
4905 if ${ac_cv_prog_DUMPBIN+:} false; then :
4906   $as_echo_n "(cached) " >&6
4907 else
4908   if test -n "$DUMPBIN"; then
4909   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4910 else
4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912 for as_dir in $PATH
4913 do
4914   IFS=$as_save_IFS
4915   test -z "$as_dir" && as_dir=.
4916     for ac_exec_ext in '' $ac_executable_extensions; do
4917   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4918     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4920     break 2
4921   fi
4922 done
4923   done
4924 IFS=$as_save_IFS
4925
4926 fi
4927 fi
4928 DUMPBIN=$ac_cv_prog_DUMPBIN
4929 if test -n "$DUMPBIN"; then
4930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4931 $as_echo "$DUMPBIN" >&6; }
4932 else
4933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935 fi
4936
4937
4938     test -n "$DUMPBIN" && break
4939   done
4940 fi
4941 if test -z "$DUMPBIN"; then
4942   ac_ct_DUMPBIN=$DUMPBIN
4943   for ac_prog in dumpbin "link -dump"
4944 do
4945   # Extract the first word of "$ac_prog", so it can be a program name with args.
4946 set dummy $ac_prog; ac_word=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4950   $as_echo_n "(cached) " >&6
4951 else
4952   if test -n "$ac_ct_DUMPBIN"; then
4953   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4954 else
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH
4957 do
4958   IFS=$as_save_IFS
4959   test -z "$as_dir" && as_dir=.
4960     for ac_exec_ext in '' $ac_executable_extensions; do
4961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4962     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964     break 2
4965   fi
4966 done
4967   done
4968 IFS=$as_save_IFS
4969
4970 fi
4971 fi
4972 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4973 if test -n "$ac_ct_DUMPBIN"; then
4974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4975 $as_echo "$ac_ct_DUMPBIN" >&6; }
4976 else
4977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4979 fi
4980
4981
4982   test -n "$ac_ct_DUMPBIN" && break
4983 done
4984
4985   if test "x$ac_ct_DUMPBIN" = x; then
4986     DUMPBIN=":"
4987   else
4988     case $cross_compiling:$ac_tool_warned in
4989 yes:)
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4992 ac_tool_warned=yes ;;
4993 esac
4994     DUMPBIN=$ac_ct_DUMPBIN
4995   fi
4996 fi
4997
4998     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4999     *COFF*)
5000       DUMPBIN="$DUMPBIN -symbols"
5001       ;;
5002     *)
5003       DUMPBIN=:
5004       ;;
5005     esac
5006   fi
5007
5008   if test "$DUMPBIN" != ":"; then
5009     NM="$DUMPBIN"
5010   fi
5011 fi
5012 test -z "$NM" && NM=nm
5013
5014
5015
5016
5017
5018
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5020 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5021 if ${lt_cv_nm_interface+:} false; then :
5022   $as_echo_n "(cached) " >&6
5023 else
5024   lt_cv_nm_interface="BSD nm"
5025   echo "int some_variable = 0;" > conftest.$ac_ext
5026   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5027   (eval "$ac_compile" 2>conftest.err)
5028   cat conftest.err >&5
5029   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5030   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5031   cat conftest.err >&5
5032   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5033   cat conftest.out >&5
5034   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5035     lt_cv_nm_interface="MS dumpbin"
5036   fi
5037   rm -f conftest*
5038 fi
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5040 $as_echo "$lt_cv_nm_interface" >&6; }
5041
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5043 $as_echo_n "checking whether ln -s works... " >&6; }
5044 LN_S=$as_ln_s
5045 if test "$LN_S" = "ln -s"; then
5046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5047 $as_echo "yes" >&6; }
5048 else
5049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5050 $as_echo "no, using $LN_S" >&6; }
5051 fi
5052
5053 # find the maximum length of command line arguments
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5055 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5056 if ${lt_cv_sys_max_cmd_len+:} false; then :
5057   $as_echo_n "(cached) " >&6
5058 else
5059     i=0
5060   teststring="ABCD"
5061
5062   case $build_os in
5063   msdosdjgpp*)
5064     # On DJGPP, this test can blow up pretty badly due to problems in libc
5065     # (any single argument exceeding 2000 bytes causes a buffer overrun
5066     # during glob expansion).  Even if it were fixed, the result of this
5067     # check would be larger than it should be.
5068     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5069     ;;
5070
5071   gnu*)
5072     # Under GNU Hurd, this test is not required because there is
5073     # no limit to the length of command line arguments.
5074     # Libtool will interpret -1 as no limit whatsoever
5075     lt_cv_sys_max_cmd_len=-1;
5076     ;;
5077
5078   cygwin* | mingw* | cegcc*)
5079     # On Win9x/ME, this test blows up -- it succeeds, but takes
5080     # about 5 minutes as the teststring grows exponentially.
5081     # Worse, since 9x/ME are not pre-emptively multitasking,
5082     # you end up with a "frozen" computer, even though with patience
5083     # the test eventually succeeds (with a max line length of 256k).
5084     # Instead, let's just punt: use the minimum linelength reported by
5085     # all of the supported platforms: 8192 (on NT/2K/XP).
5086     lt_cv_sys_max_cmd_len=8192;
5087     ;;
5088
5089   mint*)
5090     # On MiNT this can take a long time and run out of memory.
5091     lt_cv_sys_max_cmd_len=8192;
5092     ;;
5093
5094   amigaos*)
5095     # On AmigaOS with pdksh, this test takes hours, literally.
5096     # So we just punt and use a minimum line length of 8192.
5097     lt_cv_sys_max_cmd_len=8192;
5098     ;;
5099
5100   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5101     # This has been around since 386BSD, at least.  Likely further.
5102     if test -x /sbin/sysctl; then
5103       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5104     elif test -x /usr/sbin/sysctl; then
5105       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5106     else
5107       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5108     fi
5109     # And add a safety zone
5110     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5111     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5112     ;;
5113
5114   interix*)
5115     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5116     lt_cv_sys_max_cmd_len=196608
5117     ;;
5118
5119   os2*)
5120     # The test takes a long time on OS/2.
5121     lt_cv_sys_max_cmd_len=8192
5122     ;;
5123
5124   osf*)
5125     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5126     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5127     # nice to cause kernel panics so lets avoid the loop below.
5128     # First set a reasonable default.
5129     lt_cv_sys_max_cmd_len=16384
5130     #
5131     if test -x /sbin/sysconfig; then
5132       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5133         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5134       esac
5135     fi
5136     ;;
5137   sco3.2v5*)
5138     lt_cv_sys_max_cmd_len=102400
5139     ;;
5140   sysv5* | sco5v6* | sysv4.2uw2*)
5141     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5142     if test -n "$kargmax"; then
5143       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5144     else
5145       lt_cv_sys_max_cmd_len=32768
5146     fi
5147     ;;
5148   *)
5149     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5150     if test -n "$lt_cv_sys_max_cmd_len" && \
5151         test undefined != "$lt_cv_sys_max_cmd_len"; then
5152       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5153       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5154     else
5155       # Make teststring a little bigger before we do anything with it.
5156       # a 1K string should be a reasonable start.
5157       for i in 1 2 3 4 5 6 7 8 ; do
5158         teststring=$teststring$teststring
5159       done
5160       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5161       # If test is not a shell built-in, we'll probably end up computing a
5162       # maximum length that is only half of the actual maximum length, but
5163       # we can't tell.
5164       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5165                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5166               test $i != 17 # 1/2 MB should be enough
5167       do
5168         i=`expr $i + 1`
5169         teststring=$teststring$teststring
5170       done
5171       # Only check the string length outside the loop.
5172       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5173       teststring=
5174       # Add a significant safety factor because C++ compilers can tack on
5175       # massive amounts of additional arguments before passing them to the
5176       # linker.  It appears as though 1/2 is a usable value.
5177       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5178     fi
5179     ;;
5180   esac
5181
5182 fi
5183
5184 if test -n $lt_cv_sys_max_cmd_len ; then
5185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5186 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5187 else
5188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5189 $as_echo "none" >&6; }
5190 fi
5191 max_cmd_len=$lt_cv_sys_max_cmd_len
5192
5193
5194
5195
5196
5197
5198 : ${CP="cp -f"}
5199 : ${MV="mv -f"}
5200 : ${RM="rm -f"}
5201
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5203 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5204 # Try some XSI features
5205 xsi_shell=no
5206 ( _lt_dummy="a/b/c"
5207   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5208       = c,a/b,b/c, \
5209     && eval 'test $(( 1 + 1 )) -eq 2 \
5210     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5211   && xsi_shell=yes
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5213 $as_echo "$xsi_shell" >&6; }
5214
5215
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5217 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5218 lt_shell_append=no
5219 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5220     >/dev/null 2>&1 \
5221   && lt_shell_append=yes
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5223 $as_echo "$lt_shell_append" >&6; }
5224
5225
5226 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5227   lt_unset=unset
5228 else
5229   lt_unset=false
5230 fi
5231
5232
5233
5234
5235
5236 # test EBCDIC or ASCII
5237 case `echo X|tr X '\101'` in
5238  A) # ASCII based system
5239     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5240   lt_SP2NL='tr \040 \012'
5241   lt_NL2SP='tr \015\012 \040\040'
5242   ;;
5243  *) # EBCDIC based system
5244   lt_SP2NL='tr \100 \n'
5245   lt_NL2SP='tr \r\n \100\100'
5246   ;;
5247 esac
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5258 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5259 if ${lt_cv_to_host_file_cmd+:} false; then :
5260   $as_echo_n "(cached) " >&6
5261 else
5262   case $host in
5263   *-*-mingw* )
5264     case $build in
5265       *-*-mingw* ) # actually msys
5266         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5267         ;;
5268       *-*-cygwin* )
5269         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5270         ;;
5271       * ) # otherwise, assume *nix
5272         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5273         ;;
5274     esac
5275     ;;
5276   *-*-cygwin* )
5277     case $build in
5278       *-*-mingw* ) # actually msys
5279         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5280         ;;
5281       *-*-cygwin* )
5282         lt_cv_to_host_file_cmd=func_convert_file_noop
5283         ;;
5284       * ) # otherwise, assume *nix
5285         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5286         ;;
5287     esac
5288     ;;
5289   * ) # unhandled hosts (and "normal" native builds)
5290     lt_cv_to_host_file_cmd=func_convert_file_noop
5291     ;;
5292 esac
5293
5294 fi
5295
5296 to_host_file_cmd=$lt_cv_to_host_file_cmd
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5298 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5299
5300
5301
5302
5303
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5305 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5306 if ${lt_cv_to_tool_file_cmd+:} false; then :
5307   $as_echo_n "(cached) " >&6
5308 else
5309   #assume ordinary cross tools, or native build.
5310 lt_cv_to_tool_file_cmd=func_convert_file_noop
5311 case $host in
5312   *-*-mingw* )
5313     case $build in
5314       *-*-mingw* ) # actually msys
5315         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5316         ;;
5317     esac
5318     ;;
5319 esac
5320
5321 fi
5322
5323 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5325 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5326
5327
5328
5329
5330
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5332 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5333 if ${lt_cv_ld_reload_flag+:} false; then :
5334   $as_echo_n "(cached) " >&6
5335 else
5336   lt_cv_ld_reload_flag='-r'
5337 fi
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5339 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5340 reload_flag=$lt_cv_ld_reload_flag
5341 case $reload_flag in
5342 "" | " "*) ;;
5343 *) reload_flag=" $reload_flag" ;;
5344 esac
5345 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5346 case $host_os in
5347   cygwin* | mingw* | pw32* | cegcc*)
5348     if test "$GCC" != yes; then
5349       reload_cmds=false
5350     fi
5351     ;;
5352   darwin*)
5353     if test "$GCC" = yes; then
5354       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5355     else
5356       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5357     fi
5358     ;;
5359 esac
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369 if test -n "$ac_tool_prefix"; then
5370   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5371 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5373 $as_echo_n "checking for $ac_word... " >&6; }
5374 if ${ac_cv_prog_OBJDUMP+:} false; then :
5375   $as_echo_n "(cached) " >&6
5376 else
5377   if test -n "$OBJDUMP"; then
5378   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5379 else
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 for as_dir in $PATH
5382 do
5383   IFS=$as_save_IFS
5384   test -z "$as_dir" && as_dir=.
5385     for ac_exec_ext in '' $ac_executable_extensions; do
5386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5387     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389     break 2
5390   fi
5391 done
5392   done
5393 IFS=$as_save_IFS
5394
5395 fi
5396 fi
5397 OBJDUMP=$ac_cv_prog_OBJDUMP
5398 if test -n "$OBJDUMP"; then
5399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5400 $as_echo "$OBJDUMP" >&6; }
5401 else
5402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403 $as_echo "no" >&6; }
5404 fi
5405
5406
5407 fi
5408 if test -z "$ac_cv_prog_OBJDUMP"; then
5409   ac_ct_OBJDUMP=$OBJDUMP
5410   # Extract the first word of "objdump", so it can be a program name with args.
5411 set dummy objdump; ac_word=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5415   $as_echo_n "(cached) " >&6
5416 else
5417   if test -n "$ac_ct_OBJDUMP"; then
5418   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5419 else
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 for as_dir in $PATH
5422 do
5423   IFS=$as_save_IFS
5424   test -z "$as_dir" && as_dir=.
5425     for ac_exec_ext in '' $ac_executable_extensions; do
5426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429     break 2
5430   fi
5431 done
5432   done
5433 IFS=$as_save_IFS
5434
5435 fi
5436 fi
5437 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5438 if test -n "$ac_ct_OBJDUMP"; then
5439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5440 $as_echo "$ac_ct_OBJDUMP" >&6; }
5441 else
5442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5444 fi
5445
5446   if test "x$ac_ct_OBJDUMP" = x; then
5447     OBJDUMP="false"
5448   else
5449     case $cross_compiling:$ac_tool_warned in
5450 yes:)
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5453 ac_tool_warned=yes ;;
5454 esac
5455     OBJDUMP=$ac_ct_OBJDUMP
5456   fi
5457 else
5458   OBJDUMP="$ac_cv_prog_OBJDUMP"
5459 fi
5460
5461 test -z "$OBJDUMP" && OBJDUMP=objdump
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5472 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5473 if ${lt_cv_deplibs_check_method+:} false; then :
5474   $as_echo_n "(cached) " >&6
5475 else
5476   lt_cv_file_magic_cmd='$MAGIC_CMD'
5477 lt_cv_file_magic_test_file=
5478 lt_cv_deplibs_check_method='unknown'
5479 # Need to set the preceding variable on all platforms that support
5480 # interlibrary dependencies.
5481 # 'none' -- dependencies not supported.
5482 # `unknown' -- same as none, but documents that we really don't know.
5483 # 'pass_all' -- all dependencies passed with no checks.
5484 # 'test_compile' -- check by making test program.
5485 # 'file_magic [[regex]]' -- check by looking for files in library path
5486 # which responds to the $file_magic_cmd with a given extended regex.
5487 # If you have `file' or equivalent on your system and you're not sure
5488 # whether `pass_all' will *always* work, you probably want this one.
5489
5490 case $host_os in
5491 aix[4-9]*)
5492   lt_cv_deplibs_check_method=pass_all
5493   ;;
5494
5495 beos*)
5496   lt_cv_deplibs_check_method=pass_all
5497   ;;
5498
5499 bsdi[45]*)
5500   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5501   lt_cv_file_magic_cmd='/usr/bin/file -L'
5502   lt_cv_file_magic_test_file=/shlib/libc.so
5503   ;;
5504
5505 cygwin*)
5506   # func_win32_libid is a shell function defined in ltmain.sh
5507   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5508   lt_cv_file_magic_cmd='func_win32_libid'
5509   ;;
5510
5511 mingw* | pw32*)
5512   # Base MSYS/MinGW do not provide the 'file' command needed by
5513   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5514   # unless we find 'file', for example because we are cross-compiling.
5515   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5516   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5517     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5518     lt_cv_file_magic_cmd='func_win32_libid'
5519   else
5520     # Keep this pattern in sync with the one in func_win32_libid.
5521     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5522     lt_cv_file_magic_cmd='$OBJDUMP -f'
5523   fi
5524   ;;
5525
5526 cegcc*)
5527   # use the weaker test based on 'objdump'. See mingw*.
5528   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5529   lt_cv_file_magic_cmd='$OBJDUMP -f'
5530   ;;
5531
5532 darwin* | rhapsody*)
5533   lt_cv_deplibs_check_method=pass_all
5534   ;;
5535
5536 freebsd* | dragonfly*)
5537   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5538     case $host_cpu in
5539     i*86 )
5540       # Not sure whether the presence of OpenBSD here was a mistake.
5541       # Let's accept both of them until this is cleared up.
5542       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5543       lt_cv_file_magic_cmd=/usr/bin/file
5544       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5545       ;;
5546     esac
5547   else
5548     lt_cv_deplibs_check_method=pass_all
5549   fi
5550   ;;
5551
5552 haiku*)
5553   lt_cv_deplibs_check_method=pass_all
5554   ;;
5555
5556 hpux10.20* | hpux11*)
5557   lt_cv_file_magic_cmd=/usr/bin/file
5558   case $host_cpu in
5559   ia64*)
5560     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5561     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5562     ;;
5563   hppa*64*)
5564     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]'
5565     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5566     ;;
5567   *)
5568     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5569     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5570     ;;
5571   esac
5572   ;;
5573
5574 interix[3-9]*)
5575   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5576   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5577   ;;
5578
5579 irix5* | irix6* | nonstopux*)
5580   case $LD in
5581   *-32|*"-32 ") libmagic=32-bit;;
5582   *-n32|*"-n32 ") libmagic=N32;;
5583   *-64|*"-64 ") libmagic=64-bit;;
5584   *) libmagic=never-match;;
5585   esac
5586   lt_cv_deplibs_check_method=pass_all
5587   ;;
5588
5589 # This must be glibc/ELF.
5590 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5591   lt_cv_deplibs_check_method=pass_all
5592   ;;
5593
5594 netbsd* | netbsdelf*-gnu)
5595   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5596     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5597   else
5598     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5599   fi
5600   ;;
5601
5602 newos6*)
5603   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5604   lt_cv_file_magic_cmd=/usr/bin/file
5605   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5606   ;;
5607
5608 *nto* | *qnx*)
5609   lt_cv_deplibs_check_method=pass_all
5610   ;;
5611
5612 openbsd*)
5613   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5614     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5615   else
5616     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5617   fi
5618   ;;
5619
5620 osf3* | osf4* | osf5*)
5621   lt_cv_deplibs_check_method=pass_all
5622   ;;
5623
5624 rdos*)
5625   lt_cv_deplibs_check_method=pass_all
5626   ;;
5627
5628 solaris*)
5629   lt_cv_deplibs_check_method=pass_all
5630   ;;
5631
5632 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5633   lt_cv_deplibs_check_method=pass_all
5634   ;;
5635
5636 sysv4 | sysv4.3*)
5637   case $host_vendor in
5638   motorola)
5639     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]'
5640     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5641     ;;
5642   ncr)
5643     lt_cv_deplibs_check_method=pass_all
5644     ;;
5645   sequent)
5646     lt_cv_file_magic_cmd='/bin/file'
5647     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5648     ;;
5649   sni)
5650     lt_cv_file_magic_cmd='/bin/file'
5651     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5652     lt_cv_file_magic_test_file=/lib/libc.so
5653     ;;
5654   siemens)
5655     lt_cv_deplibs_check_method=pass_all
5656     ;;
5657   pc)
5658     lt_cv_deplibs_check_method=pass_all
5659     ;;
5660   esac
5661   ;;
5662
5663 tpf*)
5664   lt_cv_deplibs_check_method=pass_all
5665   ;;
5666 esac
5667
5668 fi
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5670 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5671
5672 file_magic_glob=
5673 want_nocaseglob=no
5674 if test "$build" = "$host"; then
5675   case $host_os in
5676   mingw* | pw32*)
5677     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5678       want_nocaseglob=yes
5679     else
5680       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5681     fi
5682     ;;
5683   esac
5684 fi
5685
5686 file_magic_cmd=$lt_cv_file_magic_cmd
5687 deplibs_check_method=$lt_cv_deplibs_check_method
5688 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711 if test -n "$ac_tool_prefix"; then
5712   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5713 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if ${ac_cv_prog_DLLTOOL+:} false; then :
5717   $as_echo_n "(cached) " >&6
5718 else
5719   if test -n "$DLLTOOL"; then
5720   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5721 else
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5724 do
5725   IFS=$as_save_IFS
5726   test -z "$as_dir" && as_dir=.
5727     for ac_exec_ext in '' $ac_executable_extensions; do
5728   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5729     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731     break 2
5732   fi
5733 done
5734   done
5735 IFS=$as_save_IFS
5736
5737 fi
5738 fi
5739 DLLTOOL=$ac_cv_prog_DLLTOOL
5740 if test -n "$DLLTOOL"; then
5741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5742 $as_echo "$DLLTOOL" >&6; }
5743 else
5744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5746 fi
5747
5748
5749 fi
5750 if test -z "$ac_cv_prog_DLLTOOL"; then
5751   ac_ct_DLLTOOL=$DLLTOOL
5752   # Extract the first word of "dlltool", so it can be a program name with args.
5753 set dummy dlltool; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5757   $as_echo_n "(cached) " >&6
5758 else
5759   if test -n "$ac_ct_DLLTOOL"; then
5760   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5764 do
5765   IFS=$as_save_IFS
5766   test -z "$as_dir" && as_dir=.
5767     for ac_exec_ext in '' $ac_executable_extensions; do
5768   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771     break 2
5772   fi
5773 done
5774   done
5775 IFS=$as_save_IFS
5776
5777 fi
5778 fi
5779 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5780 if test -n "$ac_ct_DLLTOOL"; then
5781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5782 $as_echo "$ac_ct_DLLTOOL" >&6; }
5783 else
5784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5786 fi
5787
5788   if test "x$ac_ct_DLLTOOL" = x; then
5789     DLLTOOL="false"
5790   else
5791     case $cross_compiling:$ac_tool_warned in
5792 yes:)
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5795 ac_tool_warned=yes ;;
5796 esac
5797     DLLTOOL=$ac_ct_DLLTOOL
5798   fi
5799 else
5800   DLLTOOL="$ac_cv_prog_DLLTOOL"
5801 fi
5802
5803 test -z "$DLLTOOL" && DLLTOOL=dlltool
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5815 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5816 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5817   $as_echo_n "(cached) " >&6
5818 else
5819   lt_cv_sharedlib_from_linklib_cmd='unknown'
5820
5821 case $host_os in
5822 cygwin* | mingw* | pw32* | cegcc*)
5823   # two different shell functions defined in ltmain.sh
5824   # decide which to use based on capabilities of $DLLTOOL
5825   case `$DLLTOOL --help 2>&1` in
5826   *--identify-strict*)
5827     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5828     ;;
5829   *)
5830     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5831     ;;
5832   esac
5833   ;;
5834 *)
5835   # fallback: assume linklib IS sharedlib
5836   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5837   ;;
5838 esac
5839
5840 fi
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5842 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5843 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5844 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5845
5846
5847
5848
5849
5850
5851
5852 if test -n "$ac_tool_prefix"; then
5853   for ac_prog in ar
5854   do
5855     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_AR+:} false; then :
5860   $as_echo_n "(cached) " >&6
5861 else
5862   if test -n "$AR"; then
5863   ac_cv_prog_AR="$AR" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5867 do
5868   IFS=$as_save_IFS
5869   test -z "$as_dir" && as_dir=.
5870     for ac_exec_ext in '' $ac_executable_extensions; do
5871   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874     break 2
5875   fi
5876 done
5877   done
5878 IFS=$as_save_IFS
5879
5880 fi
5881 fi
5882 AR=$ac_cv_prog_AR
5883 if test -n "$AR"; then
5884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5885 $as_echo "$AR" >&6; }
5886 else
5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5889 fi
5890
5891
5892     test -n "$AR" && break
5893   done
5894 fi
5895 if test -z "$AR"; then
5896   ac_ct_AR=$AR
5897   for ac_prog in ar
5898 do
5899   # Extract the first word of "$ac_prog", so it can be a program name with args.
5900 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5904   $as_echo_n "(cached) " >&6
5905 else
5906   if test -n "$ac_ct_AR"; then
5907   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5911 do
5912   IFS=$as_save_IFS
5913   test -z "$as_dir" && as_dir=.
5914     for ac_exec_ext in '' $ac_executable_extensions; do
5915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916     ac_cv_prog_ac_ct_AR="$ac_prog"
5917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918     break 2
5919   fi
5920 done
5921   done
5922 IFS=$as_save_IFS
5923
5924 fi
5925 fi
5926 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5927 if test -n "$ac_ct_AR"; then
5928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5929 $as_echo "$ac_ct_AR" >&6; }
5930 else
5931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5933 fi
5934
5935
5936   test -n "$ac_ct_AR" && break
5937 done
5938
5939   if test "x$ac_ct_AR" = x; then
5940     AR="false"
5941   else
5942     case $cross_compiling:$ac_tool_warned in
5943 yes:)
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5946 ac_tool_warned=yes ;;
5947 esac
5948     AR=$ac_ct_AR
5949   fi
5950 fi
5951
5952 : ${AR=ar}
5953 : ${AR_FLAGS=cru}
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5966 $as_echo_n "checking for archiver @FILE support... " >&6; }
5967 if ${lt_cv_ar_at_file+:} false; then :
5968   $as_echo_n "(cached) " >&6
5969 else
5970   lt_cv_ar_at_file=no
5971    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h.  */
5973
5974 int
5975 main ()
5976 {
5977
5978   ;
5979   return 0;
5980 }
5981 _ACEOF
5982 if ac_fn_c_try_compile "$LINENO"; then :
5983   echo conftest.$ac_objext > conftest.lst
5984       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5985       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5986   (eval $lt_ar_try) 2>&5
5987   ac_status=$?
5988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5989   test $ac_status = 0; }
5990       if test "$ac_status" -eq 0; then
5991         # Ensure the archiver fails upon bogus file names.
5992         rm -f conftest.$ac_objext libconftest.a
5993         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5994   (eval $lt_ar_try) 2>&5
5995   ac_status=$?
5996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5997   test $ac_status = 0; }
5998         if test "$ac_status" -ne 0; then
5999           lt_cv_ar_at_file=@
6000         fi
6001       fi
6002       rm -f conftest.* libconftest.a
6003
6004 fi
6005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6006
6007 fi
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6009 $as_echo "$lt_cv_ar_at_file" >&6; }
6010
6011 if test "x$lt_cv_ar_at_file" = xno; then
6012   archiver_list_spec=
6013 else
6014   archiver_list_spec=$lt_cv_ar_at_file
6015 fi
6016
6017
6018
6019
6020
6021
6022
6023 if test -n "$ac_tool_prefix"; then
6024   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6025 set dummy ${ac_tool_prefix}strip; ac_word=$2
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6027 $as_echo_n "checking for $ac_word... " >&6; }
6028 if ${ac_cv_prog_STRIP+:} false; then :
6029   $as_echo_n "(cached) " >&6
6030 else
6031   if test -n "$STRIP"; then
6032   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6033 else
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035 for as_dir in $PATH
6036 do
6037   IFS=$as_save_IFS
6038   test -z "$as_dir" && as_dir=.
6039     for ac_exec_ext in '' $ac_executable_extensions; do
6040   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6041     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6043     break 2
6044   fi
6045 done
6046   done
6047 IFS=$as_save_IFS
6048
6049 fi
6050 fi
6051 STRIP=$ac_cv_prog_STRIP
6052 if test -n "$STRIP"; then
6053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6054 $as_echo "$STRIP" >&6; }
6055 else
6056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6057 $as_echo "no" >&6; }
6058 fi
6059
6060
6061 fi
6062 if test -z "$ac_cv_prog_STRIP"; then
6063   ac_ct_STRIP=$STRIP
6064   # Extract the first word of "strip", so it can be a program name with args.
6065 set dummy strip; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6069   $as_echo_n "(cached) " >&6
6070 else
6071   if test -n "$ac_ct_STRIP"; then
6072   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6076 do
6077   IFS=$as_save_IFS
6078   test -z "$as_dir" && as_dir=.
6079     for ac_exec_ext in '' $ac_executable_extensions; do
6080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081     ac_cv_prog_ac_ct_STRIP="strip"
6082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083     break 2
6084   fi
6085 done
6086   done
6087 IFS=$as_save_IFS
6088
6089 fi
6090 fi
6091 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6092 if test -n "$ac_ct_STRIP"; then
6093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6094 $as_echo "$ac_ct_STRIP" >&6; }
6095 else
6096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6098 fi
6099
6100   if test "x$ac_ct_STRIP" = x; then
6101     STRIP=":"
6102   else
6103     case $cross_compiling:$ac_tool_warned in
6104 yes:)
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6107 ac_tool_warned=yes ;;
6108 esac
6109     STRIP=$ac_ct_STRIP
6110   fi
6111 else
6112   STRIP="$ac_cv_prog_STRIP"
6113 fi
6114
6115 test -z "$STRIP" && STRIP=:
6116
6117
6118
6119
6120
6121
6122 if test -n "$ac_tool_prefix"; then
6123   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6124 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_RANLIB+:} false; then :
6128   $as_echo_n "(cached) " >&6
6129 else
6130   if test -n "$RANLIB"; then
6131   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6135 do
6136   IFS=$as_save_IFS
6137   test -z "$as_dir" && as_dir=.
6138     for ac_exec_ext in '' $ac_executable_extensions; do
6139   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142     break 2
6143   fi
6144 done
6145   done
6146 IFS=$as_save_IFS
6147
6148 fi
6149 fi
6150 RANLIB=$ac_cv_prog_RANLIB
6151 if test -n "$RANLIB"; then
6152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6153 $as_echo "$RANLIB" >&6; }
6154 else
6155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6157 fi
6158
6159
6160 fi
6161 if test -z "$ac_cv_prog_RANLIB"; then
6162   ac_ct_RANLIB=$RANLIB
6163   # Extract the first word of "ranlib", so it can be a program name with args.
6164 set dummy ranlib; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6168   $as_echo_n "(cached) " >&6
6169 else
6170   if test -n "$ac_ct_RANLIB"; then
6171   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6175 do
6176   IFS=$as_save_IFS
6177   test -z "$as_dir" && as_dir=.
6178     for ac_exec_ext in '' $ac_executable_extensions; do
6179   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180     ac_cv_prog_ac_ct_RANLIB="ranlib"
6181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182     break 2
6183   fi
6184 done
6185   done
6186 IFS=$as_save_IFS
6187
6188 fi
6189 fi
6190 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6191 if test -n "$ac_ct_RANLIB"; then
6192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6193 $as_echo "$ac_ct_RANLIB" >&6; }
6194 else
6195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6197 fi
6198
6199   if test "x$ac_ct_RANLIB" = x; then
6200     RANLIB=":"
6201   else
6202     case $cross_compiling:$ac_tool_warned in
6203 yes:)
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6206 ac_tool_warned=yes ;;
6207 esac
6208     RANLIB=$ac_ct_RANLIB
6209   fi
6210 else
6211   RANLIB="$ac_cv_prog_RANLIB"
6212 fi
6213
6214 test -z "$RANLIB" && RANLIB=:
6215
6216
6217
6218
6219
6220
6221 # Determine commands to create old-style static archives.
6222 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6223 old_postinstall_cmds='chmod 644 $oldlib'
6224 old_postuninstall_cmds=
6225
6226 if test -n "$RANLIB"; then
6227   case $host_os in
6228   openbsd*)
6229     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6230     ;;
6231   *)
6232     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6233     ;;
6234   esac
6235   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6236 fi
6237
6238 case $host_os in
6239   darwin*)
6240     lock_old_archive_extraction=yes ;;
6241   *)
6242     lock_old_archive_extraction=no ;;
6243 esac
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283 # If no C compiler was specified, use CC.
6284 LTCC=${LTCC-"$CC"}
6285
6286 # If no C compiler flags were specified, use CFLAGS.
6287 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6288
6289 # Allow CC to be a program name with arguments.
6290 compiler=$CC
6291
6292
6293 # Check for command to grab the raw symbol name followed by C symbol from nm.
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6295 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6296 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6297   $as_echo_n "(cached) " >&6
6298 else
6299
6300 # These are sane defaults that work on at least a few old systems.
6301 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6302
6303 # Character class describing NM global symbol codes.
6304 symcode='[BCDEGRST]'
6305
6306 # Regexp to match symbols that can be accessed directly from C.
6307 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6308
6309 # Define system-specific variables.
6310 case $host_os in
6311 aix*)
6312   symcode='[BCDT]'
6313   ;;
6314 cygwin* | mingw* | pw32* | cegcc*)
6315   symcode='[ABCDGISTW]'
6316   ;;
6317 hpux*)
6318   if test "$host_cpu" = ia64; then
6319     symcode='[ABCDEGRST]'
6320   fi
6321   ;;
6322 irix* | nonstopux*)
6323   symcode='[BCDEGRST]'
6324   ;;
6325 osf*)
6326   symcode='[BCDEGQRST]'
6327   ;;
6328 solaris*)
6329   symcode='[BDRT]'
6330   ;;
6331 sco3.2v5*)
6332   symcode='[DT]'
6333   ;;
6334 sysv4.2uw2*)
6335   symcode='[DT]'
6336   ;;
6337 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6338   symcode='[ABDT]'
6339   ;;
6340 sysv4)
6341   symcode='[DFNSTU]'
6342   ;;
6343 esac
6344
6345 # If we're using GNU nm, then use its standard symbol codes.
6346 case `$NM -V 2>&1` in
6347 *GNU* | *'with BFD'*)
6348   symcode='[ABCDGIRSTW]' ;;
6349 esac
6350
6351 # Transform an extracted symbol line into a proper C declaration.
6352 # Some systems (esp. on ia64) link data and code symbols differently,
6353 # so use this general approach.
6354 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6355
6356 # Transform an extracted symbol line into symbol name and symbol address
6357 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6358 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'"
6359
6360 # Handle CRLF in mingw tool chain
6361 opt_cr=
6362 case $build_os in
6363 mingw*)
6364   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6365   ;;
6366 esac
6367
6368 # Try without a prefix underscore, then with it.
6369 for ac_symprfx in "" "_"; do
6370
6371   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6372   symxfrm="\\1 $ac_symprfx\\2 \\2"
6373
6374   # Write the raw and C identifiers.
6375   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6376     # Fake it for dumpbin and say T for any non-static function
6377     # and D for any global variable.
6378     # Also find C++ and __fastcall symbols from MSVC++,
6379     # which start with @ or ?.
6380     lt_cv_sys_global_symbol_pipe="$AWK '"\
6381 "     {last_section=section; section=\$ 3};"\
6382 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6383 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6384 "     \$ 0!~/External *\|/{next};"\
6385 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6386 "     {if(hide[section]) next};"\
6387 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6388 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6389 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6390 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6391 "     ' prfx=^$ac_symprfx"
6392   else
6393     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6394   fi
6395   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6396
6397   # Check to see that the pipe works correctly.
6398   pipe_works=no
6399
6400   rm -f conftest*
6401   cat > conftest.$ac_ext <<_LT_EOF
6402 #ifdef __cplusplus
6403 extern "C" {
6404 #endif
6405 char nm_test_var;
6406 void nm_test_func(void);
6407 void nm_test_func(void){}
6408 #ifdef __cplusplus
6409 }
6410 #endif
6411 int main(){nm_test_var='a';nm_test_func();return(0);}
6412 _LT_EOF
6413
6414   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6415   (eval $ac_compile) 2>&5
6416   ac_status=$?
6417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6418   test $ac_status = 0; }; then
6419     # Now try to grab the symbols.
6420     nlist=conftest.nm
6421     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6422   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6423   ac_status=$?
6424   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6425   test $ac_status = 0; } && test -s "$nlist"; then
6426       # Try sorting and uniquifying the output.
6427       if sort "$nlist" | uniq > "$nlist"T; then
6428         mv -f "$nlist"T "$nlist"
6429       else
6430         rm -f "$nlist"T
6431       fi
6432
6433       # Make sure that we snagged all the symbols we need.
6434       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6435         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6436           cat <<_LT_EOF > conftest.$ac_ext
6437 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6438 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6439 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6440    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6441 # define LT_DLSYM_CONST
6442 #elif defined(__osf__)
6443 /* This system does not cope well with relocations in const data.  */
6444 # define LT_DLSYM_CONST
6445 #else
6446 # define LT_DLSYM_CONST const
6447 #endif
6448
6449 #ifdef __cplusplus
6450 extern "C" {
6451 #endif
6452
6453 _LT_EOF
6454           # Now generate the symbol file.
6455           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6456
6457           cat <<_LT_EOF >> conftest.$ac_ext
6458
6459 /* The mapping between symbol names and symbols.  */
6460 LT_DLSYM_CONST struct {
6461   const char *name;
6462   void       *address;
6463 }
6464 lt__PROGRAM__LTX_preloaded_symbols[] =
6465 {
6466   { "@PROGRAM@", (void *) 0 },
6467 _LT_EOF
6468           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6469           cat <<\_LT_EOF >> conftest.$ac_ext
6470   {0, (void *) 0}
6471 };
6472
6473 /* This works around a problem in FreeBSD linker */
6474 #ifdef FREEBSD_WORKAROUND
6475 static const void *lt_preloaded_setup() {
6476   return lt__PROGRAM__LTX_preloaded_symbols;
6477 }
6478 #endif
6479
6480 #ifdef __cplusplus
6481 }
6482 #endif
6483 _LT_EOF
6484           # Now try linking the two files.
6485           mv conftest.$ac_objext conftstm.$ac_objext
6486           lt_globsym_save_LIBS=$LIBS
6487           lt_globsym_save_CFLAGS=$CFLAGS
6488           LIBS="conftstm.$ac_objext"
6489           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6490           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6491   (eval $ac_link) 2>&5
6492   ac_status=$?
6493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6494   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6495             pipe_works=yes
6496           fi
6497           LIBS=$lt_globsym_save_LIBS
6498           CFLAGS=$lt_globsym_save_CFLAGS
6499         else
6500           echo "cannot find nm_test_func in $nlist" >&5
6501         fi
6502       else
6503         echo "cannot find nm_test_var in $nlist" >&5
6504       fi
6505     else
6506       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6507     fi
6508   else
6509     echo "$progname: failed program was:" >&5
6510     cat conftest.$ac_ext >&5
6511   fi
6512   rm -rf conftest* conftst*
6513
6514   # Do not use the global_symbol_pipe unless it works.
6515   if test "$pipe_works" = yes; then
6516     break
6517   else
6518     lt_cv_sys_global_symbol_pipe=
6519   fi
6520 done
6521
6522 fi
6523
6524 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6525   lt_cv_sys_global_symbol_to_cdecl=
6526 fi
6527 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6529 $as_echo "failed" >&6; }
6530 else
6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6532 $as_echo "ok" >&6; }
6533 fi
6534
6535 # Response file support.
6536 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6537   nm_file_list_spec='@'
6538 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6539   nm_file_list_spec='@'
6540 fi
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6569 $as_echo_n "checking for sysroot... " >&6; }
6570
6571 # Check whether --with-sysroot was given.
6572 if test "${with_sysroot+set}" = set; then :
6573   withval=$with_sysroot;
6574 else
6575   with_sysroot=no
6576 fi
6577
6578
6579 lt_sysroot=
6580 case ${with_sysroot} in #(
6581  yes)
6582    if test "$GCC" = yes; then
6583      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6584    fi
6585    ;; #(
6586  /*)
6587    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6588    ;; #(
6589  no|'')
6590    ;; #(
6591  *)
6592    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6593 $as_echo "${with_sysroot}" >&6; }
6594    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6595    ;;
6596 esac
6597
6598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6599 $as_echo "${lt_sysroot:-no}" >&6; }
6600
6601
6602
6603
6604
6605 # Check whether --enable-libtool-lock was given.
6606 if test "${enable_libtool_lock+set}" = set; then :
6607   enableval=$enable_libtool_lock;
6608 fi
6609
6610 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6611
6612 # Some flags need to be propagated to the compiler or linker for good
6613 # libtool support.
6614 case $host in
6615 ia64-*-hpux*)
6616   # Find out which ABI we are using.
6617   echo 'int i;' > conftest.$ac_ext
6618   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6619   (eval $ac_compile) 2>&5
6620   ac_status=$?
6621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6622   test $ac_status = 0; }; then
6623     case `/usr/bin/file conftest.$ac_objext` in
6624       *ELF-32*)
6625         HPUX_IA64_MODE="32"
6626         ;;
6627       *ELF-64*)
6628         HPUX_IA64_MODE="64"
6629         ;;
6630     esac
6631   fi
6632   rm -rf conftest*
6633   ;;
6634 *-*-irix6*)
6635   # Find out which ABI we are using.
6636   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6637   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6638   (eval $ac_compile) 2>&5
6639   ac_status=$?
6640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6641   test $ac_status = 0; }; then
6642     if test "$lt_cv_prog_gnu_ld" = yes; then
6643       case `/usr/bin/file conftest.$ac_objext` in
6644         *32-bit*)
6645           LD="${LD-ld} -melf32bsmip"
6646           ;;
6647         *N32*)
6648           LD="${LD-ld} -melf32bmipn32"
6649           ;;
6650         *64-bit*)
6651           LD="${LD-ld} -melf64bmip"
6652         ;;
6653       esac
6654     else
6655       case `/usr/bin/file conftest.$ac_objext` in
6656         *32-bit*)
6657           LD="${LD-ld} -32"
6658           ;;
6659         *N32*)
6660           LD="${LD-ld} -n32"
6661           ;;
6662         *64-bit*)
6663           LD="${LD-ld} -64"
6664           ;;
6665       esac
6666     fi
6667   fi
6668   rm -rf conftest*
6669   ;;
6670
6671 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6672 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6673   # Find out which ABI we are using.
6674   echo 'int i;' > conftest.$ac_ext
6675   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6676   (eval $ac_compile) 2>&5
6677   ac_status=$?
6678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6679   test $ac_status = 0; }; then
6680     case `/usr/bin/file conftest.o` in
6681       *32-bit*)
6682         case $host in
6683           x86_64-*kfreebsd*-gnu)
6684             LD="${LD-ld} -m elf_i386_fbsd"
6685             ;;
6686           x86_64-*linux*)
6687             case `/usr/bin/file conftest.o` in
6688               *x86-64*)
6689                 LD="${LD-ld} -m elf32_x86_64"
6690                 ;;
6691               *)
6692                 LD="${LD-ld} -m elf_i386"
6693                 ;;
6694             esac
6695             ;;
6696           powerpc64le-*)
6697             LD="${LD-ld} -m elf32lppclinux"
6698             ;;
6699           powerpc64-*)
6700             LD="${LD-ld} -m elf32ppclinux"
6701             ;;
6702           s390x-*linux*)
6703             LD="${LD-ld} -m elf_s390"
6704             ;;
6705           sparc64-*linux*)
6706             LD="${LD-ld} -m elf32_sparc"
6707             ;;
6708         esac
6709         ;;
6710       *64-bit*)
6711         case $host in
6712           x86_64-*kfreebsd*-gnu)
6713             LD="${LD-ld} -m elf_x86_64_fbsd"
6714             ;;
6715           x86_64-*linux*)
6716             LD="${LD-ld} -m elf_x86_64"
6717             ;;
6718           powerpcle-*)
6719             LD="${LD-ld} -m elf64lppc"
6720             ;;
6721           powerpc-*)
6722             LD="${LD-ld} -m elf64ppc"
6723             ;;
6724           s390*-*linux*|s390*-*tpf*)
6725             LD="${LD-ld} -m elf64_s390"
6726             ;;
6727           sparc*-*linux*)
6728             LD="${LD-ld} -m elf64_sparc"
6729             ;;
6730         esac
6731         ;;
6732     esac
6733   fi
6734   rm -rf conftest*
6735   ;;
6736
6737 *-*-sco3.2v5*)
6738   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6739   SAVE_CFLAGS="$CFLAGS"
6740   CFLAGS="$CFLAGS -belf"
6741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6742 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6743 if ${lt_cv_cc_needs_belf+:} false; then :
6744   $as_echo_n "(cached) " >&6
6745 else
6746   ac_ext=c
6747 ac_cpp='$CPP $CPPFLAGS'
6748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6751
6752      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6753 /* end confdefs.h.  */
6754
6755 int
6756 main ()
6757 {
6758
6759   ;
6760   return 0;
6761 }
6762 _ACEOF
6763 if ac_fn_c_try_link "$LINENO"; then :
6764   lt_cv_cc_needs_belf=yes
6765 else
6766   lt_cv_cc_needs_belf=no
6767 fi
6768 rm -f core conftest.err conftest.$ac_objext \
6769     conftest$ac_exeext conftest.$ac_ext
6770      ac_ext=c
6771 ac_cpp='$CPP $CPPFLAGS'
6772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6775
6776 fi
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6778 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6779   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6780     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6781     CFLAGS="$SAVE_CFLAGS"
6782   fi
6783   ;;
6784 *-*solaris*)
6785   # Find out which ABI we are using.
6786   echo 'int i;' > conftest.$ac_ext
6787   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6788   (eval $ac_compile) 2>&5
6789   ac_status=$?
6790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6791   test $ac_status = 0; }; then
6792     case `/usr/bin/file conftest.o` in
6793     *64-bit*)
6794       case $lt_cv_prog_gnu_ld in
6795       yes*)
6796         case $host in
6797         i?86-*-solaris*)
6798           LD="${LD-ld} -m elf_x86_64"
6799           ;;
6800         sparc*-*-solaris*)
6801           LD="${LD-ld} -m elf64_sparc"
6802           ;;
6803         esac
6804         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6805         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6806           LD="${LD-ld}_sol2"
6807         fi
6808         ;;
6809       *)
6810         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6811           LD="${LD-ld} -64"
6812         fi
6813         ;;
6814       esac
6815       ;;
6816     esac
6817   fi
6818   rm -rf conftest*
6819   ;;
6820 esac
6821
6822 need_locks="$enable_libtool_lock"
6823
6824 if test -n "$ac_tool_prefix"; then
6825   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6826 set dummy ${ac_tool_prefix}mt; ac_word=$2
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 $as_echo_n "checking for $ac_word... " >&6; }
6829 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6830   $as_echo_n "(cached) " >&6
6831 else
6832   if test -n "$MANIFEST_TOOL"; then
6833   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6834 else
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 for as_dir in $PATH
6837 do
6838   IFS=$as_save_IFS
6839   test -z "$as_dir" && as_dir=.
6840     for ac_exec_ext in '' $ac_executable_extensions; do
6841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6842     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844     break 2
6845   fi
6846 done
6847   done
6848 IFS=$as_save_IFS
6849
6850 fi
6851 fi
6852 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6853 if test -n "$MANIFEST_TOOL"; then
6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6855 $as_echo "$MANIFEST_TOOL" >&6; }
6856 else
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6859 fi
6860
6861
6862 fi
6863 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6864   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6865   # Extract the first word of "mt", so it can be a program name with args.
6866 set dummy mt; ac_word=$2
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6868 $as_echo_n "checking for $ac_word... " >&6; }
6869 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6870   $as_echo_n "(cached) " >&6
6871 else
6872   if test -n "$ac_ct_MANIFEST_TOOL"; then
6873   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6874 else
6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876 for as_dir in $PATH
6877 do
6878   IFS=$as_save_IFS
6879   test -z "$as_dir" && as_dir=.
6880     for ac_exec_ext in '' $ac_executable_extensions; do
6881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6882     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6884     break 2
6885   fi
6886 done
6887   done
6888 IFS=$as_save_IFS
6889
6890 fi
6891 fi
6892 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6893 if test -n "$ac_ct_MANIFEST_TOOL"; then
6894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6895 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6896 else
6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 $as_echo "no" >&6; }
6899 fi
6900
6901   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6902     MANIFEST_TOOL=":"
6903   else
6904     case $cross_compiling:$ac_tool_warned in
6905 yes:)
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6908 ac_tool_warned=yes ;;
6909 esac
6910     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6911   fi
6912 else
6913   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6914 fi
6915
6916 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6918 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6919 if ${lt_cv_path_mainfest_tool+:} false; then :
6920   $as_echo_n "(cached) " >&6
6921 else
6922   lt_cv_path_mainfest_tool=no
6923   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6924   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6925   cat conftest.err >&5
6926   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6927     lt_cv_path_mainfest_tool=yes
6928   fi
6929   rm -f conftest*
6930 fi
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6932 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6933 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6934   MANIFEST_TOOL=:
6935 fi
6936
6937
6938
6939
6940
6941
6942   case $host_os in
6943     rhapsody* | darwin*)
6944     if test -n "$ac_tool_prefix"; then
6945   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6946 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6950   $as_echo_n "(cached) " >&6
6951 else
6952   if test -n "$DSYMUTIL"; then
6953   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6954 else
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $PATH
6957 do
6958   IFS=$as_save_IFS
6959   test -z "$as_dir" && as_dir=.
6960     for ac_exec_ext in '' $ac_executable_extensions; do
6961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964     break 2
6965   fi
6966 done
6967   done
6968 IFS=$as_save_IFS
6969
6970 fi
6971 fi
6972 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6973 if test -n "$DSYMUTIL"; then
6974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6975 $as_echo "$DSYMUTIL" >&6; }
6976 else
6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6979 fi
6980
6981
6982 fi
6983 if test -z "$ac_cv_prog_DSYMUTIL"; then
6984   ac_ct_DSYMUTIL=$DSYMUTIL
6985   # Extract the first word of "dsymutil", so it can be a program name with args.
6986 set dummy dsymutil; ac_word=$2
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988 $as_echo_n "checking for $ac_word... " >&6; }
6989 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6990   $as_echo_n "(cached) " >&6
6991 else
6992   if test -n "$ac_ct_DSYMUTIL"; then
6993   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6994 else
6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 for as_dir in $PATH
6997 do
6998   IFS=$as_save_IFS
6999   test -z "$as_dir" && as_dir=.
7000     for ac_exec_ext in '' $ac_executable_extensions; do
7001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7002     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7004     break 2
7005   fi
7006 done
7007   done
7008 IFS=$as_save_IFS
7009
7010 fi
7011 fi
7012 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7013 if test -n "$ac_ct_DSYMUTIL"; then
7014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7015 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7016 else
7017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7019 fi
7020
7021   if test "x$ac_ct_DSYMUTIL" = x; then
7022     DSYMUTIL=":"
7023   else
7024     case $cross_compiling:$ac_tool_warned in
7025 yes:)
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7028 ac_tool_warned=yes ;;
7029 esac
7030     DSYMUTIL=$ac_ct_DSYMUTIL
7031   fi
7032 else
7033   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7034 fi
7035
7036     if test -n "$ac_tool_prefix"; then
7037   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7038 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if ${ac_cv_prog_NMEDIT+:} false; then :
7042   $as_echo_n "(cached) " >&6
7043 else
7044   if test -n "$NMEDIT"; then
7045   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7046 else
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 for as_dir in $PATH
7049 do
7050   IFS=$as_save_IFS
7051   test -z "$as_dir" && as_dir=.
7052     for ac_exec_ext in '' $ac_executable_extensions; do
7053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7054     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7056     break 2
7057   fi
7058 done
7059   done
7060 IFS=$as_save_IFS
7061
7062 fi
7063 fi
7064 NMEDIT=$ac_cv_prog_NMEDIT
7065 if test -n "$NMEDIT"; then
7066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7067 $as_echo "$NMEDIT" >&6; }
7068 else
7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7071 fi
7072
7073
7074 fi
7075 if test -z "$ac_cv_prog_NMEDIT"; then
7076   ac_ct_NMEDIT=$NMEDIT
7077   # Extract the first word of "nmedit", so it can be a program name with args.
7078 set dummy nmedit; ac_word=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 $as_echo_n "checking for $ac_word... " >&6; }
7081 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7082   $as_echo_n "(cached) " >&6
7083 else
7084   if test -n "$ac_ct_NMEDIT"; then
7085   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7086 else
7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 for as_dir in $PATH
7089 do
7090   IFS=$as_save_IFS
7091   test -z "$as_dir" && as_dir=.
7092     for ac_exec_ext in '' $ac_executable_extensions; do
7093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7094     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7096     break 2
7097   fi
7098 done
7099   done
7100 IFS=$as_save_IFS
7101
7102 fi
7103 fi
7104 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7105 if test -n "$ac_ct_NMEDIT"; then
7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7107 $as_echo "$ac_ct_NMEDIT" >&6; }
7108 else
7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 $as_echo "no" >&6; }
7111 fi
7112
7113   if test "x$ac_ct_NMEDIT" = x; then
7114     NMEDIT=":"
7115   else
7116     case $cross_compiling:$ac_tool_warned in
7117 yes:)
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120 ac_tool_warned=yes ;;
7121 esac
7122     NMEDIT=$ac_ct_NMEDIT
7123   fi
7124 else
7125   NMEDIT="$ac_cv_prog_NMEDIT"
7126 fi
7127
7128     if test -n "$ac_tool_prefix"; then
7129   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7130 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 $as_echo_n "checking for $ac_word... " >&6; }
7133 if ${ac_cv_prog_LIPO+:} false; then :
7134   $as_echo_n "(cached) " >&6
7135 else
7136   if test -n "$LIPO"; then
7137   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7138 else
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 for as_dir in $PATH
7141 do
7142   IFS=$as_save_IFS
7143   test -z "$as_dir" && as_dir=.
7144     for ac_exec_ext in '' $ac_executable_extensions; do
7145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7146     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7148     break 2
7149   fi
7150 done
7151   done
7152 IFS=$as_save_IFS
7153
7154 fi
7155 fi
7156 LIPO=$ac_cv_prog_LIPO
7157 if test -n "$LIPO"; then
7158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7159 $as_echo "$LIPO" >&6; }
7160 else
7161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 $as_echo "no" >&6; }
7163 fi
7164
7165
7166 fi
7167 if test -z "$ac_cv_prog_LIPO"; then
7168   ac_ct_LIPO=$LIPO
7169   # Extract the first word of "lipo", so it can be a program name with args.
7170 set dummy lipo; ac_word=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7174   $as_echo_n "(cached) " >&6
7175 else
7176   if test -n "$ac_ct_LIPO"; then
7177   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7178 else
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 for as_dir in $PATH
7181 do
7182   IFS=$as_save_IFS
7183   test -z "$as_dir" && as_dir=.
7184     for ac_exec_ext in '' $ac_executable_extensions; do
7185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7186     ac_cv_prog_ac_ct_LIPO="lipo"
7187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188     break 2
7189   fi
7190 done
7191   done
7192 IFS=$as_save_IFS
7193
7194 fi
7195 fi
7196 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7197 if test -n "$ac_ct_LIPO"; then
7198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7199 $as_echo "$ac_ct_LIPO" >&6; }
7200 else
7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7203 fi
7204
7205   if test "x$ac_ct_LIPO" = x; then
7206     LIPO=":"
7207   else
7208     case $cross_compiling:$ac_tool_warned in
7209 yes:)
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7212 ac_tool_warned=yes ;;
7213 esac
7214     LIPO=$ac_ct_LIPO
7215   fi
7216 else
7217   LIPO="$ac_cv_prog_LIPO"
7218 fi
7219
7220     if test -n "$ac_tool_prefix"; then
7221   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7222 set dummy ${ac_tool_prefix}otool; ac_word=$2
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 $as_echo_n "checking for $ac_word... " >&6; }
7225 if ${ac_cv_prog_OTOOL+:} false; then :
7226   $as_echo_n "(cached) " >&6
7227 else
7228   if test -n "$OTOOL"; then
7229   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7230 else
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 for as_dir in $PATH
7233 do
7234   IFS=$as_save_IFS
7235   test -z "$as_dir" && as_dir=.
7236     for ac_exec_ext in '' $ac_executable_extensions; do
7237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7238     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7240     break 2
7241   fi
7242 done
7243   done
7244 IFS=$as_save_IFS
7245
7246 fi
7247 fi
7248 OTOOL=$ac_cv_prog_OTOOL
7249 if test -n "$OTOOL"; then
7250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7251 $as_echo "$OTOOL" >&6; }
7252 else
7253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 $as_echo "no" >&6; }
7255 fi
7256
7257
7258 fi
7259 if test -z "$ac_cv_prog_OTOOL"; then
7260   ac_ct_OTOOL=$OTOOL
7261   # Extract the first word of "otool", so it can be a program name with args.
7262 set dummy otool; ac_word=$2
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264 $as_echo_n "checking for $ac_word... " >&6; }
7265 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7266   $as_echo_n "(cached) " >&6
7267 else
7268   if test -n "$ac_ct_OTOOL"; then
7269   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7270 else
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 for as_dir in $PATH
7273 do
7274   IFS=$as_save_IFS
7275   test -z "$as_dir" && as_dir=.
7276     for ac_exec_ext in '' $ac_executable_extensions; do
7277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7278     ac_cv_prog_ac_ct_OTOOL="otool"
7279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280     break 2
7281   fi
7282 done
7283   done
7284 IFS=$as_save_IFS
7285
7286 fi
7287 fi
7288 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7289 if test -n "$ac_ct_OTOOL"; then
7290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7291 $as_echo "$ac_ct_OTOOL" >&6; }
7292 else
7293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7295 fi
7296
7297   if test "x$ac_ct_OTOOL" = x; then
7298     OTOOL=":"
7299   else
7300     case $cross_compiling:$ac_tool_warned in
7301 yes:)
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7304 ac_tool_warned=yes ;;
7305 esac
7306     OTOOL=$ac_ct_OTOOL
7307   fi
7308 else
7309   OTOOL="$ac_cv_prog_OTOOL"
7310 fi
7311
7312     if test -n "$ac_tool_prefix"; then
7313   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7314 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if ${ac_cv_prog_OTOOL64+:} false; then :
7318   $as_echo_n "(cached) " >&6
7319 else
7320   if test -n "$OTOOL64"; then
7321   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7322 else
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 for as_dir in $PATH
7325 do
7326   IFS=$as_save_IFS
7327   test -z "$as_dir" && as_dir=.
7328     for ac_exec_ext in '' $ac_executable_extensions; do
7329   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7330     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332     break 2
7333   fi
7334 done
7335   done
7336 IFS=$as_save_IFS
7337
7338 fi
7339 fi
7340 OTOOL64=$ac_cv_prog_OTOOL64
7341 if test -n "$OTOOL64"; then
7342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7343 $as_echo "$OTOOL64" >&6; }
7344 else
7345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7347 fi
7348
7349
7350 fi
7351 if test -z "$ac_cv_prog_OTOOL64"; then
7352   ac_ct_OTOOL64=$OTOOL64
7353   # Extract the first word of "otool64", so it can be a program name with args.
7354 set dummy otool64; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7358   $as_echo_n "(cached) " >&6
7359 else
7360   if test -n "$ac_ct_OTOOL64"; then
7361   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7362 else
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 for as_dir in $PATH
7365 do
7366   IFS=$as_save_IFS
7367   test -z "$as_dir" && as_dir=.
7368     for ac_exec_ext in '' $ac_executable_extensions; do
7369   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7370     ac_cv_prog_ac_ct_OTOOL64="otool64"
7371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372     break 2
7373   fi
7374 done
7375   done
7376 IFS=$as_save_IFS
7377
7378 fi
7379 fi
7380 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7381 if test -n "$ac_ct_OTOOL64"; then
7382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7383 $as_echo "$ac_ct_OTOOL64" >&6; }
7384 else
7385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7387 fi
7388
7389   if test "x$ac_ct_OTOOL64" = x; then
7390     OTOOL64=":"
7391   else
7392     case $cross_compiling:$ac_tool_warned in
7393 yes:)
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7396 ac_tool_warned=yes ;;
7397 esac
7398     OTOOL64=$ac_ct_OTOOL64
7399   fi
7400 else
7401   OTOOL64="$ac_cv_prog_OTOOL64"
7402 fi
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7431 $as_echo_n "checking for -single_module linker flag... " >&6; }
7432 if ${lt_cv_apple_cc_single_mod+:} false; then :
7433   $as_echo_n "(cached) " >&6
7434 else
7435   lt_cv_apple_cc_single_mod=no
7436       if test -z "${LT_MULTI_MODULE}"; then
7437         # By default we will add the -single_module flag. You can override
7438         # by either setting the environment variable LT_MULTI_MODULE
7439         # non-empty at configure time, or by adding -multi_module to the
7440         # link flags.
7441         rm -rf libconftest.dylib*
7442         echo "int foo(void){return 1;}" > conftest.c
7443         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7444 -dynamiclib -Wl,-single_module conftest.c" >&5
7445         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7446           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7447         _lt_result=$?
7448         # If there is a non-empty error log, and "single_module"
7449         # appears in it, assume the flag caused a linker warning
7450         if test -s conftest.err && $GREP single_module conftest.err; then
7451           cat conftest.err >&5
7452         # Otherwise, if the output was created with a 0 exit code from
7453         # the compiler, it worked.
7454         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7455           lt_cv_apple_cc_single_mod=yes
7456         else
7457           cat conftest.err >&5
7458         fi
7459         rm -rf libconftest.dylib*
7460         rm -f conftest.*
7461       fi
7462 fi
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7464 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7465
7466     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7467 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7468 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7469   $as_echo_n "(cached) " >&6
7470 else
7471   lt_cv_ld_exported_symbols_list=no
7472       save_LDFLAGS=$LDFLAGS
7473       echo "_main" > conftest.sym
7474       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h.  */
7477
7478 int
7479 main ()
7480 {
7481
7482   ;
7483   return 0;
7484 }
7485 _ACEOF
7486 if ac_fn_c_try_link "$LINENO"; then :
7487   lt_cv_ld_exported_symbols_list=yes
7488 else
7489   lt_cv_ld_exported_symbols_list=no
7490 fi
7491 rm -f core conftest.err conftest.$ac_objext \
7492     conftest$ac_exeext conftest.$ac_ext
7493         LDFLAGS="$save_LDFLAGS"
7494
7495 fi
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7497 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7498
7499     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7500 $as_echo_n "checking for -force_load linker flag... " >&6; }
7501 if ${lt_cv_ld_force_load+:} false; then :
7502   $as_echo_n "(cached) " >&6
7503 else
7504   lt_cv_ld_force_load=no
7505       cat > conftest.c << _LT_EOF
7506 int forced_loaded() { return 2;}
7507 _LT_EOF
7508       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7509       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7510       echo "$AR cru libconftest.a conftest.o" >&5
7511       $AR cru libconftest.a conftest.o 2>&5
7512       echo "$RANLIB libconftest.a" >&5
7513       $RANLIB libconftest.a 2>&5
7514       cat > conftest.c << _LT_EOF
7515 int main() { return 0;}
7516 _LT_EOF
7517       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7518       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7519       _lt_result=$?
7520       if test -s conftest.err && $GREP force_load conftest.err; then
7521         cat conftest.err >&5
7522       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7523         lt_cv_ld_force_load=yes
7524       else
7525         cat conftest.err >&5
7526       fi
7527         rm -f conftest.err libconftest.a conftest conftest.c
7528         rm -rf conftest.dSYM
7529
7530 fi
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7532 $as_echo "$lt_cv_ld_force_load" >&6; }
7533     case $host_os in
7534     rhapsody* | darwin1.[012])
7535       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7536     darwin1.*)
7537       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7538     darwin*) # darwin 5.x on
7539       # if running on 10.5 or later, the deployment target defaults
7540       # to the OS version, if on x86, and 10.4, the deployment
7541       # target defaults to 10.4. Don't you love it?
7542       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7543         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7544           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7545         10.[012]*)
7546           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7547         10.*)
7548           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7549       esac
7550     ;;
7551   esac
7552     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7553       _lt_dar_single_mod='$single_module'
7554     fi
7555     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7556       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7557     else
7558       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7559     fi
7560     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7561       _lt_dsymutil='~$DSYMUTIL $lib || :'
7562     else
7563       _lt_dsymutil=
7564     fi
7565     ;;
7566   esac
7567
7568 ac_ext=c
7569 ac_cpp='$CPP $CPPFLAGS'
7570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7574 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7575 # On Suns, sometimes $CPP names a directory.
7576 if test -n "$CPP" && test -d "$CPP"; then
7577   CPP=
7578 fi
7579 if test -z "$CPP"; then
7580   if ${ac_cv_prog_CPP+:} false; then :
7581   $as_echo_n "(cached) " >&6
7582 else
7583       # Double quotes because CPP needs to be expanded
7584     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7585     do
7586       ac_preproc_ok=false
7587 for ac_c_preproc_warn_flag in '' yes
7588 do
7589   # Use a header file that comes with gcc, so configuring glibc
7590   # with a fresh cross-compiler works.
7591   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7592   # <limits.h> exists even on freestanding compilers.
7593   # On the NeXT, cc -E runs the code through the compiler's parser,
7594   # not just through cpp. "Syntax error" is here to catch this case.
7595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7596 /* end confdefs.h.  */
7597 #ifdef __STDC__
7598 # include <limits.h>
7599 #else
7600 # include <assert.h>
7601 #endif
7602                      Syntax error
7603 _ACEOF
7604 if ac_fn_c_try_cpp "$LINENO"; then :
7605
7606 else
7607   # Broken: fails on valid input.
7608 continue
7609 fi
7610 rm -f conftest.err conftest.i conftest.$ac_ext
7611
7612   # OK, works on sane cases.  Now check whether nonexistent headers
7613   # can be detected and how.
7614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h.  */
7616 #include <ac_nonexistent.h>
7617 _ACEOF
7618 if ac_fn_c_try_cpp "$LINENO"; then :
7619   # Broken: success on invalid input.
7620 continue
7621 else
7622   # Passes both tests.
7623 ac_preproc_ok=:
7624 break
7625 fi
7626 rm -f conftest.err conftest.i conftest.$ac_ext
7627
7628 done
7629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7630 rm -f conftest.i conftest.err conftest.$ac_ext
7631 if $ac_preproc_ok; then :
7632   break
7633 fi
7634
7635     done
7636     ac_cv_prog_CPP=$CPP
7637
7638 fi
7639   CPP=$ac_cv_prog_CPP
7640 else
7641   ac_cv_prog_CPP=$CPP
7642 fi
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7644 $as_echo "$CPP" >&6; }
7645 ac_preproc_ok=false
7646 for ac_c_preproc_warn_flag in '' yes
7647 do
7648   # Use a header file that comes with gcc, so configuring glibc
7649   # with a fresh cross-compiler works.
7650   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7651   # <limits.h> exists even on freestanding compilers.
7652   # On the NeXT, cc -E runs the code through the compiler's parser,
7653   # not just through cpp. "Syntax error" is here to catch this case.
7654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h.  */
7656 #ifdef __STDC__
7657 # include <limits.h>
7658 #else
7659 # include <assert.h>
7660 #endif
7661                      Syntax error
7662 _ACEOF
7663 if ac_fn_c_try_cpp "$LINENO"; then :
7664
7665 else
7666   # Broken: fails on valid input.
7667 continue
7668 fi
7669 rm -f conftest.err conftest.i conftest.$ac_ext
7670
7671   # OK, works on sane cases.  Now check whether nonexistent headers
7672   # can be detected and how.
7673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h.  */
7675 #include <ac_nonexistent.h>
7676 _ACEOF
7677 if ac_fn_c_try_cpp "$LINENO"; then :
7678   # Broken: success on invalid input.
7679 continue
7680 else
7681   # Passes both tests.
7682 ac_preproc_ok=:
7683 break
7684 fi
7685 rm -f conftest.err conftest.i conftest.$ac_ext
7686
7687 done
7688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7689 rm -f conftest.i conftest.err conftest.$ac_ext
7690 if $ac_preproc_ok; then :
7691
7692 else
7693   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7695 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7696 See \`config.log' for more details" "$LINENO" 5; }
7697 fi
7698
7699 ac_ext=c
7700 ac_cpp='$CPP $CPPFLAGS'
7701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7704
7705
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7707 $as_echo_n "checking for ANSI C header files... " >&6; }
7708 if ${ac_cv_header_stdc+:} false; then :
7709   $as_echo_n "(cached) " >&6
7710 else
7711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h.  */
7713 #include <stdlib.h>
7714 #include <stdarg.h>
7715 #include <string.h>
7716 #include <float.h>
7717
7718 int
7719 main ()
7720 {
7721
7722   ;
7723   return 0;
7724 }
7725 _ACEOF
7726 if ac_fn_c_try_compile "$LINENO"; then :
7727   ac_cv_header_stdc=yes
7728 else
7729   ac_cv_header_stdc=no
7730 fi
7731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7732
7733 if test $ac_cv_header_stdc = yes; then
7734   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h.  */
7737 #include <string.h>
7738
7739 _ACEOF
7740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7741   $EGREP "memchr" >/dev/null 2>&1; then :
7742
7743 else
7744   ac_cv_header_stdc=no
7745 fi
7746 rm -f conftest*
7747
7748 fi
7749
7750 if test $ac_cv_header_stdc = yes; then
7751   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h.  */
7754 #include <stdlib.h>
7755
7756 _ACEOF
7757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7758   $EGREP "free" >/dev/null 2>&1; then :
7759
7760 else
7761   ac_cv_header_stdc=no
7762 fi
7763 rm -f conftest*
7764
7765 fi
7766
7767 if test $ac_cv_header_stdc = yes; then
7768   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7769   if test "$cross_compiling" = yes; then :
7770   :
7771 else
7772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h.  */
7774 #include <ctype.h>
7775 #include <stdlib.h>
7776 #if ((' ' & 0x0FF) == 0x020)
7777 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7778 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7779 #else
7780 # define ISLOWER(c) \
7781                    (('a' <= (c) && (c) <= 'i') \
7782                      || ('j' <= (c) && (c) <= 'r') \
7783                      || ('s' <= (c) && (c) <= 'z'))
7784 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7785 #endif
7786
7787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7788 int
7789 main ()
7790 {
7791   int i;
7792   for (i = 0; i < 256; i++)
7793     if (XOR (islower (i), ISLOWER (i))
7794         || toupper (i) != TOUPPER (i))
7795       return 2;
7796   return 0;
7797 }
7798 _ACEOF
7799 if ac_fn_c_try_run "$LINENO"; then :
7800
7801 else
7802   ac_cv_header_stdc=no
7803 fi
7804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7805   conftest.$ac_objext conftest.beam conftest.$ac_ext
7806 fi
7807
7808 fi
7809 fi
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7811 $as_echo "$ac_cv_header_stdc" >&6; }
7812 if test $ac_cv_header_stdc = yes; then
7813
7814 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7815
7816 fi
7817
7818 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7819 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7820                   inttypes.h stdint.h unistd.h
7821 do :
7822   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7823 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7824 "
7825 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7826   cat >>confdefs.h <<_ACEOF
7827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7828 _ACEOF
7829
7830 fi
7831
7832 done
7833
7834
7835 for ac_header in dlfcn.h
7836 do :
7837   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7838 "
7839 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7840   cat >>confdefs.h <<_ACEOF
7841 #define HAVE_DLFCN_H 1
7842 _ACEOF
7843
7844 fi
7845
7846 done
7847
7848
7849
7850
7851
7852 # Set options
7853 # Check whether --enable-static was given.
7854 if test "${enable_static+set}" = set; then :
7855   enableval=$enable_static; p=${PACKAGE-default}
7856     case $enableval in
7857     yes) enable_static=yes ;;
7858     no) enable_static=no ;;
7859     *)
7860      enable_static=no
7861       # Look at the argument we got.  We use all the common list separators.
7862       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7863       for pkg in $enableval; do
7864         IFS="$lt_save_ifs"
7865         if test "X$pkg" = "X$p"; then
7866           enable_static=yes
7867         fi
7868       done
7869       IFS="$lt_save_ifs"
7870       ;;
7871     esac
7872 else
7873   enable_static=no
7874 fi
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885         enable_dlopen=no
7886
7887
7888   enable_win32_dll=no
7889
7890
7891             # Check whether --enable-shared was given.
7892 if test "${enable_shared+set}" = set; then :
7893   enableval=$enable_shared; p=${PACKAGE-default}
7894     case $enableval in
7895     yes) enable_shared=yes ;;
7896     no) enable_shared=no ;;
7897     *)
7898       enable_shared=no
7899       # Look at the argument we got.  We use all the common list separators.
7900       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7901       for pkg in $enableval; do
7902         IFS="$lt_save_ifs"
7903         if test "X$pkg" = "X$p"; then
7904           enable_shared=yes
7905         fi
7906       done
7907       IFS="$lt_save_ifs"
7908       ;;
7909     esac
7910 else
7911   enable_shared=yes
7912 fi
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924 # Check whether --with-pic was given.
7925 if test "${with_pic+set}" = set; then :
7926   withval=$with_pic; lt_p=${PACKAGE-default}
7927     case $withval in
7928     yes|no) pic_mode=$withval ;;
7929     *)
7930       pic_mode=default
7931       # Look at the argument we got.  We use all the common list separators.
7932       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7933       for lt_pkg in $withval; do
7934         IFS="$lt_save_ifs"
7935         if test "X$lt_pkg" = "X$lt_p"; then
7936           pic_mode=yes
7937         fi
7938       done
7939       IFS="$lt_save_ifs"
7940       ;;
7941     esac
7942 else
7943   pic_mode=default
7944 fi
7945
7946
7947 test -z "$pic_mode" && pic_mode=default
7948
7949
7950
7951
7952
7953
7954
7955   # Check whether --enable-fast-install was given.
7956 if test "${enable_fast_install+set}" = set; then :
7957   enableval=$enable_fast_install; p=${PACKAGE-default}
7958     case $enableval in
7959     yes) enable_fast_install=yes ;;
7960     no) enable_fast_install=no ;;
7961     *)
7962       enable_fast_install=no
7963       # Look at the argument we got.  We use all the common list separators.
7964       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7965       for pkg in $enableval; do
7966         IFS="$lt_save_ifs"
7967         if test "X$pkg" = "X$p"; then
7968           enable_fast_install=yes
7969         fi
7970       done
7971       IFS="$lt_save_ifs"
7972       ;;
7973     esac
7974 else
7975   enable_fast_install=yes
7976 fi
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988 # This can be used to rebuild libtool when needed
7989 LIBTOOL_DEPS="$ltmain"
7990
7991 # Always use our own libtool.
7992 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023 test -z "$LN_S" && LN_S="ln -s"
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038 if test -n "${ZSH_VERSION+set}" ; then
8039    setopt NO_GLOB_SUBST
8040 fi
8041
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8043 $as_echo_n "checking for objdir... " >&6; }
8044 if ${lt_cv_objdir+:} false; then :
8045   $as_echo_n "(cached) " >&6
8046 else
8047   rm -f .libs 2>/dev/null
8048 mkdir .libs 2>/dev/null
8049 if test -d .libs; then
8050   lt_cv_objdir=.libs
8051 else
8052   # MS-DOS does not allow filenames that begin with a dot.
8053   lt_cv_objdir=_libs
8054 fi
8055 rmdir .libs 2>/dev/null
8056 fi
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8058 $as_echo "$lt_cv_objdir" >&6; }
8059 objdir=$lt_cv_objdir
8060
8061
8062
8063
8064
8065 cat >>confdefs.h <<_ACEOF
8066 #define LT_OBJDIR "$lt_cv_objdir/"
8067 _ACEOF
8068
8069
8070
8071
8072 case $host_os in
8073 aix3*)
8074   # AIX sometimes has problems with the GCC collect2 program.  For some
8075   # reason, if we set the COLLECT_NAMES environment variable, the problems
8076   # vanish in a puff of smoke.
8077   if test "X${COLLECT_NAMES+set}" != Xset; then
8078     COLLECT_NAMES=
8079     export COLLECT_NAMES
8080   fi
8081   ;;
8082 esac
8083
8084 # Global variables:
8085 ofile=libtool
8086 can_build_shared=yes
8087
8088 # All known linkers require a `.a' archive for static linking (except MSVC,
8089 # which needs '.lib').
8090 libext=a
8091
8092 with_gnu_ld="$lt_cv_prog_gnu_ld"
8093
8094 old_CC="$CC"
8095 old_CFLAGS="$CFLAGS"
8096
8097 # Set sane defaults for various variables
8098 test -z "$CC" && CC=cc
8099 test -z "$LTCC" && LTCC=$CC
8100 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8101 test -z "$LD" && LD=ld
8102 test -z "$ac_objext" && ac_objext=o
8103
8104 for cc_temp in $compiler""; do
8105   case $cc_temp in
8106     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8107     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8108     \-*) ;;
8109     *) break;;
8110   esac
8111 done
8112 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8113
8114
8115 # Only perform the check for file, if the check method requires it
8116 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8117 case $deplibs_check_method in
8118 file_magic*)
8119   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8120     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8121 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8122 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8123   $as_echo_n "(cached) " >&6
8124 else
8125   case $MAGIC_CMD in
8126 [\\/*] |  ?:[\\/]*)
8127   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8128   ;;
8129 *)
8130   lt_save_MAGIC_CMD="$MAGIC_CMD"
8131   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8132   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8133   for ac_dir in $ac_dummy; do
8134     IFS="$lt_save_ifs"
8135     test -z "$ac_dir" && ac_dir=.
8136     if test -f $ac_dir/${ac_tool_prefix}file; then
8137       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8138       if test -n "$file_magic_test_file"; then
8139         case $deplibs_check_method in
8140         "file_magic "*)
8141           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8142           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8143           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8144             $EGREP "$file_magic_regex" > /dev/null; then
8145             :
8146           else
8147             cat <<_LT_EOF 1>&2
8148
8149 *** Warning: the command libtool uses to detect shared libraries,
8150 *** $file_magic_cmd, produces output that libtool cannot recognize.
8151 *** The result is that libtool may fail to recognize shared libraries
8152 *** as such.  This will affect the creation of libtool libraries that
8153 *** depend on shared libraries, but programs linked with such libtool
8154 *** libraries will work regardless of this problem.  Nevertheless, you
8155 *** may want to report the problem to your system manager and/or to
8156 *** bug-libtool@gnu.org
8157
8158 _LT_EOF
8159           fi ;;
8160         esac
8161       fi
8162       break
8163     fi
8164   done
8165   IFS="$lt_save_ifs"
8166   MAGIC_CMD="$lt_save_MAGIC_CMD"
8167   ;;
8168 esac
8169 fi
8170
8171 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8172 if test -n "$MAGIC_CMD"; then
8173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8174 $as_echo "$MAGIC_CMD" >&6; }
8175 else
8176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8178 fi
8179
8180
8181
8182
8183
8184 if test -z "$lt_cv_path_MAGIC_CMD"; then
8185   if test -n "$ac_tool_prefix"; then
8186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8187 $as_echo_n "checking for file... " >&6; }
8188 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8189   $as_echo_n "(cached) " >&6
8190 else
8191   case $MAGIC_CMD in
8192 [\\/*] |  ?:[\\/]*)
8193   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8194   ;;
8195 *)
8196   lt_save_MAGIC_CMD="$MAGIC_CMD"
8197   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8198   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8199   for ac_dir in $ac_dummy; do
8200     IFS="$lt_save_ifs"
8201     test -z "$ac_dir" && ac_dir=.
8202     if test -f $ac_dir/file; then
8203       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8204       if test -n "$file_magic_test_file"; then
8205         case $deplibs_check_method in
8206         "file_magic "*)
8207           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8208           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8209           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8210             $EGREP "$file_magic_regex" > /dev/null; then
8211             :
8212           else
8213             cat <<_LT_EOF 1>&2
8214
8215 *** Warning: the command libtool uses to detect shared libraries,
8216 *** $file_magic_cmd, produces output that libtool cannot recognize.
8217 *** The result is that libtool may fail to recognize shared libraries
8218 *** as such.  This will affect the creation of libtool libraries that
8219 *** depend on shared libraries, but programs linked with such libtool
8220 *** libraries will work regardless of this problem.  Nevertheless, you
8221 *** may want to report the problem to your system manager and/or to
8222 *** bug-libtool@gnu.org
8223
8224 _LT_EOF
8225           fi ;;
8226         esac
8227       fi
8228       break
8229     fi
8230   done
8231   IFS="$lt_save_ifs"
8232   MAGIC_CMD="$lt_save_MAGIC_CMD"
8233   ;;
8234 esac
8235 fi
8236
8237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8238 if test -n "$MAGIC_CMD"; then
8239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8240 $as_echo "$MAGIC_CMD" >&6; }
8241 else
8242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8244 fi
8245
8246
8247   else
8248     MAGIC_CMD=:
8249   fi
8250 fi
8251
8252   fi
8253   ;;
8254 esac
8255
8256 # Use C for the default configuration in the libtool script
8257
8258 lt_save_CC="$CC"
8259 ac_ext=c
8260 ac_cpp='$CPP $CPPFLAGS'
8261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8264
8265
8266 # Source file extension for C test sources.
8267 ac_ext=c
8268
8269 # Object file extension for compiled C test sources.
8270 objext=o
8271 objext=$objext
8272
8273 # Code to be used in simple compile tests
8274 lt_simple_compile_test_code="int some_variable = 0;"
8275
8276 # Code to be used in simple link tests
8277 lt_simple_link_test_code='int main(){return(0);}'
8278
8279
8280
8281
8282
8283
8284
8285 # If no C compiler was specified, use CC.
8286 LTCC=${LTCC-"$CC"}
8287
8288 # If no C compiler flags were specified, use CFLAGS.
8289 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8290
8291 # Allow CC to be a program name with arguments.
8292 compiler=$CC
8293
8294 # Save the default compiler, since it gets overwritten when the other
8295 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8296 compiler_DEFAULT=$CC
8297
8298 # save warnings/boilerplate of simple test code
8299 ac_outfile=conftest.$ac_objext
8300 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8301 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8302 _lt_compiler_boilerplate=`cat conftest.err`
8303 $RM conftest*
8304
8305 ac_outfile=conftest.$ac_objext
8306 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8307 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8308 _lt_linker_boilerplate=`cat conftest.err`
8309 $RM -r conftest*
8310
8311
8312 ## CAVEAT EMPTOR:
8313 ## There is no encapsulation within the following macros, do not change
8314 ## the running order or otherwise move them around unless you know exactly
8315 ## what you are doing...
8316 if test -n "$compiler"; then
8317
8318 lt_prog_compiler_no_builtin_flag=
8319
8320 if test "$GCC" = yes; then
8321   case $cc_basename in
8322   nvcc*)
8323     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8324   *)
8325     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8326   esac
8327
8328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8329 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8330 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8331   $as_echo_n "(cached) " >&6
8332 else
8333   lt_cv_prog_compiler_rtti_exceptions=no
8334    ac_outfile=conftest.$ac_objext
8335    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8336    lt_compiler_flag="-fno-rtti -fno-exceptions"
8337    # Insert the option either (1) after the last *FLAGS variable, or
8338    # (2) before a word containing "conftest.", or (3) at the end.
8339    # Note that $ac_compile itself does not contain backslashes and begins
8340    # with a dollar sign (not a hyphen), so the echo should work correctly.
8341    # The option is referenced via a variable to avoid confusing sed.
8342    lt_compile=`echo "$ac_compile" | $SED \
8343    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8344    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8345    -e 's:$: $lt_compiler_flag:'`
8346    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8347    (eval "$lt_compile" 2>conftest.err)
8348    ac_status=$?
8349    cat conftest.err >&5
8350    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351    if (exit $ac_status) && test -s "$ac_outfile"; then
8352      # The compiler can only warn and ignore the option if not recognized
8353      # So say no if there are warnings other than the usual output.
8354      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8355      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8356      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8357        lt_cv_prog_compiler_rtti_exceptions=yes
8358      fi
8359    fi
8360    $RM conftest*
8361
8362 fi
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8364 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8365
8366 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8367     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8368 else
8369     :
8370 fi
8371
8372 fi
8373
8374
8375
8376
8377
8378
8379   lt_prog_compiler_wl=
8380 lt_prog_compiler_pic=
8381 lt_prog_compiler_static=
8382
8383
8384   if test "$GCC" = yes; then
8385     lt_prog_compiler_wl='-Wl,'
8386     lt_prog_compiler_static='-static'
8387
8388     case $host_os in
8389       aix*)
8390       # All AIX code is PIC.
8391       if test "$host_cpu" = ia64; then
8392         # AIX 5 now supports IA64 processor
8393         lt_prog_compiler_static='-Bstatic'
8394       fi
8395       ;;
8396
8397     amigaos*)
8398       case $host_cpu in
8399       powerpc)
8400             # see comment about AmigaOS4 .so support
8401             lt_prog_compiler_pic='-fPIC'
8402         ;;
8403       m68k)
8404             # FIXME: we need at least 68020 code to build shared libraries, but
8405             # adding the `-m68020' flag to GCC prevents building anything better,
8406             # like `-m68040'.
8407             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8408         ;;
8409       esac
8410       ;;
8411
8412     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8413       # PIC is the default for these OSes.
8414       ;;
8415
8416     mingw* | cygwin* | pw32* | os2* | cegcc*)
8417       # This hack is so that the source file can tell whether it is being
8418       # built for inclusion in a dll (and should export symbols for example).
8419       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8420       # (--disable-auto-import) libraries
8421       lt_prog_compiler_pic='-DDLL_EXPORT'
8422       ;;
8423
8424     darwin* | rhapsody*)
8425       # PIC is the default on this platform
8426       # Common symbols not allowed in MH_DYLIB files
8427       lt_prog_compiler_pic='-fno-common'
8428       ;;
8429
8430     haiku*)
8431       # PIC is the default for Haiku.
8432       # The "-static" flag exists, but is broken.
8433       lt_prog_compiler_static=
8434       ;;
8435
8436     hpux*)
8437       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8438       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8439       # sets the default TLS model and affects inlining.
8440       case $host_cpu in
8441       hppa*64*)
8442         # +Z the default
8443         ;;
8444       *)
8445         lt_prog_compiler_pic='-fPIC'
8446         ;;
8447       esac
8448       ;;
8449
8450     interix[3-9]*)
8451       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8452       # Instead, we relocate shared libraries at runtime.
8453       ;;
8454
8455     msdosdjgpp*)
8456       # Just because we use GCC doesn't mean we suddenly get shared libraries
8457       # on systems that don't support them.
8458       lt_prog_compiler_can_build_shared=no
8459       enable_shared=no
8460       ;;
8461
8462     *nto* | *qnx*)
8463       # QNX uses GNU C++, but need to define -shared option too, otherwise
8464       # it will coredump.
8465       lt_prog_compiler_pic='-fPIC -shared'
8466       ;;
8467
8468     sysv4*MP*)
8469       if test -d /usr/nec; then
8470         lt_prog_compiler_pic=-Kconform_pic
8471       fi
8472       ;;
8473
8474     *)
8475       lt_prog_compiler_pic='-fPIC'
8476       ;;
8477     esac
8478
8479     case $cc_basename in
8480     nvcc*) # Cuda Compiler Driver 2.2
8481       lt_prog_compiler_wl='-Xlinker '
8482       if test -n "$lt_prog_compiler_pic"; then
8483         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8484       fi
8485       ;;
8486     esac
8487   else
8488     # PORTME Check for flag to pass linker flags through the system compiler.
8489     case $host_os in
8490     aix*)
8491       lt_prog_compiler_wl='-Wl,'
8492       if test "$host_cpu" = ia64; then
8493         # AIX 5 now supports IA64 processor
8494         lt_prog_compiler_static='-Bstatic'
8495       else
8496         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8497       fi
8498       ;;
8499
8500     mingw* | cygwin* | pw32* | os2* | cegcc*)
8501       # This hack is so that the source file can tell whether it is being
8502       # built for inclusion in a dll (and should export symbols for example).
8503       lt_prog_compiler_pic='-DDLL_EXPORT'
8504       ;;
8505
8506     hpux9* | hpux10* | hpux11*)
8507       lt_prog_compiler_wl='-Wl,'
8508       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8509       # not for PA HP-UX.
8510       case $host_cpu in
8511       hppa*64*|ia64*)
8512         # +Z the default
8513         ;;
8514       *)
8515         lt_prog_compiler_pic='+Z'
8516         ;;
8517       esac
8518       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8519       lt_prog_compiler_static='${wl}-a ${wl}archive'
8520       ;;
8521
8522     irix5* | irix6* | nonstopux*)
8523       lt_prog_compiler_wl='-Wl,'
8524       # PIC (with -KPIC) is the default.
8525       lt_prog_compiler_static='-non_shared'
8526       ;;
8527
8528     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8529       case $cc_basename in
8530       # old Intel for x86_64 which still supported -KPIC.
8531       ecc*)
8532         lt_prog_compiler_wl='-Wl,'
8533         lt_prog_compiler_pic='-KPIC'
8534         lt_prog_compiler_static='-static'
8535         ;;
8536       # icc used to be incompatible with GCC.
8537       # ICC 10 doesn't accept -KPIC any more.
8538       icc* | ifort*)
8539         lt_prog_compiler_wl='-Wl,'
8540         lt_prog_compiler_pic='-fPIC'
8541         lt_prog_compiler_static='-static'
8542         ;;
8543       # Lahey Fortran 8.1.
8544       lf95*)
8545         lt_prog_compiler_wl='-Wl,'
8546         lt_prog_compiler_pic='--shared'
8547         lt_prog_compiler_static='--static'
8548         ;;
8549       nagfor*)
8550         # NAG Fortran compiler
8551         lt_prog_compiler_wl='-Wl,-Wl,,'
8552         lt_prog_compiler_pic='-PIC'
8553         lt_prog_compiler_static='-Bstatic'
8554         ;;
8555       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8556         # Portland Group compilers (*not* the Pentium gcc compiler,
8557         # which looks to be a dead project)
8558         lt_prog_compiler_wl='-Wl,'
8559         lt_prog_compiler_pic='-fpic'
8560         lt_prog_compiler_static='-Bstatic'
8561         ;;
8562       ccc*)
8563         lt_prog_compiler_wl='-Wl,'
8564         # All Alpha code is PIC.
8565         lt_prog_compiler_static='-non_shared'
8566         ;;
8567       xl* | bgxl* | bgf* | mpixl*)
8568         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8569         lt_prog_compiler_wl='-Wl,'
8570         lt_prog_compiler_pic='-qpic'
8571         lt_prog_compiler_static='-qstaticlink'
8572         ;;
8573       *)
8574         case `$CC -V 2>&1 | sed 5q` in
8575         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8576           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8577           lt_prog_compiler_pic='-KPIC'
8578           lt_prog_compiler_static='-Bstatic'
8579           lt_prog_compiler_wl=''
8580           ;;
8581         *Sun\ F* | *Sun*Fortran*)
8582           lt_prog_compiler_pic='-KPIC'
8583           lt_prog_compiler_static='-Bstatic'
8584           lt_prog_compiler_wl='-Qoption ld '
8585           ;;
8586         *Sun\ C*)
8587           # Sun C 5.9
8588           lt_prog_compiler_pic='-KPIC'
8589           lt_prog_compiler_static='-Bstatic'
8590           lt_prog_compiler_wl='-Wl,'
8591           ;;
8592         *Intel*\ [CF]*Compiler*)
8593           lt_prog_compiler_wl='-Wl,'
8594           lt_prog_compiler_pic='-fPIC'
8595           lt_prog_compiler_static='-static'
8596           ;;
8597         *Portland\ Group*)
8598           lt_prog_compiler_wl='-Wl,'
8599           lt_prog_compiler_pic='-fpic'
8600           lt_prog_compiler_static='-Bstatic'
8601           ;;
8602         esac
8603         ;;
8604       esac
8605       ;;
8606
8607     newsos6)
8608       lt_prog_compiler_pic='-KPIC'
8609       lt_prog_compiler_static='-Bstatic'
8610       ;;
8611
8612     *nto* | *qnx*)
8613       # QNX uses GNU C++, but need to define -shared option too, otherwise
8614       # it will coredump.
8615       lt_prog_compiler_pic='-fPIC -shared'
8616       ;;
8617
8618     osf3* | osf4* | osf5*)
8619       lt_prog_compiler_wl='-Wl,'
8620       # All OSF/1 code is PIC.
8621       lt_prog_compiler_static='-non_shared'
8622       ;;
8623
8624     rdos*)
8625       lt_prog_compiler_static='-non_shared'
8626       ;;
8627
8628     solaris*)
8629       lt_prog_compiler_pic='-KPIC'
8630       lt_prog_compiler_static='-Bstatic'
8631       case $cc_basename in
8632       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8633         lt_prog_compiler_wl='-Qoption ld ';;
8634       *)
8635         lt_prog_compiler_wl='-Wl,';;
8636       esac
8637       ;;
8638
8639     sunos4*)
8640       lt_prog_compiler_wl='-Qoption ld '
8641       lt_prog_compiler_pic='-PIC'
8642       lt_prog_compiler_static='-Bstatic'
8643       ;;
8644
8645     sysv4 | sysv4.2uw2* | sysv4.3*)
8646       lt_prog_compiler_wl='-Wl,'
8647       lt_prog_compiler_pic='-KPIC'
8648       lt_prog_compiler_static='-Bstatic'
8649       ;;
8650
8651     sysv4*MP*)
8652       if test -d /usr/nec ;then
8653         lt_prog_compiler_pic='-Kconform_pic'
8654         lt_prog_compiler_static='-Bstatic'
8655       fi
8656       ;;
8657
8658     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8659       lt_prog_compiler_wl='-Wl,'
8660       lt_prog_compiler_pic='-KPIC'
8661       lt_prog_compiler_static='-Bstatic'
8662       ;;
8663
8664     unicos*)
8665       lt_prog_compiler_wl='-Wl,'
8666       lt_prog_compiler_can_build_shared=no
8667       ;;
8668
8669     uts4*)
8670       lt_prog_compiler_pic='-pic'
8671       lt_prog_compiler_static='-Bstatic'
8672       ;;
8673
8674     *)
8675       lt_prog_compiler_can_build_shared=no
8676       ;;
8677     esac
8678   fi
8679
8680 case $host_os in
8681   # For platforms which do not support PIC, -DPIC is meaningless:
8682   *djgpp*)
8683     lt_prog_compiler_pic=
8684     ;;
8685   *)
8686     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8687     ;;
8688 esac
8689
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8691 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8692 if ${lt_cv_prog_compiler_pic+:} false; then :
8693   $as_echo_n "(cached) " >&6
8694 else
8695   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8696 fi
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8698 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8699 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8700
8701 #
8702 # Check to make sure the PIC flag actually works.
8703 #
8704 if test -n "$lt_prog_compiler_pic"; then
8705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8706 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8707 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8708   $as_echo_n "(cached) " >&6
8709 else
8710   lt_cv_prog_compiler_pic_works=no
8711    ac_outfile=conftest.$ac_objext
8712    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8713    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8714    # Insert the option either (1) after the last *FLAGS variable, or
8715    # (2) before a word containing "conftest.", or (3) at the end.
8716    # Note that $ac_compile itself does not contain backslashes and begins
8717    # with a dollar sign (not a hyphen), so the echo should work correctly.
8718    # The option is referenced via a variable to avoid confusing sed.
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>conftest.err)
8725    ac_status=$?
8726    cat conftest.err >&5
8727    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728    if (exit $ac_status) && test -s "$ac_outfile"; then
8729      # The compiler can only warn and ignore the option if not recognized
8730      # So say no if there are warnings other than the usual output.
8731      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8732      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8733      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8734        lt_cv_prog_compiler_pic_works=yes
8735      fi
8736    fi
8737    $RM conftest*
8738
8739 fi
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8741 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8742
8743 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8744     case $lt_prog_compiler_pic in
8745      "" | " "*) ;;
8746      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8747      esac
8748 else
8749     lt_prog_compiler_pic=
8750      lt_prog_compiler_can_build_shared=no
8751 fi
8752
8753 fi
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765 #
8766 # Check to make sure the static flag actually works.
8767 #
8768 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8770 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8771 if ${lt_cv_prog_compiler_static_works+:} false; then :
8772   $as_echo_n "(cached) " >&6
8773 else
8774   lt_cv_prog_compiler_static_works=no
8775    save_LDFLAGS="$LDFLAGS"
8776    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8777    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8778    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8779      # The linker can only warn and ignore the option if not recognized
8780      # So say no if there are warnings
8781      if test -s conftest.err; then
8782        # Append any errors to the config.log.
8783        cat conftest.err 1>&5
8784        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8785        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8786        if diff conftest.exp conftest.er2 >/dev/null; then
8787          lt_cv_prog_compiler_static_works=yes
8788        fi
8789      else
8790        lt_cv_prog_compiler_static_works=yes
8791      fi
8792    fi
8793    $RM -r conftest*
8794    LDFLAGS="$save_LDFLAGS"
8795
8796 fi
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8798 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8799
8800 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8801     :
8802 else
8803     lt_prog_compiler_static=
8804 fi
8805
8806
8807
8808
8809
8810
8811
8812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8814 if ${lt_cv_prog_compiler_c_o+:} false; then :
8815   $as_echo_n "(cached) " >&6
8816 else
8817   lt_cv_prog_compiler_c_o=no
8818    $RM -r conftest 2>/dev/null
8819    mkdir conftest
8820    cd conftest
8821    mkdir out
8822    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8823
8824    lt_compiler_flag="-o out/conftest2.$ac_objext"
8825    # Insert the option either (1) after the last *FLAGS variable, or
8826    # (2) before a word containing "conftest.", or (3) at the end.
8827    # Note that $ac_compile itself does not contain backslashes and begins
8828    # with a dollar sign (not a hyphen), so the echo should work correctly.
8829    lt_compile=`echo "$ac_compile" | $SED \
8830    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8831    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8832    -e 's:$: $lt_compiler_flag:'`
8833    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8834    (eval "$lt_compile" 2>out/conftest.err)
8835    ac_status=$?
8836    cat out/conftest.err >&5
8837    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8839    then
8840      # The compiler can only warn and ignore the option if not recognized
8841      # So say no if there are warnings
8842      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8843      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8844      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8845        lt_cv_prog_compiler_c_o=yes
8846      fi
8847    fi
8848    chmod u+w . 2>&5
8849    $RM conftest*
8850    # SGI C++ compiler will create directory out/ii_files/ for
8851    # template instantiation
8852    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8853    $RM out/* && rmdir out
8854    cd ..
8855    $RM -r conftest
8856    $RM conftest*
8857
8858 fi
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8860 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8861
8862
8863
8864
8865
8866
8867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8868 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8869 if ${lt_cv_prog_compiler_c_o+:} false; then :
8870   $as_echo_n "(cached) " >&6
8871 else
8872   lt_cv_prog_compiler_c_o=no
8873    $RM -r conftest 2>/dev/null
8874    mkdir conftest
8875    cd conftest
8876    mkdir out
8877    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8878
8879    lt_compiler_flag="-o out/conftest2.$ac_objext"
8880    # Insert the option either (1) after the last *FLAGS variable, or
8881    # (2) before a word containing "conftest.", or (3) at the end.
8882    # Note that $ac_compile itself does not contain backslashes and begins
8883    # with a dollar sign (not a hyphen), so the echo should work correctly.
8884    lt_compile=`echo "$ac_compile" | $SED \
8885    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8886    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8887    -e 's:$: $lt_compiler_flag:'`
8888    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8889    (eval "$lt_compile" 2>out/conftest.err)
8890    ac_status=$?
8891    cat out/conftest.err >&5
8892    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8894    then
8895      # The compiler can only warn and ignore the option if not recognized
8896      # So say no if there are warnings
8897      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8898      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8899      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8900        lt_cv_prog_compiler_c_o=yes
8901      fi
8902    fi
8903    chmod u+w . 2>&5
8904    $RM conftest*
8905    # SGI C++ compiler will create directory out/ii_files/ for
8906    # template instantiation
8907    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8908    $RM out/* && rmdir out
8909    cd ..
8910    $RM -r conftest
8911    $RM conftest*
8912
8913 fi
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8915 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8916
8917
8918
8919
8920 hard_links="nottested"
8921 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8922   # do not overwrite the value of need_locks provided by the user
8923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8924 $as_echo_n "checking if we can lock with hard links... " >&6; }
8925   hard_links=yes
8926   $RM conftest*
8927   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8928   touch conftest.a
8929   ln conftest.a conftest.b 2>&5 || hard_links=no
8930   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8932 $as_echo "$hard_links" >&6; }
8933   if test "$hard_links" = no; then
8934     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8935 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8936     need_locks=warn
8937   fi
8938 else
8939   need_locks=no
8940 fi
8941
8942
8943
8944
8945
8946
8947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8948 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8949
8950   runpath_var=
8951   allow_undefined_flag=
8952   always_export_symbols=no
8953   archive_cmds=
8954   archive_expsym_cmds=
8955   compiler_needs_object=no
8956   enable_shared_with_static_runtimes=no
8957   export_dynamic_flag_spec=
8958   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8959   hardcode_automatic=no
8960   hardcode_direct=no
8961   hardcode_direct_absolute=no
8962   hardcode_libdir_flag_spec=
8963   hardcode_libdir_separator=
8964   hardcode_minus_L=no
8965   hardcode_shlibpath_var=unsupported
8966   inherit_rpath=no
8967   link_all_deplibs=unknown
8968   module_cmds=
8969   module_expsym_cmds=
8970   old_archive_from_new_cmds=
8971   old_archive_from_expsyms_cmds=
8972   thread_safe_flag_spec=
8973   whole_archive_flag_spec=
8974   # include_expsyms should be a list of space-separated symbols to be *always*
8975   # included in the symbol list
8976   include_expsyms=
8977   # exclude_expsyms can be an extended regexp of symbols to exclude
8978   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8979   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8980   # as well as any symbol that contains `d'.
8981   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8982   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8983   # platforms (ab)use it in PIC code, but their linkers get confused if
8984   # the symbol is explicitly referenced.  Since portable code cannot
8985   # rely on this symbol name, it's probably fine to never include it in
8986   # preloaded symbol tables.
8987   # Exclude shared library initialization/finalization symbols.
8988   extract_expsyms_cmds=
8989
8990   case $host_os in
8991   cygwin* | mingw* | pw32* | cegcc*)
8992     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8993     # When not using gcc, we currently assume that we are using
8994     # Microsoft Visual C++.
8995     if test "$GCC" != yes; then
8996       with_gnu_ld=no
8997     fi
8998     ;;
8999   interix*)
9000     # we just hope/assume this is gcc and not c89 (= MSVC++)
9001     with_gnu_ld=yes
9002     ;;
9003   openbsd*)
9004     with_gnu_ld=no
9005     ;;
9006   linux* | k*bsd*-gnu | gnu*)
9007     link_all_deplibs=no
9008     ;;
9009   esac
9010
9011   ld_shlibs=yes
9012
9013   # On some targets, GNU ld is compatible enough with the native linker
9014   # that we're better off using the native interface for both.
9015   lt_use_gnu_ld_interface=no
9016   if test "$with_gnu_ld" = yes; then
9017     case $host_os in
9018       aix*)
9019         # The AIX port of GNU ld has always aspired to compatibility
9020         # with the native linker.  However, as the warning in the GNU ld
9021         # block says, versions before 2.19.5* couldn't really create working
9022         # shared libraries, regardless of the interface used.
9023         case `$LD -v 2>&1` in
9024           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9025           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9026           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9027           *)
9028             lt_use_gnu_ld_interface=yes
9029             ;;
9030         esac
9031         ;;
9032       *)
9033         lt_use_gnu_ld_interface=yes
9034         ;;
9035     esac
9036   fi
9037
9038   if test "$lt_use_gnu_ld_interface" = yes; then
9039     # If archive_cmds runs LD, not CC, wlarc should be empty
9040     wlarc='${wl}'
9041
9042     # Set some defaults for GNU ld with shared library support. These
9043     # are reset later if shared libraries are not supported. Putting them
9044     # here allows them to be overridden if necessary.
9045     runpath_var=LD_RUN_PATH
9046     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9047     export_dynamic_flag_spec='${wl}--export-dynamic'
9048     # ancient GNU ld didn't support --whole-archive et. al.
9049     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9050       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9051     else
9052       whole_archive_flag_spec=
9053     fi
9054     supports_anon_versioning=no
9055     case `$LD -v 2>&1` in
9056       *GNU\ gold*) supports_anon_versioning=yes ;;
9057       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9058       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9059       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9060       *\ 2.11.*) ;; # other 2.11 versions
9061       *) supports_anon_versioning=yes ;;
9062     esac
9063
9064     # See if GNU ld supports shared libraries.
9065     case $host_os in
9066     aix[3-9]*)
9067       # On AIX/PPC, the GNU linker is very broken
9068       if test "$host_cpu" != ia64; then
9069         ld_shlibs=no
9070         cat <<_LT_EOF 1>&2
9071
9072 *** Warning: the GNU linker, at least up to release 2.19, is reported
9073 *** to be unable to reliably create shared libraries on AIX.
9074 *** Therefore, libtool is disabling shared libraries support.  If you
9075 *** really care for shared libraries, you may want to install binutils
9076 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9077 *** You will then need to restart the configuration process.
9078
9079 _LT_EOF
9080       fi
9081       ;;
9082
9083     amigaos*)
9084       case $host_cpu in
9085       powerpc)
9086             # see comment about AmigaOS4 .so support
9087             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9088             archive_expsym_cmds=''
9089         ;;
9090       m68k)
9091             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)'
9092             hardcode_libdir_flag_spec='-L$libdir'
9093             hardcode_minus_L=yes
9094         ;;
9095       esac
9096       ;;
9097
9098     beos*)
9099       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9100         allow_undefined_flag=unsupported
9101         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9102         # support --undefined.  This deserves some investigation.  FIXME
9103         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9104       else
9105         ld_shlibs=no
9106       fi
9107       ;;
9108
9109     cygwin* | mingw* | pw32* | cegcc*)
9110       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9111       # as there is no search path for DLLs.
9112       hardcode_libdir_flag_spec='-L$libdir'
9113       export_dynamic_flag_spec='${wl}--export-all-symbols'
9114       allow_undefined_flag=unsupported
9115       always_export_symbols=no
9116       enable_shared_with_static_runtimes=yes
9117       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'
9118       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9119
9120       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9121         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9122         # If the export-symbols file already is a .def file (1st line
9123         # is EXPORTS), use it as is; otherwise, prepend...
9124         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9125           cp $export_symbols $output_objdir/$soname.def;
9126         else
9127           echo EXPORTS > $output_objdir/$soname.def;
9128           cat $export_symbols >> $output_objdir/$soname.def;
9129         fi~
9130         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9131       else
9132         ld_shlibs=no
9133       fi
9134       ;;
9135
9136     haiku*)
9137       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9138       link_all_deplibs=yes
9139       ;;
9140
9141     interix[3-9]*)
9142       hardcode_direct=no
9143       hardcode_shlibpath_var=no
9144       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9145       export_dynamic_flag_spec='${wl}-E'
9146       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9147       # Instead, shared libraries are loaded at an image base (0x10000000 by
9148       # default) and relocated if they conflict, which is a slow very memory
9149       # consuming and fragmenting process.  To avoid this, we pick a random,
9150       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9151       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9152       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9153       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'
9154       ;;
9155
9156     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9157       tmp_diet=no
9158       if test "$host_os" = linux-dietlibc; then
9159         case $cc_basename in
9160           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9161         esac
9162       fi
9163       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9164          && test "$tmp_diet" = no
9165       then
9166         tmp_addflag=' $pic_flag'
9167         tmp_sharedflag='-shared'
9168         case $cc_basename,$host_cpu in
9169         pgcc*)                          # Portland Group C compiler
9170           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'
9171           tmp_addflag=' $pic_flag'
9172           ;;
9173         pgf77* | pgf90* | pgf95* | pgfortran*)
9174                                         # Portland Group f77 and f90 compilers
9175           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'
9176           tmp_addflag=' $pic_flag -Mnomain' ;;
9177         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9178           tmp_addflag=' -i_dynamic' ;;
9179         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9180           tmp_addflag=' -i_dynamic -nofor_main' ;;
9181         ifc* | ifort*)                  # Intel Fortran compiler
9182           tmp_addflag=' -nofor_main' ;;
9183         lf95*)                          # Lahey Fortran 8.1
9184           whole_archive_flag_spec=
9185           tmp_sharedflag='--shared' ;;
9186         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9187           tmp_sharedflag='-qmkshrobj'
9188           tmp_addflag= ;;
9189         nvcc*)  # Cuda Compiler Driver 2.2
9190           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'
9191           compiler_needs_object=yes
9192           ;;
9193         esac
9194         case `$CC -V 2>&1 | sed 5q` in
9195         *Sun\ C*)                       # Sun C 5.9
9196           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'
9197           compiler_needs_object=yes
9198           tmp_sharedflag='-G' ;;
9199         *Sun\ F*)                       # Sun Fortran 8.3
9200           tmp_sharedflag='-G' ;;
9201         esac
9202         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9203
9204         if test "x$supports_anon_versioning" = xyes; then
9205           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9206             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9207             echo "local: *; };" >> $output_objdir/$libname.ver~
9208             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9209         fi
9210
9211         case $cc_basename in
9212         xlf* | bgf* | bgxlf* | mpixlf*)
9213           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9214           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9215           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9216           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9217           if test "x$supports_anon_versioning" = xyes; then
9218             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9219               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9220               echo "local: *; };" >> $output_objdir/$libname.ver~
9221               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9222           fi
9223           ;;
9224         esac
9225       else
9226         ld_shlibs=no
9227       fi
9228       ;;
9229
9230     netbsd* | netbsdelf*-gnu)
9231       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9232         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9233         wlarc=
9234       else
9235         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9237       fi
9238       ;;
9239
9240     solaris*)
9241       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9242         ld_shlibs=no
9243         cat <<_LT_EOF 1>&2
9244
9245 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9246 *** create shared libraries on Solaris systems.  Therefore, libtool
9247 *** is disabling shared libraries support.  We urge you to upgrade GNU
9248 *** binutils to release 2.9.1 or newer.  Another option is to modify
9249 *** your PATH or compiler configuration so that the native linker is
9250 *** used, and then restart.
9251
9252 _LT_EOF
9253       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9254         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9256       else
9257         ld_shlibs=no
9258       fi
9259       ;;
9260
9261     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9262       case `$LD -v 2>&1` in
9263         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9264         ld_shlibs=no
9265         cat <<_LT_EOF 1>&2
9266
9267 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9268 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9269 *** is disabling shared libraries support.  We urge you to upgrade GNU
9270 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9271 *** your PATH or compiler configuration so that the native linker is
9272 *** used, and then restart.
9273
9274 _LT_EOF
9275         ;;
9276         *)
9277           # For security reasons, it is highly recommended that you always
9278           # use absolute paths for naming shared libraries, and exclude the
9279           # DT_RUNPATH tag from executables and libraries.  But doing so
9280           # requires that you compile everything twice, which is a pain.
9281           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9282             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9283             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9284             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9285           else
9286             ld_shlibs=no
9287           fi
9288         ;;
9289       esac
9290       ;;
9291
9292     sunos4*)
9293       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9294       wlarc=
9295       hardcode_direct=yes
9296       hardcode_shlibpath_var=no
9297       ;;
9298
9299     *)
9300       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9301         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9303       else
9304         ld_shlibs=no
9305       fi
9306       ;;
9307     esac
9308
9309     if test "$ld_shlibs" = no; then
9310       runpath_var=
9311       hardcode_libdir_flag_spec=
9312       export_dynamic_flag_spec=
9313       whole_archive_flag_spec=
9314     fi
9315   else
9316     # PORTME fill in a description of your system's linker (not GNU ld)
9317     case $host_os in
9318     aix3*)
9319       allow_undefined_flag=unsupported
9320       always_export_symbols=yes
9321       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'
9322       # Note: this linker hardcodes the directories in LIBPATH if there
9323       # are no directories specified by -L.
9324       hardcode_minus_L=yes
9325       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9326         # Neither direct hardcoding nor static linking is supported with a
9327         # broken collect2.
9328         hardcode_direct=unsupported
9329       fi
9330       ;;
9331
9332     aix[4-9]*)
9333       if test "$host_cpu" = ia64; then
9334         # On IA64, the linker does run time linking by default, so we don't
9335         # have to do anything special.
9336         aix_use_runtimelinking=no
9337         exp_sym_flag='-Bexport'
9338         no_entry_flag=""
9339       else
9340         # If we're using GNU nm, then we don't want the "-C" option.
9341         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9342         # Also, AIX nm treats weak defined symbols like other global
9343         # defined symbols, whereas GNU nm marks them as "W".
9344         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9345           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'
9346         else
9347           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'
9348         fi
9349         aix_use_runtimelinking=no
9350
9351         # Test if we are trying to use run time linking or normal
9352         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9353         # need to do runtime linking.
9354         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9355           for ld_flag in $LDFLAGS; do
9356           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9357             aix_use_runtimelinking=yes
9358             break
9359           fi
9360           done
9361           ;;
9362         esac
9363
9364         exp_sym_flag='-bexport'
9365         no_entry_flag='-bnoentry'
9366       fi
9367
9368       # When large executables or shared objects are built, AIX ld can
9369       # have problems creating the table of contents.  If linking a library
9370       # or program results in "error TOC overflow" add -mminimal-toc to
9371       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9372       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9373
9374       archive_cmds=''
9375       hardcode_direct=yes
9376       hardcode_direct_absolute=yes
9377       hardcode_libdir_separator=':'
9378       link_all_deplibs=yes
9379       file_list_spec='${wl}-f,'
9380
9381       if test "$GCC" = yes; then
9382         case $host_os in aix4.[012]|aix4.[012].*)
9383         # We only want to do this on AIX 4.2 and lower, the check
9384         # below for broken collect2 doesn't work under 4.3+
9385           collect2name=`${CC} -print-prog-name=collect2`
9386           if test -f "$collect2name" &&
9387            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9388           then
9389           # We have reworked collect2
9390           :
9391           else
9392           # We have old collect2
9393           hardcode_direct=unsupported
9394           # It fails to find uninstalled libraries when the uninstalled
9395           # path is not listed in the libpath.  Setting hardcode_minus_L
9396           # to unsupported forces relinking
9397           hardcode_minus_L=yes
9398           hardcode_libdir_flag_spec='-L$libdir'
9399           hardcode_libdir_separator=
9400           fi
9401           ;;
9402         esac
9403         shared_flag='-shared'
9404         if test "$aix_use_runtimelinking" = yes; then
9405           shared_flag="$shared_flag "'${wl}-G'
9406         fi
9407         link_all_deplibs=no
9408       else
9409         # not using gcc
9410         if test "$host_cpu" = ia64; then
9411         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9412         # chokes on -Wl,-G. The following line is correct:
9413           shared_flag='-G'
9414         else
9415           if test "$aix_use_runtimelinking" = yes; then
9416             shared_flag='${wl}-G'
9417           else
9418             shared_flag='${wl}-bM:SRE'
9419           fi
9420         fi
9421       fi
9422
9423       export_dynamic_flag_spec='${wl}-bexpall'
9424       # It seems that -bexpall does not export symbols beginning with
9425       # underscore (_), so it is better to generate a list of symbols to export.
9426       always_export_symbols=yes
9427       if test "$aix_use_runtimelinking" = yes; then
9428         # Warning - without using the other runtime loading flags (-brtl),
9429         # -berok will link without error, but may produce a broken library.
9430         allow_undefined_flag='-berok'
9431         # Determine the default libpath from the value encoded in an
9432         # empty executable.
9433         if test "${lt_cv_aix_libpath+set}" = set; then
9434   aix_libpath=$lt_cv_aix_libpath
9435 else
9436   if ${lt_cv_aix_libpath_+:} false; then :
9437   $as_echo_n "(cached) " >&6
9438 else
9439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h.  */
9441
9442 int
9443 main ()
9444 {
9445
9446   ;
9447   return 0;
9448 }
9449 _ACEOF
9450 if ac_fn_c_try_link "$LINENO"; then :
9451
9452   lt_aix_libpath_sed='
9453       /Import File Strings/,/^$/ {
9454           /^0/ {
9455               s/^0  *\([^ ]*\) *$/\1/
9456               p
9457           }
9458       }'
9459   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9460   # Check for a 64-bit object if we didn't find anything.
9461   if test -z "$lt_cv_aix_libpath_"; then
9462     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9463   fi
9464 fi
9465 rm -f core conftest.err conftest.$ac_objext \
9466     conftest$ac_exeext conftest.$ac_ext
9467   if test -z "$lt_cv_aix_libpath_"; then
9468     lt_cv_aix_libpath_="/usr/lib:/lib"
9469   fi
9470
9471 fi
9472
9473   aix_libpath=$lt_cv_aix_libpath_
9474 fi
9475
9476         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9477         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"
9478       else
9479         if test "$host_cpu" = ia64; then
9480           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9481           allow_undefined_flag="-z nodefs"
9482           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"
9483         else
9484          # Determine the default libpath from the value encoded in an
9485          # empty executable.
9486          if test "${lt_cv_aix_libpath+set}" = set; then
9487   aix_libpath=$lt_cv_aix_libpath
9488 else
9489   if ${lt_cv_aix_libpath_+:} false; then :
9490   $as_echo_n "(cached) " >&6
9491 else
9492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h.  */
9494
9495 int
9496 main ()
9497 {
9498
9499   ;
9500   return 0;
9501 }
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504
9505   lt_aix_libpath_sed='
9506       /Import File Strings/,/^$/ {
9507           /^0/ {
9508               s/^0  *\([^ ]*\) *$/\1/
9509               p
9510           }
9511       }'
9512   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9513   # Check for a 64-bit object if we didn't find anything.
9514   if test -z "$lt_cv_aix_libpath_"; then
9515     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9516   fi
9517 fi
9518 rm -f core conftest.err conftest.$ac_objext \
9519     conftest$ac_exeext conftest.$ac_ext
9520   if test -z "$lt_cv_aix_libpath_"; then
9521     lt_cv_aix_libpath_="/usr/lib:/lib"
9522   fi
9523
9524 fi
9525
9526   aix_libpath=$lt_cv_aix_libpath_
9527 fi
9528
9529          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9530           # Warning - without using the other run time loading flags,
9531           # -berok will link without error, but may produce a broken library.
9532           no_undefined_flag=' ${wl}-bernotok'
9533           allow_undefined_flag=' ${wl}-berok'
9534           if test "$with_gnu_ld" = yes; then
9535             # We only use this code for GNU lds that support --whole-archive.
9536             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9537           else
9538             # Exported symbols can be pulled into shared objects from archives
9539             whole_archive_flag_spec='$convenience'
9540           fi
9541           archive_cmds_need_lc=yes
9542           # This is similar to how AIX traditionally builds its shared libraries.
9543           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'
9544         fi
9545       fi
9546       ;;
9547
9548     amigaos*)
9549       case $host_cpu in
9550       powerpc)
9551             # see comment about AmigaOS4 .so support
9552             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9553             archive_expsym_cmds=''
9554         ;;
9555       m68k)
9556             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)'
9557             hardcode_libdir_flag_spec='-L$libdir'
9558             hardcode_minus_L=yes
9559         ;;
9560       esac
9561       ;;
9562
9563     bsdi[45]*)
9564       export_dynamic_flag_spec=-rdynamic
9565       ;;
9566
9567     cygwin* | mingw* | pw32* | cegcc*)
9568       # When not using gcc, we currently assume that we are using
9569       # Microsoft Visual C++.
9570       # hardcode_libdir_flag_spec is actually meaningless, as there is
9571       # no search path for DLLs.
9572       case $cc_basename in
9573       cl*)
9574         # Native MSVC
9575         hardcode_libdir_flag_spec=' '
9576         allow_undefined_flag=unsupported
9577         always_export_symbols=yes
9578         file_list_spec='@'
9579         # Tell ltmain to make .lib files, not .a files.
9580         libext=lib
9581         # Tell ltmain to make .dll files, not .so files.
9582         shrext_cmds=".dll"
9583         # FIXME: Setting linknames here is a bad hack.
9584         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9585         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9586             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9587           else
9588             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9589           fi~
9590           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9591           linknames='
9592         # The linker will not automatically build a static lib if we build a DLL.
9593         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9594         enable_shared_with_static_runtimes=yes
9595         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9596         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9597         # Don't use ranlib
9598         old_postinstall_cmds='chmod 644 $oldlib'
9599         postlink_cmds='lt_outputfile="@OUTPUT@"~
9600           lt_tool_outputfile="@TOOL_OUTPUT@"~
9601           case $lt_outputfile in
9602             *.exe|*.EXE) ;;
9603             *)
9604               lt_outputfile="$lt_outputfile.exe"
9605               lt_tool_outputfile="$lt_tool_outputfile.exe"
9606               ;;
9607           esac~
9608           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9609             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9610             $RM "$lt_outputfile.manifest";
9611           fi'
9612         ;;
9613       *)
9614         # Assume MSVC wrapper
9615         hardcode_libdir_flag_spec=' '
9616         allow_undefined_flag=unsupported
9617         # Tell ltmain to make .lib files, not .a files.
9618         libext=lib
9619         # Tell ltmain to make .dll files, not .so files.
9620         shrext_cmds=".dll"
9621         # FIXME: Setting linknames here is a bad hack.
9622         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9623         # The linker will automatically build a .lib file if we build a DLL.
9624         old_archive_from_new_cmds='true'
9625         # FIXME: Should let the user specify the lib program.
9626         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9627         enable_shared_with_static_runtimes=yes
9628         ;;
9629       esac
9630       ;;
9631
9632     darwin* | rhapsody*)
9633
9634
9635   archive_cmds_need_lc=no
9636   hardcode_direct=no
9637   hardcode_automatic=yes
9638   hardcode_shlibpath_var=unsupported
9639   if test "$lt_cv_ld_force_load" = "yes"; then
9640     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\"`'
9641
9642   else
9643     whole_archive_flag_spec=''
9644   fi
9645   link_all_deplibs=yes
9646   allow_undefined_flag="$_lt_dar_allow_undefined"
9647   case $cc_basename in
9648      ifort*) _lt_dar_can_shared=yes ;;
9649      *) _lt_dar_can_shared=$GCC ;;
9650   esac
9651   if test "$_lt_dar_can_shared" = "yes"; then
9652     output_verbose_link_cmd=func_echo_all
9653     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9654     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9655     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}"
9656     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}"
9657
9658   else
9659   ld_shlibs=no
9660   fi
9661
9662       ;;
9663
9664     dgux*)
9665       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9666       hardcode_libdir_flag_spec='-L$libdir'
9667       hardcode_shlibpath_var=no
9668       ;;
9669
9670     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9671     # support.  Future versions do this automatically, but an explicit c++rt0.o
9672     # does not break anything, and helps significantly (at the cost of a little
9673     # extra space).
9674     freebsd2.2*)
9675       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9676       hardcode_libdir_flag_spec='-R$libdir'
9677       hardcode_direct=yes
9678       hardcode_shlibpath_var=no
9679       ;;
9680
9681     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9682     freebsd2.*)
9683       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9684       hardcode_direct=yes
9685       hardcode_minus_L=yes
9686       hardcode_shlibpath_var=no
9687       ;;
9688
9689     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9690     freebsd* | dragonfly*)
9691       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9692       hardcode_libdir_flag_spec='-R$libdir'
9693       hardcode_direct=yes
9694       hardcode_shlibpath_var=no
9695       ;;
9696
9697     hpux9*)
9698       if test "$GCC" = yes; then
9699         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'
9700       else
9701         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'
9702       fi
9703       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9704       hardcode_libdir_separator=:
9705       hardcode_direct=yes
9706
9707       # hardcode_minus_L: Not really in the search PATH,
9708       # but as the default location of the library.
9709       hardcode_minus_L=yes
9710       export_dynamic_flag_spec='${wl}-E'
9711       ;;
9712
9713     hpux10*)
9714       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9715         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9716       else
9717         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9718       fi
9719       if test "$with_gnu_ld" = no; then
9720         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9721         hardcode_libdir_separator=:
9722         hardcode_direct=yes
9723         hardcode_direct_absolute=yes
9724         export_dynamic_flag_spec='${wl}-E'
9725         # hardcode_minus_L: Not really in the search PATH,
9726         # but as the default location of the library.
9727         hardcode_minus_L=yes
9728       fi
9729       ;;
9730
9731     hpux11*)
9732       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9733         case $host_cpu in
9734         hppa*64*)
9735           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9736           ;;
9737         ia64*)
9738           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9739           ;;
9740         *)
9741           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9742           ;;
9743         esac
9744       else
9745         case $host_cpu in
9746         hppa*64*)
9747           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9748           ;;
9749         ia64*)
9750           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9751           ;;
9752         *)
9753
9754           # Older versions of the 11.00 compiler do not understand -b yet
9755           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9756           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9757 $as_echo_n "checking if $CC understands -b... " >&6; }
9758 if ${lt_cv_prog_compiler__b+:} false; then :
9759   $as_echo_n "(cached) " >&6
9760 else
9761   lt_cv_prog_compiler__b=no
9762    save_LDFLAGS="$LDFLAGS"
9763    LDFLAGS="$LDFLAGS -b"
9764    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9765    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9766      # The linker can only warn and ignore the option if not recognized
9767      # So say no if there are warnings
9768      if test -s conftest.err; then
9769        # Append any errors to the config.log.
9770        cat conftest.err 1>&5
9771        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9772        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9773        if diff conftest.exp conftest.er2 >/dev/null; then
9774          lt_cv_prog_compiler__b=yes
9775        fi
9776      else
9777        lt_cv_prog_compiler__b=yes
9778      fi
9779    fi
9780    $RM -r conftest*
9781    LDFLAGS="$save_LDFLAGS"
9782
9783 fi
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9785 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9786
9787 if test x"$lt_cv_prog_compiler__b" = xyes; then
9788     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9789 else
9790     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9791 fi
9792
9793           ;;
9794         esac
9795       fi
9796       if test "$with_gnu_ld" = no; then
9797         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9798         hardcode_libdir_separator=:
9799
9800         case $host_cpu in
9801         hppa*64*|ia64*)
9802           hardcode_direct=no
9803           hardcode_shlibpath_var=no
9804           ;;
9805         *)
9806           hardcode_direct=yes
9807           hardcode_direct_absolute=yes
9808           export_dynamic_flag_spec='${wl}-E'
9809
9810           # hardcode_minus_L: Not really in the search PATH,
9811           # but as the default location of the library.
9812           hardcode_minus_L=yes
9813           ;;
9814         esac
9815       fi
9816       ;;
9817
9818     irix5* | irix6* | nonstopux*)
9819       if test "$GCC" = yes; then
9820         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'
9821         # Try to use the -exported_symbol ld option, if it does not
9822         # work, assume that -exports_file does not work either and
9823         # implicitly export all symbols.
9824         # This should be the same for all languages, so no per-tag cache variable.
9825         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9826 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9827 if ${lt_cv_irix_exported_symbol+:} false; then :
9828   $as_echo_n "(cached) " >&6
9829 else
9830   save_LDFLAGS="$LDFLAGS"
9831            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9832            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h.  */
9834 int foo (void) { return 0; }
9835 _ACEOF
9836 if ac_fn_c_try_link "$LINENO"; then :
9837   lt_cv_irix_exported_symbol=yes
9838 else
9839   lt_cv_irix_exported_symbol=no
9840 fi
9841 rm -f core conftest.err conftest.$ac_objext \
9842     conftest$ac_exeext conftest.$ac_ext
9843            LDFLAGS="$save_LDFLAGS"
9844 fi
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9846 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9847         if test "$lt_cv_irix_exported_symbol" = yes; then
9848           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'
9849         fi
9850       else
9851         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'
9852         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'
9853       fi
9854       archive_cmds_need_lc='no'
9855       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9856       hardcode_libdir_separator=:
9857       inherit_rpath=yes
9858       link_all_deplibs=yes
9859       ;;
9860
9861     netbsd* | netbsdelf*-gnu)
9862       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9863         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9864       else
9865         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9866       fi
9867       hardcode_libdir_flag_spec='-R$libdir'
9868       hardcode_direct=yes
9869       hardcode_shlibpath_var=no
9870       ;;
9871
9872     newsos6)
9873       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874       hardcode_direct=yes
9875       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9876       hardcode_libdir_separator=:
9877       hardcode_shlibpath_var=no
9878       ;;
9879
9880     *nto* | *qnx*)
9881       ;;
9882
9883     openbsd*)
9884       if test -f /usr/libexec/ld.so; then
9885         hardcode_direct=yes
9886         hardcode_shlibpath_var=no
9887         hardcode_direct_absolute=yes
9888         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9889           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9890           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9891           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9892           export_dynamic_flag_spec='${wl}-E'
9893         else
9894           case $host_os in
9895            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9896              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9897              hardcode_libdir_flag_spec='-R$libdir'
9898              ;;
9899            *)
9900              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9901              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9902              ;;
9903           esac
9904         fi
9905       else
9906         ld_shlibs=no
9907       fi
9908       ;;
9909
9910     os2*)
9911       hardcode_libdir_flag_spec='-L$libdir'
9912       hardcode_minus_L=yes
9913       allow_undefined_flag=unsupported
9914       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'
9915       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9916       ;;
9917
9918     osf3*)
9919       if test "$GCC" = yes; then
9920         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9921         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'
9922       else
9923         allow_undefined_flag=' -expect_unresolved \*'
9924         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'
9925       fi
9926       archive_cmds_need_lc='no'
9927       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928       hardcode_libdir_separator=:
9929       ;;
9930
9931     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9932       if test "$GCC" = yes; then
9933         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9934         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'
9935         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9936       else
9937         allow_undefined_flag=' -expect_unresolved \*'
9938         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'
9939         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~
9940         $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'
9941
9942         # Both c and cxx compiler support -rpath directly
9943         hardcode_libdir_flag_spec='-rpath $libdir'
9944       fi
9945       archive_cmds_need_lc='no'
9946       hardcode_libdir_separator=:
9947       ;;
9948
9949     solaris*)
9950       no_undefined_flag=' -z defs'
9951       if test "$GCC" = yes; then
9952         wlarc='${wl}'
9953         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9954         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9955           $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'
9956       else
9957         case `$CC -V 2>&1` in
9958         *"Compilers 5.0"*)
9959           wlarc=''
9960           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9961           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9962           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9963           ;;
9964         *)
9965           wlarc='${wl}'
9966           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9967           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9968           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9969           ;;
9970         esac
9971       fi
9972       hardcode_libdir_flag_spec='-R$libdir'
9973       hardcode_shlibpath_var=no
9974       case $host_os in
9975       solaris2.[0-5] | solaris2.[0-5].*) ;;
9976       *)
9977         # The compiler driver will combine and reorder linker options,
9978         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9979         # but is careful enough not to reorder.
9980         # Supported since Solaris 2.6 (maybe 2.5.1?)
9981         if test "$GCC" = yes; then
9982           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9983         else
9984           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9985         fi
9986         ;;
9987       esac
9988       link_all_deplibs=yes
9989       ;;
9990
9991     sunos4*)
9992       if test "x$host_vendor" = xsequent; then
9993         # Use $CC to link under sequent, because it throws in some extra .o
9994         # files that make .init and .fini sections work.
9995         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9996       else
9997         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9998       fi
9999       hardcode_libdir_flag_spec='-L$libdir'
10000       hardcode_direct=yes
10001       hardcode_minus_L=yes
10002       hardcode_shlibpath_var=no
10003       ;;
10004
10005     sysv4)
10006       case $host_vendor in
10007         sni)
10008           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10009           hardcode_direct=yes # is this really true???
10010         ;;
10011         siemens)
10012           ## LD is ld it makes a PLAMLIB
10013           ## CC just makes a GrossModule.
10014           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10015           reload_cmds='$CC -r -o $output$reload_objs'
10016           hardcode_direct=no
10017         ;;
10018         motorola)
10019           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10021         ;;
10022       esac
10023       runpath_var='LD_RUN_PATH'
10024       hardcode_shlibpath_var=no
10025       ;;
10026
10027     sysv4.3*)
10028       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10029       hardcode_shlibpath_var=no
10030       export_dynamic_flag_spec='-Bexport'
10031       ;;
10032
10033     sysv4*MP*)
10034       if test -d /usr/nec; then
10035         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10036         hardcode_shlibpath_var=no
10037         runpath_var=LD_RUN_PATH
10038         hardcode_runpath_var=yes
10039         ld_shlibs=yes
10040       fi
10041       ;;
10042
10043     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10044       no_undefined_flag='${wl}-z,text'
10045       archive_cmds_need_lc=no
10046       hardcode_shlibpath_var=no
10047       runpath_var='LD_RUN_PATH'
10048
10049       if test "$GCC" = yes; then
10050         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10051         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10052       else
10053         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10054         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10055       fi
10056       ;;
10057
10058     sysv5* | sco3.2v5* | sco5v6*)
10059       # Note: We can NOT use -z defs as we might desire, because we do not
10060       # link with -lc, and that would cause any symbols used from libc to
10061       # always be unresolved, which means just about no library would
10062       # ever link correctly.  If we're not using GNU ld we use -z text
10063       # though, which does catch some bad symbols but isn't as heavy-handed
10064       # as -z defs.
10065       no_undefined_flag='${wl}-z,text'
10066       allow_undefined_flag='${wl}-z,nodefs'
10067       archive_cmds_need_lc=no
10068       hardcode_shlibpath_var=no
10069       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10070       hardcode_libdir_separator=':'
10071       link_all_deplibs=yes
10072       export_dynamic_flag_spec='${wl}-Bexport'
10073       runpath_var='LD_RUN_PATH'
10074
10075       if test "$GCC" = yes; then
10076         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078       else
10079         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081       fi
10082       ;;
10083
10084     uts4*)
10085       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086       hardcode_libdir_flag_spec='-L$libdir'
10087       hardcode_shlibpath_var=no
10088       ;;
10089
10090     *)
10091       ld_shlibs=no
10092       ;;
10093     esac
10094
10095     if test x$host_vendor = xsni; then
10096       case $host in
10097       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10098         export_dynamic_flag_spec='${wl}-Blargedynsym'
10099         ;;
10100       esac
10101     fi
10102   fi
10103
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10105 $as_echo "$ld_shlibs" >&6; }
10106 test "$ld_shlibs" = no && can_build_shared=no
10107
10108 with_gnu_ld=$with_gnu_ld
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124 #
10125 # Do we need to explicitly link libc?
10126 #
10127 case "x$archive_cmds_need_lc" in
10128 x|xyes)
10129   # Assume -lc should be added
10130   archive_cmds_need_lc=yes
10131
10132   if test "$enable_shared" = yes && test "$GCC" = yes; then
10133     case $archive_cmds in
10134     *'~'*)
10135       # FIXME: we may have to deal with multi-command sequences.
10136       ;;
10137     '$CC '*)
10138       # Test whether the compiler implicitly links with -lc since on some
10139       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10140       # to ld, don't add -lc before -lgcc.
10141       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10142 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10143 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10144   $as_echo_n "(cached) " >&6
10145 else
10146   $RM conftest*
10147         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10148
10149         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10150   (eval $ac_compile) 2>&5
10151   ac_status=$?
10152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10153   test $ac_status = 0; } 2>conftest.err; then
10154           soname=conftest
10155           lib=conftest
10156           libobjs=conftest.$ac_objext
10157           deplibs=
10158           wl=$lt_prog_compiler_wl
10159           pic_flag=$lt_prog_compiler_pic
10160           compiler_flags=-v
10161           linker_flags=-v
10162           verstring=
10163           output_objdir=.
10164           libname=conftest
10165           lt_save_allow_undefined_flag=$allow_undefined_flag
10166           allow_undefined_flag=
10167           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10168   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10169   ac_status=$?
10170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10171   test $ac_status = 0; }
10172           then
10173             lt_cv_archive_cmds_need_lc=no
10174           else
10175             lt_cv_archive_cmds_need_lc=yes
10176           fi
10177           allow_undefined_flag=$lt_save_allow_undefined_flag
10178         else
10179           cat conftest.err 1>&5
10180         fi
10181         $RM conftest*
10182
10183 fi
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10185 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10186       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10187       ;;
10188     esac
10189   fi
10190   ;;
10191 esac
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10345 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10346
10347 if test "$GCC" = yes; then
10348   case $host_os in
10349     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10350     *) lt_awk_arg="/^libraries:/" ;;
10351   esac
10352   case $host_os in
10353     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10354     *) lt_sed_strip_eq="s,=/,/,g" ;;
10355   esac
10356   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10357   case $lt_search_path_spec in
10358   *\;*)
10359     # if the path contains ";" then we assume it to be the separator
10360     # otherwise default to the standard path separator (i.e. ":") - it is
10361     # assumed that no part of a normal pathname contains ";" but that should
10362     # okay in the real world where ";" in dirpaths is itself problematic.
10363     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10364     ;;
10365   *)
10366     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10367     ;;
10368   esac
10369   # Ok, now we have the path, separated by spaces, we can step through it
10370   # and add multilib dir if necessary.
10371   lt_tmp_lt_search_path_spec=
10372   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10373   for lt_sys_path in $lt_search_path_spec; do
10374     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10375       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10376     else
10377       test -d "$lt_sys_path" && \
10378         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10379     fi
10380   done
10381   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10382 BEGIN {RS=" "; FS="/|\n";} {
10383   lt_foo="";
10384   lt_count=0;
10385   for (lt_i = NF; lt_i > 0; lt_i--) {
10386     if ($lt_i != "" && $lt_i != ".") {
10387       if ($lt_i == "..") {
10388         lt_count++;
10389       } else {
10390         if (lt_count == 0) {
10391           lt_foo="/" $lt_i lt_foo;
10392         } else {
10393           lt_count--;
10394         }
10395       }
10396     }
10397   }
10398   if (lt_foo != "") { lt_freq[lt_foo]++; }
10399   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10400 }'`
10401   # AWK program above erroneously prepends '/' to C:/dos/paths
10402   # for these hosts.
10403   case $host_os in
10404     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10405       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10406   esac
10407   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10408 else
10409   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10410 fi
10411 library_names_spec=
10412 libname_spec='lib$name'
10413 soname_spec=
10414 shrext_cmds=".so"
10415 postinstall_cmds=
10416 postuninstall_cmds=
10417 finish_cmds=
10418 finish_eval=
10419 shlibpath_var=
10420 shlibpath_overrides_runpath=unknown
10421 version_type=none
10422 dynamic_linker="$host_os ld.so"
10423 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10424 need_lib_prefix=unknown
10425 hardcode_into_libs=no
10426
10427 # when you set need_version to no, make sure it does not cause -set_version
10428 # flags to be left without arguments
10429 need_version=unknown
10430
10431 case $host_os in
10432 aix3*)
10433   version_type=linux # correct to gnu/linux during the next big refactor
10434   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10435   shlibpath_var=LIBPATH
10436
10437   # AIX 3 has no versioning support, so we append a major version to the name.
10438   soname_spec='${libname}${release}${shared_ext}$major'
10439   ;;
10440
10441 aix[4-9]*)
10442   version_type=linux # correct to gnu/linux during the next big refactor
10443   need_lib_prefix=no
10444   need_version=no
10445   hardcode_into_libs=yes
10446   if test "$host_cpu" = ia64; then
10447     # AIX 5 supports IA64
10448     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10449     shlibpath_var=LD_LIBRARY_PATH
10450   else
10451     # With GCC up to 2.95.x, collect2 would create an import file
10452     # for dependence libraries.  The import file would start with
10453     # the line `#! .'.  This would cause the generated library to
10454     # depend on `.', always an invalid library.  This was fixed in
10455     # development snapshots of GCC prior to 3.0.
10456     case $host_os in
10457       aix4 | aix4.[01] | aix4.[01].*)
10458       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10459            echo ' yes '
10460            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10461         :
10462       else
10463         can_build_shared=no
10464       fi
10465       ;;
10466     esac
10467     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10468     # soname into executable. Probably we can add versioning support to
10469     # collect2, so additional links can be useful in future.
10470     if test "$aix_use_runtimelinking" = yes; then
10471       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10472       # instead of lib<name>.a to let people know that these are not
10473       # typical AIX shared libraries.
10474       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10475     else
10476       # We preserve .a as extension for shared libraries through AIX4.2
10477       # and later when we are not doing run time linking.
10478       library_names_spec='${libname}${release}.a $libname.a'
10479       soname_spec='${libname}${release}${shared_ext}$major'
10480     fi
10481     shlibpath_var=LIBPATH
10482   fi
10483   ;;
10484
10485 amigaos*)
10486   case $host_cpu in
10487   powerpc)
10488     # Since July 2007 AmigaOS4 officially supports .so libraries.
10489     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10490     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491     ;;
10492   m68k)
10493     library_names_spec='$libname.ixlibrary $libname.a'
10494     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10495     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'
10496     ;;
10497   esac
10498   ;;
10499
10500 beos*)
10501   library_names_spec='${libname}${shared_ext}'
10502   dynamic_linker="$host_os ld.so"
10503   shlibpath_var=LIBRARY_PATH
10504   ;;
10505
10506 bsdi[45]*)
10507   version_type=linux # correct to gnu/linux during the next big refactor
10508   need_version=no
10509   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510   soname_spec='${libname}${release}${shared_ext}$major'
10511   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10512   shlibpath_var=LD_LIBRARY_PATH
10513   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10514   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10515   # the default ld.so.conf also contains /usr/contrib/lib and
10516   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10517   # libtool to hard-code these into programs
10518   ;;
10519
10520 cygwin* | mingw* | pw32* | cegcc*)
10521   version_type=windows
10522   shrext_cmds=".dll"
10523   need_version=no
10524   need_lib_prefix=no
10525
10526   case $GCC,$cc_basename in
10527   yes,*)
10528     # gcc
10529     library_names_spec='$libname.dll.a'
10530     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10531     postinstall_cmds='base_file=`basename \${file}`~
10532       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10533       dldir=$destdir/`dirname \$dlpath`~
10534       test -d \$dldir || mkdir -p \$dldir~
10535       $install_prog $dir/$dlname \$dldir/$dlname~
10536       chmod a+x \$dldir/$dlname~
10537       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10538         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10539       fi'
10540     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10541       dlpath=$dir/\$dldll~
10542        $RM \$dlpath'
10543     shlibpath_overrides_runpath=yes
10544
10545     case $host_os in
10546     cygwin*)
10547       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10548       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10549
10550       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10551       ;;
10552     mingw* | cegcc*)
10553       # MinGW DLLs use traditional 'lib' prefix
10554       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10555       ;;
10556     pw32*)
10557       # pw32 DLLs use 'pw' prefix rather than 'lib'
10558       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10559       ;;
10560     esac
10561     dynamic_linker='Win32 ld.exe'
10562     ;;
10563
10564   *,cl*)
10565     # Native MSVC
10566     libname_spec='$name'
10567     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568     library_names_spec='${libname}.dll.lib'
10569
10570     case $build_os in
10571     mingw*)
10572       sys_lib_search_path_spec=
10573       lt_save_ifs=$IFS
10574       IFS=';'
10575       for lt_path in $LIB
10576       do
10577         IFS=$lt_save_ifs
10578         # Let DOS variable expansion print the short 8.3 style file name.
10579         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10580         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10581       done
10582       IFS=$lt_save_ifs
10583       # Convert to MSYS style.
10584       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10585       ;;
10586     cygwin*)
10587       # Convert to unix form, then to dos form, then back to unix form
10588       # but this time dos style (no spaces!) so that the unix form looks
10589       # like /cygdrive/c/PROGRA~1:/cygdr...
10590       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10591       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10592       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10593       ;;
10594     *)
10595       sys_lib_search_path_spec="$LIB"
10596       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10597         # It is most probably a Windows format PATH.
10598         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10599       else
10600         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10601       fi
10602       # FIXME: find the short name or the path components, as spaces are
10603       # common. (e.g. "Program Files" -> "PROGRA~1")
10604       ;;
10605     esac
10606
10607     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10608     postinstall_cmds='base_file=`basename \${file}`~
10609       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10610       dldir=$destdir/`dirname \$dlpath`~
10611       test -d \$dldir || mkdir -p \$dldir~
10612       $install_prog $dir/$dlname \$dldir/$dlname'
10613     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10614       dlpath=$dir/\$dldll~
10615        $RM \$dlpath'
10616     shlibpath_overrides_runpath=yes
10617     dynamic_linker='Win32 link.exe'
10618     ;;
10619
10620   *)
10621     # Assume MSVC wrapper
10622     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10623     dynamic_linker='Win32 ld.exe'
10624     ;;
10625   esac
10626   # FIXME: first we should search . and the directory the executable is in
10627   shlibpath_var=PATH
10628   ;;
10629
10630 darwin* | rhapsody*)
10631   dynamic_linker="$host_os dyld"
10632   version_type=darwin
10633   need_lib_prefix=no
10634   need_version=no
10635   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10636   soname_spec='${libname}${release}${major}$shared_ext'
10637   shlibpath_overrides_runpath=yes
10638   shlibpath_var=DYLD_LIBRARY_PATH
10639   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10640
10641   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10642   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10643   ;;
10644
10645 dgux*)
10646   version_type=linux # correct to gnu/linux during the next big refactor
10647   need_lib_prefix=no
10648   need_version=no
10649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10650   soname_spec='${libname}${release}${shared_ext}$major'
10651   shlibpath_var=LD_LIBRARY_PATH
10652   ;;
10653
10654 freebsd* | dragonfly*)
10655   # DragonFly does not have aout.  When/if they implement a new
10656   # versioning mechanism, adjust this.
10657   if test -x /usr/bin/objformat; then
10658     objformat=`/usr/bin/objformat`
10659   else
10660     case $host_os in
10661     freebsd[23].*) objformat=aout ;;
10662     *) objformat=elf ;;
10663     esac
10664   fi
10665   version_type=freebsd-$objformat
10666   case $version_type in
10667     freebsd-elf*)
10668       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10669       need_version=no
10670       need_lib_prefix=no
10671       ;;
10672     freebsd-*)
10673       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10674       need_version=yes
10675       ;;
10676   esac
10677   shlibpath_var=LD_LIBRARY_PATH
10678   case $host_os in
10679   freebsd2.*)
10680     shlibpath_overrides_runpath=yes
10681     ;;
10682   freebsd3.[01]* | freebsdelf3.[01]*)
10683     shlibpath_overrides_runpath=yes
10684     hardcode_into_libs=yes
10685     ;;
10686   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10687   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10688     shlibpath_overrides_runpath=no
10689     hardcode_into_libs=yes
10690     ;;
10691   *) # from 4.6 on, and DragonFly
10692     shlibpath_overrides_runpath=yes
10693     hardcode_into_libs=yes
10694     ;;
10695   esac
10696   ;;
10697
10698 haiku*)
10699   version_type=linux # correct to gnu/linux during the next big refactor
10700   need_lib_prefix=no
10701   need_version=no
10702   dynamic_linker="$host_os runtime_loader"
10703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10704   soname_spec='${libname}${release}${shared_ext}$major'
10705   shlibpath_var=LIBRARY_PATH
10706   shlibpath_overrides_runpath=yes
10707   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10708   hardcode_into_libs=yes
10709   ;;
10710
10711 hpux9* | hpux10* | hpux11*)
10712   # Give a soname corresponding to the major version so that dld.sl refuses to
10713   # link against other versions.
10714   version_type=sunos
10715   need_lib_prefix=no
10716   need_version=no
10717   case $host_cpu in
10718   ia64*)
10719     shrext_cmds='.so'
10720     hardcode_into_libs=yes
10721     dynamic_linker="$host_os dld.so"
10722     shlibpath_var=LD_LIBRARY_PATH
10723     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10724     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10725     soname_spec='${libname}${release}${shared_ext}$major'
10726     if test "X$HPUX_IA64_MODE" = X32; then
10727       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10728     else
10729       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10730     fi
10731     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10732     ;;
10733   hppa*64*)
10734     shrext_cmds='.sl'
10735     hardcode_into_libs=yes
10736     dynamic_linker="$host_os dld.sl"
10737     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10738     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10739     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740     soname_spec='${libname}${release}${shared_ext}$major'
10741     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10742     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10743     ;;
10744   *)
10745     shrext_cmds='.sl'
10746     dynamic_linker="$host_os dld.sl"
10747     shlibpath_var=SHLIB_PATH
10748     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10749     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10750     soname_spec='${libname}${release}${shared_ext}$major'
10751     ;;
10752   esac
10753   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10754   postinstall_cmds='chmod 555 $lib'
10755   # or fails outright, so override atomically:
10756   install_override_mode=555
10757   ;;
10758
10759 interix[3-9]*)
10760   version_type=linux # correct to gnu/linux during the next big refactor
10761   need_lib_prefix=no
10762   need_version=no
10763   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10764   soname_spec='${libname}${release}${shared_ext}$major'
10765   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10766   shlibpath_var=LD_LIBRARY_PATH
10767   shlibpath_overrides_runpath=no
10768   hardcode_into_libs=yes
10769   ;;
10770
10771 irix5* | irix6* | nonstopux*)
10772   case $host_os in
10773     nonstopux*) version_type=nonstopux ;;
10774     *)
10775         if test "$lt_cv_prog_gnu_ld" = yes; then
10776                 version_type=linux # correct to gnu/linux during the next big refactor
10777         else
10778                 version_type=irix
10779         fi ;;
10780   esac
10781   need_lib_prefix=no
10782   need_version=no
10783   soname_spec='${libname}${release}${shared_ext}$major'
10784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10785   case $host_os in
10786   irix5* | nonstopux*)
10787     libsuff= shlibsuff=
10788     ;;
10789   *)
10790     case $LD in # libtool.m4 will add one of these switches to LD
10791     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10792       libsuff= shlibsuff= libmagic=32-bit;;
10793     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10794       libsuff=32 shlibsuff=N32 libmagic=N32;;
10795     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10796       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10797     *) libsuff= shlibsuff= libmagic=never-match;;
10798     esac
10799     ;;
10800   esac
10801   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10802   shlibpath_overrides_runpath=no
10803   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10804   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10805   hardcode_into_libs=yes
10806   ;;
10807
10808 # No shared lib support for Linux oldld, aout, or coff.
10809 linux*oldld* | linux*aout* | linux*coff*)
10810   dynamic_linker=no
10811   ;;
10812
10813 # This must be glibc/ELF.
10814 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10815   version_type=linux # correct to gnu/linux during the next big refactor
10816   need_lib_prefix=no
10817   need_version=no
10818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819   soname_spec='${libname}${release}${shared_ext}$major'
10820   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10821   shlibpath_var=LD_LIBRARY_PATH
10822   shlibpath_overrides_runpath=no
10823
10824   # Some binutils ld are patched to set DT_RUNPATH
10825   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10826   $as_echo_n "(cached) " >&6
10827 else
10828   lt_cv_shlibpath_overrides_runpath=no
10829     save_LDFLAGS=$LDFLAGS
10830     save_libdir=$libdir
10831     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10832          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10833     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h.  */
10835
10836 int
10837 main ()
10838 {
10839
10840   ;
10841   return 0;
10842 }
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"; then :
10845   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10846   lt_cv_shlibpath_overrides_runpath=yes
10847 fi
10848 fi
10849 rm -f core conftest.err conftest.$ac_objext \
10850     conftest$ac_exeext conftest.$ac_ext
10851     LDFLAGS=$save_LDFLAGS
10852     libdir=$save_libdir
10853
10854 fi
10855
10856   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10857
10858   # This implies no fast_install, which is unacceptable.
10859   # Some rework will be needed to allow for fast_install
10860   # before this can be enabled.
10861   hardcode_into_libs=yes
10862
10863   # Append ld.so.conf contents to the search path
10864   if test -f /etc/ld.so.conf; then
10865     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' ' '`
10866     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10867   fi
10868
10869   # We used to test for /lib/ld.so.1 and disable shared libraries on
10870   # powerpc, because MkLinux only supported shared libraries with the
10871   # GNU dynamic linker.  Since this was broken with cross compilers,
10872   # most powerpc-linux boxes support dynamic linking these days and
10873   # people can always --disable-shared, the test was removed, and we
10874   # assume the GNU/Linux dynamic linker is in use.
10875   dynamic_linker='GNU/Linux ld.so'
10876   ;;
10877
10878 netbsdelf*-gnu)
10879   version_type=linux
10880   need_lib_prefix=no
10881   need_version=no
10882   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10883   soname_spec='${libname}${release}${shared_ext}$major'
10884   shlibpath_var=LD_LIBRARY_PATH
10885   shlibpath_overrides_runpath=no
10886   hardcode_into_libs=yes
10887   dynamic_linker='NetBSD ld.elf_so'
10888   ;;
10889
10890 netbsd*)
10891   version_type=sunos
10892   need_lib_prefix=no
10893   need_version=no
10894   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10895     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10896     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10897     dynamic_linker='NetBSD (a.out) ld.so'
10898   else
10899     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10900     soname_spec='${libname}${release}${shared_ext}$major'
10901     dynamic_linker='NetBSD ld.elf_so'
10902   fi
10903   shlibpath_var=LD_LIBRARY_PATH
10904   shlibpath_overrides_runpath=yes
10905   hardcode_into_libs=yes
10906   ;;
10907
10908 newsos6)
10909   version_type=linux # correct to gnu/linux during the next big refactor
10910   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10911   shlibpath_var=LD_LIBRARY_PATH
10912   shlibpath_overrides_runpath=yes
10913   ;;
10914
10915 *nto* | *qnx*)
10916   version_type=qnx
10917   need_lib_prefix=no
10918   need_version=no
10919   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920   soname_spec='${libname}${release}${shared_ext}$major'
10921   shlibpath_var=LD_LIBRARY_PATH
10922   shlibpath_overrides_runpath=no
10923   hardcode_into_libs=yes
10924   dynamic_linker='ldqnx.so'
10925   ;;
10926
10927 openbsd*)
10928   version_type=sunos
10929   sys_lib_dlsearch_path_spec="/usr/lib"
10930   need_lib_prefix=no
10931   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10932   case $host_os in
10933     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10934     *)                          need_version=no  ;;
10935   esac
10936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10937   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10938   shlibpath_var=LD_LIBRARY_PATH
10939   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10940     case $host_os in
10941       openbsd2.[89] | openbsd2.[89].*)
10942         shlibpath_overrides_runpath=no
10943         ;;
10944       *)
10945         shlibpath_overrides_runpath=yes
10946         ;;
10947       esac
10948   else
10949     shlibpath_overrides_runpath=yes
10950   fi
10951   ;;
10952
10953 os2*)
10954   libname_spec='$name'
10955   shrext_cmds=".dll"
10956   need_lib_prefix=no
10957   library_names_spec='$libname${shared_ext} $libname.a'
10958   dynamic_linker='OS/2 ld.exe'
10959   shlibpath_var=LIBPATH
10960   ;;
10961
10962 osf3* | osf4* | osf5*)
10963   version_type=osf
10964   need_lib_prefix=no
10965   need_version=no
10966   soname_spec='${libname}${release}${shared_ext}$major'
10967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968   shlibpath_var=LD_LIBRARY_PATH
10969   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10970   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10971   ;;
10972
10973 rdos*)
10974   dynamic_linker=no
10975   ;;
10976
10977 solaris*)
10978   version_type=linux # correct to gnu/linux during the next big refactor
10979   need_lib_prefix=no
10980   need_version=no
10981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10982   soname_spec='${libname}${release}${shared_ext}$major'
10983   shlibpath_var=LD_LIBRARY_PATH
10984   shlibpath_overrides_runpath=yes
10985   hardcode_into_libs=yes
10986   # ldd complains unless libraries are executable
10987   postinstall_cmds='chmod +x $lib'
10988   ;;
10989
10990 sunos4*)
10991   version_type=sunos
10992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10993   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10994   shlibpath_var=LD_LIBRARY_PATH
10995   shlibpath_overrides_runpath=yes
10996   if test "$with_gnu_ld" = yes; then
10997     need_lib_prefix=no
10998   fi
10999   need_version=yes
11000   ;;
11001
11002 sysv4 | sysv4.3*)
11003   version_type=linux # correct to gnu/linux during the next big refactor
11004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11005   soname_spec='${libname}${release}${shared_ext}$major'
11006   shlibpath_var=LD_LIBRARY_PATH
11007   case $host_vendor in
11008     sni)
11009       shlibpath_overrides_runpath=no
11010       need_lib_prefix=no
11011       runpath_var=LD_RUN_PATH
11012       ;;
11013     siemens)
11014       need_lib_prefix=no
11015       ;;
11016     motorola)
11017       need_lib_prefix=no
11018       need_version=no
11019       shlibpath_overrides_runpath=no
11020       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11021       ;;
11022   esac
11023   ;;
11024
11025 sysv4*MP*)
11026   if test -d /usr/nec ;then
11027     version_type=linux # correct to gnu/linux during the next big refactor
11028     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11029     soname_spec='$libname${shared_ext}.$major'
11030     shlibpath_var=LD_LIBRARY_PATH
11031   fi
11032   ;;
11033
11034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11035   version_type=freebsd-elf
11036   need_lib_prefix=no
11037   need_version=no
11038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11039   soname_spec='${libname}${release}${shared_ext}$major'
11040   shlibpath_var=LD_LIBRARY_PATH
11041   shlibpath_overrides_runpath=yes
11042   hardcode_into_libs=yes
11043   if test "$with_gnu_ld" = yes; then
11044     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11045   else
11046     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11047     case $host_os in
11048       sco3.2v5*)
11049         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11050         ;;
11051     esac
11052   fi
11053   sys_lib_dlsearch_path_spec='/usr/lib'
11054   ;;
11055
11056 tpf*)
11057   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11058   version_type=linux # correct to gnu/linux during the next big refactor
11059   need_lib_prefix=no
11060   need_version=no
11061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062   shlibpath_var=LD_LIBRARY_PATH
11063   shlibpath_overrides_runpath=no
11064   hardcode_into_libs=yes
11065   ;;
11066
11067 uts4*)
11068   version_type=linux # correct to gnu/linux during the next big refactor
11069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11070   soname_spec='${libname}${release}${shared_ext}$major'
11071   shlibpath_var=LD_LIBRARY_PATH
11072   ;;
11073
11074 *)
11075   dynamic_linker=no
11076   ;;
11077 esac
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11079 $as_echo "$dynamic_linker" >&6; }
11080 test "$dynamic_linker" = no && can_build_shared=no
11081
11082 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11083 if test "$GCC" = yes; then
11084   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11085 fi
11086
11087 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11088   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11089 fi
11090 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11091   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11092 fi
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11186 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11187 hardcode_action=
11188 if test -n "$hardcode_libdir_flag_spec" ||
11189    test -n "$runpath_var" ||
11190    test "X$hardcode_automatic" = "Xyes" ; then
11191
11192   # We can hardcode non-existent directories.
11193   if test "$hardcode_direct" != no &&
11194      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11195      # have to relink, otherwise we might link with an installed library
11196      # when we should be linking with a yet-to-be-installed one
11197      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11198      test "$hardcode_minus_L" != no; then
11199     # Linking always hardcodes the temporary library directory.
11200     hardcode_action=relink
11201   else
11202     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11203     hardcode_action=immediate
11204   fi
11205 else
11206   # We cannot hardcode anything, or else we can only hardcode existing
11207   # directories.
11208   hardcode_action=unsupported
11209 fi
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11211 $as_echo "$hardcode_action" >&6; }
11212
11213 if test "$hardcode_action" = relink ||
11214    test "$inherit_rpath" = yes; then
11215   # Fast installation is not supported
11216   enable_fast_install=no
11217 elif test "$shlibpath_overrides_runpath" = yes ||
11218      test "$enable_shared" = no; then
11219   # Fast installation is not necessary
11220   enable_fast_install=needless
11221 fi
11222
11223
11224
11225
11226
11227
11228   if test "x$enable_dlopen" != xyes; then
11229   enable_dlopen=unknown
11230   enable_dlopen_self=unknown
11231   enable_dlopen_self_static=unknown
11232 else
11233   lt_cv_dlopen=no
11234   lt_cv_dlopen_libs=
11235
11236   case $host_os in
11237   beos*)
11238     lt_cv_dlopen="load_add_on"
11239     lt_cv_dlopen_libs=
11240     lt_cv_dlopen_self=yes
11241     ;;
11242
11243   mingw* | pw32* | cegcc*)
11244     lt_cv_dlopen="LoadLibrary"
11245     lt_cv_dlopen_libs=
11246     ;;
11247
11248   cygwin*)
11249     lt_cv_dlopen="dlopen"
11250     lt_cv_dlopen_libs=
11251     ;;
11252
11253   darwin*)
11254   # if libdl is installed we need to link against it
11255     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11256 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11257 if ${ac_cv_lib_dl_dlopen+:} false; then :
11258   $as_echo_n "(cached) " >&6
11259 else
11260   ac_check_lib_save_LIBS=$LIBS
11261 LIBS="-ldl  $LIBS"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h.  */
11264
11265 /* Override any GCC internal prototype to avoid an error.
11266    Use char because int might match the return type of a GCC
11267    builtin and then its argument prototype would still apply.  */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char dlopen ();
11272 int
11273 main ()
11274 {
11275 return dlopen ();
11276   ;
11277   return 0;
11278 }
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281   ac_cv_lib_dl_dlopen=yes
11282 else
11283   ac_cv_lib_dl_dlopen=no
11284 fi
11285 rm -f core conftest.err conftest.$ac_objext \
11286     conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11288 fi
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11290 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11291 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11292   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11293 else
11294
11295     lt_cv_dlopen="dyld"
11296     lt_cv_dlopen_libs=
11297     lt_cv_dlopen_self=yes
11298
11299 fi
11300
11301     ;;
11302
11303   *)
11304     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11305 if test "x$ac_cv_func_shl_load" = xyes; then :
11306   lt_cv_dlopen="shl_load"
11307 else
11308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11309 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11310 if ${ac_cv_lib_dld_shl_load+:} false; then :
11311   $as_echo_n "(cached) " >&6
11312 else
11313   ac_check_lib_save_LIBS=$LIBS
11314 LIBS="-ldld  $LIBS"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h.  */
11317
11318 /* Override any GCC internal prototype to avoid an error.
11319    Use char because int might match the return type of a GCC
11320    builtin and then its argument prototype would still apply.  */
11321 #ifdef __cplusplus
11322 extern "C"
11323 #endif
11324 char shl_load ();
11325 int
11326 main ()
11327 {
11328 return shl_load ();
11329   ;
11330   return 0;
11331 }
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"; then :
11334   ac_cv_lib_dld_shl_load=yes
11335 else
11336   ac_cv_lib_dld_shl_load=no
11337 fi
11338 rm -f core conftest.err conftest.$ac_objext \
11339     conftest$ac_exeext conftest.$ac_ext
11340 LIBS=$ac_check_lib_save_LIBS
11341 fi
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11343 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11344 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11345   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11346 else
11347   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11348 if test "x$ac_cv_func_dlopen" = xyes; then :
11349   lt_cv_dlopen="dlopen"
11350 else
11351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11352 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11353 if ${ac_cv_lib_dl_dlopen+:} false; then :
11354   $as_echo_n "(cached) " >&6
11355 else
11356   ac_check_lib_save_LIBS=$LIBS
11357 LIBS="-ldl  $LIBS"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h.  */
11360
11361 /* Override any GCC internal prototype to avoid an error.
11362    Use char because int might match the return type of a GCC
11363    builtin and then its argument prototype would still apply.  */
11364 #ifdef __cplusplus
11365 extern "C"
11366 #endif
11367 char dlopen ();
11368 int
11369 main ()
11370 {
11371 return dlopen ();
11372   ;
11373   return 0;
11374 }
11375 _ACEOF
11376 if ac_fn_c_try_link "$LINENO"; then :
11377   ac_cv_lib_dl_dlopen=yes
11378 else
11379   ac_cv_lib_dl_dlopen=no
11380 fi
11381 rm -f core conftest.err conftest.$ac_objext \
11382     conftest$ac_exeext conftest.$ac_ext
11383 LIBS=$ac_check_lib_save_LIBS
11384 fi
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11386 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11387 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11388   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11389 else
11390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11391 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11392 if ${ac_cv_lib_svld_dlopen+:} false; then :
11393   $as_echo_n "(cached) " >&6
11394 else
11395   ac_check_lib_save_LIBS=$LIBS
11396 LIBS="-lsvld  $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h.  */
11399
11400 /* Override any GCC internal prototype to avoid an error.
11401    Use char because int might match the return type of a GCC
11402    builtin and then its argument prototype would still apply.  */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 char dlopen ();
11407 int
11408 main ()
11409 {
11410 return dlopen ();
11411   ;
11412   return 0;
11413 }
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"; then :
11416   ac_cv_lib_svld_dlopen=yes
11417 else
11418   ac_cv_lib_svld_dlopen=no
11419 fi
11420 rm -f core conftest.err conftest.$ac_objext \
11421     conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_lib_save_LIBS
11423 fi
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11425 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11426 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11427   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11428 else
11429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11430 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11431 if ${ac_cv_lib_dld_dld_link+:} false; then :
11432   $as_echo_n "(cached) " >&6
11433 else
11434   ac_check_lib_save_LIBS=$LIBS
11435 LIBS="-ldld  $LIBS"
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h.  */
11438
11439 /* Override any GCC internal prototype to avoid an error.
11440    Use char because int might match the return type of a GCC
11441    builtin and then its argument prototype would still apply.  */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dld_link ();
11446 int
11447 main ()
11448 {
11449 return dld_link ();
11450   ;
11451   return 0;
11452 }
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455   ac_cv_lib_dld_dld_link=yes
11456 else
11457   ac_cv_lib_dld_dld_link=no
11458 fi
11459 rm -f core conftest.err conftest.$ac_objext \
11460     conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11462 fi
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11464 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11465 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11466   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11467 fi
11468
11469
11470 fi
11471
11472
11473 fi
11474
11475
11476 fi
11477
11478
11479 fi
11480
11481
11482 fi
11483
11484     ;;
11485   esac
11486
11487   if test "x$lt_cv_dlopen" != xno; then
11488     enable_dlopen=yes
11489   else
11490     enable_dlopen=no
11491   fi
11492
11493   case $lt_cv_dlopen in
11494   dlopen)
11495     save_CPPFLAGS="$CPPFLAGS"
11496     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11497
11498     save_LDFLAGS="$LDFLAGS"
11499     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11500
11501     save_LIBS="$LIBS"
11502     LIBS="$lt_cv_dlopen_libs $LIBS"
11503
11504     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11505 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11506 if ${lt_cv_dlopen_self+:} false; then :
11507   $as_echo_n "(cached) " >&6
11508 else
11509           if test "$cross_compiling" = yes; then :
11510   lt_cv_dlopen_self=cross
11511 else
11512   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11513   lt_status=$lt_dlunknown
11514   cat > conftest.$ac_ext <<_LT_EOF
11515 #line $LINENO "configure"
11516 #include "confdefs.h"
11517
11518 #if HAVE_DLFCN_H
11519 #include <dlfcn.h>
11520 #endif
11521
11522 #include <stdio.h>
11523
11524 #ifdef RTLD_GLOBAL
11525 #  define LT_DLGLOBAL           RTLD_GLOBAL
11526 #else
11527 #  ifdef DL_GLOBAL
11528 #    define LT_DLGLOBAL         DL_GLOBAL
11529 #  else
11530 #    define LT_DLGLOBAL         0
11531 #  endif
11532 #endif
11533
11534 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11535    find out it does not work in some platform. */
11536 #ifndef LT_DLLAZY_OR_NOW
11537 #  ifdef RTLD_LAZY
11538 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11539 #  else
11540 #    ifdef DL_LAZY
11541 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11542 #    else
11543 #      ifdef RTLD_NOW
11544 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11545 #      else
11546 #        ifdef DL_NOW
11547 #          define LT_DLLAZY_OR_NOW      DL_NOW
11548 #        else
11549 #          define LT_DLLAZY_OR_NOW      0
11550 #        endif
11551 #      endif
11552 #    endif
11553 #  endif
11554 #endif
11555
11556 /* When -fvisbility=hidden is used, assume the code has been annotated
11557    correspondingly for the symbols needed.  */
11558 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11559 int fnord () __attribute__((visibility("default")));
11560 #endif
11561
11562 int fnord () { return 42; }
11563 int main ()
11564 {
11565   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11566   int status = $lt_dlunknown;
11567
11568   if (self)
11569     {
11570       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11571       else
11572         {
11573           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11574           else puts (dlerror ());
11575         }
11576       /* dlclose (self); */
11577     }
11578   else
11579     puts (dlerror ());
11580
11581   return status;
11582 }
11583 _LT_EOF
11584   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11585   (eval $ac_link) 2>&5
11586   ac_status=$?
11587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11588   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11589     (./conftest; exit; ) >&5 2>/dev/null
11590     lt_status=$?
11591     case x$lt_status in
11592       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11593       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11594       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11595     esac
11596   else :
11597     # compilation failed
11598     lt_cv_dlopen_self=no
11599   fi
11600 fi
11601 rm -fr conftest*
11602
11603
11604 fi
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11606 $as_echo "$lt_cv_dlopen_self" >&6; }
11607
11608     if test "x$lt_cv_dlopen_self" = xyes; then
11609       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11610       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11611 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11612 if ${lt_cv_dlopen_self_static+:} false; then :
11613   $as_echo_n "(cached) " >&6
11614 else
11615           if test "$cross_compiling" = yes; then :
11616   lt_cv_dlopen_self_static=cross
11617 else
11618   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11619   lt_status=$lt_dlunknown
11620   cat > conftest.$ac_ext <<_LT_EOF
11621 #line $LINENO "configure"
11622 #include "confdefs.h"
11623
11624 #if HAVE_DLFCN_H
11625 #include <dlfcn.h>
11626 #endif
11627
11628 #include <stdio.h>
11629
11630 #ifdef RTLD_GLOBAL
11631 #  define LT_DLGLOBAL           RTLD_GLOBAL
11632 #else
11633 #  ifdef DL_GLOBAL
11634 #    define LT_DLGLOBAL         DL_GLOBAL
11635 #  else
11636 #    define LT_DLGLOBAL         0
11637 #  endif
11638 #endif
11639
11640 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11641    find out it does not work in some platform. */
11642 #ifndef LT_DLLAZY_OR_NOW
11643 #  ifdef RTLD_LAZY
11644 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11645 #  else
11646 #    ifdef DL_LAZY
11647 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11648 #    else
11649 #      ifdef RTLD_NOW
11650 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11651 #      else
11652 #        ifdef DL_NOW
11653 #          define LT_DLLAZY_OR_NOW      DL_NOW
11654 #        else
11655 #          define LT_DLLAZY_OR_NOW      0
11656 #        endif
11657 #      endif
11658 #    endif
11659 #  endif
11660 #endif
11661
11662 /* When -fvisbility=hidden is used, assume the code has been annotated
11663    correspondingly for the symbols needed.  */
11664 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11665 int fnord () __attribute__((visibility("default")));
11666 #endif
11667
11668 int fnord () { return 42; }
11669 int main ()
11670 {
11671   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11672   int status = $lt_dlunknown;
11673
11674   if (self)
11675     {
11676       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11677       else
11678         {
11679           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11680           else puts (dlerror ());
11681         }
11682       /* dlclose (self); */
11683     }
11684   else
11685     puts (dlerror ());
11686
11687   return status;
11688 }
11689 _LT_EOF
11690   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11691   (eval $ac_link) 2>&5
11692   ac_status=$?
11693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11694   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11695     (./conftest; exit; ) >&5 2>/dev/null
11696     lt_status=$?
11697     case x$lt_status in
11698       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11699       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11700       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11701     esac
11702   else :
11703     # compilation failed
11704     lt_cv_dlopen_self_static=no
11705   fi
11706 fi
11707 rm -fr conftest*
11708
11709
11710 fi
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11712 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11713     fi
11714
11715     CPPFLAGS="$save_CPPFLAGS"
11716     LDFLAGS="$save_LDFLAGS"
11717     LIBS="$save_LIBS"
11718     ;;
11719   esac
11720
11721   case $lt_cv_dlopen_self in
11722   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11723   *) enable_dlopen_self=unknown ;;
11724   esac
11725
11726   case $lt_cv_dlopen_self_static in
11727   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11728   *) enable_dlopen_self_static=unknown ;;
11729   esac
11730 fi
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748 striplib=
11749 old_striplib=
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11751 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11752 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11753   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11754   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11756 $as_echo "yes" >&6; }
11757 else
11758 # FIXME - insert some real tests, host_os isn't really good enough
11759   case $host_os in
11760   darwin*)
11761     if test -n "$STRIP" ; then
11762       striplib="$STRIP -x"
11763       old_striplib="$STRIP -S"
11764       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11765 $as_echo "yes" >&6; }
11766     else
11767       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11769     fi
11770     ;;
11771   *)
11772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11773 $as_echo "no" >&6; }
11774     ;;
11775   esac
11776 fi
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789   # Report which library types will actually be built
11790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11791 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11793 $as_echo "$can_build_shared" >&6; }
11794
11795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11796 $as_echo_n "checking whether to build shared libraries... " >&6; }
11797   test "$can_build_shared" = "no" && enable_shared=no
11798
11799   # On AIX, shared libraries and static libraries use the same namespace, and
11800   # are all built from PIC.
11801   case $host_os in
11802   aix3*)
11803     test "$enable_shared" = yes && enable_static=no
11804     if test -n "$RANLIB"; then
11805       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11806       postinstall_cmds='$RANLIB $lib'
11807     fi
11808     ;;
11809
11810   aix[4-9]*)
11811     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11812       test "$enable_shared" = yes && enable_static=no
11813     fi
11814     ;;
11815   esac
11816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11817 $as_echo "$enable_shared" >&6; }
11818
11819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11820 $as_echo_n "checking whether to build static libraries... " >&6; }
11821   # Make sure either enable_shared or enable_static is yes.
11822   test "$enable_shared" = yes || enable_static=yes
11823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11824 $as_echo "$enable_static" >&6; }
11825
11826
11827
11828
11829 fi
11830 ac_ext=c
11831 ac_cpp='$CPP $CPPFLAGS'
11832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11835
11836 CC="$lt_save_CC"
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852         ac_config_commands="$ac_config_commands libtool"
11853
11854
11855
11856
11857 # Only expand once:
11858
11859
11860
11861 # Checks for libraries.
11862
11863
11864
11865
11866
11867
11868
11869 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11870         if test -n "$ac_tool_prefix"; then
11871   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11872 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11874 $as_echo_n "checking for $ac_word... " >&6; }
11875 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11876   $as_echo_n "(cached) " >&6
11877 else
11878   case $PKG_CONFIG in
11879   [\\/]* | ?:[\\/]*)
11880   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11881   ;;
11882   *)
11883   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11884 for as_dir in $PATH
11885 do
11886   IFS=$as_save_IFS
11887   test -z "$as_dir" && as_dir=.
11888     for ac_exec_ext in '' $ac_executable_extensions; do
11889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11890     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11892     break 2
11893   fi
11894 done
11895   done
11896 IFS=$as_save_IFS
11897
11898   ;;
11899 esac
11900 fi
11901 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11902 if test -n "$PKG_CONFIG"; then
11903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11904 $as_echo "$PKG_CONFIG" >&6; }
11905 else
11906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11907 $as_echo "no" >&6; }
11908 fi
11909
11910
11911 fi
11912 if test -z "$ac_cv_path_PKG_CONFIG"; then
11913   ac_pt_PKG_CONFIG=$PKG_CONFIG
11914   # Extract the first word of "pkg-config", so it can be a program name with args.
11915 set dummy pkg-config; ac_word=$2
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11917 $as_echo_n "checking for $ac_word... " >&6; }
11918 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11919   $as_echo_n "(cached) " >&6
11920 else
11921   case $ac_pt_PKG_CONFIG in
11922   [\\/]* | ?:[\\/]*)
11923   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11924   ;;
11925   *)
11926   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11927 for as_dir in $PATH
11928 do
11929   IFS=$as_save_IFS
11930   test -z "$as_dir" && as_dir=.
11931     for ac_exec_ext in '' $ac_executable_extensions; do
11932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11933     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11935     break 2
11936   fi
11937 done
11938   done
11939 IFS=$as_save_IFS
11940
11941   ;;
11942 esac
11943 fi
11944 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11945 if test -n "$ac_pt_PKG_CONFIG"; then
11946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11947 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11948 else
11949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11950 $as_echo "no" >&6; }
11951 fi
11952
11953   if test "x$ac_pt_PKG_CONFIG" = x; then
11954     PKG_CONFIG=""
11955   else
11956     case $cross_compiling:$ac_tool_warned in
11957 yes:)
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11960 ac_tool_warned=yes ;;
11961 esac
11962     PKG_CONFIG=$ac_pt_PKG_CONFIG
11963   fi
11964 else
11965   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11966 fi
11967
11968 fi
11969 if test -n "$PKG_CONFIG"; then
11970         _pkg_min_version=0.9.0
11971         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11972 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11973         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11974                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11975 $as_echo "yes" >&6; }
11976         else
11977                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978 $as_echo "no" >&6; }
11979                 PKG_CONFIG=""
11980         fi
11981 fi
11982
11983 pkg_failed=no
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11985 $as_echo_n "checking for GSIGNOND... " >&6; }
11986
11987 if test -n "$GSIGNOND_CFLAGS"; then
11988     pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11989  elif test -n "$PKG_CONFIG"; then
11990     if test -n "$PKG_CONFIG" && \
11991     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11992                    gio-2.0
11993                    gio-unix-2.0
11994                    gmodule-2.0
11995                    sqlite3\""; } >&5
11996   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11997                    gio-2.0
11998                    gio-unix-2.0
11999                    gmodule-2.0
12000                    sqlite3") 2>&5
12001   ac_status=$?
12002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12003   test $ac_status = 0; }; then
12004   pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
12005                    gio-2.0
12006                    gio-unix-2.0
12007                    gmodule-2.0
12008                    sqlite3" 2>/dev/null`
12009                       test "x$?" != "x0" && pkg_failed=yes
12010 else
12011   pkg_failed=yes
12012 fi
12013  else
12014     pkg_failed=untried
12015 fi
12016 if test -n "$GSIGNOND_LIBS"; then
12017     pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
12018  elif test -n "$PKG_CONFIG"; then
12019     if test -n "$PKG_CONFIG" && \
12020     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
12021                    gio-2.0
12022                    gio-unix-2.0
12023                    gmodule-2.0
12024                    sqlite3\""; } >&5
12025   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12026                    gio-2.0
12027                    gio-unix-2.0
12028                    gmodule-2.0
12029                    sqlite3") 2>&5
12030   ac_status=$?
12031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12032   test $ac_status = 0; }; then
12033   pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
12034                    gio-2.0
12035                    gio-unix-2.0
12036                    gmodule-2.0
12037                    sqlite3" 2>/dev/null`
12038                       test "x$?" != "x0" && pkg_failed=yes
12039 else
12040   pkg_failed=yes
12041 fi
12042  else
12043     pkg_failed=untried
12044 fi
12045
12046
12047
12048 if test $pkg_failed = yes; then
12049         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12050 $as_echo "no" >&6; }
12051
12052 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12053         _pkg_short_errors_supported=yes
12054 else
12055         _pkg_short_errors_supported=no
12056 fi
12057         if test $_pkg_short_errors_supported = yes; then
12058                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
12059                    gio-2.0
12060                    gio-unix-2.0
12061                    gmodule-2.0
12062                    sqlite3" 2>&1`
12063         else
12064                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
12065                    gio-2.0
12066                    gio-unix-2.0
12067                    gmodule-2.0
12068                    sqlite3" 2>&1`
12069         fi
12070         # Put the nasty error message in config.log where it belongs
12071         echo "$GSIGNOND_PKG_ERRORS" >&5
12072
12073         as_fn_error $? "Package requirements (glib-2.0 >= 2.30
12074                    gio-2.0
12075                    gio-unix-2.0
12076                    gmodule-2.0
12077                    sqlite3) were not met:
12078
12079 $GSIGNOND_PKG_ERRORS
12080
12081 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12082 installed software in a non-standard prefix.
12083
12084 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12085 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12086 See the pkg-config man page for more details." "$LINENO" 5
12087 elif test $pkg_failed = untried; then
12088         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12089 $as_echo "no" >&6; }
12090         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12092 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12093 is in your PATH or set the PKG_CONFIG environment variable to the full
12094 path to pkg-config.
12095
12096 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12097 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12098 See the pkg-config man page for more details.
12099
12100 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12101 See \`config.log' for more details" "$LINENO" 5; }
12102 else
12103         GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
12104         GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
12105         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12106 $as_echo "yes" >&6; }
12107
12108 fi
12109
12110
12111
12112
12113 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
12114
12115 pkg_failed=no
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12117 $as_echo_n "checking for CHECK... " >&6; }
12118
12119 if test -n "$CHECK_CFLAGS"; then
12120     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12121  elif test -n "$PKG_CONFIG"; then
12122     if test -n "$PKG_CONFIG" && \
12123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12124   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12125   ac_status=$?
12126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12127   test $ac_status = 0; }; then
12128   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12129                       test "x$?" != "x0" && pkg_failed=yes
12130 else
12131   pkg_failed=yes
12132 fi
12133  else
12134     pkg_failed=untried
12135 fi
12136 if test -n "$CHECK_LIBS"; then
12137     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12138  elif test -n "$PKG_CONFIG"; then
12139     if test -n "$PKG_CONFIG" && \
12140     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12141   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12142   ac_status=$?
12143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12144   test $ac_status = 0; }; then
12145   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12146                       test "x$?" != "x0" && pkg_failed=yes
12147 else
12148   pkg_failed=yes
12149 fi
12150  else
12151     pkg_failed=untried
12152 fi
12153
12154
12155
12156 if test $pkg_failed = yes; then
12157         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12159
12160 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12161         _pkg_short_errors_supported=yes
12162 else
12163         _pkg_short_errors_supported=no
12164 fi
12165         if test $_pkg_short_errors_supported = yes; then
12166                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12167         else
12168                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12169         fi
12170         # Put the nasty error message in config.log where it belongs
12171         echo "$CHECK_PKG_ERRORS" >&5
12172
12173         have_check=no
12174 elif test $pkg_failed = untried; then
12175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12176 $as_echo "no" >&6; }
12177         have_check=no
12178 else
12179         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12180         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12181         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12182 $as_echo "yes" >&6; }
12183         have_check=yes
12184 fi
12185
12186
12187
12188
12189 pkg_failed=no
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12191 $as_echo_n "checking for LIBSMACK... " >&6; }
12192
12193 if test -n "$LIBSMACK_CFLAGS"; then
12194     pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12195  elif test -n "$PKG_CONFIG"; then
12196     if test -n "$PKG_CONFIG" && \
12197     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12198   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12199   ac_status=$?
12200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12201   test $ac_status = 0; }; then
12202   pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12203                       test "x$?" != "x0" && pkg_failed=yes
12204 else
12205   pkg_failed=yes
12206 fi
12207  else
12208     pkg_failed=untried
12209 fi
12210 if test -n "$LIBSMACK_LIBS"; then
12211     pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12212  elif test -n "$PKG_CONFIG"; then
12213     if test -n "$PKG_CONFIG" && \
12214     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12215   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12216   ac_status=$?
12217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12218   test $ac_status = 0; }; then
12219   pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12220                       test "x$?" != "x0" && pkg_failed=yes
12221 else
12222   pkg_failed=yes
12223 fi
12224  else
12225     pkg_failed=untried
12226 fi
12227
12228
12229
12230 if test $pkg_failed = yes; then
12231         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12233
12234 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12235         _pkg_short_errors_supported=yes
12236 else
12237         _pkg_short_errors_supported=no
12238 fi
12239         if test $_pkg_short_errors_supported = yes; then
12240                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12241         else
12242                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12243         fi
12244         # Put the nasty error message in config.log where it belongs
12245         echo "$LIBSMACK_PKG_ERRORS" >&5
12246
12247         libsmack=no
12248 elif test $pkg_failed = untried; then
12249         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12250 $as_echo "no" >&6; }
12251         libsmack=no
12252 else
12253         LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12254         LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12255         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12256 $as_echo "yes" >&6; }
12257         libsmack=yes
12258 fi
12259  if test x$libsmack = xyes; then
12260   HAVE_LIBSMACK_TRUE=
12261   HAVE_LIBSMACK_FALSE='#'
12262 else
12263   HAVE_LIBSMACK_TRUE='#'
12264   HAVE_LIBSMACK_FALSE=
12265 fi
12266
12267 if test "x$libsmack" = xyes; then
12268
12269 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12270
12271 fi
12272
12273
12274 pkg_failed=no
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12276 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12277
12278 if test -n "$LIBECRYPTFS_CFLAGS"; then
12279     pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12280  elif test -n "$PKG_CONFIG"; then
12281     if test -n "$PKG_CONFIG" && \
12282     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12283   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12284   ac_status=$?
12285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12286   test $ac_status = 0; }; then
12287   pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12288                       test "x$?" != "x0" && pkg_failed=yes
12289 else
12290   pkg_failed=yes
12291 fi
12292  else
12293     pkg_failed=untried
12294 fi
12295 if test -n "$LIBECRYPTFS_LIBS"; then
12296     pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12297  elif test -n "$PKG_CONFIG"; then
12298     if test -n "$PKG_CONFIG" && \
12299     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12300   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12301   ac_status=$?
12302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12303   test $ac_status = 0; }; then
12304   pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12305                       test "x$?" != "x0" && pkg_failed=yes
12306 else
12307   pkg_failed=yes
12308 fi
12309  else
12310     pkg_failed=untried
12311 fi
12312
12313
12314
12315 if test $pkg_failed = yes; then
12316         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317 $as_echo "no" >&6; }
12318
12319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12320         _pkg_short_errors_supported=yes
12321 else
12322         _pkg_short_errors_supported=no
12323 fi
12324         if test $_pkg_short_errors_supported = yes; then
12325                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12326         else
12327                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12328         fi
12329         # Put the nasty error message in config.log where it belongs
12330         echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12331
12332         libecryptfs=no
12333 elif test $pkg_failed = untried; then
12334         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 $as_echo "no" >&6; }
12336         libecryptfs=no
12337 else
12338         LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12339         LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12340         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12341 $as_echo "yes" >&6; }
12342         libecryptfs=yes
12343 fi
12344  if test x$libecryptfs = xyes; then
12345   HAVE_LIBECRYPTFS_TRUE=
12346   HAVE_LIBECRYPTFS_FALSE='#'
12347 else
12348   HAVE_LIBECRYPTFS_TRUE='#'
12349   HAVE_LIBECRYPTFS_FALSE=
12350 fi
12351
12352 if test "x$libecryptfs" = xes; then
12353
12354 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12355
12356 fi
12357
12358 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12359 set dummy glib-mkenums; ac_word=$2
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12361 $as_echo_n "checking for $ac_word... " >&6; }
12362 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12363   $as_echo_n "(cached) " >&6
12364 else
12365   case $GLIB_MKENUMS in
12366   [\\/]* | ?:[\\/]*)
12367   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12368   ;;
12369   *)
12370   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12371 for as_dir in $PATH
12372 do
12373   IFS=$as_save_IFS
12374   test -z "$as_dir" && as_dir=.
12375     for ac_exec_ext in '' $ac_executable_extensions; do
12376   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12377     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12379     break 2
12380   fi
12381 done
12382   done
12383 IFS=$as_save_IFS
12384
12385   ;;
12386 esac
12387 fi
12388 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12389 if test -n "$GLIB_MKENUMS"; then
12390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12391 $as_echo "$GLIB_MKENUMS" >&6; }
12392 else
12393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12395 fi
12396
12397
12398
12399 # Check whether --enable-coverage was given.
12400 if test "${enable_coverage+set}" = set; then :
12401   enableval=$enable_coverage;
12402 fi
12403
12404 if test "x$enable_coverage" = "xyes"; then :
12405   CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
12406 fi
12407
12408 # allow fake installations for "distcheck"
12409 # Check whether --enable-distcheck was given.
12410 if test "${enable_distcheck+set}" = set; then :
12411   enableval=$enable_distcheck; enable_distcheck=yes
12412 else
12413   enable_distcheck=no
12414 fi
12415
12416 echo -n "running distcheck... "
12417 echo $enable_distcheck
12418
12419 # Check whether --enable-dbus-type was given.
12420 if test "${enable_dbus_type+set}" = set; then :
12421   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12422 else
12423   enable_dbus_type=p2p
12424 fi
12425
12426 echo "----------------------"
12427 echo " DBUS TYPE : '$enable_dbus_type'"
12428 echo "----------------------"
12429 if test "x$enable_dbus_type" = "xp2p" ; then
12430
12431 $as_echo "#define USE_P2P 1" >>confdefs.h
12432
12433 elif test "x$enable_dbus_type" = "xsession" ; then
12434
12435 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12436
12437     if test "x$enable_distcheck" = "xyes" ; then
12438         DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12439     else
12440         DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12441     fi
12442
12443
12444 pkg_failed=no
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12446 $as_echo_n "checking for GTestDBus... " >&6; }
12447
12448 if test -n "$GTestDBus_CFLAGS"; then
12449     pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12450  elif test -n "$PKG_CONFIG"; then
12451     if test -n "$PKG_CONFIG" && \
12452     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12453   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12454   ac_status=$?
12455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12456   test $ac_status = 0; }; then
12457   pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12458                       test "x$?" != "x0" && pkg_failed=yes
12459 else
12460   pkg_failed=yes
12461 fi
12462  else
12463     pkg_failed=untried
12464 fi
12465 if test -n "$GTestDBus_LIBS"; then
12466     pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12467  elif test -n "$PKG_CONFIG"; then
12468     if test -n "$PKG_CONFIG" && \
12469     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12470   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12471   ac_status=$?
12472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12473   test $ac_status = 0; }; then
12474   pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12475                       test "x$?" != "x0" && pkg_failed=yes
12476 else
12477   pkg_failed=yes
12478 fi
12479  else
12480     pkg_failed=untried
12481 fi
12482
12483
12484
12485 if test $pkg_failed = yes; then
12486         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12487 $as_echo "no" >&6; }
12488
12489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12490         _pkg_short_errors_supported=yes
12491 else
12492         _pkg_short_errors_supported=no
12493 fi
12494         if test $_pkg_short_errors_supported = yes; then
12495                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12496         else
12497                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12498         fi
12499         # Put the nasty error message in config.log where it belongs
12500         echo "$GTestDBus_PKG_ERRORS" >&5
12501
12502         gtestdbus=no
12503 elif test $pkg_failed = untried; then
12504         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12506         gtestdbus=no
12507 else
12508         GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12509         GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12510         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12511 $as_echo "yes" >&6; }
12512         gtestdbus=yes
12513 fi
12514     if test "x$gtestdbus" = xyes; then
12515
12516 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12517
12518     fi
12519 elif test "x$enable_dbus_type" = "xsystem" ; then
12520
12521 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12522
12523     if test "x$enable_distcheck" = "xyes" ; then
12524         DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12525     else
12526         DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12527     fi
12528 fi
12529 if test "x$enable_dbus_type" != "xp2p" ; then
12530     if test "x$enable_distcheck" = "xyes" ; then
12531         DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12532     else
12533         DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12534     fi
12535 fi
12536
12537 # Check whether --enable-keychain was given.
12538 if test "${enable_keychain+set}" = set; then :
12539   enableval=$enable_keychain; enable_keychain=$enableval
12540 fi
12541
12542 if test "x$enable_keychain" != "x" ; then
12543
12544 cat >>confdefs.h <<_ACEOF
12545 #define KEYCHAIN_SYSCTX "$enable_keychain"
12546 _ACEOF
12547
12548     KEYCHAIN_SYSCTX="#KeychainSystemContext = $enable_keychain"
12549
12550 else
12551     KEYCHAIN_SYSCTX="#KeychainSystemContext = \"\""
12552
12553 fi
12554
12555 # Check whether --enable-storagedir was given.
12556 if test "${enable_storagedir+set}" = set; then :
12557   enableval=$enable_storagedir; enable_storagedir=$enableval
12558 else
12559   enable_storagedir="/var/db"
12560 fi
12561
12562
12563 cat >>confdefs.h <<_ACEOF
12564 #define BASE_STORAGE_DIR "$enable_storagedir"
12565 _ACEOF
12566
12567 BASE_STORAGE_DIR="#StoragePath = $enable_storagedir"
12568
12569
12570 # Check whether --enable-debug was given.
12571 if test "${enable_debug+set}" = set; then :
12572   enableval=$enable_debug; enable_debug=yes
12573 else
12574   enable_debug=no
12575 fi
12576
12577 echo -n "enable debug features... "
12578 echo $enable_debug
12579 if test "x$enable_debug" = "xyes" ; then
12580
12581 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12582
12583     # Check whether --enable-sql-log was given.
12584 if test "${enable_sql_log+set}" = set; then :
12585   enableval=$enable_sql_log; enable_sql_log=yes
12586 else
12587   enable_sql_log=no
12588 fi
12589
12590     echo -n "enable sql log feature... "
12591     echo $enable_sql_log
12592     if test "x$enable_sql_log" = "xyes" ; then
12593
12594 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12595
12596     fi
12597 fi
12598
12599 # Check whether --enable-acltriggers was given.
12600 if test "${enable_acltriggers+set}" = set; then :
12601   enableval=$enable_acltriggers; enable_acl_triggers=yes
12602 else
12603   enable_acl_triggers=no
12604 fi
12605
12606 if test "x$enable_acl_triggers" = "xyes" ; then
12607
12608 $as_echo "#define ENABLE_DB_ACL_TRIGGERS 1" >>confdefs.h
12609
12610 fi
12611
12612  if test x$gtestdbus = xyes; then
12613   USE_GTESTDBUS_TRUE=
12614   USE_GTESTDBUS_FALSE='#'
12615 else
12616   USE_GTESTDBUS_TRUE='#'
12617   USE_GTESTDBUS_FALSE=
12618 fi
12619
12620 MESSAGE_BUS_TYPE=$enable_dbus_type
12621
12622
12623  if test x$enable_debug = xyes; then
12624   HAVE_DEBUG_TRUE=
12625   HAVE_DEBUG_FALSE='#'
12626 else
12627   HAVE_DEBUG_TRUE='#'
12628   HAVE_DEBUG_FALSE=
12629 fi
12630
12631  if test x$enable_distcheck != xyes; then
12632   SET_PERMISSIONS_TRUE=
12633   SET_PERMISSIONS_FALSE='#'
12634 else
12635   SET_PERMISSIONS_TRUE='#'
12636   SET_PERMISSIONS_FALSE=
12637 fi
12638
12639
12640
12641
12642
12643 # gtk-doc
12644
12645
12646
12647   gtk_doc_requires="gtk-doc >= 1.18"
12648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12649 $as_echo_n "checking for gtk-doc... " >&6; }
12650   if test -n "$PKG_CONFIG" && \
12651     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12652   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12653   ac_status=$?
12654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12655   test $ac_status = 0; }; then
12656   have_gtk_doc=yes
12657 else
12658   have_gtk_doc=no
12659 fi
12660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12661 $as_echo "$have_gtk_doc" >&6; }
12662
12663   if test "$have_gtk_doc" = "no"; then
12664       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12665   You will not be able to create source packages with 'make dist'
12666   because $gtk_doc_requires is not found." >&5
12667 $as_echo "$as_me: WARNING:
12668   You will not be able to create source packages with 'make dist'
12669   because $gtk_doc_requires is not found." >&2;}
12670   fi
12671
12672             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12673 set dummy gtkdoc-check; ac_word=$2
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12675 $as_echo_n "checking for $ac_word... " >&6; }
12676 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12677   $as_echo_n "(cached) " >&6
12678 else
12679   if test -n "$GTKDOC_CHECK"; then
12680   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12681 else
12682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12683 for as_dir in $PATH
12684 do
12685   IFS=$as_save_IFS
12686   test -z "$as_dir" && as_dir=.
12687     for ac_exec_ext in '' $ac_executable_extensions; do
12688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12689     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12691     break 2
12692   fi
12693 done
12694   done
12695 IFS=$as_save_IFS
12696
12697 fi
12698 fi
12699 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12700 if test -n "$GTKDOC_CHECK"; then
12701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12702 $as_echo "$GTKDOC_CHECK" >&6; }
12703 else
12704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12705 $as_echo "no" >&6; }
12706 fi
12707
12708
12709   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12710 set dummy gtkdoc-check; ac_word=$2
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12712 $as_echo_n "checking for $ac_word... " >&6; }
12713 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12714   $as_echo_n "(cached) " >&6
12715 else
12716   case $GTKDOC_CHECK_PATH in
12717   [\\/]* | ?:[\\/]*)
12718   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12719   ;;
12720   *)
12721   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12722 for as_dir in $PATH
12723 do
12724   IFS=$as_save_IFS
12725   test -z "$as_dir" && as_dir=.
12726     for ac_exec_ext in '' $ac_executable_extensions; do
12727   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12728     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12730     break 2
12731   fi
12732 done
12733   done
12734 IFS=$as_save_IFS
12735
12736   ;;
12737 esac
12738 fi
12739 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12740 if test -n "$GTKDOC_CHECK_PATH"; then
12741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12742 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12743 else
12744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12745 $as_echo "no" >&6; }
12746 fi
12747
12748
12749   for ac_prog in gtkdoc-rebase
12750 do
12751   # Extract the first word of "$ac_prog", so it can be a program name with args.
12752 set dummy $ac_prog; ac_word=$2
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12754 $as_echo_n "checking for $ac_word... " >&6; }
12755 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12756   $as_echo_n "(cached) " >&6
12757 else
12758   case $GTKDOC_REBASE in
12759   [\\/]* | ?:[\\/]*)
12760   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12761   ;;
12762   *)
12763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12764 for as_dir in $PATH
12765 do
12766   IFS=$as_save_IFS
12767   test -z "$as_dir" && as_dir=.
12768     for ac_exec_ext in '' $ac_executable_extensions; do
12769   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12770     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12772     break 2
12773   fi
12774 done
12775   done
12776 IFS=$as_save_IFS
12777
12778   ;;
12779 esac
12780 fi
12781 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12782 if test -n "$GTKDOC_REBASE"; then
12783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12784 $as_echo "$GTKDOC_REBASE" >&6; }
12785 else
12786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12787 $as_echo "no" >&6; }
12788 fi
12789
12790
12791   test -n "$GTKDOC_REBASE" && break
12792 done
12793 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12794
12795   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12796 set dummy gtkdoc-mkpdf; ac_word=$2
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12798 $as_echo_n "checking for $ac_word... " >&6; }
12799 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12800   $as_echo_n "(cached) " >&6
12801 else
12802   case $GTKDOC_MKPDF in
12803   [\\/]* | ?:[\\/]*)
12804   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12805   ;;
12806   *)
12807   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12809 do
12810   IFS=$as_save_IFS
12811   test -z "$as_dir" && as_dir=.
12812     for ac_exec_ext in '' $ac_executable_extensions; do
12813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12814     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12816     break 2
12817   fi
12818 done
12819   done
12820 IFS=$as_save_IFS
12821
12822   ;;
12823 esac
12824 fi
12825 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12826 if test -n "$GTKDOC_MKPDF"; then
12827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12828 $as_echo "$GTKDOC_MKPDF" >&6; }
12829 else
12830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12831 $as_echo "no" >&6; }
12832 fi
12833
12834
12835
12836
12837 # Check whether --with-html-dir was given.
12838 if test "${with_html_dir+set}" = set; then :
12839   withval=$with_html_dir;
12840 else
12841   with_html_dir='${datadir}/gtk-doc/html'
12842 fi
12843
12844   HTML_DIR="$with_html_dir"
12845
12846
12847     # Check whether --enable-gtk-doc was given.
12848 if test "${enable_gtk_doc+set}" = set; then :
12849   enableval=$enable_gtk_doc;
12850 else
12851   enable_gtk_doc=no
12852 fi
12853
12854
12855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12856 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12858 $as_echo "$enable_gtk_doc" >&6; }
12859
12860   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12861     as_fn_error $? "
12862   You must have $gtk_doc_requires installed to build documentation for
12863   $PACKAGE_NAME. Please install gtk-doc or disable building the
12864   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12865   fi
12866
12867     if test "x$PACKAGE_NAME" != "xglib"; then
12868
12869 pkg_failed=no
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12871 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12872
12873 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12874     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12875  elif test -n "$PKG_CONFIG"; then
12876     if test -n "$PKG_CONFIG" && \
12877     { { $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
12878   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12879   ac_status=$?
12880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12881   test $ac_status = 0; }; then
12882   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12883                       test "x$?" != "x0" && pkg_failed=yes
12884 else
12885   pkg_failed=yes
12886 fi
12887  else
12888     pkg_failed=untried
12889 fi
12890 if test -n "$GTKDOC_DEPS_LIBS"; then
12891     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12892  elif test -n "$PKG_CONFIG"; then
12893     if test -n "$PKG_CONFIG" && \
12894     { { $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
12895   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12896   ac_status=$?
12897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12898   test $ac_status = 0; }; then
12899   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12900                       test "x$?" != "x0" && pkg_failed=yes
12901 else
12902   pkg_failed=yes
12903 fi
12904  else
12905     pkg_failed=untried
12906 fi
12907
12908
12909
12910 if test $pkg_failed = yes; then
12911         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12912 $as_echo "no" >&6; }
12913
12914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12915         _pkg_short_errors_supported=yes
12916 else
12917         _pkg_short_errors_supported=no
12918 fi
12919         if test $_pkg_short_errors_supported = yes; then
12920                 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`
12921         else
12922                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12923         fi
12924         # Put the nasty error message in config.log where it belongs
12925         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12926
12927         :
12928 elif test $pkg_failed = untried; then
12929         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12930 $as_echo "no" >&6; }
12931         :
12932 else
12933         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12934         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12935         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12936 $as_echo "yes" >&6; }
12937
12938 fi
12939   fi
12940
12941     # Check whether --enable-gtk-doc-html was given.
12942 if test "${enable_gtk_doc_html+set}" = set; then :
12943   enableval=$enable_gtk_doc_html;
12944 else
12945   enable_gtk_doc_html=yes
12946 fi
12947
12948     # Check whether --enable-gtk-doc-pdf was given.
12949 if test "${enable_gtk_doc_pdf+set}" = set; then :
12950   enableval=$enable_gtk_doc_pdf;
12951 else
12952   enable_gtk_doc_pdf=no
12953 fi
12954
12955
12956   if test -z "$GTKDOC_MKPDF"; then
12957     enable_gtk_doc_pdf=no
12958   fi
12959
12960   if test -z "$AM_DEFAULT_VERBOSITY"; then
12961     AM_DEFAULT_VERBOSITY=1
12962   fi
12963
12964
12965    if test x$have_gtk_doc = xyes; then
12966   HAVE_GTK_DOC_TRUE=
12967   HAVE_GTK_DOC_FALSE='#'
12968 else
12969   HAVE_GTK_DOC_TRUE='#'
12970   HAVE_GTK_DOC_FALSE=
12971 fi
12972
12973    if test x$enable_gtk_doc = xyes; then
12974   ENABLE_GTK_DOC_TRUE=
12975   ENABLE_GTK_DOC_FALSE='#'
12976 else
12977   ENABLE_GTK_DOC_TRUE='#'
12978   ENABLE_GTK_DOC_FALSE=
12979 fi
12980
12981    if test x$enable_gtk_doc_html = xyes; then
12982   GTK_DOC_BUILD_HTML_TRUE=
12983   GTK_DOC_BUILD_HTML_FALSE='#'
12984 else
12985   GTK_DOC_BUILD_HTML_TRUE='#'
12986   GTK_DOC_BUILD_HTML_FALSE=
12987 fi
12988
12989    if test x$enable_gtk_doc_pdf = xyes; then
12990   GTK_DOC_BUILD_PDF_TRUE=
12991   GTK_DOC_BUILD_PDF_FALSE='#'
12992 else
12993   GTK_DOC_BUILD_PDF_TRUE='#'
12994   GTK_DOC_BUILD_PDF_FALSE=
12995 fi
12996
12997    if test -n "$LIBTOOL"; then
12998   GTK_DOC_USE_LIBTOOL_TRUE=
12999   GTK_DOC_USE_LIBTOOL_FALSE='#'
13000 else
13001   GTK_DOC_USE_LIBTOOL_TRUE='#'
13002   GTK_DOC_USE_LIBTOOL_FALSE=
13003 fi
13004
13005    if test -n "$GTKDOC_REBASE"; then
13006   GTK_DOC_USE_REBASE_TRUE=
13007   GTK_DOC_USE_REBASE_FALSE='#'
13008 else
13009   GTK_DOC_USE_REBASE_TRUE='#'
13010   GTK_DOC_USE_REBASE_FALSE=
13011 fi
13012
13013
13014
13015 # Checks for header files.
13016 for ac_header in string.h
13017 do :
13018   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
13019 if test "x$ac_cv_header_string_h" = xyes; then :
13020   cat >>confdefs.h <<_ACEOF
13021 #define HAVE_STRING_H 1
13022 _ACEOF
13023
13024 fi
13025
13026 done
13027
13028
13029 # Enable feature sets
13030 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
13031
13032 # Checks for typedefs, structures, and compiler characteristics.
13033 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -DG_LOG_DOMAIN=\\\"gsignond\\\""
13034 if test "x$enable_debug" = "xno" ; then
13035     GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Werror"
13036 fi
13037
13038 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
13039
13040 # Checks for library functions.
13041
13042 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"
13043
13044 cat >confcache <<\_ACEOF
13045 # This file is a shell script that caches the results of configure
13046 # tests run on this system so they can be shared between configure
13047 # scripts and configure runs, see configure's option --config-cache.
13048 # It is not useful on other systems.  If it contains results you don't
13049 # want to keep, you may remove or edit it.
13050 #
13051 # config.status only pays attention to the cache file if you give it
13052 # the --recheck option to rerun configure.
13053 #
13054 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13055 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13056 # following values.
13057
13058 _ACEOF
13059
13060 # The following way of writing the cache mishandles newlines in values,
13061 # but we know of no workaround that is simple, portable, and efficient.
13062 # So, we kill variables containing newlines.
13063 # Ultrix sh set writes to stderr and can't be redirected directly,
13064 # and sets the high bit in the cache file unless we assign to the vars.
13065 (
13066   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13067     eval ac_val=\$$ac_var
13068     case $ac_val in #(
13069     *${as_nl}*)
13070       case $ac_var in #(
13071       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13072 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13073       esac
13074       case $ac_var in #(
13075       _ | IFS | as_nl) ;; #(
13076       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13077       *) { eval $ac_var=; unset $ac_var;} ;;
13078       esac ;;
13079     esac
13080   done
13081
13082   (set) 2>&1 |
13083     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13084     *${as_nl}ac_space=\ *)
13085       # `set' does not quote correctly, so add quotes: double-quote
13086       # substitution turns \\\\ into \\, and sed turns \\ into \.
13087       sed -n \
13088         "s/'/'\\\\''/g;
13089           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13090       ;; #(
13091     *)
13092       # `set' quotes correctly as required by POSIX, so do not add quotes.
13093       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13094       ;;
13095     esac |
13096     sort
13097 ) |
13098   sed '
13099      /^ac_cv_env_/b end
13100      t clear
13101      :clear
13102      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13103      t end
13104      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13105      :end' >>confcache
13106 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13107   if test -w "$cache_file"; then
13108     if test "x$cache_file" != "x/dev/null"; then
13109       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13110 $as_echo "$as_me: updating cache $cache_file" >&6;}
13111       if test ! -f "$cache_file" || test -h "$cache_file"; then
13112         cat confcache >"$cache_file"
13113       else
13114         case $cache_file in #(
13115         */* | ?:*)
13116           mv -f confcache "$cache_file"$$ &&
13117           mv -f "$cache_file"$$ "$cache_file" ;; #(
13118         *)
13119           mv -f confcache "$cache_file" ;;
13120         esac
13121       fi
13122     fi
13123   else
13124     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13125 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13126   fi
13127 fi
13128 rm -f confcache
13129
13130 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13131 # Let make expand exec_prefix.
13132 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13133
13134 DEFS=-DHAVE_CONFIG_H
13135
13136 ac_libobjs=
13137 ac_ltlibobjs=
13138 U=
13139 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13140   # 1. Remove the extension, and $U if already installed.
13141   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13142   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13143   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13144   #    will be set to the directory where LIBOBJS objects are built.
13145   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13146   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13147 done
13148 LIBOBJS=$ac_libobjs
13149
13150 LTLIBOBJS=$ac_ltlibobjs
13151
13152
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13154 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13155    if test -n "$am_sleep_pid"; then
13156      # Hide warnings about reused PIDs.
13157      wait $am_sleep_pid 2>/dev/null
13158    fi
13159    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13160 $as_echo "done" >&6; }
13161  if test -n "$EXEEXT"; then
13162   am__EXEEXT_TRUE=
13163   am__EXEEXT_FALSE='#'
13164 else
13165   am__EXEEXT_TRUE='#'
13166   am__EXEEXT_FALSE=
13167 fi
13168
13169 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13170   as_fn_error $? "conditional \"AMDEP\" was never defined.
13171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13172 fi
13173 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13174   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13176 fi
13177 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
13178   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
13179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13180 fi
13181 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
13182   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
13183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13184 fi
13185 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
13186   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
13187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13188 fi
13189 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13190   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13192 fi
13193 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13194   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13196 fi
13197 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13198   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13200 fi
13201 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13202   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13204 fi
13205 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13206   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13208 fi
13209 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13210   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13212 fi
13213 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13214   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13216 fi
13217 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13218   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13220 fi
13221
13222 : "${CONFIG_STATUS=./config.status}"
13223 ac_write_fail=0
13224 ac_clean_files_save=$ac_clean_files
13225 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13227 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13228 as_write_fail=0
13229 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13230 #! $SHELL
13231 # Generated by $as_me.
13232 # Run this file to recreate the current configuration.
13233 # Compiler output produced by configure, useful for debugging
13234 # configure, is in config.log if it exists.
13235
13236 debug=false
13237 ac_cs_recheck=false
13238 ac_cs_silent=false
13239
13240 SHELL=\${CONFIG_SHELL-$SHELL}
13241 export SHELL
13242 _ASEOF
13243 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13244 ## -------------------- ##
13245 ## M4sh Initialization. ##
13246 ## -------------------- ##
13247
13248 # Be more Bourne compatible
13249 DUALCASE=1; export DUALCASE # for MKS sh
13250 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13251   emulate sh
13252   NULLCMD=:
13253   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13254   # is contrary to our usage.  Disable this feature.
13255   alias -g '${1+"$@"}'='"$@"'
13256   setopt NO_GLOB_SUBST
13257 else
13258   case `(set -o) 2>/dev/null` in #(
13259   *posix*) :
13260     set -o posix ;; #(
13261   *) :
13262      ;;
13263 esac
13264 fi
13265
13266
13267 as_nl='
13268 '
13269 export as_nl
13270 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13271 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13274 # Prefer a ksh shell builtin over an external printf program on Solaris,
13275 # but without wasting forks for bash or zsh.
13276 if test -z "$BASH_VERSION$ZSH_VERSION" \
13277     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13278   as_echo='print -r --'
13279   as_echo_n='print -rn --'
13280 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13281   as_echo='printf %s\n'
13282   as_echo_n='printf %s'
13283 else
13284   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13285     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13286     as_echo_n='/usr/ucb/echo -n'
13287   else
13288     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13289     as_echo_n_body='eval
13290       arg=$1;
13291       case $arg in #(
13292       *"$as_nl"*)
13293         expr "X$arg" : "X\\(.*\\)$as_nl";
13294         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13295       esac;
13296       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13297     '
13298     export as_echo_n_body
13299     as_echo_n='sh -c $as_echo_n_body as_echo'
13300   fi
13301   export as_echo_body
13302   as_echo='sh -c $as_echo_body as_echo'
13303 fi
13304
13305 # The user is always right.
13306 if test "${PATH_SEPARATOR+set}" != set; then
13307   PATH_SEPARATOR=:
13308   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13309     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13310       PATH_SEPARATOR=';'
13311   }
13312 fi
13313
13314
13315 # IFS
13316 # We need space, tab and new line, in precisely that order.  Quoting is
13317 # there to prevent editors from complaining about space-tab.
13318 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13319 # splitting by setting IFS to empty value.)
13320 IFS=" ""        $as_nl"
13321
13322 # Find who we are.  Look in the path if we contain no directory separator.
13323 as_myself=
13324 case $0 in #((
13325   *[\\/]* ) as_myself=$0 ;;
13326   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13327 for as_dir in $PATH
13328 do
13329   IFS=$as_save_IFS
13330   test -z "$as_dir" && as_dir=.
13331     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13332   done
13333 IFS=$as_save_IFS
13334
13335      ;;
13336 esac
13337 # We did not find ourselves, most probably we were run as `sh COMMAND'
13338 # in which case we are not to be found in the path.
13339 if test "x$as_myself" = x; then
13340   as_myself=$0
13341 fi
13342 if test ! -f "$as_myself"; then
13343   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13344   exit 1
13345 fi
13346
13347 # Unset variables that we do not need and which cause bugs (e.g. in
13348 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13349 # suppresses any "Segmentation fault" message there.  '((' could
13350 # trigger a bug in pdksh 5.2.14.
13351 for as_var in BASH_ENV ENV MAIL MAILPATH
13352 do eval test x\${$as_var+set} = xset \
13353   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13354 done
13355 PS1='$ '
13356 PS2='> '
13357 PS4='+ '
13358
13359 # NLS nuisances.
13360 LC_ALL=C
13361 export LC_ALL
13362 LANGUAGE=C
13363 export LANGUAGE
13364
13365 # CDPATH.
13366 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13367
13368
13369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13370 # ----------------------------------------
13371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13373 # script with STATUS, using 1 if that was 0.
13374 as_fn_error ()
13375 {
13376   as_status=$1; test $as_status -eq 0 && as_status=1
13377   if test "$4"; then
13378     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13379     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13380   fi
13381   $as_echo "$as_me: error: $2" >&2
13382   as_fn_exit $as_status
13383 } # as_fn_error
13384
13385
13386 # as_fn_set_status STATUS
13387 # -----------------------
13388 # Set $? to STATUS, without forking.
13389 as_fn_set_status ()
13390 {
13391   return $1
13392 } # as_fn_set_status
13393
13394 # as_fn_exit STATUS
13395 # -----------------
13396 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13397 as_fn_exit ()
13398 {
13399   set +e
13400   as_fn_set_status $1
13401   exit $1
13402 } # as_fn_exit
13403
13404 # as_fn_unset VAR
13405 # ---------------
13406 # Portably unset VAR.
13407 as_fn_unset ()
13408 {
13409   { eval $1=; unset $1;}
13410 }
13411 as_unset=as_fn_unset
13412 # as_fn_append VAR VALUE
13413 # ----------------------
13414 # Append the text in VALUE to the end of the definition contained in VAR. Take
13415 # advantage of any shell optimizations that allow amortized linear growth over
13416 # repeated appends, instead of the typical quadratic growth present in naive
13417 # implementations.
13418 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13419   eval 'as_fn_append ()
13420   {
13421     eval $1+=\$2
13422   }'
13423 else
13424   as_fn_append ()
13425   {
13426     eval $1=\$$1\$2
13427   }
13428 fi # as_fn_append
13429
13430 # as_fn_arith ARG...
13431 # ------------------
13432 # Perform arithmetic evaluation on the ARGs, and store the result in the
13433 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13434 # must be portable across $(()) and expr.
13435 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13436   eval 'as_fn_arith ()
13437   {
13438     as_val=$(( $* ))
13439   }'
13440 else
13441   as_fn_arith ()
13442   {
13443     as_val=`expr "$@" || test $? -eq 1`
13444   }
13445 fi # as_fn_arith
13446
13447
13448 if expr a : '\(a\)' >/dev/null 2>&1 &&
13449    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13450   as_expr=expr
13451 else
13452   as_expr=false
13453 fi
13454
13455 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13456   as_basename=basename
13457 else
13458   as_basename=false
13459 fi
13460
13461 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13462   as_dirname=dirname
13463 else
13464   as_dirname=false
13465 fi
13466
13467 as_me=`$as_basename -- "$0" ||
13468 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13469          X"$0" : 'X\(//\)$' \| \
13470          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13471 $as_echo X/"$0" |
13472     sed '/^.*\/\([^/][^/]*\)\/*$/{
13473             s//\1/
13474             q
13475           }
13476           /^X\/\(\/\/\)$/{
13477             s//\1/
13478             q
13479           }
13480           /^X\/\(\/\).*/{
13481             s//\1/
13482             q
13483           }
13484           s/.*/./; q'`
13485
13486 # Avoid depending upon Character Ranges.
13487 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13488 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13489 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13490 as_cr_digits='0123456789'
13491 as_cr_alnum=$as_cr_Letters$as_cr_digits
13492
13493 ECHO_C= ECHO_N= ECHO_T=
13494 case `echo -n x` in #(((((
13495 -n*)
13496   case `echo 'xy\c'` in
13497   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13498   xy)  ECHO_C='\c';;
13499   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13500        ECHO_T=' ';;
13501   esac;;
13502 *)
13503   ECHO_N='-n';;
13504 esac
13505
13506 rm -f conf$$ conf$$.exe conf$$.file
13507 if test -d conf$$.dir; then
13508   rm -f conf$$.dir/conf$$.file
13509 else
13510   rm -f conf$$.dir
13511   mkdir conf$$.dir 2>/dev/null
13512 fi
13513 if (echo >conf$$.file) 2>/dev/null; then
13514   if ln -s conf$$.file conf$$ 2>/dev/null; then
13515     as_ln_s='ln -s'
13516     # ... but there are two gotchas:
13517     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13518     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13519     # In both cases, we have to default to `cp -pR'.
13520     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13521       as_ln_s='cp -pR'
13522   elif ln conf$$.file conf$$ 2>/dev/null; then
13523     as_ln_s=ln
13524   else
13525     as_ln_s='cp -pR'
13526   fi
13527 else
13528   as_ln_s='cp -pR'
13529 fi
13530 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13531 rmdir conf$$.dir 2>/dev/null
13532
13533
13534 # as_fn_mkdir_p
13535 # -------------
13536 # Create "$as_dir" as a directory, including parents if necessary.
13537 as_fn_mkdir_p ()
13538 {
13539
13540   case $as_dir in #(
13541   -*) as_dir=./$as_dir;;
13542   esac
13543   test -d "$as_dir" || eval $as_mkdir_p || {
13544     as_dirs=
13545     while :; do
13546       case $as_dir in #(
13547       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13548       *) as_qdir=$as_dir;;
13549       esac
13550       as_dirs="'$as_qdir' $as_dirs"
13551       as_dir=`$as_dirname -- "$as_dir" ||
13552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13553          X"$as_dir" : 'X\(//\)[^/]' \| \
13554          X"$as_dir" : 'X\(//\)$' \| \
13555          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13556 $as_echo X"$as_dir" |
13557     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13558             s//\1/
13559             q
13560           }
13561           /^X\(\/\/\)[^/].*/{
13562             s//\1/
13563             q
13564           }
13565           /^X\(\/\/\)$/{
13566             s//\1/
13567             q
13568           }
13569           /^X\(\/\).*/{
13570             s//\1/
13571             q
13572           }
13573           s/.*/./; q'`
13574       test -d "$as_dir" && break
13575     done
13576     test -z "$as_dirs" || eval "mkdir $as_dirs"
13577   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13578
13579
13580 } # as_fn_mkdir_p
13581 if mkdir -p . 2>/dev/null; then
13582   as_mkdir_p='mkdir -p "$as_dir"'
13583 else
13584   test -d ./-p && rmdir ./-p
13585   as_mkdir_p=false
13586 fi
13587
13588
13589 # as_fn_executable_p FILE
13590 # -----------------------
13591 # Test if FILE is an executable regular file.
13592 as_fn_executable_p ()
13593 {
13594   test -f "$1" && test -x "$1"
13595 } # as_fn_executable_p
13596 as_test_x='test -x'
13597 as_executable_p=as_fn_executable_p
13598
13599 # Sed expression to map a string onto a valid CPP name.
13600 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13601
13602 # Sed expression to map a string onto a valid variable name.
13603 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13604
13605
13606 exec 6>&1
13607 ## ----------------------------------- ##
13608 ## Main body of $CONFIG_STATUS script. ##
13609 ## ----------------------------------- ##
13610 _ASEOF
13611 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13612
13613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13614 # Save the log message, to keep $0 and so on meaningful, and to
13615 # report actual input values of CONFIG_FILES etc. instead of their
13616 # values after options handling.
13617 ac_log="
13618 This file was extended by gsignond $as_me 1.0.1, which was
13619 generated by GNU Autoconf 2.69.  Invocation command line was
13620
13621   CONFIG_FILES    = $CONFIG_FILES
13622   CONFIG_HEADERS  = $CONFIG_HEADERS
13623   CONFIG_LINKS    = $CONFIG_LINKS
13624   CONFIG_COMMANDS = $CONFIG_COMMANDS
13625   $ $0 $@
13626
13627 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13628 "
13629
13630 _ACEOF
13631
13632 case $ac_config_files in *"
13633 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13634 esac
13635
13636 case $ac_config_headers in *"
13637 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13638 esac
13639
13640
13641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13642 # Files that config.status was made for.
13643 config_files="$ac_config_files"
13644 config_headers="$ac_config_headers"
13645 config_commands="$ac_config_commands"
13646
13647 _ACEOF
13648
13649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13650 ac_cs_usage="\
13651 \`$as_me' instantiates files and other configuration actions
13652 from templates according to the current configuration.  Unless the files
13653 and actions are specified as TAGs, all are instantiated by default.
13654
13655 Usage: $0 [OPTION]... [TAG]...
13656
13657   -h, --help       print this help, then exit
13658   -V, --version    print version number and configuration settings, then exit
13659       --config     print configuration, then exit
13660   -q, --quiet, --silent
13661                    do not print progress messages
13662   -d, --debug      don't remove temporary files
13663       --recheck    update $as_me by reconfiguring in the same conditions
13664       --file=FILE[:TEMPLATE]
13665                    instantiate the configuration file FILE
13666       --header=FILE[:TEMPLATE]
13667                    instantiate the configuration header FILE
13668
13669 Configuration files:
13670 $config_files
13671
13672 Configuration headers:
13673 $config_headers
13674
13675 Configuration commands:
13676 $config_commands
13677
13678 Report bugs to the package provider.
13679 gsignond home page: <http://01.org/gsso>."
13680
13681 _ACEOF
13682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13683 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13684 ac_cs_version="\\
13685 gsignond config.status 1.0.1
13686 configured by $0, generated by GNU Autoconf 2.69,
13687   with options \\"\$ac_cs_config\\"
13688
13689 Copyright (C) 2012 Free Software Foundation, Inc.
13690 This config.status script is free software; the Free Software Foundation
13691 gives unlimited permission to copy, distribute and modify it."
13692
13693 ac_pwd='$ac_pwd'
13694 srcdir='$srcdir'
13695 INSTALL='$INSTALL'
13696 MKDIR_P='$MKDIR_P'
13697 AWK='$AWK'
13698 test -n "\$AWK" || AWK=awk
13699 _ACEOF
13700
13701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13702 # The default lists apply if the user does not specify any file.
13703 ac_need_defaults=:
13704 while test $# != 0
13705 do
13706   case $1 in
13707   --*=?*)
13708     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13709     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13710     ac_shift=:
13711     ;;
13712   --*=)
13713     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13714     ac_optarg=
13715     ac_shift=:
13716     ;;
13717   *)
13718     ac_option=$1
13719     ac_optarg=$2
13720     ac_shift=shift
13721     ;;
13722   esac
13723
13724   case $ac_option in
13725   # Handling of the options.
13726   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13727     ac_cs_recheck=: ;;
13728   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13729     $as_echo "$ac_cs_version"; exit ;;
13730   --config | --confi | --conf | --con | --co | --c )
13731     $as_echo "$ac_cs_config"; exit ;;
13732   --debug | --debu | --deb | --de | --d | -d )
13733     debug=: ;;
13734   --file | --fil | --fi | --f )
13735     $ac_shift
13736     case $ac_optarg in
13737     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13738     '') as_fn_error $? "missing file argument" ;;
13739     esac
13740     as_fn_append CONFIG_FILES " '$ac_optarg'"
13741     ac_need_defaults=false;;
13742   --header | --heade | --head | --hea )
13743     $ac_shift
13744     case $ac_optarg in
13745     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13746     esac
13747     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13748     ac_need_defaults=false;;
13749   --he | --h)
13750     # Conflict between --help and --header
13751     as_fn_error $? "ambiguous option: \`$1'
13752 Try \`$0 --help' for more information.";;
13753   --help | --hel | -h )
13754     $as_echo "$ac_cs_usage"; exit ;;
13755   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13756   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13757     ac_cs_silent=: ;;
13758
13759   # This is an error.
13760   -*) as_fn_error $? "unrecognized option: \`$1'
13761 Try \`$0 --help' for more information." ;;
13762
13763   *) as_fn_append ac_config_targets " $1"
13764      ac_need_defaults=false ;;
13765
13766   esac
13767   shift
13768 done
13769
13770 ac_configure_extra_args=
13771
13772 if $ac_cs_silent; then
13773   exec 6>/dev/null
13774   ac_configure_extra_args="$ac_configure_extra_args --silent"
13775 fi
13776
13777 _ACEOF
13778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13779 if \$ac_cs_recheck; then
13780   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13781   shift
13782   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13783   CONFIG_SHELL='$SHELL'
13784   export CONFIG_SHELL
13785   exec "\$@"
13786 fi
13787
13788 _ACEOF
13789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13790 exec 5>>config.log
13791 {
13792   echo
13793   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13794 ## Running $as_me. ##
13795 _ASBOX
13796   $as_echo "$ac_log"
13797 } >&5
13798
13799 _ACEOF
13800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13801 #
13802 # INIT-COMMANDS
13803 #
13804 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13805
13806
13807 # The HP-UX ksh and POSIX shell print the target directory to stdout
13808 # if CDPATH is set.
13809 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13810
13811 sed_quote_subst='$sed_quote_subst'
13812 double_quote_subst='$double_quote_subst'
13813 delay_variable_subst='$delay_variable_subst'
13814 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13815 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13816 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13817 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13818 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13819 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13820 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13821 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13822 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13823 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13824 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13825 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13826 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13827 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13828 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13829 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13830 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13831 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13832 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13833 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13834 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13835 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13836 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13837 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13838 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13839 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13840 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13841 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13842 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13843 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13844 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13845 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13846 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13847 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13848 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13849 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13850 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13851 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13852 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13853 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13854 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13855 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13856 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13857 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13858 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13859 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13860 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13861 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13862 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13863 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13864 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13865 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13866 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13867 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13868 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13869 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13870 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"`'
13871 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13872 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13873 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13874 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13875 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13876 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13877 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13878 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13879 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13880 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13881 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13882 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13883 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13884 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13885 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13886 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13887 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13888 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13889 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13890 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13891 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13892 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13893 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13894 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13895 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13896 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13897 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13898 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13899 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13900 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13901 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13902 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13903 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13904 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13905 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13906 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13907 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13908 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13909 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13910 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13911 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13912 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13913 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13914 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13915 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13916 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13917 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13918 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13919 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13920 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13921 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13922 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13923 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13924 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13925 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13926 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13927 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13928 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13929 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13930 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13931 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13932 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13933 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13934 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13935 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13936 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13937 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13938 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13939 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13940 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13941 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13942 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13943 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13944
13945 LTCC='$LTCC'
13946 LTCFLAGS='$LTCFLAGS'
13947 compiler='$compiler_DEFAULT'
13948
13949 # A function that is used when there is no print builtin or printf.
13950 func_fallback_echo ()
13951 {
13952   eval 'cat <<_LTECHO_EOF
13953 \$1
13954 _LTECHO_EOF'
13955 }
13956
13957 # Quote evaled strings.
13958 for var in SHELL \
13959 ECHO \
13960 PATH_SEPARATOR \
13961 SED \
13962 GREP \
13963 EGREP \
13964 FGREP \
13965 LD \
13966 NM \
13967 LN_S \
13968 lt_SP2NL \
13969 lt_NL2SP \
13970 reload_flag \
13971 OBJDUMP \
13972 deplibs_check_method \
13973 file_magic_cmd \
13974 file_magic_glob \
13975 want_nocaseglob \
13976 DLLTOOL \
13977 sharedlib_from_linklib_cmd \
13978 AR \
13979 AR_FLAGS \
13980 archiver_list_spec \
13981 STRIP \
13982 RANLIB \
13983 CC \
13984 CFLAGS \
13985 compiler \
13986 lt_cv_sys_global_symbol_pipe \
13987 lt_cv_sys_global_symbol_to_cdecl \
13988 lt_cv_sys_global_symbol_to_c_name_address \
13989 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13990 nm_file_list_spec \
13991 lt_prog_compiler_no_builtin_flag \
13992 lt_prog_compiler_pic \
13993 lt_prog_compiler_wl \
13994 lt_prog_compiler_static \
13995 lt_cv_prog_compiler_c_o \
13996 need_locks \
13997 MANIFEST_TOOL \
13998 DSYMUTIL \
13999 NMEDIT \
14000 LIPO \
14001 OTOOL \
14002 OTOOL64 \
14003 shrext_cmds \
14004 export_dynamic_flag_spec \
14005 whole_archive_flag_spec \
14006 compiler_needs_object \
14007 with_gnu_ld \
14008 allow_undefined_flag \
14009 no_undefined_flag \
14010 hardcode_libdir_flag_spec \
14011 hardcode_libdir_separator \
14012 exclude_expsyms \
14013 include_expsyms \
14014 file_list_spec \
14015 variables_saved_for_relink \
14016 libname_spec \
14017 library_names_spec \
14018 soname_spec \
14019 install_override_mode \
14020 finish_eval \
14021 old_striplib \
14022 striplib; do
14023     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14024     *[\\\\\\\`\\"\\\$]*)
14025       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14026       ;;
14027     *)
14028       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14029       ;;
14030     esac
14031 done
14032
14033 # Double-quote double-evaled strings.
14034 for var in reload_cmds \
14035 old_postinstall_cmds \
14036 old_postuninstall_cmds \
14037 old_archive_cmds \
14038 extract_expsyms_cmds \
14039 old_archive_from_new_cmds \
14040 old_archive_from_expsyms_cmds \
14041 archive_cmds \
14042 archive_expsym_cmds \
14043 module_cmds \
14044 module_expsym_cmds \
14045 export_symbols_cmds \
14046 prelink_cmds \
14047 postlink_cmds \
14048 postinstall_cmds \
14049 postuninstall_cmds \
14050 finish_cmds \
14051 sys_lib_search_path_spec \
14052 sys_lib_dlsearch_path_spec; do
14053     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14054     *[\\\\\\\`\\"\\\$]*)
14055       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14056       ;;
14057     *)
14058       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14059       ;;
14060     esac
14061 done
14062
14063 ac_aux_dir='$ac_aux_dir'
14064 xsi_shell='$xsi_shell'
14065 lt_shell_append='$lt_shell_append'
14066
14067 # See if we are running on zsh, and set the options which allow our
14068 # commands through without removal of \ escapes INIT.
14069 if test -n "\${ZSH_VERSION+set}" ; then
14070    setopt NO_GLOB_SUBST
14071 fi
14072
14073
14074     PACKAGE='$PACKAGE'
14075     VERSION='$VERSION'
14076     TIMESTAMP='$TIMESTAMP'
14077     RM='$RM'
14078     ofile='$ofile'
14079
14080
14081
14082
14083 _ACEOF
14084
14085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14086
14087 # Handling of arguments.
14088 for ac_config_target in $ac_config_targets
14089 do
14090   case $ac_config_target in
14091     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14092     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14093     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14094     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14095     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
14096     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
14097     "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
14098     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14099     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14100     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14101     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
14102     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14103     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
14104     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14105     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
14106     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
14107     "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
14108     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
14109     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
14110     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
14111     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14112     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
14113     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
14114     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
14115     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14116     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
14117     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
14118     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
14119     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
14120     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
14121
14122   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14123   esac
14124 done
14125
14126
14127 # If the user did not use the arguments to specify the items to instantiate,
14128 # then the envvar interface is used.  Set only those that are not.
14129 # We use the long form for the default assignment because of an extremely
14130 # bizarre bug on SunOS 4.1.3.
14131 if $ac_need_defaults; then
14132   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14133   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14134   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14135 fi
14136
14137 # Have a temporary directory for convenience.  Make it in the build tree
14138 # simply because there is no reason against having it here, and in addition,
14139 # creating and moving files from /tmp can sometimes cause problems.
14140 # Hook for its removal unless debugging.
14141 # Note that there is a small window in which the directory will not be cleaned:
14142 # after its creation but before its name has been assigned to `$tmp'.
14143 $debug ||
14144 {
14145   tmp= ac_tmp=
14146   trap 'exit_status=$?
14147   : "${ac_tmp:=$tmp}"
14148   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14149 ' 0
14150   trap 'as_fn_exit 1' 1 2 13 15
14151 }
14152 # Create a (secure) tmp directory for tmp files.
14153
14154 {
14155   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14156   test -d "$tmp"
14157 }  ||
14158 {
14159   tmp=./conf$$-$RANDOM
14160   (umask 077 && mkdir "$tmp")
14161 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14162 ac_tmp=$tmp
14163
14164 # Set up the scripts for CONFIG_FILES section.
14165 # No need to generate them if there are no CONFIG_FILES.
14166 # This happens for instance with `./config.status config.h'.
14167 if test -n "$CONFIG_FILES"; then
14168
14169
14170 ac_cr=`echo X | tr X '\015'`
14171 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14172 # But we know of no other shell where ac_cr would be empty at this
14173 # point, so we can use a bashism as a fallback.
14174 if test "x$ac_cr" = x; then
14175   eval ac_cr=\$\'\\r\'
14176 fi
14177 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14178 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14179   ac_cs_awk_cr='\\r'
14180 else
14181   ac_cs_awk_cr=$ac_cr
14182 fi
14183
14184 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14185 _ACEOF
14186
14187
14188 {
14189   echo "cat >conf$$subs.awk <<_ACEOF" &&
14190   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14191   echo "_ACEOF"
14192 } >conf$$subs.sh ||
14193   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14194 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14195 ac_delim='%!_!# '
14196 for ac_last_try in false false false false false :; do
14197   . ./conf$$subs.sh ||
14198     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14199
14200   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14201   if test $ac_delim_n = $ac_delim_num; then
14202     break
14203   elif $ac_last_try; then
14204     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14205   else
14206     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14207   fi
14208 done
14209 rm -f conf$$subs.sh
14210
14211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14212 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14213 _ACEOF
14214 sed -n '
14215 h
14216 s/^/S["/; s/!.*/"]=/
14217 p
14218 g
14219 s/^[^!]*!//
14220 :repl
14221 t repl
14222 s/'"$ac_delim"'$//
14223 t delim
14224 :nl
14225 h
14226 s/\(.\{148\}\)..*/\1/
14227 t more1
14228 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14229 p
14230 n
14231 b repl
14232 :more1
14233 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14234 p
14235 g
14236 s/.\{148\}//
14237 t nl
14238 :delim
14239 h
14240 s/\(.\{148\}\)..*/\1/
14241 t more2
14242 s/["\\]/\\&/g; s/^/"/; s/$/"/
14243 p
14244 b
14245 :more2
14246 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14247 p
14248 g
14249 s/.\{148\}//
14250 t delim
14251 ' <conf$$subs.awk | sed '
14252 /^[^""]/{
14253   N
14254   s/\n//
14255 }
14256 ' >>$CONFIG_STATUS || ac_write_fail=1
14257 rm -f conf$$subs.awk
14258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14259 _ACAWK
14260 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14261   for (key in S) S_is_set[key] = 1
14262   FS = "\a"
14263
14264 }
14265 {
14266   line = $ 0
14267   nfields = split(line, field, "@")
14268   substed = 0
14269   len = length(field[1])
14270   for (i = 2; i < nfields; i++) {
14271     key = field[i]
14272     keylen = length(key)
14273     if (S_is_set[key]) {
14274       value = S[key]
14275       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14276       len += length(value) + length(field[++i])
14277       substed = 1
14278     } else
14279       len += 1 + keylen
14280   }
14281
14282   print line
14283 }
14284
14285 _ACAWK
14286 _ACEOF
14287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14288 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14289   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14290 else
14291   cat
14292 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14293   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14294 _ACEOF
14295
14296 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14297 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14298 # trailing colons and then remove the whole line if VPATH becomes empty
14299 # (actually we leave an empty line to preserve line numbers).
14300 if test "x$srcdir" = x.; then
14301   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14302 h
14303 s///
14304 s/^/:/
14305 s/[      ]*$/:/
14306 s/:\$(srcdir):/:/g
14307 s/:\${srcdir}:/:/g
14308 s/:@srcdir@:/:/g
14309 s/^:*//
14310 s/:*$//
14311 x
14312 s/\(=[   ]*\).*/\1/
14313 G
14314 s/\n//
14315 s/^[^=]*=[       ]*$//
14316 }'
14317 fi
14318
14319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14320 fi # test -n "$CONFIG_FILES"
14321
14322 # Set up the scripts for CONFIG_HEADERS section.
14323 # No need to generate them if there are no CONFIG_HEADERS.
14324 # This happens for instance with `./config.status Makefile'.
14325 if test -n "$CONFIG_HEADERS"; then
14326 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14327 BEGIN {
14328 _ACEOF
14329
14330 # Transform confdefs.h into an awk script `defines.awk', embedded as
14331 # here-document in config.status, that substitutes the proper values into
14332 # config.h.in to produce config.h.
14333
14334 # Create a delimiter string that does not exist in confdefs.h, to ease
14335 # handling of long lines.
14336 ac_delim='%!_!# '
14337 for ac_last_try in false false :; do
14338   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14339   if test -z "$ac_tt"; then
14340     break
14341   elif $ac_last_try; then
14342     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14343   else
14344     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14345   fi
14346 done
14347
14348 # For the awk script, D is an array of macro values keyed by name,
14349 # likewise P contains macro parameters if any.  Preserve backslash
14350 # newline sequences.
14351
14352 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14353 sed -n '
14354 s/.\{148\}/&'"$ac_delim"'/g
14355 t rset
14356 :rset
14357 s/^[     ]*#[    ]*define[       ][      ]*/ /
14358 t def
14359 d
14360 :def
14361 s/\\$//
14362 t bsnl
14363 s/["\\]/\\&/g
14364 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14365 D["\1"]=" \3"/p
14366 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14367 d
14368 :bsnl
14369 s/["\\]/\\&/g
14370 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14371 D["\1"]=" \3\\\\\\n"\\/p
14372 t cont
14373 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14374 t cont
14375 d
14376 :cont
14377 n
14378 s/.\{148\}/&'"$ac_delim"'/g
14379 t clear
14380 :clear
14381 s/\\$//
14382 t bsnlc
14383 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14384 d
14385 :bsnlc
14386 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14387 b cont
14388 ' <confdefs.h | sed '
14389 s/'"$ac_delim"'/"\\\
14390 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14391
14392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14393   for (key in D) D_is_set[key] = 1
14394   FS = "\a"
14395 }
14396 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14397   line = \$ 0
14398   split(line, arg, " ")
14399   if (arg[1] == "#") {
14400     defundef = arg[2]
14401     mac1 = arg[3]
14402   } else {
14403     defundef = substr(arg[1], 2)
14404     mac1 = arg[2]
14405   }
14406   split(mac1, mac2, "(") #)
14407   macro = mac2[1]
14408   prefix = substr(line, 1, index(line, defundef) - 1)
14409   if (D_is_set[macro]) {
14410     # Preserve the white space surrounding the "#".
14411     print prefix "define", macro P[macro] D[macro]
14412     next
14413   } else {
14414     # Replace #undef with comments.  This is necessary, for example,
14415     # in the case of _POSIX_SOURCE, which is predefined and required
14416     # on some systems where configure will not decide to define it.
14417     if (defundef == "undef") {
14418       print "/*", prefix defundef, macro, "*/"
14419       next
14420     }
14421   }
14422 }
14423 { print }
14424 _ACAWK
14425 _ACEOF
14426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14427   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14428 fi # test -n "$CONFIG_HEADERS"
14429
14430
14431 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14432 shift
14433 for ac_tag
14434 do
14435   case $ac_tag in
14436   :[FHLC]) ac_mode=$ac_tag; continue;;
14437   esac
14438   case $ac_mode$ac_tag in
14439   :[FHL]*:*);;
14440   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14441   :[FH]-) ac_tag=-:-;;
14442   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14443   esac
14444   ac_save_IFS=$IFS
14445   IFS=:
14446   set x $ac_tag
14447   IFS=$ac_save_IFS
14448   shift
14449   ac_file=$1
14450   shift
14451
14452   case $ac_mode in
14453   :L) ac_source=$1;;
14454   :[FH])
14455     ac_file_inputs=
14456     for ac_f
14457     do
14458       case $ac_f in
14459       -) ac_f="$ac_tmp/stdin";;
14460       *) # Look for the file first in the build tree, then in the source tree
14461          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14462          # because $ac_f cannot contain `:'.
14463          test -f "$ac_f" ||
14464            case $ac_f in
14465            [\\/$]*) false;;
14466            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14467            esac ||
14468            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14469       esac
14470       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14471       as_fn_append ac_file_inputs " '$ac_f'"
14472     done
14473
14474     # Let's still pretend it is `configure' which instantiates (i.e., don't
14475     # use $as_me), people would be surprised to read:
14476     #    /* config.h.  Generated by config.status.  */
14477     configure_input='Generated from '`
14478           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14479         `' by configure.'
14480     if test x"$ac_file" != x-; then
14481       configure_input="$ac_file.  $configure_input"
14482       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14483 $as_echo "$as_me: creating $ac_file" >&6;}
14484     fi
14485     # Neutralize special characters interpreted by sed in replacement strings.
14486     case $configure_input in #(
14487     *\&* | *\|* | *\\* )
14488        ac_sed_conf_input=`$as_echo "$configure_input" |
14489        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14490     *) ac_sed_conf_input=$configure_input;;
14491     esac
14492
14493     case $ac_tag in
14494     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14495       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14496     esac
14497     ;;
14498   esac
14499
14500   ac_dir=`$as_dirname -- "$ac_file" ||
14501 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14502          X"$ac_file" : 'X\(//\)[^/]' \| \
14503          X"$ac_file" : 'X\(//\)$' \| \
14504          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14505 $as_echo X"$ac_file" |
14506     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14507             s//\1/
14508             q
14509           }
14510           /^X\(\/\/\)[^/].*/{
14511             s//\1/
14512             q
14513           }
14514           /^X\(\/\/\)$/{
14515             s//\1/
14516             q
14517           }
14518           /^X\(\/\).*/{
14519             s//\1/
14520             q
14521           }
14522           s/.*/./; q'`
14523   as_dir="$ac_dir"; as_fn_mkdir_p
14524   ac_builddir=.
14525
14526 case "$ac_dir" in
14527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14528 *)
14529   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14530   # A ".." for each directory in $ac_dir_suffix.
14531   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14532   case $ac_top_builddir_sub in
14533   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14534   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14535   esac ;;
14536 esac
14537 ac_abs_top_builddir=$ac_pwd
14538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14539 # for backward compatibility:
14540 ac_top_builddir=$ac_top_build_prefix
14541
14542 case $srcdir in
14543   .)  # We are building in place.
14544     ac_srcdir=.
14545     ac_top_srcdir=$ac_top_builddir_sub
14546     ac_abs_top_srcdir=$ac_pwd ;;
14547   [\\/]* | ?:[\\/]* )  # Absolute name.
14548     ac_srcdir=$srcdir$ac_dir_suffix;
14549     ac_top_srcdir=$srcdir
14550     ac_abs_top_srcdir=$srcdir ;;
14551   *) # Relative name.
14552     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14553     ac_top_srcdir=$ac_top_build_prefix$srcdir
14554     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14555 esac
14556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14557
14558
14559   case $ac_mode in
14560   :F)
14561   #
14562   # CONFIG_FILE
14563   #
14564
14565   case $INSTALL in
14566   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14567   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14568   esac
14569   ac_MKDIR_P=$MKDIR_P
14570   case $MKDIR_P in
14571   [\\/$]* | ?:[\\/]* ) ;;
14572   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14573   esac
14574 _ACEOF
14575
14576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14577 # If the template does not know about datarootdir, expand it.
14578 # FIXME: This hack should be removed a few years after 2.60.
14579 ac_datarootdir_hack=; ac_datarootdir_seen=
14580 ac_sed_dataroot='
14581 /datarootdir/ {
14582   p
14583   q
14584 }
14585 /@datadir@/p
14586 /@docdir@/p
14587 /@infodir@/p
14588 /@localedir@/p
14589 /@mandir@/p'
14590 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14591 *datarootdir*) ac_datarootdir_seen=yes;;
14592 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14593   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14594 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14595 _ACEOF
14596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14597   ac_datarootdir_hack='
14598   s&@datadir@&$datadir&g
14599   s&@docdir@&$docdir&g
14600   s&@infodir@&$infodir&g
14601   s&@localedir@&$localedir&g
14602   s&@mandir@&$mandir&g
14603   s&\\\${datarootdir}&$datarootdir&g' ;;
14604 esac
14605 _ACEOF
14606
14607 # Neutralize VPATH when `$srcdir' = `.'.
14608 # Shell code in configure.ac might set extrasub.
14609 # FIXME: do we really want to maintain this feature?
14610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14611 ac_sed_extra="$ac_vpsub
14612 $extrasub
14613 _ACEOF
14614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14615 :t
14616 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14617 s|@configure_input@|$ac_sed_conf_input|;t t
14618 s&@top_builddir@&$ac_top_builddir_sub&;t t
14619 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14620 s&@srcdir@&$ac_srcdir&;t t
14621 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14622 s&@top_srcdir@&$ac_top_srcdir&;t t
14623 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14624 s&@builddir@&$ac_builddir&;t t
14625 s&@abs_builddir@&$ac_abs_builddir&;t t
14626 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14627 s&@INSTALL@&$ac_INSTALL&;t t
14628 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14629 $ac_datarootdir_hack
14630 "
14631 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14632   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14633
14634 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14635   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14636   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14637       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14638   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14639 which seems to be undefined.  Please make sure it is defined" >&5
14640 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14641 which seems to be undefined.  Please make sure it is defined" >&2;}
14642
14643   rm -f "$ac_tmp/stdin"
14644   case $ac_file in
14645   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14646   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14647   esac \
14648   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14649  ;;
14650   :H)
14651   #
14652   # CONFIG_HEADER
14653   #
14654   if test x"$ac_file" != x-; then
14655     {
14656       $as_echo "/* $configure_input  */" \
14657       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14658     } >"$ac_tmp/config.h" \
14659       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14660     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14661       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14662 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14663     else
14664       rm -f "$ac_file"
14665       mv "$ac_tmp/config.h" "$ac_file" \
14666         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14667     fi
14668   else
14669     $as_echo "/* $configure_input  */" \
14670       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14671       || as_fn_error $? "could not create -" "$LINENO" 5
14672   fi
14673 # Compute "$ac_file"'s index in $config_headers.
14674 _am_arg="$ac_file"
14675 _am_stamp_count=1
14676 for _am_header in $config_headers :; do
14677   case $_am_header in
14678     $_am_arg | $_am_arg:* )
14679       break ;;
14680     * )
14681       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14682   esac
14683 done
14684 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14685 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14686          X"$_am_arg" : 'X\(//\)[^/]' \| \
14687          X"$_am_arg" : 'X\(//\)$' \| \
14688          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14689 $as_echo X"$_am_arg" |
14690     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14691             s//\1/
14692             q
14693           }
14694           /^X\(\/\/\)[^/].*/{
14695             s//\1/
14696             q
14697           }
14698           /^X\(\/\/\)$/{
14699             s//\1/
14700             q
14701           }
14702           /^X\(\/\).*/{
14703             s//\1/
14704             q
14705           }
14706           s/.*/./; q'`/stamp-h$_am_stamp_count
14707  ;;
14708
14709   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14710 $as_echo "$as_me: executing $ac_file commands" >&6;}
14711  ;;
14712   esac
14713
14714
14715   case $ac_file$ac_mode in
14716     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14717   # Older Autoconf quotes --file arguments for eval, but not when files
14718   # are listed without --file.  Let's play safe and only enable the eval
14719   # if we detect the quoting.
14720   case $CONFIG_FILES in
14721   *\'*) eval set x "$CONFIG_FILES" ;;
14722   *)   set x $CONFIG_FILES ;;
14723   esac
14724   shift
14725   for mf
14726   do
14727     # Strip MF so we end up with the name of the file.
14728     mf=`echo "$mf" | sed -e 's/:.*$//'`
14729     # Check whether this is an Automake generated Makefile or not.
14730     # We used to match only the files named 'Makefile.in', but
14731     # some people rename them; so instead we look at the file content.
14732     # Grep'ing the first line is not enough: some people post-process
14733     # each Makefile.in and add a new line on top of each file to say so.
14734     # Grep'ing the whole file is not good either: AIX grep has a line
14735     # limit of 2048, but all sed's we know have understand at least 4000.
14736     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14737       dirpart=`$as_dirname -- "$mf" ||
14738 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14739          X"$mf" : 'X\(//\)[^/]' \| \
14740          X"$mf" : 'X\(//\)$' \| \
14741          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14742 $as_echo X"$mf" |
14743     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14744             s//\1/
14745             q
14746           }
14747           /^X\(\/\/\)[^/].*/{
14748             s//\1/
14749             q
14750           }
14751           /^X\(\/\/\)$/{
14752             s//\1/
14753             q
14754           }
14755           /^X\(\/\).*/{
14756             s//\1/
14757             q
14758           }
14759           s/.*/./; q'`
14760     else
14761       continue
14762     fi
14763     # Extract the definition of DEPDIR, am__include, and am__quote
14764     # from the Makefile without running 'make'.
14765     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14766     test -z "$DEPDIR" && continue
14767     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14768     test -z "$am__include" && continue
14769     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14770     # Find all dependency output files, they are included files with
14771     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14772     # simplest approach to changing $(DEPDIR) to its actual value in the
14773     # expansion.
14774     for file in `sed -n "
14775       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14776          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14777       # Make sure the directory exists.
14778       test -f "$dirpart/$file" && continue
14779       fdir=`$as_dirname -- "$file" ||
14780 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14781          X"$file" : 'X\(//\)[^/]' \| \
14782          X"$file" : 'X\(//\)$' \| \
14783          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14784 $as_echo X"$file" |
14785     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14786             s//\1/
14787             q
14788           }
14789           /^X\(\/\/\)[^/].*/{
14790             s//\1/
14791             q
14792           }
14793           /^X\(\/\/\)$/{
14794             s//\1/
14795             q
14796           }
14797           /^X\(\/\).*/{
14798             s//\1/
14799             q
14800           }
14801           s/.*/./; q'`
14802       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14803       # echo "creating $dirpart/$file"
14804       echo '# dummy' > "$dirpart/$file"
14805     done
14806   done
14807 }
14808  ;;
14809     "libtool":C)
14810
14811     # See if we are running on zsh, and set the options which allow our
14812     # commands through without removal of \ escapes.
14813     if test -n "${ZSH_VERSION+set}" ; then
14814       setopt NO_GLOB_SUBST
14815     fi
14816
14817     cfgfile="${ofile}T"
14818     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14819     $RM "$cfgfile"
14820
14821     cat <<_LT_EOF >> "$cfgfile"
14822 #! $SHELL
14823
14824 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14825 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14826 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14827 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14828 #
14829 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14830 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14831 #                 Foundation, Inc.
14832 #   Written by Gordon Matzigkeit, 1996
14833 #
14834 #   This file is part of GNU Libtool.
14835 #
14836 # GNU Libtool is free software; you can redistribute it and/or
14837 # modify it under the terms of the GNU General Public License as
14838 # published by the Free Software Foundation; either version 2 of
14839 # the License, or (at your option) any later version.
14840 #
14841 # As a special exception to the GNU General Public License,
14842 # if you distribute this file as part of a program or library that
14843 # is built using GNU Libtool, you may include this file under the
14844 # same distribution terms that you use for the rest of that program.
14845 #
14846 # GNU Libtool is distributed in the hope that it will be useful,
14847 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14848 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14849 # GNU General Public License for more details.
14850 #
14851 # You should have received a copy of the GNU General Public License
14852 # along with GNU Libtool; see the file COPYING.  If not, a copy
14853 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14854 # obtained by writing to the Free Software Foundation, Inc.,
14855 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14856
14857
14858 # The names of the tagged configurations supported by this script.
14859 available_tags=""
14860
14861 # ### BEGIN LIBTOOL CONFIG
14862
14863 # Which release of libtool.m4 was used?
14864 macro_version=$macro_version
14865 macro_revision=$macro_revision
14866
14867 # Whether or not to build static libraries.
14868 build_old_libs=$enable_static
14869
14870 # Whether or not to build shared libraries.
14871 build_libtool_libs=$enable_shared
14872
14873 # What type of objects to build.
14874 pic_mode=$pic_mode
14875
14876 # Whether or not to optimize for fast installation.
14877 fast_install=$enable_fast_install
14878
14879 # Shell to use when invoking shell scripts.
14880 SHELL=$lt_SHELL
14881
14882 # An echo program that protects backslashes.
14883 ECHO=$lt_ECHO
14884
14885 # The PATH separator for the build system.
14886 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14887
14888 # The host system.
14889 host_alias=$host_alias
14890 host=$host
14891 host_os=$host_os
14892
14893 # The build system.
14894 build_alias=$build_alias
14895 build=$build
14896 build_os=$build_os
14897
14898 # A sed program that does not truncate output.
14899 SED=$lt_SED
14900
14901 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14902 Xsed="\$SED -e 1s/^X//"
14903
14904 # A grep program that handles long lines.
14905 GREP=$lt_GREP
14906
14907 # An ERE matcher.
14908 EGREP=$lt_EGREP
14909
14910 # A literal string matcher.
14911 FGREP=$lt_FGREP
14912
14913 # A BSD- or MS-compatible name lister.
14914 NM=$lt_NM
14915
14916 # Whether we need soft or hard links.
14917 LN_S=$lt_LN_S
14918
14919 # What is the maximum length of a command?
14920 max_cmd_len=$max_cmd_len
14921
14922 # Object file suffix (normally "o").
14923 objext=$ac_objext
14924
14925 # Executable file suffix (normally "").
14926 exeext=$exeext
14927
14928 # whether the shell understands "unset".
14929 lt_unset=$lt_unset
14930
14931 # turn spaces into newlines.
14932 SP2NL=$lt_lt_SP2NL
14933
14934 # turn newlines into spaces.
14935 NL2SP=$lt_lt_NL2SP
14936
14937 # convert \$build file names to \$host format.
14938 to_host_file_cmd=$lt_cv_to_host_file_cmd
14939
14940 # convert \$build files to toolchain format.
14941 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14942
14943 # An object symbol dumper.
14944 OBJDUMP=$lt_OBJDUMP
14945
14946 # Method to check whether dependent libraries are shared objects.
14947 deplibs_check_method=$lt_deplibs_check_method
14948
14949 # Command to use when deplibs_check_method = "file_magic".
14950 file_magic_cmd=$lt_file_magic_cmd
14951
14952 # How to find potential files when deplibs_check_method = "file_magic".
14953 file_magic_glob=$lt_file_magic_glob
14954
14955 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14956 want_nocaseglob=$lt_want_nocaseglob
14957
14958 # DLL creation program.
14959 DLLTOOL=$lt_DLLTOOL
14960
14961 # Command to associate shared and link libraries.
14962 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14963
14964 # The archiver.
14965 AR=$lt_AR
14966
14967 # Flags to create an archive.
14968 AR_FLAGS=$lt_AR_FLAGS
14969
14970 # How to feed a file listing to the archiver.
14971 archiver_list_spec=$lt_archiver_list_spec
14972
14973 # A symbol stripping program.
14974 STRIP=$lt_STRIP
14975
14976 # Commands used to install an old-style archive.
14977 RANLIB=$lt_RANLIB
14978 old_postinstall_cmds=$lt_old_postinstall_cmds
14979 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14980
14981 # Whether to use a lock for old archive extraction.
14982 lock_old_archive_extraction=$lock_old_archive_extraction
14983
14984 # A C compiler.
14985 LTCC=$lt_CC
14986
14987 # LTCC compiler flags.
14988 LTCFLAGS=$lt_CFLAGS
14989
14990 # Take the output of nm and produce a listing of raw symbols and C names.
14991 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14992
14993 # Transform the output of nm in a proper C declaration.
14994 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14995
14996 # Transform the output of nm in a C name address pair.
14997 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14998
14999 # Transform the output of nm in a C name address pair when lib prefix is needed.
15000 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15001
15002 # Specify filename containing input files for \$NM.
15003 nm_file_list_spec=$lt_nm_file_list_spec
15004
15005 # The root where to search for dependent libraries,and in which our libraries should be installed.
15006 lt_sysroot=$lt_sysroot
15007
15008 # The name of the directory that contains temporary libtool files.
15009 objdir=$objdir
15010
15011 # Used to examine libraries when file_magic_cmd begins with "file".
15012 MAGIC_CMD=$MAGIC_CMD
15013
15014 # Must we lock files when doing compilation?
15015 need_locks=$lt_need_locks
15016
15017 # Manifest tool.
15018 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15019
15020 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15021 DSYMUTIL=$lt_DSYMUTIL
15022
15023 # Tool to change global to local symbols on Mac OS X.
15024 NMEDIT=$lt_NMEDIT
15025
15026 # Tool to manipulate fat objects and archives on Mac OS X.
15027 LIPO=$lt_LIPO
15028
15029 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15030 OTOOL=$lt_OTOOL
15031
15032 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15033 OTOOL64=$lt_OTOOL64
15034
15035 # Old archive suffix (normally "a").
15036 libext=$libext
15037
15038 # Shared library suffix (normally ".so").
15039 shrext_cmds=$lt_shrext_cmds
15040
15041 # The commands to extract the exported symbol list from a shared archive.
15042 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15043
15044 # Variables whose values should be saved in libtool wrapper scripts and
15045 # restored at link time.
15046 variables_saved_for_relink=$lt_variables_saved_for_relink
15047
15048 # Do we need the "lib" prefix for modules?
15049 need_lib_prefix=$need_lib_prefix
15050
15051 # Do we need a version for libraries?
15052 need_version=$need_version
15053
15054 # Library versioning type.
15055 version_type=$version_type
15056
15057 # Shared library runtime path variable.
15058 runpath_var=$runpath_var
15059
15060 # Shared library path variable.
15061 shlibpath_var=$shlibpath_var
15062
15063 # Is shlibpath searched before the hard-coded library search path?
15064 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15065
15066 # Format of library name prefix.
15067 libname_spec=$lt_libname_spec
15068
15069 # List of archive names.  First name is the real one, the rest are links.
15070 # The last name is the one that the linker finds with -lNAME
15071 library_names_spec=$lt_library_names_spec
15072
15073 # The coded name of the library, if different from the real name.
15074 soname_spec=$lt_soname_spec
15075
15076 # Permission mode override for installation of shared libraries.
15077 install_override_mode=$lt_install_override_mode
15078
15079 # Command to use after installation of a shared archive.
15080 postinstall_cmds=$lt_postinstall_cmds
15081
15082 # Command to use after uninstallation of a shared archive.
15083 postuninstall_cmds=$lt_postuninstall_cmds
15084
15085 # Commands used to finish a libtool library installation in a directory.
15086 finish_cmds=$lt_finish_cmds
15087
15088 # As "finish_cmds", except a single script fragment to be evaled but
15089 # not shown.
15090 finish_eval=$lt_finish_eval
15091
15092 # Whether we should hardcode library paths into libraries.
15093 hardcode_into_libs=$hardcode_into_libs
15094
15095 # Compile-time system search path for libraries.
15096 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15097
15098 # Run-time system search path for libraries.
15099 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15100
15101 # Whether dlopen is supported.
15102 dlopen_support=$enable_dlopen
15103
15104 # Whether dlopen of programs is supported.
15105 dlopen_self=$enable_dlopen_self
15106
15107 # Whether dlopen of statically linked programs is supported.
15108 dlopen_self_static=$enable_dlopen_self_static
15109
15110 # Commands to strip libraries.
15111 old_striplib=$lt_old_striplib
15112 striplib=$lt_striplib
15113
15114
15115 # The linker used to build libraries.
15116 LD=$lt_LD
15117
15118 # How to create reloadable object files.
15119 reload_flag=$lt_reload_flag
15120 reload_cmds=$lt_reload_cmds
15121
15122 # Commands used to build an old-style archive.
15123 old_archive_cmds=$lt_old_archive_cmds
15124
15125 # A language specific compiler.
15126 CC=$lt_compiler
15127
15128 # Is the compiler the GNU compiler?
15129 with_gcc=$GCC
15130
15131 # Compiler flag to turn off builtin functions.
15132 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15133
15134 # Additional compiler flags for building library objects.
15135 pic_flag=$lt_lt_prog_compiler_pic
15136
15137 # How to pass a linker flag through the compiler.
15138 wl=$lt_lt_prog_compiler_wl
15139
15140 # Compiler flag to prevent dynamic linking.
15141 link_static_flag=$lt_lt_prog_compiler_static
15142
15143 # Does compiler simultaneously support -c and -o options?
15144 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15145
15146 # Whether or not to add -lc for building shared libraries.
15147 build_libtool_need_lc=$archive_cmds_need_lc
15148
15149 # Whether or not to disallow shared libs when runtime libs are static.
15150 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15151
15152 # Compiler flag to allow reflexive dlopens.
15153 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15154
15155 # Compiler flag to generate shared objects directly from archives.
15156 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15157
15158 # Whether the compiler copes with passing no objects directly.
15159 compiler_needs_object=$lt_compiler_needs_object
15160
15161 # Create an old-style archive from a shared archive.
15162 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15163
15164 # Create a temporary old-style archive to link instead of a shared archive.
15165 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15166
15167 # Commands used to build a shared archive.
15168 archive_cmds=$lt_archive_cmds
15169 archive_expsym_cmds=$lt_archive_expsym_cmds
15170
15171 # Commands used to build a loadable module if different from building
15172 # a shared archive.
15173 module_cmds=$lt_module_cmds
15174 module_expsym_cmds=$lt_module_expsym_cmds
15175
15176 # Whether we are building with GNU ld or not.
15177 with_gnu_ld=$lt_with_gnu_ld
15178
15179 # Flag that allows shared libraries with undefined symbols to be built.
15180 allow_undefined_flag=$lt_allow_undefined_flag
15181
15182 # Flag that enforces no undefined symbols.
15183 no_undefined_flag=$lt_no_undefined_flag
15184
15185 # Flag to hardcode \$libdir into a binary during linking.
15186 # This must work even if \$libdir does not exist
15187 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15188
15189 # Whether we need a single "-rpath" flag with a separated argument.
15190 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15191
15192 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15193 # DIR into the resulting binary.
15194 hardcode_direct=$hardcode_direct
15195
15196 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15197 # DIR into the resulting binary and the resulting library dependency is
15198 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15199 # library is relocated.
15200 hardcode_direct_absolute=$hardcode_direct_absolute
15201
15202 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15203 # into the resulting binary.
15204 hardcode_minus_L=$hardcode_minus_L
15205
15206 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15207 # into the resulting binary.
15208 hardcode_shlibpath_var=$hardcode_shlibpath_var
15209
15210 # Set to "yes" if building a shared library automatically hardcodes DIR
15211 # into the library and all subsequent libraries and executables linked
15212 # against it.
15213 hardcode_automatic=$hardcode_automatic
15214
15215 # Set to yes if linker adds runtime paths of dependent libraries
15216 # to runtime path list.
15217 inherit_rpath=$inherit_rpath
15218
15219 # Whether libtool must link a program against all its dependency libraries.
15220 link_all_deplibs=$link_all_deplibs
15221
15222 # Set to "yes" if exported symbols are required.
15223 always_export_symbols=$always_export_symbols
15224
15225 # The commands to list exported symbols.
15226 export_symbols_cmds=$lt_export_symbols_cmds
15227
15228 # Symbols that should not be listed in the preloaded symbols.
15229 exclude_expsyms=$lt_exclude_expsyms
15230
15231 # Symbols that must always be exported.
15232 include_expsyms=$lt_include_expsyms
15233
15234 # Commands necessary for linking programs (against libraries) with templates.
15235 prelink_cmds=$lt_prelink_cmds
15236
15237 # Commands necessary for finishing linking programs.
15238 postlink_cmds=$lt_postlink_cmds
15239
15240 # Specify filename containing input files.
15241 file_list_spec=$lt_file_list_spec
15242
15243 # How to hardcode a shared library path into an executable.
15244 hardcode_action=$hardcode_action
15245
15246 # ### END LIBTOOL CONFIG
15247
15248 _LT_EOF
15249
15250   case $host_os in
15251   aix3*)
15252     cat <<\_LT_EOF >> "$cfgfile"
15253 # AIX sometimes has problems with the GCC collect2 program.  For some
15254 # reason, if we set the COLLECT_NAMES environment variable, the problems
15255 # vanish in a puff of smoke.
15256 if test "X${COLLECT_NAMES+set}" != Xset; then
15257   COLLECT_NAMES=
15258   export COLLECT_NAMES
15259 fi
15260 _LT_EOF
15261     ;;
15262   esac
15263
15264
15265 ltmain="$ac_aux_dir/ltmain.sh"
15266
15267
15268   # We use sed instead of cat because bash on DJGPP gets confused if
15269   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15270   # text mode, it properly converts lines to CR/LF.  This bash problem
15271   # is reportedly fixed, but why not run on old versions too?
15272   sed '$q' "$ltmain" >> "$cfgfile" \
15273      || (rm -f "$cfgfile"; exit 1)
15274
15275   if test x"$xsi_shell" = xyes; then
15276   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15277 func_dirname ()\
15278 {\
15279 \    case ${1} in\
15280 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15281 \      *  ) func_dirname_result="${3}" ;;\
15282 \    esac\
15283 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15284   && mv -f "$cfgfile.tmp" "$cfgfile" \
15285     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15286 test 0 -eq $? || _lt_function_replace_fail=:
15287
15288
15289   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15290 func_basename ()\
15291 {\
15292 \    func_basename_result="${1##*/}"\
15293 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15294   && mv -f "$cfgfile.tmp" "$cfgfile" \
15295     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15296 test 0 -eq $? || _lt_function_replace_fail=:
15297
15298
15299   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15300 func_dirname_and_basename ()\
15301 {\
15302 \    case ${1} in\
15303 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15304 \      *  ) func_dirname_result="${3}" ;;\
15305 \    esac\
15306 \    func_basename_result="${1##*/}"\
15307 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15308   && mv -f "$cfgfile.tmp" "$cfgfile" \
15309     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15310 test 0 -eq $? || _lt_function_replace_fail=:
15311
15312
15313   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15314 func_stripname ()\
15315 {\
15316 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15317 \    # positional parameters, so assign one to ordinary parameter first.\
15318 \    func_stripname_result=${3}\
15319 \    func_stripname_result=${func_stripname_result#"${1}"}\
15320 \    func_stripname_result=${func_stripname_result%"${2}"}\
15321 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15322   && mv -f "$cfgfile.tmp" "$cfgfile" \
15323     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15324 test 0 -eq $? || _lt_function_replace_fail=:
15325
15326
15327   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15328 func_split_long_opt ()\
15329 {\
15330 \    func_split_long_opt_name=${1%%=*}\
15331 \    func_split_long_opt_arg=${1#*=}\
15332 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15333   && mv -f "$cfgfile.tmp" "$cfgfile" \
15334     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15335 test 0 -eq $? || _lt_function_replace_fail=:
15336
15337
15338   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15339 func_split_short_opt ()\
15340 {\
15341 \    func_split_short_opt_arg=${1#??}\
15342 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15343 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15344   && mv -f "$cfgfile.tmp" "$cfgfile" \
15345     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15346 test 0 -eq $? || _lt_function_replace_fail=:
15347
15348
15349   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15350 func_lo2o ()\
15351 {\
15352 \    case ${1} in\
15353 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15354 \      *)    func_lo2o_result=${1} ;;\
15355 \    esac\
15356 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15357   && mv -f "$cfgfile.tmp" "$cfgfile" \
15358     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15359 test 0 -eq $? || _lt_function_replace_fail=:
15360
15361
15362   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15363 func_xform ()\
15364 {\
15365     func_xform_result=${1%.*}.lo\
15366 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15367   && mv -f "$cfgfile.tmp" "$cfgfile" \
15368     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15369 test 0 -eq $? || _lt_function_replace_fail=:
15370
15371
15372   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15373 func_arith ()\
15374 {\
15375     func_arith_result=$(( $* ))\
15376 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15377   && mv -f "$cfgfile.tmp" "$cfgfile" \
15378     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15379 test 0 -eq $? || _lt_function_replace_fail=:
15380
15381
15382   sed -e '/^func_len ()$/,/^} # func_len /c\
15383 func_len ()\
15384 {\
15385     func_len_result=${#1}\
15386 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15387   && mv -f "$cfgfile.tmp" "$cfgfile" \
15388     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15389 test 0 -eq $? || _lt_function_replace_fail=:
15390
15391 fi
15392
15393 if test x"$lt_shell_append" = xyes; then
15394   sed -e '/^func_append ()$/,/^} # func_append /c\
15395 func_append ()\
15396 {\
15397     eval "${1}+=\\${2}"\
15398 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15399   && mv -f "$cfgfile.tmp" "$cfgfile" \
15400     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15401 test 0 -eq $? || _lt_function_replace_fail=:
15402
15403
15404   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15405 func_append_quoted ()\
15406 {\
15407 \    func_quote_for_eval "${2}"\
15408 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15409 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15410   && mv -f "$cfgfile.tmp" "$cfgfile" \
15411     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15412 test 0 -eq $? || _lt_function_replace_fail=:
15413
15414
15415   # Save a `func_append' function call where possible by direct use of '+='
15416   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15417     && mv -f "$cfgfile.tmp" "$cfgfile" \
15418       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15419   test 0 -eq $? || _lt_function_replace_fail=:
15420 else
15421   # Save a `func_append' function call even when '+=' is not available
15422   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15423     && mv -f "$cfgfile.tmp" "$cfgfile" \
15424       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15425   test 0 -eq $? || _lt_function_replace_fail=:
15426 fi
15427
15428 if test x"$_lt_function_replace_fail" = x":"; then
15429   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15430 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15431 fi
15432
15433
15434    mv -f "$cfgfile" "$ofile" ||
15435     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15436   chmod +x "$ofile"
15437
15438  ;;
15439
15440   esac
15441 done # for ac_tag
15442
15443
15444 as_fn_exit 0
15445 _ACEOF
15446 ac_clean_files=$ac_clean_files_save
15447
15448 test $ac_write_fail = 0 ||
15449   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15450
15451
15452 # configure is writing to config.log, and then calls config.status.
15453 # config.status does its own redirection, appending to config.log.
15454 # Unfortunately, on DOS this fails, as config.log is still kept open
15455 # by configure, so config.status won't be able to write to it; its
15456 # output is simply discarded.  So we exec the FD to /dev/null,
15457 # effectively closing config.log, so it can be properly (re)opened and
15458 # appended to by config.status.  When coming back to configure, we
15459 # need to make the FD available again.
15460 if test "$no_create" != yes; then
15461   ac_cs_success=:
15462   ac_config_status_args=
15463   test "$silent" = yes &&
15464     ac_config_status_args="$ac_config_status_args --quiet"
15465   exec 5>/dev/null
15466   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15467   exec 5>>config.log
15468   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15469   # would make configure fail if this is the last instruction.
15470   $ac_cs_success || as_fn_exit 1
15471 fi
15472 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15473   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15474 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15475 fi
15476
15477
15478 if test x$enable_dbus_type != xp2p; then
15479     ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15480
15481 cat >confcache <<\_ACEOF
15482 # This file is a shell script that caches the results of configure
15483 # tests run on this system so they can be shared between configure
15484 # scripts and configure runs, see configure's option --config-cache.
15485 # It is not useful on other systems.  If it contains results you don't
15486 # want to keep, you may remove or edit it.
15487 #
15488 # config.status only pays attention to the cache file if you give it
15489 # the --recheck option to rerun configure.
15490 #
15491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15493 # following values.
15494
15495 _ACEOF
15496
15497 # The following way of writing the cache mishandles newlines in values,
15498 # but we know of no workaround that is simple, portable, and efficient.
15499 # So, we kill variables containing newlines.
15500 # Ultrix sh set writes to stderr and can't be redirected directly,
15501 # and sets the high bit in the cache file unless we assign to the vars.
15502 (
15503   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15504     eval ac_val=\$$ac_var
15505     case $ac_val in #(
15506     *${as_nl}*)
15507       case $ac_var in #(
15508       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15509 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15510       esac
15511       case $ac_var in #(
15512       _ | IFS | as_nl) ;; #(
15513       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15514       *) { eval $ac_var=; unset $ac_var;} ;;
15515       esac ;;
15516     esac
15517   done
15518
15519   (set) 2>&1 |
15520     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15521     *${as_nl}ac_space=\ *)
15522       # `set' does not quote correctly, so add quotes: double-quote
15523       # substitution turns \\\\ into \\, and sed turns \\ into \.
15524       sed -n \
15525         "s/'/'\\\\''/g;
15526           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15527       ;; #(
15528     *)
15529       # `set' quotes correctly as required by POSIX, so do not add quotes.
15530       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15531       ;;
15532     esac |
15533     sort
15534 ) |
15535   sed '
15536      /^ac_cv_env_/b end
15537      t clear
15538      :clear
15539      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15540      t end
15541      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15542      :end' >>confcache
15543 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15544   if test -w "$cache_file"; then
15545     if test "x$cache_file" != "x/dev/null"; then
15546       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15547 $as_echo "$as_me: updating cache $cache_file" >&6;}
15548       if test ! -f "$cache_file" || test -h "$cache_file"; then
15549         cat confcache >"$cache_file"
15550       else
15551         case $cache_file in #(
15552         */* | ?:*)
15553           mv -f confcache "$cache_file"$$ &&
15554           mv -f "$cache_file"$$ "$cache_file" ;; #(
15555         *)
15556           mv -f confcache "$cache_file" ;;
15557         esac
15558       fi
15559     fi
15560   else
15561     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15562 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15563   fi
15564 fi
15565 rm -f confcache
15566
15567 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15568 # Let make expand exec_prefix.
15569 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15570
15571 DEFS=-DHAVE_CONFIG_H
15572
15573 ac_libobjs=
15574 ac_ltlibobjs=
15575 U=
15576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15577   # 1. Remove the extension, and $U if already installed.
15578   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15579   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15580   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15581   #    will be set to the directory where LIBOBJS objects are built.
15582   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15583   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15584 done
15585 LIBOBJS=$ac_libobjs
15586
15587 LTLIBOBJS=$ac_ltlibobjs
15588
15589
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15591 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15592    if test -n "$am_sleep_pid"; then
15593      # Hide warnings about reused PIDs.
15594      wait $am_sleep_pid 2>/dev/null
15595    fi
15596    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15597 $as_echo "done" >&6; }
15598  if test -n "$EXEEXT"; then
15599   am__EXEEXT_TRUE=
15600   am__EXEEXT_FALSE='#'
15601 else
15602   am__EXEEXT_TRUE='#'
15603   am__EXEEXT_FALSE=
15604 fi
15605
15606 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15607   as_fn_error $? "conditional \"AMDEP\" was never defined.
15608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15609 fi
15610 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15611   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15613 fi
15614 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15615   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15617 fi
15618 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15619   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15621 fi
15622 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15623   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15625 fi
15626 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
15627   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
15628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15629 fi
15630 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
15631   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
15632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15633 fi
15634 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15635   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15637 fi
15638 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15639   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15641 fi
15642 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15643   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15645 fi
15646 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15647   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15649 fi
15650 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15651   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15653 fi
15654 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15655   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15657 fi
15658 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15659   as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15661 fi
15662
15663 : "${CONFIG_STATUS=./config.status}"
15664 ac_write_fail=0
15665 ac_clean_files_save=$ac_clean_files
15666 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15668 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15669 as_write_fail=0
15670 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15671 #! $SHELL
15672 # Generated by $as_me.
15673 # Run this file to recreate the current configuration.
15674 # Compiler output produced by configure, useful for debugging
15675 # configure, is in config.log if it exists.
15676
15677 debug=false
15678 ac_cs_recheck=false
15679 ac_cs_silent=false
15680
15681 SHELL=\${CONFIG_SHELL-$SHELL}
15682 export SHELL
15683 _ASEOF
15684 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15685 ## -------------------- ##
15686 ## M4sh Initialization. ##
15687 ## -------------------- ##
15688
15689 # Be more Bourne compatible
15690 DUALCASE=1; export DUALCASE # for MKS sh
15691 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15692   emulate sh
15693   NULLCMD=:
15694   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15695   # is contrary to our usage.  Disable this feature.
15696   alias -g '${1+"$@"}'='"$@"'
15697   setopt NO_GLOB_SUBST
15698 else
15699   case `(set -o) 2>/dev/null` in #(
15700   *posix*) :
15701     set -o posix ;; #(
15702   *) :
15703      ;;
15704 esac
15705 fi
15706
15707
15708 as_nl='
15709 '
15710 export as_nl
15711 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15712 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15713 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15714 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15715 # Prefer a ksh shell builtin over an external printf program on Solaris,
15716 # but without wasting forks for bash or zsh.
15717 if test -z "$BASH_VERSION$ZSH_VERSION" \
15718     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15719   as_echo='print -r --'
15720   as_echo_n='print -rn --'
15721 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15722   as_echo='printf %s\n'
15723   as_echo_n='printf %s'
15724 else
15725   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15726     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15727     as_echo_n='/usr/ucb/echo -n'
15728   else
15729     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15730     as_echo_n_body='eval
15731       arg=$1;
15732       case $arg in #(
15733       *"$as_nl"*)
15734         expr "X$arg" : "X\\(.*\\)$as_nl";
15735         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15736       esac;
15737       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15738     '
15739     export as_echo_n_body
15740     as_echo_n='sh -c $as_echo_n_body as_echo'
15741   fi
15742   export as_echo_body
15743   as_echo='sh -c $as_echo_body as_echo'
15744 fi
15745
15746 # The user is always right.
15747 if test "${PATH_SEPARATOR+set}" != set; then
15748   PATH_SEPARATOR=:
15749   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15750     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15751       PATH_SEPARATOR=';'
15752   }
15753 fi
15754
15755
15756 # IFS
15757 # We need space, tab and new line, in precisely that order.  Quoting is
15758 # there to prevent editors from complaining about space-tab.
15759 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15760 # splitting by setting IFS to empty value.)
15761 IFS=" ""        $as_nl"
15762
15763 # Find who we are.  Look in the path if we contain no directory separator.
15764 as_myself=
15765 case $0 in #((
15766   *[\\/]* ) as_myself=$0 ;;
15767   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15768 for as_dir in $PATH
15769 do
15770   IFS=$as_save_IFS
15771   test -z "$as_dir" && as_dir=.
15772     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15773   done
15774 IFS=$as_save_IFS
15775
15776      ;;
15777 esac
15778 # We did not find ourselves, most probably we were run as `sh COMMAND'
15779 # in which case we are not to be found in the path.
15780 if test "x$as_myself" = x; then
15781   as_myself=$0
15782 fi
15783 if test ! -f "$as_myself"; then
15784   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15785   exit 1
15786 fi
15787
15788 # Unset variables that we do not need and which cause bugs (e.g. in
15789 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15790 # suppresses any "Segmentation fault" message there.  '((' could
15791 # trigger a bug in pdksh 5.2.14.
15792 for as_var in BASH_ENV ENV MAIL MAILPATH
15793 do eval test x\${$as_var+set} = xset \
15794   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15795 done
15796 PS1='$ '
15797 PS2='> '
15798 PS4='+ '
15799
15800 # NLS nuisances.
15801 LC_ALL=C
15802 export LC_ALL
15803 LANGUAGE=C
15804 export LANGUAGE
15805
15806 # CDPATH.
15807 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15808
15809
15810 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15811 # ----------------------------------------
15812 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15813 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15814 # script with STATUS, using 1 if that was 0.
15815 as_fn_error ()
15816 {
15817   as_status=$1; test $as_status -eq 0 && as_status=1
15818   if test "$4"; then
15819     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15820     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15821   fi
15822   $as_echo "$as_me: error: $2" >&2
15823   as_fn_exit $as_status
15824 } # as_fn_error
15825
15826
15827 # as_fn_set_status STATUS
15828 # -----------------------
15829 # Set $? to STATUS, without forking.
15830 as_fn_set_status ()
15831 {
15832   return $1
15833 } # as_fn_set_status
15834
15835 # as_fn_exit STATUS
15836 # -----------------
15837 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15838 as_fn_exit ()
15839 {
15840   set +e
15841   as_fn_set_status $1
15842   exit $1
15843 } # as_fn_exit
15844
15845 # as_fn_unset VAR
15846 # ---------------
15847 # Portably unset VAR.
15848 as_fn_unset ()
15849 {
15850   { eval $1=; unset $1;}
15851 }
15852 as_unset=as_fn_unset
15853 # as_fn_append VAR VALUE
15854 # ----------------------
15855 # Append the text in VALUE to the end of the definition contained in VAR. Take
15856 # advantage of any shell optimizations that allow amortized linear growth over
15857 # repeated appends, instead of the typical quadratic growth present in naive
15858 # implementations.
15859 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15860   eval 'as_fn_append ()
15861   {
15862     eval $1+=\$2
15863   }'
15864 else
15865   as_fn_append ()
15866   {
15867     eval $1=\$$1\$2
15868   }
15869 fi # as_fn_append
15870
15871 # as_fn_arith ARG...
15872 # ------------------
15873 # Perform arithmetic evaluation on the ARGs, and store the result in the
15874 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15875 # must be portable across $(()) and expr.
15876 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15877   eval 'as_fn_arith ()
15878   {
15879     as_val=$(( $* ))
15880   }'
15881 else
15882   as_fn_arith ()
15883   {
15884     as_val=`expr "$@" || test $? -eq 1`
15885   }
15886 fi # as_fn_arith
15887
15888
15889 if expr a : '\(a\)' >/dev/null 2>&1 &&
15890    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15891   as_expr=expr
15892 else
15893   as_expr=false
15894 fi
15895
15896 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15897   as_basename=basename
15898 else
15899   as_basename=false
15900 fi
15901
15902 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15903   as_dirname=dirname
15904 else
15905   as_dirname=false
15906 fi
15907
15908 as_me=`$as_basename -- "$0" ||
15909 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15910          X"$0" : 'X\(//\)$' \| \
15911          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15912 $as_echo X/"$0" |
15913     sed '/^.*\/\([^/][^/]*\)\/*$/{
15914             s//\1/
15915             q
15916           }
15917           /^X\/\(\/\/\)$/{
15918             s//\1/
15919             q
15920           }
15921           /^X\/\(\/\).*/{
15922             s//\1/
15923             q
15924           }
15925           s/.*/./; q'`
15926
15927 # Avoid depending upon Character Ranges.
15928 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15929 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15930 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15931 as_cr_digits='0123456789'
15932 as_cr_alnum=$as_cr_Letters$as_cr_digits
15933
15934 ECHO_C= ECHO_N= ECHO_T=
15935 case `echo -n x` in #(((((
15936 -n*)
15937   case `echo 'xy\c'` in
15938   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15939   xy)  ECHO_C='\c';;
15940   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15941        ECHO_T=' ';;
15942   esac;;
15943 *)
15944   ECHO_N='-n';;
15945 esac
15946
15947 rm -f conf$$ conf$$.exe conf$$.file
15948 if test -d conf$$.dir; then
15949   rm -f conf$$.dir/conf$$.file
15950 else
15951   rm -f conf$$.dir
15952   mkdir conf$$.dir 2>/dev/null
15953 fi
15954 if (echo >conf$$.file) 2>/dev/null; then
15955   if ln -s conf$$.file conf$$ 2>/dev/null; then
15956     as_ln_s='ln -s'
15957     # ... but there are two gotchas:
15958     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15959     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15960     # In both cases, we have to default to `cp -pR'.
15961     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15962       as_ln_s='cp -pR'
15963   elif ln conf$$.file conf$$ 2>/dev/null; then
15964     as_ln_s=ln
15965   else
15966     as_ln_s='cp -pR'
15967   fi
15968 else
15969   as_ln_s='cp -pR'
15970 fi
15971 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15972 rmdir conf$$.dir 2>/dev/null
15973
15974
15975 # as_fn_mkdir_p
15976 # -------------
15977 # Create "$as_dir" as a directory, including parents if necessary.
15978 as_fn_mkdir_p ()
15979 {
15980
15981   case $as_dir in #(
15982   -*) as_dir=./$as_dir;;
15983   esac
15984   test -d "$as_dir" || eval $as_mkdir_p || {
15985     as_dirs=
15986     while :; do
15987       case $as_dir in #(
15988       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15989       *) as_qdir=$as_dir;;
15990       esac
15991       as_dirs="'$as_qdir' $as_dirs"
15992       as_dir=`$as_dirname -- "$as_dir" ||
15993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15994          X"$as_dir" : 'X\(//\)[^/]' \| \
15995          X"$as_dir" : 'X\(//\)$' \| \
15996          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15997 $as_echo X"$as_dir" |
15998     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15999             s//\1/
16000             q
16001           }
16002           /^X\(\/\/\)[^/].*/{
16003             s//\1/
16004             q
16005           }
16006           /^X\(\/\/\)$/{
16007             s//\1/
16008             q
16009           }
16010           /^X\(\/\).*/{
16011             s//\1/
16012             q
16013           }
16014           s/.*/./; q'`
16015       test -d "$as_dir" && break
16016     done
16017     test -z "$as_dirs" || eval "mkdir $as_dirs"
16018   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16019
16020
16021 } # as_fn_mkdir_p
16022 if mkdir -p . 2>/dev/null; then
16023   as_mkdir_p='mkdir -p "$as_dir"'
16024 else
16025   test -d ./-p && rmdir ./-p
16026   as_mkdir_p=false
16027 fi
16028
16029
16030 # as_fn_executable_p FILE
16031 # -----------------------
16032 # Test if FILE is an executable regular file.
16033 as_fn_executable_p ()
16034 {
16035   test -f "$1" && test -x "$1"
16036 } # as_fn_executable_p
16037 as_test_x='test -x'
16038 as_executable_p=as_fn_executable_p
16039
16040 # Sed expression to map a string onto a valid CPP name.
16041 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16042
16043 # Sed expression to map a string onto a valid variable name.
16044 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16045
16046
16047 exec 6>&1
16048 ## ----------------------------------- ##
16049 ## Main body of $CONFIG_STATUS script. ##
16050 ## ----------------------------------- ##
16051 _ASEOF
16052 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16053
16054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16055 # Save the log message, to keep $0 and so on meaningful, and to
16056 # report actual input values of CONFIG_FILES etc. instead of their
16057 # values after options handling.
16058 ac_log="
16059 This file was extended by gsignond $as_me 1.0.1, which was
16060 generated by GNU Autoconf 2.69.  Invocation command line was
16061
16062   CONFIG_FILES    = $CONFIG_FILES
16063   CONFIG_HEADERS  = $CONFIG_HEADERS
16064   CONFIG_LINKS    = $CONFIG_LINKS
16065   CONFIG_COMMANDS = $CONFIG_COMMANDS
16066   $ $0 $@
16067
16068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16069 "
16070
16071 _ACEOF
16072
16073 case $ac_config_files in *"
16074 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16075 esac
16076
16077 case $ac_config_headers in *"
16078 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16079 esac
16080
16081
16082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16083 # Files that config.status was made for.
16084 config_files="$ac_config_files"
16085 config_headers="$ac_config_headers"
16086 config_commands="$ac_config_commands"
16087
16088 _ACEOF
16089
16090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16091 ac_cs_usage="\
16092 \`$as_me' instantiates files and other configuration actions
16093 from templates according to the current configuration.  Unless the files
16094 and actions are specified as TAGs, all are instantiated by default.
16095
16096 Usage: $0 [OPTION]... [TAG]...
16097
16098   -h, --help       print this help, then exit
16099   -V, --version    print version number and configuration settings, then exit
16100       --config     print configuration, then exit
16101   -q, --quiet, --silent
16102                    do not print progress messages
16103   -d, --debug      don't remove temporary files
16104       --recheck    update $as_me by reconfiguring in the same conditions
16105       --file=FILE[:TEMPLATE]
16106                    instantiate the configuration file FILE
16107       --header=FILE[:TEMPLATE]
16108                    instantiate the configuration header FILE
16109
16110 Configuration files:
16111 $config_files
16112
16113 Configuration headers:
16114 $config_headers
16115
16116 Configuration commands:
16117 $config_commands
16118
16119 Report bugs to the package provider.
16120 gsignond home page: <http://01.org/gsso>."
16121
16122 _ACEOF
16123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16124 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16125 ac_cs_version="\\
16126 gsignond config.status 1.0.1
16127 configured by $0, generated by GNU Autoconf 2.69,
16128   with options \\"\$ac_cs_config\\"
16129
16130 Copyright (C) 2012 Free Software Foundation, Inc.
16131 This config.status script is free software; the Free Software Foundation
16132 gives unlimited permission to copy, distribute and modify it."
16133
16134 ac_pwd='$ac_pwd'
16135 srcdir='$srcdir'
16136 INSTALL='$INSTALL'
16137 MKDIR_P='$MKDIR_P'
16138 AWK='$AWK'
16139 test -n "\$AWK" || AWK=awk
16140 _ACEOF
16141
16142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16143 # The default lists apply if the user does not specify any file.
16144 ac_need_defaults=:
16145 while test $# != 0
16146 do
16147   case $1 in
16148   --*=?*)
16149     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16150     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16151     ac_shift=:
16152     ;;
16153   --*=)
16154     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16155     ac_optarg=
16156     ac_shift=:
16157     ;;
16158   *)
16159     ac_option=$1
16160     ac_optarg=$2
16161     ac_shift=shift
16162     ;;
16163   esac
16164
16165   case $ac_option in
16166   # Handling of the options.
16167   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16168     ac_cs_recheck=: ;;
16169   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16170     $as_echo "$ac_cs_version"; exit ;;
16171   --config | --confi | --conf | --con | --co | --c )
16172     $as_echo "$ac_cs_config"; exit ;;
16173   --debug | --debu | --deb | --de | --d | -d )
16174     debug=: ;;
16175   --file | --fil | --fi | --f )
16176     $ac_shift
16177     case $ac_optarg in
16178     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16179     '') as_fn_error $? "missing file argument" ;;
16180     esac
16181     as_fn_append CONFIG_FILES " '$ac_optarg'"
16182     ac_need_defaults=false;;
16183   --header | --heade | --head | --hea )
16184     $ac_shift
16185     case $ac_optarg in
16186     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16187     esac
16188     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16189     ac_need_defaults=false;;
16190   --he | --h)
16191     # Conflict between --help and --header
16192     as_fn_error $? "ambiguous option: \`$1'
16193 Try \`$0 --help' for more information.";;
16194   --help | --hel | -h )
16195     $as_echo "$ac_cs_usage"; exit ;;
16196   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16197   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16198     ac_cs_silent=: ;;
16199
16200   # This is an error.
16201   -*) as_fn_error $? "unrecognized option: \`$1'
16202 Try \`$0 --help' for more information." ;;
16203
16204   *) as_fn_append ac_config_targets " $1"
16205      ac_need_defaults=false ;;
16206
16207   esac
16208   shift
16209 done
16210
16211 ac_configure_extra_args=
16212
16213 if $ac_cs_silent; then
16214   exec 6>/dev/null
16215   ac_configure_extra_args="$ac_configure_extra_args --silent"
16216 fi
16217
16218 _ACEOF
16219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16220 if \$ac_cs_recheck; then
16221   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16222   shift
16223   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16224   CONFIG_SHELL='$SHELL'
16225   export CONFIG_SHELL
16226   exec "\$@"
16227 fi
16228
16229 _ACEOF
16230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16231 exec 5>>config.log
16232 {
16233   echo
16234   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16235 ## Running $as_me. ##
16236 _ASBOX
16237   $as_echo "$ac_log"
16238 } >&5
16239
16240 _ACEOF
16241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16242 #
16243 # INIT-COMMANDS
16244 #
16245 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16246
16247
16248 # The HP-UX ksh and POSIX shell print the target directory to stdout
16249 # if CDPATH is set.
16250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16251
16252 sed_quote_subst='$sed_quote_subst'
16253 double_quote_subst='$double_quote_subst'
16254 delay_variable_subst='$delay_variable_subst'
16255 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16256 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16257 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16258 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16259 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16260 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16261 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16262 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16263 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16264 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16265 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16266 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16267 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16268 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16269 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16270 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16271 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16272 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16273 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16274 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16275 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16276 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16277 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16278 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16279 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16280 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16281 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16282 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16283 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16284 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16285 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16286 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16287 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16288 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16289 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16290 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16291 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16292 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16293 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16294 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16295 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16296 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16297 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16298 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16299 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16300 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16301 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16302 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16303 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16304 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16305 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16306 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16307 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16308 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16309 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16310 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16311 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"`'
16312 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16313 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16314 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16315 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16316 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16317 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16318 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16319 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16320 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16321 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16322 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16323 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16324 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16325 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16326 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16327 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16328 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16329 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16330 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16331 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16332 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16333 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16334 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16335 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16336 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16337 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16338 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16339 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16340 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16341 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16342 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16343 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16344 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16345 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16346 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16347 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16348 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16349 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16350 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16351 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16352 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16353 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16354 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16355 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16356 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16357 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16358 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16359 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16360 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16361 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16362 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16363 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16364 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16365 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16366 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16367 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16368 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16369 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16370 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16371 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16372 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16373 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16374 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16375 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16376 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16377 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16378 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16379 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16380 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16381 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16382 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16383 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16384 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16385
16386 LTCC='$LTCC'
16387 LTCFLAGS='$LTCFLAGS'
16388 compiler='$compiler_DEFAULT'
16389
16390 # A function that is used when there is no print builtin or printf.
16391 func_fallback_echo ()
16392 {
16393   eval 'cat <<_LTECHO_EOF
16394 \$1
16395 _LTECHO_EOF'
16396 }
16397
16398 # Quote evaled strings.
16399 for var in SHELL \
16400 ECHO \
16401 PATH_SEPARATOR \
16402 SED \
16403 GREP \
16404 EGREP \
16405 FGREP \
16406 LD \
16407 NM \
16408 LN_S \
16409 lt_SP2NL \
16410 lt_NL2SP \
16411 reload_flag \
16412 OBJDUMP \
16413 deplibs_check_method \
16414 file_magic_cmd \
16415 file_magic_glob \
16416 want_nocaseglob \
16417 DLLTOOL \
16418 sharedlib_from_linklib_cmd \
16419 AR \
16420 AR_FLAGS \
16421 archiver_list_spec \
16422 STRIP \
16423 RANLIB \
16424 CC \
16425 CFLAGS \
16426 compiler \
16427 lt_cv_sys_global_symbol_pipe \
16428 lt_cv_sys_global_symbol_to_cdecl \
16429 lt_cv_sys_global_symbol_to_c_name_address \
16430 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16431 nm_file_list_spec \
16432 lt_prog_compiler_no_builtin_flag \
16433 lt_prog_compiler_pic \
16434 lt_prog_compiler_wl \
16435 lt_prog_compiler_static \
16436 lt_cv_prog_compiler_c_o \
16437 need_locks \
16438 MANIFEST_TOOL \
16439 DSYMUTIL \
16440 NMEDIT \
16441 LIPO \
16442 OTOOL \
16443 OTOOL64 \
16444 shrext_cmds \
16445 export_dynamic_flag_spec \
16446 whole_archive_flag_spec \
16447 compiler_needs_object \
16448 with_gnu_ld \
16449 allow_undefined_flag \
16450 no_undefined_flag \
16451 hardcode_libdir_flag_spec \
16452 hardcode_libdir_separator \
16453 exclude_expsyms \
16454 include_expsyms \
16455 file_list_spec \
16456 variables_saved_for_relink \
16457 libname_spec \
16458 library_names_spec \
16459 soname_spec \
16460 install_override_mode \
16461 finish_eval \
16462 old_striplib \
16463 striplib; do
16464     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16465     *[\\\\\\\`\\"\\\$]*)
16466       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16467       ;;
16468     *)
16469       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16470       ;;
16471     esac
16472 done
16473
16474 # Double-quote double-evaled strings.
16475 for var in reload_cmds \
16476 old_postinstall_cmds \
16477 old_postuninstall_cmds \
16478 old_archive_cmds \
16479 extract_expsyms_cmds \
16480 old_archive_from_new_cmds \
16481 old_archive_from_expsyms_cmds \
16482 archive_cmds \
16483 archive_expsym_cmds \
16484 module_cmds \
16485 module_expsym_cmds \
16486 export_symbols_cmds \
16487 prelink_cmds \
16488 postlink_cmds \
16489 postinstall_cmds \
16490 postuninstall_cmds \
16491 finish_cmds \
16492 sys_lib_search_path_spec \
16493 sys_lib_dlsearch_path_spec; do
16494     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16495     *[\\\\\\\`\\"\\\$]*)
16496       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16497       ;;
16498     *)
16499       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16500       ;;
16501     esac
16502 done
16503
16504 ac_aux_dir='$ac_aux_dir'
16505 xsi_shell='$xsi_shell'
16506 lt_shell_append='$lt_shell_append'
16507
16508 # See if we are running on zsh, and set the options which allow our
16509 # commands through without removal of \ escapes INIT.
16510 if test -n "\${ZSH_VERSION+set}" ; then
16511    setopt NO_GLOB_SUBST
16512 fi
16513
16514
16515     PACKAGE='$PACKAGE'
16516     VERSION='$VERSION'
16517     TIMESTAMP='$TIMESTAMP'
16518     RM='$RM'
16519     ofile='$ofile'
16520
16521 ac_aux_dir='$ac_aux_dir'
16522
16523
16524
16525 _ACEOF
16526
16527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16528
16529 # Handling of arguments.
16530 for ac_config_target in $ac_config_targets
16531 do
16532   case $ac_config_target in
16533     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16534     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16535     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16536     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16537     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16538     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16539     "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
16540     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16541     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16542     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16543     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16544     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16545     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16546     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16547     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16548     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16549     "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
16550     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16551     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16552     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16553     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16554     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16555     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16556     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16557     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16558     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16559     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16560     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16561     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16562     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16563     "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16564
16565   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16566   esac
16567 done
16568
16569
16570 # If the user did not use the arguments to specify the items to instantiate,
16571 # then the envvar interface is used.  Set only those that are not.
16572 # We use the long form for the default assignment because of an extremely
16573 # bizarre bug on SunOS 4.1.3.
16574 if $ac_need_defaults; then
16575   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16576   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16577   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16578 fi
16579
16580 # Have a temporary directory for convenience.  Make it in the build tree
16581 # simply because there is no reason against having it here, and in addition,
16582 # creating and moving files from /tmp can sometimes cause problems.
16583 # Hook for its removal unless debugging.
16584 # Note that there is a small window in which the directory will not be cleaned:
16585 # after its creation but before its name has been assigned to `$tmp'.
16586 $debug ||
16587 {
16588   tmp= ac_tmp=
16589   trap 'exit_status=$?
16590   : "${ac_tmp:=$tmp}"
16591   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16592 ' 0
16593   trap 'as_fn_exit 1' 1 2 13 15
16594 }
16595 # Create a (secure) tmp directory for tmp files.
16596
16597 {
16598   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16599   test -d "$tmp"
16600 }  ||
16601 {
16602   tmp=./conf$$-$RANDOM
16603   (umask 077 && mkdir "$tmp")
16604 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16605 ac_tmp=$tmp
16606
16607 # Set up the scripts for CONFIG_FILES section.
16608 # No need to generate them if there are no CONFIG_FILES.
16609 # This happens for instance with `./config.status config.h'.
16610 if test -n "$CONFIG_FILES"; then
16611
16612
16613 ac_cr=`echo X | tr X '\015'`
16614 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16615 # But we know of no other shell where ac_cr would be empty at this
16616 # point, so we can use a bashism as a fallback.
16617 if test "x$ac_cr" = x; then
16618   eval ac_cr=\$\'\\r\'
16619 fi
16620 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16621 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16622   ac_cs_awk_cr='\\r'
16623 else
16624   ac_cs_awk_cr=$ac_cr
16625 fi
16626
16627 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16628 _ACEOF
16629
16630
16631 {
16632   echo "cat >conf$$subs.awk <<_ACEOF" &&
16633   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16634   echo "_ACEOF"
16635 } >conf$$subs.sh ||
16636   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16637 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16638 ac_delim='%!_!# '
16639 for ac_last_try in false false false false false :; do
16640   . ./conf$$subs.sh ||
16641     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16642
16643   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16644   if test $ac_delim_n = $ac_delim_num; then
16645     break
16646   elif $ac_last_try; then
16647     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16648   else
16649     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16650   fi
16651 done
16652 rm -f conf$$subs.sh
16653
16654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16655 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16656 _ACEOF
16657 sed -n '
16658 h
16659 s/^/S["/; s/!.*/"]=/
16660 p
16661 g
16662 s/^[^!]*!//
16663 :repl
16664 t repl
16665 s/'"$ac_delim"'$//
16666 t delim
16667 :nl
16668 h
16669 s/\(.\{148\}\)..*/\1/
16670 t more1
16671 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16672 p
16673 n
16674 b repl
16675 :more1
16676 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16677 p
16678 g
16679 s/.\{148\}//
16680 t nl
16681 :delim
16682 h
16683 s/\(.\{148\}\)..*/\1/
16684 t more2
16685 s/["\\]/\\&/g; s/^/"/; s/$/"/
16686 p
16687 b
16688 :more2
16689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16690 p
16691 g
16692 s/.\{148\}//
16693 t delim
16694 ' <conf$$subs.awk | sed '
16695 /^[^""]/{
16696   N
16697   s/\n//
16698 }
16699 ' >>$CONFIG_STATUS || ac_write_fail=1
16700 rm -f conf$$subs.awk
16701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16702 _ACAWK
16703 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16704   for (key in S) S_is_set[key] = 1
16705   FS = "\a"
16706
16707 }
16708 {
16709   line = $ 0
16710   nfields = split(line, field, "@")
16711   substed = 0
16712   len = length(field[1])
16713   for (i = 2; i < nfields; i++) {
16714     key = field[i]
16715     keylen = length(key)
16716     if (S_is_set[key]) {
16717       value = S[key]
16718       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16719       len += length(value) + length(field[++i])
16720       substed = 1
16721     } else
16722       len += 1 + keylen
16723   }
16724
16725   print line
16726 }
16727
16728 _ACAWK
16729 _ACEOF
16730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16731 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16732   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16733 else
16734   cat
16735 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16736   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16737 _ACEOF
16738
16739 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16740 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16741 # trailing colons and then remove the whole line if VPATH becomes empty
16742 # (actually we leave an empty line to preserve line numbers).
16743 if test "x$srcdir" = x.; then
16744   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16745 h
16746 s///
16747 s/^/:/
16748 s/[      ]*$/:/
16749 s/:\$(srcdir):/:/g
16750 s/:\${srcdir}:/:/g
16751 s/:@srcdir@:/:/g
16752 s/^:*//
16753 s/:*$//
16754 x
16755 s/\(=[   ]*\).*/\1/
16756 G
16757 s/\n//
16758 s/^[^=]*=[       ]*$//
16759 }'
16760 fi
16761
16762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16763 fi # test -n "$CONFIG_FILES"
16764
16765 # Set up the scripts for CONFIG_HEADERS section.
16766 # No need to generate them if there are no CONFIG_HEADERS.
16767 # This happens for instance with `./config.status Makefile'.
16768 if test -n "$CONFIG_HEADERS"; then
16769 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16770 BEGIN {
16771 _ACEOF
16772
16773 # Transform confdefs.h into an awk script `defines.awk', embedded as
16774 # here-document in config.status, that substitutes the proper values into
16775 # config.h.in to produce config.h.
16776
16777 # Create a delimiter string that does not exist in confdefs.h, to ease
16778 # handling of long lines.
16779 ac_delim='%!_!# '
16780 for ac_last_try in false false :; do
16781   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16782   if test -z "$ac_tt"; then
16783     break
16784   elif $ac_last_try; then
16785     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16786   else
16787     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16788   fi
16789 done
16790
16791 # For the awk script, D is an array of macro values keyed by name,
16792 # likewise P contains macro parameters if any.  Preserve backslash
16793 # newline sequences.
16794
16795 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16796 sed -n '
16797 s/.\{148\}/&'"$ac_delim"'/g
16798 t rset
16799 :rset
16800 s/^[     ]*#[    ]*define[       ][      ]*/ /
16801 t def
16802 d
16803 :def
16804 s/\\$//
16805 t bsnl
16806 s/["\\]/\\&/g
16807 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16808 D["\1"]=" \3"/p
16809 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16810 d
16811 :bsnl
16812 s/["\\]/\\&/g
16813 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16814 D["\1"]=" \3\\\\\\n"\\/p
16815 t cont
16816 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16817 t cont
16818 d
16819 :cont
16820 n
16821 s/.\{148\}/&'"$ac_delim"'/g
16822 t clear
16823 :clear
16824 s/\\$//
16825 t bsnlc
16826 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16827 d
16828 :bsnlc
16829 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16830 b cont
16831 ' <confdefs.h | sed '
16832 s/'"$ac_delim"'/"\\\
16833 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16834
16835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16836   for (key in D) D_is_set[key] = 1
16837   FS = "\a"
16838 }
16839 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16840   line = \$ 0
16841   split(line, arg, " ")
16842   if (arg[1] == "#") {
16843     defundef = arg[2]
16844     mac1 = arg[3]
16845   } else {
16846     defundef = substr(arg[1], 2)
16847     mac1 = arg[2]
16848   }
16849   split(mac1, mac2, "(") #)
16850   macro = mac2[1]
16851   prefix = substr(line, 1, index(line, defundef) - 1)
16852   if (D_is_set[macro]) {
16853     # Preserve the white space surrounding the "#".
16854     print prefix "define", macro P[macro] D[macro]
16855     next
16856   } else {
16857     # Replace #undef with comments.  This is necessary, for example,
16858     # in the case of _POSIX_SOURCE, which is predefined and required
16859     # on some systems where configure will not decide to define it.
16860     if (defundef == "undef") {
16861       print "/*", prefix defundef, macro, "*/"
16862       next
16863     }
16864   }
16865 }
16866 { print }
16867 _ACAWK
16868 _ACEOF
16869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16870   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16871 fi # test -n "$CONFIG_HEADERS"
16872
16873
16874 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16875 shift
16876 for ac_tag
16877 do
16878   case $ac_tag in
16879   :[FHLC]) ac_mode=$ac_tag; continue;;
16880   esac
16881   case $ac_mode$ac_tag in
16882   :[FHL]*:*);;
16883   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16884   :[FH]-) ac_tag=-:-;;
16885   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16886   esac
16887   ac_save_IFS=$IFS
16888   IFS=:
16889   set x $ac_tag
16890   IFS=$ac_save_IFS
16891   shift
16892   ac_file=$1
16893   shift
16894
16895   case $ac_mode in
16896   :L) ac_source=$1;;
16897   :[FH])
16898     ac_file_inputs=
16899     for ac_f
16900     do
16901       case $ac_f in
16902       -) ac_f="$ac_tmp/stdin";;
16903       *) # Look for the file first in the build tree, then in the source tree
16904          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16905          # because $ac_f cannot contain `:'.
16906          test -f "$ac_f" ||
16907            case $ac_f in
16908            [\\/$]*) false;;
16909            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16910            esac ||
16911            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16912       esac
16913       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16914       as_fn_append ac_file_inputs " '$ac_f'"
16915     done
16916
16917     # Let's still pretend it is `configure' which instantiates (i.e., don't
16918     # use $as_me), people would be surprised to read:
16919     #    /* config.h.  Generated by config.status.  */
16920     configure_input='Generated from '`
16921           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16922         `' by configure.'
16923     if test x"$ac_file" != x-; then
16924       configure_input="$ac_file.  $configure_input"
16925       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16926 $as_echo "$as_me: creating $ac_file" >&6;}
16927     fi
16928     # Neutralize special characters interpreted by sed in replacement strings.
16929     case $configure_input in #(
16930     *\&* | *\|* | *\\* )
16931        ac_sed_conf_input=`$as_echo "$configure_input" |
16932        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16933     *) ac_sed_conf_input=$configure_input;;
16934     esac
16935
16936     case $ac_tag in
16937     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16938       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16939     esac
16940     ;;
16941   esac
16942
16943   ac_dir=`$as_dirname -- "$ac_file" ||
16944 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16945          X"$ac_file" : 'X\(//\)[^/]' \| \
16946          X"$ac_file" : 'X\(//\)$' \| \
16947          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16948 $as_echo X"$ac_file" |
16949     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16950             s//\1/
16951             q
16952           }
16953           /^X\(\/\/\)[^/].*/{
16954             s//\1/
16955             q
16956           }
16957           /^X\(\/\/\)$/{
16958             s//\1/
16959             q
16960           }
16961           /^X\(\/\).*/{
16962             s//\1/
16963             q
16964           }
16965           s/.*/./; q'`
16966   as_dir="$ac_dir"; as_fn_mkdir_p
16967   ac_builddir=.
16968
16969 case "$ac_dir" in
16970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16971 *)
16972   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16973   # A ".." for each directory in $ac_dir_suffix.
16974   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16975   case $ac_top_builddir_sub in
16976   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16977   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16978   esac ;;
16979 esac
16980 ac_abs_top_builddir=$ac_pwd
16981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16982 # for backward compatibility:
16983 ac_top_builddir=$ac_top_build_prefix
16984
16985 case $srcdir in
16986   .)  # We are building in place.
16987     ac_srcdir=.
16988     ac_top_srcdir=$ac_top_builddir_sub
16989     ac_abs_top_srcdir=$ac_pwd ;;
16990   [\\/]* | ?:[\\/]* )  # Absolute name.
16991     ac_srcdir=$srcdir$ac_dir_suffix;
16992     ac_top_srcdir=$srcdir
16993     ac_abs_top_srcdir=$srcdir ;;
16994   *) # Relative name.
16995     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16996     ac_top_srcdir=$ac_top_build_prefix$srcdir
16997     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16998 esac
16999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17000
17001
17002   case $ac_mode in
17003   :F)
17004   #
17005   # CONFIG_FILE
17006   #
17007
17008   case $INSTALL in
17009   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17010   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17011   esac
17012   ac_MKDIR_P=$MKDIR_P
17013   case $MKDIR_P in
17014   [\\/$]* | ?:[\\/]* ) ;;
17015   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17016   esac
17017 _ACEOF
17018
17019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17020 # If the template does not know about datarootdir, expand it.
17021 # FIXME: This hack should be removed a few years after 2.60.
17022 ac_datarootdir_hack=; ac_datarootdir_seen=
17023 ac_sed_dataroot='
17024 /datarootdir/ {
17025   p
17026   q
17027 }
17028 /@datadir@/p
17029 /@docdir@/p
17030 /@infodir@/p
17031 /@localedir@/p
17032 /@mandir@/p'
17033 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17034 *datarootdir*) ac_datarootdir_seen=yes;;
17035 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17036   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17037 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17038 _ACEOF
17039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17040   ac_datarootdir_hack='
17041   s&@datadir@&$datadir&g
17042   s&@docdir@&$docdir&g
17043   s&@infodir@&$infodir&g
17044   s&@localedir@&$localedir&g
17045   s&@mandir@&$mandir&g
17046   s&\\\${datarootdir}&$datarootdir&g' ;;
17047 esac
17048 _ACEOF
17049
17050 # Neutralize VPATH when `$srcdir' = `.'.
17051 # Shell code in configure.ac might set extrasub.
17052 # FIXME: do we really want to maintain this feature?
17053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17054 ac_sed_extra="$ac_vpsub
17055 $extrasub
17056 _ACEOF
17057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17058 :t
17059 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17060 s|@configure_input@|$ac_sed_conf_input|;t t
17061 s&@top_builddir@&$ac_top_builddir_sub&;t t
17062 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17063 s&@srcdir@&$ac_srcdir&;t t
17064 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17065 s&@top_srcdir@&$ac_top_srcdir&;t t
17066 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17067 s&@builddir@&$ac_builddir&;t t
17068 s&@abs_builddir@&$ac_abs_builddir&;t t
17069 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17070 s&@INSTALL@&$ac_INSTALL&;t t
17071 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17072 $ac_datarootdir_hack
17073 "
17074 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17075   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17076
17077 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17078   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17079   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17080       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17081   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17082 which seems to be undefined.  Please make sure it is defined" >&5
17083 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17084 which seems to be undefined.  Please make sure it is defined" >&2;}
17085
17086   rm -f "$ac_tmp/stdin"
17087   case $ac_file in
17088   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17089   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17090   esac \
17091   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17092  ;;
17093   :H)
17094   #
17095   # CONFIG_HEADER
17096   #
17097   if test x"$ac_file" != x-; then
17098     {
17099       $as_echo "/* $configure_input  */" \
17100       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17101     } >"$ac_tmp/config.h" \
17102       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17103     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17104       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17105 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17106     else
17107       rm -f "$ac_file"
17108       mv "$ac_tmp/config.h" "$ac_file" \
17109         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17110     fi
17111   else
17112     $as_echo "/* $configure_input  */" \
17113       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17114       || as_fn_error $? "could not create -" "$LINENO" 5
17115   fi
17116 # Compute "$ac_file"'s index in $config_headers.
17117 _am_arg="$ac_file"
17118 _am_stamp_count=1
17119 for _am_header in $config_headers :; do
17120   case $_am_header in
17121     $_am_arg | $_am_arg:* )
17122       break ;;
17123     * )
17124       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17125   esac
17126 done
17127 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17128 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17129          X"$_am_arg" : 'X\(//\)[^/]' \| \
17130          X"$_am_arg" : 'X\(//\)$' \| \
17131          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17132 $as_echo X"$_am_arg" |
17133     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17134             s//\1/
17135             q
17136           }
17137           /^X\(\/\/\)[^/].*/{
17138             s//\1/
17139             q
17140           }
17141           /^X\(\/\/\)$/{
17142             s//\1/
17143             q
17144           }
17145           /^X\(\/\).*/{
17146             s//\1/
17147             q
17148           }
17149           s/.*/./; q'`/stamp-h$_am_stamp_count
17150  ;;
17151
17152   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17153 $as_echo "$as_me: executing $ac_file commands" >&6;}
17154  ;;
17155   esac
17156
17157
17158   case $ac_file$ac_mode in
17159     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17160   # Older Autoconf quotes --file arguments for eval, but not when files
17161   # are listed without --file.  Let's play safe and only enable the eval
17162   # if we detect the quoting.
17163   case $CONFIG_FILES in
17164   *\'*) eval set x "$CONFIG_FILES" ;;
17165   *)   set x $CONFIG_FILES ;;
17166   esac
17167   shift
17168   for mf
17169   do
17170     # Strip MF so we end up with the name of the file.
17171     mf=`echo "$mf" | sed -e 's/:.*$//'`
17172     # Check whether this is an Automake generated Makefile or not.
17173     # We used to match only the files named 'Makefile.in', but
17174     # some people rename them; so instead we look at the file content.
17175     # Grep'ing the first line is not enough: some people post-process
17176     # each Makefile.in and add a new line on top of each file to say so.
17177     # Grep'ing the whole file is not good either: AIX grep has a line
17178     # limit of 2048, but all sed's we know have understand at least 4000.
17179     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17180       dirpart=`$as_dirname -- "$mf" ||
17181 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17182          X"$mf" : 'X\(//\)[^/]' \| \
17183          X"$mf" : 'X\(//\)$' \| \
17184          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17185 $as_echo X"$mf" |
17186     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17187             s//\1/
17188             q
17189           }
17190           /^X\(\/\/\)[^/].*/{
17191             s//\1/
17192             q
17193           }
17194           /^X\(\/\/\)$/{
17195             s//\1/
17196             q
17197           }
17198           /^X\(\/\).*/{
17199             s//\1/
17200             q
17201           }
17202           s/.*/./; q'`
17203     else
17204       continue
17205     fi
17206     # Extract the definition of DEPDIR, am__include, and am__quote
17207     # from the Makefile without running 'make'.
17208     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17209     test -z "$DEPDIR" && continue
17210     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17211     test -z "$am__include" && continue
17212     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17213     # Find all dependency output files, they are included files with
17214     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17215     # simplest approach to changing $(DEPDIR) to its actual value in the
17216     # expansion.
17217     for file in `sed -n "
17218       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17219          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17220       # Make sure the directory exists.
17221       test -f "$dirpart/$file" && continue
17222       fdir=`$as_dirname -- "$file" ||
17223 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17224          X"$file" : 'X\(//\)[^/]' \| \
17225          X"$file" : 'X\(//\)$' \| \
17226          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17227 $as_echo X"$file" |
17228     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17229             s//\1/
17230             q
17231           }
17232           /^X\(\/\/\)[^/].*/{
17233             s//\1/
17234             q
17235           }
17236           /^X\(\/\/\)$/{
17237             s//\1/
17238             q
17239           }
17240           /^X\(\/\).*/{
17241             s//\1/
17242             q
17243           }
17244           s/.*/./; q'`
17245       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17246       # echo "creating $dirpart/$file"
17247       echo '# dummy' > "$dirpart/$file"
17248     done
17249   done
17250 }
17251  ;;
17252     "libtool":C)
17253
17254     # See if we are running on zsh, and set the options which allow our
17255     # commands through without removal of \ escapes.
17256     if test -n "${ZSH_VERSION+set}" ; then
17257       setopt NO_GLOB_SUBST
17258     fi
17259
17260     cfgfile="${ofile}T"
17261     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17262     $RM "$cfgfile"
17263
17264     cat <<_LT_EOF >> "$cfgfile"
17265 #! $SHELL
17266
17267 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17268 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17269 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17270 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17271 #
17272 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17273 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17274 #                 Foundation, Inc.
17275 #   Written by Gordon Matzigkeit, 1996
17276 #
17277 #   This file is part of GNU Libtool.
17278 #
17279 # GNU Libtool is free software; you can redistribute it and/or
17280 # modify it under the terms of the GNU General Public License as
17281 # published by the Free Software Foundation; either version 2 of
17282 # the License, or (at your option) any later version.
17283 #
17284 # As a special exception to the GNU General Public License,
17285 # if you distribute this file as part of a program or library that
17286 # is built using GNU Libtool, you may include this file under the
17287 # same distribution terms that you use for the rest of that program.
17288 #
17289 # GNU Libtool is distributed in the hope that it will be useful,
17290 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17291 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17292 # GNU General Public License for more details.
17293 #
17294 # You should have received a copy of the GNU General Public License
17295 # along with GNU Libtool; see the file COPYING.  If not, a copy
17296 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17297 # obtained by writing to the Free Software Foundation, Inc.,
17298 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17299
17300
17301 # The names of the tagged configurations supported by this script.
17302 available_tags=""
17303
17304 # ### BEGIN LIBTOOL CONFIG
17305
17306 # Which release of libtool.m4 was used?
17307 macro_version=$macro_version
17308 macro_revision=$macro_revision
17309
17310 # Whether or not to build static libraries.
17311 build_old_libs=$enable_static
17312
17313 # Whether or not to build shared libraries.
17314 build_libtool_libs=$enable_shared
17315
17316 # What type of objects to build.
17317 pic_mode=$pic_mode
17318
17319 # Whether or not to optimize for fast installation.
17320 fast_install=$enable_fast_install
17321
17322 # Shell to use when invoking shell scripts.
17323 SHELL=$lt_SHELL
17324
17325 # An echo program that protects backslashes.
17326 ECHO=$lt_ECHO
17327
17328 # The PATH separator for the build system.
17329 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17330
17331 # The host system.
17332 host_alias=$host_alias
17333 host=$host
17334 host_os=$host_os
17335
17336 # The build system.
17337 build_alias=$build_alias
17338 build=$build
17339 build_os=$build_os
17340
17341 # A sed program that does not truncate output.
17342 SED=$lt_SED
17343
17344 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17345 Xsed="\$SED -e 1s/^X//"
17346
17347 # A grep program that handles long lines.
17348 GREP=$lt_GREP
17349
17350 # An ERE matcher.
17351 EGREP=$lt_EGREP
17352
17353 # A literal string matcher.
17354 FGREP=$lt_FGREP
17355
17356 # A BSD- or MS-compatible name lister.
17357 NM=$lt_NM
17358
17359 # Whether we need soft or hard links.
17360 LN_S=$lt_LN_S
17361
17362 # What is the maximum length of a command?
17363 max_cmd_len=$max_cmd_len
17364
17365 # Object file suffix (normally "o").
17366 objext=$ac_objext
17367
17368 # Executable file suffix (normally "").
17369 exeext=$exeext
17370
17371 # whether the shell understands "unset".
17372 lt_unset=$lt_unset
17373
17374 # turn spaces into newlines.
17375 SP2NL=$lt_lt_SP2NL
17376
17377 # turn newlines into spaces.
17378 NL2SP=$lt_lt_NL2SP
17379
17380 # convert \$build file names to \$host format.
17381 to_host_file_cmd=$lt_cv_to_host_file_cmd
17382
17383 # convert \$build files to toolchain format.
17384 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17385
17386 # An object symbol dumper.
17387 OBJDUMP=$lt_OBJDUMP
17388
17389 # Method to check whether dependent libraries are shared objects.
17390 deplibs_check_method=$lt_deplibs_check_method
17391
17392 # Command to use when deplibs_check_method = "file_magic".
17393 file_magic_cmd=$lt_file_magic_cmd
17394
17395 # How to find potential files when deplibs_check_method = "file_magic".
17396 file_magic_glob=$lt_file_magic_glob
17397
17398 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17399 want_nocaseglob=$lt_want_nocaseglob
17400
17401 # DLL creation program.
17402 DLLTOOL=$lt_DLLTOOL
17403
17404 # Command to associate shared and link libraries.
17405 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17406
17407 # The archiver.
17408 AR=$lt_AR
17409
17410 # Flags to create an archive.
17411 AR_FLAGS=$lt_AR_FLAGS
17412
17413 # How to feed a file listing to the archiver.
17414 archiver_list_spec=$lt_archiver_list_spec
17415
17416 # A symbol stripping program.
17417 STRIP=$lt_STRIP
17418
17419 # Commands used to install an old-style archive.
17420 RANLIB=$lt_RANLIB
17421 old_postinstall_cmds=$lt_old_postinstall_cmds
17422 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17423
17424 # Whether to use a lock for old archive extraction.
17425 lock_old_archive_extraction=$lock_old_archive_extraction
17426
17427 # A C compiler.
17428 LTCC=$lt_CC
17429
17430 # LTCC compiler flags.
17431 LTCFLAGS=$lt_CFLAGS
17432
17433 # Take the output of nm and produce a listing of raw symbols and C names.
17434 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17435
17436 # Transform the output of nm in a proper C declaration.
17437 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17438
17439 # Transform the output of nm in a C name address pair.
17440 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17441
17442 # Transform the output of nm in a C name address pair when lib prefix is needed.
17443 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17444
17445 # Specify filename containing input files for \$NM.
17446 nm_file_list_spec=$lt_nm_file_list_spec
17447
17448 # The root where to search for dependent libraries,and in which our libraries should be installed.
17449 lt_sysroot=$lt_sysroot
17450
17451 # The name of the directory that contains temporary libtool files.
17452 objdir=$objdir
17453
17454 # Used to examine libraries when file_magic_cmd begins with "file".
17455 MAGIC_CMD=$MAGIC_CMD
17456
17457 # Must we lock files when doing compilation?
17458 need_locks=$lt_need_locks
17459
17460 # Manifest tool.
17461 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17462
17463 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17464 DSYMUTIL=$lt_DSYMUTIL
17465
17466 # Tool to change global to local symbols on Mac OS X.
17467 NMEDIT=$lt_NMEDIT
17468
17469 # Tool to manipulate fat objects and archives on Mac OS X.
17470 LIPO=$lt_LIPO
17471
17472 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17473 OTOOL=$lt_OTOOL
17474
17475 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17476 OTOOL64=$lt_OTOOL64
17477
17478 # Old archive suffix (normally "a").
17479 libext=$libext
17480
17481 # Shared library suffix (normally ".so").
17482 shrext_cmds=$lt_shrext_cmds
17483
17484 # The commands to extract the exported symbol list from a shared archive.
17485 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17486
17487 # Variables whose values should be saved in libtool wrapper scripts and
17488 # restored at link time.
17489 variables_saved_for_relink=$lt_variables_saved_for_relink
17490
17491 # Do we need the "lib" prefix for modules?
17492 need_lib_prefix=$need_lib_prefix
17493
17494 # Do we need a version for libraries?
17495 need_version=$need_version
17496
17497 # Library versioning type.
17498 version_type=$version_type
17499
17500 # Shared library runtime path variable.
17501 runpath_var=$runpath_var
17502
17503 # Shared library path variable.
17504 shlibpath_var=$shlibpath_var
17505
17506 # Is shlibpath searched before the hard-coded library search path?
17507 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17508
17509 # Format of library name prefix.
17510 libname_spec=$lt_libname_spec
17511
17512 # List of archive names.  First name is the real one, the rest are links.
17513 # The last name is the one that the linker finds with -lNAME
17514 library_names_spec=$lt_library_names_spec
17515
17516 # The coded name of the library, if different from the real name.
17517 soname_spec=$lt_soname_spec
17518
17519 # Permission mode override for installation of shared libraries.
17520 install_override_mode=$lt_install_override_mode
17521
17522 # Command to use after installation of a shared archive.
17523 postinstall_cmds=$lt_postinstall_cmds
17524
17525 # Command to use after uninstallation of a shared archive.
17526 postuninstall_cmds=$lt_postuninstall_cmds
17527
17528 # Commands used to finish a libtool library installation in a directory.
17529 finish_cmds=$lt_finish_cmds
17530
17531 # As "finish_cmds", except a single script fragment to be evaled but
17532 # not shown.
17533 finish_eval=$lt_finish_eval
17534
17535 # Whether we should hardcode library paths into libraries.
17536 hardcode_into_libs=$hardcode_into_libs
17537
17538 # Compile-time system search path for libraries.
17539 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17540
17541 # Run-time system search path for libraries.
17542 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17543
17544 # Whether dlopen is supported.
17545 dlopen_support=$enable_dlopen
17546
17547 # Whether dlopen of programs is supported.
17548 dlopen_self=$enable_dlopen_self
17549
17550 # Whether dlopen of statically linked programs is supported.
17551 dlopen_self_static=$enable_dlopen_self_static
17552
17553 # Commands to strip libraries.
17554 old_striplib=$lt_old_striplib
17555 striplib=$lt_striplib
17556
17557
17558 # The linker used to build libraries.
17559 LD=$lt_LD
17560
17561 # How to create reloadable object files.
17562 reload_flag=$lt_reload_flag
17563 reload_cmds=$lt_reload_cmds
17564
17565 # Commands used to build an old-style archive.
17566 old_archive_cmds=$lt_old_archive_cmds
17567
17568 # A language specific compiler.
17569 CC=$lt_compiler
17570
17571 # Is the compiler the GNU compiler?
17572 with_gcc=$GCC
17573
17574 # Compiler flag to turn off builtin functions.
17575 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17576
17577 # Additional compiler flags for building library objects.
17578 pic_flag=$lt_lt_prog_compiler_pic
17579
17580 # How to pass a linker flag through the compiler.
17581 wl=$lt_lt_prog_compiler_wl
17582
17583 # Compiler flag to prevent dynamic linking.
17584 link_static_flag=$lt_lt_prog_compiler_static
17585
17586 # Does compiler simultaneously support -c and -o options?
17587 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17588
17589 # Whether or not to add -lc for building shared libraries.
17590 build_libtool_need_lc=$archive_cmds_need_lc
17591
17592 # Whether or not to disallow shared libs when runtime libs are static.
17593 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17594
17595 # Compiler flag to allow reflexive dlopens.
17596 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17597
17598 # Compiler flag to generate shared objects directly from archives.
17599 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17600
17601 # Whether the compiler copes with passing no objects directly.
17602 compiler_needs_object=$lt_compiler_needs_object
17603
17604 # Create an old-style archive from a shared archive.
17605 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17606
17607 # Create a temporary old-style archive to link instead of a shared archive.
17608 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17609
17610 # Commands used to build a shared archive.
17611 archive_cmds=$lt_archive_cmds
17612 archive_expsym_cmds=$lt_archive_expsym_cmds
17613
17614 # Commands used to build a loadable module if different from building
17615 # a shared archive.
17616 module_cmds=$lt_module_cmds
17617 module_expsym_cmds=$lt_module_expsym_cmds
17618
17619 # Whether we are building with GNU ld or not.
17620 with_gnu_ld=$lt_with_gnu_ld
17621
17622 # Flag that allows shared libraries with undefined symbols to be built.
17623 allow_undefined_flag=$lt_allow_undefined_flag
17624
17625 # Flag that enforces no undefined symbols.
17626 no_undefined_flag=$lt_no_undefined_flag
17627
17628 # Flag to hardcode \$libdir into a binary during linking.
17629 # This must work even if \$libdir does not exist
17630 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17631
17632 # Whether we need a single "-rpath" flag with a separated argument.
17633 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17634
17635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17636 # DIR into the resulting binary.
17637 hardcode_direct=$hardcode_direct
17638
17639 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17640 # DIR into the resulting binary and the resulting library dependency is
17641 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17642 # library is relocated.
17643 hardcode_direct_absolute=$hardcode_direct_absolute
17644
17645 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17646 # into the resulting binary.
17647 hardcode_minus_L=$hardcode_minus_L
17648
17649 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17650 # into the resulting binary.
17651 hardcode_shlibpath_var=$hardcode_shlibpath_var
17652
17653 # Set to "yes" if building a shared library automatically hardcodes DIR
17654 # into the library and all subsequent libraries and executables linked
17655 # against it.
17656 hardcode_automatic=$hardcode_automatic
17657
17658 # Set to yes if linker adds runtime paths of dependent libraries
17659 # to runtime path list.
17660 inherit_rpath=$inherit_rpath
17661
17662 # Whether libtool must link a program against all its dependency libraries.
17663 link_all_deplibs=$link_all_deplibs
17664
17665 # Set to "yes" if exported symbols are required.
17666 always_export_symbols=$always_export_symbols
17667
17668 # The commands to list exported symbols.
17669 export_symbols_cmds=$lt_export_symbols_cmds
17670
17671 # Symbols that should not be listed in the preloaded symbols.
17672 exclude_expsyms=$lt_exclude_expsyms
17673
17674 # Symbols that must always be exported.
17675 include_expsyms=$lt_include_expsyms
17676
17677 # Commands necessary for linking programs (against libraries) with templates.
17678 prelink_cmds=$lt_prelink_cmds
17679
17680 # Commands necessary for finishing linking programs.
17681 postlink_cmds=$lt_postlink_cmds
17682
17683 # Specify filename containing input files.
17684 file_list_spec=$lt_file_list_spec
17685
17686 # How to hardcode a shared library path into an executable.
17687 hardcode_action=$hardcode_action
17688
17689 # ### END LIBTOOL CONFIG
17690
17691 _LT_EOF
17692
17693   case $host_os in
17694   aix3*)
17695     cat <<\_LT_EOF >> "$cfgfile"
17696 # AIX sometimes has problems with the GCC collect2 program.  For some
17697 # reason, if we set the COLLECT_NAMES environment variable, the problems
17698 # vanish in a puff of smoke.
17699 if test "X${COLLECT_NAMES+set}" != Xset; then
17700   COLLECT_NAMES=
17701   export COLLECT_NAMES
17702 fi
17703 _LT_EOF
17704     ;;
17705   esac
17706
17707
17708 ltmain="$ac_aux_dir/ltmain.sh"
17709
17710
17711   # We use sed instead of cat because bash on DJGPP gets confused if
17712   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17713   # text mode, it properly converts lines to CR/LF.  This bash problem
17714   # is reportedly fixed, but why not run on old versions too?
17715   sed '$q' "$ltmain" >> "$cfgfile" \
17716      || (rm -f "$cfgfile"; exit 1)
17717
17718   if test x"$xsi_shell" = xyes; then
17719   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17720 func_dirname ()\
17721 {\
17722 \    case ${1} in\
17723 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17724 \      *  ) func_dirname_result="${3}" ;;\
17725 \    esac\
17726 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17727   && mv -f "$cfgfile.tmp" "$cfgfile" \
17728     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17729 test 0 -eq $? || _lt_function_replace_fail=:
17730
17731
17732   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17733 func_basename ()\
17734 {\
17735 \    func_basename_result="${1##*/}"\
17736 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17737   && mv -f "$cfgfile.tmp" "$cfgfile" \
17738     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17739 test 0 -eq $? || _lt_function_replace_fail=:
17740
17741
17742   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17743 func_dirname_and_basename ()\
17744 {\
17745 \    case ${1} in\
17746 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17747 \      *  ) func_dirname_result="${3}" ;;\
17748 \    esac\
17749 \    func_basename_result="${1##*/}"\
17750 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17751   && mv -f "$cfgfile.tmp" "$cfgfile" \
17752     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17753 test 0 -eq $? || _lt_function_replace_fail=:
17754
17755
17756   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17757 func_stripname ()\
17758 {\
17759 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17760 \    # positional parameters, so assign one to ordinary parameter first.\
17761 \    func_stripname_result=${3}\
17762 \    func_stripname_result=${func_stripname_result#"${1}"}\
17763 \    func_stripname_result=${func_stripname_result%"${2}"}\
17764 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17765   && mv -f "$cfgfile.tmp" "$cfgfile" \
17766     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17767 test 0 -eq $? || _lt_function_replace_fail=:
17768
17769
17770   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17771 func_split_long_opt ()\
17772 {\
17773 \    func_split_long_opt_name=${1%%=*}\
17774 \    func_split_long_opt_arg=${1#*=}\
17775 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17776   && mv -f "$cfgfile.tmp" "$cfgfile" \
17777     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17778 test 0 -eq $? || _lt_function_replace_fail=:
17779
17780
17781   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17782 func_split_short_opt ()\
17783 {\
17784 \    func_split_short_opt_arg=${1#??}\
17785 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17786 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17787   && mv -f "$cfgfile.tmp" "$cfgfile" \
17788     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17789 test 0 -eq $? || _lt_function_replace_fail=:
17790
17791
17792   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17793 func_lo2o ()\
17794 {\
17795 \    case ${1} in\
17796 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17797 \      *)    func_lo2o_result=${1} ;;\
17798 \    esac\
17799 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17800   && mv -f "$cfgfile.tmp" "$cfgfile" \
17801     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17802 test 0 -eq $? || _lt_function_replace_fail=:
17803
17804
17805   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17806 func_xform ()\
17807 {\
17808     func_xform_result=${1%.*}.lo\
17809 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17810   && mv -f "$cfgfile.tmp" "$cfgfile" \
17811     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17812 test 0 -eq $? || _lt_function_replace_fail=:
17813
17814
17815   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17816 func_arith ()\
17817 {\
17818     func_arith_result=$(( $* ))\
17819 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17820   && mv -f "$cfgfile.tmp" "$cfgfile" \
17821     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17822 test 0 -eq $? || _lt_function_replace_fail=:
17823
17824
17825   sed -e '/^func_len ()$/,/^} # func_len /c\
17826 func_len ()\
17827 {\
17828     func_len_result=${#1}\
17829 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17830   && mv -f "$cfgfile.tmp" "$cfgfile" \
17831     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17832 test 0 -eq $? || _lt_function_replace_fail=:
17833
17834 fi
17835
17836 if test x"$lt_shell_append" = xyes; then
17837   sed -e '/^func_append ()$/,/^} # func_append /c\
17838 func_append ()\
17839 {\
17840     eval "${1}+=\\${2}"\
17841 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17842   && mv -f "$cfgfile.tmp" "$cfgfile" \
17843     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17844 test 0 -eq $? || _lt_function_replace_fail=:
17845
17846
17847   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17848 func_append_quoted ()\
17849 {\
17850 \    func_quote_for_eval "${2}"\
17851 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17852 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17853   && mv -f "$cfgfile.tmp" "$cfgfile" \
17854     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17855 test 0 -eq $? || _lt_function_replace_fail=:
17856
17857
17858   # Save a `func_append' function call where possible by direct use of '+='
17859   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17860     && mv -f "$cfgfile.tmp" "$cfgfile" \
17861       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17862   test 0 -eq $? || _lt_function_replace_fail=:
17863 else
17864   # Save a `func_append' function call even when '+=' is not available
17865   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17866     && mv -f "$cfgfile.tmp" "$cfgfile" \
17867       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17868   test 0 -eq $? || _lt_function_replace_fail=:
17869 fi
17870
17871 if test x"$_lt_function_replace_fail" = x":"; then
17872   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17873 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17874 fi
17875
17876
17877    mv -f "$cfgfile" "$ofile" ||
17878     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17879   chmod +x "$ofile"
17880
17881  ;;
17882
17883   esac
17884 done # for ac_tag
17885
17886
17887 as_fn_exit 0
17888 _ACEOF
17889 ac_clean_files=$ac_clean_files_save
17890
17891 test $ac_write_fail = 0 ||
17892   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17893
17894
17895 # configure is writing to config.log, and then calls config.status.
17896 # config.status does its own redirection, appending to config.log.
17897 # Unfortunately, on DOS this fails, as config.log is still kept open
17898 # by configure, so config.status won't be able to write to it; its
17899 # output is simply discarded.  So we exec the FD to /dev/null,
17900 # effectively closing config.log, so it can be properly (re)opened and
17901 # appended to by config.status.  When coming back to configure, we
17902 # need to make the FD available again.
17903 if test "$no_create" != yes; then
17904   ac_cs_success=:
17905   ac_config_status_args=
17906   test "$silent" = yes &&
17907     ac_config_status_args="$ac_config_status_args --quiet"
17908   exec 5>/dev/null
17909   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17910   exec 5>>config.log
17911   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17912   # would make configure fail if this is the last instruction.
17913   $ac_cs_success || as_fn_exit 1
17914 fi
17915 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17916   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17917 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17918 fi
17919
17920 fi