Imported Upstream version 1.7.2
[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.2.
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.2'
574 PACKAGE_STRING='e_dbus 1.7.2'
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_dbus
620 requirement_eukit
621 requirement_eofono
622 requirement_enotify
623 requirement_ehal
624 requirement_edbus
625 requirement_econnman0_7x
626 requirement_ebluez
627 ALLOCA
628 lt_enable_auto_import
629 EFL_EDBUS_BUILD
630 EDBUS_ASYNC_TEST_LIBS
631 EDBUS_ASYNC_TEST_CFLAGS
632 EDBUS_PERFORMANCE_TEST_LIBS
633 EDBUS_PERFORMANCE_TEST_CFLAGS
634 EDBUS_UKIT_TEST_LIBS
635 EDBUS_UKIT_TEST_CFLAGS
636 EDBUS_OFONO_TEST_LIBS
637 EDBUS_OFONO_TEST_CFLAGS
638 EDBUS_NOTIFY_TEST_LIBS
639 EDBUS_NOTIFY_TEST_CFLAGS
640 EDBUS_NOTIFY_SEND_LIBS
641 EDBUS_NOTIFY_SEND_CFLAGS
642 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
643 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
644 EDBUS_CONNMAN0_7X_TEST_LIBS
645 EDBUS_CONNMAN0_7X_TEST_CFLAGS
646 EDBUS_BLUEZ_TEST_LIBS
647 EDBUS_BLUEZ_TEST_CFLAGS
648 EDBUS_TEST_CLIENT_LIBS
649 EDBUS_TEST_CLIENT_CFLAGS
650 EDBUS_TEST_LIBS
651 EDBUS_TEST_CFLAGS
652 BUILD_EDBUS_ASYNC_TEST_FALSE
653 BUILD_EDBUS_ASYNC_TEST_TRUE
654 EDBUS_ASYNC_TEST_PRG
655 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
656 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
657 EDBUS_PERFORMANCE_TEST_PRG
658 BUILD_EDBUS_UKIT_TEST_FALSE
659 BUILD_EDBUS_UKIT_TEST_TRUE
660 EDBUS_UKIT_TEST_PRG
661 BUILD_EDBUS_OFONO_TEST_FALSE
662 BUILD_EDBUS_OFONO_TEST_TRUE
663 EDBUS_OFONO_TEST_PRG
664 BUILD_EDBUS_NOTIFY_TEST_FALSE
665 BUILD_EDBUS_NOTIFY_TEST_TRUE
666 EDBUS_NOTIFY_TEST_PRG
667 BUILD_EDBUS_NOTIFY_SEND_FALSE
668 BUILD_EDBUS_NOTIFY_SEND_TRUE
669 EDBUS_NOTIFY_SEND_PRG
670 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
671 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
672 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
673 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
674 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
675 EDBUS_CONNMAN0_7X_TEST_PRG
676 BUILD_EDBUS_BLUEZ_TEST_FALSE
677 BUILD_EDBUS_BLUEZ_TEST_TRUE
678 EDBUS_BLUEZ_TEST_PRG
679 BUILD_EDBUS_TEST_CLIENT_FALSE
680 BUILD_EDBUS_TEST_CLIENT_TRUE
681 EDBUS_TEST_CLIENT_PRG
682 BUILD_EDBUS_TEST_FALSE
683 BUILD_EDBUS_TEST_TRUE
684 EDBUS_TEST_PRG
685 BUILD_EUKIT_FALSE
686 BUILD_EUKIT_TRUE
687 BUILD_EOFONO_FALSE
688 BUILD_EOFONO_TRUE
689 BUILD_ENOTIFY_FALSE
690 BUILD_ENOTIFY_TRUE
691 BUILD_EHAL_FALSE
692 BUILD_EHAL_TRUE
693 BUILD_ECONNMAN0_7X_FALSE
694 BUILD_ECONNMAN0_7X_TRUE
695 BUILD_EBLUEZ_FALSE
696 BUILD_EBLUEZ_TRUE
697 EVAS_LIBS
698 EVAS_CFLAGS
699 DBUS_VERSION_CFLAGS
700 EDBUS_LIBS
701 EDBUS_CFLAGS
702 dbus_cflags
703 dbus_libs
704 DBUS_LIBS
705 DBUS_CFLAGS
706 EFL_BUILD_DOC_FALSE
707 EFL_BUILD_DOC_TRUE
708 efl_doxygen
709 efl_have_doxygen
710 pkgconfig_requires_private
711 PKG_CONFIG_LIBDIR
712 PKG_CONFIG_PATH
713 PKG_CONFIG
714 VMAJ
715 release_info
716 version_info
717 CPP
718 OTOOL64
719 OTOOL
720 LIPO
721 NMEDIT
722 DSYMUTIL
723 MANIFEST_TOOL
724 RANLIB
725 ac_ct_AR
726 AR
727 LN_S
728 NM
729 ac_ct_DUMPBIN
730 DUMPBIN
731 LD
732 FGREP
733 EGREP
734 GREP
735 SED
736 am__fastdepCC_FALSE
737 am__fastdepCC_TRUE
738 CCDEPMODE
739 am__nodep
740 AMDEPBACKSLASH
741 AMDEP_FALSE
742 AMDEP_TRUE
743 am__quote
744 am__include
745 DEPDIR
746 OBJEXT
747 EXEEXT
748 ac_ct_CC
749 CPPFLAGS
750 LDFLAGS
751 CFLAGS
752 CC
753 LIBTOOL
754 OBJDUMP
755 DLLTOOL
756 AS
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 AM_BACKSLASH
766 AM_DEFAULT_VERBOSITY
767 AM_DEFAULT_V
768 AM_V
769 am__untar
770 am__tar
771 AMTAR
772 am__leading_dot
773 SET_MAKE
774 AWK
775 mkdir_p
776 MKDIR_P
777 INSTALL_STRIP_PROGRAM
778 STRIP
779 install_sh
780 MAKEINFO
781 AUTOHEADER
782 AUTOMAKE
783 AUTOCONF
784 ACLOCAL
785 VERSION
786 PACKAGE
787 CYGPATH_W
788 am__isrc
789 INSTALL_DATA
790 INSTALL_SCRIPT
791 INSTALL_PROGRAM
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_silent_rules
834 enable_shared
835 enable_static
836 with_pic
837 enable_fast_install
838 enable_dependency_tracking
839 with_gnu_ld
840 with_sysroot
841 enable_libtool_lock
842 enable_ebluez
843 enable_econnman0_7x
844 enable_ehal
845 enable_enotify
846 enable_eofono
847 enable_eukit
848 enable_doc
849 with_doxygen
850 enable_edbus_test
851 enable_edbus_test_client
852 enable_edbus_bluez_test
853 enable_edbus_connman0_7x_test
854 enable_edbus_notification_daemon_test
855 enable_edbus_notify_send
856 enable_edbus_notify_test
857 enable_edbus_ofono_test
858 enable_edbus_ukit_test
859 enable_edbus_performance_test
860 enable_edbus_async_test
861 '
862       ac_precious_vars='build_alias
863 host_alias
864 target_alias
865 CC
866 CFLAGS
867 LDFLAGS
868 LIBS
869 CPPFLAGS
870 CPP
871 PKG_CONFIG
872 PKG_CONFIG_PATH
873 PKG_CONFIG_LIBDIR
874 DBUS_CFLAGS
875 DBUS_LIBS
876 EDBUS_CFLAGS
877 EDBUS_LIBS
878 EVAS_CFLAGS
879 EVAS_LIBS
880 EDBUS_TEST_CFLAGS
881 EDBUS_TEST_LIBS
882 EDBUS_TEST_CLIENT_CFLAGS
883 EDBUS_TEST_CLIENT_LIBS
884 EDBUS_BLUEZ_TEST_CFLAGS
885 EDBUS_BLUEZ_TEST_LIBS
886 EDBUS_CONNMAN0_7X_TEST_CFLAGS
887 EDBUS_CONNMAN0_7X_TEST_LIBS
888 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
889 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
890 EDBUS_NOTIFY_SEND_CFLAGS
891 EDBUS_NOTIFY_SEND_LIBS
892 EDBUS_NOTIFY_TEST_CFLAGS
893 EDBUS_NOTIFY_TEST_LIBS
894 EDBUS_OFONO_TEST_CFLAGS
895 EDBUS_OFONO_TEST_LIBS
896 EDBUS_UKIT_TEST_CFLAGS
897 EDBUS_UKIT_TEST_LIBS
898 EDBUS_PERFORMANCE_TEST_CFLAGS
899 EDBUS_PERFORMANCE_TEST_LIBS
900 EDBUS_ASYNC_TEST_CFLAGS
901 EDBUS_ASYNC_TEST_LIBS'
902
903
904 # Initialize some variables set by options.
905 ac_init_help=
906 ac_init_version=false
907 ac_unrecognized_opts=
908 ac_unrecognized_sep=
909 # The variables have the same names as the options, with
910 # dashes changed to underlines.
911 cache_file=/dev/null
912 exec_prefix=NONE
913 no_create=
914 no_recursion=
915 prefix=NONE
916 program_prefix=NONE
917 program_suffix=NONE
918 program_transform_name=s,x,x,
919 silent=
920 site=
921 srcdir=
922 verbose=
923 x_includes=NONE
924 x_libraries=NONE
925
926 # Installation directory options.
927 # These are left unexpanded so users can "make install exec_prefix=/foo"
928 # and all the variables that are supposed to be based on exec_prefix
929 # by default will actually change.
930 # Use braces instead of parens because sh, perl, etc. also accept them.
931 # (The list follows the same order as the GNU Coding Standards.)
932 bindir='${exec_prefix}/bin'
933 sbindir='${exec_prefix}/sbin'
934 libexecdir='${exec_prefix}/libexec'
935 datarootdir='${prefix}/share'
936 datadir='${datarootdir}'
937 sysconfdir='${prefix}/etc'
938 sharedstatedir='${prefix}/com'
939 localstatedir='${prefix}/var'
940 includedir='${prefix}/include'
941 oldincludedir='/usr/include'
942 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
943 infodir='${datarootdir}/info'
944 htmldir='${docdir}'
945 dvidir='${docdir}'
946 pdfdir='${docdir}'
947 psdir='${docdir}'
948 libdir='${exec_prefix}/lib'
949 localedir='${datarootdir}/locale'
950 mandir='${datarootdir}/man'
951
952 ac_prev=
953 ac_dashdash=
954 for ac_option
955 do
956   # If the previous option needs an argument, assign it.
957   if test -n "$ac_prev"; then
958     eval $ac_prev=\$ac_option
959     ac_prev=
960     continue
961   fi
962
963   case $ac_option in
964   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
965   *=)   ac_optarg= ;;
966   *)    ac_optarg=yes ;;
967   esac
968
969   # Accept the important Cygnus configure options, so we can diagnose typos.
970
971   case $ac_dashdash$ac_option in
972   --)
973     ac_dashdash=yes ;;
974
975   -bindir | --bindir | --bindi | --bind | --bin | --bi)
976     ac_prev=bindir ;;
977   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
978     bindir=$ac_optarg ;;
979
980   -build | --build | --buil | --bui | --bu)
981     ac_prev=build_alias ;;
982   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
983     build_alias=$ac_optarg ;;
984
985   -cache-file | --cache-file | --cache-fil | --cache-fi \
986   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
987     ac_prev=cache_file ;;
988   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
989   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
990     cache_file=$ac_optarg ;;
991
992   --config-cache | -C)
993     cache_file=config.cache ;;
994
995   -datadir | --datadir | --datadi | --datad)
996     ac_prev=datadir ;;
997   -datadir=* | --datadir=* | --datadi=* | --datad=*)
998     datadir=$ac_optarg ;;
999
1000   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1001   | --dataroo | --dataro | --datar)
1002     ac_prev=datarootdir ;;
1003   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1004   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1005     datarootdir=$ac_optarg ;;
1006
1007   -disable-* | --disable-*)
1008     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1009     # Reject names that are not valid shell variable names.
1010     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011       as_fn_error $? "invalid feature name: $ac_useropt"
1012     ac_useropt_orig=$ac_useropt
1013     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014     case $ac_user_opts in
1015       *"
1016 "enable_$ac_useropt"
1017 "*) ;;
1018       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1019          ac_unrecognized_sep=', ';;
1020     esac
1021     eval enable_$ac_useropt=no ;;
1022
1023   -docdir | --docdir | --docdi | --doc | --do)
1024     ac_prev=docdir ;;
1025   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1026     docdir=$ac_optarg ;;
1027
1028   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1029     ac_prev=dvidir ;;
1030   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1031     dvidir=$ac_optarg ;;
1032
1033   -enable-* | --enable-*)
1034     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1035     # Reject names that are not valid shell variable names.
1036     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037       as_fn_error $? "invalid feature name: $ac_useropt"
1038     ac_useropt_orig=$ac_useropt
1039     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040     case $ac_user_opts in
1041       *"
1042 "enable_$ac_useropt"
1043 "*) ;;
1044       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1045          ac_unrecognized_sep=', ';;
1046     esac
1047     eval enable_$ac_useropt=\$ac_optarg ;;
1048
1049   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1050   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1051   | --exec | --exe | --ex)
1052     ac_prev=exec_prefix ;;
1053   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1054   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1055   | --exec=* | --exe=* | --ex=*)
1056     exec_prefix=$ac_optarg ;;
1057
1058   -gas | --gas | --ga | --g)
1059     # Obsolete; use --with-gas.
1060     with_gas=yes ;;
1061
1062   -help | --help | --hel | --he | -h)
1063     ac_init_help=long ;;
1064   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1065     ac_init_help=recursive ;;
1066   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1067     ac_init_help=short ;;
1068
1069   -host | --host | --hos | --ho)
1070     ac_prev=host_alias ;;
1071   -host=* | --host=* | --hos=* | --ho=*)
1072     host_alias=$ac_optarg ;;
1073
1074   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1075     ac_prev=htmldir ;;
1076   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1077   | --ht=*)
1078     htmldir=$ac_optarg ;;
1079
1080   -includedir | --includedir | --includedi | --included | --include \
1081   | --includ | --inclu | --incl | --inc)
1082     ac_prev=includedir ;;
1083   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1084   | --includ=* | --inclu=* | --incl=* | --inc=*)
1085     includedir=$ac_optarg ;;
1086
1087   -infodir | --infodir | --infodi | --infod | --info | --inf)
1088     ac_prev=infodir ;;
1089   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1090     infodir=$ac_optarg ;;
1091
1092   -libdir | --libdir | --libdi | --libd)
1093     ac_prev=libdir ;;
1094   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1095     libdir=$ac_optarg ;;
1096
1097   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1098   | --libexe | --libex | --libe)
1099     ac_prev=libexecdir ;;
1100   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1101   | --libexe=* | --libex=* | --libe=*)
1102     libexecdir=$ac_optarg ;;
1103
1104   -localedir | --localedir | --localedi | --localed | --locale)
1105     ac_prev=localedir ;;
1106   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1107     localedir=$ac_optarg ;;
1108
1109   -localstatedir | --localstatedir | --localstatedi | --localstated \
1110   | --localstate | --localstat | --localsta | --localst | --locals)
1111     ac_prev=localstatedir ;;
1112   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1113   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1114     localstatedir=$ac_optarg ;;
1115
1116   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1117     ac_prev=mandir ;;
1118   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1119     mandir=$ac_optarg ;;
1120
1121   -nfp | --nfp | --nf)
1122     # Obsolete; use --without-fp.
1123     with_fp=no ;;
1124
1125   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1126   | --no-cr | --no-c | -n)
1127     no_create=yes ;;
1128
1129   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1130   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1131     no_recursion=yes ;;
1132
1133   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1134   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1135   | --oldin | --oldi | --old | --ol | --o)
1136     ac_prev=oldincludedir ;;
1137   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1138   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1139   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1140     oldincludedir=$ac_optarg ;;
1141
1142   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1143     ac_prev=prefix ;;
1144   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1145     prefix=$ac_optarg ;;
1146
1147   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1148   | --program-pre | --program-pr | --program-p)
1149     ac_prev=program_prefix ;;
1150   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1151   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1152     program_prefix=$ac_optarg ;;
1153
1154   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1155   | --program-suf | --program-su | --program-s)
1156     ac_prev=program_suffix ;;
1157   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1158   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1159     program_suffix=$ac_optarg ;;
1160
1161   -program-transform-name | --program-transform-name \
1162   | --program-transform-nam | --program-transform-na \
1163   | --program-transform-n | --program-transform- \
1164   | --program-transform | --program-transfor \
1165   | --program-transfo | --program-transf \
1166   | --program-trans | --program-tran \
1167   | --progr-tra | --program-tr | --program-t)
1168     ac_prev=program_transform_name ;;
1169   -program-transform-name=* | --program-transform-name=* \
1170   | --program-transform-nam=* | --program-transform-na=* \
1171   | --program-transform-n=* | --program-transform-=* \
1172   | --program-transform=* | --program-transfor=* \
1173   | --program-transfo=* | --program-transf=* \
1174   | --program-trans=* | --program-tran=* \
1175   | --progr-tra=* | --program-tr=* | --program-t=*)
1176     program_transform_name=$ac_optarg ;;
1177
1178   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1179     ac_prev=pdfdir ;;
1180   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1181     pdfdir=$ac_optarg ;;
1182
1183   -psdir | --psdir | --psdi | --psd | --ps)
1184     ac_prev=psdir ;;
1185   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1186     psdir=$ac_optarg ;;
1187
1188   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1189   | -silent | --silent | --silen | --sile | --sil)
1190     silent=yes ;;
1191
1192   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1193     ac_prev=sbindir ;;
1194   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1195   | --sbi=* | --sb=*)
1196     sbindir=$ac_optarg ;;
1197
1198   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1199   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1200   | --sharedst | --shareds | --shared | --share | --shar \
1201   | --sha | --sh)
1202     ac_prev=sharedstatedir ;;
1203   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1204   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1205   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1206   | --sha=* | --sh=*)
1207     sharedstatedir=$ac_optarg ;;
1208
1209   -site | --site | --sit)
1210     ac_prev=site ;;
1211   -site=* | --site=* | --sit=*)
1212     site=$ac_optarg ;;
1213
1214   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1215     ac_prev=srcdir ;;
1216   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1217     srcdir=$ac_optarg ;;
1218
1219   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1220   | --syscon | --sysco | --sysc | --sys | --sy)
1221     ac_prev=sysconfdir ;;
1222   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1223   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1224     sysconfdir=$ac_optarg ;;
1225
1226   -target | --target | --targe | --targ | --tar | --ta | --t)
1227     ac_prev=target_alias ;;
1228   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1229     target_alias=$ac_optarg ;;
1230
1231   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1232     verbose=yes ;;
1233
1234   -version | --version | --versio | --versi | --vers | -V)
1235     ac_init_version=: ;;
1236
1237   -with-* | --with-*)
1238     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1239     # Reject names that are not valid shell variable names.
1240     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1241       as_fn_error $? "invalid package name: $ac_useropt"
1242     ac_useropt_orig=$ac_useropt
1243     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1244     case $ac_user_opts in
1245       *"
1246 "with_$ac_useropt"
1247 "*) ;;
1248       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1249          ac_unrecognized_sep=', ';;
1250     esac
1251     eval with_$ac_useropt=\$ac_optarg ;;
1252
1253   -without-* | --without-*)
1254     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1255     # Reject names that are not valid shell variable names.
1256     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1257       as_fn_error $? "invalid package name: $ac_useropt"
1258     ac_useropt_orig=$ac_useropt
1259     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1260     case $ac_user_opts in
1261       *"
1262 "with_$ac_useropt"
1263 "*) ;;
1264       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1265          ac_unrecognized_sep=', ';;
1266     esac
1267     eval with_$ac_useropt=no ;;
1268
1269   --x)
1270     # Obsolete; use --with-x.
1271     with_x=yes ;;
1272
1273   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1274   | --x-incl | --x-inc | --x-in | --x-i)
1275     ac_prev=x_includes ;;
1276   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1277   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1278     x_includes=$ac_optarg ;;
1279
1280   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1281   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1282     ac_prev=x_libraries ;;
1283   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1284   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1285     x_libraries=$ac_optarg ;;
1286
1287   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1288 Try \`$0 --help' for more information"
1289     ;;
1290
1291   *=*)
1292     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1293     # Reject names that are not valid shell variable names.
1294     case $ac_envvar in #(
1295       '' | [0-9]* | *[!_$as_cr_alnum]* )
1296       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1297     esac
1298     eval $ac_envvar=\$ac_optarg
1299     export $ac_envvar ;;
1300
1301   *)
1302     # FIXME: should be removed in autoconf 3.0.
1303     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1304     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1305       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1306     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1307     ;;
1308
1309   esac
1310 done
1311
1312 if test -n "$ac_prev"; then
1313   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1314   as_fn_error $? "missing argument to $ac_option"
1315 fi
1316
1317 if test -n "$ac_unrecognized_opts"; then
1318   case $enable_option_checking in
1319     no) ;;
1320     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1321     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1322   esac
1323 fi
1324
1325 # Check all directory arguments for consistency.
1326 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1327                 datadir sysconfdir sharedstatedir localstatedir includedir \
1328                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1329                 libdir localedir mandir
1330 do
1331   eval ac_val=\$$ac_var
1332   # Remove trailing slashes.
1333   case $ac_val in
1334     */ )
1335       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1336       eval $ac_var=\$ac_val;;
1337   esac
1338   # Be sure to have absolute directory names.
1339   case $ac_val in
1340     [\\/$]* | ?:[\\/]* )  continue;;
1341     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1342   esac
1343   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1344 done
1345
1346 # There might be people who depend on the old broken behavior: `$host'
1347 # used to hold the argument of --host etc.
1348 # FIXME: To remove some day.
1349 build=$build_alias
1350 host=$host_alias
1351 target=$target_alias
1352
1353 # FIXME: To remove some day.
1354 if test "x$host_alias" != x; then
1355   if test "x$build_alias" = x; then
1356     cross_compiling=maybe
1357     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1358     If a cross compiler is detected then cross compile mode will be used" >&2
1359   elif test "x$build_alias" != "x$host_alias"; then
1360     cross_compiling=yes
1361   fi
1362 fi
1363
1364 ac_tool_prefix=
1365 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1366
1367 test "$silent" = yes && exec 6>/dev/null
1368
1369
1370 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1371 ac_ls_di=`ls -di .` &&
1372 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1373   as_fn_error $? "working directory cannot be determined"
1374 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1375   as_fn_error $? "pwd does not report name of working directory"
1376
1377
1378 # Find the source files, if location was not specified.
1379 if test -z "$srcdir"; then
1380   ac_srcdir_defaulted=yes
1381   # Try the directory containing this script, then the parent directory.
1382   ac_confdir=`$as_dirname -- "$as_myself" ||
1383 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1384          X"$as_myself" : 'X\(//\)[^/]' \| \
1385          X"$as_myself" : 'X\(//\)$' \| \
1386          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1387 $as_echo X"$as_myself" |
1388     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389             s//\1/
1390             q
1391           }
1392           /^X\(\/\/\)[^/].*/{
1393             s//\1/
1394             q
1395           }
1396           /^X\(\/\/\)$/{
1397             s//\1/
1398             q
1399           }
1400           /^X\(\/\).*/{
1401             s//\1/
1402             q
1403           }
1404           s/.*/./; q'`
1405   srcdir=$ac_confdir
1406   if test ! -r "$srcdir/$ac_unique_file"; then
1407     srcdir=..
1408   fi
1409 else
1410   ac_srcdir_defaulted=no
1411 fi
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1413   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1414   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1415 fi
1416 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1417 ac_abs_confdir=`(
1418         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1419         pwd)`
1420 # When building in place, set srcdir=.
1421 if test "$ac_abs_confdir" = "$ac_pwd"; then
1422   srcdir=.
1423 fi
1424 # Remove unnecessary trailing slashes from srcdir.
1425 # Double slashes in file names in object file debugging info
1426 # mess up M-x gdb in Emacs.
1427 case $srcdir in
1428 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1429 esac
1430 for ac_var in $ac_precious_vars; do
1431   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1432   eval ac_env_${ac_var}_value=\$${ac_var}
1433   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1434   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1435 done
1436
1437 #
1438 # Report the --help message.
1439 #
1440 if test "$ac_init_help" = "long"; then
1441   # Omit some internal or obsolete options to make the list less imposing.
1442   # This message is too long to be a string in the A/UX 3.1 sh.
1443   cat <<_ACEOF
1444 \`configure' configures e_dbus 1.7.2 to adapt to many kinds of systems.
1445
1446 Usage: $0 [OPTION]... [VAR=VALUE]...
1447
1448 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1449 VAR=VALUE.  See below for descriptions of some of the useful variables.
1450
1451 Defaults for the options are specified in brackets.
1452
1453 Configuration:
1454   -h, --help              display this help and exit
1455       --help=short        display options specific to this package
1456       --help=recursive    display the short help of all the included packages
1457   -V, --version           display version information and exit
1458   -q, --quiet, --silent   do not print \`checking ...' messages
1459       --cache-file=FILE   cache test results in FILE [disabled]
1460   -C, --config-cache      alias for \`--cache-file=config.cache'
1461   -n, --no-create         do not create output files
1462       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1463
1464 Installation directories:
1465   --prefix=PREFIX         install architecture-independent files in PREFIX
1466                           [$ac_default_prefix]
1467   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1468                           [PREFIX]
1469
1470 By default, \`make install' will install all the files in
1471 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1472 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1473 for instance \`--prefix=\$HOME'.
1474
1475 For better control, use the options below.
1476
1477 Fine tuning of the installation directories:
1478   --bindir=DIR            user executables [EPREFIX/bin]
1479   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1480   --libexecdir=DIR        program executables [EPREFIX/libexec]
1481   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1482   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1483   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1484   --libdir=DIR            object code libraries [EPREFIX/lib]
1485   --includedir=DIR        C header files [PREFIX/include]
1486   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1487   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1488   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1489   --infodir=DIR           info documentation [DATAROOTDIR/info]
1490   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1491   --mandir=DIR            man documentation [DATAROOTDIR/man]
1492   --docdir=DIR            documentation root [DATAROOTDIR/doc/e_dbus]
1493   --htmldir=DIR           html documentation [DOCDIR]
1494   --dvidir=DIR            dvi documentation [DOCDIR]
1495   --pdfdir=DIR            pdf documentation [DOCDIR]
1496   --psdir=DIR             ps documentation [DOCDIR]
1497 _ACEOF
1498
1499   cat <<\_ACEOF
1500
1501 Program names:
1502   --program-prefix=PREFIX            prepend PREFIX to installed program names
1503   --program-suffix=SUFFIX            append SUFFIX to installed program names
1504   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1505
1506 System types:
1507   --build=BUILD     configure for building on BUILD [guessed]
1508   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1509 _ACEOF
1510 fi
1511
1512 if test -n "$ac_init_help"; then
1513   case $ac_init_help in
1514      short | recursive ) echo "Configuration of e_dbus 1.7.2:";;
1515    esac
1516   cat <<\_ACEOF
1517
1518 Optional Features:
1519   --disable-option-checking  ignore unrecognized --enable/--with options
1520   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1521   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1522   --enable-silent-rules          less verbose build output (undo: `make V=1')
1523   --disable-silent-rules         verbose build output (undo: `make V=0')
1524   --enable-shared[=PKGS]  build shared libraries [default=yes]
1525   --enable-static[=PKGS]  build static libraries [default=yes]
1526   --enable-fast-install[=PKGS]
1527                           optimize for fast installation [default=yes]
1528   --disable-dependency-tracking  speeds up one-time build
1529   --enable-dependency-tracking   do not reject slow dependency extractors
1530   --disable-libtool-lock  avoid locking (might break parallel builds)
1531   --enable-ebluez         Enable ebluez build
1532   --enable-econnman0_7x   Enable econnman 0.7x build
1533   --disable-ehal          Disable ehal build
1534   --disable-enotify       Disable enotify build
1535   --enable-eofono         Enable eofono build
1536   --disable-eukit         Disable eukit build
1537   --disable-doc           Disable documentation build [default=enabled]
1538   --disable-edbus-test    disable building of edbus_test
1539   --disable-edbus-test-client
1540                           disable building of edbus_test_client
1541   --disable-edbus-bluez-test
1542                           disable building of edbus_bluez_test
1543   --disable-edbus-connman0_7x-test
1544                           disable building of edbus_connman0_7x_test
1545   --disable-edbus-notification-daemon-test
1546                           disable building of edbus_notification_daemon_test
1547   --disable-edbus-notify-send
1548                           disable building of edbus_notify_send
1549   --disable-edbus-notify-test
1550                           disable building of edbus_notify_test
1551   --disable-edbus-ofono-test
1552                           disable building of edbus_ofono_test
1553   --disable-edbus-ukit-test
1554                           disable building of edbus_ukit_test
1555   --disable-edbus-performance-test
1556                           disable building of edbus_performance_test
1557   --disable-edbus-async-test
1558                           disable building of edbus_async_test
1559
1560 Optional Packages:
1561   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1562   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1563   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1564                           both]
1565   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1566   --with-sysroot=DIR Search for dependent libraries within DIR
1567                         (or the compiler's sysroot if not specified).
1568   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1569
1570 Some influential environment variables:
1571   CC          C compiler command
1572   CFLAGS      C compiler flags
1573   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1574               nonstandard directory <lib dir>
1575   LIBS        libraries to pass to the linker, e.g. -l<library>
1576   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1577               you have headers in a nonstandard directory <include dir>
1578   CPP         C preprocessor
1579   PKG_CONFIG  path to pkg-config utility
1580   PKG_CONFIG_PATH
1581               directories to add to pkg-config's search path
1582   PKG_CONFIG_LIBDIR
1583               path overriding pkg-config's built-in search path
1584   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1585   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1586   EDBUS_CFLAGS
1587               C compiler flags for EDBUS, overriding pkg-config
1588   EDBUS_LIBS  linker flags for EDBUS, overriding pkg-config
1589   EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1590   EVAS_LIBS   linker flags for EVAS, overriding pkg-config
1591   EDBUS_TEST_CFLAGS
1592               C compiler flags for EDBUS_TEST, overriding pkg-config
1593   EDBUS_TEST_LIBS
1594               linker flags for EDBUS_TEST, overriding pkg-config
1595   EDBUS_TEST_CLIENT_CFLAGS
1596               C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1597   EDBUS_TEST_CLIENT_LIBS
1598               linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1599   EDBUS_BLUEZ_TEST_CFLAGS
1600               C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1601   EDBUS_BLUEZ_TEST_LIBS
1602               linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1603   EDBUS_CONNMAN0_7X_TEST_CFLAGS
1604               C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1605               pkg-config
1606   EDBUS_CONNMAN0_7X_TEST_LIBS
1607               linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1608   EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1609               C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1610               pkg-config
1611   EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1612               linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1613               pkg-config
1614   EDBUS_NOTIFY_SEND_CFLAGS
1615               C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1616   EDBUS_NOTIFY_SEND_LIBS
1617               linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1618   EDBUS_NOTIFY_TEST_CFLAGS
1619               C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1620   EDBUS_NOTIFY_TEST_LIBS
1621               linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1622   EDBUS_OFONO_TEST_CFLAGS
1623               C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1624   EDBUS_OFONO_TEST_LIBS
1625               linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1626   EDBUS_UKIT_TEST_CFLAGS
1627               C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1628   EDBUS_UKIT_TEST_LIBS
1629               linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1630   EDBUS_PERFORMANCE_TEST_CFLAGS
1631               C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1632               pkg-config
1633   EDBUS_PERFORMANCE_TEST_LIBS
1634               linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1635   EDBUS_ASYNC_TEST_CFLAGS
1636               C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1637   EDBUS_ASYNC_TEST_LIBS
1638               linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1639
1640 Use these variables to override the choices made by `configure' or to help
1641 it to find libraries and programs with nonstandard names/locations.
1642
1643 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1644 _ACEOF
1645 ac_status=$?
1646 fi
1647
1648 if test "$ac_init_help" = "recursive"; then
1649   # If there are subdirs, report their specific --help.
1650   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1651     test -d "$ac_dir" ||
1652       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1653       continue
1654     ac_builddir=.
1655
1656 case "$ac_dir" in
1657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *)
1659   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1660   # A ".." for each directory in $ac_dir_suffix.
1661   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1662   case $ac_top_builddir_sub in
1663   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1665   esac ;;
1666 esac
1667 ac_abs_top_builddir=$ac_pwd
1668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1669 # for backward compatibility:
1670 ac_top_builddir=$ac_top_build_prefix
1671
1672 case $srcdir in
1673   .)  # We are building in place.
1674     ac_srcdir=.
1675     ac_top_srcdir=$ac_top_builddir_sub
1676     ac_abs_top_srcdir=$ac_pwd ;;
1677   [\\/]* | ?:[\\/]* )  # Absolute name.
1678     ac_srcdir=$srcdir$ac_dir_suffix;
1679     ac_top_srcdir=$srcdir
1680     ac_abs_top_srcdir=$srcdir ;;
1681   *) # Relative name.
1682     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1683     ac_top_srcdir=$ac_top_build_prefix$srcdir
1684     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1685 esac
1686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1687
1688     cd "$ac_dir" || { ac_status=$?; continue; }
1689     # Check for guested configure.
1690     if test -f "$ac_srcdir/configure.gnu"; then
1691       echo &&
1692       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1693     elif test -f "$ac_srcdir/configure"; then
1694       echo &&
1695       $SHELL "$ac_srcdir/configure" --help=recursive
1696     else
1697       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1698     fi || ac_status=$?
1699     cd "$ac_pwd" || { ac_status=$?; break; }
1700   done
1701 fi
1702
1703 test -n "$ac_init_help" && exit $ac_status
1704 if $ac_init_version; then
1705   cat <<\_ACEOF
1706 e_dbus configure 1.7.2
1707 generated by GNU Autoconf 2.68
1708
1709 Copyright (C) 2010 Free Software Foundation, Inc.
1710 This configure script is free software; the Free Software Foundation
1711 gives unlimited permission to copy, distribute and modify it.
1712 _ACEOF
1713   exit
1714 fi
1715
1716 ## ------------------------ ##
1717 ## Autoconf initialization. ##
1718 ## ------------------------ ##
1719
1720 # ac_fn_c_try_compile LINENO
1721 # --------------------------
1722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1723 ac_fn_c_try_compile ()
1724 {
1725   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726   rm -f conftest.$ac_objext
1727   if { { ac_try="$ac_compile"
1728 case "(($ac_try" in
1729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730   *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734   (eval "$ac_compile") 2>conftest.err
1735   ac_status=$?
1736   if test -s conftest.err; then
1737     grep -v '^ *+' conftest.err >conftest.er1
1738     cat conftest.er1 >&5
1739     mv -f conftest.er1 conftest.err
1740   fi
1741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742   test $ac_status = 0; } && {
1743          test -z "$ac_c_werror_flag" ||
1744          test ! -s conftest.err
1745        } && test -s conftest.$ac_objext; then :
1746   ac_retval=0
1747 else
1748   $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1750
1751         ac_retval=1
1752 fi
1753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754   as_fn_set_status $ac_retval
1755
1756 } # ac_fn_c_try_compile
1757
1758 # ac_fn_c_try_link LINENO
1759 # -----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded.
1761 ac_fn_c_try_link ()
1762 {
1763   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764   rm -f conftest.$ac_objext conftest$ac_exeext
1765   if { { ac_try="$ac_link"
1766 case "(($ac_try" in
1767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768   *) ac_try_echo=$ac_try;;
1769 esac
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772   (eval "$ac_link") 2>conftest.err
1773   ac_status=$?
1774   if test -s conftest.err; then
1775     grep -v '^ *+' conftest.err >conftest.er1
1776     cat conftest.er1 >&5
1777     mv -f conftest.er1 conftest.err
1778   fi
1779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780   test $ac_status = 0; } && {
1781          test -z "$ac_c_werror_flag" ||
1782          test ! -s conftest.err
1783        } && test -s conftest$ac_exeext && {
1784          test "$cross_compiling" = yes ||
1785          $as_test_x conftest$ac_exeext
1786        }; then :
1787   ac_retval=0
1788 else
1789   $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1791
1792         ac_retval=1
1793 fi
1794   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796   # interfere with the next link command; also delete a directory that is
1797   # left behind by Apple's compiler.  We do this before executing the actions.
1798   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800   as_fn_set_status $ac_retval
1801
1802 } # ac_fn_c_try_link
1803
1804 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805 # -------------------------------------------------------
1806 # Tests whether HEADER exists and can be compiled using the include files in
1807 # INCLUDES, setting the cache variable VAR accordingly.
1808 ac_fn_c_check_header_compile ()
1809 {
1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \${$3+:} false; then :
1814   $as_echo_n "(cached) " >&6
1815 else
1816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h.  */
1818 $4
1819 #include <$2>
1820 _ACEOF
1821 if ac_fn_c_try_compile "$LINENO"; then :
1822   eval "$3=yes"
1823 else
1824   eval "$3=no"
1825 fi
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 fi
1828 eval ac_res=\$$3
1829                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832
1833 } # ac_fn_c_check_header_compile
1834
1835 # ac_fn_c_try_cpp LINENO
1836 # ----------------------
1837 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1838 ac_fn_c_try_cpp ()
1839 {
1840   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841   if { { ac_try="$ac_cpp conftest.$ac_ext"
1842 case "(($ac_try" in
1843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844   *) ac_try_echo=$ac_try;;
1845 esac
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1849   ac_status=$?
1850   if test -s conftest.err; then
1851     grep -v '^ *+' conftest.err >conftest.er1
1852     cat conftest.er1 >&5
1853     mv -f conftest.er1 conftest.err
1854   fi
1855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856   test $ac_status = 0; } > conftest.i && {
1857          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1858          test ! -s conftest.err
1859        }; then :
1860   ac_retval=0
1861 else
1862   $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1864
1865     ac_retval=1
1866 fi
1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868   as_fn_set_status $ac_retval
1869
1870 } # ac_fn_c_try_cpp
1871
1872 # ac_fn_c_try_run LINENO
1873 # ----------------------
1874 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1875 # that executables *can* be run.
1876 ac_fn_c_try_run ()
1877 {
1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879   if { { ac_try="$ac_link"
1880 case "(($ac_try" in
1881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882   *) ac_try_echo=$ac_try;;
1883 esac
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886   (eval "$ac_link") 2>&5
1887   ac_status=$?
1888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1890   { { case "(($ac_try" in
1891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892   *) ac_try_echo=$ac_try;;
1893 esac
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896   (eval "$ac_try") 2>&5
1897   ac_status=$?
1898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899   test $ac_status = 0; }; }; then :
1900   ac_retval=0
1901 else
1902   $as_echo "$as_me: program exited with status $ac_status" >&5
1903        $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1905
1906        ac_retval=$ac_status
1907 fi
1908   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910   as_fn_set_status $ac_retval
1911
1912 } # ac_fn_c_try_run
1913
1914 # ac_fn_c_check_func LINENO FUNC VAR
1915 # ----------------------------------
1916 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1917 ac_fn_c_check_func ()
1918 {
1919   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \${$3+:} false; then :
1923   $as_echo_n "(cached) " >&6
1924 else
1925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h.  */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1929 #define $2 innocuous_$2
1930
1931 /* System header to define __stub macros and hopefully few prototypes,
1932     which can conflict with char $2 (); below.
1933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934     <limits.h> exists even on freestanding compilers.  */
1935
1936 #ifdef __STDC__
1937 # include <limits.h>
1938 #else
1939 # include <assert.h>
1940 #endif
1941
1942 #undef $2
1943
1944 /* Override any GCC internal prototype to avoid an error.
1945    Use char because int might match the return type of a GCC
1946    builtin and then its argument prototype would still apply.  */
1947 #ifdef __cplusplus
1948 extern "C"
1949 #endif
1950 char $2 ();
1951 /* The GNU C library defines this for functions which it implements
1952     to always fail with ENOSYS.  Some functions are actually named
1953     something starting with __ and the normal name is an alias.  */
1954 #if defined __stub_$2 || defined __stub___$2
1955 choke me
1956 #endif
1957
1958 int
1959 main ()
1960 {
1961 return $2 ();
1962   ;
1963   return 0;
1964 }
1965 _ACEOF
1966 if ac_fn_c_try_link "$LINENO"; then :
1967   eval "$3=yes"
1968 else
1969   eval "$3=no"
1970 fi
1971 rm -f core conftest.err conftest.$ac_objext \
1972     conftest$ac_exeext conftest.$ac_ext
1973 fi
1974 eval ac_res=\$$3
1975                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978
1979 } # ac_fn_c_check_func
1980
1981 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1982 # -------------------------------------------
1983 # Tests whether TYPE exists after having included INCLUDES, setting cache
1984 # variable VAR accordingly.
1985 ac_fn_c_check_type ()
1986 {
1987   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1989 $as_echo_n "checking for $2... " >&6; }
1990 if eval \${$3+:} false; then :
1991   $as_echo_n "(cached) " >&6
1992 else
1993   eval "$3=no"
1994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995 /* end confdefs.h.  */
1996 $4
1997 int
1998 main ()
1999 {
2000 if (sizeof ($2))
2001          return 0;
2002   ;
2003   return 0;
2004 }
2005 _ACEOF
2006 if ac_fn_c_try_compile "$LINENO"; then :
2007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h.  */
2009 $4
2010 int
2011 main ()
2012 {
2013 if (sizeof (($2)))
2014             return 0;
2015   ;
2016   return 0;
2017 }
2018 _ACEOF
2019 if ac_fn_c_try_compile "$LINENO"; then :
2020
2021 else
2022   eval "$3=yes"
2023 fi
2024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2025 fi
2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2027 fi
2028 eval ac_res=\$$3
2029                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2030 $as_echo "$ac_res" >&6; }
2031   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2032
2033 } # ac_fn_c_check_type
2034 cat >config.log <<_ACEOF
2035 This file contains any messages produced by compilers while
2036 running configure, to aid debugging if configure makes a mistake.
2037
2038 It was created by e_dbus $as_me 1.7.2, which was
2039 generated by GNU Autoconf 2.68.  Invocation command line was
2040
2041   $ $0 $@
2042
2043 _ACEOF
2044 exec 5>>config.log
2045 {
2046 cat <<_ASUNAME
2047 ## --------- ##
2048 ## Platform. ##
2049 ## --------- ##
2050
2051 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2052 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2053 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2054 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2055 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2056
2057 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2058 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2059
2060 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2061 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2062 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2063 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2064 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2065 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2066 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2067
2068 _ASUNAME
2069
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 for as_dir in $PATH
2072 do
2073   IFS=$as_save_IFS
2074   test -z "$as_dir" && as_dir=.
2075     $as_echo "PATH: $as_dir"
2076   done
2077 IFS=$as_save_IFS
2078
2079 } >&5
2080
2081 cat >&5 <<_ACEOF
2082
2083
2084 ## ----------- ##
2085 ## Core tests. ##
2086 ## ----------- ##
2087
2088 _ACEOF
2089
2090
2091 # Keep a trace of the command line.
2092 # Strip out --no-create and --no-recursion so they do not pile up.
2093 # Strip out --silent because we don't want to record it for future runs.
2094 # Also quote any args containing shell meta-characters.
2095 # Make two passes to allow for proper duplicate-argument suppression.
2096 ac_configure_args=
2097 ac_configure_args0=
2098 ac_configure_args1=
2099 ac_must_keep_next=false
2100 for ac_pass in 1 2
2101 do
2102   for ac_arg
2103   do
2104     case $ac_arg in
2105     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2106     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2107     | -silent | --silent | --silen | --sile | --sil)
2108       continue ;;
2109     *\'*)
2110       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2111     esac
2112     case $ac_pass in
2113     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2114     2)
2115       as_fn_append ac_configure_args1 " '$ac_arg'"
2116       if test $ac_must_keep_next = true; then
2117         ac_must_keep_next=false # Got value, back to normal.
2118       else
2119         case $ac_arg in
2120           *=* | --config-cache | -C | -disable-* | --disable-* \
2121           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2122           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2123           | -with-* | --with-* | -without-* | --without-* | --x)
2124             case "$ac_configure_args0 " in
2125               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2126             esac
2127             ;;
2128           -* ) ac_must_keep_next=true ;;
2129         esac
2130       fi
2131       as_fn_append ac_configure_args " '$ac_arg'"
2132       ;;
2133     esac
2134   done
2135 done
2136 { ac_configure_args0=; unset ac_configure_args0;}
2137 { ac_configure_args1=; unset ac_configure_args1;}
2138
2139 # When interrupted or exit'd, cleanup temporary files, and complete
2140 # config.log.  We remove comments because anyway the quotes in there
2141 # would cause problems or look ugly.
2142 # WARNING: Use '\'' to represent an apostrophe within the trap.
2143 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2144 trap 'exit_status=$?
2145   # Save into config.log some information that might help in debugging.
2146   {
2147     echo
2148
2149     $as_echo "## ---------------- ##
2150 ## Cache variables. ##
2151 ## ---------------- ##"
2152     echo
2153     # The following way of writing the cache mishandles newlines in values,
2154 (
2155   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2156     eval ac_val=\$$ac_var
2157     case $ac_val in #(
2158     *${as_nl}*)
2159       case $ac_var in #(
2160       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2161 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2162       esac
2163       case $ac_var in #(
2164       _ | IFS | as_nl) ;; #(
2165       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2166       *) { eval $ac_var=; unset $ac_var;} ;;
2167       esac ;;
2168     esac
2169   done
2170   (set) 2>&1 |
2171     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2172     *${as_nl}ac_space=\ *)
2173       sed -n \
2174         "s/'\''/'\''\\\\'\'''\''/g;
2175           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2176       ;; #(
2177     *)
2178       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2179       ;;
2180     esac |
2181     sort
2182 )
2183     echo
2184
2185     $as_echo "## ----------------- ##
2186 ## Output variables. ##
2187 ## ----------------- ##"
2188     echo
2189     for ac_var in $ac_subst_vars
2190     do
2191       eval ac_val=\$$ac_var
2192       case $ac_val in
2193       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2194       esac
2195       $as_echo "$ac_var='\''$ac_val'\''"
2196     done | sort
2197     echo
2198
2199     if test -n "$ac_subst_files"; then
2200       $as_echo "## ------------------- ##
2201 ## File substitutions. ##
2202 ## ------------------- ##"
2203       echo
2204       for ac_var in $ac_subst_files
2205       do
2206         eval ac_val=\$$ac_var
2207         case $ac_val in
2208         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209         esac
2210         $as_echo "$ac_var='\''$ac_val'\''"
2211       done | sort
2212       echo
2213     fi
2214
2215     if test -s confdefs.h; then
2216       $as_echo "## ----------- ##
2217 ## confdefs.h. ##
2218 ## ----------- ##"
2219       echo
2220       cat confdefs.h
2221       echo
2222     fi
2223     test "$ac_signal" != 0 &&
2224       $as_echo "$as_me: caught signal $ac_signal"
2225     $as_echo "$as_me: exit $exit_status"
2226   } >&5
2227   rm -f core *.core core.conftest.* &&
2228     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2229     exit $exit_status
2230 ' 0
2231 for ac_signal in 1 2 13 15; do
2232   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2233 done
2234 ac_signal=0
2235
2236 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2237 rm -f -r conftest* confdefs.h
2238
2239 $as_echo "/* confdefs.h */" > confdefs.h
2240
2241 # Predefined preprocessor variables.
2242
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 _ACEOF
2246
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2249 _ACEOF
2250
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2253 _ACEOF
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2257 _ACEOF
2258
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2261 _ACEOF
2262
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_URL "$PACKAGE_URL"
2265 _ACEOF
2266
2267
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer an explicitly selected file to automatically selected ones.
2270 ac_site_file1=NONE
2271 ac_site_file2=NONE
2272 if test -n "$CONFIG_SITE"; then
2273   # We do not want a PATH search for config.site.
2274   case $CONFIG_SITE in #((
2275     -*)  ac_site_file1=./$CONFIG_SITE;;
2276     */*) ac_site_file1=$CONFIG_SITE;;
2277     *)   ac_site_file1=./$CONFIG_SITE;;
2278   esac
2279 elif test "x$prefix" != xNONE; then
2280   ac_site_file1=$prefix/share/config.site
2281   ac_site_file2=$prefix/etc/config.site
2282 else
2283   ac_site_file1=$ac_default_prefix/share/config.site
2284   ac_site_file2=$ac_default_prefix/etc/config.site
2285 fi
2286 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2287 do
2288   test "x$ac_site_file" = xNONE && continue
2289   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2290     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2291 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2292     sed 's/^/| /' "$ac_site_file" >&5
2293     . "$ac_site_file" \
2294       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2296 as_fn_error $? "failed to load site script $ac_site_file
2297 See \`config.log' for more details" "$LINENO" 5; }
2298   fi
2299 done
2300
2301 if test -r "$cache_file"; then
2302   # Some versions of bash will fail to source /dev/null (special files
2303   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2304   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2305     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2306 $as_echo "$as_me: loading cache $cache_file" >&6;}
2307     case $cache_file in
2308       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2309       *)                      . "./$cache_file";;
2310     esac
2311   fi
2312 else
2313   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2314 $as_echo "$as_me: creating cache $cache_file" >&6;}
2315   >$cache_file
2316 fi
2317
2318 # Check that the precious variables saved in the cache have kept the same
2319 # value.
2320 ac_cache_corrupted=false
2321 for ac_var in $ac_precious_vars; do
2322   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2323   eval ac_new_set=\$ac_env_${ac_var}_set
2324   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2325   eval ac_new_val=\$ac_env_${ac_var}_value
2326   case $ac_old_set,$ac_new_set in
2327     set,)
2328       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2329 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2330       ac_cache_corrupted=: ;;
2331     ,set)
2332       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2333 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2334       ac_cache_corrupted=: ;;
2335     ,);;
2336     *)
2337       if test "x$ac_old_val" != "x$ac_new_val"; then
2338         # differences in whitespace do not lead to failure.
2339         ac_old_val_w=`echo x $ac_old_val`
2340         ac_new_val_w=`echo x $ac_new_val`
2341         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2342           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2343 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2344           ac_cache_corrupted=:
2345         else
2346           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2347 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2348           eval $ac_var=\$ac_old_val
2349         fi
2350         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2351 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2352         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2353 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2354       fi;;
2355   esac
2356   # Pass precious variables to config.status.
2357   if test "$ac_new_set" = set; then
2358     case $ac_new_val in
2359     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2360     *) ac_arg=$ac_var=$ac_new_val ;;
2361     esac
2362     case " $ac_configure_args " in
2363       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2364       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2365     esac
2366   fi
2367 done
2368 if $ac_cache_corrupted; then
2369   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2371   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2372 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2373   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2374 fi
2375 ## -------------------- ##
2376 ## Main body of script. ##
2377 ## -------------------- ##
2378
2379 ac_ext=c
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2384
2385
2386
2387
2388
2389
2390 ac_config_headers="$ac_config_headers config.h"
2391
2392
2393
2394
2395 am__api_version='1.11'
2396
2397 ac_aux_dir=
2398 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399   if test -f "$ac_dir/install-sh"; then
2400     ac_aux_dir=$ac_dir
2401     ac_install_sh="$ac_aux_dir/install-sh -c"
2402     break
2403   elif test -f "$ac_dir/install.sh"; then
2404     ac_aux_dir=$ac_dir
2405     ac_install_sh="$ac_aux_dir/install.sh -c"
2406     break
2407   elif test -f "$ac_dir/shtool"; then
2408     ac_aux_dir=$ac_dir
2409     ac_install_sh="$ac_aux_dir/shtool install -c"
2410     break
2411   fi
2412 done
2413 if test -z "$ac_aux_dir"; then
2414   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2415 fi
2416
2417 # These three variables are undocumented and unsupported,
2418 # and are intended to be withdrawn in a future Autoconf release.
2419 # They can cause serious problems if a builder's source tree is in a directory
2420 # whose full name contains unusual characters.
2421 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2422 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2423 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2424
2425
2426 # Find a good install program.  We prefer a C program (faster),
2427 # so one script is as good as another.  But avoid the broken or
2428 # incompatible versions:
2429 # SysV /etc/install, /usr/sbin/install
2430 # SunOS /usr/etc/install
2431 # IRIX /sbin/install
2432 # AIX /bin/install
2433 # AmigaOS /C/install, which installs bootblocks on floppy discs
2434 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2435 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2436 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2437 # OS/2's system install, which has a completely different semantic
2438 # ./install, which can be erroneously created by make from ./install.sh.
2439 # Reject install programs that cannot install multiple files.
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2441 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2442 if test -z "$INSTALL"; then
2443 if ${ac_cv_path_install+:} false; then :
2444   $as_echo_n "(cached) " >&6
2445 else
2446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 for as_dir in $PATH
2448 do
2449   IFS=$as_save_IFS
2450   test -z "$as_dir" && as_dir=.
2451     # Account for people who put trailing slashes in PATH elements.
2452 case $as_dir/ in #((
2453   ./ | .// | /[cC]/* | \
2454   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2455   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2456   /usr/ucb/* ) ;;
2457   *)
2458     # OSF1 and SCO ODT 3.0 have their own names for install.
2459     # Don't use installbsd from OSF since it installs stuff as root
2460     # by default.
2461     for ac_prog in ginstall scoinst install; do
2462       for ac_exec_ext in '' $ac_executable_extensions; do
2463         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2464           if test $ac_prog = install &&
2465             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2466             # AIX install.  It has an incompatible calling convention.
2467             :
2468           elif test $ac_prog = install &&
2469             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2470             # program-specific install script used by HP pwplus--don't use.
2471             :
2472           else
2473             rm -rf conftest.one conftest.two conftest.dir
2474             echo one > conftest.one
2475             echo two > conftest.two
2476             mkdir conftest.dir
2477             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2478               test -s conftest.one && test -s conftest.two &&
2479               test -s conftest.dir/conftest.one &&
2480               test -s conftest.dir/conftest.two
2481             then
2482               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2483               break 3
2484             fi
2485           fi
2486         fi
2487       done
2488     done
2489     ;;
2490 esac
2491
2492   done
2493 IFS=$as_save_IFS
2494
2495 rm -rf conftest.one conftest.two conftest.dir
2496
2497 fi
2498   if test "${ac_cv_path_install+set}" = set; then
2499     INSTALL=$ac_cv_path_install
2500   else
2501     # As a last resort, use the slow shell script.  Don't cache a
2502     # value for INSTALL within a source directory, because that will
2503     # break other packages using the cache if that directory is
2504     # removed, or if the value is a relative name.
2505     INSTALL=$ac_install_sh
2506   fi
2507 fi
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2509 $as_echo "$INSTALL" >&6; }
2510
2511 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2512 # It thinks the first close brace ends the variable substitution.
2513 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2514
2515 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2516
2517 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2518
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2520 $as_echo_n "checking whether build environment is sane... " >&6; }
2521 # Just in case
2522 sleep 1
2523 echo timestamp > conftest.file
2524 # Reject unsafe characters in $srcdir or the absolute working directory
2525 # name.  Accept space and tab only in the latter.
2526 am_lf='
2527 '
2528 case `pwd` in
2529   *[\\\"\#\$\&\'\`$am_lf]*)
2530     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2531 esac
2532 case $srcdir in
2533   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2534     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2535 esac
2536
2537 # Do `set' in a subshell so we don't clobber the current shell's
2538 # arguments.  Must try -L first in case configure is actually a
2539 # symlink; some systems play weird games with the mod time of symlinks
2540 # (eg FreeBSD returns the mod time of the symlink's containing
2541 # directory).
2542 if (
2543    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2544    if test "$*" = "X"; then
2545       # -L didn't work.
2546       set X `ls -t "$srcdir/configure" conftest.file`
2547    fi
2548    rm -f conftest.file
2549    if test "$*" != "X $srcdir/configure conftest.file" \
2550       && test "$*" != "X conftest.file $srcdir/configure"; then
2551
2552       # If neither matched, then we have a broken ls.  This can happen
2553       # if, for instance, CONFIG_SHELL is bash and it inherits a
2554       # broken ls alias from the environment.  This has actually
2555       # happened.  Such a system could not be considered "sane".
2556       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2557 alias in your environment" "$LINENO" 5
2558    fi
2559
2560    test "$2" = conftest.file
2561    )
2562 then
2563    # Ok.
2564    :
2565 else
2566    as_fn_error $? "newly created file is older than distributed files!
2567 Check your system clock" "$LINENO" 5
2568 fi
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2570 $as_echo "yes" >&6; }
2571 test "$program_prefix" != NONE &&
2572   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2573 # Use a double $ so make ignores it.
2574 test "$program_suffix" != NONE &&
2575   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2576 # Double any \ or $.
2577 # By default was `s,x,x', remove it if useless.
2578 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2579 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2580
2581 # expand $ac_aux_dir to an absolute path
2582 am_aux_dir=`cd $ac_aux_dir && pwd`
2583
2584 if test x"${MISSING+set}" != xset; then
2585   case $am_aux_dir in
2586   *\ * | *\     *)
2587     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2588   *)
2589     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2590   esac
2591 fi
2592 # Use eval to expand $SHELL
2593 if eval "$MISSING --run true"; then
2594   am_missing_run="$MISSING --run "
2595 else
2596   am_missing_run=
2597   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2598 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2599 fi
2600
2601 if test x"${install_sh}" != xset; then
2602   case $am_aux_dir in
2603   *\ * | *\     *)
2604     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2605   *)
2606     install_sh="\${SHELL} $am_aux_dir/install-sh"
2607   esac
2608 fi
2609
2610 # Installed binaries are usually stripped using `strip' when the user
2611 # run `make install-strip'.  However `strip' might not be the right
2612 # tool to use in cross-compilation environments, therefore Automake
2613 # will honor the `STRIP' environment variable to overrule this program.
2614 if test "$cross_compiling" != no; then
2615   if test -n "$ac_tool_prefix"; then
2616   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2617 set dummy ${ac_tool_prefix}strip; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_STRIP+:} false; then :
2621   $as_echo_n "(cached) " >&6
2622 else
2623   if test -n "$STRIP"; then
2624   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2625 else
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH
2628 do
2629   IFS=$as_save_IFS
2630   test -z "$as_dir" && as_dir=.
2631     for ac_exec_ext in '' $ac_executable_extensions; do
2632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2633     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635     break 2
2636   fi
2637 done
2638   done
2639 IFS=$as_save_IFS
2640
2641 fi
2642 fi
2643 STRIP=$ac_cv_prog_STRIP
2644 if test -n "$STRIP"; then
2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2646 $as_echo "$STRIP" >&6; }
2647 else
2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2650 fi
2651
2652
2653 fi
2654 if test -z "$ac_cv_prog_STRIP"; then
2655   ac_ct_STRIP=$STRIP
2656   # Extract the first word of "strip", so it can be a program name with args.
2657 set dummy strip; ac_word=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2661   $as_echo_n "(cached) " >&6
2662 else
2663   if test -n "$ac_ct_STRIP"; then
2664   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2665 else
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 for as_dir in $PATH
2668 do
2669   IFS=$as_save_IFS
2670   test -z "$as_dir" && as_dir=.
2671     for ac_exec_ext in '' $ac_executable_extensions; do
2672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673     ac_cv_prog_ac_ct_STRIP="strip"
2674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675     break 2
2676   fi
2677 done
2678   done
2679 IFS=$as_save_IFS
2680
2681 fi
2682 fi
2683 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2684 if test -n "$ac_ct_STRIP"; then
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2686 $as_echo "$ac_ct_STRIP" >&6; }
2687 else
2688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689 $as_echo "no" >&6; }
2690 fi
2691
2692   if test "x$ac_ct_STRIP" = x; then
2693     STRIP=":"
2694   else
2695     case $cross_compiling:$ac_tool_warned in
2696 yes:)
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2699 ac_tool_warned=yes ;;
2700 esac
2701     STRIP=$ac_ct_STRIP
2702   fi
2703 else
2704   STRIP="$ac_cv_prog_STRIP"
2705 fi
2706
2707 fi
2708 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2709
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2711 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2712 if test -z "$MKDIR_P"; then
2713   if ${ac_cv_path_mkdir+:} false; then :
2714   $as_echo_n "(cached) " >&6
2715 else
2716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2718 do
2719   IFS=$as_save_IFS
2720   test -z "$as_dir" && as_dir=.
2721     for ac_prog in mkdir gmkdir; do
2722          for ac_exec_ext in '' $ac_executable_extensions; do
2723            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2724            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2725              'mkdir (GNU coreutils) '* | \
2726              'mkdir (coreutils) '* | \
2727              'mkdir (fileutils) '4.1*)
2728                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2729                break 3;;
2730            esac
2731          done
2732        done
2733   done
2734 IFS=$as_save_IFS
2735
2736 fi
2737
2738   test -d ./--version && rmdir ./--version
2739   if test "${ac_cv_path_mkdir+set}" = set; then
2740     MKDIR_P="$ac_cv_path_mkdir -p"
2741   else
2742     # As a last resort, use the slow shell script.  Don't cache a
2743     # value for MKDIR_P within a source directory, because that will
2744     # break other packages using the cache if that directory is
2745     # removed, or if the value is a relative name.
2746     MKDIR_P="$ac_install_sh -d"
2747   fi
2748 fi
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2750 $as_echo "$MKDIR_P" >&6; }
2751
2752 mkdir_p="$MKDIR_P"
2753 case $mkdir_p in
2754   [\\/$]* | ?:[\\/]*) ;;
2755   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2756 esac
2757
2758 for ac_prog in gawk mawk nawk awk
2759 do
2760   # Extract the first word of "$ac_prog", so it can be a program name with args.
2761 set dummy $ac_prog; ac_word=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if ${ac_cv_prog_AWK+:} false; then :
2765   $as_echo_n "(cached) " >&6
2766 else
2767   if test -n "$AWK"; then
2768   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2769 else
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 for as_dir in $PATH
2772 do
2773   IFS=$as_save_IFS
2774   test -z "$as_dir" && as_dir=.
2775     for ac_exec_ext in '' $ac_executable_extensions; do
2776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777     ac_cv_prog_AWK="$ac_prog"
2778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2779     break 2
2780   fi
2781 done
2782   done
2783 IFS=$as_save_IFS
2784
2785 fi
2786 fi
2787 AWK=$ac_cv_prog_AWK
2788 if test -n "$AWK"; then
2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2790 $as_echo "$AWK" >&6; }
2791 else
2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2794 fi
2795
2796
2797   test -n "$AWK" && break
2798 done
2799
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2801 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2802 set x ${MAKE-make}
2803 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2804 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2805   $as_echo_n "(cached) " >&6
2806 else
2807   cat >conftest.make <<\_ACEOF
2808 SHELL = /bin/sh
2809 all:
2810         @echo '@@@%%%=$(MAKE)=@@@%%%'
2811 _ACEOF
2812 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2813 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2814   *@@@%%%=?*=@@@%%%*)
2815     eval ac_cv_prog_make_${ac_make}_set=yes;;
2816   *)
2817     eval ac_cv_prog_make_${ac_make}_set=no;;
2818 esac
2819 rm -f conftest.make
2820 fi
2821 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2823 $as_echo "yes" >&6; }
2824   SET_MAKE=
2825 else
2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2828   SET_MAKE="MAKE=${MAKE-make}"
2829 fi
2830
2831 rm -rf .tst 2>/dev/null
2832 mkdir .tst 2>/dev/null
2833 if test -d .tst; then
2834   am__leading_dot=.
2835 else
2836   am__leading_dot=_
2837 fi
2838 rmdir .tst 2>/dev/null
2839
2840 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2841   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2842   # is not polluted with repeated "-I."
2843   am__isrc=' -I$(srcdir)'
2844   # test to see if srcdir already configured
2845   if test -f $srcdir/config.status; then
2846     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2847   fi
2848 fi
2849
2850 # test whether we have cygpath
2851 if test -z "$CYGPATH_W"; then
2852   if (cygpath --version) >/dev/null 2>/dev/null; then
2853     CYGPATH_W='cygpath -w'
2854   else
2855     CYGPATH_W=echo
2856   fi
2857 fi
2858
2859
2860 # Define the identity of the package.
2861  PACKAGE='e_dbus'
2862  VERSION='1.7.2'
2863
2864
2865 cat >>confdefs.h <<_ACEOF
2866 #define PACKAGE "$PACKAGE"
2867 _ACEOF
2868
2869
2870 cat >>confdefs.h <<_ACEOF
2871 #define VERSION "$VERSION"
2872 _ACEOF
2873
2874 # Some tools Automake needs.
2875
2876 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2877
2878
2879 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2880
2881
2882 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2883
2884
2885 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2886
2887
2888 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2889
2890 # We need awk for the "check" target.  The system "awk" is bad on
2891 # some platforms.
2892 # Always define AMTAR for backward compatibility.  Yes, it's still used
2893 # in the wild :-(  We should find a proper way to deprecate it ...
2894 AMTAR='$${TAR-tar}'
2895
2896 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2897
2898
2899
2900
2901
2902 # Check whether --enable-silent-rules was given.
2903 if test "${enable_silent_rules+set}" = set; then :
2904   enableval=$enable_silent_rules;
2905 fi
2906
2907 case $enable_silent_rules in
2908 yes) AM_DEFAULT_VERBOSITY=0;;
2909 no)  AM_DEFAULT_VERBOSITY=1;;
2910 *)   AM_DEFAULT_VERBOSITY=0;;
2911 esac
2912 am_make=${MAKE-make}
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2914 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2915 if ${am_cv_make_support_nested_variables+:} false; then :
2916   $as_echo_n "(cached) " >&6
2917 else
2918   if $as_echo 'TRUE=$(BAR$(V))
2919 BAR0=false
2920 BAR1=true
2921 V=1
2922 am__doit:
2923         @$(TRUE)
2924 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2925   am_cv_make_support_nested_variables=yes
2926 else
2927   am_cv_make_support_nested_variables=no
2928 fi
2929 fi
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2931 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2932 if test $am_cv_make_support_nested_variables = yes; then
2933     AM_V='$(V)'
2934   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2935 else
2936   AM_V=$AM_DEFAULT_VERBOSITY
2937   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2938 fi
2939 AM_BACKSLASH='\'
2940
2941
2942 # Make sure we can run config.sub.
2943 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2944   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2945
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2947 $as_echo_n "checking build system type... " >&6; }
2948 if ${ac_cv_build+:} false; then :
2949   $as_echo_n "(cached) " >&6
2950 else
2951   ac_build_alias=$build_alias
2952 test "x$ac_build_alias" = x &&
2953   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2954 test "x$ac_build_alias" = x &&
2955   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2956 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2957   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2958
2959 fi
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2961 $as_echo "$ac_cv_build" >&6; }
2962 case $ac_cv_build in
2963 *-*-*) ;;
2964 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2965 esac
2966 build=$ac_cv_build
2967 ac_save_IFS=$IFS; IFS='-'
2968 set x $ac_cv_build
2969 shift
2970 build_cpu=$1
2971 build_vendor=$2
2972 shift; shift
2973 # Remember, the first character of IFS is used to create $*,
2974 # except with old shells:
2975 build_os=$*
2976 IFS=$ac_save_IFS
2977 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2978
2979
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2981 $as_echo_n "checking host system type... " >&6; }
2982 if ${ac_cv_host+:} false; then :
2983   $as_echo_n "(cached) " >&6
2984 else
2985   if test "x$host_alias" = x; then
2986   ac_cv_host=$ac_cv_build
2987 else
2988   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2989     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2990 fi
2991
2992 fi
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2994 $as_echo "$ac_cv_host" >&6; }
2995 case $ac_cv_host in
2996 *-*-*) ;;
2997 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2998 esac
2999 host=$ac_cv_host
3000 ac_save_IFS=$IFS; IFS='-'
3001 set x $ac_cv_host
3002 shift
3003 host_cpu=$1
3004 host_vendor=$2
3005 shift; shift
3006 # Remember, the first character of IFS is used to create $*,
3007 # except with old shells:
3008 host_os=$*
3009 IFS=$ac_save_IFS
3010 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3011
3012
3013 enable_win32_dll=yes
3014
3015 case $host in
3016 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3017   if test -n "$ac_tool_prefix"; then
3018   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3019 set dummy ${ac_tool_prefix}as; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_AS+:} false; then :
3023   $as_echo_n "(cached) " >&6
3024 else
3025   if test -n "$AS"; then
3026   ac_cv_prog_AS="$AS" # Let the user override the test.
3027 else
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 for as_dir in $PATH
3030 do
3031   IFS=$as_save_IFS
3032   test -z "$as_dir" && as_dir=.
3033     for ac_exec_ext in '' $ac_executable_extensions; do
3034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3035     ac_cv_prog_AS="${ac_tool_prefix}as"
3036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037     break 2
3038   fi
3039 done
3040   done
3041 IFS=$as_save_IFS
3042
3043 fi
3044 fi
3045 AS=$ac_cv_prog_AS
3046 if test -n "$AS"; then
3047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3048 $as_echo "$AS" >&6; }
3049 else
3050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3052 fi
3053
3054
3055 fi
3056 if test -z "$ac_cv_prog_AS"; then
3057   ac_ct_AS=$AS
3058   # Extract the first word of "as", so it can be a program name with args.
3059 set dummy as; ac_word=$2
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 $as_echo_n "checking for $ac_word... " >&6; }
3062 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3063   $as_echo_n "(cached) " >&6
3064 else
3065   if test -n "$ac_ct_AS"; then
3066   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3067 else
3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 for as_dir in $PATH
3070 do
3071   IFS=$as_save_IFS
3072   test -z "$as_dir" && as_dir=.
3073     for ac_exec_ext in '' $ac_executable_extensions; do
3074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3075     ac_cv_prog_ac_ct_AS="as"
3076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3077     break 2
3078   fi
3079 done
3080   done
3081 IFS=$as_save_IFS
3082
3083 fi
3084 fi
3085 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3086 if test -n "$ac_ct_AS"; then
3087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3088 $as_echo "$ac_ct_AS" >&6; }
3089 else
3090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3092 fi
3093
3094   if test "x$ac_ct_AS" = x; then
3095     AS="false"
3096   else
3097     case $cross_compiling:$ac_tool_warned in
3098 yes:)
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3101 ac_tool_warned=yes ;;
3102 esac
3103     AS=$ac_ct_AS
3104   fi
3105 else
3106   AS="$ac_cv_prog_AS"
3107 fi
3108
3109   if test -n "$ac_tool_prefix"; then
3110   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3111 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_DLLTOOL+:} false; then :
3115   $as_echo_n "(cached) " >&6
3116 else
3117   if test -n "$DLLTOOL"; then
3118   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3119 else
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 for as_dir in $PATH
3122 do
3123   IFS=$as_save_IFS
3124   test -z "$as_dir" && as_dir=.
3125     for ac_exec_ext in '' $ac_executable_extensions; do
3126   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129     break 2
3130   fi
3131 done
3132   done
3133 IFS=$as_save_IFS
3134
3135 fi
3136 fi
3137 DLLTOOL=$ac_cv_prog_DLLTOOL
3138 if test -n "$DLLTOOL"; then
3139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3140 $as_echo "$DLLTOOL" >&6; }
3141 else
3142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3144 fi
3145
3146
3147 fi
3148 if test -z "$ac_cv_prog_DLLTOOL"; then
3149   ac_ct_DLLTOOL=$DLLTOOL
3150   # Extract the first word of "dlltool", so it can be a program name with args.
3151 set dummy dlltool; ac_word=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3155   $as_echo_n "(cached) " >&6
3156 else
3157   if test -n "$ac_ct_DLLTOOL"; then
3158   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3159 else
3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3161 for as_dir in $PATH
3162 do
3163   IFS=$as_save_IFS
3164   test -z "$as_dir" && as_dir=.
3165     for ac_exec_ext in '' $ac_executable_extensions; do
3166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3169     break 2
3170   fi
3171 done
3172   done
3173 IFS=$as_save_IFS
3174
3175 fi
3176 fi
3177 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3178 if test -n "$ac_ct_DLLTOOL"; then
3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3180 $as_echo "$ac_ct_DLLTOOL" >&6; }
3181 else
3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3184 fi
3185
3186   if test "x$ac_ct_DLLTOOL" = x; then
3187     DLLTOOL="false"
3188   else
3189     case $cross_compiling:$ac_tool_warned in
3190 yes:)
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3193 ac_tool_warned=yes ;;
3194 esac
3195     DLLTOOL=$ac_ct_DLLTOOL
3196   fi
3197 else
3198   DLLTOOL="$ac_cv_prog_DLLTOOL"
3199 fi
3200
3201   if test -n "$ac_tool_prefix"; then
3202   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3203 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3205 $as_echo_n "checking for $ac_word... " >&6; }
3206 if ${ac_cv_prog_OBJDUMP+:} false; then :
3207   $as_echo_n "(cached) " >&6
3208 else
3209   if test -n "$OBJDUMP"; then
3210   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3211 else
3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 for as_dir in $PATH
3214 do
3215   IFS=$as_save_IFS
3216   test -z "$as_dir" && as_dir=.
3217     for ac_exec_ext in '' $ac_executable_extensions; do
3218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3219     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3221     break 2
3222   fi
3223 done
3224   done
3225 IFS=$as_save_IFS
3226
3227 fi
3228 fi
3229 OBJDUMP=$ac_cv_prog_OBJDUMP
3230 if test -n "$OBJDUMP"; then
3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3232 $as_echo "$OBJDUMP" >&6; }
3233 else
3234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3236 fi
3237
3238
3239 fi
3240 if test -z "$ac_cv_prog_OBJDUMP"; then
3241   ac_ct_OBJDUMP=$OBJDUMP
3242   # Extract the first word of "objdump", so it can be a program name with args.
3243 set dummy objdump; ac_word=$2
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245 $as_echo_n "checking for $ac_word... " >&6; }
3246 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3247   $as_echo_n "(cached) " >&6
3248 else
3249   if test -n "$ac_ct_OBJDUMP"; then
3250   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3251 else
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH
3254 do
3255   IFS=$as_save_IFS
3256   test -z "$as_dir" && as_dir=.
3257     for ac_exec_ext in '' $ac_executable_extensions; do
3258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3259     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261     break 2
3262   fi
3263 done
3264   done
3265 IFS=$as_save_IFS
3266
3267 fi
3268 fi
3269 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3270 if test -n "$ac_ct_OBJDUMP"; then
3271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3272 $as_echo "$ac_ct_OBJDUMP" >&6; }
3273 else
3274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275 $as_echo "no" >&6; }
3276 fi
3277
3278   if test "x$ac_ct_OBJDUMP" = x; then
3279     OBJDUMP="false"
3280   else
3281     case $cross_compiling:$ac_tool_warned in
3282 yes:)
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3285 ac_tool_warned=yes ;;
3286 esac
3287     OBJDUMP=$ac_ct_OBJDUMP
3288   fi
3289 else
3290   OBJDUMP="$ac_cv_prog_OBJDUMP"
3291 fi
3292
3293   ;;
3294 esac
3295
3296 test -z "$AS" && AS=as
3297
3298
3299
3300
3301
3302 test -z "$DLLTOOL" && DLLTOOL=dlltool
3303
3304
3305
3306
3307
3308 test -z "$OBJDUMP" && OBJDUMP=objdump
3309
3310
3311
3312
3313
3314
3315
3316 case `pwd` in
3317   *\ * | *\     *)
3318     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3319 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3320 esac
3321
3322
3323
3324 macro_version='2.4.2'
3325 macro_revision='1.3337'
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339 ltmain="$ac_aux_dir/ltmain.sh"
3340
3341 # Backslashify metacharacters that are still active within
3342 # double-quoted strings.
3343 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3344
3345 # Same as above, but do not quote variable references.
3346 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3347
3348 # Sed substitution to delay expansion of an escaped shell variable in a
3349 # double_quote_subst'ed string.
3350 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3351
3352 # Sed substitution to delay expansion of an escaped single quote.
3353 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3354
3355 # Sed substitution to avoid accidental globbing in evaled expressions
3356 no_glob_subst='s/\*/\\\*/g'
3357
3358 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3359 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3360 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3361
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3363 $as_echo_n "checking how to print strings... " >&6; }
3364 # Test print first, because it will be a builtin if present.
3365 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3366    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3367   ECHO='print -r --'
3368 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3369   ECHO='printf %s\n'
3370 else
3371   # Use this function as a fallback that always works.
3372   func_fallback_echo ()
3373   {
3374     eval 'cat <<_LTECHO_EOF
3375 $1
3376 _LTECHO_EOF'
3377   }
3378   ECHO='func_fallback_echo'
3379 fi
3380
3381 # func_echo_all arg...
3382 # Invoke $ECHO with all args, space-separated.
3383 func_echo_all ()
3384 {
3385     $ECHO ""
3386 }
3387
3388 case "$ECHO" in
3389   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3390 $as_echo "printf" >&6; } ;;
3391   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3392 $as_echo "print -r" >&6; } ;;
3393   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3394 $as_echo "cat" >&6; } ;;
3395 esac
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410 DEPDIR="${am__leading_dot}deps"
3411
3412 ac_config_commands="$ac_config_commands depfiles"
3413
3414
3415 am_make=${MAKE-make}
3416 cat > confinc << 'END'
3417 am__doit:
3418         @echo this is the am__doit target
3419 .PHONY: am__doit
3420 END
3421 # If we don't find an include directive, just comment out the code.
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3423 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3424 am__include="#"
3425 am__quote=
3426 _am_result=none
3427 # First try GNU make style include.
3428 echo "include confinc" > confmf
3429 # Ignore all kinds of additional output from `make'.
3430 case `$am_make -s -f confmf 2> /dev/null` in #(
3431 *the\ am__doit\ target*)
3432   am__include=include
3433   am__quote=
3434   _am_result=GNU
3435   ;;
3436 esac
3437 # Now try BSD make style include.
3438 if test "$am__include" = "#"; then
3439    echo '.include "confinc"' > confmf
3440    case `$am_make -s -f confmf 2> /dev/null` in #(
3441    *the\ am__doit\ target*)
3442      am__include=.include
3443      am__quote="\""
3444      _am_result=BSD
3445      ;;
3446    esac
3447 fi
3448
3449
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3451 $as_echo "$_am_result" >&6; }
3452 rm -f confinc confmf
3453
3454 # Check whether --enable-dependency-tracking was given.
3455 if test "${enable_dependency_tracking+set}" = set; then :
3456   enableval=$enable_dependency_tracking;
3457 fi
3458
3459 if test "x$enable_dependency_tracking" != xno; then
3460   am_depcomp="$ac_aux_dir/depcomp"
3461   AMDEPBACKSLASH='\'
3462   am__nodep='_no'
3463 fi
3464  if test "x$enable_dependency_tracking" != xno; then
3465   AMDEP_TRUE=
3466   AMDEP_FALSE='#'
3467 else
3468   AMDEP_TRUE='#'
3469   AMDEP_FALSE=
3470 fi
3471
3472
3473 ac_ext=c
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 if test -n "$ac_tool_prefix"; then
3479   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3480 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3482 $as_echo_n "checking for $ac_word... " >&6; }
3483 if ${ac_cv_prog_CC+:} false; then :
3484   $as_echo_n "(cached) " >&6
3485 else
3486   if test -n "$CC"; then
3487   ac_cv_prog_CC="$CC" # Let the user override the test.
3488 else
3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490 for as_dir in $PATH
3491 do
3492   IFS=$as_save_IFS
3493   test -z "$as_dir" && as_dir=.
3494     for ac_exec_ext in '' $ac_executable_extensions; do
3495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3496     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3498     break 2
3499   fi
3500 done
3501   done
3502 IFS=$as_save_IFS
3503
3504 fi
3505 fi
3506 CC=$ac_cv_prog_CC
3507 if test -n "$CC"; then
3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3509 $as_echo "$CC" >&6; }
3510 else
3511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3513 fi
3514
3515
3516 fi
3517 if test -z "$ac_cv_prog_CC"; then
3518   ac_ct_CC=$CC
3519   # Extract the first word of "gcc", so it can be a program name with args.
3520 set dummy gcc; ac_word=$2
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3522 $as_echo_n "checking for $ac_word... " >&6; }
3523 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3524   $as_echo_n "(cached) " >&6
3525 else
3526   if test -n "$ac_ct_CC"; then
3527   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3528 else
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 for as_dir in $PATH
3531 do
3532   IFS=$as_save_IFS
3533   test -z "$as_dir" && as_dir=.
3534     for ac_exec_ext in '' $ac_executable_extensions; do
3535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3536     ac_cv_prog_ac_ct_CC="gcc"
3537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3538     break 2
3539   fi
3540 done
3541   done
3542 IFS=$as_save_IFS
3543
3544 fi
3545 fi
3546 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3547 if test -n "$ac_ct_CC"; then
3548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3549 $as_echo "$ac_ct_CC" >&6; }
3550 else
3551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 fi
3554
3555   if test "x$ac_ct_CC" = x; then
3556     CC=""
3557   else
3558     case $cross_compiling:$ac_tool_warned in
3559 yes:)
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3562 ac_tool_warned=yes ;;
3563 esac
3564     CC=$ac_ct_CC
3565   fi
3566 else
3567   CC="$ac_cv_prog_CC"
3568 fi
3569
3570 if test -z "$CC"; then
3571           if test -n "$ac_tool_prefix"; then
3572     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3573 set dummy ${ac_tool_prefix}cc; ac_word=$2
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3575 $as_echo_n "checking for $ac_word... " >&6; }
3576 if ${ac_cv_prog_CC+:} false; then :
3577   $as_echo_n "(cached) " >&6
3578 else
3579   if test -n "$CC"; then
3580   ac_cv_prog_CC="$CC" # Let the user override the test.
3581 else
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 for as_dir in $PATH
3584 do
3585   IFS=$as_save_IFS
3586   test -z "$as_dir" && as_dir=.
3587     for ac_exec_ext in '' $ac_executable_extensions; do
3588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3589     ac_cv_prog_CC="${ac_tool_prefix}cc"
3590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3591     break 2
3592   fi
3593 done
3594   done
3595 IFS=$as_save_IFS
3596
3597 fi
3598 fi
3599 CC=$ac_cv_prog_CC
3600 if test -n "$CC"; then
3601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3602 $as_echo "$CC" >&6; }
3603 else
3604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 $as_echo "no" >&6; }
3606 fi
3607
3608
3609   fi
3610 fi
3611 if test -z "$CC"; then
3612   # Extract the first word of "cc", so it can be a program name with args.
3613 set dummy cc; ac_word=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_CC+:} false; then :
3617   $as_echo_n "(cached) " >&6
3618 else
3619   if test -n "$CC"; then
3620   ac_cv_prog_CC="$CC" # Let the user override the test.
3621 else
3622   ac_prog_rejected=no
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 for as_dir in $PATH
3625 do
3626   IFS=$as_save_IFS
3627   test -z "$as_dir" && as_dir=.
3628     for ac_exec_ext in '' $ac_executable_extensions; do
3629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3630     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3631        ac_prog_rejected=yes
3632        continue
3633      fi
3634     ac_cv_prog_CC="cc"
3635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636     break 2
3637   fi
3638 done
3639   done
3640 IFS=$as_save_IFS
3641
3642 if test $ac_prog_rejected = yes; then
3643   # We found a bogon in the path, so make sure we never use it.
3644   set dummy $ac_cv_prog_CC
3645   shift
3646   if test $# != 0; then
3647     # We chose a different compiler from the bogus one.
3648     # However, it has the same basename, so the bogon will be chosen
3649     # first if we set CC to just the basename; use the full file name.
3650     shift
3651     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3652   fi
3653 fi
3654 fi
3655 fi
3656 CC=$ac_cv_prog_CC
3657 if test -n "$CC"; then
3658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 $as_echo "$CC" >&6; }
3660 else
3661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3663 fi
3664
3665
3666 fi
3667 if test -z "$CC"; then
3668   if test -n "$ac_tool_prefix"; then
3669   for ac_prog in cl.exe
3670   do
3671     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3672 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if ${ac_cv_prog_CC+:} false; then :
3676   $as_echo_n "(cached) " >&6
3677 else
3678   if test -n "$CC"; then
3679   ac_cv_prog_CC="$CC" # Let the user override the test.
3680 else
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3683 do
3684   IFS=$as_save_IFS
3685   test -z "$as_dir" && as_dir=.
3686     for ac_exec_ext in '' $ac_executable_extensions; do
3687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690     break 2
3691   fi
3692 done
3693   done
3694 IFS=$as_save_IFS
3695
3696 fi
3697 fi
3698 CC=$ac_cv_prog_CC
3699 if test -n "$CC"; then
3700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3702 else
3703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3705 fi
3706
3707
3708     test -n "$CC" && break
3709   done
3710 fi
3711 if test -z "$CC"; then
3712   ac_ct_CC=$CC
3713   for ac_prog in cl.exe
3714 do
3715   # Extract the first word of "$ac_prog", so it can be a program name with args.
3716 set dummy $ac_prog; ac_word=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3720   $as_echo_n "(cached) " >&6
3721 else
3722   if test -n "$ac_ct_CC"; then
3723   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3724 else
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 for as_dir in $PATH
3727 do
3728   IFS=$as_save_IFS
3729   test -z "$as_dir" && as_dir=.
3730     for ac_exec_ext in '' $ac_executable_extensions; do
3731   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3732     ac_cv_prog_ac_ct_CC="$ac_prog"
3733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734     break 2
3735   fi
3736 done
3737   done
3738 IFS=$as_save_IFS
3739
3740 fi
3741 fi
3742 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3743 if test -n "$ac_ct_CC"; then
3744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3745 $as_echo "$ac_ct_CC" >&6; }
3746 else
3747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3749 fi
3750
3751
3752   test -n "$ac_ct_CC" && break
3753 done
3754
3755   if test "x$ac_ct_CC" = x; then
3756     CC=""
3757   else
3758     case $cross_compiling:$ac_tool_warned in
3759 yes:)
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3762 ac_tool_warned=yes ;;
3763 esac
3764     CC=$ac_ct_CC
3765   fi
3766 fi
3767
3768 fi
3769
3770
3771 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error $? "no acceptable C compiler found in \$PATH
3774 See \`config.log' for more details" "$LINENO" 5; }
3775
3776 # Provide some information about the compiler.
3777 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3778 set X $ac_compile
3779 ac_compiler=$2
3780 for ac_option in --version -v -V -qversion; do
3781   { { ac_try="$ac_compiler $ac_option >&5"
3782 case "(($ac_try" in
3783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784   *) ac_try_echo=$ac_try;;
3785 esac
3786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3787 $as_echo "$ac_try_echo"; } >&5
3788   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3789   ac_status=$?
3790   if test -s conftest.err; then
3791     sed '10a\
3792 ... rest of stderr output deleted ...
3793          10q' conftest.err >conftest.er1
3794     cat conftest.er1 >&5
3795   fi
3796   rm -f conftest.er1 conftest.err
3797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3798   test $ac_status = 0; }
3799 done
3800
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h.  */
3803
3804 int
3805 main ()
3806 {
3807
3808   ;
3809   return 0;
3810 }
3811 _ACEOF
3812 ac_clean_files_save=$ac_clean_files
3813 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3814 # Try to create an executable without -o first, disregard a.out.
3815 # It will help us diagnose broken compilers, and finding out an intuition
3816 # of exeext.
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3818 $as_echo_n "checking whether the C compiler works... " >&6; }
3819 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3820
3821 # The possible output files:
3822 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3823
3824 ac_rmfiles=
3825 for ac_file in $ac_files
3826 do
3827   case $ac_file in
3828     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3829     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3830   esac
3831 done
3832 rm -f $ac_rmfiles
3833
3834 if { { ac_try="$ac_link_default"
3835 case "(($ac_try" in
3836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837   *) ac_try_echo=$ac_try;;
3838 esac
3839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840 $as_echo "$ac_try_echo"; } >&5
3841   (eval "$ac_link_default") 2>&5
3842   ac_status=$?
3843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844   test $ac_status = 0; }; then :
3845   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3846 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3847 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3848 # so that the user can short-circuit this test for compilers unknown to
3849 # Autoconf.
3850 for ac_file in $ac_files ''
3851 do
3852   test -f "$ac_file" || continue
3853   case $ac_file in
3854     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3855         ;;
3856     [ab].out )
3857         # We found the default executable, but exeext='' is most
3858         # certainly right.
3859         break;;
3860     *.* )
3861         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3862         then :; else
3863            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3864         fi
3865         # We set ac_cv_exeext here because the later test for it is not
3866         # safe: cross compilers may not add the suffix if given an `-o'
3867         # argument, so we may need to know it at that point already.
3868         # Even if this section looks crufty: it has the advantage of
3869         # actually working.
3870         break;;
3871     * )
3872         break;;
3873   esac
3874 done
3875 test "$ac_cv_exeext" = no && ac_cv_exeext=
3876
3877 else
3878   ac_file=''
3879 fi
3880 if test -z "$ac_file"; then :
3881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3883 $as_echo "$as_me: failed program was:" >&5
3884 sed 's/^/| /' conftest.$ac_ext >&5
3885
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888 as_fn_error 77 "C compiler cannot create executables
3889 See \`config.log' for more details" "$LINENO" 5; }
3890 else
3891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3892 $as_echo "yes" >&6; }
3893 fi
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3895 $as_echo_n "checking for C compiler default output file name... " >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3897 $as_echo "$ac_file" >&6; }
3898 ac_exeext=$ac_cv_exeext
3899
3900 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3901 ac_clean_files=$ac_clean_files_save
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3903 $as_echo_n "checking for suffix of executables... " >&6; }
3904 if { { ac_try="$ac_link"
3905 case "(($ac_try" in
3906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907   *) ac_try_echo=$ac_try;;
3908 esac
3909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3910 $as_echo "$ac_try_echo"; } >&5
3911   (eval "$ac_link") 2>&5
3912   ac_status=$?
3913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3914   test $ac_status = 0; }; then :
3915   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3916 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3917 # work properly (i.e., refer to `conftest.exe'), while it won't with
3918 # `rm'.
3919 for ac_file in conftest.exe conftest conftest.*; do
3920   test -f "$ac_file" || continue
3921   case $ac_file in
3922     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3923     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3924           break;;
3925     * ) break;;
3926   esac
3927 done
3928 else
3929   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3932 See \`config.log' for more details" "$LINENO" 5; }
3933 fi
3934 rm -f conftest conftest$ac_cv_exeext
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3936 $as_echo "$ac_cv_exeext" >&6; }
3937
3938 rm -f conftest.$ac_ext
3939 EXEEXT=$ac_cv_exeext
3940 ac_exeext=$EXEEXT
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h.  */
3943 #include <stdio.h>
3944 int
3945 main ()
3946 {
3947 FILE *f = fopen ("conftest.out", "w");
3948  return ferror (f) || fclose (f) != 0;
3949
3950   ;
3951   return 0;
3952 }
3953 _ACEOF
3954 ac_clean_files="$ac_clean_files conftest.out"
3955 # Check that the compiler produces executables we can run.  If not, either
3956 # the compiler is broken, or we cross compile.
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3958 $as_echo_n "checking whether we are cross compiling... " >&6; }
3959 if test "$cross_compiling" != yes; then
3960   { { ac_try="$ac_link"
3961 case "(($ac_try" in
3962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963   *) ac_try_echo=$ac_try;;
3964 esac
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967   (eval "$ac_link") 2>&5
3968   ac_status=$?
3969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970   test $ac_status = 0; }
3971   if { ac_try='./conftest$ac_cv_exeext'
3972   { { case "(($ac_try" in
3973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974   *) ac_try_echo=$ac_try;;
3975 esac
3976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978   (eval "$ac_try") 2>&5
3979   ac_status=$?
3980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981   test $ac_status = 0; }; }; then
3982     cross_compiling=no
3983   else
3984     if test "$cross_compiling" = maybe; then
3985         cross_compiling=yes
3986     else
3987         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989 as_fn_error $? "cannot run C compiled programs.
3990 If you meant to cross compile, use \`--host'.
3991 See \`config.log' for more details" "$LINENO" 5; }
3992     fi
3993   fi
3994 fi
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3996 $as_echo "$cross_compiling" >&6; }
3997
3998 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3999 ac_clean_files=$ac_clean_files_save
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4001 $as_echo_n "checking for suffix of object files... " >&6; }
4002 if ${ac_cv_objext+:} false; then :
4003   $as_echo_n "(cached) " >&6
4004 else
4005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h.  */
4007
4008 int
4009 main ()
4010 {
4011
4012   ;
4013   return 0;
4014 }
4015 _ACEOF
4016 rm -f conftest.o conftest.obj
4017 if { { ac_try="$ac_compile"
4018 case "(($ac_try" in
4019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020   *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024   (eval "$ac_compile") 2>&5
4025   ac_status=$?
4026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027   test $ac_status = 0; }; then :
4028   for ac_file in conftest.o conftest.obj conftest.*; do
4029   test -f "$ac_file" || continue;
4030   case $ac_file in
4031     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4032     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4033        break;;
4034   esac
4035 done
4036 else
4037   $as_echo "$as_me: failed program was:" >&5
4038 sed 's/^/| /' conftest.$ac_ext >&5
4039
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error $? "cannot compute suffix of object files: cannot compile
4043 See \`config.log' for more details" "$LINENO" 5; }
4044 fi
4045 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4046 fi
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4048 $as_echo "$ac_cv_objext" >&6; }
4049 OBJEXT=$ac_cv_objext
4050 ac_objext=$OBJEXT
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4052 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4053 if ${ac_cv_c_compiler_gnu+:} false; then :
4054   $as_echo_n "(cached) " >&6
4055 else
4056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h.  */
4058
4059 int
4060 main ()
4061 {
4062 #ifndef __GNUC__
4063        choke me
4064 #endif
4065
4066   ;
4067   return 0;
4068 }
4069 _ACEOF
4070 if ac_fn_c_try_compile "$LINENO"; then :
4071   ac_compiler_gnu=yes
4072 else
4073   ac_compiler_gnu=no
4074 fi
4075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4076 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4077
4078 fi
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4080 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4081 if test $ac_compiler_gnu = yes; then
4082   GCC=yes
4083 else
4084   GCC=
4085 fi
4086 ac_test_CFLAGS=${CFLAGS+set}
4087 ac_save_CFLAGS=$CFLAGS
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4089 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4090 if ${ac_cv_prog_cc_g+:} false; then :
4091   $as_echo_n "(cached) " >&6
4092 else
4093   ac_save_c_werror_flag=$ac_c_werror_flag
4094    ac_c_werror_flag=yes
4095    ac_cv_prog_cc_g=no
4096    CFLAGS="-g"
4097    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h.  */
4099
4100 int
4101 main ()
4102 {
4103
4104   ;
4105   return 0;
4106 }
4107 _ACEOF
4108 if ac_fn_c_try_compile "$LINENO"; then :
4109   ac_cv_prog_cc_g=yes
4110 else
4111   CFLAGS=""
4112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h.  */
4114
4115 int
4116 main ()
4117 {
4118
4119   ;
4120   return 0;
4121 }
4122 _ACEOF
4123 if ac_fn_c_try_compile "$LINENO"; then :
4124
4125 else
4126   ac_c_werror_flag=$ac_save_c_werror_flag
4127          CFLAGS="-g"
4128          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h.  */
4130
4131 int
4132 main ()
4133 {
4134
4135   ;
4136   return 0;
4137 }
4138 _ACEOF
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140   ac_cv_prog_cc_g=yes
4141 fi
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 fi
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145 fi
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147    ac_c_werror_flag=$ac_save_c_werror_flag
4148 fi
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4150 $as_echo "$ac_cv_prog_cc_g" >&6; }
4151 if test "$ac_test_CFLAGS" = set; then
4152   CFLAGS=$ac_save_CFLAGS
4153 elif test $ac_cv_prog_cc_g = yes; then
4154   if test "$GCC" = yes; then
4155     CFLAGS="-g -O2"
4156   else
4157     CFLAGS="-g"
4158   fi
4159 else
4160   if test "$GCC" = yes; then
4161     CFLAGS="-O2"
4162   else
4163     CFLAGS=
4164   fi
4165 fi
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4167 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4168 if ${ac_cv_prog_cc_c89+:} false; then :
4169   $as_echo_n "(cached) " >&6
4170 else
4171   ac_cv_prog_cc_c89=no
4172 ac_save_CC=$CC
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h.  */
4175 #include <stdarg.h>
4176 #include <stdio.h>
4177 #include <sys/types.h>
4178 #include <sys/stat.h>
4179 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4180 struct buf { int x; };
4181 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4182 static char *e (p, i)
4183      char **p;
4184      int i;
4185 {
4186   return p[i];
4187 }
4188 static char *f (char * (*g) (char **, int), char **p, ...)
4189 {
4190   char *s;
4191   va_list v;
4192   va_start (v,p);
4193   s = g (p, va_arg (v,int));
4194   va_end (v);
4195   return s;
4196 }
4197
4198 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4199    function prototypes and stuff, but not '\xHH' hex character constants.
4200    These don't provoke an error unfortunately, instead are silently treated
4201    as 'x'.  The following induces an error, until -std is added to get
4202    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4203    array size at least.  It's necessary to write '\x00'==0 to get something
4204    that's true only with -std.  */
4205 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4206
4207 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4208    inside strings and character constants.  */
4209 #define FOO(x) 'x'
4210 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4211
4212 int test (int i, double x);
4213 struct s1 {int (*f) (int a);};
4214 struct s2 {int (*f) (double a);};
4215 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4216 int argc;
4217 char **argv;
4218 int
4219 main ()
4220 {
4221 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4222   ;
4223   return 0;
4224 }
4225 _ACEOF
4226 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4227         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4228 do
4229   CC="$ac_save_CC $ac_arg"
4230   if ac_fn_c_try_compile "$LINENO"; then :
4231   ac_cv_prog_cc_c89=$ac_arg
4232 fi
4233 rm -f core conftest.err conftest.$ac_objext
4234   test "x$ac_cv_prog_cc_c89" != "xno" && break
4235 done
4236 rm -f conftest.$ac_ext
4237 CC=$ac_save_CC
4238
4239 fi
4240 # AC_CACHE_VAL
4241 case "x$ac_cv_prog_cc_c89" in
4242   x)
4243     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4244 $as_echo "none needed" >&6; } ;;
4245   xno)
4246     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4247 $as_echo "unsupported" >&6; } ;;
4248   *)
4249     CC="$CC $ac_cv_prog_cc_c89"
4250     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4251 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4252 esac
4253 if test "x$ac_cv_prog_cc_c89" != xno; then :
4254
4255 fi
4256
4257 ac_ext=c
4258 ac_cpp='$CPP $CPPFLAGS'
4259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4262
4263 depcc="$CC"   am_compiler_list=
4264
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4266 $as_echo_n "checking dependency style of $depcc... " >&6; }
4267 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4268   $as_echo_n "(cached) " >&6
4269 else
4270   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4271   # We make a subdir and do the tests there.  Otherwise we can end up
4272   # making bogus files that we don't know about and never remove.  For
4273   # instance it was reported that on HP-UX the gcc test will end up
4274   # making a dummy file named `D' -- because `-MD' means `put the output
4275   # in D'.
4276   rm -rf conftest.dir
4277   mkdir conftest.dir
4278   # Copy depcomp to subdir because otherwise we won't find it if we're
4279   # using a relative directory.
4280   cp "$am_depcomp" conftest.dir
4281   cd conftest.dir
4282   # We will build objects and dependencies in a subdirectory because
4283   # it helps to detect inapplicable dependency modes.  For instance
4284   # both Tru64's cc and ICC support -MD to output dependencies as a
4285   # side effect of compilation, but ICC will put the dependencies in
4286   # the current directory while Tru64 will put them in the object
4287   # directory.
4288   mkdir sub
4289
4290   am_cv_CC_dependencies_compiler_type=none
4291   if test "$am_compiler_list" = ""; then
4292      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4293   fi
4294   am__universal=false
4295   case " $depcc " in #(
4296      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4297      esac
4298
4299   for depmode in $am_compiler_list; do
4300     # Setup a source with many dependencies, because some compilers
4301     # like to wrap large dependency lists on column 80 (with \), and
4302     # we should not choose a depcomp mode which is confused by this.
4303     #
4304     # We need to recreate these files for each test, as the compiler may
4305     # overwrite some of them when testing with obscure command lines.
4306     # This happens at least with the AIX C compiler.
4307     : > sub/conftest.c
4308     for i in 1 2 3 4 5 6; do
4309       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4310       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4311       # Solaris 8's {/usr,}/bin/sh.
4312       touch sub/conftst$i.h
4313     done
4314     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4315
4316     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4317     # mode.  It turns out that the SunPro C++ compiler does not properly
4318     # handle `-M -o', and we need to detect this.  Also, some Intel
4319     # versions had trouble with output in subdirs
4320     am__obj=sub/conftest.${OBJEXT-o}
4321     am__minus_obj="-o $am__obj"
4322     case $depmode in
4323     gcc)
4324       # This depmode causes a compiler race in universal mode.
4325       test "$am__universal" = false || continue
4326       ;;
4327     nosideeffect)
4328       # after this tag, mechanisms are not by side-effect, so they'll
4329       # only be used when explicitly requested
4330       if test "x$enable_dependency_tracking" = xyes; then
4331         continue
4332       else
4333         break
4334       fi
4335       ;;
4336     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4337       # This compiler won't grok `-c -o', but also, the minuso test has
4338       # not run yet.  These depmodes are late enough in the game, and
4339       # so weak that their functioning should not be impacted.
4340       am__obj=conftest.${OBJEXT-o}
4341       am__minus_obj=
4342       ;;
4343     none) break ;;
4344     esac
4345     if depmode=$depmode \
4346        source=sub/conftest.c object=$am__obj \
4347        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4348        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4349          >/dev/null 2>conftest.err &&
4350        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4351        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4352        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4353        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4354       # icc doesn't choke on unknown options, it will just issue warnings
4355       # or remarks (even with -Werror).  So we grep stderr for any message
4356       # that says an option was ignored or not supported.
4357       # When given -MP, icc 7.0 and 7.1 complain thusly:
4358       #   icc: Command line warning: ignoring option '-M'; no argument required
4359       # The diagnosis changed in icc 8.0:
4360       #   icc: Command line remark: option '-MP' not supported
4361       if (grep 'ignoring option' conftest.err ||
4362           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4363         am_cv_CC_dependencies_compiler_type=$depmode
4364         break
4365       fi
4366     fi
4367   done
4368
4369   cd ..
4370   rm -rf conftest.dir
4371 else
4372   am_cv_CC_dependencies_compiler_type=none
4373 fi
4374
4375 fi
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4377 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4378 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4379
4380  if
4381   test "x$enable_dependency_tracking" != xno \
4382   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4383   am__fastdepCC_TRUE=
4384   am__fastdepCC_FALSE='#'
4385 else
4386   am__fastdepCC_TRUE='#'
4387   am__fastdepCC_FALSE=
4388 fi
4389
4390
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4393 if ${ac_cv_path_SED+:} false; then :
4394   $as_echo_n "(cached) " >&6
4395 else
4396             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4397      for ac_i in 1 2 3 4 5 6 7; do
4398        ac_script="$ac_script$as_nl$ac_script"
4399      done
4400      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4401      { ac_script=; unset ac_script;}
4402      if test -z "$SED"; then
4403   ac_path_SED_found=false
4404   # Loop through the user's path and test for each of PROGNAME-LIST
4405   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 for as_dir in $PATH
4407 do
4408   IFS=$as_save_IFS
4409   test -z "$as_dir" && as_dir=.
4410     for ac_prog in sed gsed; do
4411     for ac_exec_ext in '' $ac_executable_extensions; do
4412       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4413       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4414 # Check for GNU ac_path_SED and select it if it is found.
4415   # Check for GNU $ac_path_SED
4416 case `"$ac_path_SED" --version 2>&1` in
4417 *GNU*)
4418   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4419 *)
4420   ac_count=0
4421   $as_echo_n 0123456789 >"conftest.in"
4422   while :
4423   do
4424     cat "conftest.in" "conftest.in" >"conftest.tmp"
4425     mv "conftest.tmp" "conftest.in"
4426     cp "conftest.in" "conftest.nl"
4427     $as_echo '' >> "conftest.nl"
4428     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4429     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4430     as_fn_arith $ac_count + 1 && ac_count=$as_val
4431     if test $ac_count -gt ${ac_path_SED_max-0}; then
4432       # Best one so far, save it but keep looking for a better one
4433       ac_cv_path_SED="$ac_path_SED"
4434       ac_path_SED_max=$ac_count
4435     fi
4436     # 10*(2^10) chars as input seems more than enough
4437     test $ac_count -gt 10 && break
4438   done
4439   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4440 esac
4441
4442       $ac_path_SED_found && break 3
4443     done
4444   done
4445   done
4446 IFS=$as_save_IFS
4447   if test -z "$ac_cv_path_SED"; then
4448     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4449   fi
4450 else
4451   ac_cv_path_SED=$SED
4452 fi
4453
4454 fi
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4456 $as_echo "$ac_cv_path_SED" >&6; }
4457  SED="$ac_cv_path_SED"
4458   rm -f conftest.sed
4459
4460 test -z "$SED" && SED=sed
4461 Xsed="$SED -e 1s/^X//"
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4474 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4475 if ${ac_cv_path_GREP+:} false; then :
4476   $as_echo_n "(cached) " >&6
4477 else
4478   if test -z "$GREP"; then
4479   ac_path_GREP_found=false
4480   # Loop through the user's path and test for each of PROGNAME-LIST
4481   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4483 do
4484   IFS=$as_save_IFS
4485   test -z "$as_dir" && as_dir=.
4486     for ac_prog in grep ggrep; do
4487     for ac_exec_ext in '' $ac_executable_extensions; do
4488       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4489       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4490 # Check for GNU ac_path_GREP and select it if it is found.
4491   # Check for GNU $ac_path_GREP
4492 case `"$ac_path_GREP" --version 2>&1` in
4493 *GNU*)
4494   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4495 *)
4496   ac_count=0
4497   $as_echo_n 0123456789 >"conftest.in"
4498   while :
4499   do
4500     cat "conftest.in" "conftest.in" >"conftest.tmp"
4501     mv "conftest.tmp" "conftest.in"
4502     cp "conftest.in" "conftest.nl"
4503     $as_echo 'GREP' >> "conftest.nl"
4504     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4505     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4506     as_fn_arith $ac_count + 1 && ac_count=$as_val
4507     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4508       # Best one so far, save it but keep looking for a better one
4509       ac_cv_path_GREP="$ac_path_GREP"
4510       ac_path_GREP_max=$ac_count
4511     fi
4512     # 10*(2^10) chars as input seems more than enough
4513     test $ac_count -gt 10 && break
4514   done
4515   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4516 esac
4517
4518       $ac_path_GREP_found && break 3
4519     done
4520   done
4521   done
4522 IFS=$as_save_IFS
4523   if test -z "$ac_cv_path_GREP"; then
4524     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4525   fi
4526 else
4527   ac_cv_path_GREP=$GREP
4528 fi
4529
4530 fi
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4532 $as_echo "$ac_cv_path_GREP" >&6; }
4533  GREP="$ac_cv_path_GREP"
4534
4535
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4537 $as_echo_n "checking for egrep... " >&6; }
4538 if ${ac_cv_path_EGREP+:} false; then :
4539   $as_echo_n "(cached) " >&6
4540 else
4541   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4542    then ac_cv_path_EGREP="$GREP -E"
4543    else
4544      if test -z "$EGREP"; then
4545   ac_path_EGREP_found=false
4546   # Loop through the user's path and test for each of PROGNAME-LIST
4547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4549 do
4550   IFS=$as_save_IFS
4551   test -z "$as_dir" && as_dir=.
4552     for ac_prog in egrep; do
4553     for ac_exec_ext in '' $ac_executable_extensions; do
4554       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4555       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4556 # Check for GNU ac_path_EGREP and select it if it is found.
4557   # Check for GNU $ac_path_EGREP
4558 case `"$ac_path_EGREP" --version 2>&1` in
4559 *GNU*)
4560   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4561 *)
4562   ac_count=0
4563   $as_echo_n 0123456789 >"conftest.in"
4564   while :
4565   do
4566     cat "conftest.in" "conftest.in" >"conftest.tmp"
4567     mv "conftest.tmp" "conftest.in"
4568     cp "conftest.in" "conftest.nl"
4569     $as_echo 'EGREP' >> "conftest.nl"
4570     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4571     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4572     as_fn_arith $ac_count + 1 && ac_count=$as_val
4573     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4574       # Best one so far, save it but keep looking for a better one
4575       ac_cv_path_EGREP="$ac_path_EGREP"
4576       ac_path_EGREP_max=$ac_count
4577     fi
4578     # 10*(2^10) chars as input seems more than enough
4579     test $ac_count -gt 10 && break
4580   done
4581   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4582 esac
4583
4584       $ac_path_EGREP_found && break 3
4585     done
4586   done
4587   done
4588 IFS=$as_save_IFS
4589   if test -z "$ac_cv_path_EGREP"; then
4590     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4591   fi
4592 else
4593   ac_cv_path_EGREP=$EGREP
4594 fi
4595
4596    fi
4597 fi
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4599 $as_echo "$ac_cv_path_EGREP" >&6; }
4600  EGREP="$ac_cv_path_EGREP"
4601
4602
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4604 $as_echo_n "checking for fgrep... " >&6; }
4605 if ${ac_cv_path_FGREP+:} false; then :
4606   $as_echo_n "(cached) " >&6
4607 else
4608   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4609    then ac_cv_path_FGREP="$GREP -F"
4610    else
4611      if test -z "$FGREP"; then
4612   ac_path_FGREP_found=false
4613   # Loop through the user's path and test for each of PROGNAME-LIST
4614   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4616 do
4617   IFS=$as_save_IFS
4618   test -z "$as_dir" && as_dir=.
4619     for ac_prog in fgrep; do
4620     for ac_exec_ext in '' $ac_executable_extensions; do
4621       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4622       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4623 # Check for GNU ac_path_FGREP and select it if it is found.
4624   # Check for GNU $ac_path_FGREP
4625 case `"$ac_path_FGREP" --version 2>&1` in
4626 *GNU*)
4627   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4628 *)
4629   ac_count=0
4630   $as_echo_n 0123456789 >"conftest.in"
4631   while :
4632   do
4633     cat "conftest.in" "conftest.in" >"conftest.tmp"
4634     mv "conftest.tmp" "conftest.in"
4635     cp "conftest.in" "conftest.nl"
4636     $as_echo 'FGREP' >> "conftest.nl"
4637     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4638     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4639     as_fn_arith $ac_count + 1 && ac_count=$as_val
4640     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4641       # Best one so far, save it but keep looking for a better one
4642       ac_cv_path_FGREP="$ac_path_FGREP"
4643       ac_path_FGREP_max=$ac_count
4644     fi
4645     # 10*(2^10) chars as input seems more than enough
4646     test $ac_count -gt 10 && break
4647   done
4648   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4649 esac
4650
4651       $ac_path_FGREP_found && break 3
4652     done
4653   done
4654   done
4655 IFS=$as_save_IFS
4656   if test -z "$ac_cv_path_FGREP"; then
4657     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4658   fi
4659 else
4660   ac_cv_path_FGREP=$FGREP
4661 fi
4662
4663    fi
4664 fi
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4666 $as_echo "$ac_cv_path_FGREP" >&6; }
4667  FGREP="$ac_cv_path_FGREP"
4668
4669
4670 test -z "$GREP" && GREP=grep
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690 # Check whether --with-gnu-ld was given.
4691 if test "${with_gnu_ld+set}" = set; then :
4692   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4693 else
4694   with_gnu_ld=no
4695 fi
4696
4697 ac_prog=ld
4698 if test "$GCC" = yes; then
4699   # Check if gcc -print-prog-name=ld gives a path.
4700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4701 $as_echo_n "checking for ld used by $CC... " >&6; }
4702   case $host in
4703   *-*-mingw*)
4704     # gcc leaves a trailing carriage return which upsets mingw
4705     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4706   *)
4707     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4708   esac
4709   case $ac_prog in
4710     # Accept absolute paths.
4711     [\\/]* | ?:[\\/]*)
4712       re_direlt='/[^/][^/]*/\.\./'
4713       # Canonicalize the pathname of ld
4714       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4715       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4716         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4717       done
4718       test -z "$LD" && LD="$ac_prog"
4719       ;;
4720   "")
4721     # If it fails, then pretend we aren't using GCC.
4722     ac_prog=ld
4723     ;;
4724   *)
4725     # If it is relative, then search for the first ld in PATH.
4726     with_gnu_ld=unknown
4727     ;;
4728   esac
4729 elif test "$with_gnu_ld" = yes; then
4730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4731 $as_echo_n "checking for GNU ld... " >&6; }
4732 else
4733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4734 $as_echo_n "checking for non-GNU ld... " >&6; }
4735 fi
4736 if ${lt_cv_path_LD+:} false; then :
4737   $as_echo_n "(cached) " >&6
4738 else
4739   if test -z "$LD"; then
4740   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4741   for ac_dir in $PATH; do
4742     IFS="$lt_save_ifs"
4743     test -z "$ac_dir" && ac_dir=.
4744     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4745       lt_cv_path_LD="$ac_dir/$ac_prog"
4746       # Check to see if the program is GNU ld.  I'd rather use --version,
4747       # but apparently some variants of GNU ld only accept -v.
4748       # Break only if it was the GNU/non-GNU ld that we prefer.
4749       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4750       *GNU* | *'with BFD'*)
4751         test "$with_gnu_ld" != no && break
4752         ;;
4753       *)
4754         test "$with_gnu_ld" != yes && break
4755         ;;
4756       esac
4757     fi
4758   done
4759   IFS="$lt_save_ifs"
4760 else
4761   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4762 fi
4763 fi
4764
4765 LD="$lt_cv_path_LD"
4766 if test -n "$LD"; then
4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4768 $as_echo "$LD" >&6; }
4769 else
4770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4772 fi
4773 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4775 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4776 if ${lt_cv_prog_gnu_ld+:} false; then :
4777   $as_echo_n "(cached) " >&6
4778 else
4779   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4780 case `$LD -v 2>&1 </dev/null` in
4781 *GNU* | *'with BFD'*)
4782   lt_cv_prog_gnu_ld=yes
4783   ;;
4784 *)
4785   lt_cv_prog_gnu_ld=no
4786   ;;
4787 esac
4788 fi
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4790 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4791 with_gnu_ld=$lt_cv_prog_gnu_ld
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4802 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4803 if ${lt_cv_path_NM+:} false; then :
4804   $as_echo_n "(cached) " >&6
4805 else
4806   if test -n "$NM"; then
4807   # Let the user override the test.
4808   lt_cv_path_NM="$NM"
4809 else
4810   lt_nm_to_check="${ac_tool_prefix}nm"
4811   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4812     lt_nm_to_check="$lt_nm_to_check nm"
4813   fi
4814   for lt_tmp_nm in $lt_nm_to_check; do
4815     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4816     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4817       IFS="$lt_save_ifs"
4818       test -z "$ac_dir" && ac_dir=.
4819       tmp_nm="$ac_dir/$lt_tmp_nm"
4820       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4821         # Check to see if the nm accepts a BSD-compat flag.
4822         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4823         #   nm: unknown option "B" ignored
4824         # Tru64's nm complains that /dev/null is an invalid object file
4825         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4826         */dev/null* | *'Invalid file or object type'*)
4827           lt_cv_path_NM="$tmp_nm -B"
4828           break
4829           ;;
4830         *)
4831           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4832           */dev/null*)
4833             lt_cv_path_NM="$tmp_nm -p"
4834             break
4835             ;;
4836           *)
4837             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4838             continue # so that we can try to find one that supports BSD flags
4839             ;;
4840           esac
4841           ;;
4842         esac
4843       fi
4844     done
4845     IFS="$lt_save_ifs"
4846   done
4847   : ${lt_cv_path_NM=no}
4848 fi
4849 fi
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4851 $as_echo "$lt_cv_path_NM" >&6; }
4852 if test "$lt_cv_path_NM" != "no"; then
4853   NM="$lt_cv_path_NM"
4854 else
4855   # Didn't find any BSD compatible name lister, look for dumpbin.
4856   if test -n "$DUMPBIN"; then :
4857     # Let the user override the test.
4858   else
4859     if test -n "$ac_tool_prefix"; then
4860   for ac_prog in dumpbin "link -dump"
4861   do
4862     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_prog_DUMPBIN+:} false; then :
4867   $as_echo_n "(cached) " >&6
4868 else
4869   if test -n "$DUMPBIN"; then
4870   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4871 else
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 for as_dir in $PATH
4874 do
4875   IFS=$as_save_IFS
4876   test -z "$as_dir" && as_dir=.
4877     for ac_exec_ext in '' $ac_executable_extensions; do
4878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4881     break 2
4882   fi
4883 done
4884   done
4885 IFS=$as_save_IFS
4886
4887 fi
4888 fi
4889 DUMPBIN=$ac_cv_prog_DUMPBIN
4890 if test -n "$DUMPBIN"; then
4891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4892 $as_echo "$DUMPBIN" >&6; }
4893 else
4894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4896 fi
4897
4898
4899     test -n "$DUMPBIN" && break
4900   done
4901 fi
4902 if test -z "$DUMPBIN"; then
4903   ac_ct_DUMPBIN=$DUMPBIN
4904   for ac_prog in dumpbin "link -dump"
4905 do
4906   # Extract the first word of "$ac_prog", so it can be a program name with args.
4907 set dummy $ac_prog; ac_word=$2
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4910 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4911   $as_echo_n "(cached) " >&6
4912 else
4913   if test -n "$ac_ct_DUMPBIN"; then
4914   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4915 else
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 for as_dir in $PATH
4918 do
4919   IFS=$as_save_IFS
4920   test -z "$as_dir" && as_dir=.
4921     for ac_exec_ext in '' $ac_executable_extensions; do
4922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4923     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4925     break 2
4926   fi
4927 done
4928   done
4929 IFS=$as_save_IFS
4930
4931 fi
4932 fi
4933 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4934 if test -n "$ac_ct_DUMPBIN"; then
4935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4936 $as_echo "$ac_ct_DUMPBIN" >&6; }
4937 else
4938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4940 fi
4941
4942
4943   test -n "$ac_ct_DUMPBIN" && break
4944 done
4945
4946   if test "x$ac_ct_DUMPBIN" = x; then
4947     DUMPBIN=":"
4948   else
4949     case $cross_compiling:$ac_tool_warned in
4950 yes:)
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned=yes ;;
4954 esac
4955     DUMPBIN=$ac_ct_DUMPBIN
4956   fi
4957 fi
4958
4959     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4960     *COFF*)
4961       DUMPBIN="$DUMPBIN -symbols"
4962       ;;
4963     *)
4964       DUMPBIN=:
4965       ;;
4966     esac
4967   fi
4968
4969   if test "$DUMPBIN" != ":"; then
4970     NM="$DUMPBIN"
4971   fi
4972 fi
4973 test -z "$NM" && NM=nm
4974
4975
4976
4977
4978
4979
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4981 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4982 if ${lt_cv_nm_interface+:} false; then :
4983   $as_echo_n "(cached) " >&6
4984 else
4985   lt_cv_nm_interface="BSD nm"
4986   echo "int some_variable = 0;" > conftest.$ac_ext
4987   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4988   (eval "$ac_compile" 2>conftest.err)
4989   cat conftest.err >&5
4990   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4991   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4992   cat conftest.err >&5
4993   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4994   cat conftest.out >&5
4995   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4996     lt_cv_nm_interface="MS dumpbin"
4997   fi
4998   rm -f conftest*
4999 fi
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5001 $as_echo "$lt_cv_nm_interface" >&6; }
5002
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5004 $as_echo_n "checking whether ln -s works... " >&6; }
5005 LN_S=$as_ln_s
5006 if test "$LN_S" = "ln -s"; then
5007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5008 $as_echo "yes" >&6; }
5009 else
5010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5011 $as_echo "no, using $LN_S" >&6; }
5012 fi
5013
5014 # find the maximum length of command line arguments
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5016 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5017 if ${lt_cv_sys_max_cmd_len+:} false; then :
5018   $as_echo_n "(cached) " >&6
5019 else
5020     i=0
5021   teststring="ABCD"
5022
5023   case $build_os in
5024   msdosdjgpp*)
5025     # On DJGPP, this test can blow up pretty badly due to problems in libc
5026     # (any single argument exceeding 2000 bytes causes a buffer overrun
5027     # during glob expansion).  Even if it were fixed, the result of this
5028     # check would be larger than it should be.
5029     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5030     ;;
5031
5032   gnu*)
5033     # Under GNU Hurd, this test is not required because there is
5034     # no limit to the length of command line arguments.
5035     # Libtool will interpret -1 as no limit whatsoever
5036     lt_cv_sys_max_cmd_len=-1;
5037     ;;
5038
5039   cygwin* | mingw* | cegcc*)
5040     # On Win9x/ME, this test blows up -- it succeeds, but takes
5041     # about 5 minutes as the teststring grows exponentially.
5042     # Worse, since 9x/ME are not pre-emptively multitasking,
5043     # you end up with a "frozen" computer, even though with patience
5044     # the test eventually succeeds (with a max line length of 256k).
5045     # Instead, let's just punt: use the minimum linelength reported by
5046     # all of the supported platforms: 8192 (on NT/2K/XP).
5047     lt_cv_sys_max_cmd_len=8192;
5048     ;;
5049
5050   mint*)
5051     # On MiNT this can take a long time and run out of memory.
5052     lt_cv_sys_max_cmd_len=8192;
5053     ;;
5054
5055   amigaos*)
5056     # On AmigaOS with pdksh, this test takes hours, literally.
5057     # So we just punt and use a minimum line length of 8192.
5058     lt_cv_sys_max_cmd_len=8192;
5059     ;;
5060
5061   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5062     # This has been around since 386BSD, at least.  Likely further.
5063     if test -x /sbin/sysctl; then
5064       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5065     elif test -x /usr/sbin/sysctl; then
5066       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5067     else
5068       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5069     fi
5070     # And add a safety zone
5071     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5072     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5073     ;;
5074
5075   interix*)
5076     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5077     lt_cv_sys_max_cmd_len=196608
5078     ;;
5079
5080   os2*)
5081     # The test takes a long time on OS/2.
5082     lt_cv_sys_max_cmd_len=8192
5083     ;;
5084
5085   osf*)
5086     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5087     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5088     # nice to cause kernel panics so lets avoid the loop below.
5089     # First set a reasonable default.
5090     lt_cv_sys_max_cmd_len=16384
5091     #
5092     if test -x /sbin/sysconfig; then
5093       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5094         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5095       esac
5096     fi
5097     ;;
5098   sco3.2v5*)
5099     lt_cv_sys_max_cmd_len=102400
5100     ;;
5101   sysv5* | sco5v6* | sysv4.2uw2*)
5102     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5103     if test -n "$kargmax"; then
5104       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5105     else
5106       lt_cv_sys_max_cmd_len=32768
5107     fi
5108     ;;
5109   *)
5110     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5111     if test -n "$lt_cv_sys_max_cmd_len"; then
5112       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5113       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5114     else
5115       # Make teststring a little bigger before we do anything with it.
5116       # a 1K string should be a reasonable start.
5117       for i in 1 2 3 4 5 6 7 8 ; do
5118         teststring=$teststring$teststring
5119       done
5120       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5121       # If test is not a shell built-in, we'll probably end up computing a
5122       # maximum length that is only half of the actual maximum length, but
5123       # we can't tell.
5124       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5125                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5126               test $i != 17 # 1/2 MB should be enough
5127       do
5128         i=`expr $i + 1`
5129         teststring=$teststring$teststring
5130       done
5131       # Only check the string length outside the loop.
5132       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5133       teststring=
5134       # Add a significant safety factor because C++ compilers can tack on
5135       # massive amounts of additional arguments before passing them to the
5136       # linker.  It appears as though 1/2 is a usable value.
5137       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5138     fi
5139     ;;
5140   esac
5141
5142 fi
5143
5144 if test -n $lt_cv_sys_max_cmd_len ; then
5145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5146 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5147 else
5148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5149 $as_echo "none" >&6; }
5150 fi
5151 max_cmd_len=$lt_cv_sys_max_cmd_len
5152
5153
5154
5155
5156
5157
5158 : ${CP="cp -f"}
5159 : ${MV="mv -f"}
5160 : ${RM="rm -f"}
5161
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5163 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5164 # Try some XSI features
5165 xsi_shell=no
5166 ( _lt_dummy="a/b/c"
5167   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5168       = c,a/b,b/c, \
5169     && eval 'test $(( 1 + 1 )) -eq 2 \
5170     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5171   && xsi_shell=yes
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5173 $as_echo "$xsi_shell" >&6; }
5174
5175
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5177 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5178 lt_shell_append=no
5179 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5180     >/dev/null 2>&1 \
5181   && lt_shell_append=yes
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5183 $as_echo "$lt_shell_append" >&6; }
5184
5185
5186 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5187   lt_unset=unset
5188 else
5189   lt_unset=false
5190 fi
5191
5192
5193
5194
5195
5196 # test EBCDIC or ASCII
5197 case `echo X|tr X '\101'` in
5198  A) # ASCII based system
5199     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5200   lt_SP2NL='tr \040 \012'
5201   lt_NL2SP='tr \015\012 \040\040'
5202   ;;
5203  *) # EBCDIC based system
5204   lt_SP2NL='tr \100 \n'
5205   lt_NL2SP='tr \r\n \100\100'
5206   ;;
5207 esac
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5218 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5219 if ${lt_cv_to_host_file_cmd+:} false; then :
5220   $as_echo_n "(cached) " >&6
5221 else
5222   case $host in
5223   *-*-mingw* )
5224     case $build in
5225       *-*-mingw* ) # actually msys
5226         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5227         ;;
5228       *-*-cygwin* )
5229         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5230         ;;
5231       * ) # otherwise, assume *nix
5232         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5233         ;;
5234     esac
5235     ;;
5236   *-*-cygwin* )
5237     case $build in
5238       *-*-mingw* ) # actually msys
5239         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5240         ;;
5241       *-*-cygwin* )
5242         lt_cv_to_host_file_cmd=func_convert_file_noop
5243         ;;
5244       * ) # otherwise, assume *nix
5245         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5246         ;;
5247     esac
5248     ;;
5249   * ) # unhandled hosts (and "normal" native builds)
5250     lt_cv_to_host_file_cmd=func_convert_file_noop
5251     ;;
5252 esac
5253
5254 fi
5255
5256 to_host_file_cmd=$lt_cv_to_host_file_cmd
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5258 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5259
5260
5261
5262
5263
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5265 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5266 if ${lt_cv_to_tool_file_cmd+:} false; then :
5267   $as_echo_n "(cached) " >&6
5268 else
5269   #assume ordinary cross tools, or native build.
5270 lt_cv_to_tool_file_cmd=func_convert_file_noop
5271 case $host in
5272   *-*-mingw* )
5273     case $build in
5274       *-*-mingw* ) # actually msys
5275         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5276         ;;
5277     esac
5278     ;;
5279 esac
5280
5281 fi
5282
5283 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5285 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5286
5287
5288
5289
5290
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5292 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5293 if ${lt_cv_ld_reload_flag+:} false; then :
5294   $as_echo_n "(cached) " >&6
5295 else
5296   lt_cv_ld_reload_flag='-r'
5297 fi
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5299 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5300 reload_flag=$lt_cv_ld_reload_flag
5301 case $reload_flag in
5302 "" | " "*) ;;
5303 *) reload_flag=" $reload_flag" ;;
5304 esac
5305 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5306 case $host_os in
5307   cygwin* | mingw* | pw32* | cegcc*)
5308     if test "$GCC" != yes; then
5309       reload_cmds=false
5310     fi
5311     ;;
5312   darwin*)
5313     if test "$GCC" = yes; then
5314       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5315     else
5316       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5317     fi
5318     ;;
5319 esac
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329 if test -n "$ac_tool_prefix"; then
5330   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5331 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5333 $as_echo_n "checking for $ac_word... " >&6; }
5334 if ${ac_cv_prog_OBJDUMP+:} false; then :
5335   $as_echo_n "(cached) " >&6
5336 else
5337   if test -n "$OBJDUMP"; then
5338   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5339 else
5340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 for as_dir in $PATH
5342 do
5343   IFS=$as_save_IFS
5344   test -z "$as_dir" && as_dir=.
5345     for ac_exec_ext in '' $ac_executable_extensions; do
5346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5347     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5349     break 2
5350   fi
5351 done
5352   done
5353 IFS=$as_save_IFS
5354
5355 fi
5356 fi
5357 OBJDUMP=$ac_cv_prog_OBJDUMP
5358 if test -n "$OBJDUMP"; then
5359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5360 $as_echo "$OBJDUMP" >&6; }
5361 else
5362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5363 $as_echo "no" >&6; }
5364 fi
5365
5366
5367 fi
5368 if test -z "$ac_cv_prog_OBJDUMP"; then
5369   ac_ct_OBJDUMP=$OBJDUMP
5370   # Extract the first word of "objdump", so it can be a program name with args.
5371 set dummy objdump; ac_word=$2
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5373 $as_echo_n "checking for $ac_word... " >&6; }
5374 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5375   $as_echo_n "(cached) " >&6
5376 else
5377   if test -n "$ac_ct_OBJDUMP"; then
5378   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5379 else
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 for as_dir in $PATH
5382 do
5383   IFS=$as_save_IFS
5384   test -z "$as_dir" && as_dir=.
5385     for ac_exec_ext in '' $ac_executable_extensions; do
5386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5387     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389     break 2
5390   fi
5391 done
5392   done
5393 IFS=$as_save_IFS
5394
5395 fi
5396 fi
5397 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5398 if test -n "$ac_ct_OBJDUMP"; then
5399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5400 $as_echo "$ac_ct_OBJDUMP" >&6; }
5401 else
5402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403 $as_echo "no" >&6; }
5404 fi
5405
5406   if test "x$ac_ct_OBJDUMP" = x; then
5407     OBJDUMP="false"
5408   else
5409     case $cross_compiling:$ac_tool_warned in
5410 yes:)
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5413 ac_tool_warned=yes ;;
5414 esac
5415     OBJDUMP=$ac_ct_OBJDUMP
5416   fi
5417 else
5418   OBJDUMP="$ac_cv_prog_OBJDUMP"
5419 fi
5420
5421 test -z "$OBJDUMP" && OBJDUMP=objdump
5422
5423
5424
5425
5426
5427
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5429 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5430 if ${lt_cv_deplibs_check_method+:} false; then :
5431   $as_echo_n "(cached) " >&6
5432 else
5433   lt_cv_file_magic_cmd='$MAGIC_CMD'
5434 lt_cv_file_magic_test_file=
5435 lt_cv_deplibs_check_method='unknown'
5436 # Need to set the preceding variable on all platforms that support
5437 # interlibrary dependencies.
5438 # 'none' -- dependencies not supported.
5439 # `unknown' -- same as none, but documents that we really don't know.
5440 # 'pass_all' -- all dependencies passed with no checks.
5441 # 'test_compile' -- check by making test program.
5442 # 'file_magic [[regex]]' -- check by looking for files in library path
5443 # which responds to the $file_magic_cmd with a given extended regex.
5444 # If you have `file' or equivalent on your system and you're not sure
5445 # whether `pass_all' will *always* work, you probably want this one.
5446
5447 case $host_os in
5448 aix[4-9]*)
5449   lt_cv_deplibs_check_method=pass_all
5450   ;;
5451
5452 beos*)
5453   lt_cv_deplibs_check_method=pass_all
5454   ;;
5455
5456 bsdi[45]*)
5457   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5458   lt_cv_file_magic_cmd='/usr/bin/file -L'
5459   lt_cv_file_magic_test_file=/shlib/libc.so
5460   ;;
5461
5462 cygwin*)
5463   # func_win32_libid is a shell function defined in ltmain.sh
5464   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5465   lt_cv_file_magic_cmd='func_win32_libid'
5466   ;;
5467
5468 mingw* | pw32*)
5469   # Base MSYS/MinGW do not provide the 'file' command needed by
5470   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5471   # unless we find 'file', for example because we are cross-compiling.
5472   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5473   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5474     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5475     lt_cv_file_magic_cmd='func_win32_libid'
5476   else
5477     # Keep this pattern in sync with the one in func_win32_libid.
5478     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5479     lt_cv_file_magic_cmd='$OBJDUMP -f'
5480   fi
5481   ;;
5482
5483 cegcc*)
5484   # use the weaker test based on 'objdump'. See mingw*.
5485   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5486   lt_cv_file_magic_cmd='$OBJDUMP -f'
5487   ;;
5488
5489 darwin* | rhapsody*)
5490   lt_cv_deplibs_check_method=pass_all
5491   ;;
5492
5493 freebsd* | dragonfly*)
5494   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5495     case $host_cpu in
5496     i*86 )
5497       # Not sure whether the presence of OpenBSD here was a mistake.
5498       # Let's accept both of them until this is cleared up.
5499       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5500       lt_cv_file_magic_cmd=/usr/bin/file
5501       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5502       ;;
5503     esac
5504   else
5505     lt_cv_deplibs_check_method=pass_all
5506   fi
5507   ;;
5508
5509 gnu*)
5510   lt_cv_deplibs_check_method=pass_all
5511   ;;
5512
5513 haiku*)
5514   lt_cv_deplibs_check_method=pass_all
5515   ;;
5516
5517 hpux10.20* | hpux11*)
5518   lt_cv_file_magic_cmd=/usr/bin/file
5519   case $host_cpu in
5520   ia64*)
5521     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5522     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5523     ;;
5524   hppa*64*)
5525     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]'
5526     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5527     ;;
5528   *)
5529     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5530     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5531     ;;
5532   esac
5533   ;;
5534
5535 interix[3-9]*)
5536   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5537   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5538   ;;
5539
5540 irix5* | irix6* | nonstopux*)
5541   case $LD in
5542   *-32|*"-32 ") libmagic=32-bit;;
5543   *-n32|*"-n32 ") libmagic=N32;;
5544   *-64|*"-64 ") libmagic=64-bit;;
5545   *) libmagic=never-match;;
5546   esac
5547   lt_cv_deplibs_check_method=pass_all
5548   ;;
5549
5550 # This must be glibc/ELF.
5551 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5552   lt_cv_deplibs_check_method=pass_all
5553   ;;
5554
5555 netbsd* | netbsdelf*-gnu)
5556   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5557     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5558   else
5559     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5560   fi
5561   ;;
5562
5563 newos6*)
5564   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5565   lt_cv_file_magic_cmd=/usr/bin/file
5566   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5567   ;;
5568
5569 *nto* | *qnx*)
5570   lt_cv_deplibs_check_method=pass_all
5571   ;;
5572
5573 openbsd*)
5574   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5575     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5576   else
5577     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5578   fi
5579   ;;
5580
5581 osf3* | osf4* | osf5*)
5582   lt_cv_deplibs_check_method=pass_all
5583   ;;
5584
5585 rdos*)
5586   lt_cv_deplibs_check_method=pass_all
5587   ;;
5588
5589 solaris*)
5590   lt_cv_deplibs_check_method=pass_all
5591   ;;
5592
5593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5594   lt_cv_deplibs_check_method=pass_all
5595   ;;
5596
5597 sysv4 | sysv4.3*)
5598   case $host_vendor in
5599   motorola)
5600     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]'
5601     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5602     ;;
5603   ncr)
5604     lt_cv_deplibs_check_method=pass_all
5605     ;;
5606   sequent)
5607     lt_cv_file_magic_cmd='/bin/file'
5608     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5609     ;;
5610   sni)
5611     lt_cv_file_magic_cmd='/bin/file'
5612     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5613     lt_cv_file_magic_test_file=/lib/libc.so
5614     ;;
5615   siemens)
5616     lt_cv_deplibs_check_method=pass_all
5617     ;;
5618   pc)
5619     lt_cv_deplibs_check_method=pass_all
5620     ;;
5621   esac
5622   ;;
5623
5624 tpf*)
5625   lt_cv_deplibs_check_method=pass_all
5626   ;;
5627 esac
5628
5629 fi
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5631 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5632
5633 file_magic_glob=
5634 want_nocaseglob=no
5635 if test "$build" = "$host"; then
5636   case $host_os in
5637   mingw* | pw32*)
5638     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5639       want_nocaseglob=yes
5640     else
5641       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5642     fi
5643     ;;
5644   esac
5645 fi
5646
5647 file_magic_cmd=$lt_cv_file_magic_cmd
5648 deplibs_check_method=$lt_cv_deplibs_check_method
5649 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672 if test -n "$ac_tool_prefix"; then
5673   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5674 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if ${ac_cv_prog_DLLTOOL+:} false; then :
5678   $as_echo_n "(cached) " >&6
5679 else
5680   if test -n "$DLLTOOL"; then
5681   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5682 else
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 for as_dir in $PATH
5685 do
5686   IFS=$as_save_IFS
5687   test -z "$as_dir" && as_dir=.
5688     for ac_exec_ext in '' $ac_executable_extensions; do
5689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5690     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692     break 2
5693   fi
5694 done
5695   done
5696 IFS=$as_save_IFS
5697
5698 fi
5699 fi
5700 DLLTOOL=$ac_cv_prog_DLLTOOL
5701 if test -n "$DLLTOOL"; then
5702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5703 $as_echo "$DLLTOOL" >&6; }
5704 else
5705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5707 fi
5708
5709
5710 fi
5711 if test -z "$ac_cv_prog_DLLTOOL"; then
5712   ac_ct_DLLTOOL=$DLLTOOL
5713   # Extract the first word of "dlltool", so it can be a program name with args.
5714 set dummy dlltool; ac_word=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5718   $as_echo_n "(cached) " >&6
5719 else
5720   if test -n "$ac_ct_DLLTOOL"; then
5721   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5722 else
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 for as_dir in $PATH
5725 do
5726   IFS=$as_save_IFS
5727   test -z "$as_dir" && as_dir=.
5728     for ac_exec_ext in '' $ac_executable_extensions; do
5729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5730     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732     break 2
5733   fi
5734 done
5735   done
5736 IFS=$as_save_IFS
5737
5738 fi
5739 fi
5740 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5741 if test -n "$ac_ct_DLLTOOL"; then
5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5743 $as_echo "$ac_ct_DLLTOOL" >&6; }
5744 else
5745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5747 fi
5748
5749   if test "x$ac_ct_DLLTOOL" = x; then
5750     DLLTOOL="false"
5751   else
5752     case $cross_compiling:$ac_tool_warned in
5753 yes:)
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5756 ac_tool_warned=yes ;;
5757 esac
5758     DLLTOOL=$ac_ct_DLLTOOL
5759   fi
5760 else
5761   DLLTOOL="$ac_cv_prog_DLLTOOL"
5762 fi
5763
5764 test -z "$DLLTOOL" && DLLTOOL=dlltool
5765
5766
5767
5768
5769
5770
5771
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5773 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5774 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5775   $as_echo_n "(cached) " >&6
5776 else
5777   lt_cv_sharedlib_from_linklib_cmd='unknown'
5778
5779 case $host_os in
5780 cygwin* | mingw* | pw32* | cegcc*)
5781   # two different shell functions defined in ltmain.sh
5782   # decide which to use based on capabilities of $DLLTOOL
5783   case `$DLLTOOL --help 2>&1` in
5784   *--identify-strict*)
5785     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5786     ;;
5787   *)
5788     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5789     ;;
5790   esac
5791   ;;
5792 *)
5793   # fallback: assume linklib IS sharedlib
5794   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5795   ;;
5796 esac
5797
5798 fi
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5800 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5801 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5802 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5803
5804
5805
5806
5807
5808
5809
5810
5811 if test -n "$ac_tool_prefix"; then
5812   for ac_prog in ar
5813   do
5814     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_AR+:} false; then :
5819   $as_echo_n "(cached) " >&6
5820 else
5821   if test -n "$AR"; then
5822   ac_cv_prog_AR="$AR" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5826 do
5827   IFS=$as_save_IFS
5828   test -z "$as_dir" && as_dir=.
5829     for ac_exec_ext in '' $ac_executable_extensions; do
5830   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5831     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833     break 2
5834   fi
5835 done
5836   done
5837 IFS=$as_save_IFS
5838
5839 fi
5840 fi
5841 AR=$ac_cv_prog_AR
5842 if test -n "$AR"; then
5843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5844 $as_echo "$AR" >&6; }
5845 else
5846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5848 fi
5849
5850
5851     test -n "$AR" && break
5852   done
5853 fi
5854 if test -z "$AR"; then
5855   ac_ct_AR=$AR
5856   for ac_prog in ar
5857 do
5858   # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5863   $as_echo_n "(cached) " >&6
5864 else
5865   if test -n "$ac_ct_AR"; then
5866   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5867 else
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 for as_dir in $PATH
5870 do
5871   IFS=$as_save_IFS
5872   test -z "$as_dir" && as_dir=.
5873     for ac_exec_ext in '' $ac_executable_extensions; do
5874   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5875     ac_cv_prog_ac_ct_AR="$ac_prog"
5876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877     break 2
5878   fi
5879 done
5880   done
5881 IFS=$as_save_IFS
5882
5883 fi
5884 fi
5885 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5886 if test -n "$ac_ct_AR"; then
5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5888 $as_echo "$ac_ct_AR" >&6; }
5889 else
5890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5892 fi
5893
5894
5895   test -n "$ac_ct_AR" && break
5896 done
5897
5898   if test "x$ac_ct_AR" = x; then
5899     AR="false"
5900   else
5901     case $cross_compiling:$ac_tool_warned in
5902 yes:)
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5905 ac_tool_warned=yes ;;
5906 esac
5907     AR=$ac_ct_AR
5908   fi
5909 fi
5910
5911 : ${AR=ar}
5912 : ${AR_FLAGS=cru}
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5925 $as_echo_n "checking for archiver @FILE support... " >&6; }
5926 if ${lt_cv_ar_at_file+:} false; then :
5927   $as_echo_n "(cached) " >&6
5928 else
5929   lt_cv_ar_at_file=no
5930    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h.  */
5932
5933 int
5934 main ()
5935 {
5936
5937   ;
5938   return 0;
5939 }
5940 _ACEOF
5941 if ac_fn_c_try_compile "$LINENO"; then :
5942   echo conftest.$ac_objext > conftest.lst
5943       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5944       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5945   (eval $lt_ar_try) 2>&5
5946   ac_status=$?
5947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5948   test $ac_status = 0; }
5949       if test "$ac_status" -eq 0; then
5950         # Ensure the archiver fails upon bogus file names.
5951         rm -f conftest.$ac_objext libconftest.a
5952         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5953   (eval $lt_ar_try) 2>&5
5954   ac_status=$?
5955   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5956   test $ac_status = 0; }
5957         if test "$ac_status" -ne 0; then
5958           lt_cv_ar_at_file=@
5959         fi
5960       fi
5961       rm -f conftest.* libconftest.a
5962
5963 fi
5964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5965
5966 fi
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5968 $as_echo "$lt_cv_ar_at_file" >&6; }
5969
5970 if test "x$lt_cv_ar_at_file" = xno; then
5971   archiver_list_spec=
5972 else
5973   archiver_list_spec=$lt_cv_ar_at_file
5974 fi
5975
5976
5977
5978
5979
5980
5981
5982 if test -n "$ac_tool_prefix"; then
5983   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5984 set dummy ${ac_tool_prefix}strip; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if ${ac_cv_prog_STRIP+:} false; then :
5988   $as_echo_n "(cached) " >&6
5989 else
5990   if test -n "$STRIP"; then
5991   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5992 else
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 for as_dir in $PATH
5995 do
5996   IFS=$as_save_IFS
5997   test -z "$as_dir" && as_dir=.
5998     for ac_exec_ext in '' $ac_executable_extensions; do
5999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6000     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6002     break 2
6003   fi
6004 done
6005   done
6006 IFS=$as_save_IFS
6007
6008 fi
6009 fi
6010 STRIP=$ac_cv_prog_STRIP
6011 if test -n "$STRIP"; then
6012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6013 $as_echo "$STRIP" >&6; }
6014 else
6015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6017 fi
6018
6019
6020 fi
6021 if test -z "$ac_cv_prog_STRIP"; then
6022   ac_ct_STRIP=$STRIP
6023   # Extract the first word of "strip", so it can be a program name with args.
6024 set dummy strip; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6028   $as_echo_n "(cached) " >&6
6029 else
6030   if test -n "$ac_ct_STRIP"; then
6031   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6032 else
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 for as_dir in $PATH
6035 do
6036   IFS=$as_save_IFS
6037   test -z "$as_dir" && as_dir=.
6038     for ac_exec_ext in '' $ac_executable_extensions; do
6039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6040     ac_cv_prog_ac_ct_STRIP="strip"
6041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042     break 2
6043   fi
6044 done
6045   done
6046 IFS=$as_save_IFS
6047
6048 fi
6049 fi
6050 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6051 if test -n "$ac_ct_STRIP"; then
6052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6053 $as_echo "$ac_ct_STRIP" >&6; }
6054 else
6055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6057 fi
6058
6059   if test "x$ac_ct_STRIP" = x; then
6060     STRIP=":"
6061   else
6062     case $cross_compiling:$ac_tool_warned in
6063 yes:)
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6066 ac_tool_warned=yes ;;
6067 esac
6068     STRIP=$ac_ct_STRIP
6069   fi
6070 else
6071   STRIP="$ac_cv_prog_STRIP"
6072 fi
6073
6074 test -z "$STRIP" && STRIP=:
6075
6076
6077
6078
6079
6080
6081 if test -n "$ac_tool_prefix"; then
6082   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if ${ac_cv_prog_RANLIB+:} false; then :
6087   $as_echo_n "(cached) " >&6
6088 else
6089   if test -n "$RANLIB"; then
6090   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6091 else
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 for as_dir in $PATH
6094 do
6095   IFS=$as_save_IFS
6096   test -z "$as_dir" && as_dir=.
6097     for ac_exec_ext in '' $ac_executable_extensions; do
6098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101     break 2
6102   fi
6103 done
6104   done
6105 IFS=$as_save_IFS
6106
6107 fi
6108 fi
6109 RANLIB=$ac_cv_prog_RANLIB
6110 if test -n "$RANLIB"; then
6111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6112 $as_echo "$RANLIB" >&6; }
6113 else
6114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6116 fi
6117
6118
6119 fi
6120 if test -z "$ac_cv_prog_RANLIB"; then
6121   ac_ct_RANLIB=$RANLIB
6122   # Extract the first word of "ranlib", so it can be a program name with args.
6123 set dummy ranlib; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6127   $as_echo_n "(cached) " >&6
6128 else
6129   if test -n "$ac_ct_RANLIB"; then
6130   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6134 do
6135   IFS=$as_save_IFS
6136   test -z "$as_dir" && as_dir=.
6137     for ac_exec_ext in '' $ac_executable_extensions; do
6138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139     ac_cv_prog_ac_ct_RANLIB="ranlib"
6140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141     break 2
6142   fi
6143 done
6144   done
6145 IFS=$as_save_IFS
6146
6147 fi
6148 fi
6149 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6150 if test -n "$ac_ct_RANLIB"; then
6151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6152 $as_echo "$ac_ct_RANLIB" >&6; }
6153 else
6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6156 fi
6157
6158   if test "x$ac_ct_RANLIB" = x; then
6159     RANLIB=":"
6160   else
6161     case $cross_compiling:$ac_tool_warned in
6162 yes:)
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6166 esac
6167     RANLIB=$ac_ct_RANLIB
6168   fi
6169 else
6170   RANLIB="$ac_cv_prog_RANLIB"
6171 fi
6172
6173 test -z "$RANLIB" && RANLIB=:
6174
6175
6176
6177
6178
6179
6180 # Determine commands to create old-style static archives.
6181 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6182 old_postinstall_cmds='chmod 644 $oldlib'
6183 old_postuninstall_cmds=
6184
6185 if test -n "$RANLIB"; then
6186   case $host_os in
6187   openbsd*)
6188     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6189     ;;
6190   *)
6191     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6192     ;;
6193   esac
6194   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6195 fi
6196
6197 case $host_os in
6198   darwin*)
6199     lock_old_archive_extraction=yes ;;
6200   *)
6201     lock_old_archive_extraction=no ;;
6202 esac
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
6240
6241
6242 # If no C compiler was specified, use CC.
6243 LTCC=${LTCC-"$CC"}
6244
6245 # If no C compiler flags were specified, use CFLAGS.
6246 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6247
6248 # Allow CC to be a program name with arguments.
6249 compiler=$CC
6250
6251
6252 # Check for command to grab the raw symbol name followed by C symbol from nm.
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6254 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6255 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6256   $as_echo_n "(cached) " >&6
6257 else
6258
6259 # These are sane defaults that work on at least a few old systems.
6260 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6261
6262 # Character class describing NM global symbol codes.
6263 symcode='[BCDEGRST]'
6264
6265 # Regexp to match symbols that can be accessed directly from C.
6266 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6267
6268 # Define system-specific variables.
6269 case $host_os in
6270 aix*)
6271   symcode='[BCDT]'
6272   ;;
6273 cygwin* | mingw* | pw32* | cegcc*)
6274   symcode='[ABCDGISTW]'
6275   ;;
6276 hpux*)
6277   if test "$host_cpu" = ia64; then
6278     symcode='[ABCDEGRST]'
6279   fi
6280   ;;
6281 irix* | nonstopux*)
6282   symcode='[BCDEGRST]'
6283   ;;
6284 osf*)
6285   symcode='[BCDEGQRST]'
6286   ;;
6287 solaris*)
6288   symcode='[BDRT]'
6289   ;;
6290 sco3.2v5*)
6291   symcode='[DT]'
6292   ;;
6293 sysv4.2uw2*)
6294   symcode='[DT]'
6295   ;;
6296 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6297   symcode='[ABDT]'
6298   ;;
6299 sysv4)
6300   symcode='[DFNSTU]'
6301   ;;
6302 esac
6303
6304 # If we're using GNU nm, then use its standard symbol codes.
6305 case `$NM -V 2>&1` in
6306 *GNU* | *'with BFD'*)
6307   symcode='[ABCDGIRSTW]' ;;
6308 esac
6309
6310 # Transform an extracted symbol line into a proper C declaration.
6311 # Some systems (esp. on ia64) link data and code symbols differently,
6312 # so use this general approach.
6313 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6314
6315 # Transform an extracted symbol line into symbol name and symbol address
6316 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6317 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'"
6318
6319 # Handle CRLF in mingw tool chain
6320 opt_cr=
6321 case $build_os in
6322 mingw*)
6323   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6324   ;;
6325 esac
6326
6327 # Try without a prefix underscore, then with it.
6328 for ac_symprfx in "" "_"; do
6329
6330   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6331   symxfrm="\\1 $ac_symprfx\\2 \\2"
6332
6333   # Write the raw and C identifiers.
6334   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6335     # Fake it for dumpbin and say T for any non-static function
6336     # and D for any global variable.
6337     # Also find C++ and __fastcall symbols from MSVC++,
6338     # which start with @ or ?.
6339     lt_cv_sys_global_symbol_pipe="$AWK '"\
6340 "     {last_section=section; section=\$ 3};"\
6341 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6342 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6343 "     \$ 0!~/External *\|/{next};"\
6344 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6345 "     {if(hide[section]) next};"\
6346 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6347 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6348 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6349 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6350 "     ' prfx=^$ac_symprfx"
6351   else
6352     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6353   fi
6354   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6355
6356   # Check to see that the pipe works correctly.
6357   pipe_works=no
6358
6359   rm -f conftest*
6360   cat > conftest.$ac_ext <<_LT_EOF
6361 #ifdef __cplusplus
6362 extern "C" {
6363 #endif
6364 char nm_test_var;
6365 void nm_test_func(void);
6366 void nm_test_func(void){}
6367 #ifdef __cplusplus
6368 }
6369 #endif
6370 int main(){nm_test_var='a';nm_test_func();return(0);}
6371 _LT_EOF
6372
6373   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6374   (eval $ac_compile) 2>&5
6375   ac_status=$?
6376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6377   test $ac_status = 0; }; then
6378     # Now try to grab the symbols.
6379     nlist=conftest.nm
6380     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6381   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6382   ac_status=$?
6383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384   test $ac_status = 0; } && test -s "$nlist"; then
6385       # Try sorting and uniquifying the output.
6386       if sort "$nlist" | uniq > "$nlist"T; then
6387         mv -f "$nlist"T "$nlist"
6388       else
6389         rm -f "$nlist"T
6390       fi
6391
6392       # Make sure that we snagged all the symbols we need.
6393       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6394         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6395           cat <<_LT_EOF > conftest.$ac_ext
6396 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6397 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6398 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6399    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6400 # define LT_DLSYM_CONST
6401 #elif defined(__osf__)
6402 /* This system does not cope well with relocations in const data.  */
6403 # define LT_DLSYM_CONST
6404 #else
6405 # define LT_DLSYM_CONST const
6406 #endif
6407
6408 #ifdef __cplusplus
6409 extern "C" {
6410 #endif
6411
6412 _LT_EOF
6413           # Now generate the symbol file.
6414           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6415
6416           cat <<_LT_EOF >> conftest.$ac_ext
6417
6418 /* The mapping between symbol names and symbols.  */
6419 LT_DLSYM_CONST struct {
6420   const char *name;
6421   void       *address;
6422 }
6423 lt__PROGRAM__LTX_preloaded_symbols[] =
6424 {
6425   { "@PROGRAM@", (void *) 0 },
6426 _LT_EOF
6427           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6428           cat <<\_LT_EOF >> conftest.$ac_ext
6429   {0, (void *) 0}
6430 };
6431
6432 /* This works around a problem in FreeBSD linker */
6433 #ifdef FREEBSD_WORKAROUND
6434 static const void *lt_preloaded_setup() {
6435   return lt__PROGRAM__LTX_preloaded_symbols;
6436 }
6437 #endif
6438
6439 #ifdef __cplusplus
6440 }
6441 #endif
6442 _LT_EOF
6443           # Now try linking the two files.
6444           mv conftest.$ac_objext conftstm.$ac_objext
6445           lt_globsym_save_LIBS=$LIBS
6446           lt_globsym_save_CFLAGS=$CFLAGS
6447           LIBS="conftstm.$ac_objext"
6448           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6449           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6450   (eval $ac_link) 2>&5
6451   ac_status=$?
6452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6453   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6454             pipe_works=yes
6455           fi
6456           LIBS=$lt_globsym_save_LIBS
6457           CFLAGS=$lt_globsym_save_CFLAGS
6458         else
6459           echo "cannot find nm_test_func in $nlist" >&5
6460         fi
6461       else
6462         echo "cannot find nm_test_var in $nlist" >&5
6463       fi
6464     else
6465       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6466     fi
6467   else
6468     echo "$progname: failed program was:" >&5
6469     cat conftest.$ac_ext >&5
6470   fi
6471   rm -rf conftest* conftst*
6472
6473   # Do not use the global_symbol_pipe unless it works.
6474   if test "$pipe_works" = yes; then
6475     break
6476   else
6477     lt_cv_sys_global_symbol_pipe=
6478   fi
6479 done
6480
6481 fi
6482
6483 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6484   lt_cv_sys_global_symbol_to_cdecl=
6485 fi
6486 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6488 $as_echo "failed" >&6; }
6489 else
6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6491 $as_echo "ok" >&6; }
6492 fi
6493
6494 # Response file support.
6495 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6496   nm_file_list_spec='@'
6497 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6498   nm_file_list_spec='@'
6499 fi
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
6525
6526
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6528 $as_echo_n "checking for sysroot... " >&6; }
6529
6530 # Check whether --with-sysroot was given.
6531 if test "${with_sysroot+set}" = set; then :
6532   withval=$with_sysroot;
6533 else
6534   with_sysroot=no
6535 fi
6536
6537
6538 lt_sysroot=
6539 case ${with_sysroot} in #(
6540  yes)
6541    if test "$GCC" = yes; then
6542      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6543    fi
6544    ;; #(
6545  /*)
6546    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6547    ;; #(
6548  no|'')
6549    ;; #(
6550  *)
6551    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6552 $as_echo "${with_sysroot}" >&6; }
6553    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6554    ;;
6555 esac
6556
6557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6558 $as_echo "${lt_sysroot:-no}" >&6; }
6559
6560
6561
6562
6563
6564 # Check whether --enable-libtool-lock was given.
6565 if test "${enable_libtool_lock+set}" = set; then :
6566   enableval=$enable_libtool_lock;
6567 fi
6568
6569 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6570
6571 # Some flags need to be propagated to the compiler or linker for good
6572 # libtool support.
6573 case $host in
6574 ia64-*-hpux*)
6575   # Find out which ABI we are using.
6576   echo 'int i;' > conftest.$ac_ext
6577   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6578   (eval $ac_compile) 2>&5
6579   ac_status=$?
6580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6581   test $ac_status = 0; }; then
6582     case `/usr/bin/file conftest.$ac_objext` in
6583       *ELF-32*)
6584         HPUX_IA64_MODE="32"
6585         ;;
6586       *ELF-64*)
6587         HPUX_IA64_MODE="64"
6588         ;;
6589     esac
6590   fi
6591   rm -rf conftest*
6592   ;;
6593 *-*-irix6*)
6594   # Find out which ABI we are using.
6595   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6596   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6597   (eval $ac_compile) 2>&5
6598   ac_status=$?
6599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6600   test $ac_status = 0; }; then
6601     if test "$lt_cv_prog_gnu_ld" = yes; then
6602       case `/usr/bin/file conftest.$ac_objext` in
6603         *32-bit*)
6604           LD="${LD-ld} -melf32bsmip"
6605           ;;
6606         *N32*)
6607           LD="${LD-ld} -melf32bmipn32"
6608           ;;
6609         *64-bit*)
6610           LD="${LD-ld} -melf64bmip"
6611         ;;
6612       esac
6613     else
6614       case `/usr/bin/file conftest.$ac_objext` in
6615         *32-bit*)
6616           LD="${LD-ld} -32"
6617           ;;
6618         *N32*)
6619           LD="${LD-ld} -n32"
6620           ;;
6621         *64-bit*)
6622           LD="${LD-ld} -64"
6623           ;;
6624       esac
6625     fi
6626   fi
6627   rm -rf conftest*
6628   ;;
6629
6630 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6631 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6632   # Find out which ABI we are using.
6633   echo 'int i;' > conftest.$ac_ext
6634   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6635   (eval $ac_compile) 2>&5
6636   ac_status=$?
6637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6638   test $ac_status = 0; }; then
6639     case `/usr/bin/file conftest.o` in
6640       *32-bit*)
6641         case $host in
6642           x86_64-*kfreebsd*-gnu)
6643             LD="${LD-ld} -m elf_i386_fbsd"
6644             ;;
6645           x86_64-*linux*)
6646             LD="${LD-ld} -m elf_i386"
6647             ;;
6648           ppc64-*linux*|powerpc64-*linux*)
6649             LD="${LD-ld} -m elf32ppclinux"
6650             ;;
6651           s390x-*linux*)
6652             LD="${LD-ld} -m elf_s390"
6653             ;;
6654           sparc64-*linux*)
6655             LD="${LD-ld} -m elf32_sparc"
6656             ;;
6657         esac
6658         ;;
6659       *64-bit*)
6660         case $host in
6661           x86_64-*kfreebsd*-gnu)
6662             LD="${LD-ld} -m elf_x86_64_fbsd"
6663             ;;
6664           x86_64-*linux*)
6665             LD="${LD-ld} -m elf_x86_64"
6666             ;;
6667           ppc*-*linux*|powerpc*-*linux*)
6668             LD="${LD-ld} -m elf64ppc"
6669             ;;
6670           s390*-*linux*|s390*-*tpf*)
6671             LD="${LD-ld} -m elf64_s390"
6672             ;;
6673           sparc*-*linux*)
6674             LD="${LD-ld} -m elf64_sparc"
6675             ;;
6676         esac
6677         ;;
6678     esac
6679   fi
6680   rm -rf conftest*
6681   ;;
6682
6683 *-*-sco3.2v5*)
6684   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6685   SAVE_CFLAGS="$CFLAGS"
6686   CFLAGS="$CFLAGS -belf"
6687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6688 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6689 if ${lt_cv_cc_needs_belf+:} false; then :
6690   $as_echo_n "(cached) " >&6
6691 else
6692   ac_ext=c
6693 ac_cpp='$CPP $CPPFLAGS'
6694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6697
6698      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h.  */
6700
6701 int
6702 main ()
6703 {
6704
6705   ;
6706   return 0;
6707 }
6708 _ACEOF
6709 if ac_fn_c_try_link "$LINENO"; then :
6710   lt_cv_cc_needs_belf=yes
6711 else
6712   lt_cv_cc_needs_belf=no
6713 fi
6714 rm -f core conftest.err conftest.$ac_objext \
6715     conftest$ac_exeext conftest.$ac_ext
6716      ac_ext=c
6717 ac_cpp='$CPP $CPPFLAGS'
6718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6721
6722 fi
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6724 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6725   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6726     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6727     CFLAGS="$SAVE_CFLAGS"
6728   fi
6729   ;;
6730 *-*solaris*)
6731   # Find out which ABI we are using.
6732   echo 'int i;' > conftest.$ac_ext
6733   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6734   (eval $ac_compile) 2>&5
6735   ac_status=$?
6736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6737   test $ac_status = 0; }; then
6738     case `/usr/bin/file conftest.o` in
6739     *64-bit*)
6740       case $lt_cv_prog_gnu_ld in
6741       yes*)
6742         case $host in
6743         i?86-*-solaris*)
6744           LD="${LD-ld} -m elf_x86_64"
6745           ;;
6746         sparc*-*-solaris*)
6747           LD="${LD-ld} -m elf64_sparc"
6748           ;;
6749         esac
6750         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6751         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6752           LD="${LD-ld}_sol2"
6753         fi
6754         ;;
6755       *)
6756         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6757           LD="${LD-ld} -64"
6758         fi
6759         ;;
6760       esac
6761       ;;
6762     esac
6763   fi
6764   rm -rf conftest*
6765   ;;
6766 esac
6767
6768 need_locks="$enable_libtool_lock"
6769
6770 if test -n "$ac_tool_prefix"; then
6771   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6772 set dummy ${ac_tool_prefix}mt; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6776   $as_echo_n "(cached) " >&6
6777 else
6778   if test -n "$MANIFEST_TOOL"; then
6779   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6780 else
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 for as_dir in $PATH
6783 do
6784   IFS=$as_save_IFS
6785   test -z "$as_dir" && as_dir=.
6786     for ac_exec_ext in '' $ac_executable_extensions; do
6787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790     break 2
6791   fi
6792 done
6793   done
6794 IFS=$as_save_IFS
6795
6796 fi
6797 fi
6798 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6799 if test -n "$MANIFEST_TOOL"; then
6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6801 $as_echo "$MANIFEST_TOOL" >&6; }
6802 else
6803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6805 fi
6806
6807
6808 fi
6809 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6810   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6811   # Extract the first word of "mt", so it can be a program name with args.
6812 set dummy mt; ac_word=$2
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 $as_echo_n "checking for $ac_word... " >&6; }
6815 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6816   $as_echo_n "(cached) " >&6
6817 else
6818   if test -n "$ac_ct_MANIFEST_TOOL"; then
6819   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6820 else
6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 for as_dir in $PATH
6823 do
6824   IFS=$as_save_IFS
6825   test -z "$as_dir" && as_dir=.
6826     for ac_exec_ext in '' $ac_executable_extensions; do
6827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6828     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6830     break 2
6831   fi
6832 done
6833   done
6834 IFS=$as_save_IFS
6835
6836 fi
6837 fi
6838 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6839 if test -n "$ac_ct_MANIFEST_TOOL"; then
6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6841 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6842 else
6843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 $as_echo "no" >&6; }
6845 fi
6846
6847   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6848     MANIFEST_TOOL=":"
6849   else
6850     case $cross_compiling:$ac_tool_warned in
6851 yes:)
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6854 ac_tool_warned=yes ;;
6855 esac
6856     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6857   fi
6858 else
6859   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6860 fi
6861
6862 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6864 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6865 if ${lt_cv_path_mainfest_tool+:} false; then :
6866   $as_echo_n "(cached) " >&6
6867 else
6868   lt_cv_path_mainfest_tool=no
6869   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6870   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6871   cat conftest.err >&5
6872   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6873     lt_cv_path_mainfest_tool=yes
6874   fi
6875   rm -f conftest*
6876 fi
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6878 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6879 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6880   MANIFEST_TOOL=:
6881 fi
6882
6883
6884
6885
6886
6887
6888   case $host_os in
6889     rhapsody* | darwin*)
6890     if test -n "$ac_tool_prefix"; then
6891   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6892 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6896   $as_echo_n "(cached) " >&6
6897 else
6898   if test -n "$DSYMUTIL"; then
6899   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6900 else
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 for as_dir in $PATH
6903 do
6904   IFS=$as_save_IFS
6905   test -z "$as_dir" && as_dir=.
6906     for ac_exec_ext in '' $ac_executable_extensions; do
6907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6910     break 2
6911   fi
6912 done
6913   done
6914 IFS=$as_save_IFS
6915
6916 fi
6917 fi
6918 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6919 if test -n "$DSYMUTIL"; then
6920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6921 $as_echo "$DSYMUTIL" >&6; }
6922 else
6923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6925 fi
6926
6927
6928 fi
6929 if test -z "$ac_cv_prog_DSYMUTIL"; then
6930   ac_ct_DSYMUTIL=$DSYMUTIL
6931   # Extract the first word of "dsymutil", so it can be a program name with args.
6932 set dummy dsymutil; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6936   $as_echo_n "(cached) " >&6
6937 else
6938   if test -n "$ac_ct_DSYMUTIL"; then
6939   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6940 else
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 for as_dir in $PATH
6943 do
6944   IFS=$as_save_IFS
6945   test -z "$as_dir" && as_dir=.
6946     for ac_exec_ext in '' $ac_executable_extensions; do
6947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950     break 2
6951   fi
6952 done
6953   done
6954 IFS=$as_save_IFS
6955
6956 fi
6957 fi
6958 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6959 if test -n "$ac_ct_DSYMUTIL"; then
6960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6961 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6962 else
6963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6965 fi
6966
6967   if test "x$ac_ct_DSYMUTIL" = x; then
6968     DSYMUTIL=":"
6969   else
6970     case $cross_compiling:$ac_tool_warned in
6971 yes:)
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned=yes ;;
6975 esac
6976     DSYMUTIL=$ac_ct_DSYMUTIL
6977   fi
6978 else
6979   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6980 fi
6981
6982     if test -n "$ac_tool_prefix"; then
6983   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6984 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_NMEDIT+:} false; then :
6988   $as_echo_n "(cached) " >&6
6989 else
6990   if test -n "$NMEDIT"; then
6991   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6992 else
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994 for as_dir in $PATH
6995 do
6996   IFS=$as_save_IFS
6997   test -z "$as_dir" && as_dir=.
6998     for ac_exec_ext in '' $ac_executable_extensions; do
6999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002     break 2
7003   fi
7004 done
7005   done
7006 IFS=$as_save_IFS
7007
7008 fi
7009 fi
7010 NMEDIT=$ac_cv_prog_NMEDIT
7011 if test -n "$NMEDIT"; then
7012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7013 $as_echo "$NMEDIT" >&6; }
7014 else
7015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7017 fi
7018
7019
7020 fi
7021 if test -z "$ac_cv_prog_NMEDIT"; then
7022   ac_ct_NMEDIT=$NMEDIT
7023   # Extract the first word of "nmedit", so it can be a program name with args.
7024 set dummy nmedit; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7028   $as_echo_n "(cached) " >&6
7029 else
7030   if test -n "$ac_ct_NMEDIT"; then
7031   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7032 else
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 for as_dir in $PATH
7035 do
7036   IFS=$as_save_IFS
7037   test -z "$as_dir" && as_dir=.
7038     for ac_exec_ext in '' $ac_executable_extensions; do
7039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042     break 2
7043   fi
7044 done
7045   done
7046 IFS=$as_save_IFS
7047
7048 fi
7049 fi
7050 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7051 if test -n "$ac_ct_NMEDIT"; then
7052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7053 $as_echo "$ac_ct_NMEDIT" >&6; }
7054 else
7055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7057 fi
7058
7059   if test "x$ac_ct_NMEDIT" = x; then
7060     NMEDIT=":"
7061   else
7062     case $cross_compiling:$ac_tool_warned in
7063 yes:)
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned=yes ;;
7067 esac
7068     NMEDIT=$ac_ct_NMEDIT
7069   fi
7070 else
7071   NMEDIT="$ac_cv_prog_NMEDIT"
7072 fi
7073
7074     if test -n "$ac_tool_prefix"; then
7075   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7076 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_LIPO+:} false; then :
7080   $as_echo_n "(cached) " >&6
7081 else
7082   if test -n "$LIPO"; then
7083   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7084 else
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 for as_dir in $PATH
7087 do
7088   IFS=$as_save_IFS
7089   test -z "$as_dir" && as_dir=.
7090     for ac_exec_ext in '' $ac_executable_extensions; do
7091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7092     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094     break 2
7095   fi
7096 done
7097   done
7098 IFS=$as_save_IFS
7099
7100 fi
7101 fi
7102 LIPO=$ac_cv_prog_LIPO
7103 if test -n "$LIPO"; then
7104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7105 $as_echo "$LIPO" >&6; }
7106 else
7107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7109 fi
7110
7111
7112 fi
7113 if test -z "$ac_cv_prog_LIPO"; then
7114   ac_ct_LIPO=$LIPO
7115   # Extract the first word of "lipo", so it can be a program name with args.
7116 set dummy lipo; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7120   $as_echo_n "(cached) " >&6
7121 else
7122   if test -n "$ac_ct_LIPO"; then
7123   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7124 else
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 for as_dir in $PATH
7127 do
7128   IFS=$as_save_IFS
7129   test -z "$as_dir" && as_dir=.
7130     for ac_exec_ext in '' $ac_executable_extensions; do
7131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7132     ac_cv_prog_ac_ct_LIPO="lipo"
7133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134     break 2
7135   fi
7136 done
7137   done
7138 IFS=$as_save_IFS
7139
7140 fi
7141 fi
7142 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7143 if test -n "$ac_ct_LIPO"; then
7144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7145 $as_echo "$ac_ct_LIPO" >&6; }
7146 else
7147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7149 fi
7150
7151   if test "x$ac_ct_LIPO" = x; then
7152     LIPO=":"
7153   else
7154     case $cross_compiling:$ac_tool_warned in
7155 yes:)
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 ac_tool_warned=yes ;;
7159 esac
7160     LIPO=$ac_ct_LIPO
7161   fi
7162 else
7163   LIPO="$ac_cv_prog_LIPO"
7164 fi
7165
7166     if test -n "$ac_tool_prefix"; then
7167   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7168 set dummy ${ac_tool_prefix}otool; ac_word=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if ${ac_cv_prog_OTOOL+:} false; then :
7172   $as_echo_n "(cached) " >&6
7173 else
7174   if test -n "$OTOOL"; then
7175   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7176 else
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 for as_dir in $PATH
7179 do
7180   IFS=$as_save_IFS
7181   test -z "$as_dir" && as_dir=.
7182     for ac_exec_ext in '' $ac_executable_extensions; do
7183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7186     break 2
7187   fi
7188 done
7189   done
7190 IFS=$as_save_IFS
7191
7192 fi
7193 fi
7194 OTOOL=$ac_cv_prog_OTOOL
7195 if test -n "$OTOOL"; then
7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7197 $as_echo "$OTOOL" >&6; }
7198 else
7199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7201 fi
7202
7203
7204 fi
7205 if test -z "$ac_cv_prog_OTOOL"; then
7206   ac_ct_OTOOL=$OTOOL
7207   # Extract the first word of "otool", so it can be a program name with args.
7208 set dummy otool; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7212   $as_echo_n "(cached) " >&6
7213 else
7214   if test -n "$ac_ct_OTOOL"; then
7215   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7216 else
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 for as_dir in $PATH
7219 do
7220   IFS=$as_save_IFS
7221   test -z "$as_dir" && as_dir=.
7222     for ac_exec_ext in '' $ac_executable_extensions; do
7223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224     ac_cv_prog_ac_ct_OTOOL="otool"
7225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7226     break 2
7227   fi
7228 done
7229   done
7230 IFS=$as_save_IFS
7231
7232 fi
7233 fi
7234 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7235 if test -n "$ac_ct_OTOOL"; then
7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7237 $as_echo "$ac_ct_OTOOL" >&6; }
7238 else
7239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7241 fi
7242
7243   if test "x$ac_ct_OTOOL" = x; then
7244     OTOOL=":"
7245   else
7246     case $cross_compiling:$ac_tool_warned in
7247 yes:)
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7250 ac_tool_warned=yes ;;
7251 esac
7252     OTOOL=$ac_ct_OTOOL
7253   fi
7254 else
7255   OTOOL="$ac_cv_prog_OTOOL"
7256 fi
7257
7258     if test -n "$ac_tool_prefix"; then
7259   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7260 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 $as_echo_n "checking for $ac_word... " >&6; }
7263 if ${ac_cv_prog_OTOOL64+:} false; then :
7264   $as_echo_n "(cached) " >&6
7265 else
7266   if test -n "$OTOOL64"; then
7267   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7268 else
7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270 for as_dir in $PATH
7271 do
7272   IFS=$as_save_IFS
7273   test -z "$as_dir" && as_dir=.
7274     for ac_exec_ext in '' $ac_executable_extensions; do
7275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7276     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7278     break 2
7279   fi
7280 done
7281   done
7282 IFS=$as_save_IFS
7283
7284 fi
7285 fi
7286 OTOOL64=$ac_cv_prog_OTOOL64
7287 if test -n "$OTOOL64"; then
7288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7289 $as_echo "$OTOOL64" >&6; }
7290 else
7291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7293 fi
7294
7295
7296 fi
7297 if test -z "$ac_cv_prog_OTOOL64"; then
7298   ac_ct_OTOOL64=$OTOOL64
7299   # Extract the first word of "otool64", so it can be a program name with args.
7300 set dummy otool64; ac_word=$2
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7302 $as_echo_n "checking for $ac_word... " >&6; }
7303 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7304   $as_echo_n "(cached) " >&6
7305 else
7306   if test -n "$ac_ct_OTOOL64"; then
7307   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7308 else
7309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 for as_dir in $PATH
7311 do
7312   IFS=$as_save_IFS
7313   test -z "$as_dir" && as_dir=.
7314     for ac_exec_ext in '' $ac_executable_extensions; do
7315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7316     ac_cv_prog_ac_ct_OTOOL64="otool64"
7317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7318     break 2
7319   fi
7320 done
7321   done
7322 IFS=$as_save_IFS
7323
7324 fi
7325 fi
7326 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7327 if test -n "$ac_ct_OTOOL64"; then
7328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7329 $as_echo "$ac_ct_OTOOL64" >&6; }
7330 else
7331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332 $as_echo "no" >&6; }
7333 fi
7334
7335   if test "x$ac_ct_OTOOL64" = x; then
7336     OTOOL64=":"
7337   else
7338     case $cross_compiling:$ac_tool_warned in
7339 yes:)
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7342 ac_tool_warned=yes ;;
7343 esac
7344     OTOOL64=$ac_ct_OTOOL64
7345   fi
7346 else
7347   OTOOL64="$ac_cv_prog_OTOOL64"
7348 fi
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
7374
7375
7376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7377 $as_echo_n "checking for -single_module linker flag... " >&6; }
7378 if ${lt_cv_apple_cc_single_mod+:} false; then :
7379   $as_echo_n "(cached) " >&6
7380 else
7381   lt_cv_apple_cc_single_mod=no
7382       if test -z "${LT_MULTI_MODULE}"; then
7383         # By default we will add the -single_module flag. You can override
7384         # by either setting the environment variable LT_MULTI_MODULE
7385         # non-empty at configure time, or by adding -multi_module to the
7386         # link flags.
7387         rm -rf libconftest.dylib*
7388         echo "int foo(void){return 1;}" > conftest.c
7389         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7390 -dynamiclib -Wl,-single_module conftest.c" >&5
7391         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7392           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7393         _lt_result=$?
7394         # If there is a non-empty error log, and "single_module"
7395         # appears in it, assume the flag caused a linker warning
7396         if test -s conftest.err && $GREP single_module conftest.err; then
7397           cat conftest.err >&5
7398         # Otherwise, if the output was created with a 0 exit code from
7399         # the compiler, it worked.
7400         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7401           lt_cv_apple_cc_single_mod=yes
7402         else
7403           cat conftest.err >&5
7404         fi
7405         rm -rf libconftest.dylib*
7406         rm -f conftest.*
7407       fi
7408 fi
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7410 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7411
7412     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7413 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7414 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7415   $as_echo_n "(cached) " >&6
7416 else
7417   lt_cv_ld_exported_symbols_list=no
7418       save_LDFLAGS=$LDFLAGS
7419       echo "_main" > conftest.sym
7420       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7422 /* end confdefs.h.  */
7423
7424 int
7425 main ()
7426 {
7427
7428   ;
7429   return 0;
7430 }
7431 _ACEOF
7432 if ac_fn_c_try_link "$LINENO"; then :
7433   lt_cv_ld_exported_symbols_list=yes
7434 else
7435   lt_cv_ld_exported_symbols_list=no
7436 fi
7437 rm -f core conftest.err conftest.$ac_objext \
7438     conftest$ac_exeext conftest.$ac_ext
7439         LDFLAGS="$save_LDFLAGS"
7440
7441 fi
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7443 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7444
7445     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7446 $as_echo_n "checking for -force_load linker flag... " >&6; }
7447 if ${lt_cv_ld_force_load+:} false; then :
7448   $as_echo_n "(cached) " >&6
7449 else
7450   lt_cv_ld_force_load=no
7451       cat > conftest.c << _LT_EOF
7452 int forced_loaded() { return 2;}
7453 _LT_EOF
7454       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7455       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7456       echo "$AR cru libconftest.a conftest.o" >&5
7457       $AR cru libconftest.a conftest.o 2>&5
7458       echo "$RANLIB libconftest.a" >&5
7459       $RANLIB libconftest.a 2>&5
7460       cat > conftest.c << _LT_EOF
7461 int main() { return 0;}
7462 _LT_EOF
7463       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7464       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7465       _lt_result=$?
7466       if test -s conftest.err && $GREP force_load conftest.err; then
7467         cat conftest.err >&5
7468       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7469         lt_cv_ld_force_load=yes
7470       else
7471         cat conftest.err >&5
7472       fi
7473         rm -f conftest.err libconftest.a conftest conftest.c
7474         rm -rf conftest.dSYM
7475
7476 fi
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7478 $as_echo "$lt_cv_ld_force_load" >&6; }
7479     case $host_os in
7480     rhapsody* | darwin1.[012])
7481       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7482     darwin1.*)
7483       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7484     darwin*) # darwin 5.x on
7485       # if running on 10.5 or later, the deployment target defaults
7486       # to the OS version, if on x86, and 10.4, the deployment
7487       # target defaults to 10.4. Don't you love it?
7488       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7489         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7490           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7491         10.[012]*)
7492           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7493         10.*)
7494           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7495       esac
7496     ;;
7497   esac
7498     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7499       _lt_dar_single_mod='$single_module'
7500     fi
7501     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7502       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7503     else
7504       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7505     fi
7506     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7507       _lt_dsymutil='~$DSYMUTIL $lib || :'
7508     else
7509       _lt_dsymutil=
7510     fi
7511     ;;
7512   esac
7513
7514 ac_ext=c
7515 ac_cpp='$CPP $CPPFLAGS'
7516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7520 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7521 # On Suns, sometimes $CPP names a directory.
7522 if test -n "$CPP" && test -d "$CPP"; then
7523   CPP=
7524 fi
7525 if test -z "$CPP"; then
7526   if ${ac_cv_prog_CPP+:} false; then :
7527   $as_echo_n "(cached) " >&6
7528 else
7529       # Double quotes because CPP needs to be expanded
7530     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7531     do
7532       ac_preproc_ok=false
7533 for ac_c_preproc_warn_flag in '' yes
7534 do
7535   # Use a header file that comes with gcc, so configuring glibc
7536   # with a fresh cross-compiler works.
7537   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7538   # <limits.h> exists even on freestanding compilers.
7539   # On the NeXT, cc -E runs the code through the compiler's parser,
7540   # not just through cpp. "Syntax error" is here to catch this case.
7541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h.  */
7543 #ifdef __STDC__
7544 # include <limits.h>
7545 #else
7546 # include <assert.h>
7547 #endif
7548                      Syntax error
7549 _ACEOF
7550 if ac_fn_c_try_cpp "$LINENO"; then :
7551
7552 else
7553   # Broken: fails on valid input.
7554 continue
7555 fi
7556 rm -f conftest.err conftest.i conftest.$ac_ext
7557
7558   # OK, works on sane cases.  Now check whether nonexistent headers
7559   # can be detected and how.
7560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h.  */
7562 #include <ac_nonexistent.h>
7563 _ACEOF
7564 if ac_fn_c_try_cpp "$LINENO"; then :
7565   # Broken: success on invalid input.
7566 continue
7567 else
7568   # Passes both tests.
7569 ac_preproc_ok=:
7570 break
7571 fi
7572 rm -f conftest.err conftest.i conftest.$ac_ext
7573
7574 done
7575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7576 rm -f conftest.i conftest.err conftest.$ac_ext
7577 if $ac_preproc_ok; then :
7578   break
7579 fi
7580
7581     done
7582     ac_cv_prog_CPP=$CPP
7583
7584 fi
7585   CPP=$ac_cv_prog_CPP
7586 else
7587   ac_cv_prog_CPP=$CPP
7588 fi
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7590 $as_echo "$CPP" >&6; }
7591 ac_preproc_ok=false
7592 for ac_c_preproc_warn_flag in '' yes
7593 do
7594   # Use a header file that comes with gcc, so configuring glibc
7595   # with a fresh cross-compiler works.
7596   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7597   # <limits.h> exists even on freestanding compilers.
7598   # On the NeXT, cc -E runs the code through the compiler's parser,
7599   # not just through cpp. "Syntax error" is here to catch this case.
7600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h.  */
7602 #ifdef __STDC__
7603 # include <limits.h>
7604 #else
7605 # include <assert.h>
7606 #endif
7607                      Syntax error
7608 _ACEOF
7609 if ac_fn_c_try_cpp "$LINENO"; then :
7610
7611 else
7612   # Broken: fails on valid input.
7613 continue
7614 fi
7615 rm -f conftest.err conftest.i conftest.$ac_ext
7616
7617   # OK, works on sane cases.  Now check whether nonexistent headers
7618   # can be detected and how.
7619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620 /* end confdefs.h.  */
7621 #include <ac_nonexistent.h>
7622 _ACEOF
7623 if ac_fn_c_try_cpp "$LINENO"; then :
7624   # Broken: success on invalid input.
7625 continue
7626 else
7627   # Passes both tests.
7628 ac_preproc_ok=:
7629 break
7630 fi
7631 rm -f conftest.err conftest.i conftest.$ac_ext
7632
7633 done
7634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7635 rm -f conftest.i conftest.err conftest.$ac_ext
7636 if $ac_preproc_ok; then :
7637
7638 else
7639   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7641 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7642 See \`config.log' for more details" "$LINENO" 5; }
7643 fi
7644
7645 ac_ext=c
7646 ac_cpp='$CPP $CPPFLAGS'
7647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7650
7651
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7653 $as_echo_n "checking for ANSI C header files... " >&6; }
7654 if ${ac_cv_header_stdc+:} false; then :
7655   $as_echo_n "(cached) " >&6
7656 else
7657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h.  */
7659 #include <stdlib.h>
7660 #include <stdarg.h>
7661 #include <string.h>
7662 #include <float.h>
7663
7664 int
7665 main ()
7666 {
7667
7668   ;
7669   return 0;
7670 }
7671 _ACEOF
7672 if ac_fn_c_try_compile "$LINENO"; then :
7673   ac_cv_header_stdc=yes
7674 else
7675   ac_cv_header_stdc=no
7676 fi
7677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7678
7679 if test $ac_cv_header_stdc = yes; then
7680   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h.  */
7683 #include <string.h>
7684
7685 _ACEOF
7686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7687   $EGREP "memchr" >/dev/null 2>&1; then :
7688
7689 else
7690   ac_cv_header_stdc=no
7691 fi
7692 rm -f conftest*
7693
7694 fi
7695
7696 if test $ac_cv_header_stdc = yes; then
7697   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h.  */
7700 #include <stdlib.h>
7701
7702 _ACEOF
7703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7704   $EGREP "free" >/dev/null 2>&1; then :
7705
7706 else
7707   ac_cv_header_stdc=no
7708 fi
7709 rm -f conftest*
7710
7711 fi
7712
7713 if test $ac_cv_header_stdc = yes; then
7714   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7715   if test "$cross_compiling" = yes; then :
7716   :
7717 else
7718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h.  */
7720 #include <ctype.h>
7721 #include <stdlib.h>
7722 #if ((' ' & 0x0FF) == 0x020)
7723 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7724 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7725 #else
7726 # define ISLOWER(c) \
7727                    (('a' <= (c) && (c) <= 'i') \
7728                      || ('j' <= (c) && (c) <= 'r') \
7729                      || ('s' <= (c) && (c) <= 'z'))
7730 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7731 #endif
7732
7733 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7734 int
7735 main ()
7736 {
7737   int i;
7738   for (i = 0; i < 256; i++)
7739     if (XOR (islower (i), ISLOWER (i))
7740         || toupper (i) != TOUPPER (i))
7741       return 2;
7742   return 0;
7743 }
7744 _ACEOF
7745 if ac_fn_c_try_run "$LINENO"; then :
7746
7747 else
7748   ac_cv_header_stdc=no
7749 fi
7750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7751   conftest.$ac_objext conftest.beam conftest.$ac_ext
7752 fi
7753
7754 fi
7755 fi
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7757 $as_echo "$ac_cv_header_stdc" >&6; }
7758 if test $ac_cv_header_stdc = yes; then
7759
7760 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7761
7762 fi
7763
7764 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7765 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7766                   inttypes.h stdint.h unistd.h
7767 do :
7768   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7769 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7770 "
7771 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7772   cat >>confdefs.h <<_ACEOF
7773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7774 _ACEOF
7775
7776 fi
7777
7778 done
7779
7780
7781 for ac_header in dlfcn.h
7782 do :
7783   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7784 "
7785 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7786   cat >>confdefs.h <<_ACEOF
7787 #define HAVE_DLFCN_H 1
7788 _ACEOF
7789
7790 fi
7791
7792 done
7793
7794
7795
7796
7797
7798 # Set options
7799
7800
7801
7802         enable_dlopen=no
7803
7804
7805
7806             # Check whether --enable-shared was given.
7807 if test "${enable_shared+set}" = set; then :
7808   enableval=$enable_shared; p=${PACKAGE-default}
7809     case $enableval in
7810     yes) enable_shared=yes ;;
7811     no) enable_shared=no ;;
7812     *)
7813       enable_shared=no
7814       # Look at the argument we got.  We use all the common list separators.
7815       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7816       for pkg in $enableval; do
7817         IFS="$lt_save_ifs"
7818         if test "X$pkg" = "X$p"; then
7819           enable_shared=yes
7820         fi
7821       done
7822       IFS="$lt_save_ifs"
7823       ;;
7824     esac
7825 else
7826   enable_shared=yes
7827 fi
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837   # Check whether --enable-static was given.
7838 if test "${enable_static+set}" = set; then :
7839   enableval=$enable_static; p=${PACKAGE-default}
7840     case $enableval in
7841     yes) enable_static=yes ;;
7842     no) enable_static=no ;;
7843     *)
7844      enable_static=no
7845       # Look at the argument we got.  We use all the common list separators.
7846       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7847       for pkg in $enableval; do
7848         IFS="$lt_save_ifs"
7849         if test "X$pkg" = "X$p"; then
7850           enable_static=yes
7851         fi
7852       done
7853       IFS="$lt_save_ifs"
7854       ;;
7855     esac
7856 else
7857   enable_static=yes
7858 fi
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869 # Check whether --with-pic was given.
7870 if test "${with_pic+set}" = set; then :
7871   withval=$with_pic; lt_p=${PACKAGE-default}
7872     case $withval in
7873     yes|no) pic_mode=$withval ;;
7874     *)
7875       pic_mode=default
7876       # Look at the argument we got.  We use all the common list separators.
7877       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7878       for lt_pkg in $withval; do
7879         IFS="$lt_save_ifs"
7880         if test "X$lt_pkg" = "X$lt_p"; then
7881           pic_mode=yes
7882         fi
7883       done
7884       IFS="$lt_save_ifs"
7885       ;;
7886     esac
7887 else
7888   pic_mode=default
7889 fi
7890
7891
7892 test -z "$pic_mode" && pic_mode=default
7893
7894
7895
7896
7897
7898
7899
7900   # Check whether --enable-fast-install was given.
7901 if test "${enable_fast_install+set}" = set; then :
7902   enableval=$enable_fast_install; p=${PACKAGE-default}
7903     case $enableval in
7904     yes) enable_fast_install=yes ;;
7905     no) enable_fast_install=no ;;
7906     *)
7907       enable_fast_install=no
7908       # Look at the argument we got.  We use all the common list separators.
7909       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7910       for pkg in $enableval; do
7911         IFS="$lt_save_ifs"
7912         if test "X$pkg" = "X$p"; then
7913           enable_fast_install=yes
7914         fi
7915       done
7916       IFS="$lt_save_ifs"
7917       ;;
7918     esac
7919 else
7920   enable_fast_install=yes
7921 fi
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933 # This can be used to rebuild libtool when needed
7934 LIBTOOL_DEPS="$ltmain"
7935
7936 # Always use our own libtool.
7937 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
7966
7967
7968 test -z "$LN_S" && LN_S="ln -s"
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983 if test -n "${ZSH_VERSION+set}" ; then
7984    setopt NO_GLOB_SUBST
7985 fi
7986
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7988 $as_echo_n "checking for objdir... " >&6; }
7989 if ${lt_cv_objdir+:} false; then :
7990   $as_echo_n "(cached) " >&6
7991 else
7992   rm -f .libs 2>/dev/null
7993 mkdir .libs 2>/dev/null
7994 if test -d .libs; then
7995   lt_cv_objdir=.libs
7996 else
7997   # MS-DOS does not allow filenames that begin with a dot.
7998   lt_cv_objdir=_libs
7999 fi
8000 rmdir .libs 2>/dev/null
8001 fi
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8003 $as_echo "$lt_cv_objdir" >&6; }
8004 objdir=$lt_cv_objdir
8005
8006
8007
8008
8009
8010 cat >>confdefs.h <<_ACEOF
8011 #define LT_OBJDIR "$lt_cv_objdir/"
8012 _ACEOF
8013
8014
8015
8016
8017 case $host_os in
8018 aix3*)
8019   # AIX sometimes has problems with the GCC collect2 program.  For some
8020   # reason, if we set the COLLECT_NAMES environment variable, the problems
8021   # vanish in a puff of smoke.
8022   if test "X${COLLECT_NAMES+set}" != Xset; then
8023     COLLECT_NAMES=
8024     export COLLECT_NAMES
8025   fi
8026   ;;
8027 esac
8028
8029 # Global variables:
8030 ofile=libtool
8031 can_build_shared=yes
8032
8033 # All known linkers require a `.a' archive for static linking (except MSVC,
8034 # which needs '.lib').
8035 libext=a
8036
8037 with_gnu_ld="$lt_cv_prog_gnu_ld"
8038
8039 old_CC="$CC"
8040 old_CFLAGS="$CFLAGS"
8041
8042 # Set sane defaults for various variables
8043 test -z "$CC" && CC=cc
8044 test -z "$LTCC" && LTCC=$CC
8045 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8046 test -z "$LD" && LD=ld
8047 test -z "$ac_objext" && ac_objext=o
8048
8049 for cc_temp in $compiler""; do
8050   case $cc_temp in
8051     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8052     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8053     \-*) ;;
8054     *) break;;
8055   esac
8056 done
8057 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8058
8059
8060 # Only perform the check for file, if the check method requires it
8061 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8062 case $deplibs_check_method in
8063 file_magic*)
8064   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8065     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8066 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8067 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8068   $as_echo_n "(cached) " >&6
8069 else
8070   case $MAGIC_CMD in
8071 [\\/*] |  ?:[\\/]*)
8072   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8073   ;;
8074 *)
8075   lt_save_MAGIC_CMD="$MAGIC_CMD"
8076   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8077   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8078   for ac_dir in $ac_dummy; do
8079     IFS="$lt_save_ifs"
8080     test -z "$ac_dir" && ac_dir=.
8081     if test -f $ac_dir/${ac_tool_prefix}file; then
8082       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8083       if test -n "$file_magic_test_file"; then
8084         case $deplibs_check_method in
8085         "file_magic "*)
8086           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8087           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8088           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8089             $EGREP "$file_magic_regex" > /dev/null; then
8090             :
8091           else
8092             cat <<_LT_EOF 1>&2
8093
8094 *** Warning: the command libtool uses to detect shared libraries,
8095 *** $file_magic_cmd, produces output that libtool cannot recognize.
8096 *** The result is that libtool may fail to recognize shared libraries
8097 *** as such.  This will affect the creation of libtool libraries that
8098 *** depend on shared libraries, but programs linked with such libtool
8099 *** libraries will work regardless of this problem.  Nevertheless, you
8100 *** may want to report the problem to your system manager and/or to
8101 *** bug-libtool@gnu.org
8102
8103 _LT_EOF
8104           fi ;;
8105         esac
8106       fi
8107       break
8108     fi
8109   done
8110   IFS="$lt_save_ifs"
8111   MAGIC_CMD="$lt_save_MAGIC_CMD"
8112   ;;
8113 esac
8114 fi
8115
8116 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8117 if test -n "$MAGIC_CMD"; then
8118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8119 $as_echo "$MAGIC_CMD" >&6; }
8120 else
8121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8123 fi
8124
8125
8126
8127
8128
8129 if test -z "$lt_cv_path_MAGIC_CMD"; then
8130   if test -n "$ac_tool_prefix"; then
8131     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8132 $as_echo_n "checking for file... " >&6; }
8133 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8134   $as_echo_n "(cached) " >&6
8135 else
8136   case $MAGIC_CMD in
8137 [\\/*] |  ?:[\\/]*)
8138   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8139   ;;
8140 *)
8141   lt_save_MAGIC_CMD="$MAGIC_CMD"
8142   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8143   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8144   for ac_dir in $ac_dummy; do
8145     IFS="$lt_save_ifs"
8146     test -z "$ac_dir" && ac_dir=.
8147     if test -f $ac_dir/file; then
8148       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8149       if test -n "$file_magic_test_file"; then
8150         case $deplibs_check_method in
8151         "file_magic "*)
8152           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8153           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8154           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8155             $EGREP "$file_magic_regex" > /dev/null; then
8156             :
8157           else
8158             cat <<_LT_EOF 1>&2
8159
8160 *** Warning: the command libtool uses to detect shared libraries,
8161 *** $file_magic_cmd, produces output that libtool cannot recognize.
8162 *** The result is that libtool may fail to recognize shared libraries
8163 *** as such.  This will affect the creation of libtool libraries that
8164 *** depend on shared libraries, but programs linked with such libtool
8165 *** libraries will work regardless of this problem.  Nevertheless, you
8166 *** may want to report the problem to your system manager and/or to
8167 *** bug-libtool@gnu.org
8168
8169 _LT_EOF
8170           fi ;;
8171         esac
8172       fi
8173       break
8174     fi
8175   done
8176   IFS="$lt_save_ifs"
8177   MAGIC_CMD="$lt_save_MAGIC_CMD"
8178   ;;
8179 esac
8180 fi
8181
8182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8183 if test -n "$MAGIC_CMD"; then
8184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8185 $as_echo "$MAGIC_CMD" >&6; }
8186 else
8187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8188 $as_echo "no" >&6; }
8189 fi
8190
8191
8192   else
8193     MAGIC_CMD=:
8194   fi
8195 fi
8196
8197   fi
8198   ;;
8199 esac
8200
8201 # Use C for the default configuration in the libtool script
8202
8203 lt_save_CC="$CC"
8204 ac_ext=c
8205 ac_cpp='$CPP $CPPFLAGS'
8206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8209
8210
8211 # Source file extension for C test sources.
8212 ac_ext=c
8213
8214 # Object file extension for compiled C test sources.
8215 objext=o
8216 objext=$objext
8217
8218 # Code to be used in simple compile tests
8219 lt_simple_compile_test_code="int some_variable = 0;"
8220
8221 # Code to be used in simple link tests
8222 lt_simple_link_test_code='int main(){return(0);}'
8223
8224
8225
8226
8227
8228
8229
8230 # If no C compiler was specified, use CC.
8231 LTCC=${LTCC-"$CC"}
8232
8233 # If no C compiler flags were specified, use CFLAGS.
8234 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8235
8236 # Allow CC to be a program name with arguments.
8237 compiler=$CC
8238
8239 # Save the default compiler, since it gets overwritten when the other
8240 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8241 compiler_DEFAULT=$CC
8242
8243 # save warnings/boilerplate of simple test code
8244 ac_outfile=conftest.$ac_objext
8245 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8246 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8247 _lt_compiler_boilerplate=`cat conftest.err`
8248 $RM conftest*
8249
8250 ac_outfile=conftest.$ac_objext
8251 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8252 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8253 _lt_linker_boilerplate=`cat conftest.err`
8254 $RM -r conftest*
8255
8256
8257 ## CAVEAT EMPTOR:
8258 ## There is no encapsulation within the following macros, do not change
8259 ## the running order or otherwise move them around unless you know exactly
8260 ## what you are doing...
8261 if test -n "$compiler"; then
8262
8263 lt_prog_compiler_no_builtin_flag=
8264
8265 if test "$GCC" = yes; then
8266   case $cc_basename in
8267   nvcc*)
8268     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8269   *)
8270     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8271   esac
8272
8273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8274 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8275 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8276   $as_echo_n "(cached) " >&6
8277 else
8278   lt_cv_prog_compiler_rtti_exceptions=no
8279    ac_outfile=conftest.$ac_objext
8280    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8281    lt_compiler_flag="-fno-rtti -fno-exceptions"
8282    # Insert the option either (1) after the last *FLAGS variable, or
8283    # (2) before a word containing "conftest.", or (3) at the end.
8284    # Note that $ac_compile itself does not contain backslashes and begins
8285    # with a dollar sign (not a hyphen), so the echo should work correctly.
8286    # The option is referenced via a variable to avoid confusing sed.
8287    lt_compile=`echo "$ac_compile" | $SED \
8288    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8289    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8290    -e 's:$: $lt_compiler_flag:'`
8291    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8292    (eval "$lt_compile" 2>conftest.err)
8293    ac_status=$?
8294    cat conftest.err >&5
8295    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296    if (exit $ac_status) && test -s "$ac_outfile"; then
8297      # The compiler can only warn and ignore the option if not recognized
8298      # So say no if there are warnings other than the usual output.
8299      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8300      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8301      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8302        lt_cv_prog_compiler_rtti_exceptions=yes
8303      fi
8304    fi
8305    $RM conftest*
8306
8307 fi
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8309 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8310
8311 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8312     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8313 else
8314     :
8315 fi
8316
8317 fi
8318
8319
8320
8321
8322
8323
8324   lt_prog_compiler_wl=
8325 lt_prog_compiler_pic=
8326 lt_prog_compiler_static=
8327
8328
8329   if test "$GCC" = yes; then
8330     lt_prog_compiler_wl='-Wl,'
8331     lt_prog_compiler_static='-static'
8332
8333     case $host_os in
8334       aix*)
8335       # All AIX code is PIC.
8336       if test "$host_cpu" = ia64; then
8337         # AIX 5 now supports IA64 processor
8338         lt_prog_compiler_static='-Bstatic'
8339       fi
8340       ;;
8341
8342     amigaos*)
8343       case $host_cpu in
8344       powerpc)
8345             # see comment about AmigaOS4 .so support
8346             lt_prog_compiler_pic='-fPIC'
8347         ;;
8348       m68k)
8349             # FIXME: we need at least 68020 code to build shared libraries, but
8350             # adding the `-m68020' flag to GCC prevents building anything better,
8351             # like `-m68040'.
8352             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8353         ;;
8354       esac
8355       ;;
8356
8357     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8358       # PIC is the default for these OSes.
8359       ;;
8360
8361     mingw* | cygwin* | pw32* | os2* | cegcc*)
8362       # This hack is so that the source file can tell whether it is being
8363       # built for inclusion in a dll (and should export symbols for example).
8364       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8365       # (--disable-auto-import) libraries
8366       lt_prog_compiler_pic='-DDLL_EXPORT'
8367       ;;
8368
8369     darwin* | rhapsody*)
8370       # PIC is the default on this platform
8371       # Common symbols not allowed in MH_DYLIB files
8372       lt_prog_compiler_pic='-fno-common'
8373       ;;
8374
8375     haiku*)
8376       # PIC is the default for Haiku.
8377       # The "-static" flag exists, but is broken.
8378       lt_prog_compiler_static=
8379       ;;
8380
8381     hpux*)
8382       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8383       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8384       # sets the default TLS model and affects inlining.
8385       case $host_cpu in
8386       hppa*64*)
8387         # +Z the default
8388         ;;
8389       *)
8390         lt_prog_compiler_pic='-fPIC'
8391         ;;
8392       esac
8393       ;;
8394
8395     interix[3-9]*)
8396       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8397       # Instead, we relocate shared libraries at runtime.
8398       ;;
8399
8400     msdosdjgpp*)
8401       # Just because we use GCC doesn't mean we suddenly get shared libraries
8402       # on systems that don't support them.
8403       lt_prog_compiler_can_build_shared=no
8404       enable_shared=no
8405       ;;
8406
8407     *nto* | *qnx*)
8408       # QNX uses GNU C++, but need to define -shared option too, otherwise
8409       # it will coredump.
8410       lt_prog_compiler_pic='-fPIC -shared'
8411       ;;
8412
8413     sysv4*MP*)
8414       if test -d /usr/nec; then
8415         lt_prog_compiler_pic=-Kconform_pic
8416       fi
8417       ;;
8418
8419     *)
8420       lt_prog_compiler_pic='-fPIC'
8421       ;;
8422     esac
8423
8424     case $cc_basename in
8425     nvcc*) # Cuda Compiler Driver 2.2
8426       lt_prog_compiler_wl='-Xlinker '
8427       if test -n "$lt_prog_compiler_pic"; then
8428         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8429       fi
8430       ;;
8431     esac
8432   else
8433     # PORTME Check for flag to pass linker flags through the system compiler.
8434     case $host_os in
8435     aix*)
8436       lt_prog_compiler_wl='-Wl,'
8437       if test "$host_cpu" = ia64; then
8438         # AIX 5 now supports IA64 processor
8439         lt_prog_compiler_static='-Bstatic'
8440       else
8441         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8442       fi
8443       ;;
8444
8445     mingw* | cygwin* | pw32* | os2* | cegcc*)
8446       # This hack is so that the source file can tell whether it is being
8447       # built for inclusion in a dll (and should export symbols for example).
8448       lt_prog_compiler_pic='-DDLL_EXPORT'
8449       ;;
8450
8451     hpux9* | hpux10* | hpux11*)
8452       lt_prog_compiler_wl='-Wl,'
8453       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8454       # not for PA HP-UX.
8455       case $host_cpu in
8456       hppa*64*|ia64*)
8457         # +Z the default
8458         ;;
8459       *)
8460         lt_prog_compiler_pic='+Z'
8461         ;;
8462       esac
8463       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8464       lt_prog_compiler_static='${wl}-a ${wl}archive'
8465       ;;
8466
8467     irix5* | irix6* | nonstopux*)
8468       lt_prog_compiler_wl='-Wl,'
8469       # PIC (with -KPIC) is the default.
8470       lt_prog_compiler_static='-non_shared'
8471       ;;
8472
8473     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8474       case $cc_basename in
8475       # old Intel for x86_64 which still supported -KPIC.
8476       ecc*)
8477         lt_prog_compiler_wl='-Wl,'
8478         lt_prog_compiler_pic='-KPIC'
8479         lt_prog_compiler_static='-static'
8480         ;;
8481       # icc used to be incompatible with GCC.
8482       # ICC 10 doesn't accept -KPIC any more.
8483       icc* | ifort*)
8484         lt_prog_compiler_wl='-Wl,'
8485         lt_prog_compiler_pic='-fPIC'
8486         lt_prog_compiler_static='-static'
8487         ;;
8488       # Lahey Fortran 8.1.
8489       lf95*)
8490         lt_prog_compiler_wl='-Wl,'
8491         lt_prog_compiler_pic='--shared'
8492         lt_prog_compiler_static='--static'
8493         ;;
8494       nagfor*)
8495         # NAG Fortran compiler
8496         lt_prog_compiler_wl='-Wl,-Wl,,'
8497         lt_prog_compiler_pic='-PIC'
8498         lt_prog_compiler_static='-Bstatic'
8499         ;;
8500       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8501         # Portland Group compilers (*not* the Pentium gcc compiler,
8502         # which looks to be a dead project)
8503         lt_prog_compiler_wl='-Wl,'
8504         lt_prog_compiler_pic='-fpic'
8505         lt_prog_compiler_static='-Bstatic'
8506         ;;
8507       ccc*)
8508         lt_prog_compiler_wl='-Wl,'
8509         # All Alpha code is PIC.
8510         lt_prog_compiler_static='-non_shared'
8511         ;;
8512       xl* | bgxl* | bgf* | mpixl*)
8513         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8514         lt_prog_compiler_wl='-Wl,'
8515         lt_prog_compiler_pic='-qpic'
8516         lt_prog_compiler_static='-qstaticlink'
8517         ;;
8518       *)
8519         case `$CC -V 2>&1 | sed 5q` in
8520         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8521           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8522           lt_prog_compiler_pic='-KPIC'
8523           lt_prog_compiler_static='-Bstatic'
8524           lt_prog_compiler_wl=''
8525           ;;
8526         *Sun\ F* | *Sun*Fortran*)
8527           lt_prog_compiler_pic='-KPIC'
8528           lt_prog_compiler_static='-Bstatic'
8529           lt_prog_compiler_wl='-Qoption ld '
8530           ;;
8531         *Sun\ C*)
8532           # Sun C 5.9
8533           lt_prog_compiler_pic='-KPIC'
8534           lt_prog_compiler_static='-Bstatic'
8535           lt_prog_compiler_wl='-Wl,'
8536           ;;
8537         *Intel*\ [CF]*Compiler*)
8538           lt_prog_compiler_wl='-Wl,'
8539           lt_prog_compiler_pic='-fPIC'
8540           lt_prog_compiler_static='-static'
8541           ;;
8542         *Portland\ Group*)
8543           lt_prog_compiler_wl='-Wl,'
8544           lt_prog_compiler_pic='-fpic'
8545           lt_prog_compiler_static='-Bstatic'
8546           ;;
8547         esac
8548         ;;
8549       esac
8550       ;;
8551
8552     newsos6)
8553       lt_prog_compiler_pic='-KPIC'
8554       lt_prog_compiler_static='-Bstatic'
8555       ;;
8556
8557     *nto* | *qnx*)
8558       # QNX uses GNU C++, but need to define -shared option too, otherwise
8559       # it will coredump.
8560       lt_prog_compiler_pic='-fPIC -shared'
8561       ;;
8562
8563     osf3* | osf4* | osf5*)
8564       lt_prog_compiler_wl='-Wl,'
8565       # All OSF/1 code is PIC.
8566       lt_prog_compiler_static='-non_shared'
8567       ;;
8568
8569     rdos*)
8570       lt_prog_compiler_static='-non_shared'
8571       ;;
8572
8573     solaris*)
8574       lt_prog_compiler_pic='-KPIC'
8575       lt_prog_compiler_static='-Bstatic'
8576       case $cc_basename in
8577       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8578         lt_prog_compiler_wl='-Qoption ld ';;
8579       *)
8580         lt_prog_compiler_wl='-Wl,';;
8581       esac
8582       ;;
8583
8584     sunos4*)
8585       lt_prog_compiler_wl='-Qoption ld '
8586       lt_prog_compiler_pic='-PIC'
8587       lt_prog_compiler_static='-Bstatic'
8588       ;;
8589
8590     sysv4 | sysv4.2uw2* | sysv4.3*)
8591       lt_prog_compiler_wl='-Wl,'
8592       lt_prog_compiler_pic='-KPIC'
8593       lt_prog_compiler_static='-Bstatic'
8594       ;;
8595
8596     sysv4*MP*)
8597       if test -d /usr/nec ;then
8598         lt_prog_compiler_pic='-Kconform_pic'
8599         lt_prog_compiler_static='-Bstatic'
8600       fi
8601       ;;
8602
8603     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8604       lt_prog_compiler_wl='-Wl,'
8605       lt_prog_compiler_pic='-KPIC'
8606       lt_prog_compiler_static='-Bstatic'
8607       ;;
8608
8609     unicos*)
8610       lt_prog_compiler_wl='-Wl,'
8611       lt_prog_compiler_can_build_shared=no
8612       ;;
8613
8614     uts4*)
8615       lt_prog_compiler_pic='-pic'
8616       lt_prog_compiler_static='-Bstatic'
8617       ;;
8618
8619     *)
8620       lt_prog_compiler_can_build_shared=no
8621       ;;
8622     esac
8623   fi
8624
8625 case $host_os in
8626   # For platforms which do not support PIC, -DPIC is meaningless:
8627   *djgpp*)
8628     lt_prog_compiler_pic=
8629     ;;
8630   *)
8631     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8632     ;;
8633 esac
8634
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8636 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8637 if ${lt_cv_prog_compiler_pic+:} false; then :
8638   $as_echo_n "(cached) " >&6
8639 else
8640   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8641 fi
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8643 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8644 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8645
8646 #
8647 # Check to make sure the PIC flag actually works.
8648 #
8649 if test -n "$lt_prog_compiler_pic"; then
8650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8651 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8652 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8653   $as_echo_n "(cached) " >&6
8654 else
8655   lt_cv_prog_compiler_pic_works=no
8656    ac_outfile=conftest.$ac_objext
8657    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8658    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8659    # Insert the option either (1) after the last *FLAGS variable, or
8660    # (2) before a word containing "conftest.", or (3) at the end.
8661    # Note that $ac_compile itself does not contain backslashes and begins
8662    # with a dollar sign (not a hyphen), so the echo should work correctly.
8663    # The option is referenced via a variable to avoid confusing sed.
8664    lt_compile=`echo "$ac_compile" | $SED \
8665    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8666    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8667    -e 's:$: $lt_compiler_flag:'`
8668    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8669    (eval "$lt_compile" 2>conftest.err)
8670    ac_status=$?
8671    cat conftest.err >&5
8672    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673    if (exit $ac_status) && test -s "$ac_outfile"; then
8674      # The compiler can only warn and ignore the option if not recognized
8675      # So say no if there are warnings other than the usual output.
8676      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8677      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8678      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8679        lt_cv_prog_compiler_pic_works=yes
8680      fi
8681    fi
8682    $RM conftest*
8683
8684 fi
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8686 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8687
8688 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8689     case $lt_prog_compiler_pic in
8690      "" | " "*) ;;
8691      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8692      esac
8693 else
8694     lt_prog_compiler_pic=
8695      lt_prog_compiler_can_build_shared=no
8696 fi
8697
8698 fi
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710 #
8711 # Check to make sure the static flag actually works.
8712 #
8713 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8715 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8716 if ${lt_cv_prog_compiler_static_works+:} false; then :
8717   $as_echo_n "(cached) " >&6
8718 else
8719   lt_cv_prog_compiler_static_works=no
8720    save_LDFLAGS="$LDFLAGS"
8721    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8722    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8723    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8724      # The linker can only warn and ignore the option if not recognized
8725      # So say no if there are warnings
8726      if test -s conftest.err; then
8727        # Append any errors to the config.log.
8728        cat conftest.err 1>&5
8729        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8730        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8731        if diff conftest.exp conftest.er2 >/dev/null; then
8732          lt_cv_prog_compiler_static_works=yes
8733        fi
8734      else
8735        lt_cv_prog_compiler_static_works=yes
8736      fi
8737    fi
8738    $RM -r conftest*
8739    LDFLAGS="$save_LDFLAGS"
8740
8741 fi
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8743 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8744
8745 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8746     :
8747 else
8748     lt_prog_compiler_static=
8749 fi
8750
8751
8752
8753
8754
8755
8756
8757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8758 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8759 if ${lt_cv_prog_compiler_c_o+:} false; then :
8760   $as_echo_n "(cached) " >&6
8761 else
8762   lt_cv_prog_compiler_c_o=no
8763    $RM -r conftest 2>/dev/null
8764    mkdir conftest
8765    cd conftest
8766    mkdir out
8767    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8768
8769    lt_compiler_flag="-o out/conftest2.$ac_objext"
8770    # Insert the option either (1) after the last *FLAGS variable, or
8771    # (2) before a word containing "conftest.", or (3) at the end.
8772    # Note that $ac_compile itself does not contain backslashes and begins
8773    # with a dollar sign (not a hyphen), so the echo should work correctly.
8774    lt_compile=`echo "$ac_compile" | $SED \
8775    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8776    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8777    -e 's:$: $lt_compiler_flag:'`
8778    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8779    (eval "$lt_compile" 2>out/conftest.err)
8780    ac_status=$?
8781    cat out/conftest.err >&5
8782    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8784    then
8785      # The compiler can only warn and ignore the option if not recognized
8786      # So say no if there are warnings
8787      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8788      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8789      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8790        lt_cv_prog_compiler_c_o=yes
8791      fi
8792    fi
8793    chmod u+w . 2>&5
8794    $RM conftest*
8795    # SGI C++ compiler will create directory out/ii_files/ for
8796    # template instantiation
8797    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8798    $RM out/* && rmdir out
8799    cd ..
8800    $RM -r conftest
8801    $RM conftest*
8802
8803 fi
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8805 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8806
8807
8808
8809
8810
8811
8812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8814 if ${lt_cv_prog_compiler_c_o+:} false; then :
8815   $as_echo_n "(cached) " >&6
8816 else
8817   lt_cv_prog_compiler_c_o=no
8818    $RM -r conftest 2>/dev/null
8819    mkdir conftest
8820    cd conftest
8821    mkdir out
8822    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8823
8824    lt_compiler_flag="-o out/conftest2.$ac_objext"
8825    # Insert the option either (1) after the last *FLAGS variable, or
8826    # (2) before a word containing "conftest.", or (3) at the end.
8827    # Note that $ac_compile itself does not contain backslashes and begins
8828    # with a dollar sign (not a hyphen), so the echo should work correctly.
8829    lt_compile=`echo "$ac_compile" | $SED \
8830    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8831    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8832    -e 's:$: $lt_compiler_flag:'`
8833    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8834    (eval "$lt_compile" 2>out/conftest.err)
8835    ac_status=$?
8836    cat out/conftest.err >&5
8837    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8839    then
8840      # The compiler can only warn and ignore the option if not recognized
8841      # So say no if there are warnings
8842      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8843      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8844      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8845        lt_cv_prog_compiler_c_o=yes
8846      fi
8847    fi
8848    chmod u+w . 2>&5
8849    $RM conftest*
8850    # SGI C++ compiler will create directory out/ii_files/ for
8851    # template instantiation
8852    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8853    $RM out/* && rmdir out
8854    cd ..
8855    $RM -r conftest
8856    $RM conftest*
8857
8858 fi
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8860 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8861
8862
8863
8864
8865 hard_links="nottested"
8866 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8867   # do not overwrite the value of need_locks provided by the user
8868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8869 $as_echo_n "checking if we can lock with hard links... " >&6; }
8870   hard_links=yes
8871   $RM conftest*
8872   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8873   touch conftest.a
8874   ln conftest.a conftest.b 2>&5 || hard_links=no
8875   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8877 $as_echo "$hard_links" >&6; }
8878   if test "$hard_links" = no; then
8879     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8880 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8881     need_locks=warn
8882   fi
8883 else
8884   need_locks=no
8885 fi
8886
8887
8888
8889
8890
8891
8892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8893 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8894
8895   runpath_var=
8896   allow_undefined_flag=
8897   always_export_symbols=no
8898   archive_cmds=
8899   archive_expsym_cmds=
8900   compiler_needs_object=no
8901   enable_shared_with_static_runtimes=no
8902   export_dynamic_flag_spec=
8903   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8904   hardcode_automatic=no
8905   hardcode_direct=no
8906   hardcode_direct_absolute=no
8907   hardcode_libdir_flag_spec=
8908   hardcode_libdir_separator=
8909   hardcode_minus_L=no
8910   hardcode_shlibpath_var=unsupported
8911   inherit_rpath=no
8912   link_all_deplibs=unknown
8913   module_cmds=
8914   module_expsym_cmds=
8915   old_archive_from_new_cmds=
8916   old_archive_from_expsyms_cmds=
8917   thread_safe_flag_spec=
8918   whole_archive_flag_spec=
8919   # include_expsyms should be a list of space-separated symbols to be *always*
8920   # included in the symbol list
8921   include_expsyms=
8922   # exclude_expsyms can be an extended regexp of symbols to exclude
8923   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8924   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8925   # as well as any symbol that contains `d'.
8926   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8927   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8928   # platforms (ab)use it in PIC code, but their linkers get confused if
8929   # the symbol is explicitly referenced.  Since portable code cannot
8930   # rely on this symbol name, it's probably fine to never include it in
8931   # preloaded symbol tables.
8932   # Exclude shared library initialization/finalization symbols.
8933   extract_expsyms_cmds=
8934
8935   case $host_os in
8936   cygwin* | mingw* | pw32* | cegcc*)
8937     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8938     # When not using gcc, we currently assume that we are using
8939     # Microsoft Visual C++.
8940     if test "$GCC" != yes; then
8941       with_gnu_ld=no
8942     fi
8943     ;;
8944   interix*)
8945     # we just hope/assume this is gcc and not c89 (= MSVC++)
8946     with_gnu_ld=yes
8947     ;;
8948   openbsd*)
8949     with_gnu_ld=no
8950     ;;
8951   linux* | k*bsd*-gnu | gnu*)
8952     link_all_deplibs=no
8953     ;;
8954   esac
8955
8956   ld_shlibs=yes
8957
8958   # On some targets, GNU ld is compatible enough with the native linker
8959   # that we're better off using the native interface for both.
8960   lt_use_gnu_ld_interface=no
8961   if test "$with_gnu_ld" = yes; then
8962     case $host_os in
8963       aix*)
8964         # The AIX port of GNU ld has always aspired to compatibility
8965         # with the native linker.  However, as the warning in the GNU ld
8966         # block says, versions before 2.19.5* couldn't really create working
8967         # shared libraries, regardless of the interface used.
8968         case `$LD -v 2>&1` in
8969           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8970           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8971           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8972           *)
8973             lt_use_gnu_ld_interface=yes
8974             ;;
8975         esac
8976         ;;
8977       *)
8978         lt_use_gnu_ld_interface=yes
8979         ;;
8980     esac
8981   fi
8982
8983   if test "$lt_use_gnu_ld_interface" = yes; then
8984     # If archive_cmds runs LD, not CC, wlarc should be empty
8985     wlarc='${wl}'
8986
8987     # Set some defaults for GNU ld with shared library support. These
8988     # are reset later if shared libraries are not supported. Putting them
8989     # here allows them to be overridden if necessary.
8990     runpath_var=LD_RUN_PATH
8991     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8992     export_dynamic_flag_spec='${wl}--export-dynamic'
8993     # ancient GNU ld didn't support --whole-archive et. al.
8994     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8995       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8996     else
8997       whole_archive_flag_spec=
8998     fi
8999     supports_anon_versioning=no
9000     case `$LD -v 2>&1` in
9001       *GNU\ gold*) supports_anon_versioning=yes ;;
9002       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9003       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9004       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9005       *\ 2.11.*) ;; # other 2.11 versions
9006       *) supports_anon_versioning=yes ;;
9007     esac
9008
9009     # See if GNU ld supports shared libraries.
9010     case $host_os in
9011     aix[3-9]*)
9012       # On AIX/PPC, the GNU linker is very broken
9013       if test "$host_cpu" != ia64; then
9014         ld_shlibs=no
9015         cat <<_LT_EOF 1>&2
9016
9017 *** Warning: the GNU linker, at least up to release 2.19, is reported
9018 *** to be unable to reliably create shared libraries on AIX.
9019 *** Therefore, libtool is disabling shared libraries support.  If you
9020 *** really care for shared libraries, you may want to install binutils
9021 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9022 *** You will then need to restart the configuration process.
9023
9024 _LT_EOF
9025       fi
9026       ;;
9027
9028     amigaos*)
9029       case $host_cpu in
9030       powerpc)
9031             # see comment about AmigaOS4 .so support
9032             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9033             archive_expsym_cmds=''
9034         ;;
9035       m68k)
9036             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)'
9037             hardcode_libdir_flag_spec='-L$libdir'
9038             hardcode_minus_L=yes
9039         ;;
9040       esac
9041       ;;
9042
9043     beos*)
9044       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9045         allow_undefined_flag=unsupported
9046         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9047         # support --undefined.  This deserves some investigation.  FIXME
9048         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9049       else
9050         ld_shlibs=no
9051       fi
9052       ;;
9053
9054     cygwin* | mingw* | pw32* | cegcc*)
9055       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9056       # as there is no search path for DLLs.
9057       hardcode_libdir_flag_spec='-L$libdir'
9058       export_dynamic_flag_spec='${wl}--export-all-symbols'
9059       allow_undefined_flag=unsupported
9060       always_export_symbols=no
9061       enable_shared_with_static_runtimes=yes
9062       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'
9063       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9064
9065       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9066         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9067         # If the export-symbols file already is a .def file (1st line
9068         # is EXPORTS), use it as is; otherwise, prepend...
9069         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9070           cp $export_symbols $output_objdir/$soname.def;
9071         else
9072           echo EXPORTS > $output_objdir/$soname.def;
9073           cat $export_symbols >> $output_objdir/$soname.def;
9074         fi~
9075         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9076       else
9077         ld_shlibs=no
9078       fi
9079       ;;
9080
9081     haiku*)
9082       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9083       link_all_deplibs=yes
9084       ;;
9085
9086     interix[3-9]*)
9087       hardcode_direct=no
9088       hardcode_shlibpath_var=no
9089       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9090       export_dynamic_flag_spec='${wl}-E'
9091       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9092       # Instead, shared libraries are loaded at an image base (0x10000000 by
9093       # default) and relocated if they conflict, which is a slow very memory
9094       # consuming and fragmenting process.  To avoid this, we pick a random,
9095       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9096       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9097       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9098       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'
9099       ;;
9100
9101     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9102       tmp_diet=no
9103       if test "$host_os" = linux-dietlibc; then
9104         case $cc_basename in
9105           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9106         esac
9107       fi
9108       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9109          && test "$tmp_diet" = no
9110       then
9111         tmp_addflag=' $pic_flag'
9112         tmp_sharedflag='-shared'
9113         case $cc_basename,$host_cpu in
9114         pgcc*)                          # Portland Group C compiler
9115           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'
9116           tmp_addflag=' $pic_flag'
9117           ;;
9118         pgf77* | pgf90* | pgf95* | pgfortran*)
9119                                         # Portland Group f77 and f90 compilers
9120           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'
9121           tmp_addflag=' $pic_flag -Mnomain' ;;
9122         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9123           tmp_addflag=' -i_dynamic' ;;
9124         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9125           tmp_addflag=' -i_dynamic -nofor_main' ;;
9126         ifc* | ifort*)                  # Intel Fortran compiler
9127           tmp_addflag=' -nofor_main' ;;
9128         lf95*)                          # Lahey Fortran 8.1
9129           whole_archive_flag_spec=
9130           tmp_sharedflag='--shared' ;;
9131         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9132           tmp_sharedflag='-qmkshrobj'
9133           tmp_addflag= ;;
9134         nvcc*)  # Cuda Compiler Driver 2.2
9135           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'
9136           compiler_needs_object=yes
9137           ;;
9138         esac
9139         case `$CC -V 2>&1 | sed 5q` in
9140         *Sun\ C*)                       # Sun C 5.9
9141           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'
9142           compiler_needs_object=yes
9143           tmp_sharedflag='-G' ;;
9144         *Sun\ F*)                       # Sun Fortran 8.3
9145           tmp_sharedflag='-G' ;;
9146         esac
9147         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148
9149         if test "x$supports_anon_versioning" = xyes; then
9150           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9151             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9152             echo "local: *; };" >> $output_objdir/$libname.ver~
9153             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9154         fi
9155
9156         case $cc_basename in
9157         xlf* | bgf* | bgxlf* | mpixlf*)
9158           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9159           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9160           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9162           if test "x$supports_anon_versioning" = xyes; then
9163             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9164               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9165               echo "local: *; };" >> $output_objdir/$libname.ver~
9166               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9167           fi
9168           ;;
9169         esac
9170       else
9171         ld_shlibs=no
9172       fi
9173       ;;
9174
9175     netbsd* | netbsdelf*-gnu)
9176       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9177         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9178         wlarc=
9179       else
9180         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9181         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9182       fi
9183       ;;
9184
9185     solaris*)
9186       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9187         ld_shlibs=no
9188         cat <<_LT_EOF 1>&2
9189
9190 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9191 *** create shared libraries on Solaris systems.  Therefore, libtool
9192 *** is disabling shared libraries support.  We urge you to upgrade GNU
9193 *** binutils to release 2.9.1 or newer.  Another option is to modify
9194 *** your PATH or compiler configuration so that the native linker is
9195 *** used, and then restart.
9196
9197 _LT_EOF
9198       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9199         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9200         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9201       else
9202         ld_shlibs=no
9203       fi
9204       ;;
9205
9206     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9207       case `$LD -v 2>&1` in
9208         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9209         ld_shlibs=no
9210         cat <<_LT_EOF 1>&2
9211
9212 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9213 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9214 *** is disabling shared libraries support.  We urge you to upgrade GNU
9215 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9216 *** your PATH or compiler configuration so that the native linker is
9217 *** used, and then restart.
9218
9219 _LT_EOF
9220         ;;
9221         *)
9222           # For security reasons, it is highly recommended that you always
9223           # use absolute paths for naming shared libraries, and exclude the
9224           # DT_RUNPATH tag from executables and libraries.  But doing so
9225           # requires that you compile everything twice, which is a pain.
9226           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9228             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9229             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9230           else
9231             ld_shlibs=no
9232           fi
9233         ;;
9234       esac
9235       ;;
9236
9237     sunos4*)
9238       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9239       wlarc=
9240       hardcode_direct=yes
9241       hardcode_shlibpath_var=no
9242       ;;
9243
9244     *)
9245       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9246         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9247         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9248       else
9249         ld_shlibs=no
9250       fi
9251       ;;
9252     esac
9253
9254     if test "$ld_shlibs" = no; then
9255       runpath_var=
9256       hardcode_libdir_flag_spec=
9257       export_dynamic_flag_spec=
9258       whole_archive_flag_spec=
9259     fi
9260   else
9261     # PORTME fill in a description of your system's linker (not GNU ld)
9262     case $host_os in
9263     aix3*)
9264       allow_undefined_flag=unsupported
9265       always_export_symbols=yes
9266       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'
9267       # Note: this linker hardcodes the directories in LIBPATH if there
9268       # are no directories specified by -L.
9269       hardcode_minus_L=yes
9270       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9271         # Neither direct hardcoding nor static linking is supported with a
9272         # broken collect2.
9273         hardcode_direct=unsupported
9274       fi
9275       ;;
9276
9277     aix[4-9]*)
9278       if test "$host_cpu" = ia64; then
9279         # On IA64, the linker does run time linking by default, so we don't
9280         # have to do anything special.
9281         aix_use_runtimelinking=no
9282         exp_sym_flag='-Bexport'
9283         no_entry_flag=""
9284       else
9285         # If we're using GNU nm, then we don't want the "-C" option.
9286         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9287         # Also, AIX nm treats weak defined symbols like other global
9288         # defined symbols, whereas GNU nm marks them as "W".
9289         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9290           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'
9291         else
9292           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'
9293         fi
9294         aix_use_runtimelinking=no
9295
9296         # Test if we are trying to use run time linking or normal
9297         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9298         # need to do runtime linking.
9299         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9300           for ld_flag in $LDFLAGS; do
9301           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9302             aix_use_runtimelinking=yes
9303             break
9304           fi
9305           done
9306           ;;
9307         esac
9308
9309         exp_sym_flag='-bexport'
9310         no_entry_flag='-bnoentry'
9311       fi
9312
9313       # When large executables or shared objects are built, AIX ld can
9314       # have problems creating the table of contents.  If linking a library
9315       # or program results in "error TOC overflow" add -mminimal-toc to
9316       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9317       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9318
9319       archive_cmds=''
9320       hardcode_direct=yes
9321       hardcode_direct_absolute=yes
9322       hardcode_libdir_separator=':'
9323       link_all_deplibs=yes
9324       file_list_spec='${wl}-f,'
9325
9326       if test "$GCC" = yes; then
9327         case $host_os in aix4.[012]|aix4.[012].*)
9328         # We only want to do this on AIX 4.2 and lower, the check
9329         # below for broken collect2 doesn't work under 4.3+
9330           collect2name=`${CC} -print-prog-name=collect2`
9331           if test -f "$collect2name" &&
9332            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9333           then
9334           # We have reworked collect2
9335           :
9336           else
9337           # We have old collect2
9338           hardcode_direct=unsupported
9339           # It fails to find uninstalled libraries when the uninstalled
9340           # path is not listed in the libpath.  Setting hardcode_minus_L
9341           # to unsupported forces relinking
9342           hardcode_minus_L=yes
9343           hardcode_libdir_flag_spec='-L$libdir'
9344           hardcode_libdir_separator=
9345           fi
9346           ;;
9347         esac
9348         shared_flag='-shared'
9349         if test "$aix_use_runtimelinking" = yes; then
9350           shared_flag="$shared_flag "'${wl}-G'
9351         fi
9352         link_all_deplibs=no
9353       else
9354         # not using gcc
9355         if test "$host_cpu" = ia64; then
9356         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9357         # chokes on -Wl,-G. The following line is correct:
9358           shared_flag='-G'
9359         else
9360           if test "$aix_use_runtimelinking" = yes; then
9361             shared_flag='${wl}-G'
9362           else
9363             shared_flag='${wl}-bM:SRE'
9364           fi
9365         fi
9366       fi
9367
9368       export_dynamic_flag_spec='${wl}-bexpall'
9369       # It seems that -bexpall does not export symbols beginning with
9370       # underscore (_), so it is better to generate a list of symbols to export.
9371       always_export_symbols=yes
9372       if test "$aix_use_runtimelinking" = yes; then
9373         # Warning - without using the other runtime loading flags (-brtl),
9374         # -berok will link without error, but may produce a broken library.
9375         allow_undefined_flag='-berok'
9376         # Determine the default libpath from the value encoded in an
9377         # empty executable.
9378         if test "${lt_cv_aix_libpath+set}" = set; then
9379   aix_libpath=$lt_cv_aix_libpath
9380 else
9381   if ${lt_cv_aix_libpath_+:} false; then :
9382   $as_echo_n "(cached) " >&6
9383 else
9384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h.  */
9386
9387 int
9388 main ()
9389 {
9390
9391   ;
9392   return 0;
9393 }
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396
9397   lt_aix_libpath_sed='
9398       /Import File Strings/,/^$/ {
9399           /^0/ {
9400               s/^0  *\([^ ]*\) *$/\1/
9401               p
9402           }
9403       }'
9404   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9405   # Check for a 64-bit object if we didn't find anything.
9406   if test -z "$lt_cv_aix_libpath_"; then
9407     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9408   fi
9409 fi
9410 rm -f core conftest.err conftest.$ac_objext \
9411     conftest$ac_exeext conftest.$ac_ext
9412   if test -z "$lt_cv_aix_libpath_"; then
9413     lt_cv_aix_libpath_="/usr/lib:/lib"
9414   fi
9415
9416 fi
9417
9418   aix_libpath=$lt_cv_aix_libpath_
9419 fi
9420
9421         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9422         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"
9423       else
9424         if test "$host_cpu" = ia64; then
9425           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9426           allow_undefined_flag="-z nodefs"
9427           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"
9428         else
9429          # Determine the default libpath from the value encoded in an
9430          # empty executable.
9431          if test "${lt_cv_aix_libpath+set}" = set; then
9432   aix_libpath=$lt_cv_aix_libpath
9433 else
9434   if ${lt_cv_aix_libpath_+:} false; then :
9435   $as_echo_n "(cached) " >&6
9436 else
9437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h.  */
9439
9440 int
9441 main ()
9442 {
9443
9444   ;
9445   return 0;
9446 }
9447 _ACEOF
9448 if ac_fn_c_try_link "$LINENO"; then :
9449
9450   lt_aix_libpath_sed='
9451       /Import File Strings/,/^$/ {
9452           /^0/ {
9453               s/^0  *\([^ ]*\) *$/\1/
9454               p
9455           }
9456       }'
9457   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9458   # Check for a 64-bit object if we didn't find anything.
9459   if test -z "$lt_cv_aix_libpath_"; then
9460     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9461   fi
9462 fi
9463 rm -f core conftest.err conftest.$ac_objext \
9464     conftest$ac_exeext conftest.$ac_ext
9465   if test -z "$lt_cv_aix_libpath_"; then
9466     lt_cv_aix_libpath_="/usr/lib:/lib"
9467   fi
9468
9469 fi
9470
9471   aix_libpath=$lt_cv_aix_libpath_
9472 fi
9473
9474          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9475           # Warning - without using the other run time loading flags,
9476           # -berok will link without error, but may produce a broken library.
9477           no_undefined_flag=' ${wl}-bernotok'
9478           allow_undefined_flag=' ${wl}-berok'
9479           if test "$with_gnu_ld" = yes; then
9480             # We only use this code for GNU lds that support --whole-archive.
9481             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9482           else
9483             # Exported symbols can be pulled into shared objects from archives
9484             whole_archive_flag_spec='$convenience'
9485           fi
9486           archive_cmds_need_lc=yes
9487           # This is similar to how AIX traditionally builds its shared libraries.
9488           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'
9489         fi
9490       fi
9491       ;;
9492
9493     amigaos*)
9494       case $host_cpu in
9495       powerpc)
9496             # see comment about AmigaOS4 .so support
9497             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9498             archive_expsym_cmds=''
9499         ;;
9500       m68k)
9501             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)'
9502             hardcode_libdir_flag_spec='-L$libdir'
9503             hardcode_minus_L=yes
9504         ;;
9505       esac
9506       ;;
9507
9508     bsdi[45]*)
9509       export_dynamic_flag_spec=-rdynamic
9510       ;;
9511
9512     cygwin* | mingw* | pw32* | cegcc*)
9513       # When not using gcc, we currently assume that we are using
9514       # Microsoft Visual C++.
9515       # hardcode_libdir_flag_spec is actually meaningless, as there is
9516       # no search path for DLLs.
9517       case $cc_basename in
9518       cl*)
9519         # Native MSVC
9520         hardcode_libdir_flag_spec=' '
9521         allow_undefined_flag=unsupported
9522         always_export_symbols=yes
9523         file_list_spec='@'
9524         # Tell ltmain to make .lib files, not .a files.
9525         libext=lib
9526         # Tell ltmain to make .dll files, not .so files.
9527         shrext_cmds=".dll"
9528         # FIXME: Setting linknames here is a bad hack.
9529         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9530         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9531             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9532           else
9533             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9534           fi~
9535           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9536           linknames='
9537         # The linker will not automatically build a static lib if we build a DLL.
9538         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9539         enable_shared_with_static_runtimes=yes
9540         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9541         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9542         # Don't use ranlib
9543         old_postinstall_cmds='chmod 644 $oldlib'
9544         postlink_cmds='lt_outputfile="@OUTPUT@"~
9545           lt_tool_outputfile="@TOOL_OUTPUT@"~
9546           case $lt_outputfile in
9547             *.exe|*.EXE) ;;
9548             *)
9549               lt_outputfile="$lt_outputfile.exe"
9550               lt_tool_outputfile="$lt_tool_outputfile.exe"
9551               ;;
9552           esac~
9553           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9554             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9555             $RM "$lt_outputfile.manifest";
9556           fi'
9557         ;;
9558       *)
9559         # Assume MSVC wrapper
9560         hardcode_libdir_flag_spec=' '
9561         allow_undefined_flag=unsupported
9562         # Tell ltmain to make .lib files, not .a files.
9563         libext=lib
9564         # Tell ltmain to make .dll files, not .so files.
9565         shrext_cmds=".dll"
9566         # FIXME: Setting linknames here is a bad hack.
9567         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9568         # The linker will automatically build a .lib file if we build a DLL.
9569         old_archive_from_new_cmds='true'
9570         # FIXME: Should let the user specify the lib program.
9571         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9572         enable_shared_with_static_runtimes=yes
9573         ;;
9574       esac
9575       ;;
9576
9577     darwin* | rhapsody*)
9578
9579
9580   archive_cmds_need_lc=no
9581   hardcode_direct=no
9582   hardcode_automatic=yes
9583   hardcode_shlibpath_var=unsupported
9584   if test "$lt_cv_ld_force_load" = "yes"; then
9585     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\"`'
9586
9587   else
9588     whole_archive_flag_spec=''
9589   fi
9590   link_all_deplibs=yes
9591   allow_undefined_flag="$_lt_dar_allow_undefined"
9592   case $cc_basename in
9593      ifort*) _lt_dar_can_shared=yes ;;
9594      *) _lt_dar_can_shared=$GCC ;;
9595   esac
9596   if test "$_lt_dar_can_shared" = "yes"; then
9597     output_verbose_link_cmd=func_echo_all
9598     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9599     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9600     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}"
9601     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}"
9602
9603   else
9604   ld_shlibs=no
9605   fi
9606
9607       ;;
9608
9609     dgux*)
9610       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9611       hardcode_libdir_flag_spec='-L$libdir'
9612       hardcode_shlibpath_var=no
9613       ;;
9614
9615     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9616     # support.  Future versions do this automatically, but an explicit c++rt0.o
9617     # does not break anything, and helps significantly (at the cost of a little
9618     # extra space).
9619     freebsd2.2*)
9620       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9621       hardcode_libdir_flag_spec='-R$libdir'
9622       hardcode_direct=yes
9623       hardcode_shlibpath_var=no
9624       ;;
9625
9626     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9627     freebsd2.*)
9628       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9629       hardcode_direct=yes
9630       hardcode_minus_L=yes
9631       hardcode_shlibpath_var=no
9632       ;;
9633
9634     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9635     freebsd* | dragonfly*)
9636       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9637       hardcode_libdir_flag_spec='-R$libdir'
9638       hardcode_direct=yes
9639       hardcode_shlibpath_var=no
9640       ;;
9641
9642     hpux9*)
9643       if test "$GCC" = yes; then
9644         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'
9645       else
9646         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'
9647       fi
9648       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9649       hardcode_libdir_separator=:
9650       hardcode_direct=yes
9651
9652       # hardcode_minus_L: Not really in the search PATH,
9653       # but as the default location of the library.
9654       hardcode_minus_L=yes
9655       export_dynamic_flag_spec='${wl}-E'
9656       ;;
9657
9658     hpux10*)
9659       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9660         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9661       else
9662         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9663       fi
9664       if test "$with_gnu_ld" = no; then
9665         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9666         hardcode_libdir_separator=:
9667         hardcode_direct=yes
9668         hardcode_direct_absolute=yes
9669         export_dynamic_flag_spec='${wl}-E'
9670         # hardcode_minus_L: Not really in the search PATH,
9671         # but as the default location of the library.
9672         hardcode_minus_L=yes
9673       fi
9674       ;;
9675
9676     hpux11*)
9677       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9678         case $host_cpu in
9679         hppa*64*)
9680           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9681           ;;
9682         ia64*)
9683           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9684           ;;
9685         *)
9686           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9687           ;;
9688         esac
9689       else
9690         case $host_cpu in
9691         hppa*64*)
9692           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9693           ;;
9694         ia64*)
9695           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9696           ;;
9697         *)
9698
9699           # Older versions of the 11.00 compiler do not understand -b yet
9700           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9701           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9702 $as_echo_n "checking if $CC understands -b... " >&6; }
9703 if ${lt_cv_prog_compiler__b+:} false; then :
9704   $as_echo_n "(cached) " >&6
9705 else
9706   lt_cv_prog_compiler__b=no
9707    save_LDFLAGS="$LDFLAGS"
9708    LDFLAGS="$LDFLAGS -b"
9709    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9710    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9711      # The linker can only warn and ignore the option if not recognized
9712      # So say no if there are warnings
9713      if test -s conftest.err; then
9714        # Append any errors to the config.log.
9715        cat conftest.err 1>&5
9716        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9717        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9718        if diff conftest.exp conftest.er2 >/dev/null; then
9719          lt_cv_prog_compiler__b=yes
9720        fi
9721      else
9722        lt_cv_prog_compiler__b=yes
9723      fi
9724    fi
9725    $RM -r conftest*
9726    LDFLAGS="$save_LDFLAGS"
9727
9728 fi
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9730 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9731
9732 if test x"$lt_cv_prog_compiler__b" = xyes; then
9733     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9734 else
9735     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9736 fi
9737
9738           ;;
9739         esac
9740       fi
9741       if test "$with_gnu_ld" = no; then
9742         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9743         hardcode_libdir_separator=:
9744
9745         case $host_cpu in
9746         hppa*64*|ia64*)
9747           hardcode_direct=no
9748           hardcode_shlibpath_var=no
9749           ;;
9750         *)
9751           hardcode_direct=yes
9752           hardcode_direct_absolute=yes
9753           export_dynamic_flag_spec='${wl}-E'
9754
9755           # hardcode_minus_L: Not really in the search PATH,
9756           # but as the default location of the library.
9757           hardcode_minus_L=yes
9758           ;;
9759         esac
9760       fi
9761       ;;
9762
9763     irix5* | irix6* | nonstopux*)
9764       if test "$GCC" = yes; then
9765         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'
9766         # Try to use the -exported_symbol ld option, if it does not
9767         # work, assume that -exports_file does not work either and
9768         # implicitly export all symbols.
9769         # This should be the same for all languages, so no per-tag cache variable.
9770         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9771 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9772 if ${lt_cv_irix_exported_symbol+:} false; then :
9773   $as_echo_n "(cached) " >&6
9774 else
9775   save_LDFLAGS="$LDFLAGS"
9776            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9777            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h.  */
9779 int foo (void) { return 0; }
9780 _ACEOF
9781 if ac_fn_c_try_link "$LINENO"; then :
9782   lt_cv_irix_exported_symbol=yes
9783 else
9784   lt_cv_irix_exported_symbol=no
9785 fi
9786 rm -f core conftest.err conftest.$ac_objext \
9787     conftest$ac_exeext conftest.$ac_ext
9788            LDFLAGS="$save_LDFLAGS"
9789 fi
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9791 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9792         if test "$lt_cv_irix_exported_symbol" = yes; then
9793           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'
9794         fi
9795       else
9796         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'
9797         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'
9798       fi
9799       archive_cmds_need_lc='no'
9800       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9801       hardcode_libdir_separator=:
9802       inherit_rpath=yes
9803       link_all_deplibs=yes
9804       ;;
9805
9806     netbsd* | netbsdelf*-gnu)
9807       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9808         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9809       else
9810         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9811       fi
9812       hardcode_libdir_flag_spec='-R$libdir'
9813       hardcode_direct=yes
9814       hardcode_shlibpath_var=no
9815       ;;
9816
9817     newsos6)
9818       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9819       hardcode_direct=yes
9820       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9821       hardcode_libdir_separator=:
9822       hardcode_shlibpath_var=no
9823       ;;
9824
9825     *nto* | *qnx*)
9826       ;;
9827
9828     openbsd*)
9829       if test -f /usr/libexec/ld.so; then
9830         hardcode_direct=yes
9831         hardcode_shlibpath_var=no
9832         hardcode_direct_absolute=yes
9833         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9834           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9835           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9836           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9837           export_dynamic_flag_spec='${wl}-E'
9838         else
9839           case $host_os in
9840            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9841              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9842              hardcode_libdir_flag_spec='-R$libdir'
9843              ;;
9844            *)
9845              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9846              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9847              ;;
9848           esac
9849         fi
9850       else
9851         ld_shlibs=no
9852       fi
9853       ;;
9854
9855     os2*)
9856       hardcode_libdir_flag_spec='-L$libdir'
9857       hardcode_minus_L=yes
9858       allow_undefined_flag=unsupported
9859       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'
9860       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9861       ;;
9862
9863     osf3*)
9864       if test "$GCC" = yes; then
9865         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9866         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'
9867       else
9868         allow_undefined_flag=' -expect_unresolved \*'
9869         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'
9870       fi
9871       archive_cmds_need_lc='no'
9872       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9873       hardcode_libdir_separator=:
9874       ;;
9875
9876     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9877       if test "$GCC" = yes; then
9878         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9879         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'
9880         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9881       else
9882         allow_undefined_flag=' -expect_unresolved \*'
9883         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'
9884         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~
9885         $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'
9886
9887         # Both c and cxx compiler support -rpath directly
9888         hardcode_libdir_flag_spec='-rpath $libdir'
9889       fi
9890       archive_cmds_need_lc='no'
9891       hardcode_libdir_separator=:
9892       ;;
9893
9894     solaris*)
9895       no_undefined_flag=' -z defs'
9896       if test "$GCC" = yes; then
9897         wlarc='${wl}'
9898         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9899         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9900           $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'
9901       else
9902         case `$CC -V 2>&1` in
9903         *"Compilers 5.0"*)
9904           wlarc=''
9905           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9906           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9907           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9908           ;;
9909         *)
9910           wlarc='${wl}'
9911           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9912           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9913           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9914           ;;
9915         esac
9916       fi
9917       hardcode_libdir_flag_spec='-R$libdir'
9918       hardcode_shlibpath_var=no
9919       case $host_os in
9920       solaris2.[0-5] | solaris2.[0-5].*) ;;
9921       *)
9922         # The compiler driver will combine and reorder linker options,
9923         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9924         # but is careful enough not to reorder.
9925         # Supported since Solaris 2.6 (maybe 2.5.1?)
9926         if test "$GCC" = yes; then
9927           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9928         else
9929           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9930         fi
9931         ;;
9932       esac
9933       link_all_deplibs=yes
9934       ;;
9935
9936     sunos4*)
9937       if test "x$host_vendor" = xsequent; then
9938         # Use $CC to link under sequent, because it throws in some extra .o
9939         # files that make .init and .fini sections work.
9940         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9941       else
9942         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9943       fi
9944       hardcode_libdir_flag_spec='-L$libdir'
9945       hardcode_direct=yes
9946       hardcode_minus_L=yes
9947       hardcode_shlibpath_var=no
9948       ;;
9949
9950     sysv4)
9951       case $host_vendor in
9952         sni)
9953           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9954           hardcode_direct=yes # is this really true???
9955         ;;
9956         siemens)
9957           ## LD is ld it makes a PLAMLIB
9958           ## CC just makes a GrossModule.
9959           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9960           reload_cmds='$CC -r -o $output$reload_objs'
9961           hardcode_direct=no
9962         ;;
9963         motorola)
9964           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9965           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9966         ;;
9967       esac
9968       runpath_var='LD_RUN_PATH'
9969       hardcode_shlibpath_var=no
9970       ;;
9971
9972     sysv4.3*)
9973       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9974       hardcode_shlibpath_var=no
9975       export_dynamic_flag_spec='-Bexport'
9976       ;;
9977
9978     sysv4*MP*)
9979       if test -d /usr/nec; then
9980         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9981         hardcode_shlibpath_var=no
9982         runpath_var=LD_RUN_PATH
9983         hardcode_runpath_var=yes
9984         ld_shlibs=yes
9985       fi
9986       ;;
9987
9988     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9989       no_undefined_flag='${wl}-z,text'
9990       archive_cmds_need_lc=no
9991       hardcode_shlibpath_var=no
9992       runpath_var='LD_RUN_PATH'
9993
9994       if test "$GCC" = yes; then
9995         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9996         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9997       else
9998         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9999         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10000       fi
10001       ;;
10002
10003     sysv5* | sco3.2v5* | sco5v6*)
10004       # Note: We can NOT use -z defs as we might desire, because we do not
10005       # link with -lc, and that would cause any symbols used from libc to
10006       # always be unresolved, which means just about no library would
10007       # ever link correctly.  If we're not using GNU ld we use -z text
10008       # though, which does catch some bad symbols but isn't as heavy-handed
10009       # as -z defs.
10010       no_undefined_flag='${wl}-z,text'
10011       allow_undefined_flag='${wl}-z,nodefs'
10012       archive_cmds_need_lc=no
10013       hardcode_shlibpath_var=no
10014       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10015       hardcode_libdir_separator=':'
10016       link_all_deplibs=yes
10017       export_dynamic_flag_spec='${wl}-Bexport'
10018       runpath_var='LD_RUN_PATH'
10019
10020       if test "$GCC" = yes; then
10021         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10022         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10023       else
10024         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10025         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10026       fi
10027       ;;
10028
10029     uts4*)
10030       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10031       hardcode_libdir_flag_spec='-L$libdir'
10032       hardcode_shlibpath_var=no
10033       ;;
10034
10035     *)
10036       ld_shlibs=no
10037       ;;
10038     esac
10039
10040     if test x$host_vendor = xsni; then
10041       case $host in
10042       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10043         export_dynamic_flag_spec='${wl}-Blargedynsym'
10044         ;;
10045       esac
10046     fi
10047   fi
10048
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10050 $as_echo "$ld_shlibs" >&6; }
10051 test "$ld_shlibs" = no && can_build_shared=no
10052
10053 with_gnu_ld=$with_gnu_ld
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069 #
10070 # Do we need to explicitly link libc?
10071 #
10072 case "x$archive_cmds_need_lc" in
10073 x|xyes)
10074   # Assume -lc should be added
10075   archive_cmds_need_lc=yes
10076
10077   if test "$enable_shared" = yes && test "$GCC" = yes; then
10078     case $archive_cmds in
10079     *'~'*)
10080       # FIXME: we may have to deal with multi-command sequences.
10081       ;;
10082     '$CC '*)
10083       # Test whether the compiler implicitly links with -lc since on some
10084       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10085       # to ld, don't add -lc before -lgcc.
10086       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10087 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10088 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10089   $as_echo_n "(cached) " >&6
10090 else
10091   $RM conftest*
10092         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10093
10094         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10095   (eval $ac_compile) 2>&5
10096   ac_status=$?
10097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10098   test $ac_status = 0; } 2>conftest.err; then
10099           soname=conftest
10100           lib=conftest
10101           libobjs=conftest.$ac_objext
10102           deplibs=
10103           wl=$lt_prog_compiler_wl
10104           pic_flag=$lt_prog_compiler_pic
10105           compiler_flags=-v
10106           linker_flags=-v
10107           verstring=
10108           output_objdir=.
10109           libname=conftest
10110           lt_save_allow_undefined_flag=$allow_undefined_flag
10111           allow_undefined_flag=
10112           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10113   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10114   ac_status=$?
10115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10116   test $ac_status = 0; }
10117           then
10118             lt_cv_archive_cmds_need_lc=no
10119           else
10120             lt_cv_archive_cmds_need_lc=yes
10121           fi
10122           allow_undefined_flag=$lt_save_allow_undefined_flag
10123         else
10124           cat conftest.err 1>&5
10125         fi
10126         $RM conftest*
10127
10128 fi
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10130 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10131       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10132       ;;
10133     esac
10134   fi
10135   ;;
10136 esac
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
10283
10284
10285
10286
10287
10288
10289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10290 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10291
10292 if test "$GCC" = yes; then
10293   case $host_os in
10294     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10295     *) lt_awk_arg="/^libraries:/" ;;
10296   esac
10297   case $host_os in
10298     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10299     *) lt_sed_strip_eq="s,=/,/,g" ;;
10300   esac
10301   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10302   case $lt_search_path_spec in
10303   *\;*)
10304     # if the path contains ";" then we assume it to be the separator
10305     # otherwise default to the standard path separator (i.e. ":") - it is
10306     # assumed that no part of a normal pathname contains ";" but that should
10307     # okay in the real world where ";" in dirpaths is itself problematic.
10308     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10309     ;;
10310   *)
10311     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10312     ;;
10313   esac
10314   # Ok, now we have the path, separated by spaces, we can step through it
10315   # and add multilib dir if necessary.
10316   lt_tmp_lt_search_path_spec=
10317   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10318   for lt_sys_path in $lt_search_path_spec; do
10319     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10320       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10321     else
10322       test -d "$lt_sys_path" && \
10323         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10324     fi
10325   done
10326   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10327 BEGIN {RS=" "; FS="/|\n";} {
10328   lt_foo="";
10329   lt_count=0;
10330   for (lt_i = NF; lt_i > 0; lt_i--) {
10331     if ($lt_i != "" && $lt_i != ".") {
10332       if ($lt_i == "..") {
10333         lt_count++;
10334       } else {
10335         if (lt_count == 0) {
10336           lt_foo="/" $lt_i lt_foo;
10337         } else {
10338           lt_count--;
10339         }
10340       }
10341     }
10342   }
10343   if (lt_foo != "") { lt_freq[lt_foo]++; }
10344   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10345 }'`
10346   # AWK program above erroneously prepends '/' to C:/dos/paths
10347   # for these hosts.
10348   case $host_os in
10349     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10350       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10351   esac
10352   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10353 else
10354   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10355 fi
10356 library_names_spec=
10357 libname_spec='lib$name'
10358 soname_spec=
10359 shrext_cmds=".so"
10360 postinstall_cmds=
10361 postuninstall_cmds=
10362 finish_cmds=
10363 finish_eval=
10364 shlibpath_var=
10365 shlibpath_overrides_runpath=unknown
10366 version_type=none
10367 dynamic_linker="$host_os ld.so"
10368 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10369 need_lib_prefix=unknown
10370 hardcode_into_libs=no
10371
10372 # when you set need_version to no, make sure it does not cause -set_version
10373 # flags to be left without arguments
10374 need_version=unknown
10375
10376 case $host_os in
10377 aix3*)
10378   version_type=linux # correct to gnu/linux during the next big refactor
10379   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10380   shlibpath_var=LIBPATH
10381
10382   # AIX 3 has no versioning support, so we append a major version to the name.
10383   soname_spec='${libname}${release}${shared_ext}$major'
10384   ;;
10385
10386 aix[4-9]*)
10387   version_type=linux # correct to gnu/linux during the next big refactor
10388   need_lib_prefix=no
10389   need_version=no
10390   hardcode_into_libs=yes
10391   if test "$host_cpu" = ia64; then
10392     # AIX 5 supports IA64
10393     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10394     shlibpath_var=LD_LIBRARY_PATH
10395   else
10396     # With GCC up to 2.95.x, collect2 would create an import file
10397     # for dependence libraries.  The import file would start with
10398     # the line `#! .'.  This would cause the generated library to
10399     # depend on `.', always an invalid library.  This was fixed in
10400     # development snapshots of GCC prior to 3.0.
10401     case $host_os in
10402       aix4 | aix4.[01] | aix4.[01].*)
10403       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10404            echo ' yes '
10405            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10406         :
10407       else
10408         can_build_shared=no
10409       fi
10410       ;;
10411     esac
10412     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10413     # soname into executable. Probably we can add versioning support to
10414     # collect2, so additional links can be useful in future.
10415     if test "$aix_use_runtimelinking" = yes; then
10416       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10417       # instead of lib<name>.a to let people know that these are not
10418       # typical AIX shared libraries.
10419       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10420     else
10421       # We preserve .a as extension for shared libraries through AIX4.2
10422       # and later when we are not doing run time linking.
10423       library_names_spec='${libname}${release}.a $libname.a'
10424       soname_spec='${libname}${release}${shared_ext}$major'
10425     fi
10426     shlibpath_var=LIBPATH
10427   fi
10428   ;;
10429
10430 amigaos*)
10431   case $host_cpu in
10432   powerpc)
10433     # Since July 2007 AmigaOS4 officially supports .so libraries.
10434     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10435     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436     ;;
10437   m68k)
10438     library_names_spec='$libname.ixlibrary $libname.a'
10439     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10440     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'
10441     ;;
10442   esac
10443   ;;
10444
10445 beos*)
10446   library_names_spec='${libname}${shared_ext}'
10447   dynamic_linker="$host_os ld.so"
10448   shlibpath_var=LIBRARY_PATH
10449   ;;
10450
10451 bsdi[45]*)
10452   version_type=linux # correct to gnu/linux during the next big refactor
10453   need_version=no
10454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10455   soname_spec='${libname}${release}${shared_ext}$major'
10456   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10457   shlibpath_var=LD_LIBRARY_PATH
10458   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10459   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10460   # the default ld.so.conf also contains /usr/contrib/lib and
10461   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10462   # libtool to hard-code these into programs
10463   ;;
10464
10465 cygwin* | mingw* | pw32* | cegcc*)
10466   version_type=windows
10467   shrext_cmds=".dll"
10468   need_version=no
10469   need_lib_prefix=no
10470
10471   case $GCC,$cc_basename in
10472   yes,*)
10473     # gcc
10474     library_names_spec='$libname.dll.a'
10475     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10476     postinstall_cmds='base_file=`basename \${file}`~
10477       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10478       dldir=$destdir/`dirname \$dlpath`~
10479       test -d \$dldir || mkdir -p \$dldir~
10480       $install_prog $dir/$dlname \$dldir/$dlname~
10481       chmod a+x \$dldir/$dlname~
10482       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10483         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10484       fi'
10485     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10486       dlpath=$dir/\$dldll~
10487        $RM \$dlpath'
10488     shlibpath_overrides_runpath=yes
10489
10490     case $host_os in
10491     cygwin*)
10492       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10493       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10494
10495       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10496       ;;
10497     mingw* | cegcc*)
10498       # MinGW DLLs use traditional 'lib' prefix
10499       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10500       ;;
10501     pw32*)
10502       # pw32 DLLs use 'pw' prefix rather than 'lib'
10503       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10504       ;;
10505     esac
10506     dynamic_linker='Win32 ld.exe'
10507     ;;
10508
10509   *,cl*)
10510     # Native MSVC
10511     libname_spec='$name'
10512     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10513     library_names_spec='${libname}.dll.lib'
10514
10515     case $build_os in
10516     mingw*)
10517       sys_lib_search_path_spec=
10518       lt_save_ifs=$IFS
10519       IFS=';'
10520       for lt_path in $LIB
10521       do
10522         IFS=$lt_save_ifs
10523         # Let DOS variable expansion print the short 8.3 style file name.
10524         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10525         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10526       done
10527       IFS=$lt_save_ifs
10528       # Convert to MSYS style.
10529       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10530       ;;
10531     cygwin*)
10532       # Convert to unix form, then to dos form, then back to unix form
10533       # but this time dos style (no spaces!) so that the unix form looks
10534       # like /cygdrive/c/PROGRA~1:/cygdr...
10535       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10536       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10537       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10538       ;;
10539     *)
10540       sys_lib_search_path_spec="$LIB"
10541       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10542         # It is most probably a Windows format PATH.
10543         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10544       else
10545         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10546       fi
10547       # FIXME: find the short name or the path components, as spaces are
10548       # common. (e.g. "Program Files" -> "PROGRA~1")
10549       ;;
10550     esac
10551
10552     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10553     postinstall_cmds='base_file=`basename \${file}`~
10554       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10555       dldir=$destdir/`dirname \$dlpath`~
10556       test -d \$dldir || mkdir -p \$dldir~
10557       $install_prog $dir/$dlname \$dldir/$dlname'
10558     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559       dlpath=$dir/\$dldll~
10560        $RM \$dlpath'
10561     shlibpath_overrides_runpath=yes
10562     dynamic_linker='Win32 link.exe'
10563     ;;
10564
10565   *)
10566     # Assume MSVC wrapper
10567     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10568     dynamic_linker='Win32 ld.exe'
10569     ;;
10570   esac
10571   # FIXME: first we should search . and the directory the executable is in
10572   shlibpath_var=PATH
10573   ;;
10574
10575 darwin* | rhapsody*)
10576   dynamic_linker="$host_os dyld"
10577   version_type=darwin
10578   need_lib_prefix=no
10579   need_version=no
10580   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10581   soname_spec='${libname}${release}${major}$shared_ext'
10582   shlibpath_overrides_runpath=yes
10583   shlibpath_var=DYLD_LIBRARY_PATH
10584   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10585
10586   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10587   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10588   ;;
10589
10590 dgux*)
10591   version_type=linux # correct to gnu/linux during the next big refactor
10592   need_lib_prefix=no
10593   need_version=no
10594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10595   soname_spec='${libname}${release}${shared_ext}$major'
10596   shlibpath_var=LD_LIBRARY_PATH
10597   ;;
10598
10599 freebsd* | dragonfly*)
10600   # DragonFly does not have aout.  When/if they implement a new
10601   # versioning mechanism, adjust this.
10602   if test -x /usr/bin/objformat; then
10603     objformat=`/usr/bin/objformat`
10604   else
10605     case $host_os in
10606     freebsd[23].*) objformat=aout ;;
10607     *) objformat=elf ;;
10608     esac
10609   fi
10610   version_type=freebsd-$objformat
10611   case $version_type in
10612     freebsd-elf*)
10613       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10614       need_version=no
10615       need_lib_prefix=no
10616       ;;
10617     freebsd-*)
10618       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10619       need_version=yes
10620       ;;
10621   esac
10622   shlibpath_var=LD_LIBRARY_PATH
10623   case $host_os in
10624   freebsd2.*)
10625     shlibpath_overrides_runpath=yes
10626     ;;
10627   freebsd3.[01]* | freebsdelf3.[01]*)
10628     shlibpath_overrides_runpath=yes
10629     hardcode_into_libs=yes
10630     ;;
10631   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10632   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10633     shlibpath_overrides_runpath=no
10634     hardcode_into_libs=yes
10635     ;;
10636   *) # from 4.6 on, and DragonFly
10637     shlibpath_overrides_runpath=yes
10638     hardcode_into_libs=yes
10639     ;;
10640   esac
10641   ;;
10642
10643 gnu*)
10644   version_type=linux # correct to gnu/linux during the next big refactor
10645   need_lib_prefix=no
10646   need_version=no
10647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10648   soname_spec='${libname}${release}${shared_ext}$major'
10649   shlibpath_var=LD_LIBRARY_PATH
10650   shlibpath_overrides_runpath=no
10651   hardcode_into_libs=yes
10652   ;;
10653
10654 haiku*)
10655   version_type=linux # correct to gnu/linux during the next big refactor
10656   need_lib_prefix=no
10657   need_version=no
10658   dynamic_linker="$host_os runtime_loader"
10659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10660   soname_spec='${libname}${release}${shared_ext}$major'
10661   shlibpath_var=LIBRARY_PATH
10662   shlibpath_overrides_runpath=yes
10663   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10664   hardcode_into_libs=yes
10665   ;;
10666
10667 hpux9* | hpux10* | hpux11*)
10668   # Give a soname corresponding to the major version so that dld.sl refuses to
10669   # link against other versions.
10670   version_type=sunos
10671   need_lib_prefix=no
10672   need_version=no
10673   case $host_cpu in
10674   ia64*)
10675     shrext_cmds='.so'
10676     hardcode_into_libs=yes
10677     dynamic_linker="$host_os dld.so"
10678     shlibpath_var=LD_LIBRARY_PATH
10679     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10680     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681     soname_spec='${libname}${release}${shared_ext}$major'
10682     if test "X$HPUX_IA64_MODE" = X32; then
10683       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10684     else
10685       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10686     fi
10687     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10688     ;;
10689   hppa*64*)
10690     shrext_cmds='.sl'
10691     hardcode_into_libs=yes
10692     dynamic_linker="$host_os dld.sl"
10693     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10694     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10695     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696     soname_spec='${libname}${release}${shared_ext}$major'
10697     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10698     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10699     ;;
10700   *)
10701     shrext_cmds='.sl'
10702     dynamic_linker="$host_os dld.sl"
10703     shlibpath_var=SHLIB_PATH
10704     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10705     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10706     soname_spec='${libname}${release}${shared_ext}$major'
10707     ;;
10708   esac
10709   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10710   postinstall_cmds='chmod 555 $lib'
10711   # or fails outright, so override atomically:
10712   install_override_mode=555
10713   ;;
10714
10715 interix[3-9]*)
10716   version_type=linux # correct to gnu/linux during the next big refactor
10717   need_lib_prefix=no
10718   need_version=no
10719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10720   soname_spec='${libname}${release}${shared_ext}$major'
10721   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10722   shlibpath_var=LD_LIBRARY_PATH
10723   shlibpath_overrides_runpath=no
10724   hardcode_into_libs=yes
10725   ;;
10726
10727 irix5* | irix6* | nonstopux*)
10728   case $host_os in
10729     nonstopux*) version_type=nonstopux ;;
10730     *)
10731         if test "$lt_cv_prog_gnu_ld" = yes; then
10732                 version_type=linux # correct to gnu/linux during the next big refactor
10733         else
10734                 version_type=irix
10735         fi ;;
10736   esac
10737   need_lib_prefix=no
10738   need_version=no
10739   soname_spec='${libname}${release}${shared_ext}$major'
10740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10741   case $host_os in
10742   irix5* | nonstopux*)
10743     libsuff= shlibsuff=
10744     ;;
10745   *)
10746     case $LD in # libtool.m4 will add one of these switches to LD
10747     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10748       libsuff= shlibsuff= libmagic=32-bit;;
10749     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10750       libsuff=32 shlibsuff=N32 libmagic=N32;;
10751     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10752       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10753     *) libsuff= shlibsuff= libmagic=never-match;;
10754     esac
10755     ;;
10756   esac
10757   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10758   shlibpath_overrides_runpath=no
10759   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10760   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10761   hardcode_into_libs=yes
10762   ;;
10763
10764 # No shared lib support for Linux oldld, aout, or coff.
10765 linux*oldld* | linux*aout* | linux*coff*)
10766   dynamic_linker=no
10767   ;;
10768
10769 # This must be glibc/ELF.
10770 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10771   version_type=linux # correct to gnu/linux during the next big refactor
10772   need_lib_prefix=no
10773   need_version=no
10774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775   soname_spec='${libname}${release}${shared_ext}$major'
10776   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10777   shlibpath_var=LD_LIBRARY_PATH
10778   shlibpath_overrides_runpath=no
10779
10780   # Some binutils ld are patched to set DT_RUNPATH
10781   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10782   $as_echo_n "(cached) " >&6
10783 else
10784   lt_cv_shlibpath_overrides_runpath=no
10785     save_LDFLAGS=$LDFLAGS
10786     save_libdir=$libdir
10787     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10788          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10789     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h.  */
10791
10792 int
10793 main ()
10794 {
10795
10796   ;
10797   return 0;
10798 }
10799 _ACEOF
10800 if ac_fn_c_try_link "$LINENO"; then :
10801   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10802   lt_cv_shlibpath_overrides_runpath=yes
10803 fi
10804 fi
10805 rm -f core conftest.err conftest.$ac_objext \
10806     conftest$ac_exeext conftest.$ac_ext
10807     LDFLAGS=$save_LDFLAGS
10808     libdir=$save_libdir
10809
10810 fi
10811
10812   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10813
10814   # This implies no fast_install, which is unacceptable.
10815   # Some rework will be needed to allow for fast_install
10816   # before this can be enabled.
10817   hardcode_into_libs=yes
10818
10819   # Append ld.so.conf contents to the search path
10820   if test -f /etc/ld.so.conf; then
10821     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' ' '`
10822     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10823   fi
10824
10825   # We used to test for /lib/ld.so.1 and disable shared libraries on
10826   # powerpc, because MkLinux only supported shared libraries with the
10827   # GNU dynamic linker.  Since this was broken with cross compilers,
10828   # most powerpc-linux boxes support dynamic linking these days and
10829   # people can always --disable-shared, the test was removed, and we
10830   # assume the GNU/Linux dynamic linker is in use.
10831   dynamic_linker='GNU/Linux ld.so'
10832   ;;
10833
10834 netbsdelf*-gnu)
10835   version_type=linux
10836   need_lib_prefix=no
10837   need_version=no
10838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10839   soname_spec='${libname}${release}${shared_ext}$major'
10840   shlibpath_var=LD_LIBRARY_PATH
10841   shlibpath_overrides_runpath=no
10842   hardcode_into_libs=yes
10843   dynamic_linker='NetBSD ld.elf_so'
10844   ;;
10845
10846 netbsd*)
10847   version_type=sunos
10848   need_lib_prefix=no
10849   need_version=no
10850   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10851     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10852     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10853     dynamic_linker='NetBSD (a.out) ld.so'
10854   else
10855     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10856     soname_spec='${libname}${release}${shared_ext}$major'
10857     dynamic_linker='NetBSD ld.elf_so'
10858   fi
10859   shlibpath_var=LD_LIBRARY_PATH
10860   shlibpath_overrides_runpath=yes
10861   hardcode_into_libs=yes
10862   ;;
10863
10864 newsos6)
10865   version_type=linux # correct to gnu/linux during the next big refactor
10866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867   shlibpath_var=LD_LIBRARY_PATH
10868   shlibpath_overrides_runpath=yes
10869   ;;
10870
10871 *nto* | *qnx*)
10872   version_type=qnx
10873   need_lib_prefix=no
10874   need_version=no
10875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876   soname_spec='${libname}${release}${shared_ext}$major'
10877   shlibpath_var=LD_LIBRARY_PATH
10878   shlibpath_overrides_runpath=no
10879   hardcode_into_libs=yes
10880   dynamic_linker='ldqnx.so'
10881   ;;
10882
10883 openbsd*)
10884   version_type=sunos
10885   sys_lib_dlsearch_path_spec="/usr/lib"
10886   need_lib_prefix=no
10887   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10888   case $host_os in
10889     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10890     *)                          need_version=no  ;;
10891   esac
10892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10893   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10894   shlibpath_var=LD_LIBRARY_PATH
10895   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10896     case $host_os in
10897       openbsd2.[89] | openbsd2.[89].*)
10898         shlibpath_overrides_runpath=no
10899         ;;
10900       *)
10901         shlibpath_overrides_runpath=yes
10902         ;;
10903       esac
10904   else
10905     shlibpath_overrides_runpath=yes
10906   fi
10907   ;;
10908
10909 os2*)
10910   libname_spec='$name'
10911   shrext_cmds=".dll"
10912   need_lib_prefix=no
10913   library_names_spec='$libname${shared_ext} $libname.a'
10914   dynamic_linker='OS/2 ld.exe'
10915   shlibpath_var=LIBPATH
10916   ;;
10917
10918 osf3* | osf4* | osf5*)
10919   version_type=osf
10920   need_lib_prefix=no
10921   need_version=no
10922   soname_spec='${libname}${release}${shared_ext}$major'
10923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924   shlibpath_var=LD_LIBRARY_PATH
10925   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10926   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10927   ;;
10928
10929 rdos*)
10930   dynamic_linker=no
10931   ;;
10932
10933 solaris*)
10934   version_type=linux # correct to gnu/linux during the next big refactor
10935   need_lib_prefix=no
10936   need_version=no
10937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938   soname_spec='${libname}${release}${shared_ext}$major'
10939   shlibpath_var=LD_LIBRARY_PATH
10940   shlibpath_overrides_runpath=yes
10941   hardcode_into_libs=yes
10942   # ldd complains unless libraries are executable
10943   postinstall_cmds='chmod +x $lib'
10944   ;;
10945
10946 sunos4*)
10947   version_type=sunos
10948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10950   shlibpath_var=LD_LIBRARY_PATH
10951   shlibpath_overrides_runpath=yes
10952   if test "$with_gnu_ld" = yes; then
10953     need_lib_prefix=no
10954   fi
10955   need_version=yes
10956   ;;
10957
10958 sysv4 | sysv4.3*)
10959   version_type=linux # correct to gnu/linux during the next big refactor
10960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961   soname_spec='${libname}${release}${shared_ext}$major'
10962   shlibpath_var=LD_LIBRARY_PATH
10963   case $host_vendor in
10964     sni)
10965       shlibpath_overrides_runpath=no
10966       need_lib_prefix=no
10967       runpath_var=LD_RUN_PATH
10968       ;;
10969     siemens)
10970       need_lib_prefix=no
10971       ;;
10972     motorola)
10973       need_lib_prefix=no
10974       need_version=no
10975       shlibpath_overrides_runpath=no
10976       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10977       ;;
10978   esac
10979   ;;
10980
10981 sysv4*MP*)
10982   if test -d /usr/nec ;then
10983     version_type=linux # correct to gnu/linux during the next big refactor
10984     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10985     soname_spec='$libname${shared_ext}.$major'
10986     shlibpath_var=LD_LIBRARY_PATH
10987   fi
10988   ;;
10989
10990 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10991   version_type=freebsd-elf
10992   need_lib_prefix=no
10993   need_version=no
10994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10995   soname_spec='${libname}${release}${shared_ext}$major'
10996   shlibpath_var=LD_LIBRARY_PATH
10997   shlibpath_overrides_runpath=yes
10998   hardcode_into_libs=yes
10999   if test "$with_gnu_ld" = yes; then
11000     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11001   else
11002     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11003     case $host_os in
11004       sco3.2v5*)
11005         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11006         ;;
11007     esac
11008   fi
11009   sys_lib_dlsearch_path_spec='/usr/lib'
11010   ;;
11011
11012 tpf*)
11013   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11014   version_type=linux # correct to gnu/linux during the next big refactor
11015   need_lib_prefix=no
11016   need_version=no
11017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11018   shlibpath_var=LD_LIBRARY_PATH
11019   shlibpath_overrides_runpath=no
11020   hardcode_into_libs=yes
11021   ;;
11022
11023 uts4*)
11024   version_type=linux # correct to gnu/linux during the next big refactor
11025   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026   soname_spec='${libname}${release}${shared_ext}$major'
11027   shlibpath_var=LD_LIBRARY_PATH
11028   ;;
11029
11030 *)
11031   dynamic_linker=no
11032   ;;
11033 esac
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11035 $as_echo "$dynamic_linker" >&6; }
11036 test "$dynamic_linker" = no && can_build_shared=no
11037
11038 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11039 if test "$GCC" = yes; then
11040   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11041 fi
11042
11043 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11044   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11045 fi
11046 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11047   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11048 fi
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
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11142 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11143 hardcode_action=
11144 if test -n "$hardcode_libdir_flag_spec" ||
11145    test -n "$runpath_var" ||
11146    test "X$hardcode_automatic" = "Xyes" ; then
11147
11148   # We can hardcode non-existent directories.
11149   if test "$hardcode_direct" != no &&
11150      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11151      # have to relink, otherwise we might link with an installed library
11152      # when we should be linking with a yet-to-be-installed one
11153      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11154      test "$hardcode_minus_L" != no; then
11155     # Linking always hardcodes the temporary library directory.
11156     hardcode_action=relink
11157   else
11158     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11159     hardcode_action=immediate
11160   fi
11161 else
11162   # We cannot hardcode anything, or else we can only hardcode existing
11163   # directories.
11164   hardcode_action=unsupported
11165 fi
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11167 $as_echo "$hardcode_action" >&6; }
11168
11169 if test "$hardcode_action" = relink ||
11170    test "$inherit_rpath" = yes; then
11171   # Fast installation is not supported
11172   enable_fast_install=no
11173 elif test "$shlibpath_overrides_runpath" = yes ||
11174      test "$enable_shared" = no; then
11175   # Fast installation is not necessary
11176   enable_fast_install=needless
11177 fi
11178
11179
11180
11181
11182
11183
11184   if test "x$enable_dlopen" != xyes; then
11185   enable_dlopen=unknown
11186   enable_dlopen_self=unknown
11187   enable_dlopen_self_static=unknown
11188 else
11189   lt_cv_dlopen=no
11190   lt_cv_dlopen_libs=
11191
11192   case $host_os in
11193   beos*)
11194     lt_cv_dlopen="load_add_on"
11195     lt_cv_dlopen_libs=
11196     lt_cv_dlopen_self=yes
11197     ;;
11198
11199   mingw* | pw32* | cegcc*)
11200     lt_cv_dlopen="LoadLibrary"
11201     lt_cv_dlopen_libs=
11202     ;;
11203
11204   cygwin*)
11205     lt_cv_dlopen="dlopen"
11206     lt_cv_dlopen_libs=
11207     ;;
11208
11209   darwin*)
11210   # if libdl is installed we need to link against it
11211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11212 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11213 if ${ac_cv_lib_dl_dlopen+:} false; then :
11214   $as_echo_n "(cached) " >&6
11215 else
11216   ac_check_lib_save_LIBS=$LIBS
11217 LIBS="-ldl  $LIBS"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h.  */
11220
11221 /* Override any GCC internal prototype to avoid an error.
11222    Use char because int might match the return type of a GCC
11223    builtin and then its argument prototype would still apply.  */
11224 #ifdef __cplusplus
11225 extern "C"
11226 #endif
11227 char dlopen ();
11228 int
11229 main ()
11230 {
11231 return dlopen ();
11232   ;
11233   return 0;
11234 }
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"; then :
11237   ac_cv_lib_dl_dlopen=yes
11238 else
11239   ac_cv_lib_dl_dlopen=no
11240 fi
11241 rm -f core conftest.err conftest.$ac_objext \
11242     conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11244 fi
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11246 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11247 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11248   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11249 else
11250
11251     lt_cv_dlopen="dyld"
11252     lt_cv_dlopen_libs=
11253     lt_cv_dlopen_self=yes
11254
11255 fi
11256
11257     ;;
11258
11259   *)
11260     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11261 if test "x$ac_cv_func_shl_load" = xyes; then :
11262   lt_cv_dlopen="shl_load"
11263 else
11264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11265 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11266 if ${ac_cv_lib_dld_shl_load+:} false; then :
11267   $as_echo_n "(cached) " >&6
11268 else
11269   ac_check_lib_save_LIBS=$LIBS
11270 LIBS="-ldld  $LIBS"
11271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h.  */
11273
11274 /* Override any GCC internal prototype to avoid an error.
11275    Use char because int might match the return type of a GCC
11276    builtin and then its argument prototype would still apply.  */
11277 #ifdef __cplusplus
11278 extern "C"
11279 #endif
11280 char shl_load ();
11281 int
11282 main ()
11283 {
11284 return shl_load ();
11285   ;
11286   return 0;
11287 }
11288 _ACEOF
11289 if ac_fn_c_try_link "$LINENO"; then :
11290   ac_cv_lib_dld_shl_load=yes
11291 else
11292   ac_cv_lib_dld_shl_load=no
11293 fi
11294 rm -f core conftest.err conftest.$ac_objext \
11295     conftest$ac_exeext conftest.$ac_ext
11296 LIBS=$ac_check_lib_save_LIBS
11297 fi
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11299 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11300 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11301   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11302 else
11303   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11304 if test "x$ac_cv_func_dlopen" = xyes; then :
11305   lt_cv_dlopen="dlopen"
11306 else
11307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11308 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11309 if ${ac_cv_lib_dl_dlopen+:} false; then :
11310   $as_echo_n "(cached) " >&6
11311 else
11312   ac_check_lib_save_LIBS=$LIBS
11313 LIBS="-ldl  $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h.  */
11316
11317 /* Override any GCC internal prototype to avoid an error.
11318    Use char because int might match the return type of a GCC
11319    builtin and then its argument prototype would still apply.  */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char dlopen ();
11324 int
11325 main ()
11326 {
11327 return dlopen ();
11328   ;
11329   return 0;
11330 }
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333   ac_cv_lib_dl_dlopen=yes
11334 else
11335   ac_cv_lib_dl_dlopen=no
11336 fi
11337 rm -f core conftest.err conftest.$ac_objext \
11338     conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11340 fi
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11342 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11343 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11344   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11345 else
11346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11347 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11348 if ${ac_cv_lib_svld_dlopen+:} false; then :
11349   $as_echo_n "(cached) " >&6
11350 else
11351   ac_check_lib_save_LIBS=$LIBS
11352 LIBS="-lsvld  $LIBS"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h.  */
11355
11356 /* Override any GCC internal prototype to avoid an error.
11357    Use char because int might match the return type of a GCC
11358    builtin and then its argument prototype would still apply.  */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11363 int
11364 main ()
11365 {
11366 return dlopen ();
11367   ;
11368   return 0;
11369 }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372   ac_cv_lib_svld_dlopen=yes
11373 else
11374   ac_cv_lib_svld_dlopen=no
11375 fi
11376 rm -f core conftest.err conftest.$ac_objext \
11377     conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11381 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11382 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11383   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11384 else
11385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11386 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11387 if ${ac_cv_lib_dld_dld_link+:} false; then :
11388   $as_echo_n "(cached) " >&6
11389 else
11390   ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-ldld  $LIBS"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h.  */
11394
11395 /* Override any GCC internal prototype to avoid an error.
11396    Use char because int might match the return type of a GCC
11397    builtin and then its argument prototype would still apply.  */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char dld_link ();
11402 int
11403 main ()
11404 {
11405 return dld_link ();
11406   ;
11407   return 0;
11408 }
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411   ac_cv_lib_dld_dld_link=yes
11412 else
11413   ac_cv_lib_dld_dld_link=no
11414 fi
11415 rm -f core conftest.err conftest.$ac_objext \
11416     conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11418 fi
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11420 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11421 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11422   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11423 fi
11424
11425
11426 fi
11427
11428
11429 fi
11430
11431
11432 fi
11433
11434
11435 fi
11436
11437
11438 fi
11439
11440     ;;
11441   esac
11442
11443   if test "x$lt_cv_dlopen" != xno; then
11444     enable_dlopen=yes
11445   else
11446     enable_dlopen=no
11447   fi
11448
11449   case $lt_cv_dlopen in
11450   dlopen)
11451     save_CPPFLAGS="$CPPFLAGS"
11452     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11453
11454     save_LDFLAGS="$LDFLAGS"
11455     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11456
11457     save_LIBS="$LIBS"
11458     LIBS="$lt_cv_dlopen_libs $LIBS"
11459
11460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11461 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11462 if ${lt_cv_dlopen_self+:} false; then :
11463   $as_echo_n "(cached) " >&6
11464 else
11465           if test "$cross_compiling" = yes; then :
11466   lt_cv_dlopen_self=cross
11467 else
11468   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11469   lt_status=$lt_dlunknown
11470   cat > conftest.$ac_ext <<_LT_EOF
11471 #line $LINENO "configure"
11472 #include "confdefs.h"
11473
11474 #if HAVE_DLFCN_H
11475 #include <dlfcn.h>
11476 #endif
11477
11478 #include <stdio.h>
11479
11480 #ifdef RTLD_GLOBAL
11481 #  define LT_DLGLOBAL           RTLD_GLOBAL
11482 #else
11483 #  ifdef DL_GLOBAL
11484 #    define LT_DLGLOBAL         DL_GLOBAL
11485 #  else
11486 #    define LT_DLGLOBAL         0
11487 #  endif
11488 #endif
11489
11490 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11491    find out it does not work in some platform. */
11492 #ifndef LT_DLLAZY_OR_NOW
11493 #  ifdef RTLD_LAZY
11494 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11495 #  else
11496 #    ifdef DL_LAZY
11497 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11498 #    else
11499 #      ifdef RTLD_NOW
11500 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11501 #      else
11502 #        ifdef DL_NOW
11503 #          define LT_DLLAZY_OR_NOW      DL_NOW
11504 #        else
11505 #          define LT_DLLAZY_OR_NOW      0
11506 #        endif
11507 #      endif
11508 #    endif
11509 #  endif
11510 #endif
11511
11512 /* When -fvisbility=hidden is used, assume the code has been annotated
11513    correspondingly for the symbols needed.  */
11514 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11515 int fnord () __attribute__((visibility("default")));
11516 #endif
11517
11518 int fnord () { return 42; }
11519 int main ()
11520 {
11521   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11522   int status = $lt_dlunknown;
11523
11524   if (self)
11525     {
11526       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11527       else
11528         {
11529           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11530           else puts (dlerror ());
11531         }
11532       /* dlclose (self); */
11533     }
11534   else
11535     puts (dlerror ());
11536
11537   return status;
11538 }
11539 _LT_EOF
11540   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11541   (eval $ac_link) 2>&5
11542   ac_status=$?
11543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11544   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11545     (./conftest; exit; ) >&5 2>/dev/null
11546     lt_status=$?
11547     case x$lt_status in
11548       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11549       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11550       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11551     esac
11552   else :
11553     # compilation failed
11554     lt_cv_dlopen_self=no
11555   fi
11556 fi
11557 rm -fr conftest*
11558
11559
11560 fi
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11562 $as_echo "$lt_cv_dlopen_self" >&6; }
11563
11564     if test "x$lt_cv_dlopen_self" = xyes; then
11565       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11566       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11567 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11568 if ${lt_cv_dlopen_self_static+:} false; then :
11569   $as_echo_n "(cached) " >&6
11570 else
11571           if test "$cross_compiling" = yes; then :
11572   lt_cv_dlopen_self_static=cross
11573 else
11574   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11575   lt_status=$lt_dlunknown
11576   cat > conftest.$ac_ext <<_LT_EOF
11577 #line $LINENO "configure"
11578 #include "confdefs.h"
11579
11580 #if HAVE_DLFCN_H
11581 #include <dlfcn.h>
11582 #endif
11583
11584 #include <stdio.h>
11585
11586 #ifdef RTLD_GLOBAL
11587 #  define LT_DLGLOBAL           RTLD_GLOBAL
11588 #else
11589 #  ifdef DL_GLOBAL
11590 #    define LT_DLGLOBAL         DL_GLOBAL
11591 #  else
11592 #    define LT_DLGLOBAL         0
11593 #  endif
11594 #endif
11595
11596 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11597    find out it does not work in some platform. */
11598 #ifndef LT_DLLAZY_OR_NOW
11599 #  ifdef RTLD_LAZY
11600 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11601 #  else
11602 #    ifdef DL_LAZY
11603 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11604 #    else
11605 #      ifdef RTLD_NOW
11606 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11607 #      else
11608 #        ifdef DL_NOW
11609 #          define LT_DLLAZY_OR_NOW      DL_NOW
11610 #        else
11611 #          define LT_DLLAZY_OR_NOW      0
11612 #        endif
11613 #      endif
11614 #    endif
11615 #  endif
11616 #endif
11617
11618 /* When -fvisbility=hidden is used, assume the code has been annotated
11619    correspondingly for the symbols needed.  */
11620 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11621 int fnord () __attribute__((visibility("default")));
11622 #endif
11623
11624 int fnord () { return 42; }
11625 int main ()
11626 {
11627   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11628   int status = $lt_dlunknown;
11629
11630   if (self)
11631     {
11632       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11633       else
11634         {
11635           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11636           else puts (dlerror ());
11637         }
11638       /* dlclose (self); */
11639     }
11640   else
11641     puts (dlerror ());
11642
11643   return status;
11644 }
11645 _LT_EOF
11646   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11647   (eval $ac_link) 2>&5
11648   ac_status=$?
11649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11650   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11651     (./conftest; exit; ) >&5 2>/dev/null
11652     lt_status=$?
11653     case x$lt_status in
11654       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11655       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11656       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11657     esac
11658   else :
11659     # compilation failed
11660     lt_cv_dlopen_self_static=no
11661   fi
11662 fi
11663 rm -fr conftest*
11664
11665
11666 fi
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11668 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11669     fi
11670
11671     CPPFLAGS="$save_CPPFLAGS"
11672     LDFLAGS="$save_LDFLAGS"
11673     LIBS="$save_LIBS"
11674     ;;
11675   esac
11676
11677   case $lt_cv_dlopen_self in
11678   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11679   *) enable_dlopen_self=unknown ;;
11680   esac
11681
11682   case $lt_cv_dlopen_self_static in
11683   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11684   *) enable_dlopen_self_static=unknown ;;
11685   esac
11686 fi
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704 striplib=
11705 old_striplib=
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11707 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11708 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11709   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11710   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11712 $as_echo "yes" >&6; }
11713 else
11714 # FIXME - insert some real tests, host_os isn't really good enough
11715   case $host_os in
11716   darwin*)
11717     if test -n "$STRIP" ; then
11718       striplib="$STRIP -x"
11719       old_striplib="$STRIP -S"
11720       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11721 $as_echo "yes" >&6; }
11722     else
11723       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11724 $as_echo "no" >&6; }
11725     fi
11726     ;;
11727   *)
11728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11729 $as_echo "no" >&6; }
11730     ;;
11731   esac
11732 fi
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745   # Report which library types will actually be built
11746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11747 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11749 $as_echo "$can_build_shared" >&6; }
11750
11751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11752 $as_echo_n "checking whether to build shared libraries... " >&6; }
11753   test "$can_build_shared" = "no" && enable_shared=no
11754
11755   # On AIX, shared libraries and static libraries use the same namespace, and
11756   # are all built from PIC.
11757   case $host_os in
11758   aix3*)
11759     test "$enable_shared" = yes && enable_static=no
11760     if test -n "$RANLIB"; then
11761       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11762       postinstall_cmds='$RANLIB $lib'
11763     fi
11764     ;;
11765
11766   aix[4-9]*)
11767     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11768       test "$enable_shared" = yes && enable_static=no
11769     fi
11770     ;;
11771   esac
11772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11773 $as_echo "$enable_shared" >&6; }
11774
11775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11776 $as_echo_n "checking whether to build static libraries... " >&6; }
11777   # Make sure either enable_shared or enable_static is yes.
11778   test "$enable_shared" = yes || enable_static=yes
11779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11780 $as_echo "$enable_static" >&6; }
11781
11782
11783
11784
11785 fi
11786 ac_ext=c
11787 ac_cpp='$CPP $CPPFLAGS'
11788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11791
11792 CC="$lt_save_CC"
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808         ac_config_commands="$ac_config_commands libtool"
11809
11810
11811
11812
11813 # Only expand once:
11814
11815
11816
11817 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11818 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11819
11820
11821
11822 cat >>confdefs.h <<_ACEOF
11823 #define VMAJ 1
11824 _ACEOF
11825
11826
11827 cat >>confdefs.h <<_ACEOF
11828 #define VMIN 7
11829 _ACEOF
11830
11831
11832 cat >>confdefs.h <<_ACEOF
11833 #define VMIC 2
11834 _ACEOF
11835
11836
11837 cat >>confdefs.h <<_ACEOF
11838 #define VREV 0
11839 _ACEOF
11840
11841 version_info="8:2:7"
11842 release_info=""
11843
11844
11845 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11846 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11847 VMAJ=1
11848
11849
11850 ### Needed information
11851
11852
11853
11854
11855 want_ebluez="yes"
11856 want_econnman0_7x="yes"
11857 want_ehal="yes"
11858 want_enotify="yes"
11859 want_eofono="yes"
11860 want_eukit="yes"
11861
11862 case "$host_os" in
11863    mingw*)
11864       want_ebluez="no"
11865       want_econnman0_7x="no"
11866       want_ehal="no"
11867       want_enotify="no"
11868       want_eofono="no"
11869       want_eukit="no"
11870       ;;
11871 esac
11872
11873 requirement_ebluez="edbus >= 1.6.99"
11874 requirement_econnman0_7x="edbus >= 1.6.99"
11875 requirement_edbus="ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62"
11876 requirement_ehal="edbus >= 1.6.99"
11877 requirement_enotify="edbus >= 1.6.99"
11878 requirement_eofono="edbus >= 1.6.99"
11879 requirement_eukit="edbus >= 1.6.99"
11880 requirement_dbus="dbus-1 >= 0.62"
11881
11882 ### Additional options to configure
11883
11884
11885 # Check whether --enable-ebluez was given.
11886 if test "${enable_ebluez+set}" = set; then :
11887   enableval=$enable_ebluez; enable_ebluez=$enableval
11888 else
11889   enable_ebluez="${want_ebluez}"
11890 fi
11891
11892
11893 # Check whether --enable-econnman0_7x was given.
11894 if test "${enable_econnman0_7x+set}" = set; then :
11895   enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11896 else
11897   enable_econnman0_7x="${want_econnman0_7x}"
11898 fi
11899
11900
11901 # Check whether --enable-ehal was given.
11902 if test "${enable_ehal+set}" = set; then :
11903   enableval=$enable_ehal; enable_ehal=$enableval
11904 else
11905   enable_ehal="${want_ehal}"
11906 fi
11907
11908
11909 # Check whether --enable-enotify was given.
11910 if test "${enable_enotify+set}" = set; then :
11911   enableval=$enable_enotify; enable_enotify=$enableval
11912 else
11913   enable_enotify="${want_enotify}"
11914 fi
11915
11916
11917 # Check whether --enable-eofono was given.
11918 if test "${enable_eofono+set}" = set; then :
11919   enableval=$enable_eofono; enable_eofono=$enableval
11920 else
11921   enable_eofono="${want_eofono}"
11922 fi
11923
11924
11925 # Check whether --enable-eukit was given.
11926 if test "${enable_eukit+set}" = set; then :
11927   enableval=$enable_eukit; enable_eukit=$enableval
11928 else
11929   enable_eukit="${want_eukit}"
11930 fi
11931
11932
11933 ### Checks for programs
11934
11935 ac_ext=c
11936 ac_cpp='$CPP $CPPFLAGS'
11937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11940 if test -n "$ac_tool_prefix"; then
11941   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11942 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11944 $as_echo_n "checking for $ac_word... " >&6; }
11945 if ${ac_cv_prog_CC+:} false; then :
11946   $as_echo_n "(cached) " >&6
11947 else
11948   if test -n "$CC"; then
11949   ac_cv_prog_CC="$CC" # Let the user override the test.
11950 else
11951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11952 for as_dir in $PATH
11953 do
11954   IFS=$as_save_IFS
11955   test -z "$as_dir" && as_dir=.
11956     for ac_exec_ext in '' $ac_executable_extensions; do
11957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11958     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11960     break 2
11961   fi
11962 done
11963   done
11964 IFS=$as_save_IFS
11965
11966 fi
11967 fi
11968 CC=$ac_cv_prog_CC
11969 if test -n "$CC"; then
11970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11971 $as_echo "$CC" >&6; }
11972 else
11973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974 $as_echo "no" >&6; }
11975 fi
11976
11977
11978 fi
11979 if test -z "$ac_cv_prog_CC"; then
11980   ac_ct_CC=$CC
11981   # Extract the first word of "gcc", so it can be a program name with args.
11982 set dummy gcc; ac_word=$2
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11984 $as_echo_n "checking for $ac_word... " >&6; }
11985 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11986   $as_echo_n "(cached) " >&6
11987 else
11988   if test -n "$ac_ct_CC"; then
11989   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11990 else
11991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11992 for as_dir in $PATH
11993 do
11994   IFS=$as_save_IFS
11995   test -z "$as_dir" && as_dir=.
11996     for ac_exec_ext in '' $ac_executable_extensions; do
11997   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11998     ac_cv_prog_ac_ct_CC="gcc"
11999     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12000     break 2
12001   fi
12002 done
12003   done
12004 IFS=$as_save_IFS
12005
12006 fi
12007 fi
12008 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12009 if test -n "$ac_ct_CC"; then
12010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12011 $as_echo "$ac_ct_CC" >&6; }
12012 else
12013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12014 $as_echo "no" >&6; }
12015 fi
12016
12017   if test "x$ac_ct_CC" = x; then
12018     CC=""
12019   else
12020     case $cross_compiling:$ac_tool_warned in
12021 yes:)
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12024 ac_tool_warned=yes ;;
12025 esac
12026     CC=$ac_ct_CC
12027   fi
12028 else
12029   CC="$ac_cv_prog_CC"
12030 fi
12031
12032 if test -z "$CC"; then
12033           if test -n "$ac_tool_prefix"; then
12034     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12035 set dummy ${ac_tool_prefix}cc; ac_word=$2
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12037 $as_echo_n "checking for $ac_word... " >&6; }
12038 if ${ac_cv_prog_CC+:} false; then :
12039   $as_echo_n "(cached) " >&6
12040 else
12041   if test -n "$CC"; then
12042   ac_cv_prog_CC="$CC" # Let the user override the test.
12043 else
12044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 for as_dir in $PATH
12046 do
12047   IFS=$as_save_IFS
12048   test -z "$as_dir" && as_dir=.
12049     for ac_exec_ext in '' $ac_executable_extensions; do
12050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12051     ac_cv_prog_CC="${ac_tool_prefix}cc"
12052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12053     break 2
12054   fi
12055 done
12056   done
12057 IFS=$as_save_IFS
12058
12059 fi
12060 fi
12061 CC=$ac_cv_prog_CC
12062 if test -n "$CC"; then
12063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12064 $as_echo "$CC" >&6; }
12065 else
12066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12067 $as_echo "no" >&6; }
12068 fi
12069
12070
12071   fi
12072 fi
12073 if test -z "$CC"; then
12074   # Extract the first word of "cc", so it can be a program name with args.
12075 set dummy cc; ac_word=$2
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12077 $as_echo_n "checking for $ac_word... " >&6; }
12078 if ${ac_cv_prog_CC+:} false; then :
12079   $as_echo_n "(cached) " >&6
12080 else
12081   if test -n "$CC"; then
12082   ac_cv_prog_CC="$CC" # Let the user override the test.
12083 else
12084   ac_prog_rejected=no
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12087 do
12088   IFS=$as_save_IFS
12089   test -z "$as_dir" && as_dir=.
12090     for ac_exec_ext in '' $ac_executable_extensions; do
12091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12092     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12093        ac_prog_rejected=yes
12094        continue
12095      fi
12096     ac_cv_prog_CC="cc"
12097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12098     break 2
12099   fi
12100 done
12101   done
12102 IFS=$as_save_IFS
12103
12104 if test $ac_prog_rejected = yes; then
12105   # We found a bogon in the path, so make sure we never use it.
12106   set dummy $ac_cv_prog_CC
12107   shift
12108   if test $# != 0; then
12109     # We chose a different compiler from the bogus one.
12110     # However, it has the same basename, so the bogon will be chosen
12111     # first if we set CC to just the basename; use the full file name.
12112     shift
12113     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12114   fi
12115 fi
12116 fi
12117 fi
12118 CC=$ac_cv_prog_CC
12119 if test -n "$CC"; then
12120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12121 $as_echo "$CC" >&6; }
12122 else
12123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12124 $as_echo "no" >&6; }
12125 fi
12126
12127
12128 fi
12129 if test -z "$CC"; then
12130   if test -n "$ac_tool_prefix"; then
12131   for ac_prog in cl.exe
12132   do
12133     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12136 $as_echo_n "checking for $ac_word... " >&6; }
12137 if ${ac_cv_prog_CC+:} false; then :
12138   $as_echo_n "(cached) " >&6
12139 else
12140   if test -n "$CC"; then
12141   ac_cv_prog_CC="$CC" # Let the user override the test.
12142 else
12143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144 for as_dir in $PATH
12145 do
12146   IFS=$as_save_IFS
12147   test -z "$as_dir" && as_dir=.
12148     for ac_exec_ext in '' $ac_executable_extensions; do
12149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12150     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152     break 2
12153   fi
12154 done
12155   done
12156 IFS=$as_save_IFS
12157
12158 fi
12159 fi
12160 CC=$ac_cv_prog_CC
12161 if test -n "$CC"; then
12162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12163 $as_echo "$CC" >&6; }
12164 else
12165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166 $as_echo "no" >&6; }
12167 fi
12168
12169
12170     test -n "$CC" && break
12171   done
12172 fi
12173 if test -z "$CC"; then
12174   ac_ct_CC=$CC
12175   for ac_prog in cl.exe
12176 do
12177   # Extract the first word of "$ac_prog", so it can be a program name with args.
12178 set dummy $ac_prog; ac_word=$2
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12180 $as_echo_n "checking for $ac_word... " >&6; }
12181 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12182   $as_echo_n "(cached) " >&6
12183 else
12184   if test -n "$ac_ct_CC"; then
12185   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12186 else
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12189 do
12190   IFS=$as_save_IFS
12191   test -z "$as_dir" && as_dir=.
12192     for ac_exec_ext in '' $ac_executable_extensions; do
12193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12194     ac_cv_prog_ac_ct_CC="$ac_prog"
12195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12196     break 2
12197   fi
12198 done
12199   done
12200 IFS=$as_save_IFS
12201
12202 fi
12203 fi
12204 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12205 if test -n "$ac_ct_CC"; then
12206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12207 $as_echo "$ac_ct_CC" >&6; }
12208 else
12209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12211 fi
12212
12213
12214   test -n "$ac_ct_CC" && break
12215 done
12216
12217   if test "x$ac_ct_CC" = x; then
12218     CC=""
12219   else
12220     case $cross_compiling:$ac_tool_warned in
12221 yes:)
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12224 ac_tool_warned=yes ;;
12225 esac
12226     CC=$ac_ct_CC
12227   fi
12228 fi
12229
12230 fi
12231
12232
12233 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12235 as_fn_error $? "no acceptable C compiler found in \$PATH
12236 See \`config.log' for more details" "$LINENO" 5; }
12237
12238 # Provide some information about the compiler.
12239 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12240 set X $ac_compile
12241 ac_compiler=$2
12242 for ac_option in --version -v -V -qversion; do
12243   { { ac_try="$ac_compiler $ac_option >&5"
12244 case "(($ac_try" in
12245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12246   *) ac_try_echo=$ac_try;;
12247 esac
12248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12249 $as_echo "$ac_try_echo"; } >&5
12250   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12251   ac_status=$?
12252   if test -s conftest.err; then
12253     sed '10a\
12254 ... rest of stderr output deleted ...
12255          10q' conftest.err >conftest.er1
12256     cat conftest.er1 >&5
12257   fi
12258   rm -f conftest.er1 conftest.err
12259   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12260   test $ac_status = 0; }
12261 done
12262
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12264 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12265 if ${ac_cv_c_compiler_gnu+:} false; then :
12266   $as_echo_n "(cached) " >&6
12267 else
12268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h.  */
12270
12271 int
12272 main ()
12273 {
12274 #ifndef __GNUC__
12275        choke me
12276 #endif
12277
12278   ;
12279   return 0;
12280 }
12281 _ACEOF
12282 if ac_fn_c_try_compile "$LINENO"; then :
12283   ac_compiler_gnu=yes
12284 else
12285   ac_compiler_gnu=no
12286 fi
12287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12289
12290 fi
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12292 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12293 if test $ac_compiler_gnu = yes; then
12294   GCC=yes
12295 else
12296   GCC=
12297 fi
12298 ac_test_CFLAGS=${CFLAGS+set}
12299 ac_save_CFLAGS=$CFLAGS
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12301 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12302 if ${ac_cv_prog_cc_g+:} false; then :
12303   $as_echo_n "(cached) " >&6
12304 else
12305   ac_save_c_werror_flag=$ac_c_werror_flag
12306    ac_c_werror_flag=yes
12307    ac_cv_prog_cc_g=no
12308    CFLAGS="-g"
12309    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h.  */
12311
12312 int
12313 main ()
12314 {
12315
12316   ;
12317   return 0;
12318 }
12319 _ACEOF
12320 if ac_fn_c_try_compile "$LINENO"; then :
12321   ac_cv_prog_cc_g=yes
12322 else
12323   CFLAGS=""
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
12337 else
12338   ac_c_werror_flag=$ac_save_c_werror_flag
12339          CFLAGS="-g"
12340          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h.  */
12342
12343 int
12344 main ()
12345 {
12346
12347   ;
12348   return 0;
12349 }
12350 _ACEOF
12351 if ac_fn_c_try_compile "$LINENO"; then :
12352   ac_cv_prog_cc_g=yes
12353 fi
12354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12355 fi
12356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12357 fi
12358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12359    ac_c_werror_flag=$ac_save_c_werror_flag
12360 fi
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12362 $as_echo "$ac_cv_prog_cc_g" >&6; }
12363 if test "$ac_test_CFLAGS" = set; then
12364   CFLAGS=$ac_save_CFLAGS
12365 elif test $ac_cv_prog_cc_g = yes; then
12366   if test "$GCC" = yes; then
12367     CFLAGS="-g -O2"
12368   else
12369     CFLAGS="-g"
12370   fi
12371 else
12372   if test "$GCC" = yes; then
12373     CFLAGS="-O2"
12374   else
12375     CFLAGS=
12376   fi
12377 fi
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12379 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12380 if ${ac_cv_prog_cc_c89+:} false; then :
12381   $as_echo_n "(cached) " >&6
12382 else
12383   ac_cv_prog_cc_c89=no
12384 ac_save_CC=$CC
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h.  */
12387 #include <stdarg.h>
12388 #include <stdio.h>
12389 #include <sys/types.h>
12390 #include <sys/stat.h>
12391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12392 struct buf { int x; };
12393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12394 static char *e (p, i)
12395      char **p;
12396      int i;
12397 {
12398   return p[i];
12399 }
12400 static char *f (char * (*g) (char **, int), char **p, ...)
12401 {
12402   char *s;
12403   va_list v;
12404   va_start (v,p);
12405   s = g (p, va_arg (v,int));
12406   va_end (v);
12407   return s;
12408 }
12409
12410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12411    function prototypes and stuff, but not '\xHH' hex character constants.
12412    These don't provoke an error unfortunately, instead are silently treated
12413    as 'x'.  The following induces an error, until -std is added to get
12414    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12415    array size at least.  It's necessary to write '\x00'==0 to get something
12416    that's true only with -std.  */
12417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12418
12419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12420    inside strings and character constants.  */
12421 #define FOO(x) 'x'
12422 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12423
12424 int test (int i, double x);
12425 struct s1 {int (*f) (int a);};
12426 struct s2 {int (*f) (double a);};
12427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12428 int argc;
12429 char **argv;
12430 int
12431 main ()
12432 {
12433 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12434   ;
12435   return 0;
12436 }
12437 _ACEOF
12438 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12439         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12440 do
12441   CC="$ac_save_CC $ac_arg"
12442   if ac_fn_c_try_compile "$LINENO"; then :
12443   ac_cv_prog_cc_c89=$ac_arg
12444 fi
12445 rm -f core conftest.err conftest.$ac_objext
12446   test "x$ac_cv_prog_cc_c89" != "xno" && break
12447 done
12448 rm -f conftest.$ac_ext
12449 CC=$ac_save_CC
12450
12451 fi
12452 # AC_CACHE_VAL
12453 case "x$ac_cv_prog_cc_c89" in
12454   x)
12455     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12456 $as_echo "none needed" >&6; } ;;
12457   xno)
12458     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12459 $as_echo "unsupported" >&6; } ;;
12460   *)
12461     CC="$CC $ac_cv_prog_cc_c89"
12462     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12463 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12464 esac
12465 if test "x$ac_cv_prog_cc_c89" != xno; then :
12466
12467 fi
12468
12469 ac_ext=c
12470 ac_cpp='$CPP $CPPFLAGS'
12471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12474
12475 depcc="$CC"   am_compiler_list=
12476
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12478 $as_echo_n "checking dependency style of $depcc... " >&6; }
12479 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12480   $as_echo_n "(cached) " >&6
12481 else
12482   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12483   # We make a subdir and do the tests there.  Otherwise we can end up
12484   # making bogus files that we don't know about and never remove.  For
12485   # instance it was reported that on HP-UX the gcc test will end up
12486   # making a dummy file named `D' -- because `-MD' means `put the output
12487   # in D'.
12488   rm -rf conftest.dir
12489   mkdir conftest.dir
12490   # Copy depcomp to subdir because otherwise we won't find it if we're
12491   # using a relative directory.
12492   cp "$am_depcomp" conftest.dir
12493   cd conftest.dir
12494   # We will build objects and dependencies in a subdirectory because
12495   # it helps to detect inapplicable dependency modes.  For instance
12496   # both Tru64's cc and ICC support -MD to output dependencies as a
12497   # side effect of compilation, but ICC will put the dependencies in
12498   # the current directory while Tru64 will put them in the object
12499   # directory.
12500   mkdir sub
12501
12502   am_cv_CC_dependencies_compiler_type=none
12503   if test "$am_compiler_list" = ""; then
12504      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12505   fi
12506   am__universal=false
12507   case " $depcc " in #(
12508      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12509      esac
12510
12511   for depmode in $am_compiler_list; do
12512     # Setup a source with many dependencies, because some compilers
12513     # like to wrap large dependency lists on column 80 (with \), and
12514     # we should not choose a depcomp mode which is confused by this.
12515     #
12516     # We need to recreate these files for each test, as the compiler may
12517     # overwrite some of them when testing with obscure command lines.
12518     # This happens at least with the AIX C compiler.
12519     : > sub/conftest.c
12520     for i in 1 2 3 4 5 6; do
12521       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12522       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12523       # Solaris 8's {/usr,}/bin/sh.
12524       touch sub/conftst$i.h
12525     done
12526     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12527
12528     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12529     # mode.  It turns out that the SunPro C++ compiler does not properly
12530     # handle `-M -o', and we need to detect this.  Also, some Intel
12531     # versions had trouble with output in subdirs
12532     am__obj=sub/conftest.${OBJEXT-o}
12533     am__minus_obj="-o $am__obj"
12534     case $depmode in
12535     gcc)
12536       # This depmode causes a compiler race in universal mode.
12537       test "$am__universal" = false || continue
12538       ;;
12539     nosideeffect)
12540       # after this tag, mechanisms are not by side-effect, so they'll
12541       # only be used when explicitly requested
12542       if test "x$enable_dependency_tracking" = xyes; then
12543         continue
12544       else
12545         break
12546       fi
12547       ;;
12548     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12549       # This compiler won't grok `-c -o', but also, the minuso test has
12550       # not run yet.  These depmodes are late enough in the game, and
12551       # so weak that their functioning should not be impacted.
12552       am__obj=conftest.${OBJEXT-o}
12553       am__minus_obj=
12554       ;;
12555     none) break ;;
12556     esac
12557     if depmode=$depmode \
12558        source=sub/conftest.c object=$am__obj \
12559        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12560        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12561          >/dev/null 2>conftest.err &&
12562        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12563        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12564        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12565        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12566       # icc doesn't choke on unknown options, it will just issue warnings
12567       # or remarks (even with -Werror).  So we grep stderr for any message
12568       # that says an option was ignored or not supported.
12569       # When given -MP, icc 7.0 and 7.1 complain thusly:
12570       #   icc: Command line warning: ignoring option '-M'; no argument required
12571       # The diagnosis changed in icc 8.0:
12572       #   icc: Command line remark: option '-MP' not supported
12573       if (grep 'ignoring option' conftest.err ||
12574           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12575         am_cv_CC_dependencies_compiler_type=$depmode
12576         break
12577       fi
12578     fi
12579   done
12580
12581   cd ..
12582   rm -rf conftest.dir
12583 else
12584   am_cv_CC_dependencies_compiler_type=none
12585 fi
12586
12587 fi
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12589 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12590 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12591
12592  if
12593   test "x$enable_dependency_tracking" != xno \
12594   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12595   am__fastdepCC_TRUE=
12596   am__fastdepCC_FALSE='#'
12597 else
12598   am__fastdepCC_TRUE='#'
12599   am__fastdepCC_FALSE=
12600 fi
12601
12602
12603 if test "x$CC" != xcc; then
12604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12605 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12606 else
12607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12608 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12609 fi
12610 set dummy $CC; ac_cc=`$as_echo "$2" |
12611                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12612 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12613   $as_echo_n "(cached) " >&6
12614 else
12615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h.  */
12617
12618 int
12619 main ()
12620 {
12621
12622   ;
12623   return 0;
12624 }
12625 _ACEOF
12626 # Make sure it works both with $CC and with simple cc.
12627 # We do the test twice because some compilers refuse to overwrite an
12628 # existing .o file with -o, though they will create one.
12629 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12630 rm -f conftest2.*
12631 if { { case "(($ac_try" in
12632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12633   *) ac_try_echo=$ac_try;;
12634 esac
12635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12636 $as_echo "$ac_try_echo"; } >&5
12637   (eval "$ac_try") 2>&5
12638   ac_status=$?
12639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12640   test $ac_status = 0; } &&
12641    test -f conftest2.$ac_objext && { { case "(($ac_try" in
12642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12643   *) ac_try_echo=$ac_try;;
12644 esac
12645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12646 $as_echo "$ac_try_echo"; } >&5
12647   (eval "$ac_try") 2>&5
12648   ac_status=$?
12649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12650   test $ac_status = 0; };
12651 then
12652   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12653   if test "x$CC" != xcc; then
12654     # Test first that cc exists at all.
12655     if { ac_try='cc -c conftest.$ac_ext >&5'
12656   { { case "(($ac_try" in
12657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12658   *) ac_try_echo=$ac_try;;
12659 esac
12660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12661 $as_echo "$ac_try_echo"; } >&5
12662   (eval "$ac_try") 2>&5
12663   ac_status=$?
12664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12665   test $ac_status = 0; }; }; then
12666       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12667       rm -f conftest2.*
12668       if { { case "(($ac_try" in
12669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12670   *) ac_try_echo=$ac_try;;
12671 esac
12672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12673 $as_echo "$ac_try_echo"; } >&5
12674   (eval "$ac_try") 2>&5
12675   ac_status=$?
12676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677   test $ac_status = 0; } &&
12678          test -f conftest2.$ac_objext && { { case "(($ac_try" in
12679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12680   *) ac_try_echo=$ac_try;;
12681 esac
12682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12683 $as_echo "$ac_try_echo"; } >&5
12684   (eval "$ac_try") 2>&5
12685   ac_status=$?
12686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12687   test $ac_status = 0; };
12688       then
12689         # cc works too.
12690         :
12691       else
12692         # cc exists but doesn't like -o.
12693         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12694       fi
12695     fi
12696   fi
12697 else
12698   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12699 fi
12700 rm -f core conftest*
12701
12702 fi
12703 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12705 $as_echo "yes" >&6; }
12706 else
12707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708 $as_echo "no" >&6; }
12709
12710 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12711
12712 fi
12713
12714 # FIXME: we rely on the cache variable name because
12715 # there is no other way.
12716 set dummy $CC
12717 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12718 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12719 if test "$am_t" != yes; then
12720    # Losing compiler, so override with the script.
12721    # FIXME: It is wrong to rewrite CC.
12722    # But if we don't then we get into trouble of one sort or another.
12723    # A longer-term fix would be to have automake use am__CC in this case,
12724    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12725    CC="$am_aux_dir/compile $CC"
12726 fi
12727
12728
12729
12730 # pkg-config
12731
12732
12733
12734
12735
12736
12737
12738 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12739         if test -n "$ac_tool_prefix"; then
12740   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12741 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12743 $as_echo_n "checking for $ac_word... " >&6; }
12744 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12745   $as_echo_n "(cached) " >&6
12746 else
12747   case $PKG_CONFIG in
12748   [\\/]* | ?:[\\/]*)
12749   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12750   ;;
12751   *)
12752   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12753 for as_dir in $PATH
12754 do
12755   IFS=$as_save_IFS
12756   test -z "$as_dir" && as_dir=.
12757     for ac_exec_ext in '' $ac_executable_extensions; do
12758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12759     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12761     break 2
12762   fi
12763 done
12764   done
12765 IFS=$as_save_IFS
12766
12767   ;;
12768 esac
12769 fi
12770 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12771 if test -n "$PKG_CONFIG"; then
12772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12773 $as_echo "$PKG_CONFIG" >&6; }
12774 else
12775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12777 fi
12778
12779
12780 fi
12781 if test -z "$ac_cv_path_PKG_CONFIG"; then
12782   ac_pt_PKG_CONFIG=$PKG_CONFIG
12783   # Extract the first word of "pkg-config", so it can be a program name with args.
12784 set dummy pkg-config; ac_word=$2
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12786 $as_echo_n "checking for $ac_word... " >&6; }
12787 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12788   $as_echo_n "(cached) " >&6
12789 else
12790   case $ac_pt_PKG_CONFIG in
12791   [\\/]* | ?:[\\/]*)
12792   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12793   ;;
12794   *)
12795   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12796 for as_dir in $PATH
12797 do
12798   IFS=$as_save_IFS
12799   test -z "$as_dir" && as_dir=.
12800     for ac_exec_ext in '' $ac_executable_extensions; do
12801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12802     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12804     break 2
12805   fi
12806 done
12807   done
12808 IFS=$as_save_IFS
12809
12810   ;;
12811 esac
12812 fi
12813 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12814 if test -n "$ac_pt_PKG_CONFIG"; then
12815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12816 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12817 else
12818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12819 $as_echo "no" >&6; }
12820 fi
12821
12822   if test "x$ac_pt_PKG_CONFIG" = x; then
12823     PKG_CONFIG=""
12824   else
12825     case $cross_compiling:$ac_tool_warned in
12826 yes:)
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12829 ac_tool_warned=yes ;;
12830 esac
12831     PKG_CONFIG=$ac_pt_PKG_CONFIG
12832   fi
12833 else
12834   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12835 fi
12836
12837 fi
12838 if test -n "$PKG_CONFIG"; then
12839         _pkg_min_version=0.9.0
12840         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12841 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12842         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12843                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12844 $as_echo "yes" >&6; }
12845         else
12846                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12847 $as_echo "no" >&6; }
12848                 PKG_CONFIG=""
12849         fi
12850 fi
12851
12852 # Check whether pkg-config supports Requires.private
12853 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12854    pkgconfig_requires_private="Requires.private"
12855 else
12856    pkgconfig_requires_private="Requires"
12857 fi
12858
12859
12860 # doxygen program for documentation building
12861
12862
12863 # Check whether --enable-doc was given.
12864 if test "${enable_doc+set}" = set; then :
12865   enableval=$enable_doc;
12866     if test "x${enableval}" = "xyes" ; then
12867        efl_enable_doc="yes"
12868     else
12869        efl_enable_doc="no"
12870     fi
12871
12872 else
12873   efl_enable_doc="yes"
12874 fi
12875
12876
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12878 $as_echo_n "checking whether to build documentation... " >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12880 $as_echo "${efl_enable_doc}" >&6; }
12881
12882 if test "x${efl_enable_doc}" = "xyes" ; then
12883
12884
12885    efl_doxygen="doxygen"
12886
12887
12888 # Check whether --with-doxygen was given.
12889 if test "${with_doxygen+set}" = set; then :
12890   withval=$with_doxygen;
12891       efl_doxygen=${withval}
12892        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12893 set dummy ${efl_doxygen}; ac_word=$2
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12895 $as_echo_n "checking for $ac_word... " >&6; }
12896 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12897   $as_echo_n "(cached) " >&6
12898 else
12899   if test -n "$efl_have_doxygen"; then
12900   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12901 else
12902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12903 for as_dir in $PATH
12904 do
12905   IFS=$as_save_IFS
12906   test -z "$as_dir" && as_dir=.
12907     for ac_exec_ext in '' $ac_executable_extensions; do
12908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12909     ac_cv_prog_efl_have_doxygen="yes"
12910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12911     break 2
12912   fi
12913 done
12914   done
12915 IFS=$as_save_IFS
12916
12917   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12918 fi
12919 fi
12920 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12921 if test -n "$efl_have_doxygen"; then
12922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12923 $as_echo "$efl_have_doxygen" >&6; }
12924 else
12925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12926 $as_echo "no" >&6; }
12927 fi
12928
12929
12930        if test "x${efl_have_doxygen}" = "xno" ; then
12931           echo "WARNING:"
12932           echo "The doxygen program you specified:"
12933           echo "${efl_doxygen}"
12934           echo "was not found.  Please check the path and make sure "
12935           echo "the program exists and is executable."
12936           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12937 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12938        fi
12939
12940 else
12941   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12942 set dummy ${efl_doxygen}; ac_word=$2
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12944 $as_echo_n "checking for $ac_word... " >&6; }
12945 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12946   $as_echo_n "(cached) " >&6
12947 else
12948   if test -n "$efl_have_doxygen"; then
12949   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12950 else
12951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12952 for as_dir in $PATH
12953 do
12954   IFS=$as_save_IFS
12955   test -z "$as_dir" && as_dir=.
12956     for ac_exec_ext in '' $ac_executable_extensions; do
12957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12958     ac_cv_prog_efl_have_doxygen="yes"
12959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12960     break 2
12961   fi
12962 done
12963   done
12964 IFS=$as_save_IFS
12965
12966   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12967 fi
12968 fi
12969 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12970 if test -n "$efl_have_doxygen"; then
12971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12972 $as_echo "$efl_have_doxygen" >&6; }
12973 else
12974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12975 $as_echo "no" >&6; }
12976 fi
12977
12978
12979        if test "x${efl_have_doxygen}" = "xno" ; then
12980           echo "WARNING:"
12981           echo "The doxygen program was not found in your execute path."
12982           echo "You may have doxygen installed somewhere not covered by your path."
12983           echo ""
12984           echo "If this is the case make sure you have the packages installed, AND"
12985           echo "that the doxygen program is in your execute path (see your"
12986           echo "shell manual page on setting the \$PATH environment variable), OR"
12987           echo "alternatively, specify the program to use with --with-doxygen."
12988           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12989 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12990        fi
12991
12992 fi
12993
12994 else
12995    efl_have_doxygen="no"
12996 fi
12997
12998
12999
13000 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13001    efl_enable_doc="no"
13002 fi
13003
13004  if test "x${efl_have_doxygen}" = "xyes"; then
13005   EFL_BUILD_DOC_TRUE=
13006   EFL_BUILD_DOC_FALSE='#'
13007 else
13008   EFL_BUILD_DOC_TRUE='#'
13009   EFL_BUILD_DOC_FALSE=
13010 fi
13011
13012
13013 if test "x$efl_have_doxygen" = "xyes"; then :
13014   build_doc="yes"
13015 else
13016   build_doc="no"
13017 fi
13018
13019
13020
13021 ### Checks for libraries
13022
13023
13024 pkg_failed=no
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13026 $as_echo_n "checking for DBUS... " >&6; }
13027
13028 if test -n "$DBUS_CFLAGS"; then
13029     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13030  elif test -n "$PKG_CONFIG"; then
13031     if test -n "$PKG_CONFIG" && \
13032     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13033   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13034   ac_status=$?
13035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13036   test $ac_status = 0; }; then
13037   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13038                       test "x$?" != "x0" && pkg_failed=yes
13039 else
13040   pkg_failed=yes
13041 fi
13042  else
13043     pkg_failed=untried
13044 fi
13045 if test -n "$DBUS_LIBS"; then
13046     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13047  elif test -n "$PKG_CONFIG"; then
13048     if test -n "$PKG_CONFIG" && \
13049     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13050   ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13051   ac_status=$?
13052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13053   test $ac_status = 0; }; then
13054   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13055                       test "x$?" != "x0" && pkg_failed=yes
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 --cflags --libs "dbus-1 >= 0.62" 2>&1`
13076         else
13077                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "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 elif test $pkg_failed = untried; then
13093         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13094 $as_echo "no" >&6; }
13095         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13097 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13098 is in your PATH or set the PKG_CONFIG environment variable to the full
13099 path to pkg-config.
13100
13101 Alternatively, you may set the environment variables DBUS_CFLAGS
13102 and DBUS_LIBS to avoid the need to call pkg-config.
13103 See the pkg-config man page for more details.
13104
13105 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13106 See \`config.log' for more details" "$LINENO" 5; }
13107 else
13108         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13109         DBUS_LIBS=$pkg_cv_DBUS_LIBS
13110         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13111 $as_echo "yes" >&6; }
13112
13113 fi
13114 dbus_libs="$DBUS_LIBS"
13115 dbus_cflags="$DBUS_CFLAGS"
13116
13117
13118
13119 pkg_failed=no
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13121 $as_echo_n "checking for EDBUS... " >&6; }
13122
13123 if test -n "$EDBUS_CFLAGS"; then
13124     pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13125  elif test -n "$PKG_CONFIG"; then
13126     if test -n "$PKG_CONFIG" && \
13127     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13128   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13129   ac_status=$?
13130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13131   test $ac_status = 0; }; then
13132   pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13133                       test "x$?" != "x0" && pkg_failed=yes
13134 else
13135   pkg_failed=yes
13136 fi
13137  else
13138     pkg_failed=untried
13139 fi
13140 if test -n "$EDBUS_LIBS"; then
13141     pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13142  elif test -n "$PKG_CONFIG"; then
13143     if test -n "$PKG_CONFIG" && \
13144     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13145   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13146   ac_status=$?
13147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13148   test $ac_status = 0; }; then
13149   pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13150                       test "x$?" != "x0" && pkg_failed=yes
13151 else
13152   pkg_failed=yes
13153 fi
13154  else
13155     pkg_failed=untried
13156 fi
13157
13158
13159
13160 if test $pkg_failed = yes; then
13161         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13162 $as_echo "no" >&6; }
13163
13164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13165         _pkg_short_errors_supported=yes
13166 else
13167         _pkg_short_errors_supported=no
13168 fi
13169         if test $_pkg_short_errors_supported = yes; then
13170                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13171         else
13172                 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13173         fi
13174         # Put the nasty error message in config.log where it belongs
13175         echo "$EDBUS_PKG_ERRORS" >&5
13176
13177         as_fn_error $? "Package requirements (ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62) were not met:
13178
13179 $EDBUS_PKG_ERRORS
13180
13181 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13182 installed software in a non-standard prefix.
13183
13184 Alternatively, you may set the environment variables EDBUS_CFLAGS
13185 and EDBUS_LIBS to avoid the need to call pkg-config.
13186 See the pkg-config man page for more details." "$LINENO" 5
13187 elif test $pkg_failed = untried; then
13188         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13189 $as_echo "no" >&6; }
13190         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13192 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13193 is in your PATH or set the PKG_CONFIG environment variable to the full
13194 path to pkg-config.
13195
13196 Alternatively, you may set the environment variables EDBUS_CFLAGS
13197 and EDBUS_LIBS to avoid the need to call pkg-config.
13198 See the pkg-config man page for more details.
13199
13200 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13201 See \`config.log' for more details" "$LINENO" 5; }
13202 else
13203         EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13204         EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13205         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13206 $as_echo "yes" >&6; }
13207
13208 fi
13209
13210 # Find out the version of DBUS we're using
13211 dbus_version=`pkg-config --modversion dbus-1`
13212 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13213 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13214 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13215
13216 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13217    DBUS_VERSION_MAJOR="0"
13218 fi
13219
13220 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13221    DBUS_VERSION_MINOR="0"
13222 fi
13223
13224 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13225    DBUS_VERSION_MICRO="0"
13226 fi
13227
13228 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13229 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13230 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13231
13232
13233 # Dependencies for the libraries
13234 if test "x${enable_enotify}" = "xyes" ; then
13235
13236 pkg_failed=no
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13238 $as_echo_n "checking for EVAS... " >&6; }
13239
13240 if test -n "$EVAS_CFLAGS"; then
13241     pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13242  elif test -n "$PKG_CONFIG"; then
13243     if test -n "$PKG_CONFIG" && \
13244     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.6.99\""; } >&5
13245   ($PKG_CONFIG --exists --print-errors "evas >= 1.6.99") 2>&5
13246   ac_status=$?
13247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248   test $ac_status = 0; }; then
13249   pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.6.99" 2>/dev/null`
13250                       test "x$?" != "x0" && pkg_failed=yes
13251 else
13252   pkg_failed=yes
13253 fi
13254  else
13255     pkg_failed=untried
13256 fi
13257 if test -n "$EVAS_LIBS"; then
13258     pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13259  elif test -n "$PKG_CONFIG"; then
13260     if test -n "$PKG_CONFIG" && \
13261     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.6.99\""; } >&5
13262   ($PKG_CONFIG --exists --print-errors "evas >= 1.6.99") 2>&5
13263   ac_status=$?
13264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13265   test $ac_status = 0; }; then
13266   pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.6.99" 2>/dev/null`
13267                       test "x$?" != "x0" && pkg_failed=yes
13268 else
13269   pkg_failed=yes
13270 fi
13271  else
13272     pkg_failed=untried
13273 fi
13274
13275
13276
13277 if test $pkg_failed = yes; then
13278         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13279 $as_echo "no" >&6; }
13280
13281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13282         _pkg_short_errors_supported=yes
13283 else
13284         _pkg_short_errors_supported=no
13285 fi
13286         if test $_pkg_short_errors_supported = yes; then
13287                 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.6.99" 2>&1`
13288         else
13289                 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.6.99" 2>&1`
13290         fi
13291         # Put the nasty error message in config.log where it belongs
13292         echo "$EVAS_PKG_ERRORS" >&5
13293
13294         enable_enotify="no"
13295 elif test $pkg_failed = untried; then
13296         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13298         enable_enotify="no"
13299 else
13300         EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13301         EVAS_LIBS=$pkg_cv_EVAS_LIBS
13302         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13303 $as_echo "yes" >&6; }
13304         requirement_enotify="evas >= 1.6.99 ${requirement_enotify}"
13305 fi
13306 fi
13307
13308  if test "x${enable_ebluez}"   = "xyes"; then
13309   BUILD_EBLUEZ_TRUE=
13310   BUILD_EBLUEZ_FALSE='#'
13311 else
13312   BUILD_EBLUEZ_TRUE='#'
13313   BUILD_EBLUEZ_FALSE=
13314 fi
13315
13316  if test "x${enable_econnman0_7x}" = "xyes"; then
13317   BUILD_ECONNMAN0_7X_TRUE=
13318   BUILD_ECONNMAN0_7X_FALSE='#'
13319 else
13320   BUILD_ECONNMAN0_7X_TRUE='#'
13321   BUILD_ECONNMAN0_7X_FALSE=
13322 fi
13323
13324  if test "x${enable_ehal}"     = "xyes"; then
13325   BUILD_EHAL_TRUE=
13326   BUILD_EHAL_FALSE='#'
13327 else
13328   BUILD_EHAL_TRUE='#'
13329   BUILD_EHAL_FALSE=
13330 fi
13331
13332  if test "x${enable_enotify}"  = "xyes"; then
13333   BUILD_ENOTIFY_TRUE=
13334   BUILD_ENOTIFY_FALSE='#'
13335 else
13336   BUILD_ENOTIFY_TRUE='#'
13337   BUILD_ENOTIFY_FALSE=
13338 fi
13339
13340  if test "x${enable_eofono}"   = "xyes"; then
13341   BUILD_EOFONO_TRUE=
13342   BUILD_EOFONO_FALSE='#'
13343 else
13344   BUILD_EOFONO_TRUE='#'
13345   BUILD_EOFONO_FALSE=
13346 fi
13347
13348  if test "x${enable_eukit}"    = "xyes"; then
13349   BUILD_EUKIT_TRUE=
13350   BUILD_EUKIT_FALSE='#'
13351 else
13352   BUILD_EUKIT_TRUE='#'
13353   BUILD_EUKIT_FALSE=
13354 fi
13355
13356
13357 # Dependencies for the binaries
13358
13359
13360
13361
13362
13363 # Check whether --enable-edbus-test was given.
13364 if test "${enable_edbus_test+set}" = set; then :
13365   enableval=$enable_edbus_test;
13366     if test "x${enableval}" = "xyes" ; then
13367        have_edbus_test="yes"
13368     else
13369        have_edbus_test="no"
13370     fi
13371
13372 else
13373   have_edbus_test="yes"
13374 fi
13375
13376
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13378 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13380 $as_echo "$have_edbus_test" >&6; }
13381
13382 if test "x$have_edbus_test" = "xyes"; then
13383    EDBUS_TEST_PRG=edbus_test${EXEEXT}
13384 fi
13385
13386
13387
13388  if test "x$have_edbus_test" = "xyes"; then
13389   BUILD_EDBUS_TEST_TRUE=
13390   BUILD_EDBUS_TEST_FALSE='#'
13391 else
13392   BUILD_EDBUS_TEST_TRUE='#'
13393   BUILD_EDBUS_TEST_FALSE=
13394 fi
13395
13396
13397 if test "x$have_edbus_test" = "xyes"; then :
13398
13399 fi
13400
13401
13402
13403
13404
13405
13406 # Check whether --enable-edbus-test-client was given.
13407 if test "${enable_edbus_test_client+set}" = set; then :
13408   enableval=$enable_edbus_test_client;
13409     if test "x${enableval}" = "xyes" ; then
13410        have_edbus_test_client="yes"
13411     else
13412        have_edbus_test_client="no"
13413     fi
13414
13415 else
13416   have_edbus_test_client="yes"
13417 fi
13418
13419
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13421 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13423 $as_echo "$have_edbus_test_client" >&6; }
13424
13425 if test "x$have_edbus_test_client" = "xyes"; then
13426    EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13427 fi
13428
13429
13430
13431  if test "x$have_edbus_test_client" = "xyes"; then
13432   BUILD_EDBUS_TEST_CLIENT_TRUE=
13433   BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13434 else
13435   BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13436   BUILD_EDBUS_TEST_CLIENT_FALSE=
13437 fi
13438
13439
13440 if test "x$have_edbus_test_client" = "xyes"; then :
13441
13442 fi
13443
13444
13445
13446
13447
13448
13449 # Check whether --enable-edbus-bluez-test was given.
13450 if test "${enable_edbus_bluez_test+set}" = set; then :
13451   enableval=$enable_edbus_bluez_test;
13452     if test "x${enableval}" = "xyes" ; then
13453        have_edbus_bluez_test="yes"
13454     else
13455        have_edbus_bluez_test="no"
13456     fi
13457
13458 else
13459   have_edbus_bluez_test=${enable_ebluez}
13460 fi
13461
13462
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13464 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13466 $as_echo "$have_edbus_bluez_test" >&6; }
13467
13468 if test "x$have_edbus_bluez_test" = "xyes"; then
13469    EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13470 fi
13471
13472
13473
13474  if test "x$have_edbus_bluez_test" = "xyes"; then
13475   BUILD_EDBUS_BLUEZ_TEST_TRUE=
13476   BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13477 else
13478   BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13479   BUILD_EDBUS_BLUEZ_TEST_FALSE=
13480 fi
13481
13482
13483 if test "x$have_edbus_bluez_test" = "xyes"; then :
13484
13485 fi
13486
13487
13488
13489
13490
13491
13492 # Check whether --enable-edbus-connman0_7x-test was given.
13493 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13494   enableval=$enable_edbus_connman0_7x_test;
13495     if test "x${enableval}" = "xyes" ; then
13496        have_edbus_connman0_7x_test="yes"
13497     else
13498        have_edbus_connman0_7x_test="no"
13499     fi
13500
13501 else
13502   have_edbus_connman0_7x_test=${enable_econnman0_7x}
13503 fi
13504
13505
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13507 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13509 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13510
13511 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13512    EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13513 fi
13514
13515
13516
13517  if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13518   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13519   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13520 else
13521   BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13522   BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13523 fi
13524
13525
13526 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13527
13528 fi
13529
13530
13531
13532
13533
13534
13535 # Check whether --enable-edbus-notification-daemon-test was given.
13536 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13537   enableval=$enable_edbus_notification_daemon_test;
13538     if test "x${enableval}" = "xyes" ; then
13539        have_edbus_notification_daemon_test="yes"
13540     else
13541        have_edbus_notification_daemon_test="no"
13542     fi
13543
13544 else
13545   have_edbus_notification_daemon_test=${enable_enotify}
13546 fi
13547
13548
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13550 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13552 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13553
13554 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13555    EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13556 fi
13557
13558
13559
13560  if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13561   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13562   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13563 else
13564   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13565   BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13566 fi
13567
13568
13569 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13570
13571 fi
13572
13573
13574
13575
13576
13577
13578 # Check whether --enable-edbus-notify-send was given.
13579 if test "${enable_edbus_notify_send+set}" = set; then :
13580   enableval=$enable_edbus_notify_send;
13581     if test "x${enableval}" = "xyes" ; then
13582        have_edbus_notify_send="yes"
13583     else
13584        have_edbus_notify_send="no"
13585     fi
13586
13587 else
13588   have_edbus_notify_send=${enable_enotify}
13589 fi
13590
13591
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13593 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13595 $as_echo "$have_edbus_notify_send" >&6; }
13596
13597 if test "x$have_edbus_notify_send" = "xyes"; then
13598    EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13599 fi
13600
13601
13602
13603  if test "x$have_edbus_notify_send" = "xyes"; then
13604   BUILD_EDBUS_NOTIFY_SEND_TRUE=
13605   BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13606 else
13607   BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13608   BUILD_EDBUS_NOTIFY_SEND_FALSE=
13609 fi
13610
13611
13612 if test "x$have_edbus_notify_send" = "xyes"; then :
13613
13614 fi
13615
13616
13617
13618
13619
13620
13621 # Check whether --enable-edbus-notify-test was given.
13622 if test "${enable_edbus_notify_test+set}" = set; then :
13623   enableval=$enable_edbus_notify_test;
13624     if test "x${enableval}" = "xyes" ; then
13625        have_edbus_notify_test="yes"
13626     else
13627        have_edbus_notify_test="no"
13628     fi
13629
13630 else
13631   have_edbus_notify_test=${enable_enotify}
13632 fi
13633
13634
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13636 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13638 $as_echo "$have_edbus_notify_test" >&6; }
13639
13640 if test "x$have_edbus_notify_test" = "xyes"; then
13641    EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13642 fi
13643
13644
13645
13646  if test "x$have_edbus_notify_test" = "xyes"; then
13647   BUILD_EDBUS_NOTIFY_TEST_TRUE=
13648   BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13649 else
13650   BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13651   BUILD_EDBUS_NOTIFY_TEST_FALSE=
13652 fi
13653
13654
13655 if test "x$have_edbus_notify_test" = "xyes"; then :
13656
13657 fi
13658
13659
13660
13661
13662
13663
13664 # Check whether --enable-edbus-ofono-test was given.
13665 if test "${enable_edbus_ofono_test+set}" = set; then :
13666   enableval=$enable_edbus_ofono_test;
13667     if test "x${enableval}" = "xyes" ; then
13668        have_edbus_ofono_test="yes"
13669     else
13670        have_edbus_ofono_test="no"
13671     fi
13672
13673 else
13674   have_edbus_ofono_test=${enable_eofono}
13675 fi
13676
13677
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13679 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13681 $as_echo "$have_edbus_ofono_test" >&6; }
13682
13683 if test "x$have_edbus_ofono_test" = "xyes"; then
13684    EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13685 fi
13686
13687
13688
13689  if test "x$have_edbus_ofono_test" = "xyes"; then
13690   BUILD_EDBUS_OFONO_TEST_TRUE=
13691   BUILD_EDBUS_OFONO_TEST_FALSE='#'
13692 else
13693   BUILD_EDBUS_OFONO_TEST_TRUE='#'
13694   BUILD_EDBUS_OFONO_TEST_FALSE=
13695 fi
13696
13697
13698 if test "x$have_edbus_ofono_test" = "xyes"; then :
13699
13700 fi
13701
13702
13703
13704
13705
13706
13707 # Check whether --enable-edbus-ukit-test was given.
13708 if test "${enable_edbus_ukit_test+set}" = set; then :
13709   enableval=$enable_edbus_ukit_test;
13710     if test "x${enableval}" = "xyes" ; then
13711        have_edbus_ukit_test="yes"
13712     else
13713        have_edbus_ukit_test="no"
13714     fi
13715
13716 else
13717   have_edbus_ukit_test=${enable_eukit}
13718 fi
13719
13720
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13722 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13724 $as_echo "$have_edbus_ukit_test" >&6; }
13725
13726 if test "x$have_edbus_ukit_test" = "xyes"; then
13727    EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13728 fi
13729
13730
13731
13732  if test "x$have_edbus_ukit_test" = "xyes"; then
13733   BUILD_EDBUS_UKIT_TEST_TRUE=
13734   BUILD_EDBUS_UKIT_TEST_FALSE='#'
13735 else
13736   BUILD_EDBUS_UKIT_TEST_TRUE='#'
13737   BUILD_EDBUS_UKIT_TEST_FALSE=
13738 fi
13739
13740
13741 if test "x$have_edbus_ukit_test" = "xyes"; then :
13742
13743 fi
13744
13745
13746
13747
13748
13749
13750 # Check whether --enable-edbus-performance-test was given.
13751 if test "${enable_edbus_performance_test+set}" = set; then :
13752   enableval=$enable_edbus_performance_test;
13753     if test "x${enableval}" = "xyes" ; then
13754        have_edbus_performance_test="yes"
13755     else
13756        have_edbus_performance_test="no"
13757     fi
13758
13759 else
13760   have_edbus_performance_test="no"
13761 fi
13762
13763
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13765 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13767 $as_echo "$have_edbus_performance_test" >&6; }
13768
13769 if test "x$have_edbus_performance_test" = "xyes"; then
13770    EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13771 fi
13772
13773
13774
13775  if test "x$have_edbus_performance_test" = "xyes"; then
13776   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13777   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13778 else
13779   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13780   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13781 fi
13782
13783
13784 if test "x$have_edbus_performance_test" = "xyes"; then :
13785
13786 fi
13787
13788
13789
13790
13791
13792
13793 # Check whether --enable-edbus-async-test was given.
13794 if test "${enable_edbus_async_test+set}" = set; then :
13795   enableval=$enable_edbus_async_test;
13796     if test "x${enableval}" = "xyes" ; then
13797        have_edbus_async_test="yes"
13798     else
13799        have_edbus_async_test="no"
13800     fi
13801
13802 else
13803   have_edbus_async_test="yes"
13804 fi
13805
13806
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13808 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13810 $as_echo "$have_edbus_async_test" >&6; }
13811
13812 if test "x$have_edbus_async_test" = "xyes"; then
13813    EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13814 fi
13815
13816
13817
13818  if test "x$have_edbus_async_test" = "xyes"; then
13819   BUILD_EDBUS_ASYNC_TEST_TRUE=
13820   BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13821 else
13822   BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13823   BUILD_EDBUS_ASYNC_TEST_FALSE=
13824 fi
13825
13826
13827 if test "x$have_edbus_async_test" = "xyes"; then :
13828
13829 fi
13830
13831
13832
13833 if test "x${have_edbus_test}" = "xyes" ; then
13834
13835 pkg_failed=no
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13837 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13838
13839 if test -n "$EDBUS_TEST_CFLAGS"; then
13840     pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13841  elif test -n "$PKG_CONFIG"; then
13842     if test -n "$PKG_CONFIG" && \
13843     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13844   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13845   ac_status=$?
13846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13847   test $ac_status = 0; }; then
13848   pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13849                       test "x$?" != "x0" && pkg_failed=yes
13850 else
13851   pkg_failed=yes
13852 fi
13853  else
13854     pkg_failed=untried
13855 fi
13856 if test -n "$EDBUS_TEST_LIBS"; then
13857     pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13858  elif test -n "$PKG_CONFIG"; then
13859     if test -n "$PKG_CONFIG" && \
13860     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13861   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13862   ac_status=$?
13863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13864   test $ac_status = 0; }; then
13865   pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13866                       test "x$?" != "x0" && pkg_failed=yes
13867 else
13868   pkg_failed=yes
13869 fi
13870  else
13871     pkg_failed=untried
13872 fi
13873
13874
13875
13876 if test $pkg_failed = yes; then
13877         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13878 $as_echo "no" >&6; }
13879
13880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13881         _pkg_short_errors_supported=yes
13882 else
13883         _pkg_short_errors_supported=no
13884 fi
13885         if test $_pkg_short_errors_supported = yes; then
13886                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13887         else
13888                 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13889         fi
13890         # Put the nasty error message in config.log where it belongs
13891         echo "$EDBUS_TEST_PKG_ERRORS" >&5
13892
13893         have_edbus_test="no"
13894 elif test $pkg_failed = untried; then
13895         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13896 $as_echo "no" >&6; }
13897         have_edbus_test="no"
13898 else
13899         EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13900         EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13902 $as_echo "yes" >&6; }
13903         have_edbus_test="yes"
13904 fi
13905 fi
13906
13907 if test "x${have_edbus_test_client}" = "xyes" ; then
13908
13909 pkg_failed=no
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13911 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13912
13913 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13914     pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13915  elif test -n "$PKG_CONFIG"; then
13916     if test -n "$PKG_CONFIG" && \
13917     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13918   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13919   ac_status=$?
13920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13921   test $ac_status = 0; }; then
13922   pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13923                       test "x$?" != "x0" && pkg_failed=yes
13924 else
13925   pkg_failed=yes
13926 fi
13927  else
13928     pkg_failed=untried
13929 fi
13930 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
13931     pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
13932  elif test -n "$PKG_CONFIG"; then
13933     if test -n "$PKG_CONFIG" && \
13934     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13935   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13936   ac_status=$?
13937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13938   test $ac_status = 0; }; then
13939   pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13940                       test "x$?" != "x0" && pkg_failed=yes
13941 else
13942   pkg_failed=yes
13943 fi
13944  else
13945     pkg_failed=untried
13946 fi
13947
13948
13949
13950 if test $pkg_failed = yes; then
13951         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13952 $as_echo "no" >&6; }
13953
13954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13955         _pkg_short_errors_supported=yes
13956 else
13957         _pkg_short_errors_supported=no
13958 fi
13959         if test $_pkg_short_errors_supported = yes; then
13960                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13961         else
13962                 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13963         fi
13964         # Put the nasty error message in config.log where it belongs
13965         echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
13966
13967         have_edbus_test_client="no"
13968 elif test $pkg_failed = untried; then
13969         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13970 $as_echo "no" >&6; }
13971         have_edbus_test_client="no"
13972 else
13973         EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
13974         EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
13975         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13976 $as_echo "yes" >&6; }
13977         have_edbus_test_client="yes"
13978 fi
13979 fi
13980
13981 if test "x${have_edbus_bluez_test}" = "xyes" ; then
13982
13983 pkg_failed=no
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
13985 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
13986
13987 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
13988     pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
13989  elif test -n "$PKG_CONFIG"; then
13990     if test -n "$PKG_CONFIG" && \
13991     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13992   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13993   ac_status=$?
13994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13995   test $ac_status = 0; }; then
13996   pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13997                       test "x$?" != "x0" && pkg_failed=yes
13998 else
13999   pkg_failed=yes
14000 fi
14001  else
14002     pkg_failed=untried
14003 fi
14004 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
14005     pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
14006  elif test -n "$PKG_CONFIG"; then
14007     if test -n "$PKG_CONFIG" && \
14008     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14009   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14010   ac_status=$?
14011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14012   test $ac_status = 0; }; then
14013   pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14014                       test "x$?" != "x0" && pkg_failed=yes
14015 else
14016   pkg_failed=yes
14017 fi
14018  else
14019     pkg_failed=untried
14020 fi
14021
14022
14023
14024 if test $pkg_failed = yes; then
14025         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14026 $as_echo "no" >&6; }
14027
14028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14029         _pkg_short_errors_supported=yes
14030 else
14031         _pkg_short_errors_supported=no
14032 fi
14033         if test $_pkg_short_errors_supported = yes; then
14034                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14035         else
14036                 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14037         fi
14038         # Put the nasty error message in config.log where it belongs
14039         echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14040
14041         have_edbus_bluez_test="no"
14042 elif test $pkg_failed = untried; then
14043         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14044 $as_echo "no" >&6; }
14045         have_edbus_bluez_test="no"
14046 else
14047         EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14048         EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14049         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14050 $as_echo "yes" >&6; }
14051         have_edbus_bluez_test="yes"
14052 fi
14053 fi
14054
14055 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14056
14057 pkg_failed=no
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14059 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14060
14061 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14062     pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14063  elif test -n "$PKG_CONFIG"; then
14064     if test -n "$PKG_CONFIG" && \
14065     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14066   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14067   ac_status=$?
14068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14069   test $ac_status = 0; }; then
14070   pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14071                       test "x$?" != "x0" && pkg_failed=yes
14072 else
14073   pkg_failed=yes
14074 fi
14075  else
14076     pkg_failed=untried
14077 fi
14078 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14079     pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14080  elif test -n "$PKG_CONFIG"; then
14081     if test -n "$PKG_CONFIG" && \
14082     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14083   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14084   ac_status=$?
14085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14086   test $ac_status = 0; }; then
14087   pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14088                       test "x$?" != "x0" && pkg_failed=yes
14089 else
14090   pkg_failed=yes
14091 fi
14092  else
14093     pkg_failed=untried
14094 fi
14095
14096
14097
14098 if test $pkg_failed = yes; then
14099         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14100 $as_echo "no" >&6; }
14101
14102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14103         _pkg_short_errors_supported=yes
14104 else
14105         _pkg_short_errors_supported=no
14106 fi
14107         if test $_pkg_short_errors_supported = yes; then
14108                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14109         else
14110                 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14111         fi
14112         # Put the nasty error message in config.log where it belongs
14113         echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14114
14115         have_edbus_connman0_7x_test="no"
14116 elif test $pkg_failed = untried; then
14117         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14118 $as_echo "no" >&6; }
14119         have_edbus_connman0_7x_test="no"
14120 else
14121         EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14122         EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14123         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14124 $as_echo "yes" >&6; }
14125         have_edbus_connman0_7x_test="yes"
14126 fi
14127 fi
14128
14129 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14130
14131 pkg_failed=no
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14133 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14134
14135 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14136     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14137  elif test -n "$PKG_CONFIG"; then
14138     if test -n "$PKG_CONFIG" && \
14139     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14140   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14141   ac_status=$?
14142   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14143   test $ac_status = 0; }; then
14144   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14145                       test "x$?" != "x0" && pkg_failed=yes
14146 else
14147   pkg_failed=yes
14148 fi
14149  else
14150     pkg_failed=untried
14151 fi
14152 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14153     pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
14154  elif test -n "$PKG_CONFIG"; then
14155     if test -n "$PKG_CONFIG" && \
14156     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14157   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14158   ac_status=$?
14159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160   test $ac_status = 0; }; then
14161   pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14162                       test "x$?" != "x0" && pkg_failed=yes
14163 else
14164   pkg_failed=yes
14165 fi
14166  else
14167     pkg_failed=untried
14168 fi
14169
14170
14171
14172 if test $pkg_failed = yes; then
14173         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14174 $as_echo "no" >&6; }
14175
14176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14177         _pkg_short_errors_supported=yes
14178 else
14179         _pkg_short_errors_supported=no
14180 fi
14181         if test $_pkg_short_errors_supported = yes; then
14182                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14183         else
14184                 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14185         fi
14186         # Put the nasty error message in config.log where it belongs
14187         echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14188
14189         have_edbus_notification_daemon_test="no"
14190 elif test $pkg_failed = untried; then
14191         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14192 $as_echo "no" >&6; }
14193         have_edbus_notification_daemon_test="no"
14194 else
14195         EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14196         EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14197         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14198 $as_echo "yes" >&6; }
14199         have_edbus_notification_daemon_test="yes"
14200 fi
14201 fi
14202
14203 if test "x${have_edbus_notify_send}" = "xyes" ; then
14204
14205 pkg_failed=no
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14207 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14208
14209 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14210     pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14211  elif test -n "$PKG_CONFIG"; then
14212     if test -n "$PKG_CONFIG" && \
14213     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14214   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14215   ac_status=$?
14216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14217   test $ac_status = 0; }; then
14218   pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14219                       test "x$?" != "x0" && pkg_failed=yes
14220 else
14221   pkg_failed=yes
14222 fi
14223  else
14224     pkg_failed=untried
14225 fi
14226 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14227     pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14228  elif test -n "$PKG_CONFIG"; then
14229     if test -n "$PKG_CONFIG" && \
14230     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14231   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14232   ac_status=$?
14233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14234   test $ac_status = 0; }; then
14235   pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14236                       test "x$?" != "x0" && pkg_failed=yes
14237 else
14238   pkg_failed=yes
14239 fi
14240  else
14241     pkg_failed=untried
14242 fi
14243
14244
14245
14246 if test $pkg_failed = yes; then
14247         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248 $as_echo "no" >&6; }
14249
14250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14251         _pkg_short_errors_supported=yes
14252 else
14253         _pkg_short_errors_supported=no
14254 fi
14255         if test $_pkg_short_errors_supported = yes; then
14256                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14257         else
14258                 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14259         fi
14260         # Put the nasty error message in config.log where it belongs
14261         echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14262
14263         have_edbus_notify_send="no"
14264 elif test $pkg_failed = untried; then
14265         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14266 $as_echo "no" >&6; }
14267         have_edbus_notify_send="no"
14268 else
14269         EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14270         EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14271         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14272 $as_echo "yes" >&6; }
14273         have_edbus_notify_send="yes"
14274 fi
14275 fi
14276
14277 if test "x${have_edbus_notify_test}" = "xyes" ; then
14278
14279 pkg_failed=no
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14281 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14282
14283 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14284     pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14285  elif test -n "$PKG_CONFIG"; then
14286     if test -n "$PKG_CONFIG" && \
14287     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14288   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14289   ac_status=$?
14290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14291   test $ac_status = 0; }; then
14292   pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14293                       test "x$?" != "x0" && pkg_failed=yes
14294 else
14295   pkg_failed=yes
14296 fi
14297  else
14298     pkg_failed=untried
14299 fi
14300 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14301     pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14302  elif test -n "$PKG_CONFIG"; then
14303     if test -n "$PKG_CONFIG" && \
14304     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14305   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14306   ac_status=$?
14307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14308   test $ac_status = 0; }; then
14309   pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14310                       test "x$?" != "x0" && pkg_failed=yes
14311 else
14312   pkg_failed=yes
14313 fi
14314  else
14315     pkg_failed=untried
14316 fi
14317
14318
14319
14320 if test $pkg_failed = yes; then
14321         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14322 $as_echo "no" >&6; }
14323
14324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14325         _pkg_short_errors_supported=yes
14326 else
14327         _pkg_short_errors_supported=no
14328 fi
14329         if test $_pkg_short_errors_supported = yes; then
14330                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14331         else
14332                 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14333         fi
14334         # Put the nasty error message in config.log where it belongs
14335         echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14336
14337         have_edbus_notify_test="no"
14338 elif test $pkg_failed = untried; then
14339         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14340 $as_echo "no" >&6; }
14341         have_edbus_notify_test="no"
14342 else
14343         EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14344         EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14345         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14346 $as_echo "yes" >&6; }
14347         have_edbus_notify_test="yes"
14348 fi
14349 fi
14350
14351 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14352
14353 pkg_failed=no
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14355 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14356
14357 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14358     pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14359  elif test -n "$PKG_CONFIG"; then
14360     if test -n "$PKG_CONFIG" && \
14361     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14362   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14363   ac_status=$?
14364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14365   test $ac_status = 0; }; then
14366   pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14367                       test "x$?" != "x0" && pkg_failed=yes
14368 else
14369   pkg_failed=yes
14370 fi
14371  else
14372     pkg_failed=untried
14373 fi
14374 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14375     pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14376  elif test -n "$PKG_CONFIG"; then
14377     if test -n "$PKG_CONFIG" && \
14378     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14379   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14380   ac_status=$?
14381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14382   test $ac_status = 0; }; then
14383   pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14384                       test "x$?" != "x0" && pkg_failed=yes
14385 else
14386   pkg_failed=yes
14387 fi
14388  else
14389     pkg_failed=untried
14390 fi
14391
14392
14393
14394 if test $pkg_failed = yes; then
14395         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14396 $as_echo "no" >&6; }
14397
14398 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14399         _pkg_short_errors_supported=yes
14400 else
14401         _pkg_short_errors_supported=no
14402 fi
14403         if test $_pkg_short_errors_supported = yes; then
14404                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14405         else
14406                 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14407         fi
14408         # Put the nasty error message in config.log where it belongs
14409         echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14410
14411         have_edbus_ofono_test="no"
14412 elif test $pkg_failed = untried; then
14413         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14414 $as_echo "no" >&6; }
14415         have_edbus_ofono_test="no"
14416 else
14417         EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14418         EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14419         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14420 $as_echo "yes" >&6; }
14421         have_edbus_ofono_test="yes"
14422 fi
14423 fi
14424
14425 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14426
14427 pkg_failed=no
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14429 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14430
14431 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14432     pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14433  elif test -n "$PKG_CONFIG"; then
14434     if test -n "$PKG_CONFIG" && \
14435     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14436   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14437   ac_status=$?
14438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14439   test $ac_status = 0; }; then
14440   pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14441                       test "x$?" != "x0" && pkg_failed=yes
14442 else
14443   pkg_failed=yes
14444 fi
14445  else
14446     pkg_failed=untried
14447 fi
14448 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14449     pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14450  elif test -n "$PKG_CONFIG"; then
14451     if test -n "$PKG_CONFIG" && \
14452     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14453   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14454   ac_status=$?
14455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14456   test $ac_status = 0; }; then
14457   pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14458                       test "x$?" != "x0" && pkg_failed=yes
14459 else
14460   pkg_failed=yes
14461 fi
14462  else
14463     pkg_failed=untried
14464 fi
14465
14466
14467
14468 if test $pkg_failed = yes; then
14469         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14470 $as_echo "no" >&6; }
14471
14472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14473         _pkg_short_errors_supported=yes
14474 else
14475         _pkg_short_errors_supported=no
14476 fi
14477         if test $_pkg_short_errors_supported = yes; then
14478                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14479         else
14480                 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14481         fi
14482         # Put the nasty error message in config.log where it belongs
14483         echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14484
14485         have_edbus_ukit_test="no"
14486 elif test $pkg_failed = untried; then
14487         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14488 $as_echo "no" >&6; }
14489         have_edbus_ukit_test="no"
14490 else
14491         EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14492         EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14493         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14494 $as_echo "yes" >&6; }
14495         have_edbus_ukit_test="yes"
14496 fi
14497 fi
14498
14499 if test "x${have_edbus_performance_test}" = "xyes" ; then
14500
14501 pkg_failed=no
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14503 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14504
14505 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14506     pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14507  elif test -n "$PKG_CONFIG"; then
14508     if test -n "$PKG_CONFIG" && \
14509     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99\""; } >&5
14510   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99") 2>&5
14511   ac_status=$?
14512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14513   test $ac_status = 0; }; then
14514   pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>/dev/null`
14515                       test "x$?" != "x0" && pkg_failed=yes
14516 else
14517   pkg_failed=yes
14518 fi
14519  else
14520     pkg_failed=untried
14521 fi
14522 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14523     pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14524  elif test -n "$PKG_CONFIG"; then
14525     if test -n "$PKG_CONFIG" && \
14526     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99\""; } >&5
14527   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99") 2>&5
14528   ac_status=$?
14529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14530   test $ac_status = 0; }; then
14531   pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>/dev/null`
14532                       test "x$?" != "x0" && pkg_failed=yes
14533 else
14534   pkg_failed=yes
14535 fi
14536  else
14537     pkg_failed=untried
14538 fi
14539
14540
14541
14542 if test $pkg_failed = yes; then
14543         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14544 $as_echo "no" >&6; }
14545
14546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14547         _pkg_short_errors_supported=yes
14548 else
14549         _pkg_short_errors_supported=no
14550 fi
14551         if test $_pkg_short_errors_supported = yes; then
14552                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>&1`
14553         else
14554                 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>&1`
14555         fi
14556         # Put the nasty error message in config.log where it belongs
14557         echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14558
14559         have_edbus_performance_test="no"
14560 elif test $pkg_failed = untried; then
14561         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14562 $as_echo "no" >&6; }
14563         have_edbus_performance_test="no"
14564 else
14565         EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14566         EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14567         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14568 $as_echo "yes" >&6; }
14569         have_edbus_performance_test="yes"
14570 fi
14571 fi
14572
14573  if test "x${have_edbus_performance_test}" = "xyes"; then
14574   BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14575   BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14576 else
14577   BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14578   BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14579 fi
14580
14581
14582 if test "x${have_edbus_async_test}" = "xyes" ; then
14583
14584 pkg_failed=no
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14586 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14587
14588 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14589     pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14590  elif test -n "$PKG_CONFIG"; then
14591     if test -n "$PKG_CONFIG" && \
14592     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14593   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
14594   ac_status=$?
14595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14596   test $ac_status = 0; }; then
14597   pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14598                       test "x$?" != "x0" && pkg_failed=yes
14599 else
14600   pkg_failed=yes
14601 fi
14602  else
14603     pkg_failed=untried
14604 fi
14605 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14606     pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14607  elif test -n "$PKG_CONFIG"; then
14608     if test -n "$PKG_CONFIG" && \
14609     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14610   ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
14611   ac_status=$?
14612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14613   test $ac_status = 0; }; then
14614   pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14615                       test "x$?" != "x0" && pkg_failed=yes
14616 else
14617   pkg_failed=yes
14618 fi
14619  else
14620     pkg_failed=untried
14621 fi
14622
14623
14624
14625 if test $pkg_failed = yes; then
14626         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14627 $as_echo "no" >&6; }
14628
14629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14630         _pkg_short_errors_supported=yes
14631 else
14632         _pkg_short_errors_supported=no
14633 fi
14634         if test $_pkg_short_errors_supported = yes; then
14635                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14636         else
14637                 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14638         fi
14639         # Put the nasty error message in config.log where it belongs
14640         echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14641
14642         have_edbus_async_test="no"
14643 elif test $pkg_failed = untried; then
14644         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14645 $as_echo "no" >&6; }
14646         have_edbus_async_test="no"
14647 else
14648         EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14649         EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14650         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14651 $as_echo "yes" >&6; }
14652         have_edbus_async_test="yes"
14653 fi
14654 fi
14655
14656 ### Checks for header files
14657
14658
14659 ### Checks for types
14660
14661
14662 ### Checks for structures
14663
14664
14665 ### Checks for compiler characteristics
14666
14667 EFL_EDBUS_BUILD=""
14668 case "$host_os" in
14669    mingw*)
14670       EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14671    ;;
14672 esac
14673
14674
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14676 $as_echo_n "checking for ANSI C header files... " >&6; }
14677 if ${ac_cv_header_stdc+:} false; then :
14678   $as_echo_n "(cached) " >&6
14679 else
14680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h.  */
14682 #include <stdlib.h>
14683 #include <stdarg.h>
14684 #include <string.h>
14685 #include <float.h>
14686
14687 int
14688 main ()
14689 {
14690
14691   ;
14692   return 0;
14693 }
14694 _ACEOF
14695 if ac_fn_c_try_compile "$LINENO"; then :
14696   ac_cv_header_stdc=yes
14697 else
14698   ac_cv_header_stdc=no
14699 fi
14700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14701
14702 if test $ac_cv_header_stdc = yes; then
14703   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h.  */
14706 #include <string.h>
14707
14708 _ACEOF
14709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14710   $EGREP "memchr" >/dev/null 2>&1; then :
14711
14712 else
14713   ac_cv_header_stdc=no
14714 fi
14715 rm -f conftest*
14716
14717 fi
14718
14719 if test $ac_cv_header_stdc = yes; then
14720   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h.  */
14723 #include <stdlib.h>
14724
14725 _ACEOF
14726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14727   $EGREP "free" >/dev/null 2>&1; then :
14728
14729 else
14730   ac_cv_header_stdc=no
14731 fi
14732 rm -f conftest*
14733
14734 fi
14735
14736 if test $ac_cv_header_stdc = yes; then
14737   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14738   if test "$cross_compiling" = yes; then :
14739   :
14740 else
14741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h.  */
14743 #include <ctype.h>
14744 #include <stdlib.h>
14745 #if ((' ' & 0x0FF) == 0x020)
14746 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14747 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14748 #else
14749 # define ISLOWER(c) \
14750                    (('a' <= (c) && (c) <= 'i') \
14751                      || ('j' <= (c) && (c) <= 'r') \
14752                      || ('s' <= (c) && (c) <= 'z'))
14753 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14754 #endif
14755
14756 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14757 int
14758 main ()
14759 {
14760   int i;
14761   for (i = 0; i < 256; i++)
14762     if (XOR (islower (i), ISLOWER (i))
14763         || toupper (i) != TOUPPER (i))
14764       return 2;
14765   return 0;
14766 }
14767 _ACEOF
14768 if ac_fn_c_try_run "$LINENO"; then :
14769
14770 else
14771   ac_cv_header_stdc=no
14772 fi
14773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14774   conftest.$ac_objext conftest.beam conftest.$ac_ext
14775 fi
14776
14777 fi
14778 fi
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14780 $as_echo "$ac_cv_header_stdc" >&6; }
14781 if test $ac_cv_header_stdc = yes; then
14782
14783 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14784
14785 fi
14786
14787
14788
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14790 $as_echo_n "checking for __attribute__... " >&6; }
14791
14792 if ${ac_cv___attribute__+:} false; then :
14793   $as_echo_n "(cached) " >&6
14794 else
14795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h.  */
14797
14798 #include <stdlib.h>
14799
14800 int func(int x);
14801 int foo(int x __attribute__ ((unused)))
14802 {
14803    exit(1);
14804 }
14805
14806 int
14807 main ()
14808 {
14809
14810   ;
14811   return 0;
14812 }
14813 _ACEOF
14814 if ac_fn_c_try_compile "$LINENO"; then :
14815   ac_cv___attribute__="yes"
14816 else
14817   ac_cv___attribute__="no"
14818
14819 fi
14820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14821 fi
14822
14823
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14825 $as_echo "$ac_cv___attribute__" >&6; }
14826
14827 if test "x${ac_cv___attribute__}" = "xyes" ; then
14828
14829 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14830
14831
14832 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14833
14834   else
14835
14836 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14837
14838 fi
14839
14840
14841
14842 if ! test "x${VMIC}" = "x" ; then
14843
14844
14845 CFLAGS_save="${CFLAGS}"
14846 CFLAGS="${CFLAGS} -Wall"
14847
14848 ac_ext=c
14849 ac_cpp='$CPP $CPPFLAGS'
14850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14853
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14855 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14856
14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h.  */
14859
14860 int
14861 main ()
14862 {
14863
14864   ;
14865   return 0;
14866 }
14867 _ACEOF
14868 if ac_fn_c_try_compile "$LINENO"; then :
14869   have_flag="yes"
14870 else
14871   have_flag="no"
14872 fi
14873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14875 $as_echo "${have_flag}" >&6; }
14876
14877 if test "x${have_flag}" = "xno" ; then
14878    CFLAGS="${CFLAGS_save}"
14879 fi
14880 ac_ext=c
14881 ac_cpp='$CPP $CPPFLAGS'
14882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14885
14886
14887
14888
14889
14890 CFLAGS_save="${CFLAGS}"
14891 CFLAGS="${CFLAGS} -W"
14892
14893 ac_ext=c
14894 ac_cpp='$CPP $CPPFLAGS'
14895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14898
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14900 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14901
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h.  */
14904
14905 int
14906 main ()
14907 {
14908
14909   ;
14910   return 0;
14911 }
14912 _ACEOF
14913 if ac_fn_c_try_compile "$LINENO"; then :
14914   have_flag="yes"
14915 else
14916   have_flag="no"
14917 fi
14918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14920 $as_echo "${have_flag}" >&6; }
14921
14922 if test "x${have_flag}" = "xno" ; then
14923    CFLAGS="${CFLAGS_save}"
14924 fi
14925 ac_ext=c
14926 ac_cpp='$CPP $CPPFLAGS'
14927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14930
14931
14932
14933 fi
14934
14935
14936
14937 CFLAGS_save="${CFLAGS}"
14938 CFLAGS="${CFLAGS} -Wshadow"
14939
14940 ac_ext=c
14941 ac_cpp='$CPP $CPPFLAGS'
14942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14945
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
14947 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
14948
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h.  */
14951
14952 int
14953 main ()
14954 {
14955
14956   ;
14957   return 0;
14958 }
14959 _ACEOF
14960 if ac_fn_c_try_compile "$LINENO"; then :
14961   have_flag="yes"
14962 else
14963   have_flag="no"
14964 fi
14965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14967 $as_echo "${have_flag}" >&6; }
14968
14969 if test "x${have_flag}" = "xno" ; then
14970    CFLAGS="${CFLAGS_save}"
14971 fi
14972 ac_ext=c
14973 ac_cpp='$CPP $CPPFLAGS'
14974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14977
14978
14979
14980
14981
14982 ### Checks for linker characteristics
14983
14984 lt_enable_auto_import=""
14985 case "$host_os" in
14986    mingw*)
14987       lt_enable_auto_import="-Wl,--enable-auto-import"
14988    ;;
14989 esac
14990
14991
14992
14993 ### Checks for library functions
14994
14995 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14996 if test "x$ac_cv_type_size_t" = xyes; then :
14997
14998 else
14999
15000 cat >>confdefs.h <<_ACEOF
15001 #define size_t unsigned int
15002 _ACEOF
15003
15004 fi
15005
15006 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15007 # for constant arguments.  Useless!
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15009 $as_echo_n "checking for working alloca.h... " >&6; }
15010 if ${ac_cv_working_alloca_h+:} false; then :
15011   $as_echo_n "(cached) " >&6
15012 else
15013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h.  */
15015 #include <alloca.h>
15016 int
15017 main ()
15018 {
15019 char *p = (char *) alloca (2 * sizeof (int));
15020                           if (p) return 0;
15021   ;
15022   return 0;
15023 }
15024 _ACEOF
15025 if ac_fn_c_try_link "$LINENO"; then :
15026   ac_cv_working_alloca_h=yes
15027 else
15028   ac_cv_working_alloca_h=no
15029 fi
15030 rm -f core conftest.err conftest.$ac_objext \
15031     conftest$ac_exeext conftest.$ac_ext
15032 fi
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15034 $as_echo "$ac_cv_working_alloca_h" >&6; }
15035 if test $ac_cv_working_alloca_h = yes; then
15036
15037 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15038
15039 fi
15040
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15042 $as_echo_n "checking for alloca... " >&6; }
15043 if ${ac_cv_func_alloca_works+:} false; then :
15044   $as_echo_n "(cached) " >&6
15045 else
15046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h.  */
15048 #ifdef __GNUC__
15049 # define alloca __builtin_alloca
15050 #else
15051 # ifdef _MSC_VER
15052 #  include <malloc.h>
15053 #  define alloca _alloca
15054 # else
15055 #  ifdef HAVE_ALLOCA_H
15056 #   include <alloca.h>
15057 #  else
15058 #   ifdef _AIX
15059  #pragma alloca
15060 #   else
15061 #    ifndef alloca /* predefined by HP cc +Olibcalls */
15062 void *alloca (size_t);
15063 #    endif
15064 #   endif
15065 #  endif
15066 # endif
15067 #endif
15068
15069 int
15070 main ()
15071 {
15072 char *p = (char *) alloca (1);
15073                                     if (p) return 0;
15074   ;
15075   return 0;
15076 }
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"; then :
15079   ac_cv_func_alloca_works=yes
15080 else
15081   ac_cv_func_alloca_works=no
15082 fi
15083 rm -f core conftest.err conftest.$ac_objext \
15084     conftest$ac_exeext conftest.$ac_ext
15085 fi
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15087 $as_echo "$ac_cv_func_alloca_works" >&6; }
15088
15089 if test $ac_cv_func_alloca_works = yes; then
15090
15091 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15092
15093 else
15094   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15095 # that cause trouble.  Some versions do not even contain alloca or
15096 # contain a buggy version.  If you still want to use their alloca,
15097 # use ar to extract alloca.o from them instead of compiling alloca.c.
15098
15099 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15100
15101 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15102
15103
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15105 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15106 if ${ac_cv_os_cray+:} false; then :
15107   $as_echo_n "(cached) " >&6
15108 else
15109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h.  */
15111 #if defined CRAY && ! defined CRAY2
15112 webecray
15113 #else
15114 wenotbecray
15115 #endif
15116
15117 _ACEOF
15118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15119   $EGREP "webecray" >/dev/null 2>&1; then :
15120   ac_cv_os_cray=yes
15121 else
15122   ac_cv_os_cray=no
15123 fi
15124 rm -f conftest*
15125
15126 fi
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15128 $as_echo "$ac_cv_os_cray" >&6; }
15129 if test $ac_cv_os_cray = yes; then
15130   for ac_func in _getb67 GETB67 getb67; do
15131     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15133 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15134
15135 cat >>confdefs.h <<_ACEOF
15136 #define CRAY_STACKSEG_END $ac_func
15137 _ACEOF
15138
15139     break
15140 fi
15141
15142   done
15143 fi
15144
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15146 $as_echo_n "checking stack direction for C alloca... " >&6; }
15147 if ${ac_cv_c_stack_direction+:} false; then :
15148   $as_echo_n "(cached) " >&6
15149 else
15150   if test "$cross_compiling" = yes; then :
15151   ac_cv_c_stack_direction=0
15152 else
15153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h.  */
15155 $ac_includes_default
15156 int
15157 find_stack_direction ()
15158 {
15159   static char *addr = 0;
15160   auto char dummy;
15161   if (addr == 0)
15162     {
15163       addr = &dummy;
15164       return find_stack_direction ();
15165     }
15166   else
15167     return (&dummy > addr) ? 1 : -1;
15168 }
15169
15170 int
15171 main ()
15172 {
15173   return find_stack_direction () < 0;
15174 }
15175 _ACEOF
15176 if ac_fn_c_try_run "$LINENO"; then :
15177   ac_cv_c_stack_direction=1
15178 else
15179   ac_cv_c_stack_direction=-1
15180 fi
15181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15182   conftest.$ac_objext conftest.beam conftest.$ac_ext
15183 fi
15184
15185 fi
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15187 $as_echo "$ac_cv_c_stack_direction" >&6; }
15188 cat >>confdefs.h <<_ACEOF
15189 #define STACK_DIRECTION $ac_cv_c_stack_direction
15190 _ACEOF
15191
15192
15193 fi
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206 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"
15207
15208 cat >confcache <<\_ACEOF
15209 # This file is a shell script that caches the results of configure
15210 # tests run on this system so they can be shared between configure
15211 # scripts and configure runs, see configure's option --config-cache.
15212 # It is not useful on other systems.  If it contains results you don't
15213 # want to keep, you may remove or edit it.
15214 #
15215 # config.status only pays attention to the cache file if you give it
15216 # the --recheck option to rerun configure.
15217 #
15218 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15219 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15220 # following values.
15221
15222 _ACEOF
15223
15224 # The following way of writing the cache mishandles newlines in values,
15225 # but we know of no workaround that is simple, portable, and efficient.
15226 # So, we kill variables containing newlines.
15227 # Ultrix sh set writes to stderr and can't be redirected directly,
15228 # and sets the high bit in the cache file unless we assign to the vars.
15229 (
15230   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15231     eval ac_val=\$$ac_var
15232     case $ac_val in #(
15233     *${as_nl}*)
15234       case $ac_var in #(
15235       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15236 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15237       esac
15238       case $ac_var in #(
15239       _ | IFS | as_nl) ;; #(
15240       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15241       *) { eval $ac_var=; unset $ac_var;} ;;
15242       esac ;;
15243     esac
15244   done
15245
15246   (set) 2>&1 |
15247     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15248     *${as_nl}ac_space=\ *)
15249       # `set' does not quote correctly, so add quotes: double-quote
15250       # substitution turns \\\\ into \\, and sed turns \\ into \.
15251       sed -n \
15252         "s/'/'\\\\''/g;
15253           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15254       ;; #(
15255     *)
15256       # `set' quotes correctly as required by POSIX, so do not add quotes.
15257       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15258       ;;
15259     esac |
15260     sort
15261 ) |
15262   sed '
15263      /^ac_cv_env_/b end
15264      t clear
15265      :clear
15266      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15267      t end
15268      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15269      :end' >>confcache
15270 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15271   if test -w "$cache_file"; then
15272     if test "x$cache_file" != "x/dev/null"; then
15273       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15274 $as_echo "$as_me: updating cache $cache_file" >&6;}
15275       if test ! -f "$cache_file" || test -h "$cache_file"; then
15276         cat confcache >"$cache_file"
15277       else
15278         case $cache_file in #(
15279         */* | ?:*)
15280           mv -f confcache "$cache_file"$$ &&
15281           mv -f "$cache_file"$$ "$cache_file" ;; #(
15282         *)
15283           mv -f confcache "$cache_file" ;;
15284         esac
15285       fi
15286     fi
15287   else
15288     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15289 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15290   fi
15291 fi
15292 rm -f confcache
15293
15294 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15295 # Let make expand exec_prefix.
15296 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15297
15298 DEFS=-DHAVE_CONFIG_H
15299
15300 ac_libobjs=
15301 ac_ltlibobjs=
15302 U=
15303 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15304   # 1. Remove the extension, and $U if already installed.
15305   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15306   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15307   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15308   #    will be set to the directory where LIBOBJS objects are built.
15309   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15310   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15311 done
15312 LIBOBJS=$ac_libobjs
15313
15314 LTLIBOBJS=$ac_ltlibobjs
15315
15316
15317  if test -n "$EXEEXT"; then
15318   am__EXEEXT_TRUE=
15319   am__EXEEXT_FALSE='#'
15320 else
15321   am__EXEEXT_TRUE='#'
15322   am__EXEEXT_FALSE=
15323 fi
15324
15325 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15326   as_fn_error $? "conditional \"AMDEP\" was never defined.
15327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15328 fi
15329 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15330   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15332 fi
15333 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15334   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15336 fi
15337 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15338   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15340 fi
15341 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15342   as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15344 fi
15345 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15346   as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15348 fi
15349 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15350   as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15352 fi
15353 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15354   as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15356 fi
15357 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15358   as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15360 fi
15361 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15362   as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15364 fi
15365 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15366   as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15368 fi
15369 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15370   as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15372 fi
15373 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15374   as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15376 fi
15377 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15378   as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15380 fi
15381 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15382   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15384 fi
15385 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15386   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15388 fi
15389 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15390   as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15392 fi
15393 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15394   as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15396 fi
15397 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15398   as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15400 fi
15401 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15402   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15404 fi
15405 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15406   as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15408 fi
15409 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15410   as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15412 fi
15413
15414 : "${CONFIG_STATUS=./config.status}"
15415 ac_write_fail=0
15416 ac_clean_files_save=$ac_clean_files
15417 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15419 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15420 as_write_fail=0
15421 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15422 #! $SHELL
15423 # Generated by $as_me.
15424 # Run this file to recreate the current configuration.
15425 # Compiler output produced by configure, useful for debugging
15426 # configure, is in config.log if it exists.
15427
15428 debug=false
15429 ac_cs_recheck=false
15430 ac_cs_silent=false
15431
15432 SHELL=\${CONFIG_SHELL-$SHELL}
15433 export SHELL
15434 _ASEOF
15435 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15436 ## -------------------- ##
15437 ## M4sh Initialization. ##
15438 ## -------------------- ##
15439
15440 # Be more Bourne compatible
15441 DUALCASE=1; export DUALCASE # for MKS sh
15442 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15443   emulate sh
15444   NULLCMD=:
15445   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15446   # is contrary to our usage.  Disable this feature.
15447   alias -g '${1+"$@"}'='"$@"'
15448   setopt NO_GLOB_SUBST
15449 else
15450   case `(set -o) 2>/dev/null` in #(
15451   *posix*) :
15452     set -o posix ;; #(
15453   *) :
15454      ;;
15455 esac
15456 fi
15457
15458
15459 as_nl='
15460 '
15461 export as_nl
15462 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15463 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15464 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15465 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15466 # Prefer a ksh shell builtin over an external printf program on Solaris,
15467 # but without wasting forks for bash or zsh.
15468 if test -z "$BASH_VERSION$ZSH_VERSION" \
15469     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15470   as_echo='print -r --'
15471   as_echo_n='print -rn --'
15472 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15473   as_echo='printf %s\n'
15474   as_echo_n='printf %s'
15475 else
15476   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15477     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15478     as_echo_n='/usr/ucb/echo -n'
15479   else
15480     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15481     as_echo_n_body='eval
15482       arg=$1;
15483       case $arg in #(
15484       *"$as_nl"*)
15485         expr "X$arg" : "X\\(.*\\)$as_nl";
15486         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15487       esac;
15488       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15489     '
15490     export as_echo_n_body
15491     as_echo_n='sh -c $as_echo_n_body as_echo'
15492   fi
15493   export as_echo_body
15494   as_echo='sh -c $as_echo_body as_echo'
15495 fi
15496
15497 # The user is always right.
15498 if test "${PATH_SEPARATOR+set}" != set; then
15499   PATH_SEPARATOR=:
15500   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15501     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15502       PATH_SEPARATOR=';'
15503   }
15504 fi
15505
15506
15507 # IFS
15508 # We need space, tab and new line, in precisely that order.  Quoting is
15509 # there to prevent editors from complaining about space-tab.
15510 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15511 # splitting by setting IFS to empty value.)
15512 IFS=" ""        $as_nl"
15513
15514 # Find who we are.  Look in the path if we contain no directory separator.
15515 as_myself=
15516 case $0 in #((
15517   *[\\/]* ) as_myself=$0 ;;
15518   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15519 for as_dir in $PATH
15520 do
15521   IFS=$as_save_IFS
15522   test -z "$as_dir" && as_dir=.
15523     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15524   done
15525 IFS=$as_save_IFS
15526
15527      ;;
15528 esac
15529 # We did not find ourselves, most probably we were run as `sh COMMAND'
15530 # in which case we are not to be found in the path.
15531 if test "x$as_myself" = x; then
15532   as_myself=$0
15533 fi
15534 if test ! -f "$as_myself"; then
15535   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15536   exit 1
15537 fi
15538
15539 # Unset variables that we do not need and which cause bugs (e.g. in
15540 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15541 # suppresses any "Segmentation fault" message there.  '((' could
15542 # trigger a bug in pdksh 5.2.14.
15543 for as_var in BASH_ENV ENV MAIL MAILPATH
15544 do eval test x\${$as_var+set} = xset \
15545   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15546 done
15547 PS1='$ '
15548 PS2='> '
15549 PS4='+ '
15550
15551 # NLS nuisances.
15552 LC_ALL=C
15553 export LC_ALL
15554 LANGUAGE=C
15555 export LANGUAGE
15556
15557 # CDPATH.
15558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15559
15560
15561 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15562 # ----------------------------------------
15563 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15564 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15565 # script with STATUS, using 1 if that was 0.
15566 as_fn_error ()
15567 {
15568   as_status=$1; test $as_status -eq 0 && as_status=1
15569   if test "$4"; then
15570     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15571     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15572   fi
15573   $as_echo "$as_me: error: $2" >&2
15574   as_fn_exit $as_status
15575 } # as_fn_error
15576
15577
15578 # as_fn_set_status STATUS
15579 # -----------------------
15580 # Set $? to STATUS, without forking.
15581 as_fn_set_status ()
15582 {
15583   return $1
15584 } # as_fn_set_status
15585
15586 # as_fn_exit STATUS
15587 # -----------------
15588 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15589 as_fn_exit ()
15590 {
15591   set +e
15592   as_fn_set_status $1
15593   exit $1
15594 } # as_fn_exit
15595
15596 # as_fn_unset VAR
15597 # ---------------
15598 # Portably unset VAR.
15599 as_fn_unset ()
15600 {
15601   { eval $1=; unset $1;}
15602 }
15603 as_unset=as_fn_unset
15604 # as_fn_append VAR VALUE
15605 # ----------------------
15606 # Append the text in VALUE to the end of the definition contained in VAR. Take
15607 # advantage of any shell optimizations that allow amortized linear growth over
15608 # repeated appends, instead of the typical quadratic growth present in naive
15609 # implementations.
15610 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15611   eval 'as_fn_append ()
15612   {
15613     eval $1+=\$2
15614   }'
15615 else
15616   as_fn_append ()
15617   {
15618     eval $1=\$$1\$2
15619   }
15620 fi # as_fn_append
15621
15622 # as_fn_arith ARG...
15623 # ------------------
15624 # Perform arithmetic evaluation on the ARGs, and store the result in the
15625 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15626 # must be portable across $(()) and expr.
15627 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15628   eval 'as_fn_arith ()
15629   {
15630     as_val=$(( $* ))
15631   }'
15632 else
15633   as_fn_arith ()
15634   {
15635     as_val=`expr "$@" || test $? -eq 1`
15636   }
15637 fi # as_fn_arith
15638
15639
15640 if expr a : '\(a\)' >/dev/null 2>&1 &&
15641    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15642   as_expr=expr
15643 else
15644   as_expr=false
15645 fi
15646
15647 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15648   as_basename=basename
15649 else
15650   as_basename=false
15651 fi
15652
15653 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15654   as_dirname=dirname
15655 else
15656   as_dirname=false
15657 fi
15658
15659 as_me=`$as_basename -- "$0" ||
15660 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15661          X"$0" : 'X\(//\)$' \| \
15662          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15663 $as_echo X/"$0" |
15664     sed '/^.*\/\([^/][^/]*\)\/*$/{
15665             s//\1/
15666             q
15667           }
15668           /^X\/\(\/\/\)$/{
15669             s//\1/
15670             q
15671           }
15672           /^X\/\(\/\).*/{
15673             s//\1/
15674             q
15675           }
15676           s/.*/./; q'`
15677
15678 # Avoid depending upon Character Ranges.
15679 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15680 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15681 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15682 as_cr_digits='0123456789'
15683 as_cr_alnum=$as_cr_Letters$as_cr_digits
15684
15685 ECHO_C= ECHO_N= ECHO_T=
15686 case `echo -n x` in #(((((
15687 -n*)
15688   case `echo 'xy\c'` in
15689   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15690   xy)  ECHO_C='\c';;
15691   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15692        ECHO_T=' ';;
15693   esac;;
15694 *)
15695   ECHO_N='-n';;
15696 esac
15697
15698 rm -f conf$$ conf$$.exe conf$$.file
15699 if test -d conf$$.dir; then
15700   rm -f conf$$.dir/conf$$.file
15701 else
15702   rm -f conf$$.dir
15703   mkdir conf$$.dir 2>/dev/null
15704 fi
15705 if (echo >conf$$.file) 2>/dev/null; then
15706   if ln -s conf$$.file conf$$ 2>/dev/null; then
15707     as_ln_s='ln -s'
15708     # ... but there are two gotchas:
15709     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15710     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15711     # In both cases, we have to default to `cp -p'.
15712     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15713       as_ln_s='cp -p'
15714   elif ln conf$$.file conf$$ 2>/dev/null; then
15715     as_ln_s=ln
15716   else
15717     as_ln_s='cp -p'
15718   fi
15719 else
15720   as_ln_s='cp -p'
15721 fi
15722 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15723 rmdir conf$$.dir 2>/dev/null
15724
15725
15726 # as_fn_mkdir_p
15727 # -------------
15728 # Create "$as_dir" as a directory, including parents if necessary.
15729 as_fn_mkdir_p ()
15730 {
15731
15732   case $as_dir in #(
15733   -*) as_dir=./$as_dir;;
15734   esac
15735   test -d "$as_dir" || eval $as_mkdir_p || {
15736     as_dirs=
15737     while :; do
15738       case $as_dir in #(
15739       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15740       *) as_qdir=$as_dir;;
15741       esac
15742       as_dirs="'$as_qdir' $as_dirs"
15743       as_dir=`$as_dirname -- "$as_dir" ||
15744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15745          X"$as_dir" : 'X\(//\)[^/]' \| \
15746          X"$as_dir" : 'X\(//\)$' \| \
15747          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15748 $as_echo X"$as_dir" |
15749     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15750             s//\1/
15751             q
15752           }
15753           /^X\(\/\/\)[^/].*/{
15754             s//\1/
15755             q
15756           }
15757           /^X\(\/\/\)$/{
15758             s//\1/
15759             q
15760           }
15761           /^X\(\/\).*/{
15762             s//\1/
15763             q
15764           }
15765           s/.*/./; q'`
15766       test -d "$as_dir" && break
15767     done
15768     test -z "$as_dirs" || eval "mkdir $as_dirs"
15769   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15770
15771
15772 } # as_fn_mkdir_p
15773 if mkdir -p . 2>/dev/null; then
15774   as_mkdir_p='mkdir -p "$as_dir"'
15775 else
15776   test -d ./-p && rmdir ./-p
15777   as_mkdir_p=false
15778 fi
15779
15780 if test -x / >/dev/null 2>&1; then
15781   as_test_x='test -x'
15782 else
15783   if ls -dL / >/dev/null 2>&1; then
15784     as_ls_L_option=L
15785   else
15786     as_ls_L_option=
15787   fi
15788   as_test_x='
15789     eval sh -c '\''
15790       if test -d "$1"; then
15791         test -d "$1/.";
15792       else
15793         case $1 in #(
15794         -*)set "./$1";;
15795         esac;
15796         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15797         ???[sx]*):;;*)false;;esac;fi
15798     '\'' sh
15799   '
15800 fi
15801 as_executable_p=$as_test_x
15802
15803 # Sed expression to map a string onto a valid CPP name.
15804 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15805
15806 # Sed expression to map a string onto a valid variable name.
15807 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15808
15809
15810 exec 6>&1
15811 ## ----------------------------------- ##
15812 ## Main body of $CONFIG_STATUS script. ##
15813 ## ----------------------------------- ##
15814 _ASEOF
15815 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15816
15817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15818 # Save the log message, to keep $0 and so on meaningful, and to
15819 # report actual input values of CONFIG_FILES etc. instead of their
15820 # values after options handling.
15821 ac_log="
15822 This file was extended by e_dbus $as_me 1.7.2, which was
15823 generated by GNU Autoconf 2.68.  Invocation command line was
15824
15825   CONFIG_FILES    = $CONFIG_FILES
15826   CONFIG_HEADERS  = $CONFIG_HEADERS
15827   CONFIG_LINKS    = $CONFIG_LINKS
15828   CONFIG_COMMANDS = $CONFIG_COMMANDS
15829   $ $0 $@
15830
15831 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15832 "
15833
15834 _ACEOF
15835
15836 case $ac_config_files in *"
15837 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15838 esac
15839
15840 case $ac_config_headers in *"
15841 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15842 esac
15843
15844
15845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15846 # Files that config.status was made for.
15847 config_files="$ac_config_files"
15848 config_headers="$ac_config_headers"
15849 config_commands="$ac_config_commands"
15850
15851 _ACEOF
15852
15853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15854 ac_cs_usage="\
15855 \`$as_me' instantiates files and other configuration actions
15856 from templates according to the current configuration.  Unless the files
15857 and actions are specified as TAGs, all are instantiated by default.
15858
15859 Usage: $0 [OPTION]... [TAG]...
15860
15861   -h, --help       print this help, then exit
15862   -V, --version    print version number and configuration settings, then exit
15863       --config     print configuration, then exit
15864   -q, --quiet, --silent
15865                    do not print progress messages
15866   -d, --debug      don't remove temporary files
15867       --recheck    update $as_me by reconfiguring in the same conditions
15868       --file=FILE[:TEMPLATE]
15869                    instantiate the configuration file FILE
15870       --header=FILE[:TEMPLATE]
15871                    instantiate the configuration header FILE
15872
15873 Configuration files:
15874 $config_files
15875
15876 Configuration headers:
15877 $config_headers
15878
15879 Configuration commands:
15880 $config_commands
15881
15882 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15883
15884 _ACEOF
15885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15886 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15887 ac_cs_version="\\
15888 e_dbus config.status 1.7.2
15889 configured by $0, generated by GNU Autoconf 2.68,
15890   with options \\"\$ac_cs_config\\"
15891
15892 Copyright (C) 2010 Free Software Foundation, Inc.
15893 This config.status script is free software; the Free Software Foundation
15894 gives unlimited permission to copy, distribute and modify it."
15895
15896 ac_pwd='$ac_pwd'
15897 srcdir='$srcdir'
15898 INSTALL='$INSTALL'
15899 MKDIR_P='$MKDIR_P'
15900 AWK='$AWK'
15901 test -n "\$AWK" || AWK=awk
15902 _ACEOF
15903
15904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15905 # The default lists apply if the user does not specify any file.
15906 ac_need_defaults=:
15907 while test $# != 0
15908 do
15909   case $1 in
15910   --*=?*)
15911     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15912     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15913     ac_shift=:
15914     ;;
15915   --*=)
15916     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15917     ac_optarg=
15918     ac_shift=:
15919     ;;
15920   *)
15921     ac_option=$1
15922     ac_optarg=$2
15923     ac_shift=shift
15924     ;;
15925   esac
15926
15927   case $ac_option in
15928   # Handling of the options.
15929   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15930     ac_cs_recheck=: ;;
15931   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15932     $as_echo "$ac_cs_version"; exit ;;
15933   --config | --confi | --conf | --con | --co | --c )
15934     $as_echo "$ac_cs_config"; exit ;;
15935   --debug | --debu | --deb | --de | --d | -d )
15936     debug=: ;;
15937   --file | --fil | --fi | --f )
15938     $ac_shift
15939     case $ac_optarg in
15940     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15941     '') as_fn_error $? "missing file argument" ;;
15942     esac
15943     as_fn_append CONFIG_FILES " '$ac_optarg'"
15944     ac_need_defaults=false;;
15945   --header | --heade | --head | --hea )
15946     $ac_shift
15947     case $ac_optarg in
15948     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15949     esac
15950     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15951     ac_need_defaults=false;;
15952   --he | --h)
15953     # Conflict between --help and --header
15954     as_fn_error $? "ambiguous option: \`$1'
15955 Try \`$0 --help' for more information.";;
15956   --help | --hel | -h )
15957     $as_echo "$ac_cs_usage"; exit ;;
15958   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15959   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15960     ac_cs_silent=: ;;
15961
15962   # This is an error.
15963   -*) as_fn_error $? "unrecognized option: \`$1'
15964 Try \`$0 --help' for more information." ;;
15965
15966   *) as_fn_append ac_config_targets " $1"
15967      ac_need_defaults=false ;;
15968
15969   esac
15970   shift
15971 done
15972
15973 ac_configure_extra_args=
15974
15975 if $ac_cs_silent; then
15976   exec 6>/dev/null
15977   ac_configure_extra_args="$ac_configure_extra_args --silent"
15978 fi
15979
15980 _ACEOF
15981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15982 if \$ac_cs_recheck; then
15983   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15984   shift
15985   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15986   CONFIG_SHELL='$SHELL'
15987   export CONFIG_SHELL
15988   exec "\$@"
15989 fi
15990
15991 _ACEOF
15992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15993 exec 5>>config.log
15994 {
15995   echo
15996   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15997 ## Running $as_me. ##
15998 _ASBOX
15999   $as_echo "$ac_log"
16000 } >&5
16001
16002 _ACEOF
16003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16004 #
16005 # INIT-COMMANDS
16006 #
16007 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16008
16009
16010 # The HP-UX ksh and POSIX shell print the target directory to stdout
16011 # if CDPATH is set.
16012 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16013
16014 sed_quote_subst='$sed_quote_subst'
16015 double_quote_subst='$double_quote_subst'
16016 delay_variable_subst='$delay_variable_subst'
16017 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16018 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16019 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16020 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16021 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16022 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16023 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16024 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16025 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16026 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16027 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16028 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16029 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16030 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16031 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16032 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16033 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16034 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16035 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16036 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16037 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16038 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16039 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16040 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16041 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16042 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16043 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16044 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16045 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16046 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16047 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16048 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16049 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16050 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16051 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16052 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16053 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16054 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16055 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16056 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16057 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16058 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16059 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16060 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16061 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16062 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16063 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16064 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16065 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16066 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16067 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16068 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16069 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16070 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16071 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16072 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16073 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16074 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"`'
16075 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16076 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16077 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16078 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16079 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16080 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16081 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16082 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16083 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16084 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16085 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16086 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16087 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16088 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16089 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16090 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16091 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16092 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16093 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16094 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16095 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16096 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16097 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16098 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16099 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16100 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16101 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16102 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16103 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16104 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16105 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16106 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16107 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16108 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16109 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16110 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16111 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16112 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16113 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16114 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16115 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16116 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16117 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16118 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16119 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16120 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16121 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16122 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16123 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16124 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16125 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16126 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16127 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16128 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16129 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16130 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16131 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16132 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16133 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16134 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16135 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16136 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16137 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16138 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16139 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16140 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16141 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16142 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16143 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16144 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16145 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16146 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16147 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16148
16149 LTCC='$LTCC'
16150 LTCFLAGS='$LTCFLAGS'
16151 compiler='$compiler_DEFAULT'
16152
16153 # A function that is used when there is no print builtin or printf.
16154 func_fallback_echo ()
16155 {
16156   eval 'cat <<_LTECHO_EOF
16157 \$1
16158 _LTECHO_EOF'
16159 }
16160
16161 # Quote evaled strings.
16162 for var in AS \
16163 DLLTOOL \
16164 OBJDUMP \
16165 SHELL \
16166 ECHO \
16167 PATH_SEPARATOR \
16168 SED \
16169 GREP \
16170 EGREP \
16171 FGREP \
16172 LD \
16173 NM \
16174 LN_S \
16175 lt_SP2NL \
16176 lt_NL2SP \
16177 reload_flag \
16178 deplibs_check_method \
16179 file_magic_cmd \
16180 file_magic_glob \
16181 want_nocaseglob \
16182 sharedlib_from_linklib_cmd \
16183 AR \
16184 AR_FLAGS \
16185 archiver_list_spec \
16186 STRIP \
16187 RANLIB \
16188 CC \
16189 CFLAGS \
16190 compiler \
16191 lt_cv_sys_global_symbol_pipe \
16192 lt_cv_sys_global_symbol_to_cdecl \
16193 lt_cv_sys_global_symbol_to_c_name_address \
16194 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16195 nm_file_list_spec \
16196 lt_prog_compiler_no_builtin_flag \
16197 lt_prog_compiler_pic \
16198 lt_prog_compiler_wl \
16199 lt_prog_compiler_static \
16200 lt_cv_prog_compiler_c_o \
16201 need_locks \
16202 MANIFEST_TOOL \
16203 DSYMUTIL \
16204 NMEDIT \
16205 LIPO \
16206 OTOOL \
16207 OTOOL64 \
16208 shrext_cmds \
16209 export_dynamic_flag_spec \
16210 whole_archive_flag_spec \
16211 compiler_needs_object \
16212 with_gnu_ld \
16213 allow_undefined_flag \
16214 no_undefined_flag \
16215 hardcode_libdir_flag_spec \
16216 hardcode_libdir_separator \
16217 exclude_expsyms \
16218 include_expsyms \
16219 file_list_spec \
16220 variables_saved_for_relink \
16221 libname_spec \
16222 library_names_spec \
16223 soname_spec \
16224 install_override_mode \
16225 finish_eval \
16226 old_striplib \
16227 striplib; do
16228     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16229     *[\\\\\\\`\\"\\\$]*)
16230       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16231       ;;
16232     *)
16233       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16234       ;;
16235     esac
16236 done
16237
16238 # Double-quote double-evaled strings.
16239 for var in reload_cmds \
16240 old_postinstall_cmds \
16241 old_postuninstall_cmds \
16242 old_archive_cmds \
16243 extract_expsyms_cmds \
16244 old_archive_from_new_cmds \
16245 old_archive_from_expsyms_cmds \
16246 archive_cmds \
16247 archive_expsym_cmds \
16248 module_cmds \
16249 module_expsym_cmds \
16250 export_symbols_cmds \
16251 prelink_cmds \
16252 postlink_cmds \
16253 postinstall_cmds \
16254 postuninstall_cmds \
16255 finish_cmds \
16256 sys_lib_search_path_spec \
16257 sys_lib_dlsearch_path_spec; do
16258     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16259     *[\\\\\\\`\\"\\\$]*)
16260       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16261       ;;
16262     *)
16263       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16264       ;;
16265     esac
16266 done
16267
16268 ac_aux_dir='$ac_aux_dir'
16269 xsi_shell='$xsi_shell'
16270 lt_shell_append='$lt_shell_append'
16271
16272 # See if we are running on zsh, and set the options which allow our
16273 # commands through without removal of \ escapes INIT.
16274 if test -n "\${ZSH_VERSION+set}" ; then
16275    setopt NO_GLOB_SUBST
16276 fi
16277
16278
16279     PACKAGE='$PACKAGE'
16280     VERSION='$VERSION'
16281     TIMESTAMP='$TIMESTAMP'
16282     RM='$RM'
16283     ofile='$ofile'
16284
16285
16286
16287
16288 _ACEOF
16289
16290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16291
16292 # Handling of arguments.
16293 for ac_config_target in $ac_config_targets
16294 do
16295   case $ac_config_target in
16296     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16297     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16298     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16299     "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16300     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16301     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16302     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16303     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16304     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16305     "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16306     "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16307     "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16308     "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16309     "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16310     "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16311     "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16312     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16313     "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16314     "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16315     "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16316     "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16317     "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16318     "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16319     "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16320
16321   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16322   esac
16323 done
16324
16325
16326 # If the user did not use the arguments to specify the items to instantiate,
16327 # then the envvar interface is used.  Set only those that are not.
16328 # We use the long form for the default assignment because of an extremely
16329 # bizarre bug on SunOS 4.1.3.
16330 if $ac_need_defaults; then
16331   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16332   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16333   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16334 fi
16335
16336 # Have a temporary directory for convenience.  Make it in the build tree
16337 # simply because there is no reason against having it here, and in addition,
16338 # creating and moving files from /tmp can sometimes cause problems.
16339 # Hook for its removal unless debugging.
16340 # Note that there is a small window in which the directory will not be cleaned:
16341 # after its creation but before its name has been assigned to `$tmp'.
16342 $debug ||
16343 {
16344   tmp= ac_tmp=
16345   trap 'exit_status=$?
16346   : "${ac_tmp:=$tmp}"
16347   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16348 ' 0
16349   trap 'as_fn_exit 1' 1 2 13 15
16350 }
16351 # Create a (secure) tmp directory for tmp files.
16352
16353 {
16354   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16355   test -d "$tmp"
16356 }  ||
16357 {
16358   tmp=./conf$$-$RANDOM
16359   (umask 077 && mkdir "$tmp")
16360 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16361 ac_tmp=$tmp
16362
16363 # Set up the scripts for CONFIG_FILES section.
16364 # No need to generate them if there are no CONFIG_FILES.
16365 # This happens for instance with `./config.status config.h'.
16366 if test -n "$CONFIG_FILES"; then
16367
16368
16369 ac_cr=`echo X | tr X '\015'`
16370 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16371 # But we know of no other shell where ac_cr would be empty at this
16372 # point, so we can use a bashism as a fallback.
16373 if test "x$ac_cr" = x; then
16374   eval ac_cr=\$\'\\r\'
16375 fi
16376 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16377 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16378   ac_cs_awk_cr='\\r'
16379 else
16380   ac_cs_awk_cr=$ac_cr
16381 fi
16382
16383 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16384 _ACEOF
16385
16386
16387 {
16388   echo "cat >conf$$subs.awk <<_ACEOF" &&
16389   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16390   echo "_ACEOF"
16391 } >conf$$subs.sh ||
16392   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16393 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16394 ac_delim='%!_!# '
16395 for ac_last_try in false false false false false :; do
16396   . ./conf$$subs.sh ||
16397     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16398
16399   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16400   if test $ac_delim_n = $ac_delim_num; then
16401     break
16402   elif $ac_last_try; then
16403     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16404   else
16405     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16406   fi
16407 done
16408 rm -f conf$$subs.sh
16409
16410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16411 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16412 _ACEOF
16413 sed -n '
16414 h
16415 s/^/S["/; s/!.*/"]=/
16416 p
16417 g
16418 s/^[^!]*!//
16419 :repl
16420 t repl
16421 s/'"$ac_delim"'$//
16422 t delim
16423 :nl
16424 h
16425 s/\(.\{148\}\)..*/\1/
16426 t more1
16427 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16428 p
16429 n
16430 b repl
16431 :more1
16432 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16433 p
16434 g
16435 s/.\{148\}//
16436 t nl
16437 :delim
16438 h
16439 s/\(.\{148\}\)..*/\1/
16440 t more2
16441 s/["\\]/\\&/g; s/^/"/; s/$/"/
16442 p
16443 b
16444 :more2
16445 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16446 p
16447 g
16448 s/.\{148\}//
16449 t delim
16450 ' <conf$$subs.awk | sed '
16451 /^[^""]/{
16452   N
16453   s/\n//
16454 }
16455 ' >>$CONFIG_STATUS || ac_write_fail=1
16456 rm -f conf$$subs.awk
16457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16458 _ACAWK
16459 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16460   for (key in S) S_is_set[key] = 1
16461   FS = "\a"
16462
16463 }
16464 {
16465   line = $ 0
16466   nfields = split(line, field, "@")
16467   substed = 0
16468   len = length(field[1])
16469   for (i = 2; i < nfields; i++) {
16470     key = field[i]
16471     keylen = length(key)
16472     if (S_is_set[key]) {
16473       value = S[key]
16474       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16475       len += length(value) + length(field[++i])
16476       substed = 1
16477     } else
16478       len += 1 + keylen
16479   }
16480
16481   print line
16482 }
16483
16484 _ACAWK
16485 _ACEOF
16486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16487 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16488   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16489 else
16490   cat
16491 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16492   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16493 _ACEOF
16494
16495 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16496 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16497 # trailing colons and then remove the whole line if VPATH becomes empty
16498 # (actually we leave an empty line to preserve line numbers).
16499 if test "x$srcdir" = x.; then
16500   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16501 h
16502 s///
16503 s/^/:/
16504 s/[      ]*$/:/
16505 s/:\$(srcdir):/:/g
16506 s/:\${srcdir}:/:/g
16507 s/:@srcdir@:/:/g
16508 s/^:*//
16509 s/:*$//
16510 x
16511 s/\(=[   ]*\).*/\1/
16512 G
16513 s/\n//
16514 s/^[^=]*=[       ]*$//
16515 }'
16516 fi
16517
16518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16519 fi # test -n "$CONFIG_FILES"
16520
16521 # Set up the scripts for CONFIG_HEADERS section.
16522 # No need to generate them if there are no CONFIG_HEADERS.
16523 # This happens for instance with `./config.status Makefile'.
16524 if test -n "$CONFIG_HEADERS"; then
16525 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16526 BEGIN {
16527 _ACEOF
16528
16529 # Transform confdefs.h into an awk script `defines.awk', embedded as
16530 # here-document in config.status, that substitutes the proper values into
16531 # config.h.in to produce config.h.
16532
16533 # Create a delimiter string that does not exist in confdefs.h, to ease
16534 # handling of long lines.
16535 ac_delim='%!_!# '
16536 for ac_last_try in false false :; do
16537   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16538   if test -z "$ac_tt"; then
16539     break
16540   elif $ac_last_try; then
16541     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16542   else
16543     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16544   fi
16545 done
16546
16547 # For the awk script, D is an array of macro values keyed by name,
16548 # likewise P contains macro parameters if any.  Preserve backslash
16549 # newline sequences.
16550
16551 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16552 sed -n '
16553 s/.\{148\}/&'"$ac_delim"'/g
16554 t rset
16555 :rset
16556 s/^[     ]*#[    ]*define[       ][      ]*/ /
16557 t def
16558 d
16559 :def
16560 s/\\$//
16561 t bsnl
16562 s/["\\]/\\&/g
16563 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16564 D["\1"]=" \3"/p
16565 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16566 d
16567 :bsnl
16568 s/["\\]/\\&/g
16569 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16570 D["\1"]=" \3\\\\\\n"\\/p
16571 t cont
16572 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16573 t cont
16574 d
16575 :cont
16576 n
16577 s/.\{148\}/&'"$ac_delim"'/g
16578 t clear
16579 :clear
16580 s/\\$//
16581 t bsnlc
16582 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16583 d
16584 :bsnlc
16585 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16586 b cont
16587 ' <confdefs.h | sed '
16588 s/'"$ac_delim"'/"\\\
16589 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16590
16591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16592   for (key in D) D_is_set[key] = 1
16593   FS = "\a"
16594 }
16595 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16596   line = \$ 0
16597   split(line, arg, " ")
16598   if (arg[1] == "#") {
16599     defundef = arg[2]
16600     mac1 = arg[3]
16601   } else {
16602     defundef = substr(arg[1], 2)
16603     mac1 = arg[2]
16604   }
16605   split(mac1, mac2, "(") #)
16606   macro = mac2[1]
16607   prefix = substr(line, 1, index(line, defundef) - 1)
16608   if (D_is_set[macro]) {
16609     # Preserve the white space surrounding the "#".
16610     print prefix "define", macro P[macro] D[macro]
16611     next
16612   } else {
16613     # Replace #undef with comments.  This is necessary, for example,
16614     # in the case of _POSIX_SOURCE, which is predefined and required
16615     # on some systems where configure will not decide to define it.
16616     if (defundef == "undef") {
16617       print "/*", prefix defundef, macro, "*/"
16618       next
16619     }
16620   }
16621 }
16622 { print }
16623 _ACAWK
16624 _ACEOF
16625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16626   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16627 fi # test -n "$CONFIG_HEADERS"
16628
16629
16630 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16631 shift
16632 for ac_tag
16633 do
16634   case $ac_tag in
16635   :[FHLC]) ac_mode=$ac_tag; continue;;
16636   esac
16637   case $ac_mode$ac_tag in
16638   :[FHL]*:*);;
16639   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16640   :[FH]-) ac_tag=-:-;;
16641   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16642   esac
16643   ac_save_IFS=$IFS
16644   IFS=:
16645   set x $ac_tag
16646   IFS=$ac_save_IFS
16647   shift
16648   ac_file=$1
16649   shift
16650
16651   case $ac_mode in
16652   :L) ac_source=$1;;
16653   :[FH])
16654     ac_file_inputs=
16655     for ac_f
16656     do
16657       case $ac_f in
16658       -) ac_f="$ac_tmp/stdin";;
16659       *) # Look for the file first in the build tree, then in the source tree
16660          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16661          # because $ac_f cannot contain `:'.
16662          test -f "$ac_f" ||
16663            case $ac_f in
16664            [\\/$]*) false;;
16665            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16666            esac ||
16667            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16668       esac
16669       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16670       as_fn_append ac_file_inputs " '$ac_f'"
16671     done
16672
16673     # Let's still pretend it is `configure' which instantiates (i.e., don't
16674     # use $as_me), people would be surprised to read:
16675     #    /* config.h.  Generated by config.status.  */
16676     configure_input='Generated from '`
16677           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16678         `' by configure.'
16679     if test x"$ac_file" != x-; then
16680       configure_input="$ac_file.  $configure_input"
16681       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16682 $as_echo "$as_me: creating $ac_file" >&6;}
16683     fi
16684     # Neutralize special characters interpreted by sed in replacement strings.
16685     case $configure_input in #(
16686     *\&* | *\|* | *\\* )
16687        ac_sed_conf_input=`$as_echo "$configure_input" |
16688        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16689     *) ac_sed_conf_input=$configure_input;;
16690     esac
16691
16692     case $ac_tag in
16693     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16694       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16695     esac
16696     ;;
16697   esac
16698
16699   ac_dir=`$as_dirname -- "$ac_file" ||
16700 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16701          X"$ac_file" : 'X\(//\)[^/]' \| \
16702          X"$ac_file" : 'X\(//\)$' \| \
16703          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16704 $as_echo X"$ac_file" |
16705     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16706             s//\1/
16707             q
16708           }
16709           /^X\(\/\/\)[^/].*/{
16710             s//\1/
16711             q
16712           }
16713           /^X\(\/\/\)$/{
16714             s//\1/
16715             q
16716           }
16717           /^X\(\/\).*/{
16718             s//\1/
16719             q
16720           }
16721           s/.*/./; q'`
16722   as_dir="$ac_dir"; as_fn_mkdir_p
16723   ac_builddir=.
16724
16725 case "$ac_dir" in
16726 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16727 *)
16728   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16729   # A ".." for each directory in $ac_dir_suffix.
16730   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16731   case $ac_top_builddir_sub in
16732   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16733   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16734   esac ;;
16735 esac
16736 ac_abs_top_builddir=$ac_pwd
16737 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16738 # for backward compatibility:
16739 ac_top_builddir=$ac_top_build_prefix
16740
16741 case $srcdir in
16742   .)  # We are building in place.
16743     ac_srcdir=.
16744     ac_top_srcdir=$ac_top_builddir_sub
16745     ac_abs_top_srcdir=$ac_pwd ;;
16746   [\\/]* | ?:[\\/]* )  # Absolute name.
16747     ac_srcdir=$srcdir$ac_dir_suffix;
16748     ac_top_srcdir=$srcdir
16749     ac_abs_top_srcdir=$srcdir ;;
16750   *) # Relative name.
16751     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16752     ac_top_srcdir=$ac_top_build_prefix$srcdir
16753     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16754 esac
16755 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16756
16757
16758   case $ac_mode in
16759   :F)
16760   #
16761   # CONFIG_FILE
16762   #
16763
16764   case $INSTALL in
16765   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16766   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16767   esac
16768   ac_MKDIR_P=$MKDIR_P
16769   case $MKDIR_P in
16770   [\\/$]* | ?:[\\/]* ) ;;
16771   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16772   esac
16773 _ACEOF
16774
16775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16776 # If the template does not know about datarootdir, expand it.
16777 # FIXME: This hack should be removed a few years after 2.60.
16778 ac_datarootdir_hack=; ac_datarootdir_seen=
16779 ac_sed_dataroot='
16780 /datarootdir/ {
16781   p
16782   q
16783 }
16784 /@datadir@/p
16785 /@docdir@/p
16786 /@infodir@/p
16787 /@localedir@/p
16788 /@mandir@/p'
16789 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16790 *datarootdir*) ac_datarootdir_seen=yes;;
16791 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16792   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16793 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16794 _ACEOF
16795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16796   ac_datarootdir_hack='
16797   s&@datadir@&$datadir&g
16798   s&@docdir@&$docdir&g
16799   s&@infodir@&$infodir&g
16800   s&@localedir@&$localedir&g
16801   s&@mandir@&$mandir&g
16802   s&\\\${datarootdir}&$datarootdir&g' ;;
16803 esac
16804 _ACEOF
16805
16806 # Neutralize VPATH when `$srcdir' = `.'.
16807 # Shell code in configure.ac might set extrasub.
16808 # FIXME: do we really want to maintain this feature?
16809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16810 ac_sed_extra="$ac_vpsub
16811 $extrasub
16812 _ACEOF
16813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16814 :t
16815 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16816 s|@configure_input@|$ac_sed_conf_input|;t t
16817 s&@top_builddir@&$ac_top_builddir_sub&;t t
16818 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16819 s&@srcdir@&$ac_srcdir&;t t
16820 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16821 s&@top_srcdir@&$ac_top_srcdir&;t t
16822 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16823 s&@builddir@&$ac_builddir&;t t
16824 s&@abs_builddir@&$ac_abs_builddir&;t t
16825 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16826 s&@INSTALL@&$ac_INSTALL&;t t
16827 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16828 $ac_datarootdir_hack
16829 "
16830 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16831   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16832
16833 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16834   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16835   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16836       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16837   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16838 which seems to be undefined.  Please make sure it is defined" >&5
16839 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16840 which seems to be undefined.  Please make sure it is defined" >&2;}
16841
16842   rm -f "$ac_tmp/stdin"
16843   case $ac_file in
16844   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16845   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16846   esac \
16847   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16848  ;;
16849   :H)
16850   #
16851   # CONFIG_HEADER
16852   #
16853   if test x"$ac_file" != x-; then
16854     {
16855       $as_echo "/* $configure_input  */" \
16856       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16857     } >"$ac_tmp/config.h" \
16858       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16859     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16860       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16861 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16862     else
16863       rm -f "$ac_file"
16864       mv "$ac_tmp/config.h" "$ac_file" \
16865         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16866     fi
16867   else
16868     $as_echo "/* $configure_input  */" \
16869       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16870       || as_fn_error $? "could not create -" "$LINENO" 5
16871   fi
16872 # Compute "$ac_file"'s index in $config_headers.
16873 _am_arg="$ac_file"
16874 _am_stamp_count=1
16875 for _am_header in $config_headers :; do
16876   case $_am_header in
16877     $_am_arg | $_am_arg:* )
16878       break ;;
16879     * )
16880       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16881   esac
16882 done
16883 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16884 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16885          X"$_am_arg" : 'X\(//\)[^/]' \| \
16886          X"$_am_arg" : 'X\(//\)$' \| \
16887          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16888 $as_echo X"$_am_arg" |
16889     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16890             s//\1/
16891             q
16892           }
16893           /^X\(\/\/\)[^/].*/{
16894             s//\1/
16895             q
16896           }
16897           /^X\(\/\/\)$/{
16898             s//\1/
16899             q
16900           }
16901           /^X\(\/\).*/{
16902             s//\1/
16903             q
16904           }
16905           s/.*/./; q'`/stamp-h$_am_stamp_count
16906  ;;
16907
16908   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16909 $as_echo "$as_me: executing $ac_file commands" >&6;}
16910  ;;
16911   esac
16912
16913
16914   case $ac_file$ac_mode in
16915     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16916   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16917   # are listed without --file.  Let's play safe and only enable the eval
16918   # if we detect the quoting.
16919   case $CONFIG_FILES in
16920   *\'*) eval set x "$CONFIG_FILES" ;;
16921   *)   set x $CONFIG_FILES ;;
16922   esac
16923   shift
16924   for mf
16925   do
16926     # Strip MF so we end up with the name of the file.
16927     mf=`echo "$mf" | sed -e 's/:.*$//'`
16928     # Check whether this is an Automake generated Makefile or not.
16929     # We used to match only the files named `Makefile.in', but
16930     # some people rename them; so instead we look at the file content.
16931     # Grep'ing the first line is not enough: some people post-process
16932     # each Makefile.in and add a new line on top of each file to say so.
16933     # Grep'ing the whole file is not good either: AIX grep has a line
16934     # limit of 2048, but all sed's we know have understand at least 4000.
16935     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16936       dirpart=`$as_dirname -- "$mf" ||
16937 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16938          X"$mf" : 'X\(//\)[^/]' \| \
16939          X"$mf" : 'X\(//\)$' \| \
16940          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16941 $as_echo X"$mf" |
16942     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16943             s//\1/
16944             q
16945           }
16946           /^X\(\/\/\)[^/].*/{
16947             s//\1/
16948             q
16949           }
16950           /^X\(\/\/\)$/{
16951             s//\1/
16952             q
16953           }
16954           /^X\(\/\).*/{
16955             s//\1/
16956             q
16957           }
16958           s/.*/./; q'`
16959     else
16960       continue
16961     fi
16962     # Extract the definition of DEPDIR, am__include, and am__quote
16963     # from the Makefile without running `make'.
16964     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16965     test -z "$DEPDIR" && continue
16966     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16967     test -z "am__include" && continue
16968     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16969     # When using ansi2knr, U may be empty or an underscore; expand it
16970     U=`sed -n 's/^U = //p' < "$mf"`
16971     # Find all dependency output files, they are included files with
16972     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16973     # simplest approach to changing $(DEPDIR) to its actual value in the
16974     # expansion.
16975     for file in `sed -n "
16976       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16977          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16978       # Make sure the directory exists.
16979       test -f "$dirpart/$file" && continue
16980       fdir=`$as_dirname -- "$file" ||
16981 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16982          X"$file" : 'X\(//\)[^/]' \| \
16983          X"$file" : 'X\(//\)$' \| \
16984          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16985 $as_echo X"$file" |
16986     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16987             s//\1/
16988             q
16989           }
16990           /^X\(\/\/\)[^/].*/{
16991             s//\1/
16992             q
16993           }
16994           /^X\(\/\/\)$/{
16995             s//\1/
16996             q
16997           }
16998           /^X\(\/\).*/{
16999             s//\1/
17000             q
17001           }
17002           s/.*/./; q'`
17003       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17004       # echo "creating $dirpart/$file"
17005       echo '# dummy' > "$dirpart/$file"
17006     done
17007   done
17008 }
17009  ;;
17010     "libtool":C)
17011
17012     # See if we are running on zsh, and set the options which allow our
17013     # commands through without removal of \ escapes.
17014     if test -n "${ZSH_VERSION+set}" ; then
17015       setopt NO_GLOB_SUBST
17016     fi
17017
17018     cfgfile="${ofile}T"
17019     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17020     $RM "$cfgfile"
17021
17022     cat <<_LT_EOF >> "$cfgfile"
17023 #! $SHELL
17024
17025 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17026 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17027 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17028 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17029 #
17030 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17031 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17032 #                 Foundation, Inc.
17033 #   Written by Gordon Matzigkeit, 1996
17034 #
17035 #   This file is part of GNU Libtool.
17036 #
17037 # GNU Libtool is free software; you can redistribute it and/or
17038 # modify it under the terms of the GNU General Public License as
17039 # published by the Free Software Foundation; either version 2 of
17040 # the License, or (at your option) any later version.
17041 #
17042 # As a special exception to the GNU General Public License,
17043 # if you distribute this file as part of a program or library that
17044 # is built using GNU Libtool, you may include this file under the
17045 # same distribution terms that you use for the rest of that program.
17046 #
17047 # GNU Libtool is distributed in the hope that it will be useful,
17048 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17049 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17050 # GNU General Public License for more details.
17051 #
17052 # You should have received a copy of the GNU General Public License
17053 # along with GNU Libtool; see the file COPYING.  If not, a copy
17054 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17055 # obtained by writing to the Free Software Foundation, Inc.,
17056 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17057
17058
17059 # The names of the tagged configurations supported by this script.
17060 available_tags=""
17061
17062 # ### BEGIN LIBTOOL CONFIG
17063
17064 # Assembler program.
17065 AS=$lt_AS
17066
17067 # DLL creation program.
17068 DLLTOOL=$lt_DLLTOOL
17069
17070 # Object dumper program.
17071 OBJDUMP=$lt_OBJDUMP
17072
17073 # Which release of libtool.m4 was used?
17074 macro_version=$macro_version
17075 macro_revision=$macro_revision
17076
17077 # Whether or not to build shared libraries.
17078 build_libtool_libs=$enable_shared
17079
17080 # Whether or not to build static libraries.
17081 build_old_libs=$enable_static
17082
17083 # What type of objects to build.
17084 pic_mode=$pic_mode
17085
17086 # Whether or not to optimize for fast installation.
17087 fast_install=$enable_fast_install
17088
17089 # Shell to use when invoking shell scripts.
17090 SHELL=$lt_SHELL
17091
17092 # An echo program that protects backslashes.
17093 ECHO=$lt_ECHO
17094
17095 # The PATH separator for the build system.
17096 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17097
17098 # The host system.
17099 host_alias=$host_alias
17100 host=$host
17101 host_os=$host_os
17102
17103 # The build system.
17104 build_alias=$build_alias
17105 build=$build
17106 build_os=$build_os
17107
17108 # A sed program that does not truncate output.
17109 SED=$lt_SED
17110
17111 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17112 Xsed="\$SED -e 1s/^X//"
17113
17114 # A grep program that handles long lines.
17115 GREP=$lt_GREP
17116
17117 # An ERE matcher.
17118 EGREP=$lt_EGREP
17119
17120 # A literal string matcher.
17121 FGREP=$lt_FGREP
17122
17123 # A BSD- or MS-compatible name lister.
17124 NM=$lt_NM
17125
17126 # Whether we need soft or hard links.
17127 LN_S=$lt_LN_S
17128
17129 # What is the maximum length of a command?
17130 max_cmd_len=$max_cmd_len
17131
17132 # Object file suffix (normally "o").
17133 objext=$ac_objext
17134
17135 # Executable file suffix (normally "").
17136 exeext=$exeext
17137
17138 # whether the shell understands "unset".
17139 lt_unset=$lt_unset
17140
17141 # turn spaces into newlines.
17142 SP2NL=$lt_lt_SP2NL
17143
17144 # turn newlines into spaces.
17145 NL2SP=$lt_lt_NL2SP
17146
17147 # convert \$build file names to \$host format.
17148 to_host_file_cmd=$lt_cv_to_host_file_cmd
17149
17150 # convert \$build files to toolchain format.
17151 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17152
17153 # Method to check whether dependent libraries are shared objects.
17154 deplibs_check_method=$lt_deplibs_check_method
17155
17156 # Command to use when deplibs_check_method = "file_magic".
17157 file_magic_cmd=$lt_file_magic_cmd
17158
17159 # How to find potential files when deplibs_check_method = "file_magic".
17160 file_magic_glob=$lt_file_magic_glob
17161
17162 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17163 want_nocaseglob=$lt_want_nocaseglob
17164
17165 # Command to associate shared and link libraries.
17166 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17167
17168 # The archiver.
17169 AR=$lt_AR
17170
17171 # Flags to create an archive.
17172 AR_FLAGS=$lt_AR_FLAGS
17173
17174 # How to feed a file listing to the archiver.
17175 archiver_list_spec=$lt_archiver_list_spec
17176
17177 # A symbol stripping program.
17178 STRIP=$lt_STRIP
17179
17180 # Commands used to install an old-style archive.
17181 RANLIB=$lt_RANLIB
17182 old_postinstall_cmds=$lt_old_postinstall_cmds
17183 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17184
17185 # Whether to use a lock for old archive extraction.
17186 lock_old_archive_extraction=$lock_old_archive_extraction
17187
17188 # A C compiler.
17189 LTCC=$lt_CC
17190
17191 # LTCC compiler flags.
17192 LTCFLAGS=$lt_CFLAGS
17193
17194 # Take the output of nm and produce a listing of raw symbols and C names.
17195 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17196
17197 # Transform the output of nm in a proper C declaration.
17198 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17199
17200 # Transform the output of nm in a C name address pair.
17201 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17202
17203 # Transform the output of nm in a C name address pair when lib prefix is needed.
17204 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17205
17206 # Specify filename containing input files for \$NM.
17207 nm_file_list_spec=$lt_nm_file_list_spec
17208
17209 # The root where to search for dependent libraries,and in which our libraries should be installed.
17210 lt_sysroot=$lt_sysroot
17211
17212 # The name of the directory that contains temporary libtool files.
17213 objdir=$objdir
17214
17215 # Used to examine libraries when file_magic_cmd begins with "file".
17216 MAGIC_CMD=$MAGIC_CMD
17217
17218 # Must we lock files when doing compilation?
17219 need_locks=$lt_need_locks
17220
17221 # Manifest tool.
17222 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17223
17224 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17225 DSYMUTIL=$lt_DSYMUTIL
17226
17227 # Tool to change global to local symbols on Mac OS X.
17228 NMEDIT=$lt_NMEDIT
17229
17230 # Tool to manipulate fat objects and archives on Mac OS X.
17231 LIPO=$lt_LIPO
17232
17233 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17234 OTOOL=$lt_OTOOL
17235
17236 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17237 OTOOL64=$lt_OTOOL64
17238
17239 # Old archive suffix (normally "a").
17240 libext=$libext
17241
17242 # Shared library suffix (normally ".so").
17243 shrext_cmds=$lt_shrext_cmds
17244
17245 # The commands to extract the exported symbol list from a shared archive.
17246 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17247
17248 # Variables whose values should be saved in libtool wrapper scripts and
17249 # restored at link time.
17250 variables_saved_for_relink=$lt_variables_saved_for_relink
17251
17252 # Do we need the "lib" prefix for modules?
17253 need_lib_prefix=$need_lib_prefix
17254
17255 # Do we need a version for libraries?
17256 need_version=$need_version
17257
17258 # Library versioning type.
17259 version_type=$version_type
17260
17261 # Shared library runtime path variable.
17262 runpath_var=$runpath_var
17263
17264 # Shared library path variable.
17265 shlibpath_var=$shlibpath_var
17266
17267 # Is shlibpath searched before the hard-coded library search path?
17268 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17269
17270 # Format of library name prefix.
17271 libname_spec=$lt_libname_spec
17272
17273 # List of archive names.  First name is the real one, the rest are links.
17274 # The last name is the one that the linker finds with -lNAME
17275 library_names_spec=$lt_library_names_spec
17276
17277 # The coded name of the library, if different from the real name.
17278 soname_spec=$lt_soname_spec
17279
17280 # Permission mode override for installation of shared libraries.
17281 install_override_mode=$lt_install_override_mode
17282
17283 # Command to use after installation of a shared archive.
17284 postinstall_cmds=$lt_postinstall_cmds
17285
17286 # Command to use after uninstallation of a shared archive.
17287 postuninstall_cmds=$lt_postuninstall_cmds
17288
17289 # Commands used to finish a libtool library installation in a directory.
17290 finish_cmds=$lt_finish_cmds
17291
17292 # As "finish_cmds", except a single script fragment to be evaled but
17293 # not shown.
17294 finish_eval=$lt_finish_eval
17295
17296 # Whether we should hardcode library paths into libraries.
17297 hardcode_into_libs=$hardcode_into_libs
17298
17299 # Compile-time system search path for libraries.
17300 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17301
17302 # Run-time system search path for libraries.
17303 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17304
17305 # Whether dlopen is supported.
17306 dlopen_support=$enable_dlopen
17307
17308 # Whether dlopen of programs is supported.
17309 dlopen_self=$enable_dlopen_self
17310
17311 # Whether dlopen of statically linked programs is supported.
17312 dlopen_self_static=$enable_dlopen_self_static
17313
17314 # Commands to strip libraries.
17315 old_striplib=$lt_old_striplib
17316 striplib=$lt_striplib
17317
17318
17319 # The linker used to build libraries.
17320 LD=$lt_LD
17321
17322 # How to create reloadable object files.
17323 reload_flag=$lt_reload_flag
17324 reload_cmds=$lt_reload_cmds
17325
17326 # Commands used to build an old-style archive.
17327 old_archive_cmds=$lt_old_archive_cmds
17328
17329 # A language specific compiler.
17330 CC=$lt_compiler
17331
17332 # Is the compiler the GNU compiler?
17333 with_gcc=$GCC
17334
17335 # Compiler flag to turn off builtin functions.
17336 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17337
17338 # Additional compiler flags for building library objects.
17339 pic_flag=$lt_lt_prog_compiler_pic
17340
17341 # How to pass a linker flag through the compiler.
17342 wl=$lt_lt_prog_compiler_wl
17343
17344 # Compiler flag to prevent dynamic linking.
17345 link_static_flag=$lt_lt_prog_compiler_static
17346
17347 # Does compiler simultaneously support -c and -o options?
17348 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17349
17350 # Whether or not to add -lc for building shared libraries.
17351 build_libtool_need_lc=$archive_cmds_need_lc
17352
17353 # Whether or not to disallow shared libs when runtime libs are static.
17354 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17355
17356 # Compiler flag to allow reflexive dlopens.
17357 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17358
17359 # Compiler flag to generate shared objects directly from archives.
17360 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17361
17362 # Whether the compiler copes with passing no objects directly.
17363 compiler_needs_object=$lt_compiler_needs_object
17364
17365 # Create an old-style archive from a shared archive.
17366 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17367
17368 # Create a temporary old-style archive to link instead of a shared archive.
17369 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17370
17371 # Commands used to build a shared archive.
17372 archive_cmds=$lt_archive_cmds
17373 archive_expsym_cmds=$lt_archive_expsym_cmds
17374
17375 # Commands used to build a loadable module if different from building
17376 # a shared archive.
17377 module_cmds=$lt_module_cmds
17378 module_expsym_cmds=$lt_module_expsym_cmds
17379
17380 # Whether we are building with GNU ld or not.
17381 with_gnu_ld=$lt_with_gnu_ld
17382
17383 # Flag that allows shared libraries with undefined symbols to be built.
17384 allow_undefined_flag=$lt_allow_undefined_flag
17385
17386 # Flag that enforces no undefined symbols.
17387 no_undefined_flag=$lt_no_undefined_flag
17388
17389 # Flag to hardcode \$libdir into a binary during linking.
17390 # This must work even if \$libdir does not exist
17391 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17392
17393 # Whether we need a single "-rpath" flag with a separated argument.
17394 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17395
17396 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17397 # DIR into the resulting binary.
17398 hardcode_direct=$hardcode_direct
17399
17400 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17401 # DIR into the resulting binary and the resulting library dependency is
17402 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17403 # library is relocated.
17404 hardcode_direct_absolute=$hardcode_direct_absolute
17405
17406 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17407 # into the resulting binary.
17408 hardcode_minus_L=$hardcode_minus_L
17409
17410 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17411 # into the resulting binary.
17412 hardcode_shlibpath_var=$hardcode_shlibpath_var
17413
17414 # Set to "yes" if building a shared library automatically hardcodes DIR
17415 # into the library and all subsequent libraries and executables linked
17416 # against it.
17417 hardcode_automatic=$hardcode_automatic
17418
17419 # Set to yes if linker adds runtime paths of dependent libraries
17420 # to runtime path list.
17421 inherit_rpath=$inherit_rpath
17422
17423 # Whether libtool must link a program against all its dependency libraries.
17424 link_all_deplibs=$link_all_deplibs
17425
17426 # Set to "yes" if exported symbols are required.
17427 always_export_symbols=$always_export_symbols
17428
17429 # The commands to list exported symbols.
17430 export_symbols_cmds=$lt_export_symbols_cmds
17431
17432 # Symbols that should not be listed in the preloaded symbols.
17433 exclude_expsyms=$lt_exclude_expsyms
17434
17435 # Symbols that must always be exported.
17436 include_expsyms=$lt_include_expsyms
17437
17438 # Commands necessary for linking programs (against libraries) with templates.
17439 prelink_cmds=$lt_prelink_cmds
17440
17441 # Commands necessary for finishing linking programs.
17442 postlink_cmds=$lt_postlink_cmds
17443
17444 # Specify filename containing input files.
17445 file_list_spec=$lt_file_list_spec
17446
17447 # How to hardcode a shared library path into an executable.
17448 hardcode_action=$hardcode_action
17449
17450 # ### END LIBTOOL CONFIG
17451
17452 _LT_EOF
17453
17454   case $host_os in
17455   aix3*)
17456     cat <<\_LT_EOF >> "$cfgfile"
17457 # AIX sometimes has problems with the GCC collect2 program.  For some
17458 # reason, if we set the COLLECT_NAMES environment variable, the problems
17459 # vanish in a puff of smoke.
17460 if test "X${COLLECT_NAMES+set}" != Xset; then
17461   COLLECT_NAMES=
17462   export COLLECT_NAMES
17463 fi
17464 _LT_EOF
17465     ;;
17466   esac
17467
17468
17469 ltmain="$ac_aux_dir/ltmain.sh"
17470
17471
17472   # We use sed instead of cat because bash on DJGPP gets confused if
17473   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17474   # text mode, it properly converts lines to CR/LF.  This bash problem
17475   # is reportedly fixed, but why not run on old versions too?
17476   sed '$q' "$ltmain" >> "$cfgfile" \
17477      || (rm -f "$cfgfile"; exit 1)
17478
17479   if test x"$xsi_shell" = xyes; then
17480   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17481 func_dirname ()\
17482 {\
17483 \    case ${1} in\
17484 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17485 \      *  ) func_dirname_result="${3}" ;;\
17486 \    esac\
17487 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17488   && mv -f "$cfgfile.tmp" "$cfgfile" \
17489     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17490 test 0 -eq $? || _lt_function_replace_fail=:
17491
17492
17493   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17494 func_basename ()\
17495 {\
17496 \    func_basename_result="${1##*/}"\
17497 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17498   && mv -f "$cfgfile.tmp" "$cfgfile" \
17499     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17500 test 0 -eq $? || _lt_function_replace_fail=:
17501
17502
17503   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17504 func_dirname_and_basename ()\
17505 {\
17506 \    case ${1} in\
17507 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17508 \      *  ) func_dirname_result="${3}" ;;\
17509 \    esac\
17510 \    func_basename_result="${1##*/}"\
17511 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17512   && mv -f "$cfgfile.tmp" "$cfgfile" \
17513     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17514 test 0 -eq $? || _lt_function_replace_fail=:
17515
17516
17517   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17518 func_stripname ()\
17519 {\
17520 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17521 \    # positional parameters, so assign one to ordinary parameter first.\
17522 \    func_stripname_result=${3}\
17523 \    func_stripname_result=${func_stripname_result#"${1}"}\
17524 \    func_stripname_result=${func_stripname_result%"${2}"}\
17525 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17526   && mv -f "$cfgfile.tmp" "$cfgfile" \
17527     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17528 test 0 -eq $? || _lt_function_replace_fail=:
17529
17530
17531   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17532 func_split_long_opt ()\
17533 {\
17534 \    func_split_long_opt_name=${1%%=*}\
17535 \    func_split_long_opt_arg=${1#*=}\
17536 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17537   && mv -f "$cfgfile.tmp" "$cfgfile" \
17538     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17539 test 0 -eq $? || _lt_function_replace_fail=:
17540
17541
17542   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17543 func_split_short_opt ()\
17544 {\
17545 \    func_split_short_opt_arg=${1#??}\
17546 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17547 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17548   && mv -f "$cfgfile.tmp" "$cfgfile" \
17549     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17550 test 0 -eq $? || _lt_function_replace_fail=:
17551
17552
17553   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17554 func_lo2o ()\
17555 {\
17556 \    case ${1} in\
17557 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17558 \      *)    func_lo2o_result=${1} ;;\
17559 \    esac\
17560 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17561   && mv -f "$cfgfile.tmp" "$cfgfile" \
17562     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17563 test 0 -eq $? || _lt_function_replace_fail=:
17564
17565
17566   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17567 func_xform ()\
17568 {\
17569     func_xform_result=${1%.*}.lo\
17570 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17571   && mv -f "$cfgfile.tmp" "$cfgfile" \
17572     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17573 test 0 -eq $? || _lt_function_replace_fail=:
17574
17575
17576   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17577 func_arith ()\
17578 {\
17579     func_arith_result=$(( $* ))\
17580 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17581   && mv -f "$cfgfile.tmp" "$cfgfile" \
17582     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17583 test 0 -eq $? || _lt_function_replace_fail=:
17584
17585
17586   sed -e '/^func_len ()$/,/^} # func_len /c\
17587 func_len ()\
17588 {\
17589     func_len_result=${#1}\
17590 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17591   && mv -f "$cfgfile.tmp" "$cfgfile" \
17592     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17593 test 0 -eq $? || _lt_function_replace_fail=:
17594
17595 fi
17596
17597 if test x"$lt_shell_append" = xyes; then
17598   sed -e '/^func_append ()$/,/^} # func_append /c\
17599 func_append ()\
17600 {\
17601     eval "${1}+=\\${2}"\
17602 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17603   && mv -f "$cfgfile.tmp" "$cfgfile" \
17604     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17605 test 0 -eq $? || _lt_function_replace_fail=:
17606
17607
17608   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17609 func_append_quoted ()\
17610 {\
17611 \    func_quote_for_eval "${2}"\
17612 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17613 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17614   && mv -f "$cfgfile.tmp" "$cfgfile" \
17615     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17616 test 0 -eq $? || _lt_function_replace_fail=:
17617
17618
17619   # Save a `func_append' function call where possible by direct use of '+='
17620   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17621     && mv -f "$cfgfile.tmp" "$cfgfile" \
17622       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17623   test 0 -eq $? || _lt_function_replace_fail=:
17624 else
17625   # Save a `func_append' function call even when '+=' is not available
17626   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17627     && mv -f "$cfgfile.tmp" "$cfgfile" \
17628       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17629   test 0 -eq $? || _lt_function_replace_fail=:
17630 fi
17631
17632 if test x"$_lt_function_replace_fail" = x":"; then
17633   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17634 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17635 fi
17636
17637
17638    mv -f "$cfgfile" "$ofile" ||
17639     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17640   chmod +x "$ofile"
17641
17642  ;;
17643
17644   esac
17645 done # for ac_tag
17646
17647
17648 as_fn_exit 0
17649 _ACEOF
17650 ac_clean_files=$ac_clean_files_save
17651
17652 test $ac_write_fail = 0 ||
17653   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17654
17655
17656 # configure is writing to config.log, and then calls config.status.
17657 # config.status does its own redirection, appending to config.log.
17658 # Unfortunately, on DOS this fails, as config.log is still kept open
17659 # by configure, so config.status won't be able to write to it; its
17660 # output is simply discarded.  So we exec the FD to /dev/null,
17661 # effectively closing config.log, so it can be properly (re)opened and
17662 # appended to by config.status.  When coming back to configure, we
17663 # need to make the FD available again.
17664 if test "$no_create" != yes; then
17665   ac_cs_success=:
17666   ac_config_status_args=
17667   test "$silent" = yes &&
17668     ac_config_status_args="$ac_config_status_args --quiet"
17669   exec 5>/dev/null
17670   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17671   exec 5>>config.log
17672   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17673   # would make configure fail if this is the last instruction.
17674   $ac_cs_success || as_fn_exit 1
17675 fi
17676 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17677   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17678 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17679 fi
17680
17681
17682
17683 #####################################################################
17684 ## Info
17685
17686 echo
17687 echo
17688 echo
17689 echo "------------------------------------------------------------------------"
17690 echo "$PACKAGE $VERSION"
17691 echo "------------------------------------------------------------------------"
17692 echo
17693 echo "Configuration Options Summary:"
17694 echo
17695 echo "  Modules:"
17696 echo
17697 echo "    EBluez.............: $enable_ebluez"
17698 echo "    EConnman (0.7x)....: $enable_econnman0_7x"
17699 echo "    EHal...............: $enable_ehal"
17700 echo "    ENotify............: $enable_enotify"
17701 echo "    EOfono.............: $enable_eofono"
17702 echo "    EUkit..............: $enable_eukit"
17703 echo
17704 echo "  Binaries:"
17705 echo
17706 echo "    EDbus test.........: $have_edbus_test"
17707 echo "    EDbus client test..: $have_edbus_test_client"
17708 echo "    EDbus async test...: $have_edbus_async_test"
17709 echo "    EDbus performance..: $have_edbus_performance_test"
17710 echo "    EBluez test........: $have_edbus_bluez_test"
17711 echo "    EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17712 echo "    ENotify Daemon test: $have_edbus_notification_daemon_test"
17713 echo "    ENotify send.......: $have_edbus_notify_send"
17714 echo "    ENotify test.......: $have_edbus_notify_test"
17715 echo "    EOfono test........: $have_edbus_ofono_test"
17716 echo "    EUkit test.........: $have_edbus_ukit_test"
17717 echo
17718 echo "Documentation..........: ${build_doc}"
17719 echo
17720 echo "Compilation............: make (or gmake)"
17721 echo "  CPPFLAGS.............: $CPPFLAGS"
17722 echo "  CFLAGS...............: $CFLAGS"
17723 echo "  LDFLAGS..............: $LDFLAGS"
17724 echo
17725 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17726 echo "  prefix...............: $prefix"
17727 echo