Import upstream version 1.7.7
[platform/upstream/edbus.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for e_dbus 1.7.7.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='e_dbus'
572 PACKAGE_TARNAME='e_dbus'
573 PACKAGE_VERSION='1.7.7'
574 PACKAGE_STRING='e_dbus 1.7.7'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
576 PACKAGE_URL=''
577
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 requirement_eukit
620 requirement_eofono
621 requirement_enotify
622 requirement_ehal
623 requirement_edbus
624 requirement_econnman0_7x
625 requirement_ebluez
626 ALLOCA
627 lt_enable_auto_import
628 EFL_EDBUS_BUILD
629 EDBUS_ASYNC_TEST_LIBS
630 EDBUS_ASYNC_TEST_CFLAGS
631 EDBUS_PERFORMANCE_TEST_LIBS
632 EDBUS_PERFORMANCE_TEST_CFLAGS
633 EDBUS_UKIT_TEST_LIBS
634 EDBUS_UKIT_TEST_CFLAGS
635 EDBUS_OFONO_TEST_LIBS
636 EDBUS_OFONO_TEST_CFLAGS
637 EDBUS_NOTIFY_TEST_LIBS
638 EDBUS_NOTIFY_TEST_CFLAGS
639 EDBUS_NOTIFY_SEND_LIBS
640 EDBUS_NOTIFY_SEND_CFLAGS
641 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
642 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
643 EDBUS_CONNMAN0_7X_TEST_LIBS
644 EDBUS_CONNMAN0_7X_TEST_CFLAGS
645 EDBUS_BLUEZ_TEST_LIBS
646 EDBUS_BLUEZ_TEST_CFLAGS
647 EDBUS_TEST_CLIENT_LIBS
648 EDBUS_TEST_CLIENT_CFLAGS
649 EDBUS_TEST_LIBS
650 EDBUS_TEST_CFLAGS
651 BUILD_EDBUS_ASYNC_TEST_FALSE
652 BUILD_EDBUS_ASYNC_TEST_TRUE
653 EDBUS_ASYNC_TEST_PRG
654 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
655 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
656 EDBUS_PERFORMANCE_TEST_PRG
657 BUILD_EDBUS_UKIT_TEST_FALSE
658 BUILD_EDBUS_UKIT_TEST_TRUE
659 EDBUS_UKIT_TEST_PRG
660 BUILD_EDBUS_OFONO_TEST_FALSE
661 BUILD_EDBUS_OFONO_TEST_TRUE
662 EDBUS_OFONO_TEST_PRG
663 BUILD_EDBUS_NOTIFY_TEST_FALSE
664 BUILD_EDBUS_NOTIFY_TEST_TRUE
665 EDBUS_NOTIFY_TEST_PRG
666 BUILD_EDBUS_NOTIFY_SEND_FALSE
667 BUILD_EDBUS_NOTIFY_SEND_TRUE
668 EDBUS_NOTIFY_SEND_PRG
669 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
670 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
671 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
672 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
673 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
674 EDBUS_CONNMAN0_7X_TEST_PRG
675 BUILD_EDBUS_BLUEZ_TEST_FALSE
676 BUILD_EDBUS_BLUEZ_TEST_TRUE
677 EDBUS_BLUEZ_TEST_PRG
678 BUILD_EDBUS_TEST_CLIENT_FALSE
679 BUILD_EDBUS_TEST_CLIENT_TRUE
680 EDBUS_TEST_CLIENT_PRG
681 BUILD_EDBUS_TEST_FALSE
682 BUILD_EDBUS_TEST_TRUE
683 EDBUS_TEST_PRG
684 BUILD_EUKIT_FALSE
685 BUILD_EUKIT_TRUE
686 BUILD_EOFONO_FALSE
687 BUILD_EOFONO_TRUE
688 BUILD_ENOTIFY_FALSE
689 BUILD_ENOTIFY_TRUE
690 BUILD_EHAL_FALSE
691 BUILD_EHAL_TRUE
692 BUILD_ECONNMAN0_7X_FALSE
693 BUILD_ECONNMAN0_7X_TRUE
694 BUILD_EBLUEZ_FALSE
695 BUILD_EBLUEZ_TRUE
696 EVAS_LIBS
697 EVAS_CFLAGS
698 DBUS_VERSION_CFLAGS
699 EDBUS_LIBS
700 EDBUS_CFLAGS
701 DBUS_LIBS
702 DBUS_CFLAGS
703 EFL_BUILD_DOC_FALSE
704 EFL_BUILD_DOC_TRUE
705 efl_doxygen
706 efl_have_doxygen
707 pkgconfig_requires_private
708 PKG_CONFIG_LIBDIR
709 PKG_CONFIG_PATH
710 PKG_CONFIG
711 VMAJ
712 release_info
713 version_info
714 CPP
715 OTOOL64
716 OTOOL
717 LIPO
718 NMEDIT
719 DSYMUTIL
720 MANIFEST_TOOL
721 RANLIB
722 ac_ct_AR
723 AR
724 LN_S
725 NM
726 ac_ct_DUMPBIN
727 DUMPBIN
728 LD
729 FGREP
730 EGREP
731 GREP
732 SED
733 am__fastdepCC_FALSE
734 am__fastdepCC_TRUE
735 CCDEPMODE
736 am__nodep
737 AMDEPBACKSLASH
738 AMDEP_FALSE
739 AMDEP_TRUE
740 am__quote
741 am__include
742 DEPDIR
743 OBJEXT
744 EXEEXT
745 ac_ct_CC
746 CPPFLAGS
747 LDFLAGS
748 CFLAGS
749 CC
750 LIBTOOL
751 OBJDUMP
752 DLLTOOL
753 AS
754 host_os
755 host_vendor
756 host_cpu
757 host
758 build_os
759 build_vendor
760 build_cpu
761 build
762 AM_BACKSLASH
763 AM_DEFAULT_VERBOSITY
764 AM_DEFAULT_V
765 AM_V
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
771 AWK
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_alias
790 host_alias
791 build_alias
792 LIBS
793 ECHO_T
794 ECHO_N
795 ECHO_C
796 DEFS
797 mandir
798 localedir
799 libdir
800 psdir
801 pdfdir
802 dvidir
803 htmldir
804 infodir
805 docdir
806 oldincludedir
807 includedir
808 localstatedir
809 sharedstatedir
810 sysconfdir
811 datadir
812 datarootdir
813 libexecdir
814 sbindir
815 bindir
816 program_transform_name
817 prefix
818 exec_prefix
819 PACKAGE_URL
820 PACKAGE_BUGREPORT
821 PACKAGE_STRING
822 PACKAGE_VERSION
823 PACKAGE_TARNAME
824 PACKAGE_NAME
825 PATH_SEPARATOR
826 SHELL'
827 ac_subst_files=''
828 ac_user_opts='
829 enable_option_checking
830 enable_silent_rules
831 enable_shared
832 enable_static
833 with_pic
834 enable_fast_install
835 enable_dependency_tracking
836 with_gnu_ld
837 with_sysroot
838 enable_libtool_lock
839 enable_ebluez
840 enable_econnman0_7x
841 enable_ehal
842 enable_enotify
843 enable_eofono
844 enable_eukit
845 enable_doc
846 with_doxygen
847 enable_edbus_test
848 enable_edbus_test_client
849 enable_edbus_bluez_test
850 enable_edbus_connman0_7x_test
851 enable_edbus_notification_daemon_test
852 enable_edbus_notify_send
853 enable_edbus_notify_test
854 enable_edbus_ofono_test
855 enable_edbus_ukit_test
856 enable_edbus_performance_test
857 enable_edbus_async_test
858 '
859       ac_precious_vars='build_alias
860 host_alias
861 target_alias
862 CC
863 CFLAGS
864 LDFLAGS
865 LIBS
866 CPPFLAGS
867 CPP
868 PKG_CONFIG
869 PKG_CONFIG_PATH
870 PKG_CONFIG_LIBDIR
871 DBUS_CFLAGS
872 DBUS_LIBS
873 EDBUS_CFLAGS
874 EDBUS_LIBS
875 EVAS_CFLAGS
876 EVAS_LIBS
877 EDBUS_TEST_CFLAGS
878 EDBUS_TEST_LIBS
879 EDBUS_TEST_CLIENT_CFLAGS
880 EDBUS_TEST_CLIENT_LIBS
881 EDBUS_BLUEZ_TEST_CFLAGS
882 EDBUS_BLUEZ_TEST_LIBS
883 EDBUS_CONNMAN0_7X_TEST_CFLAGS
884 EDBUS_CONNMAN0_7X_TEST_LIBS
885 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
886 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
887 EDBUS_NOTIFY_SEND_CFLAGS
888 EDBUS_NOTIFY_SEND_LIBS
889 EDBUS_NOTIFY_TEST_CFLAGS
890 EDBUS_NOTIFY_TEST_LIBS
891 EDBUS_OFONO_TEST_CFLAGS
892 EDBUS_OFONO_TEST_LIBS
893 EDBUS_UKIT_TEST_CFLAGS
894 EDBUS_UKIT_TEST_LIBS
895 EDBUS_PERFORMANCE_TEST_CFLAGS
896 EDBUS_PERFORMANCE_TEST_LIBS
897 EDBUS_ASYNC_TEST_CFLAGS
898 EDBUS_ASYNC_TEST_LIBS'
899
900
901 # Initialize some variables set by options.
902 ac_init_help=
903 ac_init_version=false
904 ac_unrecognized_opts=
905 ac_unrecognized_sep=
906 # The variables have the same names as the options, with
907 # dashes changed to underlines.
908 cache_file=/dev/null
909 exec_prefix=NONE
910 no_create=
911 no_recursion=
912 prefix=NONE
913 program_prefix=NONE
914 program_suffix=NONE
915 program_transform_name=s,x,x,
916 silent=
917 site=
918 srcdir=
919 verbose=
920 x_includes=NONE
921 x_libraries=NONE
922
923 # Installation directory options.
924 # These are left unexpanded so users can "make install exec_prefix=/foo"
925 # and all the variables that are supposed to be based on exec_prefix
926 # by default will actually change.
927 # Use braces instead of parens because sh, perl, etc. also accept them.
928 # (The list follows the same order as the GNU Coding Standards.)
929 bindir='${exec_prefix}/bin'
930 sbindir='${exec_prefix}/sbin'
931 libexecdir='${exec_prefix}/libexec'
932 datarootdir='${prefix}/share'
933 datadir='${datarootdir}'
934 sysconfdir='${prefix}/etc'
935 sharedstatedir='${prefix}/com'
936 localstatedir='${prefix}/var'
937 includedir='${prefix}/include'
938 oldincludedir='/usr/include'
939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
940 infodir='${datarootdir}/info'
941 htmldir='${docdir}'
942 dvidir='${docdir}'
943 pdfdir='${docdir}'
944 psdir='${docdir}'
945 libdir='${exec_prefix}/lib'
946 localedir='${datarootdir}/locale'
947 mandir='${datarootdir}/man'
948
949 ac_prev=
950 ac_dashdash=
951 for ac_option
952 do
953   # If the previous option needs an argument, assign it.
954   if test -n "$ac_prev"; then
955     eval $ac_prev=\$ac_option
956     ac_prev=
957     continue
958   fi
959
960   case $ac_option in
961   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962   *=)   ac_optarg= ;;
963   *)    ac_optarg=yes ;;
964   esac
965
966   # Accept the important Cygnus configure options, so we can diagnose typos.
967
968   case $ac_dashdash$ac_option in
969   --)
970     ac_dashdash=yes ;;
971
972   -bindir | --bindir | --bindi | --bind | --bin | --bi)
973     ac_prev=bindir ;;
974   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
975     bindir=$ac_optarg ;;
976
977   -build | --build | --buil | --bui | --bu)
978     ac_prev=build_alias ;;
979   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
980     build_alias=$ac_optarg ;;
981
982   -cache-file | --cache-file | --cache-fil | --cache-fi \
983   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
984     ac_prev=cache_file ;;
985   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
986   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
987     cache_file=$ac_optarg ;;
988
989   --config-cache | -C)
990     cache_file=config.cache ;;
991
992   -datadir | --datadir | --datadi | --datad)
993     ac_prev=datadir ;;
994   -datadir=* | --datadir=* | --datadi=* | --datad=*)
995     datadir=$ac_optarg ;;
996
997   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
998   | --dataroo | --dataro | --datar)
999     ac_prev=datarootdir ;;
1000   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1001   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1002     datarootdir=$ac_optarg ;;
1003
1004   -disable-* | --disable-*)
1005     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006     # Reject names that are not valid shell variable names.
1007     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1008       as_fn_error $? "invalid feature name: $ac_useropt"
1009     ac_useropt_orig=$ac_useropt
1010     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011     case $ac_user_opts in
1012       *"
1013 "enable_$ac_useropt"
1014 "*) ;;
1015       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1016          ac_unrecognized_sep=', ';;
1017     esac
1018     eval enable_$ac_useropt=no ;;
1019
1020   -docdir | --docdir | --docdi | --doc | --do)
1021     ac_prev=docdir ;;
1022   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1023     docdir=$ac_optarg ;;
1024
1025   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1026     ac_prev=dvidir ;;
1027   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1028     dvidir=$ac_optarg ;;
1029
1030   -enable-* | --enable-*)
1031     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032     # Reject names that are not valid shell variable names.
1033     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034       as_fn_error $? "invalid feature name: $ac_useropt"
1035     ac_useropt_orig=$ac_useropt
1036     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037     case $ac_user_opts in
1038       *"
1039 "enable_$ac_useropt"
1040 "*) ;;
1041       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1042          ac_unrecognized_sep=', ';;
1043     esac
1044     eval enable_$ac_useropt=\$ac_optarg ;;
1045
1046   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1047   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1048   | --exec | --exe | --ex)
1049     ac_prev=exec_prefix ;;
1050   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1051   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1052   | --exec=* | --exe=* | --ex=*)
1053     exec_prefix=$ac_optarg ;;
1054
1055   -gas | --gas | --ga | --g)
1056     # Obsolete; use --with-gas.
1057     with_gas=yes ;;
1058
1059   -help | --help | --hel | --he | -h)
1060     ac_init_help=long ;;
1061   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1062     ac_init_help=recursive ;;
1063   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1064     ac_init_help=short ;;
1065
1066   -host | --host | --hos | --ho)
1067     ac_prev=host_alias ;;
1068   -host=* | --host=* | --hos=* | --ho=*)
1069     host_alias=$ac_optarg ;;
1070
1071   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1072     ac_prev=htmldir ;;
1073   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1074   | --ht=*)
1075     htmldir=$ac_optarg ;;
1076
1077   -includedir | --includedir | --includedi | --included | --include \
1078   | --includ | --inclu | --incl | --inc)
1079     ac_prev=includedir ;;
1080   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1081   | --includ=* | --inclu=* | --incl=* | --inc=*)
1082     includedir=$ac_optarg ;;
1083
1084   -infodir | --infodir | --infodi | --infod | --info | --inf)
1085     ac_prev=infodir ;;
1086   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1087     infodir=$ac_optarg ;;
1088
1089   -libdir | --libdir | --libdi | --libd)
1090     ac_prev=libdir ;;
1091   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1092     libdir=$ac_optarg ;;
1093
1094   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1095   | --libexe | --libex | --libe)
1096     ac_prev=libexecdir ;;
1097   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1098   | --libexe=* | --libex=* | --libe=*)
1099     libexecdir=$ac_optarg ;;
1100
1101   -localedir | --localedir | --localedi | --localed | --locale)
1102     ac_prev=localedir ;;
1103   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1104     localedir=$ac_optarg ;;
1105
1106   -localstatedir | --localstatedir | --localstatedi | --localstated \
1107   | --localstate | --localstat | --localsta | --localst | --locals)
1108     ac_prev=localstatedir ;;
1109   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1110   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1111     localstatedir=$ac_optarg ;;
1112
1113   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1114     ac_prev=mandir ;;
1115   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1116     mandir=$ac_optarg ;;
1117
1118   -nfp | --nfp | --nf)
1119     # Obsolete; use --without-fp.
1120     with_fp=no ;;
1121
1122   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1123   | --no-cr | --no-c | -n)
1124     no_create=yes ;;
1125
1126   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1127   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1128     no_recursion=yes ;;
1129
1130   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1131   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1132   | --oldin | --oldi | --old | --ol | --o)
1133     ac_prev=oldincludedir ;;
1134   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1135   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1136   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1137     oldincludedir=$ac_optarg ;;
1138
1139   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1140     ac_prev=prefix ;;
1141   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1142     prefix=$ac_optarg ;;
1143
1144   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1145   | --program-pre | --program-pr | --program-p)
1146     ac_prev=program_prefix ;;
1147   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1148   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1149     program_prefix=$ac_optarg ;;
1150
1151   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1152   | --program-suf | --program-su | --program-s)
1153     ac_prev=program_suffix ;;
1154   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1155   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1156     program_suffix=$ac_optarg ;;
1157
1158   -program-transform-name | --program-transform-name \
1159   | --program-transform-nam | --program-transform-na \
1160   | --program-transform-n | --program-transform- \
1161   | --program-transform | --program-transfor \
1162   | --program-transfo | --program-transf \
1163   | --program-trans | --program-tran \
1164   | --progr-tra | --program-tr | --program-t)
1165     ac_prev=program_transform_name ;;
1166   -program-transform-name=* | --program-transform-name=* \
1167   | --program-transform-nam=* | --program-transform-na=* \
1168   | --program-transform-n=* | --program-transform-=* \
1169   | --program-transform=* | --program-transfor=* \
1170   | --program-transfo=* | --program-transf=* \
1171   | --program-trans=* | --program-tran=* \
1172   | --progr-tra=* | --program-tr=* | --program-t=*)
1173     program_transform_name=$ac_optarg ;;
1174
1175   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1176     ac_prev=pdfdir ;;
1177   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1178     pdfdir=$ac_optarg ;;
1179
1180   -psdir | --psdir | --psdi | --psd | --ps)
1181     ac_prev=psdir ;;
1182   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1183     psdir=$ac_optarg ;;
1184
1185   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1186   | -silent | --silent | --silen | --sile | --sil)
1187     silent=yes ;;
1188
1189   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1190     ac_prev=sbindir ;;
1191   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1192   | --sbi=* | --sb=*)
1193     sbindir=$ac_optarg ;;
1194
1195   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1196   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1197   | --sharedst | --shareds | --shared | --share | --shar \
1198   | --sha | --sh)
1199     ac_prev=sharedstatedir ;;
1200   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1201   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1202   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1203   | --sha=* | --sh=*)
1204     sharedstatedir=$ac_optarg ;;
1205
1206   -site | --site | --sit)
1207     ac_prev=site ;;
1208   -site=* | --site=* | --sit=*)
1209     site=$ac_optarg ;;
1210
1211   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1212     ac_prev=srcdir ;;
1213   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1214     srcdir=$ac_optarg ;;
1215
1216   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1217   | --syscon | --sysco | --sysc | --sys | --sy)
1218     ac_prev=sysconfdir ;;
1219   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1220   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1221     sysconfdir=$ac_optarg ;;
1222
1223   -target | --target | --targe | --targ | --tar | --ta | --t)
1224     ac_prev=target_alias ;;
1225   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1226     target_alias=$ac_optarg ;;
1227
1228   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1229     verbose=yes ;;
1230
1231   -version | --version | --versio | --versi | --vers | -V)
1232     ac_init_version=: ;;
1233
1234   -with-* | --with-*)
1235     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236     # Reject names that are not valid shell variable names.
1237     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238       as_fn_error $? "invalid package name: $ac_useropt"
1239     ac_useropt_orig=$ac_useropt
1240     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241     case $ac_user_opts in
1242       *"
1243 "with_$ac_useropt"
1244 "*) ;;
1245       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1246          ac_unrecognized_sep=', ';;
1247     esac
1248     eval with_$ac_useropt=\$ac_optarg ;;
1249
1250   -without-* | --without-*)
1251     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252     # Reject names that are not valid shell variable names.
1253     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254       as_fn_error $? "invalid package name: $ac_useropt"
1255     ac_useropt_orig=$ac_useropt
1256     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257     case $ac_user_opts in
1258       *"
1259 "with_$ac_useropt"
1260 "*) ;;
1261       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1262          ac_unrecognized_sep=', ';;
1263     esac
1264     eval with_$ac_useropt=no ;;
1265
1266   --x)
1267     # Obsolete; use --with-x.
1268     with_x=yes ;;
1269
1270   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1271   | --x-incl | --x-inc | --x-in | --x-i)
1272     ac_prev=x_includes ;;
1273   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1274   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1275     x_includes=$ac_optarg ;;
1276
1277   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1278   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1279     ac_prev=x_libraries ;;
1280   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1281   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1282     x_libraries=$ac_optarg ;;
1283
1284   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1285 Try \`$0 --help' for more information"
1286     ;;
1287
1288   *=*)
1289     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1290     # Reject names that are not valid shell variable names.
1291     case $ac_envvar in #(
1292       '' | [0-9]* | *[!_$as_cr_alnum]* )
1293       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1294     esac
1295     eval $ac_envvar=\$ac_optarg
1296     export $ac_envvar ;;
1297
1298   *)
1299     # FIXME: should be removed in autoconf 3.0.
1300     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1302       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1304     ;;
1305
1306   esac
1307 done
1308
1309 if test -n "$ac_prev"; then
1310   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1311   as_fn_error $? "missing argument to $ac_option"
1312 fi
1313
1314 if test -n "$ac_unrecognized_opts"; then
1315   case $enable_option_checking in
1316     no) ;;
1317     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1318     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1319   esac
1320 fi
1321
1322 # Check all directory arguments for consistency.
1323 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1324                 datadir sysconfdir sharedstatedir localstatedir includedir \
1325                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1326                 libdir localedir mandir
1327 do
1328   eval ac_val=\$$ac_var
1329   # Remove trailing slashes.
1330   case $ac_val in
1331     */ )
1332       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1333       eval $ac_var=\$ac_val;;
1334   esac
1335   # Be sure to have absolute directory names.
1336   case $ac_val in
1337     [\\/$]* | ?:[\\/]* )  continue;;
1338     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1339   esac
1340   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1341 done
1342
1343 # There might be people who depend on the old broken behavior: `$host'
1344 # used to hold the argument of --host etc.
1345 # FIXME: To remove some day.
1346 build=$build_alias
1347 host=$host_alias
1348 target=$target_alias
1349
1350 # FIXME: To remove some day.
1351 if test "x$host_alias" != x; then
1352   if test "x$build_alias" = x; then
1353     cross_compiling=maybe
1354     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1355     If a cross compiler is detected then cross compile mode will be used" >&2
1356   elif test "x$build_alias" != "x$host_alias"; then
1357     cross_compiling=yes
1358   fi
1359 fi
1360
1361 ac_tool_prefix=
1362 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1363
1364 test "$silent" = yes && exec 6>/dev/null
1365
1366
1367 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1368 ac_ls_di=`ls -di .` &&
1369 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1370   as_fn_error $? "working directory cannot be determined"
1371 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1372   as_fn_error $? "pwd does not report name of working directory"
1373
1374
1375 # Find the source files, if location was not specified.
1376 if test -z "$srcdir"; then
1377   ac_srcdir_defaulted=yes
1378   # Try the directory containing this script, then the parent directory.
1379   ac_confdir=`$as_dirname -- "$as_myself" ||
1380 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1381          X"$as_myself" : 'X\(//\)[^/]' \| \
1382          X"$as_myself" : 'X\(//\)$' \| \
1383          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1384 $as_echo X"$as_myself" |
1385     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386             s//\1/
1387             q
1388           }
1389           /^X\(\/\/\)[^/].*/{
1390             s//\1/
1391             q
1392           }
1393           /^X\(\/\/\)$/{
1394             s//\1/
1395             q
1396           }
1397           /^X\(\/\).*/{
1398             s//\1/
1399             q
1400           }
1401           s/.*/./; q'`
1402   srcdir=$ac_confdir
1403   if test ! -r "$srcdir/$ac_unique_file"; then
1404     srcdir=..
1405   fi
1406 else
1407   ac_srcdir_defaulted=no
1408 fi
1409 if test ! -r "$srcdir/$ac_unique_file"; then
1410   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1411   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1412 fi
1413 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1414 ac_abs_confdir=`(
1415         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1416         pwd)`
1417 # When building in place, set srcdir=.
1418 if test "$ac_abs_confdir" = "$ac_pwd"; then
1419   srcdir=.
1420 fi
1421 # Remove unnecessary trailing slashes from srcdir.
1422 # Double slashes in file names in object file debugging info
1423 # mess up M-x gdb in Emacs.
1424 case $srcdir in
1425 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1426 esac
1427 for ac_var in $ac_precious_vars; do
1428   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1429   eval ac_env_${ac_var}_value=\$${ac_var}
1430   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1431   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1432 done
1433
1434 #
1435 # Report the --help message.
1436 #
1437 if test "$ac_init_help" = "long"; then
1438   # Omit some internal or obsolete options to make the list less imposing.
1439   # This message is too long to be a string in the A/UX 3.1 sh.
1440   cat <<_ACEOF
1441 \`configure' configures e_dbus 1.7.7 to adapt to many kinds of systems.
1442
1443 Usage: $0 [OPTION]... [VAR=VALUE]...
1444
1445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1446 VAR=VALUE.  See below for descriptions of some of the useful variables.
1447
1448 Defaults for the options are specified in brackets.
1449
1450 Configuration:
1451   -h, --help              display this help and exit
1452       --help=short        display options specific to this package
1453       --help=recursive    display the short help of all the included packages
1454   -V, --version           display version information and exit
1455   -q, --quiet, --silent   do not print \`checking ...' messages
1456       --cache-file=FILE   cache test results in FILE [disabled]
1457   -C, --config-cache      alias for \`--cache-file=config.cache'
1458   -n, --no-create         do not create output files
1459       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1460
1461 Installation directories:
1462   --prefix=PREFIX         install architecture-independent files in PREFIX
1463                           [$ac_default_prefix]
1464   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1465                           [PREFIX]
1466
1467 By default, \`make install' will install all the files in
1468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1470 for instance \`--prefix=\$HOME'.
1471
1472 For better control, use the options below.
1473
1474 Fine tuning of the installation directories:
1475   --bindir=DIR            user executables [EPREFIX/bin]
1476   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1477   --libexecdir=DIR        program executables [EPREFIX/libexec]
1478   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1479   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1480   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1481   --libdir=DIR            object code libraries [EPREFIX/lib]
1482   --includedir=DIR        C header files [PREFIX/include]
1483   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1484   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1485   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1486   --infodir=DIR           info documentation [DATAROOTDIR/info]
1487   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1488   --mandir=DIR            man documentation [DATAROOTDIR/man]
1489   --docdir=DIR            documentation root [DATAROOTDIR/doc/e_dbus]
1490   --htmldir=DIR           html documentation [DOCDIR]
1491   --dvidir=DIR            dvi documentation [DOCDIR]
1492   --pdfdir=DIR            pdf documentation [DOCDIR]
1493   --psdir=DIR             ps documentation [DOCDIR]
1494 _ACEOF
1495
1496   cat <<\_ACEOF
1497
1498 Program names:
1499   --program-prefix=PREFIX            prepend PREFIX to installed program names
1500   --program-suffix=SUFFIX            append SUFFIX to installed program names
1501   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1502
1503 System types:
1504   --build=BUILD     configure for building on BUILD [guessed]
1505   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1506 _ACEOF
1507 fi
1508
1509 if test -n "$ac_init_help"; then
1510   case $ac_init_help in
1511      short | recursive ) echo "Configuration of e_dbus 1.7.7:";;
1512    esac
1513   cat <<\_ACEOF
1514
1515 Optional Features:
1516   --disable-option-checking  ignore unrecognized --enable/--with options
1517   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1518   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1519   --enable-silent-rules          less verbose build output (undo: `make V=1')
1520   --disable-silent-rules         verbose build output (undo: `make V=0')
1521   --enable-shared[=PKGS]  build shared libraries [default=yes]
1522   --enable-static[=PKGS]  build static libraries [default=yes]
1523   --enable-fast-install[=PKGS]
1524                           optimize for fast installation [default=yes]
1525   --disable-dependency-tracking  speeds up one-time build
1526   --enable-dependency-tracking   do not reject slow dependency extractors
1527   --disable-libtool-lock  avoid locking (might break parallel builds)
1528   --enable-ebluez         Enable ebluez build
1529   --enable-econnman0_7x   Enable econnman 0.7x build
1530   --disable-ehal          Disable ehal build
1531   --disable-enotify       Disable enotify build
1532   --enable-eofono         Enable eofono build
1533   --disable-eukit         Disable eukit build
1534   --disable-doc           Disable documentation build [default=enabled]
1535   --disable-edbus-test    disable building of edbus_test
1536   --disable-edbus-test-client
1537                           disable building of edbus_test_client
1538   --disable-edbus-bluez-test
1539                           disable building of edbus_bluez_test
1540   --disable-edbus-connman0_7x-test
1541                           disable building of edbus_connman0_7x_test
1542   --disable-edbus-notification-daemon-test
1543                           disable building of edbus_notification_daemon_test
1544   --disable-edbus-notify-send
1545                           disable building of edbus_notify_send
1546   --disable-edbus-notify-test
1547                           disable building of edbus_notify_test
1548   --disable-edbus-ofono-test
1549                           disable building of edbus_ofono_test
1550   --disable-edbus-ukit-test
1551                           disable building of edbus_ukit_test
1552   --disable-edbus-performance-test
1553                           disable building of edbus_performance_test
1554   --disable-edbus-async-test
1555                           disable building of edbus_async_test
1556
1557 Optional Packages:
1558   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1559   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1560   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1561                           both]
1562   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1563   --with-sysroot=DIR Search for dependent libraries within DIR
1564                         (or the compiler's sysroot if not specified).
1565   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1566
1567 Some influential environment variables:
1568   CC          C compiler command
1569   CFLAGS      C compiler flags
1570   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1571               nonstandard directory <lib dir>
1572   LIBS        libraries to pass to the linker, e.g. -l<library>
1573   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1574               you have headers in a nonstandard directory <include dir>
1575   CPP         C preprocessor
1576   PKG_CONFIG  path to pkg-config utility
1577   PKG_CONFIG_PATH
1578               directories to add to pkg-config's search path
1579   PKG_CONFIG_LIBDIR
1580               path overriding pkg-config's built-in search path
1581   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1582   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1583   EDBUS_CFLAGS
1584               C compiler flags for EDBUS, overriding pkg-config
1585   EDBUS_LIBS  linker flags for EDBUS, overriding pkg-config
1586   EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1587   EVAS_LIBS   linker flags for EVAS, overriding pkg-config
1588   EDBUS_TEST_CFLAGS
1589               C compiler flags for EDBUS_TEST, overriding pkg-config
1590   EDBUS_TEST_LIBS
1591               linker flags for EDBUS_TEST, overriding pkg-config
1592   EDBUS_TEST_CLIENT_CFLAGS
1593               C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1594   EDBUS_TEST_CLIENT_LIBS
1595               linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1596   EDBUS_BLUEZ_TEST_CFLAGS
1597               C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1598   EDBUS_BLUEZ_TEST_LIBS
1599               linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1600   EDBUS_CONNMAN0_7X_TEST_CFLAGS
1601               C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1602               pkg-config
1603   EDBUS_CONNMAN0_7X_TEST_LIBS
1604               linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1605   EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1606               C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1607               pkg-config
1608   EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1609               linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1610               pkg-config
1611   EDBUS_NOTIFY_SEND_CFLAGS
1612               C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1613   EDBUS_NOTIFY_SEND_LIBS
1614               linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1615   EDBUS_NOTIFY_TEST_CFLAGS
1616               C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1617   EDBUS_NOTIFY_TEST_LIBS
1618               linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1619   EDBUS_OFONO_TEST_CFLAGS
1620               C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1621   EDBUS_OFONO_TEST_LIBS
1622               linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1623   EDBUS_UKIT_TEST_CFLAGS
1624               C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1625   EDBUS_UKIT_TEST_LIBS
1626               linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1627   EDBUS_PERFORMANCE_TEST_CFLAGS
1628               C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1629               pkg-config
1630   EDBUS_PERFORMANCE_TEST_LIBS
1631               linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1632   EDBUS_ASYNC_TEST_CFLAGS
1633               C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1634   EDBUS_ASYNC_TEST_LIBS
1635               linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1636
1637 Use these variables to override the choices made by `configure' or to help
1638 it to find libraries and programs with nonstandard names/locations.
1639
1640 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1641 _ACEOF
1642 ac_status=$?
1643 fi
1644
1645 if test "$ac_init_help" = "recursive"; then
1646   # If there are subdirs, report their specific --help.
1647   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1648     test -d "$ac_dir" ||
1649       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1650       continue
1651     ac_builddir=.
1652
1653 case "$ac_dir" in
1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *)
1656   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1657   # A ".." for each directory in $ac_dir_suffix.
1658   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1659   case $ac_top_builddir_sub in
1660   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1662   esac ;;
1663 esac
1664 ac_abs_top_builddir=$ac_pwd
1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1666 # for backward compatibility:
1667 ac_top_builddir=$ac_top_build_prefix
1668
1669 case $srcdir in
1670   .)  # We are building in place.
1671     ac_srcdir=.
1672     ac_top_srcdir=$ac_top_builddir_sub
1673     ac_abs_top_srcdir=$ac_pwd ;;
1674   [\\/]* | ?:[\\/]* )  # Absolute name.
1675     ac_srcdir=$srcdir$ac_dir_suffix;
1676     ac_top_srcdir=$srcdir
1677     ac_abs_top_srcdir=$srcdir ;;
1678   *) # Relative name.
1679     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1680     ac_top_srcdir=$ac_top_build_prefix$srcdir
1681     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1682 esac
1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1684
1685     cd "$ac_dir" || { ac_status=$?; continue; }
1686     # Check for guested configure.
1687     if test -f "$ac_srcdir/configure.gnu"; then
1688       echo &&
1689       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1690     elif test -f "$ac_srcdir/configure"; then
1691       echo &&
1692       $SHELL "$ac_srcdir/configure" --help=recursive
1693     else
1694       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1695     fi || ac_status=$?
1696     cd "$ac_pwd" || { ac_status=$?; break; }
1697   done
1698 fi
1699
1700 test -n "$ac_init_help" && exit $ac_status
1701 if $ac_init_version; then
1702   cat <<\_ACEOF
1703 e_dbus configure 1.7.7
1704 generated by GNU Autoconf 2.68
1705
1706 Copyright (C) 2010 Free Software Foundation, Inc.
1707 This configure script is free software; the Free Software Foundation
1708 gives unlimited permission to copy, distribute and modify it.
1709 _ACEOF
1710   exit
1711 fi
1712
1713 ## ------------------------ ##
1714 ## Autoconf initialization. ##
1715 ## ------------------------ ##
1716
1717 # ac_fn_c_try_compile LINENO
1718 # --------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_c_try_compile ()
1721 {
1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723   rm -f conftest.$ac_objext
1724   if { { ac_try="$ac_compile"
1725 case "(($ac_try" in
1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727   *) ac_try_echo=$ac_try;;
1728 esac
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731   (eval "$ac_compile") 2>conftest.err
1732   ac_status=$?
1733   if test -s conftest.err; then
1734     grep -v '^ *+' conftest.err >conftest.er1
1735     cat conftest.er1 >&5
1736     mv -f conftest.er1 conftest.err
1737   fi
1738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739   test $ac_status = 0; } && {
1740          test -z "$ac_c_werror_flag" ||
1741          test ! -s conftest.err
1742        } && test -s conftest.$ac_objext; then :
1743   ac_retval=0
1744 else
1745   $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1747
1748         ac_retval=1
1749 fi
1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751   as_fn_set_status $ac_retval
1752
1753 } # ac_fn_c_try_compile
1754
1755 # ac_fn_c_try_link LINENO
1756 # -----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded.
1758 ac_fn_c_try_link ()
1759 {
1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761   rm -f conftest.$ac_objext conftest$ac_exeext
1762   if { { ac_try="$ac_link"
1763 case "(($ac_try" in
1764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765   *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769   (eval "$ac_link") 2>conftest.err
1770   ac_status=$?
1771   if test -s conftest.err; then
1772     grep -v '^ *+' conftest.err >conftest.er1
1773     cat conftest.er1 >&5
1774     mv -f conftest.er1 conftest.err
1775   fi
1776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777   test $ac_status = 0; } && {
1778          test -z "$ac_c_werror_flag" ||
1779          test ! -s conftest.err
1780        } && test -s conftest$ac_exeext && {
1781          test "$cross_compiling" = yes ||
1782          $as_test_x conftest$ac_exeext
1783        }; then :
1784   ac_retval=0
1785 else
1786   $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1788
1789         ac_retval=1
1790 fi
1791   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1792   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1793   # interfere with the next link command; also delete a directory that is
1794   # left behind by Apple's compiler.  We do this before executing the actions.
1795   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797   as_fn_set_status $ac_retval
1798
1799 } # ac_fn_c_try_link
1800
1801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1802 # -------------------------------------------------------
1803 # Tests whether HEADER exists and can be compiled using the include files in
1804 # INCLUDES, setting the cache variable VAR accordingly.
1805 ac_fn_c_check_header_compile ()
1806 {
1807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811   $as_echo_n "(cached) " >&6
1812 else
1813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h.  */
1815 $4
1816 #include <$2>
1817 _ACEOF
1818 if ac_fn_c_try_compile "$LINENO"; then :
1819   eval "$3=yes"
1820 else
1821   eval "$3=no"
1822 fi
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 fi
1825 eval ac_res=\$$3
1826                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829
1830 } # ac_fn_c_check_header_compile
1831
1832 # ac_fn_c_try_cpp LINENO
1833 # ----------------------
1834 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_c_try_cpp ()
1836 {
1837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838   if { { ac_try="$ac_cpp conftest.$ac_ext"
1839 case "(($ac_try" in
1840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841   *) ac_try_echo=$ac_try;;
1842 esac
1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1846   ac_status=$?
1847   if test -s conftest.err; then
1848     grep -v '^ *+' conftest.err >conftest.er1
1849     cat conftest.er1 >&5
1850     mv -f conftest.er1 conftest.err
1851   fi
1852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853   test $ac_status = 0; } > conftest.i && {
1854          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1855          test ! -s conftest.err
1856        }; then :
1857   ac_retval=0
1858 else
1859   $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1861
1862     ac_retval=1
1863 fi
1864   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865   as_fn_set_status $ac_retval
1866
1867 } # ac_fn_c_try_cpp
1868
1869 # ac_fn_c_try_run LINENO
1870 # ----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1872 # that executables *can* be run.
1873 ac_fn_c_try_run ()
1874 {
1875   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876   if { { ac_try="$ac_link"
1877 case "(($ac_try" in
1878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879   *) ac_try_echo=$ac_try;;
1880 esac
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883   (eval "$ac_link") 2>&5
1884   ac_status=$?
1885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1887   { { case "(($ac_try" in
1888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889   *) ac_try_echo=$ac_try;;
1890 esac
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893   (eval "$ac_try") 2>&5
1894   ac_status=$?
1895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896   test $ac_status = 0; }; }; then :
1897   ac_retval=0
1898 else
1899   $as_echo "$as_me: program exited with status $ac_status" >&5
1900        $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1902
1903        ac_retval=$ac_status
1904 fi
1905   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907   as_fn_set_status $ac_retval
1908
1909 } # ac_fn_c_try_run
1910
1911 # ac_fn_c_check_func LINENO FUNC VAR
1912 # ----------------------------------
1913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1914 ac_fn_c_check_func ()
1915 {
1916   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if eval \${$3+:} false; then :
1920   $as_echo_n "(cached) " >&6
1921 else
1922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h.  */
1924 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1926 #define $2 innocuous_$2
1927
1928 /* System header to define __stub macros and hopefully few prototypes,
1929     which can conflict with char $2 (); below.
1930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1931     <limits.h> exists even on freestanding compilers.  */
1932
1933 #ifdef __STDC__
1934 # include <limits.h>
1935 #else
1936 # include <assert.h>
1937 #endif
1938
1939 #undef $2
1940
1941 /* Override any GCC internal prototype to avoid an error.
1942    Use char because int might match the return type of a GCC
1943    builtin and then its argument prototype would still apply.  */
1944 #ifdef __cplusplus
1945 extern "C"
1946 #endif
1947 char $2 ();
1948 /* The GNU C library defines this for functions which it implements
1949     to always fail with ENOSYS.  Some functions are actually named
1950     something starting with __ and the normal name is an alias.  */
1951 #if defined __stub_$2 || defined __stub___$2
1952 choke me
1953 #endif
1954
1955 int
1956 main ()
1957 {
1958 return $2 ();
1959   ;
1960   return 0;
1961 }
1962 _ACEOF
1963 if ac_fn_c_try_link "$LINENO"; then :
1964   eval "$3=yes"
1965 else
1966   eval "$3=no"
1967 fi
1968 rm -f core conftest.err conftest.$ac_objext \
1969     conftest$ac_exeext conftest.$ac_ext
1970 fi
1971 eval ac_res=\$$3
1972                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973 $as_echo "$ac_res" >&6; }
1974   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975
1976 } # ac_fn_c_check_func
1977
1978 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1979 # -------------------------------------------
1980 # Tests whether TYPE exists after having included INCLUDES, setting cache
1981 # variable VAR accordingly.
1982 ac_fn_c_check_type ()
1983 {
1984   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if eval \${$3+:} false; then :
1988   $as_echo_n "(cached) " >&6
1989 else
1990   eval "$3=no"
1991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h.  */
1993 $4
1994 int
1995 main ()
1996 {
1997 if (sizeof ($2))
1998          return 0;
1999   ;
2000   return 0;
2001 }
2002 _ACEOF
2003 if ac_fn_c_try_compile "$LINENO"; then :
2004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h.  */
2006 $4
2007 int
2008 main ()
2009 {
2010 if (sizeof (($2)))
2011             return 0;
2012   ;
2013   return 0;
2014 }
2015 _ACEOF
2016 if ac_fn_c_try_compile "$LINENO"; then :
2017
2018 else
2019   eval "$3=yes"
2020 fi
2021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2022 fi
2023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2024 fi
2025 eval ac_res=\$$3
2026                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2028   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029
2030 } # ac_fn_c_check_type
2031 cat >config.log <<_ACEOF
2032 This file contains any messages produced by compilers while
2033 running configure, to aid debugging if configure makes a mistake.
2034
2035 It was created by e_dbus $as_me 1.7.7, which was
2036 generated by GNU Autoconf 2.68.  Invocation command line was
2037
2038   $ $0 $@
2039
2040 _ACEOF
2041 exec 5>>config.log
2042 {
2043 cat <<_ASUNAME
2044 ## --------- ##
2045 ## Platform. ##
2046 ## --------- ##
2047
2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2053
2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2055 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2056
2057 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2058 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2060 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2061 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2062 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2063 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2064
2065 _ASUNAME
2066
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 for as_dir in $PATH
2069 do
2070   IFS=$as_save_IFS
2071   test -z "$as_dir" && as_dir=.
2072     $as_echo "PATH: $as_dir"
2073   done
2074 IFS=$as_save_IFS
2075
2076 } >&5
2077
2078 cat >&5 <<_ACEOF
2079
2080
2081 ## ----------- ##
2082 ## Core tests. ##
2083 ## ----------- ##
2084
2085 _ACEOF
2086
2087
2088 # Keep a trace of the command line.
2089 # Strip out --no-create and --no-recursion so they do not pile up.
2090 # Strip out --silent because we don't want to record it for future runs.
2091 # Also quote any args containing shell meta-characters.
2092 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_configure_args=
2094 ac_configure_args0=
2095 ac_configure_args1=
2096 ac_must_keep_next=false
2097 for ac_pass in 1 2
2098 do
2099   for ac_arg
2100   do
2101     case $ac_arg in
2102     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2103     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104     | -silent | --silent | --silen | --sile | --sil)
2105       continue ;;
2106     *\'*)
2107       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2108     esac
2109     case $ac_pass in
2110     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2111     2)
2112       as_fn_append ac_configure_args1 " '$ac_arg'"
2113       if test $ac_must_keep_next = true; then
2114         ac_must_keep_next=false # Got value, back to normal.
2115       else
2116         case $ac_arg in
2117           *=* | --config-cache | -C | -disable-* | --disable-* \
2118           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2119           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2120           | -with-* | --with-* | -without-* | --without-* | --x)
2121             case "$ac_configure_args0 " in
2122               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2123             esac
2124             ;;
2125           -* ) ac_must_keep_next=true ;;
2126         esac
2127       fi
2128       as_fn_append ac_configure_args " '$ac_arg'"
2129       ;;
2130     esac
2131   done
2132 done
2133 { ac_configure_args0=; unset ac_configure_args0;}
2134 { ac_configure_args1=; unset ac_configure_args1;}
2135
2136 # When interrupted or exit'd, cleanup temporary files, and complete
2137 # config.log.  We remove comments because anyway the quotes in there
2138 # would cause problems or look ugly.
2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2141 trap 'exit_status=$?
2142   # Save into config.log some information that might help in debugging.
2143   {
2144     echo
2145
2146     $as_echo "## ---------------- ##
2147 ## Cache variables. ##
2148 ## ---------------- ##"
2149     echo
2150     # The following way of writing the cache mishandles newlines in values,
2151 (
2152   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2153     eval ac_val=\$$ac_var
2154     case $ac_val in #(
2155     *${as_nl}*)
2156       case $ac_var in #(
2157       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2158 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2159       esac
2160       case $ac_var in #(
2161       _ | IFS | as_nl) ;; #(
2162       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2163       *) { eval $ac_var=; unset $ac_var;} ;;
2164       esac ;;
2165     esac
2166   done
2167   (set) 2>&1 |
2168     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2169     *${as_nl}ac_space=\ *)
2170       sed -n \
2171         "s/'\''/'\''\\\\'\'''\''/g;
2172           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2173       ;; #(
2174     *)
2175       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2176       ;;
2177     esac |
2178     sort
2179 )
2180     echo
2181
2182     $as_echo "## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##"
2185     echo
2186     for ac_var in $ac_subst_vars
2187     do
2188       eval ac_val=\$$ac_var
2189       case $ac_val in
2190       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191       esac
2192       $as_echo "$ac_var='\''$ac_val'\''"
2193     done | sort
2194     echo
2195
2196     if test -n "$ac_subst_files"; then
2197       $as_echo "## ------------------- ##
2198 ## File substitutions. ##
2199 ## ------------------- ##"
2200       echo
2201       for ac_var in $ac_subst_files
2202       do
2203         eval ac_val=\$$ac_var
2204         case $ac_val in
2205         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206         esac
2207         $as_echo "$ac_var='\''$ac_val'\''"
2208       done | sort
2209       echo
2210     fi
2211
2212     if test -s confdefs.h; then
2213       $as_echo "## ----------- ##
2214 ## confdefs.h. ##
2215 ## ----------- ##"
2216       echo
2217       cat confdefs.h
2218       echo
2219     fi
2220     test "$ac_signal" != 0 &&
2221       $as_echo "$as_me: caught signal $ac_signal"
2222     $as_echo "$as_me: exit $exit_status"
2223   } >&5
2224   rm -f core *.core core.conftest.* &&
2225     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2226     exit $exit_status
2227 ' 0
2228 for ac_signal in 1 2 13 15; do
2229   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2230 done
2231 ac_signal=0
2232
2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2234 rm -f -r conftest* confdefs.h
2235
2236 $as_echo "/* confdefs.h */" > confdefs.h
2237
2238 # Predefined preprocessor variables.
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2242 _ACEOF
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2246 _ACEOF
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2250 _ACEOF
2251
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_STRING "$PACKAGE_STRING"
2254 _ACEOF
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2258 _ACEOF
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_URL "$PACKAGE_URL"
2262 _ACEOF
2263
2264
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer an explicitly selected file to automatically selected ones.
2267 ac_site_file1=NONE
2268 ac_site_file2=NONE
2269 if test -n "$CONFIG_SITE"; then
2270   # We do not want a PATH search for config.site.
2271   case $CONFIG_SITE in #((
2272     -*)  ac_site_file1=./$CONFIG_SITE;;
2273     */*) ac_site_file1=$CONFIG_SITE;;
2274     *)   ac_site_file1=./$CONFIG_SITE;;
2275   esac
2276 elif test "x$prefix" != xNONE; then
2277   ac_site_file1=$prefix/share/config.site
2278   ac_site_file2=$prefix/etc/config.site
2279 else
2280   ac_site_file1=$ac_default_prefix/share/config.site
2281   ac_site_file2=$ac_default_prefix/etc/config.site
2282 fi
2283 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2284 do
2285   test "x$ac_site_file" = xNONE && continue
2286   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2287     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2288 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2289     sed 's/^/| /' "$ac_site_file" >&5
2290     . "$ac_site_file" \
2291       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 as_fn_error $? "failed to load site script $ac_site_file
2294 See \`config.log' for more details" "$LINENO" 5; }
2295   fi
2296 done
2297
2298 if test -r "$cache_file"; then
2299   # Some versions of bash will fail to source /dev/null (special files
2300   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2301   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2302     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2303 $as_echo "$as_me: loading cache $cache_file" >&6;}
2304     case $cache_file in
2305       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2306       *)                      . "./$cache_file";;
2307     esac
2308   fi
2309 else
2310   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2311 $as_echo "$as_me: creating cache $cache_file" >&6;}
2312   >$cache_file
2313 fi
2314
2315 # Check that the precious variables saved in the cache have kept the same
2316 # value.
2317 ac_cache_corrupted=false
2318 for ac_var in $ac_precious_vars; do
2319   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2320   eval ac_new_set=\$ac_env_${ac_var}_set
2321   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2322   eval ac_new_val=\$ac_env_${ac_var}_value
2323   case $ac_old_set,$ac_new_set in
2324     set,)
2325       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2326 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2327       ac_cache_corrupted=: ;;
2328     ,set)
2329       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2330 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2331       ac_cache_corrupted=: ;;
2332     ,);;
2333     *)
2334       if test "x$ac_old_val" != "x$ac_new_val"; then
2335         # differences in whitespace do not lead to failure.
2336         ac_old_val_w=`echo x $ac_old_val`
2337         ac_new_val_w=`echo x $ac_new_val`
2338         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2339           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2340 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2341           ac_cache_corrupted=:
2342         else
2343           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2344 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2345           eval $ac_var=\$ac_old_val
2346         fi
2347         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2348 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2349         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2350 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2351       fi;;
2352   esac
2353   # Pass precious variables to config.status.
2354   if test "$ac_new_set" = set; then
2355     case $ac_new_val in
2356     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2357     *) ac_arg=$ac_var=$ac_new_val ;;
2358     esac
2359     case " $ac_configure_args " in
2360       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2361       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2362     esac
2363   fi
2364 done
2365 if $ac_cache_corrupted; then
2366   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2369 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2370   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2371 fi
2372 ## -------------------- ##
2373 ## Main body of script. ##
2374 ## -------------------- ##
2375
2376 ac_ext=c
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381
2382
2383
2384
2385
2386
2387 ac_config_headers="$ac_config_headers config.h"
2388
2389
2390
2391
2392 am__api_version='1.11'
2393
2394 ac_aux_dir=
2395 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2396   if test -f "$ac_dir/install-sh"; then
2397     ac_aux_dir=$ac_dir
2398     ac_install_sh="$ac_aux_dir/install-sh -c"
2399     break
2400   elif test -f "$ac_dir/install.sh"; then
2401     ac_aux_dir=$ac_dir
2402     ac_install_sh="$ac_aux_dir/install.sh -c"
2403     break
2404   elif test -f "$ac_dir/shtool"; then
2405     ac_aux_dir=$ac_dir
2406     ac_install_sh="$ac_aux_dir/shtool install -c"
2407     break
2408   fi
2409 done
2410 if test -z "$ac_aux_dir"; then
2411   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2412 fi
2413
2414 # These three variables are undocumented and unsupported,
2415 # and are intended to be withdrawn in a future Autoconf release.
2416 # They can cause serious problems if a builder's source tree is in a directory
2417 # whose full name contains unusual characters.
2418 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2419 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2420 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2421
2422
2423 # Find a good install program.  We prefer a C program (faster),
2424 # so one script is as good as another.  But avoid the broken or
2425 # incompatible versions:
2426 # SysV /etc/install, /usr/sbin/install
2427 # SunOS /usr/etc/install
2428 # IRIX /sbin/install
2429 # AIX /bin/install
2430 # AmigaOS /C/install, which installs bootblocks on floppy discs
2431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2434 # OS/2's system install, which has a completely different semantic
2435 # ./install, which can be erroneously created by make from ./install.sh.
2436 # Reject install programs that cannot install multiple files.
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2438 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2439 if test -z "$INSTALL"; then
2440 if ${ac_cv_path_install+:} false; then :
2441   $as_echo_n "(cached) " >&6
2442 else
2443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 for as_dir in $PATH
2445 do
2446   IFS=$as_save_IFS
2447   test -z "$as_dir" && as_dir=.
2448     # Account for people who put trailing slashes in PATH elements.
2449 case $as_dir/ in #((
2450   ./ | .// | /[cC]/* | \
2451   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2452   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2453   /usr/ucb/* ) ;;
2454   *)
2455     # OSF1 and SCO ODT 3.0 have their own names for install.
2456     # Don't use installbsd from OSF since it installs stuff as root
2457     # by default.
2458     for ac_prog in ginstall scoinst install; do
2459       for ac_exec_ext in '' $ac_executable_extensions; do
2460         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2461           if test $ac_prog = install &&
2462             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2463             # AIX install.  It has an incompatible calling convention.
2464             :
2465           elif test $ac_prog = install &&
2466             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2467             # program-specific install script used by HP pwplus--don't use.
2468             :
2469           else
2470             rm -rf conftest.one conftest.two conftest.dir
2471             echo one > conftest.one
2472             echo two > conftest.two
2473             mkdir conftest.dir
2474             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2475               test -s conftest.one && test -s conftest.two &&
2476               test -s conftest.dir/conftest.one &&
2477               test -s conftest.dir/conftest.two
2478             then
2479               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2480               break 3
2481             fi
2482           fi
2483         fi
2484       done
2485     done
2486     ;;
2487 esac
2488
2489   done
2490 IFS=$as_save_IFS
2491
2492 rm -rf conftest.one conftest.two conftest.dir
2493
2494 fi
2495   if test "${ac_cv_path_install+set}" = set; then
2496     INSTALL=$ac_cv_path_install
2497   else
2498     # As a last resort, use the slow shell script.  Don't cache a
2499     # value for INSTALL within a source directory, because that will
2500     # break other packages using the cache if that directory is
2501     # removed, or if the value is a relative name.
2502     INSTALL=$ac_install_sh
2503   fi
2504 fi
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2506 $as_echo "$INSTALL" >&6; }
2507
2508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2509 # It thinks the first close brace ends the variable substitution.
2510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2511
2512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2513
2514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2515
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2517 $as_echo_n "checking whether build environment is sane... " >&6; }
2518 # Just in case
2519 sleep 1
2520 echo timestamp > conftest.file
2521 # Reject unsafe characters in $srcdir or the absolute working directory
2522 # name.  Accept space and tab only in the latter.
2523 am_lf='
2524 '
2525 case `pwd` in
2526   *[\\\"\#\$\&\'\`$am_lf]*)
2527     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2528 esac
2529 case $srcdir in
2530   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2531     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2532 esac
2533
2534 # Do `set' in a subshell so we don't clobber the current shell's
2535 # arguments.  Must try -L first in case configure is actually a
2536 # symlink; some systems play weird games with the mod time of symlinks
2537 # (eg FreeBSD returns the mod time of the symlink's containing
2538 # directory).
2539 if (
2540    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2541    if test "$*" = "X"; then
2542       # -L didn't work.
2543       set X `ls -t "$srcdir/configure" conftest.file`
2544    fi
2545    rm -f conftest.file
2546    if test "$*" != "X $srcdir/configure conftest.file" \
2547       && test "$*" != "X conftest.file $srcdir/configure"; then
2548
2549       # If neither matched, then we have a broken ls.  This can happen
2550       # if, for instance, CONFIG_SHELL is bash and it inherits a
2551       # broken ls alias from the environment.  This has actually
2552       # happened.  Such a system could not be considered "sane".
2553       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2554 alias in your environment" "$LINENO" 5
2555    fi
2556
2557    test "$2" = conftest.file
2558    )
2559 then
2560    # Ok.
2561    :
2562 else
2563    as_fn_error $? "newly created file is older than distributed files!
2564 Check your system clock" "$LINENO" 5
2565 fi
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2567 $as_echo "yes" >&6; }
2568 test "$program_prefix" != NONE &&
2569   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2570 # Use a double $ so make ignores it.
2571 test "$program_suffix" != NONE &&
2572   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2573 # Double any \ or $.
2574 # By default was `s,x,x', remove it if useless.
2575 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2576 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2577
2578 # expand $ac_aux_dir to an absolute path
2579 am_aux_dir=`cd $ac_aux_dir && pwd`
2580
2581 if test x"${MISSING+set}" != xset; then
2582   case $am_aux_dir in
2583   *\ * | *\     *)
2584     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2585   *)
2586     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2587   esac
2588 fi
2589 # Use eval to expand $SHELL
2590 if eval "$MISSING --run true"; then
2591   am_missing_run="$MISSING --run "
2592 else
2593   am_missing_run=
2594   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2595 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2596 fi
2597
2598 if test x"${install_sh}" != xset; then
2599   case $am_aux_dir in
2600   *\ * | *\     *)
2601     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2602   *)
2603     install_sh="\${SHELL} $am_aux_dir/install-sh"
2604   esac
2605 fi
2606
2607 # Installed binaries are usually stripped using `strip' when the user
2608 # run `make install-strip'.  However `strip' might not be the right
2609 # tool to use in cross-compilation environments, therefore Automake
2610 # will honor the `STRIP' environment variable to overrule this program.
2611 if test "$cross_compiling" != no; then
2612   if test -n "$ac_tool_prefix"; then
2613   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}strip; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if ${ac_cv_prog_STRIP+:} false; then :
2618   $as_echo_n "(cached) " >&6
2619 else
2620   if test -n "$STRIP"; then
2621   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2622 else
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH
2625 do
2626   IFS=$as_save_IFS
2627   test -z "$as_dir" && as_dir=.
2628     for ac_exec_ext in '' $ac_executable_extensions; do
2629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2632     break 2
2633   fi
2634 done
2635   done
2636 IFS=$as_save_IFS
2637
2638 fi
2639 fi
2640 STRIP=$ac_cv_prog_STRIP
2641 if test -n "$STRIP"; then
2642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2643 $as_echo "$STRIP" >&6; }
2644 else
2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2647 fi
2648
2649
2650 fi
2651 if test -z "$ac_cv_prog_STRIP"; then
2652   ac_ct_STRIP=$STRIP
2653   # Extract the first word of "strip", so it can be a program name with args.
2654 set dummy strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2658   $as_echo_n "(cached) " >&6
2659 else
2660   if test -n "$ac_ct_STRIP"; then
2661   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2662 else
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668     for ac_exec_ext in '' $ac_executable_extensions; do
2669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670     ac_cv_prog_ac_ct_STRIP="strip"
2671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672     break 2
2673   fi
2674 done
2675   done
2676 IFS=$as_save_IFS
2677
2678 fi
2679 fi
2680 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2681 if test -n "$ac_ct_STRIP"; then
2682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2683 $as_echo "$ac_ct_STRIP" >&6; }
2684 else
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2687 fi
2688
2689   if test "x$ac_ct_STRIP" = x; then
2690     STRIP=":"
2691   else
2692     case $cross_compiling:$ac_tool_warned in
2693 yes:)
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2696 ac_tool_warned=yes ;;
2697 esac
2698     STRIP=$ac_ct_STRIP
2699   fi
2700 else
2701   STRIP="$ac_cv_prog_STRIP"
2702 fi
2703
2704 fi
2705 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2706
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2708 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2709 if test -z "$MKDIR_P"; then
2710   if ${ac_cv_path_mkdir+:} false; then :
2711   $as_echo_n "(cached) " >&6
2712 else
2713   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2715 do
2716   IFS=$as_save_IFS
2717   test -z "$as_dir" && as_dir=.
2718     for ac_prog in mkdir gmkdir; do
2719          for ac_exec_ext in '' $ac_executable_extensions; do
2720            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2721            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2722              'mkdir (GNU coreutils) '* | \
2723              'mkdir (coreutils) '* | \
2724              'mkdir (fileutils) '4.1*)
2725                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2726                break 3;;
2727            esac
2728          done
2729        done
2730   done
2731 IFS=$as_save_IFS
2732
2733 fi
2734
2735   test -d ./--version && rmdir ./--version
2736   if test "${ac_cv_path_mkdir+set}" = set; then
2737     MKDIR_P="$ac_cv_path_mkdir -p"
2738   else
2739     # As a last resort, use the slow shell script.  Don't cache a
2740     # value for MKDIR_P within a source directory, because that will
2741     # break other packages using the cache if that directory is
2742     # removed, or if the value is a relative name.
2743     MKDIR_P="$ac_install_sh -d"
2744   fi
2745 fi
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2747 $as_echo "$MKDIR_P" >&6; }
2748
2749 mkdir_p="$MKDIR_P"
2750 case $mkdir_p in
2751   [\\/$]* | ?:[\\/]*) ;;
2752   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2753 esac
2754
2755 for ac_prog in gawk mawk nawk awk
2756 do
2757   # Extract the first word of "$ac_prog", so it can be a program name with args.
2758 set dummy $ac_prog; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_AWK+:} false; then :
2762   $as_echo_n "(cached) " >&6
2763 else
2764   if test -n "$AWK"; then
2765   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2766 else
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 for as_dir in $PATH
2769 do
2770   IFS=$as_save_IFS
2771   test -z "$as_dir" && as_dir=.
2772     for ac_exec_ext in '' $ac_executable_extensions; do
2773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774     ac_cv_prog_AWK="$ac_prog"
2775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776     break 2
2777   fi
2778 done
2779   done
2780 IFS=$as_save_IFS
2781
2782 fi
2783 fi
2784 AWK=$ac_cv_prog_AWK
2785 if test -n "$AWK"; then
2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2787 $as_echo "$AWK" >&6; }
2788 else
2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2791 fi
2792
2793
2794   test -n "$AWK" && break
2795 done
2796
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2799 set x ${MAKE-make}
2800 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2801 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2802   $as_echo_n "(cached) " >&6
2803 else
2804   cat >conftest.make <<\_ACEOF
2805 SHELL = /bin/sh
2806 all:
2807         @echo '@@@%%%=$(MAKE)=@@@%%%'
2808 _ACEOF
2809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2811   *@@@%%%=?*=@@@%%%*)
2812     eval ac_cv_prog_make_${ac_make}_set=yes;;
2813   *)
2814     eval ac_cv_prog_make_${ac_make}_set=no;;
2815 esac
2816 rm -f conftest.make
2817 fi
2818 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820 $as_echo "yes" >&6; }
2821   SET_MAKE=
2822 else
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825   SET_MAKE="MAKE=${MAKE-make}"
2826 fi
2827
2828 rm -rf .tst 2>/dev/null
2829 mkdir .tst 2>/dev/null
2830 if test -d .tst; then
2831   am__leading_dot=.
2832 else
2833   am__leading_dot=_
2834 fi
2835 rmdir .tst 2>/dev/null
2836
2837 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2838   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2839   # is not polluted with repeated "-I."
2840   am__isrc=' -I$(srcdir)'
2841   # test to see if srcdir already configured
2842   if test -f $srcdir/config.status; then
2843     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2844   fi
2845 fi
2846
2847 # test whether we have cygpath
2848 if test -z "$CYGPATH_W"; then
2849   if (cygpath --version) >/dev/null 2>/dev/null; then
2850     CYGPATH_W='cygpath -w'
2851   else
2852     CYGPATH_W=echo
2853   fi
2854 fi
2855
2856
2857 # Define the identity of the package.
2858  PACKAGE='e_dbus'
2859  VERSION='1.7.7'
2860
2861
2862 cat >>confdefs.h <<_ACEOF
2863 #define PACKAGE "$PACKAGE"
2864 _ACEOF
2865
2866
2867 cat >>confdefs.h <<_ACEOF
2868 #define VERSION "$VERSION"
2869 _ACEOF
2870
2871 # Some tools Automake needs.
2872
2873 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2874
2875
2876 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2877
2878
2879 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2880
2881
2882 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2883
2884
2885 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2886
2887 # We need awk for the "check" target.  The system "awk" is bad on
2888 # some platforms.
2889 # Always define AMTAR for backward compatibility.  Yes, it's still used
2890 # in the wild :-(  We should find a proper way to deprecate it ...
2891 AMTAR='$${TAR-tar}'
2892
2893 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2894
2895
2896
2897
2898
2899 # Check whether --enable-silent-rules was given.
2900 if test "${enable_silent_rules+set}" = set; then :
2901   enableval=$enable_silent_rules;
2902 fi
2903
2904 case $enable_silent_rules in
2905 yes) AM_DEFAULT_VERBOSITY=0;;
2906 no)  AM_DEFAULT_VERBOSITY=1;;
2907 *)   AM_DEFAULT_VERBOSITY=0;;
2908 esac
2909 am_make=${MAKE-make}
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2911 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2912 if ${am_cv_make_support_nested_variables+:} false; then :
2913   $as_echo_n "(cached) " >&6
2914 else
2915   if $as_echo 'TRUE=$(BAR$(V))
2916 BAR0=false
2917 BAR1=true
2918 V=1
2919 am__doit:
2920         @$(TRUE)
2921 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2922   am_cv_make_support_nested_variables=yes
2923 else
2924   am_cv_make_support_nested_variables=no
2925 fi
2926 fi
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2928 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2929 if test $am_cv_make_support_nested_variables = yes; then
2930     AM_V='$(V)'
2931   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2932 else
2933   AM_V=$AM_DEFAULT_VERBOSITY
2934   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2935 fi
2936 AM_BACKSLASH='\'
2937
2938
2939 # Make sure we can run config.sub.
2940 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2941   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2942
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2944 $as_echo_n "checking build system type... " >&6; }
2945 if ${ac_cv_build+:} false; then :
2946   $as_echo_n "(cached) " >&6
2947 else
2948   ac_build_alias=$build_alias
2949 test "x$ac_build_alias" = x &&
2950   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2951 test "x$ac_build_alias" = x &&
2952   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2953 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2954   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2955
2956 fi
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2958 $as_echo "$ac_cv_build" >&6; }
2959 case $ac_cv_build in
2960 *-*-*) ;;
2961 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2962 esac
2963 build=$ac_cv_build
2964 ac_save_IFS=$IFS; IFS='-'
2965 set x $ac_cv_build
2966 shift
2967 build_cpu=$1
2968 build_vendor=$2
2969 shift; shift
2970 # Remember, the first character of IFS is used to create $*,
2971 # except with old shells:
2972 build_os=$*
2973 IFS=$ac_save_IFS
2974 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2975
2976
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2978 $as_echo_n "checking host system type... " >&6; }
2979 if ${ac_cv_host+:} false; then :
2980   $as_echo_n "(cached) " >&6
2981 else
2982   if test "x$host_alias" = x; then
2983   ac_cv_host=$ac_cv_build
2984 else
2985   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2986     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2987 fi
2988
2989 fi
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2991 $as_echo "$ac_cv_host" >&6; }
2992 case $ac_cv_host in
2993 *-*-*) ;;
2994 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2995 esac
2996 host=$ac_cv_host
2997 ac_save_IFS=$IFS; IFS='-'
2998 set x $ac_cv_host
2999 shift
3000 host_cpu=$1
3001 host_vendor=$2
3002 shift; shift
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3005 host_os=$*
3006 IFS=$ac_save_IFS
3007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3008
3009
3010 enable_win32_dll=yes
3011
3012 case $host in
3013 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3014   if test -n "$ac_tool_prefix"; then
3015   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3016 set dummy ${ac_tool_prefix}as; ac_word=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if ${ac_cv_prog_AS+:} false; then :
3020   $as_echo_n "(cached) " >&6
3021 else
3022   if test -n "$AS"; then
3023   ac_cv_prog_AS="$AS" # Let the user override the test.
3024 else
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026 for as_dir in $PATH
3027 do
3028   IFS=$as_save_IFS
3029   test -z "$as_dir" && as_dir=.
3030     for ac_exec_ext in '' $ac_executable_extensions; do
3031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032     ac_cv_prog_AS="${ac_tool_prefix}as"
3033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034     break 2
3035   fi
3036 done
3037   done
3038 IFS=$as_save_IFS
3039
3040 fi
3041 fi
3042 AS=$ac_cv_prog_AS
3043 if test -n "$AS"; then
3044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3045 $as_echo "$AS" >&6; }
3046 else
3047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3049 fi
3050
3051
3052 fi
3053 if test -z "$ac_cv_prog_AS"; then
3054   ac_ct_AS=$AS
3055   # Extract the first word of "as", so it can be a program name with args.
3056 set dummy as; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3060   $as_echo_n "(cached) " >&6
3061 else
3062   if test -n "$ac_ct_AS"; then
3063   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3064 else
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 for as_dir in $PATH
3067 do
3068   IFS=$as_save_IFS
3069   test -z "$as_dir" && as_dir=.
3070     for ac_exec_ext in '' $ac_executable_extensions; do
3071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072     ac_cv_prog_ac_ct_AS="as"
3073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074     break 2
3075   fi
3076 done
3077   done
3078 IFS=$as_save_IFS
3079
3080 fi
3081 fi
3082 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3083 if test -n "$ac_ct_AS"; then
3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3085 $as_echo "$ac_ct_AS" >&6; }
3086 else
3087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3089 fi
3090
3091   if test "x$ac_ct_AS" = x; then
3092     AS="false"
3093   else
3094     case $cross_compiling:$ac_tool_warned in
3095 yes:)
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3098 ac_tool_warned=yes ;;
3099 esac
3100     AS=$ac_ct_AS
3101   fi
3102 else
3103   AS="$ac_cv_prog_AS"
3104 fi
3105
3106   if test -n "$ac_tool_prefix"; then
3107   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3108 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 $as_echo_n "checking for $ac_word... " >&6; }
3111 if ${ac_cv_prog_DLLTOOL+:} false; then :
3112   $as_echo_n "(cached) " >&6
3113 else
3114   if test -n "$DLLTOOL"; then
3115   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3116 else
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118 for as_dir in $PATH
3119 do
3120   IFS=$as_save_IFS
3121   test -z "$as_dir" && as_dir=.
3122     for ac_exec_ext in '' $ac_executable_extensions; do
3123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3124     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126     break 2
3127   fi
3128 done
3129   done
3130 IFS=$as_save_IFS
3131
3132 fi
3133 fi
3134 DLLTOOL=$ac_cv_prog_DLLTOOL
3135 if test -n "$DLLTOOL"; then
3136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3137 $as_echo "$DLLTOOL" >&6; }
3138 else
3139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3141 fi
3142
3143
3144 fi
3145 if test -z "$ac_cv_prog_DLLTOOL"; then
3146   ac_ct_DLLTOOL=$DLLTOOL
3147   # Extract the first word of "dlltool", so it can be a program name with args.
3148 set dummy dlltool; ac_word=$2
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150 $as_echo_n "checking for $ac_word... " >&6; }
3151 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3152   $as_echo_n "(cached) " >&6
3153 else
3154   if test -n "$ac_ct_DLLTOOL"; then
3155   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3156 else
3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 for as_dir in $PATH
3159 do
3160   IFS=$as_save_IFS
3161   test -z "$as_dir" && as_dir=.
3162     for ac_exec_ext in '' $ac_executable_extensions; do
3163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166     break 2
3167   fi
3168 done
3169   done
3170 IFS=$as_save_IFS
3171
3172 fi
3173 fi
3174 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3175 if test -n "$ac_ct_DLLTOOL"; then
3176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3177 $as_echo "$ac_ct_DLLTOOL" >&6; }
3178 else
3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3181 fi
3182
3183   if test "x$ac_ct_DLLTOOL" = x; then
3184     DLLTOOL="false"
3185   else
3186     case $cross_compiling:$ac_tool_warned in
3187 yes:)
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3190 ac_tool_warned=yes ;;
3191 esac
3192     DLLTOOL=$ac_ct_DLLTOOL
3193   fi
3194 else
3195   DLLTOOL="$ac_cv_prog_DLLTOOL"
3196 fi
3197
3198   if test -n "$ac_tool_prefix"; then
3199   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3200 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if ${ac_cv_prog_OBJDUMP+:} false; then :
3204   $as_echo_n "(cached) " >&6
3205 else
3206   if test -n "$OBJDUMP"; then
3207   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3208 else
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 for as_dir in $PATH
3211 do
3212   IFS=$as_save_IFS
3213   test -z "$as_dir" && as_dir=.
3214     for ac_exec_ext in '' $ac_executable_extensions; do
3215   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218     break 2
3219   fi
3220 done
3221   done
3222 IFS=$as_save_IFS
3223
3224 fi
3225 fi
3226 OBJDUMP=$ac_cv_prog_OBJDUMP
3227 if test -n "$OBJDUMP"; then
3228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3229 $as_echo "$OBJDUMP" >&6; }
3230 else
3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 $as_echo "no" >&6; }
3233 fi
3234
3235
3236 fi
3237 if test -z "$ac_cv_prog_OBJDUMP"; then
3238   ac_ct_OBJDUMP=$OBJDUMP
3239   # Extract the first word of "objdump", so it can be a program name with args.
3240 set dummy objdump; ac_word=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3244   $as_echo_n "(cached) " >&6
3245 else
3246   if test -n "$ac_ct_OBJDUMP"; then
3247   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3248 else
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 for as_dir in $PATH
3251 do
3252   IFS=$as_save_IFS
3253   test -z "$as_dir" && as_dir=.
3254     for ac_exec_ext in '' $ac_executable_extensions; do
3255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258     break 2
3259   fi
3260 done
3261   done
3262 IFS=$as_save_IFS
3263
3264 fi
3265 fi
3266 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3267 if test -n "$ac_ct_OBJDUMP"; then
3268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3269 $as_echo "$ac_ct_OBJDUMP" >&6; }
3270 else
3271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 fi
3274
3275   if test "x$ac_ct_OBJDUMP" = x; then
3276     OBJDUMP="false"
3277   else
3278     case $cross_compiling:$ac_tool_warned in
3279 yes:)
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3282 ac_tool_warned=yes ;;
3283 esac
3284     OBJDUMP=$ac_ct_OBJDUMP
3285   fi
3286 else
3287   OBJDUMP="$ac_cv_prog_OBJDUMP"
3288 fi
3289
3290   ;;
3291 esac
3292
3293 test -z "$AS" && AS=as
3294
3295
3296
3297
3298
3299 test -z "$DLLTOOL" && DLLTOOL=dlltool
3300
3301
3302
3303
3304
3305 test -z "$OBJDUMP" && OBJDUMP=objdump
3306
3307
3308
3309
3310
3311
3312
3313 case `pwd` in
3314   *\ * | *\     *)
3315     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3316 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3317 esac
3318
3319
3320
3321 macro_version='2.4.2'
3322 macro_revision='1.3337'
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336 ltmain="$ac_aux_dir/ltmain.sh"
3337
3338 # Backslashify metacharacters that are still active within
3339 # double-quoted strings.
3340 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3341
3342 # Same as above, but do not quote variable references.
3343 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3344
3345 # Sed substitution to delay expansion of an escaped shell variable in a
3346 # double_quote_subst'ed string.
3347 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3348
3349 # Sed substitution to delay expansion of an escaped single quote.
3350 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3351
3352 # Sed substitution to avoid accidental globbing in evaled expressions
3353 no_glob_subst='s/\*/\\\*/g'
3354
3355 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3356 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3357 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3358
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3360 $as_echo_n "checking how to print strings... " >&6; }
3361 # Test print first, because it will be a builtin if present.
3362 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3363    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3364   ECHO='print -r --'
3365 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3366   ECHO='printf %s\n'
3367 else
3368   # Use this function as a fallback that always works.
3369   func_fallback_echo ()
3370   {
3371     eval 'cat <<_LTECHO_EOF
3372 $1
3373 _LTECHO_EOF'
3374   }
3375   ECHO='func_fallback_echo'
3376 fi
3377
3378 # func_echo_all arg...
3379 # Invoke $ECHO with all args, space-separated.
3380 func_echo_all ()
3381 {
3382     $ECHO ""
3383 }
3384
3385 case "$ECHO" in
3386   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3387 $as_echo "printf" >&6; } ;;
3388   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3389 $as_echo "print -r" >&6; } ;;
3390   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3391 $as_echo "cat" >&6; } ;;
3392 esac
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407 DEPDIR="${am__leading_dot}deps"
3408
3409 ac_config_commands="$ac_config_commands depfiles"
3410
3411
3412 am_make=${MAKE-make}
3413 cat > confinc << 'END'
3414 am__doit:
3415         @echo this is the am__doit target
3416 .PHONY: am__doit
3417 END
3418 # If we don't find an include directive, just comment out the code.
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3420 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3421 am__include="#"
3422 am__quote=
3423 _am_result=none
3424 # First try GNU make style include.
3425 echo "include confinc" > confmf
3426 # Ignore all kinds of additional output from `make'.
3427 case `$am_make -s -f confmf 2> /dev/null` in #(
3428 *the\ am__doit\ target*)
3429   am__include=include
3430   am__quote=
3431   _am_result=GNU
3432   ;;
3433 esac
3434 # Now try BSD make style include.
3435 if test "$am__include" = "#"; then
3436    echo '.include "confinc"' > confmf
3437    case `$am_make -s -f confmf 2> /dev/null` in #(
3438    *the\ am__doit\ target*)
3439      am__include=.include
3440      am__quote="\""
3441      _am_result=BSD
3442      ;;
3443    esac
3444 fi
3445
3446
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3448 $as_echo "$_am_result" >&6; }
3449 rm -f confinc confmf
3450
3451 # Check whether --enable-dependency-tracking was given.
3452 if test "${enable_dependency_tracking+set}" = set; then :
3453   enableval=$enable_dependency_tracking;
3454 fi
3455
3456 if test "x$enable_dependency_tracking" != xno; then
3457   am_depcomp="$ac_aux_dir/depcomp"
3458   AMDEPBACKSLASH='\'
3459   am__nodep='_no'
3460 fi
3461  if test "x$enable_dependency_tracking" != xno; then
3462   AMDEP_TRUE=
3463   AMDEP_FALSE='#'
3464 else
3465   AMDEP_TRUE='#'
3466   AMDEP_FALSE=
3467 fi
3468
3469
3470 ac_ext=c
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 if test -n "$ac_tool_prefix"; then
3476   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3477 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if ${ac_cv_prog_CC+:} false; then :
3481   $as_echo_n "(cached) " >&6
3482 else
3483   if test -n "$CC"; then
3484   ac_cv_prog_CC="$CC" # Let the user override the test.
3485 else
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487 for as_dir in $PATH
3488 do
3489   IFS=$as_save_IFS
3490   test -z "$as_dir" && as_dir=.
3491     for ac_exec_ext in '' $ac_executable_extensions; do
3492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3493     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495     break 2
3496   fi
3497 done
3498   done
3499 IFS=$as_save_IFS
3500
3501 fi
3502 fi
3503 CC=$ac_cv_prog_CC
3504 if test -n "$CC"; then
3505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3506 $as_echo "$CC" >&6; }
3507 else
3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3510 fi
3511
3512
3513 fi
3514 if test -z "$ac_cv_prog_CC"; then
3515   ac_ct_CC=$CC
3516   # Extract the first word of "gcc", so it can be a program name with args.
3517 set dummy gcc; ac_word=$2
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 $as_echo_n "checking for $ac_word... " >&6; }
3520 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3521   $as_echo_n "(cached) " >&6
3522 else
3523   if test -n "$ac_ct_CC"; then
3524   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3525 else
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527 for as_dir in $PATH
3528 do
3529   IFS=$as_save_IFS
3530   test -z "$as_dir" && as_dir=.
3531     for ac_exec_ext in '' $ac_executable_extensions; do
3532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533     ac_cv_prog_ac_ct_CC="gcc"
3534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535     break 2
3536   fi
3537 done
3538   done
3539 IFS=$as_save_IFS
3540
3541 fi
3542 fi
3543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3544 if test -n "$ac_ct_CC"; then
3545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3546 $as_echo "$ac_ct_CC" >&6; }
3547 else
3548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3550 fi
3551
3552   if test "x$ac_ct_CC" = x; then
3553     CC=""
3554   else
3555     case $cross_compiling:$ac_tool_warned in
3556 yes:)
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3559 ac_tool_warned=yes ;;
3560 esac
3561     CC=$ac_ct_CC
3562   fi
3563 else
3564   CC="$ac_cv_prog_CC"
3565 fi
3566
3567 if test -z "$CC"; then
3568           if test -n "$ac_tool_prefix"; then
3569     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3570 set dummy ${ac_tool_prefix}cc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if ${ac_cv_prog_CC+:} false; then :
3574   $as_echo_n "(cached) " >&6
3575 else
3576   if test -n "$CC"; then
3577   ac_cv_prog_CC="$CC" # Let the user override the test.
3578 else
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3581 do
3582   IFS=$as_save_IFS
3583   test -z "$as_dir" && as_dir=.
3584     for ac_exec_ext in '' $ac_executable_extensions; do
3585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586     ac_cv_prog_CC="${ac_tool_prefix}cc"
3587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588     break 2
3589   fi
3590 done
3591   done
3592 IFS=$as_save_IFS
3593
3594 fi
3595 fi
3596 CC=$ac_cv_prog_CC
3597 if test -n "$CC"; then
3598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 $as_echo "$CC" >&6; }
3600 else
3601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3603 fi
3604
3605
3606   fi
3607 fi
3608 if test -z "$CC"; then
3609   # Extract the first word of "cc", so it can be a program name with args.
3610 set dummy cc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if ${ac_cv_prog_CC+:} false; then :
3614   $as_echo_n "(cached) " >&6
3615 else
3616   if test -n "$CC"; then
3617   ac_cv_prog_CC="$CC" # Let the user override the test.
3618 else
3619   ac_prog_rejected=no
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3622 do
3623   IFS=$as_save_IFS
3624   test -z "$as_dir" && as_dir=.
3625     for ac_exec_ext in '' $ac_executable_extensions; do
3626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3628        ac_prog_rejected=yes
3629        continue
3630      fi
3631     ac_cv_prog_CC="cc"
3632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633     break 2
3634   fi
3635 done
3636   done
3637 IFS=$as_save_IFS
3638
3639 if test $ac_prog_rejected = yes; then
3640   # We found a bogon in the path, so make sure we never use it.
3641   set dummy $ac_cv_prog_CC
3642   shift
3643   if test $# != 0; then
3644     # We chose a different compiler from the bogus one.
3645     # However, it has the same basename, so the bogon will be chosen
3646     # first if we set CC to just the basename; use the full file name.
3647     shift
3648     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3649   fi
3650 fi
3651 fi
3652 fi
3653 CC=$ac_cv_prog_CC
3654 if test -n "$CC"; then
3655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3656 $as_echo "$CC" >&6; }
3657 else
3658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3660 fi
3661
3662
3663 fi
3664 if test -z "$CC"; then
3665   if test -n "$ac_tool_prefix"; then
3666   for ac_prog in cl.exe
3667   do
3668     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3669 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false; then :
3673   $as_echo_n "(cached) " >&6
3674 else
3675   if test -n "$CC"; then
3676   ac_cv_prog_CC="$CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3680 do
3681   IFS=$as_save_IFS
3682   test -z "$as_dir" && as_dir=.
3683     for ac_exec_ext in '' $ac_executable_extensions; do
3684   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687     break 2
3688   fi
3689 done
3690   done
3691 IFS=$as_save_IFS
3692
3693 fi
3694 fi
3695 CC=$ac_cv_prog_CC
3696 if test -n "$CC"; then
3697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3699 else
3700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3702 fi
3703
3704
3705     test -n "$CC" && break
3706   done
3707 fi
3708 if test -z "$CC"; then
3709   ac_ct_CC=$CC
3710   for ac_prog in cl.exe
3711 do
3712   # Extract the first word of "$ac_prog", so it can be a program name with args.
3713 set dummy $ac_prog; ac_word=$2
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715 $as_echo_n "checking for $ac_word... " >&6; }
3716 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3717   $as_echo_n "(cached) " >&6
3718 else
3719   if test -n "$ac_ct_CC"; then
3720   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3721 else
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 for as_dir in $PATH
3724 do
3725   IFS=$as_save_IFS
3726   test -z "$as_dir" && as_dir=.
3727     for ac_exec_ext in '' $ac_executable_extensions; do
3728   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729     ac_cv_prog_ac_ct_CC="$ac_prog"
3730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3731     break 2
3732   fi
3733 done
3734   done
3735 IFS=$as_save_IFS
3736
3737 fi
3738 fi
3739 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3740 if test -n "$ac_ct_CC"; then
3741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3742 $as_echo "$ac_ct_CC" >&6; }
3743 else
3744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 $as_echo "no" >&6; }
3746 fi
3747
3748
3749   test -n "$ac_ct_CC" && break
3750 done
3751
3752   if test "x$ac_ct_CC" = x; then
3753     CC=""
3754   else
3755     case $cross_compiling:$ac_tool_warned in
3756 yes:)
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3759 ac_tool_warned=yes ;;
3760 esac
3761     CC=$ac_ct_CC
3762   fi
3763 fi
3764
3765 fi
3766
3767
3768 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770 as_fn_error $? "no acceptable C compiler found in \$PATH
3771 See \`config.log' for more details" "$LINENO" 5; }
3772
3773 # Provide some information about the compiler.
3774 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3775 set X $ac_compile
3776 ac_compiler=$2
3777 for ac_option in --version -v -V -qversion; do
3778   { { ac_try="$ac_compiler $ac_option >&5"
3779 case "(($ac_try" in
3780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3781   *) ac_try_echo=$ac_try;;
3782 esac
3783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3784 $as_echo "$ac_try_echo"; } >&5
3785   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3786   ac_status=$?
3787   if test -s conftest.err; then
3788     sed '10a\
3789 ... rest of stderr output deleted ...
3790          10q' conftest.err >conftest.er1
3791     cat conftest.er1 >&5
3792   fi
3793   rm -f conftest.er1 conftest.err
3794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795   test $ac_status = 0; }
3796 done
3797
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h.  */
3800
3801 int
3802 main ()
3803 {
3804
3805   ;
3806   return 0;
3807 }
3808 _ACEOF
3809 ac_clean_files_save=$ac_clean_files
3810 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3811 # Try to create an executable without -o first, disregard a.out.
3812 # It will help us diagnose broken compilers, and finding out an intuition
3813 # of exeext.
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3815 $as_echo_n "checking whether the C compiler works... " >&6; }
3816 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3817
3818 # The possible output files:
3819 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3820
3821 ac_rmfiles=
3822 for ac_file in $ac_files
3823 do
3824   case $ac_file in
3825     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3826     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3827   esac
3828 done
3829 rm -f $ac_rmfiles
3830
3831 if { { ac_try="$ac_link_default"
3832 case "(($ac_try" in
3833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834   *) ac_try_echo=$ac_try;;
3835 esac
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838   (eval "$ac_link_default") 2>&5
3839   ac_status=$?
3840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841   test $ac_status = 0; }; then :
3842   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3843 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3844 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3845 # so that the user can short-circuit this test for compilers unknown to
3846 # Autoconf.
3847 for ac_file in $ac_files ''
3848 do
3849   test -f "$ac_file" || continue
3850   case $ac_file in
3851     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3852         ;;
3853     [ab].out )
3854         # We found the default executable, but exeext='' is most
3855         # certainly right.
3856         break;;
3857     *.* )
3858         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3859         then :; else
3860            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3861         fi
3862         # We set ac_cv_exeext here because the later test for it is not
3863         # safe: cross compilers may not add the suffix if given an `-o'
3864         # argument, so we may need to know it at that point already.
3865         # Even if this section looks crufty: it has the advantage of
3866         # actually working.
3867         break;;
3868     * )
3869         break;;
3870   esac
3871 done
3872 test "$ac_cv_exeext" = no && ac_cv_exeext=
3873
3874 else
3875   ac_file=''
3876 fi
3877 if test -z "$ac_file"; then :
3878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879 $as_echo "no" >&6; }
3880 $as_echo "$as_me: failed program was:" >&5
3881 sed 's/^/| /' conftest.$ac_ext >&5
3882
3883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885 as_fn_error 77 "C compiler cannot create executables
3886 See \`config.log' for more details" "$LINENO" 5; }
3887 else
3888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3889 $as_echo "yes" >&6; }
3890 fi
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3892 $as_echo_n "checking for C compiler default output file name... " >&6; }
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3894 $as_echo "$ac_file" >&6; }
3895 ac_exeext=$ac_cv_exeext
3896
3897 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3898 ac_clean_files=$ac_clean_files_save
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3900 $as_echo_n "checking for suffix of executables... " >&6; }
3901 if { { ac_try="$ac_link"
3902 case "(($ac_try" in
3903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904   *) ac_try_echo=$ac_try;;
3905 esac
3906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3907 $as_echo "$ac_try_echo"; } >&5
3908   (eval "$ac_link") 2>&5
3909   ac_status=$?
3910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3911   test $ac_status = 0; }; then :
3912   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3913 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3914 # work properly (i.e., refer to `conftest.exe'), while it won't with
3915 # `rm'.
3916 for ac_file in conftest.exe conftest conftest.*; do
3917   test -f "$ac_file" || continue
3918   case $ac_file in
3919     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3920     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3921           break;;
3922     * ) break;;
3923   esac
3924 done
3925 else
3926   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3929 See \`config.log' for more details" "$LINENO" 5; }
3930 fi
3931 rm -f conftest conftest$ac_cv_exeext
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3933 $as_echo "$ac_cv_exeext" >&6; }
3934
3935 rm -f conftest.$ac_ext
3936 EXEEXT=$ac_cv_exeext
3937 ac_exeext=$EXEEXT
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h.  */
3940 #include <stdio.h>
3941 int
3942 main ()
3943 {
3944 FILE *f = fopen ("conftest.out", "w");
3945  return ferror (f) || fclose (f) != 0;
3946
3947   ;
3948   return 0;
3949 }
3950 _ACEOF
3951 ac_clean_files="$ac_clean_files conftest.out"
3952 # Check that the compiler produces executables we can run.  If not, either
3953 # the compiler is broken, or we cross compile.
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3955 $as_echo_n "checking whether we are cross compiling... " >&6; }
3956 if test "$cross_compiling" != yes; then
3957   { { ac_try="$ac_link"
3958 case "(($ac_try" in
3959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960   *) ac_try_echo=$ac_try;;
3961 esac
3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963 $as_echo "$ac_try_echo"; } >&5
3964   (eval "$ac_link") 2>&5
3965   ac_status=$?
3966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967   test $ac_status = 0; }
3968   if { ac_try='./conftest$ac_cv_exeext'
3969   { { case "(($ac_try" in
3970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971   *) ac_try_echo=$ac_try;;
3972 esac
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975   (eval "$ac_try") 2>&5
3976   ac_status=$?
3977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978   test $ac_status = 0; }; }; then
3979     cross_compiling=no
3980   else
3981     if test "$cross_compiling" = maybe; then
3982         cross_compiling=yes
3983     else
3984         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error $? "cannot run C compiled programs.
3987 If you meant to cross compile, use \`--host'.
3988 See \`config.log' for more details" "$LINENO" 5; }
3989     fi
3990   fi
3991 fi
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3993 $as_echo "$cross_compiling" >&6; }
3994
3995 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3996 ac_clean_files=$ac_clean_files_save
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3998 $as_echo_n "checking for suffix of object files... " >&6; }
3999 if ${ac_cv_objext+:} false; then :
4000   $as_echo_n "(cached) " >&6
4001 else
4002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h.  */
4004
4005 int
4006 main ()
4007 {
4008
4009   ;
4010   return 0;
4011 }
4012 _ACEOF
4013 rm -f conftest.o conftest.obj
4014 if { { ac_try="$ac_compile"
4015 case "(($ac_try" in
4016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017   *) ac_try_echo=$ac_try;;
4018 esac
4019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4020 $as_echo "$ac_try_echo"; } >&5
4021   (eval "$ac_compile") 2>&5
4022   ac_status=$?
4023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024   test $ac_status = 0; }; then :
4025   for ac_file in conftest.o conftest.obj conftest.*; do
4026   test -f "$ac_file" || continue;
4027   case $ac_file in
4028     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4029     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4030        break;;
4031   esac
4032 done
4033 else
4034   $as_echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.$ac_ext >&5
4036
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $? "cannot compute suffix of object files: cannot compile
4040 See \`config.log' for more details" "$LINENO" 5; }
4041 fi
4042 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4043 fi
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4045 $as_echo "$ac_cv_objext" >&6; }
4046 OBJEXT=$ac_cv_objext
4047 ac_objext=$OBJEXT
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4049 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4050 if ${ac_cv_c_compiler_gnu+:} false; then :
4051   $as_echo_n "(cached) " >&6
4052 else
4053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h.  */
4055
4056 int
4057 main ()
4058 {
4059 #ifndef __GNUC__
4060        choke me
4061 #endif
4062
4063   ;
4064   return 0;
4065 }
4066 _ACEOF
4067 if ac_fn_c_try_compile "$LINENO"; then :
4068   ac_compiler_gnu=yes
4069 else
4070   ac_compiler_gnu=no
4071 fi
4072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4074
4075 fi
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4077 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4078 if test $ac_compiler_gnu = yes; then
4079   GCC=yes
4080 else
4081   GCC=
4082 fi
4083 ac_test_CFLAGS=${CFLAGS+set}
4084 ac_save_CFLAGS=$CFLAGS
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4086 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4087 if ${ac_cv_prog_cc_g+:} false; then :
4088   $as_echo_n "(cached) " >&6
4089 else
4090   ac_save_c_werror_flag=$ac_c_werror_flag
4091    ac_c_werror_flag=yes
4092    ac_cv_prog_cc_g=no
4093    CFLAGS="-g"
4094    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h.  */
4096
4097 int
4098 main ()
4099 {
4100
4101   ;
4102   return 0;
4103 }
4104 _ACEOF
4105 if ac_fn_c_try_compile "$LINENO"; then :
4106   ac_cv_prog_cc_g=yes
4107 else
4108   CFLAGS=""
4109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h.  */
4111
4112 int
4113 main ()
4114 {
4115
4116   ;
4117   return 0;
4118 }
4119 _ACEOF
4120 if ac_fn_c_try_compile "$LINENO"; then :
4121
4122 else
4123   ac_c_werror_flag=$ac_save_c_werror_flag
4124          CFLAGS="-g"
4125          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h.  */
4127
4128 int
4129 main ()
4130 {
4131
4132   ;
4133   return 0;
4134 }
4135 _ACEOF
4136 if ac_fn_c_try_compile "$LINENO"; then :
4137   ac_cv_prog_cc_g=yes
4138 fi
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 fi
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 fi
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144    ac_c_werror_flag=$ac_save_c_werror_flag
4145 fi
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4147 $as_echo "$ac_cv_prog_cc_g" >&6; }
4148 if test "$ac_test_CFLAGS" = set; then
4149   CFLAGS=$ac_save_CFLAGS
4150 elif test $ac_cv_prog_cc_g = yes; then
4151   if test "$GCC" = yes; then
4152     CFLAGS="-g -O2"
4153   else
4154     CFLAGS="-g"
4155   fi
4156 else
4157   if test "$GCC" = yes; then
4158     CFLAGS="-O2"
4159   else
4160     CFLAGS=
4161   fi
4162 fi
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4164 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4165 if ${ac_cv_prog_cc_c89+:} false; then :
4166   $as_echo_n "(cached) " >&6
4167 else
4168   ac_cv_prog_cc_c89=no
4169 ac_save_CC=$CC
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h.  */
4172 #include <stdarg.h>
4173 #include <stdio.h>
4174 #include <sys/types.h>
4175 #include <sys/stat.h>
4176 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4177 struct buf { int x; };
4178 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4179 static char *e (p, i)
4180      char **p;
4181      int i;
4182 {
4183   return p[i];
4184 }
4185 static char *f (char * (*g) (char **, int), char **p, ...)
4186 {
4187   char *s;
4188   va_list v;
4189   va_start (v,p);
4190   s = g (p, va_arg (v,int));
4191   va_end (v);
4192   return s;
4193 }
4194
4195 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4196    function prototypes and stuff, but not '\xHH' hex character constants.
4197    These don't provoke an error unfortunately, instead are silently treated
4198    as 'x'.  The following induces an error, until -std is added to get
4199    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4200    array size at least.  It's necessary to write '\x00'==0 to get something
4201    that's true only with -std.  */
4202 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4203
4204 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4205    inside strings and character constants.  */
4206 #define FOO(x) 'x'
4207 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4208
4209 int test (int i, double x);
4210 struct s1 {int (*f) (int a);};
4211 struct s2 {int (*f) (double a);};
4212 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4213 int argc;
4214 char **argv;
4215 int
4216 main ()
4217 {
4218 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4219   ;
4220   return 0;
4221 }
4222 _ACEOF
4223 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4224         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4225 do
4226   CC="$ac_save_CC $ac_arg"
4227   if ac_fn_c_try_compile "$LINENO"; then :
4228   ac_cv_prog_cc_c89=$ac_arg
4229 fi
4230 rm -f core conftest.err conftest.$ac_objext
4231   test "x$ac_cv_prog_cc_c89" != "xno" && break
4232 done
4233 rm -f conftest.$ac_ext
4234 CC=$ac_save_CC
4235
4236 fi
4237 # AC_CACHE_VAL
4238 case "x$ac_cv_prog_cc_c89" in
4239   x)
4240     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4241 $as_echo "none needed" >&6; } ;;
4242   xno)
4243     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4244 $as_echo "unsupported" >&6; } ;;
4245   *)
4246     CC="$CC $ac_cv_prog_cc_c89"
4247     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4248 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4249 esac
4250 if test "x$ac_cv_prog_cc_c89" != xno; then :
4251
4252 fi
4253
4254 ac_ext=c
4255 ac_cpp='$CPP $CPPFLAGS'
4256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4259
4260 depcc="$CC"   am_compiler_list=
4261
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4263 $as_echo_n "checking dependency style of $depcc... " >&6; }
4264 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4265   $as_echo_n "(cached) " >&6
4266 else
4267   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4268   # We make a subdir and do the tests there.  Otherwise we can end up
4269   # making bogus files that we don't know about and never remove.  For
4270   # instance it was reported that on HP-UX the gcc test will end up
4271   # making a dummy file named `D' -- because `-MD' means `put the output
4272   # in D'.
4273   rm -rf conftest.dir
4274   mkdir conftest.dir
4275   # Copy depcomp to subdir because otherwise we won't find it if we're
4276   # using a relative directory.
4277   cp "$am_depcomp" conftest.dir
4278   cd conftest.dir
4279   # We will build objects and dependencies in a subdirectory because
4280   # it helps to detect inapplicable dependency modes.  For instance
4281   # both Tru64's cc and ICC support -MD to output dependencies as a
4282   # side effect of compilation, but ICC will put the dependencies in
4283   # the current directory while Tru64 will put them in the object
4284   # directory.
4285   mkdir sub
4286
4287   am_cv_CC_dependencies_compiler_type=none
4288   if test "$am_compiler_list" = ""; then
4289      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4290   fi
4291   am__universal=false
4292   case " $depcc " in #(
4293      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4294      esac
4295
4296   for depmode in $am_compiler_list; do
4297     # Setup a source with many dependencies, because some compilers
4298     # like to wrap large dependency lists on column 80 (with \), and
4299     # we should not choose a depcomp mode which is confused by this.
4300     #
4301     # We need to recreate these files for each test, as the compiler may
4302     # overwrite some of them when testing with obscure command lines.
4303     # This happens at least with the AIX C compiler.
4304     : > sub/conftest.c
4305     for i in 1 2 3 4 5 6; do
4306       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4307       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4308       # Solaris 8's {/usr,}/bin/sh.
4309       touch sub/conftst$i.h
4310     done
4311     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4312
4313     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4314     # mode.  It turns out that the SunPro C++ compiler does not properly
4315     # handle `-M -o', and we need to detect this.  Also, some Intel
4316     # versions had trouble with output in subdirs
4317     am__obj=sub/conftest.${OBJEXT-o}
4318     am__minus_obj="-o $am__obj"
4319     case $depmode in
4320     gcc)
4321       # This depmode causes a compiler race in universal mode.
4322       test "$am__universal" = false || continue
4323       ;;
4324     nosideeffect)
4325       # after this tag, mechanisms are not by side-effect, so they'll
4326       # only be used when explicitly requested
4327       if test "x$enable_dependency_tracking" = xyes; then
4328         continue
4329       else
4330         break
4331       fi
4332       ;;
4333     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4334       # This compiler won't grok `-c -o', but also, the minuso test has
4335       # not run yet.  These depmodes are late enough in the game, and
4336       # so weak that their functioning should not be impacted.
4337       am__obj=conftest.${OBJEXT-o}
4338       am__minus_obj=
4339       ;;
4340     none) break ;;
4341     esac
4342     if depmode=$depmode \
4343        source=sub/conftest.c object=$am__obj \
4344        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4345        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4346          >/dev/null 2>conftest.err &&
4347        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4348        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4349        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4350        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4351       # icc doesn't choke on unknown options, it will just issue warnings
4352       # or remarks (even with -Werror).  So we grep stderr for any message
4353       # that says an option was ignored or not supported.
4354       # When given -MP, icc 7.0 and 7.1 complain thusly:
4355       #   icc: Command line warning: ignoring option '-M'; no argument required
4356       # The diagnosis changed in icc 8.0:
4357       #   icc: Command line remark: option '-MP' not supported
4358       if (grep 'ignoring option' conftest.err ||
4359           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4360         am_cv_CC_dependencies_compiler_type=$depmode
4361         break
4362       fi
4363     fi
4364   done
4365
4366   cd ..
4367   rm -rf conftest.dir
4368 else
4369   am_cv_CC_dependencies_compiler_type=none
4370 fi
4371
4372 fi
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4374 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4375 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4376
4377  if
4378   test "x$enable_dependency_tracking" != xno \
4379   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4380   am__fastdepCC_TRUE=
4381   am__fastdepCC_FALSE='#'
4382 else
4383   am__fastdepCC_TRUE='#'
4384   am__fastdepCC_FALSE=
4385 fi
4386
4387
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4389 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4390 if ${ac_cv_path_SED+:} false; then :
4391   $as_echo_n "(cached) " >&6
4392 else
4393             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4394      for ac_i in 1 2 3 4 5 6 7; do
4395        ac_script="$ac_script$as_nl$ac_script"
4396      done
4397      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4398      { ac_script=; unset ac_script;}
4399      if test -z "$SED"; then
4400   ac_path_SED_found=false
4401   # Loop through the user's path and test for each of PROGNAME-LIST
4402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4404 do
4405   IFS=$as_save_IFS
4406   test -z "$as_dir" && as_dir=.
4407     for ac_prog in sed gsed; do
4408     for ac_exec_ext in '' $ac_executable_extensions; do
4409       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4410       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4411 # Check for GNU ac_path_SED and select it if it is found.
4412   # Check for GNU $ac_path_SED
4413 case `"$ac_path_SED" --version 2>&1` in
4414 *GNU*)
4415   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4416 *)
4417   ac_count=0
4418   $as_echo_n 0123456789 >"conftest.in"
4419   while :
4420   do
4421     cat "conftest.in" "conftest.in" >"conftest.tmp"
4422     mv "conftest.tmp" "conftest.in"
4423     cp "conftest.in" "conftest.nl"
4424     $as_echo '' >> "conftest.nl"
4425     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4426     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4427     as_fn_arith $ac_count + 1 && ac_count=$as_val
4428     if test $ac_count -gt ${ac_path_SED_max-0}; then
4429       # Best one so far, save it but keep looking for a better one
4430       ac_cv_path_SED="$ac_path_SED"
4431       ac_path_SED_max=$ac_count
4432     fi
4433     # 10*(2^10) chars as input seems more than enough
4434     test $ac_count -gt 10 && break
4435   done
4436   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4437 esac
4438
4439       $ac_path_SED_found && break 3
4440     done
4441   done
4442   done
4443 IFS=$as_save_IFS
4444   if test -z "$ac_cv_path_SED"; then
4445     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4446   fi
4447 else
4448   ac_cv_path_SED=$SED
4449 fi
4450
4451 fi
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4453 $as_echo "$ac_cv_path_SED" >&6; }
4454  SED="$ac_cv_path_SED"
4455   rm -f conftest.sed
4456
4457 test -z "$SED" && SED=sed
4458 Xsed="$SED -e 1s/^X//"
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4471 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4472 if ${ac_cv_path_GREP+:} false; then :
4473   $as_echo_n "(cached) " >&6
4474 else
4475   if test -z "$GREP"; then
4476   ac_path_GREP_found=false
4477   # Loop through the user's path and test for each of PROGNAME-LIST
4478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4480 do
4481   IFS=$as_save_IFS
4482   test -z "$as_dir" && as_dir=.
4483     for ac_prog in grep ggrep; do
4484     for ac_exec_ext in '' $ac_executable_extensions; do
4485       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4486       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4487 # Check for GNU ac_path_GREP and select it if it is found.
4488   # Check for GNU $ac_path_GREP
4489 case `"$ac_path_GREP" --version 2>&1` in
4490 *GNU*)
4491   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4492 *)
4493   ac_count=0
4494   $as_echo_n 0123456789 >"conftest.in"
4495   while :
4496   do
4497     cat "conftest.in" "conftest.in" >"conftest.tmp"
4498     mv "conftest.tmp" "conftest.in"
4499     cp "conftest.in" "conftest.nl"
4500     $as_echo 'GREP' >> "conftest.nl"
4501     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4502     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4503     as_fn_arith $ac_count + 1 && ac_count=$as_val
4504     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4505       # Best one so far, save it but keep looking for a better one
4506       ac_cv_path_GREP="$ac_path_GREP"
4507       ac_path_GREP_max=$ac_count
4508     fi
4509     # 10*(2^10) chars as input seems more than enough
4510     test $ac_count -gt 10 && break
4511   done
4512   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4513 esac
4514
4515       $ac_path_GREP_found && break 3
4516     done
4517   done
4518   done
4519 IFS=$as_save_IFS
4520   if test -z "$ac_cv_path_GREP"; then
4521     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4522   fi
4523 else
4524   ac_cv_path_GREP=$GREP
4525 fi
4526
4527 fi
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4529 $as_echo "$ac_cv_path_GREP" >&6; }
4530  GREP="$ac_cv_path_GREP"
4531
4532
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4534 $as_echo_n "checking for egrep... " >&6; }
4535 if ${ac_cv_path_EGREP+:} false; then :
4536   $as_echo_n "(cached) " >&6
4537 else
4538   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4539    then ac_cv_path_EGREP="$GREP -E"
4540    else
4541      if test -z "$EGREP"; then
4542   ac_path_EGREP_found=false
4543   # Loop through the user's path and test for each of PROGNAME-LIST
4544   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4546 do
4547   IFS=$as_save_IFS
4548   test -z "$as_dir" && as_dir=.
4549     for ac_prog in egrep; do
4550     for ac_exec_ext in '' $ac_executable_extensions; do
4551       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4552       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4553 # Check for GNU ac_path_EGREP and select it if it is found.
4554   # Check for GNU $ac_path_EGREP
4555 case `"$ac_path_EGREP" --version 2>&1` in
4556 *GNU*)
4557   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4558 *)
4559   ac_count=0
4560   $as_echo_n 0123456789 >"conftest.in"
4561   while :
4562   do
4563     cat "conftest.in" "conftest.in" >"conftest.tmp"
4564     mv "conftest.tmp" "conftest.in"
4565     cp "conftest.in" "conftest.nl"
4566     $as_echo 'EGREP' >> "conftest.nl"
4567     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4568     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4569     as_fn_arith $ac_count + 1 && ac_count=$as_val
4570     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4571       # Best one so far, save it but keep looking for a better one
4572       ac_cv_path_EGREP="$ac_path_EGREP"
4573       ac_path_EGREP_max=$ac_count
4574     fi
4575     # 10*(2^10) chars as input seems more than enough
4576     test $ac_count -gt 10 && break
4577   done
4578   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4579 esac
4580
4581       $ac_path_EGREP_found && break 3
4582     done
4583   done
4584   done
4585 IFS=$as_save_IFS
4586   if test -z "$ac_cv_path_EGREP"; then
4587     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4588   fi
4589 else
4590   ac_cv_path_EGREP=$EGREP
4591 fi
4592
4593    fi
4594 fi
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4596 $as_echo "$ac_cv_path_EGREP" >&6; }
4597  EGREP="$ac_cv_path_EGREP"
4598
4599
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4601 $as_echo_n "checking for fgrep... " >&6; }
4602 if ${ac_cv_path_FGREP+:} false; then :
4603   $as_echo_n "(cached) " >&6
4604 else
4605   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4606    then ac_cv_path_FGREP="$GREP -F"
4607    else
4608      if test -z "$FGREP"; then
4609   ac_path_FGREP_found=false
4610   # Loop through the user's path and test for each of PROGNAME-LIST
4611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4613 do
4614   IFS=$as_save_IFS
4615   test -z "$as_dir" && as_dir=.
4616     for ac_prog in fgrep; do
4617     for ac_exec_ext in '' $ac_executable_extensions; do
4618       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4619       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4620 # Check for GNU ac_path_FGREP and select it if it is found.
4621   # Check for GNU $ac_path_FGREP
4622 case `"$ac_path_FGREP" --version 2>&1` in
4623 *GNU*)
4624   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4625 *)
4626   ac_count=0
4627   $as_echo_n 0123456789 >"conftest.in"
4628   while :
4629   do
4630     cat "conftest.in" "conftest.in" >"conftest.tmp"
4631     mv "conftest.tmp" "conftest.in"
4632     cp "conftest.in" "conftest.nl"
4633     $as_echo 'FGREP' >> "conftest.nl"
4634     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4635     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4636     as_fn_arith $ac_count + 1 && ac_count=$as_val
4637     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4638       # Best one so far, save it but keep looking for a better one
4639       ac_cv_path_FGREP="$ac_path_FGREP"
4640       ac_path_FGREP_max=$ac_count
4641     fi
4642     # 10*(2^10) chars as input seems more than enough
4643     test $ac_count -gt 10 && break
4644   done
4645   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4646 esac
4647
4648       $ac_path_FGREP_found && break 3
4649     done
4650   done
4651   done
4652 IFS=$as_save_IFS
4653   if test -z "$ac_cv_path_FGREP"; then
4654     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4655   fi
4656 else
4657   ac_cv_path_FGREP=$FGREP
4658 fi
4659
4660    fi
4661 fi
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4663 $as_echo "$ac_cv_path_FGREP" >&6; }
4664  FGREP="$ac_cv_path_FGREP"
4665
4666
4667 test -z "$GREP" && GREP=grep
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687 # Check whether --with-gnu-ld was given.
4688 if test "${with_gnu_ld+set}" = set; then :
4689   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4690 else
4691   with_gnu_ld=no
4692 fi
4693
4694 ac_prog=ld
4695 if test "$GCC" = yes; then
4696   # Check if gcc -print-prog-name=ld gives a path.
4697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4698 $as_echo_n "checking for ld used by $CC... " >&6; }
4699   case $host in
4700   *-*-mingw*)
4701     # gcc leaves a trailing carriage return which upsets mingw
4702     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4703   *)
4704     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4705   esac
4706   case $ac_prog in
4707     # Accept absolute paths.
4708     [\\/]* | ?:[\\/]*)
4709       re_direlt='/[^/][^/]*/\.\./'
4710       # Canonicalize the pathname of ld
4711       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4712       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4713         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4714       done
4715       test -z "$LD" && LD="$ac_prog"
4716       ;;
4717   "")
4718     # If it fails, then pretend we aren't using GCC.
4719     ac_prog=ld
4720     ;;
4721   *)
4722     # If it is relative, then search for the first ld in PATH.
4723     with_gnu_ld=unknown
4724     ;;
4725   esac
4726 elif test "$with_gnu_ld" = yes; then
4727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4728 $as_echo_n "checking for GNU ld... " >&6; }
4729 else
4730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4731 $as_echo_n "checking for non-GNU ld... " >&6; }
4732 fi
4733 if ${lt_cv_path_LD+:} false; then :
4734   $as_echo_n "(cached) " >&6
4735 else
4736   if test -z "$LD"; then
4737   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4738   for ac_dir in $PATH; do
4739     IFS="$lt_save_ifs"
4740     test -z "$ac_dir" && ac_dir=.
4741     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4742       lt_cv_path_LD="$ac_dir/$ac_prog"
4743       # Check to see if the program is GNU ld.  I'd rather use --version,
4744       # but apparently some variants of GNU ld only accept -v.
4745       # Break only if it was the GNU/non-GNU ld that we prefer.
4746       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4747       *GNU* | *'with BFD'*)
4748         test "$with_gnu_ld" != no && break
4749         ;;
4750       *)
4751         test "$with_gnu_ld" != yes && break
4752         ;;
4753       esac
4754     fi
4755   done
4756   IFS="$lt_save_ifs"
4757 else
4758   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4759 fi
4760 fi
4761
4762 LD="$lt_cv_path_LD"
4763 if test -n "$LD"; then
4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4765 $as_echo "$LD" >&6; }
4766 else
4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4769 fi
4770 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4772 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4773 if ${lt_cv_prog_gnu_ld+:} false; then :
4774   $as_echo_n "(cached) " >&6
4775 else
4776   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4777 case `$LD -v 2>&1 </dev/null` in
4778 *GNU* | *'with BFD'*)
4779   lt_cv_prog_gnu_ld=yes
4780   ;;
4781 *)
4782   lt_cv_prog_gnu_ld=no
4783   ;;
4784 esac
4785 fi
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4787 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4788 with_gnu_ld=$lt_cv_prog_gnu_ld
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4799 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4800 if ${lt_cv_path_NM+:} false; then :
4801   $as_echo_n "(cached) " >&6
4802 else
4803   if test -n "$NM"; then
4804   # Let the user override the test.
4805   lt_cv_path_NM="$NM"
4806 else
4807   lt_nm_to_check="${ac_tool_prefix}nm"
4808   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4809     lt_nm_to_check="$lt_nm_to_check nm"
4810   fi
4811   for lt_tmp_nm in $lt_nm_to_check; do
4812     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4813     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4814       IFS="$lt_save_ifs"
4815       test -z "$ac_dir" && ac_dir=.
4816       tmp_nm="$ac_dir/$lt_tmp_nm"
4817       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4818         # Check to see if the nm accepts a BSD-compat flag.
4819         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4820         #   nm: unknown option "B" ignored
4821         # Tru64's nm complains that /dev/null is an invalid object file
4822         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4823         */dev/null* | *'Invalid file or object type'*)
4824           lt_cv_path_NM="$tmp_nm -B"
4825           break
4826           ;;
4827         *)
4828           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4829           */dev/null*)
4830             lt_cv_path_NM="$tmp_nm -p"
4831             break
4832             ;;
4833           *)
4834             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4835             continue # so that we can try to find one that supports BSD flags
4836             ;;
4837           esac
4838           ;;
4839         esac
4840       fi
4841     done
4842     IFS="$lt_save_ifs"
4843   done
4844   : ${lt_cv_path_NM=no}
4845 fi
4846 fi
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4848 $as_echo "$lt_cv_path_NM" >&6; }
4849 if test "$lt_cv_path_NM" != "no"; then
4850   NM="$lt_cv_path_NM"
4851 else
4852   # Didn't find any BSD compatible name lister, look for dumpbin.
4853   if test -n "$DUMPBIN"; then :
4854     # Let the user override the test.
4855   else
4856     if test -n "$ac_tool_prefix"; then
4857   for ac_prog in dumpbin "link -dump"
4858   do
4859     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4860 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4862 $as_echo_n "checking for $ac_word... " >&6; }
4863 if ${ac_cv_prog_DUMPBIN+:} false; then :
4864   $as_echo_n "(cached) " >&6
4865 else
4866   if test -n "$DUMPBIN"; then
4867   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4868 else
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 for as_dir in $PATH
4871 do
4872   IFS=$as_save_IFS
4873   test -z "$as_dir" && as_dir=.
4874     for ac_exec_ext in '' $ac_executable_extensions; do
4875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4876     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878     break 2
4879   fi
4880 done
4881   done
4882 IFS=$as_save_IFS
4883
4884 fi
4885 fi
4886 DUMPBIN=$ac_cv_prog_DUMPBIN
4887 if test -n "$DUMPBIN"; then
4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4889 $as_echo "$DUMPBIN" >&6; }
4890 else
4891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4893 fi
4894
4895
4896     test -n "$DUMPBIN" && break
4897   done
4898 fi
4899 if test -z "$DUMPBIN"; then
4900   ac_ct_DUMPBIN=$DUMPBIN
4901   for ac_prog in dumpbin "link -dump"
4902 do
4903   # Extract the first word of "$ac_prog", so it can be a program name with args.
4904 set dummy $ac_prog; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4908   $as_echo_n "(cached) " >&6
4909 else
4910   if test -n "$ac_ct_DUMPBIN"; then
4911   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4912 else
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 for as_dir in $PATH
4915 do
4916   IFS=$as_save_IFS
4917   test -z "$as_dir" && as_dir=.
4918     for ac_exec_ext in '' $ac_executable_extensions; do
4919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922     break 2
4923   fi
4924 done
4925   done
4926 IFS=$as_save_IFS
4927
4928 fi
4929 fi
4930 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4931 if test -n "$ac_ct_DUMPBIN"; then
4932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4933 $as_echo "$ac_ct_DUMPBIN" >&6; }
4934 else
4935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4937 fi
4938
4939
4940   test -n "$ac_ct_DUMPBIN" && break
4941 done
4942
4943   if test "x$ac_ct_DUMPBIN" = x; then
4944     DUMPBIN=":"
4945   else
4946     case $cross_compiling:$ac_tool_warned in
4947 yes:)
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4950 ac_tool_warned=yes ;;
4951 esac
4952     DUMPBIN=$ac_ct_DUMPBIN
4953   fi
4954 fi
4955
4956     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4957     *COFF*)
4958       DUMPBIN="$DUMPBIN -symbols"
4959       ;;
4960     *)
4961       DUMPBIN=:
4962       ;;
4963     esac
4964   fi
4965
4966   if test "$DUMPBIN" != ":"; then
4967     NM="$DUMPBIN"
4968   fi
4969 fi
4970 test -z "$NM" && NM=nm
4971
4972
4973
4974
4975
4976
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4978 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4979 if ${lt_cv_nm_interface+:} false; then :
4980   $as_echo_n "(cached) " >&6
4981 else
4982   lt_cv_nm_interface="BSD nm"
4983   echo "int some_variable = 0;" > conftest.$ac_ext
4984   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4985   (eval "$ac_compile" 2>conftest.err)
4986   cat conftest.err >&5
4987   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4988   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4989   cat conftest.err >&5
4990   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4991   cat conftest.out >&5
4992   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4993     lt_cv_nm_interface="MS dumpbin"
4994   fi
4995   rm -f conftest*
4996 fi
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4998 $as_echo "$lt_cv_nm_interface" >&6; }
4999
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5001 $as_echo_n "checking whether ln -s works... " >&6; }
5002 LN_S=$as_ln_s
5003 if test "$LN_S" = "ln -s"; then
5004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5008 $as_echo "no, using $LN_S" >&6; }
5009 fi
5010
5011 # find the maximum length of command line arguments
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5013 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5014 if ${lt_cv_sys_max_cmd_len+:} false; then :
5015   $as_echo_n "(cached) " >&6
5016 else
5017     i=0
5018   teststring="ABCD"
5019
5020   case $build_os in
5021   msdosdjgpp*)
5022     # On DJGPP, this test can blow up pretty badly due to problems in libc
5023     # (any single argument exceeding 2000 bytes causes a buffer overrun
5024     # during glob expansion).  Even if it were fixed, the result of this
5025     # check would be larger than it should be.
5026     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5027     ;;
5028
5029   gnu*)
5030     # Under GNU Hurd, this test is not required because there is
5031     # no limit to the length of command line arguments.
5032     # Libtool will interpret -1 as no limit whatsoever
5033     lt_cv_sys_max_cmd_len=-1;
5034     ;;
5035
5036   cygwin* | mingw* | cegcc*)
5037     # On Win9x/ME, this test blows up -- it succeeds, but takes
5038     # about 5 minutes as the teststring grows exponentially.
5039     # Worse, since 9x/ME are not pre-emptively multitasking,
5040     # you end up with a "frozen" computer, even though with patience
5041     # the test eventually succeeds (with a max line length of 256k).
5042     # Instead, let's just punt: use the minimum linelength reported by
5043     # all of the supported platforms: 8192 (on NT/2K/XP).
5044     lt_cv_sys_max_cmd_len=8192;
5045     ;;
5046
5047   mint*)
5048     # On MiNT this can take a long time and run out of memory.
5049     lt_cv_sys_max_cmd_len=8192;
5050     ;;
5051
5052   amigaos*)
5053     # On AmigaOS with pdksh, this test takes hours, literally.
5054     # So we just punt and use a minimum line length of 8192.
5055     lt_cv_sys_max_cmd_len=8192;
5056     ;;
5057
5058   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5059     # This has been around since 386BSD, at least.  Likely further.
5060     if test -x /sbin/sysctl; then
5061       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5062     elif test -x /usr/sbin/sysctl; then
5063       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5064     else
5065       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5066     fi
5067     # And add a safety zone
5068     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5069     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5070     ;;
5071
5072   interix*)
5073     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5074     lt_cv_sys_max_cmd_len=196608
5075     ;;
5076
5077   os2*)
5078     # The test takes a long time on OS/2.
5079     lt_cv_sys_max_cmd_len=8192
5080     ;;
5081
5082   osf*)
5083     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5084     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5085     # nice to cause kernel panics so lets avoid the loop below.
5086     # First set a reasonable default.
5087     lt_cv_sys_max_cmd_len=16384
5088     #
5089     if test -x /sbin/sysconfig; then
5090       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5091         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5092       esac
5093     fi
5094     ;;
5095   sco3.2v5*)
5096     lt_cv_sys_max_cmd_len=102400
5097     ;;
5098   sysv5* | sco5v6* | sysv4.2uw2*)
5099     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5100     if test -n "$kargmax"; then
5101       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5102     else
5103       lt_cv_sys_max_cmd_len=32768
5104     fi
5105     ;;
5106   *)
5107     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5108     if test -n "$lt_cv_sys_max_cmd_len"; then
5109       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5110       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5111     else
5112       # Make teststring a little bigger before we do anything with it.
5113       # a 1K string should be a reasonable start.
5114       for i in 1 2 3 4 5 6 7 8 ; do
5115         teststring=$teststring$teststring
5116       done
5117       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5118       # If test is not a shell built-in, we'll probably end up computing a
5119       # maximum length that is only half of the actual maximum length, but
5120       # we can't tell.
5121       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5122                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5123               test $i != 17 # 1/2 MB should be enough
5124       do
5125         i=`expr $i + 1`
5126         teststring=$teststring$teststring
5127       done
5128       # Only check the string length outside the loop.
5129       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5130       teststring=
5131       # Add a significant safety factor because C++ compilers can tack on
5132       # massive amounts of additional arguments before passing them to the
5133       # linker.  It appears as though 1/2 is a usable value.
5134       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5135     fi
5136     ;;
5137   esac
5138
5139 fi
5140
5141 if test -n $lt_cv_sys_max_cmd_len ; then
5142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5143 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5144 else
5145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5146 $as_echo "none" >&6; }
5147 fi
5148 max_cmd_len=$lt_cv_sys_max_cmd_len
5149
5150
5151
5152
5153
5154
5155 : ${CP="cp -f"}
5156 : ${MV="mv -f"}
5157 : ${RM="rm -f"}
5158
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5160 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5161 # Try some XSI features
5162 xsi_shell=no
5163 ( _lt_dummy="a/b/c"
5164   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5165       = c,a/b,b/c, \
5166     && eval 'test $(( 1 + 1 )) -eq 2 \
5167     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5168   && xsi_shell=yes
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5170 $as_echo "$xsi_shell" >&6; }
5171
5172
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5174 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5175 lt_shell_append=no
5176 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5177     >/dev/null 2>&1 \
5178   && lt_shell_append=yes
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5180 $as_echo "$lt_shell_append" >&6; }
5181
5182
5183 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5184   lt_unset=unset
5185 else
5186   lt_unset=false
5187 fi
5188
5189
5190
5191
5192
5193 # test EBCDIC or ASCII
5194 case `echo X|tr X '\101'` in
5195  A) # ASCII based system
5196     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5197   lt_SP2NL='tr \040 \012'
5198   lt_NL2SP='tr \015\012 \040\040'
5199   ;;
5200  *) # EBCDIC based system
5201   lt_SP2NL='tr \100 \n'
5202   lt_NL2SP='tr \r\n \100\100'
5203   ;;
5204 esac
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5215 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5216 if ${lt_cv_to_host_file_cmd+:} false; then :
5217   $as_echo_n "(cached) " >&6
5218 else
5219   case $host in
5220   *-*-mingw* )
5221     case $build in
5222       *-*-mingw* ) # actually msys
5223         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5224         ;;
5225       *-*-cygwin* )
5226         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5227         ;;
5228       * ) # otherwise, assume *nix
5229         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5230         ;;
5231     esac
5232     ;;
5233   *-*-cygwin* )
5234     case $build in
5235       *-*-mingw* ) # actually msys
5236         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5237         ;;
5238       *-*-cygwin* )
5239         lt_cv_to_host_file_cmd=func_convert_file_noop
5240         ;;
5241       * ) # otherwise, assume *nix
5242         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5243         ;;
5244     esac
5245     ;;
5246   * ) # unhandled hosts (and "normal" native builds)
5247     lt_cv_to_host_file_cmd=func_convert_file_noop
5248     ;;
5249 esac
5250
5251 fi
5252
5253 to_host_file_cmd=$lt_cv_to_host_file_cmd
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5255 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5256
5257
5258
5259
5260
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5262 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5263 if ${lt_cv_to_tool_file_cmd+:} false; then :
5264   $as_echo_n "(cached) " >&6
5265 else
5266   #assume ordinary cross tools, or native build.
5267 lt_cv_to_tool_file_cmd=func_convert_file_noop
5268 case $host in
5269   *-*-mingw* )
5270     case $build in
5271       *-*-mingw* ) # actually msys
5272         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5273         ;;
5274     esac
5275     ;;
5276 esac
5277
5278 fi
5279
5280 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5282 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5283
5284
5285
5286
5287
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5289 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5290 if ${lt_cv_ld_reload_flag+:} false; then :
5291   $as_echo_n "(cached) " >&6
5292 else
5293   lt_cv_ld_reload_flag='-r'
5294 fi
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5296 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5297 reload_flag=$lt_cv_ld_reload_flag
5298 case $reload_flag in
5299 "" | " "*) ;;
5300 *) reload_flag=" $reload_flag" ;;
5301 esac
5302 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5303 case $host_os in
5304   cygwin* | mingw* | pw32* | cegcc*)
5305     if test "$GCC" != yes; then
5306       reload_cmds=false
5307     fi
5308     ;;
5309   darwin*)
5310     if test "$GCC" = yes; then
5311       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5312     else
5313       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5314     fi
5315     ;;
5316 esac
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326 if test -n "$ac_tool_prefix"; then
5327   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5328 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_OBJDUMP+:} false; then :
5332   $as_echo_n "(cached) " >&6
5333 else
5334   if test -n "$OBJDUMP"; then
5335   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5336 else
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 for as_dir in $PATH
5339 do
5340   IFS=$as_save_IFS
5341   test -z "$as_dir" && as_dir=.
5342     for ac_exec_ext in '' $ac_executable_extensions; do
5343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5346     break 2
5347   fi
5348 done
5349   done
5350 IFS=$as_save_IFS
5351
5352 fi
5353 fi
5354 OBJDUMP=$ac_cv_prog_OBJDUMP
5355 if test -n "$OBJDUMP"; then
5356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5357 $as_echo "$OBJDUMP" >&6; }
5358 else
5359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5361 fi
5362
5363
5364 fi
5365 if test -z "$ac_cv_prog_OBJDUMP"; then
5366   ac_ct_OBJDUMP=$OBJDUMP
5367   # Extract the first word of "objdump", so it can be a program name with args.
5368 set dummy objdump; ac_word=$2
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370 $as_echo_n "checking for $ac_word... " >&6; }
5371 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5372   $as_echo_n "(cached) " >&6
5373 else
5374   if test -n "$ac_ct_OBJDUMP"; then
5375   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5376 else
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378 for as_dir in $PATH
5379 do
5380   IFS=$as_save_IFS
5381   test -z "$as_dir" && as_dir=.
5382     for ac_exec_ext in '' $ac_executable_extensions; do
5383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386     break 2
5387   fi
5388 done
5389   done
5390 IFS=$as_save_IFS
5391
5392 fi
5393 fi
5394 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5395 if test -n "$ac_ct_OBJDUMP"; then
5396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5397 $as_echo "$ac_ct_OBJDUMP" >&6; }
5398 else
5399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5401 fi
5402
5403   if test "x$ac_ct_OBJDUMP" = x; then
5404     OBJDUMP="false"
5405   else
5406     case $cross_compiling:$ac_tool_warned in
5407 yes:)
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5410 ac_tool_warned=yes ;;
5411 esac
5412     OBJDUMP=$ac_ct_OBJDUMP
5413   fi
5414 else
5415   OBJDUMP="$ac_cv_prog_OBJDUMP"
5416 fi
5417
5418 test -z "$OBJDUMP" && OBJDUMP=objdump
5419
5420
5421
5422
5423
5424
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5426 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5427 if ${lt_cv_deplibs_check_method+:} false; then :
5428   $as_echo_n "(cached) " >&6
5429 else
5430   lt_cv_file_magic_cmd='$MAGIC_CMD'
5431 lt_cv_file_magic_test_file=
5432 lt_cv_deplibs_check_method='unknown'
5433 # Need to set the preceding variable on all platforms that support
5434 # interlibrary dependencies.
5435 # 'none' -- dependencies not supported.
5436 # `unknown' -- same as none, but documents that we really don't know.
5437 # 'pass_all' -- all dependencies passed with no checks.
5438 # 'test_compile' -- check by making test program.
5439 # 'file_magic [[regex]]' -- check by looking for files in library path
5440 # which responds to the $file_magic_cmd with a given extended regex.
5441 # If you have `file' or equivalent on your system and you're not sure
5442 # whether `pass_all' will *always* work, you probably want this one.
5443
5444 case $host_os in
5445 aix[4-9]*)
5446   lt_cv_deplibs_check_method=pass_all
5447   ;;
5448
5449 beos*)
5450   lt_cv_deplibs_check_method=pass_all
5451   ;;
5452
5453 bsdi[45]*)
5454   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5455   lt_cv_file_magic_cmd='/usr/bin/file -L'
5456   lt_cv_file_magic_test_file=/shlib/libc.so
5457   ;;
5458
5459 cygwin*)
5460   # func_win32_libid is a shell function defined in ltmain.sh
5461   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5462   lt_cv_file_magic_cmd='func_win32_libid'
5463   ;;
5464
5465 mingw* | pw32*)
5466   # Base MSYS/MinGW do not provide the 'file' command needed by
5467   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5468   # unless we find 'file', for example because we are cross-compiling.
5469   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5470   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5471     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5472     lt_cv_file_magic_cmd='func_win32_libid'
5473   else
5474     # Keep this pattern in sync with the one in func_win32_libid.
5475     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5476     lt_cv_file_magic_cmd='$OBJDUMP -f'
5477   fi
5478   ;;
5479
5480 cegcc*)
5481   # use the weaker test based on 'objdump'. See mingw*.
5482   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5483   lt_cv_file_magic_cmd='$OBJDUMP -f'
5484   ;;
5485
5486 darwin* | rhapsody*)
5487   lt_cv_deplibs_check_method=pass_all
5488   ;;
5489
5490 freebsd* | dragonfly*)
5491   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5492     case $host_cpu in
5493     i*86 )
5494       # Not sure whether the presence of OpenBSD here was a mistake.
5495       # Let's accept both of them until this is cleared up.
5496       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5497       lt_cv_file_magic_cmd=/usr/bin/file
5498       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5499       ;;
5500     esac
5501   else
5502     lt_cv_deplibs_check_method=pass_all
5503   fi
5504   ;;
5505
5506 gnu*)
5507   lt_cv_deplibs_check_method=pass_all
5508   ;;
5509
5510 haiku*)
5511   lt_cv_deplibs_check_method=pass_all
5512   ;;
5513
5514 hpux10.20* | hpux11*)
5515   lt_cv_file_magic_cmd=/usr/bin/file
5516   case $host_cpu in
5517   ia64*)
5518     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5519     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5520     ;;
5521   hppa*64*)
5522     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]'
5523     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5524     ;;
5525   *)
5526     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5527     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5528     ;;
5529   esac
5530   ;;
5531
5532 interix[3-9]*)
5533   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5534   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5535   ;;
5536
5537 irix5* | irix6* | nonstopux*)
5538   case $LD in
5539   *-32|*"-32 ") libmagic=32-bit;;
5540   *-n32|*"-n32 ") libmagic=N32;;
5541   *-64|*"-64 ") libmagic=64-bit;;
5542   *) libmagic=never-match;;
5543   esac
5544   lt_cv_deplibs_check_method=pass_all
5545   ;;
5546
5547 # This must be glibc/ELF.
5548 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5549   lt_cv_deplibs_check_method=pass_all
5550   ;;
5551
5552 netbsd*)
5553   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5554     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5555   else
5556     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5557   fi
5558   ;;
5559
5560 newos6*)
5561   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5562   lt_cv_file_magic_cmd=/usr/bin/file
5563   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5564   ;;
5565
5566 *nto* | *qnx*)
5567   lt_cv_deplibs_check_method=pass_all
5568   ;;
5569
5570 openbsd*)
5571   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5572     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5573   else
5574     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5575   fi
5576   ;;
5577
5578 osf3* | osf4* | osf5*)
5579   lt_cv_deplibs_check_method=pass_all
5580   ;;
5581
5582 rdos*)
5583   lt_cv_deplibs_check_method=pass_all
5584   ;;
5585
5586 solaris*)
5587   lt_cv_deplibs_check_method=pass_all
5588   ;;
5589
5590 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5591   lt_cv_deplibs_check_method=pass_all
5592   ;;
5593
5594 sysv4 | sysv4.3*)
5595   case $host_vendor in
5596   motorola)
5597     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]'
5598     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5599     ;;
5600   ncr)
5601     lt_cv_deplibs_check_method=pass_all
5602     ;;
5603   sequent)
5604     lt_cv_file_magic_cmd='/bin/file'
5605     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5606     ;;
5607   sni)
5608     lt_cv_file_magic_cmd='/bin/file'
5609     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5610     lt_cv_file_magic_test_file=/lib/libc.so
5611     ;;
5612   siemens)
5613     lt_cv_deplibs_check_method=pass_all
5614     ;;
5615   pc)
5616     lt_cv_deplibs_check_method=pass_all
5617     ;;
5618   esac
5619   ;;
5620
5621 tpf*)
5622   lt_cv_deplibs_check_method=pass_all
5623   ;;
5624 esac
5625
5626 fi
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5628 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5629
5630 file_magic_glob=
5631 want_nocaseglob=no
5632 if test "$build" = "$host"; then
5633   case $host_os in
5634   mingw* | pw32*)
5635     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5636       want_nocaseglob=yes
5637     else
5638       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5639     fi
5640     ;;
5641   esac
5642 fi
5643
5644 file_magic_cmd=$lt_cv_file_magic_cmd
5645 deplibs_check_method=$lt_cv_deplibs_check_method
5646 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669 if test -n "$ac_tool_prefix"; then
5670   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5671 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if ${ac_cv_prog_DLLTOOL+:} false; then :
5675   $as_echo_n "(cached) " >&6
5676 else
5677   if test -n "$DLLTOOL"; then
5678   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5679 else
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5682 do
5683   IFS=$as_save_IFS
5684   test -z "$as_dir" && as_dir=.
5685     for ac_exec_ext in '' $ac_executable_extensions; do
5686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689     break 2
5690   fi
5691 done
5692   done
5693 IFS=$as_save_IFS
5694
5695 fi
5696 fi
5697 DLLTOOL=$ac_cv_prog_DLLTOOL
5698 if test -n "$DLLTOOL"; then
5699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5700 $as_echo "$DLLTOOL" >&6; }
5701 else
5702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5704 fi
5705
5706
5707 fi
5708 if test -z "$ac_cv_prog_DLLTOOL"; then
5709   ac_ct_DLLTOOL=$DLLTOOL
5710   # Extract the first word of "dlltool", so it can be a program name with args.
5711 set dummy dlltool; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5715   $as_echo_n "(cached) " >&6
5716 else
5717   if test -n "$ac_ct_DLLTOOL"; then
5718   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5722 do
5723   IFS=$as_save_IFS
5724   test -z "$as_dir" && as_dir=.
5725     for ac_exec_ext in '' $ac_executable_extensions; do
5726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729     break 2
5730   fi
5731 done
5732   done
5733 IFS=$as_save_IFS
5734
5735 fi
5736 fi
5737 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5738 if test -n "$ac_ct_DLLTOOL"; then
5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5740 $as_echo "$ac_ct_DLLTOOL" >&6; }
5741 else
5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5744 fi
5745
5746   if test "x$ac_ct_DLLTOOL" = x; then
5747     DLLTOOL="false"
5748   else
5749     case $cross_compiling:$ac_tool_warned in
5750 yes:)
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753 ac_tool_warned=yes ;;
5754 esac
5755     DLLTOOL=$ac_ct_DLLTOOL
5756   fi
5757 else
5758   DLLTOOL="$ac_cv_prog_DLLTOOL"
5759 fi
5760
5761 test -z "$DLLTOOL" && DLLTOOL=dlltool
5762
5763
5764
5765
5766
5767
5768
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5770 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5771 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5772   $as_echo_n "(cached) " >&6
5773 else
5774   lt_cv_sharedlib_from_linklib_cmd='unknown'
5775
5776 case $host_os in
5777 cygwin* | mingw* | pw32* | cegcc*)
5778   # two different shell functions defined in ltmain.sh
5779   # decide which to use based on capabilities of $DLLTOOL
5780   case `$DLLTOOL --help 2>&1` in
5781   *--identify-strict*)
5782     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5783     ;;
5784   *)
5785     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5786     ;;
5787   esac
5788   ;;
5789 *)
5790   # fallback: assume linklib IS sharedlib
5791   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5792   ;;
5793 esac
5794
5795 fi
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5797 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5798 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5799 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5800
5801
5802
5803
5804
5805
5806
5807
5808 if test -n "$ac_tool_prefix"; then
5809   for ac_prog in ar
5810   do
5811     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5812 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_AR+:} false; then :
5816   $as_echo_n "(cached) " >&6
5817 else
5818   if test -n "$AR"; then
5819   ac_cv_prog_AR="$AR" # Let the user override the test.
5820 else
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH
5823 do
5824   IFS=$as_save_IFS
5825   test -z "$as_dir" && as_dir=.
5826     for ac_exec_ext in '' $ac_executable_extensions; do
5827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830     break 2
5831   fi
5832 done
5833   done
5834 IFS=$as_save_IFS
5835
5836 fi
5837 fi
5838 AR=$ac_cv_prog_AR
5839 if test -n "$AR"; then
5840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5841 $as_echo "$AR" >&6; }
5842 else
5843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5845 fi
5846
5847
5848     test -n "$AR" && break
5849   done
5850 fi
5851 if test -z "$AR"; then
5852   ac_ct_AR=$AR
5853   for ac_prog in ar
5854 do
5855   # Extract the first word of "$ac_prog", so it can be a program name with args.
5856 set dummy $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_ac_ct_AR+:} false; then :
5860   $as_echo_n "(cached) " >&6
5861 else
5862   if test -n "$ac_ct_AR"; then
5863   ac_cv_prog_ac_ct_AR="$ac_ct_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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872     ac_cv_prog_ac_ct_AR="$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 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5883 if test -n "$ac_ct_AR"; then
5884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5885 $as_echo "$ac_ct_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 "$ac_ct_AR" && break
5893 done
5894
5895   if test "x$ac_ct_AR" = x; then
5896     AR="false"
5897   else
5898     case $cross_compiling:$ac_tool_warned in
5899 yes:)
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5902 ac_tool_warned=yes ;;
5903 esac
5904     AR=$ac_ct_AR
5905   fi
5906 fi
5907
5908 : ${AR=ar}
5909 : ${AR_FLAGS=cru}
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5922 $as_echo_n "checking for archiver @FILE support... " >&6; }
5923 if ${lt_cv_ar_at_file+:} false; then :
5924   $as_echo_n "(cached) " >&6
5925 else
5926   lt_cv_ar_at_file=no
5927    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h.  */
5929
5930 int
5931 main ()
5932 {
5933
5934   ;
5935   return 0;
5936 }
5937 _ACEOF
5938 if ac_fn_c_try_compile "$LINENO"; then :
5939   echo conftest.$ac_objext > conftest.lst
5940       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5941       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5942   (eval $lt_ar_try) 2>&5
5943   ac_status=$?
5944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5945   test $ac_status = 0; }
5946       if test "$ac_status" -eq 0; then
5947         # Ensure the archiver fails upon bogus file names.
5948         rm -f conftest.$ac_objext libconftest.a
5949         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5950   (eval $lt_ar_try) 2>&5
5951   ac_status=$?
5952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5953   test $ac_status = 0; }
5954         if test "$ac_status" -ne 0; then
5955           lt_cv_ar_at_file=@
5956         fi
5957       fi
5958       rm -f conftest.* libconftest.a
5959
5960 fi
5961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5962
5963 fi
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5965 $as_echo "$lt_cv_ar_at_file" >&6; }
5966
5967 if test "x$lt_cv_ar_at_file" = xno; then
5968   archiver_list_spec=
5969 else
5970   archiver_list_spec=$lt_cv_ar_at_file
5971 fi
5972
5973
5974
5975
5976
5977
5978
5979 if test -n "$ac_tool_prefix"; then
5980   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5981 set dummy ${ac_tool_prefix}strip; ac_word=$2
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if ${ac_cv_prog_STRIP+:} false; then :
5985   $as_echo_n "(cached) " >&6
5986 else
5987   if test -n "$STRIP"; then
5988   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5989 else
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 for as_dir in $PATH
5992 do
5993   IFS=$as_save_IFS
5994   test -z "$as_dir" && as_dir=.
5995     for ac_exec_ext in '' $ac_executable_extensions; do
5996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999     break 2
6000   fi
6001 done
6002   done
6003 IFS=$as_save_IFS
6004
6005 fi
6006 fi
6007 STRIP=$ac_cv_prog_STRIP
6008 if test -n "$STRIP"; then
6009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6010 $as_echo "$STRIP" >&6; }
6011 else
6012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6014 fi
6015
6016
6017 fi
6018 if test -z "$ac_cv_prog_STRIP"; then
6019   ac_ct_STRIP=$STRIP
6020   # Extract the first word of "strip", so it can be a program name with args.
6021 set dummy strip; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6025   $as_echo_n "(cached) " >&6
6026 else
6027   if test -n "$ac_ct_STRIP"; then
6028   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6029 else
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH
6032 do
6033   IFS=$as_save_IFS
6034   test -z "$as_dir" && as_dir=.
6035     for ac_exec_ext in '' $ac_executable_extensions; do
6036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037     ac_cv_prog_ac_ct_STRIP="strip"
6038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039     break 2
6040   fi
6041 done
6042   done
6043 IFS=$as_save_IFS
6044
6045 fi
6046 fi
6047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6048 if test -n "$ac_ct_STRIP"; then
6049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6050 $as_echo "$ac_ct_STRIP" >&6; }
6051 else
6052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6054 fi
6055
6056   if test "x$ac_ct_STRIP" = x; then
6057     STRIP=":"
6058   else
6059     case $cross_compiling:$ac_tool_warned in
6060 yes:)
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6063 ac_tool_warned=yes ;;
6064 esac
6065     STRIP=$ac_ct_STRIP
6066   fi
6067 else
6068   STRIP="$ac_cv_prog_STRIP"
6069 fi
6070
6071 test -z "$STRIP" && STRIP=:
6072
6073
6074
6075
6076
6077
6078 if test -n "$ac_tool_prefix"; then
6079   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6080 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_RANLIB+:} false; then :
6084   $as_echo_n "(cached) " >&6
6085 else
6086   if test -n "$RANLIB"; then
6087   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6091 do
6092   IFS=$as_save_IFS
6093   test -z "$as_dir" && as_dir=.
6094     for ac_exec_ext in '' $ac_executable_extensions; do
6095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098     break 2
6099   fi
6100 done
6101   done
6102 IFS=$as_save_IFS
6103
6104 fi
6105 fi
6106 RANLIB=$ac_cv_prog_RANLIB
6107 if test -n "$RANLIB"; then
6108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6109 $as_echo "$RANLIB" >&6; }
6110 else
6111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6113 fi
6114
6115
6116 fi
6117 if test -z "$ac_cv_prog_RANLIB"; then
6118   ac_ct_RANLIB=$RANLIB
6119   # Extract the first word of "ranlib", so it can be a program name with args.
6120 set dummy ranlib; ac_word=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6124   $as_echo_n "(cached) " >&6
6125 else
6126   if test -n "$ac_ct_RANLIB"; then
6127   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6128 else
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in $PATH
6131 do
6132   IFS=$as_save_IFS
6133   test -z "$as_dir" && as_dir=.
6134     for ac_exec_ext in '' $ac_executable_extensions; do
6135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136     ac_cv_prog_ac_ct_RANLIB="ranlib"
6137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138     break 2
6139   fi
6140 done
6141   done
6142 IFS=$as_save_IFS
6143
6144 fi
6145 fi
6146 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6147 if test -n "$ac_ct_RANLIB"; then
6148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6149 $as_echo "$ac_ct_RANLIB" >&6; }
6150 else
6151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6153 fi
6154
6155   if test "x$ac_ct_RANLIB" = x; then
6156     RANLIB=":"
6157   else
6158     case $cross_compiling:$ac_tool_warned in
6159 yes:)
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6163 esac
6164     RANLIB=$ac_ct_RANLIB
6165   fi
6166 else
6167   RANLIB="$ac_cv_prog_RANLIB"
6168 fi
6169
6170 test -z "$RANLIB" && RANLIB=:
6171
6172
6173
6174
6175
6176
6177 # Determine commands to create old-style static archives.
6178 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6179 old_postinstall_cmds='chmod 644 $oldlib'
6180 old_postuninstall_cmds=
6181
6182 if test -n "$RANLIB"; then
6183   case $host_os in
6184   openbsd*)
6185     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6186     ;;
6187   *)
6188     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6189     ;;
6190   esac
6191   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6192 fi
6193
6194 case $host_os in
6195   darwin*)
6196     lock_old_archive_extraction=yes ;;
6197   *)
6198     lock_old_archive_extraction=no ;;
6199 esac
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239 # If no C compiler was specified, use CC.
6240 LTCC=${LTCC-"$CC"}
6241
6242 # If no C compiler flags were specified, use CFLAGS.
6243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6244
6245 # Allow CC to be a program name with arguments.
6246 compiler=$CC
6247
6248
6249 # Check for command to grab the raw symbol name followed by C symbol from nm.
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6251 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6252 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6253   $as_echo_n "(cached) " >&6
6254 else
6255
6256 # These are sane defaults that work on at least a few old systems.
6257 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6258
6259 # Character class describing NM global symbol codes.
6260 symcode='[BCDEGRST]'
6261
6262 # Regexp to match symbols that can be accessed directly from C.
6263 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6264
6265 # Define system-specific variables.
6266 case $host_os in
6267 aix*)
6268   symcode='[BCDT]'
6269   ;;
6270 cygwin* | mingw* | pw32* | cegcc*)
6271   symcode='[ABCDGISTW]'
6272   ;;
6273 hpux*)
6274   if test "$host_cpu" = ia64; then
6275     symcode='[ABCDEGRST]'
6276   fi
6277   ;;
6278 irix* | nonstopux*)
6279   symcode='[BCDEGRST]'
6280   ;;
6281 osf*)
6282   symcode='[BCDEGQRST]'
6283   ;;
6284 solaris*)
6285   symcode='[BDRT]'
6286   ;;
6287 sco3.2v5*)
6288   symcode='[DT]'
6289   ;;
6290 sysv4.2uw2*)
6291   symcode='[DT]'
6292   ;;
6293 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6294   symcode='[ABDT]'
6295   ;;
6296 sysv4)
6297   symcode='[DFNSTU]'
6298   ;;
6299 esac
6300
6301 # If we're using GNU nm, then use its standard symbol codes.
6302 case `$NM -V 2>&1` in
6303 *GNU* | *'with BFD'*)
6304   symcode='[ABCDGIRSTW]' ;;
6305 esac
6306
6307 # Transform an extracted symbol line into a proper C declaration.
6308 # Some systems (esp. on ia64) link data and code symbols differently,
6309 # so use this general approach.
6310 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6311
6312 # Transform an extracted symbol line into symbol name and symbol address
6313 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6314 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'"
6315
6316 # Handle CRLF in mingw tool chain
6317 opt_cr=
6318 case $build_os in
6319 mingw*)
6320   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6321   ;;
6322 esac
6323
6324 # Try without a prefix underscore, then with it.
6325 for ac_symprfx in "" "_"; do
6326
6327   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6328   symxfrm="\\1 $ac_symprfx\\2 \\2"
6329
6330   # Write the raw and C identifiers.
6331   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6332     # Fake it for dumpbin and say T for any non-static function
6333     # and D for any global variable.
6334     # Also find C++ and __fastcall symbols from MSVC++,
6335     # which start with @ or ?.
6336     lt_cv_sys_global_symbol_pipe="$AWK '"\
6337 "     {last_section=section; section=\$ 3};"\
6338 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6339 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6340 "     \$ 0!~/External *\|/{next};"\
6341 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6342 "     {if(hide[section]) next};"\
6343 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6344 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6345 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6346 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6347 "     ' prfx=^$ac_symprfx"
6348   else
6349     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6350   fi
6351   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6352
6353   # Check to see that the pipe works correctly.
6354   pipe_works=no
6355
6356   rm -f conftest*
6357   cat > conftest.$ac_ext <<_LT_EOF
6358 #ifdef __cplusplus
6359 extern "C" {
6360 #endif
6361 char nm_test_var;
6362 void nm_test_func(void);
6363 void nm_test_func(void){}
6364 #ifdef __cplusplus
6365 }
6366 #endif
6367 int main(){nm_test_var='a';nm_test_func();return(0);}
6368 _LT_EOF
6369
6370   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6371   (eval $ac_compile) 2>&5
6372   ac_status=$?
6373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6374   test $ac_status = 0; }; then
6375     # Now try to grab the symbols.
6376     nlist=conftest.nm
6377     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6378   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6379   ac_status=$?
6380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6381   test $ac_status = 0; } && test -s "$nlist"; then
6382       # Try sorting and uniquifying the output.
6383       if sort "$nlist" | uniq > "$nlist"T; then
6384         mv -f "$nlist"T "$nlist"
6385       else
6386         rm -f "$nlist"T
6387       fi
6388
6389       # Make sure that we snagged all the symbols we need.
6390       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6391         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6392           cat <<_LT_EOF > conftest.$ac_ext
6393 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6394 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6395 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6396    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6397 # define LT_DLSYM_CONST
6398 #elif defined(__osf__)
6399 /* This system does not cope well with relocations in const data.  */
6400 # define LT_DLSYM_CONST
6401 #else
6402 # define LT_DLSYM_CONST const
6403 #endif
6404
6405 #ifdef __cplusplus
6406 extern "C" {
6407 #endif
6408
6409 _LT_EOF
6410           # Now generate the symbol file.
6411           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6412
6413           cat <<_LT_EOF >> conftest.$ac_ext
6414
6415 /* The mapping between symbol names and symbols.  */
6416 LT_DLSYM_CONST struct {
6417   const char *name;
6418   void       *address;
6419 }
6420 lt__PROGRAM__LTX_preloaded_symbols[] =
6421 {
6422   { "@PROGRAM@", (void *) 0 },
6423 _LT_EOF
6424           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6425           cat <<\_LT_EOF >> conftest.$ac_ext
6426   {0, (void *) 0}
6427 };
6428
6429 /* This works around a problem in FreeBSD linker */
6430 #ifdef FREEBSD_WORKAROUND
6431 static const void *lt_preloaded_setup() {
6432   return lt__PROGRAM__LTX_preloaded_symbols;
6433 }
6434 #endif
6435
6436 #ifdef __cplusplus
6437 }
6438 #endif
6439 _LT_EOF
6440           # Now try linking the two files.
6441           mv conftest.$ac_objext conftstm.$ac_objext
6442           lt_globsym_save_LIBS=$LIBS
6443           lt_globsym_save_CFLAGS=$CFLAGS
6444           LIBS="conftstm.$ac_objext"
6445           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6446           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6447   (eval $ac_link) 2>&5
6448   ac_status=$?
6449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6450   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6451             pipe_works=yes
6452           fi
6453           LIBS=$lt_globsym_save_LIBS
6454           CFLAGS=$lt_globsym_save_CFLAGS
6455         else
6456           echo "cannot find nm_test_func in $nlist" >&5
6457         fi
6458       else
6459         echo "cannot find nm_test_var in $nlist" >&5
6460       fi
6461     else
6462       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6463     fi
6464   else
6465     echo "$progname: failed program was:" >&5
6466     cat conftest.$ac_ext >&5
6467   fi
6468   rm -rf conftest* conftst*
6469
6470   # Do not use the global_symbol_pipe unless it works.
6471   if test "$pipe_works" = yes; then
6472     break
6473   else
6474     lt_cv_sys_global_symbol_pipe=
6475   fi
6476 done
6477
6478 fi
6479
6480 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6481   lt_cv_sys_global_symbol_to_cdecl=
6482 fi
6483 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6485 $as_echo "failed" >&6; }
6486 else
6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6488 $as_echo "ok" >&6; }
6489 fi
6490
6491 # Response file support.
6492 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6493   nm_file_list_spec='@'
6494 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6495   nm_file_list_spec='@'
6496 fi
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6525 $as_echo_n "checking for sysroot... " >&6; }
6526
6527 # Check whether --with-sysroot was given.
6528 if test "${with_sysroot+set}" = set; then :
6529   withval=$with_sysroot;
6530 else
6531   with_sysroot=no
6532 fi
6533
6534
6535 lt_sysroot=
6536 case ${with_sysroot} in #(
6537  yes)
6538    if test "$GCC" = yes; then
6539      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6540    fi
6541    ;; #(
6542  /*)
6543    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6544    ;; #(
6545  no|'')
6546    ;; #(
6547  *)
6548    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6549 $as_echo "${with_sysroot}" >&6; }
6550    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6551    ;;
6552 esac
6553
6554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6555 $as_echo "${lt_sysroot:-no}" >&6; }
6556
6557
6558
6559
6560
6561 # Check whether --enable-libtool-lock was given.
6562 if test "${enable_libtool_lock+set}" = set; then :
6563   enableval=$enable_libtool_lock;
6564 fi
6565
6566 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6567
6568 # Some flags need to be propagated to the compiler or linker for good
6569 # libtool support.
6570 case $host in
6571 ia64-*-hpux*)
6572   # Find out which ABI we are using.
6573   echo 'int i;' > conftest.$ac_ext
6574   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6575   (eval $ac_compile) 2>&5
6576   ac_status=$?
6577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6578   test $ac_status = 0; }; then
6579     case `/usr/bin/file conftest.$ac_objext` in
6580       *ELF-32*)
6581         HPUX_IA64_MODE="32"
6582         ;;
6583       *ELF-64*)
6584         HPUX_IA64_MODE="64"
6585         ;;
6586     esac
6587   fi
6588   rm -rf conftest*
6589   ;;
6590 *-*-irix6*)
6591   # Find out which ABI we are using.
6592   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6593   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6594   (eval $ac_compile) 2>&5
6595   ac_status=$?
6596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6597   test $ac_status = 0; }; then
6598     if test "$lt_cv_prog_gnu_ld" = yes; then
6599       case `/usr/bin/file conftest.$ac_objext` in
6600         *32-bit*)
6601           LD="${LD-ld} -melf32bsmip"
6602           ;;
6603         *N32*)
6604           LD="${LD-ld} -melf32bmipn32"
6605           ;;
6606         *64-bit*)
6607           LD="${LD-ld} -melf64bmip"
6608         ;;
6609       esac
6610     else
6611       case `/usr/bin/file conftest.$ac_objext` in
6612         *32-bit*)
6613           LD="${LD-ld} -32"
6614           ;;
6615         *N32*)
6616           LD="${LD-ld} -n32"
6617           ;;
6618         *64-bit*)
6619           LD="${LD-ld} -64"
6620           ;;
6621       esac
6622     fi
6623   fi
6624   rm -rf conftest*
6625   ;;
6626
6627 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6628 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6629   # Find out which ABI we are using.
6630   echo 'int i;' > conftest.$ac_ext
6631   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6632   (eval $ac_compile) 2>&5
6633   ac_status=$?
6634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635   test $ac_status = 0; }; then
6636     case `/usr/bin/file conftest.o` in
6637       *32-bit*)
6638         case $host in
6639           x86_64-*kfreebsd*-gnu)
6640             LD="${LD-ld} -m elf_i386_fbsd"
6641             ;;
6642           x86_64-*linux*)
6643             LD="${LD-ld} -m elf_i386"
6644             ;;
6645           ppc64-*linux*|powerpc64-*linux*)
6646             LD="${LD-ld} -m elf32ppclinux"
6647             ;;
6648           s390x-*linux*)
6649             LD="${LD-ld} -m elf_s390"
6650             ;;
6651           sparc64-*linux*)
6652             LD="${LD-ld} -m elf32_sparc"
6653             ;;
6654         esac
6655         ;;
6656       *64-bit*)
6657         case $host in
6658           x86_64-*kfreebsd*-gnu)
6659             LD="${LD-ld} -m elf_x86_64_fbsd"
6660             ;;
6661           x86_64-*linux*)
6662             LD="${LD-ld} -m elf_x86_64"
6663             ;;
6664           ppc*-*linux*|powerpc*-*linux*)
6665             LD="${LD-ld} -m elf64ppc"
6666             ;;
6667           s390*-*linux*|s390*-*tpf*)
6668             LD="${LD-ld} -m elf64_s390"
6669             ;;
6670           sparc*-*linux*)
6671             LD="${LD-ld} -m elf64_sparc"
6672             ;;
6673         esac
6674         ;;
6675     esac
6676   fi
6677   rm -rf conftest*
6678   ;;
6679
6680 *-*-sco3.2v5*)
6681   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6682   SAVE_CFLAGS="$CFLAGS"
6683   CFLAGS="$CFLAGS -belf"
6684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6685 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6686 if ${lt_cv_cc_needs_belf+:} false; then :
6687   $as_echo_n "(cached) " >&6
6688 else
6689   ac_ext=c
6690 ac_cpp='$CPP $CPPFLAGS'
6691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6694
6695      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h.  */
6697
6698 int
6699 main ()
6700 {
6701
6702   ;
6703   return 0;
6704 }
6705 _ACEOF
6706 if ac_fn_c_try_link "$LINENO"; then :
6707   lt_cv_cc_needs_belf=yes
6708 else
6709   lt_cv_cc_needs_belf=no
6710 fi
6711 rm -f core conftest.err conftest.$ac_objext \
6712     conftest$ac_exeext conftest.$ac_ext
6713      ac_ext=c
6714 ac_cpp='$CPP $CPPFLAGS'
6715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6718
6719 fi
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6721 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6722   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6723     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6724     CFLAGS="$SAVE_CFLAGS"
6725   fi
6726   ;;
6727 *-*solaris*)
6728   # Find out which ABI we are using.
6729   echo 'int i;' > conftest.$ac_ext
6730   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6731   (eval $ac_compile) 2>&5
6732   ac_status=$?
6733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734   test $ac_status = 0; }; then
6735     case `/usr/bin/file conftest.o` in
6736     *64-bit*)
6737       case $lt_cv_prog_gnu_ld in
6738       yes*)
6739         case $host in
6740         i?86-*-solaris*)
6741           LD="${LD-ld} -m elf_x86_64"
6742           ;;
6743         sparc*-*-solaris*)
6744           LD="${LD-ld} -m elf64_sparc"
6745           ;;
6746         esac
6747         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6748         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6749           LD="${LD-ld}_sol2"
6750         fi
6751         ;;
6752       *)
6753         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6754           LD="${LD-ld} -64"
6755         fi
6756         ;;
6757       esac
6758       ;;
6759     esac
6760   fi
6761   rm -rf conftest*
6762   ;;
6763 esac
6764
6765 need_locks="$enable_libtool_lock"
6766
6767 if test -n "$ac_tool_prefix"; then
6768   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}mt; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6773   $as_echo_n "(cached) " >&6
6774 else
6775   if test -n "$MANIFEST_TOOL"; then
6776   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6777 else
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 for as_dir in $PATH
6780 do
6781   IFS=$as_save_IFS
6782   test -z "$as_dir" && as_dir=.
6783     for ac_exec_ext in '' $ac_executable_extensions; do
6784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787     break 2
6788   fi
6789 done
6790   done
6791 IFS=$as_save_IFS
6792
6793 fi
6794 fi
6795 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6796 if test -n "$MANIFEST_TOOL"; then
6797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6798 $as_echo "$MANIFEST_TOOL" >&6; }
6799 else
6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
6802 fi
6803
6804
6805 fi
6806 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6807   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6808   # Extract the first word of "mt", so it can be a program name with args.
6809 set dummy mt; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 $as_echo_n "checking for $ac_word... " >&6; }
6812 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6813   $as_echo_n "(cached) " >&6
6814 else
6815   if test -n "$ac_ct_MANIFEST_TOOL"; then
6816   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6817 else
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6819 for as_dir in $PATH
6820 do
6821   IFS=$as_save_IFS
6822   test -z "$as_dir" && as_dir=.
6823     for ac_exec_ext in '' $ac_executable_extensions; do
6824   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6825     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6827     break 2
6828   fi
6829 done
6830   done
6831 IFS=$as_save_IFS
6832
6833 fi
6834 fi
6835 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6836 if test -n "$ac_ct_MANIFEST_TOOL"; then
6837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6838 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6839 else
6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6842 fi
6843
6844   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6845     MANIFEST_TOOL=":"
6846   else
6847     case $cross_compiling:$ac_tool_warned in
6848 yes:)
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6851 ac_tool_warned=yes ;;
6852 esac
6853     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6854   fi
6855 else
6856   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6857 fi
6858
6859 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6861 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6862 if ${lt_cv_path_mainfest_tool+:} false; then :
6863   $as_echo_n "(cached) " >&6
6864 else
6865   lt_cv_path_mainfest_tool=no
6866   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6867   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6868   cat conftest.err >&5
6869   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6870     lt_cv_path_mainfest_tool=yes
6871   fi
6872   rm -f conftest*
6873 fi
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6875 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6876 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6877   MANIFEST_TOOL=:
6878 fi
6879
6880
6881
6882
6883
6884
6885   case $host_os in
6886     rhapsody* | darwin*)
6887     if test -n "$ac_tool_prefix"; then
6888   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6889 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6893   $as_echo_n "(cached) " >&6
6894 else
6895   if test -n "$DSYMUTIL"; then
6896   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6897 else
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899 for as_dir in $PATH
6900 do
6901   IFS=$as_save_IFS
6902   test -z "$as_dir" && as_dir=.
6903     for ac_exec_ext in '' $ac_executable_extensions; do
6904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6905     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6907     break 2
6908   fi
6909 done
6910   done
6911 IFS=$as_save_IFS
6912
6913 fi
6914 fi
6915 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6916 if test -n "$DSYMUTIL"; then
6917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6918 $as_echo "$DSYMUTIL" >&6; }
6919 else
6920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6922 fi
6923
6924
6925 fi
6926 if test -z "$ac_cv_prog_DSYMUTIL"; then
6927   ac_ct_DSYMUTIL=$DSYMUTIL
6928   # Extract the first word of "dsymutil", so it can be a program name with args.
6929 set dummy dsymutil; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6933   $as_echo_n "(cached) " >&6
6934 else
6935   if test -n "$ac_ct_DSYMUTIL"; then
6936   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6937 else
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 for as_dir in $PATH
6940 do
6941   IFS=$as_save_IFS
6942   test -z "$as_dir" && as_dir=.
6943     for ac_exec_ext in '' $ac_executable_extensions; do
6944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6945     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947     break 2
6948   fi
6949 done
6950   done
6951 IFS=$as_save_IFS
6952
6953 fi
6954 fi
6955 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6956 if test -n "$ac_ct_DSYMUTIL"; then
6957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6958 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6959 else
6960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6962 fi
6963
6964   if test "x$ac_ct_DSYMUTIL" = x; then
6965     DSYMUTIL=":"
6966   else
6967     case $cross_compiling:$ac_tool_warned in
6968 yes:)
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6971 ac_tool_warned=yes ;;
6972 esac
6973     DSYMUTIL=$ac_ct_DSYMUTIL
6974   fi
6975 else
6976   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6977 fi
6978
6979     if test -n "$ac_tool_prefix"; then
6980   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6981 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if ${ac_cv_prog_NMEDIT+:} false; then :
6985   $as_echo_n "(cached) " >&6
6986 else
6987   if test -n "$NMEDIT"; then
6988   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6989 else
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 for as_dir in $PATH
6992 do
6993   IFS=$as_save_IFS
6994   test -z "$as_dir" && as_dir=.
6995     for ac_exec_ext in '' $ac_executable_extensions; do
6996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6997     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6999     break 2
7000   fi
7001 done
7002   done
7003 IFS=$as_save_IFS
7004
7005 fi
7006 fi
7007 NMEDIT=$ac_cv_prog_NMEDIT
7008 if test -n "$NMEDIT"; then
7009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7010 $as_echo "$NMEDIT" >&6; }
7011 else
7012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013 $as_echo "no" >&6; }
7014 fi
7015
7016
7017 fi
7018 if test -z "$ac_cv_prog_NMEDIT"; then
7019   ac_ct_NMEDIT=$NMEDIT
7020   # Extract the first word of "nmedit", so it can be a program name with args.
7021 set dummy nmedit; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7025   $as_echo_n "(cached) " >&6
7026 else
7027   if test -n "$ac_ct_NMEDIT"; then
7028   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7029 else
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 for as_dir in $PATH
7032 do
7033   IFS=$as_save_IFS
7034   test -z "$as_dir" && as_dir=.
7035     for ac_exec_ext in '' $ac_executable_extensions; do
7036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7037     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039     break 2
7040   fi
7041 done
7042   done
7043 IFS=$as_save_IFS
7044
7045 fi
7046 fi
7047 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7048 if test -n "$ac_ct_NMEDIT"; then
7049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7050 $as_echo "$ac_ct_NMEDIT" >&6; }
7051 else
7052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7054 fi
7055
7056   if test "x$ac_ct_NMEDIT" = x; then
7057     NMEDIT=":"
7058   else
7059     case $cross_compiling:$ac_tool_warned in
7060 yes:)
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned=yes ;;
7064 esac
7065     NMEDIT=$ac_ct_NMEDIT
7066   fi
7067 else
7068   NMEDIT="$ac_cv_prog_NMEDIT"
7069 fi
7070
7071     if test -n "$ac_tool_prefix"; then
7072   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7073 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7075 $as_echo_n "checking for $ac_word... " >&6; }
7076 if ${ac_cv_prog_LIPO+:} false; then :
7077   $as_echo_n "(cached) " >&6
7078 else
7079   if test -n "$LIPO"; then
7080   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7081 else
7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 for as_dir in $PATH
7084 do
7085   IFS=$as_save_IFS
7086   test -z "$as_dir" && as_dir=.
7087     for ac_exec_ext in '' $ac_executable_extensions; do
7088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7089     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091     break 2
7092   fi
7093 done
7094   done
7095 IFS=$as_save_IFS
7096
7097 fi
7098 fi
7099 LIPO=$ac_cv_prog_LIPO
7100 if test -n "$LIPO"; then
7101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7102 $as_echo "$LIPO" >&6; }
7103 else
7104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 $as_echo "no" >&6; }
7106 fi
7107
7108
7109 fi
7110 if test -z "$ac_cv_prog_LIPO"; then
7111   ac_ct_LIPO=$LIPO
7112   # Extract the first word of "lipo", so it can be a program name with args.
7113 set dummy lipo; ac_word=$2
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 $as_echo_n "checking for $ac_word... " >&6; }
7116 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7117   $as_echo_n "(cached) " >&6
7118 else
7119   if test -n "$ac_ct_LIPO"; then
7120   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7121 else
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 for as_dir in $PATH
7124 do
7125   IFS=$as_save_IFS
7126   test -z "$as_dir" && as_dir=.
7127     for ac_exec_ext in '' $ac_executable_extensions; do
7128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7129     ac_cv_prog_ac_ct_LIPO="lipo"
7130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131     break 2
7132   fi
7133 done
7134   done
7135 IFS=$as_save_IFS
7136
7137 fi
7138 fi
7139 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7140 if test -n "$ac_ct_LIPO"; then
7141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7142 $as_echo "$ac_ct_LIPO" >&6; }
7143 else
7144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 $as_echo "no" >&6; }
7146 fi
7147
7148   if test "x$ac_ct_LIPO" = x; then
7149     LIPO=":"
7150   else
7151     case $cross_compiling:$ac_tool_warned in
7152 yes:)
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7155 ac_tool_warned=yes ;;
7156 esac
7157     LIPO=$ac_ct_LIPO
7158   fi
7159 else
7160   LIPO="$ac_cv_prog_LIPO"
7161 fi
7162
7163     if test -n "$ac_tool_prefix"; then
7164   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7165 set dummy ${ac_tool_prefix}otool; ac_word=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 $as_echo_n "checking for $ac_word... " >&6; }
7168 if ${ac_cv_prog_OTOOL+:} false; then :
7169   $as_echo_n "(cached) " >&6
7170 else
7171   if test -n "$OTOOL"; then
7172   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7173 else
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 for as_dir in $PATH
7176 do
7177   IFS=$as_save_IFS
7178   test -z "$as_dir" && as_dir=.
7179     for ac_exec_ext in '' $ac_executable_extensions; do
7180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7181     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183     break 2
7184   fi
7185 done
7186   done
7187 IFS=$as_save_IFS
7188
7189 fi
7190 fi
7191 OTOOL=$ac_cv_prog_OTOOL
7192 if test -n "$OTOOL"; then
7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7194 $as_echo "$OTOOL" >&6; }
7195 else
7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 $as_echo "no" >&6; }
7198 fi
7199
7200
7201 fi
7202 if test -z "$ac_cv_prog_OTOOL"; then
7203   ac_ct_OTOOL=$OTOOL
7204   # Extract the first word of "otool", so it can be a program name with args.
7205 set dummy otool; ac_word=$2
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207 $as_echo_n "checking for $ac_word... " >&6; }
7208 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7209   $as_echo_n "(cached) " >&6
7210 else
7211   if test -n "$ac_ct_OTOOL"; then
7212   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7213 else
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 for as_dir in $PATH
7216 do
7217   IFS=$as_save_IFS
7218   test -z "$as_dir" && as_dir=.
7219     for ac_exec_ext in '' $ac_executable_extensions; do
7220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7221     ac_cv_prog_ac_ct_OTOOL="otool"
7222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223     break 2
7224   fi
7225 done
7226   done
7227 IFS=$as_save_IFS
7228
7229 fi
7230 fi
7231 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7232 if test -n "$ac_ct_OTOOL"; then
7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7234 $as_echo "$ac_ct_OTOOL" >&6; }
7235 else
7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 $as_echo "no" >&6; }
7238 fi
7239
7240   if test "x$ac_ct_OTOOL" = x; then
7241     OTOOL=":"
7242   else
7243     case $cross_compiling:$ac_tool_warned in
7244 yes:)
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7247 ac_tool_warned=yes ;;
7248 esac
7249     OTOOL=$ac_ct_OTOOL
7250   fi
7251 else
7252   OTOOL="$ac_cv_prog_OTOOL"
7253 fi
7254
7255     if test -n "$ac_tool_prefix"; then
7256   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259 $as_echo_n "checking for $ac_word... " >&6; }
7260 if ${ac_cv_prog_OTOOL64+:} false; then :
7261   $as_echo_n "(cached) " >&6
7262 else
7263   if test -n "$OTOOL64"; then
7264   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7265 else
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 for as_dir in $PATH
7268 do
7269   IFS=$as_save_IFS
7270   test -z "$as_dir" && as_dir=.
7271     for ac_exec_ext in '' $ac_executable_extensions; do
7272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7273     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275     break 2
7276   fi
7277 done
7278   done
7279 IFS=$as_save_IFS
7280
7281 fi
7282 fi
7283 OTOOL64=$ac_cv_prog_OTOOL64
7284 if test -n "$OTOOL64"; then
7285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7286 $as_echo "$OTOOL64" >&6; }
7287 else
7288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 $as_echo "no" >&6; }
7290 fi
7291
7292
7293 fi
7294 if test -z "$ac_cv_prog_OTOOL64"; then
7295   ac_ct_OTOOL64=$OTOOL64
7296   # Extract the first word of "otool64", so it can be a program name with args.
7297 set dummy otool64; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7301   $as_echo_n "(cached) " >&6
7302 else
7303   if test -n "$ac_ct_OTOOL64"; then
7304   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7305 else
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 for as_dir in $PATH
7308 do
7309   IFS=$as_save_IFS
7310   test -z "$as_dir" && as_dir=.
7311     for ac_exec_ext in '' $ac_executable_extensions; do
7312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313     ac_cv_prog_ac_ct_OTOOL64="otool64"
7314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315     break 2
7316   fi
7317 done
7318   done
7319 IFS=$as_save_IFS
7320
7321 fi
7322 fi
7323 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7324 if test -n "$ac_ct_OTOOL64"; then
7325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7326 $as_echo "$ac_ct_OTOOL64" >&6; }
7327 else
7328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7330 fi
7331
7332   if test "x$ac_ct_OTOOL64" = x; then
7333     OTOOL64=":"
7334   else
7335     case $cross_compiling:$ac_tool_warned in
7336 yes:)
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7339 ac_tool_warned=yes ;;
7340 esac
7341     OTOOL64=$ac_ct_OTOOL64
7342   fi
7343 else
7344   OTOOL64="$ac_cv_prog_OTOOL64"
7345 fi
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7374 $as_echo_n "checking for -single_module linker flag... " >&6; }
7375 if ${lt_cv_apple_cc_single_mod+:} false; then :
7376   $as_echo_n "(cached) " >&6
7377 else
7378   lt_cv_apple_cc_single_mod=no
7379       if test -z "${LT_MULTI_MODULE}"; then
7380         # By default we will add the -single_module flag. You can override
7381         # by either setting the environment variable LT_MULTI_MODULE
7382         # non-empty at configure time, or by adding -multi_module to the
7383         # link flags.
7384         rm -rf libconftest.dylib*
7385         echo "int foo(void){return 1;}" > conftest.c
7386         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7387 -dynamiclib -Wl,-single_module conftest.c" >&5
7388         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7389           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7390         _lt_result=$?
7391         # If there is a non-empty error log, and "single_module"
7392         # appears in it, assume the flag caused a linker warning
7393         if test -s conftest.err && $GREP single_module conftest.err; then
7394           cat conftest.err >&5
7395         # Otherwise, if the output was created with a 0 exit code from
7396         # the compiler, it worked.
7397         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7398           lt_cv_apple_cc_single_mod=yes
7399         else
7400           cat conftest.err >&5
7401         fi
7402         rm -rf libconftest.dylib*
7403         rm -f conftest.*
7404       fi
7405 fi
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7407 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7408
7409     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7410 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7411 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7412   $as_echo_n "(cached) " >&6
7413 else
7414   lt_cv_ld_exported_symbols_list=no
7415       save_LDFLAGS=$LDFLAGS
7416       echo "_main" > conftest.sym
7417       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h.  */
7420
7421 int
7422 main ()
7423 {
7424
7425   ;
7426   return 0;
7427 }
7428 _ACEOF
7429 if ac_fn_c_try_link "$LINENO"; then :
7430   lt_cv_ld_exported_symbols_list=yes
7431 else
7432   lt_cv_ld_exported_symbols_list=no
7433 fi
7434 rm -f core conftest.err conftest.$ac_objext \
7435     conftest$ac_exeext conftest.$ac_ext
7436         LDFLAGS="$save_LDFLAGS"
7437
7438 fi
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7440 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7441
7442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7443 $as_echo_n "checking for -force_load linker flag... " >&6; }
7444 if ${lt_cv_ld_force_load+:} false; then :
7445   $as_echo_n "(cached) " >&6
7446 else
7447   lt_cv_ld_force_load=no
7448       cat > conftest.c << _LT_EOF
7449 int forced_loaded() { return 2;}
7450 _LT_EOF
7451       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7452       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7453       echo "$AR cru libconftest.a conftest.o" >&5
7454       $AR cru libconftest.a conftest.o 2>&5
7455       echo "$RANLIB libconftest.a" >&5
7456       $RANLIB libconftest.a 2>&5
7457       cat > conftest.c << _LT_EOF
7458 int main() { return 0;}
7459 _LT_EOF
7460       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7461       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7462       _lt_result=$?
7463       if test -s conftest.err && $GREP force_load conftest.err; then
7464         cat conftest.err >&5
7465       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7466         lt_cv_ld_force_load=yes
7467       else
7468         cat conftest.err >&5
7469       fi
7470         rm -f conftest.err libconftest.a conftest conftest.c
7471         rm -rf conftest.dSYM
7472
7473 fi
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7475 $as_echo "$lt_cv_ld_force_load" >&6; }
7476     case $host_os in
7477     rhapsody* | darwin1.[012])
7478       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7479     darwin1.*)
7480       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7481     darwin*) # darwin 5.x on
7482       # if running on 10.5 or later, the deployment target defaults
7483       # to the OS version, if on x86, and 10.4, the deployment
7484       # target defaults to 10.4. Don't you love it?
7485       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7486         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7487           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7488         10.[012]*)
7489           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7490         10.*)
7491           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7492       esac
7493     ;;
7494   esac
7495     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7496       _lt_dar_single_mod='$single_module'
7497     fi
7498     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7499       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7500     else
7501       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7502     fi
7503     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7504       _lt_dsymutil='~$DSYMUTIL $lib || :'
7505     else
7506       _lt_dsymutil=
7507     fi
7508     ;;
7509   esac
7510
7511 ac_ext=c
7512 ac_cpp='$CPP $CPPFLAGS'
7513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7517 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7518 # On Suns, sometimes $CPP names a directory.
7519 if test -n "$CPP" && test -d "$CPP"; then
7520   CPP=
7521 fi
7522 if test -z "$CPP"; then
7523   if ${ac_cv_prog_CPP+:} false; then :
7524   $as_echo_n "(cached) " >&6
7525 else
7526       # Double quotes because CPP needs to be expanded
7527     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7528     do
7529       ac_preproc_ok=false
7530 for ac_c_preproc_warn_flag in '' yes
7531 do
7532   # Use a header file that comes with gcc, so configuring glibc
7533   # with a fresh cross-compiler works.
7534   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7535   # <limits.h> exists even on freestanding compilers.
7536   # On the NeXT, cc -E runs the code through the compiler's parser,
7537   # not just through cpp. "Syntax error" is here to catch this case.
7538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h.  */
7540 #ifdef __STDC__
7541 # include <limits.h>
7542 #else
7543 # include <assert.h>
7544 #endif
7545                      Syntax error
7546 _ACEOF
7547 if ac_fn_c_try_cpp "$LINENO"; then :
7548
7549 else
7550   # Broken: fails on valid input.
7551 continue
7552 fi
7553 rm -f conftest.err conftest.i conftest.$ac_ext
7554
7555   # OK, works on sane cases.  Now check whether nonexistent headers
7556   # can be detected and how.
7557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h.  */
7559 #include <ac_nonexistent.h>
7560 _ACEOF
7561 if ac_fn_c_try_cpp "$LINENO"; then :
7562   # Broken: success on invalid input.
7563 continue
7564 else
7565   # Passes both tests.
7566 ac_preproc_ok=:
7567 break
7568 fi
7569 rm -f conftest.err conftest.i conftest.$ac_ext
7570
7571 done
7572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7573 rm -f conftest.i conftest.err conftest.$ac_ext
7574 if $ac_preproc_ok; then :
7575   break
7576 fi
7577
7578     done
7579     ac_cv_prog_CPP=$CPP
7580
7581 fi
7582   CPP=$ac_cv_prog_CPP
7583 else
7584   ac_cv_prog_CPP=$CPP
7585 fi
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7587 $as_echo "$CPP" >&6; }
7588 ac_preproc_ok=false
7589 for ac_c_preproc_warn_flag in '' yes
7590 do
7591   # Use a header file that comes with gcc, so configuring glibc
7592   # with a fresh cross-compiler works.
7593   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7594   # <limits.h> exists even on freestanding compilers.
7595   # On the NeXT, cc -E runs the code through the compiler's parser,
7596   # not just through cpp. "Syntax error" is here to catch this case.
7597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h.  */
7599 #ifdef __STDC__
7600 # include <limits.h>
7601 #else
7602 # include <assert.h>
7603 #endif
7604                      Syntax error
7605 _ACEOF
7606 if ac_fn_c_try_cpp "$LINENO"; then :
7607
7608 else
7609   # Broken: fails on valid input.
7610 continue
7611 fi
7612 rm -f conftest.err conftest.i conftest.$ac_ext
7613
7614   # OK, works on sane cases.  Now check whether nonexistent headers
7615   # can be detected and how.
7616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h.  */
7618 #include <ac_nonexistent.h>
7619 _ACEOF
7620 if ac_fn_c_try_cpp "$LINENO"; then :
7621   # Broken: success on invalid input.
7622 continue
7623 else
7624   # Passes both tests.
7625 ac_preproc_ok=:
7626 break
7627 fi
7628 rm -f conftest.err conftest.i conftest.$ac_ext
7629
7630 done
7631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7632 rm -f conftest.i conftest.err conftest.$ac_ext
7633 if $ac_preproc_ok; then :
7634
7635 else
7636   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7638 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7639 See \`config.log' for more details" "$LINENO" 5; }
7640 fi
7641
7642 ac_ext=c
7643 ac_cpp='$CPP $CPPFLAGS'
7644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7647
7648
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7650 $as_echo_n "checking for ANSI C header files... " >&6; }
7651 if ${ac_cv_header_stdc+:} false; then :
7652   $as_echo_n "(cached) " >&6
7653 else
7654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h.  */
7656 #include <stdlib.h>
7657 #include <stdarg.h>
7658 #include <string.h>
7659 #include <float.h>
7660
7661 int
7662 main ()
7663 {
7664
7665   ;
7666   return 0;
7667 }
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"; then :
7670   ac_cv_header_stdc=yes
7671 else
7672   ac_cv_header_stdc=no
7673 fi
7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7675
7676 if test $ac_cv_header_stdc = yes; then
7677   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h.  */
7680 #include <string.h>
7681
7682 _ACEOF
7683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7684   $EGREP "memchr" >/dev/null 2>&1; then :
7685
7686 else
7687   ac_cv_header_stdc=no
7688 fi
7689 rm -f conftest*
7690
7691 fi
7692
7693 if test $ac_cv_header_stdc = yes; then
7694   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h.  */
7697 #include <stdlib.h>
7698
7699 _ACEOF
7700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7701   $EGREP "free" >/dev/null 2>&1; then :
7702
7703 else
7704   ac_cv_header_stdc=no
7705 fi
7706 rm -f conftest*
7707
7708 fi
7709
7710 if test $ac_cv_header_stdc = yes; then
7711   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7712   if test "$cross_compiling" = yes; then :
7713   :
7714 else
7715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h.  */
7717 #include <ctype.h>
7718 #include <stdlib.h>
7719 #if ((' ' & 0x0FF) == 0x020)
7720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7722 #else
7723 # define ISLOWER(c) \
7724                    (('a' <= (c) && (c) <= 'i') \
7725                      || ('j' <= (c) && (c) <= 'r') \
7726                      || ('s' <= (c) && (c) <= 'z'))
7727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7728 #endif
7729
7730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7731 int
7732 main ()
7733 {
7734   int i;
7735   for (i = 0; i < 256; i++)
7736     if (XOR (islower (i), ISLOWER (i))
7737         || toupper (i) != TOUPPER (i))
7738       return 2;
7739   return 0;
7740 }
7741 _ACEOF
7742 if ac_fn_c_try_run "$LINENO"; then :
7743
7744 else
7745   ac_cv_header_stdc=no
7746 fi
7747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7748   conftest.$ac_objext conftest.beam conftest.$ac_ext
7749 fi
7750
7751 fi
7752 fi
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7754 $as_echo "$ac_cv_header_stdc" >&6; }
7755 if test $ac_cv_header_stdc = yes; then
7756
7757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7758
7759 fi
7760
7761 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7762 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7763                   inttypes.h stdint.h unistd.h
7764 do :
7765   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7766 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7767 "
7768 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7769   cat >>confdefs.h <<_ACEOF
7770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7771 _ACEOF
7772
7773 fi
7774
7775 done
7776
7777
7778 for ac_header in dlfcn.h
7779 do :
7780   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7781 "
7782 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7783   cat >>confdefs.h <<_ACEOF
7784 #define HAVE_DLFCN_H 1
7785 _ACEOF
7786
7787 fi
7788
7789 done
7790
7791
7792
7793
7794
7795 # Set options
7796
7797
7798
7799         enable_dlopen=no
7800
7801
7802
7803             # Check whether --enable-shared was given.
7804 if test "${enable_shared+set}" = set; then :
7805   enableval=$enable_shared; p=${PACKAGE-default}
7806     case $enableval in
7807     yes) enable_shared=yes ;;
7808     no) enable_shared=no ;;
7809     *)
7810       enable_shared=no
7811       # Look at the argument we got.  We use all the common list separators.
7812       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7813       for pkg in $enableval; do
7814         IFS="$lt_save_ifs"
7815         if test "X$pkg" = "X$p"; then
7816           enable_shared=yes
7817         fi
7818       done
7819       IFS="$lt_save_ifs"
7820       ;;
7821     esac
7822 else
7823   enable_shared=yes
7824 fi
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834   # Check whether --enable-static was given.
7835 if test "${enable_static+set}" = set; then :
7836   enableval=$enable_static; p=${PACKAGE-default}
7837     case $enableval in
7838     yes) enable_static=yes ;;
7839     no) enable_static=no ;;
7840     *)
7841      enable_static=no
7842       # Look at the argument we got.  We use all the common list separators.
7843       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7844       for pkg in $enableval; do
7845         IFS="$lt_save_ifs"
7846         if test "X$pkg" = "X$p"; then
7847           enable_static=yes
7848         fi
7849       done
7850       IFS="$lt_save_ifs"
7851       ;;
7852     esac
7853 else
7854   enable_static=yes
7855 fi
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866 # Check whether --with-pic was given.
7867 if test "${with_pic+set}" = set; then :
7868   withval=$with_pic; lt_p=${PACKAGE-default}
7869     case $withval in
7870     yes|no) pic_mode=$withval ;;
7871     *)
7872       pic_mode=default
7873       # Look at the argument we got.  We use all the common list separators.
7874       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7875       for lt_pkg in $withval; do
7876         IFS="$lt_save_ifs"
7877         if test "X$lt_pkg" = "X$lt_p"; then
7878           pic_mode=yes
7879         fi
7880       done
7881       IFS="$lt_save_ifs"
7882       ;;
7883     esac
7884 else
7885   pic_mode=default
7886 fi
7887
7888
7889 test -z "$pic_mode" && pic_mode=default
7890
7891
7892
7893
7894
7895
7896
7897   # Check whether --enable-fast-install was given.
7898 if test "${enable_fast_install+set}" = set; then :
7899   enableval=$enable_fast_install; p=${PACKAGE-default}
7900     case $enableval in
7901     yes) enable_fast_install=yes ;;
7902     no) enable_fast_install=no ;;
7903     *)
7904       enable_fast_install=no
7905       # Look at the argument we got.  We use all the common list separators.
7906       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7907       for pkg in $enableval; do
7908         IFS="$lt_save_ifs"
7909         if test "X$pkg" = "X$p"; then
7910           enable_fast_install=yes
7911         fi
7912       done
7913       IFS="$lt_save_ifs"
7914       ;;
7915     esac
7916 else
7917   enable_fast_install=yes
7918 fi
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930 # This can be used to rebuild libtool when needed
7931 LIBTOOL_DEPS="$ltmain"
7932
7933 # Always use our own libtool.
7934 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965 test -z "$LN_S" && LN_S="ln -s"
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980 if test -n "${ZSH_VERSION+set}" ; then
7981    setopt NO_GLOB_SUBST
7982 fi
7983
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7985 $as_echo_n "checking for objdir... " >&6; }
7986 if ${lt_cv_objdir+:} false; then :
7987   $as_echo_n "(cached) " >&6
7988 else
7989   rm -f .libs 2>/dev/null
7990 mkdir .libs 2>/dev/null
7991 if test -d .libs; then
7992   lt_cv_objdir=.libs
7993 else
7994   # MS-DOS does not allow filenames that begin with a dot.
7995   lt_cv_objdir=_libs
7996 fi
7997 rmdir .libs 2>/dev/null
7998 fi
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8000 $as_echo "$lt_cv_objdir" >&6; }
8001 objdir=$lt_cv_objdir
8002
8003
8004
8005
8006
8007 cat >>confdefs.h <<_ACEOF
8008 #define LT_OBJDIR "$lt_cv_objdir/"
8009 _ACEOF
8010
8011
8012
8013
8014 case $host_os in
8015 aix3*)
8016   # AIX sometimes has problems with the GCC collect2 program.  For some
8017   # reason, if we set the COLLECT_NAMES environment variable, the problems
8018   # vanish in a puff of smoke.
8019   if test "X${COLLECT_NAMES+set}" != Xset; then
8020     COLLECT_NAMES=
8021     export COLLECT_NAMES
8022   fi
8023   ;;
8024 esac
8025
8026 # Global variables:
8027 ofile=libtool
8028 can_build_shared=yes
8029
8030 # All known linkers require a `.a' archive for static linking (except MSVC,
8031 # which needs '.lib').
8032 libext=a
8033
8034 with_gnu_ld="$lt_cv_prog_gnu_ld"
8035
8036 old_CC="$CC"
8037 old_CFLAGS="$CFLAGS"
8038
8039 # Set sane defaults for various variables
8040 test -z "$CC" && CC=cc
8041 test -z "$LTCC" && LTCC=$CC
8042 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8043 test -z "$LD" && LD=ld
8044 test -z "$ac_objext" && ac_objext=o
8045
8046 for cc_temp in $compiler""; do
8047   case $cc_temp in
8048     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8049     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8050     \-*) ;;
8051     *) break;;
8052   esac
8053 done
8054 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8055
8056
8057 # Only perform the check for file, if the check method requires it
8058 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8059 case $deplibs_check_method in
8060 file_magic*)
8061   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8062     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8063 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8064 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8065   $as_echo_n "(cached) " >&6
8066 else
8067   case $MAGIC_CMD in
8068 [\\/*] |  ?:[\\/]*)
8069   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8070   ;;
8071 *)
8072   lt_save_MAGIC_CMD="$MAGIC_CMD"
8073   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8074   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8075   for ac_dir in $ac_dummy; do
8076     IFS="$lt_save_ifs"
8077     test -z "$ac_dir" && ac_dir=.
8078     if test -f $ac_dir/${ac_tool_prefix}file; then
8079       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8080       if test -n "$file_magic_test_file"; then
8081         case $deplibs_check_method in
8082         "file_magic "*)
8083           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8084           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8085           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8086             $EGREP "$file_magic_regex" > /dev/null; then
8087             :
8088           else
8089             cat <<_LT_EOF 1>&2
8090
8091 *** Warning: the command libtool uses to detect shared libraries,
8092 *** $file_magic_cmd, produces output that libtool cannot recognize.
8093 *** The result is that libtool may fail to recognize shared libraries
8094 *** as such.  This will affect the creation of libtool libraries that
8095 *** depend on shared libraries, but programs linked with such libtool
8096 *** libraries will work regardless of this problem.  Nevertheless, you
8097 *** may want to report the problem to your system manager and/or to
8098 *** bug-libtool@gnu.org
8099
8100 _LT_EOF
8101           fi ;;
8102         esac
8103       fi
8104       break
8105     fi
8106   done
8107   IFS="$lt_save_ifs"
8108   MAGIC_CMD="$lt_save_MAGIC_CMD"
8109   ;;
8110 esac
8111 fi
8112
8113 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8114 if test -n "$MAGIC_CMD"; then
8115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8116 $as_echo "$MAGIC_CMD" >&6; }
8117 else
8118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8119 $as_echo "no" >&6; }
8120 fi
8121
8122
8123
8124
8125
8126 if test -z "$lt_cv_path_MAGIC_CMD"; then
8127   if test -n "$ac_tool_prefix"; then
8128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8129 $as_echo_n "checking for file... " >&6; }
8130 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8131   $as_echo_n "(cached) " >&6
8132 else
8133   case $MAGIC_CMD in
8134 [\\/*] |  ?:[\\/]*)
8135   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8136   ;;
8137 *)
8138   lt_save_MAGIC_CMD="$MAGIC_CMD"
8139   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8140   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8141   for ac_dir in $ac_dummy; do
8142     IFS="$lt_save_ifs"
8143     test -z "$ac_dir" && ac_dir=.
8144     if test -f $ac_dir/file; then
8145       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8146       if test -n "$file_magic_test_file"; then
8147         case $deplibs_check_method in
8148         "file_magic "*)
8149           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8150           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8151           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8152             $EGREP "$file_magic_regex" > /dev/null; then
8153             :
8154           else
8155             cat <<_LT_EOF 1>&2
8156
8157 *** Warning: the command libtool uses to detect shared libraries,
8158 *** $file_magic_cmd, produces output that libtool cannot recognize.
8159 *** The result is that libtool may fail to recognize shared libraries
8160 *** as such.  This will affect the creation of libtool libraries that
8161 *** depend on shared libraries, but programs linked with such libtool
8162 *** libraries will work regardless of this problem.  Nevertheless, you
8163 *** may want to report the problem to your system manager and/or to
8164 *** bug-libtool@gnu.org
8165
8166 _LT_EOF
8167           fi ;;
8168         esac
8169       fi
8170       break
8171     fi
8172   done
8173   IFS="$lt_save_ifs"
8174   MAGIC_CMD="$lt_save_MAGIC_CMD"
8175   ;;
8176 esac
8177 fi
8178
8179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8180 if test -n "$MAGIC_CMD"; then
8181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8182 $as_echo "$MAGIC_CMD" >&6; }
8183 else
8184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8186 fi
8187
8188
8189   else
8190     MAGIC_CMD=:
8191   fi
8192 fi
8193
8194   fi
8195   ;;
8196 esac
8197
8198 # Use C for the default configuration in the libtool script
8199
8200 lt_save_CC="$CC"
8201 ac_ext=c
8202 ac_cpp='$CPP $CPPFLAGS'
8203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8206
8207
8208 # Source file extension for C test sources.
8209 ac_ext=c
8210
8211 # Object file extension for compiled C test sources.
8212 objext=o
8213 objext=$objext
8214
8215 # Code to be used in simple compile tests
8216 lt_simple_compile_test_code="int some_variable = 0;"
8217
8218 # Code to be used in simple link tests
8219 lt_simple_link_test_code='int main(){return(0);}'
8220
8221
8222
8223
8224
8225
8226
8227 # If no C compiler was specified, use CC.
8228 LTCC=${LTCC-"$CC"}
8229
8230 # If no C compiler flags were specified, use CFLAGS.
8231 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8232
8233 # Allow CC to be a program name with arguments.
8234 compiler=$CC
8235
8236 # Save the default compiler, since it gets overwritten when the other
8237 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8238 compiler_DEFAULT=$CC
8239
8240 # save warnings/boilerplate of simple test code
8241 ac_outfile=conftest.$ac_objext
8242 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8243 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8244 _lt_compiler_boilerplate=`cat conftest.err`
8245 $RM conftest*
8246
8247 ac_outfile=conftest.$ac_objext
8248 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8249 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8250 _lt_linker_boilerplate=`cat conftest.err`
8251 $RM -r conftest*
8252
8253
8254 ## CAVEAT EMPTOR:
8255 ## There is no encapsulation within the following macros, do not change
8256 ## the running order or otherwise move them around unless you know exactly
8257 ## what you are doing...
8258 if test -n "$compiler"; then
8259
8260 lt_prog_compiler_no_builtin_flag=
8261
8262 if test "$GCC" = yes; then
8263   case $cc_basename in
8264   nvcc*)
8265     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8266   *)
8267     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8268   esac
8269
8270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8271 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8272 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8273   $as_echo_n "(cached) " >&6
8274 else
8275   lt_cv_prog_compiler_rtti_exceptions=no
8276    ac_outfile=conftest.$ac_objext
8277    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8278    lt_compiler_flag="-fno-rtti -fno-exceptions"
8279    # Insert the option either (1) after the last *FLAGS variable, or
8280    # (2) before a word containing "conftest.", or (3) at the end.
8281    # Note that $ac_compile itself does not contain backslashes and begins
8282    # with a dollar sign (not a hyphen), so the echo should work correctly.
8283    # The option is referenced via a variable to avoid confusing sed.
8284    lt_compile=`echo "$ac_compile" | $SED \
8285    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8286    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8287    -e 's:$: $lt_compiler_flag:'`
8288    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8289    (eval "$lt_compile" 2>conftest.err)
8290    ac_status=$?
8291    cat conftest.err >&5
8292    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293    if (exit $ac_status) && test -s "$ac_outfile"; then
8294      # The compiler can only warn and ignore the option if not recognized
8295      # So say no if there are warnings other than the usual output.
8296      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8297      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8298      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8299        lt_cv_prog_compiler_rtti_exceptions=yes
8300      fi
8301    fi
8302    $RM conftest*
8303
8304 fi
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8306 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8307
8308 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8309     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8310 else
8311     :
8312 fi
8313
8314 fi
8315
8316
8317
8318
8319
8320
8321   lt_prog_compiler_wl=
8322 lt_prog_compiler_pic=
8323 lt_prog_compiler_static=
8324
8325
8326   if test "$GCC" = yes; then
8327     lt_prog_compiler_wl='-Wl,'
8328     lt_prog_compiler_static='-static'
8329
8330     case $host_os in
8331       aix*)
8332       # All AIX code is PIC.
8333       if test "$host_cpu" = ia64; then
8334         # AIX 5 now supports IA64 processor
8335         lt_prog_compiler_static='-Bstatic'
8336       fi
8337       ;;
8338
8339     amigaos*)
8340       case $host_cpu in
8341       powerpc)
8342             # see comment about AmigaOS4 .so support
8343             lt_prog_compiler_pic='-fPIC'
8344         ;;
8345       m68k)
8346             # FIXME: we need at least 68020 code to build shared libraries, but
8347             # adding the `-m68020' flag to GCC prevents building anything better,
8348             # like `-m68040'.
8349             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8350         ;;
8351       esac
8352       ;;
8353
8354     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8355       # PIC is the default for these OSes.
8356       ;;
8357
8358     mingw* | cygwin* | pw32* | os2* | cegcc*)
8359       # This hack is so that the source file can tell whether it is being
8360       # built for inclusion in a dll (and should export symbols for example).
8361       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8362       # (--disable-auto-import) libraries
8363       lt_prog_compiler_pic='-DDLL_EXPORT'
8364       ;;
8365
8366     darwin* | rhapsody*)
8367       # PIC is the default on this platform
8368       # Common symbols not allowed in MH_DYLIB files
8369       lt_prog_compiler_pic='-fno-common'
8370       ;;
8371
8372     haiku*)
8373       # PIC is the default for Haiku.
8374       # The "-static" flag exists, but is broken.
8375       lt_prog_compiler_static=
8376       ;;
8377
8378     hpux*)
8379       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8380       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8381       # sets the default TLS model and affects inlining.
8382       case $host_cpu in
8383       hppa*64*)
8384         # +Z the default
8385         ;;
8386       *)
8387         lt_prog_compiler_pic='-fPIC'
8388         ;;
8389       esac
8390       ;;
8391
8392     interix[3-9]*)
8393       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8394       # Instead, we relocate shared libraries at runtime.
8395       ;;
8396
8397     msdosdjgpp*)
8398       # Just because we use GCC doesn't mean we suddenly get shared libraries
8399       # on systems that don't support them.
8400       lt_prog_compiler_can_build_shared=no
8401       enable_shared=no
8402       ;;
8403
8404     *nto* | *qnx*)
8405       # QNX uses GNU C++, but need to define -shared option too, otherwise
8406       # it will coredump.
8407       lt_prog_compiler_pic='-fPIC -shared'
8408       ;;
8409
8410     sysv4*MP*)
8411       if test -d /usr/nec; then
8412         lt_prog_compiler_pic=-Kconform_pic
8413       fi
8414       ;;
8415
8416     *)
8417       lt_prog_compiler_pic='-fPIC'
8418       ;;
8419     esac
8420
8421     case $cc_basename in
8422     nvcc*) # Cuda Compiler Driver 2.2
8423       lt_prog_compiler_wl='-Xlinker '
8424       if test -n "$lt_prog_compiler_pic"; then
8425         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8426       fi
8427       ;;
8428     esac
8429   else
8430     # PORTME Check for flag to pass linker flags through the system compiler.
8431     case $host_os in
8432     aix*)
8433       lt_prog_compiler_wl='-Wl,'
8434       if test "$host_cpu" = ia64; then
8435         # AIX 5 now supports IA64 processor
8436         lt_prog_compiler_static='-Bstatic'
8437       else
8438         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8439       fi
8440       ;;
8441
8442     mingw* | cygwin* | pw32* | os2* | cegcc*)
8443       # This hack is so that the source file can tell whether it is being
8444       # built for inclusion in a dll (and should export symbols for example).
8445       lt_prog_compiler_pic='-DDLL_EXPORT'
8446       ;;
8447
8448     hpux9* | hpux10* | hpux11*)
8449       lt_prog_compiler_wl='-Wl,'
8450       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8451       # not for PA HP-UX.
8452       case $host_cpu in
8453       hppa*64*|ia64*)
8454         # +Z the default
8455         ;;
8456       *)
8457         lt_prog_compiler_pic='+Z'
8458         ;;
8459       esac
8460       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8461       lt_prog_compiler_static='${wl}-a ${wl}archive'
8462       ;;
8463
8464     irix5* | irix6* | nonstopux*)
8465       lt_prog_compiler_wl='-Wl,'
8466       # PIC (with -KPIC) is the default.
8467       lt_prog_compiler_static='-non_shared'
8468       ;;
8469
8470     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8471       case $cc_basename in
8472       # old Intel for x86_64 which still supported -KPIC.
8473       ecc*)
8474         lt_prog_compiler_wl='-Wl,'
8475         lt_prog_compiler_pic='-KPIC'
8476         lt_prog_compiler_static='-static'
8477         ;;
8478       # icc used to be incompatible with GCC.
8479       # ICC 10 doesn't accept -KPIC any more.
8480       icc* | ifort*)
8481         lt_prog_compiler_wl='-Wl,'
8482         lt_prog_compiler_pic='-fPIC'
8483         lt_prog_compiler_static='-static'
8484         ;;
8485       # Lahey Fortran 8.1.
8486       lf95*)
8487         lt_prog_compiler_wl='-Wl,'
8488         lt_prog_compiler_pic='--shared'
8489         lt_prog_compiler_static='--static'
8490         ;;
8491       nagfor*)
8492         # NAG Fortran compiler
8493         lt_prog_compiler_wl='-Wl,-Wl,,'
8494         lt_prog_compiler_pic='-PIC'
8495         lt_prog_compiler_static='-Bstatic'
8496         ;;
8497       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8498         # Portland Group compilers (*not* the Pentium gcc compiler,
8499         # which looks to be a dead project)
8500         lt_prog_compiler_wl='-Wl,'
8501         lt_prog_compiler_pic='-fpic'
8502         lt_prog_compiler_static='-Bstatic'
8503         ;;
8504       ccc*)
8505         lt_prog_compiler_wl='-Wl,'
8506         # All Alpha code is PIC.
8507         lt_prog_compiler_static='-non_shared'
8508         ;;
8509       xl* | bgxl* | bgf* | mpixl*)
8510         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8511         lt_prog_compiler_wl='-Wl,'
8512         lt_prog_compiler_pic='-qpic'
8513         lt_prog_compiler_static='-qstaticlink'
8514         ;;
8515       *)
8516         case `$CC -V 2>&1 | sed 5q` in
8517         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8518           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8519           lt_prog_compiler_pic='-KPIC'
8520           lt_prog_compiler_static='-Bstatic'
8521           lt_prog_compiler_wl=''
8522           ;;
8523         *Sun\ F* | *Sun*Fortran*)
8524           lt_prog_compiler_pic='-KPIC'
8525           lt_prog_compiler_static='-Bstatic'
8526           lt_prog_compiler_wl='-Qoption ld '
8527           ;;
8528         *Sun\ C*)
8529           # Sun C 5.9
8530           lt_prog_compiler_pic='-KPIC'
8531           lt_prog_compiler_static='-Bstatic'
8532           lt_prog_compiler_wl='-Wl,'
8533           ;;
8534         *Intel*\ [CF]*Compiler*)
8535           lt_prog_compiler_wl='-Wl,'
8536           lt_prog_compiler_pic='-fPIC'
8537           lt_prog_compiler_static='-static'
8538           ;;
8539         *Portland\ Group*)
8540           lt_prog_compiler_wl='-Wl,'
8541           lt_prog_compiler_pic='-fpic'
8542           lt_prog_compiler_static='-Bstatic'
8543           ;;
8544         esac
8545         ;;
8546       esac
8547       ;;
8548
8549     newsos6)
8550       lt_prog_compiler_pic='-KPIC'
8551       lt_prog_compiler_static='-Bstatic'
8552       ;;
8553
8554     *nto* | *qnx*)
8555       # QNX uses GNU C++, but need to define -shared option too, otherwise
8556       # it will coredump.
8557       lt_prog_compiler_pic='-fPIC -shared'
8558       ;;
8559
8560     osf3* | osf4* | osf5*)
8561       lt_prog_compiler_wl='-Wl,'
8562       # All OSF/1 code is PIC.
8563       lt_prog_compiler_static='-non_shared'
8564       ;;
8565
8566     rdos*)
8567       lt_prog_compiler_static='-non_shared'
8568       ;;
8569
8570     solaris*)
8571       lt_prog_compiler_pic='-KPIC'
8572       lt_prog_compiler_static='-Bstatic'
8573       case $cc_basename in
8574       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8575         lt_prog_compiler_wl='-Qoption ld ';;
8576       *)
8577         lt_prog_compiler_wl='-Wl,';;
8578       esac
8579       ;;
8580
8581     sunos4*)
8582       lt_prog_compiler_wl='-Qoption ld '
8583       lt_prog_compiler_pic='-PIC'
8584       lt_prog_compiler_static='-Bstatic'
8585       ;;
8586
8587     sysv4 | sysv4.2uw2* | sysv4.3*)
8588       lt_prog_compiler_wl='-Wl,'
8589       lt_prog_compiler_pic='-KPIC'
8590       lt_prog_compiler_static='-Bstatic'
8591       ;;
8592
8593     sysv4*MP*)
8594       if test -d /usr/nec ;then
8595         lt_prog_compiler_pic='-Kconform_pic'
8596         lt_prog_compiler_static='-Bstatic'
8597       fi
8598       ;;
8599
8600     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8601       lt_prog_compiler_wl='-Wl,'
8602       lt_prog_compiler_pic='-KPIC'
8603       lt_prog_compiler_static='-Bstatic'
8604       ;;
8605
8606     unicos*)
8607       lt_prog_compiler_wl='-Wl,'
8608       lt_prog_compiler_can_build_shared=no
8609       ;;
8610
8611     uts4*)
8612       lt_prog_compiler_pic='-pic'
8613       lt_prog_compiler_static='-Bstatic'
8614       ;;
8615
8616     *)
8617       lt_prog_compiler_can_build_shared=no
8618       ;;
8619     esac
8620   fi
8621
8622 case $host_os in
8623   # For platforms which do not support PIC, -DPIC is meaningless:
8624   *djgpp*)
8625     lt_prog_compiler_pic=
8626     ;;
8627   *)
8628     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8629     ;;
8630 esac
8631
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8633 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8634 if ${lt_cv_prog_compiler_pic+:} false; then :
8635   $as_echo_n "(cached) " >&6
8636 else
8637   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8638 fi
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8640 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8641 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8642
8643 #
8644 # Check to make sure the PIC flag actually works.
8645 #
8646 if test -n "$lt_prog_compiler_pic"; then
8647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8648 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8649 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8650   $as_echo_n "(cached) " >&6
8651 else
8652   lt_cv_prog_compiler_pic_works=no
8653    ac_outfile=conftest.$ac_objext
8654    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8655    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8656    # Insert the option either (1) after the last *FLAGS variable, or
8657    # (2) before a word containing "conftest.", or (3) at the end.
8658    # Note that $ac_compile itself does not contain backslashes and begins
8659    # with a dollar sign (not a hyphen), so the echo should work correctly.
8660    # The option is referenced via a variable to avoid confusing sed.
8661    lt_compile=`echo "$ac_compile" | $SED \
8662    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8663    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8664    -e 's:$: $lt_compiler_flag:'`
8665    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8666    (eval "$lt_compile" 2>conftest.err)
8667    ac_status=$?
8668    cat conftest.err >&5
8669    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670    if (exit $ac_status) && test -s "$ac_outfile"; then
8671      # The compiler can only warn and ignore the option if not recognized
8672      # So say no if there are warnings other than the usual output.
8673      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8674      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8675      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8676        lt_cv_prog_compiler_pic_works=yes
8677      fi
8678    fi
8679    $RM conftest*
8680
8681 fi
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8683 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8684
8685 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8686     case $lt_prog_compiler_pic in
8687      "" | " "*) ;;
8688      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8689      esac
8690 else
8691     lt_prog_compiler_pic=
8692      lt_prog_compiler_can_build_shared=no
8693 fi
8694
8695 fi
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707 #
8708 # Check to make sure the static flag actually works.
8709 #
8710 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8712 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8713 if ${lt_cv_prog_compiler_static_works+:} false; then :
8714   $as_echo_n "(cached) " >&6
8715 else
8716   lt_cv_prog_compiler_static_works=no
8717    save_LDFLAGS="$LDFLAGS"
8718    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8719    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8720    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8721      # The linker can only warn and ignore the option if not recognized
8722      # So say no if there are warnings
8723      if test -s conftest.err; then
8724        # Append any errors to the config.log.
8725        cat conftest.err 1>&5
8726        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8727        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8728        if diff conftest.exp conftest.er2 >/dev/null; then
8729          lt_cv_prog_compiler_static_works=yes
8730        fi
8731      else
8732        lt_cv_prog_compiler_static_works=yes
8733      fi
8734    fi
8735    $RM -r conftest*
8736    LDFLAGS="$save_LDFLAGS"
8737
8738 fi
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8740 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8741
8742 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8743     :
8744 else
8745     lt_prog_compiler_static=
8746 fi
8747
8748
8749
8750
8751
8752
8753
8754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8756 if ${lt_cv_prog_compiler_c_o+:} false; then :
8757   $as_echo_n "(cached) " >&6
8758 else
8759   lt_cv_prog_compiler_c_o=no
8760    $RM -r conftest 2>/dev/null
8761    mkdir conftest
8762    cd conftest
8763    mkdir out
8764    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8765
8766    lt_compiler_flag="-o out/conftest2.$ac_objext"
8767    # Insert the option either (1) after the last *FLAGS variable, or
8768    # (2) before a word containing "conftest.", or (3) at the end.
8769    # Note that $ac_compile itself does not contain backslashes and begins
8770    # with a dollar sign (not a hyphen), so the echo should work correctly.
8771    lt_compile=`echo "$ac_compile" | $SED \
8772    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8773    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8774    -e 's:$: $lt_compiler_flag:'`
8775    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8776    (eval "$lt_compile" 2>out/conftest.err)
8777    ac_status=$?
8778    cat out/conftest.err >&5
8779    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8781    then
8782      # The compiler can only warn and ignore the option if not recognized
8783      # So say no if there are warnings
8784      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8785      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8786      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8787        lt_cv_prog_compiler_c_o=yes
8788      fi
8789    fi
8790    chmod u+w . 2>&5
8791    $RM conftest*
8792    # SGI C++ compiler will create directory out/ii_files/ for
8793    # template instantiation
8794    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8795    $RM out/* && rmdir out
8796    cd ..
8797    $RM -r conftest
8798    $RM conftest*
8799
8800 fi
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8803
8804
8805
8806
8807
8808
8809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8811 if ${lt_cv_prog_compiler_c_o+:} false; then :
8812   $as_echo_n "(cached) " >&6
8813 else
8814   lt_cv_prog_compiler_c_o=no
8815    $RM -r conftest 2>/dev/null
8816    mkdir conftest
8817    cd conftest
8818    mkdir out
8819    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8820
8821    lt_compiler_flag="-o out/conftest2.$ac_objext"
8822    # Insert the option either (1) after the last *FLAGS variable, or
8823    # (2) before a word containing "conftest.", or (3) at the end.
8824    # Note that $ac_compile itself does not contain backslashes and begins
8825    # with a dollar sign (not a hyphen), so the echo should work correctly.
8826    lt_compile=`echo "$ac_compile" | $SED \
8827    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8828    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8829    -e 's:$: $lt_compiler_flag:'`
8830    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8831    (eval "$lt_compile" 2>out/conftest.err)
8832    ac_status=$?
8833    cat out/conftest.err >&5
8834    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8836    then
8837      # The compiler can only warn and ignore the option if not recognized
8838      # So say no if there are warnings
8839      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8840      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8841      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8842        lt_cv_prog_compiler_c_o=yes
8843      fi
8844    fi
8845    chmod u+w . 2>&5
8846    $RM conftest*
8847    # SGI C++ compiler will create directory out/ii_files/ for
8848    # template instantiation
8849    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8850    $RM out/* && rmdir out
8851    cd ..
8852    $RM -r conftest
8853    $RM conftest*
8854
8855 fi
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8857 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8858
8859
8860
8861
8862 hard_links="nottested"
8863 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8864   # do not overwrite the value of need_locks provided by the user
8865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8866 $as_echo_n "checking if we can lock with hard links... " >&6; }
8867   hard_links=yes
8868   $RM conftest*
8869   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8870   touch conftest.a
8871   ln conftest.a conftest.b 2>&5 || hard_links=no
8872   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8874 $as_echo "$hard_links" >&6; }
8875   if test "$hard_links" = no; then
8876     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8877 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8878     need_locks=warn
8879   fi
8880 else
8881   need_locks=no
8882 fi
8883
8884
8885
8886
8887
8888
8889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8890 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8891
8892   runpath_var=
8893   allow_undefined_flag=
8894   always_export_symbols=no
8895   archive_cmds=
8896   archive_expsym_cmds=
8897   compiler_needs_object=no
8898   enable_shared_with_static_runtimes=no
8899   export_dynamic_flag_spec=
8900   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8901   hardcode_automatic=no
8902   hardcode_direct=no
8903   hardcode_direct_absolute=no
8904   hardcode_libdir_flag_spec=
8905   hardcode_libdir_separator=
8906   hardcode_minus_L=no
8907   hardcode_shlibpath_var=unsupported
8908   inherit_rpath=no
8909   link_all_deplibs=unknown
8910   module_cmds=
8911   module_expsym_cmds=
8912   old_archive_from_new_cmds=
8913   old_archive_from_expsyms_cmds=
8914   thread_safe_flag_spec=
8915   whole_archive_flag_spec=
8916   # include_expsyms should be a list of space-separated symbols to be *always*
8917   # included in the symbol list
8918   include_expsyms=
8919   # exclude_expsyms can be an extended regexp of symbols to exclude
8920   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8921   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8922   # as well as any symbol that contains `d'.
8923   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8924   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8925   # platforms (ab)use it in PIC code, but their linkers get confused if
8926   # the symbol is explicitly referenced.  Since portable code cannot
8927   # rely on this symbol name, it's probably fine to never include it in
8928   # preloaded symbol tables.
8929   # Exclude shared library initialization/finalization symbols.
8930   extract_expsyms_cmds=
8931
8932   case $host_os in
8933   cygwin* | mingw* | pw32* | cegcc*)
8934     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8935     # When not using gcc, we currently assume that we are using
8936     # Microsoft Visual C++.
8937     if test "$GCC" != yes; then
8938       with_gnu_ld=no
8939     fi
8940     ;;
8941   interix*)
8942     # we just hope/assume this is gcc and not c89 (= MSVC++)
8943     with_gnu_ld=yes
8944     ;;
8945   openbsd*)
8946     with_gnu_ld=no
8947     ;;
8948   esac
8949
8950   ld_shlibs=yes
8951
8952   # On some targets, GNU ld is compatible enough with the native linker
8953   # that we're better off using the native interface for both.
8954   lt_use_gnu_ld_interface=no
8955   if test "$with_gnu_ld" = yes; then
8956     case $host_os in
8957       aix*)
8958         # The AIX port of GNU ld has always aspired to compatibility
8959         # with the native linker.  However, as the warning in the GNU ld
8960         # block says, versions before 2.19.5* couldn't really create working
8961         # shared libraries, regardless of the interface used.
8962         case `$LD -v 2>&1` in
8963           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8964           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8965           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8966           *)
8967             lt_use_gnu_ld_interface=yes
8968             ;;
8969         esac
8970         ;;
8971       *)
8972         lt_use_gnu_ld_interface=yes
8973         ;;
8974     esac
8975   fi
8976
8977   if test "$lt_use_gnu_ld_interface" = yes; then
8978     # If archive_cmds runs LD, not CC, wlarc should be empty
8979     wlarc='${wl}'
8980
8981     # Set some defaults for GNU ld with shared library support. These
8982     # are reset later if shared libraries are not supported. Putting them
8983     # here allows them to be overridden if necessary.
8984     runpath_var=LD_RUN_PATH
8985     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8986     export_dynamic_flag_spec='${wl}--export-dynamic'
8987     # ancient GNU ld didn't support --whole-archive et. al.
8988     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8989       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8990     else
8991       whole_archive_flag_spec=
8992     fi
8993     supports_anon_versioning=no
8994     case `$LD -v 2>&1` in
8995       *GNU\ gold*) supports_anon_versioning=yes ;;
8996       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8997       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8998       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8999       *\ 2.11.*) ;; # other 2.11 versions
9000       *) supports_anon_versioning=yes ;;
9001     esac
9002
9003     # See if GNU ld supports shared libraries.
9004     case $host_os in
9005     aix[3-9]*)
9006       # On AIX/PPC, the GNU linker is very broken
9007       if test "$host_cpu" != ia64; then
9008         ld_shlibs=no
9009         cat <<_LT_EOF 1>&2
9010
9011 *** Warning: the GNU linker, at least up to release 2.19, is reported
9012 *** to be unable to reliably create shared libraries on AIX.
9013 *** Therefore, libtool is disabling shared libraries support.  If you
9014 *** really care for shared libraries, you may want to install binutils
9015 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9016 *** You will then need to restart the configuration process.
9017
9018 _LT_EOF
9019       fi
9020       ;;
9021
9022     amigaos*)
9023       case $host_cpu in
9024       powerpc)
9025             # see comment about AmigaOS4 .so support
9026             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9027             archive_expsym_cmds=''
9028         ;;
9029       m68k)
9030             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)'
9031             hardcode_libdir_flag_spec='-L$libdir'
9032             hardcode_minus_L=yes
9033         ;;
9034       esac
9035       ;;
9036
9037     beos*)
9038       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9039         allow_undefined_flag=unsupported
9040         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9041         # support --undefined.  This deserves some investigation.  FIXME
9042         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9043       else
9044         ld_shlibs=no
9045       fi
9046       ;;
9047
9048     cygwin* | mingw* | pw32* | cegcc*)
9049       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9050       # as there is no search path for DLLs.
9051       hardcode_libdir_flag_spec='-L$libdir'
9052       export_dynamic_flag_spec='${wl}--export-all-symbols'
9053       allow_undefined_flag=unsupported
9054       always_export_symbols=no
9055       enable_shared_with_static_runtimes=yes
9056       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'
9057       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9058
9059       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9060         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9061         # If the export-symbols file already is a .def file (1st line
9062         # is EXPORTS), use it as is; otherwise, prepend...
9063         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9064           cp $export_symbols $output_objdir/$soname.def;
9065         else
9066           echo EXPORTS > $output_objdir/$soname.def;
9067           cat $export_symbols >> $output_objdir/$soname.def;
9068         fi~
9069         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9070       else
9071         ld_shlibs=no
9072       fi
9073       ;;
9074
9075     haiku*)
9076       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9077       link_all_deplibs=yes
9078       ;;
9079
9080     interix[3-9]*)
9081       hardcode_direct=no
9082       hardcode_shlibpath_var=no
9083       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9084       export_dynamic_flag_spec='${wl}-E'
9085       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9086       # Instead, shared libraries are loaded at an image base (0x10000000 by
9087       # default) and relocated if they conflict, which is a slow very memory
9088       # consuming and fragmenting process.  To avoid this, we pick a random,
9089       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9090       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9091       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9092       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'
9093       ;;
9094
9095     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9096       tmp_diet=no
9097       if test "$host_os" = linux-dietlibc; then
9098         case $cc_basename in
9099           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9100         esac
9101       fi
9102       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9103          && test "$tmp_diet" = no
9104       then
9105         tmp_addflag=' $pic_flag'
9106         tmp_sharedflag='-shared'
9107         case $cc_basename,$host_cpu in
9108         pgcc*)                          # Portland Group C compiler
9109           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'
9110           tmp_addflag=' $pic_flag'
9111           ;;
9112         pgf77* | pgf90* | pgf95* | pgfortran*)
9113                                         # Portland Group f77 and f90 compilers
9114           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'
9115           tmp_addflag=' $pic_flag -Mnomain' ;;
9116         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9117           tmp_addflag=' -i_dynamic' ;;
9118         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9119           tmp_addflag=' -i_dynamic -nofor_main' ;;
9120         ifc* | ifort*)                  # Intel Fortran compiler
9121           tmp_addflag=' -nofor_main' ;;
9122         lf95*)                          # Lahey Fortran 8.1
9123           whole_archive_flag_spec=
9124           tmp_sharedflag='--shared' ;;
9125         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9126           tmp_sharedflag='-qmkshrobj'
9127           tmp_addflag= ;;
9128         nvcc*)  # Cuda Compiler Driver 2.2
9129           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'
9130           compiler_needs_object=yes
9131           ;;
9132         esac
9133         case `$CC -V 2>&1 | sed 5q` in
9134         *Sun\ C*)                       # Sun C 5.9
9135           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'
9136           compiler_needs_object=yes
9137           tmp_sharedflag='-G' ;;
9138         *Sun\ F*)                       # Sun Fortran 8.3
9139           tmp_sharedflag='-G' ;;
9140         esac
9141         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9142
9143         if test "x$supports_anon_versioning" = xyes; then
9144           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9145             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9146             echo "local: *; };" >> $output_objdir/$libname.ver~
9147             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9148         fi
9149
9150         case $cc_basename in
9151         xlf* | bgf* | bgxlf* | mpixlf*)
9152           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9153           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9154           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9155           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9156           if test "x$supports_anon_versioning" = xyes; then
9157             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9158               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9159               echo "local: *; };" >> $output_objdir/$libname.ver~
9160               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9161           fi
9162           ;;
9163         esac
9164       else
9165         ld_shlibs=no
9166       fi
9167       ;;
9168
9169     netbsd*)
9170       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9171         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9172         wlarc=
9173       else
9174         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9175         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9176       fi
9177       ;;
9178
9179     solaris*)
9180       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9181         ld_shlibs=no
9182         cat <<_LT_EOF 1>&2
9183
9184 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9185 *** create shared libraries on Solaris systems.  Therefore, libtool
9186 *** is disabling shared libraries support.  We urge you to upgrade GNU
9187 *** binutils to release 2.9.1 or newer.  Another option is to modify
9188 *** your PATH or compiler configuration so that the native linker is
9189 *** used, and then restart.
9190
9191 _LT_EOF
9192       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9193         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9194         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9195       else
9196         ld_shlibs=no
9197       fi
9198       ;;
9199
9200     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9201       case `$LD -v 2>&1` in
9202         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9203         ld_shlibs=no
9204         cat <<_LT_EOF 1>&2
9205
9206 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9207 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9208 *** is disabling shared libraries support.  We urge you to upgrade GNU
9209 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9210 *** your PATH or compiler configuration so that the native linker is
9211 *** used, and then restart.
9212
9213 _LT_EOF
9214         ;;
9215         *)
9216           # For security reasons, it is highly recommended that you always
9217           # use absolute paths for naming shared libraries, and exclude the
9218           # DT_RUNPATH tag from executables and libraries.  But doing so
9219           # requires that you compile everything twice, which is a pain.
9220           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9221             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9222             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9224           else
9225             ld_shlibs=no
9226           fi
9227         ;;
9228       esac
9229       ;;
9230
9231     sunos4*)
9232       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9233       wlarc=
9234       hardcode_direct=yes
9235       hardcode_shlibpath_var=no
9236       ;;
9237
9238     *)
9239       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9240         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9241         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9242       else
9243         ld_shlibs=no
9244       fi
9245       ;;
9246     esac
9247
9248     if test "$ld_shlibs" = no; then
9249       runpath_var=
9250       hardcode_libdir_flag_spec=
9251       export_dynamic_flag_spec=
9252       whole_archive_flag_spec=
9253     fi
9254   else
9255     # PORTME fill in a description of your system's linker (not GNU ld)
9256     case $host_os in
9257     aix3*)
9258       allow_undefined_flag=unsupported
9259       always_export_symbols=yes
9260       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'
9261       # Note: this linker hardcodes the directories in LIBPATH if there
9262       # are no directories specified by -L.
9263       hardcode_minus_L=yes
9264       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9265         # Neither direct hardcoding nor static linking is supported with a
9266         # broken collect2.
9267         hardcode_direct=unsupported
9268       fi
9269       ;;
9270
9271     aix[4-9]*)
9272       if test "$host_cpu" = ia64; then
9273         # On IA64, the linker does run time linking by default, so we don't
9274         # have to do anything special.
9275         aix_use_runtimelinking=no
9276         exp_sym_flag='-Bexport'
9277         no_entry_flag=""
9278       else
9279         # If we're using GNU nm, then we don't want the "-C" option.
9280         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9281         # Also, AIX nm treats weak defined symbols like other global
9282         # defined symbols, whereas GNU nm marks them as "W".
9283         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9284           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'
9285         else
9286           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'
9287         fi
9288         aix_use_runtimelinking=no
9289
9290         # Test if we are trying to use run time linking or normal
9291         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9292         # need to do runtime linking.
9293         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9294           for ld_flag in $LDFLAGS; do
9295           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9296             aix_use_runtimelinking=yes
9297             break
9298           fi
9299           done
9300           ;;
9301         esac
9302
9303         exp_sym_flag='-bexport'
9304         no_entry_flag='-bnoentry'
9305       fi
9306
9307       # When large executables or shared objects are built, AIX ld can
9308       # have problems creating the table of contents.  If linking a library
9309       # or program results in "error TOC overflow" add -mminimal-toc to
9310       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9311       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9312
9313       archive_cmds=''
9314       hardcode_direct=yes
9315       hardcode_direct_absolute=yes
9316       hardcode_libdir_separator=':'
9317       link_all_deplibs=yes
9318       file_list_spec='${wl}-f,'
9319
9320       if test "$GCC" = yes; then
9321         case $host_os in aix4.[012]|aix4.[012].*)
9322         # We only want to do this on AIX 4.2 and lower, the check
9323         # below for broken collect2 doesn't work under 4.3+
9324           collect2name=`${CC} -print-prog-name=collect2`
9325           if test -f "$collect2name" &&
9326            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9327           then
9328           # We have reworked collect2
9329           :
9330           else
9331           # We have old collect2
9332           hardcode_direct=unsupported
9333           # It fails to find uninstalled libraries when the uninstalled
9334           # path is not listed in the libpath.  Setting hardcode_minus_L
9335           # to unsupported forces relinking
9336           hardcode_minus_L=yes
9337           hardcode_libdir_flag_spec='-L$libdir'
9338           hardcode_libdir_separator=
9339           fi
9340           ;;
9341         esac
9342         shared_flag='-shared'
9343         if test "$aix_use_runtimelinking" = yes; then
9344           shared_flag="$shared_flag "'${wl}-G'
9345         fi
9346       else
9347         # not using gcc
9348         if test "$host_cpu" = ia64; then
9349         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9350         # chokes on -Wl,-G. The following line is correct:
9351           shared_flag='-G'
9352         else
9353           if test "$aix_use_runtimelinking" = yes; then
9354             shared_flag='${wl}-G'
9355           else
9356             shared_flag='${wl}-bM:SRE'
9357           fi
9358         fi
9359       fi
9360
9361       export_dynamic_flag_spec='${wl}-bexpall'
9362       # It seems that -bexpall does not export symbols beginning with
9363       # underscore (_), so it is better to generate a list of symbols to export.
9364       always_export_symbols=yes
9365       if test "$aix_use_runtimelinking" = yes; then
9366         # Warning - without using the other runtime loading flags (-brtl),
9367         # -berok will link without error, but may produce a broken library.
9368         allow_undefined_flag='-berok'
9369         # Determine the default libpath from the value encoded in an
9370         # empty executable.
9371         if test "${lt_cv_aix_libpath+set}" = set; then
9372   aix_libpath=$lt_cv_aix_libpath
9373 else
9374   if ${lt_cv_aix_libpath_+:} false; then :
9375   $as_echo_n "(cached) " >&6
9376 else
9377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h.  */
9379
9380 int
9381 main ()
9382 {
9383
9384   ;
9385   return 0;
9386 }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389
9390   lt_aix_libpath_sed='
9391       /Import File Strings/,/^$/ {
9392           /^0/ {
9393               s/^0  *\([^ ]*\) *$/\1/
9394               p
9395           }
9396       }'
9397   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9398   # Check for a 64-bit object if we didn't find anything.
9399   if test -z "$lt_cv_aix_libpath_"; then
9400     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9401   fi
9402 fi
9403 rm -f core conftest.err conftest.$ac_objext \
9404     conftest$ac_exeext conftest.$ac_ext
9405   if test -z "$lt_cv_aix_libpath_"; then
9406     lt_cv_aix_libpath_="/usr/lib:/lib"
9407   fi
9408
9409 fi
9410
9411   aix_libpath=$lt_cv_aix_libpath_
9412 fi
9413
9414         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9415         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"
9416       else
9417         if test "$host_cpu" = ia64; then
9418           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9419           allow_undefined_flag="-z nodefs"
9420           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"
9421         else
9422          # Determine the default libpath from the value encoded in an
9423          # empty executable.
9424          if test "${lt_cv_aix_libpath+set}" = set; then
9425   aix_libpath=$lt_cv_aix_libpath
9426 else
9427   if ${lt_cv_aix_libpath_+:} false; then :
9428   $as_echo_n "(cached) " >&6
9429 else
9430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h.  */
9432
9433 int
9434 main ()
9435 {
9436
9437   ;
9438   return 0;
9439 }
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442
9443   lt_aix_libpath_sed='
9444       /Import File Strings/,/^$/ {
9445           /^0/ {
9446               s/^0  *\([^ ]*\) *$/\1/
9447               p
9448           }
9449       }'
9450   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9451   # Check for a 64-bit object if we didn't find anything.
9452   if test -z "$lt_cv_aix_libpath_"; then
9453     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9454   fi
9455 fi
9456 rm -f core conftest.err conftest.$ac_objext \
9457     conftest$ac_exeext conftest.$ac_ext
9458   if test -z "$lt_cv_aix_libpath_"; then
9459     lt_cv_aix_libpath_="/usr/lib:/lib"
9460   fi
9461
9462 fi
9463
9464   aix_libpath=$lt_cv_aix_libpath_
9465 fi
9466
9467          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9468           # Warning - without using the other run time loading flags,
9469           # -berok will link without error, but may produce a broken library.
9470           no_undefined_flag=' ${wl}-bernotok'
9471           allow_undefined_flag=' ${wl}-berok'
9472           if test "$with_gnu_ld" = yes; then
9473             # We only use this code for GNU lds that support --whole-archive.
9474             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9475           else
9476             # Exported symbols can be pulled into shared objects from archives
9477             whole_archive_flag_spec='$convenience'
9478           fi
9479           archive_cmds_need_lc=yes
9480           # This is similar to how AIX traditionally builds its shared libraries.
9481           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'
9482         fi
9483       fi
9484       ;;
9485
9486     amigaos*)
9487       case $host_cpu in
9488       powerpc)
9489             # see comment about AmigaOS4 .so support
9490             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9491             archive_expsym_cmds=''
9492         ;;
9493       m68k)
9494             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)'
9495             hardcode_libdir_flag_spec='-L$libdir'
9496             hardcode_minus_L=yes
9497         ;;
9498       esac
9499       ;;
9500
9501     bsdi[45]*)
9502       export_dynamic_flag_spec=-rdynamic
9503       ;;
9504
9505     cygwin* | mingw* | pw32* | cegcc*)
9506       # When not using gcc, we currently assume that we are using
9507       # Microsoft Visual C++.
9508       # hardcode_libdir_flag_spec is actually meaningless, as there is
9509       # no search path for DLLs.
9510       case $cc_basename in
9511       cl*)
9512         # Native MSVC
9513         hardcode_libdir_flag_spec=' '
9514         allow_undefined_flag=unsupported
9515         always_export_symbols=yes
9516         file_list_spec='@'
9517         # Tell ltmain to make .lib files, not .a files.
9518         libext=lib
9519         # Tell ltmain to make .dll files, not .so files.
9520         shrext_cmds=".dll"
9521         # FIXME: Setting linknames here is a bad hack.
9522         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9523         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9524             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9525           else
9526             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9527           fi~
9528           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9529           linknames='
9530         # The linker will not automatically build a static lib if we build a DLL.
9531         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9532         enable_shared_with_static_runtimes=yes
9533         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9534         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9535         # Don't use ranlib
9536         old_postinstall_cmds='chmod 644 $oldlib'
9537         postlink_cmds='lt_outputfile="@OUTPUT@"~
9538           lt_tool_outputfile="@TOOL_OUTPUT@"~
9539           case $lt_outputfile in
9540             *.exe|*.EXE) ;;
9541             *)
9542               lt_outputfile="$lt_outputfile.exe"
9543               lt_tool_outputfile="$lt_tool_outputfile.exe"
9544               ;;
9545           esac~
9546           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9547             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9548             $RM "$lt_outputfile.manifest";
9549           fi'
9550         ;;
9551       *)
9552         # Assume MSVC wrapper
9553         hardcode_libdir_flag_spec=' '
9554         allow_undefined_flag=unsupported
9555         # Tell ltmain to make .lib files, not .a files.
9556         libext=lib
9557         # Tell ltmain to make .dll files, not .so files.
9558         shrext_cmds=".dll"
9559         # FIXME: Setting linknames here is a bad hack.
9560         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9561         # The linker will automatically build a .lib file if we build a DLL.
9562         old_archive_from_new_cmds='true'
9563         # FIXME: Should let the user specify the lib program.
9564         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9565         enable_shared_with_static_runtimes=yes
9566         ;;
9567       esac
9568       ;;
9569
9570     darwin* | rhapsody*)
9571
9572
9573   archive_cmds_need_lc=no
9574   hardcode_direct=no
9575   hardcode_automatic=yes
9576   hardcode_shlibpath_var=unsupported
9577   if test "$lt_cv_ld_force_load" = "yes"; then
9578     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\"`'
9579
9580   else
9581     whole_archive_flag_spec=''
9582   fi
9583   link_all_deplibs=yes
9584   allow_undefined_flag="$_lt_dar_allow_undefined"
9585   case $cc_basename in
9586      ifort*) _lt_dar_can_shared=yes ;;
9587      *) _lt_dar_can_shared=$GCC ;;
9588   esac
9589   if test "$_lt_dar_can_shared" = "yes"; then
9590     output_verbose_link_cmd=func_echo_all
9591     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9592     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9593     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}"
9594     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}"
9595
9596   else
9597   ld_shlibs=no
9598   fi
9599
9600       ;;
9601
9602     dgux*)
9603       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9604       hardcode_libdir_flag_spec='-L$libdir'
9605       hardcode_shlibpath_var=no
9606       ;;
9607
9608     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9609     # support.  Future versions do this automatically, but an explicit c++rt0.o
9610     # does not break anything, and helps significantly (at the cost of a little
9611     # extra space).
9612     freebsd2.2*)
9613       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9614       hardcode_libdir_flag_spec='-R$libdir'
9615       hardcode_direct=yes
9616       hardcode_shlibpath_var=no
9617       ;;
9618
9619     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9620     freebsd2.*)
9621       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9622       hardcode_direct=yes
9623       hardcode_minus_L=yes
9624       hardcode_shlibpath_var=no
9625       ;;
9626
9627     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9628     freebsd* | dragonfly*)
9629       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9630       hardcode_libdir_flag_spec='-R$libdir'
9631       hardcode_direct=yes
9632       hardcode_shlibpath_var=no
9633       ;;
9634
9635     hpux9*)
9636       if test "$GCC" = yes; then
9637         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'
9638       else
9639         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'
9640       fi
9641       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9642       hardcode_libdir_separator=:
9643       hardcode_direct=yes
9644
9645       # hardcode_minus_L: Not really in the search PATH,
9646       # but as the default location of the library.
9647       hardcode_minus_L=yes
9648       export_dynamic_flag_spec='${wl}-E'
9649       ;;
9650
9651     hpux10*)
9652       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9653         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9654       else
9655         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9656       fi
9657       if test "$with_gnu_ld" = no; then
9658         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9659         hardcode_libdir_separator=:
9660         hardcode_direct=yes
9661         hardcode_direct_absolute=yes
9662         export_dynamic_flag_spec='${wl}-E'
9663         # hardcode_minus_L: Not really in the search PATH,
9664         # but as the default location of the library.
9665         hardcode_minus_L=yes
9666       fi
9667       ;;
9668
9669     hpux11*)
9670       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9671         case $host_cpu in
9672         hppa*64*)
9673           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9674           ;;
9675         ia64*)
9676           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9677           ;;
9678         *)
9679           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9680           ;;
9681         esac
9682       else
9683         case $host_cpu in
9684         hppa*64*)
9685           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9686           ;;
9687         ia64*)
9688           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9689           ;;
9690         *)
9691
9692           # Older versions of the 11.00 compiler do not understand -b yet
9693           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9694           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9695 $as_echo_n "checking if $CC understands -b... " >&6; }
9696 if ${lt_cv_prog_compiler__b+:} false; then :
9697   $as_echo_n "(cached) " >&6
9698 else
9699   lt_cv_prog_compiler__b=no
9700    save_LDFLAGS="$LDFLAGS"
9701    LDFLAGS="$LDFLAGS -b"
9702    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9703    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9704      # The linker can only warn and ignore the option if not recognized
9705      # So say no if there are warnings
9706      if test -s conftest.err; then
9707        # Append any errors to the config.log.
9708        cat conftest.err 1>&5
9709        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9710        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9711        if diff conftest.exp conftest.er2 >/dev/null; then
9712          lt_cv_prog_compiler__b=yes
9713        fi
9714      else
9715        lt_cv_prog_compiler__b=yes
9716      fi
9717    fi
9718    $RM -r conftest*
9719    LDFLAGS="$save_LDFLAGS"
9720
9721 fi
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9723 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9724
9725 if test x"$lt_cv_prog_compiler__b" = xyes; then
9726     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9727 else
9728     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9729 fi
9730
9731           ;;
9732         esac
9733       fi
9734       if test "$with_gnu_ld" = no; then
9735         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9736         hardcode_libdir_separator=:
9737
9738         case $host_cpu in
9739         hppa*64*|ia64*)
9740           hardcode_direct=no
9741           hardcode_shlibpath_var=no
9742           ;;
9743         *)
9744           hardcode_direct=yes
9745           hardcode_direct_absolute=yes
9746           export_dynamic_flag_spec='${wl}-E'
9747
9748           # hardcode_minus_L: Not really in the search PATH,
9749           # but as the default location of the library.
9750           hardcode_minus_L=yes
9751           ;;
9752         esac
9753       fi
9754       ;;
9755
9756     irix5* | irix6* | nonstopux*)
9757       if test "$GCC" = yes; then
9758         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'
9759         # Try to use the -exported_symbol ld option, if it does not
9760         # work, assume that -exports_file does not work either and
9761         # implicitly export all symbols.
9762         # This should be the same for all languages, so no per-tag cache variable.
9763         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9764 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9765 if ${lt_cv_irix_exported_symbol+:} false; then :
9766   $as_echo_n "(cached) " >&6
9767 else
9768   save_LDFLAGS="$LDFLAGS"
9769            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9770            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h.  */
9772 int foo (void) { return 0; }
9773 _ACEOF
9774 if ac_fn_c_try_link "$LINENO"; then :
9775   lt_cv_irix_exported_symbol=yes
9776 else
9777   lt_cv_irix_exported_symbol=no
9778 fi
9779 rm -f core conftest.err conftest.$ac_objext \
9780     conftest$ac_exeext conftest.$ac_ext
9781            LDFLAGS="$save_LDFLAGS"
9782 fi
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9784 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9785         if test "$lt_cv_irix_exported_symbol" = yes; then
9786           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'
9787         fi
9788       else
9789         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'
9790         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'
9791       fi
9792       archive_cmds_need_lc='no'
9793       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9794       hardcode_libdir_separator=:
9795       inherit_rpath=yes
9796       link_all_deplibs=yes
9797       ;;
9798
9799     netbsd*)
9800       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9801         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9802       else
9803         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9804       fi
9805       hardcode_libdir_flag_spec='-R$libdir'
9806       hardcode_direct=yes
9807       hardcode_shlibpath_var=no
9808       ;;
9809
9810     newsos6)
9811       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9812       hardcode_direct=yes
9813       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9814       hardcode_libdir_separator=:
9815       hardcode_shlibpath_var=no
9816       ;;
9817
9818     *nto* | *qnx*)
9819       ;;
9820
9821     openbsd*)
9822       if test -f /usr/libexec/ld.so; then
9823         hardcode_direct=yes
9824         hardcode_shlibpath_var=no
9825         hardcode_direct_absolute=yes
9826         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9827           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9828           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9829           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9830           export_dynamic_flag_spec='${wl}-E'
9831         else
9832           case $host_os in
9833            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9834              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9835              hardcode_libdir_flag_spec='-R$libdir'
9836              ;;
9837            *)
9838              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9839              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9840              ;;
9841           esac
9842         fi
9843       else
9844         ld_shlibs=no
9845       fi
9846       ;;
9847
9848     os2*)
9849       hardcode_libdir_flag_spec='-L$libdir'
9850       hardcode_minus_L=yes
9851       allow_undefined_flag=unsupported
9852       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'
9853       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9854       ;;
9855
9856     osf3*)
9857       if test "$GCC" = yes; then
9858         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9859         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'
9860       else
9861         allow_undefined_flag=' -expect_unresolved \*'
9862         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'
9863       fi
9864       archive_cmds_need_lc='no'
9865       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9866       hardcode_libdir_separator=:
9867       ;;
9868
9869     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9870       if test "$GCC" = yes; then
9871         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9872         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'
9873         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9874       else
9875         allow_undefined_flag=' -expect_unresolved \*'
9876         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'
9877         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~
9878         $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'
9879
9880         # Both c and cxx compiler support -rpath directly
9881         hardcode_libdir_flag_spec='-rpath $libdir'
9882       fi
9883       archive_cmds_need_lc='no'
9884       hardcode_libdir_separator=:
9885       ;;
9886
9887     solaris*)
9888       no_undefined_flag=' -z defs'
9889       if test "$GCC" = yes; then
9890         wlarc='${wl}'
9891         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9892         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9893           $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'
9894       else
9895         case `$CC -V 2>&1` in
9896         *"Compilers 5.0"*)
9897           wlarc=''
9898           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9899           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9900           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9901           ;;
9902         *)
9903           wlarc='${wl}'
9904           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9905           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9906           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9907           ;;
9908         esac
9909       fi
9910       hardcode_libdir_flag_spec='-R$libdir'
9911       hardcode_shlibpath_var=no
9912       case $host_os in
9913       solaris2.[0-5] | solaris2.[0-5].*) ;;
9914       *)
9915         # The compiler driver will combine and reorder linker options,
9916         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9917         # but is careful enough not to reorder.
9918         # Supported since Solaris 2.6 (maybe 2.5.1?)
9919         if test "$GCC" = yes; then
9920           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9921         else
9922           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9923         fi
9924         ;;
9925       esac
9926       link_all_deplibs=yes
9927       ;;
9928
9929     sunos4*)
9930       if test "x$host_vendor" = xsequent; then
9931         # Use $CC to link under sequent, because it throws in some extra .o
9932         # files that make .init and .fini sections work.
9933         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9934       else
9935         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9936       fi
9937       hardcode_libdir_flag_spec='-L$libdir'
9938       hardcode_direct=yes
9939       hardcode_minus_L=yes
9940       hardcode_shlibpath_var=no
9941       ;;
9942
9943     sysv4)
9944       case $host_vendor in
9945         sni)
9946           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9947           hardcode_direct=yes # is this really true???
9948         ;;
9949         siemens)
9950           ## LD is ld it makes a PLAMLIB
9951           ## CC just makes a GrossModule.
9952           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9953           reload_cmds='$CC -r -o $output$reload_objs'
9954           hardcode_direct=no
9955         ;;
9956         motorola)
9957           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9958           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9959         ;;
9960       esac
9961       runpath_var='LD_RUN_PATH'
9962       hardcode_shlibpath_var=no
9963       ;;
9964
9965     sysv4.3*)
9966       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9967       hardcode_shlibpath_var=no
9968       export_dynamic_flag_spec='-Bexport'
9969       ;;
9970
9971     sysv4*MP*)
9972       if test -d /usr/nec; then
9973         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9974         hardcode_shlibpath_var=no
9975         runpath_var=LD_RUN_PATH
9976         hardcode_runpath_var=yes
9977         ld_shlibs=yes
9978       fi
9979       ;;
9980
9981     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9982       no_undefined_flag='${wl}-z,text'
9983       archive_cmds_need_lc=no
9984       hardcode_shlibpath_var=no
9985       runpath_var='LD_RUN_PATH'
9986
9987       if test "$GCC" = yes; then
9988         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9989         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9990       else
9991         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9992         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9993       fi
9994       ;;
9995
9996     sysv5* | sco3.2v5* | sco5v6*)
9997       # Note: We can NOT use -z defs as we might desire, because we do not
9998       # link with -lc, and that would cause any symbols used from libc to
9999       # always be unresolved, which means just about no library would
10000       # ever link correctly.  If we're not using GNU ld we use -z text
10001       # though, which does catch some bad symbols but isn't as heavy-handed
10002       # as -z defs.
10003       no_undefined_flag='${wl}-z,text'
10004       allow_undefined_flag='${wl}-z,nodefs'
10005       archive_cmds_need_lc=no
10006       hardcode_shlibpath_var=no
10007       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10008       hardcode_libdir_separator=':'
10009       link_all_deplibs=yes
10010       export_dynamic_flag_spec='${wl}-Bexport'
10011       runpath_var='LD_RUN_PATH'
10012
10013       if test "$GCC" = yes; then
10014         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10016       else
10017         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10018         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10019       fi
10020       ;;
10021
10022     uts4*)
10023       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024       hardcode_libdir_flag_spec='-L$libdir'
10025       hardcode_shlibpath_var=no
10026       ;;
10027
10028     *)
10029       ld_shlibs=no
10030       ;;
10031     esac
10032
10033     if test x$host_vendor = xsni; then
10034       case $host in
10035       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10036         export_dynamic_flag_spec='${wl}-Blargedynsym'
10037         ;;
10038       esac
10039     fi
10040   fi
10041
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10043 $as_echo "$ld_shlibs" >&6; }
10044 test "$ld_shlibs" = no && can_build_shared=no
10045
10046 with_gnu_ld=$with_gnu_ld
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062 #
10063 # Do we need to explicitly link libc?
10064 #
10065 case "x$archive_cmds_need_lc" in
10066 x|xyes)
10067   # Assume -lc should be added
10068   archive_cmds_need_lc=yes
10069
10070   if test "$enable_shared" = yes && test "$GCC" = yes; then
10071     case $archive_cmds in
10072     *'~'*)
10073       # FIXME: we may have to deal with multi-command sequences.
10074       ;;
10075     '$CC '*)
10076       # Test whether the compiler implicitly links with -lc since on some
10077       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10078       # to ld, don't add -lc before -lgcc.
10079       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10080 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10081 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10082   $as_echo_n "(cached) " >&6
10083 else
10084   $RM conftest*
10085         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10086
10087         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10088   (eval $ac_compile) 2>&5
10089   ac_status=$?
10090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10091   test $ac_status = 0; } 2>conftest.err; then
10092           soname=conftest
10093           lib=conftest
10094           libobjs=conftest.$ac_objext
10095           deplibs=
10096           wl=$lt_prog_compiler_wl
10097           pic_flag=$lt_prog_compiler_pic
10098           compiler_flags=-v
10099           linker_flags=-v
10100           verstring=
10101           output_objdir=.
10102           libname=conftest
10103           lt_save_allow_undefined_flag=$allow_undefined_flag
10104           allow_undefined_flag=
10105           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10106   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10107   ac_status=$?
10108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10109   test $ac_status = 0; }
10110           then
10111             lt_cv_archive_cmds_need_lc=no
10112           else
10113             lt_cv_archive_cmds_need_lc=yes
10114           fi
10115           allow_undefined_flag=$lt_save_allow_undefined_flag
10116         else
10117           cat conftest.err 1>&5
10118         fi
10119         $RM conftest*
10120
10121 fi
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10123 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10124       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10125       ;;
10126     esac
10127   fi
10128   ;;
10129 esac
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10283 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10284
10285 if test "$GCC" = yes; then
10286   case $host_os in
10287     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10288     *) lt_awk_arg="/^libraries:/" ;;
10289   esac
10290   case $host_os in
10291     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10292     *) lt_sed_strip_eq="s,=/,/,g" ;;
10293   esac
10294   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10295   case $lt_search_path_spec in
10296   *\;*)
10297     # if the path contains ";" then we assume it to be the separator
10298     # otherwise default to the standard path separator (i.e. ":") - it is
10299     # assumed that no part of a normal pathname contains ";" but that should
10300     # okay in the real world where ";" in dirpaths is itself problematic.
10301     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10302     ;;
10303   *)
10304     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10305     ;;
10306   esac
10307   # Ok, now we have the path, separated by spaces, we can step through it
10308   # and add multilib dir if necessary.
10309   lt_tmp_lt_search_path_spec=
10310   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10311   for lt_sys_path in $lt_search_path_spec; do
10312     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10313       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10314     else
10315       test -d "$lt_sys_path" && \
10316         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10317     fi
10318   done
10319   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10320 BEGIN {RS=" "; FS="/|\n";} {
10321   lt_foo="";
10322   lt_count=0;
10323   for (lt_i = NF; lt_i > 0; lt_i--) {
10324     if ($lt_i != "" && $lt_i != ".") {
10325       if ($lt_i == "..") {
10326         lt_count++;
10327       } else {
10328         if (lt_count == 0) {
10329           lt_foo="/" $lt_i lt_foo;
10330         } else {
10331           lt_count--;
10332         }
10333       }
10334     }
10335   }
10336   if (lt_foo != "") { lt_freq[lt_foo]++; }
10337   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10338 }'`
10339   # AWK program above erroneously prepends '/' to C:/dos/paths
10340   # for these hosts.
10341   case $host_os in
10342     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10343       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10344   esac
10345   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10346 else
10347   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10348 fi
10349 library_names_spec=
10350 libname_spec='lib$name'
10351 soname_spec=
10352 shrext_cmds=".so"
10353 postinstall_cmds=
10354 postuninstall_cmds=
10355 finish_cmds=
10356 finish_eval=
10357 shlibpath_var=
10358 shlibpath_overrides_runpath=unknown
10359 version_type=none
10360 dynamic_linker="$host_os ld.so"
10361 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10362 need_lib_prefix=unknown
10363 hardcode_into_libs=no
10364
10365 # when you set need_version to no, make sure it does not cause -set_version
10366 # flags to be left without arguments
10367 need_version=unknown
10368
10369 case $host_os in
10370 aix3*)
10371   version_type=linux # correct to gnu/linux during the next big refactor
10372   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10373   shlibpath_var=LIBPATH
10374
10375   # AIX 3 has no versioning support, so we append a major version to the name.
10376   soname_spec='${libname}${release}${shared_ext}$major'
10377   ;;
10378
10379 aix[4-9]*)
10380   version_type=linux # correct to gnu/linux during the next big refactor
10381   need_lib_prefix=no
10382   need_version=no
10383   hardcode_into_libs=yes
10384   if test "$host_cpu" = ia64; then
10385     # AIX 5 supports IA64
10386     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10387     shlibpath_var=LD_LIBRARY_PATH
10388   else
10389     # With GCC up to 2.95.x, collect2 would create an import file
10390     # for dependence libraries.  The import file would start with
10391     # the line `#! .'.  This would cause the generated library to
10392     # depend on `.', always an invalid library.  This was fixed in
10393     # development snapshots of GCC prior to 3.0.
10394     case $host_os in
10395       aix4 | aix4.[01] | aix4.[01].*)
10396       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10397            echo ' yes '
10398            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10399         :
10400       else
10401         can_build_shared=no
10402       fi
10403       ;;
10404     esac
10405     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10406     # soname into executable. Probably we can add versioning support to
10407     # collect2, so additional links can be useful in future.
10408     if test "$aix_use_runtimelinking" = yes; then
10409       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10410       # instead of lib<name>.a to let people know that these are not
10411       # typical AIX shared libraries.
10412       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10413     else
10414       # We preserve .a as extension for shared libraries through AIX4.2
10415       # and later when we are not doing run time linking.
10416       library_names_spec='${libname}${release}.a $libname.a'
10417       soname_spec='${libname}${release}${shared_ext}$major'
10418     fi
10419     shlibpath_var=LIBPATH
10420   fi
10421   ;;
10422
10423 amigaos*)
10424   case $host_cpu in
10425   powerpc)
10426     # Since July 2007 AmigaOS4 officially supports .so libraries.
10427     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10428     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10429     ;;
10430   m68k)
10431     library_names_spec='$libname.ixlibrary $libname.a'
10432     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10433     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'
10434     ;;
10435   esac
10436   ;;
10437
10438 beos*)
10439   library_names_spec='${libname}${shared_ext}'
10440   dynamic_linker="$host_os ld.so"
10441   shlibpath_var=LIBRARY_PATH
10442   ;;
10443
10444 bsdi[45]*)
10445   version_type=linux # correct to gnu/linux during the next big refactor
10446   need_version=no
10447   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10448   soname_spec='${libname}${release}${shared_ext}$major'
10449   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10450   shlibpath_var=LD_LIBRARY_PATH
10451   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10452   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10453   # the default ld.so.conf also contains /usr/contrib/lib and
10454   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10455   # libtool to hard-code these into programs
10456   ;;
10457
10458 cygwin* | mingw* | pw32* | cegcc*)
10459   version_type=windows
10460   shrext_cmds=".dll"
10461   need_version=no
10462   need_lib_prefix=no
10463
10464   case $GCC,$cc_basename in
10465   yes,*)
10466     # gcc
10467     library_names_spec='$libname.dll.a'
10468     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10469     postinstall_cmds='base_file=`basename \${file}`~
10470       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10471       dldir=$destdir/`dirname \$dlpath`~
10472       test -d \$dldir || mkdir -p \$dldir~
10473       $install_prog $dir/$dlname \$dldir/$dlname~
10474       chmod a+x \$dldir/$dlname~
10475       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10476         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10477       fi'
10478     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10479       dlpath=$dir/\$dldll~
10480        $RM \$dlpath'
10481     shlibpath_overrides_runpath=yes
10482
10483     case $host_os in
10484     cygwin*)
10485       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10486       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10487
10488       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10489       ;;
10490     mingw* | cegcc*)
10491       # MinGW DLLs use traditional 'lib' prefix
10492       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10493       ;;
10494     pw32*)
10495       # pw32 DLLs use 'pw' prefix rather than 'lib'
10496       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10497       ;;
10498     esac
10499     dynamic_linker='Win32 ld.exe'
10500     ;;
10501
10502   *,cl*)
10503     # Native MSVC
10504     libname_spec='$name'
10505     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10506     library_names_spec='${libname}.dll.lib'
10507
10508     case $build_os in
10509     mingw*)
10510       sys_lib_search_path_spec=
10511       lt_save_ifs=$IFS
10512       IFS=';'
10513       for lt_path in $LIB
10514       do
10515         IFS=$lt_save_ifs
10516         # Let DOS variable expansion print the short 8.3 style file name.
10517         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10518         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10519       done
10520       IFS=$lt_save_ifs
10521       # Convert to MSYS style.
10522       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10523       ;;
10524     cygwin*)
10525       # Convert to unix form, then to dos form, then back to unix form
10526       # but this time dos style (no spaces!) so that the unix form looks
10527       # like /cygdrive/c/PROGRA~1:/cygdr...
10528       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10529       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10530       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10531       ;;
10532     *)
10533       sys_lib_search_path_spec="$LIB"
10534       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10535         # It is most probably a Windows format PATH.
10536         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10537       else
10538         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10539       fi
10540       # FIXME: find the short name or the path components, as spaces are
10541       # common. (e.g. "Program Files" -> "PROGRA~1")
10542       ;;
10543     esac
10544
10545     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10546     postinstall_cmds='base_file=`basename \${file}`~
10547       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10548       dldir=$destdir/`dirname \$dlpath`~
10549       test -d \$dldir || mkdir -p \$dldir~
10550       $install_prog $dir/$dlname \$dldir/$dlname'
10551     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10552       dlpath=$dir/\$dldll~
10553        $RM \$dlpath'
10554     shlibpath_overrides_runpath=yes
10555     dynamic_linker='Win32 link.exe'
10556     ;;
10557
10558   *)
10559     # Assume MSVC wrapper
10560     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10561     dynamic_linker='Win32 ld.exe'
10562     ;;
10563   esac
10564   # FIXME: first we should search . and the directory the executable is in
10565   shlibpath_var=PATH
10566   ;;
10567
10568 darwin* | rhapsody*)
10569   dynamic_linker="$host_os dyld"
10570   version_type=darwin
10571   need_lib_prefix=no
10572   need_version=no
10573   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10574   soname_spec='${libname}${release}${major}$shared_ext'
10575   shlibpath_overrides_runpath=yes
10576   shlibpath_var=DYLD_LIBRARY_PATH
10577   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10578
10579   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10580   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10581   ;;
10582
10583 dgux*)
10584   version_type=linux # correct to gnu/linux during the next big refactor
10585   need_lib_prefix=no
10586   need_version=no
10587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10588   soname_spec='${libname}${release}${shared_ext}$major'
10589   shlibpath_var=LD_LIBRARY_PATH
10590   ;;
10591
10592 freebsd* | dragonfly*)
10593   # DragonFly does not have aout.  When/if they implement a new
10594   # versioning mechanism, adjust this.
10595   if test -x /usr/bin/objformat; then
10596     objformat=`/usr/bin/objformat`
10597   else
10598     case $host_os in
10599     freebsd[23].*) objformat=aout ;;
10600     *) objformat=elf ;;
10601     esac
10602   fi
10603   version_type=freebsd-$objformat
10604   case $version_type in
10605     freebsd-elf*)
10606       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10607       need_version=no
10608       need_lib_prefix=no
10609       ;;
10610     freebsd-*)
10611       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10612       need_version=yes
10613       ;;
10614   esac
10615   shlibpath_var=LD_LIBRARY_PATH
10616   case $host_os in
10617   freebsd2.*)
10618     shlibpath_overrides_runpath=yes
10619     ;;
10620   freebsd3.[01]* | freebsdelf3.[01]*)
10621     shlibpath_overrides_runpath=yes
10622     hardcode_into_libs=yes
10623     ;;
10624   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10625   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10626     shlibpath_overrides_runpath=no
10627     hardcode_into_libs=yes
10628     ;;
10629   *) # from 4.6 on, and DragonFly
10630     shlibpath_overrides_runpath=yes
10631     hardcode_into_libs=yes
10632     ;;
10633   esac
10634   ;;
10635
10636 gnu*)
10637   version_type=linux # correct to gnu/linux during the next big refactor
10638   need_lib_prefix=no
10639   need_version=no
10640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10641   soname_spec='${libname}${release}${shared_ext}$major'
10642   shlibpath_var=LD_LIBRARY_PATH
10643   shlibpath_overrides_runpath=no
10644   hardcode_into_libs=yes
10645   ;;
10646
10647 haiku*)
10648   version_type=linux # correct to gnu/linux during the next big refactor
10649   need_lib_prefix=no
10650   need_version=no
10651   dynamic_linker="$host_os runtime_loader"
10652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10653   soname_spec='${libname}${release}${shared_ext}$major'
10654   shlibpath_var=LIBRARY_PATH
10655   shlibpath_overrides_runpath=yes
10656   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10657   hardcode_into_libs=yes
10658   ;;
10659
10660 hpux9* | hpux10* | hpux11*)
10661   # Give a soname corresponding to the major version so that dld.sl refuses to
10662   # link against other versions.
10663   version_type=sunos
10664   need_lib_prefix=no
10665   need_version=no
10666   case $host_cpu in
10667   ia64*)
10668     shrext_cmds='.so'
10669     hardcode_into_libs=yes
10670     dynamic_linker="$host_os dld.so"
10671     shlibpath_var=LD_LIBRARY_PATH
10672     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10673     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674     soname_spec='${libname}${release}${shared_ext}$major'
10675     if test "X$HPUX_IA64_MODE" = X32; then
10676       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10677     else
10678       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10679     fi
10680     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10681     ;;
10682   hppa*64*)
10683     shrext_cmds='.sl'
10684     hardcode_into_libs=yes
10685     dynamic_linker="$host_os dld.sl"
10686     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10687     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10688     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689     soname_spec='${libname}${release}${shared_ext}$major'
10690     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10691     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10692     ;;
10693   *)
10694     shrext_cmds='.sl'
10695     dynamic_linker="$host_os dld.sl"
10696     shlibpath_var=SHLIB_PATH
10697     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10698     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699     soname_spec='${libname}${release}${shared_ext}$major'
10700     ;;
10701   esac
10702   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10703   postinstall_cmds='chmod 555 $lib'
10704   # or fails outright, so override atomically:
10705   install_override_mode=555
10706   ;;
10707
10708 interix[3-9]*)
10709   version_type=linux # correct to gnu/linux during the next big refactor
10710   need_lib_prefix=no
10711   need_version=no
10712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10713   soname_spec='${libname}${release}${shared_ext}$major'
10714   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10715   shlibpath_var=LD_LIBRARY_PATH
10716   shlibpath_overrides_runpath=no
10717   hardcode_into_libs=yes
10718   ;;
10719
10720 irix5* | irix6* | nonstopux*)
10721   case $host_os in
10722     nonstopux*) version_type=nonstopux ;;
10723     *)
10724         if test "$lt_cv_prog_gnu_ld" = yes; then
10725                 version_type=linux # correct to gnu/linux during the next big refactor
10726         else
10727                 version_type=irix
10728         fi ;;
10729   esac
10730   need_lib_prefix=no
10731   need_version=no
10732   soname_spec='${libname}${release}${shared_ext}$major'
10733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10734   case $host_os in
10735   irix5* | nonstopux*)
10736     libsuff= shlibsuff=
10737     ;;
10738   *)
10739     case $LD in # libtool.m4 will add one of these switches to LD
10740     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10741       libsuff= shlibsuff= libmagic=32-bit;;
10742     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10743       libsuff=32 shlibsuff=N32 libmagic=N32;;
10744     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10745       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10746     *) libsuff= shlibsuff= libmagic=never-match;;
10747     esac
10748     ;;
10749   esac
10750   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10751   shlibpath_overrides_runpath=no
10752   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10753   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10754   hardcode_into_libs=yes
10755   ;;
10756
10757 # No shared lib support for Linux oldld, aout, or coff.
10758 linux*oldld* | linux*aout* | linux*coff*)
10759   dynamic_linker=no
10760   ;;
10761
10762 # This must be glibc/ELF.
10763 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10764   version_type=linux # correct to gnu/linux during the next big refactor
10765   need_lib_prefix=no
10766   need_version=no
10767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10768   soname_spec='${libname}${release}${shared_ext}$major'
10769   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10770   shlibpath_var=LD_LIBRARY_PATH
10771   shlibpath_overrides_runpath=no
10772
10773   # Some binutils ld are patched to set DT_RUNPATH
10774   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10775   $as_echo_n "(cached) " >&6
10776 else
10777   lt_cv_shlibpath_overrides_runpath=no
10778     save_LDFLAGS=$LDFLAGS
10779     save_libdir=$libdir
10780     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10781          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10782     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h.  */
10784
10785 int
10786 main ()
10787 {
10788
10789   ;
10790   return 0;
10791 }
10792 _ACEOF
10793 if ac_fn_c_try_link "$LINENO"; then :
10794   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10795   lt_cv_shlibpath_overrides_runpath=yes
10796 fi
10797 fi
10798 rm -f core conftest.err conftest.$ac_objext \
10799     conftest$ac_exeext conftest.$ac_ext
10800     LDFLAGS=$save_LDFLAGS
10801     libdir=$save_libdir
10802
10803 fi
10804
10805   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10806
10807   # This implies no fast_install, which is unacceptable.
10808   # Some rework will be needed to allow for fast_install
10809   # before this can be enabled.
10810   hardcode_into_libs=yes
10811
10812   # Add ABI-specific directories to the system library path.
10813   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10814
10815   # Append ld.so.conf contents to the search path
10816   if test -f /etc/ld.so.conf; then
10817     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' ' '`
10818     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10819
10820   fi
10821
10822   # We used to test for /lib/ld.so.1 and disable shared libraries on
10823   # powerpc, because MkLinux only supported shared libraries with the
10824   # GNU dynamic linker.  Since this was broken with cross compilers,
10825   # most powerpc-linux boxes support dynamic linking these days and
10826   # people can always --disable-shared, the test was removed, and we
10827   # assume the GNU/Linux dynamic linker is in use.
10828   dynamic_linker='GNU/Linux ld.so'
10829   ;;
10830
10831 netbsd*)
10832   version_type=sunos
10833   need_lib_prefix=no
10834   need_version=no
10835   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10836     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10837     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10838     dynamic_linker='NetBSD (a.out) ld.so'
10839   else
10840     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10841     soname_spec='${libname}${release}${shared_ext}$major'
10842     dynamic_linker='NetBSD ld.elf_so'
10843   fi
10844   shlibpath_var=LD_LIBRARY_PATH
10845   shlibpath_overrides_runpath=yes
10846   hardcode_into_libs=yes
10847   ;;
10848
10849 newsos6)
10850   version_type=linux # correct to gnu/linux during the next big refactor
10851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852   shlibpath_var=LD_LIBRARY_PATH
10853   shlibpath_overrides_runpath=yes
10854   ;;
10855
10856 *nto* | *qnx*)
10857   version_type=qnx
10858   need_lib_prefix=no
10859   need_version=no
10860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861   soname_spec='${libname}${release}${shared_ext}$major'
10862   shlibpath_var=LD_LIBRARY_PATH
10863   shlibpath_overrides_runpath=no
10864   hardcode_into_libs=yes
10865   dynamic_linker='ldqnx.so'
10866   ;;
10867
10868 openbsd*)
10869   version_type=sunos
10870   sys_lib_dlsearch_path_spec="/usr/lib"
10871   need_lib_prefix=no
10872   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10873   case $host_os in
10874     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10875     *)                          need_version=no  ;;
10876   esac
10877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10878   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10879   shlibpath_var=LD_LIBRARY_PATH
10880   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10881     case $host_os in
10882       openbsd2.[89] | openbsd2.[89].*)
10883         shlibpath_overrides_runpath=no
10884         ;;
10885       *)
10886         shlibpath_overrides_runpath=yes
10887         ;;
10888       esac
10889   else
10890     shlibpath_overrides_runpath=yes
10891   fi
10892   ;;
10893
10894 os2*)
10895   libname_spec='$name'
10896   shrext_cmds=".dll"
10897   need_lib_prefix=no
10898   library_names_spec='$libname${shared_ext} $libname.a'
10899   dynamic_linker='OS/2 ld.exe'
10900   shlibpath_var=LIBPATH
10901   ;;
10902
10903 osf3* | osf4* | osf5*)
10904   version_type=osf
10905   need_lib_prefix=no
10906   need_version=no
10907   soname_spec='${libname}${release}${shared_ext}$major'
10908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909   shlibpath_var=LD_LIBRARY_PATH
10910   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10911   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10912   ;;
10913
10914 rdos*)
10915   dynamic_linker=no
10916   ;;
10917
10918 solaris*)
10919   version_type=linux # correct to gnu/linux during the next big refactor
10920   need_lib_prefix=no
10921   need_version=no
10922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923   soname_spec='${libname}${release}${shared_ext}$major'
10924   shlibpath_var=LD_LIBRARY_PATH
10925   shlibpath_overrides_runpath=yes
10926   hardcode_into_libs=yes
10927   # ldd complains unless libraries are executable
10928   postinstall_cmds='chmod +x $lib'
10929   ;;
10930
10931 sunos4*)
10932   version_type=sunos
10933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10934   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10935   shlibpath_var=LD_LIBRARY_PATH
10936   shlibpath_overrides_runpath=yes
10937   if test "$with_gnu_ld" = yes; then
10938     need_lib_prefix=no
10939   fi
10940   need_version=yes
10941   ;;
10942
10943 sysv4 | sysv4.3*)
10944   version_type=linux # correct to gnu/linux during the next big refactor
10945   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946   soname_spec='${libname}${release}${shared_ext}$major'
10947   shlibpath_var=LD_LIBRARY_PATH
10948   case $host_vendor in
10949     sni)
10950       shlibpath_overrides_runpath=no
10951       need_lib_prefix=no
10952       runpath_var=LD_RUN_PATH
10953       ;;
10954     siemens)
10955       need_lib_prefix=no
10956       ;;
10957     motorola)
10958       need_lib_prefix=no
10959       need_version=no
10960       shlibpath_overrides_runpath=no
10961       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10962       ;;
10963   esac
10964   ;;
10965
10966 sysv4*MP*)
10967   if test -d /usr/nec ;then
10968     version_type=linux # correct to gnu/linux during the next big refactor
10969     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10970     soname_spec='$libname${shared_ext}.$major'
10971     shlibpath_var=LD_LIBRARY_PATH
10972   fi
10973   ;;
10974
10975 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10976   version_type=freebsd-elf
10977   need_lib_prefix=no
10978   need_version=no
10979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10980   soname_spec='${libname}${release}${shared_ext}$major'
10981   shlibpath_var=LD_LIBRARY_PATH
10982   shlibpath_overrides_runpath=yes
10983   hardcode_into_libs=yes
10984   if test "$with_gnu_ld" = yes; then
10985     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10986   else
10987     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10988     case $host_os in
10989       sco3.2v5*)
10990         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10991         ;;
10992     esac
10993   fi
10994   sys_lib_dlsearch_path_spec='/usr/lib'
10995   ;;
10996
10997 tpf*)
10998   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10999   version_type=linux # correct to gnu/linux during the next big refactor
11000   need_lib_prefix=no
11001   need_version=no
11002   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003   shlibpath_var=LD_LIBRARY_PATH
11004   shlibpath_overrides_runpath=no
11005   hardcode_into_libs=yes
11006   ;;
11007
11008 uts4*)
11009   version_type=linux # correct to gnu/linux during the next big refactor
11010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11011   soname_spec='${libname}${release}${shared_ext}$major'
11012   shlibpath_var=LD_LIBRARY_PATH
11013   ;;
11014
11015 *)
11016   dynamic_linker=no
11017   ;;
11018 esac
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11020 $as_echo "$dynamic_linker" >&6; }
11021 test "$dynamic_linker" = no && can_build_shared=no
11022
11023 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11024 if test "$GCC" = yes; then
11025   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11026 fi
11027
11028 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11029   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11030 fi
11031 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11032   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11033 fi
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11127 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11128 hardcode_action=
11129 if test -n "$hardcode_libdir_flag_spec" ||
11130    test -n "$runpath_var" ||
11131    test "X$hardcode_automatic" = "Xyes" ; then
11132
11133   # We can hardcode non-existent directories.
11134   if test "$hardcode_direct" != no &&
11135      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11136      # have to relink, otherwise we might link with an installed library
11137      # when we should be linking with a yet-to-be-installed one
11138      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11139      test "$hardcode_minus_L" != no; then
11140     # Linking always hardcodes the temporary library directory.
11141     hardcode_action=relink
11142   else
11143     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11144     hardcode_action=immediate
11145   fi
11146 else
11147   # We cannot hardcode anything, or else we can only hardcode existing
11148   # directories.
11149   hardcode_action=unsupported
11150 fi
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11152 $as_echo "$hardcode_action" >&6; }
11153
11154 if test "$hardcode_action" = relink ||
11155    test "$inherit_rpath" = yes; then
11156   # Fast installation is not supported
11157   enable_fast_install=no
11158 elif test "$shlibpath_overrides_runpath" = yes ||
11159      test "$enable_shared" = no; then
11160   # Fast installation is not necessary
11161   enable_fast_install=needless
11162 fi
11163
11164
11165
11166
11167
11168
11169   if test "x$enable_dlopen" != xyes; then
11170   enable_dlopen=unknown
11171   enable_dlopen_self=unknown
11172   enable_dlopen_self_static=unknown
11173 else
11174   lt_cv_dlopen=no
11175   lt_cv_dlopen_libs=
11176
11177   case $host_os in
11178   beos*)
11179     lt_cv_dlopen="load_add_on"
11180     lt_cv_dlopen_libs=
11181     lt_cv_dlopen_self=yes
11182     ;;
11183
11184   mingw* | pw32* | cegcc*)
11185     lt_cv_dlopen="LoadLibrary"
11186     lt_cv_dlopen_libs=
11187     ;;
11188
11189   cygwin*)
11190     lt_cv_dlopen="dlopen"
11191     lt_cv_dlopen_libs=
11192     ;;
11193
11194   darwin*)
11195   # if libdl is installed we need to link against it
11196     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11197 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11198 if ${ac_cv_lib_dl_dlopen+:} false; then :
11199   $as_echo_n "(cached) " >&6
11200 else
11201   ac_check_lib_save_LIBS=$LIBS
11202 LIBS="-ldl  $LIBS"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h.  */
11205
11206 /* Override any GCC internal prototype to avoid an error.
11207    Use char because int might match the return type of a GCC
11208    builtin and then its argument prototype would still apply.  */
11209 #ifdef __cplusplus
11210 extern "C"
11211 #endif
11212 char dlopen ();
11213 int
11214 main ()
11215 {
11216 return dlopen ();
11217   ;
11218   return 0;
11219 }
11220 _ACEOF
11221 if ac_fn_c_try_link "$LINENO"; then :
11222   ac_cv_lib_dl_dlopen=yes
11223 else
11224   ac_cv_lib_dl_dlopen=no
11225 fi
11226 rm -f core conftest.err conftest.$ac_objext \
11227     conftest$ac_exeext conftest.$ac_ext
11228 LIBS=$ac_check_lib_save_LIBS
11229 fi
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11231 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11232 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11233   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11234 else
11235
11236     lt_cv_dlopen="dyld"
11237     lt_cv_dlopen_libs=
11238     lt_cv_dlopen_self=yes
11239
11240 fi
11241
11242     ;;
11243
11244   *)
11245     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11246 if test "x$ac_cv_func_shl_load" = xyes; then :
11247   lt_cv_dlopen="shl_load"
11248 else
11249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11250 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11251 if ${ac_cv_lib_dld_shl_load+:} false; then :
11252   $as_echo_n "(cached) " >&6
11253 else
11254   ac_check_lib_save_LIBS=$LIBS
11255 LIBS="-ldld  $LIBS"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h.  */
11258
11259 /* Override any GCC internal prototype to avoid an error.
11260    Use char because int might match the return type of a GCC
11261    builtin and then its argument prototype would still apply.  */
11262 #ifdef __cplusplus
11263 extern "C"
11264 #endif
11265 char shl_load ();
11266 int
11267 main ()
11268 {
11269 return shl_load ();
11270   ;
11271   return 0;
11272 }
11273 _ACEOF
11274 if ac_fn_c_try_link "$LINENO"; then :
11275   ac_cv_lib_dld_shl_load=yes
11276 else
11277   ac_cv_lib_dld_shl_load=no
11278 fi
11279 rm -f core conftest.err conftest.$ac_objext \
11280     conftest$ac_exeext conftest.$ac_ext
11281 LIBS=$ac_check_lib_save_LIBS
11282 fi
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11284 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11285 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11286   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11287 else
11288   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11289 if test "x$ac_cv_func_dlopen" = xyes; then :
11290   lt_cv_dlopen="dlopen"
11291 else
11292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11293 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11294 if ${ac_cv_lib_dl_dlopen+:} false; then :
11295   $as_echo_n "(cached) " >&6
11296 else
11297   ac_check_lib_save_LIBS=$LIBS
11298 LIBS="-ldl  $LIBS"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h.  */
11301
11302 /* Override any GCC internal prototype to avoid an error.
11303    Use char because int might match the return type of a GCC
11304    builtin and then its argument prototype would still apply.  */
11305 #ifdef __cplusplus
11306 extern "C"
11307 #endif
11308 char dlopen ();
11309 int
11310 main ()
11311 {
11312 return dlopen ();
11313   ;
11314   return 0;
11315 }
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"; then :
11318   ac_cv_lib_dl_dlopen=yes
11319 else
11320   ac_cv_lib_dl_dlopen=no
11321 fi
11322 rm -f core conftest.err conftest.$ac_objext \
11323     conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_lib_save_LIBS
11325 fi
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11327 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11328 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11329   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11330 else
11331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11332 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11333 if ${ac_cv_lib_svld_dlopen+:} false; then :
11334   $as_echo_n "(cached) " >&6
11335 else
11336   ac_check_lib_save_LIBS=$LIBS
11337 LIBS="-lsvld  $LIBS"
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h.  */
11340
11341 /* Override any GCC internal prototype to avoid an error.
11342    Use char because int might match the return type of a GCC
11343    builtin and then its argument prototype would still apply.  */
11344 #ifdef __cplusplus
11345 extern "C"
11346 #endif
11347 char dlopen ();
11348 int
11349 main ()
11350 {
11351 return dlopen ();
11352   ;
11353   return 0;
11354 }
11355 _ACEOF
11356 if ac_fn_c_try_link "$LINENO"; then :
11357   ac_cv_lib_svld_dlopen=yes
11358 else
11359   ac_cv_lib_svld_dlopen=no
11360 fi
11361 rm -f core conftest.err conftest.$ac_objext \
11362     conftest$ac_exeext conftest.$ac_ext
11363 LIBS=$ac_check_lib_save_LIBS
11364 fi
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11366 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11367 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11368   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11369 else
11370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11371 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11372 if ${ac_cv_lib_dld_dld_link+:} false; then :
11373   $as_echo_n "(cached) " >&6
11374 else
11375   ac_check_lib_save_LIBS=$LIBS
11376 LIBS="-ldld  $LIBS"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h.  */
11379
11380 /* Override any GCC internal prototype to avoid an error.
11381    Use char because int might match the return type of a GCC
11382    builtin and then its argument prototype would still apply.  */
11383 #ifdef __cplusplus
11384 extern "C"
11385 #endif
11386 char dld_link ();
11387 int
11388 main ()
11389 {
11390 return dld_link ();
11391   ;
11392   return 0;
11393 }
11394 _ACEOF
11395 if ac_fn_c_try_link "$LINENO"; then :
11396   ac_cv_lib_dld_dld_link=yes
11397 else
11398   ac_cv_lib_dld_dld_link=no
11399 fi
11400 rm -f core conftest.err conftest.$ac_objext \
11401     conftest$ac_exeext conftest.$ac_ext
11402 LIBS=$ac_check_lib_save_LIBS
11403 fi
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11405 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11406 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11407   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11408 fi
11409
11410
11411 fi
11412
11413
11414 fi
11415
11416
11417 fi
11418
11419
11420 fi
11421
11422
11423 fi
11424
11425     ;;
11426   esac
11427
11428   if test "x$lt_cv_dlopen" != xno; then
11429     enable_dlopen=yes
11430   else
11431     enable_dlopen=no
11432   fi
11433
11434   case $lt_cv_dlopen in
11435   dlopen)
11436     save_CPPFLAGS="$CPPFLAGS"
11437     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11438
11439     save_LDFLAGS="$LDFLAGS"
11440     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11441
11442     save_LIBS="$LIBS"
11443     LIBS="$lt_cv_dlopen_libs $LIBS"
11444
11445     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11446 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11447 if ${lt_cv_dlopen_self+:} false; then :
11448   $as_echo_n "(cached) " >&6
11449 else
11450           if test "$cross_compiling" = yes; then :
11451   lt_cv_dlopen_self=cross
11452 else
11453   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11454   lt_status=$lt_dlunknown
11455   cat > conftest.$ac_ext <<_LT_EOF
11456 #line $LINENO "configure"
11457 #include "confdefs.h"
11458
11459 #if HAVE_DLFCN_H
11460 #include <dlfcn.h>
11461 #endif
11462
11463 #include <stdio.h>
11464
11465 #ifdef RTLD_GLOBAL
11466 #  define LT_DLGLOBAL           RTLD_GLOBAL
11467 #else
11468 #  ifdef DL_GLOBAL
11469 #    define LT_DLGLOBAL         DL_GLOBAL
11470 #  else
11471 #    define LT_DLGLOBAL         0
11472 #  endif
11473 #endif
11474
11475 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11476    find out it does not work in some platform. */
11477 #ifndef LT_DLLAZY_OR_NOW
11478 #  ifdef RTLD_LAZY
11479 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11480 #  else
11481 #    ifdef DL_LAZY
11482 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11483 #    else
11484 #      ifdef RTLD_NOW
11485 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11486 #      else
11487 #        ifdef DL_NOW
11488 #          define LT_DLLAZY_OR_NOW      DL_NOW
11489 #        else
11490 #          define LT_DLLAZY_OR_NOW      0
11491 #        endif
11492 #      endif
11493 #    endif
11494 #  endif
11495 #endif
11496
11497 /* When -fvisbility=hidden is used, assume the code has been annotated
11498    correspondingly for the symbols needed.  */
11499 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11500 int fnord () __attribute__((visibility("default")));
11501 #endif
11502
11503 int fnord () { return 42; }
11504 int main ()
11505 {
11506   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11507   int status = $lt_dlunknown;
11508
11509   if (self)
11510     {
11511       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11512       else
11513         {
11514           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11515           else puts (dlerror ());
11516         }
11517       /* dlclose (self); */
11518     }
11519   else
11520     puts (dlerror ());
11521
11522   return status;
11523 }
11524 _LT_EOF
11525   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11526   (eval $ac_link) 2>&5
11527   ac_status=$?
11528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11529   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11530     (./conftest; exit; ) >&5 2>/dev/null
11531     lt_status=$?
11532     case x$lt_status in
11533       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11534       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11535       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11536     esac
11537   else :
11538     # compilation failed
11539     lt_cv_dlopen_self=no
11540   fi
11541 fi
11542 rm -fr conftest*
11543
11544
11545 fi
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11547 $as_echo "$lt_cv_dlopen_self" >&6; }
11548
11549     if test "x$lt_cv_dlopen_self" = xyes; then
11550       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11551       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11552 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11553 if ${lt_cv_dlopen_self_static+:} false; then :
11554   $as_echo_n "(cached) " >&6
11555 else
11556           if test "$cross_compiling" = yes; then :
11557   lt_cv_dlopen_self_static=cross
11558 else
11559   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11560   lt_status=$lt_dlunknown
11561   cat > conftest.$ac_ext <<_LT_EOF
11562 #line $LINENO "configure"
11563 #include "confdefs.h"
11564
11565 #if HAVE_DLFCN_H
11566 #include <dlfcn.h>
11567 #endif
11568
11569 #include <stdio.h>
11570
11571 #ifdef RTLD_GLOBAL
11572 #  define LT_DLGLOBAL           RTLD_GLOBAL
11573 #else
11574 #  ifdef DL_GLOBAL
11575 #    define LT_DLGLOBAL         DL_GLOBAL
11576 #  else
11577 #    define LT_DLGLOBAL         0
11578 #  endif
11579 #endif
11580
11581 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11582    find out it does not work in some platform. */
11583 #ifndef LT_DLLAZY_OR_NOW
11584 #  ifdef RTLD_LAZY
11585 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11586 #  else
11587 #    ifdef DL_LAZY
11588 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11589 #    else
11590 #      ifdef RTLD_NOW
11591 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11592 #      else
11593 #        ifdef DL_NOW
11594 #          define LT_DLLAZY_OR_NOW      DL_NOW
11595 #        else
11596 #          define LT_DLLAZY_OR_NOW      0
11597 #        endif
11598 #      endif
11599 #    endif
11600 #  endif
11601 #endif
11602
11603 /* When -fvisbility=hidden is used, assume the code has been annotated
11604    correspondingly for the symbols needed.  */
11605 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11606 int fnord () __attribute__((visibility("default")));
11607 #endif
11608
11609 int fnord () { return 42; }
11610 int main ()
11611 {
11612   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11613   int status = $lt_dlunknown;
11614
11615   if (self)
11616     {
11617       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11618       else
11619         {
11620           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11621           else puts (dlerror ());
11622         }
11623       /* dlclose (self); */
11624     }
11625   else
11626     puts (dlerror ());
11627
11628   return status;
11629 }
11630 _LT_EOF
11631   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11632   (eval $ac_link) 2>&5
11633   ac_status=$?
11634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11635   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11636     (./conftest; exit; ) >&5 2>/dev/null
11637     lt_status=$?
11638     case x$lt_status in
11639       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11640       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11641       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11642     esac
11643   else :
11644     # compilation failed
11645     lt_cv_dlopen_self_static=no
11646   fi
11647 fi
11648 rm -fr conftest*
11649
11650
11651 fi
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11653 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11654     fi
11655
11656     CPPFLAGS="$save_CPPFLAGS"
11657     LDFLAGS="$save_LDFLAGS"
11658     LIBS="$save_LIBS"
11659     ;;
11660   esac
11661
11662   case $lt_cv_dlopen_self in
11663   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11664   *) enable_dlopen_self=unknown ;;
11665   esac
11666
11667   case $lt_cv_dlopen_self_static in
11668   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11669   *) enable_dlopen_self_static=unknown ;;
11670   esac
11671 fi
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689 striplib=
11690 old_striplib=
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11692 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11693 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11694   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11695   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11697 $as_echo "yes" >&6; }
11698 else
11699 # FIXME - insert some real tests, host_os isn't really good enough
11700   case $host_os in
11701   darwin*)
11702     if test -n "$STRIP" ; then
11703       striplib="$STRIP -x"
11704       old_striplib="$STRIP -S"
11705       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11706 $as_echo "yes" >&6; }
11707     else
11708       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11710     fi
11711     ;;
11712   *)
11713     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11714 $as_echo "no" >&6; }
11715     ;;
11716   esac
11717 fi
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730   # Report which library types will actually be built
11731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11732 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11734 $as_echo "$can_build_shared" >&6; }
11735
11736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11737 $as_echo_n "checking whether to build shared libraries... " >&6; }
11738   test "$can_build_shared" = "no" && enable_shared=no
11739
11740   # On AIX, shared libraries and static libraries use the same namespace, and
11741   # are all built from PIC.
11742   case $host_os in
11743   aix3*)
11744     test "$enable_shared" = yes && enable_static=no
11745     if test -n "$RANLIB"; then
11746       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11747       postinstall_cmds='$RANLIB $lib'
11748     fi
11749     ;;
11750
11751   aix[4-9]*)
11752     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11753       test "$enable_shared" = yes && enable_static=no
11754     fi
11755     ;;
11756   esac
11757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11758 $as_echo "$enable_shared" >&6; }
11759
11760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11761 $as_echo_n "checking whether to build static libraries... " >&6; }
11762   # Make sure either enable_shared or enable_static is yes.
11763   test "$enable_shared" = yes || enable_static=yes
11764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11765 $as_echo "$enable_static" >&6; }
11766
11767
11768
11769
11770 fi
11771 ac_ext=c
11772 ac_cpp='$CPP $CPPFLAGS'
11773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11776
11777 CC="$lt_save_CC"
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793         ac_config_commands="$ac_config_commands libtool"
11794
11795
11796
11797
11798 # Only expand once:
11799
11800
11801
11802 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11803 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11804
11805
11806
11807 cat >>confdefs.h <<_ACEOF
11808 #define VMAJ 1
11809 _ACEOF
11810
11811
11812 cat >>confdefs.h <<_ACEOF
11813 #define VMIN 7
11814 _ACEOF
11815
11816
11817 cat >>confdefs.h <<_ACEOF
11818 #define VMIC 7
11819 _ACEOF
11820
11821
11822 cat >>confdefs.h <<_ACEOF
11823 #define VREV 0
11824 _ACEOF
11825
11826 version_info="8:7:7"
11827 release_info=""
11828
11829
11830 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11831 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11832 VMAJ=1
11833
11834
11835 ### Needed information
11836
11837
11838
11839
11840 want_ebluez="yes"
11841 want_econnman0_7x="yes"
11842 want_ehal="yes"
11843 want_enotify="yes"
11844 want_eofono="yes"
11845 want_eukit="yes"
11846
11847 case "$host_os" in
11848    mingw*)
11849       want_ebluez="no"
11850       want_econnman0_7x="no"
11851       want_ehal="no"
11852       want_enotify="no"
11853       want_eofono="no"
11854       want_eukit="no"
11855       ;;
11856 esac
11857
11858 requirement_ebluez="edbus >= 1.7.7"
11859 requirement_econnman0_7x="edbus >= 1.7.7"
11860 requirement_edbus="ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62"
11861 requirement_ehal="edbus >= 1.7.7"
11862 requirement_enotify="edbus >= 1.7.7"
11863 requirement_eofono="edbus >= 1.7.7"
11864 requirement_eukit="edbus >= 1.7.7"
11865
11866 ### Additional options to configure
11867
11868
11869 # Check whether --enable-ebluez was given.
11870 if test "${enable_ebluez+set}" = set; then :
11871   enableval=$enable_ebluez; enable_ebluez=$enableval
11872 else
11873   enable_ebluez="${want_ebluez}"
11874 fi
11875
11876
11877 # Check whether --enable-econnman0_7x was given.
11878 if test "${enable_econnman0_7x+set}" = set; then :
11879   enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11880 else
11881   enable_econnman0_7x="${want_econnman0_7x}"
11882 fi
11883
11884
11885 # Check whether --enable-ehal was given.
11886 if test "${enable_ehal+set}" = set; then :
11887   enableval=$enable_ehal; enable_ehal=$enableval
11888 else
11889   enable_ehal="${want_ehal}"
11890 fi
11891
11892
11893 # Check whether --enable-enotify was given.
11894 if test "${enable_enotify+set}" = set; then :
11895   enableval=$enable_enotify; enable_enotify=$enableval
11896 else
11897   enable_enotify="${want_enotify}"
11898 fi
11899
11900
11901 # Check whether --enable-eofono was given.
11902 if test "${enable_eofono+set}" = set; then :
11903   enableval=$enable_eofono; enable_eofono=$enableval
11904 else
11905   enable_eofono="${want_eofono}"
11906 fi
11907
11908
11909 # Check whether --enable-eukit was given.
11910 if test "${enable_eukit+set}" = set; then :
11911   enableval=$enable_eukit; enable_eukit=$enableval
11912 else
11913   enable_eukit="${want_eukit}"
11914 fi
11915
11916
11917 ### Checks for programs
11918
11919 ac_ext=c
11920 ac_cpp='$CPP $CPPFLAGS'
11921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11924 if test -n "$ac_tool_prefix"; then
11925   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11928 $as_echo_n "checking for $ac_word... " >&6; }
11929 if ${ac_cv_prog_CC+:} false; then :
11930   $as_echo_n "(cached) " >&6
11931 else
11932   if test -n "$CC"; then
11933   ac_cv_prog_CC="$CC" # Let the user override the test.
11934 else
11935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11936 for as_dir in $PATH
11937 do
11938   IFS=$as_save_IFS
11939   test -z "$as_dir" && as_dir=.
11940     for ac_exec_ext in '' $ac_executable_extensions; do
11941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11942     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11944     break 2
11945   fi
11946 done
11947   done
11948 IFS=$as_save_IFS
11949
11950 fi
11951 fi
11952 CC=$ac_cv_prog_CC
11953 if test -n "$CC"; then
11954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11955 $as_echo "$CC" >&6; }
11956 else
11957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11958 $as_echo "no" >&6; }
11959 fi
11960
11961
11962 fi
11963 if test -z "$ac_cv_prog_CC"; then
11964   ac_ct_CC=$CC
11965   # Extract the first word of "gcc", so it can be a program name with args.
11966 set dummy gcc; ac_word=$2
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11968 $as_echo_n "checking for $ac_word... " >&6; }
11969 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11970   $as_echo_n "(cached) " >&6
11971 else
11972   if test -n "$ac_ct_CC"; then
11973   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11974 else
11975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11976 for as_dir in $PATH
11977 do
11978   IFS=$as_save_IFS
11979   test -z "$as_dir" && as_dir=.
11980     for ac_exec_ext in '' $ac_executable_extensions; do
11981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11982     ac_cv_prog_ac_ct_CC="gcc"
11983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11984     break 2
11985   fi
11986 done
11987   done
11988 IFS=$as_save_IFS
11989
11990 fi
11991 fi
11992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11993 if test -n "$ac_ct_CC"; then
11994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11995 $as_echo "$ac_ct_CC" >&6; }
11996 else
11997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11998 $as_echo "no" >&6; }
11999 fi
12000
12001   if test "x$ac_ct_CC" = x; then
12002     CC=""
12003   else
12004     case $cross_compiling:$ac_tool_warned in
12005 yes:)
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12008 ac_tool_warned=yes ;;
12009 esac
12010     CC=$ac_ct_CC
12011   fi
12012 else
12013   CC="$ac_cv_prog_CC"
12014 fi
12015
12016 if test -z "$CC"; then
12017           if test -n "$ac_tool_prefix"; then
12018     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12019 set dummy ${ac_tool_prefix}cc; ac_word=$2
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12021 $as_echo_n "checking for $ac_word... " >&6; }
12022 if ${ac_cv_prog_CC+:} false; then :
12023   $as_echo_n "(cached) " >&6
12024 else
12025   if test -n "$CC"; then
12026   ac_cv_prog_CC="$CC" # Let the user override the test.
12027 else
12028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12029 for as_dir in $PATH
12030 do
12031   IFS=$as_save_IFS
12032   test -z "$as_dir" && as_dir=.
12033     for ac_exec_ext in '' $ac_executable_extensions; do
12034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12035     ac_cv_prog_CC="${ac_tool_prefix}cc"
12036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12037     break 2
12038   fi
12039 done
12040   done
12041 IFS=$as_save_IFS
12042
12043 fi
12044 fi
12045 CC=$ac_cv_prog_CC
12046 if test -n "$CC"; then
12047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12048 $as_echo "$CC" >&6; }
12049 else
12050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12051 $as_echo "no" >&6; }
12052 fi
12053
12054
12055   fi
12056 fi
12057 if test -z "$CC"; then
12058   # Extract the first word of "cc", so it can be a program name with args.
12059 set dummy cc; ac_word=$2
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12061 $as_echo_n "checking for $ac_word... " >&6; }
12062 if ${ac_cv_prog_CC+:} false; then :
12063   $as_echo_n "(cached) " >&6
12064 else
12065   if test -n "$CC"; then
12066   ac_cv_prog_CC="$CC" # Let the user override the test.
12067 else
12068   ac_prog_rejected=no
12069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12070 for as_dir in $PATH
12071 do
12072   IFS=$as_save_IFS
12073   test -z "$as_dir" && as_dir=.
12074     for ac_exec_ext in '' $ac_executable_extensions; do
12075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12076     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12077        ac_prog_rejected=yes
12078        continue
12079      fi
12080     ac_cv_prog_CC="cc"
12081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12082     break 2
12083   fi
12084 done
12085   done
12086 IFS=$as_save_IFS
12087
12088 if test $ac_prog_rejected = yes; then
12089   # We found a bogon in the path, so make sure we never use it.
12090   set dummy $ac_cv_prog_CC
12091   shift
12092   if test $# != 0; then
12093     # We chose a different compiler from the bogus one.
12094     # However, it has the same basename, so the bogon will be chosen
12095     # first if we set CC to just the basename; use the full file name.
12096     shift
12097     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12098   fi
12099 fi
12100 fi
12101 fi
12102 CC=$ac_cv_prog_CC
12103 if test -n "$CC"; then
12104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12105 $as_echo "$CC" >&6; }
12106 else
12107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12108 $as_echo "no" >&6; }
12109 fi
12110
12111
12112 fi
12113 if test -z "$CC"; then
12114   if test -n "$ac_tool_prefix"; then
12115   for ac_prog in cl.exe
12116   do
12117     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12118 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12120 $as_echo_n "checking for $ac_word... " >&6; }
12121 if ${ac_cv_prog_CC+:} false; then :
12122   $as_echo_n "(cached) " >&6
12123 else
12124   if test -n "$CC"; then
12125   ac_cv_prog_CC="$CC" # Let the user override the test.
12126 else
12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128 for as_dir in $PATH
12129 do
12130   IFS=$as_save_IFS
12131   test -z "$as_dir" && as_dir=.
12132     for ac_exec_ext in '' $ac_executable_extensions; do
12133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12134     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12136     break 2
12137   fi
12138 done
12139   done
12140 IFS=$as_save_IFS
12141
12142 fi
12143 fi
12144 CC=$ac_cv_prog_CC
12145 if test -n "$CC"; then
12146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12147 $as_echo "$CC" >&6; }
12148 else
12149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12151 fi
12152
12153
12154     test -n "$CC" && break
12155   done
12156 fi
12157 if test -z "$CC"; then
12158   ac_ct_CC=$CC
12159   for ac_prog in cl.exe
12160 do
12161   # Extract the first word of "$ac_prog", so it can be a program name with args.
12162 set dummy $ac_prog; ac_word=$2
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12164 $as_echo_n "checking for $ac_word... " >&6; }
12165 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12166   $as_echo_n "(cached) " >&6
12167 else
12168   if test -n "$ac_ct_CC"; then
12169   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12170 else
12171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12172 for as_dir in $PATH
12173 do
12174   IFS=$as_save_IFS
12175   test -z "$as_dir" && as_dir=.
12176     for ac_exec_ext in '' $ac_executable_extensions; do
12177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12178     ac_cv_prog_ac_ct_CC="$ac_prog"
12179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12180     break 2
12181   fi
12182 done
12183   done
12184 IFS=$as_save_IFS
12185
12186 fi
12187 fi
12188 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12189 if test -n "$ac_ct_CC"; then
12190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12191 $as_echo "$ac_ct_CC" >&6; }
12192 else
12193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194 $as_echo "no" >&6; }
12195 fi
12196
12197
12198   test -n "$ac_ct_CC" && break
12199 done
12200
12201   if test "x$ac_ct_CC" = x; then
12202     CC=""
12203   else
12204     case $cross_compiling:$ac_tool_warned in
12205 yes:)
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12208 ac_tool_warned=yes ;;
12209 esac
12210     CC=$ac_ct_CC
12211   fi
12212 fi
12213
12214 fi
12215
12216
12217 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12219 as_fn_error $? "no acceptable C compiler found in \$PATH
12220 See \`config.log' for more details" "$LINENO" 5; }
12221
12222 # Provide some information about the compiler.
12223 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12224 set X $ac_compile
12225 ac_compiler=$2
12226 for ac_option in --version -v -V -qversion; do
12227   { { ac_try="$ac_compiler $ac_option >&5"
12228 case "(($ac_try" in
12229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12230   *) ac_try_echo=$ac_try;;
12231 esac
12232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12233 $as_echo "$ac_try_echo"; } >&5
12234   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12235   ac_status=$?
12236   if test -s conftest.err; then
12237     sed '10a\
12238 ... rest of stderr output deleted ...
12239          10q' conftest.err >conftest.er1
12240     cat conftest.er1 >&5
12241   fi
12242   rm -f conftest.er1 conftest.err
12243   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12244   test $ac_status = 0; }
12245 done
12246
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12248 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12249 if ${ac_cv_c_compiler_gnu+:} false; then :
12250   $as_echo_n "(cached) " >&6
12251 else
12252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h.  */
12254
12255 int
12256 main ()
12257 {
12258 #ifndef __GNUC__
12259        choke me
12260 #endif
12261
12262   ;
12263   return 0;
12264 }
12265 _ACEOF
12266 if ac_fn_c_try_compile "$LINENO"; then :
12267   ac_compiler_gnu=yes
12268 else
12269   ac_compiler_gnu=no
12270 fi
12271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12272 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12273
12274 fi
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12276 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12277 if test $ac_compiler_gnu = yes; then
12278   GCC=yes
12279 else
12280   GCC=
12281 fi
12282 ac_test_CFLAGS=${CFLAGS+set}
12283 ac_save_CFLAGS=$CFLAGS
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12285 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12286 if ${ac_cv_prog_cc_g+:} false; then :
12287   $as_echo_n "(cached) " >&6
12288 else
12289   ac_save_c_werror_flag=$ac_c_werror_flag
12290    ac_c_werror_flag=yes
12291    ac_cv_prog_cc_g=no
12292    CFLAGS="-g"
12293    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h.  */
12295
12296 int
12297 main ()
12298 {
12299
12300   ;
12301   return 0;
12302 }
12303 _ACEOF
12304 if ac_fn_c_try_compile "$LINENO"; then :
12305   ac_cv_prog_cc_g=yes
12306 else
12307   CFLAGS=""
12308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h.  */
12310
12311 int
12312 main ()
12313 {
12314
12315   ;
12316   return 0;
12317 }
12318 _ACEOF
12319 if ac_fn_c_try_compile "$LINENO"; then :
12320
12321 else
12322   ac_c_werror_flag=$ac_save_c_werror_flag
12323          CFLAGS="-g"
12324          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h.  */
12326
12327 int
12328 main ()
12329 {
12330
12331   ;
12332   return 0;
12333 }
12334 _ACEOF
12335 if ac_fn_c_try_compile "$LINENO"; then :
12336   ac_cv_prog_cc_g=yes
12337 fi
12338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12339 fi
12340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12341 fi
12342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12343    ac_c_werror_flag=$ac_save_c_werror_flag
12344 fi
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12346 $as_echo "$ac_cv_prog_cc_g" >&6; }
12347 if test "$ac_test_CFLAGS" = set; then
12348   CFLAGS=$ac_save_CFLAGS
12349 elif test $ac_cv_prog_cc_g = yes; then
12350   if test "$GCC" = yes; then
12351     CFLAGS="-g -O2"
12352   else
12353     CFLAGS="-g"
12354   fi
12355 else
12356   if test "$GCC" = yes; then
12357     CFLAGS="-O2"
12358   else
12359     CFLAGS=
12360   fi
12361 fi
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12363 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12364 if ${ac_cv_prog_cc_c89+:} false; then :
12365   $as_echo_n "(cached) " >&6
12366 else
12367   ac_cv_prog_cc_c89=no
12368 ac_save_CC=$CC
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h.  */
12371 #include <stdarg.h>
12372 #include <stdio.h>
12373 #include <sys/types.h>
12374 #include <sys/stat.h>
12375 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12376 struct buf { int x; };
12377 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12378 static char *e (p, i)
12379      char **p;
12380      int i;
12381 {
12382   return p[i];
12383 }
12384 static char *f (char * (*g) (char **, int), char **p, ...)
12385 {
12386   char *s;
12387   va_list v;
12388   va_start (v,p);
12389   s = g (p, va_arg (v,int));
12390   va_end (v);
12391   return s;
12392 }
12393
12394 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12395    function prototypes and stuff, but not '\xHH' hex character constants.
12396    These don't provoke an error unfortunately, instead are silently treated
12397    as 'x'.  The following induces an error, until -std is added to get
12398    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12399    array size at least.  It's necessary to write '\x00'==0 to get something
12400    that's true only with -std.  */
12401 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12402
12403 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12404    inside strings and character constants.  */
12405 #define FOO(x) 'x'
12406 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12407
12408 int test (int i, double x);
12409 struct s1 {int (*f) (int a);};
12410 struct s2 {int (*f) (double a);};
12411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12412 int argc;
12413 char **argv;
12414 int
12415 main ()
12416 {
12417 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12418   ;
12419   return 0;
12420 }
12421 _ACEOF
12422 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12423         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12424 do
12425   CC="$ac_save_CC $ac_arg"
12426   if ac_fn_c_try_compile "$LINENO"; then :
12427   ac_cv_prog_cc_c89=$ac_arg
12428 fi
12429 rm -f core conftest.err conftest.$ac_objext
12430   test "x$ac_cv_prog_cc_c89" != "xno" && break
12431 done
12432 rm -f conftest.$ac_ext
12433 CC=$ac_save_CC
12434
12435 fi
12436 # AC_CACHE_VAL
12437 case "x$ac_cv_prog_cc_c89" in
12438   x)
12439     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12440 $as_echo "none needed" >&6; } ;;
12441   xno)
12442     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12443 $as_echo "unsupported" >&6; } ;;
12444   *)
12445     CC="$CC $ac_cv_prog_cc_c89"
12446     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12447 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12448 esac
12449 if test "x$ac_cv_prog_cc_c89" != xno; then :
12450
12451 fi
12452
12453 ac_ext=c
12454 ac_cpp='$CPP $CPPFLAGS'
12455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12458
12459 depcc="$CC"   am_compiler_list=
12460
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12462 $as_echo_n "checking dependency style of $depcc... " >&6; }
12463 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12464   $as_echo_n "(cached) " >&6
12465 else
12466   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12467   # We make a subdir and do the tests there.  Otherwise we can end up
12468   # making bogus files that we don't know about and never remove.  For
12469   # instance it was reported that on HP-UX the gcc test will end up
12470   # making a dummy file named `D' -- because `-MD' means `put the output
12471   # in D'.
12472   rm -rf conftest.dir
12473   mkdir conftest.dir
12474   # Copy depcomp to subdir because otherwise we won't find it if we're
12475   # using a relative directory.
12476   cp "$am_depcomp" conftest.dir
12477   cd conftest.dir
12478   # We will build objects and dependencies in a subdirectory because
12479   # it helps to detect inapplicable dependency modes.  For instance
12480   # both Tru64's cc and ICC support -MD to output dependencies as a
12481   # side effect of compilation, but ICC will put the dependencies in
12482   # the current directory while Tru64 will put them in the object
12483   # directory.
12484   mkdir sub
12485
12486   am_cv_CC_dependencies_compiler_type=none
12487   if test "$am_compiler_list" = ""; then
12488      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12489   fi
12490   am__universal=false
12491   case " $depcc " in #(
12492      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12493      esac
12494
12495   for depmode in $am_compiler_list; do
12496     # Setup a source with many dependencies, because some compilers
12497     # like to wrap large dependency lists on column 80 (with \), and
12498     # we should not choose a depcomp mode which is confused by this.
12499     #
12500     # We need to recreate these files for each test, as the compiler may
12501     # overwrite some of them when testing with obscure command lines.
12502     # This happens at least with the AIX C compiler.
12503     : > sub/conftest.c
12504     for i in 1 2 3 4 5 6; do
12505       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12506       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12507       # Solaris 8's {/usr,}/bin/sh.
12508       touch sub/conftst$i.h
12509     done
12510     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12511
12512     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12513     # mode.  It turns out that the SunPro C++ compiler does not properly
12514     # handle `-M -o', and we need to detect this.  Also, some Intel
12515     # versions had trouble with output in subdirs
12516     am__obj=sub/conftest.${OBJEXT-o}
12517     am__minus_obj="-o $am__obj"
12518     case $depmode in
12519     gcc)
12520       # This depmode causes a compiler race in universal mode.
12521       test "$am__universal" = false || continue
12522       ;;
12523     nosideeffect)
12524       # after this tag, mechanisms are not by side-effect, so they'll
12525       # only be used when explicitly requested
12526       if test "x$enable_dependency_tracking" = xyes; then
12527         continue
12528       else
12529         break
12530       fi
12531       ;;
12532     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12533       # This compiler won't grok `-c -o', but also, the minuso test has
12534       # not run yet.  These depmodes are late enough in the game, and
12535       # so weak that their functioning should not be impacted.
12536       am__obj=conftest.${OBJEXT-o}
12537       am__minus_obj=
12538       ;;
12539     none) break ;;
12540     esac
12541     if depmode=$depmode \
12542        source=sub/conftest.c object=$am__obj \
12543        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12544        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12545          >/dev/null 2>conftest.err &&
12546        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12547        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12548        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12549        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12550       # icc doesn't choke on unknown options, it will just issue warnings
12551       # or remarks (even with -Werror).  So we grep stderr for any message
12552       # that says an option was ignored or not supported.
12553       # When given -MP, icc 7.0 and 7.1 complain thusly:
12554       #   icc: Command line warning: ignoring option '-M'; no argument required
12555       # The diagnosis changed in icc 8.0:
12556       #   icc: Command line remark: option '-MP' not supported
12557       if (grep 'ignoring option' conftest.err ||
12558           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12559         am_cv_CC_dependencies_compiler_type=$depmode
12560         break
12561       fi
12562     fi
12563   done
12564
12565   cd ..
12566   rm -rf conftest.dir
12567 else
12568   am_cv_CC_dependencies_compiler_type=none
12569 fi
12570
12571 fi
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12573 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12574 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12575
12576  if
12577   test "x$enable_dependency_tracking" != xno \
12578   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12579   am__fastdepCC_TRUE=
12580   am__fastdepCC_FALSE='#'
12581 else
12582   am__fastdepCC_TRUE='#'
12583   am__fastdepCC_FALSE=
12584 fi
12585
12586
12587 if test "x$CC" != xcc; then
12588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12589 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12590 else
12591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12592 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12593 fi
12594 set dummy $CC; ac_cc=`$as_echo "$2" |
12595                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12596 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12597   $as_echo_n "(cached) " >&6
12598 else
12599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h.  */
12601
12602 int
12603 main ()
12604 {
12605
12606   ;
12607   return 0;
12608 }
12609 _ACEOF
12610 # Make sure it works both with $CC and with simple cc.
12611 # We do the test twice because some compilers refuse to overwrite an
12612 # existing .o file with -o, though they will create one.
12613 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12614 rm -f conftest2.*
12615 if { { case "(($ac_try" in
12616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12617   *) ac_try_echo=$ac_try;;
12618 esac
12619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12620 $as_echo "$ac_try_echo"; } >&5
12621   (eval "$ac_try") 2>&5
12622   ac_status=$?
12623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12624   test $ac_status = 0; } &&
12625    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12627   *) ac_try_echo=$ac_try;;
12628 esac
12629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12630 $as_echo "$ac_try_echo"; } >&5
12631   (eval "$ac_try") 2>&5
12632   ac_status=$?
12633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12634   test $ac_status = 0; };
12635 then
12636   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12637   if test "x$CC" != xcc; then
12638     # Test first that cc exists at all.
12639     if { ac_try='cc -c conftest.$ac_ext >&5'
12640   { { case "(($ac_try" in
12641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12642   *) ac_try_echo=$ac_try;;
12643 esac
12644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12645 $as_echo "$ac_try_echo"; } >&5
12646   (eval "$ac_try") 2>&5
12647   ac_status=$?
12648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12649   test $ac_status = 0; }; }; then
12650       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12651       rm -f conftest2.*
12652       if { { case "(($ac_try" in
12653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654   *) ac_try_echo=$ac_try;;
12655 esac
12656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12657 $as_echo "$ac_try_echo"; } >&5
12658   (eval "$ac_try") 2>&5
12659   ac_status=$?
12660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12661   test $ac_status = 0; } &&
12662          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12664   *) ac_try_echo=$ac_try;;
12665 esac
12666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12667 $as_echo "$ac_try_echo"; } >&5
12668   (eval "$ac_try") 2>&5
12669   ac_status=$?
12670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12671   test $ac_status = 0; };
12672       then
12673         # cc works too.
12674         :
12675       else
12676         # cc exists but doesn't like -o.
12677         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12678       fi
12679     fi
12680   fi
12681 else
12682   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12683 fi
12684 rm -f core conftest*
12685
12686 fi
12687 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12689 $as_echo "yes" >&6; }
12690 else
12691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12692 $as_echo "no" >&6; }
12693
12694 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12695
12696 fi
12697
12698 # FIXME: we rely on the cache variable name because
12699 # there is no other way.
12700 set dummy $CC
12701 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12702 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12703 if test "$am_t" != yes; then
12704    # Losing compiler, so override with the script.
12705    # FIXME: It is wrong to rewrite CC.
12706    # But if we don't then we get into trouble of one sort or another.
12707    # A longer-term fix would be to have automake use am__CC in this case,
12708    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12709    CC="$am_aux_dir/compile $CC"
12710 fi
12711
12712
12713
12714 # pkg-config
12715
12716
12717
12718
12719
12720
12721 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12722         if test -n "$ac_tool_prefix"; then
12723   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12724 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12726 $as_echo_n "checking for $ac_word... " >&6; }
12727 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12728   $as_echo_n "(cached) " >&6
12729 else
12730   case $PKG_CONFIG in
12731   [\\/]* | ?:[\\/]*)
12732   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12733   ;;
12734   *)
12735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12736 for as_dir in $PATH
12737 do
12738   IFS=$as_save_IFS
12739   test -z "$as_dir" && as_dir=.
12740     for ac_exec_ext in '' $ac_executable_extensions; do
12741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12742     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12744     break 2
12745   fi
12746 done
12747   done
12748 IFS=$as_save_IFS
12749
12750   ;;
12751 esac
12752 fi
12753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12754 if test -n "$PKG_CONFIG"; then
12755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12756 $as_echo "$PKG_CONFIG" >&6; }
12757 else
12758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12760 fi
12761
12762
12763 fi
12764 if test -z "$ac_cv_path_PKG_CONFIG"; then
12765   ac_pt_PKG_CONFIG=$PKG_CONFIG
12766   # Extract the first word of "pkg-config", so it can be a program name with args.
12767 set dummy pkg-config; ac_word=$2
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12769 $as_echo_n "checking for $ac_word... " >&6; }
12770 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12771   $as_echo_n "(cached) " >&6
12772 else
12773   case $ac_pt_PKG_CONFIG in
12774   [\\/]* | ?:[\\/]*)
12775   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12776   ;;
12777   *)
12778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12779 for as_dir in $PATH
12780 do
12781   IFS=$as_save_IFS
12782   test -z "$as_dir" && as_dir=.
12783     for ac_exec_ext in '' $ac_executable_extensions; do
12784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12785     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12787     break 2
12788   fi
12789 done
12790   done
12791 IFS=$as_save_IFS
12792
12793   ;;
12794 esac
12795 fi
12796 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12797 if test -n "$ac_pt_PKG_CONFIG"; then
12798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12799 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12800 else
12801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12802 $as_echo "no" >&6; }
12803 fi
12804
12805   if test "x$ac_pt_PKG_CONFIG" = x; then
12806     PKG_CONFIG=""
12807   else
12808     case $cross_compiling:$ac_tool_warned in
12809 yes:)
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12812 ac_tool_warned=yes ;;
12813 esac
12814     PKG_CONFIG=$ac_pt_PKG_CONFIG
12815   fi
12816 else
12817   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12818 fi
12819
12820 fi
12821 if test -n "$PKG_CONFIG"; then
12822         _pkg_min_version=0.9.0
12823         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12824 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12825         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12826                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12827 $as_echo "yes" >&6; }
12828         else
12829                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12830 $as_echo "no" >&6; }
12831                 PKG_CONFIG=""
12832         fi
12833 fi
12834
12835 # Check whether pkg-config supports Requires.private
12836 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12837    pkgconfig_requires_private="Requires.private"
12838 else
12839    pkgconfig_requires_private="Requires"
12840 fi
12841
12842
12843 # doxygen program for documentation building
12844
12845
12846 # Check whether --enable-doc was given.
12847 if test "${enable_doc+set}" = set; then :
12848   enableval=$enable_doc;
12849     if test "x${enableval}" = "xyes" ; then
12850        efl_enable_doc="yes"
12851     else
12852        efl_enable_doc="no"
12853     fi
12854
12855 else
12856   efl_enable_doc="yes"
12857 fi
12858
12859
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12861 $as_echo_n "checking whether to build documentation... " >&6; }
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12863 $as_echo "${efl_enable_doc}" >&6; }
12864
12865 if test "x${efl_enable_doc}" = "xyes" ; then
12866
12867
12868    efl_doxygen="doxygen"
12869
12870
12871 # Check whether --with-doxygen was given.
12872 if test "${with_doxygen+set}" = set; then :
12873   withval=$with_doxygen;
12874       efl_doxygen=${withval}
12875        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12876 set dummy ${efl_doxygen}; ac_word=$2
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12878 $as_echo_n "checking for $ac_word... " >&6; }
12879 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12880   $as_echo_n "(cached) " >&6
12881 else
12882   if test -n "$efl_have_doxygen"; then
12883   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12884 else
12885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12886 for as_dir in $PATH
12887 do
12888   IFS=$as_save_IFS
12889   test -z "$as_dir" && as_dir=.
12890     for ac_exec_ext in '' $ac_executable_extensions; do
12891   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12892     ac_cv_prog_efl_have_doxygen="yes"
12893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12894     break 2
12895   fi
12896 done
12897   done
12898 IFS=$as_save_IFS
12899
12900   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12901 fi
12902 fi
12903 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12904 if test -n "$efl_have_doxygen"; then
12905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12906 $as_echo "$efl_have_doxygen" >&6; }
12907 else
12908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12909 $as_echo "no" >&6; }
12910 fi
12911
12912
12913        if test "x${efl_have_doxygen}" = "xno" ; then
12914           echo "WARNING:"
12915           echo "The doxygen program you specified:"
12916           echo "${efl_doxygen}"
12917           echo "was not found.  Please check the path and make sure "
12918           echo "the program exists and is executable."
12919           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12920 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12921        fi
12922
12923 else
12924   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12925 set dummy ${efl_doxygen}; ac_word=$2
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12927 $as_echo_n "checking for $ac_word... " >&6; }
12928 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12929   $as_echo_n "(cached) " >&6
12930 else
12931   if test -n "$efl_have_doxygen"; then
12932   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12933 else
12934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12935 for as_dir in $PATH
12936 do
12937   IFS=$as_save_IFS
12938   test -z "$as_dir" && as_dir=.
12939     for ac_exec_ext in '' $ac_executable_extensions; do
12940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12941     ac_cv_prog_efl_have_doxygen="yes"
12942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12943     break 2
12944   fi
12945 done
12946   done
12947 IFS=$as_save_IFS
12948
12949   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12950 fi
12951 fi
12952 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12953 if test -n "$efl_have_doxygen"; then
12954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12955 $as_echo "$efl_have_doxygen" >&6; }
12956 else
12957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12958 $as_echo "no" >&6; }
12959 fi
12960
12961
12962        if test "x${efl_have_doxygen}" = "xno" ; then
12963           echo "WARNING:"
12964           echo "The doxygen program was not found in your execute path."
12965           echo "You may have doxygen installed somewhere not covered by your path."
12966           echo ""
12967           echo "If this is the case make sure you have the packages installed, AND"
12968           echo "that the doxygen program is in your execute path (see your"
12969           echo "shell manual page on setting the \$PATH environment variable), OR"
12970           echo "alternatively, specify the program to use with --with-doxygen."
12971           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12972 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12973        fi
12974
12975 fi
12976
12977 else
12978    efl_have_doxygen="no"
12979 fi
12980
12981
12982
12983 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12984    efl_enable_doc="no"
12985 fi
12986
12987  if test "x${efl_have_doxygen}" = "xyes"; then
12988   EFL_BUILD_DOC_TRUE=
12989   EFL_BUILD_DOC_FALSE='#'
12990 else
12991   EFL_BUILD_DOC_TRUE='#'
12992   EFL_BUILD_DOC_FALSE=
12993 fi
12994
12995
12996 if test "x$efl_have_doxygen" = "xyes"; then :
12997   build_doc="yes"
12998 else
12999   build_doc="no"
13000 fi
13001
13002
13003
13004 ### Checks for libraries
13005
13006 # Evil library for compilation on Windows
13007
13008 case "$host_os" in
13009    mingw*)
13010       if test -n "$PKG_CONFIG" && \
13011     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
13012   ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
13013   ac_status=$?
13014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13015   test $ac_status = 0; }; then
13016   :
13017 fi
13018
13019 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13020
13021       requirement_edbus="${requirement_edbus} evil >= 1.7.7"
13022    ;;
13023 esac
13024
13025
13026 pkg_failed=no
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13028 $as_echo_n "checking for DBUS... " >&6; }
13029
13030 if test -n "$DBUS_CFLAGS"; then
13031     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13032  elif test -n "$PKG_CONFIG"; then
13033     if test -n "$PKG_CONFIG" && \
13034     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13035   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13036   ac_status=$?
13037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13038   test $ac_status = 0; }; then
13039   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13040 else
13041   pkg_failed=yes
13042 fi
13043  else
13044     pkg_failed=untried
13045 fi
13046 if test -n "$DBUS_LIBS"; then
13047     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13048  elif test -n "$PKG_CONFIG"; then
13049     if test -n "$PKG_CONFIG" && \
13050     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13051   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13052   ac_status=$?
13053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13054   test $ac_status = 0; }; then
13055   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13056 else
13057   pkg_failed=yes
13058 fi
13059  else
13060     pkg_failed=untried
13061 fi
13062
13063
13064
13065 if test $pkg_failed = yes; then
13066         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13067 $as_echo "no" >&6; }
13068
13069 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13070         _pkg_short_errors_supported=yes
13071 else
13072         _pkg_short_errors_supported=no
13073 fi
13074         if test $_pkg_short_errors_supported = yes; then
13075                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.62" 2>&1`
13076         else
13077                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.62" 2>&1`
13078         fi
13079         # Put the nasty error message in config.log where it belongs
13080         echo "$DBUS_PKG_ERRORS" >&5
13081
13082         as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
13083
13084 $DBUS_PKG_ERRORS
13085
13086 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13087 installed software in a non-standard prefix.
13088
13089 Alternatively, you may set the environment variables DBUS_CFLAGS
13090 and DBUS_LIBS to avoid the need to call pkg-config.
13091 See the pkg-config man page for more details." "$LINENO" 5
13092
13093 elif test $pkg_failed = untried; then
13094         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13095 $as_echo "no" >&6; }
13096         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13098 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13099 is in your PATH or set the PKG_CONFIG environment variable to the full
13100 path to pkg-config.
13101
13102 Alternatively, you may set the environment variables DBUS_CFLAGS
13103 and DBUS_LIBS to avoid the need to call pkg-config.
13104 See the pkg-config man page for more details.
13105
13106 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13107 See \`config.log' for more details" "$LINENO" 5; }
13108
13109 else
13110         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13111         DBUS_LIBS=$pkg_cv_DBUS_LIBS
13112         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13113 $as_echo "yes" >&6; }
13114
13115 fi
13116
13117
13118 pkg_failed=no
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13120 $as_echo_n "checking for EDBUS... " >&6; }
13121
13122 if test -n "$EDBUS_CFLAGS"; then
13123     pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13124  elif test -n "$PKG_CONFIG"; then
13125     if test -n "$PKG_CONFIG" && \
13126     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13127   ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13128   ac_status=$?
13129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13130   test $ac_status = 0; }; then
13131   pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "${requirement_edbus}" 2>/dev/null`
13132 else
13133   pkg_failed=yes
13134 fi
13135  else
13136     pkg_failed=untried
13137 fi
13138 if test -n "$EDBUS_LIBS"; then
13139     pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13140  elif test -n "$PKG_CONFIG"; then
13141     if test -n "$PKG_CONFIG" && \
13142     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13143   ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13144   ac_status=$?
13145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13146   test $ac_status = 0; }; then
13147   pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "${requirement_edbus}" 2>/dev/null`
13148 else
13149   pkg_failed=yes
13150 fi
13151  else
13152     pkg_failed=untried
13153 fi
13154
13155
13156
13157 if test $pkg_failed = yes; then
13158         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13159 $as_echo "no" >&6; }
13160
13161 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13162         _pkg_short_errors_supported=yes
13163 else
13164         _pkg_short_errors_supported=no
13165 fi
13166         if test $_pkg_short_errors_supported = yes; then
13167                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_edbus}" 2>&1`
13168         else
13169                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_edbus}" 2>&1`
13170         fi
13171         # Put the nasty error message in config.log where it belongs
13172         echo "$EDBUS_PKG_ERRORS" >&5
13173
13174         as_fn_error $? "Package requirements (${requirement_edbus}) were not met:
13175
13176 $EDBUS_PKG_ERRORS
13177
13178 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13179 installed software in a non-standard prefix.
13180
13181 Alternatively, you may set the environment variables EDBUS_CFLAGS
13182 and EDBUS_LIBS to avoid the need to call pkg-config.
13183 See the pkg-config man page for more details." "$LINENO" 5
13184
13185 elif test $pkg_failed = untried; then
13186         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13187 $as_echo "no" >&6; }
13188         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13190 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13191 is in your PATH or set the PKG_CONFIG environment variable to the full
13192 path to pkg-config.
13193
13194 Alternatively, you may set the environment variables EDBUS_CFLAGS
13195 and EDBUS_LIBS to avoid the need to call pkg-config.
13196 See the pkg-config man page for more details.
13197
13198 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13199 See \`config.log' for more details" "$LINENO" 5; }
13200
13201 else
13202         EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13203         EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13204         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13205 $as_echo "yes" >&6; }
13206
13207 fi
13208
13209 # Find out the version of DBUS we're using
13210 dbus_version=`pkg-config --modversion dbus-1`
13211 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13212 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13213 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13214
13215 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13216    DBUS_VERSION_MAJOR="0"
13217 fi
13218
13219 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13220    DBUS_VERSION_MINOR="0"
13221 fi
13222
13223 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13224    DBUS_VERSION_MICRO="0"
13225 fi
13226
13227 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13228 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13229 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13230
13231
13232 # Dependencies for the libraries
13233 if test "x${enable_enotify}" = "xyes" ; then
13234
13235 pkg_failed=no
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13237 $as_echo_n "checking for EVAS... " >&6; }
13238
13239 if test -n "$EVAS_CFLAGS"; then
13240     pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13241  elif test -n "$PKG_CONFIG"; then
13242     if test -n "$PKG_CONFIG" && \
13243     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.7\""; } >&5
13244   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.7") 2>&5
13245   ac_status=$?
13246   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13247   test $ac_status = 0; }; then
13248   pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.7" 2>/dev/null`
13249 else
13250   pkg_failed=yes
13251 fi
13252  else
13253     pkg_failed=untried
13254 fi
13255 if test -n "$EVAS_LIBS"; then
13256     pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13257  elif test -n "$PKG_CONFIG"; then
13258     if test -n "$PKG_CONFIG" && \
13259     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.7\""; } >&5
13260   ($PKG_CONFIG --exists --print-errors "evas >= 1.7.7") 2>&5
13261   ac_status=$?
13262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13263   test $ac_status = 0; }; then
13264   pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.7" 2>/dev/null`
13265 else
13266   pkg_failed=yes
13267 fi
13268  else
13269     pkg_failed=untried
13270 fi
13271
13272
13273
13274 if test $pkg_failed = yes; then
13275         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13276 $as_echo "no" >&6; }
13277
13278 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13279         _pkg_short_errors_supported=yes
13280 else
13281         _pkg_short_errors_supported=no
13282 fi
13283         if test $_pkg_short_errors_supported = yes; then
13284                 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.7.7" 2>&1`
13285         else
13286                 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.7.7" 2>&1`
13287         fi
13288         # Put the nasty error message in config.log where it belongs
13289         echo "$EVAS_PKG_ERRORS" >&5
13290
13291         enable_enotify="no"
13292 elif test $pkg_failed = untried; then
13293         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13294 $as_echo "no" >&6; }
13295         enable_enotify="no"
13296 else
13297         EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13298         EVAS_LIBS=$pkg_cv_EVAS_LIBS
13299         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13300 $as_echo "yes" >&6; }
13301         requirement_enotify="evas >= 1.7.7 ${requirement_enotify}"
13302 fi
13303 fi
13304
13305  if test "x${enable_ebluez}"   = "xyes"; then
13306   BUILD_EBLUEZ_TRUE=
13307   BUILD_EBLUEZ_FALSE='#'
13308 else
13309   BUILD_EBLUEZ_TRUE='#'
13310   BUILD_EBLUEZ_FALSE=
13311 fi
13312
13313  if test "x${enable_econnman0_7x}" = "xyes"; then
13314   BUILD_ECONNMAN0_7X_TRUE=
13315   BUILD_ECONNMAN0_7X_FALSE='#'
13316 else
13317   BUILD_ECONNMAN0_7X_TRUE='#'
13318   BUILD_ECONNMAN0_7X_FALSE=
13319 fi
13320
13321  if test "x${enable_ehal}"     = "xyes"; then
13322   BUILD_EHAL_TRUE=
13323   BUILD_EHAL_FALSE='#'
13324 else
13325   BUILD_EHAL_TRUE='#'
13326   BUILD_EHAL_FALSE=
13327 fi
13328
13329  if test "x${enable_enotify}"  = "xyes"; then
13330   BUILD_ENOTIFY_TRUE=
13331   BUILD_ENOTIFY_FALSE='#'
13332 else
13333   BUILD_ENOTIFY_TRUE='#'
13334   BUILD_ENOTIFY_FALSE=
13335 fi
13336
13337  if test "x${enable_eofono}"   = "xyes"; then
13338   BUILD_EOFONO_TRUE=
13339   BUILD_EOFONO_FALSE='#'
13340 else
13341   BUILD_EOFONO_TRUE='#'
13342   BUILD_EOFONO_FALSE=
13343 fi
13344
13345  if test "x${enable_eukit}"    = "xyes"; then
13346   BUILD_EUKIT_TRUE=
13347   BUILD_EUKIT_FALSE='#'
13348 else
13349   BUILD_EUKIT_TRUE='#'
13350   BUILD_EUKIT_FALSE=
13351 fi
13352
13353
13354 # Dependencies for the binaries
13355
13356
13357
13358
13359
13360 # Check whether --enable-edbus-test was given.
13361 if test "${enable_edbus_test+set}" = set; then :
13362   enableval=$enable_edbus_test;
13363     if test "x${enableval}" = "xyes" ; then
13364        have_edbus_test="yes"
13365     else
13366        have_edbus_test="no"
13367     fi
13368
13369 else
13370   have_edbus_test="yes"
13371 fi
13372
13373
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13375 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13377 $as_echo "$have_edbus_test" >&6; }
13378
13379 if test "x$have_edbus_test" = "xyes"; then
13380    EDBUS_TEST_PRG=edbus_test${EXEEXT}
13381 fi
13382
13383
13384
13385  if test "x$have_edbus_test" = "xyes"; then
13386   BUILD_EDBUS_TEST_TRUE=
13387   BUILD_EDBUS_TEST_FALSE='#'
13388 else
13389   BUILD_EDBUS_TEST_TRUE='#'
13390   BUILD_EDBUS_TEST_FALSE=
13391 fi
13392
13393
13394 if test "x$have_edbus_test" = "xyes"; then :
13395
13396 fi
13397
13398
13399
13400
13401
13402
13403 # Check whether --enable-edbus-test-client was given.
13404 if test "${enable_edbus_test_client+set}" = set; then :
13405   enableval=$enable_edbus_test_client;
13406     if test "x${enableval}" = "xyes" ; then
13407        have_edbus_test_client="yes"
13408     else
13409        have_edbus_test_client="no"
13410     fi
13411
13412 else
13413   have_edbus_test_client="yes"
13414 fi
13415
13416
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13418 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13420 $as_echo "$have_edbus_test_client" >&6; }
13421
13422 if test "x$have_edbus_test_client" = "xyes"; then
13423    EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13424 fi
13425
13426
13427
13428  if test "x$have_edbus_test_client" = "xyes"; then
13429   BUILD_EDBUS_TEST_CLIENT_TRUE=
13430   BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13431 else
13432   BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13433   BUILD_EDBUS_TEST_CLIENT_FALSE=
13434 fi
13435
13436
13437 if test "x$have_edbus_test_client" = "xyes"; then :
13438
13439 fi
13440
13441
13442
13443
13444
13445
13446 # Check whether --enable-edbus-bluez-test was given.
13447 if test "${enable_edbus_bluez_test+set}" = set; then :
13448   enableval=$enable_edbus_bluez_test;
13449     if test "x${enableval}" = "xyes" ; then
13450        have_edbus_bluez_test="yes"
13451     else
13452        have_edbus_bluez_test="no"
13453     fi
13454
13455 else
13456   have_edbus_bluez_test=${enable_ebluez}
13457 fi
13458
13459
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13461 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13463 $as_echo "$have_edbus_bluez_test" >&6; }
13464
13465 if test "x$have_edbus_bluez_test" = "xyes"; then
13466    EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13467 fi
13468
13469
13470
13471  if test "x$have_edbus_bluez_test" = "xyes"; then
13472   BUILD_EDBUS_BLUEZ_TEST_TRUE=
13473   BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13474 else
13475   BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13476   BUILD_EDBUS_BLUEZ_TEST_FALSE=
13477 fi
13478
13479
13480 if test "x$have_edbus_bluez_test" = "xyes"; then :
13481
13482 fi
13483
13484
13485
13486
13487
13488
13489 # Check whether --enable-edbus-connman0_7x-test was given.
13490 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13491   enableval=$enable_edbus_connman0_7x_test;
13492     if test "x${enableval}" = "xyes" ; then
13493        have_edbus_connman0_7x_test="yes"
13494     else
13495        have_edbus_connman0_7x_test="no"
13496     fi
13497
13498 else
13499   have_edbus_connman0_7x_test=${enable_econnman0_7x}
13500 fi
13501
13502
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13504 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13506 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13507
13508 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13509    EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13510 fi
13511
13512
13513
13514  if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13515   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13516   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13517 else
13518   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13519   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13520 fi
13521
13522
13523 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13524
13525 fi
13526
13527
13528
13529
13530
13531
13532 # Check whether --enable-edbus-notification-daemon-test was given.
13533 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13534   enableval=$enable_edbus_notification_daemon_test;
13535     if test "x${enableval}" = "xyes" ; then
13536        have_edbus_notification_daemon_test="yes"
13537     else
13538        have_edbus_notification_daemon_test="no"
13539     fi
13540
13541 else
13542   have_edbus_notification_daemon_test=${enable_enotify}
13543 fi
13544
13545
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13547 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13549 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13550
13551 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13552    EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13553 fi
13554
13555
13556
13557  if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13558   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13559   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13560 else
13561   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13562   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13563 fi
13564
13565
13566 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13567
13568 fi
13569
13570
13571
13572
13573
13574
13575 # Check whether --enable-edbus-notify-send was given.
13576 if test "${enable_edbus_notify_send+set}" = set; then :
13577   enableval=$enable_edbus_notify_send;
13578     if test "x${enableval}" = "xyes" ; then
13579        have_edbus_notify_send="yes"
13580     else
13581        have_edbus_notify_send="no"
13582     fi
13583
13584 else
13585   have_edbus_notify_send=${enable_enotify}
13586 fi
13587
13588
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13590 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13592 $as_echo "$have_edbus_notify_send" >&6; }
13593
13594 if test "x$have_edbus_notify_send" = "xyes"; then
13595    EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13596 fi
13597
13598
13599
13600  if test "x$have_edbus_notify_send" = "xyes"; then
13601   BUILD_EDBUS_NOTIFY_SEND_TRUE=
13602   BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13603 else
13604   BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13605   BUILD_EDBUS_NOTIFY_SEND_FALSE=
13606 fi
13607
13608
13609 if test "x$have_edbus_notify_send" = "xyes"; then :
13610
13611 fi
13612
13613
13614
13615
13616
13617
13618 # Check whether --enable-edbus-notify-test was given.
13619 if test "${enable_edbus_notify_test+set}" = set; then :
13620   enableval=$enable_edbus_notify_test;
13621     if test "x${enableval}" = "xyes" ; then
13622        have_edbus_notify_test="yes"
13623     else
13624        have_edbus_notify_test="no"
13625     fi
13626
13627 else
13628   have_edbus_notify_test=${enable_enotify}
13629 fi
13630
13631
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13633 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13635 $as_echo "$have_edbus_notify_test" >&6; }
13636
13637 if test "x$have_edbus_notify_test" = "xyes"; then
13638    EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13639 fi
13640
13641
13642
13643  if test "x$have_edbus_notify_test" = "xyes"; then
13644   BUILD_EDBUS_NOTIFY_TEST_TRUE=
13645   BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13646 else
13647   BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13648   BUILD_EDBUS_NOTIFY_TEST_FALSE=
13649 fi
13650
13651
13652 if test "x$have_edbus_notify_test" = "xyes"; then :
13653
13654 fi
13655
13656
13657
13658
13659
13660
13661 # Check whether --enable-edbus-ofono-test was given.
13662 if test "${enable_edbus_ofono_test+set}" = set; then :
13663   enableval=$enable_edbus_ofono_test;
13664     if test "x${enableval}" = "xyes" ; then
13665        have_edbus_ofono_test="yes"
13666     else
13667        have_edbus_ofono_test="no"
13668     fi
13669
13670 else
13671   have_edbus_ofono_test=${enable_eofono}
13672 fi
13673
13674
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13676 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13678 $as_echo "$have_edbus_ofono_test" >&6; }
13679
13680 if test "x$have_edbus_ofono_test" = "xyes"; then
13681    EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13682 fi
13683
13684
13685
13686  if test "x$have_edbus_ofono_test" = "xyes"; then
13687   BUILD_EDBUS_OFONO_TEST_TRUE=
13688   BUILD_EDBUS_OFONO_TEST_FALSE='#'
13689 else
13690   BUILD_EDBUS_OFONO_TEST_TRUE='#'
13691   BUILD_EDBUS_OFONO_TEST_FALSE=
13692 fi
13693
13694
13695 if test "x$have_edbus_ofono_test" = "xyes"; then :
13696
13697 fi
13698
13699
13700
13701
13702
13703
13704 # Check whether --enable-edbus-ukit-test was given.
13705 if test "${enable_edbus_ukit_test+set}" = set; then :
13706   enableval=$enable_edbus_ukit_test;
13707     if test "x${enableval}" = "xyes" ; then
13708        have_edbus_ukit_test="yes"
13709     else
13710        have_edbus_ukit_test="no"
13711     fi
13712
13713 else
13714   have_edbus_ukit_test=${enable_eukit}
13715 fi
13716
13717
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13719 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13721 $as_echo "$have_edbus_ukit_test" >&6; }
13722
13723 if test "x$have_edbus_ukit_test" = "xyes"; then
13724    EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13725 fi
13726
13727
13728
13729  if test "x$have_edbus_ukit_test" = "xyes"; then
13730   BUILD_EDBUS_UKIT_TEST_TRUE=
13731   BUILD_EDBUS_UKIT_TEST_FALSE='#'
13732 else
13733   BUILD_EDBUS_UKIT_TEST_TRUE='#'
13734   BUILD_EDBUS_UKIT_TEST_FALSE=
13735 fi
13736
13737
13738 if test "x$have_edbus_ukit_test" = "xyes"; then :
13739
13740 fi
13741
13742
13743
13744
13745
13746
13747 # Check whether --enable-edbus-performance-test was given.
13748 if test "${enable_edbus_performance_test+set}" = set; then :
13749   enableval=$enable_edbus_performance_test;
13750     if test "x${enableval}" = "xyes" ; then
13751        have_edbus_performance_test="yes"
13752     else
13753        have_edbus_performance_test="no"
13754     fi
13755
13756 else
13757   have_edbus_performance_test="no"
13758 fi
13759
13760
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13762 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13764 $as_echo "$have_edbus_performance_test" >&6; }
13765
13766 if test "x$have_edbus_performance_test" = "xyes"; then
13767    EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13768 fi
13769
13770
13771
13772  if test "x$have_edbus_performance_test" = "xyes"; then
13773   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13774   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13775 else
13776   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13777   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13778 fi
13779
13780
13781 if test "x$have_edbus_performance_test" = "xyes"; then :
13782
13783 fi
13784
13785
13786
13787
13788
13789
13790 # Check whether --enable-edbus-async-test was given.
13791 if test "${enable_edbus_async_test+set}" = set; then :
13792   enableval=$enable_edbus_async_test;
13793     if test "x${enableval}" = "xyes" ; then
13794        have_edbus_async_test="yes"
13795     else
13796        have_edbus_async_test="no"
13797     fi
13798
13799 else
13800   have_edbus_async_test="yes"
13801 fi
13802
13803
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13805 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13807 $as_echo "$have_edbus_async_test" >&6; }
13808
13809 if test "x$have_edbus_async_test" = "xyes"; then
13810    EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13811 fi
13812
13813
13814
13815  if test "x$have_edbus_async_test" = "xyes"; then
13816   BUILD_EDBUS_ASYNC_TEST_TRUE=
13817   BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13818 else
13819   BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13820   BUILD_EDBUS_ASYNC_TEST_FALSE=
13821 fi
13822
13823
13824 if test "x$have_edbus_async_test" = "xyes"; then :
13825
13826 fi
13827
13828
13829
13830 if test "x${have_edbus_test}" = "xyes" ; then
13831
13832 pkg_failed=no
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13834 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13835
13836 if test -n "$EDBUS_TEST_CFLAGS"; then
13837     pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13838  elif test -n "$PKG_CONFIG"; then
13839     if test -n "$PKG_CONFIG" && \
13840     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13841   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
13842   ac_status=$?
13843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13844   test $ac_status = 0; }; then
13845   pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13846 else
13847   pkg_failed=yes
13848 fi
13849  else
13850     pkg_failed=untried
13851 fi
13852 if test -n "$EDBUS_TEST_LIBS"; then
13853     pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13854  elif test -n "$PKG_CONFIG"; then
13855     if test -n "$PKG_CONFIG" && \
13856     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13857   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
13858   ac_status=$?
13859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13860   test $ac_status = 0; }; then
13861   pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13862 else
13863   pkg_failed=yes
13864 fi
13865  else
13866     pkg_failed=untried
13867 fi
13868
13869
13870
13871 if test $pkg_failed = yes; then
13872         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13873 $as_echo "no" >&6; }
13874
13875 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13876         _pkg_short_errors_supported=yes
13877 else
13878         _pkg_short_errors_supported=no
13879 fi
13880         if test $_pkg_short_errors_supported = yes; then
13881                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
13882         else
13883                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
13884         fi
13885         # Put the nasty error message in config.log where it belongs
13886         echo "$EDBUS_TEST_PKG_ERRORS" >&5
13887
13888         have_edbus_test="no"
13889 elif test $pkg_failed = untried; then
13890         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13891 $as_echo "no" >&6; }
13892         have_edbus_test="no"
13893 else
13894         EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13895         EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13896         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13897 $as_echo "yes" >&6; }
13898         have_edbus_test="yes"
13899 fi
13900 fi
13901
13902 if test "x${have_edbus_test_client}" = "xyes" ; then
13903
13904 pkg_failed=no
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13906 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13907
13908 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13909     pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13910  elif test -n "$PKG_CONFIG"; then
13911     if test -n "$PKG_CONFIG" && \
13912     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13913   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
13914   ac_status=$?
13915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13916   test $ac_status = 0; }; then
13917   pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13918 else
13919   pkg_failed=yes
13920 fi
13921  else
13922     pkg_failed=untried
13923 fi
13924 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
13925     pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
13926  elif test -n "$PKG_CONFIG"; then
13927     if test -n "$PKG_CONFIG" && \
13928     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13929   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
13930   ac_status=$?
13931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13932   test $ac_status = 0; }; then
13933   pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13934 else
13935   pkg_failed=yes
13936 fi
13937  else
13938     pkg_failed=untried
13939 fi
13940
13941
13942
13943 if test $pkg_failed = yes; then
13944         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13945 $as_echo "no" >&6; }
13946
13947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13948         _pkg_short_errors_supported=yes
13949 else
13950         _pkg_short_errors_supported=no
13951 fi
13952         if test $_pkg_short_errors_supported = yes; then
13953                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
13954         else
13955                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
13956         fi
13957         # Put the nasty error message in config.log where it belongs
13958         echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
13959
13960         have_edbus_test_client="no"
13961 elif test $pkg_failed = untried; then
13962         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13963 $as_echo "no" >&6; }
13964         have_edbus_test_client="no"
13965 else
13966         EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
13967         EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
13968         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13969 $as_echo "yes" >&6; }
13970         have_edbus_test_client="yes"
13971 fi
13972 fi
13973
13974 if test "x${have_edbus_bluez_test}" = "xyes" ; then
13975
13976 pkg_failed=no
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
13978 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
13979
13980 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
13981     pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
13982  elif test -n "$PKG_CONFIG"; then
13983     if test -n "$PKG_CONFIG" && \
13984     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13985   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
13986   ac_status=$?
13987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13988   test $ac_status = 0; }; then
13989   pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13990 else
13991   pkg_failed=yes
13992 fi
13993  else
13994     pkg_failed=untried
13995 fi
13996 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
13997     pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
13998  elif test -n "$PKG_CONFIG"; then
13999     if test -n "$PKG_CONFIG" && \
14000     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14001   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14002   ac_status=$?
14003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14004   test $ac_status = 0; }; then
14005   pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14006 else
14007   pkg_failed=yes
14008 fi
14009  else
14010     pkg_failed=untried
14011 fi
14012
14013
14014
14015 if test $pkg_failed = yes; then
14016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14017 $as_echo "no" >&6; }
14018
14019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14020         _pkg_short_errors_supported=yes
14021 else
14022         _pkg_short_errors_supported=no
14023 fi
14024         if test $_pkg_short_errors_supported = yes; then
14025                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14026         else
14027                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14028         fi
14029         # Put the nasty error message in config.log where it belongs
14030         echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14031
14032         have_edbus_bluez_test="no"
14033 elif test $pkg_failed = untried; then
14034         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14035 $as_echo "no" >&6; }
14036         have_edbus_bluez_test="no"
14037 else
14038         EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14039         EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14040         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14041 $as_echo "yes" >&6; }
14042         have_edbus_bluez_test="yes"
14043 fi
14044 fi
14045
14046 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14047
14048 pkg_failed=no
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14050 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14051
14052 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14053     pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14054  elif test -n "$PKG_CONFIG"; then
14055     if test -n "$PKG_CONFIG" && \
14056     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14057   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14058   ac_status=$?
14059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14060   test $ac_status = 0; }; then
14061   pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14062 else
14063   pkg_failed=yes
14064 fi
14065  else
14066     pkg_failed=untried
14067 fi
14068 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14069     pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14070  elif test -n "$PKG_CONFIG"; then
14071     if test -n "$PKG_CONFIG" && \
14072     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14073   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14074   ac_status=$?
14075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14076   test $ac_status = 0; }; then
14077   pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14078 else
14079   pkg_failed=yes
14080 fi
14081  else
14082     pkg_failed=untried
14083 fi
14084
14085
14086
14087 if test $pkg_failed = yes; then
14088         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14089 $as_echo "no" >&6; }
14090
14091 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14092         _pkg_short_errors_supported=yes
14093 else
14094         _pkg_short_errors_supported=no
14095 fi
14096         if test $_pkg_short_errors_supported = yes; then
14097                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14098         else
14099                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14100         fi
14101         # Put the nasty error message in config.log where it belongs
14102         echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14103
14104         have_edbus_connman0_7x_test="no"
14105 elif test $pkg_failed = untried; then
14106         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14107 $as_echo "no" >&6; }
14108         have_edbus_connman0_7x_test="no"
14109 else
14110         EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14111         EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14112         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14113 $as_echo "yes" >&6; }
14114         have_edbus_connman0_7x_test="yes"
14115 fi
14116 fi
14117
14118 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14119
14120 pkg_failed=no
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14122 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14123
14124 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14125     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14126  elif test -n "$PKG_CONFIG"; then
14127     if test -n "$PKG_CONFIG" && \
14128     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14129   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14130   ac_status=$?
14131   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14132   test $ac_status = 0; }; then
14133   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14134 else
14135   pkg_failed=yes
14136 fi
14137  else
14138     pkg_failed=untried
14139 fi
14140 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14141     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
14142  elif test -n "$PKG_CONFIG"; then
14143     if test -n "$PKG_CONFIG" && \
14144     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14145   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14146   ac_status=$?
14147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14148   test $ac_status = 0; }; then
14149   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14150 else
14151   pkg_failed=yes
14152 fi
14153  else
14154     pkg_failed=untried
14155 fi
14156
14157
14158
14159 if test $pkg_failed = yes; then
14160         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14161 $as_echo "no" >&6; }
14162
14163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14164         _pkg_short_errors_supported=yes
14165 else
14166         _pkg_short_errors_supported=no
14167 fi
14168         if test $_pkg_short_errors_supported = yes; then
14169                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14170         else
14171                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14172         fi
14173         # Put the nasty error message in config.log where it belongs
14174         echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14175
14176         have_edbus_notification_daemon_test="no"
14177 elif test $pkg_failed = untried; then
14178         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14179 $as_echo "no" >&6; }
14180         have_edbus_notification_daemon_test="no"
14181 else
14182         EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14183         EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14184         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14185 $as_echo "yes" >&6; }
14186         have_edbus_notification_daemon_test="yes"
14187 fi
14188 fi
14189
14190 if test "x${have_edbus_notify_send}" = "xyes" ; then
14191
14192 pkg_failed=no
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14194 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14195
14196 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14197     pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14198  elif test -n "$PKG_CONFIG"; then
14199     if test -n "$PKG_CONFIG" && \
14200     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14201   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14202   ac_status=$?
14203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14204   test $ac_status = 0; }; then
14205   pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14206 else
14207   pkg_failed=yes
14208 fi
14209  else
14210     pkg_failed=untried
14211 fi
14212 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14213     pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14214  elif test -n "$PKG_CONFIG"; then
14215     if test -n "$PKG_CONFIG" && \
14216     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14217   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14218   ac_status=$?
14219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14220   test $ac_status = 0; }; then
14221   pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14222 else
14223   pkg_failed=yes
14224 fi
14225  else
14226     pkg_failed=untried
14227 fi
14228
14229
14230
14231 if test $pkg_failed = yes; then
14232         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14233 $as_echo "no" >&6; }
14234
14235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14236         _pkg_short_errors_supported=yes
14237 else
14238         _pkg_short_errors_supported=no
14239 fi
14240         if test $_pkg_short_errors_supported = yes; then
14241                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14242         else
14243                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14244         fi
14245         # Put the nasty error message in config.log where it belongs
14246         echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14247
14248         have_edbus_notify_send="no"
14249 elif test $pkg_failed = untried; then
14250         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 $as_echo "no" >&6; }
14252         have_edbus_notify_send="no"
14253 else
14254         EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14255         EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14256         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14257 $as_echo "yes" >&6; }
14258         have_edbus_notify_send="yes"
14259 fi
14260 fi
14261
14262 if test "x${have_edbus_notify_test}" = "xyes" ; then
14263
14264 pkg_failed=no
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14266 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14267
14268 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14269     pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14270  elif test -n "$PKG_CONFIG"; then
14271     if test -n "$PKG_CONFIG" && \
14272     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14273   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14274   ac_status=$?
14275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14276   test $ac_status = 0; }; then
14277   pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14278 else
14279   pkg_failed=yes
14280 fi
14281  else
14282     pkg_failed=untried
14283 fi
14284 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14285     pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14286  elif test -n "$PKG_CONFIG"; then
14287     if test -n "$PKG_CONFIG" && \
14288     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14289   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14290   ac_status=$?
14291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14292   test $ac_status = 0; }; then
14293   pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14294 else
14295   pkg_failed=yes
14296 fi
14297  else
14298     pkg_failed=untried
14299 fi
14300
14301
14302
14303 if test $pkg_failed = yes; then
14304         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14305 $as_echo "no" >&6; }
14306
14307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14308         _pkg_short_errors_supported=yes
14309 else
14310         _pkg_short_errors_supported=no
14311 fi
14312         if test $_pkg_short_errors_supported = yes; then
14313                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14314         else
14315                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14316         fi
14317         # Put the nasty error message in config.log where it belongs
14318         echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14319
14320         have_edbus_notify_test="no"
14321 elif test $pkg_failed = untried; then
14322         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14323 $as_echo "no" >&6; }
14324         have_edbus_notify_test="no"
14325 else
14326         EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14327         EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14328         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14329 $as_echo "yes" >&6; }
14330         have_edbus_notify_test="yes"
14331 fi
14332 fi
14333
14334 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14335
14336 pkg_failed=no
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14338 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14339
14340 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14341     pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14342  elif test -n "$PKG_CONFIG"; then
14343     if test -n "$PKG_CONFIG" && \
14344     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14345   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14346   ac_status=$?
14347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14348   test $ac_status = 0; }; then
14349   pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14350 else
14351   pkg_failed=yes
14352 fi
14353  else
14354     pkg_failed=untried
14355 fi
14356 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14357     pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14358  elif test -n "$PKG_CONFIG"; then
14359     if test -n "$PKG_CONFIG" && \
14360     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14361   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14362   ac_status=$?
14363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14364   test $ac_status = 0; }; then
14365   pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14366 else
14367   pkg_failed=yes
14368 fi
14369  else
14370     pkg_failed=untried
14371 fi
14372
14373
14374
14375 if test $pkg_failed = yes; then
14376         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14377 $as_echo "no" >&6; }
14378
14379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14380         _pkg_short_errors_supported=yes
14381 else
14382         _pkg_short_errors_supported=no
14383 fi
14384         if test $_pkg_short_errors_supported = yes; then
14385                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14386         else
14387                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14388         fi
14389         # Put the nasty error message in config.log where it belongs
14390         echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14391
14392         have_edbus_ofono_test="no"
14393 elif test $pkg_failed = untried; then
14394         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14396         have_edbus_ofono_test="no"
14397 else
14398         EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14399         EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14400         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14401 $as_echo "yes" >&6; }
14402         have_edbus_ofono_test="yes"
14403 fi
14404 fi
14405
14406 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14407
14408 pkg_failed=no
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14410 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14411
14412 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14413     pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14414  elif test -n "$PKG_CONFIG"; then
14415     if test -n "$PKG_CONFIG" && \
14416     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14417   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14418   ac_status=$?
14419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14420   test $ac_status = 0; }; then
14421   pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14422 else
14423   pkg_failed=yes
14424 fi
14425  else
14426     pkg_failed=untried
14427 fi
14428 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14429     pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14430  elif test -n "$PKG_CONFIG"; then
14431     if test -n "$PKG_CONFIG" && \
14432     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14433   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14434   ac_status=$?
14435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14436   test $ac_status = 0; }; then
14437   pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14438 else
14439   pkg_failed=yes
14440 fi
14441  else
14442     pkg_failed=untried
14443 fi
14444
14445
14446
14447 if test $pkg_failed = yes; then
14448         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14449 $as_echo "no" >&6; }
14450
14451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14452         _pkg_short_errors_supported=yes
14453 else
14454         _pkg_short_errors_supported=no
14455 fi
14456         if test $_pkg_short_errors_supported = yes; then
14457                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14458         else
14459                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14460         fi
14461         # Put the nasty error message in config.log where it belongs
14462         echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14463
14464         have_edbus_ukit_test="no"
14465 elif test $pkg_failed = untried; then
14466         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14467 $as_echo "no" >&6; }
14468         have_edbus_ukit_test="no"
14469 else
14470         EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14471         EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14472         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14473 $as_echo "yes" >&6; }
14474         have_edbus_ukit_test="yes"
14475 fi
14476 fi
14477
14478 if test "x${have_edbus_performance_test}" = "xyes" ; then
14479
14480 pkg_failed=no
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14482 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14483
14484 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14485     pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14486  elif test -n "$PKG_CONFIG"; then
14487     if test -n "$PKG_CONFIG" && \
14488     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7\""; } >&5
14489   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7") 2>&5
14490   ac_status=$?
14491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14492   test $ac_status = 0; }; then
14493   pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7" 2>/dev/null`
14494 else
14495   pkg_failed=yes
14496 fi
14497  else
14498     pkg_failed=untried
14499 fi
14500 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14501     pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14502  elif test -n "$PKG_CONFIG"; then
14503     if test -n "$PKG_CONFIG" && \
14504     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7\""; } >&5
14505   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7") 2>&5
14506   ac_status=$?
14507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14508   test $ac_status = 0; }; then
14509   pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7" 2>/dev/null`
14510 else
14511   pkg_failed=yes
14512 fi
14513  else
14514     pkg_failed=untried
14515 fi
14516
14517
14518
14519 if test $pkg_failed = yes; then
14520         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14521 $as_echo "no" >&6; }
14522
14523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14524         _pkg_short_errors_supported=yes
14525 else
14526         _pkg_short_errors_supported=no
14527 fi
14528         if test $_pkg_short_errors_supported = yes; then
14529                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7" 2>&1`
14530         else
14531                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7" 2>&1`
14532         fi
14533         # Put the nasty error message in config.log where it belongs
14534         echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14535
14536         have_edbus_performance_test="no"
14537 elif test $pkg_failed = untried; then
14538         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14539 $as_echo "no" >&6; }
14540         have_edbus_performance_test="no"
14541 else
14542         EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14543         EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14544         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14545 $as_echo "yes" >&6; }
14546         have_edbus_performance_test="yes"
14547 fi
14548 fi
14549
14550  if test "x${have_edbus_performance_test}" = "xyes"; then
14551   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14552   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14553 else
14554   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14555   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14556 fi
14557
14558
14559 if test "x${have_edbus_async_test}" = "xyes" ; then
14560
14561 pkg_failed=no
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14563 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14564
14565 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14566     pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14567  elif test -n "$PKG_CONFIG"; then
14568     if test -n "$PKG_CONFIG" && \
14569     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14570   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
14571   ac_status=$?
14572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14573   test $ac_status = 0; }; then
14574   pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14575 else
14576   pkg_failed=yes
14577 fi
14578  else
14579     pkg_failed=untried
14580 fi
14581 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14582     pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14583  elif test -n "$PKG_CONFIG"; then
14584     if test -n "$PKG_CONFIG" && \
14585     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14586   ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
14587   ac_status=$?
14588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14589   test $ac_status = 0; }; then
14590   pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14591 else
14592   pkg_failed=yes
14593 fi
14594  else
14595     pkg_failed=untried
14596 fi
14597
14598
14599
14600 if test $pkg_failed = yes; then
14601         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14602 $as_echo "no" >&6; }
14603
14604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14605         _pkg_short_errors_supported=yes
14606 else
14607         _pkg_short_errors_supported=no
14608 fi
14609         if test $_pkg_short_errors_supported = yes; then
14610                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14611         else
14612                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14613         fi
14614         # Put the nasty error message in config.log where it belongs
14615         echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14616
14617         have_edbus_async_test="no"
14618 elif test $pkg_failed = untried; then
14619         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14620 $as_echo "no" >&6; }
14621         have_edbus_async_test="no"
14622 else
14623         EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14624         EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14625         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14626 $as_echo "yes" >&6; }
14627         have_edbus_async_test="yes"
14628 fi
14629 fi
14630
14631 ### Checks for header files
14632
14633
14634 ### Checks for types
14635
14636
14637 ### Checks for structures
14638
14639
14640 ### Checks for compiler characteristics
14641
14642 EFL_EDBUS_BUILD=""
14643 case "$host_os" in
14644    mingw*)
14645       EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14646    ;;
14647 esac
14648
14649
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14651 $as_echo_n "checking for ANSI C header files... " >&6; }
14652 if ${ac_cv_header_stdc+:} false; then :
14653   $as_echo_n "(cached) " >&6
14654 else
14655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h.  */
14657 #include <stdlib.h>
14658 #include <stdarg.h>
14659 #include <string.h>
14660 #include <float.h>
14661
14662 int
14663 main ()
14664 {
14665
14666   ;
14667   return 0;
14668 }
14669 _ACEOF
14670 if ac_fn_c_try_compile "$LINENO"; then :
14671   ac_cv_header_stdc=yes
14672 else
14673   ac_cv_header_stdc=no
14674 fi
14675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14676
14677 if test $ac_cv_header_stdc = yes; then
14678   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h.  */
14681 #include <string.h>
14682
14683 _ACEOF
14684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14685   $EGREP "memchr" >/dev/null 2>&1; then :
14686
14687 else
14688   ac_cv_header_stdc=no
14689 fi
14690 rm -f conftest*
14691
14692 fi
14693
14694 if test $ac_cv_header_stdc = yes; then
14695   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h.  */
14698 #include <stdlib.h>
14699
14700 _ACEOF
14701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14702   $EGREP "free" >/dev/null 2>&1; then :
14703
14704 else
14705   ac_cv_header_stdc=no
14706 fi
14707 rm -f conftest*
14708
14709 fi
14710
14711 if test $ac_cv_header_stdc = yes; then
14712   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14713   if test "$cross_compiling" = yes; then :
14714   :
14715 else
14716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h.  */
14718 #include <ctype.h>
14719 #include <stdlib.h>
14720 #if ((' ' & 0x0FF) == 0x020)
14721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14723 #else
14724 # define ISLOWER(c) \
14725                    (('a' <= (c) && (c) <= 'i') \
14726                      || ('j' <= (c) && (c) <= 'r') \
14727                      || ('s' <= (c) && (c) <= 'z'))
14728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14729 #endif
14730
14731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14732 int
14733 main ()
14734 {
14735   int i;
14736   for (i = 0; i < 256; i++)
14737     if (XOR (islower (i), ISLOWER (i))
14738         || toupper (i) != TOUPPER (i))
14739       return 2;
14740   return 0;
14741 }
14742 _ACEOF
14743 if ac_fn_c_try_run "$LINENO"; then :
14744
14745 else
14746   ac_cv_header_stdc=no
14747 fi
14748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14749   conftest.$ac_objext conftest.beam conftest.$ac_ext
14750 fi
14751
14752 fi
14753 fi
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14755 $as_echo "$ac_cv_header_stdc" >&6; }
14756 if test $ac_cv_header_stdc = yes; then
14757
14758 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14759
14760 fi
14761
14762
14763
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14765 $as_echo_n "checking for __attribute__... " >&6; }
14766
14767 if ${ac_cv___attribute__+:} false; then :
14768   $as_echo_n "(cached) " >&6
14769 else
14770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h.  */
14772
14773 #include <stdlib.h>
14774
14775 int func(int x);
14776 int foo(int x __attribute__ ((unused)))
14777 {
14778    exit(1);
14779 }
14780
14781 int
14782 main ()
14783 {
14784
14785   ;
14786   return 0;
14787 }
14788 _ACEOF
14789 if ac_fn_c_try_compile "$LINENO"; then :
14790   ac_cv___attribute__="yes"
14791 else
14792   ac_cv___attribute__="no"
14793
14794 fi
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 fi
14797
14798
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14800 $as_echo "$ac_cv___attribute__" >&6; }
14801
14802 if test "x${ac_cv___attribute__}" = "xyes" ; then
14803
14804 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14805
14806
14807 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14808
14809   else
14810
14811 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14812
14813 fi
14814
14815
14816
14817 if ! test "x${VMIC}" = "x" ; then
14818
14819
14820 CFLAGS_save="${CFLAGS}"
14821 CFLAGS="${CFLAGS} -Wall"
14822
14823 ac_ext=c
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14828
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14830 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14831
14832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h.  */
14834
14835 int
14836 main ()
14837 {
14838
14839   ;
14840   return 0;
14841 }
14842 _ACEOF
14843 if ac_fn_c_try_compile "$LINENO"; then :
14844   have_flag="yes"
14845 else
14846   have_flag="no"
14847 fi
14848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14850 $as_echo "${have_flag}" >&6; }
14851
14852 if test "x${have_flag}" = "xno" ; then
14853    CFLAGS="${CFLAGS_save}"
14854 fi
14855 ac_ext=c
14856 ac_cpp='$CPP $CPPFLAGS'
14857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14860
14861
14862
14863
14864
14865 CFLAGS_save="${CFLAGS}"
14866 CFLAGS="${CFLAGS} -W"
14867
14868 ac_ext=c
14869 ac_cpp='$CPP $CPPFLAGS'
14870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14873
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14875 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14876
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h.  */
14879
14880 int
14881 main ()
14882 {
14883
14884   ;
14885   return 0;
14886 }
14887 _ACEOF
14888 if ac_fn_c_try_compile "$LINENO"; then :
14889   have_flag="yes"
14890 else
14891   have_flag="no"
14892 fi
14893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14895 $as_echo "${have_flag}" >&6; }
14896
14897 if test "x${have_flag}" = "xno" ; then
14898    CFLAGS="${CFLAGS_save}"
14899 fi
14900 ac_ext=c
14901 ac_cpp='$CPP $CPPFLAGS'
14902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14905
14906
14907
14908 fi
14909
14910
14911
14912 CFLAGS_save="${CFLAGS}"
14913 CFLAGS="${CFLAGS} -Wshadow"
14914
14915 ac_ext=c
14916 ac_cpp='$CPP $CPPFLAGS'
14917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14920
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
14922 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
14923
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h.  */
14926
14927 int
14928 main ()
14929 {
14930
14931   ;
14932   return 0;
14933 }
14934 _ACEOF
14935 if ac_fn_c_try_compile "$LINENO"; then :
14936   have_flag="yes"
14937 else
14938   have_flag="no"
14939 fi
14940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14942 $as_echo "${have_flag}" >&6; }
14943
14944 if test "x${have_flag}" = "xno" ; then
14945    CFLAGS="${CFLAGS_save}"
14946 fi
14947 ac_ext=c
14948 ac_cpp='$CPP $CPPFLAGS'
14949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14952
14953
14954
14955
14956
14957 ### Checks for linker characteristics
14958
14959 lt_enable_auto_import=""
14960 case "$host_os" in
14961    mingw*)
14962       lt_enable_auto_import="-Wl,--enable-auto-import"
14963    ;;
14964 esac
14965
14966
14967
14968 ### Checks for library functions
14969
14970 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14971 if test "x$ac_cv_type_size_t" = xyes; then :
14972
14973 else
14974
14975 cat >>confdefs.h <<_ACEOF
14976 #define size_t unsigned int
14977 _ACEOF
14978
14979 fi
14980
14981 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14982 # for constant arguments.  Useless!
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14984 $as_echo_n "checking for working alloca.h... " >&6; }
14985 if ${ac_cv_working_alloca_h+:} false; then :
14986   $as_echo_n "(cached) " >&6
14987 else
14988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h.  */
14990 #include <alloca.h>
14991 int
14992 main ()
14993 {
14994 char *p = (char *) alloca (2 * sizeof (int));
14995                           if (p) return 0;
14996   ;
14997   return 0;
14998 }
14999 _ACEOF
15000 if ac_fn_c_try_link "$LINENO"; then :
15001   ac_cv_working_alloca_h=yes
15002 else
15003   ac_cv_working_alloca_h=no
15004 fi
15005 rm -f core conftest.err conftest.$ac_objext \
15006     conftest$ac_exeext conftest.$ac_ext
15007 fi
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15009 $as_echo "$ac_cv_working_alloca_h" >&6; }
15010 if test $ac_cv_working_alloca_h = yes; then
15011
15012 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15013
15014 fi
15015
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15017 $as_echo_n "checking for alloca... " >&6; }
15018 if ${ac_cv_func_alloca_works+:} false; then :
15019   $as_echo_n "(cached) " >&6
15020 else
15021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15022 /* end confdefs.h.  */
15023 #ifdef __GNUC__
15024 # define alloca __builtin_alloca
15025 #else
15026 # ifdef _MSC_VER
15027 #  include <malloc.h>
15028 #  define alloca _alloca
15029 # else
15030 #  ifdef HAVE_ALLOCA_H
15031 #   include <alloca.h>
15032 #  else
15033 #   ifdef _AIX
15034  #pragma alloca
15035 #   else
15036 #    ifndef alloca /* predefined by HP cc +Olibcalls */
15037 void *alloca (size_t);
15038 #    endif
15039 #   endif
15040 #  endif
15041 # endif
15042 #endif
15043
15044 int
15045 main ()
15046 {
15047 char *p = (char *) alloca (1);
15048                                     if (p) return 0;
15049   ;
15050   return 0;
15051 }
15052 _ACEOF
15053 if ac_fn_c_try_link "$LINENO"; then :
15054   ac_cv_func_alloca_works=yes
15055 else
15056   ac_cv_func_alloca_works=no
15057 fi
15058 rm -f core conftest.err conftest.$ac_objext \
15059     conftest$ac_exeext conftest.$ac_ext
15060 fi
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15062 $as_echo "$ac_cv_func_alloca_works" >&6; }
15063
15064 if test $ac_cv_func_alloca_works = yes; then
15065
15066 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15067
15068 else
15069   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15070 # that cause trouble.  Some versions do not even contain alloca or
15071 # contain a buggy version.  If you still want to use their alloca,
15072 # use ar to extract alloca.o from them instead of compiling alloca.c.
15073
15074 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15075
15076 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15077
15078
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15080 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15081 if ${ac_cv_os_cray+:} false; then :
15082   $as_echo_n "(cached) " >&6
15083 else
15084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h.  */
15086 #if defined CRAY && ! defined CRAY2
15087 webecray
15088 #else
15089 wenotbecray
15090 #endif
15091
15092 _ACEOF
15093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15094   $EGREP "webecray" >/dev/null 2>&1; then :
15095   ac_cv_os_cray=yes
15096 else
15097   ac_cv_os_cray=no
15098 fi
15099 rm -f conftest*
15100
15101 fi
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15103 $as_echo "$ac_cv_os_cray" >&6; }
15104 if test $ac_cv_os_cray = yes; then
15105   for ac_func in _getb67 GETB67 getb67; do
15106     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15109
15110 cat >>confdefs.h <<_ACEOF
15111 #define CRAY_STACKSEG_END $ac_func
15112 _ACEOF
15113
15114     break
15115 fi
15116
15117   done
15118 fi
15119
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15121 $as_echo_n "checking stack direction for C alloca... " >&6; }
15122 if ${ac_cv_c_stack_direction+:} false; then :
15123   $as_echo_n "(cached) " >&6
15124 else
15125   if test "$cross_compiling" = yes; then :
15126   ac_cv_c_stack_direction=0
15127 else
15128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h.  */
15130 $ac_includes_default
15131 int
15132 find_stack_direction ()
15133 {
15134   static char *addr = 0;
15135   auto char dummy;
15136   if (addr == 0)
15137     {
15138       addr = &dummy;
15139       return find_stack_direction ();
15140     }
15141   else
15142     return (&dummy > addr) ? 1 : -1;
15143 }
15144
15145 int
15146 main ()
15147 {
15148   return find_stack_direction () < 0;
15149 }
15150 _ACEOF
15151 if ac_fn_c_try_run "$LINENO"; then :
15152   ac_cv_c_stack_direction=1
15153 else
15154   ac_cv_c_stack_direction=-1
15155 fi
15156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15157   conftest.$ac_objext conftest.beam conftest.$ac_ext
15158 fi
15159
15160 fi
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15162 $as_echo "$ac_cv_c_stack_direction" >&6; }
15163 cat >>confdefs.h <<_ACEOF
15164 #define STACK_DIRECTION $ac_cv_c_stack_direction
15165 _ACEOF
15166
15167
15168 fi
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180 ac_config_files="$ac_config_files e_dbus.spec Makefile doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/lib/bluez/Makefile src/lib/connman0_7x/Makefile src/lib/dbus/Makefile src/lib/hal/Makefile src/lib/notification/Makefile src/lib/ofono/Makefile src/lib/ukit/Makefile src/bin/Makefile ebluez.pc econnman-0.7x.pc edbus.pc ehal.pc enotify.pc eofono.pc eukit.pc"
15181
15182 cat >confcache <<\_ACEOF
15183 # This file is a shell script that caches the results of configure
15184 # tests run on this system so they can be shared between configure
15185 # scripts and configure runs, see configure's option --config-cache.
15186 # It is not useful on other systems.  If it contains results you don't
15187 # want to keep, you may remove or edit it.
15188 #
15189 # config.status only pays attention to the cache file if you give it
15190 # the --recheck option to rerun configure.
15191 #
15192 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15193 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15194 # following values.
15195
15196 _ACEOF
15197
15198 # The following way of writing the cache mishandles newlines in values,
15199 # but we know of no workaround that is simple, portable, and efficient.
15200 # So, we kill variables containing newlines.
15201 # Ultrix sh set writes to stderr and can't be redirected directly,
15202 # and sets the high bit in the cache file unless we assign to the vars.
15203 (
15204   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15205     eval ac_val=\$$ac_var
15206     case $ac_val in #(
15207     *${as_nl}*)
15208       case $ac_var in #(
15209       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15210 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15211       esac
15212       case $ac_var in #(
15213       _ | IFS | as_nl) ;; #(
15214       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15215       *) { eval $ac_var=; unset $ac_var;} ;;
15216       esac ;;
15217     esac
15218   done
15219
15220   (set) 2>&1 |
15221     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15222     *${as_nl}ac_space=\ *)
15223       # `set' does not quote correctly, so add quotes: double-quote
15224       # substitution turns \\\\ into \\, and sed turns \\ into \.
15225       sed -n \
15226         "s/'/'\\\\''/g;
15227           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15228       ;; #(
15229     *)
15230       # `set' quotes correctly as required by POSIX, so do not add quotes.
15231       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15232       ;;
15233     esac |
15234     sort
15235 ) |
15236   sed '
15237      /^ac_cv_env_/b end
15238      t clear
15239      :clear
15240      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15241      t end
15242      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15243      :end' >>confcache
15244 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15245   if test -w "$cache_file"; then
15246     if test "x$cache_file" != "x/dev/null"; then
15247       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15248 $as_echo "$as_me: updating cache $cache_file" >&6;}
15249       if test ! -f "$cache_file" || test -h "$cache_file"; then
15250         cat confcache >"$cache_file"
15251       else
15252         case $cache_file in #(
15253         */* | ?:*)
15254           mv -f confcache "$cache_file"$$ &&
15255           mv -f "$cache_file"$$ "$cache_file" ;; #(
15256         *)
15257           mv -f confcache "$cache_file" ;;
15258         esac
15259       fi
15260     fi
15261   else
15262     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15263 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15264   fi
15265 fi
15266 rm -f confcache
15267
15268 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15269 # Let make expand exec_prefix.
15270 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15271
15272 DEFS=-DHAVE_CONFIG_H
15273
15274 ac_libobjs=
15275 ac_ltlibobjs=
15276 U=
15277 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15278   # 1. Remove the extension, and $U if already installed.
15279   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15280   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15281   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15282   #    will be set to the directory where LIBOBJS objects are built.
15283   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15284   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15285 done
15286 LIBOBJS=$ac_libobjs
15287
15288 LTLIBOBJS=$ac_ltlibobjs
15289
15290
15291  if test -n "$EXEEXT"; then
15292   am__EXEEXT_TRUE=
15293   am__EXEEXT_FALSE='#'
15294 else
15295   am__EXEEXT_TRUE='#'
15296   am__EXEEXT_FALSE=
15297 fi
15298
15299 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15300   as_fn_error $? "conditional \"AMDEP\" was never defined.
15301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15302 fi
15303 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15304   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15306 fi
15307 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15308   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15310 fi
15311 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15312   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15314 fi
15315 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15316   as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15318 fi
15319 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15320   as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15322 fi
15323 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15324   as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15326 fi
15327 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15328   as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15330 fi
15331 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15332   as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15334 fi
15335 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15336   as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15338 fi
15339 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15340   as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15342 fi
15343 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15344   as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15346 fi
15347 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15348   as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15350 fi
15351 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15352   as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15354 fi
15355 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15356   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15358 fi
15359 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15360   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15362 fi
15363 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15364   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15366 fi
15367 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15368   as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15370 fi
15371 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15372   as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15374 fi
15375 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15376   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15378 fi
15379 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15380   as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15382 fi
15383 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15384   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15386 fi
15387
15388 : "${CONFIG_STATUS=./config.status}"
15389 ac_write_fail=0
15390 ac_clean_files_save=$ac_clean_files
15391 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15393 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15394 as_write_fail=0
15395 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15396 #! $SHELL
15397 # Generated by $as_me.
15398 # Run this file to recreate the current configuration.
15399 # Compiler output produced by configure, useful for debugging
15400 # configure, is in config.log if it exists.
15401
15402 debug=false
15403 ac_cs_recheck=false
15404 ac_cs_silent=false
15405
15406 SHELL=\${CONFIG_SHELL-$SHELL}
15407 export SHELL
15408 _ASEOF
15409 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15410 ## -------------------- ##
15411 ## M4sh Initialization. ##
15412 ## -------------------- ##
15413
15414 # Be more Bourne compatible
15415 DUALCASE=1; export DUALCASE # for MKS sh
15416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15417   emulate sh
15418   NULLCMD=:
15419   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15420   # is contrary to our usage.  Disable this feature.
15421   alias -g '${1+"$@"}'='"$@"'
15422   setopt NO_GLOB_SUBST
15423 else
15424   case `(set -o) 2>/dev/null` in #(
15425   *posix*) :
15426     set -o posix ;; #(
15427   *) :
15428      ;;
15429 esac
15430 fi
15431
15432
15433 as_nl='
15434 '
15435 export as_nl
15436 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15437 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15438 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15439 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15440 # Prefer a ksh shell builtin over an external printf program on Solaris,
15441 # but without wasting forks for bash or zsh.
15442 if test -z "$BASH_VERSION$ZSH_VERSION" \
15443     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15444   as_echo='print -r --'
15445   as_echo_n='print -rn --'
15446 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15447   as_echo='printf %s\n'
15448   as_echo_n='printf %s'
15449 else
15450   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15451     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15452     as_echo_n='/usr/ucb/echo -n'
15453   else
15454     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15455     as_echo_n_body='eval
15456       arg=$1;
15457       case $arg in #(
15458       *"$as_nl"*)
15459         expr "X$arg" : "X\\(.*\\)$as_nl";
15460         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15461       esac;
15462       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15463     '
15464     export as_echo_n_body
15465     as_echo_n='sh -c $as_echo_n_body as_echo'
15466   fi
15467   export as_echo_body
15468   as_echo='sh -c $as_echo_body as_echo'
15469 fi
15470
15471 # The user is always right.
15472 if test "${PATH_SEPARATOR+set}" != set; then
15473   PATH_SEPARATOR=:
15474   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15475     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15476       PATH_SEPARATOR=';'
15477   }
15478 fi
15479
15480
15481 # IFS
15482 # We need space, tab and new line, in precisely that order.  Quoting is
15483 # there to prevent editors from complaining about space-tab.
15484 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15485 # splitting by setting IFS to empty value.)
15486 IFS=" ""        $as_nl"
15487
15488 # Find who we are.  Look in the path if we contain no directory separator.
15489 as_myself=
15490 case $0 in #((
15491   *[\\/]* ) as_myself=$0 ;;
15492   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15493 for as_dir in $PATH
15494 do
15495   IFS=$as_save_IFS
15496   test -z "$as_dir" && as_dir=.
15497     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15498   done
15499 IFS=$as_save_IFS
15500
15501      ;;
15502 esac
15503 # We did not find ourselves, most probably we were run as `sh COMMAND'
15504 # in which case we are not to be found in the path.
15505 if test "x$as_myself" = x; then
15506   as_myself=$0
15507 fi
15508 if test ! -f "$as_myself"; then
15509   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15510   exit 1
15511 fi
15512
15513 # Unset variables that we do not need and which cause bugs (e.g. in
15514 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15515 # suppresses any "Segmentation fault" message there.  '((' could
15516 # trigger a bug in pdksh 5.2.14.
15517 for as_var in BASH_ENV ENV MAIL MAILPATH
15518 do eval test x\${$as_var+set} = xset \
15519   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15520 done
15521 PS1='$ '
15522 PS2='> '
15523 PS4='+ '
15524
15525 # NLS nuisances.
15526 LC_ALL=C
15527 export LC_ALL
15528 LANGUAGE=C
15529 export LANGUAGE
15530
15531 # CDPATH.
15532 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15533
15534
15535 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15536 # ----------------------------------------
15537 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15538 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15539 # script with STATUS, using 1 if that was 0.
15540 as_fn_error ()
15541 {
15542   as_status=$1; test $as_status -eq 0 && as_status=1
15543   if test "$4"; then
15544     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15545     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15546   fi
15547   $as_echo "$as_me: error: $2" >&2
15548   as_fn_exit $as_status
15549 } # as_fn_error
15550
15551
15552 # as_fn_set_status STATUS
15553 # -----------------------
15554 # Set $? to STATUS, without forking.
15555 as_fn_set_status ()
15556 {
15557   return $1
15558 } # as_fn_set_status
15559
15560 # as_fn_exit STATUS
15561 # -----------------
15562 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15563 as_fn_exit ()
15564 {
15565   set +e
15566   as_fn_set_status $1
15567   exit $1
15568 } # as_fn_exit
15569
15570 # as_fn_unset VAR
15571 # ---------------
15572 # Portably unset VAR.
15573 as_fn_unset ()
15574 {
15575   { eval $1=; unset $1;}
15576 }
15577 as_unset=as_fn_unset
15578 # as_fn_append VAR VALUE
15579 # ----------------------
15580 # Append the text in VALUE to the end of the definition contained in VAR. Take
15581 # advantage of any shell optimizations that allow amortized linear growth over
15582 # repeated appends, instead of the typical quadratic growth present in naive
15583 # implementations.
15584 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15585   eval 'as_fn_append ()
15586   {
15587     eval $1+=\$2
15588   }'
15589 else
15590   as_fn_append ()
15591   {
15592     eval $1=\$$1\$2
15593   }
15594 fi # as_fn_append
15595
15596 # as_fn_arith ARG...
15597 # ------------------
15598 # Perform arithmetic evaluation on the ARGs, and store the result in the
15599 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15600 # must be portable across $(()) and expr.
15601 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15602   eval 'as_fn_arith ()
15603   {
15604     as_val=$(( $* ))
15605   }'
15606 else
15607   as_fn_arith ()
15608   {
15609     as_val=`expr "$@" || test $? -eq 1`
15610   }
15611 fi # as_fn_arith
15612
15613
15614 if expr a : '\(a\)' >/dev/null 2>&1 &&
15615    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15616   as_expr=expr
15617 else
15618   as_expr=false
15619 fi
15620
15621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15622   as_basename=basename
15623 else
15624   as_basename=false
15625 fi
15626
15627 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15628   as_dirname=dirname
15629 else
15630   as_dirname=false
15631 fi
15632
15633 as_me=`$as_basename -- "$0" ||
15634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15635          X"$0" : 'X\(//\)$' \| \
15636          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15637 $as_echo X/"$0" |
15638     sed '/^.*\/\([^/][^/]*\)\/*$/{
15639             s//\1/
15640             q
15641           }
15642           /^X\/\(\/\/\)$/{
15643             s//\1/
15644             q
15645           }
15646           /^X\/\(\/\).*/{
15647             s//\1/
15648             q
15649           }
15650           s/.*/./; q'`
15651
15652 # Avoid depending upon Character Ranges.
15653 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15654 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15655 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15656 as_cr_digits='0123456789'
15657 as_cr_alnum=$as_cr_Letters$as_cr_digits
15658
15659 ECHO_C= ECHO_N= ECHO_T=
15660 case `echo -n x` in #(((((
15661 -n*)
15662   case `echo 'xy\c'` in
15663   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15664   xy)  ECHO_C='\c';;
15665   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15666        ECHO_T=' ';;
15667   esac;;
15668 *)
15669   ECHO_N='-n';;
15670 esac
15671
15672 rm -f conf$$ conf$$.exe conf$$.file
15673 if test -d conf$$.dir; then
15674   rm -f conf$$.dir/conf$$.file
15675 else
15676   rm -f conf$$.dir
15677   mkdir conf$$.dir 2>/dev/null
15678 fi
15679 if (echo >conf$$.file) 2>/dev/null; then
15680   if ln -s conf$$.file conf$$ 2>/dev/null; then
15681     as_ln_s='ln -s'
15682     # ... but there are two gotchas:
15683     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15684     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15685     # In both cases, we have to default to `cp -p'.
15686     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15687       as_ln_s='cp -p'
15688   elif ln conf$$.file conf$$ 2>/dev/null; then
15689     as_ln_s=ln
15690   else
15691     as_ln_s='cp -p'
15692   fi
15693 else
15694   as_ln_s='cp -p'
15695 fi
15696 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15697 rmdir conf$$.dir 2>/dev/null
15698
15699
15700 # as_fn_mkdir_p
15701 # -------------
15702 # Create "$as_dir" as a directory, including parents if necessary.
15703 as_fn_mkdir_p ()
15704 {
15705
15706   case $as_dir in #(
15707   -*) as_dir=./$as_dir;;
15708   esac
15709   test -d "$as_dir" || eval $as_mkdir_p || {
15710     as_dirs=
15711     while :; do
15712       case $as_dir in #(
15713       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15714       *) as_qdir=$as_dir;;
15715       esac
15716       as_dirs="'$as_qdir' $as_dirs"
15717       as_dir=`$as_dirname -- "$as_dir" ||
15718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15719          X"$as_dir" : 'X\(//\)[^/]' \| \
15720          X"$as_dir" : 'X\(//\)$' \| \
15721          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15722 $as_echo X"$as_dir" |
15723     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15724             s//\1/
15725             q
15726           }
15727           /^X\(\/\/\)[^/].*/{
15728             s//\1/
15729             q
15730           }
15731           /^X\(\/\/\)$/{
15732             s//\1/
15733             q
15734           }
15735           /^X\(\/\).*/{
15736             s//\1/
15737             q
15738           }
15739           s/.*/./; q'`
15740       test -d "$as_dir" && break
15741     done
15742     test -z "$as_dirs" || eval "mkdir $as_dirs"
15743   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15744
15745
15746 } # as_fn_mkdir_p
15747 if mkdir -p . 2>/dev/null; then
15748   as_mkdir_p='mkdir -p "$as_dir"'
15749 else
15750   test -d ./-p && rmdir ./-p
15751   as_mkdir_p=false
15752 fi
15753
15754 if test -x / >/dev/null 2>&1; then
15755   as_test_x='test -x'
15756 else
15757   if ls -dL / >/dev/null 2>&1; then
15758     as_ls_L_option=L
15759   else
15760     as_ls_L_option=
15761   fi
15762   as_test_x='
15763     eval sh -c '\''
15764       if test -d "$1"; then
15765         test -d "$1/.";
15766       else
15767         case $1 in #(
15768         -*)set "./$1";;
15769         esac;
15770         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15771         ???[sx]*):;;*)false;;esac;fi
15772     '\'' sh
15773   '
15774 fi
15775 as_executable_p=$as_test_x
15776
15777 # Sed expression to map a string onto a valid CPP name.
15778 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15779
15780 # Sed expression to map a string onto a valid variable name.
15781 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15782
15783
15784 exec 6>&1
15785 ## ----------------------------------- ##
15786 ## Main body of $CONFIG_STATUS script. ##
15787 ## ----------------------------------- ##
15788 _ASEOF
15789 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15790
15791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15792 # Save the log message, to keep $0 and so on meaningful, and to
15793 # report actual input values of CONFIG_FILES etc. instead of their
15794 # values after options handling.
15795 ac_log="
15796 This file was extended by e_dbus $as_me 1.7.7, which was
15797 generated by GNU Autoconf 2.68.  Invocation command line was
15798
15799   CONFIG_FILES    = $CONFIG_FILES
15800   CONFIG_HEADERS  = $CONFIG_HEADERS
15801   CONFIG_LINKS    = $CONFIG_LINKS
15802   CONFIG_COMMANDS = $CONFIG_COMMANDS
15803   $ $0 $@
15804
15805 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15806 "
15807
15808 _ACEOF
15809
15810 case $ac_config_files in *"
15811 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15812 esac
15813
15814 case $ac_config_headers in *"
15815 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15816 esac
15817
15818
15819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15820 # Files that config.status was made for.
15821 config_files="$ac_config_files"
15822 config_headers="$ac_config_headers"
15823 config_commands="$ac_config_commands"
15824
15825 _ACEOF
15826
15827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15828 ac_cs_usage="\
15829 \`$as_me' instantiates files and other configuration actions
15830 from templates according to the current configuration.  Unless the files
15831 and actions are specified as TAGs, all are instantiated by default.
15832
15833 Usage: $0 [OPTION]... [TAG]...
15834
15835   -h, --help       print this help, then exit
15836   -V, --version    print version number and configuration settings, then exit
15837       --config     print configuration, then exit
15838   -q, --quiet, --silent
15839                    do not print progress messages
15840   -d, --debug      don't remove temporary files
15841       --recheck    update $as_me by reconfiguring in the same conditions
15842       --file=FILE[:TEMPLATE]
15843                    instantiate the configuration file FILE
15844       --header=FILE[:TEMPLATE]
15845                    instantiate the configuration header FILE
15846
15847 Configuration files:
15848 $config_files
15849
15850 Configuration headers:
15851 $config_headers
15852
15853 Configuration commands:
15854 $config_commands
15855
15856 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15857
15858 _ACEOF
15859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15860 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15861 ac_cs_version="\\
15862 e_dbus config.status 1.7.7
15863 configured by $0, generated by GNU Autoconf 2.68,
15864   with options \\"\$ac_cs_config\\"
15865
15866 Copyright (C) 2010 Free Software Foundation, Inc.
15867 This config.status script is free software; the Free Software Foundation
15868 gives unlimited permission to copy, distribute and modify it."
15869
15870 ac_pwd='$ac_pwd'
15871 srcdir='$srcdir'
15872 INSTALL='$INSTALL'
15873 MKDIR_P='$MKDIR_P'
15874 AWK='$AWK'
15875 test -n "\$AWK" || AWK=awk
15876 _ACEOF
15877
15878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15879 # The default lists apply if the user does not specify any file.
15880 ac_need_defaults=:
15881 while test $# != 0
15882 do
15883   case $1 in
15884   --*=?*)
15885     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15886     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15887     ac_shift=:
15888     ;;
15889   --*=)
15890     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15891     ac_optarg=
15892     ac_shift=:
15893     ;;
15894   *)
15895     ac_option=$1
15896     ac_optarg=$2
15897     ac_shift=shift
15898     ;;
15899   esac
15900
15901   case $ac_option in
15902   # Handling of the options.
15903   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15904     ac_cs_recheck=: ;;
15905   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15906     $as_echo "$ac_cs_version"; exit ;;
15907   --config | --confi | --conf | --con | --co | --c )
15908     $as_echo "$ac_cs_config"; exit ;;
15909   --debug | --debu | --deb | --de | --d | -d )
15910     debug=: ;;
15911   --file | --fil | --fi | --f )
15912     $ac_shift
15913     case $ac_optarg in
15914     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15915     '') as_fn_error $? "missing file argument" ;;
15916     esac
15917     as_fn_append CONFIG_FILES " '$ac_optarg'"
15918     ac_need_defaults=false;;
15919   --header | --heade | --head | --hea )
15920     $ac_shift
15921     case $ac_optarg in
15922     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15923     esac
15924     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15925     ac_need_defaults=false;;
15926   --he | --h)
15927     # Conflict between --help and --header
15928     as_fn_error $? "ambiguous option: \`$1'
15929 Try \`$0 --help' for more information.";;
15930   --help | --hel | -h )
15931     $as_echo "$ac_cs_usage"; exit ;;
15932   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15933   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15934     ac_cs_silent=: ;;
15935
15936   # This is an error.
15937   -*) as_fn_error $? "unrecognized option: \`$1'
15938 Try \`$0 --help' for more information." ;;
15939
15940   *) as_fn_append ac_config_targets " $1"
15941      ac_need_defaults=false ;;
15942
15943   esac
15944   shift
15945 done
15946
15947 ac_configure_extra_args=
15948
15949 if $ac_cs_silent; then
15950   exec 6>/dev/null
15951   ac_configure_extra_args="$ac_configure_extra_args --silent"
15952 fi
15953
15954 _ACEOF
15955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15956 if \$ac_cs_recheck; then
15957   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15958   shift
15959   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15960   CONFIG_SHELL='$SHELL'
15961   export CONFIG_SHELL
15962   exec "\$@"
15963 fi
15964
15965 _ACEOF
15966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15967 exec 5>>config.log
15968 {
15969   echo
15970   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15971 ## Running $as_me. ##
15972 _ASBOX
15973   $as_echo "$ac_log"
15974 } >&5
15975
15976 _ACEOF
15977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15978 #
15979 # INIT-COMMANDS
15980 #
15981 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15982
15983
15984 # The HP-UX ksh and POSIX shell print the target directory to stdout
15985 # if CDPATH is set.
15986 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15987
15988 sed_quote_subst='$sed_quote_subst'
15989 double_quote_subst='$double_quote_subst'
15990 delay_variable_subst='$delay_variable_subst'
15991 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15992 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15993 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15994 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15995 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15996 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15997 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15998 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15999 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16000 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16001 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16002 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16003 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16004 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16005 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16006 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16007 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16008 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16009 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16010 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16011 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16012 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16013 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16014 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16015 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16016 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16017 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16018 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16019 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16020 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16021 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16022 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16023 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16024 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16025 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16026 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16027 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16028 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16029 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16030 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16031 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16032 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16033 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16034 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16035 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16036 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16037 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16038 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16039 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16040 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16041 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16042 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16043 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16044 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16045 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16046 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16047 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16048 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"`'
16049 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16050 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16051 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16052 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16053 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16054 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16055 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16056 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16057 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16058 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16059 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16060 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16061 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16062 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16063 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16064 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16065 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16066 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16067 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16068 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16069 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16070 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16071 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16072 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16073 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16074 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16075 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16076 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16077 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16078 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16079 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16080 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16081 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16082 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16083 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16084 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16085 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16086 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16087 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16088 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16089 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16090 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16091 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16092 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16093 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16094 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16095 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16096 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16097 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16098 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16099 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16100 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16101 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16102 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16103 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16104 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16105 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16106 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16107 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16108 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16109 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16110 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16111 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16112 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16113 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16114 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16115 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16116 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16117 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16118 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16119 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16120 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16121 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16122
16123 LTCC='$LTCC'
16124 LTCFLAGS='$LTCFLAGS'
16125 compiler='$compiler_DEFAULT'
16126
16127 # A function that is used when there is no print builtin or printf.
16128 func_fallback_echo ()
16129 {
16130   eval 'cat <<_LTECHO_EOF
16131 \$1
16132 _LTECHO_EOF'
16133 }
16134
16135 # Quote evaled strings.
16136 for var in AS \
16137 DLLTOOL \
16138 OBJDUMP \
16139 SHELL \
16140 ECHO \
16141 PATH_SEPARATOR \
16142 SED \
16143 GREP \
16144 EGREP \
16145 FGREP \
16146 LD \
16147 NM \
16148 LN_S \
16149 lt_SP2NL \
16150 lt_NL2SP \
16151 reload_flag \
16152 deplibs_check_method \
16153 file_magic_cmd \
16154 file_magic_glob \
16155 want_nocaseglob \
16156 sharedlib_from_linklib_cmd \
16157 AR \
16158 AR_FLAGS \
16159 archiver_list_spec \
16160 STRIP \
16161 RANLIB \
16162 CC \
16163 CFLAGS \
16164 compiler \
16165 lt_cv_sys_global_symbol_pipe \
16166 lt_cv_sys_global_symbol_to_cdecl \
16167 lt_cv_sys_global_symbol_to_c_name_address \
16168 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16169 nm_file_list_spec \
16170 lt_prog_compiler_no_builtin_flag \
16171 lt_prog_compiler_pic \
16172 lt_prog_compiler_wl \
16173 lt_prog_compiler_static \
16174 lt_cv_prog_compiler_c_o \
16175 need_locks \
16176 MANIFEST_TOOL \
16177 DSYMUTIL \
16178 NMEDIT \
16179 LIPO \
16180 OTOOL \
16181 OTOOL64 \
16182 shrext_cmds \
16183 export_dynamic_flag_spec \
16184 whole_archive_flag_spec \
16185 compiler_needs_object \
16186 with_gnu_ld \
16187 allow_undefined_flag \
16188 no_undefined_flag \
16189 hardcode_libdir_flag_spec \
16190 hardcode_libdir_separator \
16191 exclude_expsyms \
16192 include_expsyms \
16193 file_list_spec \
16194 variables_saved_for_relink \
16195 libname_spec \
16196 library_names_spec \
16197 soname_spec \
16198 install_override_mode \
16199 finish_eval \
16200 old_striplib \
16201 striplib; do
16202     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16203     *[\\\\\\\`\\"\\\$]*)
16204       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16205       ;;
16206     *)
16207       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16208       ;;
16209     esac
16210 done
16211
16212 # Double-quote double-evaled strings.
16213 for var in reload_cmds \
16214 old_postinstall_cmds \
16215 old_postuninstall_cmds \
16216 old_archive_cmds \
16217 extract_expsyms_cmds \
16218 old_archive_from_new_cmds \
16219 old_archive_from_expsyms_cmds \
16220 archive_cmds \
16221 archive_expsym_cmds \
16222 module_cmds \
16223 module_expsym_cmds \
16224 export_symbols_cmds \
16225 prelink_cmds \
16226 postlink_cmds \
16227 postinstall_cmds \
16228 postuninstall_cmds \
16229 finish_cmds \
16230 sys_lib_search_path_spec \
16231 sys_lib_dlsearch_path_spec; do
16232     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16233     *[\\\\\\\`\\"\\\$]*)
16234       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16235       ;;
16236     *)
16237       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16238       ;;
16239     esac
16240 done
16241
16242 ac_aux_dir='$ac_aux_dir'
16243 xsi_shell='$xsi_shell'
16244 lt_shell_append='$lt_shell_append'
16245
16246 # See if we are running on zsh, and set the options which allow our
16247 # commands through without removal of \ escapes INIT.
16248 if test -n "\${ZSH_VERSION+set}" ; then
16249    setopt NO_GLOB_SUBST
16250 fi
16251
16252
16253     PACKAGE='$PACKAGE'
16254     VERSION='$VERSION'
16255     TIMESTAMP='$TIMESTAMP'
16256     RM='$RM'
16257     ofile='$ofile'
16258
16259
16260
16261
16262 _ACEOF
16263
16264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16265
16266 # Handling of arguments.
16267 for ac_config_target in $ac_config_targets
16268 do
16269   case $ac_config_target in
16270     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16271     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16272     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16273     "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16274     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16275     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16276     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16277     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16278     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16279     "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16280     "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16281     "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16282     "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16283     "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16284     "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16285     "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16286     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16287     "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16288     "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16289     "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16290     "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16291     "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16292     "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16293     "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16294
16295   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16296   esac
16297 done
16298
16299
16300 # If the user did not use the arguments to specify the items to instantiate,
16301 # then the envvar interface is used.  Set only those that are not.
16302 # We use the long form for the default assignment because of an extremely
16303 # bizarre bug on SunOS 4.1.3.
16304 if $ac_need_defaults; then
16305   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16306   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16307   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16308 fi
16309
16310 # Have a temporary directory for convenience.  Make it in the build tree
16311 # simply because there is no reason against having it here, and in addition,
16312 # creating and moving files from /tmp can sometimes cause problems.
16313 # Hook for its removal unless debugging.
16314 # Note that there is a small window in which the directory will not be cleaned:
16315 # after its creation but before its name has been assigned to `$tmp'.
16316 $debug ||
16317 {
16318   tmp= ac_tmp=
16319   trap 'exit_status=$?
16320   : "${ac_tmp:=$tmp}"
16321   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16322 ' 0
16323   trap 'as_fn_exit 1' 1 2 13 15
16324 }
16325 # Create a (secure) tmp directory for tmp files.
16326
16327 {
16328   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16329   test -d "$tmp"
16330 }  ||
16331 {
16332   tmp=./conf$$-$RANDOM
16333   (umask 077 && mkdir "$tmp")
16334 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16335 ac_tmp=$tmp
16336
16337 # Set up the scripts for CONFIG_FILES section.
16338 # No need to generate them if there are no CONFIG_FILES.
16339 # This happens for instance with `./config.status config.h'.
16340 if test -n "$CONFIG_FILES"; then
16341
16342
16343 ac_cr=`echo X | tr X '\015'`
16344 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16345 # But we know of no other shell where ac_cr would be empty at this
16346 # point, so we can use a bashism as a fallback.
16347 if test "x$ac_cr" = x; then
16348   eval ac_cr=\$\'\\r\'
16349 fi
16350 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16351 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16352   ac_cs_awk_cr='\\r'
16353 else
16354   ac_cs_awk_cr=$ac_cr
16355 fi
16356
16357 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16358 _ACEOF
16359
16360
16361 {
16362   echo "cat >conf$$subs.awk <<_ACEOF" &&
16363   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16364   echo "_ACEOF"
16365 } >conf$$subs.sh ||
16366   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16367 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16368 ac_delim='%!_!# '
16369 for ac_last_try in false false false false false :; do
16370   . ./conf$$subs.sh ||
16371     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16372
16373   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16374   if test $ac_delim_n = $ac_delim_num; then
16375     break
16376   elif $ac_last_try; then
16377     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16378   else
16379     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16380   fi
16381 done
16382 rm -f conf$$subs.sh
16383
16384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16385 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16386 _ACEOF
16387 sed -n '
16388 h
16389 s/^/S["/; s/!.*/"]=/
16390 p
16391 g
16392 s/^[^!]*!//
16393 :repl
16394 t repl
16395 s/'"$ac_delim"'$//
16396 t delim
16397 :nl
16398 h
16399 s/\(.\{148\}\)..*/\1/
16400 t more1
16401 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16402 p
16403 n
16404 b repl
16405 :more1
16406 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16407 p
16408 g
16409 s/.\{148\}//
16410 t nl
16411 :delim
16412 h
16413 s/\(.\{148\}\)..*/\1/
16414 t more2
16415 s/["\\]/\\&/g; s/^/"/; s/$/"/
16416 p
16417 b
16418 :more2
16419 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16420 p
16421 g
16422 s/.\{148\}//
16423 t delim
16424 ' <conf$$subs.awk | sed '
16425 /^[^""]/{
16426   N
16427   s/\n//
16428 }
16429 ' >>$CONFIG_STATUS || ac_write_fail=1
16430 rm -f conf$$subs.awk
16431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16432 _ACAWK
16433 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16434   for (key in S) S_is_set[key] = 1
16435   FS = "\a"
16436
16437 }
16438 {
16439   line = $ 0
16440   nfields = split(line, field, "@")
16441   substed = 0
16442   len = length(field[1])
16443   for (i = 2; i < nfields; i++) {
16444     key = field[i]
16445     keylen = length(key)
16446     if (S_is_set[key]) {
16447       value = S[key]
16448       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16449       len += length(value) + length(field[++i])
16450       substed = 1
16451     } else
16452       len += 1 + keylen
16453   }
16454
16455   print line
16456 }
16457
16458 _ACAWK
16459 _ACEOF
16460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16461 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16462   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16463 else
16464   cat
16465 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16466   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16467 _ACEOF
16468
16469 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16470 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16471 # trailing colons and then remove the whole line if VPATH becomes empty
16472 # (actually we leave an empty line to preserve line numbers).
16473 if test "x$srcdir" = x.; then
16474   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16475 h
16476 s///
16477 s/^/:/
16478 s/[      ]*$/:/
16479 s/:\$(srcdir):/:/g
16480 s/:\${srcdir}:/:/g
16481 s/:@srcdir@:/:/g
16482 s/^:*//
16483 s/:*$//
16484 x
16485 s/\(=[   ]*\).*/\1/
16486 G
16487 s/\n//
16488 s/^[^=]*=[       ]*$//
16489 }'
16490 fi
16491
16492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16493 fi # test -n "$CONFIG_FILES"
16494
16495 # Set up the scripts for CONFIG_HEADERS section.
16496 # No need to generate them if there are no CONFIG_HEADERS.
16497 # This happens for instance with `./config.status Makefile'.
16498 if test -n "$CONFIG_HEADERS"; then
16499 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16500 BEGIN {
16501 _ACEOF
16502
16503 # Transform confdefs.h into an awk script `defines.awk', embedded as
16504 # here-document in config.status, that substitutes the proper values into
16505 # config.h.in to produce config.h.
16506
16507 # Create a delimiter string that does not exist in confdefs.h, to ease
16508 # handling of long lines.
16509 ac_delim='%!_!# '
16510 for ac_last_try in false false :; do
16511   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16512   if test -z "$ac_tt"; then
16513     break
16514   elif $ac_last_try; then
16515     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16516   else
16517     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16518   fi
16519 done
16520
16521 # For the awk script, D is an array of macro values keyed by name,
16522 # likewise P contains macro parameters if any.  Preserve backslash
16523 # newline sequences.
16524
16525 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16526 sed -n '
16527 s/.\{148\}/&'"$ac_delim"'/g
16528 t rset
16529 :rset
16530 s/^[     ]*#[    ]*define[       ][      ]*/ /
16531 t def
16532 d
16533 :def
16534 s/\\$//
16535 t bsnl
16536 s/["\\]/\\&/g
16537 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16538 D["\1"]=" \3"/p
16539 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16540 d
16541 :bsnl
16542 s/["\\]/\\&/g
16543 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16544 D["\1"]=" \3\\\\\\n"\\/p
16545 t cont
16546 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16547 t cont
16548 d
16549 :cont
16550 n
16551 s/.\{148\}/&'"$ac_delim"'/g
16552 t clear
16553 :clear
16554 s/\\$//
16555 t bsnlc
16556 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16557 d
16558 :bsnlc
16559 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16560 b cont
16561 ' <confdefs.h | sed '
16562 s/'"$ac_delim"'/"\\\
16563 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16564
16565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16566   for (key in D) D_is_set[key] = 1
16567   FS = "\a"
16568 }
16569 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16570   line = \$ 0
16571   split(line, arg, " ")
16572   if (arg[1] == "#") {
16573     defundef = arg[2]
16574     mac1 = arg[3]
16575   } else {
16576     defundef = substr(arg[1], 2)
16577     mac1 = arg[2]
16578   }
16579   split(mac1, mac2, "(") #)
16580   macro = mac2[1]
16581   prefix = substr(line, 1, index(line, defundef) - 1)
16582   if (D_is_set[macro]) {
16583     # Preserve the white space surrounding the "#".
16584     print prefix "define", macro P[macro] D[macro]
16585     next
16586   } else {
16587     # Replace #undef with comments.  This is necessary, for example,
16588     # in the case of _POSIX_SOURCE, which is predefined and required
16589     # on some systems where configure will not decide to define it.
16590     if (defundef == "undef") {
16591       print "/*", prefix defundef, macro, "*/"
16592       next
16593     }
16594   }
16595 }
16596 { print }
16597 _ACAWK
16598 _ACEOF
16599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16600   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16601 fi # test -n "$CONFIG_HEADERS"
16602
16603
16604 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16605 shift
16606 for ac_tag
16607 do
16608   case $ac_tag in
16609   :[FHLC]) ac_mode=$ac_tag; continue;;
16610   esac
16611   case $ac_mode$ac_tag in
16612   :[FHL]*:*);;
16613   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16614   :[FH]-) ac_tag=-:-;;
16615   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16616   esac
16617   ac_save_IFS=$IFS
16618   IFS=:
16619   set x $ac_tag
16620   IFS=$ac_save_IFS
16621   shift
16622   ac_file=$1
16623   shift
16624
16625   case $ac_mode in
16626   :L) ac_source=$1;;
16627   :[FH])
16628     ac_file_inputs=
16629     for ac_f
16630     do
16631       case $ac_f in
16632       -) ac_f="$ac_tmp/stdin";;
16633       *) # Look for the file first in the build tree, then in the source tree
16634          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16635          # because $ac_f cannot contain `:'.
16636          test -f "$ac_f" ||
16637            case $ac_f in
16638            [\\/$]*) false;;
16639            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16640            esac ||
16641            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16642       esac
16643       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16644       as_fn_append ac_file_inputs " '$ac_f'"
16645     done
16646
16647     # Let's still pretend it is `configure' which instantiates (i.e., don't
16648     # use $as_me), people would be surprised to read:
16649     #    /* config.h.  Generated by config.status.  */
16650     configure_input='Generated from '`
16651           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16652         `' by configure.'
16653     if test x"$ac_file" != x-; then
16654       configure_input="$ac_file.  $configure_input"
16655       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16656 $as_echo "$as_me: creating $ac_file" >&6;}
16657     fi
16658     # Neutralize special characters interpreted by sed in replacement strings.
16659     case $configure_input in #(
16660     *\&* | *\|* | *\\* )
16661        ac_sed_conf_input=`$as_echo "$configure_input" |
16662        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16663     *) ac_sed_conf_input=$configure_input;;
16664     esac
16665
16666     case $ac_tag in
16667     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16668       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16669     esac
16670     ;;
16671   esac
16672
16673   ac_dir=`$as_dirname -- "$ac_file" ||
16674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16675          X"$ac_file" : 'X\(//\)[^/]' \| \
16676          X"$ac_file" : 'X\(//\)$' \| \
16677          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16678 $as_echo X"$ac_file" |
16679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16680             s//\1/
16681             q
16682           }
16683           /^X\(\/\/\)[^/].*/{
16684             s//\1/
16685             q
16686           }
16687           /^X\(\/\/\)$/{
16688             s//\1/
16689             q
16690           }
16691           /^X\(\/\).*/{
16692             s//\1/
16693             q
16694           }
16695           s/.*/./; q'`
16696   as_dir="$ac_dir"; as_fn_mkdir_p
16697   ac_builddir=.
16698
16699 case "$ac_dir" in
16700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16701 *)
16702   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16703   # A ".." for each directory in $ac_dir_suffix.
16704   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16705   case $ac_top_builddir_sub in
16706   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16707   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16708   esac ;;
16709 esac
16710 ac_abs_top_builddir=$ac_pwd
16711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16712 # for backward compatibility:
16713 ac_top_builddir=$ac_top_build_prefix
16714
16715 case $srcdir in
16716   .)  # We are building in place.
16717     ac_srcdir=.
16718     ac_top_srcdir=$ac_top_builddir_sub
16719     ac_abs_top_srcdir=$ac_pwd ;;
16720   [\\/]* | ?:[\\/]* )  # Absolute name.
16721     ac_srcdir=$srcdir$ac_dir_suffix;
16722     ac_top_srcdir=$srcdir
16723     ac_abs_top_srcdir=$srcdir ;;
16724   *) # Relative name.
16725     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16726     ac_top_srcdir=$ac_top_build_prefix$srcdir
16727     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16728 esac
16729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16730
16731
16732   case $ac_mode in
16733   :F)
16734   #
16735   # CONFIG_FILE
16736   #
16737
16738   case $INSTALL in
16739   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16740   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16741   esac
16742   ac_MKDIR_P=$MKDIR_P
16743   case $MKDIR_P in
16744   [\\/$]* | ?:[\\/]* ) ;;
16745   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16746   esac
16747 _ACEOF
16748
16749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16750 # If the template does not know about datarootdir, expand it.
16751 # FIXME: This hack should be removed a few years after 2.60.
16752 ac_datarootdir_hack=; ac_datarootdir_seen=
16753 ac_sed_dataroot='
16754 /datarootdir/ {
16755   p
16756   q
16757 }
16758 /@datadir@/p
16759 /@docdir@/p
16760 /@infodir@/p
16761 /@localedir@/p
16762 /@mandir@/p'
16763 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16764 *datarootdir*) ac_datarootdir_seen=yes;;
16765 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16766   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16767 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16768 _ACEOF
16769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16770   ac_datarootdir_hack='
16771   s&@datadir@&$datadir&g
16772   s&@docdir@&$docdir&g
16773   s&@infodir@&$infodir&g
16774   s&@localedir@&$localedir&g
16775   s&@mandir@&$mandir&g
16776   s&\\\${datarootdir}&$datarootdir&g' ;;
16777 esac
16778 _ACEOF
16779
16780 # Neutralize VPATH when `$srcdir' = `.'.
16781 # Shell code in configure.ac might set extrasub.
16782 # FIXME: do we really want to maintain this feature?
16783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16784 ac_sed_extra="$ac_vpsub
16785 $extrasub
16786 _ACEOF
16787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16788 :t
16789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16790 s|@configure_input@|$ac_sed_conf_input|;t t
16791 s&@top_builddir@&$ac_top_builddir_sub&;t t
16792 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16793 s&@srcdir@&$ac_srcdir&;t t
16794 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16795 s&@top_srcdir@&$ac_top_srcdir&;t t
16796 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16797 s&@builddir@&$ac_builddir&;t t
16798 s&@abs_builddir@&$ac_abs_builddir&;t t
16799 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16800 s&@INSTALL@&$ac_INSTALL&;t t
16801 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16802 $ac_datarootdir_hack
16803 "
16804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16805   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16806
16807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16808   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16809   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16810       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16811   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16812 which seems to be undefined.  Please make sure it is defined" >&5
16813 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16814 which seems to be undefined.  Please make sure it is defined" >&2;}
16815
16816   rm -f "$ac_tmp/stdin"
16817   case $ac_file in
16818   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16819   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16820   esac \
16821   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16822  ;;
16823   :H)
16824   #
16825   # CONFIG_HEADER
16826   #
16827   if test x"$ac_file" != x-; then
16828     {
16829       $as_echo "/* $configure_input  */" \
16830       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16831     } >"$ac_tmp/config.h" \
16832       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16833     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16834       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16835 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16836     else
16837       rm -f "$ac_file"
16838       mv "$ac_tmp/config.h" "$ac_file" \
16839         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16840     fi
16841   else
16842     $as_echo "/* $configure_input  */" \
16843       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16844       || as_fn_error $? "could not create -" "$LINENO" 5
16845   fi
16846 # Compute "$ac_file"'s index in $config_headers.
16847 _am_arg="$ac_file"
16848 _am_stamp_count=1
16849 for _am_header in $config_headers :; do
16850   case $_am_header in
16851     $_am_arg | $_am_arg:* )
16852       break ;;
16853     * )
16854       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16855   esac
16856 done
16857 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16858 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16859          X"$_am_arg" : 'X\(//\)[^/]' \| \
16860          X"$_am_arg" : 'X\(//\)$' \| \
16861          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16862 $as_echo X"$_am_arg" |
16863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16864             s//\1/
16865             q
16866           }
16867           /^X\(\/\/\)[^/].*/{
16868             s//\1/
16869             q
16870           }
16871           /^X\(\/\/\)$/{
16872             s//\1/
16873             q
16874           }
16875           /^X\(\/\).*/{
16876             s//\1/
16877             q
16878           }
16879           s/.*/./; q'`/stamp-h$_am_stamp_count
16880  ;;
16881
16882   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16883 $as_echo "$as_me: executing $ac_file commands" >&6;}
16884  ;;
16885   esac
16886
16887
16888   case $ac_file$ac_mode in
16889     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16890   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16891   # are listed without --file.  Let's play safe and only enable the eval
16892   # if we detect the quoting.
16893   case $CONFIG_FILES in
16894   *\'*) eval set x "$CONFIG_FILES" ;;
16895   *)   set x $CONFIG_FILES ;;
16896   esac
16897   shift
16898   for mf
16899   do
16900     # Strip MF so we end up with the name of the file.
16901     mf=`echo "$mf" | sed -e 's/:.*$//'`
16902     # Check whether this is an Automake generated Makefile or not.
16903     # We used to match only the files named `Makefile.in', but
16904     # some people rename them; so instead we look at the file content.
16905     # Grep'ing the first line is not enough: some people post-process
16906     # each Makefile.in and add a new line on top of each file to say so.
16907     # Grep'ing the whole file is not good either: AIX grep has a line
16908     # limit of 2048, but all sed's we know have understand at least 4000.
16909     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16910       dirpart=`$as_dirname -- "$mf" ||
16911 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16912          X"$mf" : 'X\(//\)[^/]' \| \
16913          X"$mf" : 'X\(//\)$' \| \
16914          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16915 $as_echo X"$mf" |
16916     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16917             s//\1/
16918             q
16919           }
16920           /^X\(\/\/\)[^/].*/{
16921             s//\1/
16922             q
16923           }
16924           /^X\(\/\/\)$/{
16925             s//\1/
16926             q
16927           }
16928           /^X\(\/\).*/{
16929             s//\1/
16930             q
16931           }
16932           s/.*/./; q'`
16933     else
16934       continue
16935     fi
16936     # Extract the definition of DEPDIR, am__include, and am__quote
16937     # from the Makefile without running `make'.
16938     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16939     test -z "$DEPDIR" && continue
16940     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16941     test -z "am__include" && continue
16942     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16943     # When using ansi2knr, U may be empty or an underscore; expand it
16944     U=`sed -n 's/^U = //p' < "$mf"`
16945     # Find all dependency output files, they are included files with
16946     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16947     # simplest approach to changing $(DEPDIR) to its actual value in the
16948     # expansion.
16949     for file in `sed -n "
16950       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16951          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16952       # Make sure the directory exists.
16953       test -f "$dirpart/$file" && continue
16954       fdir=`$as_dirname -- "$file" ||
16955 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16956          X"$file" : 'X\(//\)[^/]' \| \
16957          X"$file" : 'X\(//\)$' \| \
16958          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16959 $as_echo X"$file" |
16960     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16961             s//\1/
16962             q
16963           }
16964           /^X\(\/\/\)[^/].*/{
16965             s//\1/
16966             q
16967           }
16968           /^X\(\/\/\)$/{
16969             s//\1/
16970             q
16971           }
16972           /^X\(\/\).*/{
16973             s//\1/
16974             q
16975           }
16976           s/.*/./; q'`
16977       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16978       # echo "creating $dirpart/$file"
16979       echo '# dummy' > "$dirpart/$file"
16980     done
16981   done
16982 }
16983  ;;
16984     "libtool":C)
16985
16986     # See if we are running on zsh, and set the options which allow our
16987     # commands through without removal of \ escapes.
16988     if test -n "${ZSH_VERSION+set}" ; then
16989       setopt NO_GLOB_SUBST
16990     fi
16991
16992     cfgfile="${ofile}T"
16993     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16994     $RM "$cfgfile"
16995
16996     cat <<_LT_EOF >> "$cfgfile"
16997 #! $SHELL
16998
16999 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17000 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17001 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17002 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17003 #
17004 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17005 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17006 #                 Foundation, Inc.
17007 #   Written by Gordon Matzigkeit, 1996
17008 #
17009 #   This file is part of GNU Libtool.
17010 #
17011 # GNU Libtool is free software; you can redistribute it and/or
17012 # modify it under the terms of the GNU General Public License as
17013 # published by the Free Software Foundation; either version 2 of
17014 # the License, or (at your option) any later version.
17015 #
17016 # As a special exception to the GNU General Public License,
17017 # if you distribute this file as part of a program or library that
17018 # is built using GNU Libtool, you may include this file under the
17019 # same distribution terms that you use for the rest of that program.
17020 #
17021 # GNU Libtool is distributed in the hope that it will be useful,
17022 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17023 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17024 # GNU General Public License for more details.
17025 #
17026 # You should have received a copy of the GNU General Public License
17027 # along with GNU Libtool; see the file COPYING.  If not, a copy
17028 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17029 # obtained by writing to the Free Software Foundation, Inc.,
17030 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17031
17032
17033 # The names of the tagged configurations supported by this script.
17034 available_tags=""
17035
17036 # ### BEGIN LIBTOOL CONFIG
17037
17038 # Assembler program.
17039 AS=$lt_AS
17040
17041 # DLL creation program.
17042 DLLTOOL=$lt_DLLTOOL
17043
17044 # Object dumper program.
17045 OBJDUMP=$lt_OBJDUMP
17046
17047 # Which release of libtool.m4 was used?
17048 macro_version=$macro_version
17049 macro_revision=$macro_revision
17050
17051 # Whether or not to build shared libraries.
17052 build_libtool_libs=$enable_shared
17053
17054 # Whether or not to build static libraries.
17055 build_old_libs=$enable_static
17056
17057 # What type of objects to build.
17058 pic_mode=$pic_mode
17059
17060 # Whether or not to optimize for fast installation.
17061 fast_install=$enable_fast_install
17062
17063 # Shell to use when invoking shell scripts.
17064 SHELL=$lt_SHELL
17065
17066 # An echo program that protects backslashes.
17067 ECHO=$lt_ECHO
17068
17069 # The PATH separator for the build system.
17070 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17071
17072 # The host system.
17073 host_alias=$host_alias
17074 host=$host
17075 host_os=$host_os
17076
17077 # The build system.
17078 build_alias=$build_alias
17079 build=$build
17080 build_os=$build_os
17081
17082 # A sed program that does not truncate output.
17083 SED=$lt_SED
17084
17085 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17086 Xsed="\$SED -e 1s/^X//"
17087
17088 # A grep program that handles long lines.
17089 GREP=$lt_GREP
17090
17091 # An ERE matcher.
17092 EGREP=$lt_EGREP
17093
17094 # A literal string matcher.
17095 FGREP=$lt_FGREP
17096
17097 # A BSD- or MS-compatible name lister.
17098 NM=$lt_NM
17099
17100 # Whether we need soft or hard links.
17101 LN_S=$lt_LN_S
17102
17103 # What is the maximum length of a command?
17104 max_cmd_len=$max_cmd_len
17105
17106 # Object file suffix (normally "o").
17107 objext=$ac_objext
17108
17109 # Executable file suffix (normally "").
17110 exeext=$exeext
17111
17112 # whether the shell understands "unset".
17113 lt_unset=$lt_unset
17114
17115 # turn spaces into newlines.
17116 SP2NL=$lt_lt_SP2NL
17117
17118 # turn newlines into spaces.
17119 NL2SP=$lt_lt_NL2SP
17120
17121 # convert \$build file names to \$host format.
17122 to_host_file_cmd=$lt_cv_to_host_file_cmd
17123
17124 # convert \$build files to toolchain format.
17125 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17126
17127 # Method to check whether dependent libraries are shared objects.
17128 deplibs_check_method=$lt_deplibs_check_method
17129
17130 # Command to use when deplibs_check_method = "file_magic".
17131 file_magic_cmd=$lt_file_magic_cmd
17132
17133 # How to find potential files when deplibs_check_method = "file_magic".
17134 file_magic_glob=$lt_file_magic_glob
17135
17136 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17137 want_nocaseglob=$lt_want_nocaseglob
17138
17139 # Command to associate shared and link libraries.
17140 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17141
17142 # The archiver.
17143 AR=$lt_AR
17144
17145 # Flags to create an archive.
17146 AR_FLAGS=$lt_AR_FLAGS
17147
17148 # How to feed a file listing to the archiver.
17149 archiver_list_spec=$lt_archiver_list_spec
17150
17151 # A symbol stripping program.
17152 STRIP=$lt_STRIP
17153
17154 # Commands used to install an old-style archive.
17155 RANLIB=$lt_RANLIB
17156 old_postinstall_cmds=$lt_old_postinstall_cmds
17157 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17158
17159 # Whether to use a lock for old archive extraction.
17160 lock_old_archive_extraction=$lock_old_archive_extraction
17161
17162 # A C compiler.
17163 LTCC=$lt_CC
17164
17165 # LTCC compiler flags.
17166 LTCFLAGS=$lt_CFLAGS
17167
17168 # Take the output of nm and produce a listing of raw symbols and C names.
17169 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17170
17171 # Transform the output of nm in a proper C declaration.
17172 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17173
17174 # Transform the output of nm in a C name address pair.
17175 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17176
17177 # Transform the output of nm in a C name address pair when lib prefix is needed.
17178 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17179
17180 # Specify filename containing input files for \$NM.
17181 nm_file_list_spec=$lt_nm_file_list_spec
17182
17183 # The root where to search for dependent libraries,and in which our libraries should be installed.
17184 lt_sysroot=$lt_sysroot
17185
17186 # The name of the directory that contains temporary libtool files.
17187 objdir=$objdir
17188
17189 # Used to examine libraries when file_magic_cmd begins with "file".
17190 MAGIC_CMD=$MAGIC_CMD
17191
17192 # Must we lock files when doing compilation?
17193 need_locks=$lt_need_locks
17194
17195 # Manifest tool.
17196 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17197
17198 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17199 DSYMUTIL=$lt_DSYMUTIL
17200
17201 # Tool to change global to local symbols on Mac OS X.
17202 NMEDIT=$lt_NMEDIT
17203
17204 # Tool to manipulate fat objects and archives on Mac OS X.
17205 LIPO=$lt_LIPO
17206
17207 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17208 OTOOL=$lt_OTOOL
17209
17210 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17211 OTOOL64=$lt_OTOOL64
17212
17213 # Old archive suffix (normally "a").
17214 libext=$libext
17215
17216 # Shared library suffix (normally ".so").
17217 shrext_cmds=$lt_shrext_cmds
17218
17219 # The commands to extract the exported symbol list from a shared archive.
17220 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17221
17222 # Variables whose values should be saved in libtool wrapper scripts and
17223 # restored at link time.
17224 variables_saved_for_relink=$lt_variables_saved_for_relink
17225
17226 # Do we need the "lib" prefix for modules?
17227 need_lib_prefix=$need_lib_prefix
17228
17229 # Do we need a version for libraries?
17230 need_version=$need_version
17231
17232 # Library versioning type.
17233 version_type=$version_type
17234
17235 # Shared library runtime path variable.
17236 runpath_var=$runpath_var
17237
17238 # Shared library path variable.
17239 shlibpath_var=$shlibpath_var
17240
17241 # Is shlibpath searched before the hard-coded library search path?
17242 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17243
17244 # Format of library name prefix.
17245 libname_spec=$lt_libname_spec
17246
17247 # List of archive names.  First name is the real one, the rest are links.
17248 # The last name is the one that the linker finds with -lNAME
17249 library_names_spec=$lt_library_names_spec
17250
17251 # The coded name of the library, if different from the real name.
17252 soname_spec=$lt_soname_spec
17253
17254 # Permission mode override for installation of shared libraries.
17255 install_override_mode=$lt_install_override_mode
17256
17257 # Command to use after installation of a shared archive.
17258 postinstall_cmds=$lt_postinstall_cmds
17259
17260 # Command to use after uninstallation of a shared archive.
17261 postuninstall_cmds=$lt_postuninstall_cmds
17262
17263 # Commands used to finish a libtool library installation in a directory.
17264 finish_cmds=$lt_finish_cmds
17265
17266 # As "finish_cmds", except a single script fragment to be evaled but
17267 # not shown.
17268 finish_eval=$lt_finish_eval
17269
17270 # Whether we should hardcode library paths into libraries.
17271 hardcode_into_libs=$hardcode_into_libs
17272
17273 # Compile-time system search path for libraries.
17274 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17275
17276 # Run-time system search path for libraries.
17277 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17278
17279 # Whether dlopen is supported.
17280 dlopen_support=$enable_dlopen
17281
17282 # Whether dlopen of programs is supported.
17283 dlopen_self=$enable_dlopen_self
17284
17285 # Whether dlopen of statically linked programs is supported.
17286 dlopen_self_static=$enable_dlopen_self_static
17287
17288 # Commands to strip libraries.
17289 old_striplib=$lt_old_striplib
17290 striplib=$lt_striplib
17291
17292
17293 # The linker used to build libraries.
17294 LD=$lt_LD
17295
17296 # How to create reloadable object files.
17297 reload_flag=$lt_reload_flag
17298 reload_cmds=$lt_reload_cmds
17299
17300 # Commands used to build an old-style archive.
17301 old_archive_cmds=$lt_old_archive_cmds
17302
17303 # A language specific compiler.
17304 CC=$lt_compiler
17305
17306 # Is the compiler the GNU compiler?
17307 with_gcc=$GCC
17308
17309 # Compiler flag to turn off builtin functions.
17310 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17311
17312 # Additional compiler flags for building library objects.
17313 pic_flag=$lt_lt_prog_compiler_pic
17314
17315 # How to pass a linker flag through the compiler.
17316 wl=$lt_lt_prog_compiler_wl
17317
17318 # Compiler flag to prevent dynamic linking.
17319 link_static_flag=$lt_lt_prog_compiler_static
17320
17321 # Does compiler simultaneously support -c and -o options?
17322 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17323
17324 # Whether or not to add -lc for building shared libraries.
17325 build_libtool_need_lc=$archive_cmds_need_lc
17326
17327 # Whether or not to disallow shared libs when runtime libs are static.
17328 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17329
17330 # Compiler flag to allow reflexive dlopens.
17331 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17332
17333 # Compiler flag to generate shared objects directly from archives.
17334 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17335
17336 # Whether the compiler copes with passing no objects directly.
17337 compiler_needs_object=$lt_compiler_needs_object
17338
17339 # Create an old-style archive from a shared archive.
17340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17341
17342 # Create a temporary old-style archive to link instead of a shared archive.
17343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17344
17345 # Commands used to build a shared archive.
17346 archive_cmds=$lt_archive_cmds
17347 archive_expsym_cmds=$lt_archive_expsym_cmds
17348
17349 # Commands used to build a loadable module if different from building
17350 # a shared archive.
17351 module_cmds=$lt_module_cmds
17352 module_expsym_cmds=$lt_module_expsym_cmds
17353
17354 # Whether we are building with GNU ld or not.
17355 with_gnu_ld=$lt_with_gnu_ld
17356
17357 # Flag that allows shared libraries with undefined symbols to be built.
17358 allow_undefined_flag=$lt_allow_undefined_flag
17359
17360 # Flag that enforces no undefined symbols.
17361 no_undefined_flag=$lt_no_undefined_flag
17362
17363 # Flag to hardcode \$libdir into a binary during linking.
17364 # This must work even if \$libdir does not exist
17365 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17366
17367 # Whether we need a single "-rpath" flag with a separated argument.
17368 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17369
17370 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17371 # DIR into the resulting binary.
17372 hardcode_direct=$hardcode_direct
17373
17374 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17375 # DIR into the resulting binary and the resulting library dependency is
17376 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17377 # library is relocated.
17378 hardcode_direct_absolute=$hardcode_direct_absolute
17379
17380 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17381 # into the resulting binary.
17382 hardcode_minus_L=$hardcode_minus_L
17383
17384 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17385 # into the resulting binary.
17386 hardcode_shlibpath_var=$hardcode_shlibpath_var
17387
17388 # Set to "yes" if building a shared library automatically hardcodes DIR
17389 # into the library and all subsequent libraries and executables linked
17390 # against it.
17391 hardcode_automatic=$hardcode_automatic
17392
17393 # Set to yes if linker adds runtime paths of dependent libraries
17394 # to runtime path list.
17395 inherit_rpath=$inherit_rpath
17396
17397 # Whether libtool must link a program against all its dependency libraries.
17398 link_all_deplibs=$link_all_deplibs
17399
17400 # Set to "yes" if exported symbols are required.
17401 always_export_symbols=$always_export_symbols
17402
17403 # The commands to list exported symbols.
17404 export_symbols_cmds=$lt_export_symbols_cmds
17405
17406 # Symbols that should not be listed in the preloaded symbols.
17407 exclude_expsyms=$lt_exclude_expsyms
17408
17409 # Symbols that must always be exported.
17410 include_expsyms=$lt_include_expsyms
17411
17412 # Commands necessary for linking programs (against libraries) with templates.
17413 prelink_cmds=$lt_prelink_cmds
17414
17415 # Commands necessary for finishing linking programs.
17416 postlink_cmds=$lt_postlink_cmds
17417
17418 # Specify filename containing input files.
17419 file_list_spec=$lt_file_list_spec
17420
17421 # How to hardcode a shared library path into an executable.
17422 hardcode_action=$hardcode_action
17423
17424 # ### END LIBTOOL CONFIG
17425
17426 _LT_EOF
17427
17428   case $host_os in
17429   aix3*)
17430     cat <<\_LT_EOF >> "$cfgfile"
17431 # AIX sometimes has problems with the GCC collect2 program.  For some
17432 # reason, if we set the COLLECT_NAMES environment variable, the problems
17433 # vanish in a puff of smoke.
17434 if test "X${COLLECT_NAMES+set}" != Xset; then
17435   COLLECT_NAMES=
17436   export COLLECT_NAMES
17437 fi
17438 _LT_EOF
17439     ;;
17440   esac
17441
17442
17443 ltmain="$ac_aux_dir/ltmain.sh"
17444
17445
17446   # We use sed instead of cat because bash on DJGPP gets confused if
17447   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17448   # text mode, it properly converts lines to CR/LF.  This bash problem
17449   # is reportedly fixed, but why not run on old versions too?
17450   sed '$q' "$ltmain" >> "$cfgfile" \
17451      || (rm -f "$cfgfile"; exit 1)
17452
17453   if test x"$xsi_shell" = xyes; then
17454   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17455 func_dirname ()\
17456 {\
17457 \    case ${1} in\
17458 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17459 \      *  ) func_dirname_result="${3}" ;;\
17460 \    esac\
17461 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17462   && mv -f "$cfgfile.tmp" "$cfgfile" \
17463     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17464 test 0 -eq $? || _lt_function_replace_fail=:
17465
17466
17467   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17468 func_basename ()\
17469 {\
17470 \    func_basename_result="${1##*/}"\
17471 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17472   && mv -f "$cfgfile.tmp" "$cfgfile" \
17473     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17474 test 0 -eq $? || _lt_function_replace_fail=:
17475
17476
17477   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17478 func_dirname_and_basename ()\
17479 {\
17480 \    case ${1} in\
17481 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17482 \      *  ) func_dirname_result="${3}" ;;\
17483 \    esac\
17484 \    func_basename_result="${1##*/}"\
17485 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17486   && mv -f "$cfgfile.tmp" "$cfgfile" \
17487     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17488 test 0 -eq $? || _lt_function_replace_fail=:
17489
17490
17491   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17492 func_stripname ()\
17493 {\
17494 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17495 \    # positional parameters, so assign one to ordinary parameter first.\
17496 \    func_stripname_result=${3}\
17497 \    func_stripname_result=${func_stripname_result#"${1}"}\
17498 \    func_stripname_result=${func_stripname_result%"${2}"}\
17499 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17500   && mv -f "$cfgfile.tmp" "$cfgfile" \
17501     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17502 test 0 -eq $? || _lt_function_replace_fail=:
17503
17504
17505   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17506 func_split_long_opt ()\
17507 {\
17508 \    func_split_long_opt_name=${1%%=*}\
17509 \    func_split_long_opt_arg=${1#*=}\
17510 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17511   && mv -f "$cfgfile.tmp" "$cfgfile" \
17512     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17513 test 0 -eq $? || _lt_function_replace_fail=:
17514
17515
17516   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17517 func_split_short_opt ()\
17518 {\
17519 \    func_split_short_opt_arg=${1#??}\
17520 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17521 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17522   && mv -f "$cfgfile.tmp" "$cfgfile" \
17523     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17524 test 0 -eq $? || _lt_function_replace_fail=:
17525
17526
17527   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17528 func_lo2o ()\
17529 {\
17530 \    case ${1} in\
17531 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17532 \      *)    func_lo2o_result=${1} ;;\
17533 \    esac\
17534 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17535   && mv -f "$cfgfile.tmp" "$cfgfile" \
17536     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17537 test 0 -eq $? || _lt_function_replace_fail=:
17538
17539
17540   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17541 func_xform ()\
17542 {\
17543     func_xform_result=${1%.*}.lo\
17544 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17545   && mv -f "$cfgfile.tmp" "$cfgfile" \
17546     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17547 test 0 -eq $? || _lt_function_replace_fail=:
17548
17549
17550   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17551 func_arith ()\
17552 {\
17553     func_arith_result=$(( $* ))\
17554 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17555   && mv -f "$cfgfile.tmp" "$cfgfile" \
17556     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17557 test 0 -eq $? || _lt_function_replace_fail=:
17558
17559
17560   sed -e '/^func_len ()$/,/^} # func_len /c\
17561 func_len ()\
17562 {\
17563     func_len_result=${#1}\
17564 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17565   && mv -f "$cfgfile.tmp" "$cfgfile" \
17566     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17567 test 0 -eq $? || _lt_function_replace_fail=:
17568
17569 fi
17570
17571 if test x"$lt_shell_append" = xyes; then
17572   sed -e '/^func_append ()$/,/^} # func_append /c\
17573 func_append ()\
17574 {\
17575     eval "${1}+=\\${2}"\
17576 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17577   && mv -f "$cfgfile.tmp" "$cfgfile" \
17578     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17579 test 0 -eq $? || _lt_function_replace_fail=:
17580
17581
17582   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17583 func_append_quoted ()\
17584 {\
17585 \    func_quote_for_eval "${2}"\
17586 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17587 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17588   && mv -f "$cfgfile.tmp" "$cfgfile" \
17589     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17590 test 0 -eq $? || _lt_function_replace_fail=:
17591
17592
17593   # Save a `func_append' function call where possible by direct use of '+='
17594   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17595     && mv -f "$cfgfile.tmp" "$cfgfile" \
17596       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17597   test 0 -eq $? || _lt_function_replace_fail=:
17598 else
17599   # Save a `func_append' function call even when '+=' is not available
17600   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17601     && mv -f "$cfgfile.tmp" "$cfgfile" \
17602       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17603   test 0 -eq $? || _lt_function_replace_fail=:
17604 fi
17605
17606 if test x"$_lt_function_replace_fail" = x":"; then
17607   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17608 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17609 fi
17610
17611
17612    mv -f "$cfgfile" "$ofile" ||
17613     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17614   chmod +x "$ofile"
17615
17616  ;;
17617
17618   esac
17619 done # for ac_tag
17620
17621
17622 as_fn_exit 0
17623 _ACEOF
17624 ac_clean_files=$ac_clean_files_save
17625
17626 test $ac_write_fail = 0 ||
17627   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17628
17629
17630 # configure is writing to config.log, and then calls config.status.
17631 # config.status does its own redirection, appending to config.log.
17632 # Unfortunately, on DOS this fails, as config.log is still kept open
17633 # by configure, so config.status won't be able to write to it; its
17634 # output is simply discarded.  So we exec the FD to /dev/null,
17635 # effectively closing config.log, so it can be properly (re)opened and
17636 # appended to by config.status.  When coming back to configure, we
17637 # need to make the FD available again.
17638 if test "$no_create" != yes; then
17639   ac_cs_success=:
17640   ac_config_status_args=
17641   test "$silent" = yes &&
17642     ac_config_status_args="$ac_config_status_args --quiet"
17643   exec 5>/dev/null
17644   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17645   exec 5>>config.log
17646   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17647   # would make configure fail if this is the last instruction.
17648   $ac_cs_success || as_fn_exit 1
17649 fi
17650 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17651   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17652 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17653 fi
17654
17655
17656
17657 #####################################################################
17658 ## Info
17659
17660 echo
17661 echo
17662 echo
17663 echo "------------------------------------------------------------------------"
17664 echo "$PACKAGE $VERSION"
17665 echo "------------------------------------------------------------------------"
17666 echo
17667 echo "Configuration Options Summary:"
17668 echo
17669 echo "  Modules:"
17670 echo
17671 echo "    EBluez.............: $enable_ebluez"
17672 echo "    EConnman (0.7x)....: $enable_econnman0_7x"
17673 echo "    EHal...............: $enable_ehal"
17674 echo "    ENotify............: $enable_enotify"
17675 echo "    EOfono.............: $enable_eofono"
17676 echo "    EUkit..............: $enable_eukit"
17677 echo
17678 echo "  Binaries:"
17679 echo
17680 echo "    EDbus test.........: $have_edbus_test"
17681 echo "    EDbus client test..: $have_edbus_test_client"
17682 echo "    EDbus async test...: $have_edbus_async_test"
17683 echo "    EDbus performance..: $have_edbus_performance_test"
17684 echo "    EBluez test........: $have_edbus_bluez_test"
17685 echo "    EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17686 echo "    ENotify Daemon test: $have_edbus_notification_daemon_test"
17687 echo "    ENotify send.......: $have_edbus_notify_send"
17688 echo "    ENotify test.......: $have_edbus_notify_test"
17689 echo "    EOfono test........: $have_edbus_ofono_test"
17690 echo "    EUkit test.........: $have_edbus_ukit_test"
17691 echo
17692 echo "Documentation..........: ${build_doc}"
17693 if test "x${build_doc}" = "xyes" ; then
17694 echo "    Installation.......: make install-doc"
17695 fi
17696 echo
17697 echo "Compilation............: make (or gmake)"
17698 echo "  CPPFLAGS.............: $CPPFLAGS"
17699 echo "  CFLAGS...............: $CFLAGS"
17700 echo "  LDFLAGS..............: $LDFLAGS"
17701 echo
17702 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17703 echo "  prefix...............: $prefix"
17704 echo